Commit d0da616d authored by Benjamin Franzke's avatar Benjamin Franzke
Browse files

[TASK] Update to Lit v2-rc1

Lit is the umbrella term for the next major
lit-html (v2) and lit-element (v3) versions.
Therefore we will refer to these components as
*Lit* in TYPO3 from now on as well.

These two libraries also have been migrated into
a single entry point module named `lit`.
It is officially described as:
> The main module exports the core pieces needed for component
> development: LitElement, html, css, and the most

lit-html v2 and lit-element v3 are mostly compatible
to the previous major versions. Main changes are

 * Deprecation of the `lit-element` entry point in
   favor of the new `lit` module
 * @internalProperty changed to @state
 * shadow css declaration via static property
   instead of static getter method
 * The CSSResult type declaration is gone
 * Directive (currently unused in TYPO3) API has changed

Related testing framework change is:
https://github.com/TYPO3/testing-framework/pull/229

Commands used:

  rm -rf typo3/sysext/core/Resources/Public/JavaScript/Contrib/{@lit,lit-element,lit-html,lit}/
  yarn add lit@^2.0.0-rc.1 lit-html@^2.0.0-rc.2 lit-element@^3.0.0-rc.1
  yarn add --dev rollup@^2.32.0 @rollup/plugin-replace
  grunt build
  git add typo3/sysext/core/Resources/Public/JavaScript/Contrib/{@lit,lit-element,lit-html,lit}/

  composer require --dev typo3/testing-framework:^6.8.1
  composer require --dev typo3/testing-framework:^6.8.1 \
    --no-update --working-dir=typo3/sysext/core

Resolves: #93965
Releases: master
Change-Id: I9b659d851e6ad9dc3cc649bd40aab886b86fb0f8
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68104

Tested-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
parent 0005bc5b
define(["exports","@lit/reactive-element/decorators/query-assigned-nodes"],(function(exports,queryAssignedNodes){"use strict";Object.keys(queryAssignedNodes).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAssignedNodes[k]}})})),Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","@lit/reactive-element/decorators/query-async"],(function(exports,queryAsync){"use strict";Object.keys(queryAsync).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAsync[k]}})})),Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","@lit/reactive-element/decorators/query"],(function(exports,query){"use strict";Object.keys(query).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return query[k]}})})),Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","@lit/reactive-element/decorators/state"],(function(exports,state){"use strict";Object.keys(state).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return state[k]}})})),Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["lit-html","lit-html/experimental-hydrate"],(function(litHtml,experimentalHydrate){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/window.litElementHydrateSupport=({LitElement:s})=>{const e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(s),"observedAttributes").get;Object.defineProperty(s,"observedAttributes",{get(){return[...e.call(this),"defer-hydration"]}});const h=s.prototype.attributeChangedCallback;s.prototype.attributeChangedCallback=function(t,i,s){"defer-hydration"===t&&null===s&&n.call(this),h.call(this,t,i,s)};const n=s.prototype.connectedCallback;s.prototype.connectedCallback=function(){this.hasAttribute("defer-hydration")||n.call(this)};const o=s.prototype.createRenderRoot;s.prototype.createRenderRoot=function(){return this.shadowRoot?(this.G=!0,this.shadowRoot):o.call(this)};const r=Object.getPrototypeOf(s.prototype).update;s.prototype.update=function(s){const e=this.render();r.call(this,s),this.G?(this.G=!1,experimentalHydrate.hydrate(e,this.renderRoot,this.renderOptions)):litHtml.render(e,this.renderRoot,this.renderOptions)}}}));
define(["exports","@lit/reactive-element/decorators/base","@lit/reactive-element/decorators/custom-element","@lit/reactive-element/decorators/property","@lit/reactive-element/decorators/state","@lit/reactive-element/decorators/event-options","@lit/reactive-element/decorators/query","@lit/reactive-element/decorators/query-all","@lit/reactive-element/decorators/query-async","@lit/reactive-element/decorators/query-assigned-nodes","lit-html","@lit/reactive-element","./lit-element"],(function(exports,base,customElement,property,state,eventOptions,query,queryAll,queryAsync,queryAssignedNodes,litHtml,reactiveElement,litElement){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/console.warn("The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'."),Object.keys(base).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return base[k]}})})),Object.keys(customElement).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return customElement[k]}})})),Object.keys(property).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return property[k]}})})),Object.keys(state).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return state[k]}})})),Object.keys(eventOptions).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return eventOptions[k]}})})),Object.keys(query).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return query[k]}})})),Object.keys(queryAll).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAll[k]}})})),Object.keys(queryAsync).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAsync[k]}})})),Object.keys(queryAssignedNodes).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAssignedNodes[k]}})})),Object.keys(litHtml).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return litHtml[k]}})})),Object.keys(reactiveElement).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return reactiveElement[k]}})})),exports.LitElement=litElement.LitElement,exports.UpdatingElement=litElement.UpdatingElement,exports.=litElement.,Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports"],(function(e){"use strict";
/**
@license
Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/const t=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol();class n{constructor(e,t){if(t!==s)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){return void 0===this._styleSheet&&(t?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}e.CSSResult=n,e.css=(e,...t)=>{const o=t.reduce((t,s,o)=>t+(e=>{if(e instanceof n)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)})(s)+e[o+1],e[0]);return new n(o,s)},e.supportsAdoptingStyleSheets=t,e.unsafeCSS=e=>new n(String(e),s),Object.defineProperty(e,"__esModule",{value:!0})}));
define(["exports"],(function(e){"use strict";
/**
* @license
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io/PATENTS.txt
*/const t=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?Object.assign(Object.assign({},t),{finisher(n){n.createProperty(t.key,e)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(n){n.createProperty(t.key,e)}};function n(e){return(n,r)=>void 0!==r?((e,t,n)=>{t.constructor.createProperty(n,e)})(e,n,r):t(e,n)}const r=(e,t,n)=>{Object.defineProperty(t,n,e)},o=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e});const i=Element.prototype,s=i.msMatchesSelector||i.webkitMatchesSelector;e.customElement=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:n,elements:r}=t;return{kind:n,elements:r,finisher(t){window.customElements.define(e,t)}}})(e,t),e.eventOptions=function(e){return(t,n)=>void 0!==n?((e,t,n)=>{Object.assign(t[n],e)})(e,t,n):((e,t)=>Object.assign(Object.assign({},t),{finisher(n){Object.assign(n.prototype[t.key],e)}}))(e,t)},e.internalProperty=function(e){return n({attribute:!1,hasChanged:null==e?void 0:e.hasChanged})},e.property=n,e.query=function(e,t){return(n,i)=>{const s={get(){return this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof i?Symbol():"__"+i;s.get=function(){return void 0===this[t]&&(this[t]=this.renderRoot.querySelector(e)),this[t]}}return void 0!==i?r(s,n,i):o(s,n)}},e.queryAll=function(e){return(t,n)=>{const i={get(){return this.renderRoot.querySelectorAll(e)},enumerable:!0,configurable:!0};return void 0!==n?r(i,t,n):o(i,t)}},e.queryAssignedNodes=function(e="",t=!1,n=""){return(i,c)=>{const u={get(){const r="slot"+(e?`[name=${e}]`:":not([name])"),o=this.renderRoot.querySelector(r);let i=o&&o.assignedNodes({flatten:t});return i&&n&&(i=i.filter(e=>e.nodeType===Node.ELEMENT_NODE&&e.matches?e.matches(n):s.call(e,n))),i},enumerable:!0,configurable:!0};return void 0!==c?r(u,i,c):o(u,i)}},e.queryAsync=function(e){return(t,n)=>{const i={async get(){return await this.updateComplete,this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};return void 0!==n?r(i,t,n):o(i,t)}},Object.defineProperty(e,"__esModule",{value:!0})}));
define(["exports"],(function(t){"use strict";
/**
* @license
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io/PATENTS.txt
*/window.JSCompiler_renameProperty=(t,e)=>t;const e={toAttribute(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},r=(t,e)=>e!==t&&(e==e||t==t),s={attribute:!0,type:String,converter:e,reflect:!1,hasChanged:r},i="finalized";class a extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();const t=[];return this._classProperties.forEach((e,r)=>{const s=this._attributeNameForProperty(r,e);void 0!==s&&(this._attributeToPropertyMap.set(s,r),t.push(s))}),t}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach((t,e)=>this._classProperties.set(e,t))}}static createProperty(t,e=s){if(this._ensureClassProperties(),this._classProperties.set(t,e),e.noAccessor||this.prototype.hasOwnProperty(t))return;const r="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,r,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(s){const i=this[t];this[e]=s,this.requestUpdateInternal(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this._classProperties&&this._classProperties.get(t)||s}static finalize(){const t=Object.getPrototypeOf(this);if(t.hasOwnProperty(i)||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const t=this.properties,e=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(const r of e)this.createProperty(r,t[r])}}static _attributeNameForProperty(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}static _valueHasChanged(t,e,s=r){return s(t,e)}static _propertyValueFromAttribute(t,r){const s=r.type,i=r.converter||e,a="function"==typeof i?i:i.fromAttribute;return a?a(t,s):t}static _propertyValueToAttribute(t,r){if(void 0===r.reflect)return;const s=r.type,i=r.converter;return(i&&i.toAttribute||e.toAttribute)(t,s)}initialize(){this._updateState=0,this._updatePromise=new Promise(t=>this._enableUpdatingResolver=t),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach((t,e)=>{if(this.hasOwnProperty(e)){const t=this[e];delete this[e],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(e,t)}})}_applyInstanceProperties(){this._instanceProperties.forEach((t,e)=>this[e]=t),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(t,e,r){e!==r&&this._attributeToProperty(t,r)}_propertyToAttribute(t,e,r=s){const i=this.constructor,a=i._attributeNameForProperty(t,r);if(void 0!==a){const t=i._propertyValueToAttribute(e,r);if(void 0===t)return;this._updateState=8|this._updateState,null==t?this.removeAttribute(a):this.setAttribute(a,t),this._updateState=-9&this._updateState}}_attributeToProperty(t,e){if(8&this._updateState)return;const r=this.constructor,s=r._attributeToPropertyMap.get(t);if(void 0!==s){const t=r.getPropertyOptions(s);this._updateState=16|this._updateState,this[s]=r._propertyValueFromAttribute(e,t),this._updateState=-17&this._updateState}}requestUpdateInternal(t,e,r){let s=!0;if(void 0!==t){const i=this.constructor;r=r||i.getPropertyOptions(t),i._valueHasChanged(this[t],e,r.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==r.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,r))):s=!1}!this._hasRequestedUpdate&&s&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}async _enqueueUpdate(){this._updateState=4|this._updateState;try{await this._updatePromise}catch(t){}const t=this.performUpdate();return null!=t&&await t,!this._hasRequestedUpdate}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(!this._hasRequestedUpdate)return;this._instanceProperties&&this._applyInstanceProperties();let t=!1;const e=this._changedProperties;try{t=this.shouldUpdate(e),t?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(t){return!0}update(t){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((t,e)=>this._propertyToAttribute(e,this[e],t)),this._reflectingProperties=void 0),this._markUpdated()}updated(t){}firstUpdated(t){}}a.finalized=!0,t.UpdatingElement=a,t.defaultConverter=e,t.notEqual=r,Object.defineProperty(t,"__esModule",{value:!0})}));
define(["exports","lit-html/lib/shady-render","./lib/updating-element","./lib/decorators","lit-html","./lib/css-tag"],(function(e,t,s,n,r,o){"use strict";
define(["exports","lit-html","@lit/reactive-element"],(function(exports,litHtml,reactiveElement){"use strict";
/**
* @license
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io/PATENTS.txt
*/(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");const i={};class l extends s.UpdatingElement{static getStyles(){return this.styles}static _getUniqueStyles(){if(this.hasOwnProperty(JSCompiler_renameProperty("_styles",this)))return;const e=this.getStyles();if(Array.isArray(e)){const t=(e,s)=>e.reduceRight((e,s)=>Array.isArray(s)?t(s,e):(e.add(s),e),s),s=t(e,new Set),n=[];s.forEach(e=>n.unshift(e)),this._styles=n}else this._styles=void 0===e?[]:[e];this._styles=this._styles.map(e=>{if(e instanceof CSSStyleSheet&&!o.supportsAdoptingStyleSheets){const t=Array.prototype.slice.call(e.cssRules).reduce((e,t)=>e+t.cssText,"");return o.unsafeCSS(t)}return e})}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){const e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?o.supportsAdoptingStyleSheets?this.renderRoot.adoptedStyleSheets=e.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(e=>e.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){const t=this.render();super.update(e),t!==i&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(e=>{const t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)}))}render(){return i}}l.finalized=!0,l.render=t.render,e.UpdatingElement=s.UpdatingElement,e.defaultConverter=s.defaultConverter,e.notEqual=s.notEqual,e.customElement=n.customElement,e.eventOptions=n.eventOptions,e.internalProperty=n.internalProperty,e.property=n.property,e.query=n.query,e.queryAll=n.queryAll,e.queryAssignedNodes=n.queryAssignedNodes,e.queryAsync=n.queryAsync,Object.defineProperty(e,"SVGTemplateResult",{enumerable:!0,get:function(){return r.SVGTemplateResult}}),Object.defineProperty(e,"TemplateResult",{enumerable:!0,get:function(){return r.TemplateResult}}),Object.defineProperty(e,"html",{enumerable:!0,get:function(){return r.html}}),Object.defineProperty(e,"svg",{enumerable:!0,get:function(){return r.svg}}),e.CSSResult=o.CSSResult,e.css=o.css,e.supportsAdoptingStyleSheets=o.supportsAdoptingStyleSheets,e.unsafeCSS=o.unsafeCSS,e.LitElement=l,Object.defineProperty(e,"__esModule",{value:!0})}));
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/var i,l,o,s,n,a;const c=reactiveElement.ReactiveElement;(null!==(i=(a=window).litElementVersions)&&void 0!==i?i:a.litElementVersions=[]).push("3.0.0-rc.1");class h extends reactiveElement.ReactiveElement{constructor(){super(...arguments),this.renderOptions={host:this},this.Φt=void 0}createRenderRoot(){var t,e;const r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){const r=this.render();super.update(t),this.Φt=litHtml.render(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this.Φt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this.Φt)||void 0===t||t.setConnected(!1)}render(){return litHtml.noChange}}h.finalized=!0,h._$litElement$=!0,null===(o=(l=window).litElementHydrateSupport)||void 0===o||o.call(l,{LitElement:h}),null===(n=(s=window).litElementPlatformSupport)||void 0===n||n.call(s,{LitElement:h});Object.keys(litHtml).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return litHtml[k]}})})),Object.keys(reactiveElement).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return reactiveElement[k]}})})),exports.LitElement=h,exports.UpdatingElement=c,exports.={K:(t,e,r)=>{t.K(e,r)},L:t=>t.L},Object.defineProperty(exports,"__esModule",{value:!0})}));
define((function(){"use strict";var i;i=function(){var i,n,o;i=function(){
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
var i,n,o="__scoped";null!==(i=(n=window).reactiveElementPlatformSupport)&&void 0!==i||(n.reactiveElementPlatformSupport=function(i){var n=i.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var t=n.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(t);var d=t.createRenderRoot;t.createRenderRoot=function(){var i,n,t,e=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(o)){this.constructor[o]=!0;var v=this.constructor.elementStyles.map((function(i){return i instanceof CSSStyleSheet?Array.from(i.cssRules).reduce((function(i,n){return i+n.cssText}),""):i.cssText}));null===(n=null===(i=window.ShadyCSS)||void 0===i?void 0:i.ScopingShim)||void 0===n||n.prepareAdoptedCssText(v,e),void 0===this.constructor.J&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),e)}return null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions)};var e=t.connectedCallback;t.connectedCallback=function(){e.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var v=t.E;t.E=function(i){var n=!this.hasUpdated;v.call(this,i),n&&window.ShadyCSS.styleElement(this)}}})},"function"==typeof define&&define.amd?define(i):i(),function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
var i,n,o=new Set,t=new Map;null!==(i=(n=window).litHtmlPlatformSupport)&&void 0!==i||(n.litHtmlPlatformSupport=function(i,n){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var d=function(i){var n=t.get(i);return void 0===n&&t.set(i,n=[]),n},e=new Map,v=i.createElement;i.createElement=function(n,o){var t=v.call(i,n,o),e=null==o?void 0:o.scope;if(void 0!==e){window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(t,e);var u=d(e),w=t.content.querySelectorAll("style");u.push.apply(u,Array.from(w).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return t};var u=document.createDocumentFragment(),w=document.createComment(""),r=n.prototype,f=r.I;r.I=function(i,n){var e,v,r;void 0===n&&(n=this);var s,l=this.A.parentNode,a=null===(e=this.options)||void 0===e?void 0:e.scope;if(l instanceof ShadowRoot&&void 0!==(s=a)&&!o.has(s)){var h=this.A,c=this.B;u.appendChild(w),this.A=w,this.B=null,f.call(this,i,n);var y=(null===(v=i)||void 0===v?void 0:v._$litType$)?this.H.D.el:document.createElement("template");if(function(i,n){var e=d(i),v=0!==e.length;if(v){var u=document.createElement("style");u.textContent=e.join("\n"),n.content.appendChild(u)}o.add(i),t.delete(i),window.ShadyCSS.prepareTemplateStyles(n,i),v&&window.ShadyCSS.nativeShadow&&n.content.appendChild(n.content.querySelector("style"))}(a,y),u.removeChild(w),null===(r=window.ShadyCSS)||void 0===r?void 0:r.nativeShadow){var p=y.content.querySelector("style");null!==p&&u.appendChild(p.cloneNode(!0))}l.insertBefore(u,c),this.A=h,this.B=c}else f.call(this,i,n)},r.C=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=e.get(t);void 0===d&&e.set(t,d=new Map);var v=d.get(n.strings);return void 0===v&&d.set(n.strings,v=new i(n,this.options)),v}}})})),null!==(n=(o=window).litElementPlatformSupport)&&void 0!==n||(o.litElementPlatformSupport=function(i){var n=i.LitElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){n.J=!0;var o=n.prototype,t=o.createRenderRoot;o.createRenderRoot=function(){return this.renderOptions.scope=this.localName,t.call(this)}}})},"function"==typeof define&&define.amd?define(i):i()}));
define(["exports","./lit-element"],(function(exports,litElement){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const e={attributeToProperty:litElement..K,changedProperties:litElement..L};exports.=e,Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","./lit-html","./directive","./directive-helpers"],(function(exports,litHtml,directive,directiveHelpers){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const r=(i,t)=>{var s,e;const o=i.N;if(void 0===o)return!1;for(const i of o)null===(e=(s=i).O)||void 0===e||e.call(s,t,!1),r(i,t);return!0},o=i=>{let t,s;do{if(void 0===(t=i.M))break;s=t.N,s.delete(i),i=t}while(0===(null==s?void 0:s.size))},h=i=>{for(let t;t=i.M;i=t){let s=t.N;if(void 0===s)t.N=s=new Set;else if(s.has(i))break;s.add(i),d(t)}};function n(i){void 0!==this.N?(o(this),this.M=i,h(this)):this.M=i}function l(i,t=!1,s=0){const e=this.H,h=this.N;if(void 0!==h&&0!==h.size)if(t)if(Array.isArray(e))for(let i=s;i<e.length;i++)r(e[i],!1),o(e[i]);else null!=e&&(r(e,!1),o(e));else r(this,i)}const d=i=>{var t,e,r,o;i.type==directive.PartType.CHILD&&(null!==(t=(r=i).P)&&void 0!==t||(r.P=l),null!==(e=(o=i).Q)&&void 0!==e||(o.Q=n))};class c extends directive.Directive{constructor(){super(...arguments),this.isConnected=!0,this.ut=litHtml.noChange,this.N=void 0}T(i,t,s){super.T(i,t,s),h(this)}O(i,t=!0){this.at(i),t&&(r(this,i),o(this))}at(t){var s,e;t!==this.isConnected&&(t?(this.isConnected=!0,this.ut!==litHtml.noChange&&(this.setValue(this.ut),this.ut=litHtml.noChange),null===(s=this.reconnected)||void 0===s||s.call(this)):(this.isConnected=!1,null===(e=this.disconnected)||void 0===e||e.call(this)))}S(i,t){if(!this.isConnected)throw Error(`AsyncDirective ${this.constructor.name} was rendered while its tree was disconnected.`);return super.S(i,t)}setValue(i){if(this.isConnected)if(directiveHelpers.isSingleExpression(this.Σdt))this.Σdt.I(i,this);else{const t=[...this.Σdt.H];t[this.Σct]=i,this.Σdt.I(t,this,0)}else this.ut=i}disconnected(){}reconnected(){}}exports.directive=directive.directive,exports.AsyncDirective=c,Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","./lit-html"],(function(exports,litHtml){"use strict";
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const{et:t}=litHtml.,e=()=>document.createComment(""),s={};exports.TemplateResultType={HTML:1,SVG:2},exports.clearPart=o=>{o.R()},exports.getCommittedValue=o=>o.H,exports.getDirectiveClass=o=>{var t;return null===(t=o)||void 0===t?void 0:t._$litDirective$},exports.insertPart=(o,i,n)=>{var v;const l=o.A.parentNode,r=void 0===i?o.B:i.A;if(void 0===n){const i=l.insertBefore(e(),r),v=l.insertBefore(e(),r);n=new t(i,v,o,o.options)}else{const t=n.B.nextSibling,i=n.M!==o;if(i&&(null===(v=n.Q)||void 0===v||v.call(n,o),n.M=o),t!==r||i){let o=n.A;for(;o!==t;){const t=o.nextSibling;l.insertBefore(o,r),o=t}}}return n},exports.isDirectiveResult=o=>{var t;return void 0!==(null===(t=o)||void 0===t?void 0:t._$litDirective$)},exports.isPrimitive=o=>null===o||"object"!=typeof o&&"function"!=typeof o,exports.isSingleExpression=o=>void 0===o.strings,exports.isTemplateResult=(o,t)=>{var i,n;return void 0===t?void 0!==(null===(i=o)||void 0===i?void 0:i._$litType$):(null===(n=o)||void 0===n?void 0:n._$litType$)===t},exports.removePart=o=>{var t;null===(t=o.P)||void 0===t||t.call(o,!1,!0);let i=o.A;const n=o.B.nextSibling;for(;i!==n;){const o=i.nextSibling;i.remove(),i=o}},exports.setChildPartValue=(o,t,i=o)=>(o.I(t,i),o),exports.setCommittedValue=(o,t=s)=>o.H=t,Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports"],(function(exports){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/exports.Directive=class{constructor(t){}T(t,i,s){this.Σdt=t,this.M=i,this.Σct=s}S(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}},exports.PartType={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},exports.directive=t=>(...i)=>({_$litDirective$:t,values:i}),Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","../lib/directive","../lib/template","../lib/parts","../lit-html"],(function(e,t,r,n,o){"use strict";
define(["exports","../lit-html","../directive","../directive-helpers","../async-directive"],(function(exports,litHtml,directive,directiveHelpers,asyncDirective){"use strict";
/**
* @license
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io/PATENTS.txt
*/var a=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}};const i=t.directive((e,t)=>async o=>{var i,l;if(!(o instanceof n.NodePart))throw new Error("asyncAppend can only be used in text bindings");if(e===o.value)return;let c;o.value=e;let d=0;try{for(var s,u=a(e);!(s=await u.next()).done;){let a=s.value;if(o.value!==e)break;0===d&&o.clear(),void 0!==t&&(a=t(a,d));let i=o.startNode;void 0!==c&&(i=r.createMarker(),c.endNode=i,o.endNode.parentNode.insertBefore(i,o.endNode)),c=new n.NodePart(o.options),c.insertAfterNode(i),c.setValue(a),c.commit(),d++}}catch(e){i={error:e}}finally{try{s&&!s.done&&(l=u.return)&&await l.call(u)}finally{if(i)throw i.error}}});e.asyncAppend=i,Object.defineProperty(e,"__esModule",{value:!0})}));
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const c=directive.directive(class extends asyncDirective.AsyncDirective{constructor(t){if(super(t),t.type!==directive.PartType.CHILD)throw Error("asyncAppend can only be used in child expressions")}render(e,i){return litHtml.noChange}update(e,[i,s]){if(i!==this.vt)return this.vt=i,this.Σft(e,s),litHtml.noChange}async Σft(t,e){let i=0;const{vt:n}=this;for await(let c of n){if(this.vt!==n)break;this.wt&&await this.wt,0===i&&directiveHelpers.clearPart(t),void 0!==e&&(c=e(c,i));const h=directiveHelpers.insertPart(t);directiveHelpers.setChildPartValue(h,c),i++}}disconnected(){this.wt=new Promise(t=>this.yt=t)}reconnected(){this.wt=void 0,this.yt()}});exports.asyncAppend=c,Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","../lib/directive","../lib/parts","../lit-html"],(function(e,t,n,r){"use strict";
define(["exports","../lit-html","../directive","../async-directive"],(function(exports,litHtml,directive,asyncDirective){"use strict";
/**
* @license
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io/PATENTS.txt
*/var o=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}};const a=t.directive((e,t)=>async r=>{var a,i;if(!(r instanceof n.NodePart))throw new Error("asyncReplace can only be used in text bindings");if(e===r.value)return;const l=new n.NodePart(r.options);r.value=e;let c=0;try{for(var u,s=o(e);!(u=await s.next()).done;){let n=u.value;if(r.value!==e)break;0===c&&(r.clear(),l.appendIntoPart(r)),void 0!==t&&(n=t(n,c)),l.setValue(n),l.commit(),c++}}catch(e){a={error:e}}finally{try{u&&!u.done&&(i=s.return)&&await i.call(s)}finally{if(a)throw a.error}}});e.asyncReplace=a,Object.defineProperty(e,"__esModule",{value:!0})}));
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const s=directive.directive(class extends asyncDirective.AsyncDirective{render(i,e){return litHtml.noChange}update(i,[e,s]){if(e!==this.vt)return this.vt=e,this.Σft(s),litHtml.noChange}async Σft(t){let i=0;const{vt:e}=this;for await(let s of e){if(this.vt!==e)break;this.wt&&await this.wt,void 0!==t&&(s=t(s,i)),this.setValue(s),i++}}disconnected(){this.wt=new Promise(t=>this.yt=t)}reconnected(){this.wt=void 0,this.yt()}});exports.asyncReplace=s,Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","../lib/directive","../lib/dom","../lib/template-instance","../lib/template-result","../lib/parts","../lit-html"],(function(e,t,n,a,i,o,s){"use strict";
define(["exports","../lit-html","../directive","../directive-helpers"],(function(exports,litHtml,directive,directiveHelpers){"use strict";
/**
* @license
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io/PATENTS.txt
*/const l=new WeakMap,c=t.directive(e=>t=>{if(!(t instanceof o.NodePart))throw new Error("cache can only be used in text bindings");let s=l.get(t);void 0===s&&(s=new WeakMap,l.set(t,s));const c=t.value;if(c instanceof a.TemplateInstance){if(e instanceof i.TemplateResult&&c.template===t.options.templateFactory(e))return void t.setValue(e);{let e=s.get(c.template);void 0===e&&(e={instance:c,nodes:document.createDocumentFragment()},s.set(c.template,e)),n.reparentNodes(e.nodes,t.startNode.nextSibling,t.endNode)}}if(e instanceof i.TemplateResult){const n=t.options.templateFactory(e),a=s.get(n);void 0!==a&&(t.setValue(a.nodes),t.commit(),t.value=a.instance)}t.setValue(e)});e.cache=c,Object.defineProperty(e,"__esModule",{value:!0})}));
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const d=directive.directive(class extends directive.Directive{constructor(t){super(t),this._t=new WeakMap}render(t){return[t]}update(s,[e]){if(directiveHelpers.isTemplateResult(this.vt)&&(!directiveHelpers.isTemplateResult(e)||this.vt.strings!==e.strings)){const e=directiveHelpers.getCommittedValue(s).pop();let o=this._t.get(this.vt.strings);if(void 0===o){const s=document.createDocumentFragment();o=litHtml.render(litHtml.nothing,s),this._t.set(this.vt.strings,o)}directiveHelpers.setCommittedValue(o,[e]),directiveHelpers.insertPart(o,void 0,e),e.setConnected(!1)}if(directiveHelpers.isTemplateResult(e)){if(!directiveHelpers.isTemplateResult(this.vt)||this.vt.strings!==e.strings){const t=this._t.get(e.strings);if(void 0!==t){const i=directiveHelpers.getCommittedValue(t).pop();directiveHelpers.clearPart(s),directiveHelpers.insertPart(s,void 0,i),directiveHelpers.setCommittedValue(s,[i]),i.setConnected(!0)}}this.vt=e}else this.vt=void 0;return this.render(e)}});exports.cache=d,Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","../lib/directive","../lib/parts","../lit-html"],(function(t,e,s,i){"use strict";
define(["exports","../lit-html","../directive"],(function(exports,litHtml,directive){"use strict";
/**
* @license
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io/PATENTS.txt
*/class c{constructor(t){this.classes=new Set,this.changed=!1,this.element=t;const e=(t.getAttribute("class")||"").split(/\s+/);for(const t of e)this.classes.add(t)}add(t){this.classes.add(t),this.changed=!0}remove(t){this.classes.delete(t),this.changed=!0}commit(){if(this.changed){let t="";this.classes.forEach(e=>t+=e+" "),this.element.setAttribute("class",t)}}}const a=new WeakMap,n=e.directive(t=>e=>{if(!(e instanceof s.AttributePart)||e instanceof s.PropertyPart||"class"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");const{committer:i}=e,{element:n}=i;let o=a.get(e);void 0===o&&(n.setAttribute("class",i.strings.join(" ")),a.set(e,o=new Set));const r=n.classList||new c(n);o.forEach(e=>{e in t||(r.remove(e),o.delete(e))});for(const e in t){const s=t[e];s!=o.has(e)&&(s?(r.add(e),o.add(e)):(r.remove(e),o.delete(e)))}"function"==typeof r.commit&&r.commit()});t.classMap=n,Object.defineProperty(t,"__esModule",{value:!0})}));
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const e=directive.directive(class extends directive.Directive{constructor(t){var s;if(super(t),t.type!==directive.PartType.ATTRIBUTE||"class"!==t.name||(null===(s=t.strings)||void 0===s?void 0:s.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(s=>t[s]).join(" ")}update(s,[r]){if(void 0===this.bt){this.bt=new Set;for(const t in r)r[t]&&this.bt.add(t);return this.render(r)}const i=s.element.classList;this.bt.forEach(t=>{t in r||(i.remove(t),this.bt.delete(t))});for(const t in r){const s=!!r[t];s!==this.bt.has(t)&&(s?(i.add(t),this.bt.add(t)):(i.remove(t),this.bt.delete(t)))}return litHtml.noChange}});exports.classMap=e,Object.defineProperty(exports,"__esModule",{value:!0})}));
define(["exports","../lib/directive","../lit-html"],(function(e,r,t){"use strict";
define(["exports","../lit-html","../directive"],(function(exports,litHtml,directive){"use strict";
/**
* @license
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io/PATENTS.txt
*/const i=new WeakMap,a=r.directive((e,r)=>t=>{const a=i.get(t);if(Array.isArray(e)){if(Array.isArray(a)&&a.length===e.length&&e.every((e,r)=>e===a[r]))return}else if(a===e&&(void 0!==e||i.has(t)))return;t.setValue(r()),i.set(t,Array.isArray(e)?Array.from(e):e)});e.guard=a,Object.defineProperty(e,"__esModule",{value:!0})}));
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const e={},i=directive.directive(class extends directive.Directive{constructor(){super(...arguments),this.$t=e}render(r,t){return t()}update(t,[s,e]){if(Array.isArray(s)){if(Array.isArray(this.$t)&&this.$t.length===s.length&&s.every((r,t)=>r===this.$t[t]))return litHtml.noChange}else if(this.$t===s)return litHtml.noChange;return this.$t=Array.isArray(s)?Array.from(s):s,this.render(s,e)}});exports.guard=i,Object.defineProperty(exports,"__esModule",{value:!0})}));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment