@fluid-topics/ft-chip 0.3.53 → 0.3.55

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.
Files changed (2) hide show
  1. package/build/ft-chip.min.js +129 -118
  2. package/package.json +6 -6
@@ -14,12 +14,12 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,r=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(s.set(n,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),o.upgrade.apply(o,arguments),g.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):r.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,n),i.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},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),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const v=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const x=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){g.push(this),i.set.call(this,t),g.pop()}})};if(x(Element,"innerHTML"),x(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(si){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.customElements.define,e=window.customElements.get,o=window.customElements,n=new WeakMap,r=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=e.call(o,t);c||(c=p(t),i.call(o,t,c)),this===window.customElements&&(s.set(n,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),o.upgrade.apply(o,arguments),g.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const i=this._getDefinition(t);if(void 0!==i)return Promise.resolve(i.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,i,e){let o=this._awaitingUpgrade.get(i);o||this._awaitingUpgrade.set(i,o=new Set),e?o.add(t):o.delete(t)}},window.HTMLElement=function(){let i=l;if(i)return l=void 0,i;const e=s.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return i=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(i,this.constructor.prototype),n.set(i,e),i},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let i=t.getRootNode();if(!h(i)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;i=t.getRootNode(),h(i)||(i=a.get(i)?.getRootNode()||document)}return i.customElements},p=i=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const o=c(e)||window.customElements,n=o._getDefinition(i);return n?u(e,n):r.set(e,o),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,i,e)=>{if(0===i.size||void 0===e)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const r=t.toLowerCase();if(i.has(r)){const t=this.getAttribute(r);o.call(this,r,n),e.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(i.has(o)){const t=this.getAttribute(o);n.call(this,o),e.call(this,o,t,null)}else n.call(this,o)})},d=i=>{const e=Object.getPrototypeOf(i);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(i,window.HTMLElement):d(e)},u=(t,i,e=!1)=>{Object.setPrototypeOf(t,i.elementClass.prototype),n.set(t,i),l=t;try{new i.elementClass}catch(t){d(i.elementClass),new i.elementClass}i.observedAttributes.forEach((e=>{t.hasAttribute(e)&&i.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&i.connectedCallback&&t.isConnected&&i.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const i=y.apply(this,arguments);return t.customElements&&(i.customElements=t.customElements),i};let g=[document];const v=(t,i,e)=>{const o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){g.push(this);const t=o.apply(e||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const x=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(x(Element,"innerHTML"),x(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,i=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const o=i.call(this,...e);return t.set(o,this),o},e.forEach((i=>{const e=window.ElementInternals.prototype,o=e[i];e[i]=function(...i){const e=t.get(this);if(!0!==n.get(e).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...i)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const i=new Map;t.forEach(((t,e)=>{const o=t.getAttribute("name"),n=i.get(o)||[];this[+e]=t,n.push(t),i.set(o,n)})),this.length=t.length,i.forEach(((t,i)=>{t&&(1===t.length?this[i]=t[0]:this[i]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),i=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||i.push(e)}return new r(i)}})}}try{window.customElements.define("custom-element",null)}catch(se){const t=window.customElements.define;window.customElements.define=(i,e,o)=>{try{t.bind(window.customElements)(i,e,o)}catch(t){console.info(i,e,o,t)}}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,i){return this.callbacks=[t],this.debounce(i)}queue(t,i){return this.callbacks.push(t),this.debounce(i)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,i)=>{this.resolvePromise=t,this.rejectPromise=i}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,i;const e=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(i=this.resolvePromise)&&void 0!==i?i:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */const i=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function o(t){return(e,o)=>void 0!==o?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,o):i(t,e)
22
+ */const e=(t,i)=>"method"===i.kind&&i.descriptor&&!("value"in i.descriptor)?{...i,finisher(e){e.createProperty(i.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:i.key,initializer(){"function"==typeof i.initializer&&(this[i.key]=i.initializer.call(this))},finisher(e){e.createProperty(i.key,t)}};function o(t){return(i,o)=>void 0!==o?((t,i,e)=>{i.constructor.createProperty(e,t)})(t,i,o):e(t,i)
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
@@ -35,45 +35,45 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
37
  */
38
- function r(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,r=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(r.finisher=function(e){t(e,o)}),r}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}})({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
38
+ function r(t,i){return(({finisher:t,descriptor:i})=>(e,o)=>{var n;if(void 0===o){const o=null!==(n=e.originalKey)&&void 0!==n?n:e.key,r=null!=i?{kind:"method",placement:"prototype",key:o,descriptor:i(e.key)}:{...e,key:o};return null!=t&&(r.finisher=function(i){t(i,o)}),r}{const n=e.constructor;void 0!==i&&Object.defineProperty(e,o,i(o)),null==t||t(n,o)}})({descriptor:e=>{const o={get(){var i,e;return null!==(e=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(i){const i="symbol"==typeof e?Symbol():"__"+e;o.get=function(){var e,o;return void 0===this[i]&&(this[i]=null!==(o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==o?o:null),this[i]}}return o}})}
39
39
  /**
40
40
  * @license
41
41
  * Copyright 2021 Google LLC
42
42
  * SPDX-License-Identifier: BSD-3-Clause
43
- */var s;null===(s=window.HTMLSlotElement)||void 0===s||s.prototype.assignedElements;const a=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
43
+ */var s;null===(s=window.HTMLSlotElement)||void 0===s||s.prototype.assignedElements;const a=t=>i=>{window.customElements.get(t)||window.customElements.define(t,i)};
44
44
  /**
45
45
  * @license
46
46
  * Copyright 2019 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
48
  */
49
- const l=window,h=l.ShadowRoot&&(void 0===l.ShadyCSS||l.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),p=new WeakMap;class f{constructor(t,e,i){if(this._$cssResult$=!0,i!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(h&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=p.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&p.set(e,t))}return t}toString(){return this.cssText}}const d=t=>new f("string"==typeof t?t:t+"",void 0,c),u=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new f(i,t,c)},y=(t,e)=>{h?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=l.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},g=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return d(e)})(t):t
49
+ const l=window,h=l.ShadowRoot&&(void 0===l.ShadyCSS||l.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),p=new WeakMap;class f{constructor(t,i,e){if(this._$cssResult$=!0,e!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=i}get styleSheet(){let t=this.o;const i=this.t;if(h&&void 0===t){const e=void 0!==i&&1===i.length;e&&(t=p.get(i)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&p.set(i,t))}return t}toString(){return this.cssText}}const d=t=>new f("string"==typeof t?t:t+"",void 0,c),u=(t,...i)=>{const e=1===t.length?t[0]:i.reduce(((i,e,o)=>i+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[o+1]),t[0]);return new f(e,t,c)},y=(t,i)=>{h?t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):i.forEach((i=>{const e=document.createElement("style"),o=l.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}))},g=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let i="";for(const e of t.cssRules)i+=e.cssText;return d(i)})(t):t
50
50
  /**
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
- */;var v;const x=window,m=x.trustedTypes,b=m?m.emptyScript:"",w=x.reactiveElementPolyfillSupport,$={toAttribute(t,e){switch(e){case Boolean:t=t?b:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},O=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:O};class k extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=S){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(g(t))}else void 0!==t&&e.push(g(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return y(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=S){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const r=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:$).toAttribute(e,i.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:$;this._$El=n,this[n]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||O)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
54
+ */;var v;const x=window,m=x.trustedTypes,b=m?m.emptyScript:"",w=x.reactiveElementPolyfillSupport,$={toAttribute(t,i){switch(i){case Boolean:t=t?b:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let e=t;switch(i){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},O=(t,i)=>i!==t&&(i==i||t==t),S={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:O};class k extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var i;null!==(i=this.h)&&void 0!==i||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,e)=>{const o=this._$Ep(e,i);void 0!==o&&(this._$Ev.set(o,e),t.push(o))})),t}static createProperty(t,i=S){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,e,i);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,i,e){return{get(){return this[i]},set(o){const n=this[t];this[i]=o,this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of i)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const i=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)i.unshift(g(t))}else void 0!==t&&i.push(g(t));return i}static _$Ep(t,i){const e=i.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var i,e;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i])}))}createRenderRoot(){var t;const i=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return y(i,this.constructor.elementStyles),i}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}))}attributeChangedCallback(t,i,e){this._$AK(t,e)}_$EO(t,i,e=S){var o;const n=this.constructor._$Ep(t,e);if(void 0!==n&&!0===e.reflect){const r=(void 0!==(null===(o=e.converter)||void 0===o?void 0:o.toAttribute)?e.converter:$).toAttribute(i,e.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,i){var e;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:$;this._$El=n,this[n]=r.fromAttribute(i,t.type),this._$El=null}}requestUpdate(t,i,e){let o=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||O)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const e=this._$AL;try{i=this.shouldUpdate(e),i?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(e)):this._$Ek()}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(e)}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
55
55
  /**
56
56
  * @license
57
57
  * Copyright 2017 Google LLC
58
58
  * SPDX-License-Identifier: BSD-3-Clause
59
59
  */
60
- var N;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:k}),(null!==(v=x.reactiveElementVersions)&&void 0!==v?v:x.reactiveElementVersions=[]).push("1.4.1");const C=window,E=C.trustedTypes,R=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,M=`lit$${(Math.random()+"").slice(9)}$`,z="?"+M,U=`<${z}>`,F=document,j=(t="")=>F.createComment(t),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,_=/>/g,T=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),D=/'/g,I=/"/g,W=/^(?:script|style|textarea|title)$/i,K=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),H=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),V=new WeakMap,J=F.createTreeWalker(F,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=L;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(s.lastIndex=c,l=s.exec(i),null!==l);)c=s.lastIndex,s===L?"!--"===l[1]?s=P:void 0!==l[1]?s=_:void 0!==l[2]?(W.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=T):void 0!==l[3]&&(s=T):s===T?">"===l[0]?(s=null!=n?n:L,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?T:'"'===l[3]?I:D):s===I||s===D?s=T:s===P||s===_?s=L:(s=T,n=void 0);const p=s===T&&t[e+1].startsWith("/>")?" ":"";r+=s===L?i+U:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+M+p):i+M+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==R?R.createHTML(a):a,o]};class X{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=q(t,e);if(this.el=X.createElement(l,i),J.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=J.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(M)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(M),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?ot:"@"===e[1]?nt:tt})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(W.test(o.tagName)){const t=o.textContent.split(M),e=t.length-1;if(e>0){o.textContent=E?E.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],j()),J.nextNode(),a.push({type:2,index:++n});o.append(t[e],j())}}}else if(8===o.nodeType)if(o.data===z)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(M,t+1));)a.push({type:7,index:n}),t+=M.length-1}n++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function Y(t,e,i=t,o){var n,r,s,a;if(e===H)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=A(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=Y(t,l._$AS(t,e.values),l,o)),e}class G{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);J.currentNode=n;let r=J.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new Q(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new rt(r,this,t)),this.u.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=J.nextNode(),s++)}return n}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Q{constructor(t,e,i,o){var n;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),A(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==H&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>B(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==Z&&A(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.p(i);else{const t=new G(n,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=V.get(t.strings);return void 0===e&&V.set(t.strings,e=new X(t)),e}k(t){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new Q(this.O(j()),this.O(j()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class tt{constructor(t,e,i,o,n){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=Y(this,t,e,0),r=!A(t)||t!==this._$AH&&t!==H,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=Y(this,o[i+s],e,s),a===H&&(a=this._$AH[s]),r||(r=!A(a)||a!==this._$AH[s]),a===Z?t=Z:t!==Z&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Z?void 0:t}}const it=E?E.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Z?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class nt extends tt{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Y(this,t,e,0))&&void 0!==i?i:Z)===H)return;const o=this._$AH,n=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==Z&&(o===Z||n);n&&this.element.removeEventListener(this.name,this,o),r&&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 rt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}}const st=C.litHtmlPolyfillSupport;null==st||st(X,Q),(null!==(N=C.litHtmlVersions)&&void 0!==N?N:C.litHtmlVersions=[]).push("2.4.0");
60
+ var N;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:k}),(null!==(v=x.reactiveElementVersions)&&void 0!==v?v:x.reactiveElementVersions=[]).push("1.4.1");const C=window,E=C.trustedTypes,R=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,M=`lit$${(Math.random()+"").slice(9)}$`,z="?"+M,U=`<${z}>`,F=document,j=(t="")=>F.createComment(t),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,_=/>/g,T=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),D=/'/g,I=/"/g,W=/^(?:script|style|textarea|title)$/i,K=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),H=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),V=new WeakMap,J=F.createTreeWalker(F,129,null,!1),q=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=L;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,c=0;for(;c<e.length&&(s.lastIndex=c,l=s.exec(e),null!==l);)c=s.lastIndex,s===L?"!--"===l[1]?s=P:void 0!==l[1]?s=_:void 0!==l[2]?(W.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=T):void 0!==l[3]&&(s=T):s===T?">"===l[0]?(s=null!=n?n:L,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?T:'"'===l[3]?I:D):s===I||s===D?s=T:s===P||s===_?s=L:(s=T,n=void 0);const p=s===T&&t[i+1].startsWith("/>")?" ":"";r+=s===L?e+U:h>=0?(o.push(a),e.slice(0,h)+"$lit$"+e.slice(h)+M+p):e+M+(-2===h?(o.push(void 0),i):p)}const a=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==R?R.createHTML(a):a,o]};class X{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=q(t,i);if(this.el=X.createElement(l,e),J.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=J.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(M)){const e=h[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(M),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?it:"?"===i[1]?ot:"@"===i[1]?nt:tt})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(W.test(o.tagName)){const t=o.textContent.split(M),i=t.length-1;if(i>0){o.textContent=E?E.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],j()),J.nextNode(),a.push({type:2,index:++n});o.append(t[i],j())}}}else if(8===o.nodeType)if(o.data===z)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(M,t+1));)a.push({type:7,index:n}),t+=M.length-1}n++}}static createElement(t,i){const e=F.createElement("template");return e.innerHTML=t,e}}function Y(t,i,e=t,o){var n,r,s,a;if(i===H)return i;let l=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const h=A(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(a=e)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=Y(t,l._$AS(t,i.values),l,o)),i}class G{constructor(t,i){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:F).importNode(e,!0);J.currentNode=n;let r=J.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new Q(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new rt(r,this,t)),this.u.push(i),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=J.nextNode(),s++)}return n}p(t){let i=0;for(const e of this.u)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class Q{constructor(t,i,e,o){var n;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=Y(this,t,i),A(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==H&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>B(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==Z&&A(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.p(e);else{const t=new G(n,this),i=t.v(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let i=V.get(t.strings);return void 0===i&&V.set(t.strings,i=new X(t)),i}k(t){B(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new Q(this.O(j()),this.O(j()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cm=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class tt{constructor(t,i,e,o,n){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=Y(this,t,i,0),r=!A(t)||t!==this._$AH&&t!==H,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=Y(this,o[e+s],i,s),a===H&&(a=this._$AH[s]),r||(r=!A(a)||a!==this._$AH[s]),a===Z?t=Z:t!==Z&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class it extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Z?void 0:t}}const et=E?E.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Z?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class nt extends tt{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=Y(this,t,i,0))&&void 0!==e?e:Z)===H)return;const o=this._$AH,n=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==Z&&(o===Z||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class rt{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}}const st=C.litHtmlPolyfillSupport;null==st||st(X,Q),(null!==(N=C.litHtmlVersions)&&void 0!==N?N:C.litHtmlVersions=[]).push("2.4.0");
61
61
  /**
62
62
  * @license
63
63
  * Copyright 2017 Google LLC
64
64
  * SPDX-License-Identifier: BSD-3-Clause
65
65
  */
66
- var at,lt;class ht extends k{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new Q(e.insertBefore(j(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return H}}ht.finalized=!0,ht._$litElement$=!0,null===(at=globalThis.litElementHydrateSupport)||void 0===at||at.call(globalThis,{LitElement:ht});const ct=globalThis.litElementPolyfillSupport;null==ct||ct({LitElement:ht}),(null!==(lt=globalThis.litElementVersions)&&void 0!==lt?lt:globalThis.litElementVersions=[]).push("3.2.2");class pt{static create(t,e,i){let o=t=>d(null!=t?t:i),n=u`var(${d(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>u`var(${d(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=u`var(${d(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>u`var(${d(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):d(null!=e?e:t.defaultValue),o=u`var(${d(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>u`var(${d(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function ft(t,e){return d(`${t.name}: ${e}`)}const dt={colorPrimary: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
+ var at,lt;class ht extends k{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,i;const e=super.createRenderRoot();return null!==(t=(i=this.renderOptions).renderBefore)&&void 0!==t||(i.renderBefore=e.firstChild),e}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,i,e)=>{var o,n;const r=null!==(o=null==e?void 0:e.renderBefore)&&void 0!==o?o:i;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==e?void 0:e.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new Q(i.insertBefore(j(),t),t,void 0,null!=e?e:{})}return s._$AI(t),s})(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return H}}ht.finalized=!0,ht._$litElement$=!0,null===(at=globalThis.litElementHydrateSupport)||void 0===at||at.call(globalThis,{LitElement:ht});const ct=globalThis.litElementPolyfillSupport;null==ct||ct({LitElement:ht}),(null!==(lt=globalThis.litElementVersions)&&void 0!==lt?lt:globalThis.litElementVersions=[]).push("3.2.2");class pt{static create(t,i,e){let o=t=>d(null!=t?t:e),n=u`var(${d(t)}, ${o(e)})`;return n.name=t,n.category=i,n.defaultValue=e,n.defaultCssValue=o,n.get=i=>u`var(${d(t)}, ${o(i)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>e,n}static extend(t,i,e){let o=t=>i.get(null!=t?t:e),n=u`var(${d(t)}, ${o(e)})`;return n.name=t,n.category=i.category,n.fallbackVariable=i,n.defaultValue=e,n.defaultCssValue=o,n.get=i=>u`var(${d(t)}, ${o(i)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>e,n}static external(t,i){let e=i=>t.fallbackVariable?t.fallbackVariable.get(null!=i?i:t.defaultValue):d(null!=i?i:t.defaultValue),o=u`var(${d(t.name)}, ${e(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=i,o.defaultCssValue=e,o.get=i=>u`var(${d(t.name)}, ${e(i)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var i,e;return null!==(i=t.defaultValue)&&void 0!==i?i:null===(e=t.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()},o}}function ft(t,i){return d(`${t.name}: ${i}`)}const dt={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")};
67
67
  /**
68
68
  * @license
69
69
  * Copyright 2021 Google LLC
70
70
  * SPDX-License-Identifier: BSD-3-Clause
71
- */var ut=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class yt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return y(n,this.constructor.elementStyles),n}}}(ht)){constructor(){super(),this.exportpartsDebouncer=new e(5),this.constructorName=this.constructor.name,this.constructorPrototype=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this.constructorName&&Object.setPrototypeOf(this,this.constructorPrototype)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),K`
71
+ */var ut=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class yt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:i,elementDefinitions:e,shadowRootOptions:o}=t;e&&!i&&(t.registry=new CustomElementRegistry,Object.entries(e).forEach((([i,e])=>t.registry.define(i,e))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return y(n,this.constructor.elementStyles),n}}}(ht)){constructor(){super(),this.exportpartsDebouncer=new i(5),this.constructorName=this.constructor.name,this.constructorPrototype=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this.constructorName&&Object.setPrototypeOf(this,this.constructorPrototype)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),K`
72
72
  ${t.map((t=>K`
73
73
  <style>${t}</style>
74
74
  `))}
75
75
  ${this.getTemplate()}
76
- `}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this.exportpartsDebouncer.run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,n,r,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(s=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}ut([o()],yt.prototype,"exportpartsPrefix",void 0),ut([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],yt.prototype,"exportpartsPrefixes",void 0),ut([o()],yt.prototype,"customStylesheet",void 0);const gt=u`
76
+ `}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var i,e;if((null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this.exportpartsDebouncer.run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var i,e,o,n,r,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const i=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],e=null!==(s=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...i,...e).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((i=>`${t}:${i}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}ut([o()],yt.prototype,"exportpartsPrefix",void 0),ut([function(t,i){const e=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},...null!=i?i:{}})}([])],yt.prototype,"exportpartsPrefixes",void 0),ut([o()],yt.prototype,"customStylesheet",void 0);const gt=u`
77
77
  .ft-no-text-select {
78
78
  -webkit-touch-callout: none;
79
79
  -webkit-user-select: none;
@@ -94,17 +94,28 @@ var at,lt;class ht extends k{constructor(){super(...arguments),this.renderOption
94
94
  -webkit-hyphens: auto;
95
95
  hyphens: auto
96
96
  }
97
- `;const bt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(mt=null===(xt=null===(vt=window.safari)||void 0===vt?void 0:vt.pushNotification)||void 0===xt?void 0:xt.toString())&&void 0!==mt?mt:""),wt=1,$t=2,Ot=t=>(...e)=>({_$litDirective$:t,values:e});
97
+ `,u`
98
+ .ft-safari-ellipsis-fix {
99
+ margin-right: 0;
100
+
101
+ }
102
+
103
+ .ft-safari-ellipsis-fix:after {
104
+ content: "\\0000a0";
105
+ display: inline-block;
106
+ width: 0;
107
+ }
108
+ `;const bt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(mt=null===(xt=null===(vt=window.safari)||void 0===vt?void 0:vt.pushNotification)||void 0===xt?void 0:xt.toString())&&void 0!==mt?mt:""),wt=1,$t=2,Ot=t=>(...i)=>({_$litDirective$:t,values:i});
98
109
  /**
99
110
  * @license
100
111
  * Copyright 2017 Google LLC
101
112
  * SPDX-License-Identifier: BSD-3-Clause
102
- */class St{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
113
+ */class St{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,e){this._$Ct=t,this._$AM=i,this._$Ci=e}_$AS(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}}
103
114
  /**
104
115
  * @license
105
116
  * Copyright 2018 Google LLC
106
117
  * SPDX-License-Identifier: BSD-3-Clause
107
- */const kt=Ot(class extends St{constructor(t){var e;if(super(t),t.type!==wt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return H}}),Nt=pt.extend("--ft-ripple-color",dt.colorContent),Ct={color:Nt,backgroundColor:pt.extend("--ft-ripple-background-color",Nt),opacityContentOnSurfacePressed:pt.external(dt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:pt.external(dt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:pt.external(dt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:pt.external(dt.opacityContentOnSurfaceSelected,"Design system")},Et=pt.extend("--ft-ripple-color",dt.colorPrimary),Rt=Et,Mt=pt.extend("--ft-ripple-background-color",Et),zt=pt.extend("--ft-ripple-color",dt.colorSecondary),Ut=zt,Ft=pt.extend("--ft-ripple-background-color",zt),jt=u`
118
+ */const kt=Ot(class extends St{constructor(t){var i;if(super(t),t.type!==wt||"class"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.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((i=>t[i])).join(" ")+" "}update(t,[i]){var e,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!(null===(e=this.st)||void 0===e?void 0:e.has(t))&&this.nt.add(t);return this.render(i)}const n=t.element.classList;this.nt.forEach((t=>{t in i||(n.remove(t),this.nt.delete(t))}));for(const t in i){const e=!!i[t];e===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(e?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return H}}),Nt=pt.extend("--ft-ripple-color",dt.colorContent),Ct={color:Nt,backgroundColor:pt.extend("--ft-ripple-background-color",Nt),opacityContentOnSurfacePressed:pt.external(dt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:pt.external(dt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:pt.external(dt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:pt.external(dt.opacityContentOnSurfaceSelected,"Design system")},Et=pt.extend("--ft-ripple-color",dt.colorPrimary),Rt=Et,Mt=pt.extend("--ft-ripple-background-color",Et),zt=pt.extend("--ft-ripple-color",dt.colorSecondary),Ut=zt,Ft=pt.extend("--ft-ripple-background-color",zt),jt=u`
108
119
  :host {
109
120
  display: contents;
110
121
  }
@@ -193,7 +204,7 @@ var at,lt;class ht extends k{constructor(){super(...arguments),this.renderOption
193
204
  opacity: ${Ct.opacityContentOnSurfacePressed};
194
205
  transform: translate(-50%, -50%) scale(1);
195
206
  }
196
- `;var At=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Bt extends yt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),r=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-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.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 K`
207
+ `;var At=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Bt extends yt{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 i(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 i,e;let{x:o,y:n}=this.getCoordinates(t),r=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.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 K`
197
208
  <style>
198
209
  .ft-ripple .ft-ripple--effect,
199
210
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -210,13 +221,13 @@ var at,lt;class ht extends k{constructor(){super(...arguments),this.renderOption
210
221
  <div class="ft-ripple--background"></div>
211
222
  <div class="ft-ripple--effect"></div>
212
223
  </div>
213
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Bt.elementDefinitions={},Bt.styles=jt,At([o({type:Boolean})],Bt.prototype,"primary",void 0),At([o({type:Boolean})],Bt.prototype,"secondary",void 0),At([o({type:Boolean})],Bt.prototype,"unbounded",void 0),At([o({type:Boolean})],Bt.prototype,"activated",void 0),At([o({type:Boolean})],Bt.prototype,"selected",void 0),At([o({type:Boolean})],Bt.prototype,"disabled",void 0),At([n()],Bt.prototype,"hovered",void 0),At([n()],Bt.prototype,"focused",void 0),At([n()],Bt.prototype,"pressed",void 0),At([n()],Bt.prototype,"rippling",void 0),At([n()],Bt.prototype,"rippleSize",void 0),At([n()],Bt.prototype,"originX",void 0),At([n()],Bt.prototype,"originY",void 0),At([r(".ft-ripple")],Bt.prototype,"ripple",void 0),At([r(".ft-ripple--effect")],Bt.prototype,"rippleEffect",void 0),a("ft-ripple")(Bt);
224
+ `}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 i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.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 i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),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 i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Bt.elementDefinitions={},Bt.styles=jt,At([o({type:Boolean})],Bt.prototype,"primary",void 0),At([o({type:Boolean})],Bt.prototype,"secondary",void 0),At([o({type:Boolean})],Bt.prototype,"unbounded",void 0),At([o({type:Boolean})],Bt.prototype,"activated",void 0),At([o({type:Boolean})],Bt.prototype,"selected",void 0),At([o({type:Boolean})],Bt.prototype,"disabled",void 0),At([n()],Bt.prototype,"hovered",void 0),At([n()],Bt.prototype,"focused",void 0),At([n()],Bt.prototype,"pressed",void 0),At([n()],Bt.prototype,"rippling",void 0),At([n()],Bt.prototype,"rippleSize",void 0),At([n()],Bt.prototype,"originX",void 0),At([n()],Bt.prototype,"originY",void 0),At([r(".ft-ripple")],Bt.prototype,"ripple",void 0),At([r(".ft-ripple--effect")],Bt.prototype,"rippleEffect",void 0),a("ft-ripple")(Bt);
214
225
  /**
215
226
  * @license
216
227
  * Copyright 2020 Google LLC
217
228
  * SPDX-License-Identifier: BSD-3-Clause
218
229
  */
219
- const Lt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void 0:t._$litStatic$},_t=t=>({_$litStatic$:t,r:Lt}),Tt=new Map,Dt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=Pt(r));)l+=n+e[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=Tt.get(t))&&(s.raw=s,Tt.set(t,e=s)),i=a}return t(e,...i)})(K);var It;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(It||(It={}));const Wt=pt.extend("--ft-typography-font-family",dt.titleFont),Kt=pt.extend("--ft-typography-font-family",dt.contentFont),Ht={fontFamily:Kt,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","NUMBER","1.5"),textTransform:pt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Zt=pt.extend("--ft-typography-title-font-family",Wt),Vt=pt.extend("--ft-typography-title-font-size",Ht.fontSize,"20px"),Jt=pt.extend("--ft-typography-title-font-weight",Ht.fontWeight,"normal"),qt=pt.extend("--ft-typography-title-letter-spacing",Ht.letterSpacing,"0.15px"),Xt=pt.extend("--ft-typography-title-line-height",Ht.lineHeight,"1.2"),Yt=pt.extend("--ft-typography-title-text-transform",Ht.textTransform,"inherit"),Gt=pt.extend("--ft-typography-title-dense-font-family",Wt),Qt=pt.extend("--ft-typography-title-dense-font-size",Ht.fontSize,"14px"),te=pt.extend("--ft-typography-title-dense-font-weight",Ht.fontWeight,"normal"),ee=pt.extend("--ft-typography-title-dense-letter-spacing",Ht.letterSpacing,"0.105px"),ie=pt.extend("--ft-typography-title-dense-line-height",Ht.lineHeight,"1.7"),oe=pt.extend("--ft-typography-title-dense-text-transform",Ht.textTransform,"inherit"),ne=pt.extend("--ft-typography-subtitle1-font-family",Kt),re=pt.extend("--ft-typography-subtitle1-font-size",Ht.fontSize,"16px"),se=pt.extend("--ft-typography-subtitle1-font-weight",Ht.fontWeight,"600"),ae=pt.extend("--ft-typography-subtitle1-letter-spacing",Ht.letterSpacing,"0.144px"),le=pt.extend("--ft-typography-subtitle1-line-height",Ht.lineHeight,"1.5"),he=pt.extend("--ft-typography-subtitle1-text-transform",Ht.textTransform,"inherit"),ce=pt.extend("--ft-typography-subtitle2-font-family",Kt),pe=pt.extend("--ft-typography-subtitle2-font-size",Ht.fontSize,"14px"),fe=pt.extend("--ft-typography-subtitle2-font-weight",Ht.fontWeight,"normal"),de=pt.extend("--ft-typography-subtitle2-letter-spacing",Ht.letterSpacing,"0.098px"),ue=pt.extend("--ft-typography-subtitle2-line-height",Ht.lineHeight,"1.7"),ye=pt.extend("--ft-typography-subtitle2-text-transform",Ht.textTransform,"inherit"),ge=pt.extend("--ft-typography-body1-font-family",Kt),ve=pt.extend("--ft-typography-body1-font-size",Ht.fontSize,"16px"),xe=pt.extend("--ft-typography-body1-font-weight",Ht.fontWeight,"normal"),me=pt.extend("--ft-typography-body1-letter-spacing",Ht.letterSpacing,"0.496px"),be=pt.extend("--ft-typography-body1-line-height",Ht.lineHeight,"1.5"),we=pt.extend("--ft-typography-body1-text-transform",Ht.textTransform,"inherit"),$e={fontFamily:pt.extend("--ft-typography-body2-font-family",Kt),fontSize:pt.extend("--ft-typography-body2-font-size",Ht.fontSize,"14px"),fontWeight:pt.extend("--ft-typography-body2-font-weight",Ht.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-body2-letter-spacing",Ht.letterSpacing,"0.252px"),lineHeight:pt.extend("--ft-typography-body2-line-height",Ht.lineHeight,"1.4"),textTransform:pt.extend("--ft-typography-body2-text-transform",Ht.textTransform,"inherit")},Oe=pt.extend("--ft-typography-caption-font-family",Kt),Se=pt.extend("--ft-typography-caption-font-size",Ht.fontSize,"12px"),ke=pt.extend("--ft-typography-caption-font-weight",Ht.fontWeight,"normal"),Ne=pt.extend("--ft-typography-caption-letter-spacing",Ht.letterSpacing,"0.396px"),Ce=pt.extend("--ft-typography-caption-line-height",Ht.lineHeight,"1.33"),Ee=pt.extend("--ft-typography-caption-text-transform",Ht.textTransform,"inherit"),Re=pt.extend("--ft-typography-breadcrumb-font-family",Kt),Me=pt.extend("--ft-typography-breadcrumb-font-size",Ht.fontSize,"10px"),ze=pt.extend("--ft-typography-breadcrumb-font-weight",Ht.fontWeight,"normal"),Ue=pt.extend("--ft-typography-breadcrumb-letter-spacing",Ht.letterSpacing,"0.33px"),Fe=pt.extend("--ft-typography-breadcrumb-line-height",Ht.lineHeight,"1.6"),je=pt.extend("--ft-typography-breadcrumb-text-transform",Ht.textTransform,"inherit"),Ae=pt.extend("--ft-typography-overline-font-family",Kt),Be=pt.extend("--ft-typography-overline-font-size",Ht.fontSize,"10px"),Le=pt.extend("--ft-typography-overline-font-weight",Ht.fontWeight,"normal"),Pe=pt.extend("--ft-typography-overline-letter-spacing",Ht.letterSpacing,"1.5px"),_e=pt.extend("--ft-typography-overline-line-height",Ht.lineHeight,"1.6"),Te=pt.extend("--ft-typography-overline-text-transform",Ht.textTransform,"uppercase"),De=pt.extend("--ft-typography-button-font-family",Kt),Ie=pt.extend("--ft-typography-button-font-size",Ht.fontSize,"14px"),We=pt.extend("--ft-typography-button-font-weight",Ht.fontWeight,"600"),Ke=pt.extend("--ft-typography-button-letter-spacing",Ht.letterSpacing,"1.246px"),He=pt.extend("--ft-typography-button-line-height",Ht.lineHeight,"1.15"),Ze=pt.extend("--ft-typography-button-text-transform",Ht.textTransform,"uppercase"),Ve=u`
230
+ const Lt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void 0:t._$litStatic$},_t=t=>({_$litStatic$:t,r:Lt}),Tt=new Map,Dt=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(r=e[h],n=Pt(r));)l+=n+i[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(i[o]),c){const t=s.join("$$lit$$");void 0===(i=Tt.get(t))&&(s.raw=s,Tt.set(t,i=s)),e=a}return t(i,...e)})(K);var It;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(It||(It={}));const Wt=pt.extend("--ft-typography-font-family",dt.titleFont),Kt=pt.extend("--ft-typography-font-family",dt.contentFont),Ht={fontFamily:Kt,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","NUMBER","1.5"),textTransform:pt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Zt=pt.extend("--ft-typography-title-font-family",Wt),Vt=pt.extend("--ft-typography-title-font-size",Ht.fontSize,"20px"),Jt=pt.extend("--ft-typography-title-font-weight",Ht.fontWeight,"normal"),qt=pt.extend("--ft-typography-title-letter-spacing",Ht.letterSpacing,"0.15px"),Xt=pt.extend("--ft-typography-title-line-height",Ht.lineHeight,"1.2"),Yt=pt.extend("--ft-typography-title-text-transform",Ht.textTransform,"inherit"),Gt=pt.extend("--ft-typography-title-dense-font-family",Wt),Qt=pt.extend("--ft-typography-title-dense-font-size",Ht.fontSize,"14px"),ti=pt.extend("--ft-typography-title-dense-font-weight",Ht.fontWeight,"normal"),ii=pt.extend("--ft-typography-title-dense-letter-spacing",Ht.letterSpacing,"0.105px"),ei=pt.extend("--ft-typography-title-dense-line-height",Ht.lineHeight,"1.7"),oi=pt.extend("--ft-typography-title-dense-text-transform",Ht.textTransform,"inherit"),ni=pt.extend("--ft-typography-subtitle1-font-family",Kt),ri=pt.extend("--ft-typography-subtitle1-font-size",Ht.fontSize,"16px"),si=pt.extend("--ft-typography-subtitle1-font-weight",Ht.fontWeight,"600"),ai=pt.extend("--ft-typography-subtitle1-letter-spacing",Ht.letterSpacing,"0.144px"),li=pt.extend("--ft-typography-subtitle1-line-height",Ht.lineHeight,"1.5"),hi=pt.extend("--ft-typography-subtitle1-text-transform",Ht.textTransform,"inherit"),ci=pt.extend("--ft-typography-subtitle2-font-family",Kt),pi=pt.extend("--ft-typography-subtitle2-font-size",Ht.fontSize,"14px"),fi=pt.extend("--ft-typography-subtitle2-font-weight",Ht.fontWeight,"normal"),di=pt.extend("--ft-typography-subtitle2-letter-spacing",Ht.letterSpacing,"0.098px"),ui=pt.extend("--ft-typography-subtitle2-line-height",Ht.lineHeight,"1.7"),yi=pt.extend("--ft-typography-subtitle2-text-transform",Ht.textTransform,"inherit"),gi=pt.extend("--ft-typography-body1-font-family",Kt),vi=pt.extend("--ft-typography-body1-font-size",Ht.fontSize,"16px"),xi=pt.extend("--ft-typography-body1-font-weight",Ht.fontWeight,"normal"),mi=pt.extend("--ft-typography-body1-letter-spacing",Ht.letterSpacing,"0.496px"),bi=pt.extend("--ft-typography-body1-line-height",Ht.lineHeight,"1.5"),wi=pt.extend("--ft-typography-body1-text-transform",Ht.textTransform,"inherit"),$i={fontFamily:pt.extend("--ft-typography-body2-font-family",Kt),fontSize:pt.extend("--ft-typography-body2-font-size",Ht.fontSize,"14px"),fontWeight:pt.extend("--ft-typography-body2-font-weight",Ht.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-body2-letter-spacing",Ht.letterSpacing,"0.252px"),lineHeight:pt.extend("--ft-typography-body2-line-height",Ht.lineHeight,"1.4"),textTransform:pt.extend("--ft-typography-body2-text-transform",Ht.textTransform,"inherit")},Oi=pt.extend("--ft-typography-caption-font-family",Kt),Si=pt.extend("--ft-typography-caption-font-size",Ht.fontSize,"12px"),ki=pt.extend("--ft-typography-caption-font-weight",Ht.fontWeight,"normal"),Ni=pt.extend("--ft-typography-caption-letter-spacing",Ht.letterSpacing,"0.396px"),Ci=pt.extend("--ft-typography-caption-line-height",Ht.lineHeight,"1.33"),Ei=pt.extend("--ft-typography-caption-text-transform",Ht.textTransform,"inherit"),Ri=pt.extend("--ft-typography-breadcrumb-font-family",Kt),Mi=pt.extend("--ft-typography-breadcrumb-font-size",Ht.fontSize,"10px"),zi=pt.extend("--ft-typography-breadcrumb-font-weight",Ht.fontWeight,"normal"),Ui=pt.extend("--ft-typography-breadcrumb-letter-spacing",Ht.letterSpacing,"0.33px"),Fi=pt.extend("--ft-typography-breadcrumb-line-height",Ht.lineHeight,"1.6"),ji=pt.extend("--ft-typography-breadcrumb-text-transform",Ht.textTransform,"inherit"),Ai=pt.extend("--ft-typography-overline-font-family",Kt),Bi=pt.extend("--ft-typography-overline-font-size",Ht.fontSize,"10px"),Li=pt.extend("--ft-typography-overline-font-weight",Ht.fontWeight,"normal"),Pi=pt.extend("--ft-typography-overline-letter-spacing",Ht.letterSpacing,"1.5px"),_i=pt.extend("--ft-typography-overline-line-height",Ht.lineHeight,"1.6"),Ti=pt.extend("--ft-typography-overline-text-transform",Ht.textTransform,"uppercase"),Di=pt.extend("--ft-typography-button-font-family",Kt),Ii=pt.extend("--ft-typography-button-font-size",Ht.fontSize,"14px"),Wi=pt.extend("--ft-typography-button-font-weight",Ht.fontWeight,"600"),Ki=pt.extend("--ft-typography-button-letter-spacing",Ht.letterSpacing,"1.246px"),Hi=pt.extend("--ft-typography-button-line-height",Ht.lineHeight,"1.15"),Zi=pt.extend("--ft-typography-button-text-transform",Ht.textTransform,"uppercase"),Vi=u`
220
231
  .ft-typography--title {
221
232
  font-family: ${Zt};
222
233
  font-size: ${Vt};
@@ -225,106 +236,106 @@ const Lt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void
225
236
  line-height: ${Xt};
226
237
  text-transform: ${Yt};
227
238
  }
228
- `,Je=u`
239
+ `,Ji=u`
229
240
  .ft-typography--title-dense {
230
241
  font-family: ${Gt};
231
242
  font-size: ${Qt};
232
- font-weight: ${te};
233
- letter-spacing: ${ee};
234
- line-height: ${ie};
235
- text-transform: ${oe};
243
+ font-weight: ${ti};
244
+ letter-spacing: ${ii};
245
+ line-height: ${ei};
246
+ text-transform: ${oi};
236
247
  }
237
- `,qe=u`
248
+ `,qi=u`
238
249
  .ft-typography--subtitle1 {
239
- font-family: ${ne};
240
- font-size: ${re};
241
- font-weight: ${se};
242
- letter-spacing: ${ae};
243
- line-height: ${le};
244
- text-transform: ${he};
245
- }
246
- `,Xe=u`
250
+ font-family: ${ni};
251
+ font-size: ${ri};
252
+ font-weight: ${si};
253
+ letter-spacing: ${ai};
254
+ line-height: ${li};
255
+ text-transform: ${hi};
256
+ }
257
+ `,Xi=u`
247
258
  .ft-typography--subtitle2 {
248
- font-family: ${ce};
249
- font-size: ${pe};
250
- font-weight: ${fe};
251
- letter-spacing: ${de};
252
- line-height: ${ue};
253
- text-transform: ${ye};
259
+ font-family: ${ci};
260
+ font-size: ${pi};
261
+ font-weight: ${fi};
262
+ letter-spacing: ${di};
263
+ line-height: ${ui};
264
+ text-transform: ${yi};
254
265
  }
255
266
 
256
- `,Ye=u`
267
+ `,Yi=u`
257
268
  .ft-typography--body1 {
258
- font-family: ${ge};
259
- font-size: ${ve};
260
- font-weight: ${xe};
261
- letter-spacing: ${me};
262
- line-height: ${be};
263
- text-transform: ${we};
264
- }
265
- `,Ge=u`
269
+ font-family: ${gi};
270
+ font-size: ${vi};
271
+ font-weight: ${xi};
272
+ letter-spacing: ${mi};
273
+ line-height: ${bi};
274
+ text-transform: ${wi};
275
+ }
276
+ `,Gi=u`
266
277
  .ft-typography--body2 {
267
- font-family: ${$e.fontFamily};
268
- font-size: ${$e.fontSize};
269
- font-weight: ${$e.fontWeight};
270
- letter-spacing: ${$e.letterSpacing};
271
- line-height: ${$e.lineHeight};
272
- text-transform: ${$e.textTransform};
273
- }
274
- `,Qe=u`
278
+ font-family: ${$i.fontFamily};
279
+ font-size: ${$i.fontSize};
280
+ font-weight: ${$i.fontWeight};
281
+ letter-spacing: ${$i.letterSpacing};
282
+ line-height: ${$i.lineHeight};
283
+ text-transform: ${$i.textTransform};
284
+ }
285
+ `,Qi=u`
275
286
  .ft-typography--caption {
276
- font-family: ${Oe};
277
- font-size: ${Se};
278
- font-weight: ${ke};
279
- letter-spacing: ${Ne};
280
- line-height: ${Ce};
281
- text-transform: ${Ee};
282
- }
283
- `,ti=u`
287
+ font-family: ${Oi};
288
+ font-size: ${Si};
289
+ font-weight: ${ki};
290
+ letter-spacing: ${Ni};
291
+ line-height: ${Ci};
292
+ text-transform: ${Ei};
293
+ }
294
+ `,te=u`
284
295
  .ft-typography--breadcrumb {
285
- font-family: ${Re};
286
- font-size: ${Me};
287
- font-weight: ${ze};
288
- letter-spacing: ${Ue};
289
- line-height: ${Fe};
290
- text-transform: ${je};
291
- }
292
- `,ei=u`
296
+ font-family: ${Ri};
297
+ font-size: ${Mi};
298
+ font-weight: ${zi};
299
+ letter-spacing: ${Ui};
300
+ line-height: ${Fi};
301
+ text-transform: ${ji};
302
+ }
303
+ `,ie=u`
293
304
  .ft-typography--overline {
294
- font-family: ${Ae};
295
- font-size: ${Be};
296
- font-weight: ${Le};
297
- letter-spacing: ${Pe};
298
- line-height: ${_e};
299
- text-transform: ${Te};
300
- }
301
- `,ii=u`
305
+ font-family: ${Ai};
306
+ font-size: ${Bi};
307
+ font-weight: ${Li};
308
+ letter-spacing: ${Pi};
309
+ line-height: ${_i};
310
+ text-transform: ${Ti};
311
+ }
312
+ `,ee=u`
302
313
  .ft-typography--button {
303
- font-family: ${De};
304
- font-size: ${Ie};
305
- font-weight: ${We};
306
- letter-spacing: ${Ke};
307
- line-height: ${He};
308
- text-transform: ${Ze};
309
- }
310
- `,oi=u`
314
+ font-family: ${Di};
315
+ font-size: ${Ii};
316
+ font-weight: ${Wi};
317
+ letter-spacing: ${Ki};
318
+ line-height: ${Hi};
319
+ text-transform: ${Zi};
320
+ }
321
+ `,oe=u`
311
322
  .ft-typography {
312
323
  vertical-align: inherit;
313
324
  }
314
- `;var ni=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class ri extends yt{constructor(){super(...arguments),this.variant=It.body1}render(){return this.element?Dt`
325
+ `;var ne=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class re extends yt{constructor(){super(...arguments),this.variant=It.body1}render(){return this.element?Dt`
315
326
  <${_t(this.element)}
316
327
  class="ft-typography ft-typography--${this.variant}">
317
328
  <slot></slot>
318
329
  </${_t(this.element)}>
319
330
  `:Dt`
320
331
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
321
- `}}ri.styles=[Ve,Je,qe,Xe,Ye,Ge,Qe,ti,ei,ii,oi],ni([o()],ri.prototype,"element",void 0),ni([o()],ri.prototype,"variant",void 0),a("ft-typography")(ri);
332
+ `}}re.styles=[Vi,Ji,qi,Xi,Yi,Gi,Qi,te,ie,ee,oe],ne([o()],re.prototype,"element",void 0),ne([o()],re.prototype,"variant",void 0),a("ft-typography")(re);
322
333
  /**
323
334
  * @license
324
335
  * Copyright 2017 Google LLC
325
336
  * SPDX-License-Identifier: BSD-3-Clause
326
337
  */
327
- class si extends St{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this._t=void 0,this.it=t;if(t===H)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}si.directiveName="unsafeHTML",si.resultType=1;const ai=Ot(si);var li,hi;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.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="&#xe901;",t.EYE="&#xf06e;",t.DISC="&#xe902;",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="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;"}(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;"}(hi||(hi={})),new Map([...["abw"].map((t=>[t,hi.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,hi.AUDIO])),...["avi"].map((t=>[t,hi.AVI])),...["chm","xhs"].map((t=>[t,hi.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,hi.CODE])),...["csv"].map((t=>[t,hi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,hi.DITA])),...["epub"].map((t=>[t,hi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,hi.EXCEL])),...["flac"].map((t=>[t,hi.FLAC])),...["gif"].map((t=>[t,hi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,hi.GZIP])),...["html","htm","xhtml"].map((t=>[t,hi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,hi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,hi.JPEG])),...["json"].map((t=>[t,hi.JSON])),...["m4a","m4p"].map((t=>[t,hi.M4A])),...["mov","qt"].map((t=>[t,hi.MOV])),...["mp3"].map((t=>[t,hi.MP3])),...["mp4","m4v"].map((t=>[t,hi.MP4])),...["ogg","oga"].map((t=>[t,hi.OGG])),...["pdf","ps"].map((t=>[t,hi.PDF])),...["png"].map((t=>[t,hi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,hi.POWERPOINT])),...["rar"].map((t=>[t,hi.RAR])),...["stp"].map((t=>[t,hi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,hi.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,hi.VIDEO])),...["wav"].map((t=>[t,hi.WAV])),...["wma"].map((t=>[t,hi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,hi.WORD])),...["xml","xsl","rdf"].map((t=>[t,hi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,hi.YAML])),...["zip"].map((t=>[t,hi.ZIP]))]);const ci={size:pt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:pt.extend("--ft-icon-fluid-topics-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:pt.extend("--ft-icon-file-format-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:pt.extend("--ft-icon-material-font-family",pt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:pt.create("--ft-icon-vertical-align","UNKNOWN","unset")},pi=u`
338
+ class se extends St{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this._t=void 0,this.it=t;if(t===H)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const i=[t];return i.raw=i,this._t={_$litType$:this.constructor.resultType,strings:i,values:[]}}}se.directiveName="unsafeHTML",se.resultType=1;const ae=Ot(se);var le,he;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.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="&#xe901;",t.EYE="&#xf06e;",t.DISC="&#xe902;",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="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;"}(le||(le={})),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;"}(he||(he={})),new Map([...["abw"].map((t=>[t,he.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,he.AUDIO])),...["avi"].map((t=>[t,he.AVI])),...["chm","xhs"].map((t=>[t,he.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,he.CODE])),...["csv"].map((t=>[t,he.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,he.DITA])),...["epub"].map((t=>[t,he.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,he.EXCEL])),...["flac"].map((t=>[t,he.FLAC])),...["gif"].map((t=>[t,he.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,he.GZIP])),...["html","htm","xhtml"].map((t=>[t,he.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,he.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,he.JPEG])),...["json"].map((t=>[t,he.JSON])),...["m4a","m4p"].map((t=>[t,he.M4A])),...["mov","qt"].map((t=>[t,he.MOV])),...["mp3"].map((t=>[t,he.MP3])),...["mp4","m4v"].map((t=>[t,he.MP4])),...["ogg","oga"].map((t=>[t,he.OGG])),...["pdf","ps"].map((t=>[t,he.PDF])),...["png"].map((t=>[t,he.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,he.POWERPOINT])),...["rar"].map((t=>[t,he.RAR])),...["stp"].map((t=>[t,he.STP])),...["txt","rtf","md","mdown"].map((t=>[t,he.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,he.VIDEO])),...["wav"].map((t=>[t,he.WAV])),...["wma"].map((t=>[t,he.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,he.WORD])),...["xml","xsl","rdf"].map((t=>[t,he.XML])),...["yaml","yml","x-yaml"].map((t=>[t,he.YAML])),...["zip"].map((t=>[t,he.ZIP]))]);const ce={size:pt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:pt.extend("--ft-icon-fluid-topics-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:pt.extend("--ft-icon-file-format-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:pt.extend("--ft-icon-material-font-family",pt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:pt.create("--ft-icon-vertical-align","UNKNOWN","unset")},pe=u`
328
339
  :host, i.ft-icon {
329
340
  display: inline-flex;
330
341
  align-items: center;
@@ -333,14 +344,14 @@ class si extends St{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
333
344
  }
334
345
 
335
346
  :host {
336
- width: ${ci.size};
337
- height: ${ci.size};
347
+ width: ${ce.size};
348
+ height: ${ce.size};
338
349
  }
339
350
 
340
351
  i.ft-icon {
341
352
  width: 100%;
342
353
  height: 100%;
343
- font-size: ${ci.size};
354
+ font-size: ${ce.size};
344
355
  line-height: 1;
345
356
  font-weight: normal;
346
357
  text-transform: none;
@@ -351,32 +362,32 @@ class si extends St{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
351
362
  text-rendering: auto;
352
363
  -webkit-font-smoothing: antialiased;
353
364
  -moz-osx-font-smoothing: grayscale;
354
- vertical-align: ${ci.verticalAlign};
365
+ vertical-align: ${ce.verticalAlign};
355
366
  }
356
367
 
357
368
  i.ft-icon.ft-icon--fluid-topics {
358
- font-family: ${ci.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
369
+ font-family: ${ce.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
359
370
 
360
371
  /* Ugly fix because font is broken */
361
- font-size: calc(0.9 * ${ci.size});
372
+ font-size: calc(0.9 * ${ce.size});
362
373
  position: relative;
363
374
  top: -5%;
364
375
  justify-content: center;
365
376
  }
366
377
 
367
378
  .ft-icon--file-format {
368
- font-family: ${ci.fileFormatFontFamily}, ft-mime, sans-serif;
379
+ font-family: ${ce.fileFormatFontFamily}, ft-mime, sans-serif;
369
380
  }
370
381
 
371
382
  .ft-icon--material {
372
- font-family: ${ci.materialFontFamily}, "Material Icons", sans-serif;
383
+ font-family: ${ce.materialFontFamily}, "Material Icons", sans-serif;
373
384
  }
374
- `;var fi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(fi||(fi={}));var di=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class ui extends yt{constructor(){super(...arguments),this.variant=fi.fluid_topics,this.resolvedIcon=Z}render(){const t="material"!==this.variant||this.value;return K`
385
+ `;var fe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(fe||(fe={}));var de=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class ue extends yt{constructor(){super(...arguments),this.variant=fe.fluid_topics,this.resolvedIcon=Z}render(){const t="material"!==this.variant||this.value;return K`
375
386
  <i class="ft-icon ${"ft-icon--"+this.variant}">
376
- ${ai(this.resolvedIcon)}
387
+ ${ae(this.resolvedIcon)}
377
388
  <slot ?hidden=${t}></slot>
378
389
  </i>
379
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case fi.file_format:this.resolvedIcon=null!==(t=hi[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case fi.fluid_topics:this.resolvedIcon=null!==(e=li[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||Z}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ui.elementDefinitions={},ui.styles=pi,di([o()],ui.prototype,"variant",void 0),di([o()],ui.prototype,"value",void 0),di([n()],ui.prototype,"resolvedIcon",void 0),di([r("slot")],ui.prototype,"slottedContent",void 0),a("ft-icon")(ui);const yi=pt.extend("--ft-chip-color",dt.colorOnSurface),gi={backgroundColor:pt.extend("--ft-chip-background-color",dt.colorSurface),color:yi,fontSize:pt.extend("--ft-chip-font-size",$e.fontSize),iconSize:pt.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:pt.extend("--ft-chip-ripple-color",yi),horizontalPadding:pt.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:pt.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:pt.external(dt.colorOutline,"Design system"),opacityDisabled:pt.external(dt.colorOpacityDisabled,"Design system")},vi=pt.extend("--ft-chip-highlighted-color",pt.extend("--ft-chip-color",dt.colorOnPrimary)),xi={backgroundColor:pt.extend("--ft-chip-highlighted-background-color",pt.extend("--ft-chip-background-color",dt.colorPrimary)),color:vi,rippleColor:pt.extend("--ft-chip-highlighted-ripple-color",vi)},mi={horizontalPadding:pt.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),verticalPadding:pt.create("--ft-chip-dense-vertical-padding","SIZE","4px")},bi=[gt,u`
390
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let e=this.value||this.textContent;switch(this.variant){case fe.file_format:this.resolvedIcon=null!==(t=he[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case fe.fluid_topics:this.resolvedIcon=null!==(i=le[e.replace("-","_").toUpperCase()])&&void 0!==i?i:e;break;default:this.resolvedIcon=this.value||Z}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ue.elementDefinitions={},ue.styles=pe,de([o()],ue.prototype,"variant",void 0),de([o()],ue.prototype,"value",void 0),de([n()],ue.prototype,"resolvedIcon",void 0),de([r("slot")],ue.prototype,"slottedContent",void 0),a("ft-icon")(ue);const ye=pt.extend("--ft-chip-color",dt.colorOnSurface),ge={backgroundColor:pt.extend("--ft-chip-background-color",dt.colorSurface),color:ye,fontSize:pt.extend("--ft-chip-font-size",$i.fontSize),iconSize:pt.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:pt.extend("--ft-chip-ripple-color",ye),horizontalPadding:pt.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:pt.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:pt.external(dt.colorOutline,"Design system"),opacityDisabled:pt.external(dt.colorOpacityDisabled,"Design system")},ve=pt.extend("--ft-chip-highlighted-color",pt.extend("--ft-chip-color",dt.colorOnPrimary)),xe={backgroundColor:pt.extend("--ft-chip-highlighted-background-color",pt.extend("--ft-chip-background-color",dt.colorPrimary)),color:ve,rippleColor:pt.extend("--ft-chip-highlighted-ripple-color",ve)},me={horizontalPadding:pt.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),verticalPadding:pt.create("--ft-chip-dense-vertical-padding","SIZE","4px")},be=[gt,u`
380
391
  :host {
381
392
  display: inline-block;
382
393
  max-width: 100%;
@@ -393,20 +404,20 @@ class si extends St{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
393
404
  box-sizing: border-box;
394
405
  pointer-events: auto;
395
406
 
396
- --ft-chip-internal-font-size: ${gi.fontSize};
407
+ --ft-chip-internal-font-size: ${ge.fontSize};
397
408
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
398
- ${ft(ci.size,gi.iconSize)};
399
- --ft-chip-internal-vertical-padding: ${gi.verticalPadding};
400
- --ft-chip-internal-horizontal-padding: ${gi.horizontalPadding};
409
+ ${ft(ce.size,ge.iconSize)};
410
+ --ft-chip-internal-vertical-padding: ${ge.verticalPadding};
411
+ --ft-chip-internal-horizontal-padding: ${ge.horizontalPadding};
401
412
  --ft-chip-internal-icon-padding: 3px;
402
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${gi.iconSize});
413
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${ge.iconSize});
403
414
 
404
- border: 1px solid ${gi.colorOutline};
405
- color: ${gi.color};
406
- ${ft(Ct.color,gi.rippleColor)};
415
+ border: 1px solid ${ge.colorOutline};
416
+ color: ${ge.color};
417
+ ${ft(Ct.color,ge.rippleColor)};
407
418
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
408
419
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
409
- background-color: ${gi.backgroundColor};
420
+ background-color: ${ge.backgroundColor};
410
421
  line-height: var(--ft-chip-internal-content-height);
411
422
  }
412
423
 
@@ -416,8 +427,8 @@ class si extends St{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
416
427
 
417
428
  .ft-chip--dense {
418
429
  --ft-chip-internal-icon-padding: 3px;
419
- --ft-chip-internal-vertical-padding: ${mi.verticalPadding};
420
- --ft-chip-internal-horizontal-padding: ${mi.horizontalPadding};
430
+ --ft-chip-internal-vertical-padding: ${me.verticalPadding};
431
+ --ft-chip-internal-horizontal-padding: ${me.horizontalPadding};
421
432
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
422
433
  }
423
434
 
@@ -429,15 +440,15 @@ class si extends St{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
429
440
  cursor: default;
430
441
  pointer-events: none;
431
442
  filter: grayscale(1);
432
- opacity: ${gi.opacityDisabled};
443
+ opacity: ${ge.opacityDisabled};
433
444
  }
434
445
 
435
446
  .ft-chip--highlighted {
436
447
  border: none;
437
448
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
438
- background-color: ${xi.backgroundColor};
439
- ${ft(Ct.color,xi.rippleColor)};
440
- color: ${xi.color};
449
+ background-color: ${xe.backgroundColor};
450
+ ${ft(Ct.color,xe.rippleColor)};
451
+ color: ${xe.color};
441
452
  }
442
453
 
443
454
  .ft-chip--clickable {
@@ -470,8 +481,8 @@ class si extends St{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
470
481
  vertical-align: bottom;
471
482
  display: block;
472
483
  margin: 0 var(--ft-chip-internal-horizontal-padding);
473
- ${ft($e.fontSize,"var(--ft-chip-internal-font-size)")};
474
- ${ft($e.lineHeight,"var(--ft-chip-internal-content-height)")};
484
+ ${ft($i.fontSize,"var(--ft-chip-internal-font-size)")};
485
+ ${ft($i.lineHeight,"var(--ft-chip-internal-content-height)")};
475
486
  }
476
487
 
477
488
  .ft-chip--safari-fix .ft-chip--label {
@@ -506,7 +517,7 @@ class si extends St{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
506
517
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-container {
507
518
  order: -1;
508
519
  }
509
- `];var wi=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class $i extends CustomEvent{constructor(){super("icon-click")}}class Oi extends yt{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":bt};return K`
520
+ `];var we=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class $e extends CustomEvent{constructor(){super("icon-click")}}class Oe extends yt{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":bt};return K`
510
521
  <div class="${kt(t)}"
511
522
  aria-label="${this.getLabel()}"
512
523
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -525,4 +536,4 @@ class si extends St{constructor(t){if(super(t),this.it=Z,t.type!==$t)throw Error
525
536
  <ft-ripple ?disabled=${!this.interactionsOnIcon}></ft-ripple>
526
537
  <ft-icon variant="material">${this.internalIcon}</ft-icon>
527
538
  </div>
528
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new $i))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new $i))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}Oi.elementDefinitions={"ft-ripple":Bt,"ft-typography":ri,"ft-icon":ui},Oi.styles=bi,wi([o({type:Boolean})],Oi.prototype,"highlighted",void 0),wi([o({type:Boolean})],Oi.prototype,"removable",void 0),wi([o({type:Boolean})],Oi.prototype,"disabled",void 0),wi([o({type:Boolean})],Oi.prototype,"clickable",void 0),wi([o({type:Boolean})],Oi.prototype,"iconClickable",void 0),wi([o({type:Boolean})],Oi.prototype,"dense",void 0),wi([o({type:Boolean})],Oi.prototype,"multiLine",void 0),wi([o({type:String})],Oi.prototype,"label",void 0),wi([o({type:String})],Oi.prototype,"icon",void 0),wi([o({type:Boolean})],Oi.prototype,"trailingIcon",void 0),wi([r("ft-typography slot")],Oi.prototype,"slottedContent",void 0),a("ft-chip")(Oi),t.FtChip=Oi,t.FtChipCssVariables=gi,t.FtChipDenseCssVariables=mi,t.FtChipHighlightedCssVariables=xi,t.IconClickEvent=$i,t.styles=bi,Object.defineProperty(t,"i",{value:!0})}({});
539
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new $e))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new $e))}getLabel(){return this.label||this.textContent}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}Oe.elementDefinitions={"ft-ripple":Bt,"ft-typography":re,"ft-icon":ue},Oe.styles=be,we([o({type:Boolean})],Oe.prototype,"highlighted",void 0),we([o({type:Boolean})],Oe.prototype,"removable",void 0),we([o({type:Boolean})],Oe.prototype,"disabled",void 0),we([o({type:Boolean})],Oe.prototype,"clickable",void 0),we([o({type:Boolean})],Oe.prototype,"iconClickable",void 0),we([o({type:Boolean})],Oe.prototype,"dense",void 0),we([o({type:Boolean})],Oe.prototype,"multiLine",void 0),we([o({type:String})],Oe.prototype,"label",void 0),we([o({type:String})],Oe.prototype,"icon",void 0),we([o({type:Boolean})],Oe.prototype,"trailingIcon",void 0),we([r("ft-typography slot")],Oe.prototype,"slottedContent",void 0),a("ft-chip")(Oe),t.FtChip=Oe,t.FtChipCssVariables=ge,t.FtChipDenseCssVariables=me,t.FtChipHighlightedCssVariables=xe,t.IconClickEvent=$e,t.styles=be,Object.defineProperty(t,"i",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-chip",
3
- "version": "0.3.53",
3
+ "version": "0.3.55",
4
4
  "description": "A generic Fluid Topics chip",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "0.3.53",
23
- "@fluid-topics/ft-ripple": "0.3.53",
24
- "@fluid-topics/ft-typography": "0.3.53",
25
- "@fluid-topics/ft-wc-utils": "0.3.53",
22
+ "@fluid-topics/ft-icon": "0.3.55",
23
+ "@fluid-topics/ft-ripple": "0.3.55",
24
+ "@fluid-topics/ft-typography": "0.3.55",
25
+ "@fluid-topics/ft-wc-utils": "0.3.55",
26
26
  "lit": "2.2.8"
27
27
  },
28
- "gitHead": "cf1f6c836c7bcacfd0a9abbd39a185077341036e"
28
+ "gitHead": "4106f01e238edeb1c85fba22d6d50a18757e0b3e"
29
29
  }