1/** 2 * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. 3 * Original file: /npm/[email protected]/lit-element.js 4 * 5 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files 6 */ 7import { ReactiveElement as e } from "../reactive-element/reactive-element.min.js"; 8export * from "../reactive-element/reactive-element.min.js"; 9import { render as t, noChange as n } from "../lit-html/lit-html.min.js"; 10export * from "../lit-html/lit-html.min.js"; 11/** 12 * @license 13 * Copyright 2017 Google LLC 14 * SPDX-License-Identifier: BSD-3-Clause 15 */ class s extends e { 16 constructor() { 17 super(...arguments), (this.renderOptions = { host: this }), (this._$Do = void 0); 18 } 19 createRenderRoot() { 20 const e = super.createRenderRoot(); 21 return (this.renderOptions.renderBefore ??= e.firstChild), e; 22 } 23 update(e) { 24 const n = this.render(); 25 this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), (this._$Do = t(n, this.renderRoot, this.renderOptions)); 26 } 27 connectedCallback() { 28 super.connectedCallback(), this._$Do?.setConnected(!0); 29 } 30 disconnectedCallback() { 31 super.disconnectedCallback(), this._$Do?.setConnected(!1); 32 } 33 render() { 34 return n; 35 } 36} 37(s._$litElement$ = !0), (s.finalized = !0), globalThis.litElementHydrateSupport?.({ LitElement: s }); 38const r = globalThis.litElementPolyfillSupport; 39r?.({ LitElement: s }); 40const o = { 41 _$AK: (e, t, n) => { 42 e._$AK(t, n); 43 }, 44 _$AL: (e) => e._$AL, 45}; 46(globalThis.litElementVersions ??= []).push("4.0.5"); 47export { s as LitElement, o as _$LE }; 48export default null;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.