@fluid-topics/ft-filterable-table 0.3.54 → 0.3.56

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,7 +14,7 @@
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,n=new WeakMap,s=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,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=n.prototype.attributeChangedCallback,a=new Set(n.observedAttributes||[]);f(n,a,l);const p={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,p),this._definitionsByClass.set(n,p);let c=i.call(o,t);c||(c=d(t),e.call(o,t,c)),this===window.customElements&&(r.set(n,p),p.standInClass=c);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)s.delete(t),u(t,p,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.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),n.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=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},d=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,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},h=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):h(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),a=t;try{new e.elementClass}catch(t){h(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)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const b=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),x.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,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!==n.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 s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),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=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(Wt){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{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,n=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)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,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=d(t),e.call(o,t,c)),this===window.customElements&&(r.set(s,p),p.standInClass=c);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,p,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.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=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},d=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(){s.get(this)?.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)})},h=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):h(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){h(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)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const b=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),x.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,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(Ht){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{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}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -24,27 +24,27 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}function n(t){return o({...t,state:!0})}
27
+ */}function s(t){return o({...t,state:!0})}
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */const s=({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,s=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(s.finisher=function(e){t(e,o)}),s}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}}
32
+ */const n=({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)}}
33
33
  /**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */;function r(t,e){return s({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}})}
37
+ */;function r(t,e){return n({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
38
  /**
39
39
  * @license
40
40
  * Copyright 2021 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */var l;const a=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function p(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?a(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}
42
+ */var l;const a=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function p(t){const{slot:e,selector:i}=null!=t?t:{};return n({descriptor:o=>({get(){var o;const s="slot"+(e?`[name=${e}]`:":not([name])"),n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(s),r=null!=n?a(n,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
- */function c(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?p({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}const d=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function f(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,n;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(o=i;0!=o--;)if(!f(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(!f(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=(n=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(o=i;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=i;0!=o--;){var s=n[o];if(!f(t[s],e[s]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}
47
+ */function c(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?p({slot:s,flatten:e,selector:i}):n({descriptor:t=>({get(){var t,e;const i="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==n?void 0:n.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}const d=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function f(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(!f(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(!f(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(!f(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}
48
48
  /**
49
49
  * @license
50
50
  * Copyright 2019 Google LLC
@@ -54,29 +54,29 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
54
54
  * @license
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
- */;var w;const O=window,S=O.trustedTypes,k=S?S.emptyScript:"",C=O.reactiveElementPolyfillSupport,E={toAttribute(t,e){switch(e){case Boolean:t=t?k: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}},N=(t,e)=>e!==t&&(e==e||t==t),z={attribute:!0,type:String,converter:E,reflect:!1,hasChanged:N};class R extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),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=z){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 n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||z}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),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($(t))}else void 0!==t&&e.push($(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 m(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=z){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const s=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:E).toAttribute(e,i.type);this._$El=t,null==s?this.removeAttribute(n):this.setAttribute(n,s),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:E;this._$El=n,this[n]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||N)(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){}}
57
+ */;var w;const O=window,S=O.trustedTypes,k=S?S.emptyScript:"",C=O.reactiveElementPolyfillSupport,E={toAttribute(t,e){switch(e){case Boolean:t=t?k: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}},N=(t,e)=>e!==t&&(e==e||t==t),z={attribute:!0,type:String,converter:E,reflect:!1,hasChanged:N};class R extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),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=z){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)||z}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),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($(t))}else void 0!==t&&e.push($(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 m(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=z){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:E).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:E;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||N)(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){}}
58
58
  /**
59
59
  * @license
60
60
  * Copyright 2017 Google LLC
61
61
  * SPDX-License-Identifier: BSD-3-Clause
62
62
  */
63
- var M;R.finalized=!0,R.elementProperties=new Map,R.elementStyles=[],R.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:R}),(null!==(w=O.reactiveElementVersions)&&void 0!==w?w:O.reactiveElementVersions=[]).push("1.4.1");const F=window,U=F.trustedTypes,j=U?U.createPolicy("lit-html",{createHTML:t=>t}):void 0,B=`lit$${(Math.random()+"").slice(9)}$`,D="?"+B,A=`<${D}>`,I=document,T=(t="")=>I.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,_=t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,Z=/>/g,K=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Y=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Q=new WeakMap,tt=I.createTreeWalker(I,129,null,!1),et=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=W;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===W?"!--"===a[1]?r=H:void 0!==a[1]?r=Z:void 0!==a[2]?(q.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=K):void 0!==a[3]&&(r=K):r===K?">"===a[0]?(r=null!=n?n:W,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?K:'"'===a[3]?J:V):r===J||r===V?r=K:r===H||r===Z?r=W:(r=K,n=void 0);const d=r===K&&t[e+1].startsWith("/>")?" ":"";s+=r===W?i+A:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+B+d):i+B+(-2===p?(o.push(void 0),e):d)}const l=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(l):l,o]};class it{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,p]=et(t,e);if(this.el=it.createElement(a,i),tt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=tt.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(B)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(B),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?lt:"?"===e[1]?pt:"@"===e[1]?ct:rt})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(q.test(o.tagName)){const t=o.textContent.split(B),e=t.length-1;if(e>0){o.textContent=U?U.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],T()),tt.nextNode(),l.push({type:2,index:++n});o.append(t[e],T())}}}else if(8===o.nodeType)if(o.data===D)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(B,t+1));)l.push({type:7,index:n}),t+=B.length-1}n++}}static createElement(t,e){const i=I.createElement("template");return i.innerHTML=t,i}}function ot(t,e,i=t,o){var n,s,r,l;if(e===Y)return e;let a=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const p=L(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.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=ot(t,a._$AS(t,e.values),a,o)),e}class nt{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:I).importNode(i,!0);tt.currentNode=n;let s=tt.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new st(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new dt(s,this,t)),this.u.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=tt.nextNode(),r++)}return n}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class st{constructor(t,e,i,o){var n;this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ot(this,t,e),L(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==Y&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):_(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==G&&L(this._$AH)?this._$AA.nextSibling.data=t:this.T(I.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=it.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.p(i);else{const t=new nt(n,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=Q.get(t.strings);return void 0===e&&Q.set(t.strings,e=new it(t)),e}k(t){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new st(this.O(T()),this.O(T()),this,this.options)):i=e[o],i._$AI(n),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._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class rt{constructor(t,e,i,o,n){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=G}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=ot(this,t,e,0),s=!L(t)||t!==this._$AH&&t!==Y,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=ot(this,o[i+r],e,r),l===Y&&(l=this._$AH[r]),s||(s=!L(l)||l!==this._$AH[r]),l===G?t=G:t!==G&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class lt extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}const at=U?U.emptyScript:"";class pt extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==G?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ct extends rt{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=ot(this,t,e,0))&&void 0!==i?i:G)===Y)return;const o=this._$AH,n=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==G&&(o===G||n);n&&this.element.removeEventListener(this.name,this,o),s&&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 dt{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){ot(this,t)}}const ft={P:"$lit$",A:B,M:D,C:1,L:et,R:nt,D:_,V:ot,I:st,H:rt,N:pt,U:ct,B:lt,F:dt},ht=F.litHtmlPolyfillSupport;null==ht||ht(it,st),(null!==(M=F.litHtmlVersions)&&void 0!==M?M:F.litHtmlVersions=[]).push("2.4.0");
63
+ var M;R.finalized=!0,R.elementProperties=new Map,R.elementStyles=[],R.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:R}),(null!==(w=O.reactiveElementVersions)&&void 0!==w?w:O.reactiveElementVersions=[]).push("1.4.1");const F=window,U=F.trustedTypes,j=U?U.createPolicy("lit-html",{createHTML:t=>t}):void 0,B=`lit$${(Math.random()+"").slice(9)}$`,D="?"+B,A=`<${D}>`,I=document,T=(t="")=>I.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,_=t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,Z=/>/g,K=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Y=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Q=new WeakMap,tt=I.createTreeWalker(I,129,null,!1),et=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=W;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===W?"!--"===a[1]?r=H:void 0!==a[1]?r=Z:void 0!==a[2]?(q.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=K):void 0!==a[3]&&(r=K):r===K?">"===a[0]?(r=null!=s?s:W,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?K:'"'===a[3]?J:V):r===J||r===V?r=K:r===H||r===Z?r=W:(r=K,s=void 0);const d=r===K&&t[e+1].startsWith("/>")?" ":"";n+=r===W?i+A:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+B+d):i+B+(-2===p?(o.push(void 0),e):d)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(l):l,o]};class it{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]=et(t,e);if(this.el=it.createElement(a,i),tt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=tt.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(B)){const i=p[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(B),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?lt:"?"===e[1]?pt:"@"===e[1]?ct:rt})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(q.test(o.tagName)){const t=o.textContent.split(B),e=t.length-1;if(e>0){o.textContent=U?U.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],T()),tt.nextNode(),l.push({type:2,index:++s});o.append(t[e],T())}}}else if(8===o.nodeType)if(o.data===D)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(B,t+1));)l.push({type:7,index:s}),t+=B.length-1}s++}}static createElement(t,e){const i=I.createElement("template");return i.innerHTML=t,i}}function ot(t,e,i=t,o){var s,n,r,l;if(e===Y)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const p=L(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=ot(t,a._$AS(t,e.values),a,o)),e}class st{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:I).importNode(i,!0);tt.currentNode=s;let n=tt.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new nt(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new dt(n,this,t)),this.u.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=tt.nextNode(),r++)}return s}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class nt{constructor(t,e,i,o){var s;this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=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._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ot(this,t,e),L(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==Y&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):_(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==G&&L(this._$AH)?this._$AA.nextSibling.data=t:this.T(I.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=it.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.p(i);else{const t=new st(s,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=Q.get(t.strings);return void 0===e&&Q.set(t.strings,e=new it(t)),e}k(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 nt(this.O(T()),this.O(T()),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._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class rt{constructor(t,e,i,o,s){this.type=1,this._$AH=G,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=G}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=ot(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==Y,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=ot(this,o[i+r],e,r),l===Y&&(l=this._$AH[r]),n||(n=!L(l)||l!==this._$AH[r]),l===G?t=G:t!==G&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class lt extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}const at=U?U.emptyScript:"";class pt extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==G?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ct extends rt{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=ot(this,t,e,0))&&void 0!==i?i:G)===Y)return;const o=this._$AH,s=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==G&&(o===G||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 dt{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){ot(this,t)}}const ft={P:"$lit$",A:B,M:D,C:1,L:et,R:st,D:_,V:ot,I:nt,H:rt,N:pt,U:ct,B:lt,F:dt},ht=F.litHtmlPolyfillSupport;null==ht||ht(it,nt),(null!==(M=F.litHtmlVersions)&&void 0!==M?M:F.litHtmlVersions=[]).push("2.4.0");
64
64
  /**
65
65
  * @license
66
66
  * Copyright 2017 Google LLC
67
67
  * SPDX-License-Identifier: BSD-3-Clause
68
68
  */
69
- var ut,vt;class xt extends R{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,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new st(e.insertBefore(T(),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 Y}}xt.finalized=!0,xt._$litElement$=!0,null===(ut=globalThis.litElementHydrateSupport)||void 0===ut||ut.call(globalThis,{LitElement:xt});const bt=globalThis.litElementPolyfillSupport;null==bt||bt({LitElement:xt}),(null!==(vt=globalThis.litElementVersions)&&void 0!==vt?vt:globalThis.litElementVersions=[]).push("3.2.2");class gt{static create(t,e,i){let o=t=>g(null!=t?t:i),n=y`var(${g(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${g(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=y`var(${g(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${g(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):g(null!=e?e:t.defaultValue),o=y`var(${g(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=>y`var(${g(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 yt(t,e){return g(`${t.name}: ${e}`)}const mt={colorPrimary:gt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:gt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:gt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:gt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:gt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:gt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:gt.create("--ft-color-error","COLOR","#B00020"),colorOutline:gt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:gt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:gt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:gt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:gt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:gt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:gt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:gt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:gt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:gt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:gt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:gt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:gt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:gt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:gt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:gt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:gt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:gt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:gt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:gt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:gt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:gt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:gt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:gt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:gt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:gt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:gt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:gt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:gt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:gt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:gt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:gt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:gt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:gt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:gt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:gt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:gt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:gt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:gt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:gt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:gt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:gt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:gt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:gt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
69
+ var ut,vt;class xt extends R{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 nt(e.insertBefore(T(),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 Y}}xt.finalized=!0,xt._$litElement$=!0,null===(ut=globalThis.litElementHydrateSupport)||void 0===ut||ut.call(globalThis,{LitElement:xt});const bt=globalThis.litElementPolyfillSupport;null==bt||bt({LitElement:xt}),(null!==(vt=globalThis.litElementVersions)&&void 0!==vt?vt:globalThis.litElementVersions=[]).push("3.2.2");class gt{static create(t,e,i){let o=t=>g(null!=t?t:i),s=y`var(${g(t)}, ${o(i)})`;return s.name=t,s.category=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>y`var(${g(t)}, ${o(e)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),s=y`var(${g(t)}, ${o(i)})`;return s.name=t,s.category=e.category,s.fallbackVariable=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>y`var(${g(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):g(null!=e?e:t.defaultValue),o=y`var(${g(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=>y`var(${g(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 yt(t,e){return g(`${t.name}: ${e}`)}const mt={colorPrimary:gt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:gt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:gt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:gt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:gt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:gt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:gt.create("--ft-color-error","COLOR","#B00020"),colorOutline:gt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:gt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:gt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:gt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:gt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:gt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:gt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:gt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:gt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:gt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:gt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:gt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:gt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:gt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:gt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:gt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:gt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:gt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:gt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:gt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:gt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:gt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:gt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:gt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:gt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:gt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:gt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:gt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:gt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:gt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:gt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:gt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:gt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:gt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:gt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:gt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:gt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:gt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:gt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:gt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:gt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:gt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:gt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:gt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
70
70
  /**
71
71
  * @license
72
72
  * Copyright 2021 Google LLC
73
73
  * SPDX-License-Identifier: BSD-3-Clause
74
- */var $t=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class wt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return m(n,this.constructor.elementStyles),n}}}(xt)){constructor(){super(),this.exportpartsDebouncer=new e(5),this.constructorName=this.constructor.name,this.constructorPrototype=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this.constructorName&&Object.setPrototypeOf(this,this.constructorPrototype)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),X`
74
+ */var $t=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 wt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return m(s,this.constructor.elementStyles),s}}}(xt)){constructor(){super(),this.exportpartsDebouncer=new e(5),this.constructorName=this.constructor.name,this.constructorPrototype=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this.constructorName&&Object.setPrototypeOf(this,this.constructorPrototype)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),X`
75
75
  ${t.map((t=>X`
76
76
  <style>${t}</style>
77
77
  `))}
78
78
  ${this.getTemplate()}
79
- `}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.exportpartsDebouncer.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,n,s,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!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(r=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.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(", "))}}$t([o()],wt.prototype,"exportpartsPrefix",void 0),$t([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)},...null!=e?e:{}})}([])],wt.prototype,"exportpartsPrefixes",void 0),$t([o()],wt.prototype,"customStylesheet",void 0);const Ot=y`
79
+ `}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.exportpartsDebouncer.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(", "))}}$t([o()],wt.prototype,"exportpartsPrefix",void 0),$t([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)},...null!=e?e:{}})}([])],wt.prototype,"exportpartsPrefixes",void 0),$t([o()],wt.prototype,"customStylesheet",void 0);const Ot=y`
80
80
  .ft-no-text-select {
81
81
  -webkit-touch-callout: none;
82
82
  -webkit-user-select: none;
@@ -85,7 +85,7 @@ var ut,vt;class xt extends R{constructor(){super(...arguments),this.renderOption
85
85
  -ms-user-select: none;
86
86
  user-select: none;
87
87
  }
88
- `;var St,kt,Ct;y`
88
+ `;y`
89
89
  .ft-word-wrap {
90
90
  white-space: normal;
91
91
  word-wrap: break-word;
@@ -97,17 +97,28 @@ var ut,vt;class xt extends R{constructor(){super(...arguments),this.renderOption
97
97
  -webkit-hyphens: auto;
98
98
  hyphens: auto
99
99
  }
100
- `;const Et=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ct=null===(kt=null===(St=window.safari)||void 0===St?void 0:St.pushNotification)||void 0===kt?void 0:kt.toString())&&void 0!==Ct?Ct:""),Nt=1,zt=2,Rt=t=>(...e)=>({_$litDirective$:t,values:e});
100
+ `;const St=y`
101
+ .ft-safari-ellipsis-fix {
102
+ margin-right: 0;
103
+
104
+ }
105
+
106
+ .ft-safari-ellipsis-fix:after {
107
+ content: "\\0000a0";
108
+ display: inline-block;
109
+ width: 0;
110
+ }
111
+ `;var kt,Ct,Et;const Nt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Et=null===(Ct=null===(kt=window.safari)||void 0===kt?void 0:kt.pushNotification)||void 0===Ct?void 0:Ct.toString())&&void 0!==Et?Et:""),zt=1,Rt=2,Mt=t=>(...e)=>({_$litDirective$:t,values:e});
101
112
  /**
102
113
  * @license
103
114
  * Copyright 2017 Google LLC
104
115
  * SPDX-License-Identifier: BSD-3-Clause
105
- */class Mt{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)}}
116
+ */class Ft{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)}}
106
117
  /**
107
118
  * @license
108
119
  * Copyright 2020 Google LLC
109
120
  * SPDX-License-Identifier: BSD-3-Clause
110
- */const{I:Ft}=ft,Ut=()=>document.createComment(""),jt=(t,e,i)=>{var o;const n=t._$AA.parentNode,s=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=n.insertBefore(Ut(),s),o=n.insertBefore(Ut(),s);i=new Ft(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!==s||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;n.insertBefore(t,s),t=e}}}return i},Bt=(t,e,i=t)=>(t._$AI(e,i),t),Dt={},At=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}},It=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},Tt=Rt(class extends Mt{constructor(t){if(super(t),t.type!==zt)throw Error("repeat() can only be used in text expressions")}ht(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const n=[],s=[];let r=0;for(const e of t)n[r]=o?o(e,r):r,s[r]=i(e,r),r++;return{values:s,keys:n}}render(t,e,i){return this.ht(t,e,i).values}update(t,[e,i,o]){var n;const s=(t=>t._$AH)(t),{values:r,keys:l}=this.ht(e,i,o);if(!Array.isArray(s))return this.ut=l,r;const a=null!==(n=this.ut)&&void 0!==n?n:this.ut=[],p=[];let c,d,f=0,h=s.length-1,u=0,v=r.length-1;for(;f<=h&&u<=v;)if(null===s[f])f++;else if(null===s[h])h--;else if(a[f]===l[u])p[u]=Bt(s[f],r[u]),f++,u++;else if(a[h]===l[v])p[v]=Bt(s[h],r[v]),h--,v--;else if(a[f]===l[v])p[v]=Bt(s[f],r[v]),jt(t,p[v+1],s[f]),f++,v--;else if(a[h]===l[u])p[u]=Bt(s[h],r[u]),jt(t,s[f],s[h]),h--,u++;else if(void 0===c&&(c=It(l,u,v),d=It(a,f,h)),c.has(a[f]))if(c.has(a[h])){const e=d.get(l[u]),i=void 0!==e?s[e]:null;if(null===i){const e=jt(t,s[f]);Bt(e,r[u]),p[u]=e}else p[u]=Bt(i,r[u]),jt(t,s[f],i),s[e]=null;u++}else At(s[h]),h--;else At(s[f]),f++;for(;u<=v;){const e=jt(t,p[v+1]);Bt(e,r[u]),p[u++]=e}for(;f<=h;){const t=s[f++];null!==t&&At(t)}return this.ut=l,((t,e=Dt)=>{t._$AH=e})(t,p),Y}});
121
+ */const{I:Ut}=ft,jt=()=>document.createComment(""),Bt=(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(jt(),n),o=s.insertBefore(jt(),n);i=new Ut(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),At={},It=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}},Tt=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},Lt=Mt(class extends Ft{constructor(t){if(super(t),t.type!==Rt)throw Error("repeat() can only be used in text expressions")}ht(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.ht(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.ht(e,i,o);if(!Array.isArray(n))return this.ut=l,r;const a=null!==(s=this.ut)&&void 0!==s?s:this.ut=[],p=[];let c,d,f=0,h=n.length-1,u=0,v=r.length-1;for(;f<=h&&u<=v;)if(null===n[f])f++;else if(null===n[h])h--;else if(a[f]===l[u])p[u]=Dt(n[f],r[u]),f++,u++;else if(a[h]===l[v])p[v]=Dt(n[h],r[v]),h--,v--;else if(a[f]===l[v])p[v]=Dt(n[f],r[v]),Bt(t,p[v+1],n[f]),f++,v--;else if(a[h]===l[u])p[u]=Dt(n[h],r[u]),Bt(t,n[f],n[h]),h--,u++;else if(void 0===c&&(c=Tt(l,u,v),d=Tt(a,f,h)),c.has(a[f]))if(c.has(a[h])){const e=d.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=Bt(t,n[f]);Dt(e,r[u]),p[u]=e}else p[u]=Dt(i,r[u]),Bt(t,n[f],i),n[e]=null;u++}else It(n[h]),h--;else It(n[f]),f++;for(;u<=v;){const e=Bt(t,p[v+1]);Dt(e,r[u]),p[u++]=e}for(;f<=h;){const t=n[f++];null!==t&&It(t)}return this.ut=l,((t,e=At)=>{t._$AH=e})(t,p),Y}});
111
122
  /**
112
123
  * @license
113
124
  * Copyright 2017 Google LLC
@@ -118,132 +129,132 @@ var ut,vt;class xt extends R{constructor(){super(...arguments),this.renderOption
118
129
  * Copyright 2017 Google LLC
119
130
  * SPDX-License-Identifier: BSD-3-Clause
120
131
  */
121
- class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)return this._t=void 0,this.it=t;if(t===Y)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Lt.directiveName="unsafeHTML",Lt.resultType=1;const Pt=Rt(Lt),_t=Rt(class extends Mt{constructor(t){var e;if(super(t),t.type!==Nt||"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.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return Y}}),Wt=Symbol.for(""),Ht=t=>{if((null==t?void 0:t.r)===Wt)return null==t?void 0:t._$litStatic$},Zt=t=>({_$litStatic$:t,r:Wt}),Kt=new Map,Vt=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],l=[];let a,p=0,c=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(s=i[p],n=Ht(s));)a+=n+e[++p],c=!0;l.push(s),r.push(a),p++}if(p===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=Kt.get(t))&&(r.raw=r,Kt.set(t,e=r)),i=l}return t(e,...i)})(X);
132
+ class Pt extends Ft{constructor(t){if(super(t),this.it=G,t.type!==Rt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)return this._t=void 0,this.it=t;if(t===Y)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Pt.directiveName="unsafeHTML",Pt.resultType=1;const _t=Mt(Pt),Wt=Mt(class extends Ft{constructor(t){var e;if(super(t),t.type!==zt||"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.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const s=t.element.classList;this.nt.forEach((t=>{t in e||(s.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.nt.add(t)):(s.remove(t),this.nt.delete(t)))}return Y}}),Ht=Symbol.for(""),Zt=t=>{if((null==t?void 0:t.r)===Ht)return null==t?void 0:t._$litStatic$},Kt=t=>({_$litStatic$:t,r:Ht}),Vt=new Map,Jt=(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=Zt(n));)a+=s+e[++p],c=!0;l.push(n),r.push(a),p++}if(p===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=Vt.get(t))&&(r.raw=r,Vt.set(t,e=r)),i=l}return t(e,...i)})(X);
122
133
  /**
123
134
  * @license
124
135
  * Copyright 2018 Google LLC
125
136
  * SPDX-License-Identifier: BSD-3-Clause
126
- */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"}(Jt||(Jt={}));const qt=gt.extend("--ft-typography-font-family",mt.titleFont),Xt=gt.extend("--ft-typography-font-family",mt.contentFont),Yt={fontFamily:Xt,fontSize:gt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:gt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:gt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:gt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:gt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Gt=gt.extend("--ft-typography-title-font-family",qt),Qt=gt.extend("--ft-typography-title-font-size",Yt.fontSize,"20px"),te=gt.extend("--ft-typography-title-font-weight",Yt.fontWeight,"normal"),ee=gt.extend("--ft-typography-title-letter-spacing",Yt.letterSpacing,"0.15px"),ie=gt.extend("--ft-typography-title-line-height",Yt.lineHeight,"1.2"),oe=gt.extend("--ft-typography-title-text-transform",Yt.textTransform,"inherit"),ne=gt.extend("--ft-typography-title-dense-font-family",qt),se=gt.extend("--ft-typography-title-dense-font-size",Yt.fontSize,"14px"),re=gt.extend("--ft-typography-title-dense-font-weight",Yt.fontWeight,"normal"),le=gt.extend("--ft-typography-title-dense-letter-spacing",Yt.letterSpacing,"0.105px"),ae=gt.extend("--ft-typography-title-dense-line-height",Yt.lineHeight,"1.7"),pe=gt.extend("--ft-typography-title-dense-text-transform",Yt.textTransform,"inherit"),ce=gt.extend("--ft-typography-subtitle1-font-family",Xt),de=gt.extend("--ft-typography-subtitle1-font-size",Yt.fontSize,"16px"),fe=gt.extend("--ft-typography-subtitle1-font-weight",Yt.fontWeight,"600"),he=gt.extend("--ft-typography-subtitle1-letter-spacing",Yt.letterSpacing,"0.144px"),ue=gt.extend("--ft-typography-subtitle1-line-height",Yt.lineHeight,"1.5"),ve=gt.extend("--ft-typography-subtitle1-text-transform",Yt.textTransform,"inherit"),xe=gt.extend("--ft-typography-subtitle2-font-family",Xt),be=gt.extend("--ft-typography-subtitle2-font-size",Yt.fontSize,"14px"),ge=gt.extend("--ft-typography-subtitle2-font-weight",Yt.fontWeight,"normal"),ye=gt.extend("--ft-typography-subtitle2-letter-spacing",Yt.letterSpacing,"0.098px"),me=gt.extend("--ft-typography-subtitle2-line-height",Yt.lineHeight,"1.7"),$e=gt.extend("--ft-typography-subtitle2-text-transform",Yt.textTransform,"inherit"),we={fontFamily:gt.extend("--ft-typography-body1-font-family",Xt),fontSize:gt.extend("--ft-typography-body1-font-size",Yt.fontSize,"16px"),fontWeight:gt.extend("--ft-typography-body1-font-weight",Yt.fontWeight,"normal"),letterSpacing:gt.extend("--ft-typography-body1-letter-spacing",Yt.letterSpacing,"0.496px"),lineHeight:gt.extend("--ft-typography-body1-line-height",Yt.lineHeight,"1.5"),textTransform:gt.extend("--ft-typography-body1-text-transform",Yt.textTransform,"inherit")},Oe=gt.extend("--ft-typography-body2-font-family",Xt),Se=gt.extend("--ft-typography-body2-font-size",Yt.fontSize,"14px"),ke=gt.extend("--ft-typography-body2-font-weight",Yt.fontWeight,"normal"),Ce=gt.extend("--ft-typography-body2-letter-spacing",Yt.letterSpacing,"0.252px"),Ee=gt.extend("--ft-typography-body2-line-height",Yt.lineHeight,"1.4"),Ne=gt.extend("--ft-typography-body2-text-transform",Yt.textTransform,"inherit"),ze={fontFamily:gt.extend("--ft-typography-caption-font-family",Xt),fontSize:gt.extend("--ft-typography-caption-font-size",Yt.fontSize,"12px"),fontWeight:gt.extend("--ft-typography-caption-font-weight",Yt.fontWeight,"normal"),letterSpacing:gt.extend("--ft-typography-caption-letter-spacing",Yt.letterSpacing,"0.396px"),lineHeight:gt.extend("--ft-typography-caption-line-height",Yt.lineHeight,"1.33"),textTransform:gt.extend("--ft-typography-caption-text-transform",Yt.textTransform,"inherit")},Re=gt.extend("--ft-typography-breadcrumb-font-family",Xt),Me=gt.extend("--ft-typography-breadcrumb-font-size",Yt.fontSize,"10px"),Fe=gt.extend("--ft-typography-breadcrumb-font-weight",Yt.fontWeight,"normal"),Ue=gt.extend("--ft-typography-breadcrumb-letter-spacing",Yt.letterSpacing,"0.33px"),je=gt.extend("--ft-typography-breadcrumb-line-height",Yt.lineHeight,"1.6"),Be=gt.extend("--ft-typography-breadcrumb-text-transform",Yt.textTransform,"inherit"),De=gt.extend("--ft-typography-overline-font-family",Xt),Ae=gt.extend("--ft-typography-overline-font-size",Yt.fontSize,"10px"),Ie=gt.extend("--ft-typography-overline-font-weight",Yt.fontWeight,"normal"),Te=gt.extend("--ft-typography-overline-letter-spacing",Yt.letterSpacing,"1.5px"),Le=gt.extend("--ft-typography-overline-line-height",Yt.lineHeight,"1.6"),Pe=gt.extend("--ft-typography-overline-text-transform",Yt.textTransform,"uppercase"),_e={fontFamily:gt.extend("--ft-typography-button-font-family",Xt),fontSize:gt.extend("--ft-typography-button-font-size",Yt.fontSize,"14px"),fontWeight:gt.extend("--ft-typography-button-font-weight",Yt.fontWeight,"600"),letterSpacing:gt.extend("--ft-typography-button-letter-spacing",Yt.letterSpacing,"1.246px"),lineHeight:gt.extend("--ft-typography-button-line-height",Yt.lineHeight,"1.15"),textTransform:gt.extend("--ft-typography-button-text-transform",Yt.textTransform,"uppercase")},We=y`
137
+ */var qt;!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"}(qt||(qt={}));const Xt=gt.extend("--ft-typography-font-family",mt.titleFont),Yt=gt.extend("--ft-typography-font-family",mt.contentFont),Gt={fontFamily:Yt,fontSize:gt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:gt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:gt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:gt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:gt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Qt=gt.extend("--ft-typography-title-font-family",Xt),te=gt.extend("--ft-typography-title-font-size",Gt.fontSize,"20px"),ee=gt.extend("--ft-typography-title-font-weight",Gt.fontWeight,"normal"),ie=gt.extend("--ft-typography-title-letter-spacing",Gt.letterSpacing,"0.15px"),oe=gt.extend("--ft-typography-title-line-height",Gt.lineHeight,"1.2"),se=gt.extend("--ft-typography-title-text-transform",Gt.textTransform,"inherit"),ne=gt.extend("--ft-typography-title-dense-font-family",Xt),re=gt.extend("--ft-typography-title-dense-font-size",Gt.fontSize,"14px"),le=gt.extend("--ft-typography-title-dense-font-weight",Gt.fontWeight,"normal"),ae=gt.extend("--ft-typography-title-dense-letter-spacing",Gt.letterSpacing,"0.105px"),pe=gt.extend("--ft-typography-title-dense-line-height",Gt.lineHeight,"1.7"),ce=gt.extend("--ft-typography-title-dense-text-transform",Gt.textTransform,"inherit"),de=gt.extend("--ft-typography-subtitle1-font-family",Yt),fe=gt.extend("--ft-typography-subtitle1-font-size",Gt.fontSize,"16px"),he=gt.extend("--ft-typography-subtitle1-font-weight",Gt.fontWeight,"600"),ue=gt.extend("--ft-typography-subtitle1-letter-spacing",Gt.letterSpacing,"0.144px"),ve=gt.extend("--ft-typography-subtitle1-line-height",Gt.lineHeight,"1.5"),xe=gt.extend("--ft-typography-subtitle1-text-transform",Gt.textTransform,"inherit"),be=gt.extend("--ft-typography-subtitle2-font-family",Yt),ge=gt.extend("--ft-typography-subtitle2-font-size",Gt.fontSize,"14px"),ye=gt.extend("--ft-typography-subtitle2-font-weight",Gt.fontWeight,"normal"),me=gt.extend("--ft-typography-subtitle2-letter-spacing",Gt.letterSpacing,"0.098px"),$e=gt.extend("--ft-typography-subtitle2-line-height",Gt.lineHeight,"1.7"),we=gt.extend("--ft-typography-subtitle2-text-transform",Gt.textTransform,"inherit"),Oe={fontFamily:gt.extend("--ft-typography-body1-font-family",Yt),fontSize:gt.extend("--ft-typography-body1-font-size",Gt.fontSize,"16px"),fontWeight:gt.extend("--ft-typography-body1-font-weight",Gt.fontWeight,"normal"),letterSpacing:gt.extend("--ft-typography-body1-letter-spacing",Gt.letterSpacing,"0.496px"),lineHeight:gt.extend("--ft-typography-body1-line-height",Gt.lineHeight,"1.5"),textTransform:gt.extend("--ft-typography-body1-text-transform",Gt.textTransform,"inherit")},Se=gt.extend("--ft-typography-body2-font-family",Yt),ke=gt.extend("--ft-typography-body2-font-size",Gt.fontSize,"14px"),Ce=gt.extend("--ft-typography-body2-font-weight",Gt.fontWeight,"normal"),Ee=gt.extend("--ft-typography-body2-letter-spacing",Gt.letterSpacing,"0.252px"),Ne=gt.extend("--ft-typography-body2-line-height",Gt.lineHeight,"1.4"),ze=gt.extend("--ft-typography-body2-text-transform",Gt.textTransform,"inherit"),Re={fontFamily:gt.extend("--ft-typography-caption-font-family",Yt),fontSize:gt.extend("--ft-typography-caption-font-size",Gt.fontSize,"12px"),fontWeight:gt.extend("--ft-typography-caption-font-weight",Gt.fontWeight,"normal"),letterSpacing:gt.extend("--ft-typography-caption-letter-spacing",Gt.letterSpacing,"0.396px"),lineHeight:gt.extend("--ft-typography-caption-line-height",Gt.lineHeight,"1.33"),textTransform:gt.extend("--ft-typography-caption-text-transform",Gt.textTransform,"inherit")},Me=gt.extend("--ft-typography-breadcrumb-font-family",Yt),Fe=gt.extend("--ft-typography-breadcrumb-font-size",Gt.fontSize,"10px"),Ue=gt.extend("--ft-typography-breadcrumb-font-weight",Gt.fontWeight,"normal"),je=gt.extend("--ft-typography-breadcrumb-letter-spacing",Gt.letterSpacing,"0.33px"),Be=gt.extend("--ft-typography-breadcrumb-line-height",Gt.lineHeight,"1.6"),De=gt.extend("--ft-typography-breadcrumb-text-transform",Gt.textTransform,"inherit"),Ae=gt.extend("--ft-typography-overline-font-family",Yt),Ie=gt.extend("--ft-typography-overline-font-size",Gt.fontSize,"10px"),Te=gt.extend("--ft-typography-overline-font-weight",Gt.fontWeight,"normal"),Le=gt.extend("--ft-typography-overline-letter-spacing",Gt.letterSpacing,"1.5px"),Pe=gt.extend("--ft-typography-overline-line-height",Gt.lineHeight,"1.6"),_e=gt.extend("--ft-typography-overline-text-transform",Gt.textTransform,"uppercase"),We={fontFamily:gt.extend("--ft-typography-button-font-family",Yt),fontSize:gt.extend("--ft-typography-button-font-size",Gt.fontSize,"14px"),fontWeight:gt.extend("--ft-typography-button-font-weight",Gt.fontWeight,"600"),letterSpacing:gt.extend("--ft-typography-button-letter-spacing",Gt.letterSpacing,"1.246px"),lineHeight:gt.extend("--ft-typography-button-line-height",Gt.lineHeight,"1.15"),textTransform:gt.extend("--ft-typography-button-text-transform",Gt.textTransform,"uppercase")},He=y`
127
138
  .ft-typography--title {
128
- font-family: ${Gt};
129
- font-size: ${Qt};
130
- font-weight: ${te};
131
- letter-spacing: ${ee};
132
- line-height: ${ie};
133
- text-transform: ${oe};
134
- }
135
- `,He=y`
139
+ font-family: ${Qt};
140
+ font-size: ${te};
141
+ font-weight: ${ee};
142
+ letter-spacing: ${ie};
143
+ line-height: ${oe};
144
+ text-transform: ${se};
145
+ }
146
+ `,Ze=y`
136
147
  .ft-typography--title-dense {
137
148
  font-family: ${ne};
138
- font-size: ${se};
139
- font-weight: ${re};
140
- letter-spacing: ${le};
141
- line-height: ${ae};
142
- text-transform: ${pe};
149
+ font-size: ${re};
150
+ font-weight: ${le};
151
+ letter-spacing: ${ae};
152
+ line-height: ${pe};
153
+ text-transform: ${ce};
143
154
  }
144
- `,Ze=y`
155
+ `,Ke=y`
145
156
  .ft-typography--subtitle1 {
146
- font-family: ${ce};
147
- font-size: ${de};
148
- font-weight: ${fe};
149
- letter-spacing: ${he};
150
- line-height: ${ue};
151
- text-transform: ${ve};
157
+ font-family: ${de};
158
+ font-size: ${fe};
159
+ font-weight: ${he};
160
+ letter-spacing: ${ue};
161
+ line-height: ${ve};
162
+ text-transform: ${xe};
152
163
  }
153
- `,Ke=y`
164
+ `,Ve=y`
154
165
  .ft-typography--subtitle2 {
155
- font-family: ${xe};
156
- font-size: ${be};
157
- font-weight: ${ge};
158
- letter-spacing: ${ye};
159
- line-height: ${me};
160
- text-transform: ${$e};
166
+ font-family: ${be};
167
+ font-size: ${ge};
168
+ font-weight: ${ye};
169
+ letter-spacing: ${me};
170
+ line-height: ${$e};
171
+ text-transform: ${we};
161
172
  }
162
173
 
163
- `,Ve=y`
164
- .ft-typography--body1 {
165
- font-family: ${we.fontFamily};
166
- font-size: ${we.fontSize};
167
- font-weight: ${we.fontWeight};
168
- letter-spacing: ${we.letterSpacing};
169
- line-height: ${we.lineHeight};
170
- text-transform: ${we.textTransform};
171
- }
172
174
  `,Je=y`
173
- .ft-typography--body2 {
174
- font-family: ${Oe};
175
- font-size: ${Se};
176
- font-weight: ${ke};
177
- letter-spacing: ${Ce};
178
- line-height: ${Ee};
179
- text-transform: ${Ne};
175
+ .ft-typography--body1 {
176
+ font-family: ${Oe.fontFamily};
177
+ font-size: ${Oe.fontSize};
178
+ font-weight: ${Oe.fontWeight};
179
+ letter-spacing: ${Oe.letterSpacing};
180
+ line-height: ${Oe.lineHeight};
181
+ text-transform: ${Oe.textTransform};
180
182
  }
181
183
  `,qe=y`
182
- .ft-typography--caption {
183
- font-family: ${ze.fontFamily};
184
- font-size: ${ze.fontSize};
185
- font-weight: ${ze.fontWeight};
186
- letter-spacing: ${ze.letterSpacing};
187
- line-height: ${ze.lineHeight};
188
- text-transform: ${ze.textTransform};
184
+ .ft-typography--body2 {
185
+ font-family: ${Se};
186
+ font-size: ${ke};
187
+ font-weight: ${Ce};
188
+ letter-spacing: ${Ee};
189
+ line-height: ${Ne};
190
+ text-transform: ${ze};
189
191
  }
190
192
  `,Xe=y`
191
- .ft-typography--breadcrumb {
192
- font-family: ${Re};
193
- font-size: ${Me};
194
- font-weight: ${Fe};
195
- letter-spacing: ${Ue};
196
- line-height: ${je};
197
- text-transform: ${Be};
193
+ .ft-typography--caption {
194
+ font-family: ${Re.fontFamily};
195
+ font-size: ${Re.fontSize};
196
+ font-weight: ${Re.fontWeight};
197
+ letter-spacing: ${Re.letterSpacing};
198
+ line-height: ${Re.lineHeight};
199
+ text-transform: ${Re.textTransform};
198
200
  }
199
201
  `,Ye=y`
200
- .ft-typography--overline {
201
- font-family: ${De};
202
- font-size: ${Ae};
203
- font-weight: ${Ie};
204
- letter-spacing: ${Te};
205
- line-height: ${Le};
206
- text-transform: ${Pe};
202
+ .ft-typography--breadcrumb {
203
+ font-family: ${Me};
204
+ font-size: ${Fe};
205
+ font-weight: ${Ue};
206
+ letter-spacing: ${je};
207
+ line-height: ${Be};
208
+ text-transform: ${De};
207
209
  }
208
210
  `,Ge=y`
209
- .ft-typography--button {
210
- font-family: ${_e.fontFamily};
211
- font-size: ${_e.fontSize};
212
- font-weight: ${_e.fontWeight};
213
- letter-spacing: ${_e.letterSpacing};
214
- line-height: ${_e.lineHeight};
215
- text-transform: ${_e.textTransform};
211
+ .ft-typography--overline {
212
+ font-family: ${Ae};
213
+ font-size: ${Ie};
214
+ font-weight: ${Te};
215
+ letter-spacing: ${Le};
216
+ line-height: ${Pe};
217
+ text-transform: ${_e};
216
218
  }
217
219
  `,Qe=y`
220
+ .ft-typography--button {
221
+ font-family: ${We.fontFamily};
222
+ font-size: ${We.fontSize};
223
+ font-weight: ${We.fontWeight};
224
+ letter-spacing: ${We.letterSpacing};
225
+ line-height: ${We.lineHeight};
226
+ text-transform: ${We.textTransform};
227
+ }
228
+ `,ti=y`
218
229
  .ft-typography {
219
230
  vertical-align: inherit;
220
231
  }
221
- `;var ti=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class ei extends wt{constructor(){super(...arguments),this.variant=Jt.body1}render(){return this.element?Vt`
222
- <${Zt(this.element)}
232
+ `;var ei=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 ii extends wt{constructor(){super(...arguments),this.variant=qt.body1}render(){return this.element?Jt`
233
+ <${Kt(this.element)}
223
234
  class="ft-typography ft-typography--${this.variant}">
224
235
  <slot></slot>
225
- </${Zt(this.element)}>
226
- `:Vt`
236
+ </${Kt(this.element)}>
237
+ `:Jt`
227
238
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
228
- `}}ei.styles=[We,He,Ze,Ke,Ve,Je,qe,Xe,Ye,Ge,Qe],ti([o()],ei.prototype,"element",void 0),ti([o()],ei.prototype,"variant",void 0),d("ft-typography")(ei);const ii={fontSize:gt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:gt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:gt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:gt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:gt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),labelMaxWidth:gt.create("--ft-input-label-max-width","SIZE","100%"),borderColor:gt.extend("--ft-input-label-border-color",mt.colorOutline),textColor:gt.extend("--ft-input-label-text-color",mt.colorOnSurfaceMedium),disabledTextColor:gt.extend("--ft-input-label-disabled-text-color",mt.colorOnSurfaceDisabled),colorSurface:gt.external(mt.colorSurface,"Design system"),borderRadiusS:gt.external(mt.borderRadiusS,"Design system"),colorError:gt.external(mt.colorError,"Design system")},oi=y`
239
+ `}}ii.styles=[He,Ze,Ke,Ve,Je,qe,Xe,Ye,Ge,Qe,ti],ei([o()],ii.prototype,"element",void 0),ei([o()],ii.prototype,"variant",void 0),d("ft-typography")(ii);const oi={fontSize:gt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:gt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:gt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:gt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:gt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),labelMaxWidth:gt.create("--ft-input-label-max-width","SIZE","100%"),borderColor:gt.extend("--ft-input-label-border-color",mt.colorOutline),textColor:gt.extend("--ft-input-label-text-color",mt.colorOnSurfaceMedium),disabledTextColor:gt.extend("--ft-input-label-disabled-text-color",mt.colorOnSurfaceDisabled),colorSurface:gt.external(mt.colorSurface,"Design system"),borderRadiusS:gt.external(mt.borderRadiusS,"Design system"),colorError:gt.external(mt.colorError,"Design system")},si=y`
229
240
  .ft-input-label {
230
241
  position: absolute;
231
242
  inset: 0;
232
243
  display: flex;
233
- background-color: ${ii.colorSurface};
234
- border-radius: ${ii.borderRadiusS} ${ii.borderRadiusS} 0 0;
244
+ background-color: ${oi.colorSurface};
245
+ border-radius: ${oi.borderRadiusS} ${oi.borderRadiusS} 0 0;
235
246
  }
236
247
 
237
248
  .ft-input-label--outlined {
238
- border-radius: ${ii.borderRadiusS};
249
+ border-radius: ${oi.borderRadiusS};
239
250
  }
240
251
 
241
252
  .ft-input-label {
242
- border-color: ${ii.borderColor};
253
+ border-color: ${oi.borderColor};
243
254
  }
244
255
 
245
256
  .ft-input-label.ft-input-label--in-error {
246
- border-color: ${ii.colorError}
257
+ border-color: ${oi.colorError}
247
258
  }
248
259
 
249
260
  .ft-input-label:before,
@@ -256,7 +267,7 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
256
267
  }
257
268
 
258
269
  .ft-input-label:before {
259
- width: calc(${ii.horizontalSpacing} - 4px);
270
+ width: calc(${oi.horizontalSpacing} - 4px);
260
271
  flex-shrink: 0;
261
272
  }
262
273
 
@@ -272,20 +283,20 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
272
283
  border-bottom-width: 1px;
273
284
  border-bottom-style: solid;
274
285
  border-color: inherit;
275
- color: ${ii.textColor};
286
+ color: ${oi.textColor};
276
287
  transition: font-size 250ms, line-height 250ms, color 250ms;
277
- max-width: calc(${ii.labelMaxWidth} - 2 * (${ii.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
288
+ max-width: calc(${oi.labelMaxWidth} - 2 * (${oi.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
278
289
  text-overflow: ellipsis;
279
- ${yt(ze.fontSize,ii.fontSize)};
280
- ${yt(ze.lineHeight,ii.fontSize)};
290
+ ${yt(Re.fontSize,oi.fontSize)};
291
+ ${yt(Re.lineHeight,oi.fontSize)};
281
292
  }
282
293
 
283
294
  .ft-input-label--in-error .ft-input-label--text {
284
- color: ${ii.colorError}
295
+ color: ${oi.colorError}
285
296
  }
286
297
 
287
298
  .ft-input-label--disabled .ft-input-label--text {
288
- color: ${ii.disabledTextColor};
299
+ color: ${oi.disabledTextColor};
289
300
  }
290
301
 
291
302
  .ft-input-label--hidden-text {
@@ -302,19 +313,19 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
302
313
  overflow: hidden;
303
314
  white-space: nowrap;
304
315
  text-overflow: ellipsis;
305
- padding: ${ii.verticalSpacing} 4px;
306
- margin: calc(${ii.verticalSpacing} * -1) 0;
316
+ padding: ${oi.verticalSpacing} 4px;
317
+ margin: calc(${oi.verticalSpacing} * -1) 0;
307
318
  max-width: 100%;
308
319
  box-sizing: border-box;
309
320
  }
310
321
 
311
322
  .ft-input-label--raised .ft-input-label--text {
312
- ${yt(ze.fontSize,ii.raisedFontSize)};
313
- ${yt(ze.lineHeight,ii.raisedFontSize)};
323
+ ${yt(Re.fontSize,oi.raisedFontSize)};
324
+ ${yt(Re.lineHeight,oi.raisedFontSize)};
314
325
  }
315
326
 
316
327
  .ft-input-label--raised .ft-input-label--floating-text {
317
- top: ${ii.verticalSpacing};
328
+ top: ${oi.verticalSpacing};
318
329
  }
319
330
 
320
331
  .ft-input-label--outlined .ft-input-label--text,
@@ -327,28 +338,28 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
327
338
  .ft-input-label--outlined:before {
328
339
  border-left-width: 1px;
329
340
  border-left-style: solid;
330
- border-radius: ${ii.borderRadiusS} 0 0 ${ii.borderRadiusS};
341
+ border-radius: ${oi.borderRadiusS} 0 0 ${oi.borderRadiusS};
331
342
  }
332
343
 
333
344
  .ft-input-label--outlined:after {
334
345
  border-right-width: 1px;
335
346
  border-right-style: solid;
336
- border-radius: 0 ${ii.borderRadiusS} ${ii.borderRadiusS} 0;
347
+ border-radius: 0 ${oi.borderRadiusS} ${oi.borderRadiusS} 0;
337
348
  }
338
349
 
339
350
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
340
351
  padding: 2px 4px;
341
- z-index: ${ii.raisedZIndex};
342
- background-color: ${ii.colorSurface};
343
- border-radius: ${ii.borderRadiusS};
352
+ z-index: ${oi.raisedZIndex};
353
+ background-color: ${oi.colorSurface};
354
+ border-radius: ${oi.borderRadiusS};
344
355
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
345
356
  }
346
357
 
347
358
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
348
359
  border-top: none;
349
360
  }
350
- `;var ni=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class si extends wt{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 X`
351
- <div class="${_t(t)}">
361
+ `;var ni=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 ri extends wt{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 X`
362
+ <div class="${Wt(t)}">
352
363
  ${this.text?X`
353
364
  <div class="ft-input-label--text ft-typography--caption">
354
365
  <span class="ft-input-label--floating-text">${this.text}</span>
@@ -356,7 +367,7 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
356
367
  </div>
357
368
  `:null}
358
369
  </div>
359
- `}}si.elementDefinitions={},si.styles=[qe,oi],ni([o({type:String})],si.prototype,"text",void 0),ni([o({type:Boolean})],si.prototype,"raised",void 0),ni([o({type:Boolean})],si.prototype,"outlined",void 0),ni([o({type:Boolean})],si.prototype,"disabled",void 0),ni([o({type:Boolean})],si.prototype,"error",void 0),d("ft-input-label")(si);const ri=gt.extend("--ft-ripple-color",mt.colorContent),li={color:ri,backgroundColor:gt.extend("--ft-ripple-background-color",ri),opacityContentOnSurfacePressed:gt.external(mt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:gt.external(mt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:gt.external(mt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:gt.external(mt.opacityContentOnSurfaceSelected,"Design system")},ai=gt.extend("--ft-ripple-color",mt.colorPrimary),pi=ai,ci=gt.extend("--ft-ripple-background-color",ai),di=gt.extend("--ft-ripple-color",mt.colorSecondary),fi=di,hi=gt.extend("--ft-ripple-background-color",di),ui=y`
370
+ `}}ri.elementDefinitions={},ri.styles=[Xe,si],ni([o({type:String})],ri.prototype,"text",void 0),ni([o({type:Boolean})],ri.prototype,"raised",void 0),ni([o({type:Boolean})],ri.prototype,"outlined",void 0),ni([o({type:Boolean})],ri.prototype,"disabled",void 0),ni([o({type:Boolean})],ri.prototype,"error",void 0),d("ft-input-label")(ri);const li=gt.extend("--ft-ripple-color",mt.colorContent),ai={color:li,backgroundColor:gt.extend("--ft-ripple-background-color",li),opacityContentOnSurfacePressed:gt.external(mt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:gt.external(mt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:gt.external(mt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:gt.external(mt.opacityContentOnSurfaceSelected,"Design system")},pi=gt.extend("--ft-ripple-color",mt.colorPrimary),ci=pi,di=gt.extend("--ft-ripple-background-color",pi),fi=gt.extend("--ft-ripple-color",mt.colorSecondary),hi=fi,ui=gt.extend("--ft-ripple-background-color",fi),vi=y`
360
371
  :host {
361
372
  display: contents;
362
373
  }
@@ -378,27 +389,27 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
378
389
  }
379
390
 
380
391
  .ft-ripple .ft-ripple--background {
381
- background-color: ${li.backgroundColor};
392
+ background-color: ${ai.backgroundColor};
382
393
  }
383
394
 
384
395
  .ft-ripple .ft-ripple--effect {
385
- background-color: ${li.color};
396
+ background-color: ${ai.color};
386
397
  }
387
398
 
388
399
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
389
- background-color: ${hi};
400
+ background-color: ${ui};
390
401
  }
391
402
 
392
403
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
393
- background-color: ${fi};
404
+ background-color: ${hi};
394
405
  }
395
406
 
396
407
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
397
- background-color: ${ci};
408
+ background-color: ${di};
398
409
  }
399
410
 
400
411
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
401
- background-color: ${pi};
412
+ background-color: ${ci};
402
413
  }
403
414
 
404
415
  .ft-ripple .ft-ripple--background {
@@ -430,22 +441,22 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
430
441
  }
431
442
 
432
443
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
433
- opacity: ${li.opacityContentOnSurfaceHover};
444
+ opacity: ${ai.opacityContentOnSurfaceHover};
434
445
  }
435
446
 
436
447
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
437
- opacity: ${li.opacityContentOnSurfaceSelected};
448
+ opacity: ${ai.opacityContentOnSurfaceSelected};
438
449
  }
439
450
 
440
451
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
441
- opacity: ${li.opacityContentOnSurfaceFocused};
452
+ opacity: ${ai.opacityContentOnSurfaceFocused};
442
453
  }
443
454
 
444
455
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
445
- opacity: ${li.opacityContentOnSurfacePressed};
456
+ opacity: ${ai.opacityContentOnSurfacePressed};
446
457
  transform: translate(-50%, -50%) scale(1);
447
458
  }
448
- `;var vi,xi,bi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class gi extends wt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),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.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),s=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-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.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.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 X`
459
+ `;var xi,bi,gi=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 yi extends wt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),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.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 X`
449
460
  <style>
450
461
  .ft-ripple .ft-ripple--effect,
451
462
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -458,11 +469,11 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
458
469
  top: ${this.originY}px;
459
470
  }
460
471
  </style>
461
- <div class="${_t(t)}">
472
+ <div class="${Wt(t)}">
462
473
  <div class="ft-ripple--background"></div>
463
474
  <div class="ft-ripple--effect"></div>
464
475
  </div>
465
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(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")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(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"),n=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",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}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.resizeObserver.disconnect(),this.endRipple()}}gi.elementDefinitions={},gi.styles=ui,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([n()],gi.prototype,"hovered",void 0),bi([n()],gi.prototype,"focused",void 0),bi([n()],gi.prototype,"pressed",void 0),bi([n()],gi.prototype,"rippling",void 0),bi([n()],gi.prototype,"rippleSize",void 0),bi([n()],gi.prototype,"originX",void 0),bi([n()],gi.prototype,"originY",void 0),bi([r(".ft-ripple")],gi.prototype,"ripple",void 0),bi([r(".ft-ripple--effect")],gi.prototype,"rippleEffect",void 0),d("ft-ripple")(gi),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.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.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.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",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;"}(vi||(vi={})),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;"}(xi||(xi={})),new Map([...["abw"].map((t=>[t,xi.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,xi.AUDIO])),...["avi"].map((t=>[t,xi.AVI])),...["chm","xhs"].map((t=>[t,xi.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,xi.CODE])),...["csv"].map((t=>[t,xi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,xi.DITA])),...["epub"].map((t=>[t,xi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,xi.EXCEL])),...["flac"].map((t=>[t,xi.FLAC])),...["gif"].map((t=>[t,xi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,xi.GZIP])),...["html","htm","xhtml"].map((t=>[t,xi.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,xi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,xi.JPEG])),...["json"].map((t=>[t,xi.JSON])),...["m4a","m4p"].map((t=>[t,xi.M4A])),...["mov","qt"].map((t=>[t,xi.MOV])),...["mp3"].map((t=>[t,xi.MP3])),...["mp4","m4v"].map((t=>[t,xi.MP4])),...["ogg","oga"].map((t=>[t,xi.OGG])),...["pdf","ps"].map((t=>[t,xi.PDF])),...["png"].map((t=>[t,xi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,xi.POWERPOINT])),...["rar"].map((t=>[t,xi.RAR])),...["stp"].map((t=>[t,xi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,xi.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,xi.VIDEO])),...["wav"].map((t=>[t,xi.WAV])),...["wma"].map((t=>[t,xi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,xi.WORD])),...["xml","xsl","rdf"].map((t=>[t,xi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,xi.YAML])),...["zip"].map((t=>[t,xi.ZIP]))]);const yi={size:gt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:gt.extend("--ft-icon-fluid-topics-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:gt.extend("--ft-icon-file-format-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:gt.extend("--ft-icon-material-font-family",gt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:gt.create("--ft-icon-vertical-align","UNKNOWN","unset")},mi=y`
476
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(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")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>{var t;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}))}setupFor(t){if(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}}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.resizeObserver.disconnect(),this.endRipple()}}yi.elementDefinitions={},yi.styles=vi,gi([o({type:Boolean})],yi.prototype,"primary",void 0),gi([o({type:Boolean})],yi.prototype,"secondary",void 0),gi([o({type:Boolean})],yi.prototype,"unbounded",void 0),gi([o({type:Boolean})],yi.prototype,"activated",void 0),gi([o({type:Boolean})],yi.prototype,"selected",void 0),gi([o({type:Boolean})],yi.prototype,"disabled",void 0),gi([s()],yi.prototype,"hovered",void 0),gi([s()],yi.prototype,"focused",void 0),gi([s()],yi.prototype,"pressed",void 0),gi([s()],yi.prototype,"rippling",void 0),gi([s()],yi.prototype,"rippleSize",void 0),gi([s()],yi.prototype,"originX",void 0),gi([s()],yi.prototype,"originY",void 0),gi([r(".ft-ripple")],yi.prototype,"ripple",void 0),gi([r(".ft-ripple--effect")],yi.prototype,"rippleEffect",void 0),d("ft-ripple")(yi),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.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.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.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",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;"}(xi||(xi={})),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;"}(bi||(bi={})),new Map([...["abw"].map((t=>[t,bi.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,bi.AUDIO])),...["avi"].map((t=>[t,bi.AVI])),...["chm","xhs"].map((t=>[t,bi.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,bi.CODE])),...["csv"].map((t=>[t,bi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,bi.DITA])),...["epub"].map((t=>[t,bi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,bi.EXCEL])),...["flac"].map((t=>[t,bi.FLAC])),...["gif"].map((t=>[t,bi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,bi.GZIP])),...["html","htm","xhtml"].map((t=>[t,bi.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,bi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,bi.JPEG])),...["json"].map((t=>[t,bi.JSON])),...["m4a","m4p"].map((t=>[t,bi.M4A])),...["mov","qt"].map((t=>[t,bi.MOV])),...["mp3"].map((t=>[t,bi.MP3])),...["mp4","m4v"].map((t=>[t,bi.MP4])),...["ogg","oga"].map((t=>[t,bi.OGG])),...["pdf","ps"].map((t=>[t,bi.PDF])),...["png"].map((t=>[t,bi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,bi.POWERPOINT])),...["rar"].map((t=>[t,bi.RAR])),...["stp"].map((t=>[t,bi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,bi.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,bi.VIDEO])),...["wav"].map((t=>[t,bi.WAV])),...["wma"].map((t=>[t,bi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,bi.WORD])),...["xml","xsl","rdf"].map((t=>[t,bi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,bi.YAML])),...["zip"].map((t=>[t,bi.ZIP]))]);const mi={size:gt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:gt.extend("--ft-icon-fluid-topics-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:gt.extend("--ft-icon-file-format-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:gt.extend("--ft-icon-material-font-family",gt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:gt.create("--ft-icon-vertical-align","UNKNOWN","unset")},$i=y`
466
477
  :host, i.ft-icon {
467
478
  display: inline-flex;
468
479
  align-items: center;
@@ -471,14 +482,14 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
471
482
  }
472
483
 
473
484
  :host {
474
- width: ${yi.size};
475
- height: ${yi.size};
485
+ width: ${mi.size};
486
+ height: ${mi.size};
476
487
  }
477
488
 
478
489
  i.ft-icon {
479
490
  width: 100%;
480
491
  height: 100%;
481
- font-size: ${yi.size};
492
+ font-size: ${mi.size};
482
493
  line-height: 1;
483
494
  font-weight: normal;
484
495
  text-transform: none;
@@ -489,32 +500,32 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
489
500
  text-rendering: auto;
490
501
  -webkit-font-smoothing: antialiased;
491
502
  -moz-osx-font-smoothing: grayscale;
492
- vertical-align: ${yi.verticalAlign};
503
+ vertical-align: ${mi.verticalAlign};
493
504
  }
494
505
 
495
506
  i.ft-icon.ft-icon--fluid-topics {
496
- font-family: ${yi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
507
+ font-family: ${mi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
497
508
 
498
509
  /* Ugly fix because font is broken */
499
- font-size: calc(0.9 * ${yi.size});
510
+ font-size: calc(0.9 * ${mi.size});
500
511
  position: relative;
501
512
  top: -5%;
502
513
  justify-content: center;
503
514
  }
504
515
 
505
516
  .ft-icon--file-format {
506
- font-family: ${yi.fileFormatFontFamily}, ft-mime, sans-serif;
517
+ font-family: ${mi.fileFormatFontFamily}, ft-mime, sans-serif;
507
518
  }
508
519
 
509
520
  .ft-icon--material {
510
- font-family: ${yi.materialFontFamily}, "Material Icons", sans-serif;
521
+ font-family: ${mi.materialFontFamily}, "Material Icons", sans-serif;
511
522
  }
512
- `;var $i;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}($i||($i={}));var wi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Oi extends wt{constructor(){super(...arguments),this.variant=$i.fluid_topics,this.resolvedIcon=G}render(){const t="material"!==this.variant||this.value;return X`
523
+ `;var wi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(wi||(wi={}));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 wt{constructor(){super(...arguments),this.variant=wi.fluid_topics,this.resolvedIcon=G}render(){const t="material"!==this.variant||this.value;return X`
513
524
  <i class="ft-icon ${"ft-icon--"+this.variant}">
514
- ${Pt(this.resolvedIcon)}
525
+ ${_t(this.resolvedIcon)}
515
526
  <slot ?hidden=${t}></slot>
516
527
  </i>
517
- `}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 $i.file_format:this.resolvedIcon=null!==(t=xi[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case $i.fluid_topics:this.resolvedIcon=null!==(e=vi[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||G}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Oi.elementDefinitions={},Oi.styles=mi,wi([o()],Oi.prototype,"variant",void 0),wi([o()],Oi.prototype,"value",void 0),wi([n()],Oi.prototype,"resolvedIcon",void 0),wi([r("slot")],Oi.prototype,"slottedContent",void 0),d("ft-icon")(Oi);const Si={labelSize:gt.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:gt.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:gt.create("--ft-select-vertical-spacing","SIZE","4px"),horizontalSpacing:gt.create("--ft-select-horizontal-spacing","SIZE","16px"),optionsHeight:gt.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:gt.extend("--ft-select-selected-option-color",mt.colorOnSurface),helperColor:gt.extend("--ft-select-helper-color",mt.colorOnSurfaceMedium),optionsColor:gt.extend("--ft-select-options-color",mt.colorOnSurface),optionsZIndex:gt.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:gt.external(mt.colorSurface,"Design system"),colorOnSurfaceDisabled:gt.external(mt.colorOnSurfaceDisabled,"Design system"),colorPrimary:gt.external(mt.colorPrimary,"Design system"),borderRadiusS:gt.external(mt.borderRadiusS,"Design system"),elevation02:gt.external(mt.elevation02,"Design system"),colorError:gt.external(mt.colorError,"Design system")},ki=y`
528
+ `}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 wi.file_format:this.resolvedIcon=null!==(t=bi[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case wi.fluid_topics:this.resolvedIcon=null!==(e=xi[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||G}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Si.elementDefinitions={},Si.styles=$i,Oi([o()],Si.prototype,"variant",void 0),Oi([o()],Si.prototype,"value",void 0),Oi([s()],Si.prototype,"resolvedIcon",void 0),Oi([r("slot")],Si.prototype,"slottedContent",void 0),d("ft-icon")(Si);const ki={labelSize:gt.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:gt.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:gt.create("--ft-select-vertical-spacing","SIZE","4px"),horizontalSpacing:gt.create("--ft-select-horizontal-spacing","SIZE","16px"),optionsHeight:gt.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:gt.extend("--ft-select-selected-option-color",mt.colorOnSurface),helperColor:gt.extend("--ft-select-helper-color",mt.colorOnSurfaceMedium),optionsColor:gt.extend("--ft-select-options-color",mt.colorOnSurface),optionsZIndex:gt.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:gt.external(mt.colorSurface,"Design system"),colorOnSurfaceDisabled:gt.external(mt.colorOnSurfaceDisabled,"Design system"),colorPrimary:gt.external(mt.colorPrimary,"Design system"),borderRadiusS:gt.external(mt.borderRadiusS,"Design system"),elevation02:gt.external(mt.elevation02,"Design system"),colorError:gt.external(mt.colorError,"Design system")},Ci=y`
518
529
  *:focus {
519
530
  outline: none;
520
531
  }
@@ -528,7 +539,7 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
528
539
  .ft-select--main-panel {
529
540
  position: relative;
530
541
  display: flex;
531
- height: calc(4 * ${Si.verticalSpacing} + ${Si.labelSize} + ${Si.selectedOptionSize});
542
+ height: calc(4 * ${ki.verticalSpacing} + ${ki.labelSize} + ${ki.selectedOptionSize});
532
543
  }
533
544
 
534
545
  .ft-select--input-panel {
@@ -537,17 +548,17 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
537
548
  display: flex;
538
549
  align-items: center;
539
550
  overflow: hidden;
540
- padding-left: ${Si.horizontalSpacing};
541
- padding-right: ${Si.horizontalSpacing};
551
+ padding-left: ${ki.horizontalSpacing};
552
+ padding-right: ${ki.horizontalSpacing};
542
553
  gap: 8px;
543
- color: ${Si.selectedOptionColor};
544
- ${yt(li.color,Si.selectedOptionColor)};
554
+ color: ${ki.selectedOptionColor};
555
+ ${yt(ai.color,ki.selectedOptionColor)};
545
556
  }
546
557
 
547
558
  .ft-select--input-panel,
548
559
  .ft-select--option {
549
- ${yt(li.opacityContentOnSurfaceHover,"0.08")};
550
- ${yt(li.opacityContentOnSurfacePressed,"0.04")};
560
+ ${yt(ai.opacityContentOnSurfaceHover,"0.08")};
561
+ ${yt(ai.opacityContentOnSurfacePressed,"0.04")};
551
562
  }
552
563
 
553
564
  .ft-select--input-panel > *:not(ft-ripple),
@@ -557,7 +568,7 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
557
568
 
558
569
  .ft-select--disabled .ft-select--input-panel,
559
570
  .ft-select--disabled .ft-select--option {
560
- color: ${Si.colorOnSurfaceDisabled};
571
+ color: ${ki.colorOnSurfaceDisabled};
561
572
  }
562
573
 
563
574
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -566,20 +577,20 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
566
577
  }
567
578
 
568
579
  ft-input-label {
569
- ${yt(ii.fontSize,Si.selectedOptionSize)};
570
- ${yt(ii.raisedFontSize,Si.labelSize)};
571
- ${yt(ii.verticalSpacing,Si.verticalSpacing)};
572
- ${yt(ii.horizontalSpacing,Si.horizontalSpacing)};
573
- ${yt(ii.labelMaxWidth,`calc(100% - ${yi.size} - 8px)`)};
580
+ ${yt(oi.fontSize,ki.selectedOptionSize)};
581
+ ${yt(oi.raisedFontSize,ki.labelSize)};
582
+ ${yt(oi.verticalSpacing,ki.verticalSpacing)};
583
+ ${yt(oi.horizontalSpacing,ki.horizontalSpacing)};
584
+ ${yt(oi.labelMaxWidth,`calc(100% - ${mi.size} - 8px)`)};
574
585
  }
575
586
 
576
587
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
577
- color: ${Si.colorPrimary};
588
+ color: ${ki.colorPrimary};
578
589
  }
579
590
 
580
591
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
581
- ${yt(ii.borderColor,Si.colorPrimary)};
582
- ${yt(ii.textColor,Si.colorPrimary)};
592
+ ${yt(oi.borderColor,ki.colorPrimary)};
593
+ ${yt(oi.textColor,ki.colorPrimary)};
583
594
  }
584
595
 
585
596
  .ft-select--selected-option {
@@ -589,12 +600,12 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
589
600
  overflow: hidden;
590
601
  white-space: nowrap;
591
602
  text-overflow: ellipsis;
592
- ${yt(we.fontSize,Si.selectedOptionSize)};
593
- ${yt(we.lineHeight,Si.selectedOptionSize)};
603
+ ${yt(Oe.fontSize,ki.selectedOptionSize)};
604
+ ${yt(Oe.lineHeight,ki.selectedOptionSize)};
594
605
  }
595
606
 
596
607
  .ft-select--in-error .ft-select--selected-option {
597
- color: ${Si.colorError};
608
+ color: ${ki.colorError};
598
609
  }
599
610
 
600
611
  ft-icon {
@@ -606,16 +617,16 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
606
617
  }
607
618
 
608
619
  .ft-select--filled .ft-select--input-panel {
609
- border-radius: ${Si.borderRadiusS} ${Si.borderRadiusS} 0 0;
620
+ border-radius: ${ki.borderRadiusS} ${ki.borderRadiusS} 0 0;
610
621
  }
611
622
 
612
623
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
613
624
  align-self: stretch;
614
- padding-top: calc(${Si.labelSize} + 2 * ${Si.verticalSpacing});
625
+ padding-top: calc(${ki.labelSize} + 2 * ${ki.verticalSpacing});
615
626
  }
616
627
 
617
628
  .ft-select--outlined .ft-select--input-panel {
618
- border-radius: ${Si.borderRadiusS};
629
+ border-radius: ${ki.borderRadiusS};
619
630
  }
620
631
 
621
632
  .ft-select--options {
@@ -624,10 +635,10 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
624
635
  top: 100%;
625
636
  left: 0;
626
637
  right: 0;
627
- color: ${Si.optionsColor};
628
- background: ${Si.colorSurface};
629
- z-index: ${Si.optionsZIndex};
630
- box-shadow: ${Si.elevation02};
638
+ color: ${ki.optionsColor};
639
+ background: ${ki.colorSurface};
640
+ z-index: ${ki.optionsZIndex};
641
+ box-shadow: ${ki.elevation02};
631
642
  }
632
643
 
633
644
  .ft-select--fixed .ft-select--options {
@@ -638,13 +649,13 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
638
649
 
639
650
  .ft-select--options-displayed .ft-select--options {
640
651
  display: block;
641
- max-height: ${Si.optionsHeight};
652
+ max-height: ${ki.optionsHeight};
642
653
  overflow-y: auto;
643
654
  }
644
655
 
645
656
  .ft-select--option {
646
657
  position: relative;
647
- padding: 4px ${Si.horizontalSpacing};
658
+ padding: 4px ${ki.horizontalSpacing};
648
659
  min-height: 32px;
649
660
  display: flex;
650
661
  align-items: center;
@@ -656,21 +667,21 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
656
667
  }
657
668
 
658
669
  .ft-select--helper-text {
659
- padding: 0 ${Si.horizontalSpacing};
660
- color: ${Si.helperColor};
670
+ padding: 0 ${ki.horizontalSpacing};
671
+ color: ${ki.helperColor};
661
672
  }
662
673
 
663
674
  .ft-select--in-error .ft-select--helper-text {
664
- color: ${Si.colorError};
675
+ color: ${ki.colorError};
665
676
  }
666
- `;var Ci=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ei extends wt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return X``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ei.elementDefinitions={},Ci([o({type:String})],Ei.prototype,"label",void 0),Ci([o({type:Object,converter:t=>t})],Ei.prototype,"value",void 0),Ci([o({type:Boolean,reflect:!0})],Ei.prototype,"selected",void 0);class Ni extends wt{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,n;let s=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":s,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return X`
667
- <div class="${_t(a)}" part="container">
677
+ `;var Ei=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 Ni extends wt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return X``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ni.elementDefinitions={},Ei([o({type:String})],Ni.prototype,"label",void 0),Ei([o({type:Object,converter:t=>t})],Ni.prototype,"value",void 0),Ei([o({type:Boolean,reflect:!0})],Ni.prototype,"selected",void 0);class zi extends wt{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 X`
678
+ <div class="${Wt(a)}" part="container">
668
679
  <div class="ft-select--main-panel" part="main-panel">
669
680
  <ft-input-label text="${this.label}"
670
681
  part="label"
671
682
  ?disabled=${r}
672
683
  ?outlined=${this.outlined}
673
- ?raised=${l||s}
684
+ ?raised=${l||n}
674
685
  ?error=${this.error}
675
686
  ></ft-input-label>
676
687
  <div class="ft-select--input-panel"
@@ -680,18 +691,18 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
680
691
  @keydown=${this.onMainPanelKeyDown}
681
692
  aria-label="${this.label}"
682
693
  aria-haspopup="listbox"
683
- aria-expanded="${s}">
694
+ aria-expanded="${n}">
684
695
  <ft-ripple ?disabled=${r} ?activated=${!this.outlined}></ft-ripple>
685
696
  <ft-typography variant="body1" class="ft-select--selected-option">
686
- ${null!==(n=null===(o=this.selectedOption)||void 0===o?void 0:o.label)&&void 0!==n?n:""}
697
+ ${null!==(s=null===(o=this.selectedOption)||void 0===o?void 0:o.label)&&void 0!==s?s:""}
687
698
  </ft-typography>
688
- <ft-icon variant="material">${s?"expand_less":"expand_more"}</ft-icon>
699
+ <ft-icon variant="material">${n?"expand_less":"expand_more"}</ft-icon>
689
700
  </div>
690
701
  <div class="ft-select--options"
691
702
  part="options"
692
703
  @keydown=${this.onOptionsKeyDown}
693
704
  innerrole="listbox">
694
- ${Tt(this.options,(t=>t.value),(t=>this.renderOption(t)))}
705
+ ${Lt(this.options,(t=>t.value),(t=>this.renderOption(t)))}
695
706
  </div>
696
707
  </div>
697
708
  ${this.helper?X`
@@ -702,7 +713,7 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
702
713
  @option-change=${this.updateOptionsFromSlot}
703
714
  ></slot>
704
715
  `}renderOption(t){let e=this.selectedOption===t;return X`
705
- <div class="${_t({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
716
+ <div class="${Wt({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
706
717
  part="option"
707
718
  tabindex="0"
708
719
  data-value="${t.value}"
@@ -711,13 +722,13 @@ class Lt extends Mt{constructor(t){if(super(t),this.it=G,t.type!==zt)throw Error
711
722
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
712
723
  <span>${t.label}</span>
713
724
  </div>
714
- `}updated(t){super.updated(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;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,n,s;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!==(s=null===(n=this.focusedOption)||void 0===n?void 0:n.nextElementSibling)&&void 0!==s?s: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(!f(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)}}Ni.elementDefinitions={"ft-input-label":si,"ft-typography":ei,"ft-ripple":gi,"ft-icon":Oi},Ni.styles=[Je,qe,ki],Ci([o({type:String})],Ni.prototype,"label",void 0),Ci([o({type:String})],Ni.prototype,"helper",void 0),Ci([o({type:Boolean})],Ni.prototype,"outlined",void 0),Ci([o({type:Boolean})],Ni.prototype,"disabled",void 0),Ci([o({type:Boolean})],Ni.prototype,"error",void 0),Ci([o({type:Boolean})],Ni.prototype,"fixedMenuPosition",void 0),Ci([o({type:Array})],Ni.prototype,"options",void 0),Ci([n()],Ni.prototype,"selectedOption",void 0),Ci([n()],Ni.prototype,"optionsDisplayed",void 0),Ci([n()],Ni.prototype,"focusOptions",void 0),Ci([r(".ft-select")],Ni.prototype,"container",void 0),Ci([r(".ft-select--options")],Ni.prototype,"optionsMenu",void 0),Ci([r(".ft-select--input-panel")],Ni.prototype,"mainPanel",void 0),Ci([r(".ft-select--option:first-child")],Ni.prototype,"firstOption",void 0),Ci([r(".ft-select--option:focus")],Ni.prototype,"focusedOption",void 0),Ci([r(".ft-select--option.ft-select--option-selected")],Ni.prototype,"selectedOptionElement",void 0),Ci([r(".ft-select--option:last-child")],Ni.prototype,"lastOption",void 0),Ci([r("slot")],Ni.prototype,"optionsSlot",void 0),d("ft-select")(Ni),d("ft-select-option")(Ei);
725
+ `}updated(t){super.updated(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;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(!f(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)}}zi.elementDefinitions={"ft-input-label":ri,"ft-typography":ii,"ft-ripple":yi,"ft-icon":Si},zi.styles=[qe,Xe,Ci],Ei([o({type:String})],zi.prototype,"label",void 0),Ei([o({type:String})],zi.prototype,"helper",void 0),Ei([o({type:Boolean})],zi.prototype,"outlined",void 0),Ei([o({type:Boolean})],zi.prototype,"disabled",void 0),Ei([o({type:Boolean})],zi.prototype,"error",void 0),Ei([o({type:Boolean})],zi.prototype,"fixedMenuPosition",void 0),Ei([o({type:Array})],zi.prototype,"options",void 0),Ei([s()],zi.prototype,"selectedOption",void 0),Ei([s()],zi.prototype,"optionsDisplayed",void 0),Ei([s()],zi.prototype,"focusOptions",void 0),Ei([r(".ft-select")],zi.prototype,"container",void 0),Ei([r(".ft-select--options")],zi.prototype,"optionsMenu",void 0),Ei([r(".ft-select--input-panel")],zi.prototype,"mainPanel",void 0),Ei([r(".ft-select--option:first-child")],zi.prototype,"firstOption",void 0),Ei([r(".ft-select--option:focus")],zi.prototype,"focusedOption",void 0),Ei([r(".ft-select--option.ft-select--option-selected")],zi.prototype,"selectedOptionElement",void 0),Ei([r(".ft-select--option:last-child")],zi.prototype,"lastOption",void 0),Ei([r("slot")],zi.prototype,"optionsSlot",void 0),d("ft-select")(zi),d("ft-select-option")(Ni);
715
726
  /**
716
727
  * @license
717
728
  * Copyright 2018 Google LLC
718
729
  * SPDX-License-Identifier: BSD-3-Clause
719
730
  */
720
- const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSize:gt.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:gt.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:gt.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:gt.extend("--ft-text-field-helper-color",mt.colorOnSurfaceMedium),colorPrimary:gt.external(mt.colorPrimary,"Design system"),colorOnSurface:gt.external(mt.colorOnSurface,"Design system"),colorOnSurfaceDisabled:gt.external(mt.colorOnSurfaceDisabled,"Design system"),borderRadiusS:gt.external(mt.borderRadiusS,"Design system"),colorError:gt.external(mt.colorError,"Design system"),prefixColor:gt.extend("--ft-text-field-prefix-color",mt.colorOnSurfaceMedium),iconColor:gt.extend("--ft-text-field-icon-color",mt.colorOnSurfaceMedium),floatingZIndex:gt.create("--ft-text-field-floating-components-z-index","NUMBER","3"),colorSurface:gt.external(mt.colorSurface,"Design system"),colorOutline:gt.external(mt.colorOutline,"Design system"),elevation02:gt.external(mt.elevation02,"Design system"),suggestSize:gt.create("--ft-text-field-suggest-size","SIZE","300px")},Ri=y`
731
+ const Ri={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSize:gt.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:gt.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:gt.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:gt.extend("--ft-text-field-helper-color",mt.colorOnSurfaceMedium),colorPrimary:gt.external(mt.colorPrimary,"Design system"),colorOnSurface:gt.external(mt.colorOnSurface,"Design system"),colorOnSurfaceDisabled:gt.external(mt.colorOnSurfaceDisabled,"Design system"),borderRadiusS:gt.external(mt.borderRadiusS,"Design system"),colorError:gt.external(mt.colorError,"Design system"),prefixColor:gt.extend("--ft-text-field-prefix-color",mt.colorOnSurfaceMedium),iconColor:gt.extend("--ft-text-field-icon-color",mt.colorOnSurfaceMedium),floatingZIndex:gt.create("--ft-text-field-floating-components-z-index","NUMBER","3"),colorSurface:gt.external(mt.colorSurface,"Design system"),colorOutline:gt.external(mt.colorOutline,"Design system"),elevation02:gt.external(mt.elevation02,"Design system"),suggestSize:gt.create("--ft-text-field-suggest-size","SIZE","300px")},Mi=y`
721
732
  *:focus {
722
733
  outline: none;
723
734
  }
@@ -730,16 +741,16 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
730
741
  }
731
742
 
732
743
  ft-input-label {
733
- ${yt(ii.fontSize,zi.fontSize)};
734
- ${yt(ii.raisedFontSize,zi.labelSize)};
735
- ${yt(ii.verticalSpacing,zi.verticalSpacing)};
736
- ${yt(ii.horizontalSpacing,zi.horizontalSpacing)};
744
+ ${yt(oi.fontSize,Ri.fontSize)};
745
+ ${yt(oi.raisedFontSize,Ri.labelSize)};
746
+ ${yt(oi.verticalSpacing,Ri.verticalSpacing)};
747
+ ${yt(oi.horizontalSpacing,Ri.horizontalSpacing)};
737
748
  }
738
749
 
739
750
  .ft-text-field--main-panel {
740
751
  position: relative;
741
752
  display: flex;
742
- height: calc(4 * ${zi.verticalSpacing} + ${zi.labelSize} + ${zi.fontSize});
753
+ height: calc(4 * ${Ri.verticalSpacing} + ${Ri.labelSize} + ${Ri.fontSize});
743
754
  }
744
755
 
745
756
  .ft-text-field--input-panel {
@@ -748,24 +759,24 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
748
759
  display: flex;
749
760
  align-items: center;
750
761
  overflow: hidden;
751
- padding: 0 ${zi.horizontalSpacing};
762
+ padding: 0 ${Ri.horizontalSpacing};
752
763
 
753
- ${yt(we.fontSize,zi.fontSize)};
754
- ${yt(we.lineHeight,zi.fontSize)};
764
+ ${yt(Oe.fontSize,Ri.fontSize)};
765
+ ${yt(Oe.lineHeight,Ri.fontSize)};
755
766
  }
756
767
 
757
768
  .ft-text-field--input-panel ft-ripple {
758
- ${yt(li.opacityContentOnSurfaceHover,"0.08")};
759
- ${yt(li.opacityContentOnSurfacePressed,"0.04")};
769
+ ${yt(ai.opacityContentOnSurfaceHover,"0.08")};
770
+ ${yt(ai.opacityContentOnSurfacePressed,"0.04")};
760
771
  }
761
772
 
762
773
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
763
774
  align-items: flex-end;
764
- padding: 0 ${zi.horizontalSpacing} ${zi.verticalSpacing} ${zi.horizontalSpacing};
775
+ padding: 0 ${Ri.horizontalSpacing} ${Ri.verticalSpacing} ${Ri.horizontalSpacing};
765
776
  }
766
777
 
767
778
  .ft-text-field--prefix {
768
- color: ${zi.prefixColor};
779
+ color: ${Ri.prefixColor};
769
780
  margin-right: 2px;
770
781
  flex-shrink: 1;
771
782
  overflow: hidden;
@@ -784,15 +795,15 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
784
795
  flex-shrink: 1;
785
796
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
786
797
 
787
- color: ${zi.colorOnSurface};
788
- padding: calc(2 * ${zi.verticalSpacing}) 0;
798
+ color: ${Ri.colorOnSurface};
799
+ padding: calc(2 * ${Ri.verticalSpacing}) 0;
789
800
  border: none;
790
801
  background: none;
791
802
  }
792
803
 
793
804
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
794
805
  padding-bottom: 0;
795
- padding-top: calc(${zi.labelSize} + 2 * ${zi.verticalSpacing});
806
+ padding-top: calc(${Ri.labelSize} + 2 * ${Ri.verticalSpacing});
796
807
  }
797
808
 
798
809
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -801,37 +812,37 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
801
812
  }
802
813
 
803
814
  .ft-text-field--disabled .ft-text-field--input {
804
- color: ${zi.colorOnSurfaceDisabled};
815
+ color: ${Ri.colorOnSurfaceDisabled};
805
816
  }
806
817
 
807
818
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
808
- ${yt(ii.borderColor,zi.colorPrimary)};
809
- ${yt(ii.textColor,zi.colorPrimary)};
819
+ ${yt(oi.borderColor,Ri.colorPrimary)};
820
+ ${yt(oi.textColor,Ri.colorPrimary)};
810
821
  }
811
822
 
812
823
  .ft-text-field--filled .ft-text-field--input-panel {
813
- border-radius: ${zi.borderRadiusS} ${zi.borderRadiusS} 0 0;
824
+ border-radius: ${Ri.borderRadiusS} ${Ri.borderRadiusS} 0 0;
814
825
  }
815
826
 
816
827
  .ft-text-field--outlined .ft-text-field--input-panel {
817
- border-radius: ${zi.borderRadiusS};
828
+ border-radius: ${Ri.borderRadiusS};
818
829
  }
819
830
 
820
831
  .ft-text-field--helper-text {
821
- padding: 0 12px 0 ${zi.horizontalSpacing};
822
- color: ${zi.helperColor};
832
+ padding: 0 12px 0 ${Ri.horizontalSpacing};
833
+ color: ${Ri.helperColor};
823
834
  }
824
835
 
825
836
  .ft-text-field--in-error .ft-text-field--input,
826
837
  .ft-text-field--in-error .ft-text-field--helper-text,
827
838
  .ft-text-field--in-error .ft-text-field--prefix {
828
- color: ${zi.colorError};
839
+ color: ${Ri.colorError};
829
840
  }
830
841
 
831
842
  .ft-text-field--icon {
832
843
  align-self: center;
833
844
  margin-left: 8px;
834
- color: ${zi.iconColor};
845
+ color: ${Ri.iconColor};
835
846
  }
836
847
 
837
848
  .ft-text-field--container {
@@ -844,13 +855,13 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
844
855
  position: absolute;
845
856
  left: 0;
846
857
  right: 0;
847
- z-index: ${zi.floatingZIndex};
848
- background: ${zi.colorSurface};
849
- border: 1px solid ${zi.colorOutline};
850
- border-radius: 0 0 ${zi.borderRadiusS} ${zi.borderRadiusS};
851
- box-shadow: ${zi.elevation02};
858
+ z-index: ${Ri.floatingZIndex};
859
+ background: ${Ri.colorSurface};
860
+ border: 1px solid ${Ri.colorOutline};
861
+ border-radius: 0 0 ${Ri.borderRadiusS} ${Ri.borderRadiusS};
862
+ box-shadow: ${Ri.elevation02};
852
863
  outline: none;
853
- max-height: ${zi.suggestSize};
864
+ max-height: ${Ri.suggestSize};
854
865
  overflow-y: auto;
855
866
  }
856
867
 
@@ -867,10 +878,10 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
867
878
  }
868
879
 
869
880
  .ft-text-field--with-icon {
870
- ${yt(ii.labelMaxWidth,`calc(100% - ${yi.size} - ${ii.horizontalSpacing})`)};
881
+ ${yt(oi.labelMaxWidth,`calc(100% - ${mi.size} - ${oi.horizontalSpacing})`)};
871
882
  }
872
- `;var Mi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Fi extends wt{constructor(){super(...arguments),this.value="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.filterSuggestions=!1,this.focused=!1,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon};return X`
873
- <div class="${_t(t)}">
883
+ `;var Fi=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 Ui extends wt{constructor(){super(...arguments),this.value="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.filterSuggestions=!1,this.focused=!1,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon};return X`
884
+ <div class="${Wt(t)}">
874
885
  <div class="ft-text-field--main-panel"
875
886
  @keydown=${this.handleKeyboardNavigation}>
876
887
  <ft-input-label text="${this.label}"
@@ -912,7 +923,7 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
912
923
  </ft-typography>
913
924
  `:G}
914
925
  </div>
915
- `}updated(t){super.updated(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,i;if(super.contentAvailableCallback(t),!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),o=null===(i=this.suggestionsContainer)||void 0===i?void 0:i.getBoundingClientRect();t&&o&&(this.suggestionsOnTop=t.bottom+o.height>window.innerHeight&&t.top-o.height>0)}}updateValueFromInputField(){var t;this.setValue((null===(t=this.input)||void 0===t?void 0:t.value)||"",!0)}handleInput(){var t;const e=(null===(t=this.input)||void 0===t?void 0:t.value)||"";this.value!==e&&(this.hideSuggestions=!1,this.value=e,this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})))}handleClick(){this.hideSuggestions=!1}setValue(t,e){this.value=t,e&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const i=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let o;o="ArrowDown"===t.key?i<this.visibleSuggestions.length-1?i+1:0:i>0?i-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[o])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onInputBlur(){this.focused=!1}}Fi.elementDefinitions={"ft-input-label":si,"ft-ripple":gi,"ft-typography":ei,"ft-icon":Oi},Fi.styles=[Ve,Ri],Mi([o()],Fi.prototype,"label",void 0),Mi([o()],Fi.prototype,"value",void 0),Mi([o()],Fi.prototype,"helper",void 0),Mi([o({type:Boolean})],Fi.prototype,"outlined",void 0),Mi([o({type:Boolean})],Fi.prototype,"disabled",void 0),Mi([o({type:Boolean})],Fi.prototype,"error",void 0),Mi([o()],Fi.prototype,"prefix",void 0),Mi([o()],Fi.prototype,"icon",void 0),Mi([o()],Fi.prototype,"iconVariant",void 0),Mi([o({type:Boolean})],Fi.prototype,"filterSuggestions",void 0),Mi([o({type:Number})],Fi.prototype,"maxLength",void 0),Mi([n()],Fi.prototype,"focused",void 0),Mi([n()],Fi.prototype,"suggestionsOnTop",void 0),Mi([n()],Fi.prototype,"hideSuggestions",void 0),Mi([n()],Fi.prototype,"visibleSuggestions",void 0),Mi([r(".ft-text-field--input")],Fi.prototype,"input",void 0),Mi([r(".ft-text-field--suggestions")],Fi.prototype,"suggestionsContainer",void 0),Mi([p({selector:"ft-text-field-suggestion"})],Fi.prototype,"suggestions",void 0);const Ui=y`
926
+ `}updated(t){super.updated(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,i;if(super.contentAvailableCallback(t),!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),o=null===(i=this.suggestionsContainer)||void 0===i?void 0:i.getBoundingClientRect();t&&o&&(this.suggestionsOnTop=t.bottom+o.height>window.innerHeight&&t.top-o.height>0)}}updateValueFromInputField(){var t;this.setValue((null===(t=this.input)||void 0===t?void 0:t.value)||"",!0)}handleInput(){var t;const e=(null===(t=this.input)||void 0===t?void 0:t.value)||"";this.value!==e&&(this.hideSuggestions=!1,this.value=e,this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})))}handleClick(){this.hideSuggestions=!1}setValue(t,e){this.value=t,e&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const i=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let o;o="ArrowDown"===t.key?i<this.visibleSuggestions.length-1?i+1:0:i>0?i-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[o])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onInputBlur(){this.focused=!1}}Ui.elementDefinitions={"ft-input-label":ri,"ft-ripple":yi,"ft-typography":ii,"ft-icon":Si},Ui.styles=[Je,Mi],Fi([o()],Ui.prototype,"label",void 0),Fi([o()],Ui.prototype,"value",void 0),Fi([o()],Ui.prototype,"helper",void 0),Fi([o({type:Boolean})],Ui.prototype,"outlined",void 0),Fi([o({type:Boolean})],Ui.prototype,"disabled",void 0),Fi([o({type:Boolean})],Ui.prototype,"error",void 0),Fi([o()],Ui.prototype,"prefix",void 0),Fi([o()],Ui.prototype,"icon",void 0),Fi([o()],Ui.prototype,"iconVariant",void 0),Fi([o({type:Boolean})],Ui.prototype,"filterSuggestions",void 0),Fi([o({type:Number})],Ui.prototype,"maxLength",void 0),Fi([s()],Ui.prototype,"focused",void 0),Fi([s()],Ui.prototype,"suggestionsOnTop",void 0),Fi([s()],Ui.prototype,"hideSuggestions",void 0),Fi([s()],Ui.prototype,"visibleSuggestions",void 0),Fi([r(".ft-text-field--input")],Ui.prototype,"input",void 0),Fi([r(".ft-text-field--suggestions")],Ui.prototype,"suggestionsContainer",void 0),Fi([p({selector:"ft-text-field-suggestion"})],Ui.prototype,"suggestions",void 0);const ji=y`
916
927
  .ft-text-field-suggestion {
917
928
  position: relative;
918
929
  padding: 8px 16px;
@@ -937,7 +948,7 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
937
948
  slot {
938
949
  pointer-events: none;
939
950
  }
940
- `;var ji=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Bi extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Di extends wt{render(){return X`
951
+ `;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 Di extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Ai extends wt{render(){return X`
941
952
  <div class="ft-text-field-suggestion"
942
953
  tabindex="-1"
943
954
  @keydown=${this.onKeyDown}
@@ -949,7 +960,7 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
949
960
  <slot></slot>
950
961
  </ft-typography>
951
962
  </div>
952
- `}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Bi(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}Di.elementDefinitions={"ft-ripple":gi,"ft-typography":ei,"ft-icon":Oi},Di.styles=Ui,ji([o()],Di.prototype,"value",void 0),ji([r(".ft-text-field-suggestion")],Di.prototype,"container",void 0),ji([c()],Di.prototype,"assignedNodes",void 0),d("ft-text-field")(Fi),d("ft-text-field-suggestion")(Di);const Ai=gt.create("--ft-tooltip-distance","SIZE","4px"),Ii=gt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ti=gt.create("--ft-tooltip-background-color","COLOR","#666666"),Li=gt.create("--ft-tooltip-z-index","NUMBER","1"),Pi=gt.external(mt.borderRadiusS,"Design system"),_i=gt.create("--ft-tooltip-max-width","SIZE","150px"),Wi=y`
963
+ `}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Di(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}Ai.elementDefinitions={"ft-ripple":yi,"ft-typography":ii,"ft-icon":Si},Ai.styles=ji,Bi([o()],Ai.prototype,"value",void 0),Bi([r(".ft-text-field-suggestion")],Ai.prototype,"container",void 0),Bi([c()],Ai.prototype,"assignedNodes",void 0),d("ft-text-field")(Ui),d("ft-text-field-suggestion")(Ai);const Ii=gt.create("--ft-tooltip-distance","SIZE","4px"),Ti=gt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Li=gt.create("--ft-tooltip-background-color","COLOR","#666666"),Pi=gt.create("--ft-tooltip-z-index","NUMBER","1"),_i=gt.external(mt.borderRadiusS,"Design system"),Wi=gt.create("--ft-tooltip-max-width","SIZE","150px"),Hi=y`
953
964
  .ft-tooltip--container {
954
965
  display: block;
955
966
  position: relative;
@@ -965,23 +976,23 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
965
976
  box-sizing: border-box;
966
977
  overflow: hidden;
967
978
  width: max-content;
968
- max-width: ${_i};
979
+ max-width: ${Wi};
969
980
  text-align: center;
970
- padding: ${Ai};
971
- z-index: ${Li};
981
+ padding: ${Ii};
982
+ z-index: ${Pi};
972
983
  }
973
984
 
974
985
  .ft-tooltip--content {
975
986
  padding: 4px 8px;
976
- border-radius: ${Pi};
977
- background-color: ${Ti};
978
- color: ${Ii};
987
+ border-radius: ${_i};
988
+ background-color: ${Li};
989
+ color: ${Ti};
979
990
  top: -500px;
980
991
  left: -500px;
981
992
  position: relative;
982
993
  word-break: break-word;
983
994
  }
984
- `;var Hi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Zi extends wt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return X`
995
+ `;var Zi=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 Ki extends wt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return X`
985
996
  <div part="container"
986
997
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
987
998
  @mouseenter=${this.onHover}
@@ -999,7 +1010,7 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
999
1010
  </div>
1000
1011
  </div>
1001
1012
  </div>
1002
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2;let n=0,s=0;switch(this.validPosition){case"top":s=-this.tooltip.clientHeight,n=o;break;case"bottom":s=e.height,n=o;break;case"left":s=i,n=-this.tooltip.clientWidth;break;case"right":s=i,n=e.width}e.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+n<0&&(n=0);const r=this.tooltip.style;r.left=n+"px",r.top=s+"px",r.maxWidth=`max(${e.width}px, ${_i})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Zi.elementDefinitions={"ft-typography":ei},Zi.styles=Wi,Hi([o()],Zi.prototype,"text",void 0),Hi([o({type:Boolean})],Zi.prototype,"manual",void 0),Hi([o({type:Boolean})],Zi.prototype,"inline",void 0),Hi([o({type:Number})],Zi.prototype,"delay",void 0),Hi([o()],Zi.prototype,"position",void 0),Hi([c("",!0)],Zi.prototype,"slotNodes",void 0),Hi([r(".ft-tooltip--container")],Zi.prototype,"container",void 0),Hi([r("slot")],Zi.prototype,"target",void 0),Hi([r(".ft-tooltip")],Zi.prototype,"tooltip",void 0),Hi([r(".ft-tooltip--content")],Zi.prototype,"tooltipContent",void 0),Hi([n()],Zi.prototype,"visible",void 0),d("ft-tooltip")(Zi);const Ki={color:gt.extend("--ft-loader-color",mt.colorPrimary),size:gt.create("--ft-loader-size","SIZE","80px")},Vi=y`
1013
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2;let s=0,n=0;switch(this.validPosition){case"top":n=-this.tooltip.clientHeight,s=o;break;case"bottom":n=e.height,s=o;break;case"left":n=i,s=-this.tooltip.clientWidth;break;case"right":n=i,s=e.width}e.left+s+this.tooltip.clientWidth>window.innerWidth&&(s=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+s<0&&(s=0);const r=this.tooltip.style;r.left=s+"px",r.top=n+"px",r.maxWidth=`max(${e.width}px, ${Wi})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Ki.elementDefinitions={"ft-typography":ii},Ki.styles=Hi,Zi([o()],Ki.prototype,"text",void 0),Zi([o({type:Boolean})],Ki.prototype,"manual",void 0),Zi([o({type:Boolean})],Ki.prototype,"inline",void 0),Zi([o({type:Number})],Ki.prototype,"delay",void 0),Zi([o()],Ki.prototype,"position",void 0),Zi([c("",!0)],Ki.prototype,"slotNodes",void 0),Zi([r(".ft-tooltip--container")],Ki.prototype,"container",void 0),Zi([r("slot")],Ki.prototype,"target",void 0),Zi([r(".ft-tooltip")],Ki.prototype,"tooltip",void 0),Zi([r(".ft-tooltip--content")],Ki.prototype,"tooltipContent",void 0),Zi([s()],Ki.prototype,"visible",void 0),d("ft-tooltip")(Ki);const Vi={color:gt.extend("--ft-loader-color",mt.colorPrimary),size:gt.create("--ft-loader-size","SIZE","80px")},Ji=y`
1003
1014
  :host {
1004
1015
  line-height: 0;
1005
1016
  }
@@ -1008,8 +1019,8 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1008
1019
  display: inline-block;
1009
1020
  position: relative;
1010
1021
 
1011
- width: ${Ki.size};
1012
- height: ${Ki.size};
1022
+ width: ${Vi.size};
1023
+ height: ${Vi.size};
1013
1024
  }
1014
1025
 
1015
1026
  .ft-loader div {
@@ -1018,7 +1029,7 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1018
1029
  width: 25%;
1019
1030
  height: 25%;
1020
1031
  border-radius: 50%;
1021
- background: ${Ki.color};
1032
+ background: ${Vi.color};
1022
1033
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
1023
1034
  }
1024
1035
 
@@ -1065,17 +1076,17 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1065
1076
  transform: translate(0, 0);
1066
1077
  }
1067
1078
  100% {
1068
- transform: translate(calc(0.35 * ${Ki.size}), 0);
1079
+ transform: translate(calc(0.35 * ${Vi.size}), 0);
1069
1080
  }
1070
1081
  }
1071
- `;class Ji extends wt{render(){return X`
1082
+ `;class qi extends wt{render(){return X`
1072
1083
  <div class="ft-loader">
1073
1084
  <div></div>
1074
1085
  <div></div>
1075
1086
  <div></div>
1076
1087
  <div></div>
1077
1088
  </div>
1078
- `}}Ji.styles=Vi,d("ft-loader")(Ji);const qi=gt.extend("--ft-button-color",mt.colorPrimary),Xi={backgroundColor:gt.extend("--ft-button-background-color",mt.colorSurface),borderRadius:gt.extend("--ft-button-border-radius",mt.borderRadiusL),color:qi,fontSize:gt.extend("--ft-button-font-size",_e.fontSize),iconSize:gt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:gt.extend("--ft-button-ripple-color",qi),opacityDisabled:gt.external(mt.colorOpacityDisabled,"Design system")},Yi=gt.extend("--ft-button-primary-color",gt.extend("--ft-button-color",mt.colorOnPrimary)),Gi={backgroundColor:gt.extend("--ft-button-primary-background-color",gt.extend("--ft-button-background-color",mt.colorPrimary)),color:Yi,rippleColor:gt.extend("--ft-button-primary-ripple-color",Yi)},Qi=gt.extend("--ft-button-dense-border-radius",gt.extend("--ft-button-border-radius",mt.borderRadiusM)),to=[Ot,y`
1089
+ `}}qi.styles=Ji,d("ft-loader")(qi);const Xi=gt.extend("--ft-button-color",mt.colorPrimary),Yi={backgroundColor:gt.extend("--ft-button-background-color",mt.colorSurface),borderRadius:gt.extend("--ft-button-border-radius",mt.borderRadiusL),color:Xi,fontSize:gt.extend("--ft-button-font-size",We.fontSize),iconSize:gt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:gt.extend("--ft-button-ripple-color",Xi),opacityDisabled:gt.external(mt.colorOpacityDisabled,"Design system")},Gi=gt.extend("--ft-button-primary-color",gt.extend("--ft-button-color",mt.colorOnPrimary)),Qi={backgroundColor:gt.extend("--ft-button-primary-background-color",gt.extend("--ft-button-background-color",mt.colorPrimary)),color:Gi,rippleColor:gt.extend("--ft-button-primary-ripple-color",Gi)},to=gt.extend("--ft-button-dense-border-radius",gt.extend("--ft-button-border-radius",mt.borderRadiusM)),eo=[Ot,y`
1079
1090
  :host {
1080
1091
  display: inline-block;
1081
1092
  max-width: 100%;
@@ -1086,7 +1097,7 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1086
1097
  box-shadow: 0px 0px 0px transparent;
1087
1098
  border: 0px solid transparent;
1088
1099
  text-shadow: 0px 0px 0px transparent;
1089
- font-size: ${Xi.fontSize};
1100
+ font-size: ${Yi.fontSize};
1090
1101
  }
1091
1102
 
1092
1103
  button:hover {
@@ -1115,17 +1126,17 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1115
1126
  border: none;
1116
1127
  pointer-events: auto;
1117
1128
 
1118
- --ft-button-internal-line-height: calc(${Xi.fontSize} + 2px);
1119
- --ft-button-internal-color: ${Xi.color};
1120
- ${yt(yi.size,Xi.iconSize)};
1129
+ --ft-button-internal-line-height: calc(${Yi.fontSize} + 2px);
1130
+ --ft-button-internal-color: ${Yi.color};
1131
+ ${yt(mi.size,Yi.iconSize)};
1121
1132
  --ft-button-internal-vertical-padding: 6px;
1122
1133
  --ft-button-internal-horizontal-padding: 8px;
1123
- ${yt(li.color,Xi.rippleColor)};
1124
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Xi.iconSize});
1134
+ ${yt(ai.color,Yi.rippleColor)};
1135
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Yi.iconSize});
1125
1136
 
1126
- border-radius: ${Xi.borderRadius};
1137
+ border-radius: ${Yi.borderRadius};
1127
1138
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
1128
- background-color: ${Xi.backgroundColor};
1139
+ background-color: ${Yi.backgroundColor};
1129
1140
  color: var(--ft-button-internal-color);
1130
1141
  -webkit-mask-image: radial-gradient(white, black);
1131
1142
  }
@@ -1137,7 +1148,7 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1137
1148
  .ft-button--dense {
1138
1149
  --ft-button-internal-vertical-padding: 2px;
1139
1150
  --ft-button-internal-horizontal-padding: 4px;
1140
- border-radius: ${Qi};
1151
+ border-radius: ${to};
1141
1152
  }
1142
1153
 
1143
1154
  .ft-button--round {
@@ -1146,13 +1157,13 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1146
1157
 
1147
1158
  .ft-button[disabled] {
1148
1159
  filter: grayscale(1);
1149
- opacity: ${Xi.opacityDisabled};
1160
+ opacity: ${Yi.opacityDisabled};
1150
1161
  }
1151
1162
 
1152
1163
  .ft-button.ft-button--primary {
1153
- background-color: ${Gi.backgroundColor};
1154
- --ft-button-internal-color: ${Gi.color};
1155
- ${yt(li.color,Gi.rippleColor)};
1164
+ background-color: ${Qi.backgroundColor};
1165
+ --ft-button-internal-color: ${Qi.color};
1166
+ ${yt(ai.color,Qi.rippleColor)};
1156
1167
  }
1157
1168
 
1158
1169
  .ft-button.ft-button--outlined {
@@ -1171,20 +1182,10 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1171
1182
  text-overflow: ellipsis;
1172
1183
  display: block;
1173
1184
  margin: 0 var(--ft-button-internal-horizontal-padding);
1174
- ${yt(_e.fontSize,"1em")};
1175
- ${yt(_e.lineHeight,"var(--ft-button-internal-content-height)")};
1176
- }
1177
-
1178
- .ft-button--safari-fix .ft-button--label {
1179
- margin-right: 0;
1180
- }
1181
-
1182
- .ft-button--safari-fix .ft-button--label:after {
1183
- content: "\\0000a0";
1184
- display: inline-block;
1185
- width: 0;
1185
+ ${yt(We.fontSize,"1em")};
1186
+ ${yt(We.lineHeight,"var(--ft-button-internal-content-height)")};
1186
1187
  }
1187
-
1188
+
1188
1189
  .ft-button--label[hidden] {
1189
1190
  display: none;
1190
1191
  }
@@ -1205,19 +1206,19 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1205
1206
  }
1206
1207
 
1207
1208
  ft-loader {
1208
- ${yt(Ki.size,Xi.iconSize)};
1209
- ${yt(Ki.color,"var(--ft-button-internal-color)")};
1209
+ ${yt(Vi.size,Yi.iconSize)};
1210
+ ${yt(Vi.color,"var(--ft-button-internal-color)")};
1210
1211
  }
1211
- `];var eo=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class io extends wt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.iconVariant=$i.material,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":Et,"ft-no-text-select":!0};return this.addTooltipIfNeeded(X`
1212
+ `];var io=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 oo extends wt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.iconVariant=wi.material,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0};return this.addTooltipIfNeeded(X`
1212
1213
  <button part="button"
1213
- class="${_t(t)}"
1214
+ class="${Wt(t)}"
1214
1215
  aria-label="${this.getLabel()}"
1215
1216
  ?disabled=${this.isDisabled()}>
1216
1217
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
1217
1218
  <ft-typography part="label"
1218
1219
  variant="button"
1219
1220
  element="span"
1220
- class="ft-button--label"
1221
+ class="ft-button--label ${Nt?"ft-safari-ellipsis-fix":""}"
1221
1222
  ?hidden=${!this.hasTextContent()}>
1222
1223
  <slot @slotchange=${this.onSlotchange}></slot>
1223
1224
  </ft-typography>
@@ -1231,7 +1232,7 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1231
1232
  </ft-tooltip>
1232
1233
  `:t}resolveIcon(){return this.loading?X`
1233
1234
  <ft-loader></ft-loader> `:this.icon?X`
1234
- <ft-icon variant="${this.iconVariant}" value="${this.icon}"></ft-icon> `:G}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}io.elementDefinitions={"ft-ripple":gi,"ft-tooltip":Zi,"ft-typography":ei,"ft-icon":Oi,"ft-loader":Ji},io.styles=to,eo([o({type:Boolean})],io.prototype,"primary",void 0),eo([o({type:Boolean})],io.prototype,"outlined",void 0),eo([o({type:Boolean})],io.prototype,"disabled",void 0),eo([o({type:Boolean})],io.prototype,"dense",void 0),eo([o({type:Boolean})],io.prototype,"round",void 0),eo([o({type:String})],io.prototype,"label",void 0),eo([o({type:String})],io.prototype,"icon",void 0),eo([o({type:String})],io.prototype,"iconVariant",void 0),eo([o({type:Boolean})],io.prototype,"trailingIcon",void 0),eo([o({type:Boolean})],io.prototype,"loading",void 0),eo([o({type:String})],io.prototype,"tooltipPosition",void 0),eo([o({type:Boolean})],io.prototype,"hideTooltip",void 0),eo([o({type:Boolean})],io.prototype,"forceTooltip",void 0),eo([r(".ft-button")],io.prototype,"button",void 0),eo([r(".ft-button--label slot")],io.prototype,"slottedContent",void 0),d("ft-button")(io);class oo extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const no={headerBackground:gt.create("--ft-filterable-table-header-background","COLOR","whitesmoke"),oddRowBackground:gt.create("--ft-filterable-table-odd-row-background","COLOR","#FFFFFF"),evenRowBackground:gt.create("--ft-filterable-table-even-row-background","COLOR","#fdfdfd"),rowHoverBackground:gt.create("--ft-filterable-table-row-hover-background","COLOR","#fafafa"),stickyHeaderZIndex:gt.create("--ft-filterable-table-sticky-header-zindex","NUMBER","100"),cellVerticalBorderWidth:gt.create("--ft-filterable-table-cell-vertical-border-width","SIZE","1px"),colorOnSurfaceHigh:gt.external(mt.colorOnSurfaceHigh,"Design system"),titleFont:gt.external(mt.titleFont,"Design system"),contentFont:gt.external(mt.contentFont,"Design system")},so=y`
1235
+ <ft-icon variant="${this.iconVariant}" value="${this.icon}"></ft-icon> `:G}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}oo.elementDefinitions={"ft-ripple":yi,"ft-tooltip":Ki,"ft-typography":ii,"ft-icon":Si,"ft-loader":qi},oo.styles=[St,eo],io([o({type:Boolean})],oo.prototype,"primary",void 0),io([o({type:Boolean})],oo.prototype,"outlined",void 0),io([o({type:Boolean})],oo.prototype,"disabled",void 0),io([o({type:Boolean})],oo.prototype,"dense",void 0),io([o({type:Boolean})],oo.prototype,"round",void 0),io([o({type:String})],oo.prototype,"label",void 0),io([o({type:String})],oo.prototype,"icon",void 0),io([o({type:String})],oo.prototype,"iconVariant",void 0),io([o({type:Boolean})],oo.prototype,"trailingIcon",void 0),io([o({type:Boolean})],oo.prototype,"loading",void 0),io([o({type:String})],oo.prototype,"tooltipPosition",void 0),io([o({type:Boolean})],oo.prototype,"hideTooltip",void 0),io([o({type:Boolean})],oo.prototype,"forceTooltip",void 0),io([r(".ft-button")],oo.prototype,"button",void 0),io([r(".ft-button--label slot")],oo.prototype,"slottedContent",void 0),d("ft-button")(oo);class so extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const no={headerBackground:gt.create("--ft-filterable-table-header-background","COLOR","whitesmoke"),oddRowBackground:gt.create("--ft-filterable-table-odd-row-background","COLOR","#FFFFFF"),evenRowBackground:gt.create("--ft-filterable-table-even-row-background","COLOR","#fdfdfd"),rowHoverBackground:gt.create("--ft-filterable-table-row-hover-background","COLOR","#fafafa"),stickyHeaderZIndex:gt.create("--ft-filterable-table-sticky-header-zindex","NUMBER","100"),cellVerticalBorderWidth:gt.create("--ft-filterable-table-cell-vertical-border-width","SIZE","1px"),colorOnSurfaceHigh:gt.external(mt.colorOnSurfaceHigh,"Design system"),titleFont:gt.external(mt.titleFont,"Design system"),contentFont:gt.external(mt.contentFont,"Design system")},ro=y`
1235
1236
  :host {
1236
1237
  display: block;
1237
1238
  }
@@ -1273,8 +1274,8 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1273
1274
  }
1274
1275
 
1275
1276
  .column-title-container ft-button {
1276
- ${yt(Xi.backgroundColor,no.headerBackground)};
1277
- ${yt(Xi.color,no.colorOnSurfaceHigh)};
1277
+ ${yt(Yi.backgroundColor,no.headerBackground)};
1278
+ ${yt(Yi.color,no.colorOnSurfaceHigh)};
1278
1279
  }
1279
1280
 
1280
1281
  .column-title {
@@ -1341,7 +1342,7 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1341
1342
  .hidden {
1342
1343
  visibility: hidden;
1343
1344
  }
1344
- `;var ro=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const lo=t=>X`${t}`,ao=(t,e)=>t-e;class po extends wt{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,i){this.data=t,this.columns=e,this.sort=i}render(){let t=this.sortData(this.filterData());return X`
1345
+ `;var lo=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 ao=t=>X`${t}`,po=(t,e)=>t-e;class co extends wt{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,i){this.data=t,this.columns=e,this.sort=i}render(){let t=this.sortData(this.filterData());return X`
1345
1346
  <style>
1346
1347
  .table {
1347
1348
  grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
@@ -1349,17 +1350,17 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1349
1350
  </style>
1350
1351
  <div class="table">
1351
1352
  <div class="header">
1352
- ${Tt(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1353
+ ${Lt(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1353
1354
  </div>
1354
- ${Tt(t,((t,e)=>"row-"+e),((t,e)=>X`
1355
+ ${Lt(t,((t,e)=>"row-"+e),((t,e)=>X`
1355
1356
  <div class="row"
1356
- @click=${()=>this.dispatchEvent(new oo(t))}>
1357
- ${Tt(this.columns,((t,i)=>"cell-"+i+"-"+e),((i,o)=>this.renderCell(i,o,t,e)))}
1357
+ @click=${()=>this.dispatchEvent(new so(t))}>
1358
+ ${Lt(this.columns,((t,i)=>"cell-"+i+"-"+e),((i,o)=>this.renderCell(i,o,t,e)))}
1358
1359
  </div>
1359
1360
  `))}
1360
1361
  </div>
1361
- `}filterData(){return this.filters.reduce(((t,e,i)=>{var o;const n=this.columns[i];if(e&&e.value)switch(null!==(o=n.filter)&&void 0!==o?o:"text"){case"text":return t.filter((t=>this.getValueAsString(n,t,i).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(n,t,i)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const i=this.columns[this.currentSort.column],o=null!==(e=i.comparator)&&void 0!==e?e:ao,n="asc"===this.currentSort.order?o:(t,e)=>-o(t,e);return[...t].sort(((t,e)=>n(this.getValue(i,t),this.getValue(i,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let i in e){const o=e[i];"select"===o.filter&&(this.selectData[i]=[...new Set(t.map(((t,e)=>this.getValueAsString(o,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return X`
1362
- <div class="${_t(i)}"
1362
+ `}filterData(){return this.filters.reduce(((t,e,i)=>{var o;const s=this.columns[i];if(e&&e.value)switch(null!==(o=s.filter)&&void 0!==o?o:"text"){case"text":return t.filter((t=>this.getValueAsString(s,t,i).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(s,t,i)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const i=this.columns[this.currentSort.column],o=null!==(e=i.comparator)&&void 0!==e?e:po,s="asc"===this.currentSort.order?o:(t,e)=>-o(t,e);return[...t].sort(((t,e)=>s(this.getValue(i,t),this.getValue(i,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let i in e){const o=e[i];"select"===o.filter&&(this.selectData[i]=[...new Set(t.map(((t,e)=>this.getValueAsString(o,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return X`
1363
+ <div class="${Wt(i)}"
1363
1364
  part="${this.columnPart("header-cell",e)}">
1364
1365
  <div class="column-title-container">
1365
1366
  <span class="column-title"
@@ -1370,28 +1371,28 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1370
1371
  </div>
1371
1372
  ${this.renderColumnFilter(t,e)}
1372
1373
  </div>
1373
- `}renderColumnSort(t,e){var i;const o=this.currentSort&&this.currentSort.column===e,n=o?"asc"===this.currentSort.order?"expand_more":"expand_less":"unfold_more";return X`
1374
+ `}renderColumnSort(t,e){var i;const o=this.currentSort&&this.currentSort.column===e,s=o?"asc"===this.currentSort.order?"expand_more":"expand_less":"unfold_more";return X`
1374
1375
  <ft-button
1375
1376
  round
1376
1377
  dense
1377
1378
  class="${null===(i=t.sortable)||void 0===i||i?"":"hidden"}"
1378
- icon="${n}"
1379
+ icon="${s}"
1379
1380
  label="Sort ${t.title}"
1380
1381
  @click=${()=>{var t;o?"asc"===(null===(t=this.currentSort)||void 0===t?void 0:t.order)?this.currentSort={column:e,order:"desc"}:this.currentSort=void 0:this.currentSort={column:e,order:"asc"}}}
1381
1382
  part="${this.columnPart("sort-button",e)}"
1382
1383
  ></ft-button>
1383
- `}renderColumnFilter(t,e){var i,o;const n=t=>{this.filters[e]={value:t.detail},this.requestUpdate()};switch(null!==(i=t.filter)&&void 0!==i?i:"text"){case"text":return X`
1384
+ `}renderColumnFilter(t,e){var i,o;const s=t=>{this.filters[e]={value:t.detail},this.requestUpdate()};switch(null!==(i=t.filter)&&void 0!==i?i:"text"){case"text":return X`
1384
1385
  <div class="column-filter" part="${this.columnPart("filter-container",e)}">
1385
1386
  <ft-text-field
1386
1387
  label="Search ${t.title}"
1387
- @live-change="${n}"
1388
+ @live-change="${s}"
1388
1389
  part="${this.columnPart("filter",e)}"
1389
1390
  ></ft-text-field>
1390
1391
  </div>
1391
1392
  `;case"select":const i=null!==(o=this.selectData[e])&&void 0!==o?o:[];return i.length?X`
1392
1393
  <div class="column-filter" part="${this.columnPart("filter-container",e)}">
1393
1394
  <ft-select label="Filter ${t.title}"
1394
- @change=${n}
1395
+ @change=${s}
1395
1396
  part="${this.columnPart("filter",e)}">
1396
1397
  <ft-select-option></ft-select-option>
1397
1398
  ${i.map((t=>X`
@@ -1399,9 +1400,9 @@ const zi={fontSize:gt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1399
1400
  `))}
1400
1401
  </ft-select>
1401
1402
  </div>
1402
- `:G}return G}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,i,o){var n;const s=null!==(n=t.render)&&void 0!==n?n:lo;return X`
1403
+ `:G}return G}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,i,o){var s;const n=null!==(s=t.render)&&void 0!==s?s:ao;return X`
1403
1404
  <div class="cell"
1404
1405
  part="${this.columnPart("cell",e)} cell-row-${o} cell-column-${e}-row-${o}">
1405
- ${(t=>{const e=s(t,o);return"string"==typeof e?Pt(e):e})(this.getValue(t,i))}
1406
+ ${(t=>{const e=n(t,o);return"string"==typeof e?_t(e):e})(this.getValue(t,i))}
1406
1407
  </div>
1407
- `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,i){const o=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(o,i):(t=>""+t)(o)}}po.styles=so,ro([o({attribute:!1})],po.prototype,"data",void 0),ro([o({attribute:!1})],po.prototype,"columns",void 0),ro([o({attribute:!1})],po.prototype,"sort",void 0),ro([o()],po.prototype,"stickyHeaders",void 0),ro([n()],po.prototype,"currentSort",void 0),d("ft-filterable-table")(po),t.FtFilterableTable=po,t.FtFilterableTableCssVariables=no,t.RowClickEvent=oo,t.styles=so,Object.defineProperty(t,"i",{value:!0})}({});
1408
+ `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,i){const o=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(o,i):(t=>""+t)(o)}}co.styles=ro,lo([o({attribute:!1})],co.prototype,"data",void 0),lo([o({attribute:!1})],co.prototype,"columns",void 0),lo([o({attribute:!1})],co.prototype,"sort",void 0),lo([o()],co.prototype,"stickyHeaders",void 0),lo([s()],co.prototype,"currentSort",void 0),d("ft-filterable-table")(co),t.FtFilterableTable=co,t.FtFilterableTableCssVariables=no,t.RowClickEvent=so,t.styles=ro,Object.defineProperty(t,"i",{value:!0})}({});