prosekit 0.0.0-next-20230627094841

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.
Files changed (70) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +13 -0
  3. package/dist/basic/style.css +133 -0
  4. package/dist/chunk-23S3SZFA.js +46 -0
  5. package/dist/chunk-2MVHS73Q.js +709 -0
  6. package/dist/chunk-4GDRVRDP.js +0 -0
  7. package/dist/chunk-5PFF57NB.js +1546 -0
  8. package/dist/chunk-6A2XHVFY.js +46 -0
  9. package/dist/chunk-7OYIOTDD.js +16472 -0
  10. package/dist/chunk-ARJTWYPA.js +1321 -0
  11. package/dist/chunk-CDGN4JUS.js +1546 -0
  12. package/dist/chunk-CG5B6PMC.js +973 -0
  13. package/dist/chunk-DDN3TFRH.js +185 -0
  14. package/dist/chunk-EQV3CWHZ.js +2213 -0
  15. package/dist/chunk-ERNIDFFW.js +1711 -0
  16. package/dist/chunk-FAVXZAF7.js +3279 -0
  17. package/dist/chunk-HSPTUO6P.js +53 -0
  18. package/dist/chunk-JMNJUDT7.js +165 -0
  19. package/dist/chunk-LXCCO2LO.js +52 -0
  20. package/dist/chunk-MIPON3OH.js +922 -0
  21. package/dist/chunk-NAWSCY5F.js +166 -0
  22. package/dist/chunk-S64NFSV2.js +236 -0
  23. package/dist/chunk-S65R2BUY.js +15 -0
  24. package/dist/chunk-T2V5UU6H.js +204 -0
  25. package/dist/chunk-TWIMWRRZ.js +57 -0
  26. package/dist/chunk-US2P3K6I.js +185 -0
  27. package/dist/chunk-UTNVEPBA.js +950 -0
  28. package/dist/chunk-UWHQRU5N.js +4883 -0
  29. package/dist/chunk-VIKPJJET.js +662 -0
  30. package/dist/chunk-WAMZOD5I.js +67 -0
  31. package/dist/chunk-YUY5I2TY.js +236 -0
  32. package/dist/core/style.css +54 -0
  33. package/dist/extension-list/style.css +78 -0
  34. package/dist/pm/view/style/prosemirror.css +52 -0
  35. package/dist/prosekit-basic.js +2 -0
  36. package/dist/prosekit-core.js +2 -0
  37. package/dist/prosekit-extension-blockquote.js +2 -0
  38. package/dist/prosekit-extension-bold.js +2 -0
  39. package/dist/prosekit-extension-code-block.js +2 -0
  40. package/dist/prosekit-extension-code.js +2 -0
  41. package/dist/prosekit-extension-heading.js +2 -0
  42. package/dist/prosekit-extension-horizontal-rule.js +2 -0
  43. package/dist/prosekit-extension-italic.js +2 -0
  44. package/dist/prosekit-extension-list.js +2 -0
  45. package/dist/prosekit-extension-suggestion.js +2 -0
  46. package/dist/prosekit-lit-elements-menu-item.js +2 -0
  47. package/dist/prosekit-lit-elements-menu.js +2 -0
  48. package/dist/prosekit-lit-elements-popover.js +2 -0
  49. package/dist/prosekit-lit.js +2 -0
  50. package/dist/prosekit-pm-commands.js +2 -0
  51. package/dist/prosekit-pm-inputrules.js +2 -0
  52. package/dist/prosekit-pm-keymap.js +2 -0
  53. package/dist/prosekit-pm-model.js +2 -0
  54. package/dist/prosekit-pm-state.js +2 -0
  55. package/dist/prosekit-pm-transform.js +2 -0
  56. package/dist/prosekit-pm-view.js +2 -0
  57. package/dist/prosekit-pm.js +2 -0
  58. package/dist/prosekit-react-components-menu-item.js +2 -0
  59. package/dist/prosekit-react-components-menu.js +2 -0
  60. package/dist/prosekit-react-components-popover-suggestion.js +2 -0
  61. package/dist/prosekit-react-components-popover.js +2 -0
  62. package/dist/prosekit-react.js +2 -0
  63. package/dist/prosekit-vue-components-menu-item.js +2 -0
  64. package/dist/prosekit-vue-components-menu.js +2 -0
  65. package/dist/prosekit-vue-components-popover-suggestion.js +2 -0
  66. package/dist/prosekit-vue-components-popover.js +2 -0
  67. package/dist/prosekit-vue.js +2 -0
  68. package/dist/prosekit.js +0 -0
  69. package/package.json +262 -0
  70. package/src/index.ts +1 -0
@@ -0,0 +1,973 @@
1
+ // ../../node_modules/.pnpm/lit-html@3.0.0-pre.0/node_modules/lit-html/node/lit-html.js
2
+ var t = globalThis;
3
+ var i = void 0;
4
+ var s = t.trustedTypes;
5
+ var e = s ? s.createPolicy("lit-html", { createHTML: (t4) => t4 }) : void 0;
6
+ var n = "$lit$";
7
+ var o = `lit$${(Math.random() + "").slice(9)}$`;
8
+ var h = "?" + o;
9
+ var r = `<${h}>`;
10
+ var a = void 0 === t.document ? { createTreeWalker: () => ({}) } : document;
11
+ var l = () => a.createComment("");
12
+ var c = (t4) => null === t4 || "object" != typeof t4 && "function" != typeof t4;
13
+ var d = Array.isArray;
14
+ var u = (t4) => d(t4) || "function" == typeof (t4 == null ? void 0 : t4[Symbol.iterator]);
15
+ var m = "[ \n\f\r]";
16
+ var p = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
17
+ var v = /-->/g;
18
+ var f = />/g;
19
+ var g = RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^
20
+ \f\r"'\`<>=]|("|')|))|$)`, "g");
21
+ var _ = /'/g;
22
+ var $ = /"/g;
23
+ var y = /^(?:script|style|textarea|title)$/i;
24
+ var k = (t4) => (i5, ...s4) => ({ _$litType$: t4, strings: i5, values: s4 });
25
+ var b = k(1);
26
+ var x = k(2);
27
+ var T = Symbol.for("lit-noChange");
28
+ var w = Symbol.for("lit-nothing");
29
+ var A = /* @__PURE__ */ new WeakMap();
30
+ var E = a.createTreeWalker(a, 129);
31
+ var C = (t4, i5) => {
32
+ const s4 = t4.length - 1, h3 = [];
33
+ let a3, l3 = 2 === i5 ? "<svg>" : "", c4 = p;
34
+ for (let i6 = 0; i6 < s4; i6++) {
35
+ const s5 = t4[i6];
36
+ let e5, d4, u3 = -1, m2 = 0;
37
+ for (; m2 < s5.length && (c4.lastIndex = m2, d4 = c4.exec(s5), null !== d4); )
38
+ m2 = c4.lastIndex, c4 === p ? "!--" === d4[1] ? c4 = v : void 0 !== d4[1] ? c4 = f : void 0 !== d4[2] ? (y.test(d4[2]) && (a3 = RegExp("</" + d4[2], "g")), c4 = g) : void 0 !== d4[3] && (c4 = g) : c4 === g ? ">" === d4[0] ? (c4 = a3 != null ? a3 : p, u3 = -1) : void 0 === d4[1] ? u3 = -2 : (u3 = c4.lastIndex - d4[2].length, e5 = d4[1], c4 = void 0 === d4[3] ? g : '"' === d4[3] ? $ : _) : c4 === $ || c4 === _ ? c4 = g : c4 === v || c4 === f ? c4 = p : (c4 = g, a3 = void 0);
39
+ const k2 = c4 === g && t4[i6 + 1].startsWith("/>") ? " " : "";
40
+ l3 += c4 === p ? s5 + r : u3 >= 0 ? (h3.push(e5), s5.slice(0, u3) + n + s5.slice(u3) + o + k2) : s5 + o + (-2 === u3 ? i6 : k2);
41
+ }
42
+ const d3 = l3 + (t4[s4] || "<?>") + (2 === i5 ? "</svg>" : "");
43
+ if (!Array.isArray(t4) || !t4.hasOwnProperty("raw"))
44
+ throw Error("invalid template strings array");
45
+ return [void 0 !== e ? e.createHTML(d3) : d3, h3];
46
+ };
47
+ var P = class _P {
48
+ constructor({ strings: t4, _$litType$: e5 }, r5) {
49
+ let a3;
50
+ this.parts = [];
51
+ let c4 = 0, d3 = 0;
52
+ const u3 = t4.length - 1, m2 = this.parts, [p2, v2] = C(t4, e5);
53
+ if (this.el = _P.createElement(p2, r5), E.currentNode = this.el.content, 2 === e5) {
54
+ const t5 = this.el.content.firstChild;
55
+ t5.replaceWith(...t5.childNodes);
56
+ }
57
+ for (; null !== (a3 = E.nextNode()) && m2.length < u3; ) {
58
+ if (1 === a3.nodeType) {
59
+ if (a3.hasAttributes())
60
+ for (const t5 of a3.getAttributeNames())
61
+ if (t5.endsWith(n)) {
62
+ const i5 = v2[d3++], s4 = a3.getAttribute(t5).split(o), e6 = /([.?@])?(.*)/.exec(i5);
63
+ m2.push({ type: 1, index: c4, name: e6[2], strings: s4, ctor: "." === e6[1] ? I : "?" === e6[1] ? M : "@" === e6[1] ? R : S }), a3.removeAttribute(t5);
64
+ } else
65
+ t5.startsWith(o) && (m2.push({ type: 6, index: c4 }), a3.removeAttribute(t5));
66
+ if (y.test(a3.tagName)) {
67
+ const t5 = a3.textContent.split(o), i5 = t5.length - 1;
68
+ if (i5 > 0) {
69
+ a3.textContent = s ? s.emptyScript : "";
70
+ for (let s4 = 0; s4 < i5; s4++)
71
+ a3.append(t5[s4], l()), E.nextNode(), m2.push({ type: 2, index: ++c4 });
72
+ a3.append(t5[i5], l());
73
+ }
74
+ }
75
+ } else if (8 === a3.nodeType)
76
+ if (a3.data === h)
77
+ m2.push({ type: 2, index: c4 });
78
+ else {
79
+ let t5 = -1;
80
+ for (; -1 !== (t5 = a3.data.indexOf(o, t5 + 1)); )
81
+ m2.push({ type: 7, index: c4 }), t5 += o.length - 1;
82
+ }
83
+ c4++;
84
+ }
85
+ i == null ? void 0 : i({ kind: "template prep", template: this, clonableTemplate: this.el, parts: this.parts, strings: t4 });
86
+ }
87
+ static createElement(t4, i5) {
88
+ const s4 = a.createElement("template");
89
+ return s4.innerHTML = t4, s4;
90
+ }
91
+ };
92
+ function V(t4, i5, s4 = t4, e5) {
93
+ var _a8, _b, _c;
94
+ if (i5 === T)
95
+ return i5;
96
+ let n5 = void 0 !== e5 ? (_a8 = s4._$Co) == null ? void 0 : _a8[e5] : s4._$Cl;
97
+ const o6 = c(i5) ? void 0 : i5._$litDirective$;
98
+ return (n5 == null ? void 0 : n5.constructor) !== o6 && ((_b = n5 == null ? void 0 : n5._$AO) == null ? void 0 : _b.call(n5, false), void 0 === o6 ? n5 = void 0 : (n5 = new o6(t4), n5._$AT(t4, s4, e5)), void 0 !== e5 ? ((_c = s4._$Co) != null ? _c : s4._$Co = [])[e5] = n5 : s4._$Cl = n5), void 0 !== n5 && (i5 = V(t4, n5._$AS(t4, i5.values), n5, e5)), i5;
99
+ }
100
+ var L = class {
101
+ constructor(t4, i5) {
102
+ this._$AV = [], this._$AN = void 0, this._$AD = t4, this._$AM = i5;
103
+ }
104
+ get parentNode() {
105
+ return this._$AM.parentNode;
106
+ }
107
+ get _$AU() {
108
+ return this._$AM._$AU;
109
+ }
110
+ u(t4) {
111
+ var _a8;
112
+ const { el: { content: i5 }, parts: s4 } = this._$AD, e5 = ((_a8 = t4 == null ? void 0 : t4.creationScope) != null ? _a8 : a).importNode(i5, true);
113
+ E.currentNode = e5;
114
+ let n5 = E.nextNode(), o6 = 0, h3 = 0, r5 = s4[0];
115
+ for (; void 0 !== r5; ) {
116
+ if (o6 === r5.index) {
117
+ let i6;
118
+ 2 === r5.type ? i6 = new N(n5, n5.nextSibling, this, t4) : 1 === r5.type ? i6 = new r5.ctor(n5, r5.name, r5.strings, this, t4) : 6 === r5.type && (i6 = new H(n5, this, t4)), this._$AV.push(i6), r5 = s4[++h3];
119
+ }
120
+ o6 !== (r5 == null ? void 0 : r5.index) && (n5 = E.nextNode(), o6++);
121
+ }
122
+ return e5;
123
+ }
124
+ p(t4) {
125
+ let s4 = 0;
126
+ for (const e5 of this._$AV)
127
+ void 0 !== e5 && (i == null ? void 0 : i({ kind: "set part", part: e5, value: t4[s4], valueIndex: s4, values: t4, templateInstance: this }), void 0 !== e5.strings ? (e5._$AI(t4, e5, s4), s4 += e5.strings.length - 2) : e5._$AI(t4[s4])), s4++;
128
+ }
129
+ };
130
+ var N = class _N {
131
+ get _$AU() {
132
+ var _a8, _b;
133
+ return (_b = (_a8 = this._$AM) == null ? void 0 : _a8._$AU) != null ? _b : this._$Cv;
134
+ }
135
+ constructor(t4, i5, s4, e5) {
136
+ var _a8;
137
+ this.type = 2, this._$AH = w, this._$AN = void 0, this._$AA = t4, this._$AB = i5, this._$AM = s4, this.options = e5, this._$Cv = (_a8 = e5 == null ? void 0 : e5.isConnected) != null ? _a8 : true;
138
+ }
139
+ get parentNode() {
140
+ let t4 = this._$AA.parentNode;
141
+ const i5 = this._$AM;
142
+ return void 0 !== i5 && 11 === (t4 == null ? void 0 : t4.nodeType) && (t4 = i5.parentNode), t4;
143
+ }
144
+ get startNode() {
145
+ return this._$AA;
146
+ }
147
+ get endNode() {
148
+ return this._$AB;
149
+ }
150
+ _$AI(t4, s4 = this) {
151
+ t4 = V(this, t4, s4), c(t4) ? t4 === w || null == t4 || "" === t4 ? (this._$AH !== w && (i == null ? void 0 : i({ kind: "commit nothing to child", start: this._$AA, end: this._$AB, parent: this._$AM, options: this.options }), this._$AR()), this._$AH = w) : t4 !== this._$AH && t4 !== T && this._(t4) : void 0 !== t4._$litType$ ? this.g(t4) : void 0 !== t4.nodeType ? this.$(t4) : u(t4) ? this.T(t4) : this._(t4);
152
+ }
153
+ k(t4) {
154
+ return this._$AA.parentNode.insertBefore(t4, this._$AB);
155
+ }
156
+ $(t4) {
157
+ this._$AH !== t4 && (this._$AR(), i == null ? void 0 : i({ kind: "commit node", start: this._$AA, parent: this._$AM, value: t4, options: this.options }), this._$AH = this.k(t4));
158
+ }
159
+ _(t4) {
160
+ if (this._$AH !== w && c(this._$AH)) {
161
+ const s4 = this._$AA.nextSibling;
162
+ i == null ? void 0 : i({ kind: "commit text", node: s4, value: t4, options: this.options }), s4.data = t4;
163
+ } else
164
+ this.$(a.createTextNode(t4)), i == null ? void 0 : i({ kind: "commit text", node: this._$AA.nextSibling, value: t4, options: this.options });
165
+ this._$AH = t4;
166
+ }
167
+ g(t4) {
168
+ var _a8;
169
+ const { values: s4, _$litType$: e5 } = t4, n5 = "number" == typeof e5 ? this._$AC(t4) : (void 0 === e5.el && (e5.el = P.createElement(e5.h, this.options)), e5);
170
+ if (((_a8 = this._$AH) == null ? void 0 : _a8._$AD) === n5)
171
+ i == null ? void 0 : i({ kind: "template updating", template: n5, instance: this._$AH, parts: this._$AH._$AV, options: this.options, values: s4 }), this._$AH.p(s4);
172
+ else {
173
+ const t5 = new L(n5, this), e6 = t5.u(this.options);
174
+ i == null ? void 0 : i({ kind: "template instantiated", template: n5, instance: t5, parts: t5._$AV, options: this.options, fragment: e6, values: s4 }), t5.p(s4), i == null ? void 0 : i({ kind: "template instantiated and updated", template: n5, instance: t5, parts: t5._$AV, options: this.options, fragment: e6, values: s4 }), this.$(e6), this._$AH = t5;
175
+ }
176
+ }
177
+ _$AC(t4) {
178
+ let i5 = A.get(t4.strings);
179
+ return void 0 === i5 && A.set(t4.strings, i5 = new P(t4)), i5;
180
+ }
181
+ T(t4) {
182
+ d(this._$AH) || (this._$AH = [], this._$AR());
183
+ const i5 = this._$AH;
184
+ let s4, e5 = 0;
185
+ for (const n5 of t4)
186
+ e5 === i5.length ? i5.push(s4 = new _N(this.k(l()), this.k(l()), this, this.options)) : s4 = i5[e5], s4._$AI(n5), e5++;
187
+ e5 < i5.length && (this._$AR(s4 && s4._$AB.nextSibling, e5), i5.length = e5);
188
+ }
189
+ _$AR(t4 = this._$AA.nextSibling, i5) {
190
+ var _a8;
191
+ for ((_a8 = this._$AP) == null ? void 0 : _a8.call(this, false, true, i5); t4 && t4 !== this._$AB; ) {
192
+ const i6 = t4.nextSibling;
193
+ t4.remove(), t4 = i6;
194
+ }
195
+ }
196
+ setConnected(t4) {
197
+ var _a8;
198
+ void 0 === this._$AM && (this._$Cv = t4, (_a8 = this._$AP) == null ? void 0 : _a8.call(this, t4));
199
+ }
200
+ };
201
+ var S = class {
202
+ get tagName() {
203
+ return this.element.tagName;
204
+ }
205
+ get _$AU() {
206
+ return this._$AM._$AU;
207
+ }
208
+ constructor(t4, i5, s4, e5, n5) {
209
+ this.type = 1, this._$AH = w, this._$AN = void 0, this.element = t4, this.name = i5, this._$AM = e5, this.options = n5, s4.length > 2 || "" !== s4[0] || "" !== s4[1] ? (this._$AH = Array(s4.length - 1).fill(new String()), this.strings = s4) : this._$AH = w;
210
+ }
211
+ _$AI(t4, i5 = this, s4, e5) {
212
+ const n5 = this.strings;
213
+ let o6 = false;
214
+ if (void 0 === n5)
215
+ t4 = V(this, t4, i5, 0), o6 = !c(t4) || t4 !== this._$AH && t4 !== T, o6 && (this._$AH = t4);
216
+ else {
217
+ const e6 = t4;
218
+ let h3, r5;
219
+ for (t4 = n5[0], h3 = 0; h3 < n5.length - 1; h3++)
220
+ r5 = V(this, e6[s4 + h3], i5, h3), r5 === T && (r5 = this._$AH[h3]), o6 || (o6 = !c(r5) || r5 !== this._$AH[h3]), r5 === w ? t4 = w : t4 !== w && (t4 += (r5 != null ? r5 : "") + n5[h3 + 1]), this._$AH[h3] = r5;
221
+ }
222
+ o6 && !e5 && this.j(t4);
223
+ }
224
+ j(t4) {
225
+ t4 === w ? this.element.removeAttribute(this.name) : (i == null ? void 0 : i({ kind: "commit attribute", element: this.element, name: this.name, value: t4, options: this.options }), this.element.setAttribute(this.name, t4 != null ? t4 : ""));
226
+ }
227
+ };
228
+ var I = class extends S {
229
+ constructor() {
230
+ super(...arguments), this.type = 3;
231
+ }
232
+ j(t4) {
233
+ i == null ? void 0 : i({ kind: "commit property", element: this.element, name: this.name, value: t4, options: this.options }), this.element[this.name] = t4 === w ? void 0 : t4;
234
+ }
235
+ };
236
+ var M = class extends S {
237
+ constructor() {
238
+ super(...arguments), this.type = 4;
239
+ }
240
+ j(t4) {
241
+ i == null ? void 0 : i({ kind: "commit boolean attribute", element: this.element, name: this.name, value: !(!t4 || t4 === w), options: this.options }), this.element.toggleAttribute(this.name, !!t4 && t4 !== w);
242
+ }
243
+ };
244
+ var R = class extends S {
245
+ constructor(t4, i5, s4, e5, n5) {
246
+ super(t4, i5, s4, e5, n5), this.type = 5;
247
+ }
248
+ _$AI(t4, s4 = this) {
249
+ var _a8;
250
+ if ((t4 = (_a8 = V(this, t4, s4, 0)) != null ? _a8 : w) === T)
251
+ return;
252
+ const e5 = this._$AH, n5 = t4 === w && e5 !== w || t4.capture !== e5.capture || t4.once !== e5.once || t4.passive !== e5.passive, o6 = t4 !== w && (e5 === w || n5);
253
+ i == null ? void 0 : i({ kind: "commit event listener", element: this.element, name: this.name, value: t4, options: this.options, removeListener: n5, addListener: o6, oldListener: e5 }), n5 && this.element.removeEventListener(this.name, this, e5), o6 && this.element.addEventListener(this.name, this, t4), this._$AH = t4;
254
+ }
255
+ handleEvent(t4) {
256
+ var _a8, _b;
257
+ "function" == typeof this._$AH ? this._$AH.call((_b = (_a8 = this.options) == null ? void 0 : _a8.host) != null ? _b : this.element, t4) : this._$AH.handleEvent(t4);
258
+ }
259
+ };
260
+ var H = class {
261
+ constructor(t4, i5, s4) {
262
+ this.element = t4, this.type = 6, this._$AN = void 0, this._$AM = i5, this.options = s4;
263
+ }
264
+ get _$AU() {
265
+ return this._$AM._$AU;
266
+ }
267
+ _$AI(t4) {
268
+ i == null ? void 0 : i({ kind: "commit to element binding", element: this.element, value: t4, options: this.options }), V(this, t4);
269
+ }
270
+ };
271
+ var W = t.litHtmlPolyfillSupport;
272
+ var _a;
273
+ W == null ? void 0 : W(P, N), ((_a = t.litHtmlVersions) != null ? _a : t.litHtmlVersions = []).push("3.0.0-pre.0");
274
+ var Z = (t4, s4, e5) => {
275
+ var _a8, _b;
276
+ const n5 = (_a8 = e5 == null ? void 0 : e5.renderBefore) != null ? _a8 : s4;
277
+ let o6 = n5._$litPart$;
278
+ if (i == null ? void 0 : i({ kind: "begin render", id: 0, value: t4, container: s4, options: e5, part: o6 }), void 0 === o6) {
279
+ const t5 = (_b = e5 == null ? void 0 : e5.renderBefore) != null ? _b : null;
280
+ n5._$litPart$ = o6 = new N(s4.insertBefore(l(), t5), t5, void 0, e5 != null ? e5 : {});
281
+ }
282
+ return o6._$AI(t4), i == null ? void 0 : i({ kind: "end render", id: 0, value: t4, container: s4, options: e5, part: o6 }), o6;
283
+ };
284
+
285
+ // ../../node_modules/.pnpm/@lit-labs+ssr-dom-shim@1.1.2-pre.0/node_modules/@lit-labs/ssr-dom-shim/lib/element-internals.js
286
+ var ElementInternalsShim = class ElementInternals {
287
+ get shadowRoot() {
288
+ return this.__host.__shadowRoot;
289
+ }
290
+ constructor(_host) {
291
+ this.ariaAtomic = "";
292
+ this.ariaAutoComplete = "";
293
+ this.ariaBraileLabel = "";
294
+ this.ariaBraileRoleDescription = "";
295
+ this.ariaBusy = "";
296
+ this.ariaChecked = "";
297
+ this.ariaColCount = "";
298
+ this.ariaColIndex = "";
299
+ this.ariaColSpan = "";
300
+ this.ariaCurrent = "";
301
+ this.ariaDescription = "";
302
+ this.ariaDisabled = "";
303
+ this.ariaExpanded = "";
304
+ this.ariaHasPopup = "";
305
+ this.ariaHidden = "";
306
+ this.ariaInvalid = "";
307
+ this.ariaKeyShortcuts = "";
308
+ this.ariaLabel = "";
309
+ this.ariaLevel = "";
310
+ this.ariaLive = "";
311
+ this.ariaModal = "";
312
+ this.ariaMultiLine = "";
313
+ this.ariaMultiSelectable = "";
314
+ this.ariaOrientation = "";
315
+ this.ariaPlaceholder = "";
316
+ this.ariaPosInSet = "";
317
+ this.ariaPressed = "";
318
+ this.ariaReadOnly = "";
319
+ this.ariaRequired = "";
320
+ this.ariaRoleDescription = "";
321
+ this.ariaRowCount = "";
322
+ this.ariaRowIndex = "";
323
+ this.ariaRowSpan = "";
324
+ this.ariaSelected = "";
325
+ this.ariaSetSize = "";
326
+ this.ariaSort = "";
327
+ this.ariaValueMax = "";
328
+ this.ariaValueMin = "";
329
+ this.ariaValueNow = "";
330
+ this.ariaValueText = "";
331
+ this.role = "";
332
+ this.form = null;
333
+ this.labels = [];
334
+ this.states = /* @__PURE__ */ new Set();
335
+ this.validationMessage = "";
336
+ this.validity = {};
337
+ this.willValidate = true;
338
+ this.__host = _host;
339
+ }
340
+ checkValidity() {
341
+ console.warn("`ElementInternals.checkValidity()` was called on the server.This method always returns true.");
342
+ return true;
343
+ }
344
+ reportValidity() {
345
+ return true;
346
+ }
347
+ setFormValue() {
348
+ }
349
+ setValidity() {
350
+ }
351
+ };
352
+
353
+ // ../../node_modules/.pnpm/@lit-labs+ssr-dom-shim@1.1.2-pre.0/node_modules/@lit-labs/ssr-dom-shim/index.js
354
+ var attributes = /* @__PURE__ */ new WeakMap();
355
+ var attributesForElement = (element) => {
356
+ let attrs = attributes.get(element);
357
+ if (attrs === void 0) {
358
+ attributes.set(element, attrs = /* @__PURE__ */ new Map());
359
+ }
360
+ return attrs;
361
+ };
362
+ var ElementShim = class Element {
363
+ constructor() {
364
+ this.__shadowRootMode = null;
365
+ this.__shadowRoot = null;
366
+ this.__internals = null;
367
+ }
368
+ get attributes() {
369
+ return Array.from(attributesForElement(this)).map(([name, value]) => ({
370
+ name,
371
+ value
372
+ }));
373
+ }
374
+ get shadowRoot() {
375
+ if (this.__shadowRootMode === "closed") {
376
+ return null;
377
+ }
378
+ return this.__shadowRoot;
379
+ }
380
+ setAttribute(name, value) {
381
+ attributesForElement(this).set(name, String(value));
382
+ }
383
+ removeAttribute(name) {
384
+ attributesForElement(this).delete(name);
385
+ }
386
+ hasAttribute(name) {
387
+ return attributesForElement(this).has(name);
388
+ }
389
+ attachShadow(init) {
390
+ const shadowRoot = { host: this };
391
+ this.__shadowRootMode = init.mode;
392
+ if (init && init.mode === "open") {
393
+ this.__shadowRoot = shadowRoot;
394
+ }
395
+ return shadowRoot;
396
+ }
397
+ attachInternals() {
398
+ if (this.__internals !== null) {
399
+ throw new Error(`Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.`);
400
+ }
401
+ const internals = new ElementInternalsShim(this);
402
+ this.__internals = internals;
403
+ return internals;
404
+ }
405
+ getAttribute(name) {
406
+ const value = attributesForElement(this).get(name);
407
+ return value != null ? value : null;
408
+ }
409
+ };
410
+ var HTMLElementShim = class HTMLElement extends ElementShim {
411
+ };
412
+ var HTMLElementShimWithRealType = HTMLElementShim;
413
+ var CustomElementRegistryShim = class CustomElementRegistry {
414
+ constructor() {
415
+ this.__definitions = /* @__PURE__ */ new Map();
416
+ }
417
+ define(name, ctor) {
418
+ var _a8;
419
+ if (this.__definitions.has(name)) {
420
+ if (process.env.NODE_ENV === "development") {
421
+ console.warn(`'CustomElementRegistry' already has "${name}" defined. This may have been caused by live reload or hot module replacement in which case it can be safely ignored.
422
+ Make sure to test your application with a production build as repeat registrations will throw in production.`);
423
+ } else {
424
+ throw new Error(`Failed to execute 'define' on 'CustomElementRegistry': the name "${name}" has already been used with this registry`);
425
+ }
426
+ }
427
+ this.__definitions.set(name, {
428
+ ctor,
429
+ // Note it's important we read `observedAttributes` in case it is a getter
430
+ // with side-effects, as is the case in Lit, where it triggers class
431
+ // finalization.
432
+ //
433
+ // TODO(aomarks) To be spec compliant, we should also capture the
434
+ // registration-time lifecycle methods like `connectedCallback`. For them
435
+ // to be actually accessible to e.g. the Lit SSR element renderer, though,
436
+ // we'd need to introduce a new API for accessing them (since `get` only
437
+ // returns the constructor).
438
+ observedAttributes: (_a8 = ctor.observedAttributes) != null ? _a8 : []
439
+ });
440
+ }
441
+ get(name) {
442
+ const definition = this.__definitions.get(name);
443
+ return definition == null ? void 0 : definition.ctor;
444
+ }
445
+ };
446
+ var CustomElementRegistryShimWithRealType = CustomElementRegistryShim;
447
+ var customElements2 = new CustomElementRegistryShimWithRealType();
448
+
449
+ // ../../node_modules/.pnpm/@lit+reactive-element@2.0.0-pre.0/node_modules/@lit/reactive-element/node/css-tag.js
450
+ var t2 = globalThis;
451
+ var e2 = t2.ShadowRoot && (void 0 === t2.ShadyCSS || t2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
452
+ var s2 = Symbol();
453
+ var o2 = /* @__PURE__ */ new WeakMap();
454
+ var n2 = class {
455
+ constructor(t4, e5, o6) {
456
+ if (this._$cssResult$ = true, o6 !== s2)
457
+ throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
458
+ this.cssText = t4, this.t = e5;
459
+ }
460
+ get styleSheet() {
461
+ let t4 = this.o;
462
+ const s4 = this.t;
463
+ if (e2 && void 0 === t4) {
464
+ const e5 = void 0 !== s4 && 1 === s4.length;
465
+ e5 && (t4 = o2.get(s4)), void 0 === t4 && ((this.o = t4 = new CSSStyleSheet()).replaceSync(this.cssText), e5 && o2.set(s4, t4));
466
+ }
467
+ return t4;
468
+ }
469
+ toString() {
470
+ return this.cssText;
471
+ }
472
+ };
473
+ var r2 = (t4) => new n2("string" == typeof t4 ? t4 : t4 + "", void 0, s2);
474
+ var i2 = (t4, ...e5) => {
475
+ const o6 = 1 === t4.length ? t4[0] : e5.reduce((e6, s4, o7) => e6 + ((t5) => {
476
+ if (true === t5._$cssResult$)
477
+ return t5.cssText;
478
+ if ("number" == typeof t5)
479
+ return t5;
480
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + t5 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
481
+ })(s4) + t4[o7 + 1], t4[0]);
482
+ return new n2(o6, t4, s2);
483
+ };
484
+ var S2 = (s4, o6) => {
485
+ if (e2)
486
+ s4.adoptedStyleSheets = o6.map((t4) => t4 instanceof CSSStyleSheet ? t4 : t4.styleSheet);
487
+ else
488
+ for (const e5 of o6) {
489
+ const o7 = document.createElement("style"), n5 = t2.litNonce;
490
+ void 0 !== n5 && o7.setAttribute("nonce", n5), o7.textContent = e5.cssText, s4.appendChild(o7);
491
+ }
492
+ };
493
+ var c2 = e2 || void 0 === t2.CSSStyleSheet ? (t4) => t4 : (t4) => t4 instanceof CSSStyleSheet ? ((t5) => {
494
+ let e5 = "";
495
+ for (const s4 of t5.cssRules)
496
+ e5 += s4.cssText;
497
+ return r2(e5);
498
+ })(t4) : t4;
499
+
500
+ // ../../node_modules/.pnpm/@lit+reactive-element@2.0.0-pre.0/node_modules/@lit/reactive-element/node/reactive-element.js
501
+ var h2 = globalThis;
502
+ var _a2;
503
+ (_a2 = h2.customElements) != null ? _a2 : h2.customElements = customElements2;
504
+ var r3 = h2.trustedTypes;
505
+ var o3 = r3 ? r3.emptyScript : "";
506
+ var n3 = h2.reactiveElementPolyfillSupport;
507
+ var a2 = { toAttribute(t4, s4) {
508
+ switch (s4) {
509
+ case Boolean:
510
+ t4 = t4 ? o3 : null;
511
+ break;
512
+ case Object:
513
+ case Array:
514
+ t4 = null == t4 ? t4 : JSON.stringify(t4);
515
+ }
516
+ return t4;
517
+ }, fromAttribute(t4, s4) {
518
+ let i5 = t4;
519
+ switch (s4) {
520
+ case Boolean:
521
+ i5 = null !== t4;
522
+ break;
523
+ case Number:
524
+ i5 = null === t4 ? null : Number(t4);
525
+ break;
526
+ case Object:
527
+ case Array:
528
+ try {
529
+ i5 = JSON.parse(t4);
530
+ } catch (t5) {
531
+ i5 = null;
532
+ }
533
+ }
534
+ return i5;
535
+ } };
536
+ var c3 = (t4, s4) => s4 !== t4 && (s4 == s4 || t4 == t4);
537
+ var l2 = { attribute: true, type: String, converter: a2, reflect: false, hasChanged: c3 };
538
+ var u2 = "finalized";
539
+ var _a3;
540
+ var d2 = class extends ((_a3 = globalThis.HTMLElement) != null ? _a3 : HTMLElementShimWithRealType) {
541
+ static addInitializer(t4) {
542
+ var _a8;
543
+ this.finalize(), ((_a8 = this.i) != null ? _a8 : this.i = []).push(t4);
544
+ }
545
+ static get observedAttributes() {
546
+ this.finalize();
547
+ const t4 = [];
548
+ for (const [s4, i5] of this.elementProperties) {
549
+ const e5 = this._$El(s4, i5);
550
+ void 0 !== e5 && (this._$Eh.set(e5, s4), t4.push(e5));
551
+ }
552
+ return t4;
553
+ }
554
+ static createProperty(t4, s4 = l2) {
555
+ if (s4.state && (s4.attribute = false), this.finalize(), this.elementProperties.set(t4, s4), !s4.noAccessor && !this.prototype.hasOwnProperty(t4)) {
556
+ const i5 = Symbol(), e5 = this.getPropertyDescriptor(t4, i5, s4);
557
+ void 0 !== e5 && Object.defineProperty(this.prototype, t4, e5);
558
+ }
559
+ }
560
+ static getPropertyDescriptor(t4, s4, i5) {
561
+ return { get() {
562
+ return this[s4];
563
+ }, set(e5) {
564
+ const h3 = this[t4];
565
+ this[s4] = e5, this.requestUpdate(t4, h3, i5);
566
+ }, configurable: true, enumerable: true };
567
+ }
568
+ static getPropertyOptions(t4) {
569
+ return this.elementProperties.get(t4) || l2;
570
+ }
571
+ static finalize() {
572
+ if (this.hasOwnProperty(u2))
573
+ return false;
574
+ this[u2] = true;
575
+ const t4 = Object.getPrototypeOf(this);
576
+ if (t4.finalize(), void 0 !== t4.i && (this.i = [...t4.i]), this.elementProperties = new Map(t4.elementProperties), this._$Eh = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
577
+ const t5 = this.properties, s4 = [...Object.getOwnPropertyNames(t5), ...Object.getOwnPropertySymbols(t5)];
578
+ for (const i5 of s4)
579
+ this.createProperty(i5, t5[i5]);
580
+ }
581
+ return this.elementStyles = this.finalizeStyles(this.styles), true;
582
+ }
583
+ static finalizeStyles(t4) {
584
+ const s4 = [];
585
+ if (Array.isArray(t4)) {
586
+ const e5 = new Set(t4.flat(1 / 0).reverse());
587
+ for (const t5 of e5)
588
+ s4.unshift(c2(t5));
589
+ } else
590
+ void 0 !== t4 && s4.push(c2(t4));
591
+ return s4;
592
+ }
593
+ static _$El(t4, s4) {
594
+ const i5 = s4.attribute;
595
+ return false === i5 ? void 0 : "string" == typeof i5 ? i5 : "string" == typeof t4 ? t4.toLowerCase() : void 0;
596
+ }
597
+ constructor() {
598
+ super(), this._$Ep = /* @__PURE__ */ new Map(), this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this.v();
599
+ }
600
+ v() {
601
+ var _a8;
602
+ this._$E_ = new Promise((t4) => this.enableUpdating = t4), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), (_a8 = this.constructor.i) == null ? void 0 : _a8.forEach((t4) => t4(this));
603
+ }
604
+ addController(t4) {
605
+ var _a8, _b;
606
+ ((_a8 = this._$ES) != null ? _a8 : this._$ES = []).push(t4), void 0 !== this.renderRoot && this.isConnected && ((_b = t4.hostConnected) == null ? void 0 : _b.call(t4));
607
+ }
608
+ removeController(t4) {
609
+ var _a8;
610
+ (_a8 = this._$ES) == null ? void 0 : _a8.splice(this._$ES.indexOf(t4) >>> 0, 1);
611
+ }
612
+ _$Eg() {
613
+ const t4 = this.constructor.elementProperties;
614
+ for (const s4 of t4.keys())
615
+ this.hasOwnProperty(s4) && (this._$Ep.set(s4, this[s4]), delete this[s4]);
616
+ }
617
+ createRenderRoot() {
618
+ var _a8;
619
+ const t4 = (_a8 = this.shadowRoot) != null ? _a8 : this.attachShadow(this.constructor.shadowRootOptions);
620
+ return S2(t4, this.constructor.elementStyles), t4;
621
+ }
622
+ connectedCallback() {
623
+ var _a8;
624
+ void 0 === this.renderRoot && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(true), (_a8 = this._$ES) == null ? void 0 : _a8.forEach((t4) => {
625
+ var _a9;
626
+ return (_a9 = t4.hostConnected) == null ? void 0 : _a9.call(t4);
627
+ });
628
+ }
629
+ enableUpdating(t4) {
630
+ }
631
+ disconnectedCallback() {
632
+ var _a8;
633
+ (_a8 = this._$ES) == null ? void 0 : _a8.forEach((t4) => {
634
+ var _a9;
635
+ return (_a9 = t4.hostDisconnected) == null ? void 0 : _a9.call(t4);
636
+ });
637
+ }
638
+ attributeChangedCallback(t4, s4, i5) {
639
+ this._$AK(t4, i5);
640
+ }
641
+ _$EO(t4, s4, i5 = l2) {
642
+ var _a8;
643
+ const e5 = this.constructor._$El(t4, i5);
644
+ if (void 0 !== e5 && true === i5.reflect) {
645
+ const h3 = (void 0 !== ((_a8 = i5.converter) == null ? void 0 : _a8.toAttribute) ? i5.converter : a2).toAttribute(s4, i5.type);
646
+ this._$Em = t4, null == h3 ? this.removeAttribute(e5) : this.setAttribute(e5, h3), this._$Em = null;
647
+ }
648
+ }
649
+ _$AK(t4, s4) {
650
+ var _a8;
651
+ const i5 = this.constructor, e5 = i5._$Eh.get(t4);
652
+ if (void 0 !== e5 && this._$Em !== e5) {
653
+ const t5 = i5.getPropertyOptions(e5), h3 = "function" == typeof t5.converter ? { fromAttribute: t5.converter } : void 0 !== ((_a8 = t5.converter) == null ? void 0 : _a8.fromAttribute) ? t5.converter : a2;
654
+ this._$Em = e5, this[e5] = h3.fromAttribute(s4, t5.type), this._$Em = null;
655
+ }
656
+ }
657
+ requestUpdate(t4, s4, i5) {
658
+ let e5 = true;
659
+ void 0 !== t4 && (((i5 = i5 || this.constructor.getPropertyOptions(t4)).hasChanged || c3)(this[t4], s4) ? (this._$AL.has(t4) || this._$AL.set(t4, s4), true === i5.reflect && this._$Em !== t4 && (void 0 === this._$EC && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t4, i5))) : e5 = false), !this.isUpdatePending && e5 && (this._$E_ = this._$Ej());
660
+ }
661
+ async _$Ej() {
662
+ this.isUpdatePending = true;
663
+ try {
664
+ await this._$E_;
665
+ } catch (t5) {
666
+ Promise.reject(t5);
667
+ }
668
+ const t4 = this.scheduleUpdate();
669
+ return null != t4 && await t4, !this.isUpdatePending;
670
+ }
671
+ scheduleUpdate() {
672
+ return this.performUpdate();
673
+ }
674
+ performUpdate() {
675
+ var _a8;
676
+ if (!this.isUpdatePending)
677
+ return;
678
+ this.hasUpdated, this._$Ep && (this._$Ep = this._$Ep.forEach((t5, s5) => this[s5] = t5));
679
+ let t4 = false;
680
+ const s4 = this._$AL;
681
+ try {
682
+ t4 = this.shouldUpdate(s4), t4 ? (this.willUpdate(s4), (_a8 = this._$ES) == null ? void 0 : _a8.forEach((t5) => {
683
+ var _a9;
684
+ return (_a9 = t5.hostUpdate) == null ? void 0 : _a9.call(t5);
685
+ }), this.update(s4)) : this._$Ek();
686
+ } catch (s5) {
687
+ throw t4 = false, this._$Ek(), s5;
688
+ }
689
+ t4 && this._$AE(s4);
690
+ }
691
+ willUpdate(t4) {
692
+ }
693
+ _$AE(t4) {
694
+ var _a8;
695
+ (_a8 = this._$ES) == null ? void 0 : _a8.forEach((t5) => {
696
+ var _a9;
697
+ return (_a9 = t5.hostUpdated) == null ? void 0 : _a9.call(t5);
698
+ }), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t4)), this.updated(t4);
699
+ }
700
+ _$Ek() {
701
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
702
+ }
703
+ get updateComplete() {
704
+ return this.getUpdateComplete();
705
+ }
706
+ getUpdateComplete() {
707
+ return this._$E_;
708
+ }
709
+ shouldUpdate(t4) {
710
+ return true;
711
+ }
712
+ update(t4) {
713
+ this._$EC && (this._$EC = this._$EC.forEach((t5, s4) => this._$EO(s4, this[s4], t5))), this._$Ek();
714
+ }
715
+ updated(t4) {
716
+ }
717
+ firstUpdated(t4) {
718
+ }
719
+ };
720
+ var _a4;
721
+ d2[u2] = true, d2.elementProperties = /* @__PURE__ */ new Map(), d2.elementStyles = [], d2.shadowRootOptions = { mode: "open" }, n3 == null ? void 0 : n3({ ReactiveElement: d2 }), ((_a4 = h2.reactiveElementVersions) != null ? _a4 : h2.reactiveElementVersions = []).push("2.0.0-pre.0");
722
+
723
+ // ../../node_modules/.pnpm/lit-element@4.0.0-pre.0/node_modules/lit-element/lit-element.js
724
+ var s3 = class extends d2 {
725
+ constructor() {
726
+ super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
727
+ }
728
+ createRenderRoot() {
729
+ var _a8, _b;
730
+ const t4 = super.createRenderRoot();
731
+ return (_b = (_a8 = this.renderOptions).renderBefore) != null ? _b : _a8.renderBefore = t4.firstChild, t4;
732
+ }
733
+ update(t4) {
734
+ const r5 = this.render();
735
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t4), this._$Do = Z(r5, this.renderRoot, this.renderOptions);
736
+ }
737
+ connectedCallback() {
738
+ var _a8;
739
+ super.connectedCallback(), (_a8 = this._$Do) == null ? void 0 : _a8.setConnected(true);
740
+ }
741
+ disconnectedCallback() {
742
+ var _a8;
743
+ super.disconnectedCallback(), (_a8 = this._$Do) == null ? void 0 : _a8.setConnected(false);
744
+ }
745
+ render() {
746
+ return T;
747
+ }
748
+ };
749
+ var _a5;
750
+ s3.finalized = true, s3._$litElement$ = true, (_a5 = globalThis.litElementHydrateSupport) == null ? void 0 : _a5.call(globalThis, { LitElement: s3 });
751
+ var i3 = globalThis.litElementPolyfillSupport;
752
+ i3 == null ? void 0 : i3({ LitElement: s3 });
753
+ var _a6;
754
+ ((_a6 = globalThis.litElementVersions) != null ? _a6 : globalThis.litElementVersions = []).push("4.0.0-pre.0");
755
+
756
+ // ../../node_modules/.pnpm/@lit+reactive-element@2.0.0-pre.0/node_modules/@lit/reactive-element/node/decorators/custom-element.js
757
+ var e3 = (e5) => (n5) => "function" == typeof n5 ? ((e6, n6) => (customElements.define(e6, n6), n6))(e5, n5) : ((e6, n6) => {
758
+ const { kind: t4, elements: s4 } = n6;
759
+ return { kind: t4, elements: s4, finisher(n7) {
760
+ customElements.define(e6, n7);
761
+ } };
762
+ })(e5, n5);
763
+
764
+ // ../../node_modules/.pnpm/@lit+reactive-element@2.0.0-pre.0/node_modules/@lit/reactive-element/node/decorators/property.js
765
+ var i4 = (i5, e5) => "method" === e5.kind && e5.descriptor && !("value" in e5.descriptor) ? { ...e5, finisher(n5) {
766
+ n5.createProperty(e5.key, i5);
767
+ } } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: e5.key, initializer() {
768
+ "function" == typeof e5.initializer && (this[e5.key] = e5.initializer.call(this));
769
+ }, finisher(n5) {
770
+ n5.createProperty(e5.key, i5);
771
+ } };
772
+ var e4 = (i5, e5, n5) => {
773
+ e5.constructor.createProperty(n5, i5);
774
+ };
775
+ function n4(n5) {
776
+ return (t4, o6) => void 0 !== o6 ? e4(n5, t4, o6) : i4(n5, t4);
777
+ }
778
+
779
+ // ../../node_modules/.pnpm/@lit+reactive-element@2.0.0-pre.0/node_modules/@lit/reactive-element/node/decorators/state.js
780
+ function t3(t4) {
781
+ return n4({ ...t4, state: true });
782
+ }
783
+
784
+ // ../../node_modules/.pnpm/@lit+reactive-element@2.0.0-pre.0/node_modules/@lit/reactive-element/node/decorators/base.js
785
+ var o4 = ({ finisher: e5, descriptor: t4 }) => (o6, n5) => {
786
+ var _a8;
787
+ if (void 0 === n5) {
788
+ const n6 = (_a8 = o6.originalKey) != null ? _a8 : o6.key, r5 = null != t4 ? { kind: "method", placement: "prototype", key: n6, descriptor: t4(o6.key) } : { ...o6, key: n6 };
789
+ return null != e5 && (r5.finisher = function(t5) {
790
+ e5(t5, n6);
791
+ }), r5;
792
+ }
793
+ {
794
+ const r5 = o6.constructor;
795
+ void 0 !== t4 && Object.defineProperty(o6, n5, t4(n5)), e5 == null ? void 0 : e5(r5, n5);
796
+ }
797
+ };
798
+
799
+ // ../../node_modules/.pnpm/@lit+reactive-element@2.0.0-pre.0/node_modules/@lit/reactive-element/node/decorators/query.js
800
+ function r4(r5, n5) {
801
+ return o4({ descriptor: (t4) => {
802
+ const e5 = { get() {
803
+ var _a8, _b;
804
+ return (_b = (_a8 = this.renderRoot) == null ? void 0 : _a8.querySelector(r5)) != null ? _b : null;
805
+ }, enumerable: true, configurable: true };
806
+ if (n5) {
807
+ const t5 = Symbol();
808
+ e5.get = function() {
809
+ var _a8, _b;
810
+ return void 0 === this[t5] && (this[t5] = (_b = (_a8 = this.renderRoot) == null ? void 0 : _a8.querySelector(r5)) != null ? _b : null), this[t5];
811
+ };
812
+ }
813
+ return e5;
814
+ } });
815
+ }
816
+
817
+ // ../../node_modules/.pnpm/@lit+reactive-element@2.0.0-pre.0/node_modules/@lit/reactive-element/node/decorators/query-assigned-elements.js
818
+ var _a7;
819
+ var o5 = null != ((_a7 = globalThis.HTMLSlotElement) == null ? void 0 : _a7.prototype.assignedElements) ? (e5, o6) => e5.assignedElements(o6) : (e5, o6) => e5.assignedNodes(o6).filter((e6) => e6.nodeType === Node.ELEMENT_NODE);
820
+
821
+ // ../lit/src/styles/component.styles.ts
822
+ var componentStyles = i2`
823
+ :host {
824
+ box-sizing: border-box;
825
+ }
826
+
827
+ :host *,
828
+ :host *::before,
829
+ :host *::after {
830
+ box-sizing: inherit;
831
+ }
832
+ `;
833
+
834
+ // ../lit/src/styles/block-component.styles.ts
835
+ var blockComponentStyles = i2`
836
+ ${componentStyles}
837
+
838
+ :host {
839
+ display: block;
840
+ }
841
+ `;
842
+
843
+ export {
844
+ b,
845
+ T,
846
+ s3 as s,
847
+ e3 as e,
848
+ n4 as n,
849
+ t3 as t,
850
+ r4 as r,
851
+ blockComponentStyles
852
+ };
853
+ /*! Bundled license information:
854
+
855
+ lit-html/node/lit-html.js:
856
+ (**
857
+ * @license
858
+ * Copyright 2017 Google LLC
859
+ * SPDX-License-Identifier: BSD-3-Clause
860
+ *)
861
+
862
+ @lit-labs/ssr-dom-shim/lib/element-internals.js:
863
+ (**
864
+ * @license
865
+ * Copyright 2023 Google LLC
866
+ * SPDX-License-Identifier: BSD-3-Clause
867
+ *)
868
+
869
+ @lit-labs/ssr-dom-shim/index.js:
870
+ (**
871
+ * @license
872
+ * Copyright 2019 Google LLC
873
+ * SPDX-License-Identifier: BSD-3-Clause
874
+ *)
875
+
876
+ @lit/reactive-element/node/css-tag.js:
877
+ (**
878
+ * @license
879
+ * Copyright 2019 Google LLC
880
+ * SPDX-License-Identifier: BSD-3-Clause
881
+ *)
882
+
883
+ @lit/reactive-element/node/reactive-element.js:
884
+ (**
885
+ * @license
886
+ * Copyright 2017 Google LLC
887
+ * SPDX-License-Identifier: BSD-3-Clause
888
+ *)
889
+
890
+ lit-element/lit-element.js:
891
+ (**
892
+ * @license
893
+ * Copyright 2017 Google LLC
894
+ * SPDX-License-Identifier: BSD-3-Clause
895
+ *)
896
+
897
+ lit-html/node/is-server.js:
898
+ (**
899
+ * @license
900
+ * Copyright 2022 Google LLC
901
+ * SPDX-License-Identifier: BSD-3-Clause
902
+ *)
903
+
904
+ @lit/reactive-element/node/decorators/custom-element.js:
905
+ (**
906
+ * @license
907
+ * Copyright 2017 Google LLC
908
+ * SPDX-License-Identifier: BSD-3-Clause
909
+ *)
910
+
911
+ @lit/reactive-element/node/decorators/property.js:
912
+ (**
913
+ * @license
914
+ * Copyright 2017 Google LLC
915
+ * SPDX-License-Identifier: BSD-3-Clause
916
+ *)
917
+
918
+ @lit/reactive-element/node/decorators/state.js:
919
+ (**
920
+ * @license
921
+ * Copyright 2017 Google LLC
922
+ * SPDX-License-Identifier: BSD-3-Clause
923
+ *)
924
+
925
+ @lit/reactive-element/node/decorators/base.js:
926
+ (**
927
+ * @license
928
+ * Copyright 2017 Google LLC
929
+ * SPDX-License-Identifier: BSD-3-Clause
930
+ *)
931
+
932
+ @lit/reactive-element/node/decorators/query.js:
933
+ (**
934
+ * @license
935
+ * Copyright 2017 Google LLC
936
+ * SPDX-License-Identifier: BSD-3-Clause
937
+ *)
938
+
939
+ @lit/reactive-element/node/decorators/event-options.js:
940
+ (**
941
+ * @license
942
+ * Copyright 2017 Google LLC
943
+ * SPDX-License-Identifier: BSD-3-Clause
944
+ *)
945
+
946
+ @lit/reactive-element/node/decorators/query-all.js:
947
+ (**
948
+ * @license
949
+ * Copyright 2017 Google LLC
950
+ * SPDX-License-Identifier: BSD-3-Clause
951
+ *)
952
+
953
+ @lit/reactive-element/node/decorators/query-async.js:
954
+ (**
955
+ * @license
956
+ * Copyright 2017 Google LLC
957
+ * SPDX-License-Identifier: BSD-3-Clause
958
+ *)
959
+
960
+ @lit/reactive-element/node/decorators/query-assigned-elements.js:
961
+ (**
962
+ * @license
963
+ * Copyright 2021 Google LLC
964
+ * SPDX-License-Identifier: BSD-3-Clause
965
+ *)
966
+
967
+ @lit/reactive-element/node/decorators/query-assigned-nodes.js:
968
+ (**
969
+ * @license
970
+ * Copyright 2017 Google LLC
971
+ * SPDX-License-Identifier: BSD-3-Clause
972
+ *)
973
+ */