@fluid-topics/ft-icon 0.3.71 → 1.0.0-alpha.1

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.
@@ -6,4 +6,3 @@ export declare const FtIconCssVariables: {
6
6
  verticalAlign: import("@fluid-topics/ft-wc-utils").FtCssVariable;
7
7
  };
8
8
  export declare const styles: import("lit").CSSResult;
9
- //# sourceMappingURL=ft-icon.css.d.ts.map
@@ -42,9 +42,9 @@ export const styles = css `
42
42
  font-family: ${FtIconCssVariables.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
43
43
 
44
44
  /* Ugly fix because font is broken */
45
- font-size: calc(0.9 * ${FtIconCssVariables.size});
45
+ font-size: calc(0.75 * ${FtIconCssVariables.size});
46
46
  position: relative;
47
- top: -5%;
47
+ top: -4%;
48
48
  justify-content: center;
49
49
  }
50
50
 
@@ -56,4 +56,3 @@ export const styles = css `
56
56
  font-family: ${FtIconCssVariables.materialFontFamily}, "Material Icons", sans-serif;
57
57
  }
58
58
  `;
59
- //# sourceMappingURL=ft-icon.css.js.map
@@ -14,4 +14,3 @@ export declare class FtIcon extends FtLitElement implements FtIconProperties {
14
14
  private resolveIcon;
15
15
  protected firstUpdated(_changedProperties: PropertyValues): void;
16
16
  }
17
- //# sourceMappingURL=ft-icon.d.ts.map
package/build/ft-icon.js CHANGED
@@ -11,15 +11,14 @@ import { unsafeHTML } from "lit/directives/unsafe-html.js";
11
11
  import { FtFileFormatIcons, FtIcons } from "./icons";
12
12
  import { styles } from "./ft-icon.css";
13
13
  import { FtIconVariants } from "./ft-icon.properties";
14
- export class FtIcon extends FtLitElement {
14
+ class FtIcon extends FtLitElement {
15
15
  constructor() {
16
16
  super(...arguments);
17
17
  this.resolvedIcon = nothing;
18
18
  }
19
19
  render() {
20
- var _a;
21
- const variant = (_a = this.variant) !== null && _a !== void 0 ? _a : FtIconVariants.fluid_topics;
22
- const slotHidden = variant !== "material" || this.value;
20
+ const variant = this.variant && Object.values(FtIconVariants).includes(this.variant) ? this.variant : FtIconVariants.fluid_topics;
21
+ const slotHidden = variant !== FtIconVariants.material || !!this.value;
23
22
  return html `
24
23
  <i class="ft-icon ${"ft-icon--" + variant}">
25
24
  ${unsafeHTML(this.resolvedIcon)}
@@ -71,4 +70,4 @@ __decorate([
71
70
  __decorate([
72
71
  query("slot")
73
72
  ], FtIcon.prototype, "slottedContent", void 0);
74
- //# sourceMappingURL=ft-icon.js.map
73
+ export { FtIcon };
@@ -32,9 +32,9 @@
32
32
  font-family: ${s.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
33
33
 
34
34
  /* Ugly fix because font is broken */
35
- font-size: calc(0.9 * ${s.size});
35
+ font-size: calc(0.75 * ${s.size});
36
36
  position: relative;
37
- top: -5%;
37
+ top: -4%;
38
38
  justify-content: center;
39
39
  }
40
40
 
@@ -45,9 +45,9 @@
45
45
  .ft-icon--material {
46
46
  font-family: ${s.materialFontFamily}, "Material Icons", sans-serif;
47
47
  }
48
- `;var m;e.FtIconVariants=void 0,(m=e.FtIconVariants||(e.FtIconVariants={})).fluid_topics="fluid-topics",m.file_format="file-format",m.material="material";var f=function(e,t,a,i){for(var o,x=arguments.length,n=x<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i,p=e.length-1;p>=0;p--)(o=e[p])&&(n=(x<3?o(n):x>3?o(t,a,n):o(t,a))||n);return x>3&&n&&Object.defineProperty(t,a,n),n};class d extends t.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=a.nothing}render(){var t;const i=null!==(t=this.variant)&&void 0!==t?t:e.FtIconVariants.fluid_topics,x="material"!==i||this.value;return a.html`
49
- <i class="ft-icon ${"ft-icon--"+i}">
48
+ `;var m;e.FtIconVariants=void 0,(m=e.FtIconVariants||(e.FtIconVariants={})).fluid_topics="fluid-topics",m.file_format="file-format",m.material="material";var f=function(e,t,a,i){for(var o,x=arguments.length,n=x<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i,p=e.length-1;p>=0;p--)(o=e[p])&&(n=(x<3?o(n):x>3?o(t,a,n):o(t,a))||n);return x>3&&n&&Object.defineProperty(t,a,n),n};class d extends t.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=a.nothing}render(){const t=this.variant&&Object.values(e.FtIconVariants).includes(this.variant)?this.variant:e.FtIconVariants.fluid_topics,i=t!==e.FtIconVariants.material||!!this.value;return a.html`
49
+ <i class="ft-icon ${"ft-icon--"+t}">
50
50
  ${o.unsafeHTML(this.resolvedIcon)}
51
- <slot ?hidden=${x}></slot>
51
+ <slot ?hidden=${i}></slot>
52
52
  </i>
53
- `}get textContent(){var e,t;return null!==(t=null===(e=this.slottedContent)||void 0===e?void 0:e.assignedNodes().map((e=>e.textContent)).join("").trim())&&void 0!==t?t:""}update(e){super.update(e),["value","variant"].some((t=>e.has(t)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case e.FtIconVariants.file_format:this.resolvedIcon=null!==(t=e.FtFileFormatIcons[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case e.FtIconVariants.material:this.resolvedIcon=this.value||a.nothing;break;default:this.resolvedIcon=null!==(i=e.FtIcons[o.replace("-","_").toUpperCase()])&&void 0!==i?i:o}}firstUpdated(e){super.firstUpdated(e),setTimeout((()=>this.resolveIcon()))}}d.elementDefinitions={},d.styles=c,f([i.property()],d.prototype,"variant",void 0),f([i.property()],d.prototype,"value",void 0),f([i.state()],d.prototype,"resolvedIcon",void 0),f([i.query("slot")],d.prototype,"slottedContent",void 0),t.customElement("ft-icon")(d),e.FtIcon=d,e.FtIconCssVariables=s,e.resolveFileFormatIcon=function(t,a){var i,o,x,n;t=(null!=t?t:"").toLowerCase(),a=(null!=a?a:"").toLowerCase();const[s,c]=((null!==(i=l.get(t))&&void 0!==i?i:t)+"/").split("/");return null!==(n=null!==(x=null!==(o=p.get(c))&&void 0!==o?o:p.get(a))&&void 0!==x?x:p.get(s))&&void 0!==n?n:e.FtFileFormatIcons.UNKNOWN},e.styles=c,Object.defineProperty(e,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
53
+ `}get textContent(){var e,t;return null!==(t=null===(e=this.slottedContent)||void 0===e?void 0:e.assignedNodes().map((e=>e.textContent)).join("").trim())&&void 0!==t?t:""}update(e){super.update(e),["value","variant"].some((t=>e.has(t)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case e.FtIconVariants.file_format:this.resolvedIcon=null!==(t=e.FtFileFormatIcons[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case e.FtIconVariants.material:this.resolvedIcon=this.value||a.nothing;break;default:this.resolvedIcon=null!==(i=e.FtIcons[o.replace("-","_").toUpperCase()])&&void 0!==i?i:o}}firstUpdated(e){super.firstUpdated(e),setTimeout((()=>this.resolveIcon()))}}d.elementDefinitions={},d.styles=c,f([i.property()],d.prototype,"variant",void 0),f([i.property()],d.prototype,"value",void 0),f([i.state()],d.prototype,"resolvedIcon",void 0),f([i.query("slot")],d.prototype,"slottedContent",void 0),t.customElement("ft-icon")(d),e.FtIcon=d,e.FtIconCssVariables=s,e.resolveFileFormatIcon=function(t,a){var i,o,x,n;t=(null!=t?t:"").toLowerCase(),a=(null!=a?a:"").toLowerCase();const[s,c]=((null!==(i=l.get(t))&&void 0!==i?i:t)+"/").split("/");return null!==(n=null!==(x=null!==(o=p.get(c))&&void 0!==o?o:p.get(a))&&void 0!==x?x:p.get(s))&&void 0!==n?n:e.FtFileFormatIcons.UNKNOWN},e.styles=c}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,s=window.customElements,o=new WeakMap,n=new WeakMap,r=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,o){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(o))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=o.prototype.attributeChangedCallback,l=new Set(o.observedAttributes||[]);d(o,l,a);const c={elementClass:o,connectedCallback:o.prototype.connectedCallback,disconnectedCallback:o.prototype.disconnectedCallback,adoptedCallback:o.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:o.formAssociated,formAssociatedCallback:o.prototype.formAssociatedCallback,formDisabledCallback:o.prototype.formDisabledCallback,formResetCallback:o.prototype.formResetCallback,formStateRestoreCallback:o.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(o,c);let h=i.call(s,t);h||(h=p(t),e.call(s,t,h)),this===window.customElements&&(r.set(o,c),c.standInClass=h);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),f(t,c,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(o),this._whenDefinedPromises.delete(t)),o}upgrade(){v.push(this),s.upgrade.apply(s,arguments),v.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 s=this._awaitingUpgrade.get(e);s||this._awaitingUpgrade.set(e,s=new Set),i?s.add(t):s.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),o.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(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 s=h(i)||window.customElements,o=s._getDefinition(e);return o?f(i,o):n.set(i,s),i}connectedCallback(){const t=o.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=o.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){o.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=o.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=o.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=o.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=o.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const s=t.prototype.setAttribute;s&&(t.prototype.setAttribute=function(t,o){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);s.call(this,n,o),i.call(this,n,t,o)}else s.call(this,n,o)});const o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s),i.call(this,s,t,null)}else o.call(this,s)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},f=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),o.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const m=(t,e,i)=>{const s=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=s.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};m(ShadowRoot,"createElement",document),m(ShadowRoot,"importNode",document),m(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const s=e.call(this,...i);return t.set(s,this),s},i.forEach((e=>{const i=window.ElementInternals.prototype,s=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==o.get(i).formAssociated)throw new DOMException(`Failed to execute ${s} on 'ElementInternals': The target element is not a form-associated custom element.`);s?.call(this,...e)}}));class s extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const s=t.getAttribute("name"),o=e.get(s)||[];this[+i]=t,o.push(t),e.set(s,o)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new s(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=o.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(vt){const t=window.customElements.define;window.customElements.define=(e,i,s)=>{try{t.bind(window.customElements)(e,i,s)}catch(t){console.info(e,i,s,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 s=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,o=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void s(t)}o(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,s=window.customElements,o=new WeakMap,n=new WeakMap,r=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,o){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(o))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=o.prototype.attributeChangedCallback,l=new Set(o.observedAttributes||[]);d(o,l,a);const c={elementClass:o,connectedCallback:o.prototype.connectedCallback,disconnectedCallback:o.prototype.disconnectedCallback,adoptedCallback:o.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:o.formAssociated,formAssociatedCallback:o.prototype.formAssociatedCallback,formDisabledCallback:o.prototype.formDisabledCallback,formResetCallback:o.prototype.formResetCallback,formStateRestoreCallback:o.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(o,c);let h=i.call(s,t);h||(h=p(t),e.call(s,t,h)),this===window.customElements&&(r.set(o,c),c.standInClass=h);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),f(t,c,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(o),this._whenDefinedPromises.delete(t)),o}upgrade(){v.push(this),s.upgrade.apply(s,arguments),v.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.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 s=this._awaitingUpgrade.get(e);s||this._awaitingUpgrade.set(e,s=new Set),i?s.add(t):s.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),o.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(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 s=h(i)||window.customElements,o=s._getDefinition(e);return o?f(i,o):n.set(i,s),i}connectedCallback(){const t=o.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=o.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=o.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=o.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=o.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=o.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=o.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const s=t.prototype.setAttribute;s&&(t.prototype.setAttribute=function(t,o){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);s.call(this,n,o),i.call(this,n,t,o)}else s.call(this,n,o)});const o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s),i.call(this,s,t,null)}else o.call(this,s)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},f=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),o.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const m=(t,e,i=void 0)=>{const s=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=s.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};m(ShadowRoot,"createElement",document),m(ShadowRoot,"importNode",document),m(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const s=e.call(this,...i);return t.set(s,this),s},i.forEach((e=>{const i=window.ElementInternals.prototype,s=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==o.get(i).formAssociated)throw new DOMException(`Failed to execute ${s} on 'ElementInternals': The target element is not a form-associated custom element.`);s?.call(this,...e)}}));class s extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const s=t.getAttribute("name"),o=e.get(s)||[];this[+i]=t,o.push(t),e.set(s,o)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new s(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=o.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Nt){const t=window.customElements.define;window.customElements.define=(e,i,s)=>{try{t.bind(window.customElements)(e,i,s)}catch(t){console.info(e,i,s,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 s=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,o=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void s(t)}o(!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
@@ -36,35 +36,24 @@ var o;function n(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"objec
36
36
  * Copyright 2019 Google LLC
37
37
  * SPDX-License-Identifier: BSD-3-Clause
38
38
  */
39
- const r=window,a=r.ShadowRoot&&(void 0===r.ShadyCSS||r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),c=new WeakMap;class h{constructor(t,e,i){if(this._$cssResult$=!0,i!==l)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(a&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=c.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&c.set(e,t))}return t}toString(){return this.cssText}}const p=t=>new h("string"==typeof t?t:t+"",void 0,l),d=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,s)=>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[s+1]),t[0]);return new h(i,t,l)},u=(t,e)=>{a?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),s=r.litNonce;void 0!==s&&i.setAttribute("nonce",s),i.textContent=e.cssText,t.appendChild(i)}))},f=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return p(e)})(t):t
39
+ const r=window,a=r.ShadowRoot&&(void 0===r.ShadyCSS||r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),c=new WeakMap;let h=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==l)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(a&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=c.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&c.set(e,t))}return t}toString(){return this.cssText}};const p=t=>new h("string"==typeof t?t:t+"",void 0,l),d=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,s)=>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[s+1]),t[0]);return new h(i,t,l)},u=(t,e)=>{a?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),s=r.litNonce;void 0!==s&&i.setAttribute("nonce",s),i.textContent=e.cssText,t.appendChild(i)}))},f=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return p(e)})(t):t
40
40
  /**
41
41
  * @license
42
42
  * Copyright 2017 Google LLC
43
43
  * SPDX-License-Identifier: BSD-3-Clause
44
- */;var x;const v=window,m=v.trustedTypes,b=m?m.emptyScript:"",g=v.reactiveElementPolyfillSupport,w={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}},y=(t,e)=>e!==t&&(e==e||t==t),O={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:y};class N 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 s=this._$Ep(i,e);void 0!==s&&(this._$Ev.set(s,i),t.push(s))})),t}static createProperty(t,e=O){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,s=this.getPropertyDescriptor(t,i,e);void 0!==s&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const o=this[t];this[e]=s,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||O}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(f(t))}else void 0!==t&&e.push(f(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return u(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=O){var s;const o=this.constructor._$Ep(t,i);if(void 0!==o&&!0===i.reflect){const n=(void 0!==(null===(s=i.converter)||void 0===s?void 0:s.toAttribute)?i.converter:w).toAttribute(e,i.type);this._$El=t,null==n?this.removeAttribute(o):this.setAttribute(o,n),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,o=s._$Ev.get(t);if(void 0!==o&&this._$El!==o){const t=s.getPropertyOptions(o),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:w;this._$El=o,this[o]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||y)(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))):s=!1),!this.isUpdatePending&&s&&(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){}}
44
+ */;var x;const v=window,m=v.trustedTypes,b=m?m.emptyScript:"",g=v.reactiveElementPolyfillSupport,w={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}},y=(t,e)=>e!==t&&(e==e||t==t),O={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:y};let N=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const s=this._$Ep(i,e);void 0!==s&&(this._$Ev.set(s,i),t.push(s))})),t}static createProperty(t,e=O){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,s=this.getPropertyDescriptor(t,i,e);void 0!==s&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const o=this[t];this[e]=s,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||O}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),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(f(t))}else void 0!==t&&e.push(f(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return u(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=O){var s;const o=this.constructor._$Ep(t,i);if(void 0!==o&&!0===i.reflect){const n=(void 0!==(null===(s=i.converter)||void 0===s?void 0:s.toAttribute)?i.converter:w).toAttribute(e,i.type);this._$El=t,null==n?this.removeAttribute(o):this.setAttribute(o,n),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,o=s._$Ev.get(t);if(void 0!==o&&this._$El!==o){const t=s.getPropertyOptions(o),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:w;this._$El=o,this[o]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||y)(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))):s=!1),!this.isUpdatePending&&s&&(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){}};
45
45
  /**
46
46
  * @license
47
47
  * Copyright 2017 Google LLC
48
48
  * SPDX-License-Identifier: BSD-3-Clause
49
49
  */
50
- var E;N.finalized=!0,N.elementProperties=new Map,N.elementStyles=[],N.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:N}),(null!==(x=v.reactiveElementVersions)&&void 0!==x?x:v.reactiveElementVersions=[]).push("1.4.1");const $=window,R=$.trustedTypes,C=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,M=`lit$${(Math.random()+"").slice(9)}$`,k="?"+M,S=`<${k}>`,U=document,j=(t="")=>U.createComment(t),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,T=/>/g,B=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),W=/'/g,z=/"/g,K=/^(?:script|style|textarea|title)$/i,I=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),D=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),P=new WeakMap,Z=U.createTreeWalker(U,129,null,!1),J=(t,e)=>{const i=t.length-1,s=[];let o,n=2===e?"<svg>":"",r=L;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===L?"!--"===l[1]?r=_:void 0!==l[1]?r=T:void 0!==l[2]?(K.test(l[2])&&(o=RegExp("</"+l[2],"g")),r=B):void 0!==l[3]&&(r=B):r===B?">"===l[0]?(r=null!=o?o:L,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?B:'"'===l[3]?z:W):r===z||r===W?r=B:r===_||r===T?r=L:(r=B,o=void 0);const p=r===B&&t[e+1].startsWith("/>")?" ":"";n+=r===L?i+S:c>=0?(s.push(a),i.slice(0,c)+"$lit$"+i.slice(c)+M+p):i+M+(-2===c?(s.push(void 0),e):p)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==C?C.createHTML(a):a,s]};class V{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const r=t.length-1,a=this.parts,[l,c]=J(t,e);if(this.el=V.createElement(l,i),Z.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=Z.nextNode())&&a.length<r;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(M)){const i=c[n++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(M),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?Y:"?"===e[1]?et:"@"===e[1]?it:Q})}else a.push({type:6,index:o})}for(const e of t)s.removeAttribute(e)}if(K.test(s.tagName)){const t=s.textContent.split(M),e=t.length-1;if(e>0){s.textContent=R?R.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],j()),Z.nextNode(),a.push({type:2,index:++o});s.append(t[e],j())}}}else if(8===s.nodeType)if(s.data===k)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(M,t+1));)a.push({type:7,index:o}),t+=M.length-1}o++}}static createElement(t,e){const i=U.createElement("template");return i.innerHTML=t,i}}function q(t,e,i=t,s){var o,n,r,a;if(e===D)return e;let l=void 0!==s?null===(o=i._$Co)||void 0===o?void 0:o[s]:i._$Cl;const c=F(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,s)),void 0!==s?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[s]=l:i._$Cl=l),void 0!==l&&(e=q(t,l._$AS(t,e.values),l,s)),e}class X{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:s}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:U).importNode(i,!0);Z.currentNode=o;let n=Z.nextNode(),r=0,a=0,l=s[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new G(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new st(n,this,t)),this.u.push(e),l=s[++a]}r!==(null==l?void 0:l.index)&&(n=Z.nextNode(),r++)}return o}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 G{constructor(t,e,i,s){var o;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cm=null===(o=null==s?void 0:s.isConnected)||void 0===o||o}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=q(this,t,e),F(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==D&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>A(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==H&&F(this._$AH)?this._$AA.nextSibling.data=t:this.T(U.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=V.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.p(i);else{const t=new X(o,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=P.get(t.strings);return void 0===e&&P.set(t.strings,e=new V(t)),e}k(t){A(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new G(this.O(j()),this.O(j()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$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 Q{constructor(t,e,i,s,o){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let n=!1;if(void 0===o)t=q(this,t,e,0),n=!F(t)||t!==this._$AH&&t!==D,n&&(this._$AH=t);else{const s=t;let r,a;for(t=o[0],r=0;r<o.length-1;r++)a=q(this,s[i+r],e,r),a===D&&(a=this._$AH[r]),n||(n=!F(a)||a!==this._$AH[r]),a===H?t=H:t!==H&&(t+=(null!=a?a:"")+o[r+1]),this._$AH[r]=a}n&&!s&&this.j(t)}j(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends Q{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===H?void 0:t}}const tt=R?R.emptyScript:"";class et extends Q{constructor(){super(...arguments),this.type=4}j(t){t&&t!==H?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class it extends Q{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=q(this,t,e,0))&&void 0!==i?i:H)===D)return;const s=this._$AH,o=t===H&&s!==H||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==H&&(s===H||o);o&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class st{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){q(this,t)}}const ot=$.litHtmlPolyfillSupport;null==ot||ot(V,G),(null!==(E=$.litHtmlVersions)&&void 0!==E?E:$.litHtmlVersions=[]).push("2.4.0");
50
+ var E;N.finalized=!0,N.elementProperties=new Map,N.elementStyles=[],N.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:N}),(null!==(x=v.reactiveElementVersions)&&void 0!==x?x:v.reactiveElementVersions=[]).push("1.6.1");const C=window,R=C.trustedTypes,$=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,S="$lit$",M=`lit$${(Math.random()+"").slice(9)}$`,k="?"+M,U=`<${k}>`,j=document,F=()=>j.createComment(""),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,L=Array.isArray,_="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,W=/>/g,z=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,I=/"/g,D=/^(?:script|style|textarea|title)$/i,H=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),P=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),J=new WeakMap,V=j.createTreeWalker(j,129,null,!1),q=(t,e)=>{const i=t.length-1,s=[];let o,n=2===e?"<svg>":"",r=T;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===T?"!--"===l[1]?r=B:void 0!==l[1]?r=W:void 0!==l[2]?(D.test(l[2])&&(o=RegExp("</"+l[2],"g")),r=z):void 0!==l[3]&&(r=z):r===z?">"===l[0]?(r=null!=o?o:T,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?z:'"'===l[3]?I:K):r===I||r===K?r=z:r===B||r===W?r=T:(r=z,o=void 0);const p=r===z&&t[e+1].startsWith("/>")?" ":"";n+=r===T?i+U:c>=0?(s.push(a),i.slice(0,c)+S+i.slice(c)+M+p):i+M+(-2===c?(s.push(void 0),e):p)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==$?$.createHTML(a):a,s]};class X{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const r=t.length-1,a=this.parts,[l,c]=q(t,e);if(this.el=X.createElement(l,i),V.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=V.nextNode())&&a.length<r;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith(S)||e.startsWith(M)){const i=c[n++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+S).split(M),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?st:"@"===e[1]?ot:tt})}else a.push({type:6,index:o})}for(const e of t)s.removeAttribute(e)}if(D.test(s.tagName)){const t=s.textContent.split(M),e=t.length-1;if(e>0){s.textContent=R?R.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],F()),V.nextNode(),a.push({type:2,index:++o});s.append(t[e],F())}}}else if(8===s.nodeType)if(s.data===k)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(M,t+1));)a.push({type:7,index:o}),t+=M.length-1}o++}}static createElement(t,e){const i=j.createElement("template");return i.innerHTML=t,i}}function G(t,e,i=t,s){var o,n,r,a;if(e===P)return e;let l=void 0!==s?null===(o=i._$Co)||void 0===o?void 0:o[s]:i._$Cl;const c=A(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,s)),void 0!==s?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[s]=l:i._$Cl=l),void 0!==l&&(e=G(t,l._$AS(t,e.values),l,s)),e}class Q{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:s}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:j).importNode(i,!0);V.currentNode=o;let n=V.nextNode(),r=0,a=0,l=s[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new Y(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new nt(n,this,t)),this._$AV.push(e),l=s[++a]}r!==(null==l?void 0:l.index)&&(n=V.nextNode(),r++)}return o}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{constructor(t,e,i,s){var o;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=null===(o=null==s?void 0:s.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=G(this,t,e),A(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==P&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>L(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Z&&A(this._$AH)?this._$AA.nextSibling.data=t:this.$(j.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=X.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.v(i);else{const t=new Q(o,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=J.get(t.strings);return void 0===e&&J.set(t.strings,e=new X(t)),e}T(t){L(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new Y(this.k(F()),this.k(F()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$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._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class tt{constructor(t,e,i,s,o){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,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,s){const o=this.strings;let n=!1;if(void 0===o)t=G(this,t,e,0),n=!A(t)||t!==this._$AH&&t!==P,n&&(this._$AH=t);else{const s=t;let r,a;for(t=o[0],r=0;r<o.length-1;r++)a=G(this,s[i+r],e,r),a===P&&(a=this._$AH[r]),n||(n=!A(a)||a!==this._$AH[r]),a===Z?t=Z:t!==Z&&(t+=(null!=a?a:"")+o[r+1]),this._$AH[r]=a}n&&!s&&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=R?R.emptyScript:"";class st 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 ot extends tt{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=G(this,t,e,0))&&void 0!==i?i:Z)===P)return;const s=this._$AH,o=t===Z&&s!==Z||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==Z&&(s===Z||o);o&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class nt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){G(this,t)}}const rt=C.litHtmlPolyfillSupport;null==rt||rt(X,Y),(null!==(E=C.litHtmlVersions)&&void 0!==E?E:C.litHtmlVersions=[]).push("2.7.3");
51
51
  /**
52
52
  * @license
53
53
  * Copyright 2017 Google LLC
54
54
  * SPDX-License-Identifier: BSD-3-Clause
55
55
  */
56
- var nt,rt;class at extends N{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 s,o;const n=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:e;let r=n._$litPart$;if(void 0===r){const t=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:null;n._$litPart$=r=new G(e.insertBefore(j(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return D}}at.finalized=!0,at._$litElement$=!0,null===(nt=globalThis.litElementHydrateSupport)||void 0===nt||nt.call(globalThis,{LitElement:at});const lt=globalThis.litElementPolyfillSupport;null==lt||lt({LitElement:at}),(null!==(rt=globalThis.litElementVersions)&&void 0!==rt?rt:globalThis.litElementVersions=[]).push("3.2.2");class ct{static create(t,e,i){let s=t=>p(null!=t?t:i),o=d`var(${p(t)}, ${s(i)})`;return o.name=t,o.category=e,o.defaultValue=i,o.defaultCssValue=s,o.get=e=>d`var(${p(t)}, ${s(e)})`,o.breadcrumb=()=>[],o.lastResortDefaultValue=()=>i,o}static extend(t,e,i){let s=t=>e.get(null!=t?t:i),o=d`var(${p(t)}, ${s(i)})`;return o.name=t,o.category=e.category,o.fallbackVariable=e,o.defaultValue=i,o.defaultCssValue=s,o.get=e=>d`var(${p(t)}, ${s(e)})`,o.breadcrumb=()=>[e.name,...e.breadcrumb()],o.lastResortDefaultValue=()=>i,o}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):p(null!=e?e:t.defaultValue),s=d`var(${p(t.name)}, ${i(t.defaultValue)})`;return s.name=t.name,s.category=t.category,s.fallbackVariable=t.fallbackVariable,s.defaultValue=t.defaultValue,s.context=e,s.defaultCssValue=i,s.get=e=>d`var(${p(t.name)}, ${i(e)})`,s.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],s.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},s}}ct.create("--ft-color-primary","COLOR","#2196F3"),ct.create("--ft-color-primary-variant","COLOR","#1976D2"),ct.create("--ft-color-secondary","COLOR","#FFCC80"),ct.create("--ft-color-secondary-variant","COLOR","#F57C00"),ct.create("--ft-color-surface","COLOR","#FFFFFF"),ct.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),ct.create("--ft-color-error","COLOR","#B00020"),ct.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),ct.create("--ft-color-opacity-high","NUMBER","1"),ct.create("--ft-color-opacity-medium","NUMBER","0.74"),ct.create("--ft-color-opacity-disabled","NUMBER","0.38"),ct.create("--ft-color-on-primary","COLOR","#FFFFFF"),ct.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),ct.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),ct.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),ct.create("--ft-color-on-secondary","COLOR","#FFFFFF"),ct.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),ct.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),ct.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),ct.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),ct.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),ct.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),ct.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),ct.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),ct.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),ct.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),ct.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),ct.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),ct.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),ct.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),ct.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),ct.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),ct.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),ct.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),ct.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),ct.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),ct.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),ct.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),ct.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),ct.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),ct.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),ct.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),ct.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),ct.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),ct.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),ct.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),ct.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),ct.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),ct.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),ct.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),ct.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),ct.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),ct.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),ct.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),ct.create("--ft-border-radius-S","SIZE","4px"),ct.create("--ft-border-radius-M","SIZE","8px"),ct.create("--ft-border-radius-L","SIZE","12px"),ct.create("--ft-border-radius-XL","SIZE","16px"),ct.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),ct.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),ct.create("--ft-transition-duration","UNKNOWN","250ms"),ct.create("--ft-transition-timing-function","UNKNOWN","ease-in-out");var ht,pt,dt=function(t,e,i,s){for(var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class ut extends(
57
- /**
58
- * @license
59
- * Copyright 2021 Google LLC
60
- * SPDX-License-Identifier: BSD-3-Clause
61
- */
62
- function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:s}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const o=this.renderOptions.creationScope=this.attachShadow({...s,customElements:t.registry});return u(o,this.constructor.elementStyles),o}}}(at)){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]),I`
63
- ${t.map((t=>I`
64
- <style>${t}</style>
65
- `))}
66
- ${this.getTemplate()}
67
- `}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,s,o,n,r;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 c=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!==(o=null===(s=t.getAttribute("part"))||void 0===s?void 0:s.split(" "))&&void 0!==o?o:[],i=null!==(r=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}dt([s()],ut.prototype,"exportpartsPrefix",void 0),dt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return s({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!n(t,e),...null!=e?e:{}})}([])],ut.prototype,"exportpartsPrefixes",void 0),dt([s()],ut.prototype,"customStylesheet",void 0),d`
56
+ var at,lt;class ct extends N{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 s,o;const n=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:e;let r=n._$litPart$;if(void 0===r){const t=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:null;n._$litPart$=r=new Y(e.insertBefore(F(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return P}}ct.finalized=!0,ct._$litElement$=!0,null===(at=globalThis.litElementHydrateSupport)||void 0===at||at.call(globalThis,{LitElement:ct});const ht=globalThis.litElementPolyfillSupport;null==ht||ht({LitElement:ct}),(null!==(lt=globalThis.litElementVersions)&&void 0!==lt?lt:globalThis.litElementVersions=[]).push("3.3.2");class pt{static create(t,e,i){let s=t=>p(null!=t?t:i),o=d`var(${p(t)}, ${s(i)})`;return o.name=t,o.category=e,o.defaultValue=i,o.defaultCssValue=s,o.get=e=>d`var(${p(t)}, ${s(e)})`,o.breadcrumb=()=>[],o.lastResortDefaultValue=()=>i,o}static extend(t,e,i){let s=t=>e.get(null!=t?t:i),o=d`var(${p(t)}, ${s(i)})`;return o.name=t,o.category=e.category,o.fallbackVariable=e,o.defaultValue=i,o.defaultCssValue=s,o.get=e=>d`var(${p(t)}, ${s(e)})`,o.breadcrumb=()=>[e.name,...e.breadcrumb()],o.lastResortDefaultValue=()=>i,o}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):p(null!=e?e:t.defaultValue),s=d`var(${p(t.name)}, ${i(t.defaultValue)})`;return s.name=t.name,s.category=t.category,s.fallbackVariable=t.fallbackVariable,s.defaultValue=t.defaultValue,s.context=e,s.defaultCssValue=i,s.get=e=>d`var(${p(t.name)}, ${i(e)})`,s.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],s.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},s}}pt.create("--ft-color-primary","COLOR","#2196F3"),pt.create("--ft-color-primary-variant","COLOR","#1976D2"),pt.create("--ft-color-secondary","COLOR","#FFCC80"),pt.create("--ft-color-secondary-variant","COLOR","#F57C00"),pt.create("--ft-color-surface","COLOR","#FFFFFF"),pt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),pt.create("--ft-color-error","COLOR","#B00020"),pt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),pt.create("--ft-color-opacity-high","NUMBER","1"),pt.create("--ft-color-opacity-medium","NUMBER","0.74"),pt.create("--ft-color-opacity-disabled","NUMBER","0.38"),pt.create("--ft-color-on-primary","COLOR","#FFFFFF"),pt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),pt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),pt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),pt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),pt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),pt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),pt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),pt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),pt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),pt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),pt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),pt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),pt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),pt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),pt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),pt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),pt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),pt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),pt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),pt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),pt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),pt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),pt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),pt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),pt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),pt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),pt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),pt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),pt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),pt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),pt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),pt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),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)"),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)"),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)"),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)"),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)"),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)"),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)"),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)"),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)"),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)"),pt.create("--ft-border-radius-S","SIZE","4px"),pt.create("--ft-border-radius-M","SIZE","8px"),pt.create("--ft-border-radius-L","SIZE","12px"),pt.create("--ft-border-radius-XL","SIZE","16px"),pt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),pt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),pt.create("--ft-transition-duration","UNKNOWN","250ms"),pt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out");class dt extends ct{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return u(i,t.elementStyles),i}}var ut,ft=function(t,e,i,s){for(var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const xt=Symbol("constructorPrototype"),vt=Symbol("constructorName"),mt=Symbol("exportpartsDebouncer");class bt extends dt{constructor(){super(),this[ut]=new e(5),this[vt]=this.constructor.name,this[xt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[vt]&&Object.setPrototypeOf(this,this[xt])}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[mt].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,s,o,n,r;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 c=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!==(o=null===(s=t.getAttribute("part"))||void 0===s?void 0:s.split(" "))&&void 0!==o?o:[],i=null!==(r=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}var gt,wt;ut=mt,ft([s()],bt.prototype,"exportpartsPrefix",void 0),ft([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return s({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!n(t,e),...null!=e?e:{}})}([])],bt.prototype,"exportpartsPrefixes",void 0),ft([s()],bt.prototype,"customStylesheet",void 0),d`
68
57
  .ft-no-text-select {
69
58
  -webkit-touch-callout: none;
70
59
  -webkit-user-select: none;
@@ -96,18 +85,18 @@ function(t){return class extends t{createRenderRoot(){const t=this.constructor,{
96
85
  display: inline-block;
97
86
  width: 0;
98
87
  }
99
- `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(pt=null===(ht=window.safari)||void 0===ht?void 0:ht.pushNotification)||void 0===pt||pt.toString());
88
+ `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(wt=null===(gt=window.safari)||void 0===gt?void 0:gt.pushNotification)||void 0===wt||wt.toString());
100
89
  /**
101
90
  * @license
102
91
  * Copyright 2017 Google LLC
103
92
  * SPDX-License-Identifier: BSD-3-Clause
104
93
  */
105
- const ft=2;class xt{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)}}
94
+ const yt=2;class Ot{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
106
95
  /**
107
96
  * @license
108
97
  * Copyright 2017 Google LLC
109
98
  * SPDX-License-Identifier: BSD-3-Clause
110
- */class vt extends xt{constructor(t){if(super(t),this.it=H,t.type!==ft)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this._t=void 0,this.it=t;if(t===D)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:[]}}}vt.directiveName="unsafeHTML",vt.resultType=1;const mt=(t=>(...e)=>({_$litDirective$:t,values:e}))(vt);var bt,gt;t.FtIcons=void 0,(bt=t.FtIcons||(t.FtIcons={})).THUMBS_DOWN="&#xe94d;",bt.THUMBS_DOWN_PLAIN="&#xe94e;",bt.THUMBS_UP="&#xe94f;",bt.THUMBS_UP_PLAIN="&#xe950;",bt.STAR="&#xe94c;",bt.STAR_PLAIN="&#xe900;",bt.DESKTOP="&#xe95e;",bt.TABLET_LANDSCAPE="&#xe95f;",bt.TABLET_PORTRAIT="&#xe960;",bt.MOBILE_LANDSCAPE="&#xe961;",bt.MOBILE_PORTRAIT="&#xe962;",bt.ARROW_RIGHT_TO_LINE="&#xe95d;",bt.THIN_ARROW_UP="&#xe95c;",bt.CONTEXTUAL="&#xe95b;",bt.UNSTRUCTURED_DOC="&#xe95a;",bt.RESET="&#xe958;",bt.THIN_ARROW_LEFT="&#xe956;",bt.THIN_ARROW_RIGHT="&#xe957;",bt.MY_COLLECTIONS="&#xe955;",bt.OFFLINE_SETTINGS="&#xe954;",bt.MY_LIBRARY="&#xe959;",bt.RATE_PLAIN="&#xe952;",bt.RATE="&#xe953;",bt.FEEDBACK_PLAIN="&#xe951;",bt.PAUSE="&#xe949;",bt.PLAY="&#xe94a;",bt.RELATIVES_PLAIN="&#xe947;",bt.RELATIVES="&#xe948;",bt.SHORTCUT_MENU="&#xe946;",bt.PRINT="&#xe944;",bt.DEFAULT_ROLES="&#xe945;",bt.ACCOUNT_SETTINGS="&#xe943;",bt.ONLINE="&#xe941;",bt.OFFLINE="&#xe816;",bt.UPLOAD="&#xe940;",bt.BOOK_PLAIN="&#xe93f;",bt.SYNC="&#xe93d;",bt.SHARED_PBK="&#xe931;",bt.COLLECTIONS="&#xe92a;",bt.SEARCH_IN_PUBLICATION="&#xe92f;",bt.BOOKS="&#xe806;",bt.LOCKER="&#xe93b;",bt.ARROW_DOWN="&#xe92b;",bt.ARROW_LEFT="&#xe92c;",bt.ARROW_RIGHT="&#xe92d;",bt.ARROW_UP="&#xe92e;",bt.SAVE="&#xe93a;",bt.MAILS_AND_NOTIFICATIONS="&#xe939;",bt.DOT="&#xe936;",bt.MINUS="&#xe937;",bt.PLUS="&#xe938;",bt.FILTERS="&#xe935;",bt.STRIPE_ARROW_RIGHT="&#xe934;",bt.STRIPE_ARROW_LEFT="&#xe933;",bt.ATTACHMENTS="&#xe932;",bt.ADD_BOOKMARK="&#xe804;",bt.BOOKMARK="&#xe805;",bt.EXPORT="&#xe80f;",bt.MENU="&#xe807;",bt.TAG="&#xe93e;",bt.TAG_PLAIN="&#xe942;",bt.COPY_TO_CLIPBOARD="&#xe930;",bt.COLUMNS="&#xe928;",bt.ARTICLE="&#xe927;",bt.CLOSE_PLAIN="&#xe925;",bt.CHECK_PLAIN="&#xe926;",bt.LOGOUT="&#xe923;",bt.SIGN_IN="&#xe922;",bt.THIN_ARROW="&#xe921;",bt.TRIANGLE_BOTTOM="&#xe91d;",bt.TRIANGLE_LEFT="&#xe91e;",bt.TRIANGLE_RIGHT="&#xe91f;",bt.TRIANGLE_TOP="&#xe920;",bt.FACET_HAS_DESCENDANT="&#xe91c;",bt.MINUS_PLAIN="&#xe91a;",bt.PLUS_PLAIN="&#xe91b;",bt.INFO="&#xe919;",bt.ICON_EXPAND="&#xe917;",bt.ICON_COLLAPSE="&#xe918;",bt.ADD_TO_PBK="&#xe800;",bt.ALERT="&#xe801;",bt.ADD_ALERT="&#xe802;",bt.BACK_TO_SEARCH="&#xe803;",bt.DOWNLOAD="&#xe808;",bt.EDIT="&#xe809;",bt.FEEDBACK="&#xe80a;",bt.MODIFY_PBK="&#xe80c;",bt.SCHEDULED="&#xe80d;",bt.SEARCH="&#xe80e;",bt.SHARE="&#xe80f1;",bt.TOC="&#xe810;",bt.WRITE_UGC="&#xe811;",bt.TRASH="&#xe812;",bt.EXTLINK="&#xe814;",bt.CALENDAR="&#xe815;",bt.BOOK="&#xe817;",bt.DOWNLOAD_PLAIN="&#xe818;",bt.CHECK="&#xe819;",bt.TOPICS="&#xe901;",bt.EYE="&#xf06e;",bt.DISC="&#xe902;",bt.CIRCLE="&#xe903;",bt.SHARED="&#xe904;",bt.SORT_UNSORTED="&#xe905;",bt.SORT_UP="&#xe906;",bt.SORT_DOWN="&#xe907;",bt.WORKING="&#xe908;",bt.CLOSE="&#xe909;",bt.ZOOM_OUT="&#xe90a;",bt.ZOOM_IN="&#xe90b;",bt.ZOOM_REALSIZE="&#xe90c;",bt.ZOOM_FULLSCREEN="&#xe90d;",bt.ADMIN_RESTRICTED="&#xe90e;",bt.ADMIN_THEME="&#xe911;",bt.WARNING="&#xe913;",bt.CONTEXT="&#xe914;",bt.SEARCH_HOME="&#xe915;",bt.STEPS="&#xe916;",bt.HOME="&#xe80b;",bt.TRANSLATE="&#xe924;",bt.USER="&#xe813;",bt.ADMIN="&#xe90f;",bt.ANALYTICS="&#xe929;",bt.ADMIN_KHUB="&#xe910;",bt.ADMIN_USERS="&#xe912;",bt.ADMIN_INTEGRATION="&#xe93c;",bt.ADMIN_PORTAL="&#xe94b;",t.FtFileFormatIcons=void 0,(gt=t.FtFileFormatIcons||(t.FtFileFormatIcons={})).UNKNOWN="&#xe90a;",gt.ABW="&#xe900;",gt.AUDIO="&#xe901;",gt.AVI="&#xe902;",gt.CHM="&#xe904;",gt.CODE="&#xe905;",gt.CSV="&#xe903;",gt.DITA="&#xe906;",gt.EPUB="&#xe907;",gt.EXCEL="&#xe908;",gt.FLAC="&#xe909;",gt.GIF="&#xe90b;",gt.GZIP="&#xe90c;",gt.HTML="&#xe90d;",gt.IMAGE="&#xe90e;",gt.JPEG="&#xe90f;",gt.JSON="&#xe910;",gt.M4A="&#xe911;",gt.MOV="&#xe912;",gt.MP3="&#xe913;",gt.MP4="&#xe914;",gt.OGG="&#xe915;",gt.PDF="&#xe916;",gt.PNG="&#xe917;",gt.POWERPOINT="&#xe918;",gt.RAR="&#xe91a;",gt.STP="&#xe91b;",gt.TEXT="&#xe91c;",gt.VIDEO="&#xe91e;",gt.WAV="&#xe91f;",gt.WMA="&#xe920;",gt.WORD="&#xe921;",gt.XML="&#xe922;",gt.YAML="&#xe919;",gt.ZIP="&#xe923;";const wt=new Map([...["abw"].map((e=>[e,t.FtFileFormatIcons.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((e=>[e,t.FtFileFormatIcons.AUDIO])),...["avi"].map((e=>[e,t.FtFileFormatIcons.AVI])),...["chm","xhs"].map((e=>[e,t.FtFileFormatIcons.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((e=>[e,t.FtFileFormatIcons.CODE])),...["csv"].map((e=>[e,t.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((e=>[e,t.FtFileFormatIcons.DITA])),...["epub"].map((e=>[e,t.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((e=>[e,t.FtFileFormatIcons.EXCEL])),...["flac"].map((e=>[e,t.FtFileFormatIcons.FLAC])),...["gif"].map((e=>[e,t.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((e=>[e,t.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((e=>[e,t.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((e=>[e,t.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((e=>[e,t.FtFileFormatIcons.JPEG])),...["json"].map((e=>[e,t.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((e=>[e,t.FtFileFormatIcons.M4A])),...["mov","qt"].map((e=>[e,t.FtFileFormatIcons.MOV])),...["mp3"].map((e=>[e,t.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((e=>[e,t.FtFileFormatIcons.MP4])),...["ogg","oga"].map((e=>[e,t.FtFileFormatIcons.OGG])),...["pdf","ps"].map((e=>[e,t.FtFileFormatIcons.PDF])),...["png"].map((e=>[e,t.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((e=>[e,t.FtFileFormatIcons.POWERPOINT])),...["rar"].map((e=>[e,t.FtFileFormatIcons.RAR])),...["stp"].map((e=>[e,t.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((e=>[e,t.FtFileFormatIcons.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((e=>[e,t.FtFileFormatIcons.VIDEO])),...["wav"].map((e=>[e,t.FtFileFormatIcons.WAV])),...["wma"].map((e=>[e,t.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((e=>[e,t.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((e=>[e,t.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((e=>[e,t.FtFileFormatIcons.YAML])),...["zip"].map((e=>[e,t.FtFileFormatIcons.ZIP]))]),yt=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);const Ot={size:ct.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ct.extend("--ft-icon-fluid-topics-font-family",ct.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ct.extend("--ft-icon-file-format-font-family",ct.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ct.extend("--ft-icon-material-font-family",ct.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:ct.create("--ft-icon-vertical-align","UNKNOWN","unset")},Nt=d`
99
+ */class Nt extends Ot{constructor(t){if(super(t),this.et=Z,t.type!==yt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.ft=void 0,this.et=t;if(t===P)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Nt.directiveName="unsafeHTML",Nt.resultType=1;const Et=(t=>(...e)=>({_$litDirective$:t,values:e}))(Nt);var Ct,Rt;t.FtIcons=void 0,(Ct=t.FtIcons||(t.FtIcons={})).THUMBS_DOWN="&#xe94d;",Ct.THUMBS_DOWN_PLAIN="&#xe94e;",Ct.THUMBS_UP="&#xe94f;",Ct.THUMBS_UP_PLAIN="&#xe950;",Ct.STAR="&#xe94c;",Ct.STAR_PLAIN="&#xe900;",Ct.DESKTOP="&#xe95e;",Ct.TABLET_LANDSCAPE="&#xe95f;",Ct.TABLET_PORTRAIT="&#xe960;",Ct.MOBILE_LANDSCAPE="&#xe961;",Ct.MOBILE_PORTRAIT="&#xe962;",Ct.ARROW_RIGHT_TO_LINE="&#xe95d;",Ct.THIN_ARROW_UP="&#xe95c;",Ct.CONTEXTUAL="&#xe95b;",Ct.UNSTRUCTURED_DOC="&#xe95a;",Ct.RESET="&#xe958;",Ct.THIN_ARROW_LEFT="&#xe956;",Ct.THIN_ARROW_RIGHT="&#xe957;",Ct.MY_COLLECTIONS="&#xe955;",Ct.OFFLINE_SETTINGS="&#xe954;",Ct.MY_LIBRARY="&#xe959;",Ct.RATE_PLAIN="&#xe952;",Ct.RATE="&#xe953;",Ct.FEEDBACK_PLAIN="&#xe951;",Ct.PAUSE="&#xe949;",Ct.PLAY="&#xe94a;",Ct.RELATIVES_PLAIN="&#xe947;",Ct.RELATIVES="&#xe948;",Ct.SHORTCUT_MENU="&#xe946;",Ct.PRINT="&#xe944;",Ct.DEFAULT_ROLES="&#xe945;",Ct.ACCOUNT_SETTINGS="&#xe943;",Ct.ONLINE="&#xe941;",Ct.OFFLINE="&#xe816;",Ct.UPLOAD="&#xe940;",Ct.BOOK_PLAIN="&#xe93f;",Ct.SYNC="&#xe93d;",Ct.SHARED_PBK="&#xe931;",Ct.COLLECTIONS="&#xe92a;",Ct.SEARCH_IN_PUBLICATION="&#xe92f;",Ct.BOOKS="&#xe806;",Ct.LOCKER="&#xe93b;",Ct.ARROW_DOWN="&#xe92b;",Ct.ARROW_LEFT="&#xe92c;",Ct.ARROW_RIGHT="&#xe92d;",Ct.ARROW_UP="&#xe92e;",Ct.SAVE="&#xe93a;",Ct.MAILS_AND_NOTIFICATIONS="&#xe939;",Ct.DOT="&#xe936;",Ct.MINUS="&#xe937;",Ct.PLUS="&#xe938;",Ct.FILTERS="&#xe935;",Ct.STRIPE_ARROW_RIGHT="&#xe934;",Ct.STRIPE_ARROW_LEFT="&#xe933;",Ct.ATTACHMENTS="&#xe932;",Ct.ADD_BOOKMARK="&#xe804;",Ct.BOOKMARK="&#xe805;",Ct.EXPORT="&#xe80f;",Ct.MENU="&#xe807;",Ct.TAG="&#xe93e;",Ct.TAG_PLAIN="&#xe942;",Ct.COPY_TO_CLIPBOARD="&#xe930;",Ct.COLUMNS="&#xe928;",Ct.ARTICLE="&#xe927;",Ct.CLOSE_PLAIN="&#xe925;",Ct.CHECK_PLAIN="&#xe926;",Ct.LOGOUT="&#xe923;",Ct.SIGN_IN="&#xe922;",Ct.THIN_ARROW="&#xe921;",Ct.TRIANGLE_BOTTOM="&#xe91d;",Ct.TRIANGLE_LEFT="&#xe91e;",Ct.TRIANGLE_RIGHT="&#xe91f;",Ct.TRIANGLE_TOP="&#xe920;",Ct.FACET_HAS_DESCENDANT="&#xe91c;",Ct.MINUS_PLAIN="&#xe91a;",Ct.PLUS_PLAIN="&#xe91b;",Ct.INFO="&#xe919;",Ct.ICON_EXPAND="&#xe917;",Ct.ICON_COLLAPSE="&#xe918;",Ct.ADD_TO_PBK="&#xe800;",Ct.ALERT="&#xe801;",Ct.ADD_ALERT="&#xe802;",Ct.BACK_TO_SEARCH="&#xe803;",Ct.DOWNLOAD="&#xe808;",Ct.EDIT="&#xe809;",Ct.FEEDBACK="&#xe80a;",Ct.MODIFY_PBK="&#xe80c;",Ct.SCHEDULED="&#xe80d;",Ct.SEARCH="&#xe80e;",Ct.SHARE="&#xe80f1;",Ct.TOC="&#xe810;",Ct.WRITE_UGC="&#xe811;",Ct.TRASH="&#xe812;",Ct.EXTLINK="&#xe814;",Ct.CALENDAR="&#xe815;",Ct.BOOK="&#xe817;",Ct.DOWNLOAD_PLAIN="&#xe818;",Ct.CHECK="&#xe819;",Ct.TOPICS="&#xe901;",Ct.EYE="&#xf06e;",Ct.DISC="&#xe902;",Ct.CIRCLE="&#xe903;",Ct.SHARED="&#xe904;",Ct.SORT_UNSORTED="&#xe905;",Ct.SORT_UP="&#xe906;",Ct.SORT_DOWN="&#xe907;",Ct.WORKING="&#xe908;",Ct.CLOSE="&#xe909;",Ct.ZOOM_OUT="&#xe90a;",Ct.ZOOM_IN="&#xe90b;",Ct.ZOOM_REALSIZE="&#xe90c;",Ct.ZOOM_FULLSCREEN="&#xe90d;",Ct.ADMIN_RESTRICTED="&#xe90e;",Ct.ADMIN_THEME="&#xe911;",Ct.WARNING="&#xe913;",Ct.CONTEXT="&#xe914;",Ct.SEARCH_HOME="&#xe915;",Ct.STEPS="&#xe916;",Ct.HOME="&#xe80b;",Ct.TRANSLATE="&#xe924;",Ct.USER="&#xe813;",Ct.ADMIN="&#xe90f;",Ct.ANALYTICS="&#xe929;",Ct.ADMIN_KHUB="&#xe910;",Ct.ADMIN_USERS="&#xe912;",Ct.ADMIN_INTEGRATION="&#xe93c;",Ct.ADMIN_PORTAL="&#xe94b;",t.FtFileFormatIcons=void 0,(Rt=t.FtFileFormatIcons||(t.FtFileFormatIcons={})).UNKNOWN="&#xe90a;",Rt.ABW="&#xe900;",Rt.AUDIO="&#xe901;",Rt.AVI="&#xe902;",Rt.CHM="&#xe904;",Rt.CODE="&#xe905;",Rt.CSV="&#xe903;",Rt.DITA="&#xe906;",Rt.EPUB="&#xe907;",Rt.EXCEL="&#xe908;",Rt.FLAC="&#xe909;",Rt.GIF="&#xe90b;",Rt.GZIP="&#xe90c;",Rt.HTML="&#xe90d;",Rt.IMAGE="&#xe90e;",Rt.JPEG="&#xe90f;",Rt.JSON="&#xe910;",Rt.M4A="&#xe911;",Rt.MOV="&#xe912;",Rt.MP3="&#xe913;",Rt.MP4="&#xe914;",Rt.OGG="&#xe915;",Rt.PDF="&#xe916;",Rt.PNG="&#xe917;",Rt.POWERPOINT="&#xe918;",Rt.RAR="&#xe91a;",Rt.STP="&#xe91b;",Rt.TEXT="&#xe91c;",Rt.VIDEO="&#xe91e;",Rt.WAV="&#xe91f;",Rt.WMA="&#xe920;",Rt.WORD="&#xe921;",Rt.XML="&#xe922;",Rt.YAML="&#xe919;",Rt.ZIP="&#xe923;";const $t=new Map([...["abw"].map((e=>[e,t.FtFileFormatIcons.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((e=>[e,t.FtFileFormatIcons.AUDIO])),...["avi"].map((e=>[e,t.FtFileFormatIcons.AVI])),...["chm","xhs"].map((e=>[e,t.FtFileFormatIcons.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((e=>[e,t.FtFileFormatIcons.CODE])),...["csv"].map((e=>[e,t.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((e=>[e,t.FtFileFormatIcons.DITA])),...["epub"].map((e=>[e,t.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((e=>[e,t.FtFileFormatIcons.EXCEL])),...["flac"].map((e=>[e,t.FtFileFormatIcons.FLAC])),...["gif"].map((e=>[e,t.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((e=>[e,t.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((e=>[e,t.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((e=>[e,t.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((e=>[e,t.FtFileFormatIcons.JPEG])),...["json"].map((e=>[e,t.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((e=>[e,t.FtFileFormatIcons.M4A])),...["mov","qt"].map((e=>[e,t.FtFileFormatIcons.MOV])),...["mp3"].map((e=>[e,t.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((e=>[e,t.FtFileFormatIcons.MP4])),...["ogg","oga"].map((e=>[e,t.FtFileFormatIcons.OGG])),...["pdf","ps"].map((e=>[e,t.FtFileFormatIcons.PDF])),...["png"].map((e=>[e,t.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((e=>[e,t.FtFileFormatIcons.POWERPOINT])),...["rar"].map((e=>[e,t.FtFileFormatIcons.RAR])),...["stp"].map((e=>[e,t.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((e=>[e,t.FtFileFormatIcons.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((e=>[e,t.FtFileFormatIcons.VIDEO])),...["wav"].map((e=>[e,t.FtFileFormatIcons.WAV])),...["wma"].map((e=>[e,t.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((e=>[e,t.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((e=>[e,t.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((e=>[e,t.FtFileFormatIcons.YAML])),...["zip"].map((e=>[e,t.FtFileFormatIcons.ZIP]))]),St=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);const Mt={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")},kt=d`
111
100
  :host, i.ft-icon {
112
101
  display: inline-flex;
113
102
  align-items: center;
@@ -116,14 +105,14 @@ const ft=2;class xt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
116
105
  }
117
106
 
118
107
  :host {
119
- width: ${Ot.size};
120
- height: ${Ot.size};
108
+ width: ${Mt.size};
109
+ height: ${Mt.size};
121
110
  }
122
111
 
123
112
  i.ft-icon {
124
113
  width: 100%;
125
114
  height: 100%;
126
- font-size: ${Ot.size};
115
+ font-size: ${Mt.size};
127
116
  line-height: 1;
128
117
  font-weight: normal;
129
118
  text-transform: none;
@@ -134,40 +123,40 @@ const ft=2;class xt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
134
123
  text-rendering: auto;
135
124
  -webkit-font-smoothing: antialiased;
136
125
  -moz-osx-font-smoothing: grayscale;
137
- vertical-align: ${Ot.verticalAlign};
126
+ vertical-align: ${Mt.verticalAlign};
138
127
  }
139
128
 
140
129
  i.ft-icon.ft-icon--fluid-topics {
141
- font-family: ${Ot.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
130
+ font-family: ${Mt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
142
131
 
143
132
  /* Ugly fix because font is broken */
144
- font-size: calc(0.9 * ${Ot.size});
133
+ font-size: calc(0.75 * ${Mt.size});
145
134
  position: relative;
146
- top: -5%;
135
+ top: -4%;
147
136
  justify-content: center;
148
137
  }
149
138
 
150
139
  .ft-icon--file-format {
151
- font-family: ${Ot.fileFormatFontFamily}, ft-mime, sans-serif;
140
+ font-family: ${Mt.fileFormatFontFamily}, ft-mime, sans-serif;
152
141
  }
153
142
 
154
143
  .ft-icon--material {
155
- font-family: ${Ot.materialFontFamily}, "Material Icons", sans-serif;
144
+ font-family: ${Mt.materialFontFamily}, "Material Icons", sans-serif;
156
145
  }
157
- `;var Et;t.FtIconVariants=void 0,(Et=t.FtIconVariants||(t.FtIconVariants={})).fluid_topics="fluid-topics",Et.file_format="file-format",Et.material="material";var $t,Rt=function(t,e,i,s){for(var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ct extends ut{constructor(){super(...arguments),this.resolvedIcon=H}render(){var e;const i=null!==(e=this.variant)&&void 0!==e?e:t.FtIconVariants.fluid_topics,s="material"!==i||this.value;return I`
158
- <i class="ft-icon ${"ft-icon--"+i}">
159
- ${mt(this.resolvedIcon)}
160
- <slot ?hidden=${s}></slot>
146
+ `;var Ut;t.FtIconVariants=void 0,(Ut=t.FtIconVariants||(t.FtIconVariants={})).fluid_topics="fluid-topics",Ut.file_format="file-format",Ut.material="material";var jt,Ft=function(t,e,i,s){for(var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class At extends bt{constructor(){super(...arguments),this.resolvedIcon=Z}render(){const e=this.variant&&Object.values(t.FtIconVariants).includes(this.variant)?this.variant:t.FtIconVariants.fluid_topics,i=e!==t.FtIconVariants.material||!!this.value;return H`
147
+ <i class="ft-icon ${"ft-icon--"+e}">
148
+ ${Et(this.resolvedIcon)}
149
+ <slot ?hidden=${i}></slot>
161
150
  </i>
162
- `}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 e,i;let s=this.value||this.textContent;switch(this.variant){case t.FtIconVariants.file_format:this.resolvedIcon=null!==(e=t.FtFileFormatIcons[s.replace("-","_").toUpperCase()])&&void 0!==e?e:s;break;case t.FtIconVariants.material:this.resolvedIcon=this.value||H;break;default:this.resolvedIcon=null!==(i=t.FtIcons[s.replace("-","_").toUpperCase()])&&void 0!==i?i:s}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ct.elementDefinitions={},Ct.styles=Nt,Rt([s()],Ct.prototype,"variant",void 0),Rt([s()],Ct.prototype,"value",void 0),Rt([function(t){return s({...t,state:!0})}
151
+ `}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 e,i;let s=this.value||this.textContent;switch(this.variant){case t.FtIconVariants.file_format:this.resolvedIcon=null!==(e=t.FtFileFormatIcons[s.replace("-","_").toUpperCase()])&&void 0!==e?e:s;break;case t.FtIconVariants.material:this.resolvedIcon=this.value||Z;break;default:this.resolvedIcon=null!==(i=t.FtIcons[s.replace("-","_").toUpperCase()])&&void 0!==i?i:s}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}At.elementDefinitions={},At.styles=kt,Ft([s()],At.prototype,"variant",void 0),Ft([s()],At.prototype,"value",void 0),Ft([function(t){return s({...t,state:!0})}
163
152
  /**
164
153
  * @license
165
154
  * Copyright 2017 Google LLC
166
155
  * SPDX-License-Identifier: BSD-3-Clause
167
- */()],Ct.prototype,"resolvedIcon",void 0),Rt([
156
+ */()],At.prototype,"resolvedIcon",void 0),Ft([
168
157
  /**
169
158
  * @license
170
159
  * Copyright 2017 Google LLC
171
160
  * SPDX-License-Identifier: BSD-3-Clause
172
161
  */
173
- function(t,e){return(({finisher:t,descriptor:e})=>(i,s)=>{var o;if(void 0===s){const s=null!==(o=i.originalKey)&&void 0!==o?o:i.key,n=null!=e?{kind:"method",placement:"prototype",key:s,descriptor:e(i.key)}:{...i,key:s};return null!=t&&(n.finisher=function(e){t(e,s)}),n}{const o=i.constructor;void 0!==e&&Object.defineProperty(i,s,e(s)),null==t||t(o,s)}})({descriptor:i=>{const s={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;s.get=function(){var i,s;return void 0===this[e]&&(this[e]=null!==(s=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==s?s:null),this[e]}}return s}})}("slot")],Ct.prototype,"slottedContent",void 0),($t="ft-icon",t=>{window.customElements.get($t)||window.customElements.define($t,t)})(Ct),t.FtIcon=Ct,t.FtIconCssVariables=Ot,t.resolveFileFormatIcon=function(e,i){var s,o,n,r;e=(null!=e?e:"").toLowerCase(),i=(null!=i?i:"").toLowerCase();const[a,l]=((null!==(s=yt.get(e))&&void 0!==s?s:e)+"/").split("/");return null!==(r=null!==(n=null!==(o=wt.get(l))&&void 0!==o?o:wt.get(i))&&void 0!==n?n:wt.get(a))&&void 0!==r?r:t.FtFileFormatIcons.UNKNOWN},t.styles=Nt,Object.defineProperty(t,"i",{value:!0})}({});
162
+ function(t,e){return(({finisher:t,descriptor:e})=>(i,s)=>{var o;if(void 0===s){const s=null!==(o=i.originalKey)&&void 0!==o?o:i.key,n=null!=e?{kind:"method",placement:"prototype",key:s,descriptor:e(i.key)}:{...i,key:s};return null!=t&&(n.finisher=function(e){t(e,s)}),n}{const o=i.constructor;void 0!==e&&Object.defineProperty(i,s,e(s)),null==t||t(o,s)}})({descriptor:i=>{const s={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;s.get=function(){var i,s;return void 0===this[e]&&(this[e]=null!==(s=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==s?s:null),this[e]}}return s}})}("slot")],At.prototype,"slottedContent",void 0),(jt="ft-icon",t=>{window.customElements.get(jt)||window.customElements.define(jt,t)})(At),t.FtIcon=At,t.FtIconCssVariables=Mt,t.resolveFileFormatIcon=function(e,i){var s,o,n,r;e=(null!=e?e:"").toLowerCase(),i=(null!=i?i:"").toLowerCase();const[a,l]=((null!==(s=St.get(e))&&void 0!==s?s:e)+"/").split("/");return null!==(r=null!==(n=null!==(o=$t.get(l))&&void 0!==o?o:$t.get(i))&&void 0!==n?n:$t.get(a))&&void 0!==r?r:t.FtFileFormatIcons.UNKNOWN},t.styles=kt}({});
@@ -7,4 +7,3 @@ export interface FtIconProperties {
7
7
  variant?: FtIconVariants;
8
8
  value?: string;
9
9
  }
10
- //# sourceMappingURL=ft-icon.properties.d.ts.map
@@ -4,4 +4,3 @@ export var FtIconVariants;
4
4
  FtIconVariants["file_format"] = "file-format";
5
5
  FtIconVariants["material"] = "material";
6
6
  })(FtIconVariants || (FtIconVariants = {}));
7
- //# sourceMappingURL=ft-icon.properties.js.map
package/build/icons.d.ts CHANGED
@@ -165,4 +165,3 @@ export declare enum FtFileFormatIcons {
165
165
  ZIP = "&#xe923;"
166
166
  }
167
167
  export declare function resolveFileFormatIcon(mimeType: string | undefined, extension: string | undefined): FtFileFormatIcons;
168
- //# sourceMappingURL=icons.d.ts.map
package/build/icons.js CHANGED
@@ -232,4 +232,3 @@ export function resolveFileFormatIcon(mimeType, extension) {
232
232
  const [type, subType] = (((_a = simplifier.get(mimeType)) !== null && _a !== void 0 ? _a : mimeType) + "/").split("/");
233
233
  return (_d = (_c = (_b = resolutions.get(subType)) !== null && _b !== void 0 ? _b : resolutions.get(extension)) !== null && _c !== void 0 ? _c : resolutions.get(type)) !== null && _d !== void 0 ? _d : FtFileFormatIcons.UNKNOWN;
234
234
  }
235
- //# sourceMappingURL=icons.js.map
package/build/index.d.ts CHANGED
@@ -2,4 +2,3 @@ export * from "./ft-icon.css";
2
2
  export * from "./ft-icon.properties";
3
3
  export * from "./ft-icon";
4
4
  export * from "./icons";
5
- //# sourceMappingURL=index.d.ts.map
package/build/index.js CHANGED
@@ -5,4 +5,3 @@ export * from "./ft-icon.properties";
5
5
  export * from "./ft-icon";
6
6
  export * from "./icons";
7
7
  customElement("ft-icon")(FtIcon);
8
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-icon",
3
- "version": "0.3.71",
3
+ "version": "1.0.0-alpha.1",
4
4
  "description": "Typography components",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,8 +19,8 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "0.3.71",
23
- "lit": "2.2.8"
22
+ "@fluid-topics/ft-wc-utils": "1.0.0-alpha.1",
23
+ "lit": "2.7.2"
24
24
  },
25
- "gitHead": "aeaa883cc0e3596e6cc75d282aa99de3c603f6a2"
25
+ "gitHead": "bb54c217f788a915a443db6f496f02e176d05306"
26
26
  }