@fluid-topics/ft-select 0.2.4 → 0.2.6

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,s=new WeakMap,n=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,s){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);f(s,a,l);const p={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,p),this._definitionsByClass.set(s,p);let c=i.call(o,t);c||(c=h(t),e.call(o,t,c)),this===window.customElements&&(r.set(s,p),p.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,p,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!p(e)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,s=o._getDefinition(e);return s?u(i,s):n.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,s),i.call(this,n,t,s)}else o.call(this,n,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const v=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),x.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(oi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class t{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,s=new WeakMap,n=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,s){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);f(s,a,l);const p={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,p),this._definitionsByClass.set(s,p);let c=i.call(o,t);c||(c=h(t),e.call(o,t,c)),this===window.customElements&&(r.set(s,p),p.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,p,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!p(e)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,s=o._getDefinition(e);return s?u(i,s):n.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,s),i.call(this,n,t,s)}else o.call(this,n,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const v=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),x.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(ni){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class t{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -50,19 +50,19 @@ function s(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var s;if(void 0===o)
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
- */;var y;const x=window.trustedTypes,v=x?x.emptyScript:"",g=window.reactiveElementPolyfillSupport,b={toAttribute(t,e){switch(e){case Boolean:t=t?v: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}},m=(t,e)=>e!==t&&(e==e||t==t),w={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:m};class $ extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.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 s=this[t];this[e]=o,this.requestUpdate(t,s,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._$Eu=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(u(t))}else void 0!==t&&e.push(u(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).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._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.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 d(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||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._$Eg)||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)}_$ES(t,e,i=w){var o,s;const n=this.constructor._$Eh(t,i);if(void 0!==n&&!0===i.reflect){const r=(null!==(s=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:b.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,e){var i,o,s;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),l=t.converter,a=null!==(s=null!==(o=null===(i=l)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==s?s:b.fromAttribute;this._$Ei=r,this[r]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}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._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||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._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||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)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
53
+ */;var y;const x=window.trustedTypes,v=x?x.emptyScript:"",g=window.reactiveElementPolyfillSupport,b={toAttribute(t,e){switch(e){case Boolean:t=t?v: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}},m=(t,e)=>e!==t&&(e==e||t==t),w={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:m};class $ extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.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 s=this[t];this[e]=o,this.requestUpdate(t,s,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._$Eu=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(u(t))}else void 0!==t&&e.push(u(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).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._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.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 d(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||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._$Eg)||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)}_$ES(t,e,i=w){var o,s;const n=this.constructor._$Eh(t,i);if(void 0!==n&&!0===i.reflect){const r=(null!==(s=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:b.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,e){var i,o,s;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),l=t.converter,a=null!==(s=null!==(o=null===(i=l)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==s?s:b.fromAttribute;this._$Ei=r,this[r]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}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._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||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._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||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)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- var O;$.finalized=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:$}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.2.2");const S=globalThis.trustedTypes,k=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,C=`lit$${(Math.random()+"").slice(9)}$`,E="?"+C,N=`<${E}>`,R=document,M=(t="")=>R.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,F=t=>{var e;return z(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},D=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,B=/>/g,j=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,L=/'/g,T=/"/g,P=/^(?:script|style|textarea|title)$/i,_=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),I=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),H=new WeakMap,K=R.createTreeWalker(R,129,null,!1),Z=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=D;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===D?"!--"===a[1]?r=A:void 0!==a[1]?r=B:void 0!==a[2]?(P.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=j):void 0!==a[3]&&(r=j):r===j?">"===a[0]?(r=null!=s?s:D,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?j:'"'===a[3]?T:L):r===T||r===L?r=j:r===A||r===B?r=D:(r=j,s=void 0);const h=r===j&&t[e+1].startsWith("/>")?" ":"";n+=r===D?i+N:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+C+h):i+C+(-2===p?(o.push(void 0),e):h)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==k?k.createHTML(l):l,o]};class V{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,p]=Z(t,e);if(this.el=V.createElement(a,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())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(C)){const i=p[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(C),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?G:"?"===e[1]?tt:"@"===e[1]?et:Y})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(P.test(o.tagName)){const t=o.textContent.split(C),e=t.length-1;if(e>0){o.textContent=S?S.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],M()),K.nextNode(),l.push({type:2,index:++s});o.append(t[e],M())}}}else if(8===o.nodeType)if(o.data===E)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(C,t+1));)l.push({type:7,index:s}),t+=C.length-1}s++}}static createElement(t,e){const i=R.createElement("template");return i.innerHTML=t,i}}function q(t,e,i=t,o){var s,n,r,l;if(e===I)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const p=U(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=q(t,a._$AS(t,e.values),a,o)),e}class X{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,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(i,!0);K.currentNode=s;let n=K.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new J(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new it(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=K.nextNode(),r++)}return s}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 J{constructor(t,e,i,o){var s;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=q(this,t,e),U(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==I&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):F(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==W&&U(this._$AH)?this._$AA.nextSibling.data=t:this.S(R.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="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)===s)this._$AH.m(i);else{const t=new X(s,this),e=t.p(this.options);t.m(i),this.S(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}A(t){z(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new J(this.M(M()),this.M(M()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Y{constructor(t,e,i,o,s){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=q(this,t,e,0),n=!U(t)||t!==this._$AH&&t!==I,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=q(this,o[i+r],e,r),l===I&&(l=this._$AH[r]),n||(n=!U(l)||l!==this._$AH[r]),l===W?t=W:t!==W&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.k(t)}k(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends Y{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===W?void 0:t}}const Q=S?S.emptyScript:"";class tt extends Y{constructor(){super(...arguments),this.type=4}k(t){t&&t!==W?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class et extends Y{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=q(this,t,e,0))&&void 0!==i?i:W)===I)return;const o=this._$AH,s=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==W&&(o===W||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class 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){q(this,t)}}const ot={P:"$lit$",V:C,L:E,I:1,N:Z,R:X,D:F,j:q,H:J,O:Y,F:tt,B:et,W:G,Z:it},st=window.litHtmlPolyfillSupport;
59
+ var O;$.finalized=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:$}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.3.2");const S=globalThis.trustedTypes,k=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,C=`lit$${(Math.random()+"").slice(9)}$`,E="?"+C,N=`<${E}>`,R=document,M=(t="")=>R.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,F=t=>{var e;return z(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},D=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,B=/>/g,j=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,L=/'/g,T=/"/g,P=/^(?:script|style|textarea|title)$/i,_=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),I=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),H=new WeakMap,K=R.createTreeWalker(R,129,null,!1),Z=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=D;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===D?"!--"===a[1]?r=A:void 0!==a[1]?r=B:void 0!==a[2]?(P.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=j):void 0!==a[3]&&(r=j):r===j?">"===a[0]?(r=null!=s?s:D,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?j:'"'===a[3]?T:L):r===T||r===L?r=j:r===A||r===B?r=D:(r=j,s=void 0);const h=r===j&&t[e+1].startsWith("/>")?" ":"";n+=r===D?i+N:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+C+h):i+C+(-2===p?(o.push(void 0),e):h)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==k?k.createHTML(l):l,o]};class V{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,p]=Z(t,e);if(this.el=V.createElement(a,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())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(C)){const i=p[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(C),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?G:"?"===e[1]?tt:"@"===e[1]?et:Y})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(P.test(o.tagName)){const t=o.textContent.split(C),e=t.length-1;if(e>0){o.textContent=S?S.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],M()),K.nextNode(),l.push({type:2,index:++s});o.append(t[e],M())}}}else if(8===o.nodeType)if(o.data===E)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(C,t+1));)l.push({type:7,index:s}),t+=C.length-1}s++}}static createElement(t,e){const i=R.createElement("template");return i.innerHTML=t,i}}function q(t,e,i=t,o){var s,n,r,l;if(e===I)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const p=U(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=q(t,a._$AS(t,e.values),a,o)),e}class X{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,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(i,!0);K.currentNode=s;let n=K.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new J(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new it(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=K.nextNode(),r++)}return s}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 J{constructor(t,e,i,o){var s;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=q(this,t,e),U(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==I&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):F(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==W&&U(this._$AH)?this._$AA.nextSibling.data=t:this.k(R.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="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)===s)this._$AH.m(i);else{const t=new X(s,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){z(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new J(this.M(M()),this.M(M()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Y{constructor(t,e,i,o,s){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=q(this,t,e,0),n=!U(t)||t!==this._$AH&&t!==I,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=q(this,o[i+r],e,r),l===I&&(l=this._$AH[r]),n||(n=!U(l)||l!==this._$AH[r]),l===W?t=W:t!==W&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.C(t)}C(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends Y{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===W?void 0:t}}const Q=S?S.emptyScript:"";class tt extends Y{constructor(){super(...arguments),this.type=4}C(t){t&&t!==W?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class et extends Y{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=q(this,t,e,0))&&void 0!==i?i:W)===I)return;const o=this._$AH,s=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==W&&(o===W||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class 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){q(this,t)}}const ot={L:"$lit$",P:C,V:E,I:1,N:Z,R:X,j:F,D:q,H:J,F:Y,O:tt,W:et,B:G,Z:it},st=window.litHtmlPolyfillSupport;
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
63
63
  * SPDX-License-Identifier: BSD-3-Clause
64
64
  */
65
- var nt,rt;null==st||st(V,J),(null!==(O=globalThis.litHtmlVersions)&&void 0!==O?O:globalThis.litHtmlVersions=[]).push("2.1.3");class lt extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new J(e.insertBefore(M(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return I}}lt.finalized=!0,lt._$litElement$=!0,null===(nt=globalThis.litElementHydrateSupport)||void 0===nt||nt.call(globalThis,{LitElement:lt});const at=globalThis.litElementPolyfillSupport;null==at||at({LitElement:lt}),(null!==(rt=globalThis.litElementVersions)&&void 0!==rt?rt:globalThis.litElementVersions=[]).push("3.1.2");class pt{constructor(t,e,i,o,s){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=s,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new pt(t,e,void 0,i)}static extend(t,e,i){return new pt(t,e.category,e,i)}static external(t,e){return new pt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return f`var(${h(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):h(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function ct(t,e){return h(`${t.name}: ${e}`)}const ht={colorPrimary:pt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:pt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:pt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:pt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:pt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:pt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:pt.create("--ft-color-error","COLOR","#B00020"),colorOutline:pt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:pt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:pt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:pt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:pt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:pt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:pt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:pt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:pt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:pt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:pt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:pt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:pt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:pt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:pt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:pt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:pt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:pt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:pt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:pt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:pt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:pt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:pt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:pt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:pt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:pt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:pt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:pt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:pt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:pt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:pt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:pt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:pt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:pt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:pt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:pt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:pt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:pt.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:pt.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:pt.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:pt.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:pt.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:pt.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:pt.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:pt.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:pt.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:pt.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:pt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:pt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:pt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:pt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:pt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:pt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:pt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:pt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
65
+ var nt,rt;null==st||st(V,J),(null!==(O=globalThis.litHtmlVersions)&&void 0!==O?O:globalThis.litHtmlVersions=[]).push("2.2.4");class lt extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new J(e.insertBefore(M(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return I}}lt.finalized=!0,lt._$litElement$=!0,null===(nt=globalThis.litElementHydrateSupport)||void 0===nt||nt.call(globalThis,{LitElement:lt});const at=globalThis.litElementPolyfillSupport;null==at||at({LitElement:lt}),(null!==(rt=globalThis.litElementVersions)&&void 0!==rt?rt:globalThis.litElementVersions=[]).push("3.2.0");class pt{constructor(t,e,i,o,s){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=s,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new pt(t,e,void 0,i)}static extend(t,e,i){return new pt(t,e.category,e,i)}static external(t,e){return new pt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return f`var(${h(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):h(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function ct(t,e){return h(`${t.name}: ${e}`)}const ht={colorPrimary:pt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:pt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:pt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:pt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:pt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:pt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:pt.create("--ft-color-error","COLOR","#B00020"),colorOutline:pt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:pt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:pt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:pt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:pt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:pt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:pt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:pt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:pt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:pt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:pt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:pt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:pt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:pt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:pt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:pt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:pt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:pt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:pt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:pt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:pt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:pt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:pt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:pt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:pt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:pt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:pt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:pt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:pt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:pt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:pt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:pt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:pt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:pt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:pt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:pt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:pt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:pt.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:pt.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:pt.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:pt.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:pt.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:pt.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:pt.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:pt.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:pt.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:pt.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:pt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:pt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:pt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:pt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:pt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:pt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:pt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:pt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
66
66
  /**
67
67
  * @license
68
68
  * Copyright 2021 Google LLC
@@ -97,114 +97,114 @@ const xt=1,vt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class bt{constructo
97
97
  * @license
98
98
  * Copyright 2018 Google LLC
99
99
  * SPDX-License-Identifier: BSD-3-Clause
100
- */const mt=gt(class extends bt{constructor(t){var e;if(super(t),t.type!==xt||"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.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.et)||void 0===i?void 0:i.has(t))&&this.st.add(t);return this.render(e)}const s=t.element.classList;this.st.forEach((t=>{t in e||(s.remove(t),this.st.delete(t))}));for(const t in e){const i=!!e[t];i===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return I}}),{H:wt}=ot,$t=()=>document.createComment(""),Ot=(t,e,i)=>{var o;const s=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore($t(),n),o=s.insertBefore($t(),n);i=new wt(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==n||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,n),t=e}}}return i},St=(t,e,i=t)=>(t._$AI(e,i),t),kt={},Ct=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Et=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},Nt=gt(class extends bt{constructor(t){if(super(t),t.type!==vt)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],n=[];let r=0;for(const e of t)s[r]=o?o(e,r):r,n[r]=i(e,r),r++;return{values:n,keys:s}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(e,i,o);if(!Array.isArray(n))return this.at=l,r;const a=null!==(s=this.at)&&void 0!==s?s:this.at=[],p=[];let c,h,f=0,d=n.length-1,u=0,y=r.length-1;for(;f<=d&&u<=y;)if(null===n[f])f++;else if(null===n[d])d--;else if(a[f]===l[u])p[u]=St(n[f],r[u]),f++,u++;else if(a[d]===l[y])p[y]=St(n[d],r[y]),d--,y--;else if(a[f]===l[y])p[y]=St(n[f],r[y]),Ot(t,p[y+1],n[f]),f++,y--;else if(a[d]===l[u])p[u]=St(n[d],r[u]),Ot(t,n[f],n[d]),d--,u++;else if(void 0===c&&(c=Et(l,u,y),h=Et(a,f,d)),c.has(a[f]))if(c.has(a[d])){const e=h.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=Ot(t,n[f]);St(e,r[u]),p[u]=e}else p[u]=St(i,r[u]),Ot(t,n[f],i),n[e]=null;u++}else Ct(n[d]),d--;else Ct(n[f]),f++;for(;u<=y;){const e=Ot(t,p[y+1]);St(e,r[u]),p[u++]=e}for(;f<=d;){const t=n[f++];null!==t&&Ct(t)}return this.at=l,((t,e=kt)=>{t._$AH=e})(t,p),I}}),Rt=t=>({_$litStatic$:t}),Mt=new Map,Ut=(t=>(e,...i)=>{var o;const s=i.length;let n,r;const l=[],a=[];let p,c=0,h=!1;for(;c<s;){for(p=e[c];c<s&&void 0!==(r=i[c],n=null===(o=r)||void 0===o?void 0:o._$litStatic$);)p+=n+e[++c],h=!0;a.push(r),l.push(p),c++}if(c===s&&l.push(e[s]),h){const t=l.join("$$lit$$");void 0===(e=Mt.get(t))&&(l.raw=l,Mt.set(t,e=l)),i=a}return t(e,...i)})(_);
100
+ */const mt=gt(class extends bt{constructor(t){var e;if(super(t),t.type!==xt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const s=t.element.classList;this.et.forEach((t=>{t in e||(s.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.et.add(t)):(s.remove(t),this.et.delete(t)))}return I}}),{H:wt}=ot,$t=()=>document.createComment(""),Ot=(t,e,i)=>{var o;const s=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore($t(),n),o=s.insertBefore($t(),n);i=new wt(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==n||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,n),t=e}}}return i},St=(t,e,i=t)=>(t._$AI(e,i),t),kt={},Ct=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Et=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},Nt=gt(class extends bt{constructor(t){if(super(t),t.type!==vt)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],n=[];let r=0;for(const e of t)s[r]=o?o(e,r):r,n[r]=i(e,r),r++;return{values:n,keys:s}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(e,i,o);if(!Array.isArray(n))return this.ut=l,r;const a=null!==(s=this.ut)&&void 0!==s?s:this.ut=[],p=[];let c,h,f=0,d=n.length-1,u=0,y=r.length-1;for(;f<=d&&u<=y;)if(null===n[f])f++;else if(null===n[d])d--;else if(a[f]===l[u])p[u]=St(n[f],r[u]),f++,u++;else if(a[d]===l[y])p[y]=St(n[d],r[y]),d--,y--;else if(a[f]===l[y])p[y]=St(n[f],r[y]),Ot(t,p[y+1],n[f]),f++,y--;else if(a[d]===l[u])p[u]=St(n[d],r[u]),Ot(t,n[f],n[d]),d--,u++;else if(void 0===c&&(c=Et(l,u,y),h=Et(a,f,d)),c.has(a[f]))if(c.has(a[d])){const e=h.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=Ot(t,n[f]);St(e,r[u]),p[u]=e}else p[u]=St(i,r[u]),Ot(t,n[f],i),n[e]=null;u++}else Ct(n[d]),d--;else Ct(n[f]),f++;for(;u<=y;){const e=Ot(t,p[y+1]);St(e,r[u]),p[u++]=e}for(;f<=d;){const t=n[f++];null!==t&&Ct(t)}return this.ut=l,((t,e=kt)=>{t._$AH=e})(t,p),I}}),Rt=Symbol.for(""),Mt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===Rt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Ut=t=>({_$litStatic$:t,r:Rt}),zt=new Map,Ft=(t=>(e,...i)=>{const o=i.length;let s,n;const r=[],l=[];let a,p=0,c=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(n=i[p],s=Mt(n));)a+=s+e[++p],c=!0;l.push(n),r.push(a),p++}if(p===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=zt.get(t))&&(r.raw=r,zt.set(t,e=r)),i=l}return t(e,...i)})(_);
101
101
  /**
102
102
  * @license
103
103
  * Copyright 2020 Google LLC
104
104
  * SPDX-License-Identifier: BSD-3-Clause
105
- */var zt,Ft=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(zt||(zt={}));const Dt=pt.extend("--ft-typography-font-family",ht.titleFont),At=pt.extend("--ft-typography-font-family",ht.contentFont),Bt={fontFamily:At,fontSize:pt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:pt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:pt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:pt.create("--ft-typography-line-height","SIZE","24px"),textTransform:pt.create("--ft-typography-text-transform","UNKNOWN","inherit")},jt=pt.extend("--ft-typography-title-font-family",Dt),Lt=pt.extend("--ft-typography-title-font-size",Bt.fontSize,"20px"),Tt=pt.extend("--ft-typography-title-font-weight",Bt.fontWeight,"normal"),Pt=pt.extend("--ft-typography-title-letter-spacing",Bt.letterSpacing,"0.15px"),_t=pt.extend("--ft-typography-title-line-height",Bt.lineHeight,"24px"),It=pt.extend("--ft-typography-title-text-transform",Bt.textTransform,"inherit"),Wt=pt.extend("--ft-typography-title-dense-font-family",Dt),Ht=pt.extend("--ft-typography-title-dense-font-size",Bt.fontSize,"14px"),Kt=pt.extend("--ft-typography-title-dense-font-weight",Bt.fontWeight,"normal"),Zt=pt.extend("--ft-typography-title-dense-letter-spacing",Bt.letterSpacing,"0.105px"),Vt=pt.extend("--ft-typography-title-dense-line-height",Bt.lineHeight,"24px"),qt=pt.extend("--ft-typography-title-dense-text-transform",Bt.textTransform,"inherit"),Xt=pt.extend("--ft-typography-subtitle1-font-family",At),Jt=pt.extend("--ft-typography-subtitle1-font-size",Bt.fontSize,"16px"),Yt=pt.extend("--ft-typography-subtitle1-font-weight",Bt.fontWeight,"600"),Gt=pt.extend("--ft-typography-subtitle1-letter-spacing",Bt.letterSpacing,"0.144px"),Qt=pt.extend("--ft-typography-subtitle1-line-height",Bt.lineHeight,"24px"),te=pt.extend("--ft-typography-subtitle1-text-transform",Bt.textTransform,"inherit"),ee=pt.extend("--ft-typography-subtitle2-font-family",At),ie=pt.extend("--ft-typography-subtitle2-font-size",Bt.fontSize,"14px"),oe=pt.extend("--ft-typography-subtitle2-font-weight",Bt.fontWeight,"normal"),se=pt.extend("--ft-typography-subtitle2-letter-spacing",Bt.letterSpacing,"0.098px"),ne=pt.extend("--ft-typography-subtitle2-line-height",Bt.lineHeight,"24px"),re=pt.extend("--ft-typography-subtitle2-text-transform",Bt.textTransform,"inherit"),le={fontFamily:pt.extend("--ft-typography-body1-font-family",At),fontSize:pt.extend("--ft-typography-body1-font-size",Bt.fontSize,"16px"),fontWeight:pt.extend("--ft-typography-body1-font-weight",Bt.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-body1-letter-spacing",Bt.letterSpacing,"0.496px"),lineHeight:pt.extend("--ft-typography-body1-line-height",Bt.lineHeight,"24px"),textTransform:pt.extend("--ft-typography-body1-text-transform",Bt.textTransform,"inherit")},ae=pt.extend("--ft-typography-body2-font-family",At),pe=pt.extend("--ft-typography-body2-font-size",Bt.fontSize,"14px"),ce=pt.extend("--ft-typography-body2-font-weight",Bt.fontWeight,"normal"),he=pt.extend("--ft-typography-body2-letter-spacing",Bt.letterSpacing,"0.252px"),fe=pt.extend("--ft-typography-body2-line-height",Bt.lineHeight,"20px"),de=pt.extend("--ft-typography-body2-text-transform",Bt.textTransform,"inherit"),ue={fontFamily:pt.extend("--ft-typography-caption-font-family",At),fontSize:pt.extend("--ft-typography-caption-font-size",Bt.fontSize,"12px"),fontWeight:pt.extend("--ft-typography-caption-font-weight",Bt.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-caption-letter-spacing",Bt.letterSpacing,"0.396px"),lineHeight:pt.extend("--ft-typography-caption-line-height",Bt.lineHeight,"16px"),textTransform:pt.extend("--ft-typography-caption-text-transform",Bt.textTransform,"inherit")},ye=pt.extend("--ft-typography-breadcrumb-font-family",At),xe=pt.extend("--ft-typography-breadcrumb-font-size",Bt.fontSize,"10px"),ve=pt.extend("--ft-typography-breadcrumb-font-weight",Bt.fontWeight,"normal"),ge=pt.extend("--ft-typography-breadcrumb-letter-spacing",Bt.letterSpacing,"0.33px"),be=pt.extend("--ft-typography-breadcrumb-line-height",Bt.lineHeight,"16px"),me=pt.extend("--ft-typography-breadcrumb-text-transform",Bt.textTransform,"inherit"),we=pt.extend("--ft-typography-overline-font-family",At),$e=pt.extend("--ft-typography-overline-font-size",Bt.fontSize,"10px"),Oe=pt.extend("--ft-typography-overline-font-weight",Bt.fontWeight,"normal"),Se=pt.extend("--ft-typography-overline-letter-spacing",Bt.letterSpacing,"1.5px"),ke=pt.extend("--ft-typography-overline-line-height",Bt.lineHeight,"16px"),Ce=pt.extend("--ft-typography-overline-text-transform",Bt.textTransform,"uppercase"),Ee=pt.extend("--ft-typography-button-font-family",At),Ne=pt.extend("--ft-typography-button-font-size",Bt.fontSize,"14px"),Re=pt.extend("--ft-typography-button-font-weight",Bt.fontWeight,"600"),Me=pt.extend("--ft-typography-button-letter-spacing",Bt.letterSpacing,"1.246px"),Ue=pt.extend("--ft-typography-button-line-height",Bt.lineHeight,"16px"),ze=pt.extend("--ft-typography-button-text-transform",Bt.textTransform,"uppercase"),Fe=f`
105
+ */var Dt,At=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!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"}(Dt||(Dt={}));const Bt=pt.extend("--ft-typography-font-family",ht.titleFont),jt=pt.extend("--ft-typography-font-family",ht.contentFont),Lt={fontFamily:jt,fontSize:pt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:pt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:pt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:pt.create("--ft-typography-line-height","SIZE","24px"),textTransform:pt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Tt=pt.extend("--ft-typography-title-font-family",Bt),Pt=pt.extend("--ft-typography-title-font-size",Lt.fontSize,"20px"),_t=pt.extend("--ft-typography-title-font-weight",Lt.fontWeight,"normal"),It=pt.extend("--ft-typography-title-letter-spacing",Lt.letterSpacing,"0.15px"),Wt=pt.extend("--ft-typography-title-line-height",Lt.lineHeight,"24px"),Ht=pt.extend("--ft-typography-title-text-transform",Lt.textTransform,"inherit"),Kt=pt.extend("--ft-typography-title-dense-font-family",Bt),Zt=pt.extend("--ft-typography-title-dense-font-size",Lt.fontSize,"14px"),Vt=pt.extend("--ft-typography-title-dense-font-weight",Lt.fontWeight,"normal"),qt=pt.extend("--ft-typography-title-dense-letter-spacing",Lt.letterSpacing,"0.105px"),Xt=pt.extend("--ft-typography-title-dense-line-height",Lt.lineHeight,"24px"),Jt=pt.extend("--ft-typography-title-dense-text-transform",Lt.textTransform,"inherit"),Yt=pt.extend("--ft-typography-subtitle1-font-family",jt),Gt=pt.extend("--ft-typography-subtitle1-font-size",Lt.fontSize,"16px"),Qt=pt.extend("--ft-typography-subtitle1-font-weight",Lt.fontWeight,"600"),te=pt.extend("--ft-typography-subtitle1-letter-spacing",Lt.letterSpacing,"0.144px"),ee=pt.extend("--ft-typography-subtitle1-line-height",Lt.lineHeight,"24px"),ie=pt.extend("--ft-typography-subtitle1-text-transform",Lt.textTransform,"inherit"),oe=pt.extend("--ft-typography-subtitle2-font-family",jt),se=pt.extend("--ft-typography-subtitle2-font-size",Lt.fontSize,"14px"),ne=pt.extend("--ft-typography-subtitle2-font-weight",Lt.fontWeight,"normal"),re=pt.extend("--ft-typography-subtitle2-letter-spacing",Lt.letterSpacing,"0.098px"),le=pt.extend("--ft-typography-subtitle2-line-height",Lt.lineHeight,"24px"),ae=pt.extend("--ft-typography-subtitle2-text-transform",Lt.textTransform,"inherit"),pe={fontFamily:pt.extend("--ft-typography-body1-font-family",jt),fontSize:pt.extend("--ft-typography-body1-font-size",Lt.fontSize,"16px"),fontWeight:pt.extend("--ft-typography-body1-font-weight",Lt.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-body1-letter-spacing",Lt.letterSpacing,"0.496px"),lineHeight:pt.extend("--ft-typography-body1-line-height",Lt.lineHeight,"24px"),textTransform:pt.extend("--ft-typography-body1-text-transform",Lt.textTransform,"inherit")},ce=pt.extend("--ft-typography-body2-font-family",jt),he=pt.extend("--ft-typography-body2-font-size",Lt.fontSize,"14px"),fe=pt.extend("--ft-typography-body2-font-weight",Lt.fontWeight,"normal"),de=pt.extend("--ft-typography-body2-letter-spacing",Lt.letterSpacing,"0.252px"),ue=pt.extend("--ft-typography-body2-line-height",Lt.lineHeight,"20px"),ye=pt.extend("--ft-typography-body2-text-transform",Lt.textTransform,"inherit"),xe={fontFamily:pt.extend("--ft-typography-caption-font-family",jt),fontSize:pt.extend("--ft-typography-caption-font-size",Lt.fontSize,"12px"),fontWeight:pt.extend("--ft-typography-caption-font-weight",Lt.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-caption-letter-spacing",Lt.letterSpacing,"0.396px"),lineHeight:pt.extend("--ft-typography-caption-line-height",Lt.lineHeight,"16px"),textTransform:pt.extend("--ft-typography-caption-text-transform",Lt.textTransform,"inherit")},ve=pt.extend("--ft-typography-breadcrumb-font-family",jt),ge=pt.extend("--ft-typography-breadcrumb-font-size",Lt.fontSize,"10px"),be=pt.extend("--ft-typography-breadcrumb-font-weight",Lt.fontWeight,"normal"),me=pt.extend("--ft-typography-breadcrumb-letter-spacing",Lt.letterSpacing,"0.33px"),we=pt.extend("--ft-typography-breadcrumb-line-height",Lt.lineHeight,"16px"),$e=pt.extend("--ft-typography-breadcrumb-text-transform",Lt.textTransform,"inherit"),Oe=pt.extend("--ft-typography-overline-font-family",jt),Se=pt.extend("--ft-typography-overline-font-size",Lt.fontSize,"10px"),ke=pt.extend("--ft-typography-overline-font-weight",Lt.fontWeight,"normal"),Ce=pt.extend("--ft-typography-overline-letter-spacing",Lt.letterSpacing,"1.5px"),Ee=pt.extend("--ft-typography-overline-line-height",Lt.lineHeight,"16px"),Ne=pt.extend("--ft-typography-overline-text-transform",Lt.textTransform,"uppercase"),Re=pt.extend("--ft-typography-button-font-family",jt),Me=pt.extend("--ft-typography-button-font-size",Lt.fontSize,"14px"),Ue=pt.extend("--ft-typography-button-font-weight",Lt.fontWeight,"600"),ze=pt.extend("--ft-typography-button-letter-spacing",Lt.letterSpacing,"1.246px"),Fe=pt.extend("--ft-typography-button-line-height",Lt.lineHeight,"16px"),De=pt.extend("--ft-typography-button-text-transform",Lt.textTransform,"uppercase"),Ae=f`
106
106
  .ft-typography--title {
107
- font-family: ${jt};
108
- font-size: ${Lt};
109
- font-weight: ${Tt};
110
- letter-spacing: ${Pt};
111
- line-height: ${_t};
112
- text-transform: ${It};
107
+ font-family: ${Tt};
108
+ font-size: ${Pt};
109
+ font-weight: ${_t};
110
+ letter-spacing: ${It};
111
+ line-height: ${Wt};
112
+ text-transform: ${Ht};
113
113
  }
114
- `,De=f`
114
+ `,Be=f`
115
115
  .ft-typography--title-dense {
116
- font-family: ${Wt};
117
- font-size: ${Ht};
118
- font-weight: ${Kt};
119
- letter-spacing: ${Zt};
120
- line-height: ${Vt};
121
- text-transform: ${qt};
116
+ font-family: ${Kt};
117
+ font-size: ${Zt};
118
+ font-weight: ${Vt};
119
+ letter-spacing: ${qt};
120
+ line-height: ${Xt};
121
+ text-transform: ${Jt};
122
122
  }
123
- `,Ae=f`
123
+ `,je=f`
124
124
  .ft-typography--subtitle1 {
125
- font-family: ${Xt};
126
- font-size: ${Jt};
127
- font-weight: ${Yt};
128
- letter-spacing: ${Gt};
129
- line-height: ${Qt};
130
- text-transform: ${te};
125
+ font-family: ${Yt};
126
+ font-size: ${Gt};
127
+ font-weight: ${Qt};
128
+ letter-spacing: ${te};
129
+ line-height: ${ee};
130
+ text-transform: ${ie};
131
131
  }
132
- `,Be=f`
132
+ `,Le=f`
133
133
  .ft-typography--subtitle2 {
134
- font-family: ${ee};
135
- font-size: ${ie};
136
- font-weight: ${oe};
137
- letter-spacing: ${se};
138
- line-height: ${ne};
139
- text-transform: ${re};
134
+ font-family: ${oe};
135
+ font-size: ${se};
136
+ font-weight: ${ne};
137
+ letter-spacing: ${re};
138
+ line-height: ${le};
139
+ text-transform: ${ae};
140
140
  }
141
141
 
142
- `,je=f`
142
+ `,Te=f`
143
143
  .ft-typography--body1 {
144
- font-family: ${le.fontFamily};
145
- font-size: ${le.fontSize};
146
- font-weight: ${le.fontWeight};
147
- letter-spacing: ${le.letterSpacing};
148
- line-height: ${le.lineHeight};
149
- text-transform: ${le.textTransform};
144
+ font-family: ${pe.fontFamily};
145
+ font-size: ${pe.fontSize};
146
+ font-weight: ${pe.fontWeight};
147
+ letter-spacing: ${pe.letterSpacing};
148
+ line-height: ${pe.lineHeight};
149
+ text-transform: ${pe.textTransform};
150
150
  }
151
- `,Le=f`
151
+ `,Pe=f`
152
152
  .ft-typography--body2 {
153
- font-family: ${ae};
154
- font-size: ${pe};
155
- font-weight: ${ce};
156
- letter-spacing: ${he};
157
- line-height: ${fe};
158
- text-transform: ${de};
153
+ font-family: ${ce};
154
+ font-size: ${he};
155
+ font-weight: ${fe};
156
+ letter-spacing: ${de};
157
+ line-height: ${ue};
158
+ text-transform: ${ye};
159
159
  }
160
- `,Te=f`
160
+ `,_e=f`
161
161
  .ft-typography--caption {
162
- font-family: ${ue.fontFamily};
163
- font-size: ${ue.fontSize};
164
- font-weight: ${ue.fontWeight};
165
- letter-spacing: ${ue.letterSpacing};
166
- line-height: ${ue.lineHeight};
167
- text-transform: ${ue.textTransform};
162
+ font-family: ${xe.fontFamily};
163
+ font-size: ${xe.fontSize};
164
+ font-weight: ${xe.fontWeight};
165
+ letter-spacing: ${xe.letterSpacing};
166
+ line-height: ${xe.lineHeight};
167
+ text-transform: ${xe.textTransform};
168
168
  }
169
- `,Pe=f`
169
+ `,Ie=f`
170
170
  .ft-typography--breadcrumb {
171
- font-family: ${ye};
172
- font-size: ${xe};
173
- font-weight: ${ve};
174
- letter-spacing: ${ge};
175
- line-height: ${be};
176
- text-transform: ${me};
171
+ font-family: ${ve};
172
+ font-size: ${ge};
173
+ font-weight: ${be};
174
+ letter-spacing: ${me};
175
+ line-height: ${we};
176
+ text-transform: ${$e};
177
177
  }
178
- `,_e=f`
178
+ `,We=f`
179
179
  .ft-typography--overline {
180
- font-family: ${we};
181
- font-size: ${$e};
182
- font-weight: ${Oe};
183
- letter-spacing: ${Se};
184
- line-height: ${ke};
185
- text-transform: ${Ce};
180
+ font-family: ${Oe};
181
+ font-size: ${Se};
182
+ font-weight: ${ke};
183
+ letter-spacing: ${Ce};
184
+ line-height: ${Ee};
185
+ text-transform: ${Ne};
186
186
  }
187
- `,Ie=f`
187
+ `,He=f`
188
188
  .ft-typography--button {
189
- font-family: ${Ee};
190
- font-size: ${Ne};
191
- font-weight: ${Re};
192
- letter-spacing: ${Me};
193
- line-height: ${Ue};
194
- text-transform: ${ze};
189
+ font-family: ${Re};
190
+ font-size: ${Me};
191
+ font-weight: ${Ue};
192
+ letter-spacing: ${ze};
193
+ line-height: ${Fe};
194
+ text-transform: ${De};
195
195
  }
196
- `;class We extends ft{constructor(){super(...arguments),this.variant=zt.body1}render(){return this.element?Ut`
197
- <${Rt(this.element)}
196
+ `;class Ke extends ft{constructor(){super(...arguments),this.variant=Dt.body1}render(){return this.element?Ft`
197
+ <${Ut(this.element)}
198
198
  class="ft-typography ft-typography--${this.variant}">
199
199
  <slot></slot>
200
- </${Rt(this.element)}>
201
- `:Ut`
200
+ </${Ut(this.element)}>
201
+ `:Ft`
202
202
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
203
- `}}We.styles=[Fe,De,Ae,Be,je,Le,Te,Pe,_e,Ie,f`
203
+ `}}Ke.styles=[Ae,Be,je,Le,Te,Pe,_e,Ie,We,He,f`
204
204
  .ft-typography {
205
205
  vertical-align: inherit;
206
206
  }
207
- `],Ft([i()],We.prototype,"element",void 0),Ft([i()],We.prototype,"variant",void 0),r("ft-typography")(We);var He=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ke={fontSize:pt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:pt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:pt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:pt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:pt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:pt.extend("--ft-input-label-border-color",ht.colorOutline),textColor:pt.extend("--ft-input-label-text-color",ht.colorOnSurfaceMedium),disabledTextColor:pt.extend("--ft-input-label-disabled-text-color",ht.colorOnSurfaceDisabled),colorSurface:pt.external(ht.colorSurface,"Design system"),borderRadiusS:pt.external(ht.borderRadiusS,"Design system"),colorError:pt.external(ht.colorError,"Design system")};class Ze 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 _`
207
+ `],At([i()],Ke.prototype,"element",void 0),At([i()],Ke.prototype,"variant",void 0),r("ft-typography")(Ke);var Ze=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ve={fontSize:pt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:pt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:pt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:pt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:pt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:pt.extend("--ft-input-label-border-color",ht.colorOutline),textColor:pt.extend("--ft-input-label-text-color",ht.colorOnSurfaceMedium),disabledTextColor:pt.extend("--ft-input-label-disabled-text-color",ht.colorOnSurfaceDisabled),colorSurface:pt.external(ht.colorSurface,"Design system"),borderRadiusS:pt.external(ht.borderRadiusS,"Design system"),colorError:pt.external(ht.colorError,"Design system")};class qe 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 _`
208
208
  <div class="${mt(t)}">
209
209
  ${this.text?_`
210
210
  <div class="ft-input-label--text ft-typography--caption">
@@ -213,7 +213,7 @@ const xt=1,vt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class bt{constructo
213
213
  </div>
214
214
  `:null}
215
215
  </div>
216
- `}}Ze.elementDefinitions={},Ze.styles=[Te,f`
216
+ `}}qe.elementDefinitions={},qe.styles=[_e,f`
217
217
  .ft-input-label {
218
218
  position: absolute;
219
219
  inset: 0;
@@ -221,11 +221,11 @@ const xt=1,vt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class bt{constructo
221
221
  }
222
222
 
223
223
  .ft-input-label {
224
- border-color: ${Ke.borderColor};
224
+ border-color: ${Ve.borderColor};
225
225
  }
226
226
 
227
227
  .ft-input-label.ft-input-label--in-error {
228
- border-color: ${Ke.colorError}
228
+ border-color: ${Ve.colorError}
229
229
  }
230
230
 
231
231
  .ft-input-label:before,
@@ -238,7 +238,7 @@ const xt=1,vt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class bt{constructo
238
238
  }
239
239
 
240
240
  .ft-input-label:before {
241
- width: ${Ke.horizontalSpacing};
241
+ width: ${Ve.horizontalSpacing};
242
242
  flex-shrink: 0;
243
243
  }
244
244
 
@@ -254,18 +254,18 @@ const xt=1,vt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class bt{constructo
254
254
  border-bottom-width: 1px;
255
255
  border-bottom-style: solid;
256
256
  border-color: inherit;
257
- color: ${Ke.textColor};
257
+ color: ${Ve.textColor};
258
258
  transition: font-size 250ms, line-height 250ms, color 250ms;
259
- ${ct(ue.fontSize,Ke.fontSize)};
260
- ${ct(ue.lineHeight,Ke.fontSize)};
259
+ ${ct(xe.fontSize,Ve.fontSize)};
260
+ ${ct(xe.lineHeight,Ve.fontSize)};
261
261
  }
262
262
 
263
263
  .ft-input-label--in-error .ft-input-label--text {
264
- color: ${Ke.colorError}
264
+ color: ${Ve.colorError}
265
265
  }
266
266
 
267
267
  .ft-input-label--disabled .ft-input-label--text {
268
- color: ${Ke.disabledTextColor};
268
+ color: ${Ve.disabledTextColor};
269
269
  }
270
270
 
271
271
  .ft-input-label--hidden-text {
@@ -281,17 +281,17 @@ const xt=1,vt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class bt{constructo
281
281
  overflow: hidden;
282
282
  white-space: nowrap;
283
283
  text-overflow: ellipsis;
284
- padding: ${Ke.verticalSpacing} 4px;
285
- margin: calc(${Ke.verticalSpacing} * -1) 0;
284
+ padding: ${Ve.verticalSpacing} 4px;
285
+ margin: calc(${Ve.verticalSpacing} * -1) 0;
286
286
  }
287
287
 
288
288
  .ft-input-label--raised .ft-input-label--text {
289
- ${ct(ue.fontSize,Ke.raisedFontSize)};
290
- ${ct(ue.lineHeight,Ke.raisedFontSize)};
289
+ ${ct(xe.fontSize,Ve.raisedFontSize)};
290
+ ${ct(xe.lineHeight,Ve.raisedFontSize)};
291
291
  }
292
292
 
293
293
  .ft-input-label--raised .ft-input-label--floating-text {
294
- top: ${Ke.verticalSpacing};
294
+ top: ${Ve.verticalSpacing};
295
295
  }
296
296
 
297
297
  .ft-input-label--outlined .ft-input-label--text,
@@ -304,27 +304,27 @@ const xt=1,vt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class bt{constructo
304
304
  .ft-input-label--outlined:before {
305
305
  border-left-width: 1px;
306
306
  border-left-style: solid;
307
- border-radius: ${Ke.borderRadiusS} 0 0 ${Ke.borderRadiusS};
307
+ border-radius: ${Ve.borderRadiusS} 0 0 ${Ve.borderRadiusS};
308
308
  }
309
309
 
310
310
  .ft-input-label--outlined:after {
311
311
  border-right-width: 1px;
312
312
  border-right-style: solid;
313
- border-radius: 0 ${Ke.borderRadiusS} ${Ke.borderRadiusS} 0;
313
+ border-radius: 0 ${Ve.borderRadiusS} ${Ve.borderRadiusS} 0;
314
314
  }
315
315
 
316
316
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
317
317
  padding: 2px 4px;
318
- z-index: ${Ke.raisedZIndex};
319
- background-color: ${Ke.colorSurface};
320
- border-radius: ${Ke.borderRadiusS};
318
+ z-index: ${Ve.raisedZIndex};
319
+ background-color: ${Ve.colorSurface};
320
+ border-radius: ${Ve.borderRadiusS};
321
321
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
322
322
  }
323
323
 
324
324
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
325
325
  border-top: none;
326
326
  }
327
- `],He([i({type:String})],Ze.prototype,"text",void 0),He([i({type:Boolean})],Ze.prototype,"raised",void 0),He([i({type:Boolean})],Ze.prototype,"outlined",void 0),He([i({type:Boolean})],Ze.prototype,"disabled",void 0),He([i({type:Boolean})],Ze.prototype,"error",void 0),r("ft-input-label")(Ze);var Ve=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const qe=pt.extend("--ft-ripple-color",ht.colorContent),Xe={color:qe,backgroundColor:pt.extend("--ft-ripple-background-color",qe),opacityContentOnSurfacePressed:pt.external(ht.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:pt.external(ht.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:pt.external(ht.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:pt.external(ht.opacityContentOnSurfaceSelected,"Design system")},Je=pt.extend("--ft-ripple-color",ht.colorPrimary),Ye=Je,Ge=pt.extend("--ft-ripple-background-color",Je),Qe=pt.extend("--ft-ripple-color",ht.colorSecondary),ti=Qe,ei=pt.extend("--ft-ripple-background-color",Qe);class ii 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 t(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return _`
327
+ `],Ze([i({type:String})],qe.prototype,"text",void 0),Ze([i({type:Boolean})],qe.prototype,"raised",void 0),Ze([i({type:Boolean})],qe.prototype,"outlined",void 0),Ze([i({type:Boolean})],qe.prototype,"disabled",void 0),Ze([i({type:Boolean})],qe.prototype,"error",void 0),r("ft-input-label")(qe);var Xe=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Je=pt.extend("--ft-ripple-color",ht.colorContent),Ye={color:Je,backgroundColor:pt.extend("--ft-ripple-background-color",Je),opacityContentOnSurfacePressed:pt.external(ht.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:pt.external(ht.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:pt.external(ht.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:pt.external(ht.opacityContentOnSurfaceSelected,"Design system")},Ge=pt.extend("--ft-ripple-color",ht.colorPrimary),Qe=Ge,ti=pt.extend("--ft-ripple-background-color",Ge),ei=pt.extend("--ft-ripple-color",ht.colorSecondary),ii=ei,oi=pt.extend("--ft-ripple-background-color",ei);class si 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 t(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return _`
328
328
  <style>
329
329
  .ft-ripple .ft-ripple--effect,
330
330
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -341,7 +341,7 @@ const xt=1,vt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class bt{constructo
341
341
  <div class="ft-ripple--background"></div>
342
342
  <div class="ft-ripple--effect"></div>
343
343
  </div>
344
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}ii.elementDefinitions={},ii.styles=f`
344
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}si.elementDefinitions={},si.styles=f`
345
345
  :host {
346
346
  display: contents;
347
347
  }
@@ -363,27 +363,27 @@ const xt=1,vt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class bt{constructo
363
363
  }
364
364
 
365
365
  .ft-ripple .ft-ripple--background {
366
- background-color: ${Xe.backgroundColor};
366
+ background-color: ${Ye.backgroundColor};
367
367
  }
368
368
 
369
369
  .ft-ripple .ft-ripple--effect {
370
- background-color: ${Xe.color};
370
+ background-color: ${Ye.color};
371
371
  }
372
372
 
373
373
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
374
- background-color: ${ei};
374
+ background-color: ${oi};
375
375
  }
376
376
 
377
377
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
378
- background-color: ${ti};
378
+ background-color: ${ii};
379
379
  }
380
380
 
381
381
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
382
- background-color: ${Ge};
382
+ background-color: ${ti};
383
383
  }
384
384
 
385
385
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
386
- background-color: ${Ye};
386
+ background-color: ${Qe};
387
387
  }
388
388
 
389
389
  .ft-ripple .ft-ripple--background {
@@ -415,42 +415,42 @@ const xt=1,vt=2,gt=t=>(...e)=>({_$litDirective$:t,values:e});class bt{constructo
415
415
  }
416
416
 
417
417
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
418
- opacity: ${Xe.opacityContentOnSurfaceHover};
418
+ opacity: ${Ye.opacityContentOnSurfaceHover};
419
419
  }
420
420
 
421
421
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
422
- opacity: ${Xe.opacityContentOnSurfaceSelected};
422
+ opacity: ${Ye.opacityContentOnSurfaceSelected};
423
423
  }
424
424
 
425
425
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
426
- opacity: ${Xe.opacityContentOnSurfaceFocused};
426
+ opacity: ${Ye.opacityContentOnSurfaceFocused};
427
427
  }
428
428
 
429
429
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
430
- opacity: ${Xe.opacityContentOnSurfacePressed};
430
+ opacity: ${Ye.opacityContentOnSurfacePressed};
431
431
  transform: translate(-50%, -50%) scale(1);
432
432
  }
433
- `,Ve([i({type:Boolean})],ii.prototype,"primary",void 0),Ve([i({type:Boolean})],ii.prototype,"secondary",void 0),Ve([i({type:Boolean})],ii.prototype,"unbounded",void 0),Ve([i({type:Boolean})],ii.prototype,"activated",void 0),Ve([i({type:Boolean})],ii.prototype,"selected",void 0),Ve([i({type:Boolean})],ii.prototype,"disabled",void 0),Ve([o()],ii.prototype,"hovered",void 0),Ve([o()],ii.prototype,"focused",void 0),Ve([o()],ii.prototype,"pressed",void 0),Ve([o()],ii.prototype,"rippling",void 0),Ve([o()],ii.prototype,"rippleSize",void 0),Ve([o()],ii.prototype,"originX",void 0),Ve([o()],ii.prototype,"originY",void 0),Ve([s(".ft-ripple")],ii.prototype,"ripple",void 0),Ve([s(".ft-ripple--effect")],ii.prototype,"rippleEffect",void 0),r("ft-ripple")(ii);
433
+ `,Xe([i({type:Boolean})],si.prototype,"primary",void 0),Xe([i({type:Boolean})],si.prototype,"secondary",void 0),Xe([i({type:Boolean})],si.prototype,"unbounded",void 0),Xe([i({type:Boolean})],si.prototype,"activated",void 0),Xe([i({type:Boolean})],si.prototype,"selected",void 0),Xe([i({type:Boolean})],si.prototype,"disabled",void 0),Xe([o()],si.prototype,"hovered",void 0),Xe([o()],si.prototype,"focused",void 0),Xe([o()],si.prototype,"pressed",void 0),Xe([o()],si.prototype,"rippling",void 0),Xe([o()],si.prototype,"rippleSize",void 0),Xe([o()],si.prototype,"originX",void 0),Xe([o()],si.prototype,"originY",void 0),Xe([s(".ft-ripple")],si.prototype,"ripple",void 0),Xe([s(".ft-ripple--effect")],si.prototype,"rippleEffect",void 0),r("ft-ripple")(si);
434
434
  /**
435
435
  * @license
436
436
  * Copyright 2017 Google LLC
437
437
  * SPDX-License-Identifier: BSD-3-Clause
438
438
  */
439
- class oi extends bt{constructor(t){if(super(t),this.it=W,t.type!==vt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===W||null==t)return this.vt=void 0,this.it=t;if(t===I)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}oi.directiveName="unsafeHTML",oi.resultType=1;const si=gt(oi);var ni,ri;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ni||(ni={})),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;"}(ri||(ri={})),new Map([...["abw"].map((t=>[t,ri.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,ri.AUDIO])),...["avi"].map((t=>[t,ri.AVI])),...["chm","xhs"].map((t=>[t,ri.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,ri.CODE])),...["csv"].map((t=>[t,ri.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ri.DITA])),...["epub"].map((t=>[t,ri.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ri.EXCEL])),...["flac"].map((t=>[t,ri.FLAC])),...["gif"].map((t=>[t,ri.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ri.GZIP])),...["html","htm","xhtml"].map((t=>[t,ri.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,ri.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ri.JPEG])),...["json"].map((t=>[t,ri.JSON])),...["m4a","m4p"].map((t=>[t,ri.M4A])),...["mov","qt"].map((t=>[t,ri.MOV])),...["mp3"].map((t=>[t,ri.MP3])),...["mp4","m4v"].map((t=>[t,ri.MP4])),...["ogg","oga"].map((t=>[t,ri.OGG])),...["pdf","ps"].map((t=>[t,ri.PDF])),...["png"].map((t=>[t,ri.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ri.POWERPOINT])),...["rar"].map((t=>[t,ri.RAR])),...["stp"].map((t=>[t,ri.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ri.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,ri.VIDEO])),...["wav"].map((t=>[t,ri.WAV])),...["wma"].map((t=>[t,ri.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ri.WORD])),...["xml","xsl","rdf"].map((t=>[t,ri.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ri.YAML])),...["zip"].map((t=>[t,ri.ZIP]))]);var li,ai=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(li||(li={}));const pi=pt.create("--ft-icon-font-size","SIZE","24px"),ci=pt.extend("--ft-icon-fluid-topics-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),hi=pt.extend("--ft-icon-file-format-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),fi=pt.extend("--ft-icon-material-font-family",pt.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class di extends ft{constructor(){super(...arguments),this.variant=li.fluid_topics}render(){return _`
439
+ class ni extends bt{constructor(t){if(super(t),this.it=W,t.type!==vt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===W||null==t)return this.ft=void 0,this.it=t;if(t===I)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ni.directiveName="unsafeHTML",ni.resultType=1;const ri=gt(ni);var li,ai;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(li||(li={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(ai||(ai={})),new Map([...["abw"].map((t=>[t,ai.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,ai.AUDIO])),...["avi"].map((t=>[t,ai.AVI])),...["chm","xhs"].map((t=>[t,ai.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,ai.CODE])),...["csv"].map((t=>[t,ai.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ai.DITA])),...["epub"].map((t=>[t,ai.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ai.EXCEL])),...["flac"].map((t=>[t,ai.FLAC])),...["gif"].map((t=>[t,ai.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ai.GZIP])),...["html","htm","xhtml"].map((t=>[t,ai.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,ai.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ai.JPEG])),...["json"].map((t=>[t,ai.JSON])),...["m4a","m4p"].map((t=>[t,ai.M4A])),...["mov","qt"].map((t=>[t,ai.MOV])),...["mp3"].map((t=>[t,ai.MP3])),...["mp4","m4v"].map((t=>[t,ai.MP4])),...["ogg","oga"].map((t=>[t,ai.OGG])),...["pdf","ps"].map((t=>[t,ai.PDF])),...["png"].map((t=>[t,ai.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ai.POWERPOINT])),...["rar"].map((t=>[t,ai.RAR])),...["stp"].map((t=>[t,ai.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ai.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,ai.VIDEO])),...["wav"].map((t=>[t,ai.WAV])),...["wma"].map((t=>[t,ai.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ai.WORD])),...["xml","xsl","rdf"].map((t=>[t,ai.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ai.YAML])),...["zip"].map((t=>[t,ai.ZIP]))]);var pi,ci=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(pi||(pi={}));const hi=pt.create("--ft-icon-font-size","SIZE","24px"),fi=pt.extend("--ft-icon-fluid-topics-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),di=pt.extend("--ft-icon-file-format-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),ui=pt.extend("--ft-icon-material-font-family",pt.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class yi extends ft{constructor(){super(...arguments),this.variant=pi.fluid_topics}render(){return _`
440
440
  <i class="ft-icon ${"ft-icon--"+this.variant}">
441
- ${si(this.getIcon())}
441
+ ${ri(this.getIcon())}
442
442
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
443
443
  </i>
444
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===li.file_format?null!==(t=ri[i.toUpperCase()])&&void 0!==t?t:i:this.variant===li.fluid_topics?null!==(e=ni[i.toUpperCase()])&&void 0!==e?e:i:W}}di.elementDefinitions={},di.styles=f`
444
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===pi.file_format?null!==(t=ai[i.toUpperCase()])&&void 0!==t?t:i:this.variant===pi.fluid_topics?null!==(e=li[i.toUpperCase()])&&void 0!==e?e:i:W}}yi.elementDefinitions={},yi.styles=f`
445
445
  :host, i.ft-icon {
446
446
  display: inline-block;
447
- width: ${pi};
448
- height: ${pi};
447
+ width: ${hi};
448
+ height: ${hi};
449
449
  text-align: center;
450
450
  }
451
451
 
452
452
  i.ft-icon {
453
- font-size: ${pi};
453
+ font-size: ${hi};
454
454
  line-height: 1;
455
455
  font-weight: normal;
456
456
  text-transform: none;
@@ -464,17 +464,17 @@ class oi extends bt{constructor(t){if(super(t),this.it=W,t.type!==vt)throw Error
464
464
  }
465
465
 
466
466
  .ft-icon--fluid-topics {
467
- font-family: ${ci}, ft-icons, fticons, sans-serif;
467
+ font-family: ${fi}, ft-icons, fticons, sans-serif;
468
468
  }
469
469
 
470
470
  .ft-icon--file-format {
471
- font-family: ${hi}, ft-mime, sans-serif;
471
+ font-family: ${di}, ft-mime, sans-serif;
472
472
  }
473
473
 
474
474
  .ft-icon--material {
475
- font-family: ${fi}, "Material Icons", sans-serif;
475
+ font-family: ${ui}, "Material Icons", sans-serif;
476
476
  }
477
- `,ai([i()],di.prototype,"variant",void 0),ai([s("slot")],di.prototype,"slottedContent",void 0),r("ft-icon")(di);var ui=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class yi extends ft{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return _``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}yi.elementDefinitions={},ui([i({type:String})],yi.prototype,"label",void 0),ui([i({type:Object,converter:t=>t})],yi.prototype,"value",void 0),ui([i({type:Boolean,reflect:!0})],yi.prototype,"selected",void 0);const xi={labelSize:pt.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:pt.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:pt.create("--ft-select-vertical-spacing","SIZE","4px"),selectedOptionColor:pt.extend("--ft-select-selected-option-color",ht.colorOnSurface),helperColor:pt.extend("--ft-select-helper-color",ht.colorOnSurfaceMedium),optionsColor:pt.extend("--ft-select-options-color",ht.colorOnSurface),optionsZIndex:pt.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:pt.external(ht.colorSurface,"Design system"),colorOnSurfaceDisabled:pt.external(ht.colorOnSurfaceDisabled,"Design system"),colorPrimary:pt.external(ht.colorPrimary,"Design system"),borderRadiusS:pt.external(ht.borderRadiusS,"Design system"),elevation02:pt.external(ht.elevation02,"Design system"),colorError:pt.external(ht.colorError,"Design system")};class vi extends ft{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,o,s;let n=this.hasOptionsMenuOpen,r=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,a={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":r,"ft-select--options-displayed":n,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return _`
477
+ `,ci([i()],yi.prototype,"variant",void 0),ci([s("slot")],yi.prototype,"slottedContent",void 0),r("ft-icon")(yi);var xi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class vi extends ft{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return _``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}vi.elementDefinitions={},xi([i({type:String})],vi.prototype,"label",void 0),xi([i({type:Object,converter:t=>t})],vi.prototype,"value",void 0),xi([i({type:Boolean,reflect:!0})],vi.prototype,"selected",void 0);const gi={labelSize:pt.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:pt.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:pt.create("--ft-select-vertical-spacing","SIZE","4px"),selectedOptionColor:pt.extend("--ft-select-selected-option-color",ht.colorOnSurface),helperColor:pt.extend("--ft-select-helper-color",ht.colorOnSurfaceMedium),optionsColor:pt.extend("--ft-select-options-color",ht.colorOnSurface),optionsZIndex:pt.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:pt.external(ht.colorSurface,"Design system"),colorOnSurfaceDisabled:pt.external(ht.colorOnSurfaceDisabled,"Design system"),colorPrimary:pt.external(ht.colorPrimary,"Design system"),borderRadiusS:pt.external(ht.borderRadiusS,"Design system"),elevation02:pt.external(ht.elevation02,"Design system"),colorError:pt.external(ht.colorError,"Design system")};class bi extends ft{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,o,s;let n=this.hasOptionsMenuOpen,r=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,a={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":r,"ft-select--options-displayed":n,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return _`
478
478
  <div class="${mt(a)}" part="container">
479
479
  <div class="ft-select--main-panel" part="main-panel">
480
480
  <ft-input-label text="${this.label}"
@@ -521,7 +521,7 @@ class oi extends bt{constructor(t){if(super(t),this.it=W,t.type!==vt)throw Error
521
521
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
522
522
  ${t.label}
523
523
  </div>
524
- `}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value}))),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,i;t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,s,n;let r;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=null!==(o=null===(i=this.focusedOption)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=null!==(n=null===(s=this.focusedOption)||void 0===s?void 0:s.nextElementSibling)&&void 0!==n?n:this.firstOption}null==r||r.focus()}onOptionKeyDown(t,e){var i;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(i=this.mainPanel)||void 0===i||i.focus())}selectOption(t){this.selectedOption=t;for(let e of this.options)e.selected=e===t}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}vi.elementDefinitions={"ft-input-label":Ze,"ft-typography":We,"ft-ripple":ii,"ft-icon":di},vi.styles=[Le,Te,f`
524
+ `}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value}))),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,i;t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,s,n;let r;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=null!==(o=null===(i=this.focusedOption)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=null!==(n=null===(s=this.focusedOption)||void 0===s?void 0:s.nextElementSibling)&&void 0!==n?n:this.firstOption}null==r||r.focus()}onOptionKeyDown(t,e){var i;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(i=this.mainPanel)||void 0===i||i.focus())}selectOption(t){this.selectedOption=t;for(let e of this.options)e.selected=e===t}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}bi.elementDefinitions={"ft-input-label":qe,"ft-typography":Ke,"ft-ripple":si,"ft-icon":yi},bi.styles=[Pe,_e,f`
525
525
  *:focus {
526
526
  outline: none;
527
527
  }
@@ -535,7 +535,7 @@ class oi extends bt{constructor(t){if(super(t),this.it=W,t.type!==vt)throw Error
535
535
  .ft-select--main-panel {
536
536
  position: relative;
537
537
  display: flex;
538
- height: calc(4 * ${xi.verticalSpacing} + ${xi.labelSize} + ${xi.selectedOptionSize});
538
+ height: calc(4 * ${gi.verticalSpacing} + ${gi.labelSize} + ${gi.selectedOptionSize});
539
539
  }
540
540
 
541
541
  .ft-select--input-panel {
@@ -547,14 +547,14 @@ class oi extends bt{constructor(t){if(super(t),this.it=W,t.type!==vt)throw Error
547
547
  padding-left: 16px;
548
548
  padding-right: 8px;
549
549
  gap: 8px;
550
- color: ${xi.selectedOptionColor};
551
- ${ct(Xe.color,xi.selectedOptionColor)};
550
+ color: ${gi.selectedOptionColor};
551
+ ${ct(Ye.color,gi.selectedOptionColor)};
552
552
  }
553
553
 
554
554
  .ft-select--input-panel,
555
555
  .ft-select--option {
556
- ${ct(Xe.opacityContentOnSurfaceHover,"0.08")};
557
- ${ct(Xe.opacityContentOnSurfacePressed,"0.04")};
556
+ ${ct(Ye.opacityContentOnSurfaceHover,"0.08")};
557
+ ${ct(Ye.opacityContentOnSurfacePressed,"0.04")};
558
558
  }
559
559
 
560
560
  .ft-select--input-panel > *:not(ft-ripple),
@@ -564,7 +564,7 @@ class oi extends bt{constructor(t){if(super(t),this.it=W,t.type!==vt)throw Error
564
564
 
565
565
  .ft-select--disabled .ft-select--input-panel,
566
566
  .ft-select--disabled .ft-select--option {
567
- color: ${xi.colorOnSurfaceDisabled};
567
+ color: ${gi.colorOnSurfaceDisabled};
568
568
  }
569
569
 
570
570
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -573,18 +573,18 @@ class oi extends bt{constructor(t){if(super(t),this.it=W,t.type!==vt)throw Error
573
573
  }
574
574
 
575
575
  ft-input-label {
576
- ${ct(Ke.fontSize,xi.selectedOptionSize)};
577
- ${ct(Ke.raisedFontSize,xi.labelSize)};
578
- ${ct(Ke.verticalSpacing,xi.verticalSpacing)};
576
+ ${ct(Ve.fontSize,gi.selectedOptionSize)};
577
+ ${ct(Ve.raisedFontSize,gi.labelSize)};
578
+ ${ct(Ve.verticalSpacing,gi.verticalSpacing)};
579
579
  }
580
580
 
581
581
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
582
- color: ${xi.colorPrimary};
582
+ color: ${gi.colorPrimary};
583
583
  }
584
584
 
585
585
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
586
- ${ct(Ke.borderColor,xi.colorPrimary)};
587
- ${ct(Ke.textColor,xi.colorPrimary)};
586
+ ${ct(Ve.borderColor,gi.colorPrimary)};
587
+ ${ct(Ve.textColor,gi.colorPrimary)};
588
588
  }
589
589
 
590
590
  .ft-select--selected-option {
@@ -594,12 +594,12 @@ class oi extends bt{constructor(t){if(super(t),this.it=W,t.type!==vt)throw Error
594
594
  overflow: hidden;
595
595
  white-space: nowrap;
596
596
  text-overflow: ellipsis;
597
- ${ct(le.fontSize,xi.selectedOptionSize)};
598
- ${ct(le.lineHeight,xi.selectedOptionSize)};
597
+ ${ct(pe.fontSize,gi.selectedOptionSize)};
598
+ ${ct(pe.lineHeight,gi.selectedOptionSize)};
599
599
  }
600
600
 
601
601
  .ft-select--in-error .ft-select--selected-option {
602
- color: ${xi.colorError};
602
+ color: ${gi.colorError};
603
603
  }
604
604
 
605
605
  ft-icon {
@@ -611,16 +611,16 @@ class oi extends bt{constructor(t){if(super(t),this.it=W,t.type!==vt)throw Error
611
611
  }
612
612
 
613
613
  .ft-select--filled .ft-select--input-panel {
614
- border-radius: ${xi.borderRadiusS} ${xi.borderRadiusS} 0 0;
614
+ border-radius: ${gi.borderRadiusS} ${gi.borderRadiusS} 0 0;
615
615
  }
616
616
 
617
617
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
618
618
  align-self: stretch;
619
- padding-top: calc(${xi.labelSize} + 2 * ${xi.verticalSpacing});
619
+ padding-top: calc(${gi.labelSize} + 2 * ${gi.verticalSpacing});
620
620
  }
621
621
 
622
622
  .ft-select--outlined .ft-select--input-panel {
623
- border-radius: ${xi.borderRadiusS};
623
+ border-radius: ${gi.borderRadiusS};
624
624
  }
625
625
 
626
626
  .ft-select--options {
@@ -629,10 +629,10 @@ class oi extends bt{constructor(t){if(super(t),this.it=W,t.type!==vt)throw Error
629
629
  top: 100%;
630
630
  left: 0;
631
631
  right: 0;
632
- color: ${xi.optionsColor};
633
- background: ${xi.colorSurface};
634
- z-index: ${xi.optionsZIndex};
635
- box-shadow: ${xi.elevation02};
632
+ color: ${gi.optionsColor};
633
+ background: ${gi.colorSurface};
634
+ z-index: ${gi.optionsZIndex};
635
+ box-shadow: ${gi.elevation02};
636
636
  }
637
637
 
638
638
  .ft-select--fixed .ft-select--options {
@@ -655,10 +655,10 @@ class oi extends bt{constructor(t){if(super(t),this.it=W,t.type!==vt)throw Error
655
655
 
656
656
  .ft-select--helper-text {
657
657
  padding: 0 12px 0 16px;
658
- color: ${xi.helperColor};
658
+ color: ${gi.helperColor};
659
659
  }
660
660
 
661
661
  .ft-select--in-error .ft-select--helper-text {
662
- color: ${xi.colorError};
662
+ color: ${gi.colorError};
663
663
  }
664
- `],ui([i({type:String})],vi.prototype,"label",void 0),ui([i({type:String})],vi.prototype,"helper",void 0),ui([i({type:Boolean})],vi.prototype,"outlined",void 0),ui([i({type:Boolean})],vi.prototype,"disabled",void 0),ui([i({type:Boolean})],vi.prototype,"error",void 0),ui([i({type:Boolean})],vi.prototype,"fixedMenuPosition",void 0),ui([i({type:Array})],vi.prototype,"options",void 0),ui([o()],vi.prototype,"selectedOption",void 0),ui([o()],vi.prototype,"optionsDisplayed",void 0),ui([o()],vi.prototype,"focusOptions",void 0),ui([s(".ft-select")],vi.prototype,"container",void 0),ui([s(".ft-select--options")],vi.prototype,"optionsMenu",void 0),ui([s(".ft-select--input-panel")],vi.prototype,"mainPanel",void 0),ui([s(".ft-select--option:first-child")],vi.prototype,"firstOption",void 0),ui([s(".ft-select--option:focus")],vi.prototype,"focusedOption",void 0),ui([s(".ft-select--option.ft-select--option-selected")],vi.prototype,"selectedOptionElement",void 0),ui([s(".ft-select--option:last-child")],vi.prototype,"lastOption",void 0),ui([s("slot")],vi.prototype,"optionsSlot",void 0),r("ft-select")(dt(vi)),r("ft-select-option")(dt(yi))}();
664
+ `],xi([i({type:String})],bi.prototype,"label",void 0),xi([i({type:String})],bi.prototype,"helper",void 0),xi([i({type:Boolean})],bi.prototype,"outlined",void 0),xi([i({type:Boolean})],bi.prototype,"disabled",void 0),xi([i({type:Boolean})],bi.prototype,"error",void 0),xi([i({type:Boolean})],bi.prototype,"fixedMenuPosition",void 0),xi([i({type:Array})],bi.prototype,"options",void 0),xi([o()],bi.prototype,"selectedOption",void 0),xi([o()],bi.prototype,"optionsDisplayed",void 0),xi([o()],bi.prototype,"focusOptions",void 0),xi([s(".ft-select")],bi.prototype,"container",void 0),xi([s(".ft-select--options")],bi.prototype,"optionsMenu",void 0),xi([s(".ft-select--input-panel")],bi.prototype,"mainPanel",void 0),xi([s(".ft-select--option:first-child")],bi.prototype,"firstOption",void 0),xi([s(".ft-select--option:focus")],bi.prototype,"focusedOption",void 0),xi([s(".ft-select--option.ft-select--option-selected")],bi.prototype,"selectedOptionElement",void 0),xi([s(".ft-select--option:last-child")],bi.prototype,"lastOption",void 0),xi([s("slot")],bi.prototype,"optionsSlot",void 0),r("ft-select")(dt(bi)),r("ft-select-option")(dt(vi))}();