@fluid-topics/ft-text-area 0.3.19 → 0.3.21

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,a=new WeakMap;let l;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 a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const p={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,p),this._definitionsByClass.set(r,p);let h=i.call(o,t);h||(h=c(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=l;if(e)return l=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=a.get(e)?.getRootNode()||document)}return e.customElements},c=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)}},f=(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),l=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&&a.set(t,this),y.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(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(Te){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,s=new WeakMap,n=new WeakMap,a=new WeakMap;let l;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 a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const p={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,p),this._definitionsByClass.set(r,p);let h=i.call(o,t);h||(h=c(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=l;if(e)return l=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=a.get(e)?.getRootNode()||document)}return e.customElements},c=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)}},f=(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),l=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&&a.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!==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(We){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){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -46,34 +46,34 @@ function s(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var r;if(void 0===o)
46
46
  * Copyright 2019 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
48
  */
49
- const l=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),h=new WeakMap;class c{constructor(t,e,i){if(this._$cssResult$=!0,i!==p)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(l&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=h.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&h.set(e,t))}return t}toString(){return this.cssText}}const f=t=>new c("string"==typeof t?t:t+"",void 0,p),d=(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,p)},u=(t,e)=>{l?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},x=l?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return f(e)})(t):t
49
+ const l=window,p=l.ShadowRoot&&(void 0===l.ShadyCSS||l.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,h=Symbol(),c=new WeakMap;class f{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=c.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&c.set(e,t))}return t}toString(){return this.cssText}}const d=t=>new f("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 f(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=l.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
50
50
  /**
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
- */;var y;const g=window.trustedTypes,b=g?g.emptyScript:"",v=window.reactiveElementPolyfillSupport,m={toAttribute(t,e){switch(e){case Boolean:t=t?b: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}},$=(t,e)=>e!==t&&(e==e||t==t),w={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:$};class O 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=w){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)||w}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(x(t))}else void 0!==t&&e.push(x(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return u(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=w){var o,r;const s=this.constructor._$Ep(t,i);if(void 0!==s&&!0===i.reflect){const n=(null!==(r=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==r?r:m.toAttribute)(e,i.type);this._$El=t,null==n?this.removeAttribute(s):this.setAttribute(s,n),this._$El=null}}_$AK(t,e){var i,o;const r=this.constructor,s=r._$Ev.get(t);if(void 0!==s&&this._$El!==s){const t=r.getPropertyOptions(s),n=t.converter,a=null!==(o=null!==(i=null==n?void 0:n.fromAttribute)&&void 0!==i?i:"function"==typeof n?n:null)&&void 0!==o?o:m.fromAttribute;this._$El=s,this[s]=a(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||$)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
54
+ */;var g;const v=window,b=v.trustedTypes,m=b?b.emptyScript:"",$=v.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){}}
55
55
  /**
56
56
  * @license
57
57
  * Copyright 2017 Google LLC
58
58
  * SPDX-License-Identifier: BSD-3-Clause
59
59
  */
60
- var S;O.finalized=!0,O.elementProperties=new Map,O.elementStyles=[],O.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:O}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.3.4");const k=globalThis.trustedTypes,N=k?k.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,C="?"+E,R=`<${C}>`,z=document,M=(t="")=>z.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,F=Array.isArray,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,B=/>/g,A=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),L=/'/g,T=/"/g,P=/^(?:script|style|textarea|title)$/i,_=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),H=new WeakMap,K=z.createTreeWalker(z,129,null,!1),Z=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=j;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,h=0;for(;h<i.length&&(n.lastIndex=h,l=n.exec(i),null!==l);)h=n.lastIndex,n===j?"!--"===l[1]?n=D:void 0!==l[1]?n=B:void 0!==l[2]?(P.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=A):void 0!==l[3]&&(n=A):n===A?">"===l[0]?(n=null!=r?r:j,p=-1):void 0===l[1]?p=-2:(p=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?A:'"'===l[3]?T:L):n===T||n===L?n=A:n===D||n===B?n=j:(n=A,r=void 0);const c=n===A&&t[e+1].startsWith("/>")?" ":"";s+=n===j?i+R:p>=0?(o.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+E+c):i+E+(-2===p?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==N?N.createHTML(a):a,o]};class V{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const n=t.length-1,a=this.parts,[l,p]=Z(t,e);if(this.el=V.createElement(l,i),K.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=K.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?G:"?"===e[1]?tt:"@"===e[1]?et:Y})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(P.test(o.tagName)){const t=o.textContent.split(E),e=t.length-1;if(e>0){o.textContent=k?k.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],M()),K.nextNode(),a.push({type:2,index:++r});o.append(t[e],M())}}}else if(8===o.nodeType)if(o.data===C)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(E,t+1));)a.push({type:7,index:r}),t+=E.length-1}r++}}static createElement(t,e){const i=z.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var r,s,n,a;if(e===W)return e;let l=void 0!==o?null===(r=i._$Cl)||void 0===r?void 0:r[o]:i._$Cu;const p=U(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Cl)&&void 0!==n?n:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=J(t,l._$AS(t,e.values),l,o)),e}class q{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:z).importNode(i,!0);K.currentNode=r;let s=K.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new X(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new it(s,this,t)),this.v.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(s=K.nextNode(),n++)}return r}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class X{constructor(t,e,i,o){var r;this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=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._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=J(this,t,e),U(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==W&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>F(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==I&&U(this._$AH)?this._$AA.nextSibling.data=t:this.k(z.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=V.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.m(i);else{const t=new q(r,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new V(t)),e}S(t){F(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 X(this.j(M()),this.j(M()),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._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Y{constructor(t,e,i,o,r){this.type=1,this._$AH=I,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=I}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=J(this,t,e,0),s=!U(t)||t!==this._$AH&&t!==W,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=J(this,o[i+n],e,n),a===W&&(a=this._$AH[n]),s||(s=!U(a)||a!==this._$AH[n]),a===I?t=I:t!==I&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.P(t)}P(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends Y{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===I?void 0:t}}const Q=k?k.emptyScript:"";class tt extends Y{constructor(){super(...arguments),this.type=4}P(t){t&&t!==I?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class et extends Y{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=J(this,t,e,0))&&void 0!==i?i:I)===W)return;const o=this._$AH,r=t===I&&o!==I||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==I&&(o===I||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 it{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const ot=window.litHtmlPolyfillSupport;
60
+ var N;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:k}),(null!==(g=v.reactiveElementVersions)&&void 0!==g?g:v.reactiveElementVersions=[]).push("1.4.1");const E=window,C=E.trustedTypes,R=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,z=`lit$${(Math.random()+"").slice(9)}$`,M="?"+z,U=`<${M}>`,F=document,j=(t="")=>F.createComment(t),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,_=/>/g,P=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),T=/'/g,W=/"/g,I=/^(?: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=B;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,h=0;for(;h<i.length&&(n.lastIndex=h,l=n.exec(i),null!==l);)h=n.lastIndex,n===B?"!--"===l[1]?n=L:void 0!==l[1]?n=_:void 0!==l[2]?(I.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=P):void 0!==l[3]&&(n=P):n===P?">"===l[0]?(n=null!=r?r:B,p=-1):void 0===l[1]?p=-2:(p=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?P:'"'===l[3]?W:T):n===W||n===T?n=P:n===L||n===_?n=B:(n=P,r=void 0);const c=n===P&&t[e+1].startsWith("/>")?" ":"";s+=n===B?i+U:p>=0?(o.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+z+c):i+z+(-2===p?(o.push(void 0),e):c)}const a=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(a):a,o]};class X{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const n=t.length-1,a=this.parts,[l,p]=q(t,e);if(this.el=X.createElement(l,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())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(z)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(z),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?ot:"@"===e[1]?rt:tt})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(I.test(o.tagName)){const t=o.textContent.split(z),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(),a.push({type:2,index:++r});o.append(t[e],j())}}}else if(8===o.nodeType)if(o.data===M)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(z,t+1));)a.push({type:7,index:r}),t+=z.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,a;if(e===K)return e;let l=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const p=D(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Co)&&void 0!==n?n:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=Y(t,l._$AS(t,e.values),l,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,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new Q(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new st(s,this,t)),this.u.push(e),l=o[++a]}n!==(null==l?void 0:l.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),D(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=>A(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&&D(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){A(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=!D(t)||t!==this._$AH&&t!==K,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=Y(this,o[i+n],e,n),a===K&&(a=this._$AH[n]),s||(s=!D(a)||a!==this._$AH[n]),a===Z?t=Z:t!==Z&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}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");
61
61
  /**
62
62
  * @license
63
63
  * Copyright 2017 Google LLC
64
64
  * SPDX-License-Identifier: BSD-3-Clause
65
65
  */
66
- var rt,st;null==ot||ot(V,X),(null!==(S=globalThis.litHtmlVersions)&&void 0!==S?S:globalThis.litHtmlVersions=[]).push("2.2.7");class nt extends O{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 X(e.insertBefore(M(),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 W}}nt.finalized=!0,nt._$litElement$=!0,null===(rt=globalThis.litElementHydrateSupport)||void 0===rt||rt.call(globalThis,{LitElement:nt});const at=globalThis.litElementPolyfillSupport;null==at||at({LitElement:nt}),(null!==(st=globalThis.litElementVersions)&&void 0!==st?st:globalThis.litElementVersions=[]).push("3.2.2");class lt{static create(t,e,i){let o=t=>f(null!=t?t:i),r=d`var(${f(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>d`var(${f(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=d`var(${f(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>d`var(${f(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):f(null!=e?e:t.defaultValue),o=d`var(${f(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=>d`var(${f(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 pt(t,e){return f(`${t.name}: ${e}`)}const ht={colorPrimary:lt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:lt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:lt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:lt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:lt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:lt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:lt.create("--ft-color-error","COLOR","#B00020"),colorOutline:lt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:lt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:lt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:lt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:lt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:lt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:lt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:lt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:lt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:lt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:lt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:lt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:lt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:lt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:lt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:lt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:lt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:lt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:lt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:lt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:lt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:lt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:lt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:lt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:lt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:lt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:lt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:lt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:lt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:lt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:lt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:lt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:lt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:lt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:lt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:lt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:lt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:lt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:lt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:lt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:lt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:lt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:lt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:lt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
66
+ var at,lt;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===(at=globalThis.litElementHydrateSupport)||void 0===at||at.call(globalThis,{LitElement:pt});const ht=globalThis.litElementPolyfillSupport;null==ht||ht({LitElement:pt}),(null!==(lt=globalThis.litElementVersions)&&void 0!==lt?lt:globalThis.litElementVersions=[]).push("3.2.2");class ct{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 ft(t,e){return d(`${t.name}: ${e}`)}const dt={colorPrimary:ct.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ct.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ct.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ct.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ct.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ct.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ct.create("--ft-color-error","COLOR","#B00020"),colorOutline:ct.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ct.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ct.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ct.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ct.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ct.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ct.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ct.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ct.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ct.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ct.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ct.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ct.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ct.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ct.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ct.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ct.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ct.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ct.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ct.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ct.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ct.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ct.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ct.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ct.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ct.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ct.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ct.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ct.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ct.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ct.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ct.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ct.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ct.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ct.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ct.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ct.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ct.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ct.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ct.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ct.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ct.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ct.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ct.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
67
67
  /**
68
68
  * @license
69
69
  * Copyright 2021 Google LLC
70
70
  * SPDX-License-Identifier: BSD-3-Clause
71
- */var ct=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(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 ft 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 u(r,this.constructor.elementStyles),r}}}(nt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),_`
72
- ${t.map((t=>_`
71
+ */var ut=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(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 xt 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)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),H`
72
+ ${t.map((t=>H`
73
73
  <style>${t}</style>
74
74
  `))}
75
75
  ${this.getTemplate()}
76
- `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,r,s,n;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.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(a).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const h=[...p.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}contentAvailableCallback(t){}}ct([o()],ft.prototype,"exportpartsPrefix",void 0),ct([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:{}})}([])],ft.prototype,"exportpartsPrefixes",void 0);const dt=d`
76
+ `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,r,s,n;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.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(a).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const h=[...p.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}contentAvailableCallback(t){}}ut([o()],xt.prototype,"exportpartsPrefix",void 0),ut([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:{}})}([])],xt.prototype,"exportpartsPrefixes",void 0);const yt=u`
77
77
  .ft-no-text-select {
78
78
  -webkit-touch-callout: none;
79
79
  -webkit-user-select: none;
@@ -82,7 +82,7 @@ var rt,st;null==ot||ot(V,X),(null!==(S=globalThis.litHtmlVersions)&&void 0!==S?S
82
82
  -ms-user-select: none;
83
83
  user-select: none;
84
84
  }
85
- `;var ut,xt;d`
85
+ `;var gt,vt;u`
86
86
  .ft-word-wrap {
87
87
  white-space: normal;
88
88
  word-wrap: break-word;
@@ -94,143 +94,143 @@ var rt,st;null==ot||ot(V,X),(null!==(S=globalThis.litHtmlVersions)&&void 0!==S?S
94
94
  -webkit-hyphens: auto;
95
95
  hyphens: auto
96
96
  }
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());
97
+ `,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
98
  /**
99
99
  * @license
100
100
  * Copyright 2017 Google LLC
101
101
  * SPDX-License-Identifier: BSD-3-Clause
102
102
  */
103
- const yt=1,gt=2,bt=t=>(...e)=>({_$litDirective$:t,values:e});class vt{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)}}
103
+ const bt=1,mt=2,$t=t=>(...e)=>({_$litDirective$:t,values:e});class wt{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
104
  /**
105
105
  * @license
106
106
  * Copyright 2018 Google LLC
107
107
  * SPDX-License-Identifier: BSD-3-Clause
108
- */const mt=bt(class extends vt{constructor(t){var e;if(super(t),t.type!==yt||"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 W}}),$t=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===$t)return null==t?void 0:t._$litStatic$},Ot=t=>({_$litStatic$:t,r:$t}),St=new Map,kt=(t=>(e,...i)=>{const o=i.length;let r,s;const n=[],a=[];let l,p=0,h=!1;for(;p<o;){for(l=e[p];p<o&&void 0!==(s=i[p],r=wt(s));)l+=r+e[++p],h=!0;a.push(s),n.push(l),p++}if(p===o&&n.push(e[o]),h){const t=n.join("$$lit$$");void 0===(e=St.get(t))&&(n.raw=n,St.set(t,e=n)),i=a}return t(e,...i)})(_);
108
+ */const Ot=$t(class extends wt{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}}),St=Symbol.for(""),kt=t=>{if((null==t?void 0:t.r)===St)return null==t?void 0:t._$litStatic$},Nt=t=>({_$litStatic$:t,r:St}),Et=new Map,Ct=(t=>(e,...i)=>{const o=i.length;let r,s;const n=[],a=[];let l,p=0,h=!1;for(;p<o;){for(l=e[p];p<o&&void 0!==(s=i[p],r=kt(s));)l+=r+e[++p],h=!0;a.push(s),n.push(l),p++}if(p===o&&n.push(e[o]),h){const t=n.join("$$lit$$");void 0===(e=Et.get(t))&&(n.raw=n,Et.set(t,e=n)),i=a}return t(e,...i)})(H);
109
109
  /**
110
110
  * @license
111
111
  * Copyright 2020 Google LLC
112
112
  * SPDX-License-Identifier: BSD-3-Clause
113
- */var Nt;!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"}(Nt||(Nt={}));const Et=lt.extend("--ft-typography-font-family",ht.titleFont),Ct=lt.extend("--ft-typography-font-family",ht.contentFont),Rt={fontFamily:Ct,fontSize:lt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:lt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:lt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:lt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:lt.create("--ft-typography-text-transform","UNKNOWN","inherit")},zt=lt.extend("--ft-typography-title-font-family",Et),Mt=lt.extend("--ft-typography-title-font-size",Rt.fontSize,"20px"),Ut=lt.extend("--ft-typography-title-font-weight",Rt.fontWeight,"normal"),Ft=lt.extend("--ft-typography-title-letter-spacing",Rt.letterSpacing,"0.15px"),jt=lt.extend("--ft-typography-title-line-height",Rt.lineHeight,"1.2"),Dt=lt.extend("--ft-typography-title-text-transform",Rt.textTransform,"inherit"),Bt=lt.extend("--ft-typography-title-dense-font-family",Et),At=lt.extend("--ft-typography-title-dense-font-size",Rt.fontSize,"14px"),Lt=lt.extend("--ft-typography-title-dense-font-weight",Rt.fontWeight,"normal"),Tt=lt.extend("--ft-typography-title-dense-letter-spacing",Rt.letterSpacing,"0.105px"),Pt=lt.extend("--ft-typography-title-dense-line-height",Rt.lineHeight,"1.7"),_t=lt.extend("--ft-typography-title-dense-text-transform",Rt.textTransform,"inherit"),Wt=lt.extend("--ft-typography-subtitle1-font-family",Ct),It=lt.extend("--ft-typography-subtitle1-font-size",Rt.fontSize,"16px"),Ht=lt.extend("--ft-typography-subtitle1-font-weight",Rt.fontWeight,"600"),Kt=lt.extend("--ft-typography-subtitle1-letter-spacing",Rt.letterSpacing,"0.144px"),Zt=lt.extend("--ft-typography-subtitle1-line-height",Rt.lineHeight,"1.5"),Vt=lt.extend("--ft-typography-subtitle1-text-transform",Rt.textTransform,"inherit"),Jt=lt.extend("--ft-typography-subtitle2-font-family",Ct),qt=lt.extend("--ft-typography-subtitle2-font-size",Rt.fontSize,"14px"),Xt=lt.extend("--ft-typography-subtitle2-font-weight",Rt.fontWeight,"normal"),Yt=lt.extend("--ft-typography-subtitle2-letter-spacing",Rt.letterSpacing,"0.098px"),Gt=lt.extend("--ft-typography-subtitle2-line-height",Rt.lineHeight,"1.7"),Qt=lt.extend("--ft-typography-subtitle2-text-transform",Rt.textTransform,"inherit"),te={fontFamily:lt.extend("--ft-typography-body1-font-family",Ct),fontSize:lt.extend("--ft-typography-body1-font-size",Rt.fontSize,"16px"),fontWeight:lt.extend("--ft-typography-body1-font-weight",Rt.fontWeight,"normal"),letterSpacing:lt.extend("--ft-typography-body1-letter-spacing",Rt.letterSpacing,"0.496px"),lineHeight:lt.extend("--ft-typography-body1-line-height",Rt.lineHeight,"1.5"),textTransform:lt.extend("--ft-typography-body1-text-transform",Rt.textTransform,"inherit")},ee=lt.extend("--ft-typography-body2-font-family",Ct),ie=lt.extend("--ft-typography-body2-font-size",Rt.fontSize,"14px"),oe=lt.extend("--ft-typography-body2-font-weight",Rt.fontWeight,"normal"),re=lt.extend("--ft-typography-body2-letter-spacing",Rt.letterSpacing,"0.252px"),se=lt.extend("--ft-typography-body2-line-height",Rt.lineHeight,"1.4"),ne=lt.extend("--ft-typography-body2-text-transform",Rt.textTransform,"inherit"),ae={fontFamily:lt.extend("--ft-typography-caption-font-family",Ct),fontSize:lt.extend("--ft-typography-caption-font-size",Rt.fontSize,"12px"),fontWeight:lt.extend("--ft-typography-caption-font-weight",Rt.fontWeight,"normal"),letterSpacing:lt.extend("--ft-typography-caption-letter-spacing",Rt.letterSpacing,"0.396px"),lineHeight:lt.extend("--ft-typography-caption-line-height",Rt.lineHeight,"1.33"),textTransform:lt.extend("--ft-typography-caption-text-transform",Rt.textTransform,"inherit")},le=lt.extend("--ft-typography-breadcrumb-font-family",Ct),pe=lt.extend("--ft-typography-breadcrumb-font-size",Rt.fontSize,"10px"),he=lt.extend("--ft-typography-breadcrumb-font-weight",Rt.fontWeight,"normal"),ce=lt.extend("--ft-typography-breadcrumb-letter-spacing",Rt.letterSpacing,"0.33px"),fe=lt.extend("--ft-typography-breadcrumb-line-height",Rt.lineHeight,"1.6"),de=lt.extend("--ft-typography-breadcrumb-text-transform",Rt.textTransform,"inherit"),ue=lt.extend("--ft-typography-overline-font-family",Ct),xe=lt.extend("--ft-typography-overline-font-size",Rt.fontSize,"10px"),ye=lt.extend("--ft-typography-overline-font-weight",Rt.fontWeight,"normal"),ge=lt.extend("--ft-typography-overline-letter-spacing",Rt.letterSpacing,"1.5px"),be=lt.extend("--ft-typography-overline-line-height",Rt.lineHeight,"1.6"),ve=lt.extend("--ft-typography-overline-text-transform",Rt.textTransform,"uppercase"),me=lt.extend("--ft-typography-button-font-family",Ct),$e=lt.extend("--ft-typography-button-font-size",Rt.fontSize,"14px"),we=lt.extend("--ft-typography-button-font-weight",Rt.fontWeight,"600"),Oe=lt.extend("--ft-typography-button-letter-spacing",Rt.letterSpacing,"1.246px"),Se=lt.extend("--ft-typography-button-line-height",Rt.lineHeight,"1.15"),ke=lt.extend("--ft-typography-button-text-transform",Rt.textTransform,"uppercase"),Ne=d`
113
+ */var Rt;!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"}(Rt||(Rt={}));const zt=ct.extend("--ft-typography-font-family",dt.titleFont),Mt=ct.extend("--ft-typography-font-family",dt.contentFont),Ut={fontFamily:Mt,fontSize:ct.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ct.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ct.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ct.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ct.create("--ft-typography-text-transform","UNKNOWN","inherit")},Ft=ct.extend("--ft-typography-title-font-family",zt),jt=ct.extend("--ft-typography-title-font-size",Ut.fontSize,"20px"),Dt=ct.extend("--ft-typography-title-font-weight",Ut.fontWeight,"normal"),At=ct.extend("--ft-typography-title-letter-spacing",Ut.letterSpacing,"0.15px"),Bt=ct.extend("--ft-typography-title-line-height",Ut.lineHeight,"1.2"),Lt=ct.extend("--ft-typography-title-text-transform",Ut.textTransform,"inherit"),_t=ct.extend("--ft-typography-title-dense-font-family",zt),Pt=ct.extend("--ft-typography-title-dense-font-size",Ut.fontSize,"14px"),Tt=ct.extend("--ft-typography-title-dense-font-weight",Ut.fontWeight,"normal"),Wt=ct.extend("--ft-typography-title-dense-letter-spacing",Ut.letterSpacing,"0.105px"),It=ct.extend("--ft-typography-title-dense-line-height",Ut.lineHeight,"1.7"),Ht=ct.extend("--ft-typography-title-dense-text-transform",Ut.textTransform,"inherit"),Kt=ct.extend("--ft-typography-subtitle1-font-family",Mt),Zt=ct.extend("--ft-typography-subtitle1-font-size",Ut.fontSize,"16px"),Vt=ct.extend("--ft-typography-subtitle1-font-weight",Ut.fontWeight,"600"),Jt=ct.extend("--ft-typography-subtitle1-letter-spacing",Ut.letterSpacing,"0.144px"),qt=ct.extend("--ft-typography-subtitle1-line-height",Ut.lineHeight,"1.5"),Xt=ct.extend("--ft-typography-subtitle1-text-transform",Ut.textTransform,"inherit"),Yt=ct.extend("--ft-typography-subtitle2-font-family",Mt),Gt=ct.extend("--ft-typography-subtitle2-font-size",Ut.fontSize,"14px"),Qt=ct.extend("--ft-typography-subtitle2-font-weight",Ut.fontWeight,"normal"),te=ct.extend("--ft-typography-subtitle2-letter-spacing",Ut.letterSpacing,"0.098px"),ee=ct.extend("--ft-typography-subtitle2-line-height",Ut.lineHeight,"1.7"),ie=ct.extend("--ft-typography-subtitle2-text-transform",Ut.textTransform,"inherit"),oe={fontFamily:ct.extend("--ft-typography-body1-font-family",Mt),fontSize:ct.extend("--ft-typography-body1-font-size",Ut.fontSize,"16px"),fontWeight:ct.extend("--ft-typography-body1-font-weight",Ut.fontWeight,"normal"),letterSpacing:ct.extend("--ft-typography-body1-letter-spacing",Ut.letterSpacing,"0.496px"),lineHeight:ct.extend("--ft-typography-body1-line-height",Ut.lineHeight,"1.5"),textTransform:ct.extend("--ft-typography-body1-text-transform",Ut.textTransform,"inherit")},re=ct.extend("--ft-typography-body2-font-family",Mt),se=ct.extend("--ft-typography-body2-font-size",Ut.fontSize,"14px"),ne=ct.extend("--ft-typography-body2-font-weight",Ut.fontWeight,"normal"),ae=ct.extend("--ft-typography-body2-letter-spacing",Ut.letterSpacing,"0.252px"),le=ct.extend("--ft-typography-body2-line-height",Ut.lineHeight,"1.4"),pe=ct.extend("--ft-typography-body2-text-transform",Ut.textTransform,"inherit"),he={fontFamily:ct.extend("--ft-typography-caption-font-family",Mt),fontSize:ct.extend("--ft-typography-caption-font-size",Ut.fontSize,"12px"),fontWeight:ct.extend("--ft-typography-caption-font-weight",Ut.fontWeight,"normal"),letterSpacing:ct.extend("--ft-typography-caption-letter-spacing",Ut.letterSpacing,"0.396px"),lineHeight:ct.extend("--ft-typography-caption-line-height",Ut.lineHeight,"1.33"),textTransform:ct.extend("--ft-typography-caption-text-transform",Ut.textTransform,"inherit")},ce=ct.extend("--ft-typography-breadcrumb-font-family",Mt),fe=ct.extend("--ft-typography-breadcrumb-font-size",Ut.fontSize,"10px"),de=ct.extend("--ft-typography-breadcrumb-font-weight",Ut.fontWeight,"normal"),ue=ct.extend("--ft-typography-breadcrumb-letter-spacing",Ut.letterSpacing,"0.33px"),xe=ct.extend("--ft-typography-breadcrumb-line-height",Ut.lineHeight,"1.6"),ye=ct.extend("--ft-typography-breadcrumb-text-transform",Ut.textTransform,"inherit"),ge=ct.extend("--ft-typography-overline-font-family",Mt),ve=ct.extend("--ft-typography-overline-font-size",Ut.fontSize,"10px"),be=ct.extend("--ft-typography-overline-font-weight",Ut.fontWeight,"normal"),me=ct.extend("--ft-typography-overline-letter-spacing",Ut.letterSpacing,"1.5px"),$e=ct.extend("--ft-typography-overline-line-height",Ut.lineHeight,"1.6"),we=ct.extend("--ft-typography-overline-text-transform",Ut.textTransform,"uppercase"),Oe=ct.extend("--ft-typography-button-font-family",Mt),Se=ct.extend("--ft-typography-button-font-size",Ut.fontSize,"14px"),ke=ct.extend("--ft-typography-button-font-weight",Ut.fontWeight,"600"),Ne=ct.extend("--ft-typography-button-letter-spacing",Ut.letterSpacing,"1.246px"),Ee=ct.extend("--ft-typography-button-line-height",Ut.lineHeight,"1.15"),Ce=ct.extend("--ft-typography-button-text-transform",Ut.textTransform,"uppercase"),Re=u`
114
114
  .ft-typography--title {
115
- font-family: ${zt};
116
- font-size: ${Mt};
117
- font-weight: ${Ut};
118
- letter-spacing: ${Ft};
119
- line-height: ${jt};
120
- text-transform: ${Dt};
121
- }
122
- `,Ee=d`
115
+ font-family: ${Ft};
116
+ font-size: ${jt};
117
+ font-weight: ${Dt};
118
+ letter-spacing: ${At};
119
+ line-height: ${Bt};
120
+ text-transform: ${Lt};
121
+ }
122
+ `,ze=u`
123
123
  .ft-typography--title-dense {
124
- font-family: ${Bt};
125
- font-size: ${At};
126
- font-weight: ${Lt};
127
- letter-spacing: ${Tt};
128
- line-height: ${Pt};
129
- text-transform: ${_t};
130
- }
131
- `,Ce=d`
124
+ font-family: ${_t};
125
+ font-size: ${Pt};
126
+ font-weight: ${Tt};
127
+ letter-spacing: ${Wt};
128
+ line-height: ${It};
129
+ text-transform: ${Ht};
130
+ }
131
+ `,Me=u`
132
132
  .ft-typography--subtitle1 {
133
- font-family: ${Wt};
134
- font-size: ${It};
135
- font-weight: ${Ht};
136
- letter-spacing: ${Kt};
137
- line-height: ${Zt};
138
- text-transform: ${Vt};
139
- }
140
- `,Re=d`
133
+ font-family: ${Kt};
134
+ font-size: ${Zt};
135
+ font-weight: ${Vt};
136
+ letter-spacing: ${Jt};
137
+ line-height: ${qt};
138
+ text-transform: ${Xt};
139
+ }
140
+ `,Ue=u`
141
141
  .ft-typography--subtitle2 {
142
- font-family: ${Jt};
143
- font-size: ${qt};
144
- font-weight: ${Xt};
145
- letter-spacing: ${Yt};
146
- line-height: ${Gt};
147
- text-transform: ${Qt};
142
+ font-family: ${Yt};
143
+ font-size: ${Gt};
144
+ font-weight: ${Qt};
145
+ letter-spacing: ${te};
146
+ line-height: ${ee};
147
+ text-transform: ${ie};
148
148
  }
149
149
 
150
- `,ze=d`
150
+ `,Fe=u`
151
151
  .ft-typography--body1 {
152
- font-family: ${te.fontFamily};
153
- font-size: ${te.fontSize};
154
- font-weight: ${te.fontWeight};
155
- letter-spacing: ${te.letterSpacing};
156
- line-height: ${te.lineHeight};
157
- text-transform: ${te.textTransform};
158
- }
159
- `,Me=d`
152
+ font-family: ${oe.fontFamily};
153
+ font-size: ${oe.fontSize};
154
+ font-weight: ${oe.fontWeight};
155
+ letter-spacing: ${oe.letterSpacing};
156
+ line-height: ${oe.lineHeight};
157
+ text-transform: ${oe.textTransform};
158
+ }
159
+ `,je=u`
160
160
  .ft-typography--body2 {
161
- font-family: ${ee};
162
- font-size: ${ie};
163
- font-weight: ${oe};
164
- letter-spacing: ${re};
165
- line-height: ${se};
166
- text-transform: ${ne};
167
- }
168
- `,Ue=d`
161
+ font-family: ${re};
162
+ font-size: ${se};
163
+ font-weight: ${ne};
164
+ letter-spacing: ${ae};
165
+ line-height: ${le};
166
+ text-transform: ${pe};
167
+ }
168
+ `,De=u`
169
169
  .ft-typography--caption {
170
- font-family: ${ae.fontFamily};
171
- font-size: ${ae.fontSize};
172
- font-weight: ${ae.fontWeight};
173
- letter-spacing: ${ae.letterSpacing};
174
- line-height: ${ae.lineHeight};
175
- text-transform: ${ae.textTransform};
176
- }
177
- `,Fe=d`
170
+ font-family: ${he.fontFamily};
171
+ font-size: ${he.fontSize};
172
+ font-weight: ${he.fontWeight};
173
+ letter-spacing: ${he.letterSpacing};
174
+ line-height: ${he.lineHeight};
175
+ text-transform: ${he.textTransform};
176
+ }
177
+ `,Ae=u`
178
178
  .ft-typography--breadcrumb {
179
- font-family: ${le};
180
- font-size: ${pe};
181
- font-weight: ${he};
182
- letter-spacing: ${ce};
183
- line-height: ${fe};
184
- text-transform: ${de};
185
- }
186
- `,je=d`
179
+ font-family: ${ce};
180
+ font-size: ${fe};
181
+ font-weight: ${de};
182
+ letter-spacing: ${ue};
183
+ line-height: ${xe};
184
+ text-transform: ${ye};
185
+ }
186
+ `,Be=u`
187
187
  .ft-typography--overline {
188
- font-family: ${ue};
189
- font-size: ${xe};
190
- font-weight: ${ye};
191
- letter-spacing: ${ge};
192
- line-height: ${be};
193
- text-transform: ${ve};
194
- }
195
- `,De=d`
188
+ font-family: ${ge};
189
+ font-size: ${ve};
190
+ font-weight: ${be};
191
+ letter-spacing: ${me};
192
+ line-height: ${$e};
193
+ text-transform: ${we};
194
+ }
195
+ `,Le=u`
196
196
  .ft-typography--button {
197
- font-family: ${me};
198
- font-size: ${$e};
199
- font-weight: ${we};
200
- letter-spacing: ${Oe};
201
- line-height: ${Se};
202
- text-transform: ${ke};
203
- }
204
- `,Be=d`
197
+ font-family: ${Oe};
198
+ font-size: ${Se};
199
+ font-weight: ${ke};
200
+ letter-spacing: ${Ne};
201
+ line-height: ${Ee};
202
+ text-transform: ${Ce};
203
+ }
204
+ `,_e=u`
205
205
  .ft-typography {
206
206
  vertical-align: inherit;
207
207
  }
208
- `;var Ae=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(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 Le extends ft{constructor(){super(...arguments),this.variant=Nt.body1}render(){return this.element?kt`
209
- <${Ot(this.element)}
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,a=t.length-1;a>=0;a--)(r=t[a])&&(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 Te extends xt{constructor(){super(...arguments),this.variant=Rt.body1}render(){return this.element?Ct`
209
+ <${Nt(this.element)}
210
210
  class="ft-typography ft-typography--${this.variant}">
211
211
  <slot></slot>
212
- </${Ot(this.element)}>
213
- `:kt`
212
+ </${Nt(this.element)}>
213
+ `:Ct`
214
214
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
215
- `}}Le.styles=[Ne,Ee,Ce,Re,ze,Me,Ue,Fe,je,De,Be],Ae([o()],Le.prototype,"element",void 0),Ae([o()],Le.prototype,"variant",void 0),a("ft-typography")(Le);
215
+ `}}Te.styles=[Re,ze,Me,Ue,Fe,je,De,Ae,Be,Le,_e],Pe([o()],Te.prototype,"element",void 0),Pe([o()],Te.prototype,"variant",void 0),a("ft-typography")(Te);
216
216
  /**
217
217
  * @license
218
218
  * Copyright 2017 Google LLC
219
219
  * SPDX-License-Identifier: BSD-3-Clause
220
220
  */
221
- class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===I||null==t)return this._t=void 0,this.it=t;if(t===W)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Te.directiveName="unsafeHTML",Te.resultType=1;const Pe=bt(Te);var _e,We;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(_e||(_e={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(We||(We={})),new Map([...["abw"].map((t=>[t,We.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,We.AUDIO])),...["avi"].map((t=>[t,We.AVI])),...["chm","xhs"].map((t=>[t,We.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,We.CODE])),...["csv"].map((t=>[t,We.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,We.DITA])),...["epub"].map((t=>[t,We.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,We.EXCEL])),...["flac"].map((t=>[t,We.FLAC])),...["gif"].map((t=>[t,We.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,We.GZIP])),...["html","htm","xhtml"].map((t=>[t,We.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,We.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,We.JPEG])),...["json"].map((t=>[t,We.JSON])),...["m4a","m4p"].map((t=>[t,We.M4A])),...["mov","qt"].map((t=>[t,We.MOV])),...["mp3"].map((t=>[t,We.MP3])),...["mp4","m4v"].map((t=>[t,We.MP4])),...["ogg","oga"].map((t=>[t,We.OGG])),...["pdf","ps"].map((t=>[t,We.PDF])),...["png"].map((t=>[t,We.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,We.POWERPOINT])),...["rar"].map((t=>[t,We.RAR])),...["stp"].map((t=>[t,We.STP])),...["txt","rtf","md","mdown"].map((t=>[t,We.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,We.VIDEO])),...["wav"].map((t=>[t,We.WAV])),...["wma"].map((t=>[t,We.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,We.WORD])),...["xml","xsl","rdf"].map((t=>[t,We.XML])),...["yaml","yml","x-yaml"].map((t=>[t,We.YAML])),...["zip"].map((t=>[t,We.ZIP]))]);const Ie=lt.create("--ft-icon-font-size","SIZE","24px"),He=lt.extend("--ft-icon-fluid-topics-font-family",lt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Ke=lt.extend("--ft-icon-file-format-font-family",lt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Ze=lt.extend("--ft-icon-material-font-family",lt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),Ve=lt.create("--ft-icon-vertical-align","UNKNOWN","unset"),Je=d`
221
+ class We extends wt{constructor(t){if(super(t),this.it=Z,t.type!==mt)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:[]}}}We.directiveName="unsafeHTML",We.resultType=1;const Ie=$t(We);var He,Ke;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(He||(He={})),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;"}(Ke||(Ke={})),new Map([...["abw"].map((t=>[t,Ke.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,Ke.AUDIO])),...["avi"].map((t=>[t,Ke.AVI])),...["chm","xhs"].map((t=>[t,Ke.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,Ke.CODE])),...["csv"].map((t=>[t,Ke.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ke.DITA])),...["epub"].map((t=>[t,Ke.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ke.EXCEL])),...["flac"].map((t=>[t,Ke.FLAC])),...["gif"].map((t=>[t,Ke.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ke.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ke.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,Ke.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ke.JPEG])),...["json"].map((t=>[t,Ke.JSON])),...["m4a","m4p"].map((t=>[t,Ke.M4A])),...["mov","qt"].map((t=>[t,Ke.MOV])),...["mp3"].map((t=>[t,Ke.MP3])),...["mp4","m4v"].map((t=>[t,Ke.MP4])),...["ogg","oga"].map((t=>[t,Ke.OGG])),...["pdf","ps"].map((t=>[t,Ke.PDF])),...["png"].map((t=>[t,Ke.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ke.POWERPOINT])),...["rar"].map((t=>[t,Ke.RAR])),...["stp"].map((t=>[t,Ke.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ke.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,Ke.VIDEO])),...["wav"].map((t=>[t,Ke.WAV])),...["wma"].map((t=>[t,Ke.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ke.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ke.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ke.YAML])),...["zip"].map((t=>[t,Ke.ZIP]))]);const Ze=ct.create("--ft-icon-font-size","SIZE","24px"),Ve=ct.extend("--ft-icon-fluid-topics-font-family",ct.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Je=ct.extend("--ft-icon-file-format-font-family",ct.create("--ft-icon-font-family","UNKNOWN","ft-mime")),qe=ct.extend("--ft-icon-material-font-family",ct.create("--ft-icon-font-family","UNKNOWN","Material Icons")),Xe=ct.create("--ft-icon-vertical-align","UNKNOWN","unset"),Ye=u`
222
222
  :host {
223
223
  display: inline-block;
224
224
  }
225
225
 
226
226
  :host, i.ft-icon {
227
- width: ${Ie};
228
- height: ${Ie};
227
+ width: ${Ze};
228
+ height: ${Ze};
229
229
  text-align: center;
230
230
  }
231
231
 
232
232
  i.ft-icon {
233
- font-size: ${Ie};
233
+ font-size: ${Ze};
234
234
  line-height: 1;
235
235
  font-weight: normal;
236
236
  text-transform: none;
@@ -241,26 +241,26 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
241
241
  text-rendering: auto;
242
242
  -webkit-font-smoothing: antialiased;
243
243
  -moz-osx-font-smoothing: grayscale;
244
- vertical-align: ${Ve};
244
+ vertical-align: ${Xe};
245
245
  }
246
246
 
247
247
  .ft-icon--fluid-topics {
248
- font-family: ${He}, ft-icons, fticons, sans-serif;
248
+ font-family: ${Ve}, ft-icons, fticons, sans-serif;
249
249
  }
250
250
 
251
251
  .ft-icon--file-format {
252
- font-family: ${Ke}, ft-mime, sans-serif;
252
+ font-family: ${Je}, ft-mime, sans-serif;
253
253
  }
254
254
 
255
255
  .ft-icon--material {
256
- font-family: ${Ze}, "Material Icons", sans-serif;
256
+ font-family: ${qe}, "Material Icons", sans-serif;
257
257
  }
258
- `;var qe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(qe||(qe={}));var Xe=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(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 Ye extends ft{constructor(){super(...arguments),this.variant=qe.fluid_topics,this.resolvedIcon=I}render(){const t="material"!==this.variant||this.value;return _`
258
+ `;var Ge;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ge||(Ge={}));var Qe=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(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 ti extends xt{constructor(){super(...arguments),this.variant=Ge.fluid_topics,this.resolvedIcon=Z}render(){const t="material"!==this.variant||this.value;return H`
259
259
  <i class="ft-icon ${"ft-icon--"+this.variant}">
260
- ${Pe(this.resolvedIcon)}
260
+ ${Ie(this.resolvedIcon)}
261
261
  <slot ?hidden=${t}></slot>
262
262
  </i>
263
- `}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 qe.file_format:this.resolvedIcon=null!==(t=We[i.toUpperCase()])&&void 0!==t?t:i;break;case qe.fluid_topics:this.resolvedIcon=null!==(e=_e[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||I}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}Ye.elementDefinitions={},Ye.styles=Je,Xe([o()],Ye.prototype,"variant",void 0),Xe([o()],Ye.prototype,"value",void 0),Xe([r()],Ye.prototype,"resolvedIcon",void 0),Xe([s("slot")],Ye.prototype,"slottedContent",void 0),a("ft-icon")(Ye);const Ge=lt.external(ht.colorOutline,"Design system"),Qe=lt.external(ht.colorOnSurfaceMedium,"Design system"),ti=d`
263
+ `}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 Ge.file_format:this.resolvedIcon=null!==(t=Ke[i.toUpperCase()])&&void 0!==t?t:i;break;case Ge.fluid_topics:this.resolvedIcon=null!==(e=He[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||Z}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}ti.elementDefinitions={},ti.styles=Ye,Qe([o()],ti.prototype,"variant",void 0),Qe([o()],ti.prototype,"value",void 0),Qe([r()],ti.prototype,"resolvedIcon",void 0),Qe([s("slot")],ti.prototype,"slottedContent",void 0),a("ft-icon")(ti);const ei=ct.external(dt.colorOutline,"Design system"),ii=ct.external(dt.colorOnSurfaceMedium,"Design system"),oi=u`
264
264
  :host {
265
265
  display: block;
266
266
  }
@@ -271,17 +271,17 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
271
271
 
272
272
  ft-icon {
273
273
  transform: rotate(-45deg);
274
- color: ${Ge};
274
+ color: ${ei};
275
275
  }
276
276
 
277
277
  .ft-resizer--dragging ft-icon,
278
278
  .ft-resizer:hover ft-icon {
279
- color: ${Qe};
279
+ color: ${ii};
280
280
  }
281
- `;var ei=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(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 ii extends CustomEvent{constructor(t,e){super("resize",{detail:{width:t,height:e}})}}class oi extends ft{constructor(){super(...arguments),this.initialWidth=0,this.initialHeight=0,this.icon="drag_handle",this.cursor="nwse-resize",this.dragging=!1,this.fixedWidth=0,this.fixedHeight=0,this.startX=0,this.startY=0,this.doDragFromMouse=t=>this.doDrag(t.clientX,t.clientY),this.doDragFromTouch=t=>this.doDrag(t.touches[0].clientX,t.touches[0].clientY),this.stopDrag=()=>{this.dragging=!1,document.removeEventListener("mousemove",this.doDragFromMouse,!1),document.removeEventListener("mouseup",this.stopDrag,!1),document.removeEventListener("touchmove",this.doDragFromTouch,!1),document.removeEventListener("touchend",this.stopDrag,!1),document.removeEventListener("touchcancel",this.stopDrag,!1)}}render(){return _`
281
+ `;var ri=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(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 si extends CustomEvent{constructor(t,e){super("resize",{detail:{width:t,height:e}})}}class ni extends xt{constructor(){super(...arguments),this.initialWidth=0,this.initialHeight=0,this.icon="drag_handle",this.cursor="nwse-resize",this.dragging=!1,this.fixedWidth=0,this.fixedHeight=0,this.startX=0,this.startY=0,this.doDragFromMouse=t=>this.doDrag(t.clientX,t.clientY),this.doDragFromTouch=t=>this.doDrag(t.touches[0].clientX,t.touches[0].clientY),this.stopDrag=()=>{this.dragging=!1,document.removeEventListener("mousemove",this.doDragFromMouse,!1),document.removeEventListener("mouseup",this.stopDrag,!1),document.removeEventListener("touchmove",this.doDragFromTouch,!1),document.removeEventListener("touchend",this.stopDrag,!1),document.removeEventListener("touchcancel",this.stopDrag,!1)}}render(){return H`
282
282
  <style>
283
283
  .ft-resizer {
284
- cursor: ${f(this.cursor)}
284
+ cursor: ${d(this.cursor)}
285
285
  }
286
286
  </style>
287
287
  <div class="ft-resizer ft-no-text-select ${this.dragging?"ft-resizer--dragging":""}"
@@ -289,25 +289,25 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
289
289
  @touchstart=${this.initDragFromTouch}>
290
290
  <ft-icon variant="material">${this.icon}</ft-icon>
291
291
  </div>
292
- `}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initDrag(t,e){this.dragging=!0,this.startX=t,this.startY=e,this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,this.installDocumentEventListeners()}installDocumentEventListeners(){document.addEventListener("mousemove",this.doDragFromMouse,!1),document.addEventListener("mouseup",this.stopDrag,!1),document.addEventListener("touchmove",this.doDragFromTouch,!1),document.addEventListener("touchend",this.stopDrag,!1),document.addEventListener("touchcancel",this.stopDrag,!1)}doDrag(t,e){let i=this.fixedWidth+t-this.startX,o=this.fixedHeight+e-this.startY;this.dispatchEvent(new ii(i,o))}}oi.elementDefinitions={"ft-icon":Ye},oi.styles=[dt,ti],ei([o({type:Number})],oi.prototype,"initialWidth",void 0),ei([o({type:Number})],oi.prototype,"initialHeight",void 0),ei([o()],oi.prototype,"icon",void 0),ei([o()],oi.prototype,"cursor",void 0),ei([r()],oi.prototype,"dragging",void 0),a("ft-resizer")(oi);const ri={fontSize:lt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:lt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:lt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:lt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:lt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:lt.extend("--ft-input-label-border-color",ht.colorOutline),textColor:lt.extend("--ft-input-label-text-color",ht.colorOnSurfaceMedium),disabledTextColor:lt.extend("--ft-input-label-disabled-text-color",ht.colorOnSurfaceDisabled),colorSurface:lt.external(ht.colorSurface,"Design system"),borderRadiusS:lt.external(ht.borderRadiusS,"Design system"),colorError:lt.external(ht.colorError,"Design system")},si=d`
292
+ `}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initDrag(t,e){this.dragging=!0,this.startX=t,this.startY=e,this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,this.installDocumentEventListeners()}installDocumentEventListeners(){document.addEventListener("mousemove",this.doDragFromMouse,!1),document.addEventListener("mouseup",this.stopDrag,!1),document.addEventListener("touchmove",this.doDragFromTouch,!1),document.addEventListener("touchend",this.stopDrag,!1),document.addEventListener("touchcancel",this.stopDrag,!1)}doDrag(t,e){let i=this.fixedWidth+t-this.startX,o=this.fixedHeight+e-this.startY;this.dispatchEvent(new si(i,o))}}ni.elementDefinitions={"ft-icon":ti},ni.styles=[yt,oi],ri([o({type:Number})],ni.prototype,"initialWidth",void 0),ri([o({type:Number})],ni.prototype,"initialHeight",void 0),ri([o()],ni.prototype,"icon",void 0),ri([o()],ni.prototype,"cursor",void 0),ri([r()],ni.prototype,"dragging",void 0),a("ft-resizer")(ni);const ai={fontSize:ct.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:ct.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:ct.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:ct.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:ct.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:ct.extend("--ft-input-label-border-color",dt.colorOutline),textColor:ct.extend("--ft-input-label-text-color",dt.colorOnSurfaceMedium),disabledTextColor:ct.extend("--ft-input-label-disabled-text-color",dt.colorOnSurfaceDisabled),colorSurface:ct.external(dt.colorSurface,"Design system"),borderRadiusS:ct.external(dt.borderRadiusS,"Design system"),colorError:ct.external(dt.colorError,"Design system")},li=u`
293
293
  .ft-input-label {
294
294
  position: absolute;
295
295
  inset: 0;
296
296
  display: flex;
297
- background-color: ${ri.colorSurface};
298
- border-radius: ${ri.borderRadiusS} ${ri.borderRadiusS} 0 0;
297
+ background-color: ${ai.colorSurface};
298
+ border-radius: ${ai.borderRadiusS} ${ai.borderRadiusS} 0 0;
299
299
  }
300
300
 
301
301
  .ft-input-label--outlined {
302
- border-radius: ${ri.borderRadiusS};
302
+ border-radius: ${ai.borderRadiusS};
303
303
  }
304
304
 
305
305
  .ft-input-label {
306
- border-color: ${ri.borderColor};
306
+ border-color: ${ai.borderColor};
307
307
  }
308
308
 
309
309
  .ft-input-label.ft-input-label--in-error {
310
- border-color: ${ri.colorError}
310
+ border-color: ${ai.colorError}
311
311
  }
312
312
 
313
313
  .ft-input-label:before,
@@ -320,7 +320,7 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
320
320
  }
321
321
 
322
322
  .ft-input-label:before {
323
- width: ${ri.horizontalSpacing};
323
+ width: ${ai.horizontalSpacing};
324
324
  flex-shrink: 0;
325
325
  }
326
326
 
@@ -336,18 +336,18 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
336
336
  border-bottom-width: 1px;
337
337
  border-bottom-style: solid;
338
338
  border-color: inherit;
339
- color: ${ri.textColor};
339
+ color: ${ai.textColor};
340
340
  transition: font-size 250ms, line-height 250ms, color 250ms;
341
- ${pt(ae.fontSize,ri.fontSize)};
342
- ${pt(ae.lineHeight,ri.fontSize)};
341
+ ${ft(he.fontSize,ai.fontSize)};
342
+ ${ft(he.lineHeight,ai.fontSize)};
343
343
  }
344
344
 
345
345
  .ft-input-label--in-error .ft-input-label--text {
346
- color: ${ri.colorError}
346
+ color: ${ai.colorError}
347
347
  }
348
348
 
349
349
  .ft-input-label--disabled .ft-input-label--text {
350
- color: ${ri.disabledTextColor};
350
+ color: ${ai.disabledTextColor};
351
351
  }
352
352
 
353
353
  .ft-input-label--hidden-text {
@@ -362,17 +362,17 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
362
362
  overflow: hidden;
363
363
  white-space: nowrap;
364
364
  text-overflow: ellipsis;
365
- padding: ${ri.verticalSpacing} 4px;
366
- margin: calc(${ri.verticalSpacing} * -1) 0;
365
+ padding: ${ai.verticalSpacing} 4px;
366
+ margin: calc(${ai.verticalSpacing} * -1) 0;
367
367
  }
368
368
 
369
369
  .ft-input-label--raised .ft-input-label--text {
370
- ${pt(ae.fontSize,ri.raisedFontSize)};
371
- ${pt(ae.lineHeight,ri.raisedFontSize)};
370
+ ${ft(he.fontSize,ai.raisedFontSize)};
371
+ ${ft(he.lineHeight,ai.raisedFontSize)};
372
372
  }
373
373
 
374
374
  .ft-input-label--raised .ft-input-label--floating-text {
375
- top: ${ri.verticalSpacing};
375
+ top: ${ai.verticalSpacing};
376
376
  }
377
377
 
378
378
  .ft-input-label--outlined .ft-input-label--text,
@@ -385,36 +385,36 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
385
385
  .ft-input-label--outlined:before {
386
386
  border-left-width: 1px;
387
387
  border-left-style: solid;
388
- border-radius: ${ri.borderRadiusS} 0 0 ${ri.borderRadiusS};
388
+ border-radius: ${ai.borderRadiusS} 0 0 ${ai.borderRadiusS};
389
389
  }
390
390
 
391
391
  .ft-input-label--outlined:after {
392
392
  border-right-width: 1px;
393
393
  border-right-style: solid;
394
- border-radius: 0 ${ri.borderRadiusS} ${ri.borderRadiusS} 0;
394
+ border-radius: 0 ${ai.borderRadiusS} ${ai.borderRadiusS} 0;
395
395
  }
396
396
 
397
397
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
398
398
  padding: 2px 4px;
399
- z-index: ${ri.raisedZIndex};
400
- background-color: ${ri.colorSurface};
401
- border-radius: ${ri.borderRadiusS};
399
+ z-index: ${ai.raisedZIndex};
400
+ background-color: ${ai.colorSurface};
401
+ border-radius: ${ai.borderRadiusS};
402
402
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
403
403
  }
404
404
 
405
405
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
406
406
  border-top: none;
407
407
  }
408
- `;var ni=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(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 ai extends ft{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 _`
409
- <div class="${mt(t)}">
410
- ${this.text?_`
408
+ `;var pi=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(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 hi extends xt{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`
409
+ <div class="${Ot(t)}">
410
+ ${this.text?H`
411
411
  <div class="ft-input-label--text ft-typography--caption">
412
412
  <span class="ft-input-label--floating-text">${this.text}</span>
413
413
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
414
414
  </div>
415
415
  `:null}
416
416
  </div>
417
- `}}ai.elementDefinitions={},ai.styles=[Ue,si],ni([o({type:String})],ai.prototype,"text",void 0),ni([o({type:Boolean})],ai.prototype,"raised",void 0),ni([o({type:Boolean})],ai.prototype,"outlined",void 0),ni([o({type:Boolean})],ai.prototype,"disabled",void 0),ni([o({type:Boolean})],ai.prototype,"error",void 0),a("ft-input-label")(ai);const li=lt.extend("--ft-ripple-color",ht.colorContent),pi={color:li,backgroundColor:lt.extend("--ft-ripple-background-color",li),opacityContentOnSurfacePressed:lt.external(ht.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:lt.external(ht.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:lt.external(ht.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:lt.external(ht.opacityContentOnSurfaceSelected,"Design system")},hi=lt.extend("--ft-ripple-color",ht.colorPrimary),ci=hi,fi=lt.extend("--ft-ripple-background-color",hi),di=lt.extend("--ft-ripple-color",ht.colorSecondary),ui=di,xi=lt.extend("--ft-ripple-background-color",di),yi=d`
417
+ `}}hi.elementDefinitions={},hi.styles=[De,li],pi([o({type:String})],hi.prototype,"text",void 0),pi([o({type:Boolean})],hi.prototype,"raised",void 0),pi([o({type:Boolean})],hi.prototype,"outlined",void 0),pi([o({type:Boolean})],hi.prototype,"disabled",void 0),pi([o({type:Boolean})],hi.prototype,"error",void 0),a("ft-input-label")(hi);const ci=ct.extend("--ft-ripple-color",dt.colorContent),fi={color:ci,backgroundColor:ct.extend("--ft-ripple-background-color",ci),opacityContentOnSurfacePressed:ct.external(dt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ct.external(dt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ct.external(dt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ct.external(dt.opacityContentOnSurfaceSelected,"Design system")},di=ct.extend("--ft-ripple-color",dt.colorPrimary),ui=di,xi=ct.extend("--ft-ripple-background-color",di),yi=ct.extend("--ft-ripple-color",dt.colorSecondary),gi=yi,vi=ct.extend("--ft-ripple-background-color",yi),bi=u`
418
418
  :host {
419
419
  display: contents;
420
420
  }
@@ -436,27 +436,27 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
436
436
  }
437
437
 
438
438
  .ft-ripple .ft-ripple--background {
439
- background-color: ${pi.backgroundColor};
439
+ background-color: ${fi.backgroundColor};
440
440
  }
441
441
 
442
442
  .ft-ripple .ft-ripple--effect {
443
- background-color: ${pi.color};
443
+ background-color: ${fi.color};
444
444
  }
445
445
 
446
446
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
447
- background-color: ${xi};
447
+ background-color: ${vi};
448
448
  }
449
449
 
450
450
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
451
- background-color: ${ui};
451
+ background-color: ${gi};
452
452
  }
453
453
 
454
454
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
455
- background-color: ${fi};
455
+ background-color: ${xi};
456
456
  }
457
457
 
458
458
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
459
- background-color: ${ci};
459
+ background-color: ${ui};
460
460
  }
461
461
 
462
462
  .ft-ripple .ft-ripple--background {
@@ -488,22 +488,22 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
488
488
  }
489
489
 
490
490
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
491
- opacity: ${pi.opacityContentOnSurfaceHover};
491
+ opacity: ${fi.opacityContentOnSurfaceHover};
492
492
  }
493
493
 
494
494
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
495
- opacity: ${pi.opacityContentOnSurfaceSelected};
495
+ opacity: ${fi.opacityContentOnSurfaceSelected};
496
496
  }
497
497
 
498
498
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
499
- opacity: ${pi.opacityContentOnSurfaceFocused};
499
+ opacity: ${fi.opacityContentOnSurfaceFocused};
500
500
  }
501
501
 
502
502
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
503
- opacity: ${pi.opacityContentOnSurfacePressed};
503
+ opacity: ${fi.opacityContentOnSurfacePressed};
504
504
  transform: translate(-50%, -50%) scale(1);
505
505
  }
506
- `;var gi=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(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 ft{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 _`
506
+ `;var mi=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(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 $i extends xt{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`
507
507
  <style>
508
508
  .ft-ripple .ft-ripple--effect,
509
509
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -516,11 +516,11 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
516
516
  top: ${this.originY}px;
517
517
  }
518
518
  </style>
519
- <div class="${mt(t)}">
519
+ <div class="${Ot(t)}">
520
520
  <div class="ft-ripple--background"></div>
521
521
  <div class="ft-ripple--effect"></div>
522
522
  </div>
523
- `}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()}}bi.elementDefinitions={},bi.styles=yi,gi([o({type:Boolean})],bi.prototype,"primary",void 0),gi([o({type:Boolean})],bi.prototype,"secondary",void 0),gi([o({type:Boolean})],bi.prototype,"unbounded",void 0),gi([o({type:Boolean})],bi.prototype,"activated",void 0),gi([o({type:Boolean})],bi.prototype,"selected",void 0),gi([o({type:Boolean})],bi.prototype,"disabled",void 0),gi([r()],bi.prototype,"hovered",void 0),gi([r()],bi.prototype,"focused",void 0),gi([r()],bi.prototype,"pressed",void 0),gi([r()],bi.prototype,"rippling",void 0),gi([r()],bi.prototype,"rippleSize",void 0),gi([r()],bi.prototype,"originX",void 0),gi([r()],bi.prototype,"originY",void 0),gi([s(".ft-ripple")],bi.prototype,"ripple",void 0),gi([s(".ft-ripple--effect")],bi.prototype,"rippleEffect",void 0),a("ft-ripple")(bi);const vi={fontSize:lt.create("--ft-text-area-font-size","SIZE","14px"),labelSize:lt.create("--ft-text-area-label-size","SIZE","11px"),verticalSpacing:lt.create("--ft-text-area-vertical-spacing","SIZE","4px"),horizontalSpacing:lt.create("--ft-text-area-horizontal-spacing","SIZE","16px"),helperColor:lt.extend("--ft-text-area-helper-color",ht.colorOnSurfaceMedium),colorPrimary:lt.external(ht.colorPrimary,"Design system"),colorOnSurface:lt.external(ht.colorOnSurface,"Design system"),colorOnSurfaceDisabled:lt.external(ht.colorOnSurfaceDisabled,"Design system"),borderRadiusS:lt.external(ht.borderRadiusS,"Design system"),colorError:lt.external(ht.colorError,"Design system")},mi=d`
523
+ `}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()}}$i.elementDefinitions={},$i.styles=bi,mi([o({type:Boolean})],$i.prototype,"primary",void 0),mi([o({type:Boolean})],$i.prototype,"secondary",void 0),mi([o({type:Boolean})],$i.prototype,"unbounded",void 0),mi([o({type:Boolean})],$i.prototype,"activated",void 0),mi([o({type:Boolean})],$i.prototype,"selected",void 0),mi([o({type:Boolean})],$i.prototype,"disabled",void 0),mi([r()],$i.prototype,"hovered",void 0),mi([r()],$i.prototype,"focused",void 0),mi([r()],$i.prototype,"pressed",void 0),mi([r()],$i.prototype,"rippling",void 0),mi([r()],$i.prototype,"rippleSize",void 0),mi([r()],$i.prototype,"originX",void 0),mi([r()],$i.prototype,"originY",void 0),mi([s(".ft-ripple")],$i.prototype,"ripple",void 0),mi([s(".ft-ripple--effect")],$i.prototype,"rippleEffect",void 0),a("ft-ripple")($i);const wi={fontSize:ct.create("--ft-text-area-font-size","SIZE","14px"),labelSize:ct.create("--ft-text-area-label-size","SIZE","11px"),verticalSpacing:ct.create("--ft-text-area-vertical-spacing","SIZE","4px"),horizontalSpacing:ct.create("--ft-text-area-horizontal-spacing","SIZE","16px"),helperColor:ct.extend("--ft-text-area-helper-color",dt.colorOnSurfaceMedium),colorPrimary:ct.external(dt.colorPrimary,"Design system"),colorOnSurface:ct.external(dt.colorOnSurface,"Design system"),colorOnSurfaceDisabled:ct.external(dt.colorOnSurfaceDisabled,"Design system"),borderRadiusS:ct.external(dt.borderRadiusS,"Design system"),colorError:ct.external(dt.colorError,"Design system")},Oi=u`
524
524
  *:focus {
525
525
  outline: none;
526
526
  }
@@ -532,10 +532,10 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
532
532
  }
533
533
 
534
534
  ft-input-label {
535
- ${pt(ri.fontSize,vi.fontSize)};
536
- ${pt(ri.raisedFontSize,vi.labelSize)};
537
- ${pt(ri.verticalSpacing,vi.verticalSpacing)};
538
- ${pt(ri.horizontalSpacing,d`calc(${vi.horizontalSpacing} - 4px)`)};
535
+ ${ft(ai.fontSize,wi.fontSize)};
536
+ ${ft(ai.raisedFontSize,wi.labelSize)};
537
+ ${ft(ai.verticalSpacing,wi.verticalSpacing)};
538
+ ${ft(ai.horizontalSpacing,u`calc(${wi.horizontalSpacing} - 4px)`)};
539
539
  }
540
540
 
541
541
  .ft-text-area--main-panel {
@@ -553,8 +553,8 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
553
553
  }
554
554
 
555
555
  .ft-text-area--input-panel ft-ripple {
556
- ${pt(pi.opacityContentOnSurfaceHover,"0.08")};
557
- ${pt(pi.opacityContentOnSurfacePressed,"0.04")};
556
+ ${ft(fi.opacityContentOnSurfaceHover,"0.08")};
557
+ ${ft(fi.opacityContentOnSurfacePressed,"0.04")};
558
558
  }
559
559
 
560
560
  .ft-text-area--input {
@@ -566,12 +566,12 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
566
566
  align-self: stretch;
567
567
  resize: none;
568
568
 
569
- ${pt(te.fontSize,vi.fontSize)};
570
- ${pt(te.lineHeight,vi.fontSize)};
571
- color: ${vi.colorOnSurface};
569
+ ${ft(oe.fontSize,wi.fontSize)};
570
+ ${ft(oe.lineHeight,wi.fontSize)};
571
+ color: ${wi.colorOnSurface};
572
572
 
573
- padding: 0 ${vi.horizontalSpacing};
574
- margin: calc(${vi.verticalSpacing} + ${vi.labelSize} / 2) 0 ${vi.verticalSpacing} 0;
573
+ padding: 0 ${wi.horizontalSpacing};
574
+ margin: calc(${wi.verticalSpacing} + ${wi.labelSize} / 2) 0 ${wi.verticalSpacing} 0;
575
575
 
576
576
  border: none;
577
577
  background: none;
@@ -580,7 +580,7 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
580
580
  }
581
581
 
582
582
  .ft-text-area--disabled .ft-text-area--input {
583
- color: ${vi.colorOnSurfaceDisabled};
583
+ color: ${wi.colorOnSurfaceDisabled};
584
584
  }
585
585
 
586
586
  .ft-text-area:not(.ft-text-area--disabled) .ft-text-area--input-panel {
@@ -588,32 +588,32 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
588
588
  }
589
589
 
590
590
  .ft-text-area:not(.ft-text-area--disabled):focus-within ft-input-label {
591
- ${pt(ri.borderColor,vi.colorPrimary)};
592
- ${pt(ri.textColor,vi.colorPrimary)};
591
+ ${ft(ai.borderColor,wi.colorPrimary)};
592
+ ${ft(ai.textColor,wi.colorPrimary)};
593
593
  }
594
594
 
595
595
  .ft-text-area--filled .ft-text-area--input-panel {
596
- border-radius: ${vi.borderRadiusS} ${vi.borderRadiusS} 0 0;
596
+ border-radius: ${wi.borderRadiusS} ${wi.borderRadiusS} 0 0;
597
597
  }
598
598
 
599
599
  .ft-text-area--filled:not(.ft-text-area--no-label) .ft-text-area--input {
600
600
  align-self: stretch;
601
- margin-bottom: ${vi.verticalSpacing};
602
- margin-top: calc(${vi.labelSize} + 2 * ${vi.verticalSpacing});
601
+ margin-bottom: ${wi.verticalSpacing};
602
+ margin-top: calc(${wi.labelSize} + 2 * ${wi.verticalSpacing});
603
603
  }
604
604
 
605
605
  .ft-text-area--outlined .ft-text-area--input-panel {
606
- border-radius: ${vi.borderRadiusS};
606
+ border-radius: ${wi.borderRadiusS};
607
607
  }
608
608
 
609
609
  .ft-text-area--helper-text {
610
- padding: 0 12px 0 ${vi.horizontalSpacing};
611
- color: ${vi.helperColor};
610
+ padding: 0 12px 0 ${wi.horizontalSpacing};
611
+ color: ${wi.helperColor};
612
612
  }
613
613
 
614
614
  .ft-text-area--in-error .ft-text-area--input,
615
615
  .ft-text-area--in-error .ft-text-area--helper-text {
616
- color: ${vi.colorError};
616
+ color: ${wi.colorError};
617
617
  }
618
618
 
619
619
  ft-resizer {
@@ -621,13 +621,13 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
621
621
  right: 0;
622
622
  bottom: 0;
623
623
  }
624
- `;var $i=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(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 wi extends ft{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.height=50,this.focused=!1}render(){const t={"ft-text-area":!0,"ft-text-area--filled":!this.outlined,"ft-text-area--outlined":this.outlined,"ft-text-area--disabled":this.disabled,"ft-text-area--has-value":!!this.value,"ft-text-area--no-label":!this.label,"ft-text-area--in-error":this.error};return _`
624
+ `;var Si=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(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 ki extends xt{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.height=50,this.focused=!1}render(){const t={"ft-text-area":!0,"ft-text-area--filled":!this.outlined,"ft-text-area--outlined":this.outlined,"ft-text-area--disabled":this.disabled,"ft-text-area--has-value":!!this.value,"ft-text-area--no-label":!this.label,"ft-text-area--in-error":this.error};return H`
625
625
  <style>
626
626
  .ft-text-area--main-panel {
627
- height: calc(4 * ${vi.verticalSpacing} + ${vi.labelSize} + ${vi.fontSize} + ${this.height}px);
627
+ height: calc(4 * ${wi.verticalSpacing} + ${wi.labelSize} + ${wi.fontSize} + ${this.height}px);
628
628
  }
629
629
  </style>
630
- <div class="${mt(t)}">
630
+ <div class="${Ot(t)}">
631
631
  <div class="ft-text-area--main-panel">
632
632
  <ft-input-label text="${this.label}"
633
633
  ?disabled=${this.disabled}
@@ -637,7 +637,7 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
637
637
  ></ft-input-label>
638
638
  <div class="ft-text-area--input-panel"
639
639
  aria-label="${this.label}">
640
- ${this.outlined?null:_`
640
+ ${this.outlined?null:H`
641
641
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
642
642
  `}
643
643
  <textarea class="ft-typography--body1 ft-text-area--input"
@@ -654,9 +654,9 @@ class Te extends vt{constructor(t){if(super(t),this.it=I,t.type!==gt)throw Error
654
654
  initialHeight="${this.height}"
655
655
  cursor="ns-resize"></ft-resizer>
656
656
  </div>
657
- ${this.helper?_`
657
+ ${this.helper?H`
658
658
  <ft-typography class="ft-text-area--helper-text" variant="caption">
659
659
  ${this.helper}
660
660
  </ft-typography>`:void 0}
661
661
  </div>
662
- `}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onKeyDown(t){"Enter"!==t.key&&" "!==t.key||t.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.textarea)||void 0===t?void 0:t.value)||""}onResize(t){t.detail.height>=50&&(this.height=t.detail.height)}}wi.elementDefinitions={"ft-input-label":ai,"ft-resizer":oi,"ft-ripple":bi,"ft-typography":Le},wi.styles=[ze,mi],$i([o({type:String})],wi.prototype,"label",void 0),$i([o({reflect:!0})],wi.prototype,"value",void 0),$i([o({type:String})],wi.prototype,"helper",void 0),$i([o({type:Boolean})],wi.prototype,"outlined",void 0),$i([o({type:Boolean})],wi.prototype,"disabled",void 0),$i([o({type:Boolean})],wi.prototype,"error",void 0),$i([o({type:Number,reflect:!0})],wi.prototype,"height",void 0),$i([s("textarea")],wi.prototype,"textarea",void 0),$i([r()],wi.prototype,"focused",void 0),a("ft-text-area")(wi),t.FtTextArea=wi,t.FtTextAreaCssVariables=vi,t.styles=mi,Object.defineProperty(t,"i",{value:!0})}({});
662
+ `}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onKeyDown(t){"Enter"!==t.key&&" "!==t.key||t.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.textarea)||void 0===t?void 0:t.value)||""}onResize(t){t.detail.height>=50&&(this.height=t.detail.height)}}ki.elementDefinitions={"ft-input-label":hi,"ft-resizer":ni,"ft-ripple":$i,"ft-typography":Te},ki.styles=[Fe,Oi],Si([o({type:String})],ki.prototype,"label",void 0),Si([o({reflect:!0})],ki.prototype,"value",void 0),Si([o({type:String})],ki.prototype,"helper",void 0),Si([o({type:Boolean})],ki.prototype,"outlined",void 0),Si([o({type:Boolean})],ki.prototype,"disabled",void 0),Si([o({type:Boolean})],ki.prototype,"error",void 0),Si([o({type:Number,reflect:!0})],ki.prototype,"height",void 0),Si([s("textarea")],ki.prototype,"textarea",void 0),Si([r()],ki.prototype,"focused",void 0),a("ft-text-area")(ki),t.FtTextArea=ki,t.FtTextAreaCssVariables=wi,t.styles=Oi,Object.defineProperty(t,"i",{value:!0})}({});