chunk.5PIDMFOE.js 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  1. import {
  2. __spreadProps,
  3. __spreadValues
  4. } from "./chunk.IHGPZX35.js";
  5. // node_modules/@lit/reactive-element/css-tag.js
  6. var t = window.ShadowRoot && (window.ShadyCSS === void 0 || window.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
  7. var e = Symbol();
  8. var s = class {
  9. constructor(t4, s5) {
  10. if (s5 !== e)
  11. throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
  12. this.cssText = t4;
  13. }
  14. get styleSheet() {
  15. return t && this.t === void 0 && (this.t = new CSSStyleSheet(), this.t.replaceSync(this.cssText)), this.t;
  16. }
  17. toString() {
  18. return this.cssText;
  19. }
  20. };
  21. var n = new Map();
  22. var o = (t4) => {
  23. let o7 = n.get(t4);
  24. return o7 === void 0 && n.set(t4, o7 = new s(t4, e)), o7;
  25. };
  26. var r = (t4) => o(typeof t4 == "string" ? t4 : t4 + "");
  27. var S = (e6, s5) => {
  28. t ? e6.adoptedStyleSheets = s5.map((t4) => t4 instanceof CSSStyleSheet ? t4 : t4.styleSheet) : s5.forEach((t4) => {
  29. const s6 = document.createElement("style");
  30. s6.textContent = t4.cssText, e6.appendChild(s6);
  31. });
  32. };
  33. var u = t ? (t4) => t4 : (t4) => t4 instanceof CSSStyleSheet ? ((t5) => {
  34. let e6 = "";
  35. for (const s5 of t5.cssRules)
  36. e6 += s5.cssText;
  37. return r(e6);
  38. })(t4) : t4;
  39. // node_modules/@lit/reactive-element/reactive-element.js
  40. var s2;
  41. var e2;
  42. var h;
  43. var r2;
  44. var o2 = { toAttribute(t4, i5) {
  45. switch (i5) {
  46. case Boolean:
  47. t4 = t4 ? "" : null;
  48. break;
  49. case Object:
  50. case Array:
  51. t4 = t4 == null ? t4 : JSON.stringify(t4);
  52. }
  53. return t4;
  54. }, fromAttribute(t4, i5) {
  55. let s5 = t4;
  56. switch (i5) {
  57. case Boolean:
  58. s5 = t4 !== null;
  59. break;
  60. case Number:
  61. s5 = t4 === null ? null : Number(t4);
  62. break;
  63. case Object:
  64. case Array:
  65. try {
  66. s5 = JSON.parse(t4);
  67. } catch (t5) {
  68. s5 = null;
  69. }
  70. }
  71. return s5;
  72. } };
  73. var n2 = (t4, i5) => i5 !== t4 && (i5 == i5 || t4 == t4);
  74. var l = { attribute: true, type: String, converter: o2, reflect: false, hasChanged: n2 };
  75. var a = class extends HTMLElement {
  76. constructor() {
  77. super(), this.\u03A0i = new Map(), this.\u03A0o = void 0, this.\u03A0l = void 0, this.isUpdatePending = false, this.hasUpdated = false, this.\u03A0h = null, this.u();
  78. }
  79. static addInitializer(t4) {
  80. var i5;
  81. (i5 = this.v) !== null && i5 !== void 0 || (this.v = []), this.v.push(t4);
  82. }
  83. static get observedAttributes() {
  84. this.finalize();
  85. const t4 = [];
  86. return this.elementProperties.forEach((i5, s5) => {
  87. const e6 = this.\u03A0p(s5, i5);
  88. e6 !== void 0 && (this.\u03A0m.set(e6, s5), t4.push(e6));
  89. }), t4;
  90. }
  91. static createProperty(t4, i5 = l) {
  92. if (i5.state && (i5.attribute = false), this.finalize(), this.elementProperties.set(t4, i5), !i5.noAccessor && !this.prototype.hasOwnProperty(t4)) {
  93. const s5 = typeof t4 == "symbol" ? Symbol() : "__" + t4, e6 = this.getPropertyDescriptor(t4, s5, i5);
  94. e6 !== void 0 && Object.defineProperty(this.prototype, t4, e6);
  95. }
  96. }
  97. static getPropertyDescriptor(t4, i5, s5) {
  98. return { get() {
  99. return this[i5];
  100. }, set(e6) {
  101. const h4 = this[t4];
  102. this[i5] = e6, this.requestUpdate(t4, h4, s5);
  103. }, configurable: true, enumerable: true };
  104. }
  105. static getPropertyOptions(t4) {
  106. return this.elementProperties.get(t4) || l;
  107. }
  108. static finalize() {
  109. if (this.hasOwnProperty("finalized"))
  110. return false;
  111. this.finalized = true;
  112. const t4 = Object.getPrototypeOf(this);
  113. if (t4.finalize(), this.elementProperties = new Map(t4.elementProperties), this.\u03A0m = new Map(), this.hasOwnProperty("properties")) {
  114. const t5 = this.properties, i5 = [...Object.getOwnPropertyNames(t5), ...Object.getOwnPropertySymbols(t5)];
  115. for (const s5 of i5)
  116. this.createProperty(s5, t5[s5]);
  117. }
  118. return this.elementStyles = this.finalizeStyles(this.styles), true;
  119. }
  120. static finalizeStyles(i5) {
  121. const s5 = [];
  122. if (Array.isArray(i5)) {
  123. const e6 = new Set(i5.flat(1 / 0).reverse());
  124. for (const i6 of e6)
  125. s5.unshift(u(i6));
  126. } else
  127. i5 !== void 0 && s5.push(u(i5));
  128. return s5;
  129. }
  130. static \u03A0p(t4, i5) {
  131. const s5 = i5.attribute;
  132. return s5 === false ? void 0 : typeof s5 == "string" ? s5 : typeof t4 == "string" ? t4.toLowerCase() : void 0;
  133. }
  134. u() {
  135. var t4;
  136. this.\u03A0g = new Promise((t5) => this.enableUpdating = t5), this.L = new Map(), this.\u03A0_(), this.requestUpdate(), (t4 = this.constructor.v) === null || t4 === void 0 || t4.forEach((t5) => t5(this));
  137. }
  138. addController(t4) {
  139. var i5, s5;
  140. ((i5 = this.\u03A0U) !== null && i5 !== void 0 ? i5 : this.\u03A0U = []).push(t4), this.renderRoot !== void 0 && this.isConnected && ((s5 = t4.hostConnected) === null || s5 === void 0 || s5.call(t4));
  141. }
  142. removeController(t4) {
  143. var i5;
  144. (i5 = this.\u03A0U) === null || i5 === void 0 || i5.splice(this.\u03A0U.indexOf(t4) >>> 0, 1);
  145. }
  146. \u03A0_() {
  147. this.constructor.elementProperties.forEach((t4, i5) => {
  148. this.hasOwnProperty(i5) && (this.\u03A0i.set(i5, this[i5]), delete this[i5]);
  149. });
  150. }
  151. createRenderRoot() {
  152. var t4;
  153. const s5 = (t4 = this.shadowRoot) !== null && t4 !== void 0 ? t4 : this.attachShadow(this.constructor.shadowRootOptions);
  154. return S(s5, this.constructor.elementStyles), s5;
  155. }
  156. connectedCallback() {
  157. var t4;
  158. this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(true), (t4 = this.\u03A0U) === null || t4 === void 0 || t4.forEach((t5) => {
  159. var i5;
  160. return (i5 = t5.hostConnected) === null || i5 === void 0 ? void 0 : i5.call(t5);
  161. }), this.\u03A0l && (this.\u03A0l(), this.\u03A0o = this.\u03A0l = void 0);
  162. }
  163. enableUpdating(t4) {
  164. }
  165. disconnectedCallback() {
  166. var t4;
  167. (t4 = this.\u03A0U) === null || t4 === void 0 || t4.forEach((t5) => {
  168. var i5;
  169. return (i5 = t5.hostDisconnected) === null || i5 === void 0 ? void 0 : i5.call(t5);
  170. }), this.\u03A0o = new Promise((t5) => this.\u03A0l = t5);
  171. }
  172. attributeChangedCallback(t4, i5, s5) {
  173. this.K(t4, s5);
  174. }
  175. \u03A0j(t4, i5, s5 = l) {
  176. var e6, h4;
  177. const r5 = this.constructor.\u03A0p(t4, s5);
  178. if (r5 !== void 0 && s5.reflect === true) {
  179. const n7 = ((h4 = (e6 = s5.converter) === null || e6 === void 0 ? void 0 : e6.toAttribute) !== null && h4 !== void 0 ? h4 : o2.toAttribute)(i5, s5.type);
  180. this.\u03A0h = t4, n7 == null ? this.removeAttribute(r5) : this.setAttribute(r5, n7), this.\u03A0h = null;
  181. }
  182. }
  183. K(t4, i5) {
  184. var s5, e6, h4;
  185. const r5 = this.constructor, n7 = r5.\u03A0m.get(t4);
  186. if (n7 !== void 0 && this.\u03A0h !== n7) {
  187. const t5 = r5.getPropertyOptions(n7), l4 = t5.converter, a4 = (h4 = (e6 = (s5 = l4) === null || s5 === void 0 ? void 0 : s5.fromAttribute) !== null && e6 !== void 0 ? e6 : typeof l4 == "function" ? l4 : null) !== null && h4 !== void 0 ? h4 : o2.fromAttribute;
  188. this.\u03A0h = n7, this[n7] = a4(i5, t5.type), this.\u03A0h = null;
  189. }
  190. }
  191. requestUpdate(t4, i5, s5) {
  192. let e6 = true;
  193. t4 !== void 0 && (((s5 = s5 || this.constructor.getPropertyOptions(t4)).hasChanged || n2)(this[t4], i5) ? (this.L.has(t4) || this.L.set(t4, i5), s5.reflect === true && this.\u03A0h !== t4 && (this.\u03A0k === void 0 && (this.\u03A0k = new Map()), this.\u03A0k.set(t4, s5))) : e6 = false), !this.isUpdatePending && e6 && (this.\u03A0g = this.\u03A0q());
  194. }
  195. async \u03A0q() {
  196. this.isUpdatePending = true;
  197. try {
  198. for (await this.\u03A0g; this.\u03A0o; )
  199. await this.\u03A0o;
  200. } catch (t5) {
  201. Promise.reject(t5);
  202. }
  203. const t4 = this.performUpdate();
  204. return t4 != null && await t4, !this.isUpdatePending;
  205. }
  206. performUpdate() {
  207. var t4;
  208. if (!this.isUpdatePending)
  209. return;
  210. this.hasUpdated, this.\u03A0i && (this.\u03A0i.forEach((t5, i6) => this[i6] = t5), this.\u03A0i = void 0);
  211. let i5 = false;
  212. const s5 = this.L;
  213. try {
  214. i5 = this.shouldUpdate(s5), i5 ? (this.willUpdate(s5), (t4 = this.\u03A0U) === null || t4 === void 0 || t4.forEach((t5) => {
  215. var i6;
  216. return (i6 = t5.hostUpdate) === null || i6 === void 0 ? void 0 : i6.call(t5);
  217. }), this.update(s5)) : this.\u03A0$();
  218. } catch (t5) {
  219. throw i5 = false, this.\u03A0$(), t5;
  220. }
  221. i5 && this.E(s5);
  222. }
  223. willUpdate(t4) {
  224. }
  225. E(t4) {
  226. var i5;
  227. (i5 = this.\u03A0U) === null || i5 === void 0 || i5.forEach((t5) => {
  228. var i6;
  229. return (i6 = t5.hostUpdated) === null || i6 === void 0 ? void 0 : i6.call(t5);
  230. }), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t4)), this.updated(t4);
  231. }
  232. \u03A0$() {
  233. this.L = new Map(), this.isUpdatePending = false;
  234. }
  235. get updateComplete() {
  236. return this.getUpdateComplete();
  237. }
  238. getUpdateComplete() {
  239. return this.\u03A0g;
  240. }
  241. shouldUpdate(t4) {
  242. return true;
  243. }
  244. update(t4) {
  245. this.\u03A0k !== void 0 && (this.\u03A0k.forEach((t5, i5) => this.\u03A0j(i5, this[i5], t5)), this.\u03A0k = void 0), this.\u03A0$();
  246. }
  247. updated(t4) {
  248. }
  249. firstUpdated(t4) {
  250. }
  251. };
  252. a.finalized = true, a.elementProperties = new Map(), a.elementStyles = [], a.shadowRootOptions = { mode: "open" }, (e2 = (s2 = globalThis).reactiveElementPlatformSupport) === null || e2 === void 0 || e2.call(s2, { ReactiveElement: a }), ((h = (r2 = globalThis).reactiveElementVersions) !== null && h !== void 0 ? h : r2.reactiveElementVersions = []).push("1.0.0-rc.2");
  253. // node_modules/lit-html/lit-html.js
  254. var t2;
  255. var i2;
  256. var s3;
  257. var e3;
  258. var o3 = globalThis.trustedTypes;
  259. var l2 = o3 ? o3.createPolicy("lit-html", { createHTML: (t4) => t4 }) : void 0;
  260. var n3 = `lit$${(Math.random() + "").slice(9)}$`;
  261. var h2 = "?" + n3;
  262. var r3 = `<${h2}>`;
  263. var u2 = document;
  264. var c = (t4 = "") => u2.createComment(t4);
  265. var d = (t4) => t4 === null || typeof t4 != "object" && typeof t4 != "function";
  266. var v = Array.isArray;
  267. var a2 = (t4) => {
  268. var i5;
  269. return v(t4) || typeof ((i5 = t4) === null || i5 === void 0 ? void 0 : i5[Symbol.iterator]) == "function";
  270. };
  271. var f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
  272. var _ = /-->/g;
  273. var m = />/g;
  274. var p = />|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g;
  275. var $ = /'/g;
  276. var g = /"/g;
  277. var y = /^(?:script|style|textarea)$/i;
  278. var b = (t4) => (i5, ...s5) => ({ _$litType$: t4, strings: i5, values: s5 });
  279. var T = b(1);
  280. var x = b(2);
  281. var w = Symbol.for("lit-noChange");
  282. var A = Symbol.for("lit-nothing");
  283. var P = new WeakMap();
  284. var V = (t4, i5, s5) => {
  285. var e6, o7;
  286. const l4 = (e6 = s5 == null ? void 0 : s5.renderBefore) !== null && e6 !== void 0 ? e6 : i5;
  287. let n7 = l4._$litPart$;
  288. if (n7 === void 0) {
  289. const t5 = (o7 = s5 == null ? void 0 : s5.renderBefore) !== null && o7 !== void 0 ? o7 : null;
  290. l4._$litPart$ = n7 = new C(i5.insertBefore(c(), t5), t5, void 0, s5);
  291. }
  292. return n7.I(t4), n7;
  293. };
  294. var E = u2.createTreeWalker(u2, 129, null, false);
  295. var M = (t4, i5) => {
  296. const s5 = t4.length - 1, e6 = [];
  297. let o7, h4 = i5 === 2 ? "<svg>" : "", u3 = f;
  298. for (let i6 = 0; i6 < s5; i6++) {
  299. const s6 = t4[i6];
  300. let l4, c3, d2 = -1, v2 = 0;
  301. for (; v2 < s6.length && (u3.lastIndex = v2, c3 = u3.exec(s6), c3 !== null); )
  302. v2 = u3.lastIndex, u3 === f ? c3[1] === "!--" ? u3 = _ : c3[1] !== void 0 ? u3 = m : c3[2] !== void 0 ? (y.test(c3[2]) && (o7 = RegExp("</" + c3[2], "g")), u3 = p) : c3[3] !== void 0 && (u3 = p) : u3 === p ? c3[0] === ">" ? (u3 = o7 != null ? o7 : f, d2 = -1) : c3[1] === void 0 ? d2 = -2 : (d2 = u3.lastIndex - c3[2].length, l4 = c3[1], u3 = c3[3] === void 0 ? p : c3[3] === '"' ? g : $) : u3 === g || u3 === $ ? u3 = p : u3 === _ || u3 === m ? u3 = f : (u3 = p, o7 = void 0);
  303. const a4 = u3 === p && t4[i6 + 1].startsWith("/>") ? " " : "";
  304. h4 += u3 === f ? s6 + r3 : d2 >= 0 ? (e6.push(l4), s6.slice(0, d2) + "$lit$" + s6.slice(d2) + n3 + a4) : s6 + n3 + (d2 === -2 ? (e6.push(void 0), i6) : a4);
  305. }
  306. const c2 = h4 + (t4[s5] || "<?>") + (i5 === 2 ? "</svg>" : "");
  307. return [l2 !== void 0 ? l2.createHTML(c2) : c2, e6];
  308. };
  309. var N = class {
  310. constructor({ strings: t4, _$litType$: i5 }, s5) {
  311. let e6;
  312. this.parts = [];
  313. let l4 = 0, r5 = 0;
  314. const u3 = t4.length - 1, d2 = this.parts, [v2, a4] = M(t4, i5);
  315. if (this.el = N.createElement(v2, s5), E.currentNode = this.el.content, i5 === 2) {
  316. const t5 = this.el.content, i6 = t5.firstChild;
  317. i6.remove(), t5.append(...i6.childNodes);
  318. }
  319. for (; (e6 = E.nextNode()) !== null && d2.length < u3; ) {
  320. if (e6.nodeType === 1) {
  321. if (e6.hasAttributes()) {
  322. const t5 = [];
  323. for (const i6 of e6.getAttributeNames())
  324. if (i6.endsWith("$lit$") || i6.startsWith(n3)) {
  325. const s6 = a4[r5++];
  326. if (t5.push(i6), s6 !== void 0) {
  327. const t6 = e6.getAttribute(s6.toLowerCase() + "$lit$").split(n3), i7 = /([.?@])?(.*)/.exec(s6);
  328. d2.push({ type: 1, index: l4, name: i7[2], strings: t6, ctor: i7[1] === "." ? I : i7[1] === "?" ? L : i7[1] === "@" ? R : H });
  329. } else
  330. d2.push({ type: 6, index: l4 });
  331. }
  332. for (const i6 of t5)
  333. e6.removeAttribute(i6);
  334. }
  335. if (y.test(e6.tagName)) {
  336. const t5 = e6.textContent.split(n3), i6 = t5.length - 1;
  337. if (i6 > 0) {
  338. e6.textContent = o3 ? o3.emptyScript : "";
  339. for (let s6 = 0; s6 < i6; s6++)
  340. e6.append(t5[s6], c()), E.nextNode(), d2.push({ type: 2, index: ++l4 });
  341. e6.append(t5[i6], c());
  342. }
  343. }
  344. } else if (e6.nodeType === 8)
  345. if (e6.data === h2)
  346. d2.push({ type: 2, index: l4 });
  347. else {
  348. let t5 = -1;
  349. for (; (t5 = e6.data.indexOf(n3, t5 + 1)) !== -1; )
  350. d2.push({ type: 7, index: l4 }), t5 += n3.length - 1;
  351. }
  352. l4++;
  353. }
  354. }
  355. static createElement(t4, i5) {
  356. const s5 = u2.createElement("template");
  357. return s5.innerHTML = t4, s5;
  358. }
  359. };
  360. function S2(t4, i5, s5 = t4, e6) {
  361. var o7, l4, n7, h4;
  362. if (i5 === w)
  363. return i5;
  364. let r5 = e6 !== void 0 ? (o7 = s5.\u03A3i) === null || o7 === void 0 ? void 0 : o7[e6] : s5.\u03A3o;
  365. const u3 = d(i5) ? void 0 : i5._$litDirective$;
  366. return (r5 == null ? void 0 : r5.constructor) !== u3 && ((l4 = r5 == null ? void 0 : r5.O) === null || l4 === void 0 || l4.call(r5, false), u3 === void 0 ? r5 = void 0 : (r5 = new u3(t4), r5.T(t4, s5, e6)), e6 !== void 0 ? ((n7 = (h4 = s5).\u03A3i) !== null && n7 !== void 0 ? n7 : h4.\u03A3i = [])[e6] = r5 : s5.\u03A3o = r5), r5 !== void 0 && (i5 = S2(t4, r5.S(t4, i5.values), r5, e6)), i5;
  367. }
  368. var k = class {
  369. constructor(t4, i5) {
  370. this.l = [], this.N = void 0, this.D = t4, this.M = i5;
  371. }
  372. u(t4) {
  373. var i5;
  374. const { el: { content: s5 }, parts: e6 } = this.D, o7 = ((i5 = t4 == null ? void 0 : t4.creationScope) !== null && i5 !== void 0 ? i5 : u2).importNode(s5, true);
  375. E.currentNode = o7;
  376. let l4 = E.nextNode(), n7 = 0, h4 = 0, r5 = e6[0];
  377. for (; r5 !== void 0; ) {
  378. if (n7 === r5.index) {
  379. let i6;
  380. r5.type === 2 ? i6 = new C(l4, l4.nextSibling, this, t4) : r5.type === 1 ? i6 = new r5.ctor(l4, r5.name, r5.strings, this, t4) : r5.type === 6 && (i6 = new z(l4, this, t4)), this.l.push(i6), r5 = e6[++h4];
  381. }
  382. n7 !== (r5 == null ? void 0 : r5.index) && (l4 = E.nextNode(), n7++);
  383. }
  384. return o7;
  385. }
  386. v(t4) {
  387. let i5 = 0;
  388. for (const s5 of this.l)
  389. s5 !== void 0 && (s5.strings !== void 0 ? (s5.I(t4, s5, i5), i5 += s5.strings.length - 2) : s5.I(t4[i5])), i5++;
  390. }
  391. };
  392. var C = class {
  393. constructor(t4, i5, s5, e6) {
  394. this.type = 2, this.N = void 0, this.A = t4, this.B = i5, this.M = s5, this.options = e6;
  395. }
  396. setConnected(t4) {
  397. var i5;
  398. (i5 = this.P) === null || i5 === void 0 || i5.call(this, t4);
  399. }
  400. get parentNode() {
  401. return this.A.parentNode;
  402. }
  403. get startNode() {
  404. return this.A;
  405. }
  406. get endNode() {
  407. return this.B;
  408. }
  409. I(t4, i5 = this) {
  410. t4 = S2(this, t4, i5), d(t4) ? t4 === A || t4 == null || t4 === "" ? (this.H !== A && this.R(), this.H = A) : t4 !== this.H && t4 !== w && this.m(t4) : t4._$litType$ !== void 0 ? this._(t4) : t4.nodeType !== void 0 ? this.$(t4) : a2(t4) ? this.g(t4) : this.m(t4);
  411. }
  412. k(t4, i5 = this.B) {
  413. return this.A.parentNode.insertBefore(t4, i5);
  414. }
  415. $(t4) {
  416. this.H !== t4 && (this.R(), this.H = this.k(t4));
  417. }
  418. m(t4) {
  419. const i5 = this.A.nextSibling;
  420. i5 !== null && i5.nodeType === 3 && (this.B === null ? i5.nextSibling === null : i5 === this.B.previousSibling) ? i5.data = t4 : this.$(u2.createTextNode(t4)), this.H = t4;
  421. }
  422. _(t4) {
  423. var i5;
  424. const { values: s5, _$litType$: e6 } = t4, o7 = typeof e6 == "number" ? this.C(t4) : (e6.el === void 0 && (e6.el = N.createElement(e6.h, this.options)), e6);
  425. if (((i5 = this.H) === null || i5 === void 0 ? void 0 : i5.D) === o7)
  426. this.H.v(s5);
  427. else {
  428. const t5 = new k(o7, this), i6 = t5.u(this.options);
  429. t5.v(s5), this.$(i6), this.H = t5;
  430. }
  431. }
  432. C(t4) {
  433. let i5 = P.get(t4.strings);
  434. return i5 === void 0 && P.set(t4.strings, i5 = new N(t4)), i5;
  435. }
  436. g(t4) {
  437. v(this.H) || (this.H = [], this.R());
  438. const i5 = this.H;
  439. let s5, e6 = 0;
  440. for (const o7 of t4)
  441. e6 === i5.length ? i5.push(s5 = new C(this.k(c()), this.k(c()), this, this.options)) : s5 = i5[e6], s5.I(o7), e6++;
  442. e6 < i5.length && (this.R(s5 && s5.B.nextSibling, e6), i5.length = e6);
  443. }
  444. R(t4 = this.A.nextSibling, i5) {
  445. var s5;
  446. for ((s5 = this.P) === null || s5 === void 0 || s5.call(this, false, true, i5); t4 && t4 !== this.B; ) {
  447. const i6 = t4.nextSibling;
  448. t4.remove(), t4 = i6;
  449. }
  450. }
  451. };
  452. var H = class {
  453. constructor(t4, i5, s5, e6, o7) {
  454. this.type = 1, this.H = A, this.N = void 0, this.V = void 0, this.element = t4, this.name = i5, this.M = e6, this.options = o7, s5.length > 2 || s5[0] !== "" || s5[1] !== "" ? (this.H = Array(s5.length - 1).fill(A), this.strings = s5) : this.H = A;
  455. }
  456. get tagName() {
  457. return this.element.tagName;
  458. }
  459. I(t4, i5 = this, s5, e6) {
  460. const o7 = this.strings;
  461. let l4 = false;
  462. if (o7 === void 0)
  463. t4 = S2(this, t4, i5, 0), l4 = !d(t4) || t4 !== this.H && t4 !== w, l4 && (this.H = t4);
  464. else {
  465. const e7 = t4;
  466. let n7, h4;
  467. for (t4 = o7[0], n7 = 0; n7 < o7.length - 1; n7++)
  468. h4 = S2(this, e7[s5 + n7], i5, n7), h4 === w && (h4 = this.H[n7]), l4 || (l4 = !d(h4) || h4 !== this.H[n7]), h4 === A ? t4 = A : t4 !== A && (t4 += (h4 != null ? h4 : "") + o7[n7 + 1]), this.H[n7] = h4;
  469. }
  470. l4 && !e6 && this.W(t4);
  471. }
  472. W(t4) {
  473. t4 === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t4 != null ? t4 : "");
  474. }
  475. };
  476. var I = class extends H {
  477. constructor() {
  478. super(...arguments), this.type = 3;
  479. }
  480. W(t4) {
  481. this.element[this.name] = t4 === A ? void 0 : t4;
  482. }
  483. };
  484. var L = class extends H {
  485. constructor() {
  486. super(...arguments), this.type = 4;
  487. }
  488. W(t4) {
  489. t4 && t4 !== A ? this.element.setAttribute(this.name, "") : this.element.removeAttribute(this.name);
  490. }
  491. };
  492. var R = class extends H {
  493. constructor() {
  494. super(...arguments), this.type = 5;
  495. }
  496. I(t4, i5 = this) {
  497. var s5;
  498. if ((t4 = (s5 = S2(this, t4, i5, 0)) !== null && s5 !== void 0 ? s5 : A) === w)
  499. return;
  500. const e6 = this.H, o7 = t4 === A && e6 !== A || t4.capture !== e6.capture || t4.once !== e6.once || t4.passive !== e6.passive, l4 = t4 !== A && (e6 === A || o7);
  501. o7 && this.element.removeEventListener(this.name, this, e6), l4 && this.element.addEventListener(this.name, this, t4), this.H = t4;
  502. }
  503. handleEvent(t4) {
  504. var i5, s5;
  505. typeof this.H == "function" ? this.H.call((s5 = (i5 = this.options) === null || i5 === void 0 ? void 0 : i5.host) !== null && s5 !== void 0 ? s5 : this.element, t4) : this.H.handleEvent(t4);
  506. }
  507. };
  508. var z = class {
  509. constructor(t4, i5, s5) {
  510. this.element = t4, this.type = 6, this.N = void 0, this.V = void 0, this.M = i5, this.options = s5;
  511. }
  512. I(t4) {
  513. S2(this, t4);
  514. }
  515. };
  516. (i2 = (t2 = globalThis).litHtmlPlatformSupport) === null || i2 === void 0 || i2.call(t2, N, C), ((s3 = (e3 = globalThis).litHtmlVersions) !== null && s3 !== void 0 ? s3 : e3.litHtmlVersions = []).push("2.0.0-rc.3");
  517. // node_modules/lit-element/lit-element.js
  518. var i3;
  519. var l3;
  520. var o4;
  521. var s4;
  522. var n4;
  523. var a3;
  524. ((i3 = (a3 = globalThis).litElementVersions) !== null && i3 !== void 0 ? i3 : a3.litElementVersions = []).push("3.0.0-rc.2");
  525. var h3 = class extends a {
  526. constructor() {
  527. super(...arguments), this.renderOptions = { host: this }, this.\u03A6t = void 0;
  528. }
  529. createRenderRoot() {
  530. var t4, e6;
  531. const r5 = super.createRenderRoot();
  532. return (t4 = (e6 = this.renderOptions).renderBefore) !== null && t4 !== void 0 || (e6.renderBefore = r5.firstChild), r5;
  533. }
  534. update(t4) {
  535. const r5 = this.render();
  536. super.update(t4), this.\u03A6t = V(r5, this.renderRoot, this.renderOptions);
  537. }
  538. connectedCallback() {
  539. var t4;
  540. super.connectedCallback(), (t4 = this.\u03A6t) === null || t4 === void 0 || t4.setConnected(true);
  541. }
  542. disconnectedCallback() {
  543. var t4;
  544. super.disconnectedCallback(), (t4 = this.\u03A6t) === null || t4 === void 0 || t4.setConnected(false);
  545. }
  546. render() {
  547. return w;
  548. }
  549. };
  550. h3.finalized = true, h3._$litElement$ = true, (o4 = (l3 = globalThis).litElementHydrateSupport) === null || o4 === void 0 || o4.call(l3, { LitElement: h3 }), (n4 = (s4 = globalThis).litElementPlatformSupport) === null || n4 === void 0 || n4.call(s4, { LitElement: h3 });
  551. // node_modules/@lit/reactive-element/decorators/custom-element.js
  552. var n5 = (n7) => (e6) => typeof e6 == "function" ? ((n8, e7) => (window.customElements.define(n8, e7), e7))(n7, e6) : ((n8, e7) => {
  553. const { kind: t4, elements: i5 } = e7;
  554. return { kind: t4, elements: i5, finisher(e8) {
  555. window.customElements.define(n8, e8);
  556. } };
  557. })(n7, e6);
  558. // node_modules/@lit/reactive-element/decorators/property.js
  559. var i4 = (i5, e6) => e6.kind === "method" && e6.descriptor && !("value" in e6.descriptor) ? __spreadProps(__spreadValues({}, e6), { finisher(n7) {
  560. n7.createProperty(e6.key, i5);
  561. } }) : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: e6.key, initializer() {
  562. typeof e6.initializer == "function" && (this[e6.key] = e6.initializer.call(this));
  563. }, finisher(n7) {
  564. n7.createProperty(e6.key, i5);
  565. } };
  566. function e4(e6) {
  567. return (n7, t4) => t4 !== void 0 ? ((i5, e7, n8) => {
  568. e7.constructor.createProperty(n8, i5);
  569. })(e6, n7, t4) : i4(e6, n7);
  570. }
  571. // node_modules/@lit/reactive-element/decorators/state.js
  572. function r4(r5) {
  573. return e4(__spreadProps(__spreadValues({}, r5), { state: true, attribute: false }));
  574. }
  575. // node_modules/@lit/reactive-element/decorators/base.js
  576. var o5 = ({ finisher: e6, descriptor: t4 }) => (o7, n7) => {
  577. var r5;
  578. if (n7 === void 0) {
  579. const n8 = (r5 = o7.originalKey) !== null && r5 !== void 0 ? r5 : o7.key, i5 = t4 != null ? { kind: "method", placement: "prototype", key: n8, descriptor: t4(o7.key) } : __spreadProps(__spreadValues({}, o7), { key: n8 });
  580. return e6 != null && (i5.finisher = function(t5) {
  581. e6(t5, n8);
  582. }), i5;
  583. }
  584. {
  585. const r6 = o7.constructor;
  586. t4 !== void 0 && Object.defineProperty(o7, n7, t4(n7)), e6 == null || e6(r6, n7);
  587. }
  588. };
  589. // node_modules/@lit/reactive-element/decorators/query.js
  590. function o6(o7, r5) {
  591. return o5({ descriptor: (t4) => {
  592. const i5 = { get() {
  593. var t5;
  594. return (t5 = this.renderRoot) === null || t5 === void 0 ? void 0 : t5.querySelector(o7);
  595. }, enumerable: true, configurable: true };
  596. if (r5) {
  597. const r6 = typeof t4 == "symbol" ? Symbol() : "__" + t4;
  598. i5.get = function() {
  599. var t5;
  600. return this[r6] === void 0 && (this[r6] = (t5 = this.renderRoot) === null || t5 === void 0 ? void 0 : t5.querySelector(o7)), this[r6];
  601. };
  602. }
  603. return i5;
  604. } });
  605. }
  606. // node_modules/@lit/reactive-element/decorators/query-async.js
  607. function e5(e6) {
  608. return o5({ descriptor: (r5) => ({ async get() {
  609. var r6;
  610. return await this.updateComplete, (r6 = this.renderRoot) === null || r6 === void 0 ? void 0 : r6.querySelector(e6);
  611. }, enumerable: true, configurable: true }) });
  612. }
  613. // node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js
  614. var t3 = Element.prototype;
  615. var n6 = t3.msMatchesSelector || t3.webkitMatchesSelector;
  616. export {
  617. r,
  618. T,
  619. w,
  620. A,
  621. h3 as h,
  622. n5 as n,
  623. e4 as e,
  624. r4 as r2,
  625. o6 as o,
  626. e5 as e2
  627. };
  628. /**
  629. * @license
  630. * Copyright 2017 Google LLC
  631. * SPDX-License-Identifier: BSD-3-Clause
  632. */
  633. /**
  634. * @license
  635. * Copyright 2019 Google LLC
  636. * SPDX-License-Identifier: BSD-3-Clause
  637. */