@fluid-topics/ft-switch 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,69 +14,69 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,s=new WeakMap,n=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,s){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);f(s,a,l);const h={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,h),this._definitionsByClass.set(s,h);let p=i.call(o,t);p||(p=c(t),e.call(o,t,p)),this===window.customElements&&(r.set(s,h),h.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const 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=l.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,s=o._getDefinition(e);return s?u(i,s):n.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,s),i.call(this,n,t,s)}else o.call(this,n,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),x.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(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!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Ye){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class t{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.customElements.define,e=window.customElements.get,o=window.customElements,s=new WeakMap,n=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,s){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);f(s,a,l);const h={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,h),this._definitionsByClass.set(s,h);let c=e.call(o,t);c||(c=p(t),i.call(o,t,c)),this===window.customElements&&(r.set(s,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const i=this._getDefinition(t);if(void 0!==i)return Promise.resolve(i.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,i,e){let o=this._awaitingUpgrade.get(i);o||this._awaitingUpgrade.set(i,o=new Set),e?o.add(t):o.delete(t)}},window.HTMLElement=function(){let i=a;if(i)return a=void 0,i;const e=r.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return i=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(i,this.constructor.prototype),s.set(i,e),i},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let i=t.getRootNode();if(!h(i)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;i=t.getRootNode(),h(i)||(i=l.get(i)?.getRootNode()||document)}return i.customElements},p=i=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const o=c(e)||window.customElements,s=o._getDefinition(i);return s?u(e,s):n.set(e,o),e}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,i,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,i,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,i,e)=>{if(0===i.size||void 0===e)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(i.has(n)){const t=this.getAttribute(n);o.call(this,n,s),e.call(this,n,t,s)}else o.call(this,n,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(i.has(o)){const t=this.getAttribute(o);s.call(this,o),e.call(this,o,t,null)}else s.call(this,o)})},d=i=>{const e=Object.getPrototypeOf(i);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(i,window.HTMLElement):d(e)},u=(t,i,e=!1)=>{Object.setPrototypeOf(t,i.elementClass.prototype),s.set(t,i),a=t;try{new i.elementClass}catch(t){d(i.elementClass),new i.elementClass}i.observedAttributes.forEach((e=>{t.hasAttribute(e)&&i.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&i.connectedCallback&&t.isConnected&&i.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const i=y.apply(this,arguments);return t.customElements&&(i.customElements=t.customElements),i};let x=[document];const g=(t,i,e)=>{const o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){x.push(this);const t=o.apply(e||this,arguments);return void 0!==t&&l.set(t,this),x.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const v=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){x.push(this),e.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,i=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const o=i.call(this,...e);return t.set(o,this),o},e.forEach((i=>{const e=window.ElementInternals.prototype,o=e[i];e[i]=function(...i){const e=t.get(this);if(!0!==s.get(e).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...i)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const i=new Map;t.forEach(((t,e)=>{const o=t.getAttribute("name"),s=i.get(o)||[];this[+e]=t,s.push(t),i.set(o,s)})),this.length=t.length,i.forEach(((t,i)=>{t&&(1===t.length?this[i]=t[0]:this[i]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),i=[];for(const e of t){const t=s.get(e);t&&!0!==t.formAssociated||i.push(e)}return new n(i)}})}}try{window.customElements.define("custom-element",null)}catch(Yi){const t=window.customElements.define;window.customElements.define=(i,e,o)=>{try{t.bind(window.customElements)(i,e,o)}catch(t){console.warn(i,e,o,t)}}}class t{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,i){this.callbacks=[t],this.debounce(i)}queue(t,i){this.callbacks.push(t),this.debounce(i)}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
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */const e=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function i(t){return(i,o)=>void 0!==o?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,i,o):e(t,i)
22
+ */const i=(t,i)=>"method"===i.kind&&i.descriptor&&!("value"in i.descriptor)?{...i,finisher(e){e.createProperty(i.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:i.key,initializer(){"function"==typeof i.initializer&&(this[i.key]=i.initializer.call(this))},finisher(e){e.createProperty(i.key,t)}};function e(t){return(e,o)=>void 0!==o?((t,i,e)=>{i.constructor.createProperty(e,t)})(t,e,o):i(t,e)
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}function o(t){return i({...t,state:!0})}
27
+ */}function o(t){return e({...t,state:!0})}
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */const s=({finisher:t,descriptor:e})=>(i,o)=>{var s;if(void 0===o){const o=null!==(s=i.originalKey)&&void 0!==s?s:i.key,n=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(n.finisher=function(e){t(e,o)}),n}{const s=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(s,o)}}
32
+ */const s=({finisher:t,descriptor:i})=>(e,o)=>{var s;if(void 0===o){const o=null!==(s=e.originalKey)&&void 0!==s?s:e.key,n=null!=i?{kind:"method",placement:"prototype",key:o,descriptor:i(e.key)}:{...e,key:o};return null!=t&&(n.finisher=function(i){t(i,o)}),n}{const s=e.constructor;void 0!==i&&Object.defineProperty(e,o,i(o)),null==t||t(s,o)}}
33
33
  /**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */;function n(t,e){return s({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
37
+ */;function n(t,i){return s({descriptor:e=>{const o={get(){var i,e;return null!==(e=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(i){const i="symbol"==typeof e?Symbol():"__"+e;o.get=function(){var e,o;return void 0===this[i]&&(this[i]=null!==(o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==o?o:null),this[i]}}return o}})}
38
38
  /**
39
39
  * @license
40
40
  * Copyright 2021 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */var r;const l=null!=(null===(r=window.HTMLSlotElement)||void 0===r?void 0:r.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));const a=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}
42
+ */var r;const l=null!=(null===(r=window.HTMLSlotElement)||void 0===r?void 0:r.prototype.assignedElements)?(t,i)=>t.assignedElements(i):(t,i)=>t.assignedNodes(i).filter((t=>t.nodeType===Node.ELEMENT_NODE));const a=t=>i=>{window.customElements.get(t)||window.customElements.define(t,i)}
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2019 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
- */,h=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),c=new Map;class f{constructor(t,e){if(this._$cssResult$=!0,e!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=c.get(this.cssText);return h&&void 0===t&&(c.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const d=t=>new f("string"==typeof t?t:t+"",p),u=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new f(i,p)},y=(t,e)=>{h?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},x=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return d(e)})(t):t
47
+ */,h=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),p=new Map;class f{constructor(t,i){if(this._$cssResult$=!0,i!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=p.get(this.cssText);return h&&void 0===t&&(p.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const d=t=>new f("string"==typeof t?t:t+"",c),u=(t,...i)=>{const e=1===t.length?t[0]:i.reduce(((i,e,o)=>i+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[o+1]),t[0]);return new f(e,c)},y=(t,i)=>{h?t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):i.forEach((i=>{const e=document.createElement("style"),o=window.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}))},x=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let i="";for(const e of t.cssRules)i+=e.cssText;return d(i)})(t):t
48
48
  /**
49
49
  * @license
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
- */;var g;const v=window.trustedTypes,m=v?v.emptyScript:"",b=window.reactiveElementPolyfillSupport,w={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}},$=(t,e)=>e!==t&&(e==e||t==t),O={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:$};class S extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=O){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const s=this[t];this[e]=o,this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||O}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(x(t))}else void 0!==t&&e.push(x(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return y(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=O){var o,s;const n=this.constructor._$Eh(t,i);if(void 0!==n&&!0===i.reflect){const r=(null!==(s=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:w.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,e){var i,o,s;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),l=t.converter,a=null!==(s=null!==(o=null===(i=l)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==s?s:w.fromAttribute;this._$Ei=r,this[r]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||$)(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:"",b=window.reactiveElementPolyfillSupport,w={toAttribute(t,i){switch(i){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let e=t;switch(i){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},$=(t,i)=>i!==t&&(i==i||t==t),O={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:$};class S extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var i;null!==(i=this.l)&&void 0!==i||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,e)=>{const o=this._$Eh(e,i);void 0!==o&&(this._$Eu.set(o,e),t.push(o))})),t}static createProperty(t,i=O){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,e,i);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,i,e){return{get(){return this[i]},set(o){const s=this[t];this[i]=o,this.requestUpdate(t,s,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||O}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of i)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const i=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)i.unshift(x(t))}else void 0!==t&&i.push(x(t));return i}static _$Eh(t,i){const e=i.attribute;return!1===e?void 0:"string"==typeof e?e:"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 i,e;(null!==(i=this._$Eg)&&void 0!==i?i:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var i;null===(i=this._$Eg)||void 0===i||i.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Et.set(i,this[i]),delete this[i])}))}createRenderRoot(){var t;const i=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return y(i,this.constructor.elementStyles),i}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}))}attributeChangedCallback(t,i,e){this._$AK(t,e)}_$ES(t,i,e=O){var o,s;const n=this.constructor._$Eh(t,e);if(void 0!==n&&!0===e.reflect){const r=(null!==(s=null===(o=e.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:w.toAttribute)(i,e.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,i){var e,o,s;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),l=t.converter,a=null!==(s=null!==(o=null===(e=l)||void 0===e?void 0:e.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==s?s:w.fromAttribute;this._$Ei=r,this[r]=a(i,t.type),this._$Ei=null}}requestUpdate(t,i,e){let o=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||$)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===e.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,e))):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,i)=>this[i]=t)),this._$Et=void 0);let i=!1;const e=this._$AL;try{i=this.shouldUpdate(e),i?(this.willUpdate(e),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(e)):this._$EU()}catch(t){throw i=!1,this._$EU(),t}i&&this._$AE(e)}willUpdate(t){}_$AE(t){var i;null===(i=this._$Eg)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$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,i)=>this._$ES(i,this[i],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;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==b||b({ReactiveElement:S}),(null!==(g=globalThis.reactiveElementVersions)&&void 0!==g?g:globalThis.reactiveElementVersions=[]).push("1.2.2");const k=globalThis.trustedTypes,N=k?k.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,M=`<${R}>`,F=document,U=(t="")=>F.createComment(t),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,T=/>/g,B=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,D=/'/g,P=/"/g,_=/^(?:script|style|textarea|title)$/i,W=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),I=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,Z=F.createTreeWalker(F,129,null,!1),V=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=A;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,p=0;for(;p<i.length&&(r.lastIndex=p,a=r.exec(i),null!==a);)p=r.lastIndex,r===A?"!--"===a[1]?r=L:void 0!==a[1]?r=T:void 0!==a[2]?(_.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=B):void 0!==a[3]&&(r=B):r===B?">"===a[0]?(r=null!=s?s:A,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?B:'"'===a[3]?P:D):r===P||r===D?r=B:r===L||r===T?r=A:(r=B,s=void 0);const c=r===B&&t[e+1].startsWith("/>")?" ":"";n+=r===A?i+M:h>=0?(o.push(l),i.slice(0,h)+"$lit$"+i.slice(h)+E+c):i+E+(-2===h?(o.push(void 0),e):c)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==N?N.createHTML(l):l,o]};class q{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=V(t,e);if(this.el=q.createElement(a,i),Z.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Z.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?Q:"?"===e[1]?et:"@"===e[1]?it:G})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(E),e=t.length-1;if(e>0){o.textContent=k?k.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),Z.nextNode(),l.push({type:2,index:++s});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===R)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(E,t+1));)l.push({type:7,index:s}),t+=E.length-1}s++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function X(t,e,i=t,o){var s,n,r,l;if(e===I)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const h=z(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=X(t,a._$AS(t,e.values),a,o)),e}class J{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);Z.currentNode=s;let n=Z.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new Y(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new ot(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=Z.nextNode(),r++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{constructor(t,e,i,o){var s;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=X(this,t,e),z(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==I&&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!==H&&z(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,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new J(s,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new q(t)),e}A(t){j(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new Y(this.M(U()),this.M(U()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class G{constructor(t,e,i,o,s){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=X(this,t,e,0),n=!z(t)||t!==this._$AH&&t!==I,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=X(this,o[i+r],e,r),l===I&&(l=this._$AH[r]),n||(n=!z(l)||l!==this._$AH[r]),l===H?t=H:t!==H&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.k(t)}k(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Q extends G{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===H?void 0:t}}const tt=k?k.emptyScript:"";class et extends G{constructor(){super(...arguments),this.type=4}k(t){t&&t!==H?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class it extends G{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=X(this,t,e,0))&&void 0!==i?i:H)===I)return;const o=this._$AH,s=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==H&&(o===H||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ot{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){X(this,t)}}const st=window.litHtmlPolyfillSupport;
58
+ var C;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==b||b({ReactiveElement:S}),(null!==(g=globalThis.reactiveElementVersions)&&void 0!==g?g:globalThis.reactiveElementVersions=[]).push("1.2.2");const k=globalThis.trustedTypes,N=k?k.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,M=`<${R}>`,F=document,U=(t="")=>F.createComment(t),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,T=/>/g,B=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,D=/'/g,P=/"/g,_=/^(?:script|style|textarea|title)$/i,W=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),I=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,Z=F.createTreeWalker(F,129,null,!1),V=(t,i)=>{const e=t.length-1,o=[];let s,n=2===i?"<svg>":"",r=A;for(let i=0;i<e;i++){const e=t[i];let l,a,h=-1,c=0;for(;c<e.length&&(r.lastIndex=c,a=r.exec(e),null!==a);)c=r.lastIndex,r===A?"!--"===a[1]?r=L:void 0!==a[1]?r=T:void 0!==a[2]?(_.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=B):void 0!==a[3]&&(r=B):r===B?">"===a[0]?(r=null!=s?s:A,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?B:'"'===a[3]?P:D):r===P||r===D?r=B:r===L||r===T?r=A:(r=B,s=void 0);const p=r===B&&t[i+1].startsWith("/>")?" ":"";n+=r===A?e+M:h>=0?(o.push(l),e.slice(0,h)+"$lit$"+e.slice(h)+E+p):e+E+(-2===h?(o.push(void 0),i):p)}const l=n+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==N?N.createHTML(l):l,o]};class q{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=V(t,i);if(this.el=q.createElement(a,e),Z.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=Z.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(E)){const e=h[n++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(E),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?Q:"?"===i[1]?it:"@"===i[1]?et:G})}else l.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(_.test(o.tagName)){const t=o.textContent.split(E),i=t.length-1;if(i>0){o.textContent=k?k.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],U()),Z.nextNode(),l.push({type:2,index:++s});o.append(t[i],U())}}}else if(8===o.nodeType)if(o.data===R)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(E,t+1));)l.push({type:7,index:s}),t+=E.length-1}s++}}static createElement(t,i){const e=F.createElement("template");return e.innerHTML=t,e}}function X(t,i,e=t,o){var s,n,r,l;if(i===I)return i;let a=void 0!==o?null===(s=e._$Cl)||void 0===s?void 0:s[o]:e._$Cu;const h=z(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:e._$Cu=a),void 0!==a&&(i=X(t,a._$AS(t,i.values),a,o)),i}class J{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:F).importNode(e,!0);Z.currentNode=s;let n=Z.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new Y(n,n.nextSibling,this,t):1===a.type?i=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(i=new ot(n,this,t)),this.v.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=Z.nextNode(),r++)}return s}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class Y{constructor(t,i,e,o){var s;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=X(this,t,i),z(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==I&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var i;return j(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==H&&z(this._$AH)?this._$AA.nextSibling.data=t:this.S(F.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.m(e);else{const t=new J(s,this),i=t.p(this.options);t.m(e),this.S(i),this._$AH=t}}_$AC(t){let i=K.get(t.strings);return void 0===i&&K.set(t.strings,i=new q(t)),i}A(t){j(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const s of t)o===i.length?i.push(e=new Y(this.M(U()),this.M(U()),this,this.options)):e=i[o],e._$AI(s),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class G{constructor(t,i,e,o,s){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=s,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let n=!1;if(void 0===s)t=X(this,t,i,0),n=!z(t)||t!==this._$AH&&t!==I,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=X(this,o[e+r],i,r),l===I&&(l=this._$AH[r]),n||(n=!z(l)||l!==this._$AH[r]),l===H?t=H:t!==H&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.k(t)}k(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Q extends G{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===H?void 0:t}}const tt=k?k.emptyScript:"";class it extends G{constructor(){super(...arguments),this.type=4}k(t){t&&t!==H?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class et extends G{constructor(t,i,e,o,s){super(t,i,e,o,s),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=X(this,t,i,0))&&void 0!==e?e:H)===I)return;const o=this._$AH,s=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==H&&(o===H||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class ot{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){X(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 nt,rt;null==st||st(q,Y),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C:globalThis.litHtmlVersions=[]).push("2.1.3");class lt extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new Y(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 I}}lt.finalized=!0,lt._$litElement$=!0,null===(nt=globalThis.litElementHydrateSupport)||void 0===nt||nt.call(globalThis,{LitElement:lt});const at=globalThis.litElementPolyfillSupport;null==at||at({LitElement:lt}),(null!==(rt=globalThis.litElementVersions)&&void 0!==rt?rt:globalThis.litElementVersions=[]).push("3.1.2");class ht{constructor(t,e,i,o,s){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=s,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new ht(t,e,void 0,i)}static extend(t,e,i){return new ht(t,e.category,e,i)}static external(t,e){return new ht(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return u`var(${d(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):d(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function pt(t,e){return d(`${t.name}: ${e}`)}const ct={colorPrimary:ht.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ht.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ht.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ht.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ht.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ht.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ht.create("--ft-color-error","COLOR","#B00020"),colorOutline:ht.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ht.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ht.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ht.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ht.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ht.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ht.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ht.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ht.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ht.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ht.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ht.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ht.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ht.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ht.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ht.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ht.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ht.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ht.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ht.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ht.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ht.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ht.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ht.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ht.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ht.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ht.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ht.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ht.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ht.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ht.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ht.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ht.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ht.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ht.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ht.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ht.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ht.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ht.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ht.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ht.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ht.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ht.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ht.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ht.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ht.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ht.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ht.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ht.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ht.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ht.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ht.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ht.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ht.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ht.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
64
+ var nt,rt;null==st||st(q,Y),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C:globalThis.litHtmlVersions=[]).push("2.1.3");class lt extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,i;const e=super.createRenderRoot();return null!==(t=(i=this.renderOptions).renderBefore)&&void 0!==t||(i.renderBefore=e.firstChild),e}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,i,e)=>{var o,s;const n=null!==(o=null==e?void 0:e.renderBefore)&&void 0!==o?o:i;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==e?void 0:e.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new Y(i.insertBefore(U(),t),t,void 0,null!=e?e:{})}return r._$AI(t),r})(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return I}}lt.finalized=!0,lt._$litElement$=!0,null===(nt=globalThis.litElementHydrateSupport)||void 0===nt||nt.call(globalThis,{LitElement:lt});const at=globalThis.litElementPolyfillSupport;null==at||at({LitElement:lt}),(null!==(rt=globalThis.litElementVersions)&&void 0!==rt?rt:globalThis.litElementVersions=[]).push("3.1.2");class ht{constructor(t,i,e,o,s){this.name=t,this.category=i,this.fallbackVariable=e,this.defaultValue=o,this.context=s,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,i,e){return new ht(t,i,void 0,e)}static extend(t,i,e){return new ht(t,i.category,i,e)}static external(t,i){return new ht(t.name,t.category,t.fallbackVariable,t.defaultValue,i)}get(t){return u`var(${d(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):d(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,i;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(i=this.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function ct(t,i){return d(`${t.name}: ${i}`)}const pt={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
68
68
  * SPDX-License-Identifier: BSD-3-Clause
69
- */class ft extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return y(s,this.constructor.elementStyles),s}}}(lt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),W`
69
+ */class ft extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:i,elementDefinitions:e,shadowRootOptions:o}=t;e&&!i&&(t.registry=new CustomElementRegistry,Object.entries(e).forEach((([i,e])=>t.registry.define(i,e))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return y(s,this.constructor.elementStyles),s}}}(lt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),W`
70
70
  ${t.map((t=>W`
71
71
  <style>${t}</style>
72
72
  `))}
73
73
  ${this.getTemplate()}
74
- `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}function dt(t){var e;let i;if("elementDefinitions"in t){i={};const e=t.elementDefinitions;for(let t in e)i[t]=dt(e[t])}return e=class extends t{constructor(...t){super(t),this._constructor=this.constructor}render(){var e;let i=null!==(e=t.styles)&&void 0!==e?e:[];return Array.isArray(i)||(i=[i]),W`
75
- ${i.map((t=>W`
74
+ `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}function dt(t){var i;let e;if("elementDefinitions"in t){e={};const i=t.elementDefinitions;for(let t in i)e[t]=dt(i[t])}return i=class extends t{constructor(...t){super(t),this._constructor=this.constructor}render(){var i;let e=null!==(i=t.styles)&&void 0!==i?i:[];return Array.isArray(e)||(e=[e]),W`
75
+ ${e.map((t=>W`
76
76
  <style>${t}</style>
77
77
  `))}
78
78
  ${super.render()}
79
- `}},e.styles=void 0,e.elementDefinitions=i,e}var ut,yt;u`
79
+ `}},i.styles=void 0,i.elementDefinitions=e,i}var ut,yt;u`
80
80
  .ft-no-text-select {
81
81
  -webkit-touch-callout: none;
82
82
  -webkit-user-select: none;
@@ -91,12 +91,12 @@ var nt,rt;null==st||st(q,Y),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
91
91
  * Copyright 2017 Google LLC
92
92
  * SPDX-License-Identifier: BSD-3-Clause
93
93
  */
94
- const xt=1,gt=2,vt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
94
+ const xt=1,gt=2,vt=t=>(...i)=>({_$litDirective$:t,values:i});class mt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,e){this._$Ct=t,this._$AM=i,this._$Ci=e}_$AS(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}}
95
95
  /**
96
96
  * @license
97
97
  * Copyright 2018 Google LLC
98
98
  * SPDX-License-Identifier: BSD-3-Clause
99
- */const bt=vt(class extends mt{constructor(t){var e;if(super(t),t.type!==xt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.et)||void 0===i?void 0:i.has(t))&&this.st.add(t);return this.render(e)}const s=t.element.classList;this.st.forEach((t=>{t in e||(s.remove(t),this.st.delete(t))}));for(const t in e){const i=!!e[t];i===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return I}});var wt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const $t={color:ht.extend("--ft-ripple-color",ct.colorContent),primaryColor:ht.extend("--ft-ripple-primary-color",ht.extend("--ft-ripple-color",ct.colorPrimary)),secondaryColor:ht.extend("--ft-ripple-secondary-color",ht.extend("--ft-ripple-color",ct.colorSecondary)),opacityContentOnSurfacePressed:ht.external(ct.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ht.external(ct.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ht.external(ct.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ht.external(ct.opacityContentOnSurfaceSelected,"Design system")};class Ot extends ft{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.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:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return W`
99
+ */const bt=vt(class extends mt{constructor(t){var i;if(super(t),t.type!==xt||"class"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((i=>t[i])).join(" ")+" "}update(t,[i]){var e,o;if(void 0===this.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 i)i[t]&&!(null===(e=this.et)||void 0===e?void 0:e.has(t))&&this.st.add(t);return this.render(i)}const s=t.element.classList;this.st.forEach((t=>{t in i||(s.remove(t),this.st.delete(t))}));for(const t in i){const e=!!i[t];e===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(e?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return I}});var wt=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const $t={color:ht.extend("--ft-ripple-color",pt.colorContent),primaryColor:ht.extend("--ft-ripple-primary-color",ht.extend("--ft-ripple-color",pt.colorPrimary)),secondaryColor:ht.extend("--ft-ripple-secondary-color",ht.extend("--ft-ripple-color",pt.colorSecondary)),opacityContentOnSurfacePressed:ht.external(pt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ht.external(pt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ht.external(pt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ht.external(pt.opacityContentOnSurfaceSelected,"Design system")};class Ot extends ft{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed)},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var i,e;let{x:o,y:s}=this.getCoordinates(t),n=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return W`
100
100
  <style>
101
101
  .ft-ripple .ft-ripple--effect,
102
102
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -113,7 +113,7 @@ const xt=1,gt=2,vt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
113
113
  <div class="ft-ripple--background"></div>
114
114
  <div class="ft-ripple--effect"></div>
115
115
  </div>
116
- `}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"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Ot.elementDefinitions={},Ot.styles=u`
116
+ `}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 i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const i=t,e=t;let o,s;return null!=i.x?({x:o,y:s}=i):null!=e.touches&&(o=e.touches[0].clientX,s=e.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Ot.elementDefinitions={},Ot.styles=u`
117
117
  :host {
118
118
  display: contents;
119
119
  }
@@ -188,13 +188,13 @@ const xt=1,gt=2,vt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
188
188
  opacity: ${$t.opacityContentOnSurfacePressed};
189
189
  transform: translate(-50%, -50%) scale(1);
190
190
  }
191
- `,wt([i({type:Boolean})],Ot.prototype,"primary",void 0),wt([i({type:Boolean})],Ot.prototype,"secondary",void 0),wt([i({type:Boolean})],Ot.prototype,"unbounded",void 0),wt([i({type:Boolean})],Ot.prototype,"activated",void 0),wt([i({type:Boolean})],Ot.prototype,"selected",void 0),wt([i({type:Boolean})],Ot.prototype,"disabled",void 0),wt([o()],Ot.prototype,"hovered",void 0),wt([o()],Ot.prototype,"focused",void 0),wt([o()],Ot.prototype,"pressed",void 0),wt([o()],Ot.prototype,"rippling",void 0),wt([o()],Ot.prototype,"rippleSize",void 0),wt([o()],Ot.prototype,"originX",void 0),wt([o()],Ot.prototype,"originY",void 0),wt([n(".ft-ripple")],Ot.prototype,"ripple",void 0),wt([n(".ft-ripple--effect")],Ot.prototype,"rippleEffect",void 0),a("ft-ripple")(Ot);
191
+ `,wt([e({type:Boolean})],Ot.prototype,"primary",void 0),wt([e({type:Boolean})],Ot.prototype,"secondary",void 0),wt([e({type:Boolean})],Ot.prototype,"unbounded",void 0),wt([e({type:Boolean})],Ot.prototype,"activated",void 0),wt([e({type:Boolean})],Ot.prototype,"selected",void 0),wt([e({type:Boolean})],Ot.prototype,"disabled",void 0),wt([o()],Ot.prototype,"hovered",void 0),wt([o()],Ot.prototype,"focused",void 0),wt([o()],Ot.prototype,"pressed",void 0),wt([o()],Ot.prototype,"rippling",void 0),wt([o()],Ot.prototype,"rippleSize",void 0),wt([o()],Ot.prototype,"originX",void 0),wt([o()],Ot.prototype,"originY",void 0),wt([n(".ft-ripple")],Ot.prototype,"ripple",void 0),wt([n(".ft-ripple--effect")],Ot.prototype,"rippleEffect",void 0),a("ft-ripple")(Ot);
192
192
  /**
193
193
  * @license
194
194
  * Copyright 2020 Google LLC
195
195
  * SPDX-License-Identifier: BSD-3-Clause
196
196
  */
197
- const St=t=>({_$litStatic$:t}),Ct=new Map,kt=(t=>(e,...i)=>{var o;const s=i.length;let n,r;const l=[],a=[];let h,p=0,c=!1;for(;p<s;){for(h=e[p];p<s&&void 0!==(r=i[p],n=null===(o=r)||void 0===o?void 0:o._$litStatic$);)h+=n+e[++p],c=!0;a.push(r),l.push(h),p++}if(p===s&&l.push(e[s]),c){const t=l.join("$$lit$$");void 0===(e=Ct.get(t))&&(l.raw=l,Ct.set(t,e=l)),i=a}return t(e,...i)})(W);var Nt,Et=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Nt||(Nt={}));const Rt=ht.extend("--ft-typography-font-family",ct.titleFont),Mt=ht.extend("--ft-typography-font-family",ct.contentFont),Ft={fontFamily:Mt,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")},Ut=ht.extend("--ft-typography-title-font-family",Rt),zt=ht.extend("--ft-typography-title-font-size",Ft.fontSize,"20px"),jt=ht.extend("--ft-typography-title-font-weight",Ft.fontWeight,"normal"),At=ht.extend("--ft-typography-title-letter-spacing",Ft.letterSpacing,"0.15px"),Lt=ht.extend("--ft-typography-title-line-height",Ft.lineHeight,"24px"),Tt=ht.extend("--ft-typography-title-text-transform",Ft.textTransform,"inherit"),Bt=ht.extend("--ft-typography-title-dense-font-family",Rt),Dt=ht.extend("--ft-typography-title-dense-font-size",Ft.fontSize,"14px"),Pt=ht.extend("--ft-typography-title-dense-font-weight",Ft.fontWeight,"normal"),_t=ht.extend("--ft-typography-title-dense-letter-spacing",Ft.letterSpacing,"0.105px"),Wt=ht.extend("--ft-typography-title-dense-line-height",Ft.lineHeight,"24px"),It=ht.extend("--ft-typography-title-dense-text-transform",Ft.textTransform,"inherit"),Ht=ht.extend("--ft-typography-subtitle1-font-family",Mt),Kt=ht.extend("--ft-typography-subtitle1-font-size",Ft.fontSize,"16px"),Zt=ht.extend("--ft-typography-subtitle1-font-weight",Ft.fontWeight,"600"),Vt=ht.extend("--ft-typography-subtitle1-letter-spacing",Ft.letterSpacing,"0.144px"),qt=ht.extend("--ft-typography-subtitle1-line-height",Ft.lineHeight,"24px"),Xt=ht.extend("--ft-typography-subtitle1-text-transform",Ft.textTransform,"inherit"),Jt=ht.extend("--ft-typography-subtitle2-font-family",Mt),Yt=ht.extend("--ft-typography-subtitle2-font-size",Ft.fontSize,"14px"),Gt=ht.extend("--ft-typography-subtitle2-font-weight",Ft.fontWeight,"normal"),Qt=ht.extend("--ft-typography-subtitle2-letter-spacing",Ft.letterSpacing,"0.098px"),te=ht.extend("--ft-typography-subtitle2-line-height",Ft.lineHeight,"24px"),ee=ht.extend("--ft-typography-subtitle2-text-transform",Ft.textTransform,"inherit"),ie=ht.extend("--ft-typography-body1-font-family",Mt),oe=ht.extend("--ft-typography-body1-font-size",Ft.fontSize,"16px"),se=ht.extend("--ft-typography-body1-font-weight",Ft.fontWeight,"normal"),ne=ht.extend("--ft-typography-body1-letter-spacing",Ft.letterSpacing,"0.496px"),re=ht.extend("--ft-typography-body1-line-height",Ft.lineHeight,"24px"),le=ht.extend("--ft-typography-body1-text-transform",Ft.textTransform,"inherit"),ae=ht.extend("--ft-typography-body2-font-family",Mt),he=ht.extend("--ft-typography-body2-font-size",Ft.fontSize,"14px"),pe=ht.extend("--ft-typography-body2-font-weight",Ft.fontWeight,"normal"),ce=ht.extend("--ft-typography-body2-letter-spacing",Ft.letterSpacing,"0.252px"),fe=ht.extend("--ft-typography-body2-line-height",Ft.lineHeight,"20px"),de=ht.extend("--ft-typography-body2-text-transform",Ft.textTransform,"inherit"),ue=ht.extend("--ft-typography-caption-font-family",Mt),ye=ht.extend("--ft-typography-caption-font-size",Ft.fontSize,"12px"),xe=ht.extend("--ft-typography-caption-font-weight",Ft.fontWeight,"normal"),ge=ht.extend("--ft-typography-caption-letter-spacing",Ft.letterSpacing,"0.396px"),ve=ht.extend("--ft-typography-caption-line-height",Ft.lineHeight,"16px"),me=ht.extend("--ft-typography-caption-text-transform",Ft.textTransform,"inherit"),be=ht.extend("--ft-typography-breadcrumb-font-family",Mt),we=ht.extend("--ft-typography-breadcrumb-font-size",Ft.fontSize,"10px"),$e=ht.extend("--ft-typography-breadcrumb-font-weight",Ft.fontWeight,"normal"),Oe=ht.extend("--ft-typography-breadcrumb-letter-spacing",Ft.letterSpacing,"0.33px"),Se=ht.extend("--ft-typography-breadcrumb-line-height",Ft.lineHeight,"16px"),Ce=ht.extend("--ft-typography-breadcrumb-text-transform",Ft.textTransform,"inherit"),ke=ht.extend("--ft-typography-overline-font-family",Mt),Ne=ht.extend("--ft-typography-overline-font-size",Ft.fontSize,"10px"),Ee=ht.extend("--ft-typography-overline-font-weight",Ft.fontWeight,"normal"),Re=ht.extend("--ft-typography-overline-letter-spacing",Ft.letterSpacing,"1.5px"),Me=ht.extend("--ft-typography-overline-line-height",Ft.lineHeight,"16px"),Fe=ht.extend("--ft-typography-overline-text-transform",Ft.textTransform,"uppercase"),Ue={fontFamily:ht.extend("--ft-typography-button-font-family",Mt),fontSize:ht.extend("--ft-typography-button-font-size",Ft.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",Ft.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",Ft.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",Ft.lineHeight,"16px"),textTransform:ht.extend("--ft-typography-button-text-transform",Ft.textTransform,"uppercase")},ze=u`
197
+ const St=t=>({_$litStatic$:t}),Ct=new Map,kt=(t=>(i,...e)=>{var o;const s=e.length;let n,r;const l=[],a=[];let h,c=0,p=!1;for(;c<s;){for(h=i[c];c<s&&void 0!==(r=e[c],n=null===(o=r)||void 0===o?void 0:o._$litStatic$);)h+=n+i[++c],p=!0;a.push(r),l.push(h),c++}if(c===s&&l.push(i[s]),p){const t=l.join("$$lit$$");void 0===(i=Ct.get(t))&&(l.raw=l,Ct.set(t,i=l)),e=a}return t(i,...e)})(W);var Nt,Et=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,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"}(Nt||(Nt={}));const Rt=ht.extend("--ft-typography-font-family",pt.titleFont),Mt=ht.extend("--ft-typography-font-family",pt.contentFont),Ft={fontFamily:Mt,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")},Ut=ht.extend("--ft-typography-title-font-family",Rt),zt=ht.extend("--ft-typography-title-font-size",Ft.fontSize,"20px"),jt=ht.extend("--ft-typography-title-font-weight",Ft.fontWeight,"normal"),At=ht.extend("--ft-typography-title-letter-spacing",Ft.letterSpacing,"0.15px"),Lt=ht.extend("--ft-typography-title-line-height",Ft.lineHeight,"24px"),Tt=ht.extend("--ft-typography-title-text-transform",Ft.textTransform,"inherit"),Bt=ht.extend("--ft-typography-title-dense-font-family",Rt),Dt=ht.extend("--ft-typography-title-dense-font-size",Ft.fontSize,"14px"),Pt=ht.extend("--ft-typography-title-dense-font-weight",Ft.fontWeight,"normal"),_t=ht.extend("--ft-typography-title-dense-letter-spacing",Ft.letterSpacing,"0.105px"),Wt=ht.extend("--ft-typography-title-dense-line-height",Ft.lineHeight,"24px"),It=ht.extend("--ft-typography-title-dense-text-transform",Ft.textTransform,"inherit"),Ht=ht.extend("--ft-typography-subtitle1-font-family",Mt),Kt=ht.extend("--ft-typography-subtitle1-font-size",Ft.fontSize,"16px"),Zt=ht.extend("--ft-typography-subtitle1-font-weight",Ft.fontWeight,"600"),Vt=ht.extend("--ft-typography-subtitle1-letter-spacing",Ft.letterSpacing,"0.144px"),qt=ht.extend("--ft-typography-subtitle1-line-height",Ft.lineHeight,"24px"),Xt=ht.extend("--ft-typography-subtitle1-text-transform",Ft.textTransform,"inherit"),Jt=ht.extend("--ft-typography-subtitle2-font-family",Mt),Yt=ht.extend("--ft-typography-subtitle2-font-size",Ft.fontSize,"14px"),Gt=ht.extend("--ft-typography-subtitle2-font-weight",Ft.fontWeight,"normal"),Qt=ht.extend("--ft-typography-subtitle2-letter-spacing",Ft.letterSpacing,"0.098px"),ti=ht.extend("--ft-typography-subtitle2-line-height",Ft.lineHeight,"24px"),ii=ht.extend("--ft-typography-subtitle2-text-transform",Ft.textTransform,"inherit"),ei=ht.extend("--ft-typography-body1-font-family",Mt),oi=ht.extend("--ft-typography-body1-font-size",Ft.fontSize,"16px"),si=ht.extend("--ft-typography-body1-font-weight",Ft.fontWeight,"normal"),ni=ht.extend("--ft-typography-body1-letter-spacing",Ft.letterSpacing,"0.496px"),ri=ht.extend("--ft-typography-body1-line-height",Ft.lineHeight,"24px"),li=ht.extend("--ft-typography-body1-text-transform",Ft.textTransform,"inherit"),ai=ht.extend("--ft-typography-body2-font-family",Mt),hi=ht.extend("--ft-typography-body2-font-size",Ft.fontSize,"14px"),ci=ht.extend("--ft-typography-body2-font-weight",Ft.fontWeight,"normal"),pi=ht.extend("--ft-typography-body2-letter-spacing",Ft.letterSpacing,"0.252px"),fi=ht.extend("--ft-typography-body2-line-height",Ft.lineHeight,"20px"),di=ht.extend("--ft-typography-body2-text-transform",Ft.textTransform,"inherit"),ui=ht.extend("--ft-typography-caption-font-family",Mt),yi=ht.extend("--ft-typography-caption-font-size",Ft.fontSize,"12px"),xi=ht.extend("--ft-typography-caption-font-weight",Ft.fontWeight,"normal"),gi=ht.extend("--ft-typography-caption-letter-spacing",Ft.letterSpacing,"0.396px"),vi=ht.extend("--ft-typography-caption-line-height",Ft.lineHeight,"16px"),mi=ht.extend("--ft-typography-caption-text-transform",Ft.textTransform,"inherit"),bi=ht.extend("--ft-typography-breadcrumb-font-family",Mt),wi=ht.extend("--ft-typography-breadcrumb-font-size",Ft.fontSize,"10px"),$i=ht.extend("--ft-typography-breadcrumb-font-weight",Ft.fontWeight,"normal"),Oi=ht.extend("--ft-typography-breadcrumb-letter-spacing",Ft.letterSpacing,"0.33px"),Si=ht.extend("--ft-typography-breadcrumb-line-height",Ft.lineHeight,"16px"),Ci=ht.extend("--ft-typography-breadcrumb-text-transform",Ft.textTransform,"inherit"),ki=ht.extend("--ft-typography-overline-font-family",Mt),Ni=ht.extend("--ft-typography-overline-font-size",Ft.fontSize,"10px"),Ei=ht.extend("--ft-typography-overline-font-weight",Ft.fontWeight,"normal"),Ri=ht.extend("--ft-typography-overline-letter-spacing",Ft.letterSpacing,"1.5px"),Mi=ht.extend("--ft-typography-overline-line-height",Ft.lineHeight,"16px"),Fi=ht.extend("--ft-typography-overline-text-transform",Ft.textTransform,"uppercase"),Ui={fontFamily:ht.extend("--ft-typography-button-font-family",Mt),fontSize:ht.extend("--ft-typography-button-font-size",Ft.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",Ft.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",Ft.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",Ft.lineHeight,"16px"),textTransform:ht.extend("--ft-typography-button-text-transform",Ft.textTransform,"uppercase")},zi=u`
198
198
  .ft-typography--title {
199
199
  font-family: ${Ut};
200
200
  font-size: ${zt};
@@ -203,7 +203,7 @@ const St=t=>({_$litStatic$:t}),Ct=new Map,kt=(t=>(e,...i)=>{var o;const s=i.leng
203
203
  line-height: ${Lt};
204
204
  text-transform: ${Tt};
205
205
  }
206
- `,je=u`
206
+ `,ji=u`
207
207
  .ft-typography--title-dense {
208
208
  font-family: ${Bt};
209
209
  font-size: ${Dt};
@@ -212,7 +212,7 @@ const St=t=>({_$litStatic$:t}),Ct=new Map,kt=(t=>(e,...i)=>{var o;const s=i.leng
212
212
  line-height: ${Wt};
213
213
  text-transform: ${It};
214
214
  }
215
- `,Ae=u`
215
+ `,Ai=u`
216
216
  .ft-typography--subtitle1 {
217
217
  font-family: ${Ht};
218
218
  font-size: ${Kt};
@@ -221,82 +221,82 @@ const St=t=>({_$litStatic$:t}),Ct=new Map,kt=(t=>(e,...i)=>{var o;const s=i.leng
221
221
  line-height: ${qt};
222
222
  text-transform: ${Xt};
223
223
  }
224
- `,Le=u`
224
+ `,Li=u`
225
225
  .ft-typography--subtitle2 {
226
226
  font-family: ${Jt};
227
227
  font-size: ${Yt};
228
228
  font-weight: ${Gt};
229
229
  letter-spacing: ${Qt};
230
- line-height: ${te};
231
- text-transform: ${ee};
230
+ line-height: ${ti};
231
+ text-transform: ${ii};
232
232
  }
233
233
 
234
- `,Te=u`
234
+ `,Ti=u`
235
235
  .ft-typography--body1 {
236
- font-family: ${ie};
237
- font-size: ${oe};
238
- font-weight: ${se};
239
- letter-spacing: ${ne};
240
- line-height: ${re};
241
- text-transform: ${le};
236
+ font-family: ${ei};
237
+ font-size: ${oi};
238
+ font-weight: ${si};
239
+ letter-spacing: ${ni};
240
+ line-height: ${ri};
241
+ text-transform: ${li};
242
242
  }
243
- `,Be=u`
243
+ `,Bi=u`
244
244
  .ft-typography--body2 {
245
- font-family: ${ae};
246
- font-size: ${he};
247
- font-weight: ${pe};
248
- letter-spacing: ${ce};
249
- line-height: ${fe};
250
- text-transform: ${de};
245
+ font-family: ${ai};
246
+ font-size: ${hi};
247
+ font-weight: ${ci};
248
+ letter-spacing: ${pi};
249
+ line-height: ${fi};
250
+ text-transform: ${di};
251
251
  }
252
- `,De=u`
252
+ `,Di=u`
253
253
  .ft-typography--caption {
254
- font-family: ${ue};
255
- font-size: ${ye};
256
- font-weight: ${xe};
257
- letter-spacing: ${ge};
258
- line-height: ${ve};
259
- text-transform: ${me};
254
+ font-family: ${ui};
255
+ font-size: ${yi};
256
+ font-weight: ${xi};
257
+ letter-spacing: ${gi};
258
+ line-height: ${vi};
259
+ text-transform: ${mi};
260
260
  }
261
- `,Pe=u`
261
+ `,Pi=u`
262
262
  .ft-typography--breadcrumb {
263
- font-family: ${be};
264
- font-size: ${we};
265
- font-weight: ${$e};
266
- letter-spacing: ${Oe};
267
- line-height: ${Se};
268
- text-transform: ${Ce};
263
+ font-family: ${bi};
264
+ font-size: ${wi};
265
+ font-weight: ${$i};
266
+ letter-spacing: ${Oi};
267
+ line-height: ${Si};
268
+ text-transform: ${Ci};
269
269
  }
270
- `,_e=u`
270
+ `,_i=u`
271
271
  .ft-typography--overline {
272
- font-family: ${ke};
273
- font-size: ${Ne};
274
- font-weight: ${Ee};
275
- letter-spacing: ${Re};
276
- line-height: ${Me};
277
- text-transform: ${Fe};
272
+ font-family: ${ki};
273
+ font-size: ${Ni};
274
+ font-weight: ${Ei};
275
+ letter-spacing: ${Ri};
276
+ line-height: ${Mi};
277
+ text-transform: ${Fi};
278
278
  }
279
- `,We=u`
279
+ `,Wi=u`
280
280
  .ft-typography--button {
281
- font-family: ${Ue.fontFamily};
282
- font-size: ${Ue.fontSize};
283
- font-weight: ${Ue.fontWeight};
284
- letter-spacing: ${Ue.letterSpacing};
285
- line-height: ${Ue.lineHeight};
286
- text-transform: ${Ue.textTransform};
281
+ font-family: ${Ui.fontFamily};
282
+ font-size: ${Ui.fontSize};
283
+ font-weight: ${Ui.fontWeight};
284
+ letter-spacing: ${Ui.letterSpacing};
285
+ line-height: ${Ui.lineHeight};
286
+ text-transform: ${Ui.textTransform};
287
287
  }
288
- `;class Ie extends ft{constructor(){super(...arguments),this.variant=Nt.body1}render(){return this.element?kt`
288
+ `;class Ii extends ft{constructor(){super(...arguments),this.variant=Nt.body1}render(){return this.element?kt`
289
289
  <${St(this.element)}
290
290
  class="ft-typography ft-typography--${this.variant}">
291
291
  <slot></slot>
292
292
  </${St(this.element)}>
293
293
  `:kt`
294
294
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
295
- `}}Ie.styles=[ze,je,Ae,Le,Te,Be,De,Pe,_e,We,u`
295
+ `}}Ii.styles=[zi,ji,Ai,Li,Ti,Bi,Di,Pi,_i,Wi,u`
296
296
  .ft-typography {
297
297
  vertical-align: inherit;
298
298
  }
299
- `],Et([i()],Ie.prototype,"element",void 0),Et([i()],Ie.prototype,"variant",void 0),a("ft-typography")(Ie);var He=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ke=ht.create("--ft-tooltip-distance","SIZE","4px"),Ze=ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ve=ht.create("--ft-tooltip-background-color","COLOR","#666666"),qe=ht.create("--ft-tooltip-z-index","NUMBER","1"),Xe=ht.external(ct.borderRadiusS,"Design system");class Je extends ft{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new t,this.revealDebouncer=new t}render(){return W`
299
+ `],Et([e()],Ii.prototype,"element",void 0),Et([e()],Ii.prototype,"variant",void 0),a("ft-typography")(Ii);var Hi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const Ki=ht.create("--ft-tooltip-distance","SIZE","4px"),Zi=ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),Vi=ht.create("--ft-tooltip-background-color","COLOR","#666666"),qi=ht.create("--ft-tooltip-z-index","NUMBER","1"),Xi=ht.external(pt.borderRadiusS,"Design system");class Ji extends ft{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new t,this.revealDebouncer=new t}render(){return W`
300
300
  <div part="container"
301
301
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
302
302
  @mouseenter=${this.onHover}
@@ -311,7 +311,7 @@ const St=t=>({_$litStatic$:t}),Ct=new Map,kt=(t=>(e,...i)=>{var o;const s=i.leng
311
311
  </div>
312
312
  <slot></slot>
313
313
  </div>
314
- `}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,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=o+"px";break;case"bottom":s.top=e.height+"px",s.left=o+"px";break;case"left":s.top=i+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=i+"px",s.left=e.width+"px"}s.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())}}Je.elementDefinitions={"ft-typography":Ie},Je.styles=u`
314
+ `}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 i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=o+"px";break;case"bottom":s.top=i.height+"px",s.left=o+"px";break;case"left":s.top=e+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=e+"px",s.left=i.width+"px"}s.maxWidth=Math.max(i.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())}}Ji.elementDefinitions={"ft-typography":Ii},Ji.styles=u`
315
315
  .ft-tooltip--container {
316
316
  display: block;
317
317
  position: relative;
@@ -329,47 +329,47 @@ const St=t=>({_$litStatic$:t}),Ct=new Map,kt=(t=>(e,...i)=>{var o;const s=i.leng
329
329
  width: max-content;
330
330
  max-width: 150px;
331
331
  text-align: center;
332
- padding: ${Ke};
333
- z-index: ${qe};
332
+ padding: ${Ki};
333
+ z-index: ${qi};
334
334
  }
335
335
 
336
336
  .ft-tooltip--content {
337
337
  padding: 4px 8px;
338
- border-radius: ${Xe};
339
- background-color: ${Ve};
340
- color: ${Ze};
338
+ border-radius: ${Xi};
339
+ background-color: ${Vi};
340
+ color: ${Zi};
341
341
  top: -500px;
342
342
  left: -500px;
343
343
  position: relative;
344
344
  word-break: break-word;
345
345
  }
346
- `,He([i()],Je.prototype,"text",void 0),He([i({type:Boolean})],Je.prototype,"manual",void 0),He([i({type:Boolean})],Je.prototype,"inline",void 0),He([i({type:Number})],Je.prototype,"delay",void 0),He([i()],Je.prototype,"position",void 0),He([
346
+ `,Hi([e()],Ji.prototype,"text",void 0),Hi([e({type:Boolean})],Ji.prototype,"manual",void 0),Hi([e({type:Boolean})],Ji.prototype,"inline",void 0),Hi([e({type:Number})],Ji.prototype,"delay",void 0),Hi([e()],Ji.prototype,"position",void 0),Hi([
347
347
  /**
348
348
  * @license
349
349
  * Copyright 2017 Google LLC
350
350
  * SPDX-License-Identifier: BSD-3-Clause
351
351
  */
352
- 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 s="slot"+(e?`[name=${e}]`:":not([name])"),n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(s),r=null!=n?l(n,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)],Je.prototype,"slotNodes",void 0),He([n(".ft-tooltip--container")],Je.prototype,"container",void 0),He([n("slot")],Je.prototype,"target",void 0),He([n(".ft-tooltip")],Je.prototype,"tooltip",void 0),He([n(".ft-tooltip--content")],Je.prototype,"tooltipContent",void 0),He([o()],Je.prototype,"visible",void 0),a("ft-tooltip")(Je);
352
+ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},e?function(t){const{slot:i,selector:e}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const s="slot"+(i?`[name=${i}]`:":not([name])"),n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(s),r=null!=n?l(n,t):[];return e?r.filter((t=>t.matches(e))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:i,selector:e}):s({descriptor:t=>({get(){var t,i;const e="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(i=null==s?void 0:s.assignedNodes(o))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}("",!0)],Ji.prototype,"slotNodes",void 0),Hi([n(".ft-tooltip--container")],Ji.prototype,"container",void 0),Hi([n("slot")],Ji.prototype,"target",void 0),Hi([n(".ft-tooltip")],Ji.prototype,"tooltip",void 0),Hi([n(".ft-tooltip--content")],Ji.prototype,"tooltipContent",void 0),Hi([o()],Ji.prototype,"visible",void 0),a("ft-tooltip")(Ji);
353
353
  /**
354
354
  * @license
355
355
  * Copyright 2017 Google LLC
356
356
  * SPDX-License-Identifier: BSD-3-Clause
357
357
  */
358
- class Ye extends mt{constructor(t){if(super(t),this.it=H,t.type!==gt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this.vt=void 0,this.it=t;if(t===I)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ye.directiveName="unsafeHTML",Ye.resultType=1;const Ge=vt(Ye);var Qe,ti;!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;"}(Qe||(Qe={})),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;"}(ti||(ti={})),new Map([...["abw"].map((t=>[t,ti.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,ti.AUDIO])),...["avi"].map((t=>[t,ti.AVI])),...["chm","xhs"].map((t=>[t,ti.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,ti.CODE])),...["csv"].map((t=>[t,ti.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ti.DITA])),...["epub"].map((t=>[t,ti.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ti.EXCEL])),...["flac"].map((t=>[t,ti.FLAC])),...["gif"].map((t=>[t,ti.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ti.GZIP])),...["html","htm","xhtml"].map((t=>[t,ti.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,ti.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ti.JPEG])),...["json"].map((t=>[t,ti.JSON])),...["m4a","m4p"].map((t=>[t,ti.M4A])),...["mov","qt"].map((t=>[t,ti.MOV])),...["mp3"].map((t=>[t,ti.MP3])),...["mp4","m4v"].map((t=>[t,ti.MP4])),...["ogg","oga"].map((t=>[t,ti.OGG])),...["pdf","ps"].map((t=>[t,ti.PDF])),...["png"].map((t=>[t,ti.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ti.POWERPOINT])),...["rar"].map((t=>[t,ti.RAR])),...["stp"].map((t=>[t,ti.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ti.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,ti.VIDEO])),...["wav"].map((t=>[t,ti.WAV])),...["wma"].map((t=>[t,ti.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ti.WORD])),...["xml","xsl","rdf"].map((t=>[t,ti.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ti.YAML])),...["zip"].map((t=>[t,ti.ZIP]))]);var ei,ii=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ei||(ei={}));const oi={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 si extends ft{constructor(){super(...arguments),this.variant=ei.fluid_topics}render(){return W`
358
+ class Yi extends mt{constructor(t){if(super(t),this.it=H,t.type!==gt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this.vt=void 0,this.it=t;if(t===I)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const i=[t];return i.raw=i,this.vt={_$litType$:this.constructor.resultType,strings:i,values:[]}}}Yi.directiveName="unsafeHTML",Yi.resultType=1;const Gi=vt(Yi);var Qi,te;!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;"}(Qi||(Qi={})),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;"}(te||(te={})),new Map([...["abw"].map((t=>[t,te.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,te.AUDIO])),...["avi"].map((t=>[t,te.AVI])),...["chm","xhs"].map((t=>[t,te.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,te.CODE])),...["csv"].map((t=>[t,te.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,te.DITA])),...["epub"].map((t=>[t,te.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,te.EXCEL])),...["flac"].map((t=>[t,te.FLAC])),...["gif"].map((t=>[t,te.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,te.GZIP])),...["html","htm","xhtml"].map((t=>[t,te.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,te.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,te.JPEG])),...["json"].map((t=>[t,te.JSON])),...["m4a","m4p"].map((t=>[t,te.M4A])),...["mov","qt"].map((t=>[t,te.MOV])),...["mp3"].map((t=>[t,te.MP3])),...["mp4","m4v"].map((t=>[t,te.MP4])),...["ogg","oga"].map((t=>[t,te.OGG])),...["pdf","ps"].map((t=>[t,te.PDF])),...["png"].map((t=>[t,te.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,te.POWERPOINT])),...["rar"].map((t=>[t,te.RAR])),...["stp"].map((t=>[t,te.STP])),...["txt","rtf","md","mdown"].map((t=>[t,te.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,te.VIDEO])),...["wav"].map((t=>[t,te.WAV])),...["wma"].map((t=>[t,te.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,te.WORD])),...["xml","xsl","rdf"].map((t=>[t,te.XML])),...["yaml","yml","x-yaml"].map((t=>[t,te.YAML])),...["zip"].map((t=>[t,te.ZIP]))]);var ie,ee=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ie||(ie={}));const oe={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 se extends ft{constructor(){super(...arguments),this.variant=ie.fluid_topics}render(){return W`
359
359
  <i class="ft-icon ${"ft-icon--"+this.variant}">
360
- ${Ge(this.getIcon())}
360
+ ${Gi(this.getIcon())}
361
361
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
362
362
  </i>
363
- `}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===ei.file_format?null!==(t=ti[i.toUpperCase()])&&void 0!==t?t:i:this.variant===ei.fluid_topics?null!==(e=Qe[i.toUpperCase()])&&void 0!==e?e:i:H}}si.elementDefinitions={},si.styles=u`
363
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}getIcon(){var t,i;let e=this.textContent;return this.variant===ie.file_format?null!==(t=te[e.toUpperCase()])&&void 0!==t?t:e:this.variant===ie.fluid_topics?null!==(i=Qi[e.toUpperCase()])&&void 0!==i?i:e:H}}se.elementDefinitions={},se.styles=u`
364
364
  :host, i.ft-icon {
365
365
  display: inline-block;
366
- width: ${oi.size};
367
- height: ${oi.size};
366
+ width: ${oe.size};
367
+ height: ${oe.size};
368
368
  text-align: center;
369
369
  }
370
370
 
371
371
  i.ft-icon {
372
- font-size: ${oi.size};
372
+ font-size: ${oe.size};
373
373
  line-height: 1;
374
374
  font-weight: normal;
375
375
  text-transform: none;
@@ -383,17 +383,17 @@ class Ye extends mt{constructor(t){if(super(t),this.it=H,t.type!==gt)throw Error
383
383
  }
384
384
 
385
385
  .ft-icon--fluid-topics {
386
- font-family: ${oi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
386
+ font-family: ${oe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
387
387
  }
388
388
 
389
389
  .ft-icon--file-format {
390
- font-family: ${oi.fileFormatFontFamily}, ft-mime, sans-serif;
390
+ font-family: ${oe.fileFormatFontFamily}, ft-mime, sans-serif;
391
391
  }
392
392
 
393
393
  .ft-icon--material {
394
- font-family: ${oi.materialFontFamily}, "Material Icons", sans-serif;
394
+ font-family: ${oe.materialFontFamily}, "Material Icons", sans-serif;
395
395
  }
396
- `,ii([i()],si.prototype,"variant",void 0),ii([n("slot")],si.prototype,"slottedContent",void 0),a("ft-icon")(si);const ni={textColor:ht.extend("--ft-switch-text-color",ct.colorOnSurfaceHigh),backgroundColor:ht.extend("--ft-switch-background-color",ct.colorSurface),selectedTextColor:ht.extend("--ft-switch-selected-text-color",ct.colorPrimary),selectedBackgroundColor:ht.extend("--ft-switch-selected-background-color",ct.colorPrimary),borderColor:ht.extend("--ft-switch-border-color",ct.colorOutline),borderRadius:ht.extend("--ft-switch-border-radius",ct.borderRadiusL),fontSize:ht.extend("--ft-switch-font-size",Ue.fontSize),iconSize:ht.create("--ft-switch-icon-size","SIZE","24px"),iconColor:ht.extend("--ft-switch-text-color",ct.colorOnSurfaceMedium),rippleColor:ht.extend("--ft-switch-ripple-color",ct.colorPrimary),outlineColor:ht.extend("--ft-switch-outline-color",ct.colorPrimary)},ri={borderRadiusLeft:ht.extend("--ft-switch-option-border-radius-left",ct.borderRadiusL),borderRadiusRight:ht.extend("--ft-switch-option-border-radius-right",ct.borderRadiusL),borderWidthLeft:ht.create("--ft-switch-option-border-width-left","SIZE","1px"),borderWidthRight:ht.create("--ft-switch-option-border-width-right","SIZE","1px"),borderWidthVertical:ht.create("--ft-switch-option-border-width-vertical","SIZE","1px")};var li=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class ai extends CustomEvent{constructor(){super("option-change",{bubbles:!0})}}class hi extends ft{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1}static get styles(){return u`
396
+ `,ee([e()],se.prototype,"variant",void 0),ee([n("slot")],se.prototype,"slottedContent",void 0),a("ft-icon")(se);const ne={textColor:ht.extend("--ft-switch-text-color",pt.colorOnSurfaceHigh),backgroundColor:ht.extend("--ft-switch-background-color",pt.colorSurface),selectedTextColor:ht.extend("--ft-switch-selected-text-color",pt.colorPrimary),selectedBackgroundColor:ht.extend("--ft-switch-selected-background-color",pt.colorPrimary),borderColor:ht.extend("--ft-switch-border-color",pt.colorOutline),borderRadius:ht.extend("--ft-switch-border-radius",pt.borderRadiusL),fontSize:ht.extend("--ft-switch-font-size",Ui.fontSize),iconSize:ht.create("--ft-switch-icon-size","SIZE","24px"),iconColor:ht.extend("--ft-switch-text-color",pt.colorOnSurfaceMedium),rippleColor:ht.extend("--ft-switch-ripple-color",pt.colorPrimary),outlineColor:ht.extend("--ft-switch-outline-color",pt.colorPrimary)},re={borderRadiusLeft:ht.extend("--ft-switch-option-border-radius-left",pt.borderRadiusL),borderRadiusRight:ht.extend("--ft-switch-option-border-radius-right",pt.borderRadiusL),borderWidthLeft:ht.create("--ft-switch-option-border-width-left","SIZE","1px"),borderWidthRight:ht.create("--ft-switch-option-border-width-right","SIZE","1px"),borderWidthVertical:ht.create("--ft-switch-option-border-width-vertical","SIZE","1px")};var le=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class ae extends CustomEvent{constructor(){super("option-change",{bubbles:!0})}}class he extends ft{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1}static get styles(){return u`
397
397
  .ft-switch-option {
398
398
  position: relative;
399
399
  display: inline-block;
@@ -407,47 +407,47 @@ class Ye extends mt{constructor(t){if(super(t),this.it=H,t.type!==gt)throw Error
407
407
  }
408
408
 
409
409
  .ft-switch-option--content {
410
- --ft-switch-option-internal-line-height: calc(${ni.fontSize} + 2px);
411
- --ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${ni.iconSize});
410
+ --ft-switch-option-internal-line-height: calc(${ne.fontSize} + 2px);
411
+ --ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${ne.iconSize});
412
412
 
413
413
  border-style: solid;
414
- border-color: ${ni.borderColor};
415
- border-width: ${ri.borderWidthVertical} ${ri.borderWidthRight} ${ri.borderWidthVertical} ${ri.borderWidthLeft};
416
- border-radius: ${ri.borderRadiusLeft} ${ri.borderRadiusRight} ${ri.borderRadiusRight} ${ri.borderRadiusLeft};
414
+ border-color: ${ne.borderColor};
415
+ border-width: ${re.borderWidthVertical} ${re.borderWidthRight} ${re.borderWidthVertical} ${re.borderWidthLeft};
416
+ border-radius: ${re.borderRadiusLeft} ${re.borderRadiusRight} ${re.borderRadiusRight} ${re.borderRadiusLeft};
417
417
  display: flex;
418
418
  align-items: center;
419
419
  justify-content: center;
420
420
  overflow: hidden;
421
421
 
422
- ${pt(oi.size,ni.iconSize)};
422
+ ${ct(oe.size,ne.iconSize)};
423
423
  padding: 6px 8px;
424
- background-color: ${ni.backgroundColor};
424
+ background-color: ${ne.backgroundColor};
425
425
  -webkit-mask-image: radial-gradient(white, black);
426
426
  }
427
427
 
428
428
  .ft-switch-option--input:checked + .ft-switch-option--content:before {
429
- background-color: ${ni.selectedBackgroundColor};
430
- border-radius: ${ri.borderRadiusLeft} ${ri.borderRadiusRight} ${ri.borderRadiusRight} ${ri.borderRadiusLeft};
429
+ background-color: ${ne.selectedBackgroundColor};
430
+ border-radius: ${re.borderRadiusLeft} ${re.borderRadiusRight} ${re.borderRadiusRight} ${re.borderRadiusLeft};
431
431
  position: absolute;
432
432
  inset: 0;
433
433
  content: "";
434
434
  z-index: 1;
435
- opacity: ${ct.opacityPrimaryOnSurfaceSelected};
435
+ opacity: ${pt.opacityPrimaryOnSurfaceSelected};
436
436
  }
437
437
 
438
438
  .ft-switch-option--label {
439
- color: ${ni.textColor};
439
+ color: ${ne.textColor};
440
440
  overflow: hidden;
441
441
  white-space: nowrap;
442
442
  text-overflow: ellipsis;
443
443
  display: block;
444
444
  margin: 0 8px;
445
- ${pt(Ue.fontSize,ni.fontSize)};
446
- ${pt(Ue.lineHeight,"var(--ft-switch-option-internal-content-height)")}
445
+ ${ct(Ui.fontSize,ne.fontSize)};
446
+ ${ct(Ui.lineHeight,"var(--ft-switch-option-internal-content-height)")}
447
447
  }
448
448
 
449
449
  .ft-switch-option--input:checked + .ft-switch-option--content .ft-switch-option--label {
450
- color: ${ni.selectedTextColor};
450
+ color: ${ne.selectedTextColor};
451
451
  }
452
452
 
453
453
  .ft-switch-option--label[hidden] {
@@ -455,7 +455,7 @@ class Ye extends mt{constructor(t){if(super(t),this.it=H,t.type!==gt)throw Error
455
455
  }
456
456
 
457
457
  .ft-switch-option--ripple {
458
- ${pt($t.color,ni.rippleColor)};
458
+ ${ct($t.color,ne.rippleColor)};
459
459
  }
460
460
 
461
461
  ft-icon, ft-ripple, ft-typography {
@@ -468,13 +468,13 @@ class Ye extends mt{constructor(t){if(super(t),this.it=H,t.type!==gt)throw Error
468
468
 
469
469
  ft-icon {
470
470
  flex-shrink: 0;
471
- color: ${ni.iconColor};
471
+ color: ${ne.iconColor};
472
472
  }
473
473
 
474
474
  .ft-switch-option--input:checked + .ft-switch-option--content ft-icon {
475
- color: ${ni.selectedTextColor};
475
+ color: ${ne.selectedTextColor};
476
476
  }
477
- `}focus(){this.input.focus()}updated(t){super.updated(t),t.has("selected")&&this.dispatchEvent(new ai)}render(){const t={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon};return this.addTooltip(W`
477
+ `}focus(){this.input.focus()}updated(t){super.updated(t),t.has("selected")&&this.dispatchEvent(new ae)}render(){const t={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon};return this.addTooltip(W`
478
478
  <label for="input" class=${bt(t)}>
479
479
  <input id="input" type="radio" class="ft-switch-option--input"
480
480
  .checked=${this.selected}
@@ -495,14 +495,14 @@ class Ye extends mt{constructor(t){if(super(t),this.it=H,t.type!==gt)throw Error
495
495
  ${t}
496
496
  </ft-tooltip>
497
497
  `}onChange(){this.selected=!0}getLabel(){return this.label||this.textContent}resolveIcon(){return this.icon?W`
498
- <ft-icon variant="material">${this.icon}</ft-icon> `:H}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}}hi.elementDefinitions={"ft-ripple":Ot,"ft-typography":Ie,"ft-tooltip":Je,"ft-icon":si},li([i({type:String})],hi.prototype,"value",void 0),li([i({type:String})],hi.prototype,"icon",void 0),li([i({type:String})],hi.prototype,"label",void 0),li([i({type:String})],hi.prototype,"tooltipPosition",void 0),li([i({type:Boolean,reflect:!0})],hi.prototype,"selected",void 0),li([i({type:Boolean})],hi.prototype,"trailingIcon",void 0),li([n(".ft-switch-option--content slot")],hi.prototype,"slottedContent",void 0),li([n(".ft-switch-option--input")],hi.prototype,"input",void 0);var pi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class ci extends CustomEvent{constructor(t){super("change",{detail:t})}}class fi extends ft{constructor(){super(...arguments),this.options=[]}get value(){var t;return null===(t=this.selectedOption)||void 0===t?void 0:t.value}updated(t){var e;super.updated(t),t.has("selectedOption")&&(this.updateOptions(),this.dispatchEvent(new ci(null===(e=this.selectedOption)||void 0===e?void 0:e.value)))}static get styles(){return u`
498
+ <ft-icon variant="material">${this.icon}</ft-icon> `:H}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}}he.elementDefinitions={"ft-ripple":Ot,"ft-typography":Ii,"ft-tooltip":Ji,"ft-icon":se},le([e({type:String})],he.prototype,"value",void 0),le([e({type:String})],he.prototype,"icon",void 0),le([e({type:String})],he.prototype,"label",void 0),le([e({type:String})],he.prototype,"tooltipPosition",void 0),le([e({type:Boolean,reflect:!0})],he.prototype,"selected",void 0),le([e({type:Boolean})],he.prototype,"trailingIcon",void 0),le([n(".ft-switch-option--content slot")],he.prototype,"slottedContent",void 0),le([n(".ft-switch-option--input")],he.prototype,"input",void 0);var ce=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class pe extends CustomEvent{constructor(t){super("change",{detail:t})}}class fe extends ft{constructor(){super(...arguments),this.options=[]}get value(){var t;return null===(t=this.selectedOption)||void 0===t?void 0:t.value}updated(t){var i;super.updated(t),t.has("selectedOption")&&(this.updateOptions(),this.dispatchEvent(new pe(null===(i=this.selectedOption)||void 0===i?void 0:i.value)))}static get styles(){return u`
499
499
  :host {
500
500
  display: inline-block;
501
501
  }
502
502
 
503
503
  .ft-switch {
504
- border-radius: ${ni.borderRadius};
505
- outline-color: ${ni.outlineColor};
504
+ border-radius: ${ne.borderRadius};
505
+ outline-color: ${ne.outlineColor};
506
506
  }
507
507
 
508
508
  .ft-switch slot {
@@ -511,22 +511,22 @@ class Ye extends mt{constructor(t){if(super(t),this.it=H,t.type!==gt)throw Error
511
511
  }
512
512
 
513
513
  .ft-switch slot::slotted(ft-switch-option) {
514
- ${pt(ri.borderRadiusLeft,"0")};
515
- ${pt(ri.borderRadiusRight,"0")};
516
- ${pt(ri.borderWidthLeft,"0")};
514
+ ${ct(re.borderRadiusLeft,"0")};
515
+ ${ct(re.borderRadiusRight,"0")};
516
+ ${ct(re.borderWidthLeft,"0")};
517
517
  }
518
518
 
519
519
  .ft-switch slot::slotted(ft-switch-option:first-child) {
520
- ${pt(ri.borderRadiusLeft,ni.borderRadius)};
521
- ${pt(ri.borderWidthLeft,"1px")};
520
+ ${ct(re.borderRadiusLeft,ne.borderRadius)};
521
+ ${ct(re.borderWidthLeft,"1px")};
522
522
  }
523
523
 
524
524
  .ft-switch slot::slotted(ft-switch-option:last-child) {
525
- ${pt(ri.borderRadiusRight,ni.borderRadius)};
525
+ ${ct(re.borderRadiusRight,ne.borderRadius)};
526
526
  }
527
527
  `}render(){return W`
528
528
  <div class="ft-switch" @keydown=${this.onKeyDown} tabindex="0">
529
529
  <slot @slotchange=${this.onSlotchange}
530
530
  @option-change=${this.onOptionChange}></slot>
531
531
  </div>
532
- `}onKeyDown(t){let e;"ArrowDown"!=t.key&&"ArrowRight"!=t.key||(e=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),"ArrowUp"!=t.key&&"ArrowLeft"!=t.key||(e=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),null!=e&&(t.preventDefault(),this.options[this.fixIndex(e)].selected=!0)}fixIndex(t){return t<0?this.options.length-1:t>this.options.length-1?0:t}onSlotchange(){var t;this.options=[],null===(t=this.slottedContent)||void 0===t||t.assignedElements().forEach((t=>{t instanceof hi&&this.registerOption(t)})),this.selectedOption=this.options.find((t=>t.selected))}registerOption(t){t.setAttribute("tabindex","-1"),this.options.push(t)}onOptionChange(t){let e=t.target;e.selected?this.selectedOption=e:this.selectedOption=this.options.find((t=>t.selected))}updateOptions(){this.options.forEach((t=>{t.selected=t==this.selectedOption}))}}fi.elementDefinitions={},pi([n(".ft-switch slot")],fi.prototype,"slottedContent",void 0),pi([o()],fi.prototype,"selectedOption",void 0),a("ft-switch")(dt(fi)),a("ft-switch-option")(dt(hi))}();
532
+ `}onKeyDown(t){let i;"ArrowDown"!=t.key&&"ArrowRight"!=t.key||(i=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),"ArrowUp"!=t.key&&"ArrowLeft"!=t.key||(i=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),null!=i&&(t.preventDefault(),this.options[this.fixIndex(i)].selected=!0)}fixIndex(t){return t<0?this.options.length-1:t>this.options.length-1?0:t}onSlotchange(){var t;this.options=[],null===(t=this.slottedContent)||void 0===t||t.assignedElements().forEach((t=>{t instanceof he&&this.registerOption(t)})),this.selectedOption=this.options.find((t=>t.selected))}registerOption(t){t.setAttribute("tabindex","-1"),this.options.push(t)}onOptionChange(t){let i=t.target;i.selected?this.selectedOption=i:this.selectedOption=this.options.find((t=>t.selected))}focus(){this.ftSwitchDiv.focus()}updateOptions(){this.options.forEach((t=>{t.selected=t==this.selectedOption}))}}fe.elementDefinitions={},ce([n(".ft-switch slot")],fe.prototype,"slottedContent",void 0),ce([o()],fe.prototype,"selectedOption",void 0),ce([n(".ft-switch")],fe.prototype,"ftSwitchDiv",void 0),a("ft-switch")(dt(fe)),a("ft-switch-option")(dt(he))}();