@fluid-topics/ft-text-field 0.3.37 → 0.3.38

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,r=new WeakMap,s=new WeakMap,n=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,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=r.prototype.attributeChangedCallback,a=new Set(r.observedAttributes||[]);c(r,a,l);const p={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,p),this._definitionsByClass.set(r,p);let h=i.call(o,t);h||(h=f(t),e.call(o,t,h)),this===window.customElements&&(n.set(r,p),p.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,p,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){y.push(this),o.upgrade.apply(o,arguments),y.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=n.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),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!p(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,r=o._getDefinition(e);return r?u(i,r):s.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){r.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},c=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,r),i.call(this,s,t,r)}else o.call(this,s,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),a=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const v=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),y.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){y.push(this),i.set.call(this,t),y.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.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"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),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 n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(ii){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,s=new WeakMap,n=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,s){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);c(s,a,l);const p={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,p),this._definitionsByClass.set(s,p);let h=i.call(o,t);h||(h=f(t),e.call(o,t,h)),this===window.customElements&&(r.set(s,p),p.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,p,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){y.push(this),o.upgrade.apply(o,arguments),y.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!p(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,s=o._getDefinition(e);return s?u(i,s):n.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},c=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,s),i.call(this,n,t,s)}else o.call(this,n,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),y.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const v=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){y.push(this),i.set.call(this,t),y.pop()}})};if(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(ni){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,s=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}s(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -24,56 +24,60 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}function r(t){return o({...t,state:!0})}
27
+ */}function s(t){return o({...t,state:!0})}
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */
32
+ */const n=({finisher:t,descriptor:e})=>(i,o)=>{var s;if(void 0===o){const o=null!==(s=i.originalKey)&&void 0!==s?s:i.key,n=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(n.finisher=function(e){t(e,o)}),n}{const s=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(s,o)}}
33
33
  /**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */
38
- function s(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var r;if(void 0===o){const o=null!==(r=i.originalKey)&&void 0!==r?r:i.key,s=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(s.finisher=function(e){t(e,o)}),s}{const r=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(r,o)}})({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
37
+ */;function r(t,e){return n({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
39
38
  /**
40
39
  * @license
41
40
  * Copyright 2021 Google LLC
42
41
  * SPDX-License-Identifier: BSD-3-Clause
43
- */var n;null===(n=window.HTMLSlotElement)||void 0===n||n.prototype.assignedElements;const l=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
42
+ */var l;const a=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function p(t){const{slot:e,selector:i}=null!=t?t:{};return n({descriptor:o=>({get(){var o;const s="slot"+(e?`[name=${e}]`:":not([name])"),n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(s),r=null!=n?a(n,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}
43
+ /**
44
+ * @license
45
+ * Copyright 2017 Google LLC
46
+ * SPDX-License-Identifier: BSD-3-Clause
47
+ */const h=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
44
48
  /**
45
49
  * @license
46
50
  * Copyright 2019 Google LLC
47
51
  * SPDX-License-Identifier: BSD-3-Clause
48
52
  */
49
- const a=window,p=a.ShadowRoot&&(void 0===a.ShadyCSS||a.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,h=Symbol(),f=new WeakMap;class c{constructor(t,e,i){if(this._$cssResult$=!0,i!==h)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(p&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=f.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&f.set(e,t))}return t}toString(){return this.cssText}}const d=t=>new c("string"==typeof t?t:t+"",void 0,h),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 c(i,t,h)},x=(t,e)=>{p?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=a.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},y=p?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return d(e)})(t):t
53
+ const f=window,c=f.ShadowRoot&&(void 0===f.ShadyCSS||f.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),u=new WeakMap;class x{constructor(t,e,i){if(this._$cssResult$=!0,i!==d)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(c&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=u.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&u.set(e,t))}return t}toString(){return this.cssText}}const y=t=>new x("string"==typeof t?t:t+"",void 0,d),g=(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 x(i,t,d)},v=(t,e)=>{c?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=f.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},b=c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return y(e)})(t):t
50
54
  /**
51
55
  * @license
52
56
  * Copyright 2017 Google LLC
53
57
  * SPDX-License-Identifier: BSD-3-Clause
54
- */;var v;const b=window,g=b.trustedTypes,m=g?g.emptyScript:"",$=b.reactiveElementPolyfillSupport,w={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},O=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:O};class k extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=S){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const r=this[t];this[e]=o,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(y(t))}else void 0!==t&&e.push(y(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return x(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=S){var o;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const s=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:w).toAttribute(e,i.type);this._$El=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,r=o._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=o.getPropertyOptions(r),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:w;this._$El=r,this[r]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||O)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
58
+ */;var m;const $=window,w=$.trustedTypes,O=w?w.emptyScript:"",S=$.reactiveElementPolyfillSupport,k={toAttribute(t,e){switch(e){case Boolean:t=t?O:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},N=(t,e)=>e!==t&&(e==e||t==t),E={attribute:!0,type:String,converter:k,reflect:!1,hasChanged:N};class C extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=E){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const s=this[t];this[e]=o,this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||E}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(b(t))}else void 0!==t&&e.push(b(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return v(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=E){var o;const s=this.constructor._$Ep(t,i);if(void 0!==s&&!0===i.reflect){const n=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:k).toAttribute(e,i.type);this._$El=t,null==n?this.removeAttribute(s):this.setAttribute(s,n),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,s=o._$Ev.get(t);if(void 0!==s&&this._$El!==s){const t=o.getPropertyOptions(s),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:k;this._$El=s,this[s]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||N)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
55
59
  /**
56
60
  * @license
57
61
  * Copyright 2017 Google LLC
58
62
  * SPDX-License-Identifier: BSD-3-Clause
59
63
  */
60
- var N;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:k}),(null!==(v=b.reactiveElementVersions)&&void 0!==v?v:b.reactiveElementVersions=[]).push("1.4.1");const E=window,C=E.trustedTypes,R=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,M=`lit$${(Math.random()+"").slice(9)}$`,U="?"+M,z=`<${U}>`,F=document,j=(t="")=>F.createComment(t),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,P=/>/g,_=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),T=/'/g,I=/"/g,W=/^(?:script|style|textarea|title)$/i,H=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),K=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),V=new WeakMap,J=F.createTreeWalker(F,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=L;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,h=0;for(;h<i.length&&(n.lastIndex=h,a=n.exec(i),null!==a);)h=n.lastIndex,n===L?"!--"===a[1]?n=D:void 0!==a[1]?n=P:void 0!==a[2]?(W.test(a[2])&&(r=RegExp("</"+a[2],"g")),n=_):void 0!==a[3]&&(n=_):n===_?">"===a[0]?(n=null!=r?r:L,p=-1):void 0===a[1]?p=-2:(p=n.lastIndex-a[2].length,l=a[1],n=void 0===a[3]?_:'"'===a[3]?I:T):n===I||n===T?n=_:n===D||n===P?n=L:(n=_,r=void 0);const f=n===_&&t[e+1].startsWith("/>")?" ":"";s+=n===L?i+z:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+M+f):i+M+(-2===p?(o.push(void 0),e):f)}const l=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==R?R.createHTML(l):l,o]};class X{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const n=t.length-1,l=this.parts,[a,p]=q(t,e);if(this.el=X.createElement(a,i),J.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=J.nextNode())&&l.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(M)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(M),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?ot:"@"===e[1]?rt:tt})}else l.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(W.test(o.tagName)){const t=o.textContent.split(M),e=t.length-1;if(e>0){o.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],j()),J.nextNode(),l.push({type:2,index:++r});o.append(t[e],j())}}}else if(8===o.nodeType)if(o.data===U)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(M,t+1));)l.push({type:7,index:r}),t+=M.length-1}r++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function Y(t,e,i=t,o){var r,s,n,l;if(e===K)return e;let a=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const p=A(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(n=(l=i)._$Co)&&void 0!==n?n:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=Y(t,a._$AS(t,e.values),a,o)),e}class G{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);J.currentNode=r;let s=J.nextNode(),n=0,l=0,a=o[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new Q(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new st(s,this,t)),this.u.push(e),a=o[++l]}n!==(null==a?void 0:a.index)&&(s=J.nextNode(),n++)}return r}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Q{constructor(t,e,i,o){var r;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),A(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==K&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>B(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==Z&&A(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,r="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)===r)this._$AH.p(i);else{const t=new G(r,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=V.get(t.strings);return void 0===e&&V.set(t.strings,e=new X(t)),e}k(t){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new Q(this.O(j()),this.O(j()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class tt{constructor(t,e,i,o,r){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,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 r=this.strings;let s=!1;if(void 0===r)t=Y(this,t,e,0),s=!A(t)||t!==this._$AH&&t!==K,s&&(this._$AH=t);else{const o=t;let n,l;for(t=r[0],n=0;n<r.length-1;n++)l=Y(this,o[i+n],e,n),l===K&&(l=this._$AH[n]),s||(s=!A(l)||l!==this._$AH[n]),l===Z?t=Z:t!==Z&&(t+=(null!=l?l:"")+r[n+1]),this._$AH[n]=l}s&&!o&&this.j(t)}j(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Z?void 0:t}}const it=C?C.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Z?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class rt extends tt{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Y(this,t,e,0))&&void 0!==i?i:Z)===K)return;const o=this._$AH,r=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Z&&(o===Z||r);r&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class st{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}}const nt=E.litHtmlPolyfillSupport;null==nt||nt(X,Q),(null!==(N=E.litHtmlVersions)&&void 0!==N?N:E.litHtmlVersions=[]).push("2.4.0");
64
+ var R;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:C}),(null!==(m=$.reactiveElementVersions)&&void 0!==m?m:$.reactiveElementVersions=[]).push("1.4.1");const M=window,z=M.trustedTypes,U=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F=`lit$${(Math.random()+"").slice(9)}$`,j="?"+F,A=`<${j}>`,B=document,D=(t="")=>B.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,I=/>/g,W=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),K=/'/g,H=/"/g,Z=/^(?:script|style|textarea|title)$/i,V=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),J=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),X=new WeakMap,Y=B.createTreeWalker(B,129,null,!1),G=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=P;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,h=0;for(;h<i.length&&(r.lastIndex=h,a=r.exec(i),null!==a);)h=r.lastIndex,r===P?"!--"===a[1]?r=_:void 0!==a[1]?r=I:void 0!==a[2]?(Z.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=W):void 0!==a[3]&&(r=W):r===W?">"===a[0]?(r=null!=s?s:P,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?W:'"'===a[3]?H:K):r===H||r===K?r=W:r===_||r===I?r=P:(r=W,s=void 0);const f=r===W&&t[e+1].startsWith("/>")?" ":"";n+=r===P?i+A:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+F+f):i+F+(-2===p?(o.push(void 0),e):f)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==U?U.createHTML(l):l,o]};class Q{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,p]=G(t,e);if(this.el=Q.createElement(a,i),Y.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Y.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(F)){const i=p[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(F),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?st:"?"===e[1]?rt:"@"===e[1]?lt:ot})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(Z.test(o.tagName)){const t=o.textContent.split(F),e=t.length-1;if(e>0){o.textContent=z?z.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],D()),Y.nextNode(),l.push({type:2,index:++s});o.append(t[e],D())}}}else if(8===o.nodeType)if(o.data===j)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(F,t+1));)l.push({type:7,index:s}),t+=F.length-1}s++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function tt(t,e,i=t,o){var s,n,r,l;if(e===J)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const p=L(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=tt(t,a._$AS(t,e.values),a,o)),e}class et{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(i,!0);Y.currentNode=s;let n=Y.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new it(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new at(n,this,t)),this.u.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=Y.nextNode(),r++)}return s}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class it{constructor(t,e,i,o){var s;this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=tt(this,t,e),L(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==J&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>T(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==q&&L(this._$AH)?this._$AA.nextSibling.data=t:this.T(B.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Q.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.p(i);else{const t=new et(s,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=X.get(t.strings);return void 0===e&&X.set(t.strings,e=new Q(t)),e}k(t){T(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new it(this.O(D()),this.O(D()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class ot{constructor(t,e,i,o,s){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=tt(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==J,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=tt(this,o[i+r],e,r),l===J&&(l=this._$AH[r]),n||(n=!L(l)||l!==this._$AH[r]),l===q?t=q:t!==q&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class st extends ot{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}const nt=z?z.emptyScript:"";class rt extends ot{constructor(){super(...arguments),this.type=4}j(t){t&&t!==q?this.element.setAttribute(this.name,nt):this.element.removeAttribute(this.name)}}class lt extends ot{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=tt(this,t,e,0))&&void 0!==i?i:q)===J)return;const o=this._$AH,s=t===q&&o!==q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==q&&(o===q||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class at{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){tt(this,t)}}const pt=M.litHtmlPolyfillSupport;null==pt||pt(Q,it),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.4.0");
61
65
  /**
62
66
  * @license
63
67
  * Copyright 2017 Google LLC
64
68
  * SPDX-License-Identifier: BSD-3-Clause
65
69
  */
66
- var lt,at;class pt extends k{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,r;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=s._$litPart$;if(void 0===n){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;s._$litPart$=n=new Q(e.insertBefore(j(),t),t,void 0,null!=i?i:{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return K}}pt.finalized=!0,pt._$litElement$=!0,null===(lt=globalThis.litElementHydrateSupport)||void 0===lt||lt.call(globalThis,{LitElement:pt});const ht=globalThis.litElementPolyfillSupport;null==ht||ht({LitElement:pt}),(null!==(at=globalThis.litElementVersions)&&void 0!==at?at:globalThis.litElementVersions=[]).push("3.2.2");class ft{static create(t,e,i){let o=t=>d(null!=t?t:i),r=u`var(${d(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>u`var(${d(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=u`var(${d(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>u`var(${d(t)}, ${o(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):d(null!=e?e:t.defaultValue),o=u`var(${d(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>u`var(${d(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function ct(t,e){return d(`${t.name}: ${e}`)}const dt={colorPrimary:ft.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ft.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ft.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ft.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ft.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ft.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ft.create("--ft-color-error","COLOR","#B00020"),colorOutline:ft.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ft.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ft.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ft.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ft.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ft.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ft.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ft.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ft.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ft.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ft.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ft.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ft.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ft.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ft.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ft.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ft.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ft.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ft.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ft.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ft.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ft.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ft.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ft.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ft.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ft.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ft.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ft.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ft.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ft.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ft.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ft.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ft.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ft.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ft.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ft.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ft.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ft.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ft.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ft.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ft.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ft.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ft.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ft.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ft.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ft.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ft.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ft.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ft.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ft.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ft.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ft.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ft.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ft.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ft.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
70
+ var ht,ft;class ct extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new it(e.insertBefore(D(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return J}}ct.finalized=!0,ct._$litElement$=!0,null===(ht=globalThis.litElementHydrateSupport)||void 0===ht||ht.call(globalThis,{LitElement:ct});const dt=globalThis.litElementPolyfillSupport;null==dt||dt({LitElement:ct}),(null!==(ft=globalThis.litElementVersions)&&void 0!==ft?ft:globalThis.litElementVersions=[]).push("3.2.2");class ut{static create(t,e,i){let o=t=>y(null!=t?t:i),s=g`var(${y(t)}, ${o(i)})`;return s.name=t,s.category=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>g`var(${y(t)}, ${o(e)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),s=g`var(${y(t)}, ${o(i)})`;return s.name=t,s.category=e.category,s.fallbackVariable=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>g`var(${y(t)}, ${o(e)})`,s.breadcrumb=()=>[e.name,...e.breadcrumb()],s.lastResortDefaultValue=()=>i,s}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):y(null!=e?e:t.defaultValue),o=g`var(${y(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>g`var(${y(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function xt(t,e){return y(`${t.name}: ${e}`)}const yt={colorPrimary:ut.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ut.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ut.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ut.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ut.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ut.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ut.create("--ft-color-error","COLOR","#B00020"),colorOutline:ut.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ut.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ut.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ut.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ut.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ut.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ut.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ut.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ut.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ut.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ut.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ut.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ut.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ut.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ut.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ut.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ut.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ut.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ut.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ut.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ut.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ut.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ut.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ut.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ut.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ut.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ut.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ut.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ut.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ut.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ut.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ut.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ut.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ut.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ut.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ut.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ut.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ut.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:ut.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:ut.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:ut.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:ut.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:ut.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:ut.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:ut.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:ut.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:ut.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:ut.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ut.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ut.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ut.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ut.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ut.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ut.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ut.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
67
71
  /**
68
72
  * @license
69
73
  * Copyright 2021 Google LLC
70
74
  * SPDX-License-Identifier: BSD-3-Clause
71
- */var ut,xt,yt=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class vt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const r=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return x(r,this.constructor.elementStyles),r}}}(pt)){constructor(){super(),this.exportpartsDebouncer=new e(5),this.constructorName=this.constructor.name,this.constructorPrototype=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this.constructorName&&Object.setPrototypeOf(this,this.constructorPrototype)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),H`
72
- ${t.map((t=>H`
75
+ */var gt,vt,bt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class mt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return v(s,this.constructor.elementStyles),s}}}(ct)){constructor(){super(),this.exportpartsDebouncer=new e(5),this.constructorName=this.constructor.name,this.constructorPrototype=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this.constructorName&&Object.setPrototypeOf(this,this.constructorPrototype)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),V`
76
+ ${t.map((t=>V`
73
77
  <style>${t}</style>
74
78
  `))}
75
79
  ${this.getTemplate()}
76
- `}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){}scheduleExportpartsUpdate(){this.exportpartsDebouncer.run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,r,s,n;const l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(n=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...i).filter(l).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const h=[...p.values()].flatMap((t=>a.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}yt([o()],vt.prototype,"exportpartsPrefix",void 0),yt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],vt.prototype,"exportpartsPrefixes",void 0),u`
80
+ `}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){}scheduleExportpartsUpdate(){this.exportpartsDebouncer.run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,s,n,r;const l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(s=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==s?s:[],i=null!==(r=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(l).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const h=[...p.values()].flatMap((t=>a.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}bt([o()],mt.prototype,"exportpartsPrefix",void 0),bt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],mt.prototype,"exportpartsPrefixes",void 0),g`
77
81
  .ft-no-text-select {
78
82
  -webkit-touch-callout: none;
79
83
  -webkit-user-select: none;
@@ -82,7 +86,7 @@ var lt,at;class pt extends k{constructor(){super(...arguments),this.renderOption
82
86
  -ms-user-select: none;
83
87
  user-select: none;
84
88
  }
85
- `,u`
89
+ `,g`
86
90
  .ft-word-wrap {
87
91
  white-space: normal;
88
92
  word-wrap: break-word;
@@ -94,143 +98,143 @@ var lt,at;class pt extends k{constructor(){super(...arguments),this.renderOption
94
98
  -webkit-hyphens: auto;
95
99
  hyphens: auto
96
100
  }
97
- `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(xt=null===(ut=window.safari)||void 0===ut?void 0:ut.pushNotification)||void 0===xt||xt.toString());
101
+ `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(vt=null===(gt=window.safari)||void 0===gt?void 0:gt.pushNotification)||void 0===vt||vt.toString());
98
102
  /**
99
103
  * @license
100
104
  * Copyright 2017 Google LLC
101
105
  * SPDX-License-Identifier: BSD-3-Clause
102
106
  */
103
- const bt=1,gt=2,mt=t=>(...e)=>({_$litDirective$:t,values:e});class $t{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)}}
107
+ const $t=1,wt=2,Ot=t=>(...e)=>({_$litDirective$:t,values:e});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)}}
104
108
  /**
105
109
  * @license
106
110
  * Copyright 2018 Google LLC
107
111
  * SPDX-License-Identifier: BSD-3-Clause
108
- */const wt=mt(class extends $t{constructor(t){var e;if(super(t),t.type!==bt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const r=t.element.classList;this.nt.forEach((t=>{t in e||(r.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(r.add(t),this.nt.add(t)):(r.remove(t),this.nt.delete(t)))}return K}}),Ot=Symbol.for(""),St=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void 0:t._$litStatic$},kt=t=>({_$litStatic$:t,r:Ot}),Nt=new Map,Et=(t=>(e,...i)=>{const o=i.length;let r,s;const n=[],l=[];let a,p=0,h=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(s=i[p],r=St(s));)a+=r+e[++p],h=!0;l.push(s),n.push(a),p++}if(p===o&&n.push(e[o]),h){const t=n.join("$$lit$$");void 0===(e=Nt.get(t))&&(n.raw=n,Nt.set(t,e=n)),i=l}return t(e,...i)})(H);
112
+ */const kt=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.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const s=t.element.classList;this.nt.forEach((t=>{t in e||(s.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.nt.add(t)):(s.remove(t),this.nt.delete(t)))}return J}}),Nt=Symbol.for(""),Et=t=>{if((null==t?void 0:t.r)===Nt)return null==t?void 0:t._$litStatic$},Ct=t=>({_$litStatic$:t,r:Nt}),Rt=new Map,Mt=(t=>(e,...i)=>{const o=i.length;let s,n;const r=[],l=[];let a,p=0,h=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(n=i[p],s=Et(n));)a+=s+e[++p],h=!0;l.push(n),r.push(a),p++}if(p===o&&r.push(e[o]),h){const t=r.join("$$lit$$");void 0===(e=Rt.get(t))&&(r.raw=r,Rt.set(t,e=r)),i=l}return t(e,...i)})(V);
109
113
  /**
110
114
  * @license
111
115
  * Copyright 2020 Google LLC
112
116
  * SPDX-License-Identifier: BSD-3-Clause
113
- */var Ct;!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"}(Ct||(Ct={}));const Rt=ft.extend("--ft-typography-font-family",dt.titleFont),Mt=ft.extend("--ft-typography-font-family",dt.contentFont),Ut={fontFamily:Mt,fontSize:ft.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ft.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ft.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ft.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ft.create("--ft-typography-text-transform","UNKNOWN","inherit")},zt=ft.extend("--ft-typography-title-font-family",Rt),Ft=ft.extend("--ft-typography-title-font-size",Ut.fontSize,"20px"),jt=ft.extend("--ft-typography-title-font-weight",Ut.fontWeight,"normal"),At=ft.extend("--ft-typography-title-letter-spacing",Ut.letterSpacing,"0.15px"),Bt=ft.extend("--ft-typography-title-line-height",Ut.lineHeight,"1.2"),Lt=ft.extend("--ft-typography-title-text-transform",Ut.textTransform,"inherit"),Dt=ft.extend("--ft-typography-title-dense-font-family",Rt),Pt=ft.extend("--ft-typography-title-dense-font-size",Ut.fontSize,"14px"),_t=ft.extend("--ft-typography-title-dense-font-weight",Ut.fontWeight,"normal"),Tt=ft.extend("--ft-typography-title-dense-letter-spacing",Ut.letterSpacing,"0.105px"),It=ft.extend("--ft-typography-title-dense-line-height",Ut.lineHeight,"1.7"),Wt=ft.extend("--ft-typography-title-dense-text-transform",Ut.textTransform,"inherit"),Ht=ft.extend("--ft-typography-subtitle1-font-family",Mt),Kt=ft.extend("--ft-typography-subtitle1-font-size",Ut.fontSize,"16px"),Zt=ft.extend("--ft-typography-subtitle1-font-weight",Ut.fontWeight,"600"),Vt=ft.extend("--ft-typography-subtitle1-letter-spacing",Ut.letterSpacing,"0.144px"),Jt=ft.extend("--ft-typography-subtitle1-line-height",Ut.lineHeight,"1.5"),qt=ft.extend("--ft-typography-subtitle1-text-transform",Ut.textTransform,"inherit"),Xt=ft.extend("--ft-typography-subtitle2-font-family",Mt),Yt=ft.extend("--ft-typography-subtitle2-font-size",Ut.fontSize,"14px"),Gt=ft.extend("--ft-typography-subtitle2-font-weight",Ut.fontWeight,"normal"),Qt=ft.extend("--ft-typography-subtitle2-letter-spacing",Ut.letterSpacing,"0.098px"),te=ft.extend("--ft-typography-subtitle2-line-height",Ut.lineHeight,"1.7"),ee=ft.extend("--ft-typography-subtitle2-text-transform",Ut.textTransform,"inherit"),ie={fontFamily:ft.extend("--ft-typography-body1-font-family",Mt),fontSize:ft.extend("--ft-typography-body1-font-size",Ut.fontSize,"16px"),fontWeight:ft.extend("--ft-typography-body1-font-weight",Ut.fontWeight,"normal"),letterSpacing:ft.extend("--ft-typography-body1-letter-spacing",Ut.letterSpacing,"0.496px"),lineHeight:ft.extend("--ft-typography-body1-line-height",Ut.lineHeight,"1.5"),textTransform:ft.extend("--ft-typography-body1-text-transform",Ut.textTransform,"inherit")},oe=ft.extend("--ft-typography-body2-font-family",Mt),re=ft.extend("--ft-typography-body2-font-size",Ut.fontSize,"14px"),se=ft.extend("--ft-typography-body2-font-weight",Ut.fontWeight,"normal"),ne=ft.extend("--ft-typography-body2-letter-spacing",Ut.letterSpacing,"0.252px"),le=ft.extend("--ft-typography-body2-line-height",Ut.lineHeight,"1.4"),ae=ft.extend("--ft-typography-body2-text-transform",Ut.textTransform,"inherit"),pe={fontFamily:ft.extend("--ft-typography-caption-font-family",Mt),fontSize:ft.extend("--ft-typography-caption-font-size",Ut.fontSize,"12px"),fontWeight:ft.extend("--ft-typography-caption-font-weight",Ut.fontWeight,"normal"),letterSpacing:ft.extend("--ft-typography-caption-letter-spacing",Ut.letterSpacing,"0.396px"),lineHeight:ft.extend("--ft-typography-caption-line-height",Ut.lineHeight,"1.33"),textTransform:ft.extend("--ft-typography-caption-text-transform",Ut.textTransform,"inherit")},he=ft.extend("--ft-typography-breadcrumb-font-family",Mt),fe=ft.extend("--ft-typography-breadcrumb-font-size",Ut.fontSize,"10px"),ce=ft.extend("--ft-typography-breadcrumb-font-weight",Ut.fontWeight,"normal"),de=ft.extend("--ft-typography-breadcrumb-letter-spacing",Ut.letterSpacing,"0.33px"),ue=ft.extend("--ft-typography-breadcrumb-line-height",Ut.lineHeight,"1.6"),xe=ft.extend("--ft-typography-breadcrumb-text-transform",Ut.textTransform,"inherit"),ye=ft.extend("--ft-typography-overline-font-family",Mt),ve=ft.extend("--ft-typography-overline-font-size",Ut.fontSize,"10px"),be=ft.extend("--ft-typography-overline-font-weight",Ut.fontWeight,"normal"),ge=ft.extend("--ft-typography-overline-letter-spacing",Ut.letterSpacing,"1.5px"),me=ft.extend("--ft-typography-overline-line-height",Ut.lineHeight,"1.6"),$e=ft.extend("--ft-typography-overline-text-transform",Ut.textTransform,"uppercase"),we=ft.extend("--ft-typography-button-font-family",Mt),Oe=ft.extend("--ft-typography-button-font-size",Ut.fontSize,"14px"),Se=ft.extend("--ft-typography-button-font-weight",Ut.fontWeight,"600"),ke=ft.extend("--ft-typography-button-letter-spacing",Ut.letterSpacing,"1.246px"),Ne=ft.extend("--ft-typography-button-line-height",Ut.lineHeight,"1.15"),Ee=ft.extend("--ft-typography-button-text-transform",Ut.textTransform,"uppercase"),Ce=u`
117
+ */var zt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(zt||(zt={}));const Ut=ut.extend("--ft-typography-font-family",yt.titleFont),Ft=ut.extend("--ft-typography-font-family",yt.contentFont),jt={fontFamily:Ft,fontSize:ut.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ut.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ut.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ut.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ut.create("--ft-typography-text-transform","UNKNOWN","inherit")},At=ut.extend("--ft-typography-title-font-family",Ut),Bt=ut.extend("--ft-typography-title-font-size",jt.fontSize,"20px"),Dt=ut.extend("--ft-typography-title-font-weight",jt.fontWeight,"normal"),Lt=ut.extend("--ft-typography-title-letter-spacing",jt.letterSpacing,"0.15px"),Tt=ut.extend("--ft-typography-title-line-height",jt.lineHeight,"1.2"),Pt=ut.extend("--ft-typography-title-text-transform",jt.textTransform,"inherit"),_t=ut.extend("--ft-typography-title-dense-font-family",Ut),It=ut.extend("--ft-typography-title-dense-font-size",jt.fontSize,"14px"),Wt=ut.extend("--ft-typography-title-dense-font-weight",jt.fontWeight,"normal"),Kt=ut.extend("--ft-typography-title-dense-letter-spacing",jt.letterSpacing,"0.105px"),Ht=ut.extend("--ft-typography-title-dense-line-height",jt.lineHeight,"1.7"),Zt=ut.extend("--ft-typography-title-dense-text-transform",jt.textTransform,"inherit"),Vt=ut.extend("--ft-typography-subtitle1-font-family",Ft),Jt=ut.extend("--ft-typography-subtitle1-font-size",jt.fontSize,"16px"),qt=ut.extend("--ft-typography-subtitle1-font-weight",jt.fontWeight,"600"),Xt=ut.extend("--ft-typography-subtitle1-letter-spacing",jt.letterSpacing,"0.144px"),Yt=ut.extend("--ft-typography-subtitle1-line-height",jt.lineHeight,"1.5"),Gt=ut.extend("--ft-typography-subtitle1-text-transform",jt.textTransform,"inherit"),Qt=ut.extend("--ft-typography-subtitle2-font-family",Ft),te=ut.extend("--ft-typography-subtitle2-font-size",jt.fontSize,"14px"),ee=ut.extend("--ft-typography-subtitle2-font-weight",jt.fontWeight,"normal"),ie=ut.extend("--ft-typography-subtitle2-letter-spacing",jt.letterSpacing,"0.098px"),oe=ut.extend("--ft-typography-subtitle2-line-height",jt.lineHeight,"1.7"),se=ut.extend("--ft-typography-subtitle2-text-transform",jt.textTransform,"inherit"),ne={fontFamily:ut.extend("--ft-typography-body1-font-family",Ft),fontSize:ut.extend("--ft-typography-body1-font-size",jt.fontSize,"16px"),fontWeight:ut.extend("--ft-typography-body1-font-weight",jt.fontWeight,"normal"),letterSpacing:ut.extend("--ft-typography-body1-letter-spacing",jt.letterSpacing,"0.496px"),lineHeight:ut.extend("--ft-typography-body1-line-height",jt.lineHeight,"1.5"),textTransform:ut.extend("--ft-typography-body1-text-transform",jt.textTransform,"inherit")},re=ut.extend("--ft-typography-body2-font-family",Ft),le=ut.extend("--ft-typography-body2-font-size",jt.fontSize,"14px"),ae=ut.extend("--ft-typography-body2-font-weight",jt.fontWeight,"normal"),pe=ut.extend("--ft-typography-body2-letter-spacing",jt.letterSpacing,"0.252px"),he=ut.extend("--ft-typography-body2-line-height",jt.lineHeight,"1.4"),fe=ut.extend("--ft-typography-body2-text-transform",jt.textTransform,"inherit"),ce={fontFamily:ut.extend("--ft-typography-caption-font-family",Ft),fontSize:ut.extend("--ft-typography-caption-font-size",jt.fontSize,"12px"),fontWeight:ut.extend("--ft-typography-caption-font-weight",jt.fontWeight,"normal"),letterSpacing:ut.extend("--ft-typography-caption-letter-spacing",jt.letterSpacing,"0.396px"),lineHeight:ut.extend("--ft-typography-caption-line-height",jt.lineHeight,"1.33"),textTransform:ut.extend("--ft-typography-caption-text-transform",jt.textTransform,"inherit")},de=ut.extend("--ft-typography-breadcrumb-font-family",Ft),ue=ut.extend("--ft-typography-breadcrumb-font-size",jt.fontSize,"10px"),xe=ut.extend("--ft-typography-breadcrumb-font-weight",jt.fontWeight,"normal"),ye=ut.extend("--ft-typography-breadcrumb-letter-spacing",jt.letterSpacing,"0.33px"),ge=ut.extend("--ft-typography-breadcrumb-line-height",jt.lineHeight,"1.6"),ve=ut.extend("--ft-typography-breadcrumb-text-transform",jt.textTransform,"inherit"),be=ut.extend("--ft-typography-overline-font-family",Ft),me=ut.extend("--ft-typography-overline-font-size",jt.fontSize,"10px"),$e=ut.extend("--ft-typography-overline-font-weight",jt.fontWeight,"normal"),we=ut.extend("--ft-typography-overline-letter-spacing",jt.letterSpacing,"1.5px"),Oe=ut.extend("--ft-typography-overline-line-height",jt.lineHeight,"1.6"),Se=ut.extend("--ft-typography-overline-text-transform",jt.textTransform,"uppercase"),ke=ut.extend("--ft-typography-button-font-family",Ft),Ne=ut.extend("--ft-typography-button-font-size",jt.fontSize,"14px"),Ee=ut.extend("--ft-typography-button-font-weight",jt.fontWeight,"600"),Ce=ut.extend("--ft-typography-button-letter-spacing",jt.letterSpacing,"1.246px"),Re=ut.extend("--ft-typography-button-line-height",jt.lineHeight,"1.15"),Me=ut.extend("--ft-typography-button-text-transform",jt.textTransform,"uppercase"),ze=g`
114
118
  .ft-typography--title {
115
- font-family: ${zt};
116
- font-size: ${Ft};
117
- font-weight: ${jt};
118
- letter-spacing: ${At};
119
- line-height: ${Bt};
120
- text-transform: ${Lt};
121
- }
122
- `,Re=u`
119
+ font-family: ${At};
120
+ font-size: ${Bt};
121
+ font-weight: ${Dt};
122
+ letter-spacing: ${Lt};
123
+ line-height: ${Tt};
124
+ text-transform: ${Pt};
125
+ }
126
+ `,Ue=g`
123
127
  .ft-typography--title-dense {
124
- font-family: ${Dt};
125
- font-size: ${Pt};
126
- font-weight: ${_t};
127
- letter-spacing: ${Tt};
128
- line-height: ${It};
129
- text-transform: ${Wt};
130
- }
131
- `,Me=u`
128
+ font-family: ${_t};
129
+ font-size: ${It};
130
+ font-weight: ${Wt};
131
+ letter-spacing: ${Kt};
132
+ line-height: ${Ht};
133
+ text-transform: ${Zt};
134
+ }
135
+ `,Fe=g`
132
136
  .ft-typography--subtitle1 {
133
- font-family: ${Ht};
134
- font-size: ${Kt};
135
- font-weight: ${Zt};
136
- letter-spacing: ${Vt};
137
- line-height: ${Jt};
138
- text-transform: ${qt};
139
- }
140
- `,Ue=u`
137
+ font-family: ${Vt};
138
+ font-size: ${Jt};
139
+ font-weight: ${qt};
140
+ letter-spacing: ${Xt};
141
+ line-height: ${Yt};
142
+ text-transform: ${Gt};
143
+ }
144
+ `,je=g`
141
145
  .ft-typography--subtitle2 {
142
- font-family: ${Xt};
143
- font-size: ${Yt};
144
- font-weight: ${Gt};
145
- letter-spacing: ${Qt};
146
- line-height: ${te};
147
- text-transform: ${ee};
146
+ font-family: ${Qt};
147
+ font-size: ${te};
148
+ font-weight: ${ee};
149
+ letter-spacing: ${ie};
150
+ line-height: ${oe};
151
+ text-transform: ${se};
148
152
  }
149
153
 
150
- `,ze=u`
154
+ `,Ae=g`
151
155
  .ft-typography--body1 {
152
- font-family: ${ie.fontFamily};
153
- font-size: ${ie.fontSize};
154
- font-weight: ${ie.fontWeight};
155
- letter-spacing: ${ie.letterSpacing};
156
- line-height: ${ie.lineHeight};
157
- text-transform: ${ie.textTransform};
158
- }
159
- `,Fe=u`
156
+ font-family: ${ne.fontFamily};
157
+ font-size: ${ne.fontSize};
158
+ font-weight: ${ne.fontWeight};
159
+ letter-spacing: ${ne.letterSpacing};
160
+ line-height: ${ne.lineHeight};
161
+ text-transform: ${ne.textTransform};
162
+ }
163
+ `,Be=g`
160
164
  .ft-typography--body2 {
161
- font-family: ${oe};
162
- font-size: ${re};
163
- font-weight: ${se};
164
- letter-spacing: ${ne};
165
- line-height: ${le};
166
- text-transform: ${ae};
167
- }
168
- `,je=u`
165
+ font-family: ${re};
166
+ font-size: ${le};
167
+ font-weight: ${ae};
168
+ letter-spacing: ${pe};
169
+ line-height: ${he};
170
+ text-transform: ${fe};
171
+ }
172
+ `,De=g`
169
173
  .ft-typography--caption {
170
- font-family: ${pe.fontFamily};
171
- font-size: ${pe.fontSize};
172
- font-weight: ${pe.fontWeight};
173
- letter-spacing: ${pe.letterSpacing};
174
- line-height: ${pe.lineHeight};
175
- text-transform: ${pe.textTransform};
176
- }
177
- `,Ae=u`
174
+ font-family: ${ce.fontFamily};
175
+ font-size: ${ce.fontSize};
176
+ font-weight: ${ce.fontWeight};
177
+ letter-spacing: ${ce.letterSpacing};
178
+ line-height: ${ce.lineHeight};
179
+ text-transform: ${ce.textTransform};
180
+ }
181
+ `,Le=g`
178
182
  .ft-typography--breadcrumb {
179
- font-family: ${he};
180
- font-size: ${fe};
181
- font-weight: ${ce};
182
- letter-spacing: ${de};
183
- line-height: ${ue};
184
- text-transform: ${xe};
185
- }
186
- `,Be=u`
183
+ font-family: ${de};
184
+ font-size: ${ue};
185
+ font-weight: ${xe};
186
+ letter-spacing: ${ye};
187
+ line-height: ${ge};
188
+ text-transform: ${ve};
189
+ }
190
+ `,Te=g`
187
191
  .ft-typography--overline {
188
- font-family: ${ye};
189
- font-size: ${ve};
190
- font-weight: ${be};
191
- letter-spacing: ${ge};
192
- line-height: ${me};
193
- text-transform: ${$e};
194
- }
195
- `,Le=u`
192
+ font-family: ${be};
193
+ font-size: ${me};
194
+ font-weight: ${$e};
195
+ letter-spacing: ${we};
196
+ line-height: ${Oe};
197
+ text-transform: ${Se};
198
+ }
199
+ `,Pe=g`
196
200
  .ft-typography--button {
197
- font-family: ${we};
198
- font-size: ${Oe};
199
- font-weight: ${Se};
200
- letter-spacing: ${ke};
201
- line-height: ${Ne};
202
- text-transform: ${Ee};
203
- }
204
- `,De=u`
201
+ font-family: ${ke};
202
+ font-size: ${Ne};
203
+ font-weight: ${Ee};
204
+ letter-spacing: ${Ce};
205
+ line-height: ${Re};
206
+ text-transform: ${Me};
207
+ }
208
+ `,_e=g`
205
209
  .ft-typography {
206
210
  vertical-align: inherit;
207
211
  }
208
- `;var Pe=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class _e extends vt{constructor(){super(...arguments),this.variant=Ct.body1}render(){return this.element?Et`
209
- <${kt(this.element)}
212
+ `;var Ie=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class We extends mt{constructor(){super(...arguments),this.variant=zt.body1}render(){return this.element?Mt`
213
+ <${Ct(this.element)}
210
214
  class="ft-typography ft-typography--${this.variant}">
211
215
  <slot></slot>
212
- </${kt(this.element)}>
213
- `:Et`
216
+ </${Ct(this.element)}>
217
+ `:Mt`
214
218
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
215
- `}}_e.styles=[Ce,Re,Me,Ue,ze,Fe,je,Ae,Be,Le,De],Pe([o()],_e.prototype,"element",void 0),Pe([o()],_e.prototype,"variant",void 0),l("ft-typography")(_e);const Te={fontSize:ft.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:ft.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:ft.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:ft.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:ft.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:ft.extend("--ft-input-label-border-color",dt.colorOutline),textColor:ft.extend("--ft-input-label-text-color",dt.colorOnSurfaceMedium),disabledTextColor:ft.extend("--ft-input-label-disabled-text-color",dt.colorOnSurfaceDisabled),colorSurface:ft.external(dt.colorSurface,"Design system"),borderRadiusS:ft.external(dt.borderRadiusS,"Design system"),colorError:ft.external(dt.colorError,"Design system")},Ie=u`
219
+ `}}We.styles=[ze,Ue,Fe,je,Ae,Be,De,Le,Te,Pe,_e],Ie([o()],We.prototype,"element",void 0),Ie([o()],We.prototype,"variant",void 0),h("ft-typography")(We);const Ke={fontSize:ut.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:ut.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:ut.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:ut.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:ut.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:ut.extend("--ft-input-label-border-color",yt.colorOutline),textColor:ut.extend("--ft-input-label-text-color",yt.colorOnSurfaceMedium),disabledTextColor:ut.extend("--ft-input-label-disabled-text-color",yt.colorOnSurfaceDisabled),colorSurface:ut.external(yt.colorSurface,"Design system"),borderRadiusS:ut.external(yt.borderRadiusS,"Design system"),colorError:ut.external(yt.colorError,"Design system")},He=g`
216
220
  .ft-input-label {
217
221
  position: absolute;
218
222
  inset: 0;
219
223
  display: flex;
220
- background-color: ${Te.colorSurface};
221
- border-radius: ${Te.borderRadiusS} ${Te.borderRadiusS} 0 0;
224
+ background-color: ${Ke.colorSurface};
225
+ border-radius: ${Ke.borderRadiusS} ${Ke.borderRadiusS} 0 0;
222
226
  }
223
227
 
224
228
  .ft-input-label--outlined {
225
- border-radius: ${Te.borderRadiusS};
229
+ border-radius: ${Ke.borderRadiusS};
226
230
  }
227
231
 
228
232
  .ft-input-label {
229
- border-color: ${Te.borderColor};
233
+ border-color: ${Ke.borderColor};
230
234
  }
231
235
 
232
236
  .ft-input-label.ft-input-label--in-error {
233
- border-color: ${Te.colorError}
237
+ border-color: ${Ke.colorError}
234
238
  }
235
239
 
236
240
  .ft-input-label:before,
@@ -243,7 +247,7 @@ const bt=1,gt=2,mt=t=>(...e)=>({_$litDirective$:t,values:e});class $t{constructo
243
247
  }
244
248
 
245
249
  .ft-input-label:before {
246
- width: ${Te.horizontalSpacing};
250
+ width: ${Ke.horizontalSpacing};
247
251
  flex-shrink: 0;
248
252
  }
249
253
 
@@ -259,18 +263,18 @@ const bt=1,gt=2,mt=t=>(...e)=>({_$litDirective$:t,values:e});class $t{constructo
259
263
  border-bottom-width: 1px;
260
264
  border-bottom-style: solid;
261
265
  border-color: inherit;
262
- color: ${Te.textColor};
266
+ color: ${Ke.textColor};
263
267
  transition: font-size 250ms, line-height 250ms, color 250ms;
264
- ${ct(pe.fontSize,Te.fontSize)};
265
- ${ct(pe.lineHeight,Te.fontSize)};
268
+ ${xt(ce.fontSize,Ke.fontSize)};
269
+ ${xt(ce.lineHeight,Ke.fontSize)};
266
270
  }
267
271
 
268
272
  .ft-input-label--in-error .ft-input-label--text {
269
- color: ${Te.colorError}
273
+ color: ${Ke.colorError}
270
274
  }
271
275
 
272
276
  .ft-input-label--disabled .ft-input-label--text {
273
- color: ${Te.disabledTextColor};
277
+ color: ${Ke.disabledTextColor};
274
278
  }
275
279
 
276
280
  .ft-input-label--hidden-text {
@@ -285,17 +289,17 @@ const bt=1,gt=2,mt=t=>(...e)=>({_$litDirective$:t,values:e});class $t{constructo
285
289
  overflow: hidden;
286
290
  white-space: nowrap;
287
291
  text-overflow: ellipsis;
288
- padding: ${Te.verticalSpacing} 4px;
289
- margin: calc(${Te.verticalSpacing} * -1) 0;
292
+ padding: ${Ke.verticalSpacing} 4px;
293
+ margin: calc(${Ke.verticalSpacing} * -1) 0;
290
294
  }
291
295
 
292
296
  .ft-input-label--raised .ft-input-label--text {
293
- ${ct(pe.fontSize,Te.raisedFontSize)};
294
- ${ct(pe.lineHeight,Te.raisedFontSize)};
297
+ ${xt(ce.fontSize,Ke.raisedFontSize)};
298
+ ${xt(ce.lineHeight,Ke.raisedFontSize)};
295
299
  }
296
300
 
297
301
  .ft-input-label--raised .ft-input-label--floating-text {
298
- top: ${Te.verticalSpacing};
302
+ top: ${Ke.verticalSpacing};
299
303
  }
300
304
 
301
305
  .ft-input-label--outlined .ft-input-label--text,
@@ -308,36 +312,36 @@ const bt=1,gt=2,mt=t=>(...e)=>({_$litDirective$:t,values:e});class $t{constructo
308
312
  .ft-input-label--outlined:before {
309
313
  border-left-width: 1px;
310
314
  border-left-style: solid;
311
- border-radius: ${Te.borderRadiusS} 0 0 ${Te.borderRadiusS};
315
+ border-radius: ${Ke.borderRadiusS} 0 0 ${Ke.borderRadiusS};
312
316
  }
313
317
 
314
318
  .ft-input-label--outlined:after {
315
319
  border-right-width: 1px;
316
320
  border-right-style: solid;
317
- border-radius: 0 ${Te.borderRadiusS} ${Te.borderRadiusS} 0;
321
+ border-radius: 0 ${Ke.borderRadiusS} ${Ke.borderRadiusS} 0;
318
322
  }
319
323
 
320
324
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
321
325
  padding: 2px 4px;
322
- z-index: ${Te.raisedZIndex};
323
- background-color: ${Te.colorSurface};
324
- border-radius: ${Te.borderRadiusS};
326
+ z-index: ${Ke.raisedZIndex};
327
+ background-color: ${Ke.colorSurface};
328
+ border-radius: ${Ke.borderRadiusS};
325
329
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
326
330
  }
327
331
 
328
332
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
329
333
  border-top: none;
330
334
  }
331
- `;var We=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class He extends vt{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return H`
332
- <div class="${wt(t)}">
333
- ${this.text?H`
335
+ `;var Ze=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ve extends mt{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return V`
336
+ <div class="${kt(t)}">
337
+ ${this.text?V`
334
338
  <div class="ft-input-label--text ft-typography--caption">
335
339
  <span class="ft-input-label--floating-text">${this.text}</span>
336
340
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
337
341
  </div>
338
342
  `:null}
339
343
  </div>
340
- `}}He.elementDefinitions={},He.styles=[je,Ie],We([o({type:String})],He.prototype,"text",void 0),We([o({type:Boolean})],He.prototype,"raised",void 0),We([o({type:Boolean})],He.prototype,"outlined",void 0),We([o({type:Boolean})],He.prototype,"disabled",void 0),We([o({type:Boolean})],He.prototype,"error",void 0),l("ft-input-label")(He);const Ke=ft.extend("--ft-ripple-color",dt.colorContent),Ze={color:Ke,backgroundColor:ft.extend("--ft-ripple-background-color",Ke),opacityContentOnSurfacePressed:ft.external(dt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ft.external(dt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ft.external(dt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ft.external(dt.opacityContentOnSurfaceSelected,"Design system")},Ve=ft.extend("--ft-ripple-color",dt.colorPrimary),Je=Ve,qe=ft.extend("--ft-ripple-background-color",Ve),Xe=ft.extend("--ft-ripple-color",dt.colorSecondary),Ye=Xe,Ge=ft.extend("--ft-ripple-background-color",Xe),Qe=u`
344
+ `}}Ve.elementDefinitions={},Ve.styles=[De,He],Ze([o({type:String})],Ve.prototype,"text",void 0),Ze([o({type:Boolean})],Ve.prototype,"raised",void 0),Ze([o({type:Boolean})],Ve.prototype,"outlined",void 0),Ze([o({type:Boolean})],Ve.prototype,"disabled",void 0),Ze([o({type:Boolean})],Ve.prototype,"error",void 0),h("ft-input-label")(Ve);const Je=ut.extend("--ft-ripple-color",yt.colorContent),qe={color:Je,backgroundColor:ut.extend("--ft-ripple-background-color",Je),opacityContentOnSurfacePressed:ut.external(yt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ut.external(yt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ut.external(yt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ut.external(yt.opacityContentOnSurfaceSelected,"Design system")},Xe=ut.extend("--ft-ripple-color",yt.colorPrimary),Ye=Xe,Ge=ut.extend("--ft-ripple-background-color",Xe),Qe=ut.extend("--ft-ripple-color",yt.colorSecondary),ti=Qe,ei=ut.extend("--ft-ripple-background-color",Qe),ii=g`
341
345
  :host {
342
346
  display: contents;
343
347
  }
@@ -359,27 +363,27 @@ const bt=1,gt=2,mt=t=>(...e)=>({_$litDirective$:t,values:e});class $t{constructo
359
363
  }
360
364
 
361
365
  .ft-ripple .ft-ripple--background {
362
- background-color: ${Ze.backgroundColor};
366
+ background-color: ${qe.backgroundColor};
363
367
  }
364
368
 
365
369
  .ft-ripple .ft-ripple--effect {
366
- background-color: ${Ze.color};
370
+ background-color: ${qe.color};
367
371
  }
368
372
 
369
373
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
370
- background-color: ${Ge};
374
+ background-color: ${ei};
371
375
  }
372
376
 
373
377
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
374
- background-color: ${Ye};
378
+ background-color: ${ti};
375
379
  }
376
380
 
377
381
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
378
- background-color: ${qe};
382
+ background-color: ${Ge};
379
383
  }
380
384
 
381
385
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
382
- background-color: ${Je};
386
+ background-color: ${Ye};
383
387
  }
384
388
 
385
389
  .ft-ripple .ft-ripple--background {
@@ -411,22 +415,22 @@ const bt=1,gt=2,mt=t=>(...e)=>({_$litDirective$:t,values:e});class $t{constructo
411
415
  }
412
416
 
413
417
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
414
- opacity: ${Ze.opacityContentOnSurfaceHover};
418
+ opacity: ${qe.opacityContentOnSurfaceHover};
415
419
  }
416
420
 
417
421
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
418
- opacity: ${Ze.opacityContentOnSurfaceSelected};
422
+ opacity: ${qe.opacityContentOnSurfaceSelected};
419
423
  }
420
424
 
421
425
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
422
- opacity: ${Ze.opacityContentOnSurfaceFocused};
426
+ opacity: ${qe.opacityContentOnSurfaceFocused};
423
427
  }
424
428
 
425
429
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
426
- opacity: ${Ze.opacityContentOnSurfacePressed};
430
+ opacity: ${qe.opacityContentOnSurfacePressed};
427
431
  transform: translate(-50%, -50%) scale(1);
428
432
  }
429
- `;var ti=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class ei extends vt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:r}=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!=r?r-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`
433
+ `;var oi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class si extends mt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return V`
430
434
  <style>
431
435
  .ft-ripple .ft-ripple--effect,
432
436
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -439,29 +443,29 @@ const bt=1,gt=2,mt=t=>(...e)=>({_$litDirective$:t,values:e});class $t{constructo
439
443
  top: ${this.originY}px;
440
444
  }
441
445
  </style>
442
- <div class="${wt(t)}">
446
+ <div class="${kt(t)}">
443
447
  <div class="ft-ripple--background"></div>
444
448
  <div class="ft-ripple--effect"></div>
445
449
  </div>
446
- `}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"),r=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",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,r;return null!=e.x?({x:o,y:r}=e):null!=i.touches&&(o=i.touches[0].clientX,r=i.touches[0].clientY),{x:o,y:r}}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()}}ei.elementDefinitions={},ei.styles=Qe,ti([o({type:Boolean})],ei.prototype,"primary",void 0),ti([o({type:Boolean})],ei.prototype,"secondary",void 0),ti([o({type:Boolean})],ei.prototype,"unbounded",void 0),ti([o({type:Boolean})],ei.prototype,"activated",void 0),ti([o({type:Boolean})],ei.prototype,"selected",void 0),ti([o({type:Boolean})],ei.prototype,"disabled",void 0),ti([r()],ei.prototype,"hovered",void 0),ti([r()],ei.prototype,"focused",void 0),ti([r()],ei.prototype,"pressed",void 0),ti([r()],ei.prototype,"rippling",void 0),ti([r()],ei.prototype,"rippleSize",void 0),ti([r()],ei.prototype,"originX",void 0),ti([r()],ei.prototype,"originY",void 0),ti([s(".ft-ripple")],ei.prototype,"ripple",void 0),ti([s(".ft-ripple--effect")],ei.prototype,"rippleEffect",void 0),l("ft-ripple")(ei);
450
+ `}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"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}si.elementDefinitions={},si.styles=ii,oi([o({type:Boolean})],si.prototype,"primary",void 0),oi([o({type:Boolean})],si.prototype,"secondary",void 0),oi([o({type:Boolean})],si.prototype,"unbounded",void 0),oi([o({type:Boolean})],si.prototype,"activated",void 0),oi([o({type:Boolean})],si.prototype,"selected",void 0),oi([o({type:Boolean})],si.prototype,"disabled",void 0),oi([s()],si.prototype,"hovered",void 0),oi([s()],si.prototype,"focused",void 0),oi([s()],si.prototype,"pressed",void 0),oi([s()],si.prototype,"rippling",void 0),oi([s()],si.prototype,"rippleSize",void 0),oi([s()],si.prototype,"originX",void 0),oi([s()],si.prototype,"originY",void 0),oi([r(".ft-ripple")],si.prototype,"ripple",void 0),oi([r(".ft-ripple--effect")],si.prototype,"rippleEffect",void 0),h("ft-ripple")(si);
447
451
  /**
448
452
  * @license
449
453
  * Copyright 2017 Google LLC
450
454
  * SPDX-License-Identifier: BSD-3-Clause
451
455
  */
452
- class ii extends $t{constructor(t){if(super(t),this.it=Z,t.type!==gt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this._t=void 0,this.it=t;if(t===K)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ii.directiveName="unsafeHTML",ii.resultType=1;const oi=mt(ii);var ri,si;!function(t){t.DESKTOP="&#xe95e",t.MOBILE_LANDSCAPE="&#xe95f",t.MOBILE_PORTRAIT="&#xe960",t.TABLET_LANDSCAPE="&#xe961",t.TABLET_PORTRAIT="&#xe962",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.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="&#xf06e",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;"}(si||(si={})),new Map([...["abw"].map((t=>[t,si.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,si.AUDIO])),...["avi"].map((t=>[t,si.AVI])),...["chm","xhs"].map((t=>[t,si.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,si.CODE])),...["csv"].map((t=>[t,si.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,si.DITA])),...["epub"].map((t=>[t,si.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,si.EXCEL])),...["flac"].map((t=>[t,si.FLAC])),...["gif"].map((t=>[t,si.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,si.GZIP])),...["html","htm","xhtml"].map((t=>[t,si.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,si.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,si.JPEG])),...["json"].map((t=>[t,si.JSON])),...["m4a","m4p"].map((t=>[t,si.M4A])),...["mov","qt"].map((t=>[t,si.MOV])),...["mp3"].map((t=>[t,si.MP3])),...["mp4","m4v"].map((t=>[t,si.MP4])),...["ogg","oga"].map((t=>[t,si.OGG])),...["pdf","ps"].map((t=>[t,si.PDF])),...["png"].map((t=>[t,si.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,si.POWERPOINT])),...["rar"].map((t=>[t,si.RAR])),...["stp"].map((t=>[t,si.STP])),...["txt","rtf","md","mdown"].map((t=>[t,si.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,si.VIDEO])),...["wav"].map((t=>[t,si.WAV])),...["wma"].map((t=>[t,si.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,si.WORD])),...["xml","xsl","rdf"].map((t=>[t,si.XML])),...["yaml","yml","x-yaml"].map((t=>[t,si.YAML])),...["zip"].map((t=>[t,si.ZIP]))]);const ni=ft.create("--ft-icon-font-size","SIZE","24px"),li=ft.extend("--ft-icon-fluid-topics-font-family",ft.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ai=ft.extend("--ft-icon-file-format-font-family",ft.create("--ft-icon-font-family","UNKNOWN","ft-mime")),pi=ft.extend("--ft-icon-material-font-family",ft.create("--ft-icon-font-family","UNKNOWN","Material Icons")),hi=ft.create("--ft-icon-vertical-align","UNKNOWN","unset"),fi=u`
456
+ class ni extends St{constructor(t){if(super(t),this.it=q,t.type!==wt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===q||null==t)return this._t=void 0,this.it=t;if(t===J)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ni.directiveName="unsafeHTML",ni.resultType=1;const ri=Ot(ni);var li,ai;!function(t){t.DESKTOP="&#xe95e",t.TABLET_LANDSCAPE="&#xe95f",t.TABLET_PORTRAIT="&#xe960",t.MOBILE_LANDSCAPE="&#xe961",t.MOBILE_PORTRAIT="&#xe962",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.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="&#xf06e",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]))]);const pi=ut.create("--ft-icon-font-size","SIZE","24px"),hi=ut.extend("--ft-icon-fluid-topics-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fi=ut.extend("--ft-icon-file-format-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-mime")),ci=ut.extend("--ft-icon-material-font-family",ut.create("--ft-icon-font-family","UNKNOWN","Material Icons")),di=ut.create("--ft-icon-vertical-align","UNKNOWN","unset"),ui=g`
453
457
  :host {
454
458
  display: inline-block;
455
459
  }
456
460
 
457
461
  :host, i.ft-icon {
458
- width: ${ni};
459
- height: ${ni};
462
+ width: ${pi};
463
+ height: ${pi};
460
464
  text-align: center;
461
465
  }
462
466
 
463
467
  i.ft-icon {
464
- font-size: ${ni};
468
+ font-size: ${pi};
465
469
  line-height: 1;
466
470
  font-weight: normal;
467
471
  text-transform: none;
@@ -472,26 +476,26 @@ class ii extends $t{constructor(t){if(super(t),this.it=Z,t.type!==gt)throw Error
472
476
  text-rendering: auto;
473
477
  -webkit-font-smoothing: antialiased;
474
478
  -moz-osx-font-smoothing: grayscale;
475
- vertical-align: ${hi};
479
+ vertical-align: ${di};
476
480
  }
477
481
 
478
482
  .ft-icon--fluid-topics {
479
- font-family: ${li}, ft-icons, fticons, sans-serif;
483
+ font-family: ${hi}, ft-icons, fticons, sans-serif;
480
484
  }
481
485
 
482
486
  .ft-icon--file-format {
483
- font-family: ${ai}, ft-mime, sans-serif;
487
+ font-family: ${fi}, ft-mime, sans-serif;
484
488
  }
485
489
 
486
490
  .ft-icon--material {
487
- font-family: ${pi}, "Material Icons", sans-serif;
491
+ font-family: ${ci}, "Material Icons", sans-serif;
488
492
  }
489
- `;var ci;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ci||(ci={}));var di=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class ui extends vt{constructor(){super(...arguments),this.variant=ci.fluid_topics,this.resolvedIcon=Z}render(){const t="material"!==this.variant||this.value;return H`
493
+ `;var xi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(xi||(xi={}));var yi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class gi extends mt{constructor(){super(...arguments),this.variant=xi.fluid_topics,this.resolvedIcon=q}render(){const t="material"!==this.variant||this.value;return V`
490
494
  <i class="ft-icon ${"ft-icon--"+this.variant}">
491
- ${oi(this.resolvedIcon)}
495
+ ${ri(this.resolvedIcon)}
492
496
  <slot ?hidden=${t}></slot>
493
497
  </i>
494
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case ci.file_format:this.resolvedIcon=null!==(t=si[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case ci.fluid_topics:this.resolvedIcon=null!==(e=ri[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||Z}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ui.elementDefinitions={},ui.styles=fi,di([o()],ui.prototype,"variant",void 0),di([o()],ui.prototype,"value",void 0),di([r()],ui.prototype,"resolvedIcon",void 0),di([s("slot")],ui.prototype,"slottedContent",void 0),l("ft-icon")(ui);const xi={fontSize:ft.create("--ft-text-field-font-size","SIZE","14px"),labelSize:ft.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:ft.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:ft.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:ft.extend("--ft-text-field-helper-color",dt.colorOnSurfaceMedium),colorPrimary:ft.external(dt.colorPrimary,"Design system"),colorOnSurface:ft.external(dt.colorOnSurface,"Design system"),colorOnSurfaceDisabled:ft.external(dt.colorOnSurfaceDisabled,"Design system"),borderRadiusS:ft.external(dt.borderRadiusS,"Design system"),colorError:ft.external(dt.colorError,"Design system"),prefixColor:ft.extend("--ft-text-field-prefix-color",dt.colorOnSurfaceMedium),iconColor:ft.extend("--ft-text-field-icon-color",dt.colorOnSurfaceMedium)},yi=u`
498
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case xi.file_format:this.resolvedIcon=null!==(t=ai[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case xi.fluid_topics:this.resolvedIcon=null!==(e=li[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||q}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}gi.elementDefinitions={},gi.styles=ui,yi([o()],gi.prototype,"variant",void 0),yi([o()],gi.prototype,"value",void 0),yi([s()],gi.prototype,"resolvedIcon",void 0),yi([r("slot")],gi.prototype,"slottedContent",void 0),h("ft-icon")(gi);const vi={fontSize:ut.create("--ft-text-field-font-size","SIZE","14px"),labelSize:ut.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:ut.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:ut.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:ut.extend("--ft-text-field-helper-color",yt.colorOnSurfaceMedium),colorPrimary:ut.external(yt.colorPrimary,"Design system"),colorOnSurface:ut.external(yt.colorOnSurface,"Design system"),colorOnSurfaceDisabled:ut.external(yt.colorOnSurfaceDisabled,"Design system"),borderRadiusS:ut.external(yt.borderRadiusS,"Design system"),colorError:ut.external(yt.colorError,"Design system"),prefixColor:ut.extend("--ft-text-field-prefix-color",yt.colorOnSurfaceMedium),iconColor:ut.extend("--ft-text-field-icon-color",yt.colorOnSurfaceMedium),floatingZIndex:ut.create("--ft-text-field-floating-components-z-index","NUMBER","3"),colorSurface:ut.external(yt.colorSurface,"Design system"),colorOutline:ut.external(yt.colorOutline,"Design system"),elevation02:ut.external(yt.elevation02,"Design system"),suggestSize:ut.create("--ft-text-field-suggest-size","SIZE","300px")},bi=g`
495
499
  *:focus {
496
500
  outline: none;
497
501
  }
@@ -500,19 +504,20 @@ class ii extends $t{constructor(t){if(super(t),this.it=Z,t.type!==gt)throw Error
500
504
  display: flex;
501
505
  flex-direction: column;
502
506
  align-items: stretch;
507
+ position: relative;
503
508
  }
504
509
 
505
510
  ft-input-label {
506
- ${ct(Te.fontSize,xi.fontSize)};
507
- ${ct(Te.raisedFontSize,xi.labelSize)};
508
- ${ct(Te.verticalSpacing,xi.verticalSpacing)};
509
- ${ct(Te.horizontalSpacing,u`calc(${xi.horizontalSpacing} - 4px)`)};
511
+ ${xt(Ke.fontSize,vi.fontSize)};
512
+ ${xt(Ke.raisedFontSize,vi.labelSize)};
513
+ ${xt(Ke.verticalSpacing,vi.verticalSpacing)};
514
+ ${xt(Ke.horizontalSpacing,g`calc(${vi.horizontalSpacing} - 4px)`)};
510
515
  }
511
516
 
512
517
  .ft-text-field--main-panel {
513
518
  position: relative;
514
519
  display: flex;
515
- height: calc(4 * ${xi.verticalSpacing} + ${xi.labelSize} + ${xi.fontSize});
520
+ height: calc(4 * ${vi.verticalSpacing} + ${vi.labelSize} + ${vi.fontSize});
516
521
  }
517
522
 
518
523
  .ft-text-field--input-panel {
@@ -521,38 +526,33 @@ class ii extends $t{constructor(t){if(super(t),this.it=Z,t.type!==gt)throw Error
521
526
  display: flex;
522
527
  align-items: center;
523
528
  overflow: hidden;
524
- }
529
+ padding: 0 ${vi.horizontalSpacing};
525
530
 
526
- .ft-text-field--input-panel ft-ripple {
527
- ${ct(Ze.opacityContentOnSurfaceHover,"0.08")};
528
- ${ct(Ze.opacityContentOnSurfacePressed,"0.04")};
531
+ ${xt(ne.fontSize,vi.fontSize)};
532
+ ${xt(ne.lineHeight,vi.fontSize)};
529
533
  }
530
534
 
531
- .ft-text-field--input-wrapper {
532
- flex-grow: 1;
533
- flex-shrink: 1;
534
-
535
- display: flex;
536
- align-items: center;
537
-
538
- ${ct(ie.fontSize,xi.fontSize)};
539
- ${ct(ie.lineHeight,xi.fontSize)};
540
-
541
- padding: 0 ${xi.horizontalSpacing};
535
+ .ft-text-field--input-panel ft-ripple {
536
+ ${xt(qe.opacityContentOnSurfaceHover,"0.08")};
537
+ ${xt(qe.opacityContentOnSurfacePressed,"0.04")};
542
538
  }
543
539
 
544
- .ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input-wrapper {
540
+ .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
545
541
  align-items: flex-end;
546
- padding: 0 ${xi.horizontalSpacing} ${xi.verticalSpacing} ${xi.horizontalSpacing};
542
+ padding: 0 ${vi.horizontalSpacing} ${vi.verticalSpacing} ${vi.horizontalSpacing};
547
543
  }
548
544
 
549
545
  .ft-text-field--prefix {
550
- display: none;
551
- color: ${xi.prefixColor}
546
+ color: ${vi.prefixColor};
547
+ margin-right: 2px;
548
+ flex-shrink: 1;
549
+ overflow: hidden;
550
+ white-space: nowrap;
551
+ text-overflow: ellipsis;
552
552
  }
553
553
 
554
- .ft-text-field--with-prefix.ft-text-field--raised-label .ft-text-field--prefix {
555
- display: block;
554
+ .ft-text-field--with-label:not(.ft-text-field--raised-label) .ft-text-field--prefix {
555
+ display: none;
556
556
  }
557
557
 
558
558
  .ft-text-field--input {
@@ -562,15 +562,15 @@ class ii extends $t{constructor(t){if(super(t),this.it=Z,t.type!==gt)throw Error
562
562
  flex-shrink: 1;
563
563
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
564
564
 
565
- color: ${xi.colorOnSurface};
566
- padding: calc(2 * ${xi.verticalSpacing}) 0;
565
+ color: ${vi.colorOnSurface};
566
+ padding: calc(2 * ${vi.verticalSpacing}) 0;
567
567
  border: none;
568
568
  background: none;
569
569
  }
570
570
 
571
- .ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input {
571
+ .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
572
572
  padding-bottom: 0;
573
- padding-top: calc(${xi.labelSize} + 2 * ${xi.verticalSpacing});
573
+ padding-top: calc(${vi.labelSize} + 2 * ${vi.verticalSpacing});
574
574
  }
575
575
 
576
576
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -579,74 +579,146 @@ class ii extends $t{constructor(t){if(super(t),this.it=Z,t.type!==gt)throw Error
579
579
  }
580
580
 
581
581
  .ft-text-field--disabled .ft-text-field--input {
582
- color: ${xi.colorOnSurfaceDisabled};
583
- }
584
-
585
- .ft-text-field:not(.ft-text-field--disabled) .ft-text-field--input-panel {
586
- cursor: pointer;
582
+ color: ${vi.colorOnSurfaceDisabled};
587
583
  }
588
584
 
589
585
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
590
- ${ct(Te.borderColor,xi.colorPrimary)};
591
- ${ct(Te.textColor,xi.colorPrimary)};
586
+ ${xt(Ke.borderColor,vi.colorPrimary)};
587
+ ${xt(Ke.textColor,vi.colorPrimary)};
592
588
  }
593
589
 
594
590
  .ft-text-field--filled .ft-text-field--input-panel {
595
- border-radius: ${xi.borderRadiusS} ${xi.borderRadiusS} 0 0;
591
+ border-radius: ${vi.borderRadiusS} ${vi.borderRadiusS} 0 0;
596
592
  }
597
593
 
598
594
  .ft-text-field--outlined .ft-text-field--input-panel {
599
- border-radius: ${xi.borderRadiusS};
595
+ border-radius: ${vi.borderRadiusS};
600
596
  }
601
597
 
602
598
  .ft-text-field--helper-text {
603
- padding: 0 12px 0 ${xi.horizontalSpacing};
604
- color: ${xi.helperColor};
599
+ padding: 0 12px 0 ${vi.horizontalSpacing};
600
+ color: ${vi.helperColor};
605
601
  }
606
602
 
607
603
  .ft-text-field--in-error .ft-text-field--input,
608
604
  .ft-text-field--in-error .ft-text-field--helper-text,
609
605
  .ft-text-field--in-error .ft-text-field--prefix {
610
- color: ${xi.colorError};
606
+ color: ${vi.colorError};
611
607
  }
612
608
 
613
609
  .ft-text-field--icon {
614
- padding-right: ${xi.horizontalSpacing};
615
- color: ${xi.iconColor};
610
+ align-self: center;
611
+ margin-left: 8px;
612
+ color: ${vi.iconColor};
616
613
  }
617
- `;var vi=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class bi extends vt{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix="",this.icon="",this.iconVariant="",this.focused=!1}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--no-label":!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--raised-label":this.focused||""!=this.value};return H`
618
- <div class="${wt(t)}">
619
- <div class="ft-text-field--main-panel">
614
+
615
+ .ft-text-field--container {
616
+ position: relative;
617
+ }
618
+
619
+ .ft-text-field--suggestions {
620
+ display: none;
621
+ flex-direction: column;
622
+ position: absolute;
623
+ left: 0;
624
+ right: 0;
625
+ z-index: ${vi.floatingZIndex};
626
+ background: ${vi.colorSurface};
627
+ border: 1px solid ${vi.colorOutline};
628
+ border-radius: 0 0 ${vi.borderRadiusS} ${vi.borderRadiusS};
629
+ box-shadow: ${vi.elevation02};
630
+ outline: none;
631
+ max-height: ${vi.suggestSize};
632
+ overflow-y: auto;
633
+ }
634
+
635
+ .ft-text-field--suggestions:not(.ft-text-field--suggestions-on-top) {
636
+ top: 100%;
637
+ }
638
+
639
+ .ft-text-field--suggestions.ft-text-field--suggestions-on-top {
640
+ bottom: 100%;
641
+ }
642
+
643
+ .ft-text-field--suggestions-displayed .ft-text-field--suggestions {
644
+ display: flex;
645
+ }
646
+ `;var mi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class $i extends mt{constructor(){super(...arguments),this.value="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.filterSuggestions=!1,this.focused=!1,this.suggestionsOnTop=!1,this.displaySuggestions=!1,this.visibleSuggestions=0}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--suggestions-displayed":this.visibleSuggestions>0&&this.displaySuggestions,"ft-text-field--raised-label":this.focused||""!=this.value};return V`
647
+ <div class="${kt(t)}">
648
+ <div class="ft-text-field--main-panel"
649
+ @keydown=${this.handleKeyboardNavigation}
650
+ @focusout=${this.onFocusOut}>
620
651
  <ft-input-label text="${this.label}"
621
652
  ?disabled=${this.disabled}
622
653
  ?outlined=${this.outlined}
623
654
  ?raised=${this.focused||""!=this.value}
624
- ?error=${this.error}
625
- ></ft-input-label>
626
- <div class="ft-text-field--input-panel"
627
- aria-label="${this.label}">
628
- ${this.outlined?null:H`
655
+ ?error=${this.error}></ft-input-label>
656
+ <div class="ft-text-field--input-panel">
657
+ ${this.outlined?q:V`
629
658
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
630
659
  `}
631
- <div class="ft-text-field--input-wrapper">
632
- <ft-typography class="ft-text-field--prefix" vaiant="body1">${this.prefix}</ft-typography>
633
- <input type="text"
634
- class="ft-typography--body1 ft-text-field--input"
635
- ?disabled=${this.disabled}
636
- .value=${this.value}
637
- @change=${this.updateValueFromInputField}
638
- @keyup=${this.liveUpdateValueFromInputField}
639
- @focus=${()=>this.focused=!0}
640
- @focusout=${()=>this.focused=!1}
641
- />
642
- </div>
643
- ${this.icon?H`
644
- <ft-icon class="ft-text-field--icon" variant="${this.iconVariant}">${this.icon}
645
- </ft-icon>`:void 0}
660
+ <ft-typography class="ft-text-field--prefix" vaiant="body1">${this.prefix}</ft-typography>
661
+ <input type="text"
662
+ aria-label="${this.label}"
663
+ class="ft-typography--body1 ft-text-field--input"
664
+ ?disabled=${this.disabled}
665
+ .value=${this.value}
666
+ @change=${this.updateValueFromInputField}
667
+ @keyup=${this.handleInput}
668
+ @focus=${this.onFocus}/>
669
+ ${this.icon?V`
670
+ <ft-icon class="ft-text-field--icon"
671
+ .variant=${this.iconVariant}
672
+ .value=${this.icon}
673
+ @click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
674
+ `:q}
675
+ </div>
676
+ <div class="ft-text-field--suggestions ${this.suggestionsOnTop?"ft-text-field--suggestions-on-top":""}"
677
+ @suggestion-selected=${this.onSuggestionSelected}>
678
+ <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
646
679
  </div>
647
680
  </div>
648
- ${this.helper?H`
649
- <ft-typography class="ft-text-field--helper-text" variant="caption">${this.helper}
650
- </ft-typography>`:void 0}
681
+ ${this.helper?V`
682
+ <ft-typography class="ft-text-field--helper-text" variant="caption">
683
+ ${this.helper}
684
+ </ft-typography>
685
+ `:q}
686
+ </div>
687
+ `}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden)).length):this.visibleSuggestions=this.suggestions.length}contentAvailableCallback(t){var e,i;if(super.contentAvailableCallback(t),this.suggestions.length&&t.has("suggestionsDisplayed")&&this.displaySuggestions){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),o=null===(i=this.suggestionsContainer)||void 0===i?void 0:i.getBoundingClientRect();t&&o&&(this.suggestionsOnTop=t.bottom+o.height>window.innerHeight&&t.top-o.height>0)}}updateValueFromInputField(){var t;this.setValue((null===(t=this.input)||void 0===t?void 0:t.value)||"",!0),this.displaySuggestions=!1}handleInput(){var t;const e=(null===(t=this.input)||void 0===t?void 0:t.value)||"";this.value!==e&&(this.value=e,this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})))}setValue(t,e){this.value=t,e&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}handleKeyboardNavigation(t){var e;if(this.suggestions.length&&("ArrowDown"===t.key||"ArrowUp"===t.key)){t.preventDefault(),t.stopPropagation(),this.displaySuggestions=!0;const i=this.suggestions.findIndex((t=>t.matches(":focus-within")));let o;o="ArrowDown"===t.key?i<this.suggestions.length-1?i+1:0:i>0?i-1:this.suggestions.length-1,null===(e=this.suggestions[o])||void 0===e||e.focus()}}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.displaySuggestions=!1),0)}onFocus(){this.focused=!0,this.displaySuggestions=!0}onFocusOut(){this.focused=!1,setTimeout((()=>{var t,e;return this.displaySuggestions=this.focused||null!==(e=null===(t=this.suggestionsContainer)||void 0===t?void 0:t.matches(":focus-within"))&&void 0!==e&&e}),0)}}$i.elementDefinitions={"ft-input-label":Ve,"ft-ripple":si,"ft-typography":We,"ft-icon":gi},$i.styles=[Ae,bi],mi([o()],$i.prototype,"label",void 0),mi([o()],$i.prototype,"value",void 0),mi([o()],$i.prototype,"helper",void 0),mi([o({type:Boolean})],$i.prototype,"outlined",void 0),mi([o({type:Boolean})],$i.prototype,"disabled",void 0),mi([o({type:Boolean})],$i.prototype,"error",void 0),mi([o()],$i.prototype,"prefix",void 0),mi([o()],$i.prototype,"icon",void 0),mi([o()],$i.prototype,"iconVariant",void 0),mi([o({type:Boolean})],$i.prototype,"filterSuggestions",void 0),mi([s()],$i.prototype,"focused",void 0),mi([s()],$i.prototype,"suggestionsOnTop",void 0),mi([s()],$i.prototype,"displaySuggestions",void 0),mi([s()],$i.prototype,"visibleSuggestions",void 0),mi([r(".ft-text-field--input")],$i.prototype,"input",void 0),mi([r(".ft-text-field--suggestions")],$i.prototype,"suggestionsContainer",void 0),mi([p({selector:"ft-text-field-suggestion"})],$i.prototype,"suggestions",void 0);const wi=g`
688
+ .ft-text-field-suggestion {
689
+ position: relative;
690
+ padding: 8px 16px;
691
+ cursor: pointer;
692
+ min-height: 44px;
693
+ box-sizing: border-box;
694
+ outline: none;
695
+ }
696
+
697
+ .ft-text-field-suggestion,
698
+ .ft-text-field-suggestion--label {
699
+ display: flex;
700
+ align-items: center;
701
+ gap: 8px;
702
+ }
703
+
704
+ .ft-text-field-suggestion--label {
705
+ flex-grow: 1;
706
+ flex-shrink: 1;
707
+ }
708
+
709
+ slot {
710
+ pointer-events: none;
711
+ }
712
+ `;var Oi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Si extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class ki extends mt{render(){return V`
713
+ <div class="ft-text-field-suggestion"
714
+ tabindex="-1"
715
+ @keydown=${this.onKeyDown}
716
+ @click=${this.confirmSuggestion}>
717
+ <ft-ripple></ft-ripple>
718
+ <ft-typography part="label"
719
+ variant="body1"
720
+ class="ft-text-field-suggestion--label">
721
+ <slot></slot>
722
+ </ft-typography>
651
723
  </div>
652
- `}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)||""}}bi.elementDefinitions={"ft-input-label":He,"ft-ripple":ei,"ft-typography":_e,"ft-icon":ui},bi.styles=[ze,yi],vi([o({type:String})],bi.prototype,"label",void 0),vi([o({reflect:!0})],bi.prototype,"value",void 0),vi([o({type:String})],bi.prototype,"helper",void 0),vi([o({type:Boolean})],bi.prototype,"outlined",void 0),vi([o({type:Boolean})],bi.prototype,"disabled",void 0),vi([o({type:Boolean})],bi.prototype,"error",void 0),vi([s(".ft-text-field--input")],bi.prototype,"input",void 0),vi([o({type:String})],bi.prototype,"prefix",void 0),vi([o({type:String})],bi.prototype,"icon",void 0),vi([o({type:String})],bi.prototype,"iconVariant",void 0),vi([r()],bi.prototype,"focused",void 0),l("ft-text-field")(bi),t.FtTextField=bi,t.FtTextFieldCssVariables=xi,t.styles=yi,Object.defineProperty(t,"i",{value:!0})}({});
724
+ `}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Si(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}ki.elementDefinitions={"ft-ripple":si,"ft-typography":We,"ft-icon":gi},ki.styles=wi,Oi([o()],ki.prototype,"value",void 0),Oi([r(".ft-text-field-suggestion")],ki.prototype,"container",void 0),Oi([function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?p({slot:s,flatten:e,selector:i}):n({descriptor:t=>({get(){var t,e;const i="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==n?void 0:n.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}()],ki.prototype,"assignedNodes",void 0),h("ft-text-field")($i),h("ft-text-field-suggestion")(ki),t.FtTextField=$i,t.FtTextFieldCssVariables=vi,t.FtTextFieldSuggestion=ki,t.SuggestionSelectedEvent=Si,t.styles=bi,t.suggestionStyles=wi,Object.defineProperty(t,"i",{value:!0})}({});