@fluid-topics/ft-filterable-table 0.2.16 → 0.2.17

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(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!p(e)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},d=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},h=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):h(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),a=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},b=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=b.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const v=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),x.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.pop()}})};if(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(jt){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 t{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 b=this._whenDefinedPromises.get(t);return void 0!==b&&(b.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!p(e)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},d=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},h=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):h(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),a=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},b=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=b.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const v=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),x.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.pop()}})};if(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 t{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
@@ -39,12 +39,13 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
39
39
  * @license
40
40
  * Copyright 2021 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */var r;const l=null!=(null===(r=window.HTMLSlotElement)||void 0===r?void 0:r.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));const a=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}
42
+ */var r;const l=null!=(null===(r=window.HTMLSlotElement)||void 0===r?void 0:r.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));const a=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2019 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
- */,p=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),d=new Map;class f{constructor(t,e){if(this._$cssResult$=!0,e!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=d.get(this.cssText);return p&&void 0===t&&(d.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const h=t=>new f("string"==typeof t?t:t+"",c),u=(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 f(i,c)},b=(t,e)=>{p?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=p?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return h(e)})(t):t
47
+ */
48
+ const p=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),d=new Map;class f{constructor(t,e){if(this._$cssResult$=!0,e!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=d.get(this.cssText);return p&&void 0===t&&(d.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const h=t=>new f("string"==typeof t?t:t+"",c),u=(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 f(i,c)},b=(t,e)=>{p?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=p?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return h(e)})(t):t
48
49
  /**
49
50
  * @license
50
51
  * Copyright 2017 Google LLC
@@ -55,23 +56,23 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
55
56
  * Copyright 2017 Google LLC
56
57
  * SPDX-License-Identifier: BSD-3-Clause
57
58
  */
58
- var k;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:S}),(null!==(v=globalThis.reactiveElementVersions)&&void 0!==v?v:globalThis.reactiveElementVersions=[]).push("1.3.2");const C=globalThis.trustedTypes,E=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,N=`lit$${(Math.random()+"").slice(9)}$`,R="?"+N,z=`<${R}>`,M=document,F=(t="")=>M.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,D=t=>{var e;return B(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,A=/>/g,L=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,I=/'/g,P=/"/g,_=/^(?:script|style|textarea|title)$/i,H=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),K=new WeakMap,V=M.createTreeWalker(M,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=j;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===j?"!--"===a[1]?r=T:void 0!==a[1]?r=A:void 0!==a[2]?(_.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=L):void 0!==a[3]&&(r=L):r===L?">"===a[0]?(r=null!=n?n:j,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?L:'"'===a[3]?P:I):r===P||r===I?r=L:r===T||r===A?r=j:(r=L,n=void 0);const d=r===L&&t[e+1].startsWith("/>")?" ":"";s+=r===j?i+z:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+N+d):i+N+(-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!==E?E.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),V.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=V.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(N)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(N),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?tt:"?"===e[1]?it:"@"===e[1]?ot:Q})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(N),e=t.length-1;if(e>0){o.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],F()),V.nextNode(),l.push({type:2,index:++n});o.append(t[e],F())}}}else if(8===o.nodeType)if(o.data===R)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(N,t+1));)l.push({type:7,index:n}),t+=N.length-1}n++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var n,s,r,l;if(e===W)return e;let a=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=U(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=J(t,a._$AS(t,e.values),a,o)),e}class Y{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:M).importNode(i,!0);V.currentNode=n;let s=V.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new G(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new nt(s,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=V.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 G{constructor(t,e,i,o){var n;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=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._$Cg}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=J(this,t,e),U(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==W&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):D(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==Z&&U(this._$AH)?this._$AA.nextSibling.data=t:this.k(M.createTextNode(t)),this._$AH=t}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 Y(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new X(t)),e}S(t){B(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 G(this.M(F()),this.M(F()),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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Q{constructor(t,e,i,o,n){this.type=1,this._$AH=Z,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=Z}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=J(this,t,e,0),s=!U(t)||t!==this._$AH&&t!==W,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=J(this,o[i+r],e,r),l===W&&(l=this._$AH[r]),s||(s=!U(l)||l!==this._$AH[r]),l===Z?t=Z:t!==Z&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.C(t)}C(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Q{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===Z?void 0:t}}const et=C?C.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}C(t){t&&t!==Z?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class ot extends Q{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=J(this,t,e,0))&&void 0!==i?i:Z)===W)return;const o=this._$AH,n=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Z&&(o===Z||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 nt{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){J(this,t)}}const st={L:"$lit$",P:N,V:R,I:1,N:q,R:Y,j:D,D:J,H:G,F:Q,O:it,W:ot,B:tt,Z:nt},rt=window.litHtmlPolyfillSupport;
59
+ var k;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:S}),(null!==(v=globalThis.reactiveElementVersions)&&void 0!==v?v:globalThis.reactiveElementVersions=[]).push("1.3.2");const C=globalThis.trustedTypes,E=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,N=`lit$${(Math.random()+"").slice(9)}$`,R="?"+N,z=`<${R}>`,M=document,F=(t="")=>M.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,D=t=>{var e;return B(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,T=/>/g,L=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,I=/'/g,P=/"/g,_=/^(?:script|style|textarea|title)$/i,H=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),K=new WeakMap,V=M.createTreeWalker(M,129,null,!1),J=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=j;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===j?"!--"===a[1]?r=A:void 0!==a[1]?r=T:void 0!==a[2]?(_.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=L):void 0!==a[3]&&(r=L):r===L?">"===a[0]?(r=null!=n?n:j,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?L:'"'===a[3]?P:I):r===P||r===I?r=L:r===A||r===T?r=j:(r=L,n=void 0);const d=r===L&&t[e+1].startsWith("/>")?" ":"";s+=r===j?i+z:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+N+d):i+N+(-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!==E?E.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]=J(t,e);if(this.el=q.createElement(a,i),V.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=V.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(N)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(N),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?tt:"?"===e[1]?it:"@"===e[1]?ot:Q})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(N),e=t.length-1;if(e>0){o.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],F()),V.nextNode(),l.push({type:2,index:++n});o.append(t[e],F())}}}else if(8===o.nodeType)if(o.data===R)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(N,t+1));)l.push({type:7,index:n}),t+=N.length-1}n++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function X(t,e,i=t,o){var n,s,r,l;if(e===W)return e;let a=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=U(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=X(t,a._$AS(t,e.values),a,o)),e}class Y{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:M).importNode(i,!0);V.currentNode=n;let s=V.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new G(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new nt(s,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=V.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 G{constructor(t,e,i,o){var n;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=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._$Cg}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=X(this,t,e),U(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==W&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):D(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==Z&&U(this._$AH)?this._$AA.nextSibling.data=t:this.k(M.createTextNode(t)),this._$AH=t}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.m(i);else{const t=new Y(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new q(t)),e}S(t){B(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 G(this.M(F()),this.M(F()),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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Q{constructor(t,e,i,o,n){this.type=1,this._$AH=Z,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=Z}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=X(this,t,e,0),s=!U(t)||t!==this._$AH&&t!==W,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=X(this,o[i+r],e,r),l===W&&(l=this._$AH[r]),s||(s=!U(l)||l!==this._$AH[r]),l===Z?t=Z:t!==Z&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.C(t)}C(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Q{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===Z?void 0:t}}const et=C?C.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}C(t){t&&t!==Z?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class ot extends Q{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=X(this,t,e,0))&&void 0!==i?i:Z)===W)return;const o=this._$AH,n=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Z&&(o===Z||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 nt{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){X(this,t)}}const st={L:"$lit$",P:N,V:R,I:1,N:J,R:Y,j:D,D:X,H:G,F:Q,O:it,W:ot,B:tt,Z:nt},rt=window.litHtmlPolyfillSupport;
59
60
  /**
60
61
  * @license
61
62
  * Copyright 2017 Google LLC
62
63
  * SPDX-License-Identifier: BSD-3-Clause
63
64
  */
64
- var lt,at;null==rt||rt(X,G),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k:globalThis.litHtmlVersions=[]).push("2.2.4");class pt extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=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._$Dt=((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 G(e.insertBefore(F(),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._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return W}}pt.finalized=!0,pt._$litElement$=!0,null===(lt=globalThis.litElementHydrateSupport)||void 0===lt||lt.call(globalThis,{LitElement:pt});const ct=globalThis.litElementPolyfillSupport;null==ct||ct({LitElement:pt}),(null!==(at=globalThis.litElementVersions)&&void 0!==at?at:globalThis.litElementVersions=[]).push("3.2.0");class dt{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new dt(t,e,void 0,i)}static extend(t,e,i){return new dt(t,e.category,e,i)}static external(t,e){return new dt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return u`var(${h(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):h(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function ft(t,e){return h(`${t.name}: ${e}`)}const ht={colorPrimary:dt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:dt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:dt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:dt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:dt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:dt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:dt.create("--ft-color-error","COLOR","#B00020"),colorOutline:dt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:dt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:dt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:dt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:dt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:dt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:dt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:dt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:dt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:dt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:dt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:dt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:dt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:dt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:dt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:dt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:dt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:dt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:dt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:dt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:dt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:dt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:dt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:dt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:dt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:dt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:dt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:dt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:dt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:dt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:dt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:dt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:dt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:dt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:dt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:dt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:dt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:dt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:dt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:dt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:dt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:dt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:dt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:dt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
65
+ var lt,at;null==rt||rt(q,G),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k:globalThis.litHtmlVersions=[]).push("2.2.4");class pt extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=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._$Dt=((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 G(e.insertBefore(F(),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._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return W}}pt.finalized=!0,pt._$litElement$=!0,null===(lt=globalThis.litElementHydrateSupport)||void 0===lt||lt.call(globalThis,{LitElement:pt});const ct=globalThis.litElementPolyfillSupport;null==ct||ct({LitElement:pt}),(null!==(at=globalThis.litElementVersions)&&void 0!==at?at:globalThis.litElementVersions=[]).push("3.2.0");class dt{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new dt(t,e,void 0,i)}static extend(t,e,i){return new dt(t,e.category,e,i)}static external(t,e){return new dt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return u`var(${h(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):h(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function ft(t,e){return h(`${t.name}: ${e}`)}const ht={colorPrimary:dt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:dt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:dt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:dt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:dt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:dt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:dt.create("--ft-color-error","COLOR","#B00020"),colorOutline:dt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:dt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:dt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:dt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:dt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:dt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:dt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:dt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:dt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:dt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:dt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:dt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:dt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:dt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:dt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:dt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:dt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:dt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:dt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:dt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:dt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:dt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:dt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:dt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:dt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:dt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:dt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:dt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:dt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:dt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:dt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:dt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:dt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:dt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:dt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:dt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:dt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:dt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:dt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:dt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:dt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:dt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:dt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:dt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
65
66
  /**
66
67
  * @license
67
68
  * Copyright 2021 Google LLC
68
69
  * SPDX-License-Identifier: BSD-3-Clause
69
- */class ut 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 b(n,this.constructor.elementStyles),n}}}(pt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),H`
70
+ */var ut=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 bt 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 b(n,this.constructor.elementStyles),n}}}(pt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),H`
70
71
  ${t.map((t=>H`
71
72
  <style>${t}</style>
72
73
  `))}
73
74
  ${this.getTemplate()}
74
- `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}const bt=u`
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;let l=[];for(let a of t){let t=null==a?void 0:a.trim();if(t)for(let a of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){let e=null!==(n=null===(o=a.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(r=null===(s=a.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];const p=[...new Set([...e,...i])].filter((t=>null!=t&&t.trim().length>0)).map((t=>t.trim())).map((e=>`${e}:${t}--${e}`));l.push(...p)}}this.setAttribute("exportparts",l.join(", "))}contentAvailableCallback(t){}}ut([i()],bt.prototype,"exportpartsPrefix",void 0),ut([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return i({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],bt.prototype,"exportpartsPrefixes",void 0);const xt=u`
75
76
  .ft-no-text-select {
76
77
  -webkit-touch-callout: none;
77
78
  -webkit-user-select: none;
@@ -80,17 +81,17 @@ var lt,at;null==rt||rt(X,G),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k
80
81
  -ms-user-select: none;
81
82
  user-select: none;
82
83
  }
83
- `;var xt,vt,yt;const gt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(yt=null===(vt=null===(xt=window.safari)||void 0===xt?void 0:xt.pushNotification)||void 0===vt?void 0:vt.toString())&&void 0!==yt?yt:""),mt=1,$t=2,wt=t=>(...e)=>({_$litDirective$:t,values:e});
84
+ `;var vt,yt,gt;const mt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(gt=null===(yt=null===(vt=window.safari)||void 0===vt?void 0:vt.pushNotification)||void 0===yt?void 0:yt.toString())&&void 0!==gt?gt:""),$t=1,wt=2,Ot=t=>(...e)=>({_$litDirective$:t,values:e});
84
85
  /**
85
86
  * @license
86
87
  * Copyright 2017 Google LLC
87
88
  * SPDX-License-Identifier: BSD-3-Clause
88
- */class Ot{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)}}
89
+ */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)}}
89
90
  /**
90
91
  * @license
91
92
  * Copyright 2020 Google LLC
92
93
  * SPDX-License-Identifier: BSD-3-Clause
93
- */const{H:St}=st,kt=()=>document.createComment(""),Ct=(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(kt(),s),o=n.insertBefore(kt(),s);i=new St(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},Et=(t,e,i=t)=>(t._$AI(e,i),t),Nt={},Rt=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}},zt=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},Mt=wt(class extends Ot{constructor(t){if(super(t),t.type!==$t)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const 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.dt(t,e,i).values}update(t,[e,i,o]){var n;const s=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(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]=Et(s[f],r[u]),f++,u++;else if(a[h]===l[b])p[b]=Et(s[h],r[b]),h--,b--;else if(a[f]===l[b])p[b]=Et(s[f],r[b]),Ct(t,p[b+1],s[f]),f++,b--;else if(a[h]===l[u])p[u]=Et(s[h],r[u]),Ct(t,s[f],s[h]),h--,u++;else if(void 0===c&&(c=zt(l,u,b),d=zt(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=Ct(t,s[f]);Et(e,r[u]),p[u]=e}else p[u]=Et(i,r[u]),Ct(t,s[f],i),s[e]=null;u++}else Rt(s[h]),h--;else Rt(s[f]),f++;for(;u<=b;){const e=Ct(t,p[b+1]);Et(e,r[u]),p[u++]=e}for(;f<=h;){const t=s[f++];null!==t&&Rt(t)}return this.ut=l,((t,e=Nt)=>{t._$AH=e})(t,p),W}});
94
+ */const{H:kt}=st,Ct=()=>document.createComment(""),Et=(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(Ct(),s),o=n.insertBefore(Ct(),s);i=new kt(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},Nt=(t,e,i=t)=>(t._$AI(e,i),t),Rt={},zt=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}},Mt=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},Ft=Ot(class extends St{constructor(t){if(super(t),t.type!==wt)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const 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.dt(t,e,i).values}update(t,[e,i,o]){var n;const s=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(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]=Nt(s[f],r[u]),f++,u++;else if(a[h]===l[b])p[b]=Nt(s[h],r[b]),h--,b--;else if(a[f]===l[b])p[b]=Nt(s[f],r[b]),Et(t,p[b+1],s[f]),f++,b--;else if(a[h]===l[u])p[u]=Nt(s[h],r[u]),Et(t,s[f],s[h]),h--,u++;else if(void 0===c&&(c=Mt(l,u,b),d=Mt(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=Et(t,s[f]);Nt(e,r[u]),p[u]=e}else p[u]=Nt(i,r[u]),Et(t,s[f],i),s[e]=null;u++}else zt(s[h]),h--;else zt(s[f]),f++;for(;u<=b;){const e=Et(t,p[b+1]);Nt(e,r[u]),p[u++]=e}for(;f<=h;){const t=s[f++];null!==t&&zt(t)}return this.ut=l,((t,e=Rt)=>{t._$AH=e})(t,p),W}});
94
95
  /**
95
96
  * @license
96
97
  * Copyright 2017 Google LLC
@@ -101,115 +102,115 @@ var lt,at;null==rt||rt(X,G),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k
101
102
  * Copyright 2017 Google LLC
102
103
  * SPDX-License-Identifier: BSD-3-Clause
103
104
  */
104
- class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.ft=void 0,this.it=t;if(t===W)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ft.directiveName="unsafeHTML",Ft.resultType=1;const Ut=wt(Ft),Bt=wt(class extends Ot{constructor(t){var e;if(super(t),t.type!==mt||"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.et){this.et=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.et.add(t);return this.render(e)}const n=t.element.classList;this.et.forEach((t=>{t in e||(n.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.et.add(t)):(n.remove(t),this.et.delete(t)))}return W}}),Dt=Symbol.for(""),jt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===Dt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Tt=t=>({_$litStatic$:t,r:Dt}),At=new Map,Lt=(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=jt(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=At.get(t))&&(r.raw=r,At.set(t,e=r)),i=l}return t(e,...i)})(H);
105
+ class Ut extends St{constructor(t){if(super(t),this.it=Z,t.type!==wt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.ft=void 0,this.it=t;if(t===W)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ut.directiveName="unsafeHTML",Ut.resultType=1;const Bt=Ot(Ut),Dt=Ot(class extends St{constructor(t){var e;if(super(t),t.type!==$t||"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.et){this.et=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.et.add(t);return this.render(e)}const n=t.element.classList;this.et.forEach((t=>{t in e||(n.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.et.add(t)):(n.remove(t),this.et.delete(t)))}return W}}),jt=Symbol.for(""),At=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===jt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Tt=t=>({_$litStatic$:t,r:jt}),Lt=new Map,It=(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=At(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=Lt.get(t))&&(r.raw=r,Lt.set(t,e=r)),i=l}return t(e,...i)})(H);
105
106
  /**
106
107
  * @license
107
108
  * Copyright 2018 Google LLC
108
109
  * SPDX-License-Identifier: BSD-3-Clause
109
- */var It,Pt=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};!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"}(It||(It={}));const _t=dt.extend("--ft-typography-font-family",ht.titleFont),Ht=dt.extend("--ft-typography-font-family",ht.contentFont),Wt={fontFamily:Ht,fontSize:dt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:dt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:dt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:dt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:dt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Zt=dt.extend("--ft-typography-title-font-family",_t),Kt=dt.extend("--ft-typography-title-font-size",Wt.fontSize,"20px"),Vt=dt.extend("--ft-typography-title-font-weight",Wt.fontWeight,"normal"),qt=dt.extend("--ft-typography-title-letter-spacing",Wt.letterSpacing,"0.15px"),Xt=dt.extend("--ft-typography-title-line-height",Wt.lineHeight,"1.2"),Jt=dt.extend("--ft-typography-title-text-transform",Wt.textTransform,"inherit"),Yt=dt.extend("--ft-typography-title-dense-font-family",_t),Gt=dt.extend("--ft-typography-title-dense-font-size",Wt.fontSize,"14px"),Qt=dt.extend("--ft-typography-title-dense-font-weight",Wt.fontWeight,"normal"),te=dt.extend("--ft-typography-title-dense-letter-spacing",Wt.letterSpacing,"0.105px"),ee=dt.extend("--ft-typography-title-dense-line-height",Wt.lineHeight,"1.7"),ie=dt.extend("--ft-typography-title-dense-text-transform",Wt.textTransform,"inherit"),oe=dt.extend("--ft-typography-subtitle1-font-family",Ht),ne=dt.extend("--ft-typography-subtitle1-font-size",Wt.fontSize,"16px"),se=dt.extend("--ft-typography-subtitle1-font-weight",Wt.fontWeight,"600"),re=dt.extend("--ft-typography-subtitle1-letter-spacing",Wt.letterSpacing,"0.144px"),le=dt.extend("--ft-typography-subtitle1-line-height",Wt.lineHeight,"1.5"),ae=dt.extend("--ft-typography-subtitle1-text-transform",Wt.textTransform,"inherit"),pe=dt.extend("--ft-typography-subtitle2-font-family",Ht),ce=dt.extend("--ft-typography-subtitle2-font-size",Wt.fontSize,"14px"),de=dt.extend("--ft-typography-subtitle2-font-weight",Wt.fontWeight,"normal"),fe=dt.extend("--ft-typography-subtitle2-letter-spacing",Wt.letterSpacing,"0.098px"),he=dt.extend("--ft-typography-subtitle2-line-height",Wt.lineHeight,"1.7"),ue=dt.extend("--ft-typography-subtitle2-text-transform",Wt.textTransform,"inherit"),be={fontFamily:dt.extend("--ft-typography-body1-font-family",Ht),fontSize:dt.extend("--ft-typography-body1-font-size",Wt.fontSize,"16px"),fontWeight:dt.extend("--ft-typography-body1-font-weight",Wt.fontWeight,"normal"),letterSpacing:dt.extend("--ft-typography-body1-letter-spacing",Wt.letterSpacing,"0.496px"),lineHeight:dt.extend("--ft-typography-body1-line-height",Wt.lineHeight,"1.5"),textTransform:dt.extend("--ft-typography-body1-text-transform",Wt.textTransform,"inherit")},xe=dt.extend("--ft-typography-body2-font-family",Ht),ve=dt.extend("--ft-typography-body2-font-size",Wt.fontSize,"14px"),ye=dt.extend("--ft-typography-body2-font-weight",Wt.fontWeight,"normal"),ge=dt.extend("--ft-typography-body2-letter-spacing",Wt.letterSpacing,"0.252px"),me=dt.extend("--ft-typography-body2-line-height",Wt.lineHeight,"1.4"),$e=dt.extend("--ft-typography-body2-text-transform",Wt.textTransform,"inherit"),we={fontFamily:dt.extend("--ft-typography-caption-font-family",Ht),fontSize:dt.extend("--ft-typography-caption-font-size",Wt.fontSize,"12px"),fontWeight:dt.extend("--ft-typography-caption-font-weight",Wt.fontWeight,"normal"),letterSpacing:dt.extend("--ft-typography-caption-letter-spacing",Wt.letterSpacing,"0.396px"),lineHeight:dt.extend("--ft-typography-caption-line-height",Wt.lineHeight,"1.33"),textTransform:dt.extend("--ft-typography-caption-text-transform",Wt.textTransform,"inherit")},Oe=dt.extend("--ft-typography-breadcrumb-font-family",Ht),Se=dt.extend("--ft-typography-breadcrumb-font-size",Wt.fontSize,"10px"),ke=dt.extend("--ft-typography-breadcrumb-font-weight",Wt.fontWeight,"normal"),Ce=dt.extend("--ft-typography-breadcrumb-letter-spacing",Wt.letterSpacing,"0.33px"),Ee=dt.extend("--ft-typography-breadcrumb-line-height",Wt.lineHeight,"1.6"),Ne=dt.extend("--ft-typography-breadcrumb-text-transform",Wt.textTransform,"inherit"),Re=dt.extend("--ft-typography-overline-font-family",Ht),ze=dt.extend("--ft-typography-overline-font-size",Wt.fontSize,"10px"),Me=dt.extend("--ft-typography-overline-font-weight",Wt.fontWeight,"normal"),Fe=dt.extend("--ft-typography-overline-letter-spacing",Wt.letterSpacing,"1.5px"),Ue=dt.extend("--ft-typography-overline-line-height",Wt.lineHeight,"1.6"),Be=dt.extend("--ft-typography-overline-text-transform",Wt.textTransform,"uppercase"),De={fontFamily:dt.extend("--ft-typography-button-font-family",Ht),fontSize:dt.extend("--ft-typography-button-font-size",Wt.fontSize,"14px"),fontWeight:dt.extend("--ft-typography-button-font-weight",Wt.fontWeight,"600"),letterSpacing:dt.extend("--ft-typography-button-letter-spacing",Wt.letterSpacing,"1.246px"),lineHeight:dt.extend("--ft-typography-button-line-height",Wt.lineHeight,"1.15"),textTransform:dt.extend("--ft-typography-button-text-transform",Wt.textTransform,"uppercase")},je=u`
110
+ */var Pt,_t=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!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"}(Pt||(Pt={}));const Ht=dt.extend("--ft-typography-font-family",ht.titleFont),Wt=dt.extend("--ft-typography-font-family",ht.contentFont),Zt={fontFamily:Wt,fontSize:dt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:dt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:dt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:dt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:dt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Kt=dt.extend("--ft-typography-title-font-family",Ht),Vt=dt.extend("--ft-typography-title-font-size",Zt.fontSize,"20px"),Jt=dt.extend("--ft-typography-title-font-weight",Zt.fontWeight,"normal"),qt=dt.extend("--ft-typography-title-letter-spacing",Zt.letterSpacing,"0.15px"),Xt=dt.extend("--ft-typography-title-line-height",Zt.lineHeight,"1.2"),Yt=dt.extend("--ft-typography-title-text-transform",Zt.textTransform,"inherit"),Gt=dt.extend("--ft-typography-title-dense-font-family",Ht),Qt=dt.extend("--ft-typography-title-dense-font-size",Zt.fontSize,"14px"),te=dt.extend("--ft-typography-title-dense-font-weight",Zt.fontWeight,"normal"),ee=dt.extend("--ft-typography-title-dense-letter-spacing",Zt.letterSpacing,"0.105px"),ie=dt.extend("--ft-typography-title-dense-line-height",Zt.lineHeight,"1.7"),oe=dt.extend("--ft-typography-title-dense-text-transform",Zt.textTransform,"inherit"),ne=dt.extend("--ft-typography-subtitle1-font-family",Wt),se=dt.extend("--ft-typography-subtitle1-font-size",Zt.fontSize,"16px"),re=dt.extend("--ft-typography-subtitle1-font-weight",Zt.fontWeight,"600"),le=dt.extend("--ft-typography-subtitle1-letter-spacing",Zt.letterSpacing,"0.144px"),ae=dt.extend("--ft-typography-subtitle1-line-height",Zt.lineHeight,"1.5"),pe=dt.extend("--ft-typography-subtitle1-text-transform",Zt.textTransform,"inherit"),ce=dt.extend("--ft-typography-subtitle2-font-family",Wt),de=dt.extend("--ft-typography-subtitle2-font-size",Zt.fontSize,"14px"),fe=dt.extend("--ft-typography-subtitle2-font-weight",Zt.fontWeight,"normal"),he=dt.extend("--ft-typography-subtitle2-letter-spacing",Zt.letterSpacing,"0.098px"),ue=dt.extend("--ft-typography-subtitle2-line-height",Zt.lineHeight,"1.7"),be=dt.extend("--ft-typography-subtitle2-text-transform",Zt.textTransform,"inherit"),xe={fontFamily:dt.extend("--ft-typography-body1-font-family",Wt),fontSize:dt.extend("--ft-typography-body1-font-size",Zt.fontSize,"16px"),fontWeight:dt.extend("--ft-typography-body1-font-weight",Zt.fontWeight,"normal"),letterSpacing:dt.extend("--ft-typography-body1-letter-spacing",Zt.letterSpacing,"0.496px"),lineHeight:dt.extend("--ft-typography-body1-line-height",Zt.lineHeight,"1.5"),textTransform:dt.extend("--ft-typography-body1-text-transform",Zt.textTransform,"inherit")},ve=dt.extend("--ft-typography-body2-font-family",Wt),ye=dt.extend("--ft-typography-body2-font-size",Zt.fontSize,"14px"),ge=dt.extend("--ft-typography-body2-font-weight",Zt.fontWeight,"normal"),me=dt.extend("--ft-typography-body2-letter-spacing",Zt.letterSpacing,"0.252px"),$e=dt.extend("--ft-typography-body2-line-height",Zt.lineHeight,"1.4"),we=dt.extend("--ft-typography-body2-text-transform",Zt.textTransform,"inherit"),Oe={fontFamily:dt.extend("--ft-typography-caption-font-family",Wt),fontSize:dt.extend("--ft-typography-caption-font-size",Zt.fontSize,"12px"),fontWeight:dt.extend("--ft-typography-caption-font-weight",Zt.fontWeight,"normal"),letterSpacing:dt.extend("--ft-typography-caption-letter-spacing",Zt.letterSpacing,"0.396px"),lineHeight:dt.extend("--ft-typography-caption-line-height",Zt.lineHeight,"1.33"),textTransform:dt.extend("--ft-typography-caption-text-transform",Zt.textTransform,"inherit")},Se=dt.extend("--ft-typography-breadcrumb-font-family",Wt),ke=dt.extend("--ft-typography-breadcrumb-font-size",Zt.fontSize,"10px"),Ce=dt.extend("--ft-typography-breadcrumb-font-weight",Zt.fontWeight,"normal"),Ee=dt.extend("--ft-typography-breadcrumb-letter-spacing",Zt.letterSpacing,"0.33px"),Ne=dt.extend("--ft-typography-breadcrumb-line-height",Zt.lineHeight,"1.6"),Re=dt.extend("--ft-typography-breadcrumb-text-transform",Zt.textTransform,"inherit"),ze=dt.extend("--ft-typography-overline-font-family",Wt),Me=dt.extend("--ft-typography-overline-font-size",Zt.fontSize,"10px"),Fe=dt.extend("--ft-typography-overline-font-weight",Zt.fontWeight,"normal"),Ue=dt.extend("--ft-typography-overline-letter-spacing",Zt.letterSpacing,"1.5px"),Be=dt.extend("--ft-typography-overline-line-height",Zt.lineHeight,"1.6"),De=dt.extend("--ft-typography-overline-text-transform",Zt.textTransform,"uppercase"),je={fontFamily:dt.extend("--ft-typography-button-font-family",Wt),fontSize:dt.extend("--ft-typography-button-font-size",Zt.fontSize,"14px"),fontWeight:dt.extend("--ft-typography-button-font-weight",Zt.fontWeight,"600"),letterSpacing:dt.extend("--ft-typography-button-letter-spacing",Zt.letterSpacing,"1.246px"),lineHeight:dt.extend("--ft-typography-button-line-height",Zt.lineHeight,"1.15"),textTransform:dt.extend("--ft-typography-button-text-transform",Zt.textTransform,"uppercase")},Ae=u`
110
111
  .ft-typography--title {
111
- font-family: ${Zt};
112
- font-size: ${Kt};
113
- font-weight: ${Vt};
112
+ font-family: ${Kt};
113
+ font-size: ${Vt};
114
+ font-weight: ${Jt};
114
115
  letter-spacing: ${qt};
115
116
  line-height: ${Xt};
116
- text-transform: ${Jt};
117
+ text-transform: ${Yt};
117
118
  }
118
119
  `,Te=u`
119
120
  .ft-typography--title-dense {
120
- font-family: ${Yt};
121
- font-size: ${Gt};
122
- font-weight: ${Qt};
123
- letter-spacing: ${te};
124
- line-height: ${ee};
125
- text-transform: ${ie};
121
+ font-family: ${Gt};
122
+ font-size: ${Qt};
123
+ font-weight: ${te};
124
+ letter-spacing: ${ee};
125
+ line-height: ${ie};
126
+ text-transform: ${oe};
126
127
  }
127
- `,Ae=u`
128
+ `,Le=u`
128
129
  .ft-typography--subtitle1 {
129
- font-family: ${oe};
130
- font-size: ${ne};
131
- font-weight: ${se};
132
- letter-spacing: ${re};
133
- line-height: ${le};
134
- text-transform: ${ae};
130
+ font-family: ${ne};
131
+ font-size: ${se};
132
+ font-weight: ${re};
133
+ letter-spacing: ${le};
134
+ line-height: ${ae};
135
+ text-transform: ${pe};
135
136
  }
136
- `,Le=u`
137
+ `,Ie=u`
137
138
  .ft-typography--subtitle2 {
138
- font-family: ${pe};
139
- font-size: ${ce};
140
- font-weight: ${de};
141
- letter-spacing: ${fe};
142
- line-height: ${he};
143
- text-transform: ${ue};
139
+ font-family: ${ce};
140
+ font-size: ${de};
141
+ font-weight: ${fe};
142
+ letter-spacing: ${he};
143
+ line-height: ${ue};
144
+ text-transform: ${be};
144
145
  }
145
146
 
146
- `,Ie=u`
147
+ `,Pe=u`
147
148
  .ft-typography--body1 {
148
- font-family: ${be.fontFamily};
149
- font-size: ${be.fontSize};
150
- font-weight: ${be.fontWeight};
151
- letter-spacing: ${be.letterSpacing};
152
- line-height: ${be.lineHeight};
153
- text-transform: ${be.textTransform};
149
+ font-family: ${xe.fontFamily};
150
+ font-size: ${xe.fontSize};
151
+ font-weight: ${xe.fontWeight};
152
+ letter-spacing: ${xe.letterSpacing};
153
+ line-height: ${xe.lineHeight};
154
+ text-transform: ${xe.textTransform};
154
155
  }
155
- `,Pe=u`
156
+ `,_e=u`
156
157
  .ft-typography--body2 {
157
- font-family: ${xe};
158
- font-size: ${ve};
159
- font-weight: ${ye};
160
- letter-spacing: ${ge};
161
- line-height: ${me};
162
- text-transform: ${$e};
158
+ font-family: ${ve};
159
+ font-size: ${ye};
160
+ font-weight: ${ge};
161
+ letter-spacing: ${me};
162
+ line-height: ${$e};
163
+ text-transform: ${we};
163
164
  }
164
- `,_e=u`
165
+ `,He=u`
165
166
  .ft-typography--caption {
166
- font-family: ${we.fontFamily};
167
- font-size: ${we.fontSize};
168
- font-weight: ${we.fontWeight};
169
- letter-spacing: ${we.letterSpacing};
170
- line-height: ${we.lineHeight};
171
- text-transform: ${we.textTransform};
167
+ font-family: ${Oe.fontFamily};
168
+ font-size: ${Oe.fontSize};
169
+ font-weight: ${Oe.fontWeight};
170
+ letter-spacing: ${Oe.letterSpacing};
171
+ line-height: ${Oe.lineHeight};
172
+ text-transform: ${Oe.textTransform};
172
173
  }
173
- `,He=u`
174
+ `,We=u`
174
175
  .ft-typography--breadcrumb {
175
- font-family: ${Oe};
176
- font-size: ${Se};
177
- font-weight: ${ke};
178
- letter-spacing: ${Ce};
179
- line-height: ${Ee};
180
- text-transform: ${Ne};
176
+ font-family: ${Se};
177
+ font-size: ${ke};
178
+ font-weight: ${Ce};
179
+ letter-spacing: ${Ee};
180
+ line-height: ${Ne};
181
+ text-transform: ${Re};
181
182
  }
182
- `,We=u`
183
+ `,Ze=u`
183
184
  .ft-typography--overline {
184
- font-family: ${Re};
185
- font-size: ${ze};
186
- font-weight: ${Me};
187
- letter-spacing: ${Fe};
188
- line-height: ${Ue};
189
- text-transform: ${Be};
185
+ font-family: ${ze};
186
+ font-size: ${Me};
187
+ font-weight: ${Fe};
188
+ letter-spacing: ${Ue};
189
+ line-height: ${Be};
190
+ text-transform: ${De};
190
191
  }
191
- `,Ze=u`
192
+ `,Ke=u`
192
193
  .ft-typography--button {
193
- font-family: ${De.fontFamily};
194
- font-size: ${De.fontSize};
195
- font-weight: ${De.fontWeight};
196
- letter-spacing: ${De.letterSpacing};
197
- line-height: ${De.lineHeight};
198
- text-transform: ${De.textTransform};
194
+ font-family: ${je.fontFamily};
195
+ font-size: ${je.fontSize};
196
+ font-weight: ${je.fontWeight};
197
+ letter-spacing: ${je.letterSpacing};
198
+ line-height: ${je.lineHeight};
199
+ text-transform: ${je.textTransform};
199
200
  }
200
- `;class Ke extends ut{constructor(){super(...arguments),this.variant=It.body1}render(){return this.element?Lt`
201
+ `;class Ve extends bt{constructor(){super(...arguments),this.variant=Pt.body1}render(){return this.element?It`
201
202
  <${Tt(this.element)}
202
203
  class="ft-typography ft-typography--${this.variant}">
203
204
  <slot></slot>
204
205
  </${Tt(this.element)}>
205
- `:Lt`
206
+ `:It`
206
207
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
207
- `}}Ke.styles=[je,Te,Ae,Le,Ie,Pe,_e,He,We,Ze,u`
208
+ `}}Ve.styles=[Ae,Te,Le,Ie,Pe,_e,He,We,Ze,Ke,u`
208
209
  .ft-typography {
209
210
  vertical-align: inherit;
210
211
  }
211
- `],Pt([i()],Ke.prototype,"element",void 0),Pt([i()],Ke.prototype,"variant",void 0),a("ft-typography")(Ke);var Ve=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 qe={fontSize:dt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:dt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:dt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:dt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:dt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:dt.extend("--ft-input-label-border-color",ht.colorOutline),textColor:dt.extend("--ft-input-label-text-color",ht.colorOnSurfaceMedium),disabledTextColor:dt.extend("--ft-input-label-disabled-text-color",ht.colorOnSurfaceDisabled),colorSurface:dt.external(ht.colorSurface,"Design system"),borderRadiusS:dt.external(ht.borderRadiusS,"Design system"),colorError:dt.external(ht.colorError,"Design system")};class Xe extends ut{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return H`
212
- <div class="${Bt(t)}">
212
+ `],_t([i()],Ve.prototype,"element",void 0),_t([i()],Ve.prototype,"variant",void 0),a("ft-typography")(Ve);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};const qe={fontSize:dt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:dt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:dt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:dt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:dt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:dt.extend("--ft-input-label-border-color",ht.colorOutline),textColor:dt.extend("--ft-input-label-text-color",ht.colorOnSurfaceMedium),disabledTextColor:dt.extend("--ft-input-label-disabled-text-color",ht.colorOnSurfaceDisabled),colorSurface:dt.external(ht.colorSurface,"Design system"),borderRadiusS:dt.external(ht.borderRadiusS,"Design system"),colorError:dt.external(ht.colorError,"Design system")};class Xe extends bt{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 H`
213
+ <div class="${Dt(t)}">
213
214
  ${this.text?H`
214
215
  <div class="ft-input-label--text ft-typography--caption">
215
216
  <span class="ft-input-label--floating-text">${this.text}</span>
@@ -217,7 +218,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
217
218
  </div>
218
219
  `:null}
219
220
  </div>
220
- `}}Xe.elementDefinitions={},Xe.styles=[_e,u`
221
+ `}}Xe.elementDefinitions={},Xe.styles=[He,u`
221
222
  .ft-input-label {
222
223
  position: absolute;
223
224
  inset: 0;
@@ -260,8 +261,8 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
260
261
  border-color: inherit;
261
262
  color: ${qe.textColor};
262
263
  transition: font-size 250ms, line-height 250ms, color 250ms;
263
- ${ft(we.fontSize,qe.fontSize)};
264
- ${ft(we.lineHeight,qe.fontSize)};
264
+ ${ft(Oe.fontSize,qe.fontSize)};
265
+ ${ft(Oe.lineHeight,qe.fontSize)};
265
266
  }
266
267
 
267
268
  .ft-input-label--in-error .ft-input-label--text {
@@ -290,8 +291,8 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
290
291
  }
291
292
 
292
293
  .ft-input-label--raised .ft-input-label--text {
293
- ${ft(we.fontSize,qe.raisedFontSize)};
294
- ${ft(we.lineHeight,qe.raisedFontSize)};
294
+ ${ft(Oe.fontSize,qe.raisedFontSize)};
295
+ ${ft(Oe.lineHeight,qe.raisedFontSize)};
295
296
  }
296
297
 
297
298
  .ft-input-label--raised .ft-input-label--floating-text {
@@ -328,7 +329,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
328
329
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
329
330
  border-top: none;
330
331
  }
331
- `],Ve([i({type:String})],Xe.prototype,"text",void 0),Ve([i({type:Boolean})],Xe.prototype,"raised",void 0),Ve([i({type:Boolean})],Xe.prototype,"outlined",void 0),Ve([i({type:Boolean})],Xe.prototype,"disabled",void 0),Ve([i({type:Boolean})],Xe.prototype,"error",void 0),a("ft-input-label")(Xe);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};const Ye=dt.extend("--ft-ripple-color",ht.colorContent),Ge={color:Ye,backgroundColor:dt.extend("--ft-ripple-background-color",Ye),opacityContentOnSurfacePressed:dt.external(ht.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:dt.external(ht.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:dt.external(ht.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:dt.external(ht.opacityContentOnSurfaceSelected,"Design system")},Qe=dt.extend("--ft-ripple-color",ht.colorPrimary),ti=Qe,ei=dt.extend("--ft-ripple-background-color",Qe),ii=dt.extend("--ft-ripple-color",ht.colorSecondary),oi=ii,ni=dt.extend("--ft-ripple-background-color",ii);class si extends ut{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new t(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 H`
332
+ `],Je([i({type:String})],Xe.prototype,"text",void 0),Je([i({type:Boolean})],Xe.prototype,"raised",void 0),Je([i({type:Boolean})],Xe.prototype,"outlined",void 0),Je([i({type:Boolean})],Xe.prototype,"disabled",void 0),Je([i({type:Boolean})],Xe.prototype,"error",void 0),a("ft-input-label")(Xe);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};const Ge=dt.extend("--ft-ripple-color",ht.colorContent),Qe={color:Ge,backgroundColor:dt.extend("--ft-ripple-background-color",Ge),opacityContentOnSurfacePressed:dt.external(ht.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:dt.external(ht.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:dt.external(ht.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:dt.external(ht.opacityContentOnSurfaceSelected,"Design system")},ti=dt.extend("--ft-ripple-color",ht.colorPrimary),ei=ti,ii=dt.extend("--ft-ripple-background-color",ti),oi=dt.extend("--ft-ripple-color",ht.colorSecondary),ni=oi,si=dt.extend("--ft-ripple-background-color",oi);class ri extends bt{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 t(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 H`
332
333
  <style>
333
334
  .ft-ripple .ft-ripple--effect,
334
335
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -341,11 +342,11 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
341
342
  top: ${this.originY}px;
342
343
  }
343
344
  </style>
344
- <div class="${Bt(t)}">
345
+ <div class="${Dt(t)}">
345
346
  <div class="ft-ripple--background"></div>
346
347
  <div class="ft-ripple--effect"></div>
347
348
  </div>
348
- `}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()}}var ri,li;si.elementDefinitions={},si.styles=u`
349
+ `}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()}}var li,ai;ri.elementDefinitions={},ri.styles=u`
349
350
  :host {
350
351
  display: contents;
351
352
  }
@@ -367,27 +368,27 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
367
368
  }
368
369
 
369
370
  .ft-ripple .ft-ripple--background {
370
- background-color: ${Ge.backgroundColor};
371
+ background-color: ${Qe.backgroundColor};
371
372
  }
372
373
 
373
374
  .ft-ripple .ft-ripple--effect {
374
- background-color: ${Ge.color};
375
+ background-color: ${Qe.color};
375
376
  }
376
377
 
377
378
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
378
- background-color: ${ni};
379
+ background-color: ${si};
379
380
  }
380
381
 
381
382
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
382
- background-color: ${oi};
383
+ background-color: ${ni};
383
384
  }
384
385
 
385
386
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
386
- background-color: ${ei};
387
+ background-color: ${ii};
387
388
  }
388
389
 
389
390
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
390
- background-color: ${ti};
391
+ background-color: ${ei};
391
392
  }
392
393
 
393
394
  .ft-ripple .ft-ripple--background {
@@ -419,38 +420,38 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
419
420
  }
420
421
 
421
422
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
422
- opacity: ${Ge.opacityContentOnSurfaceHover};
423
+ opacity: ${Qe.opacityContentOnSurfaceHover};
423
424
  }
424
425
 
425
426
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
426
- opacity: ${Ge.opacityContentOnSurfaceSelected};
427
+ opacity: ${Qe.opacityContentOnSurfaceSelected};
427
428
  }
428
429
 
429
430
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
430
- opacity: ${Ge.opacityContentOnSurfaceFocused};
431
+ opacity: ${Qe.opacityContentOnSurfaceFocused};
431
432
  }
432
433
 
433
434
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
434
- opacity: ${Ge.opacityContentOnSurfacePressed};
435
+ opacity: ${Qe.opacityContentOnSurfacePressed};
435
436
  transform: translate(-50%, -50%) scale(1);
436
437
  }
437
- `,Je([i({type:Boolean})],si.prototype,"primary",void 0),Je([i({type:Boolean})],si.prototype,"secondary",void 0),Je([i({type:Boolean})],si.prototype,"unbounded",void 0),Je([i({type:Boolean})],si.prototype,"activated",void 0),Je([i({type:Boolean})],si.prototype,"selected",void 0),Je([i({type:Boolean})],si.prototype,"disabled",void 0),Je([o()],si.prototype,"hovered",void 0),Je([o()],si.prototype,"focused",void 0),Je([o()],si.prototype,"pressed",void 0),Je([o()],si.prototype,"rippling",void 0),Je([o()],si.prototype,"rippleSize",void 0),Je([o()],si.prototype,"originX",void 0),Je([o()],si.prototype,"originY",void 0),Je([s(".ft-ripple")],si.prototype,"ripple",void 0),Je([s(".ft-ripple--effect")],si.prototype,"rippleEffect",void 0),a("ft-ripple")(si),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;"}(ri||(ri={})),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;"}(li||(li={})),new Map([...["abw"].map((t=>[t,li.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,li.AUDIO])),...["avi"].map((t=>[t,li.AVI])),...["chm","xhs"].map((t=>[t,li.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,li.CODE])),...["csv"].map((t=>[t,li.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,li.DITA])),...["epub"].map((t=>[t,li.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,li.EXCEL])),...["flac"].map((t=>[t,li.FLAC])),...["gif"].map((t=>[t,li.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,li.GZIP])),...["html","htm","xhtml"].map((t=>[t,li.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,li.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,li.JPEG])),...["json"].map((t=>[t,li.JSON])),...["m4a","m4p"].map((t=>[t,li.M4A])),...["mov","qt"].map((t=>[t,li.MOV])),...["mp3"].map((t=>[t,li.MP3])),...["mp4","m4v"].map((t=>[t,li.MP4])),...["ogg","oga"].map((t=>[t,li.OGG])),...["pdf","ps"].map((t=>[t,li.PDF])),...["png"].map((t=>[t,li.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,li.POWERPOINT])),...["rar"].map((t=>[t,li.RAR])),...["stp"].map((t=>[t,li.STP])),...["txt","rtf","md","mdown"].map((t=>[t,li.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,li.VIDEO])),...["wav"].map((t=>[t,li.WAV])),...["wma"].map((t=>[t,li.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,li.WORD])),...["xml","xsl","rdf"].map((t=>[t,li.XML])),...["yaml","yml","x-yaml"].map((t=>[t,li.YAML])),...["zip"].map((t=>[t,li.ZIP]))]);var ai,pi=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};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ai||(ai={}));const ci={size:dt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:dt.extend("--ft-icon-fluid-topics-font-family",dt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:dt.extend("--ft-icon-file-format-font-family",dt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:dt.extend("--ft-icon-material-font-family",dt.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class di extends ut{constructor(){super(...arguments),this.variant=ai.fluid_topics}render(){return H`
438
+ `,Ye([i({type:Boolean})],ri.prototype,"primary",void 0),Ye([i({type:Boolean})],ri.prototype,"secondary",void 0),Ye([i({type:Boolean})],ri.prototype,"unbounded",void 0),Ye([i({type:Boolean})],ri.prototype,"activated",void 0),Ye([i({type:Boolean})],ri.prototype,"selected",void 0),Ye([i({type:Boolean})],ri.prototype,"disabled",void 0),Ye([o()],ri.prototype,"hovered",void 0),Ye([o()],ri.prototype,"focused",void 0),Ye([o()],ri.prototype,"pressed",void 0),Ye([o()],ri.prototype,"rippling",void 0),Ye([o()],ri.prototype,"rippleSize",void 0),Ye([o()],ri.prototype,"originX",void 0),Ye([o()],ri.prototype,"originY",void 0),Ye([s(".ft-ripple")],ri.prototype,"ripple",void 0),Ye([s(".ft-ripple--effect")],ri.prototype,"rippleEffect",void 0),a("ft-ripple")(ri),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;"}(li||(li={})),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;"}(ai||(ai={})),new Map([...["abw"].map((t=>[t,ai.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,ai.AUDIO])),...["avi"].map((t=>[t,ai.AVI])),...["chm","xhs"].map((t=>[t,ai.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,ai.CODE])),...["csv"].map((t=>[t,ai.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ai.DITA])),...["epub"].map((t=>[t,ai.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ai.EXCEL])),...["flac"].map((t=>[t,ai.FLAC])),...["gif"].map((t=>[t,ai.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ai.GZIP])),...["html","htm","xhtml"].map((t=>[t,ai.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,ai.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ai.JPEG])),...["json"].map((t=>[t,ai.JSON])),...["m4a","m4p"].map((t=>[t,ai.M4A])),...["mov","qt"].map((t=>[t,ai.MOV])),...["mp3"].map((t=>[t,ai.MP3])),...["mp4","m4v"].map((t=>[t,ai.MP4])),...["ogg","oga"].map((t=>[t,ai.OGG])),...["pdf","ps"].map((t=>[t,ai.PDF])),...["png"].map((t=>[t,ai.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ai.POWERPOINT])),...["rar"].map((t=>[t,ai.RAR])),...["stp"].map((t=>[t,ai.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ai.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,ai.VIDEO])),...["wav"].map((t=>[t,ai.WAV])),...["wma"].map((t=>[t,ai.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ai.WORD])),...["xml","xsl","rdf"].map((t=>[t,ai.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ai.YAML])),...["zip"].map((t=>[t,ai.ZIP]))]);var pi,ci=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(pi||(pi={}));const di={size:dt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:dt.extend("--ft-icon-fluid-topics-font-family",dt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:dt.extend("--ft-icon-file-format-font-family",dt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:dt.extend("--ft-icon-material-font-family",dt.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class fi extends bt{constructor(){super(...arguments),this.variant=pi.fluid_topics}render(){return H`
438
439
  <i class="ft-icon ${"ft-icon--"+this.variant}">
439
- ${Ut(this.getIcon())}
440
+ ${Bt(this.getIcon())}
440
441
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
441
442
  </i>
442
- `}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:""}getIcon(){var t,e;let i=this.textContent;return this.variant===ai.file_format?null!==(t=li[i.toUpperCase()])&&void 0!==t?t:i:this.variant===ai.fluid_topics?null!==(e=ri[i.toUpperCase()])&&void 0!==e?e:i:Z}}di.elementDefinitions={},di.styles=u`
443
+ `}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:""}getIcon(){var t,e;let i=this.textContent;return this.variant===pi.file_format?null!==(t=ai[i.toUpperCase()])&&void 0!==t?t:i:this.variant===pi.fluid_topics?null!==(e=li[i.toUpperCase()])&&void 0!==e?e:i:Z}}fi.elementDefinitions={},fi.styles=u`
443
444
  :host {
444
445
  display: inline-block;
445
446
  }
446
447
  :host, i.ft-icon {
447
- width: ${ci.size};
448
- height: ${ci.size};
448
+ width: ${di.size};
449
+ height: ${di.size};
449
450
  text-align: center;
450
451
  }
451
452
 
452
453
  i.ft-icon {
453
- font-size: ${ci.size};
454
+ font-size: ${di.size};
454
455
  line-height: 1;
455
456
  font-weight: normal;
456
457
  text-transform: none;
@@ -464,18 +465,18 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
464
465
  }
465
466
 
466
467
  .ft-icon--fluid-topics {
467
- font-family: ${ci.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
468
+ font-family: ${di.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
468
469
  }
469
470
 
470
471
  .ft-icon--file-format {
471
- font-family: ${ci.fileFormatFontFamily}, ft-mime, sans-serif;
472
+ font-family: ${di.fileFormatFontFamily}, ft-mime, sans-serif;
472
473
  }
473
474
 
474
475
  .ft-icon--material {
475
- font-family: ${ci.materialFontFamily}, "Material Icons", sans-serif;
476
+ font-family: ${di.materialFontFamily}, "Material Icons", sans-serif;
476
477
  }
477
- `,pi([i()],di.prototype,"variant",void 0),pi([s("slot")],di.prototype,"slottedContent",void 0),a("ft-icon")(di);var fi=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 hi extends ut{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return H``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}hi.elementDefinitions={},fi([i({type:String})],hi.prototype,"label",void 0),fi([i({type:Object,converter:t=>t})],hi.prototype,"value",void 0),fi([i({type:Boolean,reflect:!0})],hi.prototype,"selected",void 0);const ui={labelSize:dt.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:dt.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:dt.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:dt.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:dt.extend("--ft-select-selected-option-color",ht.colorOnSurface),helperColor:dt.extend("--ft-select-helper-color",ht.colorOnSurfaceMedium),optionsColor:dt.extend("--ft-select-options-color",ht.colorOnSurface),optionsZIndex:dt.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:dt.external(ht.colorSurface,"Design system"),colorOnSurfaceDisabled:dt.external(ht.colorOnSurfaceDisabled,"Design system"),colorPrimary:dt.external(ht.colorPrimary,"Design system"),borderRadiusS:dt.external(ht.borderRadiusS,"Design system"),elevation02:dt.external(ht.elevation02,"Design system"),colorError:dt.external(ht.colorError,"Design system")};class bi extends ut{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,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 H`
478
- <div class="${Bt(a)}" part="container">
478
+ `,ci([i()],fi.prototype,"variant",void 0),ci([s("slot")],fi.prototype,"slottedContent",void 0),a("ft-icon")(fi);var hi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class ui extends bt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return H``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ui.elementDefinitions={},hi([i({type:String})],ui.prototype,"label",void 0),hi([i({type:Object,converter:t=>t})],ui.prototype,"value",void 0),hi([i({type:Boolean,reflect:!0})],ui.prototype,"selected",void 0);const bi={labelSize:dt.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:dt.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:dt.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:dt.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:dt.extend("--ft-select-selected-option-color",ht.colorOnSurface),helperColor:dt.extend("--ft-select-helper-color",ht.colorOnSurfaceMedium),optionsColor:dt.extend("--ft-select-options-color",ht.colorOnSurface),optionsZIndex:dt.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:dt.external(ht.colorSurface,"Design system"),colorOnSurfaceDisabled:dt.external(ht.colorOnSurfaceDisabled,"Design system"),colorPrimary:dt.external(ht.colorPrimary,"Design system"),borderRadiusS:dt.external(ht.borderRadiusS,"Design system"),elevation02:dt.external(ht.elevation02,"Design system"),colorError:dt.external(ht.colorError,"Design system")};class xi extends bt{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 H`
479
+ <div class="${Dt(a)}" part="container">
479
480
  <div class="ft-select--main-panel" part="main-panel">
480
481
  <ft-input-label text="${this.label}"
481
482
  part="label"
@@ -502,7 +503,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
502
503
  part="options"
503
504
  @keydown=${this.onOptionsKeyDown}
504
505
  innerrole="listbox">
505
- ${Mt(this.options,(t=>t.value),(t=>this.renderOption(t)))}
506
+ ${Ft(this.options,(t=>t.value),(t=>this.renderOption(t)))}
506
507
  </div>
507
508
  </div>
508
509
  ${this.helper?H`
@@ -513,7 +514,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
513
514
  @option-change=${this.updateOptionsFromSlot}
514
515
  ></slot>
515
516
  `}renderOption(t){let e=this.selectedOption===t;return H`
516
- <div class="${Bt({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
517
+ <div class="${Dt({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
517
518
  part="option"
518
519
  tabindex="0"
519
520
  data-value="${t.value}"
@@ -522,7 +523,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
522
523
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
523
524
  ${t.label}
524
525
  </div>
525
- `}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.minWidth=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)}}bi.elementDefinitions={"ft-input-label":Xe,"ft-typography":Ke,"ft-ripple":si,"ft-icon":di},bi.styles=[Pe,_e,u`
526
+ `}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.minWidth=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)}}xi.elementDefinitions={"ft-input-label":Xe,"ft-typography":Ve,"ft-ripple":ri,"ft-icon":fi},xi.styles=[_e,He,u`
526
527
  *:focus {
527
528
  outline: none;
528
529
  }
@@ -536,7 +537,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
536
537
  .ft-select--main-panel {
537
538
  position: relative;
538
539
  display: flex;
539
- height: calc(4 * ${ui.verticalSpacing} + ${ui.labelSize} + ${ui.selectedOptionSize});
540
+ height: calc(4 * ${bi.verticalSpacing} + ${bi.labelSize} + ${bi.selectedOptionSize});
540
541
  }
541
542
 
542
543
  .ft-select--input-panel {
@@ -548,14 +549,14 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
548
549
  padding-left: 16px;
549
550
  padding-right: 8px;
550
551
  gap: 8px;
551
- color: ${ui.selectedOptionColor};
552
- ${ft(Ge.color,ui.selectedOptionColor)};
552
+ color: ${bi.selectedOptionColor};
553
+ ${ft(Qe.color,bi.selectedOptionColor)};
553
554
  }
554
555
 
555
556
  .ft-select--input-panel,
556
557
  .ft-select--option {
557
- ${ft(Ge.opacityContentOnSurfaceHover,"0.08")};
558
- ${ft(Ge.opacityContentOnSurfacePressed,"0.04")};
558
+ ${ft(Qe.opacityContentOnSurfaceHover,"0.08")};
559
+ ${ft(Qe.opacityContentOnSurfacePressed,"0.04")};
559
560
  }
560
561
 
561
562
  .ft-select--input-panel > *:not(ft-ripple),
@@ -565,7 +566,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
565
566
 
566
567
  .ft-select--disabled .ft-select--input-panel,
567
568
  .ft-select--disabled .ft-select--option {
568
- color: ${ui.colorOnSurfaceDisabled};
569
+ color: ${bi.colorOnSurfaceDisabled};
569
570
  }
570
571
 
571
572
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -574,18 +575,18 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
574
575
  }
575
576
 
576
577
  ft-input-label {
577
- ${ft(qe.fontSize,ui.selectedOptionSize)};
578
- ${ft(qe.raisedFontSize,ui.labelSize)};
579
- ${ft(qe.verticalSpacing,ui.verticalSpacing)};
578
+ ${ft(qe.fontSize,bi.selectedOptionSize)};
579
+ ${ft(qe.raisedFontSize,bi.labelSize)};
580
+ ${ft(qe.verticalSpacing,bi.verticalSpacing)};
580
581
  }
581
582
 
582
583
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
583
- color: ${ui.colorPrimary};
584
+ color: ${bi.colorPrimary};
584
585
  }
585
586
 
586
587
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
587
- ${ft(qe.borderColor,ui.colorPrimary)};
588
- ${ft(qe.textColor,ui.colorPrimary)};
588
+ ${ft(qe.borderColor,bi.colorPrimary)};
589
+ ${ft(qe.textColor,bi.colorPrimary)};
589
590
  }
590
591
 
591
592
  .ft-select--selected-option {
@@ -595,12 +596,12 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
595
596
  overflow: hidden;
596
597
  white-space: nowrap;
597
598
  text-overflow: ellipsis;
598
- ${ft(be.fontSize,ui.selectedOptionSize)};
599
- ${ft(be.lineHeight,ui.selectedOptionSize)};
599
+ ${ft(xe.fontSize,bi.selectedOptionSize)};
600
+ ${ft(xe.lineHeight,bi.selectedOptionSize)};
600
601
  }
601
602
 
602
603
  .ft-select--in-error .ft-select--selected-option {
603
- color: ${ui.colorError};
604
+ color: ${bi.colorError};
604
605
  }
605
606
 
606
607
  ft-icon {
@@ -612,16 +613,16 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
612
613
  }
613
614
 
614
615
  .ft-select--filled .ft-select--input-panel {
615
- border-radius: ${ui.borderRadiusS} ${ui.borderRadiusS} 0 0;
616
+ border-radius: ${bi.borderRadiusS} ${bi.borderRadiusS} 0 0;
616
617
  }
617
618
 
618
619
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
619
620
  align-self: stretch;
620
- padding-top: calc(${ui.labelSize} + 2 * ${ui.verticalSpacing});
621
+ padding-top: calc(${bi.labelSize} + 2 * ${bi.verticalSpacing});
621
622
  }
622
623
 
623
624
  .ft-select--outlined .ft-select--input-panel {
624
- border-radius: ${ui.borderRadiusS};
625
+ border-radius: ${bi.borderRadiusS};
625
626
  }
626
627
 
627
628
  .ft-select--options {
@@ -630,10 +631,10 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
630
631
  top: 100%;
631
632
  left: 0;
632
633
  right: 0;
633
- color: ${ui.optionsColor};
634
- background: ${ui.colorSurface};
635
- z-index: ${ui.optionsZIndex};
636
- box-shadow: ${ui.elevation02};
634
+ color: ${bi.optionsColor};
635
+ background: ${bi.colorSurface};
636
+ z-index: ${bi.optionsZIndex};
637
+ box-shadow: ${bi.elevation02};
637
638
  }
638
639
 
639
640
  .ft-select--fixed .ft-select--options {
@@ -644,7 +645,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
644
645
 
645
646
  .ft-select--options-displayed .ft-select--options {
646
647
  display: block;
647
- max-height: ${ui.optionsHeight};
648
+ max-height: ${bi.optionsHeight};
648
649
  overflow-y: auto;
649
650
  }
650
651
 
@@ -658,14 +659,14 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
658
659
 
659
660
  .ft-select--helper-text {
660
661
  padding: 0 12px 0 16px;
661
- color: ${ui.helperColor};
662
+ color: ${bi.helperColor};
662
663
  }
663
664
 
664
665
  .ft-select--in-error .ft-select--helper-text {
665
- color: ${ui.colorError};
666
+ color: ${bi.colorError};
666
667
  }
667
- `],fi([i({type:String})],bi.prototype,"label",void 0),fi([i({type:String})],bi.prototype,"helper",void 0),fi([i({type:Boolean})],bi.prototype,"outlined",void 0),fi([i({type:Boolean})],bi.prototype,"disabled",void 0),fi([i({type:Boolean})],bi.prototype,"error",void 0),fi([i({type:Boolean})],bi.prototype,"fixedMenuPosition",void 0),fi([i({type:Array})],bi.prototype,"options",void 0),fi([o()],bi.prototype,"selectedOption",void 0),fi([o()],bi.prototype,"optionsDisplayed",void 0),fi([o()],bi.prototype,"focusOptions",void 0),fi([s(".ft-select")],bi.prototype,"container",void 0),fi([s(".ft-select--options")],bi.prototype,"optionsMenu",void 0),fi([s(".ft-select--input-panel")],bi.prototype,"mainPanel",void 0),fi([s(".ft-select--option:first-child")],bi.prototype,"firstOption",void 0),fi([s(".ft-select--option:focus")],bi.prototype,"focusedOption",void 0),fi([s(".ft-select--option.ft-select--option-selected")],bi.prototype,"selectedOptionElement",void 0),fi([s(".ft-select--option:last-child")],bi.prototype,"lastOption",void 0),fi([s("slot")],bi.prototype,"optionsSlot",void 0),a("ft-select")(bi),a("ft-select-option")(hi);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 vi={fontSize:dt.create("--ft-text-field-font-size","SIZE","14px"),labelSize:dt.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:dt.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:dt.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:dt.extend("--ft-text-field-helper-color",ht.colorOnSurfaceMedium),colorPrimary:dt.external(ht.colorPrimary,"Design system"),colorOnSurface:dt.external(ht.colorOnSurface,"Design system"),colorOnSurfaceDisabled:dt.external(ht.colorOnSurfaceDisabled,"Design system"),borderRadiusS:dt.external(ht.borderRadiusS,"Design system"),colorError:dt.external(ht.colorError,"Design system"),prefixColor:dt.extend("--ft-text-field-prefix-color",ht.colorOnSurfaceMedium),iconColor:dt.extend("--ft-text-field-icon-color",ht.colorOnSurfaceMedium)};class yi extends ut{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 H`
668
- <div class="${Bt(t)}">
668
+ `],hi([i({type:String})],xi.prototype,"label",void 0),hi([i({type:String})],xi.prototype,"helper",void 0),hi([i({type:Boolean})],xi.prototype,"outlined",void 0),hi([i({type:Boolean})],xi.prototype,"disabled",void 0),hi([i({type:Boolean})],xi.prototype,"error",void 0),hi([i({type:Boolean})],xi.prototype,"fixedMenuPosition",void 0),hi([i({type:Array})],xi.prototype,"options",void 0),hi([o()],xi.prototype,"selectedOption",void 0),hi([o()],xi.prototype,"optionsDisplayed",void 0),hi([o()],xi.prototype,"focusOptions",void 0),hi([s(".ft-select")],xi.prototype,"container",void 0),hi([s(".ft-select--options")],xi.prototype,"optionsMenu",void 0),hi([s(".ft-select--input-panel")],xi.prototype,"mainPanel",void 0),hi([s(".ft-select--option:first-child")],xi.prototype,"firstOption",void 0),hi([s(".ft-select--option:focus")],xi.prototype,"focusedOption",void 0),hi([s(".ft-select--option.ft-select--option-selected")],xi.prototype,"selectedOptionElement",void 0),hi([s(".ft-select--option:last-child")],xi.prototype,"lastOption",void 0),hi([s("slot")],xi.prototype,"optionsSlot",void 0),a("ft-select")(xi),a("ft-select-option")(ui);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};const yi={fontSize:dt.create("--ft-text-field-font-size","SIZE","14px"),labelSize:dt.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:dt.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:dt.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:dt.extend("--ft-text-field-helper-color",ht.colorOnSurfaceMedium),colorPrimary:dt.external(ht.colorPrimary,"Design system"),colorOnSurface:dt.external(ht.colorOnSurface,"Design system"),colorOnSurfaceDisabled:dt.external(ht.colorOnSurfaceDisabled,"Design system"),borderRadiusS:dt.external(ht.borderRadiusS,"Design system"),colorError:dt.external(ht.colorError,"Design system"),prefixColor:dt.extend("--ft-text-field-prefix-color",ht.colorOnSurfaceMedium),iconColor:dt.extend("--ft-text-field-icon-color",ht.colorOnSurfaceMedium)};class gi extends bt{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 H`
669
+ <div class="${Dt(t)}">
669
670
  <div class="ft-text-field--main-panel">
670
671
  <ft-input-label text="${this.label}"
671
672
  ?disabled=${this.disabled}
@@ -699,7 +700,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
699
700
  <ft-typography class="ft-text-field--helper-text" variant="caption">${this.helper}
700
701
  </ft-typography>`:void 0}
701
702
  </div>
702
- `}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)||""}}yi.elementDefinitions={"ft-input-label":Xe,"ft-ripple":si,"ft-typography":Ke,"ft-icon":di},yi.styles=[Ie,u`
703
+ `}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)||""}}gi.elementDefinitions={"ft-input-label":Xe,"ft-ripple":ri,"ft-typography":Ve,"ft-icon":fi},gi.styles=[Pe,u`
703
704
  *:focus {
704
705
  outline: none;
705
706
  }
@@ -711,16 +712,16 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
711
712
  }
712
713
 
713
714
  ft-input-label {
714
- ${ft(qe.fontSize,vi.fontSize)};
715
- ${ft(qe.raisedFontSize,vi.labelSize)};
716
- ${ft(qe.verticalSpacing,vi.verticalSpacing)};
717
- ${ft(qe.horizontalSpacing,u`calc(${vi.horizontalSpacing} - 4px)`)};
715
+ ${ft(qe.fontSize,yi.fontSize)};
716
+ ${ft(qe.raisedFontSize,yi.labelSize)};
717
+ ${ft(qe.verticalSpacing,yi.verticalSpacing)};
718
+ ${ft(qe.horizontalSpacing,u`calc(${yi.horizontalSpacing} - 4px)`)};
718
719
  }
719
720
 
720
721
  .ft-text-field--main-panel {
721
722
  position: relative;
722
723
  display: flex;
723
- height: calc(4 * ${vi.verticalSpacing} + ${vi.labelSize} + ${vi.fontSize});
724
+ height: calc(4 * ${yi.verticalSpacing} + ${yi.labelSize} + ${yi.fontSize});
724
725
  }
725
726
 
726
727
  .ft-text-field--input-panel {
@@ -732,8 +733,8 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
732
733
  }
733
734
 
734
735
  .ft-text-field--input-panel ft-ripple {
735
- ${ft(Ge.opacityContentOnSurfaceHover,"0.08")};
736
- ${ft(Ge.opacityContentOnSurfacePressed,"0.04")};
736
+ ${ft(Qe.opacityContentOnSurfaceHover,"0.08")};
737
+ ${ft(Qe.opacityContentOnSurfacePressed,"0.04")};
737
738
  }
738
739
 
739
740
  .ft-text-field--input-wrapper {
@@ -743,20 +744,20 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
743
744
  display: flex;
744
745
  align-items: center;
745
746
 
746
- ${ft(be.fontSize,vi.fontSize)};
747
- ${ft(be.lineHeight,vi.fontSize)};
747
+ ${ft(xe.fontSize,yi.fontSize)};
748
+ ${ft(xe.lineHeight,yi.fontSize)};
748
749
 
749
- padding: 0 ${vi.horizontalSpacing};
750
+ padding: 0 ${yi.horizontalSpacing};
750
751
  }
751
752
 
752
753
  .ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input-wrapper {
753
754
  align-items: flex-end;
754
- padding: 0 ${vi.horizontalSpacing} ${vi.verticalSpacing} ${vi.horizontalSpacing};
755
+ padding: 0 ${yi.horizontalSpacing} ${yi.verticalSpacing} ${yi.horizontalSpacing};
755
756
  }
756
757
 
757
758
  .ft-text-field--prefix {
758
759
  display: none;
759
- color: ${vi.prefixColor}
760
+ color: ${yi.prefixColor}
760
761
  }
761
762
 
762
763
  .ft-text-field--with-prefix.ft-text-field--raised-label .ft-text-field--prefix {
@@ -770,15 +771,15 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
770
771
  flex-shrink: 1;
771
772
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
772
773
 
773
- color: ${vi.colorOnSurface};
774
- padding: calc(2 * ${vi.verticalSpacing}) 0;
774
+ color: ${yi.colorOnSurface};
775
+ padding: calc(2 * ${yi.verticalSpacing}) 0;
775
776
  border: none;
776
777
  background: none;
777
778
  }
778
779
 
779
780
  .ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input {
780
781
  padding-bottom: 0;
781
- padding-top: calc(${vi.labelSize} + 2 * ${vi.verticalSpacing});
782
+ padding-top: calc(${yi.labelSize} + 2 * ${yi.verticalSpacing});
782
783
  }
783
784
 
784
785
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -787,7 +788,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
787
788
  }
788
789
 
789
790
  .ft-text-field--disabled .ft-text-field--input {
790
- color: ${vi.colorOnSurfaceDisabled};
791
+ color: ${yi.colorOnSurfaceDisabled};
791
792
  }
792
793
 
793
794
  .ft-text-field:not(.ft-text-field--disabled) .ft-text-field--input-panel {
@@ -795,34 +796,34 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
795
796
  }
796
797
 
797
798
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
798
- ${ft(qe.borderColor,vi.colorPrimary)};
799
- ${ft(qe.textColor,vi.colorPrimary)};
799
+ ${ft(qe.borderColor,yi.colorPrimary)};
800
+ ${ft(qe.textColor,yi.colorPrimary)};
800
801
  }
801
802
 
802
803
  .ft-text-field--filled .ft-text-field--input-panel {
803
- border-radius: ${vi.borderRadiusS} ${vi.borderRadiusS} 0 0;
804
+ border-radius: ${yi.borderRadiusS} ${yi.borderRadiusS} 0 0;
804
805
  }
805
806
 
806
807
  .ft-text-field--outlined .ft-text-field--input-panel {
807
- border-radius: ${vi.borderRadiusS};
808
+ border-radius: ${yi.borderRadiusS};
808
809
  }
809
810
 
810
811
  .ft-text-field--helper-text {
811
- padding: 0 12px 0 ${vi.horizontalSpacing};
812
- color: ${vi.helperColor};
812
+ padding: 0 12px 0 ${yi.horizontalSpacing};
813
+ color: ${yi.helperColor};
813
814
  }
814
815
 
815
816
  .ft-text-field--in-error .ft-text-field--input,
816
817
  .ft-text-field--in-error .ft-text-field--helper-text,
817
818
  .ft-text-field--in-error .ft-text-field--prefix {
818
- color: ${vi.colorError};
819
+ color: ${yi.colorError};
819
820
  }
820
821
 
821
822
  .ft-text-field--icon {
822
- padding-right: ${vi.horizontalSpacing};
823
- color: ${vi.iconColor};
823
+ padding-right: ${yi.horizontalSpacing};
824
+ color: ${yi.iconColor};
824
825
  }
825
- `],xi([i({type:String})],yi.prototype,"label",void 0),xi([i({reflect:!0})],yi.prototype,"value",void 0),xi([i({type:String})],yi.prototype,"helper",void 0),xi([i({type:Boolean})],yi.prototype,"outlined",void 0),xi([i({type:Boolean})],yi.prototype,"disabled",void 0),xi([i({type:Boolean})],yi.prototype,"error",void 0),xi([s(".ft-text-field--input")],yi.prototype,"input",void 0),xi([i({type:String})],yi.prototype,"prefix",void 0),xi([i({type:String})],yi.prototype,"icon",void 0),xi([i({type:String})],yi.prototype,"iconVariant",void 0),xi([o()],yi.prototype,"focused",void 0),a("ft-text-field")(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};const mi=dt.create("--ft-tooltip-distance","SIZE","4px"),$i=dt.create("--ft-tooltip-color","COLOR","#FFFFFF"),wi=dt.create("--ft-tooltip-background-color","COLOR","#666666"),Oi=dt.create("--ft-tooltip-z-index","NUMBER","1"),Si=dt.external(ht.borderRadiusS,"Design system");class ki extends ut{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new t,this.revealDebouncer=new t}render(){return H`
826
+ `],vi([i({type:String})],gi.prototype,"label",void 0),vi([i({reflect:!0})],gi.prototype,"value",void 0),vi([i({type:String})],gi.prototype,"helper",void 0),vi([i({type:Boolean})],gi.prototype,"outlined",void 0),vi([i({type:Boolean})],gi.prototype,"disabled",void 0),vi([i({type:Boolean})],gi.prototype,"error",void 0),vi([s(".ft-text-field--input")],gi.prototype,"input",void 0),vi([i({type:String})],gi.prototype,"prefix",void 0),vi([i({type:String})],gi.prototype,"icon",void 0),vi([i({type:String})],gi.prototype,"iconVariant",void 0),vi([o()],gi.prototype,"focused",void 0),a("ft-text-field")(gi);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};const $i=dt.create("--ft-tooltip-distance","SIZE","4px"),wi=dt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Oi=dt.create("--ft-tooltip-background-color","COLOR","#666666"),Si=dt.create("--ft-tooltip-z-index","NUMBER","1"),ki=dt.external(ht.borderRadiusS,"Design system");class Ci extends bt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new t,this.revealDebouncer=new t}render(){return H`
826
827
  <div part="container"
827
828
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
828
829
  @mouseenter=${this.onHover}
@@ -837,7 +838,7 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
837
838
  </div>
838
839
  <slot></slot>
839
840
  </div>
840
- `}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,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=e.height+"px",n.left=o+"px";break;case"left":n.top=i+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=i+"px",n.left=e.width+"px"}n.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}ki.elementDefinitions={"ft-typography":Ke},ki.styles=u`
841
+ `}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,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=e.height+"px",n.left=o+"px";break;case"left":n.top=i+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=i+"px",n.left=e.width+"px"}n.maxWidth=Math.max(e.width,150)+"px"}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())}}Ci.elementDefinitions={"ft-typography":Ve},Ci.styles=u`
841
842
  .ft-tooltip--container {
842
843
  display: block;
843
844
  position: relative;
@@ -855,27 +856,27 @@ class Ft extends Ot{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
855
856
  width: max-content;
856
857
  max-width: 150px;
857
858
  text-align: center;
858
- padding: ${mi};
859
- z-index: ${Oi};
859
+ padding: ${$i};
860
+ z-index: ${Si};
860
861
  }
861
862
 
862
863
  .ft-tooltip--content {
863
864
  padding: 4px 8px;
864
- border-radius: ${Si};
865
- background-color: ${wi};
866
- color: ${$i};
865
+ border-radius: ${ki};
866
+ background-color: ${Oi};
867
+ color: ${wi};
867
868
  top: -500px;
868
869
  left: -500px;
869
870
  position: relative;
870
871
  word-break: break-word;
871
872
  }
872
- `,gi([i()],ki.prototype,"text",void 0),gi([i({type:Boolean})],ki.prototype,"manual",void 0),gi([i({type:Boolean})],ki.prototype,"inline",void 0),gi([i({type:Number})],ki.prototype,"delay",void 0),gi([i()],ki.prototype,"position",void 0),gi([
873
+ `,mi([i()],Ci.prototype,"text",void 0),mi([i({type:Boolean})],Ci.prototype,"manual",void 0),mi([i({type:Boolean})],Ci.prototype,"inline",void 0),mi([i({type:Number})],Ci.prototype,"delay",void 0),mi([i()],Ci.prototype,"position",void 0),mi([
873
874
  /**
874
875
  * @license
875
876
  * Copyright 2017 Google LLC
876
877
  * SPDX-License-Identifier: BSD-3-Clause
877
878
  */
878
- function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return n({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?l(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:s,flatten:e,selector:i}):n({descriptor:t=>({get(){var t,e;const i="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==n?void 0:n.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],ki.prototype,"slotNodes",void 0),gi([s(".ft-tooltip--container")],ki.prototype,"container",void 0),gi([s("slot")],ki.prototype,"target",void 0),gi([s(".ft-tooltip")],ki.prototype,"tooltip",void 0),gi([s(".ft-tooltip--content")],ki.prototype,"tooltipContent",void 0),gi([o()],ki.prototype,"visible",void 0),a("ft-tooltip")(ki);const Ci={color:dt.extend("--ft-loader-color",ht.colorPrimary),size:dt.create("--ft-loader-size","SIZE","80px")};class Ei extends ut{static get styles(){return u`
879
+ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return n({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?l(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:s,flatten:e,selector:i}):n({descriptor:t=>({get(){var t,e;const i="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==n?void 0:n.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Ci.prototype,"slotNodes",void 0),mi([s(".ft-tooltip--container")],Ci.prototype,"container",void 0),mi([s("slot")],Ci.prototype,"target",void 0),mi([s(".ft-tooltip")],Ci.prototype,"tooltip",void 0),mi([s(".ft-tooltip--content")],Ci.prototype,"tooltipContent",void 0),mi([o()],Ci.prototype,"visible",void 0),a("ft-tooltip")(Ci);const Ei={color:dt.extend("--ft-loader-color",ht.colorPrimary),size:dt.create("--ft-loader-size","SIZE","80px")};class Ni extends bt{static get styles(){return u`
879
880
  :host {
880
881
  line-height: 0;
881
882
  }
@@ -884,8 +885,8 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
884
885
  display: inline-block;
885
886
  position: relative;
886
887
 
887
- width: ${Ci.size};
888
- height: ${Ci.size};
888
+ width: ${Ei.size};
889
+ height: ${Ei.size};
889
890
  }
890
891
 
891
892
  .ft-loader div {
@@ -894,7 +895,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
894
895
  width: 25%;
895
896
  height: 25%;
896
897
  border-radius: 50%;
897
- background: ${Ci.color};
898
+ background: ${Ei.color};
898
899
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
899
900
  }
900
901
 
@@ -941,7 +942,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
941
942
  transform: translate(0, 0);
942
943
  }
943
944
  100% {
944
- transform: translate(calc(0.35 * ${Ci.size}), 0);
945
+ transform: translate(calc(0.35 * ${Ei.size}), 0);
945
946
  }
946
947
  }
947
948
  `}render(){return H`
@@ -951,7 +952,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
951
952
  <div></div>
952
953
  <div></div>
953
954
  </div>
954
- `}}a("ft-loader")(Ei);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};const Ri=dt.extend("--ft-button-color",ht.colorPrimary),zi={backgroundColor:dt.extend("--ft-button-background-color",ht.colorSurface),borderRadius:dt.extend("--ft-button-border-radius",ht.borderRadiusL),color:Ri,fontSize:dt.extend("--ft-button-font-size",De.fontSize),iconSize:dt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:dt.extend("--ft-button-ripple-color",Ri),opacityDisabled:dt.external(ht.colorOpacityDisabled,"Design system")},Mi=dt.extend("--ft-button-primary-color",dt.extend("--ft-button-color",ht.colorOnPrimary)),Fi={backgroundColor:dt.extend("--ft-button-primary-background-color",dt.extend("--ft-button-background-color",ht.colorPrimary)),color:Mi,rippleColor:dt.extend("--ft-button-primary-ripple-color",Mi)},Ui=dt.extend("--ft-button-dense-border-radius",dt.extend("--ft-button-border-radius",ht.borderRadiusM));class Bi extends ut{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.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[bt,u`
955
+ `}}a("ft-loader")(Ni);var Ri=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 zi=dt.extend("--ft-button-color",ht.colorPrimary),Mi={backgroundColor:dt.extend("--ft-button-background-color",ht.colorSurface),borderRadius:dt.extend("--ft-button-border-radius",ht.borderRadiusL),color:zi,fontSize:dt.extend("--ft-button-font-size",je.fontSize),iconSize:dt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:dt.extend("--ft-button-ripple-color",zi),opacityDisabled:dt.external(ht.colorOpacityDisabled,"Design system")},Fi=dt.extend("--ft-button-primary-color",dt.extend("--ft-button-color",ht.colorOnPrimary)),Ui={backgroundColor:dt.extend("--ft-button-primary-background-color",dt.extend("--ft-button-background-color",ht.colorPrimary)),color:Fi,rippleColor:dt.extend("--ft-button-primary-ripple-color",Fi)},Bi=dt.extend("--ft-button-dense-border-radius",dt.extend("--ft-button-border-radius",ht.borderRadiusM));class Di extends bt{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.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[xt,u`
955
956
  :host {
956
957
  display: inline-block;
957
958
  max-width: 100%;
@@ -992,18 +993,18 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
992
993
  pointer-events: auto;
993
994
  line-height: 0;
994
995
 
995
- --ft-button-internal-font-size: ${zi.fontSize};
996
+ --ft-button-internal-font-size: ${Mi.fontSize};
996
997
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
997
- --ft-button-internal-color: ${zi.color};
998
- ${ft(ci.size,zi.iconSize)};
998
+ --ft-button-internal-color: ${Mi.color};
999
+ ${ft(di.size,Mi.iconSize)};
999
1000
  --ft-button-internal-vertical-padding: 6px;
1000
1001
  --ft-button-internal-horizontal-padding: 8px;
1001
- ${ft(Ge.color,zi.rippleColor)};
1002
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${zi.iconSize});
1002
+ ${ft(Qe.color,Mi.rippleColor)};
1003
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Mi.iconSize});
1003
1004
 
1004
- border-radius: ${zi.borderRadius};
1005
+ border-radius: ${Mi.borderRadius};
1005
1006
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
1006
- background-color: ${zi.backgroundColor};
1007
+ background-color: ${Mi.backgroundColor};
1007
1008
  color: var(--ft-button-internal-color);
1008
1009
  -webkit-mask-image: radial-gradient(white, black);
1009
1010
  }
@@ -1015,7 +1016,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1015
1016
  .ft-button--dense {
1016
1017
  --ft-button-internal-vertical-padding: 2px;
1017
1018
  --ft-button-internal-horizontal-padding: 4px;
1018
- border-radius: ${Ui};
1019
+ border-radius: ${Bi};
1019
1020
  }
1020
1021
 
1021
1022
  .ft-button--round {
@@ -1024,13 +1025,13 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1024
1025
 
1025
1026
  .ft-button[disabled] {
1026
1027
  filter: grayscale(1);
1027
- opacity: ${zi.opacityDisabled};
1028
+ opacity: ${Mi.opacityDisabled};
1028
1029
  }
1029
1030
 
1030
1031
  .ft-button.ft-button--primary {
1031
- background-color: ${Fi.backgroundColor};
1032
- --ft-button-internal-color: ${Fi.color};
1033
- ${ft(Ge.color,Fi.rippleColor)};
1032
+ background-color: ${Ui.backgroundColor};
1033
+ --ft-button-internal-color: ${Ui.color};
1034
+ ${ft(Qe.color,Ui.rippleColor)};
1034
1035
  }
1035
1036
 
1036
1037
  .ft-button.ft-button--outlined {
@@ -1049,8 +1050,8 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1049
1050
  text-overflow: ellipsis;
1050
1051
  display: block;
1051
1052
  margin: 0 var(--ft-button-internal-horizontal-padding);
1052
- ${ft(De.fontSize,"var(--ft-button-internal-font-size)")};
1053
- ${ft(De.lineHeight,"var(--ft-button-internal-content-height)")};
1053
+ ${ft(je.fontSize,"var(--ft-button-internal-font-size)")};
1054
+ ${ft(je.lineHeight,"var(--ft-button-internal-content-height)")};
1054
1055
  }
1055
1056
 
1056
1057
  .ft-button--safari-fix .ft-button--label {
@@ -1083,12 +1084,12 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1083
1084
  }
1084
1085
 
1085
1086
  ft-loader {
1086
- ${ft(Ci.size,zi.iconSize)};
1087
- ${ft(Ci.color,"var(--ft-button-internal-color)")};
1087
+ ${ft(Ei.size,Mi.iconSize)};
1088
+ ${ft(Ei.color,"var(--ft-button-internal-color)")};
1088
1089
  }
1089
- `]}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":gt,"ft-no-text-select":!0};return this.addTooltip(H`
1090
+ `]}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":mt,"ft-no-text-select":!0};return this.addTooltip(H`
1090
1091
  <button part="button"
1091
- class="${Bt(t)}"
1092
+ class="${Dt(t)}"
1092
1093
  aria-label="${this.getLabel()}"
1093
1094
  ?disabled=${this.isDisabled()}>
1094
1095
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
@@ -1108,7 +1109,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1108
1109
  </ft-tooltip>
1109
1110
  `}resolveIcon(){return this.loading?H`
1110
1111
  <ft-loader></ft-loader> `:this.icon?H`
1111
- <ft-icon variant="material">${this.icon}</ft-icon> `:Z}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}}Bi.elementDefinitions={"ft-ripple":si,"ft-tooltip":ki,"ft-typography":Ke,"ft-icon":di,"ft-loader":Ei},Ni([i({type:Boolean})],Bi.prototype,"primary",void 0),Ni([i({type:Boolean})],Bi.prototype,"outlined",void 0),Ni([i({type:Boolean})],Bi.prototype,"disabled",void 0),Ni([i({type:Boolean})],Bi.prototype,"dense",void 0),Ni([i({type:Boolean})],Bi.prototype,"round",void 0),Ni([i({type:String})],Bi.prototype,"label",void 0),Ni([i({type:String})],Bi.prototype,"icon",void 0),Ni([i({type:Boolean})],Bi.prototype,"trailingIcon",void 0),Ni([i({type:Boolean})],Bi.prototype,"loading",void 0),Ni([i({type:String})],Bi.prototype,"tooltipPosition",void 0),Ni([s(".ft-button")],Bi.prototype,"button",void 0),Ni([s(".ft-button--label slot")],Bi.prototype,"slottedContent",void 0),a("ft-button")(Bi);var 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 ji extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Ti={headerBackground:dt.create("--ft-filterable-table-header-background","COLOR","whitesmoke"),oddRowBackground:dt.create("--ft-filterable-table-odd-row-background","COLOR","#FFFFFF"),evenRowBackground:dt.create("--ft-filterable-table-even-row-background","COLOR","#fdfdfd"),rowHoverBackground:dt.create("--ft-filterable-table-row-hover-background","COLOR","#fafafa"),stickyHeaderZIndex:dt.create("--ft-filterable-table-sticky-header-zindex","NUMBER","100"),colorOnSurfaceHigh:dt.external(ht.colorOnSurfaceHigh,"Design system"),titleFont:dt.external(ht.titleFont,"Design system"),contentFont:dt.external(ht.contentFont,"Design system")},Ai=t=>H`${t}`,Li=(t,e)=>t-e;class Ii extends ut{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 H`
1112
+ <ft-icon variant="material">${this.icon}</ft-icon> `:Z}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}}Di.elementDefinitions={"ft-ripple":ri,"ft-tooltip":Ci,"ft-typography":Ve,"ft-icon":fi,"ft-loader":Ni},Ri([i({type:Boolean})],Di.prototype,"primary",void 0),Ri([i({type:Boolean})],Di.prototype,"outlined",void 0),Ri([i({type:Boolean})],Di.prototype,"disabled",void 0),Ri([i({type:Boolean})],Di.prototype,"dense",void 0),Ri([i({type:Boolean})],Di.prototype,"round",void 0),Ri([i({type:String})],Di.prototype,"label",void 0),Ri([i({type:String})],Di.prototype,"icon",void 0),Ri([i({type:Boolean})],Di.prototype,"trailingIcon",void 0),Ri([i({type:Boolean})],Di.prototype,"loading",void 0),Ri([i({type:String})],Di.prototype,"tooltipPosition",void 0),Ri([s(".ft-button")],Di.prototype,"button",void 0),Ri([s(".ft-button--label slot")],Di.prototype,"slottedContent",void 0),a("ft-button")(Di);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 Ai extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Ti={headerBackground:dt.create("--ft-filterable-table-header-background","COLOR","whitesmoke"),oddRowBackground:dt.create("--ft-filterable-table-odd-row-background","COLOR","#FFFFFF"),evenRowBackground:dt.create("--ft-filterable-table-even-row-background","COLOR","#fdfdfd"),rowHoverBackground:dt.create("--ft-filterable-table-row-hover-background","COLOR","#fafafa"),stickyHeaderZIndex:dt.create("--ft-filterable-table-sticky-header-zindex","NUMBER","100"),colorOnSurfaceHigh:dt.external(ht.colorOnSurfaceHigh,"Design system"),titleFont:dt.external(ht.titleFont,"Design system"),contentFont:dt.external(ht.contentFont,"Design system")},Li=t=>H`${t}`,Ii=(t,e)=>t-e;class Pi extends bt{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 H`
1112
1113
  <style>
1113
1114
  .table {
1114
1115
  grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
@@ -1116,17 +1117,17 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1116
1117
  </style>
1117
1118
  <div class="table">
1118
1119
  <div class="header">
1119
- ${Mt(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1120
+ ${Ft(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1120
1121
  </div>
1121
- ${Mt(t,((t,e)=>"row-"+e),((t,e)=>H`
1122
+ ${Ft(t,((t,e)=>"row-"+e),((t,e)=>H`
1122
1123
  <div class="row"
1123
- @click=${()=>this.dispatchEvent(new ji(t))}>
1124
- ${Mt(this.columns,((t,i)=>"cell-"+e+" "+i),(i=>this.renderCell(i,t,e)))}
1124
+ @click=${()=>this.dispatchEvent(new Ai(t))}>
1125
+ ${Ft(this.columns,((t,i)=>"cell-"+e+" "+i),(i=>this.renderCell(i,t,e)))}
1125
1126
  </div>
1126
1127
  `))}
1127
1128
  </div>
1128
- `}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:Li,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 H`
1129
- <div class="${Bt(i)}">
1129
+ `}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:Ii,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 H`
1130
+ <div class="${Dt(i)}">
1130
1131
  <div class="column-title-container">
1131
1132
  <span class="column-title">${t.title}</span>
1132
1133
  ${this.renderColumnSort(t,e)}
@@ -1157,9 +1158,9 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1157
1158
  <ft-select-option value="${t}" label="${t}"></ft-select-option>
1158
1159
  `))}
1159
1160
  </ft-select>
1160
- `:null}return null}renderCell(t,e,i){var o;const n=null!==(o=t.render)&&void 0!==o?o:Ai;return H`
1161
- <div class="cell">${(t=>{const e=n(t,i);return"string"==typeof e?Ut(e):e})(this.getValue(t,e))}</div>
1162
- `}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)}}Ii.styles=u`
1161
+ `:null}return null}renderCell(t,e,i){var o;const n=null!==(o=t.render)&&void 0!==o?o:Li;return H`
1162
+ <div class="cell">${(t=>{const e=n(t,i);return"string"==typeof e?Bt(e):e})(this.getValue(t,e))}</div>
1163
+ `}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)}}Pi.styles=u`
1163
1164
  :host {
1164
1165
  display: block;
1165
1166
  }
@@ -1201,8 +1202,8 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1201
1202
  }
1202
1203
 
1203
1204
  .column-title-container ft-button {
1204
- ${ft(zi.backgroundColor,Ti.headerBackground)};
1205
- ${ft(zi.color,Ti.colorOnSurfaceHigh)};
1205
+ ${ft(Mi.backgroundColor,Ti.headerBackground)};
1206
+ ${ft(Mi.color,Ti.colorOnSurfaceHigh)};
1206
1207
  }
1207
1208
 
1208
1209
  .column-title {
@@ -1267,9 +1268,9 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
1267
1268
  .hidden {
1268
1269
  visibility: hidden;
1269
1270
  }
1270
- `,Di([i({attribute:!1})],Ii.prototype,"data",void 0),Di([i({attribute:!1})],Ii.prototype,"columns",void 0),Di([i({attribute:!1})],Ii.prototype,"sort",void 0),Di([i()],Ii.prototype,"stickyHeaders",void 0),Di([o()],Ii.prototype,"currentSort",void 0),a("ft-filterable-table")(function t(e){var i;let o;if("elementDefinitions"in e){o={};const i=e.elementDefinitions;for(let e in i)o[e]=t(i[e])}return i=class extends e{render(){var t;let i=null!==(t=e.styles)&&void 0!==t?t:[];return Array.isArray(i)||(i=[i]),H`
1271
+ `,ji([i({attribute:!1})],Pi.prototype,"data",void 0),ji([i({attribute:!1})],Pi.prototype,"columns",void 0),ji([i({attribute:!1})],Pi.prototype,"sort",void 0),ji([i()],Pi.prototype,"stickyHeaders",void 0),ji([o()],Pi.prototype,"currentSort",void 0),a("ft-filterable-table")(function t(e){var i;let o;if("elementDefinitions"in e){o={};const i=e.elementDefinitions;for(let e in i)o[e]=t(i[e])}return i=class extends e{render(){var t;let i=null!==(t=e.styles)&&void 0!==t?t:[];return Array.isArray(i)||(i=[i]),H`
1271
1272
  ${i.map((t=>H`
1272
1273
  <style>${t}</style>
1273
1274
  `))}
1274
1275
  ${super.render()}
1275
- `}},i.styles=void 0,i.elementDefinitions=o,i}(Ii))}();
1276
+ `}},i.styles=void 0,i.elementDefinitions=o,i}(Pi))}();