@fluid-topics/ft-collapsible 0.2.16 → 0.2.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=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,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let p=i.call(o,t);p||(p=c(t),e.call(o,t,p)),this===window.customElements&&(r.set(n,h),h.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=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),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!h(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},c=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=p(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const v=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const 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=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(pi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class t{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=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,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let p=i.call(o,t);p||(p=c(t),e.call(o,t,p)),this===window.customElements&&(r.set(n,h),h.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){v.push(this),o.upgrade.apply(o,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 o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=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),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!h(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},c=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=p(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const b=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const x=(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(x(Element,"innerHTML"),x(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const 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=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(ci){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class t{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -39,39 +39,40 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
39
39
  * @license
40
40
  * Copyright 2021 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */var r;const a=null!=(null===(r=window.HTMLSlotElement)||void 0===r?void 0:r.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));const l=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}
42
+ */var r;const a=null!=(null===(r=window.HTMLSlotElement)||void 0===r?void 0:r.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));const l=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2019 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
- */,h=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),c=new Map;class f{constructor(t,e){if(this._$cssResult$=!0,e!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=c.get(this.cssText);return h&&void 0===t&&(c.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const d=t=>new f("string"==typeof t?t:t+"",p),u=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new f(i,p)},y=(t,e)=>{h?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},b=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return d(e)})(t):t
47
+ */
48
+ const h=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),c=new Map;class f{constructor(t,e){if(this._$cssResult$=!0,e!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=c.get(this.cssText);return h&&void 0===t&&(c.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const d=t=>new f("string"==typeof t?t:t+"",p),u=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new f(i,p)},y=(t,e)=>{h?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},v=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return d(e)})(t):t
48
49
  /**
49
50
  * @license
50
51
  * Copyright 2017 Google LLC
51
52
  * SPDX-License-Identifier: BSD-3-Clause
52
- */;var v;const g=window.trustedTypes,x=g?g.emptyScript:"",m=window.reactiveElementPolyfillSupport,w={toAttribute(t,e){switch(e){case Boolean:t=t?x:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},$=(t,e)=>e!==t&&(e==e||t==t),O={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:$};class S extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=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,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||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._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(b(t))}else void 0!==t&&e.push(b(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return y(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=O){var o,n;const s=this.constructor._$Eh(t,i);if(void 0!==s&&!0===i.reflect){const r=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:w.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(s):this.setAttribute(s,r),this._$Ei=null}}_$AK(t,e){var i,o,n;const s=this.constructor,r=s._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=s.getPropertyOptions(r),a=t.converter,l=null!==(n=null!==(o=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==n?n:w.fromAttribute;this._$Ei=r,this[r]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||$)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
53
+ */;var b;const x=window.trustedTypes,g=x?x.emptyScript:"",m=window.reactiveElementPolyfillSupport,w={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},$=(t,e)=>e!==t&&(e==e||t==t),O={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:$};class S extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=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,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||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._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(v(t))}else void 0!==t&&e.push(v(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return y(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=O){var o,n;const s=this.constructor._$Eh(t,i);if(void 0!==s&&!0===i.reflect){const r=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:w.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(s):this.setAttribute(s,r),this._$Ei=null}}_$AK(t,e){var i,o,n;const s=this.constructor,r=s._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=s.getPropertyOptions(r),a=t.converter,l=null!==(n=null!==(o=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==n?n:w.fromAttribute;this._$Ei=r,this[r]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||$)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
53
54
  /**
54
55
  * @license
55
56
  * Copyright 2017 Google LLC
56
57
  * SPDX-License-Identifier: BSD-3-Clause
57
58
  */
58
- var k;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:S}),(null!==(v=globalThis.reactiveElementVersions)&&void 0!==v?v:globalThis.reactiveElementVersions=[]).push("1.3.2");const C=globalThis.trustedTypes,N=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,M=`<${R}>`,z=document,F=(t="")=>z.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,L=/>/g,A=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,_=/'/g,D=/"/g,P=/^(?:script|style|textarea|title)$/i,I=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,Z=z.createTreeWalker(z,129,null,!1),V=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=j;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,p=0;for(;p<i.length&&(r.lastIndex=p,l=r.exec(i),null!==l);)p=r.lastIndex,r===j?"!--"===l[1]?r=T:void 0!==l[1]?r=L:void 0!==l[2]?(P.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=A):void 0!==l[3]&&(r=A):r===A?">"===l[0]?(r=null!=n?n:j,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?A:'"'===l[3]?D:_):r===D||r===_?r=A:r===T||r===L?r=j:(r=A,n=void 0);const c=r===A&&t[e+1].startsWith("/>")?" ":"";s+=r===j?i+M:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+E+c):i+E+(-2===h?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==N?N.createHTML(a):a,o]};class q{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=V(t,e);if(this.el=q.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!==(o=Z.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?Q:"?"===e[1]?et:"@"===e[1]?it:G})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(P.test(o.tagName)){const t=o.textContent.split(E),e=t.length-1;if(e>0){o.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],F()),Z.nextNode(),a.push({type:2,index:++n});o.append(t[e],F())}}}else if(8===o.nodeType)if(o.data===R)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(E,t+1));)a.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,e){const i=z.createElement("template");return i.innerHTML=t,i}}function X(t,e,i=t,o){var n,s,r,a;if(e===W)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const h=U(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=X(t,l._$AS(t,e.values),l,o)),e}class J{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:z).importNode(i,!0);Z.currentNode=n;let s=Z.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new Y(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new ot(s,this,t)),this.v.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=Z.nextNode(),r++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{constructor(t,e,i,o){var n;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=X(this,t,e),U(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==W&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return B(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==H&&U(this._$AH)?this._$AA.nextSibling.data=t:this.k(z.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new J(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new q(t)),e}S(t){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new Y(this.M(F()),this.M(F()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class G{constructor(t,e,i,o,n){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=X(this,t,e,0),s=!U(t)||t!==this._$AH&&t!==W,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=X(this,o[i+r],e,r),a===W&&(a=this._$AH[r]),s||(s=!U(a)||a!==this._$AH[r]),a===H?t=H:t!==H&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.C(t)}C(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Q extends G{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===H?void 0:t}}const tt=C?C.emptyScript:"";class et extends G{constructor(){super(...arguments),this.type=4}C(t){t&&t!==H?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class it extends G{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=X(this,t,e,0))&&void 0!==i?i:H)===W)return;const o=this._$AH,n=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==H&&(o===H||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ot{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){X(this,t)}}const nt=window.litHtmlPolyfillSupport;
59
+ var k;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:S}),(null!==(b=globalThis.reactiveElementVersions)&&void 0!==b?b:globalThis.reactiveElementVersions=[]).push("1.3.2");const C=globalThis.trustedTypes,N=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,M=`<${R}>`,z=document,F=(t="")=>z.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,A=/>/g,L=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,_=/'/g,D=/"/g,P=/^(?:script|style|textarea|title)$/i,I=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,Z=z.createTreeWalker(z,129,null,!1),V=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=j;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,p=0;for(;p<i.length&&(r.lastIndex=p,l=r.exec(i),null!==l);)p=r.lastIndex,r===j?"!--"===l[1]?r=T:void 0!==l[1]?r=A:void 0!==l[2]?(P.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=L):void 0!==l[3]&&(r=L):r===L?">"===l[0]?(r=null!=n?n:j,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?L:'"'===l[3]?D:_):r===D||r===_?r=L:r===T||r===A?r=j:(r=L,n=void 0);const c=r===L&&t[e+1].startsWith("/>")?" ":"";s+=r===j?i+M:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+E+c):i+E+(-2===h?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==N?N.createHTML(a):a,o]};class J{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=V(t,e);if(this.el=J.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!==(o=Z.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?Q:"?"===e[1]?et:"@"===e[1]?it:G})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(P.test(o.tagName)){const t=o.textContent.split(E),e=t.length-1;if(e>0){o.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],F()),Z.nextNode(),a.push({type:2,index:++n});o.append(t[e],F())}}}else if(8===o.nodeType)if(o.data===R)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(E,t+1));)a.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,e){const i=z.createElement("template");return i.innerHTML=t,i}}function q(t,e,i=t,o){var n,s,r,a;if(e===W)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const h=U(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=q(t,l._$AS(t,e.values),l,o)),e}class X{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:z).importNode(i,!0);Z.currentNode=n;let s=Z.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new Y(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new ot(s,this,t)),this.v.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=Z.nextNode(),r++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{constructor(t,e,i,o){var n;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=q(this,t,e),U(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==W&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return B(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==H&&U(this._$AH)?this._$AA.nextSibling.data=t:this.k(z.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=J.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new X(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new J(t)),e}S(t){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new Y(this.M(F()),this.M(F()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class G{constructor(t,e,i,o,n){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=q(this,t,e,0),s=!U(t)||t!==this._$AH&&t!==W,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=q(this,o[i+r],e,r),a===W&&(a=this._$AH[r]),s||(s=!U(a)||a!==this._$AH[r]),a===H?t=H:t!==H&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.C(t)}C(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Q extends G{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===H?void 0:t}}const tt=C?C.emptyScript:"";class et extends G{constructor(){super(...arguments),this.type=4}C(t){t&&t!==H?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class it extends G{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=q(this,t,e,0))&&void 0!==i?i:H)===W)return;const o=this._$AH,n=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==H&&(o===H||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ot{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 nt=window.litHtmlPolyfillSupport;
59
60
  /**
60
61
  * @license
61
62
  * Copyright 2017 Google LLC
62
63
  * SPDX-License-Identifier: BSD-3-Clause
63
64
  */
64
- var st,rt;null==nt||nt(q,Y),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k:globalThis.litHtmlVersions=[]).push("2.2.4");class at extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$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._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return W}}at.finalized=!0,at._$litElement$=!0,null===(st=globalThis.litElementHydrateSupport)||void 0===st||st.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.0");class ht{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new ht(t,e,void 0,i)}static extend(t,e,i){return new ht(t,e.category,e,i)}static external(t,e){return new ht(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return u`var(${d(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):d(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function pt(t,e){return d(`${t.name}: ${e}`)}const ct={colorPrimary:ht.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ht.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ht.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ht.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ht.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ht.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ht.create("--ft-color-error","COLOR","#B00020"),colorOutline:ht.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ht.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ht.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ht.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ht.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ht.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ht.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ht.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ht.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ht.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ht.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ht.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ht.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ht.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ht.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ht.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ht.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ht.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ht.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ht.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ht.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ht.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ht.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ht.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ht.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ht.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ht.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ht.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ht.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ht.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ht.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ht.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ht.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ht.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ht.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ht.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ht.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ht.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ht.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ht.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ht.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ht.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ht.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ht.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ht.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ht.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ht.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ht.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ht.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ht.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ht.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ht.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ht.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ht.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ht.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
65
+ var st,rt;null==nt||nt(J,Y),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k:globalThis.litHtmlVersions=[]).push("2.2.4");class at extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$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._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return W}}at.finalized=!0,at._$litElement$=!0,null===(st=globalThis.litElementHydrateSupport)||void 0===st||st.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.0");class ht{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new ht(t,e,void 0,i)}static extend(t,e,i){return new ht(t,e.category,e,i)}static external(t,e){return new ht(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return u`var(${d(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):d(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function pt(t,e){return d(`${t.name}: ${e}`)}const ct={colorPrimary:ht.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ht.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ht.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ht.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ht.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ht.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ht.create("--ft-color-error","COLOR","#B00020"),colorOutline:ht.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ht.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ht.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ht.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ht.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ht.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ht.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ht.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ht.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ht.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ht.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ht.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ht.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ht.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ht.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ht.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ht.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ht.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ht.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ht.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ht.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ht.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ht.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ht.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ht.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ht.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ht.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ht.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ht.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ht.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ht.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ht.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ht.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ht.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ht.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ht.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ht.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ht.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ht.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ht.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ht.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ht.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ht.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ht.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ht.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ht.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ht.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ht.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ht.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ht.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ht.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ht.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ht.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ht.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ht.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
65
66
  /**
66
67
  * @license
67
68
  * Copyright 2021 Google LLC
68
69
  * SPDX-License-Identifier: BSD-3-Clause
69
- */class ft extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return y(n,this.constructor.elementStyles),n}}}(at)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),I`
70
+ */var ft=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class dt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return y(n,this.constructor.elementStyles),n}}}(at)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),I`
70
71
  ${t.map((t=>I`
71
72
  <style>${t}</style>
72
73
  `))}
73
74
  ${this.getTemplate()}
74
- `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}const dt=u`
75
+ `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,n,s,r;let a=[];for(let l of t){let t=null==l?void 0:l.trim();if(t)for(let l of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){let e=null!==(n=null===(o=l.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(r=null===(s=l.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];const h=[...new Set([...e,...i])].filter((t=>null!=t&&t.trim().length>0)).map((t=>t.trim())).map((e=>`${e}:${t}--${e}`));a.push(...h)}}this.setAttribute("exportparts",a.join(", "))}contentAvailableCallback(t){}}ft([i()],dt.prototype,"exportpartsPrefix",void 0),ft([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return i({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],dt.prototype,"exportpartsPrefixes",void 0);const ut=u`
75
76
  .ft-no-text-select {
76
77
  -webkit-touch-callout: none;
77
78
  -webkit-user-select: none;
@@ -80,17 +81,17 @@ var st,rt;null==nt||nt(q,Y),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k
80
81
  -ms-user-select: none;
81
82
  user-select: none;
82
83
  }
83
- `;var ut,yt,bt;const vt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(bt=null===(yt=null===(ut=window.safari)||void 0===ut?void 0:ut.pushNotification)||void 0===yt?void 0:yt.toString())&&void 0!==bt?bt:""),gt=1,xt=2,mt=t=>(...e)=>({_$litDirective$:t,values:e});
84
+ `;var yt,vt,bt;const xt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(bt=null===(vt=null===(yt=window.safari)||void 0===yt?void 0:yt.pushNotification)||void 0===vt?void 0:vt.toString())&&void 0!==bt?bt:""),gt=1,mt=2,wt=t=>(...e)=>({_$litDirective$:t,values:e});
84
85
  /**
85
86
  * @license
86
87
  * Copyright 2017 Google LLC
87
88
  * SPDX-License-Identifier: BSD-3-Clause
88
- */class wt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
89
+ */class $t{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
89
90
  /**
90
91
  * @license
91
92
  * Copyright 2018 Google LLC
92
93
  * SPDX-License-Identifier: BSD-3-Clause
93
- */const $t=mt(class extends wt{constructor(t){var e;if(super(t),t.type!==gt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const n=t.element.classList;this.et.forEach((t=>{t in e||(n.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.et.add(t)):(n.remove(t),this.et.delete(t)))}return W}});var Ot=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const St=ht.extend("--ft-ripple-color",ct.colorContent),kt={color:St,backgroundColor:ht.extend("--ft-ripple-background-color",St),opacityContentOnSurfacePressed:ht.external(ct.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ht.external(ct.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ht.external(ct.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ht.external(ct.opacityContentOnSurfaceSelected,"Design system")},Ct=ht.extend("--ft-ripple-color",ct.colorPrimary),Nt=Ct,Et=ht.extend("--ft-ripple-background-color",Ct),Rt=ht.extend("--ft-ripple-color",ct.colorSecondary),Mt=Rt,zt=ht.extend("--ft-ripple-background-color",Rt);class Ft extends ft{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new t(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return I`
94
+ */const Ot=wt(class extends $t{constructor(t){var e;if(super(t),t.type!==gt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const n=t.element.classList;this.et.forEach((t=>{t in e||(n.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.et.add(t)):(n.remove(t),this.et.delete(t)))}return W}});var St=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const kt=ht.extend("--ft-ripple-color",ct.colorContent),Ct={color:kt,backgroundColor:ht.extend("--ft-ripple-background-color",kt),opacityContentOnSurfacePressed:ht.external(ct.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ht.external(ct.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ht.external(ct.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ht.external(ct.opacityContentOnSurfaceSelected,"Design system")},Nt=ht.extend("--ft-ripple-color",ct.colorPrimary),Et=Nt,Rt=ht.extend("--ft-ripple-background-color",Nt),Mt=ht.extend("--ft-ripple-color",ct.colorSecondary),zt=Mt,Ft=ht.extend("--ft-ripple-background-color",Mt);class Ut extends dt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new t(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return I`
94
95
  <style>
95
96
  .ft-ripple .ft-ripple--effect,
96
97
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -103,11 +104,11 @@ var st,rt;null==nt||nt(q,Y),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k
103
104
  top: ${this.originY}px;
104
105
  }
105
106
  </style>
106
- <div class="${$t(t)}">
107
+ <div class="${Ot(t)}">
107
108
  <div class="ft-ripple--background"></div>
108
109
  <div class="ft-ripple--effect"></div>
109
110
  </div>
110
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Ft.elementDefinitions={},Ft.styles=u`
111
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Ut.elementDefinitions={},Ut.styles=u`
111
112
  :host {
112
113
  display: contents;
113
114
  }
@@ -129,27 +130,27 @@ var st,rt;null==nt||nt(q,Y),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k
129
130
  }
130
131
 
131
132
  .ft-ripple .ft-ripple--background {
132
- background-color: ${kt.backgroundColor};
133
+ background-color: ${Ct.backgroundColor};
133
134
  }
134
135
 
135
136
  .ft-ripple .ft-ripple--effect {
136
- background-color: ${kt.color};
137
+ background-color: ${Ct.color};
137
138
  }
138
139
 
139
140
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
140
- background-color: ${zt};
141
+ background-color: ${Ft};
141
142
  }
142
143
 
143
144
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
144
- background-color: ${Mt};
145
+ background-color: ${zt};
145
146
  }
146
147
 
147
148
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
148
- background-color: ${Et};
149
+ background-color: ${Rt};
149
150
  }
150
151
 
151
152
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
152
- background-color: ${Nt};
153
+ background-color: ${Et};
153
154
  }
154
155
 
155
156
  .ft-ripple .ft-ripple--background {
@@ -181,130 +182,130 @@ var st,rt;null==nt||nt(q,Y),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k
181
182
  }
182
183
 
183
184
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
184
- opacity: ${kt.opacityContentOnSurfaceHover};
185
+ opacity: ${Ct.opacityContentOnSurfaceHover};
185
186
  }
186
187
 
187
188
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
188
- opacity: ${kt.opacityContentOnSurfaceSelected};
189
+ opacity: ${Ct.opacityContentOnSurfaceSelected};
189
190
  }
190
191
 
191
192
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
192
- opacity: ${kt.opacityContentOnSurfaceFocused};
193
+ opacity: ${Ct.opacityContentOnSurfaceFocused};
193
194
  }
194
195
 
195
196
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
196
- opacity: ${kt.opacityContentOnSurfacePressed};
197
+ opacity: ${Ct.opacityContentOnSurfacePressed};
197
198
  transform: translate(-50%, -50%) scale(1);
198
199
  }
199
- `,Ot([i({type:Boolean})],Ft.prototype,"primary",void 0),Ot([i({type:Boolean})],Ft.prototype,"secondary",void 0),Ot([i({type:Boolean})],Ft.prototype,"unbounded",void 0),Ot([i({type:Boolean})],Ft.prototype,"activated",void 0),Ot([i({type:Boolean})],Ft.prototype,"selected",void 0),Ot([i({type:Boolean})],Ft.prototype,"disabled",void 0),Ot([o()],Ft.prototype,"hovered",void 0),Ot([o()],Ft.prototype,"focused",void 0),Ot([o()],Ft.prototype,"pressed",void 0),Ot([o()],Ft.prototype,"rippling",void 0),Ot([o()],Ft.prototype,"rippleSize",void 0),Ot([o()],Ft.prototype,"originX",void 0),Ot([o()],Ft.prototype,"originY",void 0),Ot([s(".ft-ripple")],Ft.prototype,"ripple",void 0),Ot([s(".ft-ripple--effect")],Ft.prototype,"rippleEffect",void 0),l("ft-ripple")(Ft);
200
+ `,St([i({type:Boolean})],Ut.prototype,"primary",void 0),St([i({type:Boolean})],Ut.prototype,"secondary",void 0),St([i({type:Boolean})],Ut.prototype,"unbounded",void 0),St([i({type:Boolean})],Ut.prototype,"activated",void 0),St([i({type:Boolean})],Ut.prototype,"selected",void 0),St([i({type:Boolean})],Ut.prototype,"disabled",void 0),St([o()],Ut.prototype,"hovered",void 0),St([o()],Ut.prototype,"focused",void 0),St([o()],Ut.prototype,"pressed",void 0),St([o()],Ut.prototype,"rippling",void 0),St([o()],Ut.prototype,"rippleSize",void 0),St([o()],Ut.prototype,"originX",void 0),St([o()],Ut.prototype,"originY",void 0),St([s(".ft-ripple")],Ut.prototype,"ripple",void 0),St([s(".ft-ripple--effect")],Ut.prototype,"rippleEffect",void 0),l("ft-ripple")(Ut);
200
201
  /**
201
202
  * @license
202
203
  * Copyright 2020 Google LLC
203
204
  * SPDX-License-Identifier: BSD-3-Clause
204
205
  */
205
- const Ut=Symbol.for(""),Bt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===Ut)return null===(i=t)||void 0===i?void 0:i._$litStatic$},jt=t=>({_$litStatic$:t,r:Ut}),Tt=new Map,Lt=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,h=0,p=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],n=Bt(s));)l+=n+e[++h],p=!0;a.push(s),r.push(l),h++}if(h===o&&r.push(e[o]),p){const t=r.join("$$lit$$");void 0===(e=Tt.get(t))&&(r.raw=r,Tt.set(t,e=r)),i=a}return t(e,...i)})(I);var At,_t=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(At||(At={}));const Dt=ht.extend("--ft-typography-font-family",ct.titleFont),Pt=ht.extend("--ft-typography-font-family",ct.contentFont),It={fontFamily:Pt,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},Wt=ht.extend("--ft-typography-title-font-family",Dt),Ht=ht.extend("--ft-typography-title-font-size",It.fontSize,"20px"),Kt=ht.extend("--ft-typography-title-font-weight",It.fontWeight,"normal"),Zt=ht.extend("--ft-typography-title-letter-spacing",It.letterSpacing,"0.15px"),Vt=ht.extend("--ft-typography-title-line-height",It.lineHeight,"1.2"),qt=ht.extend("--ft-typography-title-text-transform",It.textTransform,"inherit"),Xt=ht.extend("--ft-typography-title-dense-font-family",Dt),Jt=ht.extend("--ft-typography-title-dense-font-size",It.fontSize,"14px"),Yt=ht.extend("--ft-typography-title-dense-font-weight",It.fontWeight,"normal"),Gt=ht.extend("--ft-typography-title-dense-letter-spacing",It.letterSpacing,"0.105px"),Qt=ht.extend("--ft-typography-title-dense-line-height",It.lineHeight,"1.7"),te=ht.extend("--ft-typography-title-dense-text-transform",It.textTransform,"inherit"),ee=ht.extend("--ft-typography-subtitle1-font-family",Pt),ie=ht.extend("--ft-typography-subtitle1-font-size",It.fontSize,"16px"),oe=ht.extend("--ft-typography-subtitle1-font-weight",It.fontWeight,"600"),ne=ht.extend("--ft-typography-subtitle1-letter-spacing",It.letterSpacing,"0.144px"),se=ht.extend("--ft-typography-subtitle1-line-height",It.lineHeight,"1.5"),re=ht.extend("--ft-typography-subtitle1-text-transform",It.textTransform,"inherit"),ae=ht.extend("--ft-typography-subtitle2-font-family",Pt),le=ht.extend("--ft-typography-subtitle2-font-size",It.fontSize,"14px"),he=ht.extend("--ft-typography-subtitle2-font-weight",It.fontWeight,"normal"),pe=ht.extend("--ft-typography-subtitle2-letter-spacing",It.letterSpacing,"0.098px"),ce=ht.extend("--ft-typography-subtitle2-line-height",It.lineHeight,"1.7"),fe=ht.extend("--ft-typography-subtitle2-text-transform",It.textTransform,"inherit"),de=ht.extend("--ft-typography-body1-font-family",Pt),ue=ht.extend("--ft-typography-body1-font-size",It.fontSize,"16px"),ye=ht.extend("--ft-typography-body1-font-weight",It.fontWeight,"normal"),be=ht.extend("--ft-typography-body1-letter-spacing",It.letterSpacing,"0.496px"),ve=ht.extend("--ft-typography-body1-line-height",It.lineHeight,"1.5"),ge=ht.extend("--ft-typography-body1-text-transform",It.textTransform,"inherit"),xe=ht.extend("--ft-typography-body2-font-family",Pt),me=ht.extend("--ft-typography-body2-font-size",It.fontSize,"14px"),we=ht.extend("--ft-typography-body2-font-weight",It.fontWeight,"normal"),$e=ht.extend("--ft-typography-body2-letter-spacing",It.letterSpacing,"0.252px"),Oe=ht.extend("--ft-typography-body2-line-height",It.lineHeight,"1.4"),Se=ht.extend("--ft-typography-body2-text-transform",It.textTransform,"inherit"),ke=ht.extend("--ft-typography-caption-font-family",Pt),Ce=ht.extend("--ft-typography-caption-font-size",It.fontSize,"12px"),Ne=ht.extend("--ft-typography-caption-font-weight",It.fontWeight,"normal"),Ee=ht.extend("--ft-typography-caption-letter-spacing",It.letterSpacing,"0.396px"),Re=ht.extend("--ft-typography-caption-line-height",It.lineHeight,"1.33"),Me=ht.extend("--ft-typography-caption-text-transform",It.textTransform,"inherit"),ze=ht.extend("--ft-typography-breadcrumb-font-family",Pt),Fe=ht.extend("--ft-typography-breadcrumb-font-size",It.fontSize,"10px"),Ue=ht.extend("--ft-typography-breadcrumb-font-weight",It.fontWeight,"normal"),Be=ht.extend("--ft-typography-breadcrumb-letter-spacing",It.letterSpacing,"0.33px"),je=ht.extend("--ft-typography-breadcrumb-line-height",It.lineHeight,"1.6"),Te=ht.extend("--ft-typography-breadcrumb-text-transform",It.textTransform,"inherit"),Le=ht.extend("--ft-typography-overline-font-family",Pt),Ae=ht.extend("--ft-typography-overline-font-size",It.fontSize,"10px"),_e=ht.extend("--ft-typography-overline-font-weight",It.fontWeight,"normal"),De=ht.extend("--ft-typography-overline-letter-spacing",It.letterSpacing,"1.5px"),Pe=ht.extend("--ft-typography-overline-line-height",It.lineHeight,"1.6"),Ie=ht.extend("--ft-typography-overline-text-transform",It.textTransform,"uppercase"),We={fontFamily:ht.extend("--ft-typography-button-font-family",Pt),fontSize:ht.extend("--ft-typography-button-font-size",It.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",It.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",It.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",It.lineHeight,"1.15"),textTransform:ht.extend("--ft-typography-button-text-transform",It.textTransform,"uppercase")},He=u`
206
+ const Bt=Symbol.for(""),jt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===Bt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Tt=t=>({_$litStatic$:t,r:Bt}),At=new Map,Lt=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,h=0,p=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],n=jt(s));)l+=n+e[++h],p=!0;a.push(s),r.push(l),h++}if(h===o&&r.push(e[o]),p){const t=r.join("$$lit$$");void 0===(e=At.get(t))&&(r.raw=r,At.set(t,e=r)),i=a}return t(e,...i)})(I);var _t,Dt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(_t||(_t={}));const Pt=ht.extend("--ft-typography-font-family",ct.titleFont),It=ht.extend("--ft-typography-font-family",ct.contentFont),Wt={fontFamily:It,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},Ht=ht.extend("--ft-typography-title-font-family",Pt),Kt=ht.extend("--ft-typography-title-font-size",Wt.fontSize,"20px"),Zt=ht.extend("--ft-typography-title-font-weight",Wt.fontWeight,"normal"),Vt=ht.extend("--ft-typography-title-letter-spacing",Wt.letterSpacing,"0.15px"),Jt=ht.extend("--ft-typography-title-line-height",Wt.lineHeight,"1.2"),qt=ht.extend("--ft-typography-title-text-transform",Wt.textTransform,"inherit"),Xt=ht.extend("--ft-typography-title-dense-font-family",Pt),Yt=ht.extend("--ft-typography-title-dense-font-size",Wt.fontSize,"14px"),Gt=ht.extend("--ft-typography-title-dense-font-weight",Wt.fontWeight,"normal"),Qt=ht.extend("--ft-typography-title-dense-letter-spacing",Wt.letterSpacing,"0.105px"),te=ht.extend("--ft-typography-title-dense-line-height",Wt.lineHeight,"1.7"),ee=ht.extend("--ft-typography-title-dense-text-transform",Wt.textTransform,"inherit"),ie=ht.extend("--ft-typography-subtitle1-font-family",It),oe=ht.extend("--ft-typography-subtitle1-font-size",Wt.fontSize,"16px"),ne=ht.extend("--ft-typography-subtitle1-font-weight",Wt.fontWeight,"600"),se=ht.extend("--ft-typography-subtitle1-letter-spacing",Wt.letterSpacing,"0.144px"),re=ht.extend("--ft-typography-subtitle1-line-height",Wt.lineHeight,"1.5"),ae=ht.extend("--ft-typography-subtitle1-text-transform",Wt.textTransform,"inherit"),le=ht.extend("--ft-typography-subtitle2-font-family",It),he=ht.extend("--ft-typography-subtitle2-font-size",Wt.fontSize,"14px"),pe=ht.extend("--ft-typography-subtitle2-font-weight",Wt.fontWeight,"normal"),ce=ht.extend("--ft-typography-subtitle2-letter-spacing",Wt.letterSpacing,"0.098px"),fe=ht.extend("--ft-typography-subtitle2-line-height",Wt.lineHeight,"1.7"),de=ht.extend("--ft-typography-subtitle2-text-transform",Wt.textTransform,"inherit"),ue=ht.extend("--ft-typography-body1-font-family",It),ye=ht.extend("--ft-typography-body1-font-size",Wt.fontSize,"16px"),ve=ht.extend("--ft-typography-body1-font-weight",Wt.fontWeight,"normal"),be=ht.extend("--ft-typography-body1-letter-spacing",Wt.letterSpacing,"0.496px"),xe=ht.extend("--ft-typography-body1-line-height",Wt.lineHeight,"1.5"),ge=ht.extend("--ft-typography-body1-text-transform",Wt.textTransform,"inherit"),me=ht.extend("--ft-typography-body2-font-family",It),we=ht.extend("--ft-typography-body2-font-size",Wt.fontSize,"14px"),$e=ht.extend("--ft-typography-body2-font-weight",Wt.fontWeight,"normal"),Oe=ht.extend("--ft-typography-body2-letter-spacing",Wt.letterSpacing,"0.252px"),Se=ht.extend("--ft-typography-body2-line-height",Wt.lineHeight,"1.4"),ke=ht.extend("--ft-typography-body2-text-transform",Wt.textTransform,"inherit"),Ce=ht.extend("--ft-typography-caption-font-family",It),Ne=ht.extend("--ft-typography-caption-font-size",Wt.fontSize,"12px"),Ee=ht.extend("--ft-typography-caption-font-weight",Wt.fontWeight,"normal"),Re=ht.extend("--ft-typography-caption-letter-spacing",Wt.letterSpacing,"0.396px"),Me=ht.extend("--ft-typography-caption-line-height",Wt.lineHeight,"1.33"),ze=ht.extend("--ft-typography-caption-text-transform",Wt.textTransform,"inherit"),Fe=ht.extend("--ft-typography-breadcrumb-font-family",It),Ue=ht.extend("--ft-typography-breadcrumb-font-size",Wt.fontSize,"10px"),Be=ht.extend("--ft-typography-breadcrumb-font-weight",Wt.fontWeight,"normal"),je=ht.extend("--ft-typography-breadcrumb-letter-spacing",Wt.letterSpacing,"0.33px"),Te=ht.extend("--ft-typography-breadcrumb-line-height",Wt.lineHeight,"1.6"),Ae=ht.extend("--ft-typography-breadcrumb-text-transform",Wt.textTransform,"inherit"),Le=ht.extend("--ft-typography-overline-font-family",It),_e=ht.extend("--ft-typography-overline-font-size",Wt.fontSize,"10px"),De=ht.extend("--ft-typography-overline-font-weight",Wt.fontWeight,"normal"),Pe=ht.extend("--ft-typography-overline-letter-spacing",Wt.letterSpacing,"1.5px"),Ie=ht.extend("--ft-typography-overline-line-height",Wt.lineHeight,"1.6"),We=ht.extend("--ft-typography-overline-text-transform",Wt.textTransform,"uppercase"),He={fontFamily:ht.extend("--ft-typography-button-font-family",It),fontSize:ht.extend("--ft-typography-button-font-size",Wt.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",Wt.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",Wt.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",Wt.lineHeight,"1.15"),textTransform:ht.extend("--ft-typography-button-text-transform",Wt.textTransform,"uppercase")},Ke=u`
206
207
  .ft-typography--title {
207
- font-family: ${Wt};
208
- font-size: ${Ht};
209
- font-weight: ${Kt};
210
- letter-spacing: ${Zt};
211
- line-height: ${Vt};
208
+ font-family: ${Ht};
209
+ font-size: ${Kt};
210
+ font-weight: ${Zt};
211
+ letter-spacing: ${Vt};
212
+ line-height: ${Jt};
212
213
  text-transform: ${qt};
213
214
  }
214
- `,Ke=u`
215
+ `,Ze=u`
215
216
  .ft-typography--title-dense {
216
217
  font-family: ${Xt};
217
- font-size: ${Jt};
218
- font-weight: ${Yt};
219
- letter-spacing: ${Gt};
220
- line-height: ${Qt};
221
- text-transform: ${te};
218
+ font-size: ${Yt};
219
+ font-weight: ${Gt};
220
+ letter-spacing: ${Qt};
221
+ line-height: ${te};
222
+ text-transform: ${ee};
222
223
  }
223
- `,Ze=u`
224
+ `,Ve=u`
224
225
  .ft-typography--subtitle1 {
225
- font-family: ${ee};
226
- font-size: ${ie};
227
- font-weight: ${oe};
228
- letter-spacing: ${ne};
229
- line-height: ${se};
230
- text-transform: ${re};
226
+ font-family: ${ie};
227
+ font-size: ${oe};
228
+ font-weight: ${ne};
229
+ letter-spacing: ${se};
230
+ line-height: ${re};
231
+ text-transform: ${ae};
231
232
  }
232
- `,Ve=u`
233
+ `,Je=u`
233
234
  .ft-typography--subtitle2 {
234
- font-family: ${ae};
235
- font-size: ${le};
236
- font-weight: ${he};
237
- letter-spacing: ${pe};
238
- line-height: ${ce};
239
- text-transform: ${fe};
235
+ font-family: ${le};
236
+ font-size: ${he};
237
+ font-weight: ${pe};
238
+ letter-spacing: ${ce};
239
+ line-height: ${fe};
240
+ text-transform: ${de};
240
241
  }
241
242
 
242
243
  `,qe=u`
243
244
  .ft-typography--body1 {
244
- font-family: ${de};
245
- font-size: ${ue};
246
- font-weight: ${ye};
245
+ font-family: ${ue};
246
+ font-size: ${ye};
247
+ font-weight: ${ve};
247
248
  letter-spacing: ${be};
248
- line-height: ${ve};
249
+ line-height: ${xe};
249
250
  text-transform: ${ge};
250
251
  }
251
252
  `,Xe=u`
252
253
  .ft-typography--body2 {
253
- font-family: ${xe};
254
- font-size: ${me};
255
- font-weight: ${we};
256
- letter-spacing: ${$e};
257
- line-height: ${Oe};
258
- text-transform: ${Se};
254
+ font-family: ${me};
255
+ font-size: ${we};
256
+ font-weight: ${$e};
257
+ letter-spacing: ${Oe};
258
+ line-height: ${Se};
259
+ text-transform: ${ke};
259
260
  }
260
- `,Je=u`
261
+ `,Ye=u`
261
262
  .ft-typography--caption {
262
- font-family: ${ke};
263
- font-size: ${Ce};
264
- font-weight: ${Ne};
265
- letter-spacing: ${Ee};
266
- line-height: ${Re};
267
- text-transform: ${Me};
263
+ font-family: ${Ce};
264
+ font-size: ${Ne};
265
+ font-weight: ${Ee};
266
+ letter-spacing: ${Re};
267
+ line-height: ${Me};
268
+ text-transform: ${ze};
268
269
  }
269
- `,Ye=u`
270
+ `,Ge=u`
270
271
  .ft-typography--breadcrumb {
271
- font-family: ${ze};
272
- font-size: ${Fe};
273
- font-weight: ${Ue};
274
- letter-spacing: ${Be};
275
- line-height: ${je};
276
- text-transform: ${Te};
272
+ font-family: ${Fe};
273
+ font-size: ${Ue};
274
+ font-weight: ${Be};
275
+ letter-spacing: ${je};
276
+ line-height: ${Te};
277
+ text-transform: ${Ae};
277
278
  }
278
- `,Ge=u`
279
+ `,Qe=u`
279
280
  .ft-typography--overline {
280
281
  font-family: ${Le};
281
- font-size: ${Ae};
282
- font-weight: ${_e};
283
- letter-spacing: ${De};
284
- line-height: ${Pe};
285
- text-transform: ${Ie};
282
+ font-size: ${_e};
283
+ font-weight: ${De};
284
+ letter-spacing: ${Pe};
285
+ line-height: ${Ie};
286
+ text-transform: ${We};
286
287
  }
287
- `,Qe=u`
288
+ `,ti=u`
288
289
  .ft-typography--button {
289
- font-family: ${We.fontFamily};
290
- font-size: ${We.fontSize};
291
- font-weight: ${We.fontWeight};
292
- letter-spacing: ${We.letterSpacing};
293
- line-height: ${We.lineHeight};
294
- text-transform: ${We.textTransform};
290
+ font-family: ${He.fontFamily};
291
+ font-size: ${He.fontSize};
292
+ font-weight: ${He.fontWeight};
293
+ letter-spacing: ${He.letterSpacing};
294
+ line-height: ${He.lineHeight};
295
+ text-transform: ${He.textTransform};
295
296
  }
296
- `;class ti extends ft{constructor(){super(...arguments),this.variant=At.body1}render(){return this.element?Lt`
297
- <${jt(this.element)}
297
+ `;class ei extends dt{constructor(){super(...arguments),this.variant=_t.body1}render(){return this.element?Lt`
298
+ <${Tt(this.element)}
298
299
  class="ft-typography ft-typography--${this.variant}">
299
300
  <slot></slot>
300
- </${jt(this.element)}>
301
+ </${Tt(this.element)}>
301
302
  `:Lt`
302
303
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
303
- `}}ti.styles=[He,Ke,Ze,Ve,qe,Xe,Je,Ye,Ge,Qe,u`
304
+ `}}ei.styles=[Ke,Ze,Ve,Je,qe,Xe,Ye,Ge,Qe,ti,u`
304
305
  .ft-typography {
305
306
  vertical-align: inherit;
306
307
  }
307
- `],_t([i()],ti.prototype,"element",void 0),_t([i()],ti.prototype,"variant",void 0),l("ft-typography")(ti);var ei=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const ii=ht.create("--ft-tooltip-distance","SIZE","4px"),oi=ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),ni=ht.create("--ft-tooltip-background-color","COLOR","#666666"),si=ht.create("--ft-tooltip-z-index","NUMBER","1"),ri=ht.external(ct.borderRadiusS,"Design system");class ai extends ft{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new t,this.revealDebouncer=new t}render(){return I`
308
+ `],Dt([i()],ei.prototype,"element",void 0),Dt([i()],ei.prototype,"variant",void 0),l("ft-typography")(ei);var ii=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const oi=ht.create("--ft-tooltip-distance","SIZE","4px"),ni=ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),si=ht.create("--ft-tooltip-background-color","COLOR","#666666"),ri=ht.create("--ft-tooltip-z-index","NUMBER","1"),ai=ht.external(ct.borderRadiusS,"Design system");class li extends dt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new t,this.revealDebouncer=new t}render(){return I`
308
309
  <div part="container"
309
310
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
310
311
  @mouseenter=${this.onHover}
@@ -319,7 +320,7 @@ const Ut=Symbol.for(""),Bt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
319
320
  </div>
320
321
  <slot></slot>
321
322
  </div>
322
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=e.height+"px",n.left=o+"px";break;case"left":n.top=i+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=i+"px",n.left=e.width+"px"}n.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}ai.elementDefinitions={"ft-typography":ti},ai.styles=u`
323
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=e.height+"px",n.left=o+"px";break;case"left":n.top=i+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=i+"px",n.left=e.width+"px"}n.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}li.elementDefinitions={"ft-typography":ei},li.styles=u`
323
324
  .ft-tooltip--container {
324
325
  display: block;
325
326
  position: relative;
@@ -337,27 +338,27 @@ const Ut=Symbol.for(""),Bt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
337
338
  width: max-content;
338
339
  max-width: 150px;
339
340
  text-align: center;
340
- padding: ${ii};
341
- z-index: ${si};
341
+ padding: ${oi};
342
+ z-index: ${ri};
342
343
  }
343
344
 
344
345
  .ft-tooltip--content {
345
346
  padding: 4px 8px;
346
- border-radius: ${ri};
347
- background-color: ${ni};
348
- color: ${oi};
347
+ border-radius: ${ai};
348
+ background-color: ${si};
349
+ color: ${ni};
349
350
  top: -500px;
350
351
  left: -500px;
351
352
  position: relative;
352
353
  word-break: break-word;
353
354
  }
354
- `,ei([i()],ai.prototype,"text",void 0),ei([i({type:Boolean})],ai.prototype,"manual",void 0),ei([i({type:Boolean})],ai.prototype,"inline",void 0),ei([i({type:Number})],ai.prototype,"delay",void 0),ei([i()],ai.prototype,"position",void 0),ei([
355
+ `,ii([i()],li.prototype,"text",void 0),ii([i({type:Boolean})],li.prototype,"manual",void 0),ii([i({type:Boolean})],li.prototype,"inline",void 0),ii([i({type:Number})],li.prototype,"delay",void 0),ii([i()],li.prototype,"position",void 0),ii([
355
356
  /**
356
357
  * @license
357
358
  * Copyright 2017 Google LLC
358
359
  * SPDX-License-Identifier: BSD-3-Clause
359
360
  */
360
- function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return n({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?a(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:s,flatten:e,selector:i}):n({descriptor:t=>({get(){var t,e;const i="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==n?void 0:n.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],ai.prototype,"slotNodes",void 0),ei([s(".ft-tooltip--container")],ai.prototype,"container",void 0),ei([s("slot")],ai.prototype,"target",void 0),ei([s(".ft-tooltip")],ai.prototype,"tooltip",void 0),ei([s(".ft-tooltip--content")],ai.prototype,"tooltipContent",void 0),ei([o()],ai.prototype,"visible",void 0),l("ft-tooltip")(ai);const li={color:ht.extend("--ft-loader-color",ct.colorPrimary),size:ht.create("--ft-loader-size","SIZE","80px")};class hi extends ft{static get styles(){return u`
361
+ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return n({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?a(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:s,flatten:e,selector:i}):n({descriptor:t=>({get(){var t,e;const i="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==n?void 0:n.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],li.prototype,"slotNodes",void 0),ii([s(".ft-tooltip--container")],li.prototype,"container",void 0),ii([s("slot")],li.prototype,"target",void 0),ii([s(".ft-tooltip")],li.prototype,"tooltip",void 0),ii([s(".ft-tooltip--content")],li.prototype,"tooltipContent",void 0),ii([o()],li.prototype,"visible",void 0),l("ft-tooltip")(li);const hi={color:ht.extend("--ft-loader-color",ct.colorPrimary),size:ht.create("--ft-loader-size","SIZE","80px")};class pi extends dt{static get styles(){return u`
361
362
  :host {
362
363
  line-height: 0;
363
364
  }
@@ -366,8 +367,8 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
366
367
  display: inline-block;
367
368
  position: relative;
368
369
 
369
- width: ${li.size};
370
- height: ${li.size};
370
+ width: ${hi.size};
371
+ height: ${hi.size};
371
372
  }
372
373
 
373
374
  .ft-loader div {
@@ -376,7 +377,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
376
377
  width: 25%;
377
378
  height: 25%;
378
379
  border-radius: 50%;
379
- background: ${li.color};
380
+ background: ${hi.color};
380
381
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
381
382
  }
382
383
 
@@ -423,7 +424,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
423
424
  transform: translate(0, 0);
424
425
  }
425
426
  100% {
426
- transform: translate(calc(0.35 * ${li.size}), 0);
427
+ transform: translate(calc(0.35 * ${hi.size}), 0);
427
428
  }
428
429
  }
429
430
  `}render(){return I`
@@ -433,18 +434,18 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
433
434
  <div></div>
434
435
  <div></div>
435
436
  </div>
436
- `}}l("ft-loader")(hi);
437
+ `}}l("ft-loader")(pi);
437
438
  /**
438
439
  * @license
439
440
  * Copyright 2017 Google LLC
440
441
  * SPDX-License-Identifier: BSD-3-Clause
441
442
  */
442
- class pi extends wt{constructor(t){if(super(t),this.it=H,t.type!==xt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this.ft=void 0,this.it=t;if(t===W)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}pi.directiveName="unsafeHTML",pi.resultType=1;const ci=mt(pi);var fi,di;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(fi||(fi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(di||(di={})),new Map([...["abw"].map((t=>[t,di.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,di.AUDIO])),...["avi"].map((t=>[t,di.AVI])),...["chm","xhs"].map((t=>[t,di.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,di.CODE])),...["csv"].map((t=>[t,di.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,di.DITA])),...["epub"].map((t=>[t,di.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,di.EXCEL])),...["flac"].map((t=>[t,di.FLAC])),...["gif"].map((t=>[t,di.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,di.GZIP])),...["html","htm","xhtml"].map((t=>[t,di.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,di.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,di.JPEG])),...["json"].map((t=>[t,di.JSON])),...["m4a","m4p"].map((t=>[t,di.M4A])),...["mov","qt"].map((t=>[t,di.MOV])),...["mp3"].map((t=>[t,di.MP3])),...["mp4","m4v"].map((t=>[t,di.MP4])),...["ogg","oga"].map((t=>[t,di.OGG])),...["pdf","ps"].map((t=>[t,di.PDF])),...["png"].map((t=>[t,di.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,di.POWERPOINT])),...["rar"].map((t=>[t,di.RAR])),...["stp"].map((t=>[t,di.STP])),...["txt","rtf","md","mdown"].map((t=>[t,di.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,di.VIDEO])),...["wav"].map((t=>[t,di.WAV])),...["wma"].map((t=>[t,di.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,di.WORD])),...["xml","xsl","rdf"].map((t=>[t,di.XML])),...["yaml","yml","x-yaml"].map((t=>[t,di.YAML])),...["zip"].map((t=>[t,di.ZIP]))]);var ui,yi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ui||(ui={}));const bi={size:ht.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ht.extend("--ft-icon-fluid-topics-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ht.extend("--ft-icon-file-format-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ht.extend("--ft-icon-material-font-family",ht.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class vi extends ft{constructor(){super(...arguments),this.variant=ui.fluid_topics}render(){return I`
443
+ class ci extends $t{constructor(t){if(super(t),this.it=H,t.type!==mt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this.ft=void 0,this.it=t;if(t===W)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ci.directiveName="unsafeHTML",ci.resultType=1;const fi=wt(ci);var di,ui;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(di||(di={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(ui||(ui={})),new Map([...["abw"].map((t=>[t,ui.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,ui.AUDIO])),...["avi"].map((t=>[t,ui.AVI])),...["chm","xhs"].map((t=>[t,ui.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,ui.CODE])),...["csv"].map((t=>[t,ui.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ui.DITA])),...["epub"].map((t=>[t,ui.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ui.EXCEL])),...["flac"].map((t=>[t,ui.FLAC])),...["gif"].map((t=>[t,ui.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ui.GZIP])),...["html","htm","xhtml"].map((t=>[t,ui.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,ui.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ui.JPEG])),...["json"].map((t=>[t,ui.JSON])),...["m4a","m4p"].map((t=>[t,ui.M4A])),...["mov","qt"].map((t=>[t,ui.MOV])),...["mp3"].map((t=>[t,ui.MP3])),...["mp4","m4v"].map((t=>[t,ui.MP4])),...["ogg","oga"].map((t=>[t,ui.OGG])),...["pdf","ps"].map((t=>[t,ui.PDF])),...["png"].map((t=>[t,ui.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ui.POWERPOINT])),...["rar"].map((t=>[t,ui.RAR])),...["stp"].map((t=>[t,ui.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ui.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,ui.VIDEO])),...["wav"].map((t=>[t,ui.WAV])),...["wma"].map((t=>[t,ui.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ui.WORD])),...["xml","xsl","rdf"].map((t=>[t,ui.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ui.YAML])),...["zip"].map((t=>[t,ui.ZIP]))]);var yi,vi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(yi||(yi={}));const bi={size:ht.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ht.extend("--ft-icon-fluid-topics-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ht.extend("--ft-icon-file-format-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ht.extend("--ft-icon-material-font-family",ht.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class xi extends dt{constructor(){super(...arguments),this.variant=yi.fluid_topics}render(){return I`
443
444
  <i class="ft-icon ${"ft-icon--"+this.variant}">
444
- ${ci(this.getIcon())}
445
+ ${fi(this.getIcon())}
445
446
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
446
447
  </i>
447
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===ui.file_format?null!==(t=di[i.toUpperCase()])&&void 0!==t?t:i:this.variant===ui.fluid_topics?null!==(e=fi[i.toUpperCase()])&&void 0!==e?e:i:H}}vi.elementDefinitions={},vi.styles=u`
448
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===yi.file_format?null!==(t=ui[i.toUpperCase()])&&void 0!==t?t:i:this.variant===yi.fluid_topics?null!==(e=di[i.toUpperCase()])&&void 0!==e?e:i:H}}xi.elementDefinitions={},xi.styles=u`
448
449
  :host {
449
450
  display: inline-block;
450
451
  }
@@ -479,7 +480,7 @@ class pi extends wt{constructor(t){if(super(t),this.it=H,t.type!==xt)throw Error
479
480
  .ft-icon--material {
480
481
  font-family: ${bi.materialFontFamily}, "Material Icons", sans-serif;
481
482
  }
482
- `,yi([i()],vi.prototype,"variant",void 0),yi([s("slot")],vi.prototype,"slottedContent",void 0),l("ft-icon")(vi);var gi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const xi=ht.extend("--ft-button-color",ct.colorPrimary),mi={backgroundColor:ht.extend("--ft-button-background-color",ct.colorSurface),borderRadius:ht.extend("--ft-button-border-radius",ct.borderRadiusL),color:xi,fontSize:ht.extend("--ft-button-font-size",We.fontSize),iconSize:ht.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ht.extend("--ft-button-ripple-color",xi),opacityDisabled:ht.external(ct.colorOpacityDisabled,"Design system")},wi=ht.extend("--ft-button-primary-color",ht.extend("--ft-button-color",ct.colorOnPrimary)),$i={backgroundColor:ht.extend("--ft-button-primary-background-color",ht.extend("--ft-button-background-color",ct.colorPrimary)),color:wi,rippleColor:ht.extend("--ft-button-primary-ripple-color",wi)},Oi=ht.extend("--ft-button-dense-border-radius",ht.extend("--ft-button-border-radius",ct.borderRadiusM));class Si extends ft{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[dt,u`
483
+ `,vi([i()],xi.prototype,"variant",void 0),vi([s("slot")],xi.prototype,"slottedContent",void 0),l("ft-icon")(xi);var gi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const mi=ht.extend("--ft-button-color",ct.colorPrimary),wi={backgroundColor:ht.extend("--ft-button-background-color",ct.colorSurface),borderRadius:ht.extend("--ft-button-border-radius",ct.borderRadiusL),color:mi,fontSize:ht.extend("--ft-button-font-size",He.fontSize),iconSize:ht.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ht.extend("--ft-button-ripple-color",mi),opacityDisabled:ht.external(ct.colorOpacityDisabled,"Design system")},$i=ht.extend("--ft-button-primary-color",ht.extend("--ft-button-color",ct.colorOnPrimary)),Oi={backgroundColor:ht.extend("--ft-button-primary-background-color",ht.extend("--ft-button-background-color",ct.colorPrimary)),color:$i,rippleColor:ht.extend("--ft-button-primary-ripple-color",$i)},Si=ht.extend("--ft-button-dense-border-radius",ht.extend("--ft-button-border-radius",ct.borderRadiusM));class ki extends dt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[ut,u`
483
484
  :host {
484
485
  display: inline-block;
485
486
  max-width: 100%;
@@ -520,18 +521,18 @@ class pi extends wt{constructor(t){if(super(t),this.it=H,t.type!==xt)throw Error
520
521
  pointer-events: auto;
521
522
  line-height: 0;
522
523
 
523
- --ft-button-internal-font-size: ${mi.fontSize};
524
+ --ft-button-internal-font-size: ${wi.fontSize};
524
525
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
525
- --ft-button-internal-color: ${mi.color};
526
- ${pt(bi.size,mi.iconSize)};
526
+ --ft-button-internal-color: ${wi.color};
527
+ ${pt(bi.size,wi.iconSize)};
527
528
  --ft-button-internal-vertical-padding: 6px;
528
529
  --ft-button-internal-horizontal-padding: 8px;
529
- ${pt(kt.color,mi.rippleColor)};
530
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${mi.iconSize});
530
+ ${pt(Ct.color,wi.rippleColor)};
531
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${wi.iconSize});
531
532
 
532
- border-radius: ${mi.borderRadius};
533
+ border-radius: ${wi.borderRadius};
533
534
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
534
- background-color: ${mi.backgroundColor};
535
+ background-color: ${wi.backgroundColor};
535
536
  color: var(--ft-button-internal-color);
536
537
  -webkit-mask-image: radial-gradient(white, black);
537
538
  }
@@ -543,7 +544,7 @@ class pi extends wt{constructor(t){if(super(t),this.it=H,t.type!==xt)throw Error
543
544
  .ft-button--dense {
544
545
  --ft-button-internal-vertical-padding: 2px;
545
546
  --ft-button-internal-horizontal-padding: 4px;
546
- border-radius: ${Oi};
547
+ border-radius: ${Si};
547
548
  }
548
549
 
549
550
  .ft-button--round {
@@ -552,13 +553,13 @@ class pi extends wt{constructor(t){if(super(t),this.it=H,t.type!==xt)throw Error
552
553
 
553
554
  .ft-button[disabled] {
554
555
  filter: grayscale(1);
555
- opacity: ${mi.opacityDisabled};
556
+ opacity: ${wi.opacityDisabled};
556
557
  }
557
558
 
558
559
  .ft-button.ft-button--primary {
559
- background-color: ${$i.backgroundColor};
560
- --ft-button-internal-color: ${$i.color};
561
- ${pt(kt.color,$i.rippleColor)};
560
+ background-color: ${Oi.backgroundColor};
561
+ --ft-button-internal-color: ${Oi.color};
562
+ ${pt(Ct.color,Oi.rippleColor)};
562
563
  }
563
564
 
564
565
  .ft-button.ft-button--outlined {
@@ -577,8 +578,8 @@ class pi extends wt{constructor(t){if(super(t),this.it=H,t.type!==xt)throw Error
577
578
  text-overflow: ellipsis;
578
579
  display: block;
579
580
  margin: 0 var(--ft-button-internal-horizontal-padding);
580
- ${pt(We.fontSize,"var(--ft-button-internal-font-size)")};
581
- ${pt(We.lineHeight,"var(--ft-button-internal-content-height)")};
581
+ ${pt(He.fontSize,"var(--ft-button-internal-font-size)")};
582
+ ${pt(He.lineHeight,"var(--ft-button-internal-content-height)")};
582
583
  }
583
584
 
584
585
  .ft-button--safari-fix .ft-button--label {
@@ -611,12 +612,12 @@ class pi extends wt{constructor(t){if(super(t),this.it=H,t.type!==xt)throw Error
611
612
  }
612
613
 
613
614
  ft-loader {
614
- ${pt(li.size,mi.iconSize)};
615
- ${pt(li.color,"var(--ft-button-internal-color)")};
615
+ ${pt(hi.size,wi.iconSize)};
616
+ ${pt(hi.color,"var(--ft-button-internal-color)")};
616
617
  }
617
- `]}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":vt,"ft-no-text-select":!0};return this.addTooltip(I`
618
+ `]}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":xt,"ft-no-text-select":!0};return this.addTooltip(I`
618
619
  <button part="button"
619
- class="${$t(t)}"
620
+ class="${Ot(t)}"
620
621
  aria-label="${this.getLabel()}"
621
622
  ?disabled=${this.isDisabled()}>
622
623
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
@@ -636,7 +637,7 @@ class pi extends wt{constructor(t){if(super(t),this.it=H,t.type!==xt)throw Error
636
637
  </ft-tooltip>
637
638
  `}resolveIcon(){return this.loading?I`
638
639
  <ft-loader></ft-loader> `:this.icon?I`
639
- <ft-icon variant="material">${this.icon}</ft-icon> `:H}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Si.elementDefinitions={"ft-ripple":Ft,"ft-tooltip":ai,"ft-typography":ti,"ft-icon":vi,"ft-loader":hi},gi([i({type:Boolean})],Si.prototype,"primary",void 0),gi([i({type:Boolean})],Si.prototype,"outlined",void 0),gi([i({type:Boolean})],Si.prototype,"disabled",void 0),gi([i({type:Boolean})],Si.prototype,"dense",void 0),gi([i({type:Boolean})],Si.prototype,"round",void 0),gi([i({type:String})],Si.prototype,"label",void 0),gi([i({type:String})],Si.prototype,"icon",void 0),gi([i({type:Boolean})],Si.prototype,"trailingIcon",void 0),gi([i({type:Boolean})],Si.prototype,"loading",void 0),gi([i({type:String})],Si.prototype,"tooltipPosition",void 0),gi([s(".ft-button")],Si.prototype,"button",void 0),gi([s(".ft-button--label slot")],Si.prototype,"slottedContent",void 0),l("ft-button")(Si);var ki=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ci extends ft{constructor(){super(...arguments),this.open=!1,this.label="Open here",this.primary=!1,this.secondary=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.openIcon="expand_less",this.closedIcon="expand_more",this.trailingIcon=!1}render(){return I`
640
+ <ft-icon variant="material">${this.icon}</ft-icon> `:H}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}ki.elementDefinitions={"ft-ripple":Ut,"ft-tooltip":li,"ft-typography":ei,"ft-icon":xi,"ft-loader":pi},gi([i({type:Boolean})],ki.prototype,"primary",void 0),gi([i({type:Boolean})],ki.prototype,"outlined",void 0),gi([i({type:Boolean})],ki.prototype,"disabled",void 0),gi([i({type:Boolean})],ki.prototype,"dense",void 0),gi([i({type:Boolean})],ki.prototype,"round",void 0),gi([i({type:String})],ki.prototype,"label",void 0),gi([i({type:String})],ki.prototype,"icon",void 0),gi([i({type:Boolean})],ki.prototype,"trailingIcon",void 0),gi([i({type:Boolean})],ki.prototype,"loading",void 0),gi([i({type:String})],ki.prototype,"tooltipPosition",void 0),gi([s(".ft-button")],ki.prototype,"button",void 0),gi([s(".ft-button--label slot")],ki.prototype,"slottedContent",void 0),l("ft-button")(ki);var Ci=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ni extends dt{constructor(){super(...arguments),this.open=!1,this.label="Open here",this.primary=!1,this.secondary=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.openIcon="expand_less",this.closedIcon="expand_more",this.trailingIcon=!1}render(){return I`
640
641
  <ft-button
641
642
  part="toggle"
642
643
  icon=${this.open?this.openIcon:this.closedIcon}
@@ -658,7 +659,7 @@ class pi extends wt{constructor(t){if(super(t),this.it=H,t.type!==xt)throw Error
658
659
  class="${this.hasCustomToggle()?"":"hidden"}"
659
660
  ></slot>
660
661
  <slot class="content ${this.open?"":"hidden"}"></slot>
661
- `}onCustomToggleSlotChange(){this.requestUpdate()}hasCustomToggle(){var t,e;return 0!==(null!==(e=null===(t=this.toggleSlot)||void 0===t?void 0:t.assignedNodes().length)&&void 0!==e?e:0)}toggleOpen(){this.open=!this.open}update(t){super.update(t),t.has("open")&&this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}}Ci.elementDefinitions={"ft-button":Si},Ci.styles=u`
662
+ `}onCustomToggleSlotChange(){this.requestUpdate()}hasCustomToggle(){var t,e;return 0!==(null!==(e=null===(t=this.toggleSlot)||void 0===t?void 0:t.assignedNodes().length)&&void 0!==e?e:0)}toggleOpen(){this.open=!this.open}update(t){super.update(t),t.has("open")&&this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}}Ni.elementDefinitions={"ft-button":ki},Ni.styles=u`
662
663
  :host, :root {
663
664
  display: block;
664
665
  }
@@ -670,9 +671,9 @@ class pi extends wt{constructor(t){if(super(t),this.it=H,t.type!==xt)throw Error
670
671
  .hidden {
671
672
  display: none;
672
673
  }
673
- `,ki([s(".content")],Ci.prototype,"content",void 0),ki([i({type:Boolean,reflect:!0})],Ci.prototype,"open",void 0),ki([i()],Ci.prototype,"label",void 0),ki([i({type:Boolean})],Ci.prototype,"primary",void 0),ki([i({type:Boolean})],Ci.prototype,"secondary",void 0),ki([i({type:Boolean})],Ci.prototype,"disabled",void 0),ki([i({type:Boolean})],Ci.prototype,"dense",void 0),ki([i({type:Boolean})],Ci.prototype,"round",void 0),ki([i({type:String})],Ci.prototype,"openIcon",void 0),ki([i({type:String})],Ci.prototype,"closedIcon",void 0),ki([i({type:Boolean})],Ci.prototype,"trailingIcon",void 0),ki([s('slot[name="toggle"]')],Ci.prototype,"toggleSlot",void 0),l("ft-collapsible")(function t(e){var i;let o;if("elementDefinitions"in e){o={};const i=e.elementDefinitions;for(let e in i)o[e]=t(i[e])}return i=class extends e{render(){var t;let i=null!==(t=e.styles)&&void 0!==t?t:[];return Array.isArray(i)||(i=[i]),I`
674
+ `,Ci([s(".content")],Ni.prototype,"content",void 0),Ci([i({type:Boolean,reflect:!0})],Ni.prototype,"open",void 0),Ci([i()],Ni.prototype,"label",void 0),Ci([i({type:Boolean})],Ni.prototype,"primary",void 0),Ci([i({type:Boolean})],Ni.prototype,"secondary",void 0),Ci([i({type:Boolean})],Ni.prototype,"disabled",void 0),Ci([i({type:Boolean})],Ni.prototype,"dense",void 0),Ci([i({type:Boolean})],Ni.prototype,"round",void 0),Ci([i({type:String})],Ni.prototype,"openIcon",void 0),Ci([i({type:String})],Ni.prototype,"closedIcon",void 0),Ci([i({type:Boolean})],Ni.prototype,"trailingIcon",void 0),Ci([s('slot[name="toggle"]')],Ni.prototype,"toggleSlot",void 0),l("ft-collapsible")(function t(e){var i;let o;if("elementDefinitions"in e){o={};const i=e.elementDefinitions;for(let e in i)o[e]=t(i[e])}return i=class extends e{render(){var t;let i=null!==(t=e.styles)&&void 0!==t?t:[];return Array.isArray(i)||(i=[i]),I`
674
675
  ${i.map((t=>I`
675
676
  <style>${t}</style>
676
677
  `))}
677
678
  ${super.render()}
678
- `}},i.styles=void 0,i.elementDefinitions=o,i}(Ci))}();
679
+ `}},i.styles=void 0,i.elementDefinitions=o,i}(Ni))}();