@fluid-topics/ft-checkbox 1.1.7 → 1.1.8

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.
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);h(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(i,l),l.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),y(t,l,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.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,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=n.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!l(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?y(e,i):a.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);r.call(this,a,i),e.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const a=t.prototype.toggleAttribute;a&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);a.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else a.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),u.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){u.push(this),e.set.call(this,t),u.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(ee){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);h(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(i,l),l.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),y(t,l,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.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,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=n.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!l(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?y(e,i):a.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);r.call(this,a,i),e.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const a=t.prototype.toggleAttribute;a&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);a.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else a.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),u.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){u.push(this),e.set.call(this,t),u.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(pe){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -43,13 +43,13 @@ const x={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:O},v=(t=x,o,
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */;function E(t,o){return(e,r,i)=>{const a=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return R(0,0,{get(){let e=t.call(this);return void 0===e&&(e=a(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return R(0,0,{get(){return a(this)}})}}class U{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function k(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!k(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!k(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var a=i[r];if(!k(t[a],o[a]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const I=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
46
+ */;function U(t,o){return(e,r,i)=>{const a=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return R(0,0,{get(){let e=t.call(this);return void 0===e&&(e=a(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return R(0,0,{get(){return a(this)}})}}class E{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function k(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!k(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!k(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var a=i[r];if(!k(t[a],o[a]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const I=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
51
  */
52
- const W=globalThis,$=W.trustedTypes,L=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,F="?"+Z,z=`<${F}>`,D=document,A=()=>D.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,P="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,j=/>/g,G=RegExp(`>|${P}(?:([^\\s"'>=/]+)(${P}*=${P}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),T=/'/g,Y=/"/g,J=/^(?:script|style|textarea|title)$/i,V=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),X=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),Q=new WeakMap,tt=D.createTreeWalker(D,129);function ot(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==L?L.createHTML(o):o}let et=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let a=0,n=0;const s=o.length-1,c=this.parts,[l,p]=((t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=H;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,p=0;for(;p<e.length&&(n.lastIndex=p,c=n.exec(e),null!==c);)p=n.lastIndex,n===H?"!--"===c[1]?n=_:void 0!==c[1]?n=j:void 0!==c[2]?(J.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=G):void 0!==c[3]&&(n=G):n===G?">"===c[0]?(n=i??H,l=-1):void 0===c[1]?l=-2:(l=n.lastIndex-c[2].length,s=c[1],n=void 0===c[3]?G:'"'===c[3]?Y:T):n===Y||n===T?n=G:n===_||n===j?n=H:(n=G,i=void 0);const f=n===G&&t[o+1].startsWith("/>")?" ":"";a+=n===H?e+z:l>=0?(r.push(s),e.slice(0,l)+K+e.slice(l)+Z+f):e+Z+(-2===l?o:f)}return[ot(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(o,e);if(this.el=t.createElement(l,r),tt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=tt.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(K)){const o=p[n++],e=i.getAttribute(t).split(Z),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:a,name:r[2],strings:e,ctor:"."===r[1]?nt:"?"===r[1]?st:"@"===r[1]?ct:at}),i.removeAttribute(t)}else t.startsWith(Z)&&(c.push({type:6,index:a}),i.removeAttribute(t));if(J.test(i.tagName)){const t=i.textContent.split(Z),o=t.length-1;if(o>0){i.textContent=$?$.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],A()),tt.nextNode(),c.push({type:2,index:++a});i.append(t[o],A())}}}else if(8===i.nodeType)if(i.data===F)c.push({type:2,index:a});else{let t=-1;for(;-1!==(t=i.data.indexOf(Z,t+1));)c.push({type:7,index:a}),t+=Z.length-1}a++}}static createElement(t,o){const e=D.createElement("template");return e.innerHTML=t,e}};function rt(t,o,e=t,r){if(o===X)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=M(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=rt(t,i._$AS(t,o.values),i,r)),o}let it=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=rt(this,t,o),M(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>B(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==q&&M(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=et.createElement(ot(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??D).importNode(o,!0);tt.currentNode=r;let i=tt.nextNode(),a=0,n=0,s=e[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new it(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new lt(i,this,t)),this._$AV.push(o),s=e[++n]}a!==s?.index&&(i=tt.nextNode(),a++)}return tt.currentNode=D,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new et(t)),o}T(o){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const a of o)i===e.length?e.push(r=new t(this.k(A()),this.k(A()),this,this.options)):r=e[i],r._$AI(a),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},at=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=q}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=rt(this,t,o,0),a=!M(t)||t!==this._$AH&&t!==X,a&&(this._$AH=t);else{const r=t;let n,s;for(t=i[0],n=0;n<i.length-1;n++)s=rt(this,r[e+n],o,n),s===X&&(s=this._$AH[n]),a||=!M(s)||s!==this._$AH[n],s===q?t=q:t!==q&&(t+=(s??"")+i[n+1]),this._$AH[n]=s}a&&!r&&this.O(t)}O(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},nt=class extends at{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===q?void 0:t}},st=class extends at{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==q)}},ct=class extends at{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=rt(this,t,o,0)??q)===X)return;const e=this._$AH,r=t===q&&e!==q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==q&&(e===q||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},lt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){rt(this,t)}};const pt=W.litHtmlPolyfillSupport;pt?.(et,it),(W.litHtmlVersions??=[]).push("3.1.0");
52
+ const W=globalThis,$=W.trustedTypes,L=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,F="?"+Z,z=`<${F}>`,A=document,D=()=>A.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,P="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,j=/>/g,T=RegExp(`>|${P}(?:([^\\s"'>=/]+)(${P}*=${P}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,Y=/"/g,J=/^(?:script|style|textarea|title)$/i,V=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),X=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),Q=new WeakMap,tt=A.createTreeWalker(A,129);function ot(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==L?L.createHTML(o):o}let et=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let a=0,n=0;const s=o.length-1,c=this.parts,[l,p]=((t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=H;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,p=0;for(;p<e.length&&(n.lastIndex=p,c=n.exec(e),null!==c);)p=n.lastIndex,n===H?"!--"===c[1]?n=_:void 0!==c[1]?n=j:void 0!==c[2]?(J.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=T):void 0!==c[3]&&(n=T):n===T?">"===c[0]?(n=i??H,l=-1):void 0===c[1]?l=-2:(l=n.lastIndex-c[2].length,s=c[1],n=void 0===c[3]?T:'"'===c[3]?Y:G):n===Y||n===G?n=T:n===_||n===j?n=H:(n=T,i=void 0);const f=n===T&&t[o+1].startsWith("/>")?" ":"";a+=n===H?e+z:l>=0?(r.push(s),e.slice(0,l)+K+e.slice(l)+Z+f):e+Z+(-2===l?o:f)}return[ot(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(o,e);if(this.el=t.createElement(l,r),tt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=tt.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(K)){const o=p[n++],e=i.getAttribute(t).split(Z),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:a,name:r[2],strings:e,ctor:"."===r[1]?nt:"?"===r[1]?st:"@"===r[1]?ct:at}),i.removeAttribute(t)}else t.startsWith(Z)&&(c.push({type:6,index:a}),i.removeAttribute(t));if(J.test(i.tagName)){const t=i.textContent.split(Z),o=t.length-1;if(o>0){i.textContent=$?$.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],D()),tt.nextNode(),c.push({type:2,index:++a});i.append(t[o],D())}}}else if(8===i.nodeType)if(i.data===F)c.push({type:2,index:a});else{let t=-1;for(;-1!==(t=i.data.indexOf(Z,t+1));)c.push({type:7,index:a}),t+=Z.length-1}a++}}static createElement(t,o){const e=A.createElement("template");return e.innerHTML=t,e}};function rt(t,o,e=t,r){if(o===X)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=M(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=rt(t,i._$AS(t,o.values),i,r)),o}let it=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=rt(this,t,o),M(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>B(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==q&&M(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=et.createElement(ot(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??A).importNode(o,!0);tt.currentNode=r;let i=tt.nextNode(),a=0,n=0,s=e[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new it(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new lt(i,this,t)),this._$AV.push(o),s=e[++n]}a!==s?.index&&(i=tt.nextNode(),a++)}return tt.currentNode=A,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new et(t)),o}T(o){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const a of o)i===e.length?e.push(r=new t(this.k(D()),this.k(D()),this,this.options)):r=e[i],r._$AI(a),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},at=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=q}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=rt(this,t,o,0),a=!M(t)||t!==this._$AH&&t!==X,a&&(this._$AH=t);else{const r=t;let n,s;for(t=i[0],n=0;n<i.length-1;n++)s=rt(this,r[e+n],o,n),s===X&&(s=this._$AH[n]),a||=!M(s)||s!==this._$AH[n],s===q?t=q:t!==q&&(t+=(s??"")+i[n+1]),this._$AH[n]=s}a&&!r&&this.O(t)}O(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},nt=class extends at{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===q?void 0:t}},st=class extends at{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==q)}},ct=class extends at{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=rt(this,t,o,0)??q)===X)return;const e=this._$AH,r=t===q&&e!==q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==q&&(e===q||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},lt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){rt(this,t)}};const pt=W.litHtmlPolyfillSupport;pt?.(et,it),(W.litHtmlVersions??=[]).push("3.1.0");
53
53
  /**
54
54
  * @license
55
55
  * Copyright 2019 Google LLC
@@ -60,13 +60,13 @@ const ft=globalThis,ht=ft.ShadowRoot&&(void 0===ft.ShadyCSS||ft.ShadyCSS.nativeS
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
- */,{is:Ot,defineProperty:Nt,getOwnPropertyDescriptor:St,getOwnPropertyNames:xt,getOwnPropertySymbols:vt,getPrototypeOf:wt}=Object,Ct=globalThis,Rt=Ct.trustedTypes,Et=Rt?Rt.emptyScript:"",Ut=Ct.reactiveElementPolyfillSupport,kt=(t,o)=>t,It={toAttribute(t,o){switch(o){case Boolean:t=t?Et:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){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}},Wt=(t,o)=>!Ot(t,o),$t={attribute:!0,type:String,converter:It,reflect:!1,hasChanged:Wt};Symbol.metadata??=Symbol("metadata"),Ct.litPropertyMetadata??=new WeakMap;class Lt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=$t){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Nt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=St(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const a=r?.call(this);i.call(this,o),this.requestUpdate(t,a,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$t}static _$Ei(){if(this.hasOwnProperty(kt("elementProperties")))return;const t=wt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(kt("properties"))){const t=this.properties,o=[...xt(t),...vt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(mt(t))}else void 0!==t&&o.push(mt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(ht)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=ft.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:It).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:It;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Wt)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Lt.elementStyles=[],Lt.shadowRootOptions={mode:"open"},Lt[kt("elementProperties")]=new Map,Lt[kt("finalized")]=new Map,Ut?.({ReactiveElement:Lt}),(Ct.reactiveElementVersions??=[]).push("2.0.2");
63
+ */,{is:Ot,defineProperty:Nt,getOwnPropertyDescriptor:St,getOwnPropertyNames:xt,getOwnPropertySymbols:vt,getPrototypeOf:wt}=Object,Ct=globalThis,Rt=Ct.trustedTypes,Ut=Rt?Rt.emptyScript:"",Et=Ct.reactiveElementPolyfillSupport,kt=(t,o)=>t,It={toAttribute(t,o){switch(o){case Boolean:t=t?Ut:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){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}},Wt=(t,o)=>!Ot(t,o),$t={attribute:!0,type:String,converter:It,reflect:!1,hasChanged:Wt};Symbol.metadata??=Symbol("metadata"),Ct.litPropertyMetadata??=new WeakMap;class Lt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=$t){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Nt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=St(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const a=r?.call(this);i.call(this,o),this.requestUpdate(t,a,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$t}static _$Ei(){if(this.hasOwnProperty(kt("elementProperties")))return;const t=wt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(kt("properties"))){const t=this.properties,o=[...xt(t),...vt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(mt(t))}else void 0!==t&&o.push(mt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(ht)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=ft.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:It).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:It;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Wt)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Lt.elementStyles=[],Lt.shadowRootOptions={mode:"open"},Lt[kt("elementProperties")]=new Map,Lt[kt("finalized")]=new Map,Et?.({ReactiveElement:Lt}),(Ct.reactiveElementVersions??=[]).push("2.0.2");
64
64
  /**
65
65
  * @license
66
66
  * Copyright 2017 Google LLC
67
67
  * SPDX-License-Identifier: BSD-3-Clause
68
68
  */
69
- const Kt=globalThis,Zt=Kt.trustedTypes,Ft=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,zt="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Dt,Mt=`<${At}>`,Bt=document,Pt=()=>Bt.createComment(""),Ht=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_t=Array.isArray,jt="[ \t\n\f\r]",Gt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Tt=/-->/g,Yt=/>/g,Jt=RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Vt=/'/g,Xt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Qt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),to=Symbol.for("lit-noChange"),oo=Symbol.for("lit-nothing"),eo=new WeakMap,ro=Bt.createTreeWalker(Bt,129);function io(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ft?Ft.createHTML(o):o}const ao=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=Gt;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,p=0;for(;p<e.length&&(n.lastIndex=p,c=n.exec(e),null!==c);)p=n.lastIndex,n===Gt?"!--"===c[1]?n=Tt:void 0!==c[1]?n=Yt:void 0!==c[2]?(qt.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=Jt):void 0!==c[3]&&(n=Jt):n===Jt?">"===c[0]?(n=i??Gt,l=-1):void 0===c[1]?l=-2:(l=n.lastIndex-c[2].length,s=c[1],n=void 0===c[3]?Jt:'"'===c[3]?Xt:Vt):n===Xt||n===Vt?n=Jt:n===Tt||n===Yt?n=Gt:(n=Jt,i=void 0);const f=n===Jt&&t[o+1].startsWith("/>")?" ":"";a+=n===Gt?e+Mt:l>=0?(r.push(s),e.slice(0,l)+zt+e.slice(l)+Dt+f):e+Dt+(-2===l?o:f)}return[io(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class no{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,s=this.parts,[c,l]=ao(t,o);if(this.el=no.createElement(c,e),ro.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ro.nextNode())&&s.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(zt)){const o=l[a++],e=r.getAttribute(t).split(Dt),n=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?po:"?"===n[1]?fo:"@"===n[1]?ho:lo}),r.removeAttribute(t)}else t.startsWith(Dt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(Dt),o=t.length-1;if(o>0){r.textContent=Zt?Zt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],Pt()),ro.nextNode(),s.push({type:2,index:++i});r.append(t[o],Pt())}}}else if(8===r.nodeType)if(r.data===At)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Dt,t+1));)s.push({type:7,index:i}),t+=Dt.length-1}i++}}static createElement(t,o){const e=Bt.createElement("template");return e.innerHTML=t,e}}function so(t,o,e=t,r){if(o===to)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=Ht(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=so(t,i._$AS(t,o.values),i,r)),o}class co{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=oo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=so(this,t,o),Ht(t)?t===oo||null==t||""===t?(this._$AH!==oo&&this._$AR(),this._$AH=oo):t!==this._$AH&&t!==to&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_t(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==oo&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.$(Bt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=no.createElement(io(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??Bt).importNode(o,!0);ro.currentNode=r;let i=ro.nextNode(),a=0,n=0,s=e[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new co(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new yo(i,this,t)),this._$AV.push(o),s=e[++n]}a!==s?.index&&(i=ro.nextNode(),a++)}return ro.currentNode=Bt,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=eo.get(t.strings);return void 0===o&&eo.set(t.strings,o=new no(t)),o}T(t){_t(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new co(this.k(Pt()),this.k(Pt()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class lo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=oo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=oo}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=so(this,t,o,0),a=!Ht(t)||t!==this._$AH&&t!==to,a&&(this._$AH=t);else{const r=t;let n,s;for(t=i[0],n=0;n<i.length-1;n++)s=so(this,r[e+n],o,n),s===to&&(s=this._$AH[n]),a||=!Ht(s)||s!==this._$AH[n],s===oo?t=oo:t!==oo&&(t+=(s??"")+i[n+1]),this._$AH[n]=s}a&&!r&&this.O(t)}O(t){t===oo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class po extends lo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===oo?void 0:t}}class fo extends lo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==oo)}}class ho extends lo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=so(this,t,o,0)??oo)===to)return;const e=this._$AH,r=t===oo&&e!==oo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==oo&&(e===oo||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class yo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){so(this,t)}}const go=Kt.litHtmlPolyfillSupport;go?.(no,co),(Kt.litHtmlVersions??=[]).push("3.1.0");
69
+ const Kt=globalThis,Zt=Kt.trustedTypes,Ft=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,zt="$lit$",At=`lit$${(Math.random()+"").slice(9)}$`,Dt="?"+At,Mt=`<${Dt}>`,Bt=document,Pt=()=>Bt.createComment(""),Ht=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_t=Array.isArray,jt="[ \t\n\f\r]",Tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Gt=/-->/g,Yt=/>/g,Jt=RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Vt=/'/g,Xt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Qt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),to=Symbol.for("lit-noChange"),oo=Symbol.for("lit-nothing"),eo=new WeakMap,ro=Bt.createTreeWalker(Bt,129);function io(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ft?Ft.createHTML(o):o}const ao=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=Tt;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,p=0;for(;p<e.length&&(n.lastIndex=p,c=n.exec(e),null!==c);)p=n.lastIndex,n===Tt?"!--"===c[1]?n=Gt:void 0!==c[1]?n=Yt:void 0!==c[2]?(qt.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=Jt):void 0!==c[3]&&(n=Jt):n===Jt?">"===c[0]?(n=i??Tt,l=-1):void 0===c[1]?l=-2:(l=n.lastIndex-c[2].length,s=c[1],n=void 0===c[3]?Jt:'"'===c[3]?Xt:Vt):n===Xt||n===Vt?n=Jt:n===Gt||n===Yt?n=Tt:(n=Jt,i=void 0);const f=n===Jt&&t[o+1].startsWith("/>")?" ":"";a+=n===Tt?e+Mt:l>=0?(r.push(s),e.slice(0,l)+zt+e.slice(l)+At+f):e+At+(-2===l?o:f)}return[io(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class no{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,s=this.parts,[c,l]=ao(t,o);if(this.el=no.createElement(c,e),ro.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ro.nextNode())&&s.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(zt)){const o=l[a++],e=r.getAttribute(t).split(At),n=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?po:"?"===n[1]?fo:"@"===n[1]?ho:lo}),r.removeAttribute(t)}else t.startsWith(At)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(At),o=t.length-1;if(o>0){r.textContent=Zt?Zt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],Pt()),ro.nextNode(),s.push({type:2,index:++i});r.append(t[o],Pt())}}}else if(8===r.nodeType)if(r.data===Dt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(At,t+1));)s.push({type:7,index:i}),t+=At.length-1}i++}}static createElement(t,o){const e=Bt.createElement("template");return e.innerHTML=t,e}}function so(t,o,e=t,r){if(o===to)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=Ht(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=so(t,i._$AS(t,o.values),i,r)),o}class co{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=oo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=so(this,t,o),Ht(t)?t===oo||null==t||""===t?(this._$AH!==oo&&this._$AR(),this._$AH=oo):t!==this._$AH&&t!==to&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_t(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==oo&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.$(Bt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=no.createElement(io(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??Bt).importNode(o,!0);ro.currentNode=r;let i=ro.nextNode(),a=0,n=0,s=e[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new co(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new yo(i,this,t)),this._$AV.push(o),s=e[++n]}a!==s?.index&&(i=ro.nextNode(),a++)}return ro.currentNode=Bt,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=eo.get(t.strings);return void 0===o&&eo.set(t.strings,o=new no(t)),o}T(t){_t(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new co(this.k(Pt()),this.k(Pt()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class lo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=oo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=oo}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=so(this,t,o,0),a=!Ht(t)||t!==this._$AH&&t!==to,a&&(this._$AH=t);else{const r=t;let n,s;for(t=i[0],n=0;n<i.length-1;n++)s=so(this,r[e+n],o,n),s===to&&(s=this._$AH[n]),a||=!Ht(s)||s!==this._$AH[n],s===oo?t=oo:t!==oo&&(t+=(s??"")+i[n+1]),this._$AH[n]=s}a&&!r&&this.O(t)}O(t){t===oo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class po extends lo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===oo?void 0:t}}class fo extends lo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==oo)}}class ho extends lo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=so(this,t,o,0)??oo)===to)return;const e=this._$AH,r=t===oo&&e!==oo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==oo&&(e===oo||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class yo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){so(this,t)}}const go=Kt.litHtmlPolyfillSupport;go?.(no,co),(Kt.litHtmlVersions??=[]).push("3.1.0");
70
70
  /**
71
71
  * @license
72
72
  * Copyright 2017 Google LLC
@@ -77,7 +77,7 @@ class uo extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
77
77
  * @license
78
78
  * Copyright 2019 Google LLC
79
79
  * SPDX-License-Identifier: BSD-3-Clause
80
- */class Ro extends uo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Co?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=wo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Eo,Uo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const ko=Symbol("constructorPrototype"),Io=Symbol("constructorName"),Wo=Symbol("exportpartsDebouncer");class $o extends Ro{constructor(){super(),this[Eo]=new U(5),this[Io]=this.constructor.name,this[ko]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Io]&&Object.setPrototypeOf(this,this[ko])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Wo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,a,n;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const p=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Eo=Wo,Uo([w()],$o.prototype,"exportpartsPrefix",void 0),Uo([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!k(t,o),...null!=o?o:{}})}([])],$o.prototype,"exportpartsPrefixes",void 0),Uo([w()],$o.prototype,"customStylesheet",void 0);const Lo=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");var Ko,Zo;bt`
80
+ */class Ro extends uo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Co?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=wo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Uo,Eo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const ko=Symbol("constructorPrototype"),Io=Symbol("constructorName"),Wo=Symbol("exportpartsDebouncer");class $o extends Ro{constructor(){super(),this[Uo]=new E(5),this[Io]=this.constructor.name,this[ko]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Io]&&Object.setPrototypeOf(this,this[ko])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Wo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,a,n;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const p=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Uo=Wo,Eo([w()],$o.prototype,"exportpartsPrefix",void 0),Eo([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!k(t,o),...null!=o?o:{}})}([])],$o.prototype,"exportpartsPrefixes",void 0),Eo([w()],$o.prototype,"customStylesheet",void 0);const Lo=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");function Ko(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Zo,Fo,zo;bt`
81
81
  .highlight-html-match {
82
82
  background: ${Lo};
83
83
  }
@@ -113,18 +113,18 @@ class uo extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
113
113
  display: inline-block;
114
114
  width: 0;
115
115
  }
116
- `,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Zo=null===(Ko=window.safari)||void 0===Ko?void 0:Ko.pushNotification)||void 0===Zo||Zo.toString());
116
+ `;const Ao=Symbol("internalReduxEventsUnsubscribers"),Do=Symbol("internalStoresUnsubscribers"),Mo=Symbol("internalStores");class Bo extends $o{constructor(){super(...arguments),this[Zo]=new Map,this[Fo]=new Map,this[zo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Mo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Mo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Mo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ko(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Mo].delete(o)}setupStore(t,o){this[Mo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Mo].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Do].has(t.store):this[Do].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Do].set(t,o.subscribe((()=>this.updateFromStores()))),Ko(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Ao].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Do].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Ao].forEach((t=>t())),this[Ao]=[]}unsubscribeFromStore(t){this[Do].has(t)&&this[Do].get(t)(),this[Do].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}var Po,Ho;Zo=Do,Fo=Mo,zo=Ao,Bo.reduxProperties=new Map,Bo.reduxReactiveProperties=new Set,Bo.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Ho=null===(Po=window.safari)||void 0===Po?void 0:Po.pushNotification)||void 0===Ho||Ho.toString());
117
117
  /**
118
118
  * @license
119
119
  * Copyright 2017 Google LLC
120
120
  * SPDX-License-Identifier: BSD-3-Clause
121
121
  */
122
- const Fo=1;let zo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
122
+ const _o=1;let jo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
123
123
  /**
124
124
  * @license
125
125
  * Copyright 2018 Google LLC
126
126
  * SPDX-License-Identifier: BSD-3-Clause
127
- */const Do=(t=>(...o)=>({_$litDirective$:t,values:o}))(class extends zo{constructor(t){if(super(t),t.type!==Fo||"class"!==t.name||t.strings?.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((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return X}}),Ao=Oo.extend("--ft-ripple-color","",vo.colorContent),Mo=Ao,Bo=Oo.extend("--ft-ripple-background-color","",Ao),Po=Oo.external(vo.opacityContentOnSurfacePressed,"Design system"),Ho=Oo.external(vo.opacityContentOnSurfaceHover,"Design system"),_o=Oo.external(vo.opacityContentOnSurfaceFocused,"Design system"),jo=Oo.external(vo.opacityContentOnSurfaceSelected,"Design system"),Go=Oo.create("--ft-ripple-border-radius","","SIZE","0px"),To=Oo.extend("--ft-ripple-color","",vo.colorPrimary),Yo=To,Jo=Oo.extend("--ft-ripple-background-color","",To),Vo=Oo.extend("--ft-ripple-color","",vo.colorSecondary),Xo=Vo,qo=Oo.extend("--ft-ripple-background-color","",Vo),Qo=bt`
127
+ */const To=(t=>(...o)=>({_$litDirective$:t,values:o}))(class extends jo{constructor(t){if(super(t),t.type!==_o||"class"!==t.name||t.strings?.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((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return X}}),Go=Oo.extend("--ft-ripple-color","",vo.colorContent),Yo=Go,Jo=Oo.extend("--ft-ripple-background-color","",Go),Vo=Oo.external(vo.opacityContentOnSurfacePressed,"Design system"),Xo=Oo.external(vo.opacityContentOnSurfaceHover,"Design system"),qo=Oo.external(vo.opacityContentOnSurfaceFocused,"Design system"),Qo=Oo.external(vo.opacityContentOnSurfaceSelected,"Design system"),te=Oo.create("--ft-ripple-border-radius","","SIZE","0px"),oe=Oo.extend("--ft-ripple-color","",vo.colorPrimary),ee=oe,re=Oo.extend("--ft-ripple-background-color","",oe),ie=Oo.extend("--ft-ripple-color","",vo.colorSecondary),ae=ie,ne=Oo.extend("--ft-ripple-background-color","",ie),se=bt`
128
128
  :host {
129
129
  display: contents;
130
130
  }
@@ -137,7 +137,7 @@ const Fo=1;let zo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
137
137
 
138
138
  .ft-ripple:not(.ft-ripple--unbounded) {
139
139
  overflow: hidden;
140
- border-radius: ${Go};
140
+ border-radius: ${te};
141
141
  }
142
142
 
143
143
  .ft-ripple .ft-ripple--background,
@@ -171,27 +171,27 @@ const Fo=1;let zo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
171
171
  }
172
172
 
173
173
  .ft-ripple .ft-ripple--background {
174
- background-color: ${Bo};
174
+ background-color: ${Jo};
175
175
  }
176
176
 
177
177
  .ft-ripple .ft-ripple--effect {
178
- background-color: ${Mo};
178
+ background-color: ${Yo};
179
179
  }
180
180
 
181
181
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
182
- background-color: ${qo};
182
+ background-color: ${ne};
183
183
  }
184
184
 
185
185
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
186
- background-color: ${Xo};
186
+ background-color: ${ae};
187
187
  }
188
188
 
189
189
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
190
- background-color: ${Jo};
190
+ background-color: ${re};
191
191
  }
192
192
 
193
193
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
194
- background-color: ${Yo};
194
+ background-color: ${ee};
195
195
  }
196
196
 
197
197
  .ft-ripple .ft-ripple--background {
@@ -221,134 +221,134 @@ const Fo=1;let zo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
221
221
  }
222
222
 
223
223
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
224
- opacity: ${Ho};
224
+ opacity: ${Xo};
225
225
  }
226
226
 
227
227
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
228
- opacity: ${jo};
228
+ opacity: ${Qo};
229
229
  }
230
230
 
231
231
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
232
- opacity: ${_o};
232
+ opacity: ${qo};
233
233
  }
234
234
 
235
235
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
236
- opacity: ${Po};
236
+ opacity: ${Vo};
237
237
  transform: translate(-50%, -50%) scale(1);
238
238
  }
239
- `;var te=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class oe extends $o{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.originX=0,this.originY=0,this.debouncer=new U(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new U(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.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.isFocusVisible(null==t?void 0:t.target)&&!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 Qt`
239
+ `;var ce=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class le extends $o{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.originX=0,this.originY=0,this.debouncer=new E(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new E(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.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.isFocusVisible(null==t?void 0:t.target)&&!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 Qt`
240
240
  <style>
241
241
  .ft-ripple .ft-ripple--effect {
242
242
  left: ${this.originX}px;
243
243
  top: ${this.originY}px;
244
244
  }
245
245
  </style>
246
- <div class="${Do(t)}">
246
+ <div class="${To(t)}">
247
247
  <div class="ft-ripple--background"></div>
248
248
  <div class="ft-ripple--effect"></div>
249
249
  </div>
250
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},a={passive:!0};t.addEventListener("mouseover",this.startHover,a),t.addEventListener("mousemove",this.moveRipple,a),t.addEventListener("mouseleave",this.endHover,a),t.addEventListener("mousedown",e,a),t.addEventListener("touchstart",r,a),t.addEventListener("touchmove",this.moveRipple,a),t.addEventListener("keydown",i,a),t.addEventListener("focus",this.startFocus,a),t.addEventListener("blur",this.endFocus,a),t.addEventListener("focusin",this.startFocus,a),t.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,a),t.removeEventListener("mousemove",this.moveRipple,a),t.removeEventListener("mouseleave",this.endHover,a),t.removeEventListener("mousedown",e,a),t.removeEventListener("touchstart",r,a),t.removeEventListener("touchmove",this.moveRipple,a),t.removeEventListener("keydown",i,a),t.removeEventListener("focus",this.startFocus,a),t.removeEventListener("blur",this.endFocus,a),t.removeEventListener("focusin",this.startFocus,a),t.removeEventListener("focusout",this.endFocus,a),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}oe.elementDefinitions={},oe.styles=Qo,te([w({type:Boolean})],oe.prototype,"primary",void 0),te([w({type:Boolean})],oe.prototype,"secondary",void 0),te([w({type:Boolean})],oe.prototype,"unbounded",void 0),te([w({type:Boolean})],oe.prototype,"activated",void 0),te([w({type:Boolean})],oe.prototype,"selected",void 0),te([w({type:Boolean})],oe.prototype,"disabled",void 0),te([C()],oe.prototype,"hovered",void 0),te([C()],oe.prototype,"focused",void 0),te([C()],oe.prototype,"pressed",void 0),te([C()],oe.prototype,"rippling",void 0),te([C()],oe.prototype,"originX",void 0),te([C()],oe.prototype,"originY",void 0),te([E(".ft-ripple")],oe.prototype,"ripple",void 0),te([E(".ft-ripple--effect")],oe.prototype,"rippleEffect",void 0),I("ft-ripple")(oe);
250
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},a={passive:!0};t.addEventListener("mouseover",this.startHover,a),t.addEventListener("mousemove",this.moveRipple,a),t.addEventListener("mouseleave",this.endHover,a),t.addEventListener("mousedown",e,a),t.addEventListener("touchstart",r,a),t.addEventListener("touchmove",this.moveRipple,a),t.addEventListener("keydown",i,a),t.addEventListener("focus",this.startFocus,a),t.addEventListener("blur",this.endFocus,a),t.addEventListener("focusin",this.startFocus,a),t.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,a),t.removeEventListener("mousemove",this.moveRipple,a),t.removeEventListener("mouseleave",this.endHover,a),t.removeEventListener("mousedown",e,a),t.removeEventListener("touchstart",r,a),t.removeEventListener("touchmove",this.moveRipple,a),t.removeEventListener("keydown",i,a),t.removeEventListener("focus",this.startFocus,a),t.removeEventListener("blur",this.endFocus,a),t.removeEventListener("focusin",this.startFocus,a),t.removeEventListener("focusout",this.endFocus,a),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}le.elementDefinitions={},le.styles=se,ce([w({type:Boolean})],le.prototype,"primary",void 0),ce([w({type:Boolean})],le.prototype,"secondary",void 0),ce([w({type:Boolean})],le.prototype,"unbounded",void 0),ce([w({type:Boolean})],le.prototype,"activated",void 0),ce([w({type:Boolean})],le.prototype,"selected",void 0),ce([w({type:Boolean})],le.prototype,"disabled",void 0),ce([C()],le.prototype,"hovered",void 0),ce([C()],le.prototype,"focused",void 0),ce([C()],le.prototype,"pressed",void 0),ce([C()],le.prototype,"rippling",void 0),ce([C()],le.prototype,"originX",void 0),ce([C()],le.prototype,"originY",void 0),ce([U(".ft-ripple")],le.prototype,"ripple",void 0),ce([U(".ft-ripple--effect")],le.prototype,"rippleEffect",void 0),I("ft-ripple")(le);
251
251
  /**
252
252
  * @license
253
253
  * Copyright 2020 Google LLC
254
254
  * SPDX-License-Identifier: BSD-3-Clause
255
255
  */
256
- const ee=Symbol.for(""),re=t=>{if(t?.r===ee)return t?._$litStatic$},ie=t=>({_$litStatic$:t,r:ee}),ae=new Map,ne=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],s=[];let c,l=0,p=!1;for(;l<r;){for(c=o[l];l<r&&void 0!==(a=e[l],i=re(a));)c+=i+o[++l],p=!0;l!==r&&s.push(a),n.push(c),l++}if(l===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=ae.get(t))&&(n.raw=n,ae.set(t,o=n)),e=s}return t(o,...e)})(V);var se;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(se||(se={}));const ce=Oo.extend("--ft-typography-font-family","",vo.titleFont),le=Oo.extend("--ft-typography-font-family","",vo.contentFont),pe={fontFamily:le,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},fe=Oo.extend("--ft-typography-title-font-family","",ce),he=Oo.extend("--ft-typography-title-font-size","",pe.fontSize,"20px"),de=Oo.extend("--ft-typography-title-font-weight","",pe.fontWeight,"normal"),ye=Oo.extend("--ft-typography-title-letter-spacing","",pe.letterSpacing,"0.15px"),ge=Oo.extend("--ft-typography-title-line-height","",pe.lineHeight,"1.2"),ue=Oo.extend("--ft-typography-title-text-transform","",pe.textTransform,"inherit"),be=Oo.extend("--ft-typography-title-dense-font-family","",ce),me=Oo.extend("--ft-typography-title-dense-font-size","",pe.fontSize,"14px"),Oe=Oo.extend("--ft-typography-title-dense-font-weight","",pe.fontWeight,"normal"),Ne=Oo.extend("--ft-typography-title-dense-letter-spacing","",pe.letterSpacing,"0.105px"),Se=Oo.extend("--ft-typography-title-dense-line-height","",pe.lineHeight,"1.7"),xe=Oo.extend("--ft-typography-title-dense-text-transform","",pe.textTransform,"inherit"),ve=Oo.extend("--ft-typography-subtitle1-font-family","",le),we=Oo.extend("--ft-typography-subtitle1-font-size","",pe.fontSize,"16px"),Ce=Oo.extend("--ft-typography-subtitle1-font-weight","",pe.fontWeight,"600"),Re=Oo.extend("--ft-typography-subtitle1-letter-spacing","",pe.letterSpacing,"0.144px"),Ee=Oo.extend("--ft-typography-subtitle1-line-height","",pe.lineHeight,"1.5"),Ue=Oo.extend("--ft-typography-subtitle1-text-transform","",pe.textTransform,"inherit"),ke=Oo.extend("--ft-typography-subtitle2-font-family","",le),Ie=Oo.extend("--ft-typography-subtitle2-font-size","",pe.fontSize,"14px"),We=Oo.extend("--ft-typography-subtitle2-font-weight","",pe.fontWeight,"normal"),$e=Oo.extend("--ft-typography-subtitle2-letter-spacing","",pe.letterSpacing,"0.098px"),Le=Oo.extend("--ft-typography-subtitle2-line-height","",pe.lineHeight,"1.7"),Ke=Oo.extend("--ft-typography-subtitle2-text-transform","",pe.textTransform,"inherit"),Ze=Oo.extend("--ft-typography-body1-font-family","",le),Fe=Oo.extend("--ft-typography-body1-font-size","",pe.fontSize,"16px"),ze=Oo.extend("--ft-typography-body1-font-weight","",pe.fontWeight,"normal"),De=Oo.extend("--ft-typography-body1-letter-spacing","",pe.letterSpacing,"0.496px"),Ae=Oo.extend("--ft-typography-body1-line-height","",pe.lineHeight,"1.5"),Me=Oo.extend("--ft-typography-body1-text-transform","",pe.textTransform,"inherit"),Be=Oo.extend("--ft-typography-body2-font-family","",le),Pe=Oo.extend("--ft-typography-body2-font-size","",pe.fontSize,"14px"),He=Oo.extend("--ft-typography-body2-font-weight","",pe.fontWeight,"normal"),_e=Oo.extend("--ft-typography-body2-letter-spacing","",pe.letterSpacing,"0.252px"),je=Oo.extend("--ft-typography-body2-line-height","",pe.lineHeight,"1.4"),Ge=Oo.extend("--ft-typography-body2-text-transform","",pe.textTransform,"inherit"),Te=Oo.extend("--ft-typography-caption-font-family","",le),Ye=Oo.extend("--ft-typography-caption-font-size","",pe.fontSize,"12px"),Je=Oo.extend("--ft-typography-caption-font-weight","",pe.fontWeight,"normal"),Ve=Oo.extend("--ft-typography-caption-letter-spacing","",pe.letterSpacing,"0.396px"),Xe=Oo.extend("--ft-typography-caption-line-height","",pe.lineHeight,"1.33"),qe=Oo.extend("--ft-typography-caption-text-transform","",pe.textTransform,"inherit"),Qe=Oo.extend("--ft-typography-breadcrumb-font-family","",le),tr=Oo.extend("--ft-typography-breadcrumb-font-size","",pe.fontSize,"10px"),or=Oo.extend("--ft-typography-breadcrumb-font-weight","",pe.fontWeight,"normal"),er=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",pe.letterSpacing,"0.33px"),rr=Oo.extend("--ft-typography-breadcrumb-line-height","",pe.lineHeight,"1.6"),ir=Oo.extend("--ft-typography-breadcrumb-text-transform","",pe.textTransform,"inherit"),ar=Oo.extend("--ft-typography-overline-font-family","",le),nr=Oo.extend("--ft-typography-overline-font-size","",pe.fontSize,"10px"),sr=Oo.extend("--ft-typography-overline-font-weight","",pe.fontWeight,"normal"),cr=Oo.extend("--ft-typography-overline-letter-spacing","",pe.letterSpacing,"1.5px"),lr=Oo.extend("--ft-typography-overline-line-height","",pe.lineHeight,"1.6"),pr=Oo.extend("--ft-typography-overline-text-transform","",pe.textTransform,"uppercase"),fr=Oo.extend("--ft-typography-button-font-family","",le),hr=Oo.extend("--ft-typography-button-font-size","",pe.fontSize,"14px"),dr=Oo.extend("--ft-typography-button-font-weight","",pe.fontWeight,"600"),yr=Oo.extend("--ft-typography-button-letter-spacing","",pe.letterSpacing,"1.246px"),gr=Oo.extend("--ft-typography-button-line-height","",pe.lineHeight,"1.15"),ur=Oo.extend("--ft-typography-button-text-transform","",pe.textTransform,"uppercase"),br=bt`
256
+ const pe=Symbol.for(""),fe=t=>{if(t?.r===pe)return t?._$litStatic$},he=t=>({_$litStatic$:t,r:pe}),de=new Map,ye=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],s=[];let c,l=0,p=!1;for(;l<r;){for(c=o[l];l<r&&void 0!==(a=e[l],i=fe(a));)c+=i+o[++l],p=!0;l!==r&&s.push(a),n.push(c),l++}if(l===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=de.get(t))&&(n.raw=n,de.set(t,o=n)),e=s}return t(o,...e)})(V);var ge;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(ge||(ge={}));const ue=Oo.extend("--ft-typography-font-family","",vo.titleFont),be=Oo.extend("--ft-typography-font-family","",vo.contentFont),me={fontFamily:be,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Oe=Oo.extend("--ft-typography-title-font-family","",ue),Ne=Oo.extend("--ft-typography-title-font-size","",me.fontSize,"20px"),Se=Oo.extend("--ft-typography-title-font-weight","",me.fontWeight,"normal"),xe=Oo.extend("--ft-typography-title-letter-spacing","",me.letterSpacing,"0.15px"),ve=Oo.extend("--ft-typography-title-line-height","",me.lineHeight,"1.2"),we=Oo.extend("--ft-typography-title-text-transform","",me.textTransform,"inherit"),Ce=Oo.extend("--ft-typography-title-dense-font-family","",ue),Re=Oo.extend("--ft-typography-title-dense-font-size","",me.fontSize,"14px"),Ue=Oo.extend("--ft-typography-title-dense-font-weight","",me.fontWeight,"normal"),Ee=Oo.extend("--ft-typography-title-dense-letter-spacing","",me.letterSpacing,"0.105px"),ke=Oo.extend("--ft-typography-title-dense-line-height","",me.lineHeight,"1.7"),Ie=Oo.extend("--ft-typography-title-dense-text-transform","",me.textTransform,"inherit"),We=Oo.extend("--ft-typography-subtitle1-font-family","",be),$e=Oo.extend("--ft-typography-subtitle1-font-size","",me.fontSize,"16px"),Le=Oo.extend("--ft-typography-subtitle1-font-weight","",me.fontWeight,"600"),Ke=Oo.extend("--ft-typography-subtitle1-letter-spacing","",me.letterSpacing,"0.144px"),Ze=Oo.extend("--ft-typography-subtitle1-line-height","",me.lineHeight,"1.5"),Fe=Oo.extend("--ft-typography-subtitle1-text-transform","",me.textTransform,"inherit"),ze=Oo.extend("--ft-typography-subtitle2-font-family","",be),Ae=Oo.extend("--ft-typography-subtitle2-font-size","",me.fontSize,"14px"),De=Oo.extend("--ft-typography-subtitle2-font-weight","",me.fontWeight,"normal"),Me=Oo.extend("--ft-typography-subtitle2-letter-spacing","",me.letterSpacing,"0.098px"),Be=Oo.extend("--ft-typography-subtitle2-line-height","",me.lineHeight,"1.7"),Pe=Oo.extend("--ft-typography-subtitle2-text-transform","",me.textTransform,"inherit"),He=Oo.extend("--ft-typography-body1-font-family","",be),_e=Oo.extend("--ft-typography-body1-font-size","",me.fontSize,"16px"),je=Oo.extend("--ft-typography-body1-font-weight","",me.fontWeight,"normal"),Te=Oo.extend("--ft-typography-body1-letter-spacing","",me.letterSpacing,"0.496px"),Ge=Oo.extend("--ft-typography-body1-line-height","",me.lineHeight,"1.5"),Ye=Oo.extend("--ft-typography-body1-text-transform","",me.textTransform,"inherit"),Je=Oo.extend("--ft-typography-body2-font-family","",be),Ve=Oo.extend("--ft-typography-body2-font-size","",me.fontSize,"14px"),Xe=Oo.extend("--ft-typography-body2-font-weight","",me.fontWeight,"normal"),qe=Oo.extend("--ft-typography-body2-letter-spacing","",me.letterSpacing,"0.252px"),Qe=Oo.extend("--ft-typography-body2-line-height","",me.lineHeight,"1.4"),tr=Oo.extend("--ft-typography-body2-text-transform","",me.textTransform,"inherit"),or=Oo.extend("--ft-typography-caption-font-family","",be),er=Oo.extend("--ft-typography-caption-font-size","",me.fontSize,"12px"),rr=Oo.extend("--ft-typography-caption-font-weight","",me.fontWeight,"normal"),ir=Oo.extend("--ft-typography-caption-letter-spacing","",me.letterSpacing,"0.396px"),ar=Oo.extend("--ft-typography-caption-line-height","",me.lineHeight,"1.33"),nr=Oo.extend("--ft-typography-caption-text-transform","",me.textTransform,"inherit"),sr=Oo.extend("--ft-typography-breadcrumb-font-family","",be),cr=Oo.extend("--ft-typography-breadcrumb-font-size","",me.fontSize,"10px"),lr=Oo.extend("--ft-typography-breadcrumb-font-weight","",me.fontWeight,"normal"),pr=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",me.letterSpacing,"0.33px"),fr=Oo.extend("--ft-typography-breadcrumb-line-height","",me.lineHeight,"1.6"),hr=Oo.extend("--ft-typography-breadcrumb-text-transform","",me.textTransform,"inherit"),dr=Oo.extend("--ft-typography-overline-font-family","",be),yr=Oo.extend("--ft-typography-overline-font-size","",me.fontSize,"10px"),gr=Oo.extend("--ft-typography-overline-font-weight","",me.fontWeight,"normal"),ur=Oo.extend("--ft-typography-overline-letter-spacing","",me.letterSpacing,"1.5px"),br=Oo.extend("--ft-typography-overline-line-height","",me.lineHeight,"1.6"),mr=Oo.extend("--ft-typography-overline-text-transform","",me.textTransform,"uppercase"),Or=Oo.extend("--ft-typography-button-font-family","",be),Nr=Oo.extend("--ft-typography-button-font-size","",me.fontSize,"14px"),Sr=Oo.extend("--ft-typography-button-font-weight","",me.fontWeight,"600"),xr=Oo.extend("--ft-typography-button-letter-spacing","",me.letterSpacing,"1.246px"),vr=Oo.extend("--ft-typography-button-line-height","",me.lineHeight,"1.15"),wr=Oo.extend("--ft-typography-button-text-transform","",me.textTransform,"uppercase"),Cr=bt`
257
257
  .ft-typography--title {
258
- font-family: ${fe};
259
- font-size: ${he};
260
- font-weight: ${de};
261
- letter-spacing: ${ye};
262
- line-height: ${ge};
263
- text-transform: ${ue};
264
- }
265
- `,mr=bt`
258
+ font-family: ${Oe};
259
+ font-size: ${Ne};
260
+ font-weight: ${Se};
261
+ letter-spacing: ${xe};
262
+ line-height: ${ve};
263
+ text-transform: ${we};
264
+ }
265
+ `,Rr=bt`
266
266
  .ft-typography--title-dense {
267
- font-family: ${be};
268
- font-size: ${me};
269
- font-weight: ${Oe};
270
- letter-spacing: ${Ne};
271
- line-height: ${Se};
272
- text-transform: ${xe};
273
- }
274
- `,Or=bt`
267
+ font-family: ${Ce};
268
+ font-size: ${Re};
269
+ font-weight: ${Ue};
270
+ letter-spacing: ${Ee};
271
+ line-height: ${ke};
272
+ text-transform: ${Ie};
273
+ }
274
+ `,Ur=bt`
275
275
  .ft-typography--subtitle1 {
276
- font-family: ${ve};
277
- font-size: ${we};
278
- font-weight: ${Ce};
279
- letter-spacing: ${Re};
280
- line-height: ${Ee};
281
- text-transform: ${Ue};
282
- }
283
- `,Nr=bt`
276
+ font-family: ${We};
277
+ font-size: ${$e};
278
+ font-weight: ${Le};
279
+ letter-spacing: ${Ke};
280
+ line-height: ${Ze};
281
+ text-transform: ${Fe};
282
+ }
283
+ `,Er=bt`
284
284
  .ft-typography--subtitle2 {
285
- font-family: ${ke};
286
- font-size: ${Ie};
287
- font-weight: ${We};
288
- letter-spacing: ${$e};
289
- line-height: ${Le};
290
- text-transform: ${Ke};
285
+ font-family: ${ze};
286
+ font-size: ${Ae};
287
+ font-weight: ${De};
288
+ letter-spacing: ${Me};
289
+ line-height: ${Be};
290
+ text-transform: ${Pe};
291
291
  }
292
292
 
293
- `,Sr=bt`
293
+ `,kr=bt`
294
294
  .ft-typography--body1 {
295
- font-family: ${Ze};
296
- font-size: ${Fe};
297
- font-weight: ${ze};
298
- letter-spacing: ${De};
299
- line-height: ${Ae};
300
- text-transform: ${Me};
301
- }
302
- `,xr=bt`
295
+ font-family: ${He};
296
+ font-size: ${_e};
297
+ font-weight: ${je};
298
+ letter-spacing: ${Te};
299
+ line-height: ${Ge};
300
+ text-transform: ${Ye};
301
+ }
302
+ `,Ir=bt`
303
303
  .ft-typography--body2 {
304
- font-family: ${Be};
305
- font-size: ${Pe};
306
- font-weight: ${He};
307
- letter-spacing: ${_e};
308
- line-height: ${je};
309
- text-transform: ${Ge};
310
- }
311
- `,vr=bt`
304
+ font-family: ${Je};
305
+ font-size: ${Ve};
306
+ font-weight: ${Xe};
307
+ letter-spacing: ${qe};
308
+ line-height: ${Qe};
309
+ text-transform: ${tr};
310
+ }
311
+ `,Wr=bt`
312
312
  .ft-typography--caption {
313
- font-family: ${Te};
314
- font-size: ${Ye};
315
- font-weight: ${Je};
316
- letter-spacing: ${Ve};
317
- line-height: ${Xe};
318
- text-transform: ${qe};
319
- }
320
- `,wr=bt`
313
+ font-family: ${or};
314
+ font-size: ${er};
315
+ font-weight: ${rr};
316
+ letter-spacing: ${ir};
317
+ line-height: ${ar};
318
+ text-transform: ${nr};
319
+ }
320
+ `,$r=bt`
321
321
  .ft-typography--breadcrumb {
322
- font-family: ${Qe};
323
- font-size: ${tr};
324
- font-weight: ${or};
325
- letter-spacing: ${er};
326
- line-height: ${rr};
327
- text-transform: ${ir};
328
- }
329
- `,Cr=bt`
322
+ font-family: ${sr};
323
+ font-size: ${cr};
324
+ font-weight: ${lr};
325
+ letter-spacing: ${pr};
326
+ line-height: ${fr};
327
+ text-transform: ${hr};
328
+ }
329
+ `,Lr=bt`
330
330
  .ft-typography--overline {
331
- font-family: ${ar};
332
- font-size: ${nr};
333
- font-weight: ${sr};
334
- letter-spacing: ${cr};
335
- line-height: ${lr};
336
- text-transform: ${pr};
337
- }
338
- `,Rr=bt`
331
+ font-family: ${dr};
332
+ font-size: ${yr};
333
+ font-weight: ${gr};
334
+ letter-spacing: ${ur};
335
+ line-height: ${br};
336
+ text-transform: ${mr};
337
+ }
338
+ `,Kr=bt`
339
339
  .ft-typography--button {
340
- font-family: ${fr};
341
- font-size: ${hr};
342
- font-weight: ${dr};
343
- letter-spacing: ${yr};
344
- line-height: ${gr};
345
- text-transform: ${ur};
346
- }
347
- `,Er=bt`
340
+ font-family: ${Or};
341
+ font-size: ${Nr};
342
+ font-weight: ${Sr};
343
+ letter-spacing: ${xr};
344
+ line-height: ${vr};
345
+ text-transform: ${wr};
346
+ }
347
+ `,Zr=bt`
348
348
  .ft-typography {
349
349
  vertical-align: inherit;
350
350
  }
351
- `,Ur=[Object.keys(So).map((t=>function(t){const o=So[t];return bt`
351
+ `,Fr=[Object.keys(So).map((t=>function(t){const o=So[t];return bt`
352
352
  .ft-typography--${ut(t)} {
353
353
  font-family: ${o.fontFamily};
354
354
  font-size: ${o.fontSize};
@@ -357,21 +357,21 @@ const ee=Symbol.for(""),re=t=>{if(t?.r===ee)return t?._$litStatic$},ie=t=>({_$li
357
357
  line-height: ${o.lineHeight};
358
358
  text-transform: ${o.textCase};
359
359
  }
360
- `}(t)))];var kr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ir extends $o{constructor(){super(...arguments),this.variant=se.body1}render(){return this.element?ne`
361
- <${ie(this.element)}
360
+ `}(t)))];var zr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ar extends $o{constructor(){super(...arguments),this.variant=ge.body1}render(){return this.element?ye`
361
+ <${he(this.element)}
362
362
  class="ft-typography ft-typography--${this.variant}">
363
363
  <slot></slot>
364
- </${ie(this.element)}>
365
- `:ne`
364
+ </${he(this.element)}>
365
+ `:ye`
366
366
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
367
- `}}Ir.styles=[br,mr,Or,Nr,Sr,xr,vr,wr,Cr,Rr,Er,...Ur],kr([w()],Ir.prototype,"element",void 0),kr([w()],Ir.prototype,"variant",void 0),I("ft-typography")(Ir);const Wr={textColor:Oo.extend("--ft-checkbox-text-color","",vo.colorOnSurfaceHigh),colorPrimary:Oo.external(vo.colorPrimary,"Design system"),colorOnPrimary:Oo.external(vo.colorOnPrimary,"Design system"),borderColor:Oo.extend("--ft-checkbox-border-color","",vo.colorOnSurfaceMedium),colorOnSurfaceDisabled:Oo.external(vo.colorOnSurfaceDisabled,"Design system")},$r=bt`
367
+ `}}Ar.styles=[Cr,Rr,Ur,Er,kr,Ir,Wr,$r,Lr,Kr,Zr,...Fr],zr([w()],Ar.prototype,"element",void 0),zr([w()],Ar.prototype,"variant",void 0),I("ft-typography")(Ar);const Dr={textColor:Oo.extend("--ft-checkbox-text-color","",vo.colorOnSurfaceHigh),colorPrimary:Oo.external(vo.colorPrimary,"Design system"),colorOnPrimary:Oo.external(vo.colorOnPrimary,"Design system"),borderColor:Oo.extend("--ft-checkbox-border-color","",vo.colorOnSurfaceMedium),colorOnSurfaceDisabled:Oo.external(vo.colorOnSurfaceDisabled,"Design system")},Mr=bt`
368
368
  * {
369
369
  box-sizing: border-box;
370
370
  }
371
371
 
372
372
  .ft-checkbox {
373
373
  box-sizing: border-box;
374
- color: ${Wr.textColor};
374
+ color: ${Dr.textColor};
375
375
 
376
376
  display: inline-flex;
377
377
  align-items: center;
@@ -379,7 +379,7 @@ const ee=Symbol.for(""),re=t=>{if(t?.r===ee)return t?._$litStatic$},ie=t=>({_$li
379
379
  }
380
380
 
381
381
  .ft-checkbox--disabled {
382
- color: ${Wr.colorOnSurfaceDisabled};
382
+ color: ${Dr.colorOnSurfaceDisabled};
383
383
  }
384
384
 
385
385
  input {
@@ -403,26 +403,26 @@ const ee=Symbol.for(""),re=t=>{if(t?.r===ee)return t?._$litStatic$},ie=t=>({_$li
403
403
 
404
404
  .ft-checkbox--box {
405
405
  display: flex;
406
- border: 2px solid ${Wr.borderColor};
406
+ border: 2px solid ${Dr.borderColor};
407
407
  border-radius: 2px;
408
408
 
409
409
  width: 18px;
410
410
  height: 18px;
411
411
 
412
- color: ${Wr.colorOnPrimary};
412
+ color: ${Dr.colorOnPrimary};
413
413
  }
414
414
 
415
415
 
416
416
  .ft-checkbox--checked .ft-checkbox--box,
417
417
  .ft-checkbox--indeterminate .ft-checkbox--box {
418
- border-color: ${Wr.colorPrimary};
419
- background-color: ${Wr.colorPrimary};
418
+ border-color: ${Dr.colorPrimary};
419
+ background-color: ${Dr.colorPrimary};
420
420
  }
421
421
 
422
422
  .ft-checkbox--disabled .ft-checkbox--box {
423
- border-color: ${Wr.colorOnSurfaceDisabled};
423
+ border-color: ${Dr.colorOnSurfaceDisabled};
424
424
  background-color: transparent;
425
- color: ${Wr.colorOnSurfaceDisabled};
425
+ color: ${Dr.colorOnSurfaceDisabled};
426
426
  }
427
427
 
428
428
  .ft-checkbox--checkmark {
@@ -441,8 +441,8 @@ const ee=Symbol.for(""),re=t=>{if(t?.r===ee)return t?._$litStatic$},ie=t=>({_$li
441
441
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
442
442
  opacity: 1;
443
443
  }
444
- `;var Lr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Kr extends $o{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Qt`
445
- <label class="${Do(t)}" for="checkbox-input">
444
+ `;var Br=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Pr extends $o{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Qt`
445
+ <label class="${To(t)}" for="checkbox-input">
446
446
  <div class="ft-checkbox--box-container">
447
447
  <ft-ripple
448
448
  ?disabled=${this.disabled}
@@ -467,4 +467,4 @@ const ee=Symbol.for(""),re=t=>{if(t?.r===ee)return t?._$litStatic$},ie=t=>({_$li
467
467
  <slot></slot>
468
468
  </ft-typography>
469
469
  </label>
470
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}Kr.elementDefinitions={"ft-ripple":oe,"ft-typography":Ir},Kr.styles=$r,Lr([w()],Kr.prototype,"name",void 0),Lr([w({type:Boolean,reflect:!0})],Kr.prototype,"checked",void 0),Lr([w({type:Boolean})],Kr.prototype,"indeterminate",void 0),Lr([w({type:Boolean})],Kr.prototype,"disabled",void 0),Lr([E(".ft-checkbox")],Kr.prototype,"container",void 0),Lr([E("ft-ripple")],Kr.prototype,"ripple",void 0),I("ft-checkbox")(Kr),t.FtCheckbox=Kr,t.FtCheckboxCssVariables=Wr,t.styles=$r}({});
470
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}Pr.elementDefinitions={"ft-ripple":le,"ft-typography":Ar},Pr.styles=Mr,Br([w()],Pr.prototype,"name",void 0),Br([w({type:Boolean,reflect:!0})],Pr.prototype,"checked",void 0),Br([w({type:Boolean})],Pr.prototype,"indeterminate",void 0),Br([w({type:Boolean})],Pr.prototype,"disabled",void 0),Br([U(".ft-checkbox")],Pr.prototype,"container",void 0),Br([U("ft-ripple")],Pr.prototype,"ripple",void 0),I("ft-checkbox")(Pr),t.FtCheckbox=Pr,t.FtCheckboxCssVariables=Dr,t.styles=Mr}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-checkbox",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "A checkbox component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,10 +19,10 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-ripple": "1.1.7",
23
- "@fluid-topics/ft-typography": "1.1.7",
24
- "@fluid-topics/ft-wc-utils": "1.1.7",
22
+ "@fluid-topics/ft-ripple": "1.1.8",
23
+ "@fluid-topics/ft-typography": "1.1.8",
24
+ "@fluid-topics/ft-wc-utils": "1.1.8",
25
25
  "lit": "3.1.0"
26
26
  },
27
- "gitHead": "732f43d1a665d4917e01d0e34665779782fdd3c9"
27
+ "gitHead": "95fb2d06899d700513970ac830958922b98539df"
28
28
  }