@fluid-topics/ft-filterable-table 0.3.18 → 0.3.20

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 b=this._whenDefinedPromises.get(t);return void 0!==b&&(b.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.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=v[v.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)},b=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=b.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const x=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),v.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(y(Element,"innerHTML"),y(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(At){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
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(){b.push(this),o.upgrade.apply(o,arguments),b.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=b[b.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 b=[document];const x=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),b.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(y(Element,"innerHTML"),y(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(Tt){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -45,34 +45,34 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
45
45
  * Copyright 2019 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const c=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),f=new WeakMap;class h{constructor(t,e,i){if(this._$cssResult$=!0,i!==d)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(c&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=f.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&f.set(e,t))}return t}toString(){return this.cssText}}const u=t=>new h("string"==typeof t?t:t+"",void 0,d),b=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new h(i,t,d)},v=(t,e)=>{c?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},x=c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return u(e)})(t):t
48
+ const c=window,d=c.ShadowRoot&&(void 0===c.ShadyCSS||c.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,f=Symbol(),h=new WeakMap;class u{constructor(t,e,i){if(this._$cssResult$=!0,i!==f)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(d&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=h.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&h.set(e,t))}return t}toString(){return this.cssText}}const v=t=>new u("string"==typeof t?t:t+"",void 0,f),b=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new u(i,t,f)},x=(t,e)=>{d?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=c.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},y=d?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return v(e)})(t):t
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
- */;var y;const g=window.trustedTypes,m=g?g.emptyScript:"",$=window.reactiveElementPolyfillSupport,w={toAttribute(t,e){switch(e){case Boolean:t=t?m: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}},O=(t,e)=>e!==t&&(e==e||t==t),k={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:O};class S 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=k){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||k}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),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(x(t))}else void 0!==t&&e.push(x(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 v(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=k){var o,n;const s=this.constructor._$Ep(t,i);if(void 0!==s&&!0===i.reflect){const r=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:w.toAttribute)(e,i.type);this._$El=t,null==r?this.removeAttribute(s):this.setAttribute(s,r),this._$El=null}}_$AK(t,e){var i,o;const n=this.constructor,s=n._$Ev.get(t);if(void 0!==s&&this._$El!==s){const t=n.getPropertyOptions(s),r=t.converter,l=null!==(o=null!==(i=null==r?void 0:r.fromAttribute)&&void 0!==i?i:"function"==typeof r?r:null)&&void 0!==o?o:w.fromAttribute;this._$El=s,this[s]=l(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||O)(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){}}
53
+ */;var g;const m=window,$=m.trustedTypes,w=$?$.emptyScript:"",O=m.reactiveElementPolyfillSupport,k={toAttribute(t,e){switch(e){case Boolean:t=t?w:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},S=(t,e)=>e!==t&&(e==e||t==t),C={attribute:!0,type:String,converter:k,reflect:!1,hasChanged:S};class E 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=C){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)||C}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(y(t))}else void 0!==t&&e.push(y(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 x(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=C){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:k).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:k;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||S)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- var C;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:S}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.3.4");const E=globalThis.trustedTypes,N=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,z="?"+R,M=`<${z}>`,F=document,U=(t="")=>F.createComment(t),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,j=t=>D(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,L=/>/g,I=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),P=/'/g,_=/"/g,H=/^(?:script|style|textarea|title)$/i,W=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Z=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),V=new WeakMap,J=F.createTreeWalker(F,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=A;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===A?"!--"===a[1]?r=T:void 0!==a[1]?r=L:void 0!==a[2]?(H.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=I):void 0!==a[3]&&(r=I):r===I?">"===a[0]?(r=null!=n?n:A,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?I:'"'===a[3]?_:P):r===_||r===P?r=I:r===T||r===L?r=A:(r=I,n=void 0);const d=r===I&&t[e+1].startsWith("/>")?" ":"";s+=r===A?i+M:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+R+d):i+R+(-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!==N?N.createHTML(l):l,o]};class X{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]=q(t,e);if(this.el=X.createElement(a,i),J.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=J.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(R)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?ot:"@"===e[1]?nt:tt})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(H.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=E?E.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),J.nextNode(),l.push({type:2,index:++n});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)l.push({type:7,index:n}),t+=R.length-1}n++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function Y(t,e,i=t,o){var n,s,r,l;if(e===Z)return e;let a=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=B(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)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=Y(t,a._$AS(t,e.values),a,o)),e}class G{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);J.currentNode=n;let s=J.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new Q(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new st(s,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=J.nextNode(),r++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Q{constructor(t,e,i,o){var n;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=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._$C_}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=Y(this,t,e),B(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==Z&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):j(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==K&&B(this._$AH)?this._$AA.nextSibling.data=t:this.k(F.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=X.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new G(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=V.get(t.strings);return void 0===e&&V.set(t.strings,e=new X(t)),e}S(t){D(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 Q(this.j(U()),this.j(U()),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._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class tt{constructor(t,e,i,o,n){this.type=1,this._$AH=K,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=K}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=Y(this,t,e,0),s=!B(t)||t!==this._$AH&&t!==Z,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=Y(this,o[i+r],e,r),l===Z&&(l=this._$AH[r]),s||(s=!B(l)||l!==this._$AH[r]),l===K?t=K:t!==K&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.P(t)}P(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===K?void 0:t}}const it=E?E.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}P(t){t&&t!==K?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class nt extends tt{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=Y(this,t,e,0))&&void 0!==i?i:K)===Z)return;const o=this._$AH,n=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==K&&(o===K||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 st{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){Y(this,t)}}const rt={A:"$lit$",C:R,M:z,L:1,R:q,V:G,D:j,I:Y,H:Q,N:tt,U:ot,B:nt,F:et,W:st},lt=window.litHtmlPolyfillSupport;
59
+ var N;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==O||O({ReactiveElement:E}),(null!==(g=m.reactiveElementVersions)&&void 0!==g?g:m.reactiveElementVersions=[]).push("1.4.1");const R=window,z=R.trustedTypes,M=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F=`lit$${(Math.random()+"").slice(9)}$`,U="?"+F,B=`<${U}>`,j=document,D=(t="")=>j.createComment(t),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,L=Array.isArray,I=t=>L(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,_=/>/g,H=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),W=/'/g,Z=/"/g,K=/^(?:script|style|textarea|title)$/i,V=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),J=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),X=new WeakMap,Y=j.createTreeWalker(j,129,null,!1),G=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=T;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===T?"!--"===a[1]?r=P:void 0!==a[1]?r=_:void 0!==a[2]?(K.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=H):void 0!==a[3]&&(r=H):r===H?">"===a[0]?(r=null!=n?n:T,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?H:'"'===a[3]?Z:W):r===Z||r===W?r=H:r===P||r===_?r=T:(r=H,n=void 0);const d=r===H&&t[e+1].startsWith("/>")?" ":"";s+=r===T?i+B:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+F+d):i+F+(-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!==M?M.createHTML(l):l,o]};class Q{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]=G(t,e);if(this.el=Q.createElement(a,i),Y.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Y.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(F)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(F),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?nt:"?"===e[1]?rt:"@"===e[1]?lt:ot})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(K.test(o.tagName)){const t=o.textContent.split(F),e=t.length-1;if(e>0){o.textContent=z?z.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],D()),Y.nextNode(),l.push({type:2,index:++n});o.append(t[e],D())}}}else if(8===o.nodeType)if(o.data===U)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(F,t+1));)l.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,e){const i=j.createElement("template");return i.innerHTML=t,i}}function tt(t,e,i=t,o){var n,s,r,l;if(e===J)return e;let a=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const p=A(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=tt(t,a._$AS(t,e.values),a,o)),e}class et{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:j).importNode(i,!0);Y.currentNode=n;let s=Y.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new it(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new at(s,this,t)),this.u.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=Y.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 it{constructor(t,e,i,o){var n;this.type=2,this._$AH=q,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=tt(this,t,e),A(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==J&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):I(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!==q&&A(this._$AH)?this._$AA.nextSibling.data=t:this.T(j.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=Q.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 et(n,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=X.get(t.strings);return void 0===e&&X.set(t.strings,e=new Q(t)),e}k(t){L(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 it(this.O(D()),this.O(D()),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 ot{constructor(t,e,i,o,n){this.type=1,this._$AH=q,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=q}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=tt(this,t,e,0),s=!A(t)||t!==this._$AH&&t!==J,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=tt(this,o[i+r],e,r),l===J&&(l=this._$AH[r]),s||(s=!A(l)||l!==this._$AH[r]),l===q?t=q:t!==q&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class nt extends ot{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}const st=z?z.emptyScript:"";class rt extends ot{constructor(){super(...arguments),this.type=4}j(t){t&&t!==q?this.element.setAttribute(this.name,st):this.element.removeAttribute(this.name)}}class lt extends ot{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=tt(this,t,e,0))&&void 0!==i?i:q)===J)return;const o=this._$AH,n=t===q&&o!==q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==q&&(o===q||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 at{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){tt(this,t)}}const pt={P:"$lit$",A:F,M:U,C:1,L:G,R:et,D:I,V:tt,I:it,H:ot,N:rt,U:lt,B:nt,F:at},ct=R.litHtmlPolyfillSupport;null==ct||ct(Q,it),(null!==(N=R.litHtmlVersions)&&void 0!==N?N:R.litHtmlVersions=[]).push("2.4.0");
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
63
63
  * SPDX-License-Identifier: BSD-3-Clause
64
64
  */
65
- var at,pt;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C:globalThis.litHtmlVersions=[]).push("2.2.7");class ct extends S{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 Q(e.insertBefore(U(),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 Z}}ct.finalized=!0,ct._$litElement$=!0,null===(at=globalThis.litElementHydrateSupport)||void 0===at||at.call(globalThis,{LitElement:ct});const dt=globalThis.litElementPolyfillSupport;null==dt||dt({LitElement:ct}),(null!==(pt=globalThis.litElementVersions)&&void 0!==pt?pt:globalThis.litElementVersions=[]).push("3.2.2");class ft{static create(t,e,i){let o=t=>u(null!=t?t:i),n=b`var(${u(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${u(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=b`var(${u(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${u(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):u(null!=e?e:t.defaultValue),o=b`var(${u(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>b`var(${u(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function ht(t,e){return u(`${t.name}: ${e}`)}const ut={colorPrimary:ft.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ft.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ft.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ft.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ft.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ft.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ft.create("--ft-color-error","COLOR","#B00020"),colorOutline:ft.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ft.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ft.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ft.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ft.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ft.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ft.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ft.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ft.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ft.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ft.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ft.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ft.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ft.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ft.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ft.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ft.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ft.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ft.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ft.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ft.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ft.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ft.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ft.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ft.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ft.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ft.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ft.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ft.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ft.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ft.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ft.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ft.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ft.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ft.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ft.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ft.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ft.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ft.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ft.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ft.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ft.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ft.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ft.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
65
+ var dt,ft;class ht extends E{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,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 it(e.insertBefore(D(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return J}}ht.finalized=!0,ht._$litElement$=!0,null===(dt=globalThis.litElementHydrateSupport)||void 0===dt||dt.call(globalThis,{LitElement:ht});const ut=globalThis.litElementPolyfillSupport;null==ut||ut({LitElement:ht}),(null!==(ft=globalThis.litElementVersions)&&void 0!==ft?ft:globalThis.litElementVersions=[]).push("3.2.2");class vt{static create(t,e,i){let o=t=>v(null!=t?t:i),n=b`var(${v(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${v(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=b`var(${v(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${v(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):v(null!=e?e:t.defaultValue),o=b`var(${v(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=>b`var(${v(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 bt(t,e){return v(`${t.name}: ${e}`)}const xt={colorPrimary:vt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:vt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:vt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:vt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:vt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:vt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:vt.create("--ft-color-error","COLOR","#B00020"),colorOutline:vt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:vt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:vt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:vt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:vt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:vt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:vt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:vt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:vt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:vt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:vt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:vt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:vt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:vt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:vt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:vt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:vt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:vt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:vt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:vt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:vt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:vt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:vt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:vt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:vt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:vt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:vt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:vt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:vt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:vt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:vt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:vt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:vt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:vt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:vt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:vt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:vt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:vt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:vt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:vt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:vt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:vt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:vt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:vt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
66
66
  /**
67
67
  * @license
68
68
  * Copyright 2021 Google LLC
69
69
  * SPDX-License-Identifier: BSD-3-Clause
70
- */var bt=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 vt 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 v(n,this.constructor.elementStyles),n}}}(ct)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),W`
71
- ${t.map((t=>W`
70
+ */var yt=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 gt 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 x(n,this.constructor.elementStyles),n}}}(ht)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),V`
71
+ ${t.map((t=>V`
72
72
  <style>${t}</style>
73
73
  `))}
74
74
  ${this.getTemplate()}
75
- `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}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(", "))}contentAvailableCallback(t){}}bt([o()],vt.prototype,"exportpartsPrefix",void 0),bt([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:{}})}([])],vt.prototype,"exportpartsPrefixes",void 0);const xt=b`
75
+ `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}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(", "))}contentAvailableCallback(t){}}yt([o()],gt.prototype,"exportpartsPrefix",void 0),yt([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:{}})}([])],gt.prototype,"exportpartsPrefixes",void 0);const mt=b`
76
76
  .ft-no-text-select {
77
77
  -webkit-touch-callout: none;
78
78
  -webkit-user-select: none;
@@ -81,7 +81,7 @@ var at,pt;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
81
81
  -ms-user-select: none;
82
82
  user-select: none;
83
83
  }
84
- `;var yt,gt,mt;b`
84
+ `;var $t,wt,Ot;b`
85
85
  .ft-word-wrap {
86
86
  white-space: normal;
87
87
  word-wrap: break-word;
@@ -93,17 +93,17 @@ var at,pt;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
93
93
  -webkit-hyphens: auto;
94
94
  hyphens: auto
95
95
  }
96
- `;const $t=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(mt=null===(gt=null===(yt=window.safari)||void 0===yt?void 0:yt.pushNotification)||void 0===gt?void 0:gt.toString())&&void 0!==mt?mt:""),wt=1,Ot=2,kt=t=>(...e)=>({_$litDirective$:t,values:e});
96
+ `;const kt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ot=null===(wt=null===($t=window.safari)||void 0===$t?void 0:$t.pushNotification)||void 0===wt?void 0:wt.toString())&&void 0!==Ot?Ot:""),St=1,Ct=2,Et=t=>(...e)=>({_$litDirective$:t,values:e});
97
97
  /**
98
98
  * @license
99
99
  * Copyright 2017 Google LLC
100
100
  * SPDX-License-Identifier: BSD-3-Clause
101
- */class St{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)}}
101
+ */class Nt{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)}}
102
102
  /**
103
103
  * @license
104
104
  * Copyright 2020 Google LLC
105
105
  * SPDX-License-Identifier: BSD-3-Clause
106
- */const{H:Ct}=rt,Et=()=>document.createComment(""),Nt=(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(Et(),s),o=n.insertBefore(Et(),s);i=new Ct(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},Rt=(t,e,i=t)=>(t._$AI(e,i),t),zt={},Mt=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}},Ft=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},Ut=kt(class extends St{constructor(t){if(super(t),t.type!==Ot)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,b=r.length-1;for(;f<=h&&u<=b;)if(null===s[f])f++;else if(null===s[h])h--;else if(a[f]===l[u])p[u]=Rt(s[f],r[u]),f++,u++;else if(a[h]===l[b])p[b]=Rt(s[h],r[b]),h--,b--;else if(a[f]===l[b])p[b]=Rt(s[f],r[b]),Nt(t,p[b+1],s[f]),f++,b--;else if(a[h]===l[u])p[u]=Rt(s[h],r[u]),Nt(t,s[f],s[h]),h--,u++;else if(void 0===c&&(c=Ft(l,u,b),d=Ft(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=Nt(t,s[f]);Rt(e,r[u]),p[u]=e}else p[u]=Rt(i,r[u]),Nt(t,s[f],i),s[e]=null;u++}else Mt(s[h]),h--;else Mt(s[f]),f++;for(;u<=b;){const e=Nt(t,p[b+1]);Rt(e,r[u]),p[u++]=e}for(;f<=h;){const t=s[f++];null!==t&&Mt(t)}return this.ut=l,((t,e=zt)=>{t._$AH=e})(t,p),Z}});
106
+ */const{I:Rt}=pt,zt=()=>document.createComment(""),Mt=(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(zt(),s),o=n.insertBefore(zt(),s);i=new Rt(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},Ft=(t,e,i=t)=>(t._$AI(e,i),t),Ut={},Bt=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}},jt=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},Dt=Et(class extends Nt{constructor(t){if(super(t),t.type!==Ct)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]=Ft(s[f],r[u]),f++,u++;else if(a[h]===l[v])p[v]=Ft(s[h],r[v]),h--,v--;else if(a[f]===l[v])p[v]=Ft(s[f],r[v]),Mt(t,p[v+1],s[f]),f++,v--;else if(a[h]===l[u])p[u]=Ft(s[h],r[u]),Mt(t,s[f],s[h]),h--,u++;else if(void 0===c&&(c=jt(l,u,v),d=jt(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=Mt(t,s[f]);Ft(e,r[u]),p[u]=e}else p[u]=Ft(i,r[u]),Mt(t,s[f],i),s[e]=null;u++}else Bt(s[h]),h--;else Bt(s[f]),f++;for(;u<=v;){const e=Mt(t,p[v+1]);Ft(e,r[u]),p[u++]=e}for(;f<=h;){const t=s[f++];null!==t&&Bt(t)}return this.ut=l,((t,e=Ut)=>{t._$AH=e})(t,p),J}});
107
107
  /**
108
108
  * @license
109
109
  * Copyright 2017 Google LLC
@@ -114,132 +114,132 @@ var at,pt;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
114
114
  * Copyright 2017 Google LLC
115
115
  * SPDX-License-Identifier: BSD-3-Clause
116
116
  */
117
- class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this._t=void 0,this.it=t;if(t===Z)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:[]}}}Bt.directiveName="unsafeHTML",Bt.resultType=1;const Dt=kt(Bt),jt=kt(class extends St{constructor(t){var e;if(super(t),t.type!==wt||"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 Z}}),At=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===At)return null==t?void 0:t._$litStatic$},Lt=t=>({_$litStatic$:t,r:At}),It=new Map,Pt=(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=Tt(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=It.get(t))&&(r.raw=r,It.set(t,e=r)),i=l}return t(e,...i)})(W);
117
+ class At extends Nt{constructor(t){if(super(t),this.it=q,t.type!==Ct)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===q||null==t)return this._t=void 0,this.it=t;if(t===J)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:[]}}}At.directiveName="unsafeHTML",At.resultType=1;const Lt=Et(At),It=Et(class extends Nt{constructor(t){var e;if(super(t),t.type!==St||"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 J}}),Tt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Tt)return null==t?void 0:t._$litStatic$},_t=t=>({_$litStatic$:t,r:Tt}),Ht=new Map,Wt=(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=Pt(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=Ht.get(t))&&(r.raw=r,Ht.set(t,e=r)),i=l}return t(e,...i)})(V);
118
118
  /**
119
119
  * @license
120
120
  * Copyright 2018 Google LLC
121
121
  * SPDX-License-Identifier: BSD-3-Clause
122
- */var _t;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(_t||(_t={}));const Ht=ft.extend("--ft-typography-font-family",ut.titleFont),Wt=ft.extend("--ft-typography-font-family",ut.contentFont),Zt={fontFamily:Wt,fontSize:ft.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ft.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ft.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ft.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ft.create("--ft-typography-text-transform","UNKNOWN","inherit")},Kt=ft.extend("--ft-typography-title-font-family",Ht),Vt=ft.extend("--ft-typography-title-font-size",Zt.fontSize,"20px"),Jt=ft.extend("--ft-typography-title-font-weight",Zt.fontWeight,"normal"),qt=ft.extend("--ft-typography-title-letter-spacing",Zt.letterSpacing,"0.15px"),Xt=ft.extend("--ft-typography-title-line-height",Zt.lineHeight,"1.2"),Yt=ft.extend("--ft-typography-title-text-transform",Zt.textTransform,"inherit"),Gt=ft.extend("--ft-typography-title-dense-font-family",Ht),Qt=ft.extend("--ft-typography-title-dense-font-size",Zt.fontSize,"14px"),te=ft.extend("--ft-typography-title-dense-font-weight",Zt.fontWeight,"normal"),ee=ft.extend("--ft-typography-title-dense-letter-spacing",Zt.letterSpacing,"0.105px"),ie=ft.extend("--ft-typography-title-dense-line-height",Zt.lineHeight,"1.7"),oe=ft.extend("--ft-typography-title-dense-text-transform",Zt.textTransform,"inherit"),ne=ft.extend("--ft-typography-subtitle1-font-family",Wt),se=ft.extend("--ft-typography-subtitle1-font-size",Zt.fontSize,"16px"),re=ft.extend("--ft-typography-subtitle1-font-weight",Zt.fontWeight,"600"),le=ft.extend("--ft-typography-subtitle1-letter-spacing",Zt.letterSpacing,"0.144px"),ae=ft.extend("--ft-typography-subtitle1-line-height",Zt.lineHeight,"1.5"),pe=ft.extend("--ft-typography-subtitle1-text-transform",Zt.textTransform,"inherit"),ce=ft.extend("--ft-typography-subtitle2-font-family",Wt),de=ft.extend("--ft-typography-subtitle2-font-size",Zt.fontSize,"14px"),fe=ft.extend("--ft-typography-subtitle2-font-weight",Zt.fontWeight,"normal"),he=ft.extend("--ft-typography-subtitle2-letter-spacing",Zt.letterSpacing,"0.098px"),ue=ft.extend("--ft-typography-subtitle2-line-height",Zt.lineHeight,"1.7"),be=ft.extend("--ft-typography-subtitle2-text-transform",Zt.textTransform,"inherit"),ve={fontFamily:ft.extend("--ft-typography-body1-font-family",Wt),fontSize:ft.extend("--ft-typography-body1-font-size",Zt.fontSize,"16px"),fontWeight:ft.extend("--ft-typography-body1-font-weight",Zt.fontWeight,"normal"),letterSpacing:ft.extend("--ft-typography-body1-letter-spacing",Zt.letterSpacing,"0.496px"),lineHeight:ft.extend("--ft-typography-body1-line-height",Zt.lineHeight,"1.5"),textTransform:ft.extend("--ft-typography-body1-text-transform",Zt.textTransform,"inherit")},xe=ft.extend("--ft-typography-body2-font-family",Wt),ye=ft.extend("--ft-typography-body2-font-size",Zt.fontSize,"14px"),ge=ft.extend("--ft-typography-body2-font-weight",Zt.fontWeight,"normal"),me=ft.extend("--ft-typography-body2-letter-spacing",Zt.letterSpacing,"0.252px"),$e=ft.extend("--ft-typography-body2-line-height",Zt.lineHeight,"1.4"),we=ft.extend("--ft-typography-body2-text-transform",Zt.textTransform,"inherit"),Oe={fontFamily:ft.extend("--ft-typography-caption-font-family",Wt),fontSize:ft.extend("--ft-typography-caption-font-size",Zt.fontSize,"12px"),fontWeight:ft.extend("--ft-typography-caption-font-weight",Zt.fontWeight,"normal"),letterSpacing:ft.extend("--ft-typography-caption-letter-spacing",Zt.letterSpacing,"0.396px"),lineHeight:ft.extend("--ft-typography-caption-line-height",Zt.lineHeight,"1.33"),textTransform:ft.extend("--ft-typography-caption-text-transform",Zt.textTransform,"inherit")},ke=ft.extend("--ft-typography-breadcrumb-font-family",Wt),Se=ft.extend("--ft-typography-breadcrumb-font-size",Zt.fontSize,"10px"),Ce=ft.extend("--ft-typography-breadcrumb-font-weight",Zt.fontWeight,"normal"),Ee=ft.extend("--ft-typography-breadcrumb-letter-spacing",Zt.letterSpacing,"0.33px"),Ne=ft.extend("--ft-typography-breadcrumb-line-height",Zt.lineHeight,"1.6"),Re=ft.extend("--ft-typography-breadcrumb-text-transform",Zt.textTransform,"inherit"),ze=ft.extend("--ft-typography-overline-font-family",Wt),Me=ft.extend("--ft-typography-overline-font-size",Zt.fontSize,"10px"),Fe=ft.extend("--ft-typography-overline-font-weight",Zt.fontWeight,"normal"),Ue=ft.extend("--ft-typography-overline-letter-spacing",Zt.letterSpacing,"1.5px"),Be=ft.extend("--ft-typography-overline-line-height",Zt.lineHeight,"1.6"),De=ft.extend("--ft-typography-overline-text-transform",Zt.textTransform,"uppercase"),je={fontFamily:ft.extend("--ft-typography-button-font-family",Wt),fontSize:ft.extend("--ft-typography-button-font-size",Zt.fontSize,"14px"),fontWeight:ft.extend("--ft-typography-button-font-weight",Zt.fontWeight,"600"),letterSpacing:ft.extend("--ft-typography-button-letter-spacing",Zt.letterSpacing,"1.246px"),lineHeight:ft.extend("--ft-typography-button-line-height",Zt.lineHeight,"1.15"),textTransform:ft.extend("--ft-typography-button-text-transform",Zt.textTransform,"uppercase")},Ae=b`
122
+ */var Zt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Zt||(Zt={}));const Kt=vt.extend("--ft-typography-font-family",xt.titleFont),Vt=vt.extend("--ft-typography-font-family",xt.contentFont),Jt={fontFamily:Vt,fontSize:vt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:vt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:vt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:vt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:vt.create("--ft-typography-text-transform","UNKNOWN","inherit")},qt=vt.extend("--ft-typography-title-font-family",Kt),Xt=vt.extend("--ft-typography-title-font-size",Jt.fontSize,"20px"),Yt=vt.extend("--ft-typography-title-font-weight",Jt.fontWeight,"normal"),Gt=vt.extend("--ft-typography-title-letter-spacing",Jt.letterSpacing,"0.15px"),Qt=vt.extend("--ft-typography-title-line-height",Jt.lineHeight,"1.2"),te=vt.extend("--ft-typography-title-text-transform",Jt.textTransform,"inherit"),ee=vt.extend("--ft-typography-title-dense-font-family",Kt),ie=vt.extend("--ft-typography-title-dense-font-size",Jt.fontSize,"14px"),oe=vt.extend("--ft-typography-title-dense-font-weight",Jt.fontWeight,"normal"),ne=vt.extend("--ft-typography-title-dense-letter-spacing",Jt.letterSpacing,"0.105px"),se=vt.extend("--ft-typography-title-dense-line-height",Jt.lineHeight,"1.7"),re=vt.extend("--ft-typography-title-dense-text-transform",Jt.textTransform,"inherit"),le=vt.extend("--ft-typography-subtitle1-font-family",Vt),ae=vt.extend("--ft-typography-subtitle1-font-size",Jt.fontSize,"16px"),pe=vt.extend("--ft-typography-subtitle1-font-weight",Jt.fontWeight,"600"),ce=vt.extend("--ft-typography-subtitle1-letter-spacing",Jt.letterSpacing,"0.144px"),de=vt.extend("--ft-typography-subtitle1-line-height",Jt.lineHeight,"1.5"),fe=vt.extend("--ft-typography-subtitle1-text-transform",Jt.textTransform,"inherit"),he=vt.extend("--ft-typography-subtitle2-font-family",Vt),ue=vt.extend("--ft-typography-subtitle2-font-size",Jt.fontSize,"14px"),ve=vt.extend("--ft-typography-subtitle2-font-weight",Jt.fontWeight,"normal"),be=vt.extend("--ft-typography-subtitle2-letter-spacing",Jt.letterSpacing,"0.098px"),xe=vt.extend("--ft-typography-subtitle2-line-height",Jt.lineHeight,"1.7"),ye=vt.extend("--ft-typography-subtitle2-text-transform",Jt.textTransform,"inherit"),ge={fontFamily:vt.extend("--ft-typography-body1-font-family",Vt),fontSize:vt.extend("--ft-typography-body1-font-size",Jt.fontSize,"16px"),fontWeight:vt.extend("--ft-typography-body1-font-weight",Jt.fontWeight,"normal"),letterSpacing:vt.extend("--ft-typography-body1-letter-spacing",Jt.letterSpacing,"0.496px"),lineHeight:vt.extend("--ft-typography-body1-line-height",Jt.lineHeight,"1.5"),textTransform:vt.extend("--ft-typography-body1-text-transform",Jt.textTransform,"inherit")},me=vt.extend("--ft-typography-body2-font-family",Vt),$e=vt.extend("--ft-typography-body2-font-size",Jt.fontSize,"14px"),we=vt.extend("--ft-typography-body2-font-weight",Jt.fontWeight,"normal"),Oe=vt.extend("--ft-typography-body2-letter-spacing",Jt.letterSpacing,"0.252px"),ke=vt.extend("--ft-typography-body2-line-height",Jt.lineHeight,"1.4"),Se=vt.extend("--ft-typography-body2-text-transform",Jt.textTransform,"inherit"),Ce={fontFamily:vt.extend("--ft-typography-caption-font-family",Vt),fontSize:vt.extend("--ft-typography-caption-font-size",Jt.fontSize,"12px"),fontWeight:vt.extend("--ft-typography-caption-font-weight",Jt.fontWeight,"normal"),letterSpacing:vt.extend("--ft-typography-caption-letter-spacing",Jt.letterSpacing,"0.396px"),lineHeight:vt.extend("--ft-typography-caption-line-height",Jt.lineHeight,"1.33"),textTransform:vt.extend("--ft-typography-caption-text-transform",Jt.textTransform,"inherit")},Ee=vt.extend("--ft-typography-breadcrumb-font-family",Vt),Ne=vt.extend("--ft-typography-breadcrumb-font-size",Jt.fontSize,"10px"),Re=vt.extend("--ft-typography-breadcrumb-font-weight",Jt.fontWeight,"normal"),ze=vt.extend("--ft-typography-breadcrumb-letter-spacing",Jt.letterSpacing,"0.33px"),Me=vt.extend("--ft-typography-breadcrumb-line-height",Jt.lineHeight,"1.6"),Fe=vt.extend("--ft-typography-breadcrumb-text-transform",Jt.textTransform,"inherit"),Ue=vt.extend("--ft-typography-overline-font-family",Vt),Be=vt.extend("--ft-typography-overline-font-size",Jt.fontSize,"10px"),je=vt.extend("--ft-typography-overline-font-weight",Jt.fontWeight,"normal"),De=vt.extend("--ft-typography-overline-letter-spacing",Jt.letterSpacing,"1.5px"),Ae=vt.extend("--ft-typography-overline-line-height",Jt.lineHeight,"1.6"),Le=vt.extend("--ft-typography-overline-text-transform",Jt.textTransform,"uppercase"),Ie={fontFamily:vt.extend("--ft-typography-button-font-family",Vt),fontSize:vt.extend("--ft-typography-button-font-size",Jt.fontSize,"14px"),fontWeight:vt.extend("--ft-typography-button-font-weight",Jt.fontWeight,"600"),letterSpacing:vt.extend("--ft-typography-button-letter-spacing",Jt.letterSpacing,"1.246px"),lineHeight:vt.extend("--ft-typography-button-line-height",Jt.lineHeight,"1.15"),textTransform:vt.extend("--ft-typography-button-text-transform",Jt.textTransform,"uppercase")},Te=b`
123
123
  .ft-typography--title {
124
- font-family: ${Kt};
125
- font-size: ${Vt};
126
- font-weight: ${Jt};
127
- letter-spacing: ${qt};
128
- line-height: ${Xt};
129
- text-transform: ${Yt};
130
- }
131
- `,Te=b`
132
- .ft-typography--title-dense {
133
- font-family: ${Gt};
134
- font-size: ${Qt};
135
- font-weight: ${te};
136
- letter-spacing: ${ee};
137
- line-height: ${ie};
138
- text-transform: ${oe};
139
- }
140
- `,Le=b`
141
- .ft-typography--subtitle1 {
142
- font-family: ${ne};
143
- font-size: ${se};
144
- font-weight: ${re};
145
- letter-spacing: ${le};
146
- line-height: ${ae};
147
- text-transform: ${pe};
148
- }
149
- `,Ie=b`
150
- .ft-typography--subtitle2 {
151
- font-family: ${ce};
152
- font-size: ${de};
153
- font-weight: ${fe};
154
- letter-spacing: ${he};
155
- line-height: ${ue};
156
- text-transform: ${be};
124
+ font-family: ${qt};
125
+ font-size: ${Xt};
126
+ font-weight: ${Yt};
127
+ letter-spacing: ${Gt};
128
+ line-height: ${Qt};
129
+ text-transform: ${te};
157
130
  }
158
-
159
131
  `,Pe=b`
160
- .ft-typography--body1 {
161
- font-family: ${ve.fontFamily};
162
- font-size: ${ve.fontSize};
163
- font-weight: ${ve.fontWeight};
164
- letter-spacing: ${ve.letterSpacing};
165
- line-height: ${ve.lineHeight};
166
- text-transform: ${ve.textTransform};
132
+ .ft-typography--title-dense {
133
+ font-family: ${ee};
134
+ font-size: ${ie};
135
+ font-weight: ${oe};
136
+ letter-spacing: ${ne};
137
+ line-height: ${se};
138
+ text-transform: ${re};
167
139
  }
168
140
  `,_e=b`
169
- .ft-typography--body2 {
170
- font-family: ${xe};
171
- font-size: ${ye};
172
- font-weight: ${ge};
173
- letter-spacing: ${me};
174
- line-height: ${$e};
175
- text-transform: ${we};
141
+ .ft-typography--subtitle1 {
142
+ font-family: ${le};
143
+ font-size: ${ae};
144
+ font-weight: ${pe};
145
+ letter-spacing: ${ce};
146
+ line-height: ${de};
147
+ text-transform: ${fe};
176
148
  }
177
149
  `,He=b`
178
- .ft-typography--caption {
179
- font-family: ${Oe.fontFamily};
180
- font-size: ${Oe.fontSize};
181
- font-weight: ${Oe.fontWeight};
182
- letter-spacing: ${Oe.letterSpacing};
183
- line-height: ${Oe.lineHeight};
184
- text-transform: ${Oe.textTransform};
150
+ .ft-typography--subtitle2 {
151
+ font-family: ${he};
152
+ font-size: ${ue};
153
+ font-weight: ${ve};
154
+ letter-spacing: ${be};
155
+ line-height: ${xe};
156
+ text-transform: ${ye};
185
157
  }
158
+
186
159
  `,We=b`
187
- .ft-typography--breadcrumb {
188
- font-family: ${ke};
189
- font-size: ${Se};
190
- font-weight: ${Ce};
191
- letter-spacing: ${Ee};
192
- line-height: ${Ne};
193
- text-transform: ${Re};
160
+ .ft-typography--body1 {
161
+ font-family: ${ge.fontFamily};
162
+ font-size: ${ge.fontSize};
163
+ font-weight: ${ge.fontWeight};
164
+ letter-spacing: ${ge.letterSpacing};
165
+ line-height: ${ge.lineHeight};
166
+ text-transform: ${ge.textTransform};
194
167
  }
195
168
  `,Ze=b`
196
- .ft-typography--overline {
197
- font-family: ${ze};
198
- font-size: ${Me};
199
- font-weight: ${Fe};
200
- letter-spacing: ${Ue};
201
- line-height: ${Be};
202
- text-transform: ${De};
169
+ .ft-typography--body2 {
170
+ font-family: ${me};
171
+ font-size: ${$e};
172
+ font-weight: ${we};
173
+ letter-spacing: ${Oe};
174
+ line-height: ${ke};
175
+ text-transform: ${Se};
203
176
  }
204
177
  `,Ke=b`
205
- .ft-typography--button {
206
- font-family: ${je.fontFamily};
207
- font-size: ${je.fontSize};
208
- font-weight: ${je.fontWeight};
209
- letter-spacing: ${je.letterSpacing};
210
- line-height: ${je.lineHeight};
211
- text-transform: ${je.textTransform};
178
+ .ft-typography--caption {
179
+ font-family: ${Ce.fontFamily};
180
+ font-size: ${Ce.fontSize};
181
+ font-weight: ${Ce.fontWeight};
182
+ letter-spacing: ${Ce.letterSpacing};
183
+ line-height: ${Ce.lineHeight};
184
+ text-transform: ${Ce.textTransform};
212
185
  }
213
186
  `,Ve=b`
187
+ .ft-typography--breadcrumb {
188
+ font-family: ${Ee};
189
+ font-size: ${Ne};
190
+ font-weight: ${Re};
191
+ letter-spacing: ${ze};
192
+ line-height: ${Me};
193
+ text-transform: ${Fe};
194
+ }
195
+ `,Je=b`
196
+ .ft-typography--overline {
197
+ font-family: ${Ue};
198
+ font-size: ${Be};
199
+ font-weight: ${je};
200
+ letter-spacing: ${De};
201
+ line-height: ${Ae};
202
+ text-transform: ${Le};
203
+ }
204
+ `,qe=b`
205
+ .ft-typography--button {
206
+ font-family: ${Ie.fontFamily};
207
+ font-size: ${Ie.fontSize};
208
+ font-weight: ${Ie.fontWeight};
209
+ letter-spacing: ${Ie.letterSpacing};
210
+ line-height: ${Ie.lineHeight};
211
+ text-transform: ${Ie.textTransform};
212
+ }
213
+ `,Xe=b`
214
214
  .ft-typography {
215
215
  vertical-align: inherit;
216
216
  }
217
- `;var Je=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 qe extends vt{constructor(){super(...arguments),this.variant=_t.body1}render(){return this.element?Pt`
218
- <${Lt(this.element)}
217
+ `;var Ye=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 Ge extends gt{constructor(){super(...arguments),this.variant=Zt.body1}render(){return this.element?Wt`
218
+ <${_t(this.element)}
219
219
  class="ft-typography ft-typography--${this.variant}">
220
220
  <slot></slot>
221
- </${Lt(this.element)}>
222
- `:Pt`
221
+ </${_t(this.element)}>
222
+ `:Wt`
223
223
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
224
- `}}qe.styles=[Ae,Te,Le,Ie,Pe,_e,He,We,Ze,Ke,Ve],Je([o()],qe.prototype,"element",void 0),Je([o()],qe.prototype,"variant",void 0),p("ft-typography")(qe);const Xe={fontSize:ft.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:ft.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:ft.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:ft.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:ft.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:ft.extend("--ft-input-label-border-color",ut.colorOutline),textColor:ft.extend("--ft-input-label-text-color",ut.colorOnSurfaceMedium),disabledTextColor:ft.extend("--ft-input-label-disabled-text-color",ut.colorOnSurfaceDisabled),colorSurface:ft.external(ut.colorSurface,"Design system"),borderRadiusS:ft.external(ut.borderRadiusS,"Design system"),colorError:ft.external(ut.colorError,"Design system")},Ye=b`
224
+ `}}Ge.styles=[Te,Pe,_e,He,We,Ze,Ke,Ve,Je,qe,Xe],Ye([o()],Ge.prototype,"element",void 0),Ye([o()],Ge.prototype,"variant",void 0),p("ft-typography")(Ge);const Qe={fontSize:vt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:vt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:vt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:vt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:vt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:vt.extend("--ft-input-label-border-color",xt.colorOutline),textColor:vt.extend("--ft-input-label-text-color",xt.colorOnSurfaceMedium),disabledTextColor:vt.extend("--ft-input-label-disabled-text-color",xt.colorOnSurfaceDisabled),colorSurface:vt.external(xt.colorSurface,"Design system"),borderRadiusS:vt.external(xt.borderRadiusS,"Design system"),colorError:vt.external(xt.colorError,"Design system")},ti=b`
225
225
  .ft-input-label {
226
226
  position: absolute;
227
227
  inset: 0;
228
228
  display: flex;
229
- background-color: ${Xe.colorSurface};
230
- border-radius: ${Xe.borderRadiusS} ${Xe.borderRadiusS} 0 0;
229
+ background-color: ${Qe.colorSurface};
230
+ border-radius: ${Qe.borderRadiusS} ${Qe.borderRadiusS} 0 0;
231
231
  }
232
232
 
233
233
  .ft-input-label--outlined {
234
- border-radius: ${Xe.borderRadiusS};
234
+ border-radius: ${Qe.borderRadiusS};
235
235
  }
236
236
 
237
237
  .ft-input-label {
238
- border-color: ${Xe.borderColor};
238
+ border-color: ${Qe.borderColor};
239
239
  }
240
240
 
241
241
  .ft-input-label.ft-input-label--in-error {
242
- border-color: ${Xe.colorError}
242
+ border-color: ${Qe.colorError}
243
243
  }
244
244
 
245
245
  .ft-input-label:before,
@@ -252,7 +252,7 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
252
252
  }
253
253
 
254
254
  .ft-input-label:before {
255
- width: ${Xe.horizontalSpacing};
255
+ width: ${Qe.horizontalSpacing};
256
256
  flex-shrink: 0;
257
257
  }
258
258
 
@@ -268,18 +268,18 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
268
268
  border-bottom-width: 1px;
269
269
  border-bottom-style: solid;
270
270
  border-color: inherit;
271
- color: ${Xe.textColor};
271
+ color: ${Qe.textColor};
272
272
  transition: font-size 250ms, line-height 250ms, color 250ms;
273
- ${ht(Oe.fontSize,Xe.fontSize)};
274
- ${ht(Oe.lineHeight,Xe.fontSize)};
273
+ ${bt(Ce.fontSize,Qe.fontSize)};
274
+ ${bt(Ce.lineHeight,Qe.fontSize)};
275
275
  }
276
276
 
277
277
  .ft-input-label--in-error .ft-input-label--text {
278
- color: ${Xe.colorError}
278
+ color: ${Qe.colorError}
279
279
  }
280
280
 
281
281
  .ft-input-label--disabled .ft-input-label--text {
282
- color: ${Xe.disabledTextColor};
282
+ color: ${Qe.disabledTextColor};
283
283
  }
284
284
 
285
285
  .ft-input-label--hidden-text {
@@ -294,17 +294,17 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
294
294
  overflow: hidden;
295
295
  white-space: nowrap;
296
296
  text-overflow: ellipsis;
297
- padding: ${Xe.verticalSpacing} 4px;
298
- margin: calc(${Xe.verticalSpacing} * -1) 0;
297
+ padding: ${Qe.verticalSpacing} 4px;
298
+ margin: calc(${Qe.verticalSpacing} * -1) 0;
299
299
  }
300
300
 
301
301
  .ft-input-label--raised .ft-input-label--text {
302
- ${ht(Oe.fontSize,Xe.raisedFontSize)};
303
- ${ht(Oe.lineHeight,Xe.raisedFontSize)};
302
+ ${bt(Ce.fontSize,Qe.raisedFontSize)};
303
+ ${bt(Ce.lineHeight,Qe.raisedFontSize)};
304
304
  }
305
305
 
306
306
  .ft-input-label--raised .ft-input-label--floating-text {
307
- top: ${Xe.verticalSpacing};
307
+ top: ${Qe.verticalSpacing};
308
308
  }
309
309
 
310
310
  .ft-input-label--outlined .ft-input-label--text,
@@ -317,36 +317,36 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
317
317
  .ft-input-label--outlined:before {
318
318
  border-left-width: 1px;
319
319
  border-left-style: solid;
320
- border-radius: ${Xe.borderRadiusS} 0 0 ${Xe.borderRadiusS};
320
+ border-radius: ${Qe.borderRadiusS} 0 0 ${Qe.borderRadiusS};
321
321
  }
322
322
 
323
323
  .ft-input-label--outlined:after {
324
324
  border-right-width: 1px;
325
325
  border-right-style: solid;
326
- border-radius: 0 ${Xe.borderRadiusS} ${Xe.borderRadiusS} 0;
326
+ border-radius: 0 ${Qe.borderRadiusS} ${Qe.borderRadiusS} 0;
327
327
  }
328
328
 
329
329
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
330
330
  padding: 2px 4px;
331
- z-index: ${Xe.raisedZIndex};
332
- background-color: ${Xe.colorSurface};
333
- border-radius: ${Xe.borderRadiusS};
331
+ z-index: ${Qe.raisedZIndex};
332
+ background-color: ${Qe.colorSurface};
333
+ border-radius: ${Qe.borderRadiusS};
334
334
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
335
335
  }
336
336
 
337
337
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
338
338
  border-top: none;
339
339
  }
340
- `;var Ge=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 Qe extends vt{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 W`
341
- <div class="${jt(t)}">
342
- ${this.text?W`
340
+ `;var ei=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 ii extends gt{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 V`
341
+ <div class="${It(t)}">
342
+ ${this.text?V`
343
343
  <div class="ft-input-label--text ft-typography--caption">
344
344
  <span class="ft-input-label--floating-text">${this.text}</span>
345
345
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
346
346
  </div>
347
347
  `:null}
348
348
  </div>
349
- `}}Qe.elementDefinitions={},Qe.styles=[He,Ye],Ge([o({type:String})],Qe.prototype,"text",void 0),Ge([o({type:Boolean})],Qe.prototype,"raised",void 0),Ge([o({type:Boolean})],Qe.prototype,"outlined",void 0),Ge([o({type:Boolean})],Qe.prototype,"disabled",void 0),Ge([o({type:Boolean})],Qe.prototype,"error",void 0),p("ft-input-label")(Qe);const ti=ft.extend("--ft-ripple-color",ut.colorContent),ei={color:ti,backgroundColor:ft.extend("--ft-ripple-background-color",ti),opacityContentOnSurfacePressed:ft.external(ut.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ft.external(ut.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ft.external(ut.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ft.external(ut.opacityContentOnSurfaceSelected,"Design system")},ii=ft.extend("--ft-ripple-color",ut.colorPrimary),oi=ii,ni=ft.extend("--ft-ripple-background-color",ii),si=ft.extend("--ft-ripple-color",ut.colorSecondary),ri=si,li=ft.extend("--ft-ripple-background-color",si),ai=b`
349
+ `}}ii.elementDefinitions={},ii.styles=[Ke,ti],ei([o({type:String})],ii.prototype,"text",void 0),ei([o({type:Boolean})],ii.prototype,"raised",void 0),ei([o({type:Boolean})],ii.prototype,"outlined",void 0),ei([o({type:Boolean})],ii.prototype,"disabled",void 0),ei([o({type:Boolean})],ii.prototype,"error",void 0),p("ft-input-label")(ii);const oi=vt.extend("--ft-ripple-color",xt.colorContent),ni={color:oi,backgroundColor:vt.extend("--ft-ripple-background-color",oi),opacityContentOnSurfacePressed:vt.external(xt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:vt.external(xt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:vt.external(xt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:vt.external(xt.opacityContentOnSurfaceSelected,"Design system")},si=vt.extend("--ft-ripple-color",xt.colorPrimary),ri=si,li=vt.extend("--ft-ripple-background-color",si),ai=vt.extend("--ft-ripple-color",xt.colorSecondary),pi=ai,ci=vt.extend("--ft-ripple-background-color",ai),di=b`
350
350
  :host {
351
351
  display: contents;
352
352
  }
@@ -368,27 +368,27 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
368
368
  }
369
369
 
370
370
  .ft-ripple .ft-ripple--background {
371
- background-color: ${ei.backgroundColor};
371
+ background-color: ${ni.backgroundColor};
372
372
  }
373
373
 
374
374
  .ft-ripple .ft-ripple--effect {
375
- background-color: ${ei.color};
375
+ background-color: ${ni.color};
376
376
  }
377
377
 
378
378
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
379
- background-color: ${li};
379
+ background-color: ${ci};
380
380
  }
381
381
 
382
382
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
383
- background-color: ${ri};
383
+ background-color: ${pi};
384
384
  }
385
385
 
386
386
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
387
- background-color: ${ni};
387
+ background-color: ${li};
388
388
  }
389
389
 
390
390
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
391
- background-color: ${oi};
391
+ background-color: ${ri};
392
392
  }
393
393
 
394
394
  .ft-ripple .ft-ripple--background {
@@ -420,22 +420,22 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
420
420
  }
421
421
 
422
422
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
423
- opacity: ${ei.opacityContentOnSurfaceHover};
423
+ opacity: ${ni.opacityContentOnSurfaceHover};
424
424
  }
425
425
 
426
426
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
427
- opacity: ${ei.opacityContentOnSurfaceSelected};
427
+ opacity: ${ni.opacityContentOnSurfaceSelected};
428
428
  }
429
429
 
430
430
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
431
- opacity: ${ei.opacityContentOnSurfaceFocused};
431
+ opacity: ${ni.opacityContentOnSurfaceFocused};
432
432
  }
433
433
 
434
434
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
435
- opacity: ${ei.opacityContentOnSurfacePressed};
435
+ opacity: ${ni.opacityContentOnSurfacePressed};
436
436
  transform: translate(-50%, -50%) scale(1);
437
437
  }
438
- `;var pi,ci,di=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 vt{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 W`
438
+ `;var fi,hi,ui=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 vi extends gt{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 V`
439
439
  <style>
440
440
  .ft-ripple .ft-ripple--effect,
441
441
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -448,23 +448,23 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
448
448
  top: ${this.originY}px;
449
449
  }
450
450
  </style>
451
- <div class="${jt(t)}">
451
+ <div class="${It(t)}">
452
452
  <div class="ft-ripple--background"></div>
453
453
  <div class="ft-ripple--effect"></div>
454
454
  </div>
455
- `}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()}}fi.elementDefinitions={},fi.styles=ai,di([o({type:Boolean})],fi.prototype,"primary",void 0),di([o({type:Boolean})],fi.prototype,"secondary",void 0),di([o({type:Boolean})],fi.prototype,"unbounded",void 0),di([o({type:Boolean})],fi.prototype,"activated",void 0),di([o({type:Boolean})],fi.prototype,"selected",void 0),di([o({type:Boolean})],fi.prototype,"disabled",void 0),di([n()],fi.prototype,"hovered",void 0),di([n()],fi.prototype,"focused",void 0),di([n()],fi.prototype,"pressed",void 0),di([n()],fi.prototype,"rippling",void 0),di([n()],fi.prototype,"rippleSize",void 0),di([n()],fi.prototype,"originX",void 0),di([n()],fi.prototype,"originY",void 0),di([r(".ft-ripple")],fi.prototype,"ripple",void 0),di([r(".ft-ripple--effect")],fi.prototype,"rippleEffect",void 0),p("ft-ripple")(fi),function(t){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.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",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="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",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="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(pi||(pi={})),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;"}(ci||(ci={})),new Map([...["abw"].map((t=>[t,ci.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,ci.AUDIO])),...["avi"].map((t=>[t,ci.AVI])),...["chm","xhs"].map((t=>[t,ci.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,ci.CODE])),...["csv"].map((t=>[t,ci.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ci.DITA])),...["epub"].map((t=>[t,ci.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ci.EXCEL])),...["flac"].map((t=>[t,ci.FLAC])),...["gif"].map((t=>[t,ci.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ci.GZIP])),...["html","htm","xhtml"].map((t=>[t,ci.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,ci.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ci.JPEG])),...["json"].map((t=>[t,ci.JSON])),...["m4a","m4p"].map((t=>[t,ci.M4A])),...["mov","qt"].map((t=>[t,ci.MOV])),...["mp3"].map((t=>[t,ci.MP3])),...["mp4","m4v"].map((t=>[t,ci.MP4])),...["ogg","oga"].map((t=>[t,ci.OGG])),...["pdf","ps"].map((t=>[t,ci.PDF])),...["png"].map((t=>[t,ci.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ci.POWERPOINT])),...["rar"].map((t=>[t,ci.RAR])),...["stp"].map((t=>[t,ci.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ci.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,ci.VIDEO])),...["wav"].map((t=>[t,ci.WAV])),...["wma"].map((t=>[t,ci.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ci.WORD])),...["xml","xsl","rdf"].map((t=>[t,ci.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ci.YAML])),...["zip"].map((t=>[t,ci.ZIP]))]);const hi={size:ft.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ft.extend("--ft-icon-fluid-topics-font-family",ft.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ft.extend("--ft-icon-file-format-font-family",ft.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ft.extend("--ft-icon-material-font-family",ft.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:ft.create("--ft-icon-vertical-align","UNKNOWN","unset")},ui=b`
455
+ `}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()}}vi.elementDefinitions={},vi.styles=di,ui([o({type:Boolean})],vi.prototype,"primary",void 0),ui([o({type:Boolean})],vi.prototype,"secondary",void 0),ui([o({type:Boolean})],vi.prototype,"unbounded",void 0),ui([o({type:Boolean})],vi.prototype,"activated",void 0),ui([o({type:Boolean})],vi.prototype,"selected",void 0),ui([o({type:Boolean})],vi.prototype,"disabled",void 0),ui([n()],vi.prototype,"hovered",void 0),ui([n()],vi.prototype,"focused",void 0),ui([n()],vi.prototype,"pressed",void 0),ui([n()],vi.prototype,"rippling",void 0),ui([n()],vi.prototype,"rippleSize",void 0),ui([n()],vi.prototype,"originX",void 0),ui([n()],vi.prototype,"originY",void 0),ui([r(".ft-ripple")],vi.prototype,"ripple",void 0),ui([r(".ft-ripple--effect")],vi.prototype,"rippleEffect",void 0),p("ft-ripple")(vi),function(t){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.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",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="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",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="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(fi||(fi={})),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;"}(hi||(hi={})),new Map([...["abw"].map((t=>[t,hi.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,hi.AUDIO])),...["avi"].map((t=>[t,hi.AVI])),...["chm","xhs"].map((t=>[t,hi.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,hi.CODE])),...["csv"].map((t=>[t,hi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,hi.DITA])),...["epub"].map((t=>[t,hi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,hi.EXCEL])),...["flac"].map((t=>[t,hi.FLAC])),...["gif"].map((t=>[t,hi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,hi.GZIP])),...["html","htm","xhtml"].map((t=>[t,hi.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,hi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,hi.JPEG])),...["json"].map((t=>[t,hi.JSON])),...["m4a","m4p"].map((t=>[t,hi.M4A])),...["mov","qt"].map((t=>[t,hi.MOV])),...["mp3"].map((t=>[t,hi.MP3])),...["mp4","m4v"].map((t=>[t,hi.MP4])),...["ogg","oga"].map((t=>[t,hi.OGG])),...["pdf","ps"].map((t=>[t,hi.PDF])),...["png"].map((t=>[t,hi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,hi.POWERPOINT])),...["rar"].map((t=>[t,hi.RAR])),...["stp"].map((t=>[t,hi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,hi.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,hi.VIDEO])),...["wav"].map((t=>[t,hi.WAV])),...["wma"].map((t=>[t,hi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,hi.WORD])),...["xml","xsl","rdf"].map((t=>[t,hi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,hi.YAML])),...["zip"].map((t=>[t,hi.ZIP]))]);const bi={size:vt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:vt.extend("--ft-icon-fluid-topics-font-family",vt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:vt.extend("--ft-icon-file-format-font-family",vt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:vt.extend("--ft-icon-material-font-family",vt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:vt.create("--ft-icon-vertical-align","UNKNOWN","unset")},xi=b`
456
456
  :host {
457
457
  display: inline-block;
458
458
  }
459
459
 
460
460
  :host, i.ft-icon {
461
- width: ${hi.size};
462
- height: ${hi.size};
461
+ width: ${bi.size};
462
+ height: ${bi.size};
463
463
  text-align: center;
464
464
  }
465
465
 
466
466
  i.ft-icon {
467
- font-size: ${hi.size};
467
+ font-size: ${bi.size};
468
468
  line-height: 1;
469
469
  font-weight: normal;
470
470
  text-transform: none;
@@ -475,26 +475,26 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
475
475
  text-rendering: auto;
476
476
  -webkit-font-smoothing: antialiased;
477
477
  -moz-osx-font-smoothing: grayscale;
478
- vertical-align: ${hi.verticalAlign};
478
+ vertical-align: ${bi.verticalAlign};
479
479
  }
480
480
 
481
481
  .ft-icon--fluid-topics {
482
- font-family: ${hi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
482
+ font-family: ${bi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
483
483
  }
484
484
 
485
485
  .ft-icon--file-format {
486
- font-family: ${hi.fileFormatFontFamily}, ft-mime, sans-serif;
486
+ font-family: ${bi.fileFormatFontFamily}, ft-mime, sans-serif;
487
487
  }
488
488
 
489
489
  .ft-icon--material {
490
- font-family: ${hi.materialFontFamily}, "Material Icons", sans-serif;
490
+ font-family: ${bi.materialFontFamily}, "Material Icons", sans-serif;
491
491
  }
492
- `;var bi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(bi||(bi={}));var vi=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 xi extends vt{constructor(){super(...arguments),this.variant=bi.fluid_topics,this.resolvedIcon=K}render(){const t="material"!==this.variant||this.value;return W`
492
+ `;var yi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(yi||(yi={}));var gi=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 mi extends gt{constructor(){super(...arguments),this.variant=yi.fluid_topics,this.resolvedIcon=q}render(){const t="material"!==this.variant||this.value;return V`
493
493
  <i class="ft-icon ${"ft-icon--"+this.variant}">
494
- ${Dt(this.resolvedIcon)}
494
+ ${Lt(this.resolvedIcon)}
495
495
  <slot ?hidden=${t}></slot>
496
496
  </i>
497
- `}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 bi.file_format:this.resolvedIcon=null!==(t=ci[i.toUpperCase()])&&void 0!==t?t:i;break;case bi.fluid_topics:this.resolvedIcon=null!==(e=pi[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||K}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}xi.elementDefinitions={},xi.styles=ui,vi([o()],xi.prototype,"variant",void 0),vi([o()],xi.prototype,"value",void 0),vi([n()],xi.prototype,"resolvedIcon",void 0),vi([r("slot")],xi.prototype,"slottedContent",void 0),p("ft-icon")(xi);const yi={labelSize:ft.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:ft.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:ft.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:ft.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:ft.extend("--ft-select-selected-option-color",ut.colorOnSurface),helperColor:ft.extend("--ft-select-helper-color",ut.colorOnSurfaceMedium),optionsColor:ft.extend("--ft-select-options-color",ut.colorOnSurface),optionsZIndex:ft.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:ft.external(ut.colorSurface,"Design system"),colorOnSurfaceDisabled:ft.external(ut.colorOnSurfaceDisabled,"Design system"),colorPrimary:ft.external(ut.colorPrimary,"Design system"),borderRadiusS:ft.external(ut.borderRadiusS,"Design system"),elevation02:ft.external(ut.elevation02,"Design system"),colorError:ft.external(ut.colorError,"Design system")},gi=b`
497
+ `}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 yi.file_format:this.resolvedIcon=null!==(t=hi[i.toUpperCase()])&&void 0!==t?t:i;break;case yi.fluid_topics:this.resolvedIcon=null!==(e=fi[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||q}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}mi.elementDefinitions={},mi.styles=xi,gi([o()],mi.prototype,"variant",void 0),gi([o()],mi.prototype,"value",void 0),gi([n()],mi.prototype,"resolvedIcon",void 0),gi([r("slot")],mi.prototype,"slottedContent",void 0),p("ft-icon")(mi);const $i={labelSize:vt.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:vt.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:vt.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:vt.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:vt.extend("--ft-select-selected-option-color",xt.colorOnSurface),helperColor:vt.extend("--ft-select-helper-color",xt.colorOnSurfaceMedium),optionsColor:vt.extend("--ft-select-options-color",xt.colorOnSurface),optionsZIndex:vt.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:vt.external(xt.colorSurface,"Design system"),colorOnSurfaceDisabled:vt.external(xt.colorOnSurfaceDisabled,"Design system"),colorPrimary:vt.external(xt.colorPrimary,"Design system"),borderRadiusS:vt.external(xt.borderRadiusS,"Design system"),elevation02:vt.external(xt.elevation02,"Design system"),colorError:vt.external(xt.colorError,"Design system")},wi=b`
498
498
  *:focus {
499
499
  outline: none;
500
500
  }
@@ -508,7 +508,7 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
508
508
  .ft-select--main-panel {
509
509
  position: relative;
510
510
  display: flex;
511
- height: calc(4 * ${yi.verticalSpacing} + ${yi.labelSize} + ${yi.selectedOptionSize});
511
+ height: calc(4 * ${$i.verticalSpacing} + ${$i.labelSize} + ${$i.selectedOptionSize});
512
512
  }
513
513
 
514
514
  .ft-select--input-panel {
@@ -520,14 +520,14 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
520
520
  padding-left: 16px;
521
521
  padding-right: 8px;
522
522
  gap: 8px;
523
- color: ${yi.selectedOptionColor};
524
- ${ht(ei.color,yi.selectedOptionColor)};
523
+ color: ${$i.selectedOptionColor};
524
+ ${bt(ni.color,$i.selectedOptionColor)};
525
525
  }
526
526
 
527
527
  .ft-select--input-panel,
528
528
  .ft-select--option {
529
- ${ht(ei.opacityContentOnSurfaceHover,"0.08")};
530
- ${ht(ei.opacityContentOnSurfacePressed,"0.04")};
529
+ ${bt(ni.opacityContentOnSurfaceHover,"0.08")};
530
+ ${bt(ni.opacityContentOnSurfacePressed,"0.04")};
531
531
  }
532
532
 
533
533
  .ft-select--input-panel > *:not(ft-ripple),
@@ -537,7 +537,7 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
537
537
 
538
538
  .ft-select--disabled .ft-select--input-panel,
539
539
  .ft-select--disabled .ft-select--option {
540
- color: ${yi.colorOnSurfaceDisabled};
540
+ color: ${$i.colorOnSurfaceDisabled};
541
541
  }
542
542
 
543
543
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -546,18 +546,18 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
546
546
  }
547
547
 
548
548
  ft-input-label {
549
- ${ht(Xe.fontSize,yi.selectedOptionSize)};
550
- ${ht(Xe.raisedFontSize,yi.labelSize)};
551
- ${ht(Xe.verticalSpacing,yi.verticalSpacing)};
549
+ ${bt(Qe.fontSize,$i.selectedOptionSize)};
550
+ ${bt(Qe.raisedFontSize,$i.labelSize)};
551
+ ${bt(Qe.verticalSpacing,$i.verticalSpacing)};
552
552
  }
553
553
 
554
554
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
555
- color: ${yi.colorPrimary};
555
+ color: ${$i.colorPrimary};
556
556
  }
557
557
 
558
558
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
559
- ${ht(Xe.borderColor,yi.colorPrimary)};
560
- ${ht(Xe.textColor,yi.colorPrimary)};
559
+ ${bt(Qe.borderColor,$i.colorPrimary)};
560
+ ${bt(Qe.textColor,$i.colorPrimary)};
561
561
  }
562
562
 
563
563
  .ft-select--selected-option {
@@ -567,12 +567,12 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
567
567
  overflow: hidden;
568
568
  white-space: nowrap;
569
569
  text-overflow: ellipsis;
570
- ${ht(ve.fontSize,yi.selectedOptionSize)};
571
- ${ht(ve.lineHeight,yi.selectedOptionSize)};
570
+ ${bt(ge.fontSize,$i.selectedOptionSize)};
571
+ ${bt(ge.lineHeight,$i.selectedOptionSize)};
572
572
  }
573
573
 
574
574
  .ft-select--in-error .ft-select--selected-option {
575
- color: ${yi.colorError};
575
+ color: ${$i.colorError};
576
576
  }
577
577
 
578
578
  ft-icon {
@@ -584,16 +584,16 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
584
584
  }
585
585
 
586
586
  .ft-select--filled .ft-select--input-panel {
587
- border-radius: ${yi.borderRadiusS} ${yi.borderRadiusS} 0 0;
587
+ border-radius: ${$i.borderRadiusS} ${$i.borderRadiusS} 0 0;
588
588
  }
589
589
 
590
590
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
591
591
  align-self: stretch;
592
- padding-top: calc(${yi.labelSize} + 2 * ${yi.verticalSpacing});
592
+ padding-top: calc(${$i.labelSize} + 2 * ${$i.verticalSpacing});
593
593
  }
594
594
 
595
595
  .ft-select--outlined .ft-select--input-panel {
596
- border-radius: ${yi.borderRadiusS};
596
+ border-radius: ${$i.borderRadiusS};
597
597
  }
598
598
 
599
599
  .ft-select--options {
@@ -602,10 +602,10 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
602
602
  top: 100%;
603
603
  left: 0;
604
604
  right: 0;
605
- color: ${yi.optionsColor};
606
- background: ${yi.colorSurface};
607
- z-index: ${yi.optionsZIndex};
608
- box-shadow: ${yi.elevation02};
605
+ color: ${$i.optionsColor};
606
+ background: ${$i.colorSurface};
607
+ z-index: ${$i.optionsZIndex};
608
+ box-shadow: ${$i.elevation02};
609
609
  }
610
610
 
611
611
  .ft-select--fixed .ft-select--options {
@@ -616,7 +616,7 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
616
616
 
617
617
  .ft-select--options-displayed .ft-select--options {
618
618
  display: block;
619
- max-height: ${yi.optionsHeight};
619
+ max-height: ${$i.optionsHeight};
620
620
  overflow-y: auto;
621
621
  }
622
622
 
@@ -635,14 +635,14 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
635
635
 
636
636
  .ft-select--helper-text {
637
637
  padding: 0 12px 0 16px;
638
- color: ${yi.helperColor};
638
+ color: ${$i.helperColor};
639
639
  }
640
640
 
641
641
  .ft-select--in-error .ft-select--helper-text {
642
- color: ${yi.colorError};
642
+ color: ${$i.colorError};
643
643
  }
644
- `;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 $i extends vt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return W``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}$i.elementDefinitions={},mi([o({type:String})],$i.prototype,"label",void 0),mi([o({type:Object,converter:t=>t})],$i.prototype,"value",void 0),mi([o({type:Boolean,reflect:!0})],$i.prototype,"selected",void 0);class wi extends vt{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 W`
645
- <div class="${jt(a)}" part="container">
644
+ `;var Oi=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 ki extends gt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return V``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ki.elementDefinitions={},Oi([o({type:String})],ki.prototype,"label",void 0),Oi([o({type:Object,converter:t=>t})],ki.prototype,"value",void 0),Oi([o({type:Boolean,reflect:!0})],ki.prototype,"selected",void 0);class Si extends gt{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 V`
645
+ <div class="${It(a)}" part="container">
646
646
  <div class="ft-select--main-panel" part="main-panel">
647
647
  <ft-input-label text="${this.label}"
648
648
  part="label"
@@ -669,18 +669,18 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
669
669
  part="options"
670
670
  @keydown=${this.onOptionsKeyDown}
671
671
  innerrole="listbox">
672
- ${Ut(this.options,(t=>t.value),(t=>this.renderOption(t)))}
672
+ ${Dt(this.options,(t=>t.value),(t=>this.renderOption(t)))}
673
673
  </div>
674
674
  </div>
675
- ${this.helper?W`
675
+ ${this.helper?V`
676
676
  <ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
677
677
  </ft-typography>`:void 0}
678
678
  </div>
679
679
  <slot @slotchange=${this.updateOptionsFromSlot}
680
680
  @option-change=${this.updateOptionsFromSlot}
681
681
  ></slot>
682
- `}renderOption(t){let e=this.selectedOption===t;return W`
683
- <div class="${jt({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
682
+ `}renderOption(t){let e=this.selectedOption===t;return V`
683
+ <div class="${It({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
684
684
  part="option"
685
685
  tabindex="0"
686
686
  data-value="${t.value}"
@@ -689,7 +689,7 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
689
689
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
690
690
  <span>${t.label}</span>
691
691
  </div>
692
- `}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value}))),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){this.selectedOption=t;for(let e of this.options)e.selected=e===t}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}wi.elementDefinitions={"ft-input-label":Qe,"ft-typography":qe,"ft-ripple":fi,"ft-icon":xi},wi.styles=[_e,He,gi],mi([o({type:String})],wi.prototype,"label",void 0),mi([o({type:String})],wi.prototype,"helper",void 0),mi([o({type:Boolean})],wi.prototype,"outlined",void 0),mi([o({type:Boolean})],wi.prototype,"disabled",void 0),mi([o({type:Boolean})],wi.prototype,"error",void 0),mi([o({type:Boolean})],wi.prototype,"fixedMenuPosition",void 0),mi([o({type:Array})],wi.prototype,"options",void 0),mi([n()],wi.prototype,"selectedOption",void 0),mi([n()],wi.prototype,"optionsDisplayed",void 0),mi([n()],wi.prototype,"focusOptions",void 0),mi([r(".ft-select")],wi.prototype,"container",void 0),mi([r(".ft-select--options")],wi.prototype,"optionsMenu",void 0),mi([r(".ft-select--input-panel")],wi.prototype,"mainPanel",void 0),mi([r(".ft-select--option:first-child")],wi.prototype,"firstOption",void 0),mi([r(".ft-select--option:focus")],wi.prototype,"focusedOption",void 0),mi([r(".ft-select--option.ft-select--option-selected")],wi.prototype,"selectedOptionElement",void 0),mi([r(".ft-select--option:last-child")],wi.prototype,"lastOption",void 0),mi([r("slot")],wi.prototype,"optionsSlot",void 0),p("ft-select")(wi),p("ft-select-option")($i);const Oi={fontSize:ft.create("--ft-text-field-font-size","SIZE","14px"),labelSize:ft.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:ft.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:ft.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:ft.extend("--ft-text-field-helper-color",ut.colorOnSurfaceMedium),colorPrimary:ft.external(ut.colorPrimary,"Design system"),colorOnSurface:ft.external(ut.colorOnSurface,"Design system"),colorOnSurfaceDisabled:ft.external(ut.colorOnSurfaceDisabled,"Design system"),borderRadiusS:ft.external(ut.borderRadiusS,"Design system"),colorError:ft.external(ut.colorError,"Design system"),prefixColor:ft.extend("--ft-text-field-prefix-color",ut.colorOnSurfaceMedium),iconColor:ft.extend("--ft-text-field-icon-color",ut.colorOnSurfaceMedium)},ki=b`
692
+ `}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value}))),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){this.selectedOption=t;for(let e of this.options)e.selected=e===t}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Si.elementDefinitions={"ft-input-label":ii,"ft-typography":Ge,"ft-ripple":vi,"ft-icon":mi},Si.styles=[Ze,Ke,wi],Oi([o({type:String})],Si.prototype,"label",void 0),Oi([o({type:String})],Si.prototype,"helper",void 0),Oi([o({type:Boolean})],Si.prototype,"outlined",void 0),Oi([o({type:Boolean})],Si.prototype,"disabled",void 0),Oi([o({type:Boolean})],Si.prototype,"error",void 0),Oi([o({type:Boolean})],Si.prototype,"fixedMenuPosition",void 0),Oi([o({type:Array})],Si.prototype,"options",void 0),Oi([n()],Si.prototype,"selectedOption",void 0),Oi([n()],Si.prototype,"optionsDisplayed",void 0),Oi([n()],Si.prototype,"focusOptions",void 0),Oi([r(".ft-select")],Si.prototype,"container",void 0),Oi([r(".ft-select--options")],Si.prototype,"optionsMenu",void 0),Oi([r(".ft-select--input-panel")],Si.prototype,"mainPanel",void 0),Oi([r(".ft-select--option:first-child")],Si.prototype,"firstOption",void 0),Oi([r(".ft-select--option:focus")],Si.prototype,"focusedOption",void 0),Oi([r(".ft-select--option.ft-select--option-selected")],Si.prototype,"selectedOptionElement",void 0),Oi([r(".ft-select--option:last-child")],Si.prototype,"lastOption",void 0),Oi([r("slot")],Si.prototype,"optionsSlot",void 0),p("ft-select")(Si),p("ft-select-option")(ki);const Ci={fontSize:vt.create("--ft-text-field-font-size","SIZE","14px"),labelSize:vt.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:vt.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:vt.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:vt.extend("--ft-text-field-helper-color",xt.colorOnSurfaceMedium),colorPrimary:vt.external(xt.colorPrimary,"Design system"),colorOnSurface:vt.external(xt.colorOnSurface,"Design system"),colorOnSurfaceDisabled:vt.external(xt.colorOnSurfaceDisabled,"Design system"),borderRadiusS:vt.external(xt.borderRadiusS,"Design system"),colorError:vt.external(xt.colorError,"Design system"),prefixColor:vt.extend("--ft-text-field-prefix-color",xt.colorOnSurfaceMedium),iconColor:vt.extend("--ft-text-field-icon-color",xt.colorOnSurfaceMedium)},Ei=b`
693
693
  *:focus {
694
694
  outline: none;
695
695
  }
@@ -701,16 +701,16 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
701
701
  }
702
702
 
703
703
  ft-input-label {
704
- ${ht(Xe.fontSize,Oi.fontSize)};
705
- ${ht(Xe.raisedFontSize,Oi.labelSize)};
706
- ${ht(Xe.verticalSpacing,Oi.verticalSpacing)};
707
- ${ht(Xe.horizontalSpacing,b`calc(${Oi.horizontalSpacing} - 4px)`)};
704
+ ${bt(Qe.fontSize,Ci.fontSize)};
705
+ ${bt(Qe.raisedFontSize,Ci.labelSize)};
706
+ ${bt(Qe.verticalSpacing,Ci.verticalSpacing)};
707
+ ${bt(Qe.horizontalSpacing,b`calc(${Ci.horizontalSpacing} - 4px)`)};
708
708
  }
709
709
 
710
710
  .ft-text-field--main-panel {
711
711
  position: relative;
712
712
  display: flex;
713
- height: calc(4 * ${Oi.verticalSpacing} + ${Oi.labelSize} + ${Oi.fontSize});
713
+ height: calc(4 * ${Ci.verticalSpacing} + ${Ci.labelSize} + ${Ci.fontSize});
714
714
  }
715
715
 
716
716
  .ft-text-field--input-panel {
@@ -722,8 +722,8 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
722
722
  }
723
723
 
724
724
  .ft-text-field--input-panel ft-ripple {
725
- ${ht(ei.opacityContentOnSurfaceHover,"0.08")};
726
- ${ht(ei.opacityContentOnSurfacePressed,"0.04")};
725
+ ${bt(ni.opacityContentOnSurfaceHover,"0.08")};
726
+ ${bt(ni.opacityContentOnSurfacePressed,"0.04")};
727
727
  }
728
728
 
729
729
  .ft-text-field--input-wrapper {
@@ -733,20 +733,20 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
733
733
  display: flex;
734
734
  align-items: center;
735
735
 
736
- ${ht(ve.fontSize,Oi.fontSize)};
737
- ${ht(ve.lineHeight,Oi.fontSize)};
736
+ ${bt(ge.fontSize,Ci.fontSize)};
737
+ ${bt(ge.lineHeight,Ci.fontSize)};
738
738
 
739
- padding: 0 ${Oi.horizontalSpacing};
739
+ padding: 0 ${Ci.horizontalSpacing};
740
740
  }
741
741
 
742
742
  .ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input-wrapper {
743
743
  align-items: flex-end;
744
- padding: 0 ${Oi.horizontalSpacing} ${Oi.verticalSpacing} ${Oi.horizontalSpacing};
744
+ padding: 0 ${Ci.horizontalSpacing} ${Ci.verticalSpacing} ${Ci.horizontalSpacing};
745
745
  }
746
746
 
747
747
  .ft-text-field--prefix {
748
748
  display: none;
749
- color: ${Oi.prefixColor}
749
+ color: ${Ci.prefixColor}
750
750
  }
751
751
 
752
752
  .ft-text-field--with-prefix.ft-text-field--raised-label .ft-text-field--prefix {
@@ -760,15 +760,15 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
760
760
  flex-shrink: 1;
761
761
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
762
762
 
763
- color: ${Oi.colorOnSurface};
764
- padding: calc(2 * ${Oi.verticalSpacing}) 0;
763
+ color: ${Ci.colorOnSurface};
764
+ padding: calc(2 * ${Ci.verticalSpacing}) 0;
765
765
  border: none;
766
766
  background: none;
767
767
  }
768
768
 
769
769
  .ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input {
770
770
  padding-bottom: 0;
771
- padding-top: calc(${Oi.labelSize} + 2 * ${Oi.verticalSpacing});
771
+ padding-top: calc(${Ci.labelSize} + 2 * ${Ci.verticalSpacing});
772
772
  }
773
773
 
774
774
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -777,7 +777,7 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
777
777
  }
778
778
 
779
779
  .ft-text-field--disabled .ft-text-field--input {
780
- color: ${Oi.colorOnSurfaceDisabled};
780
+ color: ${Ci.colorOnSurfaceDisabled};
781
781
  }
782
782
 
783
783
  .ft-text-field:not(.ft-text-field--disabled) .ft-text-field--input-panel {
@@ -785,35 +785,35 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
785
785
  }
786
786
 
787
787
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
788
- ${ht(Xe.borderColor,Oi.colorPrimary)};
789
- ${ht(Xe.textColor,Oi.colorPrimary)};
788
+ ${bt(Qe.borderColor,Ci.colorPrimary)};
789
+ ${bt(Qe.textColor,Ci.colorPrimary)};
790
790
  }
791
791
 
792
792
  .ft-text-field--filled .ft-text-field--input-panel {
793
- border-radius: ${Oi.borderRadiusS} ${Oi.borderRadiusS} 0 0;
793
+ border-radius: ${Ci.borderRadiusS} ${Ci.borderRadiusS} 0 0;
794
794
  }
795
795
 
796
796
  .ft-text-field--outlined .ft-text-field--input-panel {
797
- border-radius: ${Oi.borderRadiusS};
797
+ border-radius: ${Ci.borderRadiusS};
798
798
  }
799
799
 
800
800
  .ft-text-field--helper-text {
801
- padding: 0 12px 0 ${Oi.horizontalSpacing};
802
- color: ${Oi.helperColor};
801
+ padding: 0 12px 0 ${Ci.horizontalSpacing};
802
+ color: ${Ci.helperColor};
803
803
  }
804
804
 
805
805
  .ft-text-field--in-error .ft-text-field--input,
806
806
  .ft-text-field--in-error .ft-text-field--helper-text,
807
807
  .ft-text-field--in-error .ft-text-field--prefix {
808
- color: ${Oi.colorError};
808
+ color: ${Ci.colorError};
809
809
  }
810
810
 
811
811
  .ft-text-field--icon {
812
- padding-right: ${Oi.horizontalSpacing};
813
- color: ${Oi.iconColor};
812
+ padding-right: ${Ci.horizontalSpacing};
813
+ color: ${Ci.iconColor};
814
814
  }
815
- `;var Si=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 Ci extends vt{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix="",this.icon="",this.iconVariant="",this.focused=!1}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--no-label":!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--raised-label":this.focused||""!=this.value};return W`
816
- <div class="${jt(t)}">
815
+ `;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 Ri extends gt{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix="",this.icon="",this.iconVariant="",this.focused=!1}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--no-label":!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--raised-label":this.focused||""!=this.value};return V`
816
+ <div class="${It(t)}">
817
817
  <div class="ft-text-field--main-panel">
818
818
  <ft-input-label text="${this.label}"
819
819
  ?disabled=${this.disabled}
@@ -823,7 +823,7 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
823
823
  ></ft-input-label>
824
824
  <div class="ft-text-field--input-panel"
825
825
  aria-label="${this.label}">
826
- ${this.outlined?null:W`
826
+ ${this.outlined?null:V`
827
827
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
828
828
  `}
829
829
  <div class="ft-text-field--input-wrapper">
@@ -838,16 +838,16 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
838
838
  @focusout=${()=>this.focused=!1}
839
839
  />
840
840
  </div>
841
- ${this.icon?W`
841
+ ${this.icon?V`
842
842
  <ft-icon class="ft-text-field--icon" variant="${this.iconVariant}">${this.icon}
843
843
  </ft-icon>`:void 0}
844
844
  </div>
845
845
  </div>
846
- ${this.helper?W`
846
+ ${this.helper?V`
847
847
  <ft-typography class="ft-text-field--helper-text" variant="caption">${this.helper}
848
848
  </ft-typography>`:void 0}
849
849
  </div>
850
- `}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}updateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||"",this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||""}}Ci.elementDefinitions={"ft-input-label":Qe,"ft-ripple":fi,"ft-typography":qe,"ft-icon":xi},Ci.styles=[Pe,ki],Si([o({type:String})],Ci.prototype,"label",void 0),Si([o({reflect:!0})],Ci.prototype,"value",void 0),Si([o({type:String})],Ci.prototype,"helper",void 0),Si([o({type:Boolean})],Ci.prototype,"outlined",void 0),Si([o({type:Boolean})],Ci.prototype,"disabled",void 0),Si([o({type:Boolean})],Ci.prototype,"error",void 0),Si([r(".ft-text-field--input")],Ci.prototype,"input",void 0),Si([o({type:String})],Ci.prototype,"prefix",void 0),Si([o({type:String})],Ci.prototype,"icon",void 0),Si([o({type:String})],Ci.prototype,"iconVariant",void 0),Si([n()],Ci.prototype,"focused",void 0),p("ft-text-field")(Ci);const Ei=ft.create("--ft-tooltip-distance","SIZE","4px"),Ni=ft.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ri=ft.create("--ft-tooltip-background-color","COLOR","#666666"),zi=ft.create("--ft-tooltip-z-index","NUMBER","1"),Mi=ft.external(ut.borderRadiusS,"Design system"),Fi=ft.create("--ft-tooltip-max-width","SIZE","150px"),Ui=b`
850
+ `}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}updateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||"",this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||""}}Ri.elementDefinitions={"ft-input-label":ii,"ft-ripple":vi,"ft-typography":Ge,"ft-icon":mi},Ri.styles=[We,Ei],Ni([o({type:String})],Ri.prototype,"label",void 0),Ni([o({reflect:!0})],Ri.prototype,"value",void 0),Ni([o({type:String})],Ri.prototype,"helper",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),Ni([r(".ft-text-field--input")],Ri.prototype,"input",void 0),Ni([o({type:String})],Ri.prototype,"prefix",void 0),Ni([o({type:String})],Ri.prototype,"icon",void 0),Ni([o({type:String})],Ri.prototype,"iconVariant",void 0),Ni([n()],Ri.prototype,"focused",void 0),p("ft-text-field")(Ri);const zi=vt.create("--ft-tooltip-distance","SIZE","4px"),Mi=vt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Fi=vt.create("--ft-tooltip-background-color","COLOR","#666666"),Ui=vt.create("--ft-tooltip-z-index","NUMBER","1"),Bi=vt.external(xt.borderRadiusS,"Design system"),ji=vt.create("--ft-tooltip-max-width","SIZE","150px"),Di=b`
851
851
  .ft-tooltip--container {
852
852
  display: block;
853
853
  position: relative;
@@ -863,23 +863,23 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
863
863
  box-sizing: border-box;
864
864
  overflow: hidden;
865
865
  width: max-content;
866
- max-width: ${Fi};
866
+ max-width: ${ji};
867
867
  text-align: center;
868
- padding: ${Ei};
869
- z-index: ${zi};
868
+ padding: ${zi};
869
+ z-index: ${Ui};
870
870
  }
871
871
 
872
872
  .ft-tooltip--content {
873
873
  padding: 4px 8px;
874
- border-radius: ${Mi};
875
- background-color: ${Ri};
876
- color: ${Ni};
874
+ border-radius: ${Bi};
875
+ background-color: ${Fi};
876
+ color: ${Mi};
877
877
  top: -500px;
878
878
  left: -500px;
879
879
  position: relative;
880
880
  word-break: break-word;
881
881
  }
882
- `;var 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 Di extends vt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return W`
882
+ `;var Ai=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 Li extends gt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return V`
883
883
  <div part="container"
884
884
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
885
885
  @mouseenter=${this.onHover}
@@ -895,13 +895,13 @@ class Bt extends St{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
895
895
  </div>
896
896
  <slot></slot>
897
897
  </div>
898
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&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.position){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.position){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, ${Fi})`}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())}}Di.elementDefinitions={"ft-typography":qe},Di.styles=Ui,Bi([o()],Di.prototype,"text",void 0),Bi([o({type:Boolean})],Di.prototype,"manual",void 0),Bi([o({type:Boolean})],Di.prototype,"inline",void 0),Bi([o({type:Number})],Di.prototype,"delay",void 0),Bi([o()],Di.prototype,"position",void 0),Bi([
898
+ `}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.position){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.position){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, ${ji})`}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())}}Li.elementDefinitions={"ft-typography":Ge},Li.styles=Di,Ai([o()],Li.prototype,"text",void 0),Ai([o({type:Boolean})],Li.prototype,"manual",void 0),Ai([o({type:Boolean})],Li.prototype,"inline",void 0),Ai([o({type:Number})],Li.prototype,"delay",void 0),Ai([o()],Li.prototype,"position",void 0),Ai([
899
899
  /**
900
900
  * @license
901
901
  * Copyright 2017 Google LLC
902
902
  * SPDX-License-Identifier: BSD-3-Clause
903
903
  */
904
- function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(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})})}({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})})}("",!0)],Di.prototype,"slotNodes",void 0),Bi([r(".ft-tooltip--container")],Di.prototype,"container",void 0),Bi([r("slot")],Di.prototype,"target",void 0),Bi([r(".ft-tooltip")],Di.prototype,"tooltip",void 0),Bi([r(".ft-tooltip--content")],Di.prototype,"tooltipContent",void 0),Bi([n()],Di.prototype,"visible",void 0),p("ft-tooltip")(Di);const ji={color:ft.extend("--ft-loader-color",ut.colorPrimary),size:ft.create("--ft-loader-size","SIZE","80px")},Ai=b`
904
+ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(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})})}({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})})}("",!0)],Li.prototype,"slotNodes",void 0),Ai([r(".ft-tooltip--container")],Li.prototype,"container",void 0),Ai([r("slot")],Li.prototype,"target",void 0),Ai([r(".ft-tooltip")],Li.prototype,"tooltip",void 0),Ai([r(".ft-tooltip--content")],Li.prototype,"tooltipContent",void 0),Ai([n()],Li.prototype,"visible",void 0),p("ft-tooltip")(Li);const Ii={color:vt.extend("--ft-loader-color",xt.colorPrimary),size:vt.create("--ft-loader-size","SIZE","80px")},Ti=b`
905
905
  :host {
906
906
  line-height: 0;
907
907
  }
@@ -910,8 +910,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
910
910
  display: inline-block;
911
911
  position: relative;
912
912
 
913
- width: ${ji.size};
914
- height: ${ji.size};
913
+ width: ${Ii.size};
914
+ height: ${Ii.size};
915
915
  }
916
916
 
917
917
  .ft-loader div {
@@ -920,7 +920,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
920
920
  width: 25%;
921
921
  height: 25%;
922
922
  border-radius: 50%;
923
- background: ${ji.color};
923
+ background: ${Ii.color};
924
924
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
925
925
  }
926
926
 
@@ -967,17 +967,17 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
967
967
  transform: translate(0, 0);
968
968
  }
969
969
  100% {
970
- transform: translate(calc(0.35 * ${ji.size}), 0);
970
+ transform: translate(calc(0.35 * ${Ii.size}), 0);
971
971
  }
972
972
  }
973
- `;class Ti extends vt{render(){return W`
973
+ `;class Pi extends gt{render(){return V`
974
974
  <div class="ft-loader">
975
975
  <div></div>
976
976
  <div></div>
977
977
  <div></div>
978
978
  <div></div>
979
979
  </div>
980
- `}}Ti.styles=Ai,p("ft-loader")(Ti);const Li=ft.extend("--ft-button-color",ut.colorPrimary),Ii={backgroundColor:ft.extend("--ft-button-background-color",ut.colorSurface),borderRadius:ft.extend("--ft-button-border-radius",ut.borderRadiusL),color:Li,fontSize:ft.extend("--ft-button-font-size",je.fontSize),iconSize:ft.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ft.extend("--ft-button-ripple-color",Li),opacityDisabled:ft.external(ut.colorOpacityDisabled,"Design system")},Pi=ft.extend("--ft-button-primary-color",ft.extend("--ft-button-color",ut.colorOnPrimary)),_i={backgroundColor:ft.extend("--ft-button-primary-background-color",ft.extend("--ft-button-background-color",ut.colorPrimary)),color:Pi,rippleColor:ft.extend("--ft-button-primary-ripple-color",Pi)},Hi=ft.extend("--ft-button-dense-border-radius",ft.extend("--ft-button-border-radius",ut.borderRadiusM)),Wi=[xt,b`
980
+ `}}Pi.styles=Ti,p("ft-loader")(Pi);const _i=vt.extend("--ft-button-color",xt.colorPrimary),Hi={backgroundColor:vt.extend("--ft-button-background-color",xt.colorSurface),borderRadius:vt.extend("--ft-button-border-radius",xt.borderRadiusL),color:_i,fontSize:vt.extend("--ft-button-font-size",Ie.fontSize),iconSize:vt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:vt.extend("--ft-button-ripple-color",_i),opacityDisabled:vt.external(xt.colorOpacityDisabled,"Design system")},Wi=vt.extend("--ft-button-primary-color",vt.extend("--ft-button-color",xt.colorOnPrimary)),Zi={backgroundColor:vt.extend("--ft-button-primary-background-color",vt.extend("--ft-button-background-color",xt.colorPrimary)),color:Wi,rippleColor:vt.extend("--ft-button-primary-ripple-color",Wi)},Ki=vt.extend("--ft-button-dense-border-radius",vt.extend("--ft-button-border-radius",xt.borderRadiusM)),Vi=[mt,b`
981
981
  :host {
982
982
  display: inline-block;
983
983
  max-width: 100%;
@@ -988,7 +988,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
988
988
  box-shadow: 0px 0px 0px transparent;
989
989
  border: 0px solid transparent;
990
990
  text-shadow: 0px 0px 0px transparent;
991
- font-size: ${Ii.fontSize};
991
+ font-size: ${Hi.fontSize};
992
992
  }
993
993
 
994
994
  button:hover {
@@ -1017,17 +1017,17 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1017
1017
  border: none;
1018
1018
  pointer-events: auto;
1019
1019
 
1020
- --ft-button-internal-line-height: calc(${Ii.fontSize} + 2px);
1021
- --ft-button-internal-color: ${Ii.color};
1022
- ${ht(hi.size,Ii.iconSize)};
1020
+ --ft-button-internal-line-height: calc(${Hi.fontSize} + 2px);
1021
+ --ft-button-internal-color: ${Hi.color};
1022
+ ${bt(bi.size,Hi.iconSize)};
1023
1023
  --ft-button-internal-vertical-padding: 6px;
1024
1024
  --ft-button-internal-horizontal-padding: 8px;
1025
- ${ht(ei.color,Ii.rippleColor)};
1026
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Ii.iconSize});
1025
+ ${bt(ni.color,Hi.rippleColor)};
1026
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Hi.iconSize});
1027
1027
 
1028
- border-radius: ${Ii.borderRadius};
1028
+ border-radius: ${Hi.borderRadius};
1029
1029
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
1030
- background-color: ${Ii.backgroundColor};
1030
+ background-color: ${Hi.backgroundColor};
1031
1031
  color: var(--ft-button-internal-color);
1032
1032
  -webkit-mask-image: radial-gradient(white, black);
1033
1033
  }
@@ -1039,7 +1039,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1039
1039
  .ft-button--dense {
1040
1040
  --ft-button-internal-vertical-padding: 2px;
1041
1041
  --ft-button-internal-horizontal-padding: 4px;
1042
- border-radius: ${Hi};
1042
+ border-radius: ${Ki};
1043
1043
  }
1044
1044
 
1045
1045
  .ft-button--round {
@@ -1048,13 +1048,13 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1048
1048
 
1049
1049
  .ft-button[disabled] {
1050
1050
  filter: grayscale(1);
1051
- opacity: ${Ii.opacityDisabled};
1051
+ opacity: ${Hi.opacityDisabled};
1052
1052
  }
1053
1053
 
1054
1054
  .ft-button.ft-button--primary {
1055
- background-color: ${_i.backgroundColor};
1056
- --ft-button-internal-color: ${_i.color};
1057
- ${ht(ei.color,_i.rippleColor)};
1055
+ background-color: ${Zi.backgroundColor};
1056
+ --ft-button-internal-color: ${Zi.color};
1057
+ ${bt(ni.color,Zi.rippleColor)};
1058
1058
  }
1059
1059
 
1060
1060
  .ft-button.ft-button--outlined {
@@ -1073,8 +1073,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1073
1073
  text-overflow: ellipsis;
1074
1074
  display: block;
1075
1075
  margin: 0 var(--ft-button-internal-horizontal-padding);
1076
- ${ht(je.fontSize,"1em")};
1077
- ${ht(je.lineHeight,"var(--ft-button-internal-content-height)")};
1076
+ ${bt(Ie.fontSize,"1em")};
1077
+ ${bt(Ie.lineHeight,"var(--ft-button-internal-content-height)")};
1078
1078
  }
1079
1079
 
1080
1080
  .ft-button--safari-fix .ft-button--label {
@@ -1107,12 +1107,12 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1107
1107
  }
1108
1108
 
1109
1109
  ft-loader {
1110
- ${ht(ji.size,Ii.iconSize)};
1111
- ${ht(ji.color,"var(--ft-button-internal-color)")};
1110
+ ${bt(Ii.size,Hi.iconSize)};
1111
+ ${bt(Ii.color,"var(--ft-button-internal-color)")};
1112
1112
  }
1113
- `];var Zi=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 Ki extends vt{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=bi.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":$t,"ft-no-text-select":!0};return this.addTooltipIfNeeded(W`
1113
+ `];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 qi extends gt{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=yi.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":kt,"ft-no-text-select":!0};return this.addTooltipIfNeeded(V`
1114
1114
  <button part="button"
1115
- class="${jt(t)}"
1115
+ class="${It(t)}"
1116
1116
  aria-label="${this.getLabel()}"
1117
1117
  ?disabled=${this.isDisabled()}>
1118
1118
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
@@ -1124,15 +1124,15 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1124
1124
  </ft-typography>
1125
1125
  ${this.resolveIcon()}
1126
1126
  </button>
1127
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?W`
1127
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?V`
1128
1128
  <ft-tooltip part="tooltip"
1129
1129
  text="${this.getLabel()}"
1130
1130
  position="${this.tooltipPosition}">
1131
1131
  ${t}
1132
1132
  </ft-tooltip>
1133
- `:t}resolveIcon(){return this.loading?W`
1134
- <ft-loader></ft-loader> `:this.icon?W`
1135
- <ft-icon variant="${this.iconVariant}" value="${this.icon}"></ft-icon> `:K}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}}Ki.elementDefinitions={"ft-ripple":fi,"ft-tooltip":Di,"ft-typography":qe,"ft-icon":xi,"ft-loader":Ti},Ki.styles=Wi,Zi([o({type:Boolean})],Ki.prototype,"primary",void 0),Zi([o({type:Boolean})],Ki.prototype,"outlined",void 0),Zi([o({type:Boolean})],Ki.prototype,"disabled",void 0),Zi([o({type:Boolean})],Ki.prototype,"dense",void 0),Zi([o({type:Boolean})],Ki.prototype,"round",void 0),Zi([o({type:String})],Ki.prototype,"label",void 0),Zi([o({type:String})],Ki.prototype,"icon",void 0),Zi([o({type:String})],Ki.prototype,"iconVariant",void 0),Zi([o({type:Boolean})],Ki.prototype,"trailingIcon",void 0),Zi([o({type:Boolean})],Ki.prototype,"loading",void 0),Zi([o({type:String})],Ki.prototype,"tooltipPosition",void 0),Zi([o({type:Boolean})],Ki.prototype,"hideTooltip",void 0),Zi([o({type:Boolean})],Ki.prototype,"forceTooltip",void 0),Zi([r(".ft-button")],Ki.prototype,"button",void 0),Zi([r(".ft-button--label slot")],Ki.prototype,"slottedContent",void 0),p("ft-button")(Ki);class Vi extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Ji={headerBackground:ft.create("--ft-filterable-table-header-background","COLOR","whitesmoke"),oddRowBackground:ft.create("--ft-filterable-table-odd-row-background","COLOR","#FFFFFF"),evenRowBackground:ft.create("--ft-filterable-table-even-row-background","COLOR","#fdfdfd"),rowHoverBackground:ft.create("--ft-filterable-table-row-hover-background","COLOR","#fafafa"),stickyHeaderZIndex:ft.create("--ft-filterable-table-sticky-header-zindex","NUMBER","100"),colorOnSurfaceHigh:ft.external(ut.colorOnSurfaceHigh,"Design system"),titleFont:ft.external(ut.titleFont,"Design system"),contentFont:ft.external(ut.contentFont,"Design system")},qi=b`
1133
+ `:t}resolveIcon(){return this.loading?V`
1134
+ <ft-loader></ft-loader> `:this.icon?V`
1135
+ <ft-icon variant="${this.iconVariant}" value="${this.icon}"></ft-icon> `:q}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}qi.elementDefinitions={"ft-ripple":vi,"ft-tooltip":Li,"ft-typography":Ge,"ft-icon":mi,"ft-loader":Pi},qi.styles=Vi,Ji([o({type:Boolean})],qi.prototype,"primary",void 0),Ji([o({type:Boolean})],qi.prototype,"outlined",void 0),Ji([o({type:Boolean})],qi.prototype,"disabled",void 0),Ji([o({type:Boolean})],qi.prototype,"dense",void 0),Ji([o({type:Boolean})],qi.prototype,"round",void 0),Ji([o({type:String})],qi.prototype,"label",void 0),Ji([o({type:String})],qi.prototype,"icon",void 0),Ji([o({type:String})],qi.prototype,"iconVariant",void 0),Ji([o({type:Boolean})],qi.prototype,"trailingIcon",void 0),Ji([o({type:Boolean})],qi.prototype,"loading",void 0),Ji([o({type:String})],qi.prototype,"tooltipPosition",void 0),Ji([o({type:Boolean})],qi.prototype,"hideTooltip",void 0),Ji([o({type:Boolean})],qi.prototype,"forceTooltip",void 0),Ji([r(".ft-button")],qi.prototype,"button",void 0),Ji([r(".ft-button--label slot")],qi.prototype,"slottedContent",void 0),p("ft-button")(qi);class Xi extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Yi={headerBackground:vt.create("--ft-filterable-table-header-background","COLOR","whitesmoke"),oddRowBackground:vt.create("--ft-filterable-table-odd-row-background","COLOR","#FFFFFF"),evenRowBackground:vt.create("--ft-filterable-table-even-row-background","COLOR","#fdfdfd"),rowHoverBackground:vt.create("--ft-filterable-table-row-hover-background","COLOR","#fafafa"),stickyHeaderZIndex:vt.create("--ft-filterable-table-sticky-header-zindex","NUMBER","100"),colorOnSurfaceHigh:vt.external(xt.colorOnSurfaceHigh,"Design system"),titleFont:vt.external(xt.titleFont,"Design system"),contentFont:vt.external(xt.contentFont,"Design system")},Gi=b`
1136
1136
  :host {
1137
1137
  display: block;
1138
1138
  }
@@ -1148,15 +1148,15 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1148
1148
  .header-cell {
1149
1149
  display: flex;
1150
1150
  flex-direction: column;
1151
- background: ${Ji.headerBackground};
1152
- color: ${Ji.colorOnSurfaceHigh};
1151
+ background: ${Yi.headerBackground};
1152
+ color: ${Yi.colorOnSurfaceHigh};
1153
1153
  padding: .5rem 1rem;
1154
- font-family: ${Ji.titleFont};
1154
+ font-family: ${Yi.titleFont};
1155
1155
  }
1156
1156
 
1157
1157
  .header-cell--sticky {
1158
1158
  top: 0;
1159
- z-index: ${Ji.stickyHeaderZIndex};
1159
+ z-index: ${Yi.stickyHeaderZIndex};
1160
1160
  position: sticky;
1161
1161
  }
1162
1162
 
@@ -1174,8 +1174,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1174
1174
  }
1175
1175
 
1176
1176
  .column-title-container ft-button {
1177
- ${ht(Ii.backgroundColor,Ji.headerBackground)};
1178
- ${ht(Ii.color,Ji.colorOnSurfaceHigh)};
1177
+ ${bt(Hi.backgroundColor,Yi.headerBackground)};
1178
+ ${bt(Hi.color,Yi.colorOnSurfaceHigh)};
1179
1179
  }
1180
1180
 
1181
1181
  .column-title {
@@ -1204,29 +1204,29 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1204
1204
 
1205
1205
  .cell {
1206
1206
  padding: 1rem;
1207
- border-left: 1px solid ${Ji.headerBackground};
1208
- border-bottom: 1px solid ${Ji.headerBackground};
1207
+ border-left: 1px solid ${Yi.headerBackground};
1208
+ border-bottom: 1px solid ${Yi.headerBackground};
1209
1209
  overflow-x: auto;
1210
1210
  display: flex;
1211
1211
  align-items: center;
1212
- font-family: ${Ji.contentFont};
1212
+ font-family: ${Yi.contentFont};
1213
1213
  }
1214
1214
 
1215
1215
  /* Even is 2n+1 and odd is 2n because of the header */
1216
1216
  .row:nth-child(2n) > .cell {
1217
- background: ${Ji.oddRowBackground};
1217
+ background: ${Yi.oddRowBackground};
1218
1218
  }
1219
1219
 
1220
1220
  .row:nth-child(2n + 1) > .cell {
1221
- background: ${Ji.evenRowBackground};
1221
+ background: ${Yi.evenRowBackground};
1222
1222
  }
1223
1223
 
1224
1224
  .row:hover > .cell {
1225
- background: ${Ji.rowHoverBackground};
1225
+ background: ${Yi.rowHoverBackground};
1226
1226
  }
1227
1227
 
1228
1228
  .cell:last-of-type {
1229
- border-right: 1px solid ${Ji.headerBackground};
1229
+ border-right: 1px solid ${Yi.headerBackground};
1230
1230
  }
1231
1231
 
1232
1232
  .row:last-of-type .cell:first-of-type {
@@ -1240,7 +1240,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1240
1240
  .hidden {
1241
1241
  visibility: hidden;
1242
1242
  }
1243
- `;var Xi=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 Yi=t=>W`${t}`,Gi=(t,e)=>t-e;class Qi extends vt{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 W`
1243
+ `;var Qi=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 to=t=>V`${t}`,eo=(t,e)=>t-e;class io extends gt{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 V`
1244
1244
  <style>
1245
1245
  .table {
1246
1246
  grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
@@ -1248,27 +1248,27 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1248
1248
  </style>
1249
1249
  <div class="table">
1250
1250
  <div class="header">
1251
- ${Ut(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1251
+ ${Dt(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1252
1252
  </div>
1253
- ${Ut(t,((t,e)=>"row-"+e),((t,e)=>W`
1253
+ ${Dt(t,((t,e)=>"row-"+e),((t,e)=>V`
1254
1254
  <div class="row"
1255
- @click=${()=>this.dispatchEvent(new Vi(t))}>
1256
- ${Ut(this.columns,((t,i)=>"cell-"+e+" "+i),(i=>this.renderCell(i,t,e)))}
1255
+ @click=${()=>this.dispatchEvent(new Xi(t))}>
1256
+ ${Dt(this.columns,((t,i)=>"cell-"+e+" "+i),(i=>this.renderCell(i,t,e)))}
1257
1257
  </div>
1258
1258
  `))}
1259
1259
  </div>
1260
- `}filterData(){let t=[...this.data];return this.filters.forEach(((e,i)=>{var o;const n=this.columns[i];if(e)switch(null!==(o=n.filter)&&void 0!==o?o:"text"){case"text":e.value&&(t=t.filter((t=>this.getValueAsString(n,t,i).toLowerCase().includes(e.value.toLowerCase()))));break;case"select":e.value&&(t=t.filter((t=>this.getValueAsString(n,t,i)===e.value)))}})),t}sortData(t){var e;if(this.currentSort){const i=this.columns[this.currentSort.column],o=null!==(e=i.comparator)&&void 0!==e?e:Gi,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 W`
1261
- <div class="${jt(i)}">
1260
+ `}filterData(){let t=[...this.data];return this.filters.forEach(((e,i)=>{var o;const n=this.columns[i];if(e)switch(null!==(o=n.filter)&&void 0!==o?o:"text"){case"text":e.value&&(t=t.filter((t=>this.getValueAsString(n,t,i).toLowerCase().includes(e.value.toLowerCase()))));break;case"select":e.value&&(t=t.filter((t=>this.getValueAsString(n,t,i)===e.value)))}})),t}sortData(t){var e;if(this.currentSort){const i=this.columns[this.currentSort.column],o=null!==(e=i.comparator)&&void 0!==e?e:eo,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 V`
1261
+ <div class="${It(i)}">
1262
1262
  <div class="column-title-container">
1263
1263
  <span class="column-title">${t.title}</span>
1264
1264
  ${this.renderColumnSort(t,e)}
1265
1265
  </div>
1266
- ${t.filter?W`
1266
+ ${t.filter?V`
1267
1267
  <div class="column-filter">
1268
1268
  ${this.renderColumnFilter(t,e)}
1269
1269
  </div>`:null}
1270
1270
  </div>
1271
- `}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 W`
1271
+ `}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 V`
1272
1272
  <ft-button
1273
1273
  round
1274
1274
  dense
@@ -1277,18 +1277,18 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
1277
1277
  label="Sort ${t.title}"
1278
1278
  @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"}}}
1279
1279
  ></ft-button>
1280
- `}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 W`
1280
+ `}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 V`
1281
1281
  <ft-text-field
1282
1282
  label="Search ${t.title}"
1283
1283
  @live-change="${n}"
1284
1284
  ></ft-text-field>
1285
- `;case"select":const i=null!==(o=this.selectData[e])&&void 0!==o?o:[];return i.length?W`
1285
+ `;case"select":const i=null!==(o=this.selectData[e])&&void 0!==o?o:[];return i.length?V`
1286
1286
  <ft-select label="Filter ${t.title}" @change=${n}>
1287
1287
  <ft-select-option></ft-select-option>
1288
- ${i.map((t=>W`
1288
+ ${i.map((t=>V`
1289
1289
  <ft-select-option value="${t}" label="${t}"></ft-select-option>
1290
1290
  `))}
1291
1291
  </ft-select>
1292
- `:null}return null}renderCell(t,e,i){var o;const n=null!==(o=t.render)&&void 0!==o?o:Yi;return W`
1293
- <div class="cell">${(t=>{const e=n(t,i);return"string"==typeof e?Dt(e):e})(this.getValue(t,e))}</div>
1294
- `}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)}}Qi.styles=qi,Xi([o({attribute:!1})],Qi.prototype,"data",void 0),Xi([o({attribute:!1})],Qi.prototype,"columns",void 0),Xi([o({attribute:!1})],Qi.prototype,"sort",void 0),Xi([o()],Qi.prototype,"stickyHeaders",void 0),Xi([n()],Qi.prototype,"currentSort",void 0),p("ft-filterable-table")(Qi),t.FtFilterableTable=Qi,t.FtFilterableTableCssVariables=Ji,t.RowClickEvent=Vi,t.styles=qi,Object.defineProperty(t,"i",{value:!0})}({});
1292
+ `:null}return null}renderCell(t,e,i){var o;const n=null!==(o=t.render)&&void 0!==o?o:to;return V`
1293
+ <div class="cell">${(t=>{const e=n(t,i);return"string"==typeof e?Lt(e):e})(this.getValue(t,e))}</div>
1294
+ `}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)}}io.styles=Gi,Qi([o({attribute:!1})],io.prototype,"data",void 0),Qi([o({attribute:!1})],io.prototype,"columns",void 0),Qi([o({attribute:!1})],io.prototype,"sort",void 0),Qi([o()],io.prototype,"stickyHeaders",void 0),Qi([n()],io.prototype,"currentSort",void 0),p("ft-filterable-table")(io),t.FtFilterableTable=io,t.FtFilterableTableCssVariables=Yi,t.RowClickEvent=Xi,t.styles=Gi,Object.defineProperty(t,"i",{value:!0})}({});