@fluid-topics/ft-collapsible 0.2.3 → 0.2.4

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(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=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=x[x.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 x=[document];const b=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),x.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const v=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.pop()}})};if(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==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(ii){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,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 p={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,p),this._definitionsByClass.set(n,p);let h=i.call(o,t);h||(h=c(t),e.call(o,t,h)),this===window.customElements&&(r.set(n,p),p.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,p,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=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 p=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!p(e)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},c=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,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 x=[document];const b=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),x.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==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 e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -39,29 +39,29 @@ 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 a;const l=null!=(null===(a=window.HTMLSlotElement)||void 0===a?void 0:a.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));const h=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}
42
+ */var a;const l=null!=(null===(a=window.HTMLSlotElement)||void 0===a?void 0:a.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));const p=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
- */,p=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),f=new Map;class d{constructor(t,e){if(this._$cssResult$=!0,e!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=f.get(this.cssText);return p&&void 0===t&&(f.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const u=t=>new d("string"==typeof t?t:t+"",c),y=(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 d(i,c)},x=(t,e)=>{p?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=p?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return u(e)})(t):t
47
+ */,h=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),f=new Map;class d{constructor(t,e){if(this._$cssResult$=!0,e!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=f.get(this.cssText);return h&&void 0===t&&(f.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const u=t=>new d("string"==typeof t?t:t+"",c),y=(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 d(i,c)},x=(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 u(e)})(t):t
48
48
  /**
49
49
  * @license
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
- */;var v;const g=window.trustedTypes,m=g?g.emptyScript:"",w=window.reactiveElementPolyfillSupport,$={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},O=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:O};class k 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=S){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$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 x(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=S){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:$.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:$.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||O)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
52
+ */;var g;const v=window.trustedTypes,m=v?v.emptyScript:"",w=window.reactiveElementPolyfillSupport,$={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},O=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:O};class k 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=S){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$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 x(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=S){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:$.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:$.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||O)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
53
53
  /**
54
54
  * @license
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
57
  */
58
- var C;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:k}),(null!==(v=globalThis.reactiveElementVersions)&&void 0!==v?v:globalThis.reactiveElementVersions=[]).push("1.2.2");const N=globalThis.trustedTypes,E=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,M="?"+R,z=`<${M}>`,F=document,U=(t="")=>F.createComment(t),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,A=/>/g,_=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,D=/'/g,P=/"/g,I=/^(?:script|style|textarea|title)$/i,W=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),H=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Z=new WeakMap,V=F.createTreeWalker(F,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=T;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===T?"!--"===l[1]?r=L:void 0!==l[1]?r=A:void 0!==l[2]?(I.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=_):void 0!==l[3]&&(r=_):r===_?">"===l[0]?(r=null!=n?n:T,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?_:'"'===l[3]?P:D):r===P||r===D?r=_:r===L||r===A?r=T:(r=_,n=void 0);const c=r===_&&t[e+1].startsWith("/>")?" ":"";s+=r===T?i+z:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+R+c):i+R+(-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!==E?E.createHTML(a):a,o]};class X{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]=q(t,e);if(this.el=X.createElement(l,i),V.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=V.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(R)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?tt:"?"===e[1]?it:"@"===e[1]?ot:Q})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(I.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),V.nextNode(),a.push({type:2,index:++n});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===M)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)a.push({type:7,index:n}),t+=R.length-1}n++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var n,s,r,a;if(e===H)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const h=B(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=J(t,l._$AS(t,e.values),l,o)),e}class Y{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:F).importNode(i,!0);V.currentNode=n;let s=V.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new G(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new nt(s,this,t)),this.v.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=V.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 G{constructor(t,e,i,o){var n;this.type=2,this._$AH=K,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=J(this,t,e),B(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==H&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return j(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==K&&B(this._$AH)?this._$AA.nextSibling.data=t:this.S(F.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=X.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 Y(n,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new X(t)),e}A(t){j(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 G(this.M(U()),this.M(U()),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 Q{constructor(t,e,i,o,n){this.type=1,this._$AH=K,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=K}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=J(this,t,e,0),s=!B(t)||t!==this._$AH&&t!==H,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=J(this,o[i+r],e,r),a===H&&(a=this._$AH[r]),s||(s=!B(a)||a!==this._$AH[r]),a===K?t=K:t!==K&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.k(t)}k(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Q{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===K?void 0:t}}const et=N?N.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}k(t){t&&t!==K?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class ot extends Q{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=J(this,t,e,0))&&void 0!==i?i:K)===H)return;const o=this._$AH,n=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==K&&(o===K||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 nt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const st=window.litHtmlPolyfillSupport;
58
+ var C;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:k}),(null!==(g=globalThis.reactiveElementVersions)&&void 0!==g?g:globalThis.reactiveElementVersions=[]).push("1.2.2");const N=globalThis.trustedTypes,E=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,M="?"+R,z=`<${M}>`,F=document,U=(t="")=>F.createComment(t),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,A=/>/g,_=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,D=/'/g,P=/"/g,I=/^(?:script|style|textarea|title)$/i,W=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),H=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Z=new WeakMap,V=F.createTreeWalker(F,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=T;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===T?"!--"===l[1]?r=L:void 0!==l[1]?r=A:void 0!==l[2]?(I.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=_):void 0!==l[3]&&(r=_):r===_?">"===l[0]?(r=null!=n?n:T,p=-1):void 0===l[1]?p=-2:(p=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?_:'"'===l[3]?P:D):r===P||r===D?r=_:r===L||r===A?r=T:(r=_,n=void 0);const c=r===_&&t[e+1].startsWith("/>")?" ":"";s+=r===T?i+z:p>=0?(o.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+R+c):i+R+(-2===p?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(a):a,o]};class X{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,p]=q(t,e);if(this.el=X.createElement(l,i),V.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=V.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(R)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?tt:"?"===e[1]?it:"@"===e[1]?ot:Q})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(I.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),V.nextNode(),a.push({type:2,index:++n});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===M)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)a.push({type:7,index:n}),t+=R.length-1}n++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var n,s,r,a;if(e===H)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=B(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=J(t,l._$AS(t,e.values),l,o)),e}class Y{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:F).importNode(i,!0);V.currentNode=n;let s=V.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new G(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new nt(s,this,t)),this.v.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=V.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 G{constructor(t,e,i,o){var n;this.type=2,this._$AH=K,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=J(this,t,e),B(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==H&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return j(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==K&&B(this._$AH)?this._$AA.nextSibling.data=t:this.S(F.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=X.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 Y(n,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new X(t)),e}A(t){j(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 G(this.M(U()),this.M(U()),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 Q{constructor(t,e,i,o,n){this.type=1,this._$AH=K,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=K}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=J(this,t,e,0),s=!B(t)||t!==this._$AH&&t!==H,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=J(this,o[i+r],e,r),a===H&&(a=this._$AH[r]),s||(s=!B(a)||a!==this._$AH[r]),a===K?t=K:t!==K&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.k(t)}k(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Q{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===K?void 0:t}}const et=N?N.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}k(t){t&&t!==K?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class ot extends Q{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=J(this,t,e,0))&&void 0!==i?i:K)===H)return;const o=this._$AH,n=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==K&&(o===K||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 nt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const st=window.litHtmlPolyfillSupport;
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
63
  */
64
- var rt,at;null==st||st(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C:globalThis.litHtmlVersions=[]).push("2.1.3");class lt extends k{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 G(e.insertBefore(U(),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 H}}lt.finalized=!0,lt._$litElement$=!0,null===(rt=globalThis.litElementHydrateSupport)||void 0===rt||rt.call(globalThis,{LitElement:lt});const ht=globalThis.litElementPolyfillSupport;null==ht||ht({LitElement:lt}),(null!==(at=globalThis.litElementVersions)&&void 0!==at?at:globalThis.litElementVersions=[]).push("3.1.2");class pt{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 pt(t,e,void 0,i)}static extend(t,e,i){return new pt(t,e.category,e,i)}static external(t,e){return new pt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return y`var(${u(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):u(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function ct(t,e){return u(`${t.name}: ${e}`)}const ft={colorPrimary:pt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:pt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:pt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:pt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:pt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:pt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:pt.create("--ft-color-error","COLOR","#B00020"),colorOutline:pt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:pt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:pt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:pt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:pt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:pt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:pt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:pt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:pt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:pt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:pt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:pt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:pt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:pt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:pt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:pt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:pt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:pt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:pt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:pt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:pt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:pt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:pt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:pt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:pt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:pt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:pt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:pt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:pt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:pt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:pt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:pt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:pt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:pt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:pt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:pt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:pt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:pt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:pt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:pt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:pt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:pt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:pt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:pt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:pt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:pt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:pt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:pt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:pt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:pt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:pt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:pt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:pt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:pt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:pt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
64
+ var rt,at;null==st||st(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C:globalThis.litHtmlVersions=[]).push("2.1.3");class lt extends k{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 G(e.insertBefore(U(),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 H}}lt.finalized=!0,lt._$litElement$=!0,null===(rt=globalThis.litElementHydrateSupport)||void 0===rt||rt.call(globalThis,{LitElement:lt});const pt=globalThis.litElementPolyfillSupport;null==pt||pt({LitElement:lt}),(null!==(at=globalThis.litElementVersions)&&void 0!==at?at:globalThis.litElementVersions=[]).push("3.1.2");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 y`var(${u(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):u(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function ct(t,e){return u(`${t.name}: ${e}`)}const ft={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
65
  /**
66
66
  * @license
67
67
  * Copyright 2021 Google LLC
@@ -80,7 +80,7 @@ var rt,at;null==st||st(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
80
80
  -ms-user-select: none;
81
81
  user-select: none;
82
82
  }
83
- `;var yt,xt,bt;const vt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(bt=null===(xt=null===(yt=window.safari)||void 0===yt?void 0:yt.pushNotification)||void 0===xt?void 0:xt.toString())&&void 0!==bt?bt:""),gt=1,mt=2,wt=t=>(...e)=>({_$litDirective$:t,values:e});
83
+ `;var yt,xt,bt;const gt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(bt=null===(xt=null===(yt=window.safari)||void 0===yt?void 0:yt.pushNotification)||void 0===xt?void 0:xt.toString())&&void 0!==bt?bt:""),vt=1,mt=2,wt=t=>(...e)=>({_$litDirective$:t,values:e});
84
84
  /**
85
85
  * @license
86
86
  * Copyright 2017 Google LLC
@@ -90,7 +90,7 @@ var rt,at;null==st||st(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
90
90
  * @license
91
91
  * Copyright 2018 Google LLC
92
92
  * SPDX-License-Identifier: BSD-3-Clause
93
- */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.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.et)||void 0===i?void 0:i.has(t))&&this.st.add(t);return this.render(e)}const n=t.element.classList;this.st.forEach((t=>{t in e||(n.remove(t),this.st.delete(t))}));for(const t in e){const i=!!e[t];i===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.st.add(t)):(n.remove(t),this.st.delete(t)))}return H}});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={color:pt.extend("--ft-ripple-color",ft.colorContent),primaryColor:pt.extend("--ft-ripple-primary-color",pt.extend("--ft-ripple-color",ft.colorPrimary)),secondaryColor:pt.extend("--ft-ripple-secondary-color",pt.extend("--ft-ripple-color",ft.colorSecondary)),opacityContentOnSurfacePressed:pt.external(ft.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:pt.external(ft.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:pt.external(ft.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:pt.external(ft.opacityContentOnSurfaceSelected,"Design system")};class Ct 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.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed)},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 W`
93
+ */const Ot=wt(class extends $t{constructor(t){var e;if(super(t),t.type!==vt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.et)||void 0===i?void 0:i.has(t))&&this.st.add(t);return this.render(e)}const n=t.element.classList;this.st.forEach((t=>{t in e||(n.remove(t),this.st.delete(t))}));for(const t in e){const i=!!e[t];i===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.st.add(t)):(n.remove(t),this.st.delete(t)))}return H}});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",ft.colorContent),Ct={color:kt,backgroundColor:ht.extend("--ft-ripple-background-color",kt),opacityContentOnSurfacePressed:ht.external(ft.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ht.external(ft.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ht.external(ft.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ht.external(ft.opacityContentOnSurfaceSelected,"Design system")},Nt=ht.extend("--ft-ripple-color",ft.colorPrimary),Et=Nt,Rt=ht.extend("--ft-ripple-background-color",Nt),Mt=ht.extend("--ft-ripple-color",ft.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 e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),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 W`
94
94
  <style>
95
95
  .ft-ripple .ft-ripple--effect,
96
96
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -107,7 +107,7 @@ var rt,at;null==st||st(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
107
107
  <div class="ft-ripple--background"></div>
108
108
  <div class="ft-ripple--effect"></div>
109
109
  </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){super.updated(t),t.has("disabled")&&this.disabled&&this.endRipple(),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()}}Ct.elementDefinitions={},Ct.styles=y`
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()}}Ut.elementDefinitions={},Ut.styles=y`
111
111
  :host {
112
112
  display: contents;
113
113
  }
@@ -126,17 +126,30 @@ var rt,at;null==st||st(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
126
126
  .ft-ripple .ft-ripple--effect {
127
127
  position: absolute;
128
128
  opacity: 0;
129
- background-color: ${kt.color};
130
129
  }
131
130
 
132
- .ft-ripple.ft-ripple--secondary .ft-ripple--background,
131
+ .ft-ripple .ft-ripple--background {
132
+ background-color: ${Ct.backgroundColor};
133
+ }
134
+
135
+ .ft-ripple .ft-ripple--effect {
136
+ background-color: ${Ct.color};
137
+ }
138
+
139
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
140
+ background-color: ${Ft};
141
+ }
142
+
133
143
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
134
- background-color: ${kt.secondaryColor};
144
+ background-color: ${zt};
145
+ }
146
+
147
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
148
+ background-color: ${Rt};
135
149
  }
136
150
 
137
- .ft-ripple.ft-ripple--primary .ft-ripple--background,
138
151
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
139
- background-color: ${kt.primaryColor};
152
+ background-color: ${Et};
140
153
  }
141
154
 
142
155
  .ft-ripple .ft-ripple--background {
@@ -144,6 +157,7 @@ var rt,at;null==st||st(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
144
157
  left: 0;
145
158
  height: 100%;
146
159
  width: 100%;
160
+ transition: opacity 75ms linear;
147
161
  }
148
162
 
149
163
  .ft-ripple .ft-ripple--effect,
@@ -167,130 +181,130 @@ var rt,at;null==st||st(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
167
181
  }
168
182
 
169
183
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
170
- opacity: ${kt.opacityContentOnSurfaceHover};
184
+ opacity: ${Ct.opacityContentOnSurfaceHover};
171
185
  }
172
186
 
173
187
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
174
- opacity: ${kt.opacityContentOnSurfaceSelected};
188
+ opacity: ${Ct.opacityContentOnSurfaceSelected};
175
189
  }
176
190
 
177
191
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
178
- opacity: ${kt.opacityContentOnSurfaceFocused};
192
+ opacity: ${Ct.opacityContentOnSurfaceFocused};
179
193
  }
180
194
 
181
195
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
182
- opacity: ${kt.opacityContentOnSurfacePressed};
196
+ opacity: ${Ct.opacityContentOnSurfacePressed};
183
197
  transform: translate(-50%, -50%) scale(1);
184
198
  }
185
- `,St([o({type:Boolean})],Ct.prototype,"primary",void 0),St([o({type:Boolean})],Ct.prototype,"secondary",void 0),St([o({type:Boolean})],Ct.prototype,"unbounded",void 0),St([o({type:Boolean})],Ct.prototype,"activated",void 0),St([o({type:Boolean})],Ct.prototype,"selected",void 0),St([o({type:Boolean})],Ct.prototype,"disabled",void 0),St([n()],Ct.prototype,"hovered",void 0),St([n()],Ct.prototype,"focused",void 0),St([n()],Ct.prototype,"pressed",void 0),St([n()],Ct.prototype,"rippling",void 0),St([n()],Ct.prototype,"rippleSize",void 0),St([n()],Ct.prototype,"originX",void 0),St([n()],Ct.prototype,"originY",void 0),St([r(".ft-ripple")],Ct.prototype,"ripple",void 0),St([r(".ft-ripple--effect")],Ct.prototype,"rippleEffect",void 0),h("ft-ripple")(Ct);
199
+ `,St([o({type:Boolean})],Ut.prototype,"primary",void 0),St([o({type:Boolean})],Ut.prototype,"secondary",void 0),St([o({type:Boolean})],Ut.prototype,"unbounded",void 0),St([o({type:Boolean})],Ut.prototype,"activated",void 0),St([o({type:Boolean})],Ut.prototype,"selected",void 0),St([o({type:Boolean})],Ut.prototype,"disabled",void 0),St([n()],Ut.prototype,"hovered",void 0),St([n()],Ut.prototype,"focused",void 0),St([n()],Ut.prototype,"pressed",void 0),St([n()],Ut.prototype,"rippling",void 0),St([n()],Ut.prototype,"rippleSize",void 0),St([n()],Ut.prototype,"originX",void 0),St([n()],Ut.prototype,"originY",void 0),St([r(".ft-ripple")],Ut.prototype,"ripple",void 0),St([r(".ft-ripple--effect")],Ut.prototype,"rippleEffect",void 0),p("ft-ripple")(Ut);
186
200
  /**
187
201
  * @license
188
202
  * Copyright 2020 Google LLC
189
203
  * SPDX-License-Identifier: BSD-3-Clause
190
204
  */
191
- const Nt=t=>({_$litStatic$:t}),Et=new Map,Rt=(t=>(e,...i)=>{var o;const n=i.length;let s,r;const a=[],l=[];let h,p=0,c=!1;for(;p<n;){for(h=e[p];p<n&&void 0!==(r=i[p],s=null===(o=r)||void 0===o?void 0:o._$litStatic$);)h+=s+e[++p],c=!0;l.push(r),a.push(h),p++}if(p===n&&a.push(e[n]),c){const t=a.join("$$lit$$");void 0===(e=Et.get(t))&&(a.raw=a,Et.set(t,e=a)),i=l}return t(e,...i)})(W);var Mt,zt=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"}(Mt||(Mt={}));const Ft=pt.extend("--ft-typography-font-family",ft.titleFont),Ut=pt.extend("--ft-typography-font-family",ft.contentFont),Bt={fontFamily:Ut,fontSize:pt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:pt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:pt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:pt.create("--ft-typography-line-height","SIZE","24px"),textTransform:pt.create("--ft-typography-text-transform","UNKNOWN","inherit")},jt=pt.extend("--ft-typography-title-font-family",Ft),Tt=pt.extend("--ft-typography-title-font-size",Bt.fontSize,"20px"),Lt=pt.extend("--ft-typography-title-font-weight",Bt.fontWeight,"normal"),At=pt.extend("--ft-typography-title-letter-spacing",Bt.letterSpacing,"0.15px"),_t=pt.extend("--ft-typography-title-line-height",Bt.lineHeight,"24px"),Dt=pt.extend("--ft-typography-title-text-transform",Bt.textTransform,"inherit"),Pt=pt.extend("--ft-typography-title-dense-font-family",Ft),It=pt.extend("--ft-typography-title-dense-font-size",Bt.fontSize,"14px"),Wt=pt.extend("--ft-typography-title-dense-font-weight",Bt.fontWeight,"normal"),Ht=pt.extend("--ft-typography-title-dense-letter-spacing",Bt.letterSpacing,"0.105px"),Kt=pt.extend("--ft-typography-title-dense-line-height",Bt.lineHeight,"24px"),Zt=pt.extend("--ft-typography-title-dense-text-transform",Bt.textTransform,"inherit"),Vt=pt.extend("--ft-typography-subtitle1-font-family",Ut),qt=pt.extend("--ft-typography-subtitle1-font-size",Bt.fontSize,"16px"),Xt=pt.extend("--ft-typography-subtitle1-font-weight",Bt.fontWeight,"600"),Jt=pt.extend("--ft-typography-subtitle1-letter-spacing",Bt.letterSpacing,"0.144px"),Yt=pt.extend("--ft-typography-subtitle1-line-height",Bt.lineHeight,"24px"),Gt=pt.extend("--ft-typography-subtitle1-text-transform",Bt.textTransform,"inherit"),Qt=pt.extend("--ft-typography-subtitle2-font-family",Ut),te=pt.extend("--ft-typography-subtitle2-font-size",Bt.fontSize,"14px"),ee=pt.extend("--ft-typography-subtitle2-font-weight",Bt.fontWeight,"normal"),ie=pt.extend("--ft-typography-subtitle2-letter-spacing",Bt.letterSpacing,"0.098px"),oe=pt.extend("--ft-typography-subtitle2-line-height",Bt.lineHeight,"24px"),ne=pt.extend("--ft-typography-subtitle2-text-transform",Bt.textTransform,"inherit"),se=pt.extend("--ft-typography-body1-font-family",Ut),re=pt.extend("--ft-typography-body1-font-size",Bt.fontSize,"16px"),ae=pt.extend("--ft-typography-body1-font-weight",Bt.fontWeight,"normal"),le=pt.extend("--ft-typography-body1-letter-spacing",Bt.letterSpacing,"0.496px"),he=pt.extend("--ft-typography-body1-line-height",Bt.lineHeight,"24px"),pe=pt.extend("--ft-typography-body1-text-transform",Bt.textTransform,"inherit"),ce=pt.extend("--ft-typography-body2-font-family",Ut),fe=pt.extend("--ft-typography-body2-font-size",Bt.fontSize,"14px"),de=pt.extend("--ft-typography-body2-font-weight",Bt.fontWeight,"normal"),ue=pt.extend("--ft-typography-body2-letter-spacing",Bt.letterSpacing,"0.252px"),ye=pt.extend("--ft-typography-body2-line-height",Bt.lineHeight,"20px"),xe=pt.extend("--ft-typography-body2-text-transform",Bt.textTransform,"inherit"),be=pt.extend("--ft-typography-caption-font-family",Ut),ve=pt.extend("--ft-typography-caption-font-size",Bt.fontSize,"12px"),ge=pt.extend("--ft-typography-caption-font-weight",Bt.fontWeight,"normal"),me=pt.extend("--ft-typography-caption-letter-spacing",Bt.letterSpacing,"0.396px"),we=pt.extend("--ft-typography-caption-line-height",Bt.lineHeight,"16px"),$e=pt.extend("--ft-typography-caption-text-transform",Bt.textTransform,"inherit"),Oe=pt.extend("--ft-typography-breadcrumb-font-family",Ut),Se=pt.extend("--ft-typography-breadcrumb-font-size",Bt.fontSize,"10px"),ke=pt.extend("--ft-typography-breadcrumb-font-weight",Bt.fontWeight,"normal"),Ce=pt.extend("--ft-typography-breadcrumb-letter-spacing",Bt.letterSpacing,"0.33px"),Ne=pt.extend("--ft-typography-breadcrumb-line-height",Bt.lineHeight,"16px"),Ee=pt.extend("--ft-typography-breadcrumb-text-transform",Bt.textTransform,"inherit"),Re=pt.extend("--ft-typography-overline-font-family",Ut),Me=pt.extend("--ft-typography-overline-font-size",Bt.fontSize,"10px"),ze=pt.extend("--ft-typography-overline-font-weight",Bt.fontWeight,"normal"),Fe=pt.extend("--ft-typography-overline-letter-spacing",Bt.letterSpacing,"1.5px"),Ue=pt.extend("--ft-typography-overline-line-height",Bt.lineHeight,"16px"),Be=pt.extend("--ft-typography-overline-text-transform",Bt.textTransform,"uppercase"),je={fontFamily:pt.extend("--ft-typography-button-font-family",Ut),fontSize:pt.extend("--ft-typography-button-font-size",Bt.fontSize,"14px"),fontWeight:pt.extend("--ft-typography-button-font-weight",Bt.fontWeight,"600"),letterSpacing:pt.extend("--ft-typography-button-letter-spacing",Bt.letterSpacing,"1.246px"),lineHeight:pt.extend("--ft-typography-button-line-height",Bt.lineHeight,"16px"),textTransform:pt.extend("--ft-typography-button-text-transform",Bt.textTransform,"uppercase")},Te=y`
205
+ const Bt=t=>({_$litStatic$:t}),jt=new Map,Tt=(t=>(e,...i)=>{var o;const n=i.length;let s,r;const a=[],l=[];let p,h=0,c=!1;for(;h<n;){for(p=e[h];h<n&&void 0!==(r=i[h],s=null===(o=r)||void 0===o?void 0:o._$litStatic$);)p+=s+e[++h],c=!0;l.push(r),a.push(p),h++}if(h===n&&a.push(e[n]),c){const t=a.join("$$lit$$");void 0===(e=jt.get(t))&&(a.raw=a,jt.set(t,e=a)),i=l}return t(e,...i)})(W);var Lt,At=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"}(Lt||(Lt={}));const _t=ht.extend("--ft-typography-font-family",ft.titleFont),Dt=ht.extend("--ft-typography-font-family",ft.contentFont),Pt={fontFamily:Dt,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","SIZE","24px"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},It=ht.extend("--ft-typography-title-font-family",_t),Wt=ht.extend("--ft-typography-title-font-size",Pt.fontSize,"20px"),Ht=ht.extend("--ft-typography-title-font-weight",Pt.fontWeight,"normal"),Kt=ht.extend("--ft-typography-title-letter-spacing",Pt.letterSpacing,"0.15px"),Zt=ht.extend("--ft-typography-title-line-height",Pt.lineHeight,"24px"),Vt=ht.extend("--ft-typography-title-text-transform",Pt.textTransform,"inherit"),qt=ht.extend("--ft-typography-title-dense-font-family",_t),Xt=ht.extend("--ft-typography-title-dense-font-size",Pt.fontSize,"14px"),Jt=ht.extend("--ft-typography-title-dense-font-weight",Pt.fontWeight,"normal"),Yt=ht.extend("--ft-typography-title-dense-letter-spacing",Pt.letterSpacing,"0.105px"),Gt=ht.extend("--ft-typography-title-dense-line-height",Pt.lineHeight,"24px"),Qt=ht.extend("--ft-typography-title-dense-text-transform",Pt.textTransform,"inherit"),te=ht.extend("--ft-typography-subtitle1-font-family",Dt),ee=ht.extend("--ft-typography-subtitle1-font-size",Pt.fontSize,"16px"),ie=ht.extend("--ft-typography-subtitle1-font-weight",Pt.fontWeight,"600"),oe=ht.extend("--ft-typography-subtitle1-letter-spacing",Pt.letterSpacing,"0.144px"),ne=ht.extend("--ft-typography-subtitle1-line-height",Pt.lineHeight,"24px"),se=ht.extend("--ft-typography-subtitle1-text-transform",Pt.textTransform,"inherit"),re=ht.extend("--ft-typography-subtitle2-font-family",Dt),ae=ht.extend("--ft-typography-subtitle2-font-size",Pt.fontSize,"14px"),le=ht.extend("--ft-typography-subtitle2-font-weight",Pt.fontWeight,"normal"),pe=ht.extend("--ft-typography-subtitle2-letter-spacing",Pt.letterSpacing,"0.098px"),he=ht.extend("--ft-typography-subtitle2-line-height",Pt.lineHeight,"24px"),ce=ht.extend("--ft-typography-subtitle2-text-transform",Pt.textTransform,"inherit"),fe=ht.extend("--ft-typography-body1-font-family",Dt),de=ht.extend("--ft-typography-body1-font-size",Pt.fontSize,"16px"),ue=ht.extend("--ft-typography-body1-font-weight",Pt.fontWeight,"normal"),ye=ht.extend("--ft-typography-body1-letter-spacing",Pt.letterSpacing,"0.496px"),xe=ht.extend("--ft-typography-body1-line-height",Pt.lineHeight,"24px"),be=ht.extend("--ft-typography-body1-text-transform",Pt.textTransform,"inherit"),ge=ht.extend("--ft-typography-body2-font-family",Dt),ve=ht.extend("--ft-typography-body2-font-size",Pt.fontSize,"14px"),me=ht.extend("--ft-typography-body2-font-weight",Pt.fontWeight,"normal"),we=ht.extend("--ft-typography-body2-letter-spacing",Pt.letterSpacing,"0.252px"),$e=ht.extend("--ft-typography-body2-line-height",Pt.lineHeight,"20px"),Oe=ht.extend("--ft-typography-body2-text-transform",Pt.textTransform,"inherit"),Se=ht.extend("--ft-typography-caption-font-family",Dt),ke=ht.extend("--ft-typography-caption-font-size",Pt.fontSize,"12px"),Ce=ht.extend("--ft-typography-caption-font-weight",Pt.fontWeight,"normal"),Ne=ht.extend("--ft-typography-caption-letter-spacing",Pt.letterSpacing,"0.396px"),Ee=ht.extend("--ft-typography-caption-line-height",Pt.lineHeight,"16px"),Re=ht.extend("--ft-typography-caption-text-transform",Pt.textTransform,"inherit"),Me=ht.extend("--ft-typography-breadcrumb-font-family",Dt),ze=ht.extend("--ft-typography-breadcrumb-font-size",Pt.fontSize,"10px"),Fe=ht.extend("--ft-typography-breadcrumb-font-weight",Pt.fontWeight,"normal"),Ue=ht.extend("--ft-typography-breadcrumb-letter-spacing",Pt.letterSpacing,"0.33px"),Be=ht.extend("--ft-typography-breadcrumb-line-height",Pt.lineHeight,"16px"),je=ht.extend("--ft-typography-breadcrumb-text-transform",Pt.textTransform,"inherit"),Te=ht.extend("--ft-typography-overline-font-family",Dt),Le=ht.extend("--ft-typography-overline-font-size",Pt.fontSize,"10px"),Ae=ht.extend("--ft-typography-overline-font-weight",Pt.fontWeight,"normal"),_e=ht.extend("--ft-typography-overline-letter-spacing",Pt.letterSpacing,"1.5px"),De=ht.extend("--ft-typography-overline-line-height",Pt.lineHeight,"16px"),Pe=ht.extend("--ft-typography-overline-text-transform",Pt.textTransform,"uppercase"),Ie={fontFamily:ht.extend("--ft-typography-button-font-family",Dt),fontSize:ht.extend("--ft-typography-button-font-size",Pt.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",Pt.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",Pt.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",Pt.lineHeight,"16px"),textTransform:ht.extend("--ft-typography-button-text-transform",Pt.textTransform,"uppercase")},We=y`
192
206
  .ft-typography--title {
193
- font-family: ${jt};
194
- font-size: ${Tt};
195
- font-weight: ${Lt};
196
- letter-spacing: ${At};
197
- line-height: ${_t};
198
- text-transform: ${Dt};
207
+ font-family: ${It};
208
+ font-size: ${Wt};
209
+ font-weight: ${Ht};
210
+ letter-spacing: ${Kt};
211
+ line-height: ${Zt};
212
+ text-transform: ${Vt};
199
213
  }
200
- `,Le=y`
214
+ `,He=y`
201
215
  .ft-typography--title-dense {
202
- font-family: ${Pt};
203
- font-size: ${It};
204
- font-weight: ${Wt};
205
- letter-spacing: ${Ht};
206
- line-height: ${Kt};
207
- text-transform: ${Zt};
216
+ font-family: ${qt};
217
+ font-size: ${Xt};
218
+ font-weight: ${Jt};
219
+ letter-spacing: ${Yt};
220
+ line-height: ${Gt};
221
+ text-transform: ${Qt};
208
222
  }
209
- `,Ae=y`
223
+ `,Ke=y`
210
224
  .ft-typography--subtitle1 {
211
- font-family: ${Vt};
212
- font-size: ${qt};
213
- font-weight: ${Xt};
214
- letter-spacing: ${Jt};
215
- line-height: ${Yt};
216
- text-transform: ${Gt};
225
+ font-family: ${te};
226
+ font-size: ${ee};
227
+ font-weight: ${ie};
228
+ letter-spacing: ${oe};
229
+ line-height: ${ne};
230
+ text-transform: ${se};
217
231
  }
218
- `,_e=y`
232
+ `,Ze=y`
219
233
  .ft-typography--subtitle2 {
220
- font-family: ${Qt};
221
- font-size: ${te};
222
- font-weight: ${ee};
223
- letter-spacing: ${ie};
224
- line-height: ${oe};
225
- text-transform: ${ne};
234
+ font-family: ${re};
235
+ font-size: ${ae};
236
+ font-weight: ${le};
237
+ letter-spacing: ${pe};
238
+ line-height: ${he};
239
+ text-transform: ${ce};
226
240
  }
227
241
 
228
- `,De=y`
242
+ `,Ve=y`
229
243
  .ft-typography--body1 {
230
- font-family: ${se};
231
- font-size: ${re};
232
- font-weight: ${ae};
233
- letter-spacing: ${le};
234
- line-height: ${he};
235
- text-transform: ${pe};
244
+ font-family: ${fe};
245
+ font-size: ${de};
246
+ font-weight: ${ue};
247
+ letter-spacing: ${ye};
248
+ line-height: ${xe};
249
+ text-transform: ${be};
236
250
  }
237
- `,Pe=y`
251
+ `,qe=y`
238
252
  .ft-typography--body2 {
239
- font-family: ${ce};
240
- font-size: ${fe};
241
- font-weight: ${de};
242
- letter-spacing: ${ue};
243
- line-height: ${ye};
244
- text-transform: ${xe};
253
+ font-family: ${ge};
254
+ font-size: ${ve};
255
+ font-weight: ${me};
256
+ letter-spacing: ${we};
257
+ line-height: ${$e};
258
+ text-transform: ${Oe};
245
259
  }
246
- `,Ie=y`
260
+ `,Xe=y`
247
261
  .ft-typography--caption {
248
- font-family: ${be};
249
- font-size: ${ve};
250
- font-weight: ${ge};
251
- letter-spacing: ${me};
252
- line-height: ${we};
253
- text-transform: ${$e};
262
+ font-family: ${Se};
263
+ font-size: ${ke};
264
+ font-weight: ${Ce};
265
+ letter-spacing: ${Ne};
266
+ line-height: ${Ee};
267
+ text-transform: ${Re};
254
268
  }
255
- `,We=y`
269
+ `,Je=y`
256
270
  .ft-typography--breadcrumb {
257
- font-family: ${Oe};
258
- font-size: ${Se};
259
- font-weight: ${ke};
260
- letter-spacing: ${Ce};
261
- line-height: ${Ne};
262
- text-transform: ${Ee};
271
+ font-family: ${Me};
272
+ font-size: ${ze};
273
+ font-weight: ${Fe};
274
+ letter-spacing: ${Ue};
275
+ line-height: ${Be};
276
+ text-transform: ${je};
263
277
  }
264
- `,He=y`
278
+ `,Ye=y`
265
279
  .ft-typography--overline {
266
- font-family: ${Re};
267
- font-size: ${Me};
268
- font-weight: ${ze};
269
- letter-spacing: ${Fe};
270
- line-height: ${Ue};
271
- text-transform: ${Be};
280
+ font-family: ${Te};
281
+ font-size: ${Le};
282
+ font-weight: ${Ae};
283
+ letter-spacing: ${_e};
284
+ line-height: ${De};
285
+ text-transform: ${Pe};
272
286
  }
273
- `,Ke=y`
287
+ `,Ge=y`
274
288
  .ft-typography--button {
275
- font-family: ${je.fontFamily};
276
- font-size: ${je.fontSize};
277
- font-weight: ${je.fontWeight};
278
- letter-spacing: ${je.letterSpacing};
279
- line-height: ${je.lineHeight};
280
- text-transform: ${je.textTransform};
289
+ font-family: ${Ie.fontFamily};
290
+ font-size: ${Ie.fontSize};
291
+ font-weight: ${Ie.fontWeight};
292
+ letter-spacing: ${Ie.letterSpacing};
293
+ line-height: ${Ie.lineHeight};
294
+ text-transform: ${Ie.textTransform};
281
295
  }
282
- `;class Ze extends dt{constructor(){super(...arguments),this.variant=Mt.body1}render(){return this.element?Rt`
283
- <${Nt(this.element)}
296
+ `;class Qe extends dt{constructor(){super(...arguments),this.variant=Lt.body1}render(){return this.element?Tt`
297
+ <${Bt(this.element)}
284
298
  class="ft-typography ft-typography--${this.variant}">
285
299
  <slot></slot>
286
- </${Nt(this.element)}>
287
- `:Rt`
300
+ </${Bt(this.element)}>
301
+ `:Tt`
288
302
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
289
- `}}Ze.styles=[Te,Le,Ae,_e,De,Pe,Ie,We,He,Ke,y`
303
+ `}}Qe.styles=[We,He,Ke,Ze,Ve,qe,Xe,Je,Ye,Ge,y`
290
304
  .ft-typography {
291
305
  vertical-align: inherit;
292
306
  }
293
- `],zt([o()],Ze.prototype,"element",void 0),zt([o()],Ze.prototype,"variant",void 0),h("ft-typography")(Ze);var Ve=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 qe=pt.create("--ft-tooltip-distance","SIZE","4px"),Xe=pt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Je=pt.create("--ft-tooltip-background-color","COLOR","#666666"),Ye=pt.create("--ft-tooltip-z-index","NUMBER","1"),Ge=pt.external(ft.borderRadiusS,"Design system");class Qe 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 e,this.revealDebouncer=new e}render(){return W`
307
+ `],At([o()],Qe.prototype,"element",void 0),At([o()],Qe.prototype,"variant",void 0),p("ft-typography")(Qe);var ti=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 ei=ht.create("--ft-tooltip-distance","SIZE","4px"),ii=ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),oi=ht.create("--ft-tooltip-background-color","COLOR","#666666"),ni=ht.create("--ft-tooltip-z-index","NUMBER","1"),si=ht.external(ft.borderRadiusS,"Design system");class ri 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 e,this.revealDebouncer=new e}render(){return W`
294
308
  <div part="container"
295
309
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
296
310
  @mouseenter=${this.onHover}
@@ -305,7 +319,7 @@ const Nt=t=>({_$litStatic$:t}),Et=new Map,Rt=(t=>(e,...i)=>{var o;const n=i.leng
305
319
  </div>
306
320
  <slot></slot>
307
321
  </div>
308
- `}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())}}Qe.elementDefinitions={"ft-typography":Ze},Qe.styles=y`
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())}}ri.elementDefinitions={"ft-typography":Qe},ri.styles=y`
309
323
  .ft-tooltip--container {
310
324
  display: block;
311
325
  position: relative;
@@ -323,27 +337,27 @@ const Nt=t=>({_$litStatic$:t}),Et=new Map,Rt=(t=>(e,...i)=>{var o;const n=i.leng
323
337
  width: max-content;
324
338
  max-width: 150px;
325
339
  text-align: center;
326
- padding: ${qe};
327
- z-index: ${Ye};
340
+ padding: ${ei};
341
+ z-index: ${ni};
328
342
  }
329
343
 
330
344
  .ft-tooltip--content {
331
345
  padding: 4px 8px;
332
- border-radius: ${Ge};
333
- background-color: ${Je};
334
- color: ${Xe};
346
+ border-radius: ${si};
347
+ background-color: ${oi};
348
+ color: ${ii};
335
349
  top: -500px;
336
350
  left: -500px;
337
351
  position: relative;
338
352
  word-break: break-word;
339
353
  }
340
- `,Ve([o()],Qe.prototype,"text",void 0),Ve([o({type:Boolean})],Qe.prototype,"manual",void 0),Ve([o({type:Boolean})],Qe.prototype,"inline",void 0),Ve([o({type:Number})],Qe.prototype,"delay",void 0),Ve([o()],Qe.prototype,"position",void 0),Ve([
354
+ `,ti([o()],ri.prototype,"text",void 0),ti([o({type:Boolean})],ri.prototype,"manual",void 0),ti([o({type:Boolean})],ri.prototype,"inline",void 0),ti([o({type:Number})],ri.prototype,"delay",void 0),ti([o()],ri.prototype,"position",void 0),ti([
341
355
  /**
342
356
  * @license
343
357
  * Copyright 2017 Google LLC
344
358
  * SPDX-License-Identifier: BSD-3-Clause
345
359
  */
346
- function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({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?l(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Qe.prototype,"slotNodes",void 0),Ve([r(".ft-tooltip--container")],Qe.prototype,"container",void 0),Ve([r("slot")],Qe.prototype,"target",void 0),Ve([r(".ft-tooltip")],Qe.prototype,"tooltip",void 0),Ve([r(".ft-tooltip--content")],Qe.prototype,"tooltipContent",void 0),Ve([n()],Qe.prototype,"visible",void 0),h("ft-tooltip")(Qe);const ti={color:pt.extend("--ft-loader-color",ft.colorPrimary),size:pt.create("--ft-loader-size","SIZE","80px")};class ei extends dt{static get styles(){return y`
360
+ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({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?l(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],ri.prototype,"slotNodes",void 0),ti([r(".ft-tooltip--container")],ri.prototype,"container",void 0),ti([r("slot")],ri.prototype,"target",void 0),ti([r(".ft-tooltip")],ri.prototype,"tooltip",void 0),ti([r(".ft-tooltip--content")],ri.prototype,"tooltipContent",void 0),ti([n()],ri.prototype,"visible",void 0),p("ft-tooltip")(ri);const ai={color:ht.extend("--ft-loader-color",ft.colorPrimary),size:ht.create("--ft-loader-size","SIZE","80px")};class li extends dt{static get styles(){return y`
347
361
  :host {
348
362
  line-height: 0;
349
363
  }
@@ -352,8 +366,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
352
366
  display: inline-block;
353
367
  position: relative;
354
368
 
355
- width: ${ti.size};
356
- height: ${ti.size};
369
+ width: ${ai.size};
370
+ height: ${ai.size};
357
371
  }
358
372
 
359
373
  .ft-loader div {
@@ -362,7 +376,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
362
376
  width: 25%;
363
377
  height: 25%;
364
378
  border-radius: 50%;
365
- background: ${ti.color};
379
+ background: ${ai.color};
366
380
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
367
381
  }
368
382
 
@@ -409,7 +423,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
409
423
  transform: translate(0, 0);
410
424
  }
411
425
  100% {
412
- transform: translate(calc(0.35 * ${ti.size}), 0);
426
+ transform: translate(calc(0.35 * ${ai.size}), 0);
413
427
  }
414
428
  }
415
429
  `}render(){return W`
@@ -419,27 +433,27 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
419
433
  <div></div>
420
434
  <div></div>
421
435
  </div>
422
- `}}h("ft-loader")(ei);
436
+ `}}p("ft-loader")(li);
423
437
  /**
424
438
  * @license
425
439
  * Copyright 2017 Google LLC
426
440
  * SPDX-License-Identifier: BSD-3-Clause
427
441
  */
428
- class ii extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this.vt=void 0,this.it=t;if(t===H)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ii.directiveName="unsafeHTML",ii.resultType=1;const oi=wt(ii);var ni,si;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ni||(ni={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(si||(si={})),new Map([...["abw"].map((t=>[t,si.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,si.AUDIO])),...["avi"].map((t=>[t,si.AVI])),...["chm","xhs"].map((t=>[t,si.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,si.CODE])),...["csv"].map((t=>[t,si.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,si.DITA])),...["epub"].map((t=>[t,si.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,si.EXCEL])),...["flac"].map((t=>[t,si.FLAC])),...["gif"].map((t=>[t,si.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,si.GZIP])),...["html","htm","xhtml"].map((t=>[t,si.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,si.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,si.JPEG])),...["json"].map((t=>[t,si.JSON])),...["m4a","m4p"].map((t=>[t,si.M4A])),...["mov","qt"].map((t=>[t,si.MOV])),...["mp3"].map((t=>[t,si.MP3])),...["mp4","m4v"].map((t=>[t,si.MP4])),...["ogg","oga"].map((t=>[t,si.OGG])),...["pdf","ps"].map((t=>[t,si.PDF])),...["png"].map((t=>[t,si.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,si.POWERPOINT])),...["rar"].map((t=>[t,si.RAR])),...["stp"].map((t=>[t,si.STP])),...["txt","rtf","md","mdown"].map((t=>[t,si.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,si.VIDEO])),...["wav"].map((t=>[t,si.WAV])),...["wma"].map((t=>[t,si.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,si.WORD])),...["xml","xsl","rdf"].map((t=>[t,si.XML])),...["yaml","yml","x-yaml"].map((t=>[t,si.YAML])),...["zip"].map((t=>[t,si.ZIP]))]);var ri,ai=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"}(ri||(ri={}));const li={size:pt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:pt.extend("--ft-icon-fluid-topics-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:pt.extend("--ft-icon-file-format-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:pt.extend("--ft-icon-material-font-family",pt.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class hi extends dt{constructor(){super(...arguments),this.variant=ri.fluid_topics}render(){return W`
442
+ class pi extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this.vt=void 0,this.it=t;if(t===H)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}pi.directiveName="unsafeHTML",pi.resultType=1;const hi=wt(pi);var ci,fi;!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;"}(ci||(ci={})),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;"}(fi||(fi={})),new Map([...["abw"].map((t=>[t,fi.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,fi.AUDIO])),...["avi"].map((t=>[t,fi.AVI])),...["chm","xhs"].map((t=>[t,fi.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,fi.CODE])),...["csv"].map((t=>[t,fi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,fi.DITA])),...["epub"].map((t=>[t,fi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,fi.EXCEL])),...["flac"].map((t=>[t,fi.FLAC])),...["gif"].map((t=>[t,fi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,fi.GZIP])),...["html","htm","xhtml"].map((t=>[t,fi.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,fi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,fi.JPEG])),...["json"].map((t=>[t,fi.JSON])),...["m4a","m4p"].map((t=>[t,fi.M4A])),...["mov","qt"].map((t=>[t,fi.MOV])),...["mp3"].map((t=>[t,fi.MP3])),...["mp4","m4v"].map((t=>[t,fi.MP4])),...["ogg","oga"].map((t=>[t,fi.OGG])),...["pdf","ps"].map((t=>[t,fi.PDF])),...["png"].map((t=>[t,fi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,fi.POWERPOINT])),...["rar"].map((t=>[t,fi.RAR])),...["stp"].map((t=>[t,fi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,fi.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,fi.VIDEO])),...["wav"].map((t=>[t,fi.WAV])),...["wma"].map((t=>[t,fi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,fi.WORD])),...["xml","xsl","rdf"].map((t=>[t,fi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,fi.YAML])),...["zip"].map((t=>[t,fi.ZIP]))]);var di,ui=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"}(di||(di={}));const yi={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=di.fluid_topics}render(){return W`
429
443
  <i class="ft-icon ${"ft-icon--"+this.variant}">
430
- ${oi(this.getIcon())}
444
+ ${hi(this.getIcon())}
431
445
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
432
446
  </i>
433
- `}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===ri.file_format?null!==(t=si[i.toUpperCase()])&&void 0!==t?t:i:this.variant===ri.fluid_topics?null!==(e=ni[i.toUpperCase()])&&void 0!==e?e:i:K}}hi.elementDefinitions={},hi.styles=y`
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===di.file_format?null!==(t=fi[i.toUpperCase()])&&void 0!==t?t:i:this.variant===di.fluid_topics?null!==(e=ci[i.toUpperCase()])&&void 0!==e?e:i:K}}xi.elementDefinitions={},xi.styles=y`
434
448
  :host, i.ft-icon {
435
449
  display: inline-block;
436
- width: ${li.size};
437
- height: ${li.size};
450
+ width: ${yi.size};
451
+ height: ${yi.size};
438
452
  text-align: center;
439
453
  }
440
454
 
441
455
  i.ft-icon {
442
- font-size: ${li.size};
456
+ font-size: ${yi.size};
443
457
  line-height: 1;
444
458
  font-weight: normal;
445
459
  text-transform: none;
@@ -453,17 +467,17 @@ class ii extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
453
467
  }
454
468
 
455
469
  .ft-icon--fluid-topics {
456
- font-family: ${li.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
470
+ font-family: ${yi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
457
471
  }
458
472
 
459
473
  .ft-icon--file-format {
460
- font-family: ${li.fileFormatFontFamily}, ft-mime, sans-serif;
474
+ font-family: ${yi.fileFormatFontFamily}, ft-mime, sans-serif;
461
475
  }
462
476
 
463
477
  .ft-icon--material {
464
- font-family: ${li.materialFontFamily}, "Material Icons", sans-serif;
478
+ font-family: ${yi.materialFontFamily}, "Material Icons", sans-serif;
465
479
  }
466
- `,ai([o()],hi.prototype,"variant",void 0),ai([r("slot")],hi.prototype,"slottedContent",void 0),h("ft-icon")(hi);var pi=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 ci=pt.extend("--ft-button-color",ft.colorPrimary),fi={backgroundColor:pt.extend("--ft-button-background-color",ft.colorSurface),borderRadius:pt.extend("--ft-button-border-radius",ft.borderRadiusL),color:ci,fontSize:pt.extend("--ft-button-font-size",je.fontSize),iconSize:pt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:pt.extend("--ft-button-ripple-color",ci),opacityDisabled:pt.external(ft.colorOpacityDisabled,"Design system")},di=pt.extend("--ft-button-primary-color",pt.extend("--ft-button-color",ft.colorOnPrimary)),ui={backgroundColor:pt.extend("--ft-button-primary-background-color",pt.extend("--ft-button-background-color",ft.colorPrimary)),color:di,rippleColor:pt.extend("--ft-button-primary-ripple-color",di)},yi=pt.extend("--ft-button-dense-border-radius",pt.extend("--ft-button-border-radius",ft.borderRadiusM));class xi 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,y`
480
+ `,ui([o()],xi.prototype,"variant",void 0),ui([r("slot")],xi.prototype,"slottedContent",void 0),p("ft-icon")(xi);var bi=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 gi=ht.extend("--ft-button-color",ft.colorPrimary),vi={backgroundColor:ht.extend("--ft-button-background-color",ft.colorSurface),borderRadius:ht.extend("--ft-button-border-radius",ft.borderRadiusL),color:gi,fontSize:ht.extend("--ft-button-font-size",Ie.fontSize),iconSize:ht.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ht.extend("--ft-button-ripple-color",gi),opacityDisabled:ht.external(ft.colorOpacityDisabled,"Design system")},mi=ht.extend("--ft-button-primary-color",ht.extend("--ft-button-color",ft.colorOnPrimary)),wi={backgroundColor:ht.extend("--ft-button-primary-background-color",ht.extend("--ft-button-background-color",ft.colorPrimary)),color:mi,rippleColor:ht.extend("--ft-button-primary-ripple-color",mi)},$i=ht.extend("--ft-button-dense-border-radius",ht.extend("--ft-button-border-radius",ft.borderRadiusM));class Oi 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,y`
467
481
  :host {
468
482
  display: inline-block;
469
483
  max-width: 100%;
@@ -502,18 +516,18 @@ class ii extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
502
516
  border: none;
503
517
  pointer-events: auto;
504
518
 
505
- --ft-button-internal-font-size: ${fi.fontSize};
519
+ --ft-button-internal-font-size: ${vi.fontSize};
506
520
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
507
- --ft-button-internal-color: ${fi.color};
508
- ${ct(li.size,fi.iconSize)};
521
+ --ft-button-internal-color: ${vi.color};
522
+ ${ct(yi.size,vi.iconSize)};
509
523
  --ft-button-internal-vertical-padding: 6px;
510
524
  --ft-button-internal-horizontal-padding: 8px;
511
- ${ct(kt.color,fi.rippleColor)};
512
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${fi.iconSize});
525
+ ${ct(Ct.color,vi.rippleColor)};
526
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${vi.iconSize});
513
527
 
514
- border-radius: ${fi.borderRadius};
528
+ border-radius: ${vi.borderRadius};
515
529
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
516
- background-color: ${fi.backgroundColor};
530
+ background-color: ${vi.backgroundColor};
517
531
  color: var(--ft-button-internal-color);
518
532
  -webkit-mask-image: radial-gradient(white, black);
519
533
  }
@@ -525,7 +539,7 @@ class ii extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
525
539
  .ft-button--dense {
526
540
  --ft-button-internal-vertical-padding: 2px;
527
541
  --ft-button-internal-horizontal-padding: 4px;
528
- border-radius: ${yi};
542
+ border-radius: ${$i};
529
543
  }
530
544
 
531
545
  .ft-button--round {
@@ -534,13 +548,13 @@ class ii extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
534
548
 
535
549
  .ft-button[disabled] {
536
550
  filter: grayscale(1);
537
- opacity: ${fi.opacityDisabled};
551
+ opacity: ${vi.opacityDisabled};
538
552
  }
539
553
 
540
554
  .ft-button.ft-button--primary {
541
- background-color: ${ui.backgroundColor};
542
- --ft-button-internal-color: ${ui.color};
543
- ${ct(kt.color,ui.rippleColor)};
555
+ background-color: ${wi.backgroundColor};
556
+ --ft-button-internal-color: ${wi.color};
557
+ ${ct(Ct.color,wi.rippleColor)};
544
558
  }
545
559
 
546
560
  .ft-button.ft-button--outlined {
@@ -553,13 +567,14 @@ class ii extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
553
567
  }
554
568
 
555
569
  .ft-button--label {
570
+ position: relative;
556
571
  overflow: hidden;
557
572
  white-space: nowrap;
558
573
  text-overflow: ellipsis;
559
574
  display: block;
560
575
  margin: 0 var(--ft-button-internal-horizontal-padding);
561
- ${ct(je.fontSize,"var(--ft-button-internal-font-size)")};
562
- ${ct(je.lineHeight,"var(--ft-button-internal-content-height)")};
576
+ ${ct(Ie.fontSize,"var(--ft-button-internal-font-size)")};
577
+ ${ct(Ie.lineHeight,"var(--ft-button-internal-content-height)")};
563
578
  }
564
579
 
565
580
  .ft-button--safari-fix .ft-button--label {
@@ -578,6 +593,7 @@ class ii extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
578
593
 
579
594
  ft-icon {
580
595
  flex-shrink: 0;
596
+ position: relative;
581
597
  }
582
598
 
583
599
  .ft-button--label[hidden] + ft-icon {
@@ -591,10 +607,10 @@ class ii extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
591
607
  }
592
608
 
593
609
  ft-loader {
594
- ${ct(ti.size,fi.iconSize)};
595
- ${ct(ti.color,"var(--ft-button-internal-color)")};
610
+ ${ct(ai.size,vi.iconSize)};
611
+ ${ct(ai.color,"var(--ft-button-internal-color)")};
596
612
  }
597
- `]}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(W`
613
+ `]}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":gt,"ft-no-text-select":!0};return this.addTooltip(W`
598
614
  <button part="button"
599
615
  class="${Ot(t)}"
600
616
  aria-label="${this.getLabel()}"
@@ -616,7 +632,7 @@ class ii extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
616
632
  </ft-tooltip>
617
633
  `}resolveIcon(){return this.loading?W`
618
634
  <ft-loader></ft-loader> `:this.icon?W`
619
- <ft-icon variant="material">${this.icon}</ft-icon> `:K}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}}xi.elementDefinitions={"ft-ripple":Ct,"ft-tooltip":Qe,"ft-typography":Ze,"ft-icon":hi,"ft-loader":ei},pi([o({type:Boolean})],xi.prototype,"primary",void 0),pi([o({type:Boolean})],xi.prototype,"outlined",void 0),pi([o({type:Boolean})],xi.prototype,"disabled",void 0),pi([o({type:Boolean})],xi.prototype,"dense",void 0),pi([o({type:Boolean})],xi.prototype,"round",void 0),pi([o({type:String})],xi.prototype,"label",void 0),pi([o({type:String})],xi.prototype,"icon",void 0),pi([o({type:Boolean})],xi.prototype,"trailingIcon",void 0),pi([o({type:Boolean})],xi.prototype,"loading",void 0),pi([o({type:String})],xi.prototype,"tooltipPosition",void 0),pi([r(".ft-button")],xi.prototype,"button",void 0),pi([r(".ft-button--label slot")],xi.prototype,"slottedContent",void 0),h("ft-button")(xi);var bi=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 vi 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 W`
635
+ <ft-icon variant="material">${this.icon}</ft-icon> `:K}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}}Oi.elementDefinitions={"ft-ripple":Ut,"ft-tooltip":ri,"ft-typography":Qe,"ft-icon":xi,"ft-loader":li},bi([o({type:Boolean})],Oi.prototype,"primary",void 0),bi([o({type:Boolean})],Oi.prototype,"outlined",void 0),bi([o({type:Boolean})],Oi.prototype,"disabled",void 0),bi([o({type:Boolean})],Oi.prototype,"dense",void 0),bi([o({type:Boolean})],Oi.prototype,"round",void 0),bi([o({type:String})],Oi.prototype,"label",void 0),bi([o({type:String})],Oi.prototype,"icon",void 0),bi([o({type:Boolean})],Oi.prototype,"trailingIcon",void 0),bi([o({type:Boolean})],Oi.prototype,"loading",void 0),bi([o({type:String})],Oi.prototype,"tooltipPosition",void 0),bi([r(".ft-button")],Oi.prototype,"button",void 0),bi([r(".ft-button--label slot")],Oi.prototype,"slottedContent",void 0),p("ft-button")(Oi);var Si=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 ki 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 W`
620
636
  <ft-button
621
637
  part="toggle"
622
638
  icon=${this.open?this.openIcon:this.closedIcon}
@@ -638,7 +654,7 @@ class ii extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
638
654
  class="${this.hasCustomToggle()?"":"hidden"}"
639
655
  ></slot>
640
656
  <slot class="content ${this.open?"":"hidden"}"></slot>
641
- `}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}}))}}vi.elementDefinitions={"ft-button":xi},vi.styles=y`
657
+ `}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}}))}}ki.elementDefinitions={"ft-button":Oi},ki.styles=y`
642
658
  :host, :root {
643
659
  display: block;
644
660
  }
@@ -650,4 +666,4 @@ class ii extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
650
666
  .hidden {
651
667
  display: none;
652
668
  }
653
- `,bi([r(".content")],vi.prototype,"content",void 0),bi([o({type:Boolean,reflect:!0})],vi.prototype,"open",void 0),bi([o()],vi.prototype,"label",void 0),bi([o({type:Boolean})],vi.prototype,"primary",void 0),bi([o({type:Boolean})],vi.prototype,"secondary",void 0),bi([o({type:Boolean})],vi.prototype,"disabled",void 0),bi([o({type:Boolean})],vi.prototype,"dense",void 0),bi([o({type:Boolean})],vi.prototype,"round",void 0),bi([o({type:String})],vi.prototype,"openIcon",void 0),bi([o({type:String})],vi.prototype,"closedIcon",void 0),bi([o({type:Boolean})],vi.prototype,"trailingIcon",void 0),bi([r('slot[name="toggle"]')],vi.prototype,"toggleSlot",void 0),h("ft-collapsible")(vi),t.FtCollapsible=vi,Object.defineProperty(t,"t",{value:!0})}({});
669
+ `,Si([r(".content")],ki.prototype,"content",void 0),Si([o({type:Boolean,reflect:!0})],ki.prototype,"open",void 0),Si([o()],ki.prototype,"label",void 0),Si([o({type:Boolean})],ki.prototype,"primary",void 0),Si([o({type:Boolean})],ki.prototype,"secondary",void 0),Si([o({type:Boolean})],ki.prototype,"disabled",void 0),Si([o({type:Boolean})],ki.prototype,"dense",void 0),Si([o({type:Boolean})],ki.prototype,"round",void 0),Si([o({type:String})],ki.prototype,"openIcon",void 0),Si([o({type:String})],ki.prototype,"closedIcon",void 0),Si([o({type:Boolean})],ki.prototype,"trailingIcon",void 0),Si([r('slot[name="toggle"]')],ki.prototype,"toggleSlot",void 0),p("ft-collapsible")(ki),t.FtCollapsible=ki,Object.defineProperty(t,"t",{value:!0})}({});