@vezham/start 0.3.0 → 0.3.2

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.
@@ -2,9 +2,9 @@ var dt = (e) => {
2
2
  throw TypeError(e);
3
3
  };
4
4
  var ht = (e, t, n) => t.has(e) || dt("Cannot " + n);
5
- var d = (e, t, n) => (ht(e, t, "read from private field"), n ? n.call(e) : t.get(e)), v = (e, t, n) => t.has(e) ? dt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), p = (e, t, n, r) => (ht(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
6
- import * as k from "react";
7
- import { u as Ct, o as Tt } from "./index-BSmv-Jo5.mjs";
5
+ var d = (e, t, n) => (ht(e, t, "read from private field"), n ? n.call(e) : t.get(e)), p = (e, t, n) => t.has(e) ? dt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), v = (e, t, n, r) => (ht(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
6
+ import * as P from "react";
7
+ import { u as Ct, o as Tt } from "./index-CbtQygO9.mjs";
8
8
  import { jsx as xt } from "react/jsx-runtime";
9
9
  var h = {
10
10
  context: void 0,
@@ -25,29 +25,29 @@ function gt(e) {
25
25
  function he(e) {
26
26
  h.context = e;
27
27
  }
28
- var un = (e, t) => e === t, $e = Symbol("solid-proxy"), Nt = typeof Proxy == "function", kt = Symbol("solid-track"), Be = {
29
- equals: un
30
- }, Pt = Vt, $ = 1, je = 2, It = {
28
+ var Nt = !1, cn = (e, t) => e === t, $e = Symbol("solid-proxy"), kt = typeof Proxy == "function", Pt = Symbol("solid-track"), Be = {
29
+ equals: cn
30
+ }, It = _t, $ = 1, je = 2, Rt = {
31
31
  owned: null,
32
32
  cleanups: null,
33
33
  context: null,
34
34
  owner: null
35
- }, We = {}, m = null, Ye = null, cn = null, w = null, x = null, _ = null, Ke = 0;
35
+ }, We = {}, m = null, Ye = null, fn = null, w = null, N = null, _ = null, Ke = 0;
36
36
  function K(e, t) {
37
- const n = w, r = m, s = e.length === 0, i = t === void 0 ? r : t, o = s ? It : {
37
+ const n = w, r = m, s = e.length === 0, i = t === void 0 ? r : t, o = s ? Rt : {
38
38
  owned: null,
39
39
  cleanups: null,
40
40
  context: i ? i.context : null,
41
41
  owner: i
42
- }, l = s ? e : () => e(() => T(() => pe(o)));
42
+ }, l = s ? e : () => e(() => x(() => ve(o)));
43
43
  m = o, w = null;
44
44
  try {
45
- return V(l, !0);
45
+ return L(l, !0);
46
46
  } finally {
47
47
  w = n, m = r;
48
48
  }
49
49
  }
50
- function A(e, t) {
50
+ function E(e, t) {
51
51
  t = t ? Object.assign({}, Be, t) : Be;
52
52
  const n = {
53
53
  value: e,
@@ -55,9 +55,9 @@ function A(e, t) {
55
55
  observerSlots: null,
56
56
  comparator: t.equals || void 0
57
57
  }, r = (s) => (typeof s == "function" && (s = s(n.value)), Lt(n, s));
58
- return [Dt.bind(n), r];
58
+ return [Vt.bind(n), r];
59
59
  }
60
- function fn(e, t, n) {
60
+ function dn(e, t, n) {
61
61
  const r = Qe(e, t, !0, $);
62
62
  de(r);
63
63
  }
@@ -65,69 +65,66 @@ function Q(e, t, n) {
65
65
  const r = Qe(e, t, !1, $);
66
66
  de(r);
67
67
  }
68
- function Rt(e, t, n) {
69
- Pt = Sn;
68
+ function Mt(e, t, n) {
69
+ It = En;
70
70
  const r = Qe(e, t, !1, $);
71
71
  (!n || !n.render) && (r.user = !0), _ ? _.push(r) : de(r);
72
72
  }
73
- function P(e, t, n) {
73
+ function T(e, t, n) {
74
74
  n = n ? Object.assign({}, Be, n) : Be;
75
75
  const r = Qe(e, t, !0, 0);
76
- return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0, de(r), Dt.bind(r);
76
+ return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0, de(r), Vt.bind(r);
77
77
  }
78
- function dn(e) {
78
+ function hn(e) {
79
79
  return e && typeof e == "object" && "then" in e;
80
80
  }
81
- function hn(e, t, n) {
81
+ function gn(e, t, n) {
82
82
  let r, s, i;
83
83
  r = !0, s = e, i = {};
84
- let o = null, l = We, a = null, u = !1, f = "initialValue" in i, c = typeof r == "function" && P(r);
85
- const g = /* @__PURE__ */ new Set(), [y, S] = (i.storage || A)(i.initialValue), [C, B] = A(void 0), [U, M] = A(void 0, {
84
+ let o = null, l = We, a = null, u = !1, f = "initialValue" in i, c = typeof r == "function" && T(r);
85
+ const g = /* @__PURE__ */ new Set(), [y, S] = (i.storage || E)(i.initialValue), [C, B] = E(void 0), [F, M] = E(void 0, {
86
86
  equals: !1
87
- }), [I, D] = A(f ? "ready" : "unresolved");
87
+ }), [I, D] = E(f ? "ready" : "unresolved");
88
88
  h.context && (a = h.getNextContextId(), i.ssrLoadFrom === "initial" ? l = i.initialValue : h.load && h.has(a) && (l = h.load(a)));
89
- function R(N, E, O, G) {
90
- return o === N && (o = null, G !== void 0 && (f = !0), (N === l || E === l) && i.onHydrated && queueMicrotask(
89
+ function R(k, A, O, G) {
90
+ return o === k && (o = null, G !== void 0 && (f = !0), (k === l || A === l) && i.onHydrated && queueMicrotask(
91
91
  () => i.onHydrated(G, {
92
- value: E
92
+ value: A
93
93
  })
94
- ), l = We, Ge(E, O)), E;
94
+ ), l = We, Ge(A, O)), A;
95
95
  }
96
- function Ge(N, E) {
97
- V(() => {
98
- E === void 0 && S(() => N), D(E !== void 0 ? "errored" : f ? "ready" : "unresolved"), B(E);
99
- for (const O of g.keys())
100
- O.decrement();
96
+ function Ge(k, A) {
97
+ L(() => {
98
+ A === void 0 && S(() => k), D(A !== void 0 ? "errored" : f ? "ready" : "unresolved"), B(A);
99
+ for (const O of g.keys()) O.decrement();
101
100
  g.clear();
102
101
  }, !1);
103
102
  }
104
103
  function He() {
105
- const N = vn, E = y(), O = C();
106
- if (O !== void 0 && !o)
107
- throw O;
108
- return w && w.user, E;
104
+ const k = wn, A = y(), O = C();
105
+ if (O !== void 0 && !o) throw O;
106
+ return w && w.user, A;
109
107
  }
110
- function Xe(N = !0) {
111
- if (N !== !1 && u)
112
- return;
108
+ function Xe(k = !0) {
109
+ if (k !== !1 && u) return;
113
110
  u = !1;
114
- const E = c ? c() : r;
115
- if (E == null || E === !1) {
116
- R(o, T(y));
111
+ const A = c ? c() : r;
112
+ if (A == null || A === !1) {
113
+ R(o, x(y));
117
114
  return;
118
115
  }
119
- const O = l !== We ? l : T(
120
- () => s(E, {
116
+ const O = l !== We ? l : x(
117
+ () => s(A, {
121
118
  value: y(),
122
- refetching: N
119
+ refetching: k
123
120
  })
124
121
  );
125
- return dn(O) ? (o = O, "value" in O ? (O.status === "success" ? R(o, O.value, void 0, E) : R(o, void 0, et(O.value), E), O) : (u = !0, queueMicrotask(() => u = !1), V(() => {
122
+ return hn(O) ? (o = O, "value" in O ? (O.status === "success" ? R(o, O.value, void 0, A) : R(o, void 0, et(O.value), A), O) : (u = !0, queueMicrotask(() => u = !1), L(() => {
126
123
  D(f ? "refreshing" : "pending"), M();
127
124
  }, !1), O.then(
128
- (G) => R(O, G, void 0, E),
129
- (G) => R(O, void 0, et(G), E)
130
- ))) : (R(o, O, void 0, E), O);
125
+ (G) => R(O, G, void 0, A),
126
+ (G) => R(O, void 0, et(G), A)
127
+ ))) : (R(o, O, void 0, A), O);
131
128
  }
132
129
  return Object.defineProperties(He, {
133
130
  state: {
@@ -138,21 +135,19 @@ function hn(e, t, n) {
138
135
  },
139
136
  loading: {
140
137
  get() {
141
- const N = I();
142
- return N === "pending" || N === "refreshing";
138
+ const k = I();
139
+ return k === "pending" || k === "refreshing";
143
140
  }
144
141
  },
145
142
  latest: {
146
143
  get() {
147
- if (!f)
148
- return He();
149
- const N = C();
150
- if (N && !o)
151
- throw N;
144
+ if (!f) return He();
145
+ const k = C();
146
+ if (k && !o) throw k;
152
147
  return y();
153
148
  }
154
149
  }
155
- }), c ? fn(() => Xe(!1)) : Xe(!1), [
150
+ }), c ? dn(() => Xe(!1)) : Xe(!1), [
156
151
  He,
157
152
  {
158
153
  refetch: Xe,
@@ -160,12 +155,11 @@ function hn(e, t, n) {
160
155
  }
161
156
  ];
162
157
  }
163
- function jr(e) {
164
- return V(e, !1);
158
+ function Ur(e) {
159
+ return L(e, !1);
165
160
  }
166
- function T(e) {
167
- if (w === null)
168
- return e();
161
+ function x(e) {
162
+ if (w === null) return e();
169
163
  const t = w;
170
164
  w = null;
171
165
  try {
@@ -174,25 +168,23 @@ function T(e) {
174
168
  w = t;
175
169
  }
176
170
  }
177
- function Ur(e, t, n) {
171
+ function qr(e, t, n) {
178
172
  const r = Array.isArray(e);
179
173
  let s, i = n && n.defer;
180
174
  return (o) => {
181
175
  let l;
182
176
  if (r) {
183
177
  l = Array(e.length);
184
- for (let u = 0; u < e.length; u++)
185
- l[u] = e[u]();
186
- } else
187
- l = e();
178
+ for (let u = 0; u < e.length; u++) l[u] = e[u]();
179
+ } else l = e();
188
180
  if (i)
189
181
  return i = !1, o;
190
- const a = T(() => t(l, s, o));
182
+ const a = x(() => t(l, s, o));
191
183
  return s = l, a;
192
184
  };
193
185
  }
194
- function gn(e) {
195
- Rt(() => T(e));
186
+ function yn(e) {
187
+ Mt(() => x(e));
196
188
  }
197
189
  function me(e) {
198
190
  return m === null || (m.cleanups === null ? m.cleanups = [e] : m.cleanups.push(e)), e;
@@ -200,30 +192,30 @@ function me(e) {
200
192
  function yt() {
201
193
  return m;
202
194
  }
203
- function yn(e, t) {
195
+ function mn(e, t) {
204
196
  const n = m, r = w;
205
197
  m = e, w = null;
206
198
  try {
207
- return V(t, !0);
199
+ return L(t, !0);
208
200
  } catch (s) {
209
201
  ft(s);
210
202
  } finally {
211
203
  m = n, w = r;
212
204
  }
213
205
  }
214
- function mn(e) {
206
+ function vn(e) {
215
207
  const t = w, n = m;
216
208
  return Promise.resolve().then(() => {
217
209
  w = t, m = n;
218
210
  let r;
219
- return V(e, !1), w = m = null, r ? r.done : void 0;
211
+ return L(e, !1), w = m = null, r ? r.done : void 0;
220
212
  });
221
213
  }
222
- var [pn, qr] = /* @__PURE__ */ A(!1);
223
- function Fr() {
224
- return [pn, mn];
214
+ var [pn, Kr] = /* @__PURE__ */ E(!1);
215
+ function Qr() {
216
+ return [pn, vn];
225
217
  }
226
- function Kr(e, t) {
218
+ function zr(e, t) {
227
219
  const n = Symbol("context");
228
220
  return {
229
221
  id: n,
@@ -231,25 +223,24 @@ function Kr(e, t) {
231
223
  defaultValue: e
232
224
  };
233
225
  }
234
- function Qr(e) {
226
+ function Gr(e) {
235
227
  let t;
236
228
  return m && m.context && (t = m.context[e.id]) !== void 0 ? t : e.defaultValue;
237
229
  }
238
- function Mt(e) {
239
- const t = P(e), n = P(() => tt(t()));
230
+ function Dt(e) {
231
+ const t = T(e), n = T(() => tt(t()));
240
232
  return n.toArray = () => {
241
233
  const r = n();
242
234
  return Array.isArray(r) ? r : r != null ? [r] : [];
243
235
  }, n;
244
236
  }
245
- var vn;
246
- function Dt() {
237
+ var wn;
238
+ function Vt() {
247
239
  if (this.sources && this.state)
248
- if (this.state === $)
249
- de(this);
240
+ if (this.state === $) de(this);
250
241
  else {
251
- const e = x;
252
- x = null, V(() => qe(this), !1), x = e;
242
+ const e = N;
243
+ N = null, L(() => Ue(this), !1), N = e;
253
244
  }
254
245
  if (w) {
255
246
  const e = this.observers ? this.observers.length : 0;
@@ -259,34 +250,33 @@ function Dt() {
259
250
  }
260
251
  function Lt(e, t, n) {
261
252
  let r = e.value;
262
- return (!e.comparator || !e.comparator(r, t)) && (e.value = t, e.observers && e.observers.length && V(() => {
253
+ return (!e.comparator || !e.comparator(r, t)) && (e.value = t, e.observers && e.observers.length && L(() => {
263
254
  for (let s = 0; s < e.observers.length; s += 1) {
264
255
  const i = e.observers[s], o = Ye && Ye.running;
265
- o && Ye.disposed.has(i), (o ? !i.tState : !i.state) && (i.pure ? x.push(i) : _.push(i), i.observers && _t(i)), o || (i.state = $);
256
+ o && Ye.disposed.has(i), (o ? !i.tState : !i.state) && (i.pure ? N.push(i) : _.push(i), i.observers && $t(i)), o || (i.state = $);
266
257
  }
267
- if (x.length > 1e6)
268
- throw x = [], new Error();
258
+ if (N.length > 1e6)
259
+ throw N = [], new Error();
269
260
  }, !1)), t;
270
261
  }
271
262
  function de(e) {
272
- if (!e.fn)
273
- return;
274
- pe(e);
263
+ if (!e.fn) return;
264
+ ve(e);
275
265
  const t = Ke;
276
- wn(
266
+ bn(
277
267
  e,
278
268
  e.value,
279
269
  t
280
270
  );
281
271
  }
282
- function wn(e, t, n) {
272
+ function bn(e, t, n) {
283
273
  let r;
284
274
  const s = m, i = w;
285
275
  w = m = e;
286
276
  try {
287
277
  r = e.fn(t);
288
278
  } catch (o) {
289
- return e.pure && (e.state = $, e.owned && e.owned.forEach(pe), e.owned = null), e.updatedAt = n + 1, ft(o);
279
+ return e.pure && (e.state = $, e.owned && e.owned.forEach(ve), e.owned = null), e.updatedAt = n + 1, ft(o);
290
280
  } finally {
291
281
  w = i, m = s;
292
282
  }
@@ -306,15 +296,12 @@ function Qe(e, t, n, r = $, s) {
306
296
  context: m ? m.context : null,
307
297
  pure: n
308
298
  };
309
- return m === null || m !== It && (m.owned ? m.owned.push(i) : m.owned = [i]), i;
299
+ return m === null || m !== Rt && (m.owned ? m.owned.push(i) : m.owned = [i]), i;
310
300
  }
311
- function Ue(e) {
312
- if (e.state === 0)
313
- return;
314
- if (e.state === je)
315
- return qe(e);
316
- if (e.suspense && T(e.suspense.inFallback))
317
- return e.suspense.effects.push(e);
301
+ function Fe(e) {
302
+ if (e.state === 0) return;
303
+ if (e.state === je) return Ue(e);
304
+ if (e.suspense && x(e.suspense.inFallback)) return e.suspense.effects.push(e);
318
305
  const t = [e];
319
306
  for (; (e = e.owner) && (!e.updatedAt || e.updatedAt < Ke); )
320
307
  e.state && t.push(e);
@@ -322,37 +309,34 @@ function Ue(e) {
322
309
  if (e = t[n], e.state === $)
323
310
  de(e);
324
311
  else if (e.state === je) {
325
- const r = x;
326
- x = null, V(() => qe(e, t[0]), !1), x = r;
312
+ const r = N;
313
+ N = null, L(() => Ue(e, t[0]), !1), N = r;
327
314
  }
328
315
  }
329
- function V(e, t) {
330
- if (x)
331
- return e();
316
+ function L(e, t) {
317
+ if (N) return e();
332
318
  let n = !1;
333
- t || (x = []), _ ? n = !0 : _ = [], Ke++;
319
+ t || (N = []), _ ? n = !0 : _ = [], Ke++;
334
320
  try {
335
321
  const r = e();
336
- return bn(n), r;
322
+ return Sn(n), r;
337
323
  } catch (r) {
338
- n || (_ = null), x = null, ft(r);
324
+ n || (_ = null), N = null, ft(r);
339
325
  }
340
326
  }
341
- function bn(e) {
342
- if (x && (Vt(x), x = null), e)
343
- return;
327
+ function Sn(e) {
328
+ if (N && (_t(N), N = null), e) return;
344
329
  const t = _;
345
- _ = null, t.length && V(() => Pt(t), !1);
330
+ _ = null, t.length && L(() => It(t), !1);
346
331
  }
347
- function Vt(e) {
348
- for (let t = 0; t < e.length; t++)
349
- Ue(e[t]);
332
+ function _t(e) {
333
+ for (let t = 0; t < e.length; t++) Fe(e[t]);
350
334
  }
351
- function Sn(e) {
335
+ function En(e) {
352
336
  let t, n = 0;
353
337
  for (t = 0; t < e.length; t++) {
354
338
  const r = e[t];
355
- r.user ? e[n++] = r : Ue(r);
339
+ r.user ? e[n++] = r : Fe(r);
356
340
  }
357
341
  if (h.context) {
358
342
  if (h.count) {
@@ -361,26 +345,25 @@ function Sn(e) {
361
345
  }
362
346
  he();
363
347
  }
364
- for (h.effects && (h.done || !h.count) && (e = [...h.effects, ...e], n += h.effects.length, delete h.effects), t = 0; t < n; t++)
365
- Ue(e[t]);
348
+ for (h.effects && (h.done || !h.count) && (e = [...h.effects, ...e], n += h.effects.length, delete h.effects), t = 0; t < n; t++) Fe(e[t]);
366
349
  }
367
- function qe(e, t) {
350
+ function Ue(e, t) {
368
351
  e.state = 0;
369
352
  for (let n = 0; n < e.sources.length; n += 1) {
370
353
  const r = e.sources[n];
371
354
  if (r.sources) {
372
355
  const s = r.state;
373
- s === $ ? r !== t && (!r.updatedAt || r.updatedAt < Ke) && Ue(r) : s === je && qe(r, t);
356
+ s === $ ? r !== t && (!r.updatedAt || r.updatedAt < Ke) && Fe(r) : s === je && Ue(r, t);
374
357
  }
375
358
  }
376
359
  }
377
- function _t(e) {
360
+ function $t(e) {
378
361
  for (let t = 0; t < e.observers.length; t += 1) {
379
362
  const n = e.observers[t];
380
- n.state || (n.state = je, n.pure ? x.push(n) : _.push(n), n.observers && _t(n));
363
+ n.state || (n.state = je, n.pure ? N.push(n) : _.push(n), n.observers && $t(n));
381
364
  }
382
365
  }
383
- function pe(e) {
366
+ function ve(e) {
384
367
  let t;
385
368
  if (e.sources)
386
369
  for (; e.sources.length; ) {
@@ -391,18 +374,15 @@ function pe(e) {
391
374
  }
392
375
  }
393
376
  if (e.tOwned) {
394
- for (t = e.tOwned.length - 1; t >= 0; t--)
395
- pe(e.tOwned[t]);
377
+ for (t = e.tOwned.length - 1; t >= 0; t--) ve(e.tOwned[t]);
396
378
  delete e.tOwned;
397
379
  }
398
380
  if (e.owned) {
399
- for (t = e.owned.length - 1; t >= 0; t--)
400
- pe(e.owned[t]);
381
+ for (t = e.owned.length - 1; t >= 0; t--) ve(e.owned[t]);
401
382
  e.owned = null;
402
383
  }
403
384
  if (e.cleanups) {
404
- for (t = e.cleanups.length - 1; t >= 0; t--)
405
- e.cleanups[t]();
385
+ for (t = e.cleanups.length - 1; t >= 0; t--) e.cleanups[t]();
406
386
  e.cleanups = null;
407
387
  }
408
388
  e.state = 0;
@@ -416,8 +396,7 @@ function ft(e, t = m) {
416
396
  throw et(e);
417
397
  }
418
398
  function tt(e) {
419
- if (typeof e == "function" && !e.length)
420
- return tt(e());
399
+ if (typeof e == "function" && !e.length) return tt(e());
421
400
  if (Array.isArray(e)) {
422
401
  const t = [];
423
402
  for (let n = 0; n < e.length; n++) {
@@ -432,62 +411,60 @@ function An(e, t) {
432
411
  return function(r) {
433
412
  let s;
434
413
  return Q(
435
- () => s = T(() => (m.context = {
414
+ () => s = x(() => (m.context = {
436
415
  ...m.context,
437
416
  [e]: r.value
438
- }, Mt(() => r.children))),
417
+ }, Dt(() => r.children))),
439
418
  void 0
440
419
  ), s;
441
420
  };
442
421
  }
443
422
  var nt = Symbol("fallback");
444
- function Fe(e) {
445
- for (let t = 0; t < e.length; t++)
446
- e[t]();
423
+ function qe(e) {
424
+ for (let t = 0; t < e.length; t++) e[t]();
447
425
  }
448
- function En(e, t, n = {}) {
426
+ function On(e, t, n = {}) {
449
427
  let r = [], s = [], i = [], o = 0, l = t.length > 1 ? [] : null;
450
- return me(() => Fe(i)), () => {
428
+ return me(() => qe(i)), () => {
451
429
  let a = e() || [], u = a.length, f, c;
452
- return a[kt], T(() => {
453
- let y, S, C, B, U, M, I, D, R;
430
+ return a[Pt], x(() => {
431
+ let y, S, C, B, F, M, I, D, R;
454
432
  if (u === 0)
455
- o !== 0 && (Fe(i), i = [], r = [], s = [], o = 0, l && (l = [])), n.fallback && (r = [nt], s[0] = K((Ge) => (i[0] = Ge, n.fallback())), o = 1);
433
+ o !== 0 && (qe(i), i = [], r = [], s = [], o = 0, l && (l = [])), n.fallback && (r = [nt], s[0] = K((Ge) => (i[0] = Ge, n.fallback())), o = 1);
456
434
  else if (o === 0) {
457
435
  for (s = new Array(u), c = 0; c < u; c++)
458
436
  r[c] = a[c], s[c] = K(g);
459
437
  o = u;
460
438
  } else {
461
- for (C = new Array(u), B = new Array(u), l && (U = new Array(u)), M = 0, I = Math.min(o, u); M < I && r[M] === a[M]; M++)
462
- ;
439
+ for (C = new Array(u), B = new Array(u), l && (F = new Array(u)), M = 0, I = Math.min(o, u); M < I && r[M] === a[M]; M++) ;
463
440
  for (I = o - 1, D = u - 1; I >= M && D >= M && r[I] === a[D]; I--, D--)
464
- C[D] = s[I], B[D] = i[I], l && (U[D] = l[I]);
441
+ C[D] = s[I], B[D] = i[I], l && (F[D] = l[I]);
465
442
  for (y = /* @__PURE__ */ new Map(), S = new Array(D + 1), c = D; c >= M; c--)
466
443
  R = a[c], f = y.get(R), S[c] = f === void 0 ? -1 : f, y.set(R, c);
467
444
  for (f = M; f <= I; f++)
468
- R = r[f], c = y.get(R), c !== void 0 && c !== -1 ? (C[c] = s[f], B[c] = i[f], l && (U[c] = l[f]), c = S[c], y.set(R, c)) : i[f]();
445
+ R = r[f], c = y.get(R), c !== void 0 && c !== -1 ? (C[c] = s[f], B[c] = i[f], l && (F[c] = l[f]), c = S[c], y.set(R, c)) : i[f]();
469
446
  for (c = M; c < u; c++)
470
- c in C ? (s[c] = C[c], i[c] = B[c], l && (l[c] = U[c], l[c](c))) : s[c] = K(g);
447
+ c in C ? (s[c] = C[c], i[c] = B[c], l && (l[c] = F[c], l[c](c))) : s[c] = K(g);
471
448
  s = s.slice(0, o = u), r = a.slice(0);
472
449
  }
473
450
  return s;
474
451
  });
475
452
  function g(y) {
476
453
  if (i[c] = y, l) {
477
- const [S, C] = A(c);
454
+ const [S, C] = E(c);
478
455
  return l[c] = C, t(a[c], S);
479
456
  }
480
457
  return t(a[c]);
481
458
  }
482
459
  };
483
460
  }
484
- function On(e, t, n = {}) {
461
+ function Cn(e, t, n = {}) {
485
462
  let r = [], s = [], i = [], o = [], l = 0, a;
486
- return me(() => Fe(i)), () => {
463
+ return me(() => qe(i)), () => {
487
464
  const u = e() || [], f = u.length;
488
- return u[kt], T(() => {
465
+ return u[Pt], x(() => {
489
466
  if (f === 0)
490
- return l !== 0 && (Fe(i), i = [], r = [], s = [], l = 0, o = []), n.fallback && (r = [nt], s[0] = K((g) => (i[0] = g, n.fallback())), l = 1), s;
467
+ return l !== 0 && (qe(i), i = [], r = [], s = [], l = 0, o = []), n.fallback && (r = [nt], s[0] = K((g) => (i[0] = g, n.fallback())), l = 1), s;
491
468
  for (r[0] === nt && (i[0](), i = [], r = [], s = [], l = 0), a = 0; a < f; a++)
492
469
  a < r.length && r[a] !== u[a] ? o[a](() => u[a]) : a >= r.length && (s[a] = K(c));
493
470
  for (; a < r.length; a++)
@@ -496,13 +473,13 @@ function On(e, t, n = {}) {
496
473
  });
497
474
  function c(g) {
498
475
  i[a] = g;
499
- const [y, S] = A(u[a]);
476
+ const [y, S] = E(u[a]);
500
477
  return o[a] = S, t(y, a);
501
478
  }
502
479
  };
503
480
  }
504
- function $t(e, t) {
505
- return T(() => e(t || {}));
481
+ function Bt(e, t) {
482
+ return x(() => e(t || {}));
506
483
  }
507
484
  function Re() {
508
485
  return !0;
@@ -534,33 +511,30 @@ var rt = {
534
511
  function Ze(e) {
535
512
  return (e = typeof e == "function" ? e() : e) ? e : {};
536
513
  }
537
- function Cn() {
514
+ function Tn() {
538
515
  for (let e = 0, t = this.length; e < t; ++e) {
539
516
  const n = this[e]();
540
- if (n !== void 0)
541
- return n;
517
+ if (n !== void 0) return n;
542
518
  }
543
519
  }
544
- function Bt(...e) {
520
+ function jt(...e) {
545
521
  let t = !1;
546
522
  for (let o = 0; o < e.length; o++) {
547
523
  const l = e[o];
548
- t = t || !!l && $e in l, e[o] = typeof l == "function" ? (t = !0, P(l)) : l;
524
+ t = t || !!l && $e in l, e[o] = typeof l == "function" ? (t = !0, T(l)) : l;
549
525
  }
550
- if (Nt && t)
526
+ if (kt && t)
551
527
  return new Proxy(
552
528
  {
553
529
  get(o) {
554
530
  for (let l = e.length - 1; l >= 0; l--) {
555
531
  const a = Ze(e[l])[o];
556
- if (a !== void 0)
557
- return a;
532
+ if (a !== void 0) return a;
558
533
  }
559
534
  },
560
535
  has(o) {
561
536
  for (let l = e.length - 1; l >= 0; l--)
562
- if (o in Ze(e[l]))
563
- return !0;
537
+ if (o in Ze(e[l])) return !0;
564
538
  return !1;
565
539
  },
566
540
  keys() {
@@ -575,19 +549,17 @@ function Bt(...e) {
575
549
  const n = {}, r = /* @__PURE__ */ Object.create(null);
576
550
  for (let o = e.length - 1; o >= 0; o--) {
577
551
  const l = e[o];
578
- if (!l)
579
- continue;
552
+ if (!l) continue;
580
553
  const a = Object.getOwnPropertyNames(l);
581
554
  for (let u = a.length - 1; u >= 0; u--) {
582
555
  const f = a[u];
583
- if (f === "__proto__" || f === "constructor")
584
- continue;
556
+ if (f === "__proto__" || f === "constructor") continue;
585
557
  const c = Object.getOwnPropertyDescriptor(l, f);
586
558
  if (!r[f])
587
559
  r[f] = c.get ? {
588
560
  enumerable: !0,
589
561
  configurable: !0,
590
- get: Cn.bind(n[f] = [c.get.bind(l)])
562
+ get: Tn.bind(n[f] = [c.get.bind(l)])
591
563
  } : c.value !== void 0 ? c : void 0;
592
564
  else {
593
565
  const g = n[f];
@@ -602,8 +574,8 @@ function Bt(...e) {
602
574
  }
603
575
  return s;
604
576
  }
605
- function Tn(e, ...t) {
606
- if (Nt && $e in e) {
577
+ function xn(e, ...t) {
578
+ if (kt && $e in e) {
607
579
  const s = new Set(t.length > 1 ? t.flat() : t[0]), i = t.map((o) => new Proxy(
608
580
  {
609
581
  get(l) {
@@ -645,24 +617,23 @@ function Tn(e, ...t) {
645
617
  }
646
618
  return [...r, n];
647
619
  }
648
- function jt(e) {
620
+ function Ft(e) {
649
621
  let t, n;
650
622
  const r = (s) => {
651
623
  const i = h.context;
652
624
  if (i) {
653
- const [l, a] = A();
625
+ const [l, a] = E();
654
626
  h.count || (h.count = 0), h.count++, (n || (n = e())).then((u) => {
655
627
  !h.done && he(i), h.count--, a(() => u.default), he();
656
628
  }), t = l;
657
629
  } else if (!t) {
658
- const [l] = hn(() => (n || (n = e())).then((a) => a.default));
630
+ const [l] = gn(() => (n || (n = e())).then((a) => a.default));
659
631
  t = l;
660
632
  }
661
633
  let o;
662
- return P(
663
- () => (o = t()) ? T(() => {
664
- if (!i || h.done)
665
- return o(s);
634
+ return T(
635
+ () => (o = t()) ? x(() => {
636
+ if (!i || h.done) return o(s);
666
637
  const l = h.context;
667
638
  he(i);
668
639
  const a = o(s);
@@ -672,41 +643,40 @@ function jt(e) {
672
643
  };
673
644
  return r.preload = () => n || ((n = e()).then((s) => t = () => s.default), n), r;
674
645
  }
675
- var xn = 0;
676
- function zr() {
677
- return h.context ? h.getNextContextId() : `cl-${xn++}`;
646
+ var Nn = 0;
647
+ function Hr() {
648
+ return h.context ? h.getNextContextId() : `cl-${Nn++}`;
678
649
  }
679
650
  var Ut = (e) => `Stale read from <${e}>.`;
680
- function Gr(e) {
651
+ function Xr(e) {
681
652
  const t = "fallback" in e && {
682
653
  fallback: () => e.fallback
683
654
  };
684
- return P(En(() => e.each, e.children, t || void 0));
655
+ return T(On(() => e.each, e.children, t || void 0));
685
656
  }
686
- function Hr(e) {
657
+ function Wr(e) {
687
658
  const t = "fallback" in e && {
688
659
  fallback: () => e.fallback
689
660
  };
690
- return P(On(() => e.each, e.children, t || void 0));
661
+ return T(Cn(() => e.each, e.children, t || void 0));
691
662
  }
692
- function Xr(e) {
693
- const t = e.keyed, n = P(() => e.when, void 0, {
694
- equals: (r, s) => t ? r === s : !r == !s
663
+ function Yr(e) {
664
+ const t = e.keyed, n = T(() => e.when, void 0, void 0), r = t ? n : T(n, void 0, {
665
+ equals: (s, i) => !s == !i
695
666
  });
696
- return P(
667
+ return T(
697
668
  () => {
698
- const r = n();
699
- if (r) {
700
- const s = e.children;
701
- return typeof s == "function" && s.length > 0 ? T(
702
- () => s(
703
- t ? r : () => {
704
- if (!T(n))
705
- throw Ut("Show");
706
- return e.when;
669
+ const s = r();
670
+ if (s) {
671
+ const i = e.children;
672
+ return typeof i == "function" && i.length > 0 ? x(
673
+ () => i(
674
+ t ? s : () => {
675
+ if (!x(r)) throw Ut("Show");
676
+ return n();
707
677
  }
708
678
  )
709
- ) : s;
679
+ ) : i;
710
680
  }
711
681
  return e.fallback;
712
682
  },
@@ -714,48 +684,46 @@ function Xr(e) {
714
684
  void 0
715
685
  );
716
686
  }
717
- function Wr(e) {
718
- let t = !1;
719
- const n = (i, o) => (t ? i[1] === o[1] : !i[1] == !o[1]) && i[2] === o[2], r = Mt(() => e.children), s = P(
720
- () => {
721
- let i = r();
722
- Array.isArray(i) || (i = [i]);
723
- for (let o = 0; o < i.length; o++) {
724
- const l = i[o].when;
725
- if (l)
726
- return t = !!i[o].keyed, [o, l, i[o]];
727
- }
728
- return [-1];
729
- },
730
- void 0,
731
- {
732
- equals: n
687
+ function Zr(e) {
688
+ const t = Dt(() => e.children), n = T(() => {
689
+ const r = t(), s = Array.isArray(r) ? r : [r];
690
+ let i = () => {
691
+ };
692
+ for (let o = 0; o < s.length; o++) {
693
+ const l = o, a = s[o], u = i, f = T(
694
+ () => u() ? void 0 : a.when,
695
+ void 0,
696
+ void 0
697
+ ), c = a.keyed ? f : T(f, void 0, {
698
+ equals: (g, y) => !g == !y
699
+ });
700
+ i = () => u() || (c() ? [l, f, a] : void 0);
733
701
  }
734
- );
735
- return P(
702
+ return i;
703
+ });
704
+ return T(
736
705
  () => {
737
- const [i, o, l] = s();
738
- if (i < 0)
739
- return e.fallback;
740
- const a = l.children;
741
- return typeof a == "function" && a.length > 0 ? T(
742
- () => a(
743
- t ? o : () => {
744
- if (T(s)[0] !== i)
745
- throw Ut("Match");
746
- return l.when;
706
+ const r = n()();
707
+ if (!r) return e.fallback;
708
+ const [s, i, o] = r, l = o.children;
709
+ return typeof l == "function" && l.length > 0 ? x(
710
+ () => l(
711
+ o.keyed ? i() : () => {
712
+ var u;
713
+ if (((u = x(n)()) == null ? void 0 : u[0]) !== s) throw Ut("Match");
714
+ return i();
747
715
  }
748
716
  )
749
- ) : a;
717
+ ) : l;
750
718
  },
751
719
  void 0,
752
720
  void 0
753
721
  );
754
722
  }
755
- function Yr(e) {
723
+ function Jr(e) {
756
724
  return e;
757
725
  }
758
- var Nn = [
726
+ var kn = [
759
727
  "allowfullscreen",
760
728
  "async",
761
729
  "autofocus",
@@ -781,7 +749,7 @@ var Nn = [
781
749
  "reversed",
782
750
  "seamless",
783
751
  "selected"
784
- ], kn = /* @__PURE__ */ new Set([
752
+ ], Pn = /* @__PURE__ */ new Set([
785
753
  "className",
786
754
  "value",
787
755
  "readOnly",
@@ -789,16 +757,16 @@ var Nn = [
789
757
  "isMap",
790
758
  "noModule",
791
759
  "playsInline",
792
- ...Nn
793
- ]), Pn = /* @__PURE__ */ new Set([
760
+ ...kn
761
+ ]), In = /* @__PURE__ */ new Set([
794
762
  "innerHTML",
795
763
  "textContent",
796
764
  "innerText",
797
765
  "children"
798
- ]), In = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
766
+ ]), Rn = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
799
767
  className: "class",
800
768
  htmlFor: "for"
801
- }), Rn = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
769
+ }), Mn = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
802
770
  class: "className",
803
771
  formnovalidate: {
804
772
  $: "formNoValidate",
@@ -823,11 +791,11 @@ var Nn = [
823
791
  TEXTAREA: 1
824
792
  }
825
793
  });
826
- function Mn(e, t) {
827
- const n = Rn[e];
794
+ function Dn(e, t) {
795
+ const n = Mn[e];
828
796
  return typeof n == "object" ? n[t] ? n.$ : void 0 : n;
829
797
  }
830
- var Dn = /* @__PURE__ */ new Set([
798
+ var Vn = /* @__PURE__ */ new Set([
831
799
  "beforeinput",
832
800
  "click",
833
801
  "dblclick",
@@ -928,11 +896,11 @@ var Dn = /* @__PURE__ */ new Set([
928
896
  "use",
929
897
  "view",
930
898
  "vkern"
931
- ]), Vn = {
899
+ ]), _n = {
932
900
  xlink: "http://www.w3.org/1999/xlink",
933
901
  xml: "http://www.w3.org/XML/1998/namespace"
934
902
  };
935
- function _n(e, t, n) {
903
+ function $n(e, t, n) {
936
904
  let r = n.length, s = t.length, i = r, o = 0, l = 0, a = t[s - 1].nextSibling, u = null;
937
905
  for (; o < s || l < i; ) {
938
906
  if (t[o] === n[l]) {
@@ -943,8 +911,7 @@ function _n(e, t, n) {
943
911
  s--, i--;
944
912
  if (s === o) {
945
913
  const f = i < r ? l ? n[l - 1].nextSibling : n[i - l] : a;
946
- for (; l < i; )
947
- e.insertBefore(n[l++], f);
914
+ for (; l < i; ) e.insertBefore(n[l++], f);
948
915
  } else if (i === l)
949
916
  for (; o < s; )
950
917
  (!u || !u.has(t[o])) && t[o].remove(), o++;
@@ -955,8 +922,7 @@ function _n(e, t, n) {
955
922
  if (!u) {
956
923
  u = /* @__PURE__ */ new Map();
957
924
  let c = l;
958
- for (; c < i; )
959
- u.set(n[c], c++);
925
+ for (; c < i; ) u.set(n[c], c++);
960
926
  }
961
927
  const f = u.get(t[o]);
962
928
  if (f != null)
@@ -966,14 +932,10 @@ function _n(e, t, n) {
966
932
  g++;
967
933
  if (g > f - l) {
968
934
  const S = t[o];
969
- for (; l < f; )
970
- e.insertBefore(n[l++], S);
971
- } else
972
- e.replaceChild(n[l++], t[o++]);
973
- } else
974
- o++;
975
- else
976
- t[o++].remove();
935
+ for (; l < f; ) e.insertBefore(n[l++], S);
936
+ } else e.replaceChild(n[l++], t[o++]);
937
+ } else o++;
938
+ else t[o++].remove();
977
939
  }
978
940
  }
979
941
  }
@@ -986,35 +948,34 @@ function qt(e, t, n, r = {}) {
986
948
  s(), t.textContent = "";
987
949
  };
988
950
  }
989
- function Zr(e, t, n) {
990
- let r;
991
- const s = () => {
992
- const o = document.createElement("template");
993
- return o.innerHTML = e, o.content.firstChild;
994
- }, i = () => (r || (r = s())).cloneNode(!0);
995
- return i.cloneNode = i, i;
951
+ function es(e, t, n, r) {
952
+ let s;
953
+ const i = () => {
954
+ const l = document.createElement("template");
955
+ return l.innerHTML = e, l.content.firstChild;
956
+ }, o = () => (s || (s = i())).cloneNode(!0);
957
+ return o.cloneNode = o, o;
996
958
  }
997
- function $n(e, t = window.document) {
959
+ function Bn(e, t = window.document) {
998
960
  const n = t[ge] || (t[ge] = /* @__PURE__ */ new Set());
999
961
  for (let r = 0, s = e.length; r < s; r++) {
1000
962
  const i = e[r];
1001
- n.has(i) || (n.add(i), t.addEventListener(i, Ft));
963
+ n.has(i) || (n.add(i), t.addEventListener(i, Kt));
1002
964
  }
1003
965
  }
1004
- function Jr(e = window.document) {
966
+ function ts(e = window.document) {
1005
967
  if (e[ge]) {
1006
- for (let t of e[ge].keys())
1007
- e.removeEventListener(t, Ft);
968
+ for (let t of e[ge].keys()) e.removeEventListener(t, Kt);
1008
969
  delete e[ge];
1009
970
  }
1010
971
  }
1011
972
  function st(e, t, n) {
1012
973
  z(e) || (n == null ? e.removeAttribute(t) : e.setAttribute(t, n));
1013
974
  }
1014
- function Bn(e, t, n, r) {
975
+ function jn(e, t, n, r) {
1015
976
  z(e) || (r == null ? e.removeAttributeNS(t, n) : e.setAttributeNS(t, n, r));
1016
977
  }
1017
- function jn(e, t, n) {
978
+ function Fn(e, t, n) {
1018
979
  z(e) || (n ? e.setAttribute(t, "") : e.removeAttribute(t));
1019
980
  }
1020
981
  function Un(e, t) {
@@ -1026,10 +987,9 @@ function qn(e, t, n, r) {
1026
987
  else if (Array.isArray(n)) {
1027
988
  const s = n[0];
1028
989
  e.addEventListener(t, n[0] = (i) => s.call(e, n[1], i));
1029
- } else
1030
- e.addEventListener(t, n, typeof n != "function" && n);
990
+ } else e.addEventListener(t, n, typeof n != "function" && n);
1031
991
  }
1032
- function Fn(e, t, n = {}) {
992
+ function Kn(e, t, n = {}) {
1033
993
  const r = Object.keys(t || {}), s = Object.keys(n);
1034
994
  let i, o;
1035
995
  for (i = 0, o = s.length; i < o; i++) {
@@ -1042,12 +1002,10 @@ function Fn(e, t, n = {}) {
1042
1002
  }
1043
1003
  return n;
1044
1004
  }
1045
- function Kn(e, t, n) {
1046
- if (!t)
1047
- return n ? st(e, "style") : t;
1005
+ function Qn(e, t, n) {
1006
+ if (!t) return n ? st(e, "style") : t;
1048
1007
  const r = e.style;
1049
- if (typeof t == "string")
1050
- return r.cssText = t;
1008
+ if (typeof t == "string") return r.cssText = t;
1051
1009
  typeof n == "string" && (r.cssText = n = void 0), n || (n = {}), t || (t = {});
1052
1010
  let s, i;
1053
1011
  for (i in n)
@@ -1056,43 +1014,41 @@ function Kn(e, t, n) {
1056
1014
  s = t[i], s !== n[i] && (r.setProperty(i, s), n[i] = s);
1057
1015
  return n;
1058
1016
  }
1059
- function Qn(e, t = {}, n, r) {
1017
+ function zn(e, t = {}, n, r) {
1060
1018
  const s = {};
1061
1019
  return r || Q(
1062
- () => s.children = ve(e, t.children, s.children)
1063
- ), Q(() => typeof t.ref == "function" && zn(t.ref, e)), Q(() => Gn(e, t, n, !0, s, !0)), s;
1020
+ () => s.children = pe(e, t.children, s.children)
1021
+ ), Q(() => typeof t.ref == "function" && Gn(t.ref, e)), Q(() => Hn(e, t, n, !0, s, !0)), s;
1064
1022
  }
1065
- function zn(e, t, n) {
1066
- return T(() => e(t, n));
1023
+ function Gn(e, t, n) {
1024
+ return x(() => e(t, n));
1067
1025
  }
1068
1026
  function it(e, t, n, r) {
1069
- if (n !== void 0 && !r && (r = []), typeof t != "function")
1070
- return ve(e, t, r, n);
1071
- Q((s) => ve(e, t(), s, n), r);
1027
+ if (n !== void 0 && !r && (r = []), typeof t != "function") return pe(e, t, r, n);
1028
+ Q((s) => pe(e, t(), s, n), r);
1072
1029
  }
1073
- function Gn(e, t, n, r, s = {}, i = !1) {
1030
+ function Hn(e, t, n, r, s = {}, i = !1) {
1074
1031
  t || (t = {});
1075
1032
  for (const o in s)
1076
1033
  if (!(o in t)) {
1077
- if (o === "children")
1078
- continue;
1079
- s[o] = pt(e, o, null, s[o], n, i, t);
1034
+ if (o === "children") continue;
1035
+ s[o] = vt(e, o, null, s[o], n, i, t);
1080
1036
  }
1081
1037
  for (const o in t) {
1082
1038
  if (o === "children")
1083
1039
  continue;
1084
1040
  const l = t[o];
1085
- s[o] = pt(e, o, l, s[o], n, i, t);
1041
+ s[o] = vt(e, o, l, s[o], n, i, t);
1086
1042
  }
1087
1043
  }
1088
- function Hn(e) {
1044
+ function Xn(e) {
1089
1045
  let t, n;
1090
- return !z() || !(t = h.registry.get(n = Wn())) ? e() : (h.completed && h.completed.add(t), h.registry.delete(n), t);
1046
+ return !z() || !(t = h.registry.get(n = Yn())) ? e() : (h.completed && h.completed.add(t), h.registry.delete(n), t);
1091
1047
  }
1092
1048
  function z(e) {
1093
1049
  return !!h.context && !h.done && (!e || e.isConnected);
1094
1050
  }
1095
- function Xn(e) {
1051
+ function Wn(e) {
1096
1052
  return e.toLowerCase().replace(/-([a-z])/g, (t, n) => n.toUpperCase());
1097
1053
  }
1098
1054
  function mt(e, t, n) {
@@ -1100,14 +1056,11 @@ function mt(e, t, n) {
1100
1056
  for (let s = 0, i = r.length; s < i; s++)
1101
1057
  e.classList.toggle(r[s], n);
1102
1058
  }
1103
- function pt(e, t, n, r, s, i, o) {
1059
+ function vt(e, t, n, r, s, i, o) {
1104
1060
  let l, a, u, f, c;
1105
- if (t === "style")
1106
- return Kn(e, n, r);
1107
- if (t === "classList")
1108
- return Fn(e, n, r);
1109
- if (n === r)
1110
- return r;
1061
+ if (t === "style") return Qn(e, n, r);
1062
+ if (t === "classList") return Kn(e, n, r);
1063
+ if (n === r) return r;
1111
1064
  if (t === "ref")
1112
1065
  i || n(e);
1113
1066
  else if (t.slice(0, 3) === "on:") {
@@ -1117,29 +1070,28 @@ function pt(e, t, n, r, s, i, o) {
1117
1070
  const g = t.slice(10);
1118
1071
  r && e.removeEventListener(g, r, !0), n && e.addEventListener(g, n, !0);
1119
1072
  } else if (t.slice(0, 2) === "on") {
1120
- const g = t.slice(2).toLowerCase(), y = Dn.has(g);
1073
+ const g = t.slice(2).toLowerCase(), y = Vn.has(g);
1121
1074
  if (!y && r) {
1122
1075
  const S = Array.isArray(r) ? r[0] : r;
1123
1076
  e.removeEventListener(g, S);
1124
1077
  }
1125
- (y || n) && (qn(e, g, n, y), y && $n([g]));
1078
+ (y || n) && (qn(e, g, n, y), y && Bn([g]));
1126
1079
  } else if (t.slice(0, 5) === "attr:")
1127
1080
  st(e, t.slice(5), n);
1128
1081
  else if (t.slice(0, 5) === "bool:")
1129
- jn(e, t.slice(5), n);
1130
- else if ((c = t.slice(0, 5) === "prop:") || (u = Pn.has(t)) || !s && ((f = Mn(t, e.tagName)) || (a = kn.has(t))) || (l = e.nodeName.includes("-") || "is" in o)) {
1082
+ Fn(e, t.slice(5), n);
1083
+ else if ((c = t.slice(0, 5) === "prop:") || (u = In.has(t)) || !s && ((f = Dn(t, e.tagName)) || (a = Pn.has(t))) || (l = e.nodeName.includes("-") || "is" in o)) {
1131
1084
  if (c)
1132
1085
  t = t.slice(5), a = !0;
1133
- else if (z(e))
1134
- return n;
1135
- t === "class" || t === "className" ? Un(e, n) : l && !a && !u ? e[Xn(t)] = n : e[f || t] = n;
1086
+ else if (z(e)) return n;
1087
+ t === "class" || t === "className" ? Un(e, n) : l && !a && !u ? e[Wn(t)] = n : e[f || t] = n;
1136
1088
  } else {
1137
- const g = s && t.indexOf(":") > -1 && Vn[t.split(":")[0]];
1138
- g ? Bn(e, g, t, n) : st(e, In[t] || t, n);
1089
+ const g = s && t.indexOf(":") > -1 && _n[t.split(":")[0]];
1090
+ g ? jn(e, g, t, n) : st(e, Rn[t] || t, n);
1139
1091
  }
1140
1092
  return n;
1141
1093
  }
1142
- function Ft(e) {
1094
+ function Kt(e) {
1143
1095
  if (h.registry && h.events && h.events.find(([a, u]) => u === e))
1144
1096
  return;
1145
1097
  let t = e.target;
@@ -1150,13 +1102,11 @@ function Ft(e) {
1150
1102
  const a = t[n];
1151
1103
  if (a && !t.disabled) {
1152
1104
  const u = t[`${n}Data`];
1153
- if (u !== void 0 ? a.call(t, u, e) : a.call(t, e), e.cancelBubble)
1154
- return;
1105
+ if (u !== void 0 ? a.call(t, u, e) : a.call(t, e), e.cancelBubble) return;
1155
1106
  }
1156
1107
  return t.host && typeof t.host != "string" && !t.host._$host && t.contains(e.target) && i(t.host), !0;
1157
1108
  }, l = () => {
1158
- for (; o() && (t = t._$host || t.parentNode || t.host); )
1159
- ;
1109
+ for (; o() && (t = t._$host || t.parentNode || t.host); ) ;
1160
1110
  };
1161
1111
  if (Object.defineProperty(e, "currentTarget", {
1162
1112
  configurable: !0,
@@ -1174,11 +1124,10 @@ function Ft(e) {
1174
1124
  if (t.parentNode === s)
1175
1125
  break;
1176
1126
  }
1177
- } else
1178
- l();
1127
+ } else l();
1179
1128
  i(r);
1180
1129
  }
1181
- function ve(e, t, n, r, s) {
1130
+ function pe(e, t, n, r, s) {
1182
1131
  const i = z(e);
1183
1132
  if (i) {
1184
1133
  !n && (n = [...e.childNodes]);
@@ -1189,10 +1138,8 @@ function ve(e, t, n, r, s) {
1189
1138
  }
1190
1139
  n = a;
1191
1140
  }
1192
- for (; typeof n == "function"; )
1193
- n = n();
1194
- if (t === n)
1195
- return n;
1141
+ for (; typeof n == "function"; ) n = n();
1142
+ if (t === n) return n;
1196
1143
  const o = typeof t, l = r !== void 0;
1197
1144
  if (e = l && n[0] && n[0].parentNode || e, o === "string" || o === "number") {
1198
1145
  if (i || o === "number" && (t = t.toString(), t === n))
@@ -1203,45 +1150,36 @@ function ve(e, t, n, r, s) {
1203
1150
  } else
1204
1151
  n !== "" && typeof n == "string" ? n = e.firstChild.data = t : n = e.textContent = t;
1205
1152
  } else if (t == null || o === "boolean") {
1206
- if (i)
1207
- return n;
1153
+ if (i) return n;
1208
1154
  n = H(e, n, r);
1209
1155
  } else {
1210
1156
  if (o === "function")
1211
1157
  return Q(() => {
1212
1158
  let a = t();
1213
- for (; typeof a == "function"; )
1214
- a = a();
1215
- n = ve(e, a, n, r);
1159
+ for (; typeof a == "function"; ) a = a();
1160
+ n = pe(e, a, n, r);
1216
1161
  }), () => n;
1217
1162
  if (Array.isArray(t)) {
1218
1163
  const a = [], u = n && Array.isArray(n);
1219
1164
  if (ot(a, t, n, s))
1220
- return Q(() => n = ve(e, a, n, r, !0)), () => n;
1165
+ return Q(() => n = pe(e, a, n, r, !0)), () => n;
1221
1166
  if (i) {
1222
- if (!a.length)
1223
- return n;
1224
- if (r === void 0)
1225
- return n = [...e.childNodes];
1167
+ if (!a.length) return n;
1168
+ if (r === void 0) return n = [...e.childNodes];
1226
1169
  let f = a[0];
1227
- if (f.parentNode !== e)
1228
- return n;
1170
+ if (f.parentNode !== e) return n;
1229
1171
  const c = [f];
1230
- for (; (f = f.nextSibling) !== r; )
1231
- c.push(f);
1172
+ for (; (f = f.nextSibling) !== r; ) c.push(f);
1232
1173
  return n = c;
1233
1174
  }
1234
1175
  if (a.length === 0) {
1235
- if (n = H(e, n, r), l)
1236
- return n;
1237
- } else u ? n.length === 0 ? vt(e, a, r) : _n(e, n, a) : (n && H(e), vt(e, a));
1176
+ if (n = H(e, n, r), l) return n;
1177
+ } else u ? n.length === 0 ? pt(e, a, r) : $n(e, n, a) : (n && H(e), pt(e, a));
1238
1178
  n = a;
1239
1179
  } else if (t.nodeType) {
1240
- if (i && t.parentNode)
1241
- return n = l ? [t] : t;
1180
+ if (i && t.parentNode) return n = l ? [t] : t;
1242
1181
  if (Array.isArray(n)) {
1243
- if (l)
1244
- return n = H(e, n, r, t);
1182
+ if (l) return n = H(e, n, r, t);
1245
1183
  H(e, n, null, t);
1246
1184
  } else n == null || n === "" || !e.firstChild ? e.appendChild(t) : e.replaceChild(t, e.firstChild);
1247
1185
  n = t;
@@ -1253,36 +1191,32 @@ function ot(e, t, n, r) {
1253
1191
  let s = !1;
1254
1192
  for (let i = 0, o = t.length; i < o; i++) {
1255
1193
  let l = t[i], a = n && n[e.length], u;
1256
- if (!(l == null || l === !0 || l === !1))
1257
- if ((u = typeof l) == "object" && l.nodeType)
1258
- e.push(l);
1259
- else if (Array.isArray(l))
1260
- s = ot(e, l, a) || s;
1261
- else if (u === "function")
1262
- if (r) {
1263
- for (; typeof l == "function"; )
1264
- l = l();
1265
- s = ot(
1266
- e,
1267
- Array.isArray(l) ? l : [l],
1268
- Array.isArray(a) ? a : [a]
1269
- ) || s;
1270
- } else
1271
- e.push(l), s = !0;
1272
- else {
1273
- const f = String(l);
1274
- a && a.nodeType === 3 && a.data === f ? e.push(a) : e.push(document.createTextNode(f));
1275
- }
1194
+ if (!(l == null || l === !0 || l === !1)) if ((u = typeof l) == "object" && l.nodeType)
1195
+ e.push(l);
1196
+ else if (Array.isArray(l))
1197
+ s = ot(e, l, a) || s;
1198
+ else if (u === "function")
1199
+ if (r) {
1200
+ for (; typeof l == "function"; ) l = l();
1201
+ s = ot(
1202
+ e,
1203
+ Array.isArray(l) ? l : [l],
1204
+ Array.isArray(a) ? a : [a]
1205
+ ) || s;
1206
+ } else
1207
+ e.push(l), s = !0;
1208
+ else {
1209
+ const f = String(l);
1210
+ a && a.nodeType === 3 && a.data === f ? e.push(a) : e.push(document.createTextNode(f));
1211
+ }
1276
1212
  }
1277
1213
  return s;
1278
1214
  }
1279
- function vt(e, t, n = null) {
1280
- for (let r = 0, s = t.length; r < s; r++)
1281
- e.insertBefore(t[r], n);
1215
+ function pt(e, t, n = null) {
1216
+ for (let r = 0, s = t.length; r < s; r++) e.insertBefore(t[r], n);
1282
1217
  }
1283
1218
  function H(e, t, n, r) {
1284
- if (n === void 0)
1285
- return e.textContent = "";
1219
+ if (n === void 0) return e.textContent = "";
1286
1220
  const s = r || document.createTextNode("");
1287
1221
  if (t.length) {
1288
1222
  let i = !1;
@@ -1291,32 +1225,30 @@ function H(e, t, n, r) {
1291
1225
  if (s !== l) {
1292
1226
  const a = l.parentNode === e;
1293
1227
  !i && !o ? a ? e.replaceChild(s, l) : e.insertBefore(s, n) : a && l.remove();
1294
- } else
1295
- i = !0;
1228
+ } else i = !0;
1296
1229
  }
1297
- } else
1298
- e.insertBefore(s, n);
1230
+ } else e.insertBefore(s, n);
1299
1231
  return [s];
1300
1232
  }
1301
- function Wn() {
1233
+ function Yn() {
1302
1234
  return h.getNextContextId();
1303
1235
  }
1304
- var Yn = "http://www.w3.org/2000/svg";
1305
- function Kt(e, t = !1) {
1306
- return t ? document.createElementNS(Yn, e) : document.createElement(e);
1236
+ var Zn = "http://www.w3.org/2000/svg";
1237
+ function Qt(e, t = !1) {
1238
+ return t ? document.createElementNS(Zn, e) : document.createElement(e);
1307
1239
  }
1308
- function es(e) {
1240
+ function ns(e) {
1309
1241
  const { useShadow: t } = e, n = document.createTextNode(""), r = () => e.mount || document.body, s = yt();
1310
1242
  let i, o = !!h.context;
1311
- return Rt(
1243
+ return Mt(
1312
1244
  () => {
1313
- o && (yt().user = o = !1), i || (i = yn(s, () => P(() => e.children)));
1245
+ o && (yt().user = o = !1), i || (i = mn(s, () => T(() => e.children)));
1314
1246
  const l = r();
1315
1247
  if (l instanceof HTMLHeadElement) {
1316
- const [a, u] = A(!1), f = () => u(!0);
1248
+ const [a, u] = E(!1), f = () => u(!0);
1317
1249
  K((c) => it(l, () => a() ? c() : i(), null)), me(f);
1318
1250
  } else {
1319
- const a = Kt(e.isSVG ? "g" : "div", e.isSVG), u = t && a.attachShadow ? a.attachShadow({
1251
+ const a = Qt(e.isSVG ? "g" : "div", e.isSVG), u = t && a.attachShadow ? a.attachShadow({
1320
1252
  mode: "open"
1321
1253
  }) : a;
1322
1254
  Object.defineProperty(a, "_$host", {
@@ -1333,20 +1265,24 @@ function es(e) {
1333
1265
  }
1334
1266
  ), n;
1335
1267
  }
1336
- function ts(e) {
1337
- const [t, n] = Tn(e, ["component"]), r = P(() => t.component);
1338
- return P(() => {
1339
- const s = r();
1340
- switch (typeof s) {
1268
+ function Jn(e, t) {
1269
+ const n = T(e);
1270
+ return T(() => {
1271
+ const r = n();
1272
+ switch (typeof r) {
1341
1273
  case "function":
1342
- return T(() => s(n));
1274
+ return x(() => r(t));
1343
1275
  case "string":
1344
- const i = Ln.has(s), o = h.context ? Hn() : Kt(s, i);
1345
- return Qn(o, n, i), o;
1276
+ const s = Ln.has(r), i = h.context ? Xn() : Qt(r, s);
1277
+ return zn(i, t, s), i;
1346
1278
  }
1347
1279
  });
1348
1280
  }
1349
- var Zn = class {
1281
+ function rs(e) {
1282
+ const [, t] = xn(e, ["component"]);
1283
+ return Jn(() => e.component, t);
1284
+ }
1285
+ var er = class {
1350
1286
  constructor() {
1351
1287
  this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
1352
1288
  }
@@ -1362,9 +1298,9 @@ var Zn = class {
1362
1298
  clear() {
1363
1299
  this.keyToValue.clear(), this.valueToKey.clear();
1364
1300
  }
1365
- }, Qt = class {
1301
+ }, zt = class {
1366
1302
  constructor(e) {
1367
- this.generateIdentifier = e, this.kv = new Zn();
1303
+ this.generateIdentifier = e, this.kv = new er();
1368
1304
  }
1369
1305
  register(e, t) {
1370
1306
  this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
@@ -1378,7 +1314,7 @@ var Zn = class {
1378
1314
  getValue(e) {
1379
1315
  return this.kv.getByKey(e);
1380
1316
  }
1381
- }, Jn = class extends Qt {
1317
+ }, tr = class extends zt {
1382
1318
  constructor() {
1383
1319
  super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
1384
1320
  }
@@ -1389,7 +1325,7 @@ var Zn = class {
1389
1325
  return this.classToAllowedProps.get(e);
1390
1326
  }
1391
1327
  };
1392
- function er(e) {
1328
+ function nr(e) {
1393
1329
  if ("values" in Object)
1394
1330
  return Object.values(e);
1395
1331
  const t = [];
@@ -1397,8 +1333,8 @@ function er(e) {
1397
1333
  e.hasOwnProperty(n) && t.push(e[n]);
1398
1334
  return t;
1399
1335
  }
1400
- function tr(e, t) {
1401
- const n = er(e);
1336
+ function rr(e, t) {
1337
+ const n = nr(e);
1402
1338
  if ("find" in n)
1403
1339
  return n.find(t);
1404
1340
  const r = n;
@@ -1421,7 +1357,7 @@ function wt(e, t) {
1421
1357
  return r;
1422
1358
  }
1423
1359
  }
1424
- var nr = class {
1360
+ var sr = class {
1425
1361
  constructor() {
1426
1362
  this.transfomers = {};
1427
1363
  }
@@ -1429,12 +1365,12 @@ var nr = class {
1429
1365
  this.transfomers[e.name] = e;
1430
1366
  }
1431
1367
  findApplicable(e) {
1432
- return tr(this.transfomers, (t) => t.isApplicable(e));
1368
+ return rr(this.transfomers, (t) => t.isApplicable(e));
1433
1369
  }
1434
1370
  findByName(e) {
1435
1371
  return this.transfomers[e];
1436
1372
  }
1437
- }, rr = (e) => Object.prototype.toString.call(e).slice(8, -1), zt = (e) => typeof e > "u", sr = (e) => e === null, we = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, lt = (e) => we(e) && Object.keys(e).length === 0, j = (e) => Array.isArray(e), ir = (e) => typeof e == "string", or = (e) => typeof e == "number" && !isNaN(e), lr = (e) => typeof e == "boolean", ar = (e) => e instanceof RegExp, be = (e) => e instanceof Map, Se = (e) => e instanceof Set, Gt = (e) => rr(e) === "Symbol", ur = (e) => e instanceof Date && !isNaN(e.valueOf()), cr = (e) => e instanceof Error, bt = (e) => typeof e == "number" && isNaN(e), fr = (e) => lr(e) || sr(e) || zt(e) || or(e) || ir(e) || Gt(e), dr = (e) => typeof e == "bigint", hr = (e) => e === 1 / 0 || e === -1 / 0, gr = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), yr = (e) => e instanceof URL, Ht = (e) => e.replace(/\./g, "\\."), Je = (e) => e.map(String).map(Ht).join("."), ye = (e) => {
1373
+ }, ir = (e) => Object.prototype.toString.call(e).slice(8, -1), Gt = (e) => typeof e > "u", or = (e) => e === null, we = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, lt = (e) => we(e) && Object.keys(e).length === 0, j = (e) => Array.isArray(e), lr = (e) => typeof e == "string", ar = (e) => typeof e == "number" && !isNaN(e), ur = (e) => typeof e == "boolean", cr = (e) => e instanceof RegExp, be = (e) => e instanceof Map, Se = (e) => e instanceof Set, Ht = (e) => ir(e) === "Symbol", fr = (e) => e instanceof Date && !isNaN(e.valueOf()), dr = (e) => e instanceof Error, bt = (e) => typeof e == "number" && isNaN(e), hr = (e) => ur(e) || or(e) || Gt(e) || ar(e) || lr(e) || Ht(e), gr = (e) => typeof e == "bigint", yr = (e) => e === 1 / 0 || e === -1 / 0, mr = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), vr = (e) => e instanceof URL, Xt = (e) => e.replace(/\./g, "\\."), Je = (e) => e.map(String).map(Xt).join("."), ye = (e) => {
1438
1374
  const t = [];
1439
1375
  let n = "";
1440
1376
  for (let s = 0; s < e.length; s++) {
@@ -1452,7 +1388,7 @@ var nr = class {
1452
1388
  const r = n;
1453
1389
  return t.push(r), t;
1454
1390
  };
1455
- function L(e, t, n, r) {
1391
+ function V(e, t, n, r) {
1456
1392
  return {
1457
1393
  isApplicable: e,
1458
1394
  annotation: t,
@@ -1460,12 +1396,12 @@ function L(e, t, n, r) {
1460
1396
  untransform: r
1461
1397
  };
1462
1398
  }
1463
- var Xt = [
1464
- L(zt, "undefined", () => null, () => {
1399
+ var Wt = [
1400
+ V(Gt, "undefined", () => null, () => {
1465
1401
  }),
1466
- L(dr, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
1467
- L(ur, "Date", (e) => e.toISOString(), (e) => new Date(e)),
1468
- L(cr, "Error", (e, t) => {
1402
+ V(gr, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
1403
+ V(fr, "Date", (e) => e.toISOString(), (e) => new Date(e)),
1404
+ V(dr, "Error", (e, t) => {
1469
1405
  const n = {
1470
1406
  name: e.name,
1471
1407
  message: e.message
@@ -1479,11 +1415,11 @@ var Xt = [
1479
1415
  n[r] = e[r];
1480
1416
  }), n;
1481
1417
  }),
1482
- L(ar, "regexp", (e) => "" + e, (e) => {
1418
+ V(cr, "regexp", (e) => "" + e, (e) => {
1483
1419
  const t = e.slice(1, e.lastIndexOf("/")), n = e.slice(e.lastIndexOf("/") + 1);
1484
1420
  return new RegExp(t, n);
1485
1421
  }),
1486
- L(
1422
+ V(
1487
1423
  Se,
1488
1424
  "set",
1489
1425
  // (sets only exist in es6+)
@@ -1491,10 +1427,10 @@ var Xt = [
1491
1427
  (e) => [...e.values()],
1492
1428
  (e) => new Set(e)
1493
1429
  ),
1494
- L(be, "map", (e) => [...e.entries()], (e) => new Map(e)),
1495
- L((e) => bt(e) || hr(e), "number", (e) => bt(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
1496
- L((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
1497
- L(yr, "URL", (e) => e.toString(), (e) => new URL(e))
1430
+ V(be, "map", (e) => [...e.entries()], (e) => new Map(e)),
1431
+ V((e) => bt(e) || yr(e), "number", (e) => bt(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
1432
+ V((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
1433
+ V(vr, "URL", (e) => e.toString(), (e) => new URL(e))
1498
1434
  ];
1499
1435
  function ze(e, t, n, r) {
1500
1436
  return {
@@ -1504,12 +1440,12 @@ function ze(e, t, n, r) {
1504
1440
  untransform: r
1505
1441
  };
1506
1442
  }
1507
- var Wt = ze((e, t) => Gt(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
1443
+ var Yt = ze((e, t) => Ht(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
1508
1444
  const r = n.symbolRegistry.getValue(t[1]);
1509
1445
  if (!r)
1510
1446
  throw new Error("Trying to deserialize unknown symbol");
1511
1447
  return r;
1512
- }), mr = [
1448
+ }), pr = [
1513
1449
  Int8Array,
1514
1450
  Uint8Array,
1515
1451
  Int16Array,
@@ -1519,16 +1455,16 @@ var Wt = ze((e, t) => Gt(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
1519
1455
  Float32Array,
1520
1456
  Float64Array,
1521
1457
  Uint8ClampedArray
1522
- ].reduce((e, t) => (e[t.name] = t, e), {}), Yt = ze(gr, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
1523
- const n = mr[t[1]];
1458
+ ].reduce((e, t) => (e[t.name] = t, e), {}), Zt = ze(mr, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
1459
+ const n = pr[t[1]];
1524
1460
  if (!n)
1525
1461
  throw new Error("Trying to deserialize unknown typed array");
1526
1462
  return new n(e);
1527
1463
  });
1528
- function Zt(e, t) {
1464
+ function Jt(e, t) {
1529
1465
  return e != null && e.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
1530
1466
  }
1531
- var Jt = ze(Zt, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
1467
+ var en = ze(Jt, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
1532
1468
  const n = t.classRegistry.getAllowedProps(e.constructor);
1533
1469
  if (!n)
1534
1470
  return { ...e };
@@ -1541,44 +1477,44 @@ var Jt = ze(Zt, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
1541
1477
  if (!r)
1542
1478
  throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");
1543
1479
  return Object.assign(Object.create(r.prototype), e);
1544
- }), en = ze((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, n) => {
1480
+ }), tn = ze((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, n) => {
1545
1481
  const r = n.customTransformerRegistry.findByName(t[1]);
1546
1482
  if (!r)
1547
1483
  throw new Error("Trying to deserialize unknown custom value");
1548
1484
  return r.deserialize(e);
1549
- }), pr = [Jt, Wt, en, Yt], St = (e, t) => {
1550
- const n = wt(pr, (s) => s.isApplicable(e, t));
1485
+ }), wr = [en, Yt, tn, Zt], St = (e, t) => {
1486
+ const n = wt(wr, (s) => s.isApplicable(e, t));
1551
1487
  if (n)
1552
1488
  return {
1553
1489
  value: n.transform(e, t),
1554
1490
  type: n.annotation(e, t)
1555
1491
  };
1556
- const r = wt(Xt, (s) => s.isApplicable(e, t));
1492
+ const r = wt(Wt, (s) => s.isApplicable(e, t));
1557
1493
  if (r)
1558
1494
  return {
1559
1495
  value: r.transform(e, t),
1560
1496
  type: r.annotation
1561
1497
  };
1562
- }, tn = {};
1563
- Xt.forEach((e) => {
1564
- tn[e.annotation] = e;
1498
+ }, nn = {};
1499
+ Wt.forEach((e) => {
1500
+ nn[e.annotation] = e;
1565
1501
  });
1566
- var vr = (e, t, n) => {
1502
+ var br = (e, t, n) => {
1567
1503
  if (j(t))
1568
1504
  switch (t[0]) {
1569
1505
  case "symbol":
1570
- return Wt.untransform(e, t, n);
1506
+ return Yt.untransform(e, t, n);
1571
1507
  case "class":
1572
- return Jt.untransform(e, t, n);
1573
- case "custom":
1574
1508
  return en.untransform(e, t, n);
1509
+ case "custom":
1510
+ return tn.untransform(e, t, n);
1575
1511
  case "typed-array":
1576
- return Yt.untransform(e, t, n);
1512
+ return Zt.untransform(e, t, n);
1577
1513
  default:
1578
1514
  throw new Error("Unknown transformation: " + t);
1579
1515
  }
1580
1516
  else {
1581
- const r = tn[t];
1517
+ const r = nn[t];
1582
1518
  if (!r)
1583
1519
  throw new Error("Unknown transformation: " + t);
1584
1520
  return r.untransform(e, n);
@@ -1589,7 +1525,7 @@ var vr = (e, t, n) => {
1589
1525
  n.next(), t--;
1590
1526
  return n.next().value;
1591
1527
  };
1592
- function nn(e) {
1528
+ function rn(e) {
1593
1529
  if (_e(e, "__proto__"))
1594
1530
  throw new Error("__proto__ is not allowed as a property");
1595
1531
  if (_e(e, "prototype"))
@@ -1597,8 +1533,8 @@ function nn(e) {
1597
1533
  if (_e(e, "constructor"))
1598
1534
  throw new Error("constructor is not allowed as a property");
1599
1535
  }
1600
- var wr = (e, t) => {
1601
- nn(t);
1536
+ var Sr = (e, t) => {
1537
+ rn(t);
1602
1538
  for (let n = 0; n < t.length; n++) {
1603
1539
  const r = t[n];
1604
1540
  if (Se(e))
@@ -1618,7 +1554,7 @@ var wr = (e, t) => {
1618
1554
  }
1619
1555
  return e;
1620
1556
  }, at = (e, t, n) => {
1621
- if (nn(t), t.length === 0)
1557
+ if (rn(t), t.length === 0)
1622
1558
  return n(e);
1623
1559
  let r = e;
1624
1560
  for (let i = 0; i < t.length - 1; i++) {
@@ -1678,14 +1614,14 @@ function ut(e, t, n = []) {
1678
1614
  ut(i, t, [...n, ...ye(o)]);
1679
1615
  }), t(r, n);
1680
1616
  }
1681
- function br(e, t, n) {
1617
+ function Er(e, t, n) {
1682
1618
  return ut(t, (r, s) => {
1683
- e = at(e, s, (i) => vr(i, r, n));
1619
+ e = at(e, s, (i) => br(i, r, n));
1684
1620
  }), e;
1685
1621
  }
1686
- function Sr(e, t) {
1622
+ function Ar(e, t) {
1687
1623
  function n(r, s) {
1688
- const i = wr(e, ye(s));
1624
+ const i = Sr(e, ye(s));
1689
1625
  r.map(ye).forEach((o) => {
1690
1626
  e = at(e, o, () => i);
1691
1627
  });
@@ -1699,12 +1635,12 @@ function Sr(e, t) {
1699
1635
  fe(t, n);
1700
1636
  return e;
1701
1637
  }
1702
- var Ar = (e, t) => we(e) || j(e) || be(e) || Se(e) || Zt(e, t);
1703
- function Er(e, t, n) {
1638
+ var Or = (e, t) => we(e) || j(e) || be(e) || Se(e) || Jt(e, t);
1639
+ function Cr(e, t, n) {
1704
1640
  const r = n.get(e);
1705
1641
  r ? r.push(t) : n.set(e, [t]);
1706
1642
  }
1707
- function Or(e, t) {
1643
+ function Tr(e, t) {
1708
1644
  const n = {};
1709
1645
  let r;
1710
1646
  return e.forEach((s) => {
@@ -1715,17 +1651,17 @@ function Or(e, t) {
1715
1651
  i.length === 0 ? r = o.map(Je) : n[Je(i)] = o.map(Je);
1716
1652
  }), r ? lt(n) ? [r] : [r, n] : lt(n) ? void 0 : n;
1717
1653
  }
1718
- var rn = (e, t, n, r, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
1719
- const l = fr(e);
1654
+ var sn = (e, t, n, r, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
1655
+ const l = hr(e);
1720
1656
  if (!l) {
1721
- Er(e, s, t);
1657
+ Cr(e, s, t);
1722
1658
  const y = o.get(e);
1723
1659
  if (y)
1724
1660
  return r ? {
1725
1661
  transformedValue: null
1726
1662
  } : y;
1727
1663
  }
1728
- if (!Ar(e, n)) {
1664
+ if (!Or(e, n)) {
1729
1665
  const y = St(e, n), S = y ? {
1730
1666
  transformedValue: y.value,
1731
1667
  annotations: [y.type]
@@ -1742,9 +1678,9 @@ var rn = (e, t, n, r, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
1742
1678
  fe(u, (y, S) => {
1743
1679
  if (S === "__proto__" || S === "constructor" || S === "prototype")
1744
1680
  throw new Error(`Detected property ${S}. This is a prototype pollution risk, please remove it from your object.`);
1745
- const C = rn(y, t, n, r, [...s, S], [...i, e], o);
1746
- f[S] = C.transformedValue, j(C.annotations) ? c[S] = C.annotations : we(C.annotations) && fe(C.annotations, (B, U) => {
1747
- c[Ht(S) + "." + U] = B;
1681
+ const C = sn(y, t, n, r, [...s, S], [...i, e], o);
1682
+ f[S] = C.transformedValue, j(C.annotations) ? c[S] = C.annotations : we(C.annotations) && fe(C.annotations, (B, F) => {
1683
+ c[Xt(S) + "." + F] = B;
1748
1684
  });
1749
1685
  });
1750
1686
  const g = lt(c) ? {
@@ -1756,19 +1692,19 @@ var rn = (e, t, n, r, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
1756
1692
  };
1757
1693
  return l || o.set(e, g), g;
1758
1694
  };
1759
- function sn(e) {
1695
+ function on(e) {
1760
1696
  return Object.prototype.toString.call(e).slice(8, -1);
1761
1697
  }
1762
- function At(e) {
1763
- return sn(e) === "Array";
1698
+ function Et(e) {
1699
+ return on(e) === "Array";
1764
1700
  }
1765
- function Cr(e) {
1766
- if (sn(e) !== "Object")
1701
+ function xr(e) {
1702
+ if (on(e) !== "Object")
1767
1703
  return !1;
1768
1704
  const t = Object.getPrototypeOf(e);
1769
1705
  return !!t && t.constructor === Object && t === Object.prototype;
1770
1706
  }
1771
- function Tr(e, t, n, r, s) {
1707
+ function Nr(e, t, n, r, s) {
1772
1708
  const i = {}.propertyIsEnumerable.call(r, t) ? "enumerable" : "nonenumerable";
1773
1709
  i === "enumerable" && (e[t] = n), s && i === "nonenumerable" && Object.defineProperty(e, t, {
1774
1710
  value: n,
@@ -1778,16 +1714,16 @@ function Tr(e, t, n, r, s) {
1778
1714
  });
1779
1715
  }
1780
1716
  function ct(e, t = {}) {
1781
- if (At(e))
1717
+ if (Et(e))
1782
1718
  return e.map((s) => ct(s, t));
1783
- if (!Cr(e))
1719
+ if (!xr(e))
1784
1720
  return e;
1785
1721
  const n = Object.getOwnPropertyNames(e), r = Object.getOwnPropertySymbols(e);
1786
1722
  return [...n, ...r].reduce((s, i) => {
1787
- if (At(t.props) && !t.props.includes(i))
1723
+ if (Et(t.props) && !t.props.includes(i))
1788
1724
  return s;
1789
1725
  const o = e[i], l = ct(o, t);
1790
- return Tr(s, i, l, e, t.nonenumerable), s;
1726
+ return Nr(s, i, l, e, t.nonenumerable), s;
1791
1727
  }, {});
1792
1728
  }
1793
1729
  var b = class {
@@ -1795,17 +1731,17 @@ var b = class {
1795
1731
  * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
1796
1732
  */
1797
1733
  constructor({ dedupe: e = !1 } = {}) {
1798
- this.classRegistry = new Jn(), this.symbolRegistry = new Qt((t) => t.description ?? ""), this.customTransformerRegistry = new nr(), this.allowedErrorProps = [], this.dedupe = e;
1734
+ this.classRegistry = new tr(), this.symbolRegistry = new zt((t) => t.description ?? ""), this.customTransformerRegistry = new sr(), this.allowedErrorProps = [], this.dedupe = e;
1799
1735
  }
1800
1736
  serialize(e) {
1801
- const t = /* @__PURE__ */ new Map(), n = rn(e, t, this, this.dedupe), r = {
1737
+ const t = /* @__PURE__ */ new Map(), n = sn(e, t, this, this.dedupe), r = {
1802
1738
  json: n.transformedValue
1803
1739
  };
1804
1740
  n.annotations && (r.meta = {
1805
1741
  ...r.meta,
1806
1742
  values: n.annotations
1807
1743
  });
1808
- const s = Or(t, this.dedupe);
1744
+ const s = Tr(t, this.dedupe);
1809
1745
  return s && (r.meta = {
1810
1746
  ...r.meta,
1811
1747
  referentialEqualities: s
@@ -1814,7 +1750,7 @@ var b = class {
1814
1750
  deserialize(e) {
1815
1751
  const { json: t, meta: n } = e;
1816
1752
  let r = ct(t);
1817
- return n != null && n.values && (r = br(r, n.values, this)), n != null && n.referentialEqualities && (r = Sr(r, n.referentialEqualities)), r;
1753
+ return n != null && n.values && (r = Er(r, n.values, this)), n != null && n.referentialEqualities && (r = Ar(r, n.referentialEqualities)), r;
1818
1754
  }
1819
1755
  stringify(e) {
1820
1756
  return JSON.stringify(this.serialize(e));
@@ -1847,44 +1783,44 @@ b.registerClass = b.defaultInstance.registerClass.bind(b.defaultInstance);
1847
1783
  b.registerSymbol = b.defaultInstance.registerSymbol.bind(b.defaultInstance);
1848
1784
  b.registerCustom = b.defaultInstance.registerCustom.bind(b.defaultInstance);
1849
1785
  b.allowErrorProps = b.defaultInstance.allowErrorProps.bind(b.defaultInstance);
1850
- var xr = b.serialize, ns = b.stringify;
1851
- function rs(e) {
1786
+ var kr = b.serialize, ss = b.stringify;
1787
+ function is(e) {
1852
1788
  return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
1853
1789
  }
1854
- function ss(e, t) {
1790
+ function os(e, t) {
1855
1791
  return `${e}${t.charAt(0).toUpperCase() + t.slice(1)}`;
1856
1792
  }
1857
- function is({
1793
+ function ls({
1858
1794
  queryState: e,
1859
1795
  observerCount: t,
1860
1796
  isStale: n
1861
1797
  }) {
1862
1798
  return e.fetchStatus === "fetching" ? "blue" : t ? e.fetchStatus === "paused" ? "purple" : n ? "yellow" : "green" : "gray";
1863
1799
  }
1864
- function os({
1800
+ function as({
1865
1801
  status: e,
1866
1802
  isPaused: t
1867
1803
  }) {
1868
1804
  return t ? "purple" : e === "error" ? "red" : e === "pending" ? "yellow" : e === "success" ? "green" : "gray";
1869
1805
  }
1870
- function ls(e) {
1806
+ function us(e) {
1871
1807
  return e === "fresh" ? "green" : e === "stale" ? "yellow" : e === "paused" ? "purple" : e === "inactive" ? "gray" : "blue";
1872
1808
  }
1873
- var as = (e, t = !1) => {
1809
+ var cs = (e, t = !1) => {
1874
1810
  const {
1875
1811
  json: n
1876
- } = xr(e);
1812
+ } = kr(e);
1877
1813
  return JSON.stringify(n, null, t ? 2 : void 0);
1878
- }, Me = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Nr = (e, t) => e.queryHash.localeCompare(t.queryHash), on = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, kr = (e, t) => Me(e) === Me(t) ? on(e, t) : Me(e) > Me(t) ? 1 : -1, us = {
1879
- status: kr,
1880
- "query hash": Nr,
1881
- "last updated": on
1882
- }, De = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, ln = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, Pr = (e, t) => De(e) === De(t) ? ln(e, t) : De(e) > De(t) ? 1 : -1, cs = {
1883
- status: Pr,
1814
+ }, Me = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Pr = (e, t) => e.queryHash.localeCompare(t.queryHash), ln = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Ir = (e, t) => Me(e) === Me(t) ? ln(e, t) : Me(e) > Me(t) ? 1 : -1, fs = {
1815
+ status: Ir,
1816
+ "query hash": Pr,
1884
1817
  "last updated": ln
1885
- }, fs = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), ds = () => {
1886
- const [e, t] = A("dark");
1887
- return gn(() => {
1818
+ }, De = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, an = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, Rr = (e, t) => De(e) === De(t) ? an(e, t) : De(e) > De(t) ? 1 : -1, ds = {
1819
+ status: Rr,
1820
+ "last updated": an
1821
+ }, hs = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), gs = () => {
1822
+ const [e, t] = E("dark");
1823
+ return yn(() => {
1888
1824
  const n = window.matchMedia("(prefers-color-scheme: dark)");
1889
1825
  t(n.matches ? "dark" : "light");
1890
1826
  const r = (s) => {
@@ -1892,7 +1828,7 @@ var as = (e, t = !1) => {
1892
1828
  };
1893
1829
  n.addEventListener("change", r), me(() => n.removeEventListener("change", r));
1894
1830
  }), e;
1895
- }, Le = (e, t, n) => {
1831
+ }, Ve = (e, t, n) => {
1896
1832
  if (t.length === 0)
1897
1833
  return n;
1898
1834
  if (e instanceof Map) {
@@ -1900,10 +1836,10 @@ var as = (e, t = !1) => {
1900
1836
  if (t.length === 1)
1901
1837
  return r.set(t[0], n), r;
1902
1838
  const [s, ...i] = t;
1903
- return r.set(s, Le(r.get(s), i, n)), r;
1839
+ return r.set(s, Ve(r.get(s), i, n)), r;
1904
1840
  }
1905
1841
  if (e instanceof Set) {
1906
- const r = Le(Array.from(e), t, n);
1842
+ const r = Ve(Array.from(e), t, n);
1907
1843
  return new Set(r);
1908
1844
  }
1909
1845
  if (Array.isArray(e)) {
@@ -1911,7 +1847,7 @@ var as = (e, t = !1) => {
1911
1847
  if (t.length === 1)
1912
1848
  return r[t[0]] = n, r;
1913
1849
  const [s, ...i] = t;
1914
- return r[s] = Le(r[s], i, n), r;
1850
+ return r[s] = Ve(r[s], i, n), r;
1915
1851
  }
1916
1852
  if (e instanceof Object) {
1917
1853
  const r = {
@@ -1920,19 +1856,19 @@ var as = (e, t = !1) => {
1920
1856
  if (t.length === 1)
1921
1857
  return r[t[0]] = n, r;
1922
1858
  const [s, ...i] = t;
1923
- return r[s] = Le(r[s], i, n), r;
1859
+ return r[s] = Ve(r[s], i, n), r;
1924
1860
  }
1925
1861
  return e;
1926
- }, Ve = (e, t) => {
1862
+ }, Le = (e, t) => {
1927
1863
  if (e instanceof Map) {
1928
1864
  const n = new Map(e);
1929
1865
  if (t.length === 1)
1930
1866
  return n.delete(t[0]), n;
1931
1867
  const [r, ...s] = t;
1932
- return n.set(r, Ve(n.get(r), s)), n;
1868
+ return n.set(r, Le(n.get(r), s)), n;
1933
1869
  }
1934
1870
  if (e instanceof Set) {
1935
- const n = Ve(Array.from(e), t);
1871
+ const n = Le(Array.from(e), t);
1936
1872
  return new Set(n);
1937
1873
  }
1938
1874
  if (Array.isArray(e)) {
@@ -1940,7 +1876,7 @@ var as = (e, t = !1) => {
1940
1876
  if (t.length === 1)
1941
1877
  return n.filter((i, o) => o.toString() !== t[0]);
1942
1878
  const [r, ...s] = t;
1943
- return n[r] = Ve(n[r], s), n;
1879
+ return n[r] = Le(n[r], s), n;
1944
1880
  }
1945
1881
  if (e instanceof Object) {
1946
1882
  const n = {
@@ -1949,29 +1885,28 @@ var as = (e, t = !1) => {
1949
1885
  if (t.length === 1)
1950
1886
  return delete n[t[0]], n;
1951
1887
  const [r, ...s] = t;
1952
- return n[r] = Ve(n[r], s), n;
1888
+ return n[r] = Le(n[r], s), n;
1953
1889
  }
1954
1890
  return e;
1955
- }, an = (e, t) => {
1956
- if (!e || document.querySelector("#_goober") || (t == null ? void 0 : t.querySelector("#_goober")))
1957
- return;
1891
+ }, un = (e, t) => {
1892
+ if (!e || document.querySelector("#_goober") || (t == null ? void 0 : t.querySelector("#_goober"))) return;
1958
1893
  const r = document.createElement("style"), s = document.createTextNode("");
1959
1894
  r.appendChild(s), r.id = "_goober", r.setAttribute("nonce", e), t ? t.appendChild(r) : document.head.appendChild(r);
1960
- }, W, Ae, Ee, Oe, q, Ce, Y, Z, J, ee, te, ne, Te, Et, Ir = (Et = class {
1895
+ }, W, Ee, Ae, Oe, U, Ce, Y, Z, J, ee, te, ne, Te, At, Mr = (At = class {
1961
1896
  constructor(e) {
1962
- v(this, W);
1963
- v(this, Ae);
1964
- v(this, Ee);
1965
- v(this, Oe);
1966
- v(this, q, !1);
1967
- v(this, Ce);
1968
- v(this, Y);
1969
- v(this, Z);
1970
- v(this, J);
1971
- v(this, ee);
1972
- v(this, te);
1973
- v(this, ne);
1974
- v(this, Te);
1897
+ p(this, W);
1898
+ p(this, Ee);
1899
+ p(this, Ae);
1900
+ p(this, Oe);
1901
+ p(this, U, !1);
1902
+ p(this, Ce);
1903
+ p(this, Y);
1904
+ p(this, Z);
1905
+ p(this, J);
1906
+ p(this, ee);
1907
+ p(this, te);
1908
+ p(this, ne);
1909
+ p(this, Te);
1975
1910
  const {
1976
1911
  client: t,
1977
1912
  queryFlavor: n,
@@ -1984,7 +1919,7 @@ var as = (e, t = !1) => {
1984
1919
  styleNonce: u,
1985
1920
  shadowDOMTarget: f
1986
1921
  } = e;
1987
- p(this, W, A(t)), p(this, Ee, n), p(this, Oe, r), p(this, Ae, s), p(this, Ce, u), p(this, Y, f), p(this, Z, A(i)), p(this, J, A(o)), p(this, ee, A(l)), p(this, te, A(a));
1922
+ v(this, W, E(t)), v(this, Ae, n), v(this, Oe, r), v(this, Ee, s), v(this, Ce, u), v(this, Y, f), v(this, Z, E(i)), v(this, J, E(o)), v(this, ee, E(l)), v(this, te, E(a));
1988
1923
  }
1989
1924
  setButtonPosition(e) {
1990
1925
  d(this, Z)[1](e);
@@ -2002,20 +1937,20 @@ var as = (e, t = !1) => {
2002
1937
  d(this, W)[1](e);
2003
1938
  }
2004
1939
  mount(e) {
2005
- if (d(this, q))
1940
+ if (d(this, U))
2006
1941
  throw new Error("Devtools is already mounted");
2007
1942
  const t = qt(() => {
2008
1943
  const n = this, [r] = d(this, Z), [s] = d(this, J), [i] = d(this, ee), [o] = d(this, te), [l] = d(this, W);
2009
1944
  let a;
2010
- return d(this, ne) ? a = d(this, ne) : (a = jt(() => import("./J3FDRF32-NokiGAcz.mjs")), p(this, ne, a)), an(d(this, Ce), d(this, Y)), $t(a, Bt({
1945
+ return d(this, ne) ? a = d(this, ne) : (a = Ft(() => import("./C2Q2AJ2U-DTgcxQMB.mjs")), v(this, ne, a)), un(d(this, Ce), d(this, Y)), Bt(a, jt({
2011
1946
  get queryFlavor() {
2012
- return d(n, Ee);
1947
+ return d(n, Ae);
2013
1948
  },
2014
1949
  get version() {
2015
1950
  return d(n, Oe);
2016
1951
  },
2017
1952
  get onlineManager() {
2018
- return d(n, Ae);
1953
+ return d(n, Ee);
2019
1954
  },
2020
1955
  get shadowDOMTarget() {
2021
1956
  return d(n, Y);
@@ -2038,30 +1973,30 @@ var as = (e, t = !1) => {
2038
1973
  }
2039
1974
  }));
2040
1975
  }, e);
2041
- p(this, q, !0), p(this, Te, t);
1976
+ v(this, U, !0), v(this, Te, t);
2042
1977
  }
2043
1978
  unmount() {
2044
1979
  var e;
2045
- if (!d(this, q))
1980
+ if (!d(this, U))
2046
1981
  throw new Error("Devtools is not mounted");
2047
- (e = d(this, Te)) == null || e.call(this), p(this, q, !1);
1982
+ (e = d(this, Te)) == null || e.call(this), v(this, U, !1);
2048
1983
  }
2049
- }, W = new WeakMap(), Ae = new WeakMap(), Ee = new WeakMap(), Oe = new WeakMap(), q = new WeakMap(), Ce = new WeakMap(), Y = new WeakMap(), Z = new WeakMap(), J = new WeakMap(), ee = new WeakMap(), te = new WeakMap(), ne = new WeakMap(), Te = new WeakMap(), Et), re, xe, Ne, ke, F, Pe, se, ie, oe, le, ae, ue, ce, Ie, Ot, Rr = (Ot = class {
1984
+ }, W = new WeakMap(), Ee = new WeakMap(), Ae = new WeakMap(), Oe = new WeakMap(), U = new WeakMap(), Ce = new WeakMap(), Y = new WeakMap(), Z = new WeakMap(), J = new WeakMap(), ee = new WeakMap(), te = new WeakMap(), ne = new WeakMap(), Te = new WeakMap(), At), re, xe, Ne, ke, q, Pe, se, ie, oe, le, ae, ue, ce, Ie, Ot, Dr = (Ot = class {
2050
1985
  constructor(e) {
2051
- v(this, re);
2052
- v(this, xe);
2053
- v(this, Ne);
2054
- v(this, ke);
2055
- v(this, F, !1);
2056
- v(this, Pe);
2057
- v(this, se);
2058
- v(this, ie);
2059
- v(this, oe);
2060
- v(this, le);
2061
- v(this, ae);
2062
- v(this, ue);
2063
- v(this, ce);
2064
- v(this, Ie);
1986
+ p(this, re);
1987
+ p(this, xe);
1988
+ p(this, Ne);
1989
+ p(this, ke);
1990
+ p(this, q, !1);
1991
+ p(this, Pe);
1992
+ p(this, se);
1993
+ p(this, ie);
1994
+ p(this, oe);
1995
+ p(this, le);
1996
+ p(this, ae);
1997
+ p(this, ue);
1998
+ p(this, ce);
1999
+ p(this, Ie);
2065
2000
  const {
2066
2001
  client: t,
2067
2002
  queryFlavor: n,
@@ -2075,7 +2010,7 @@ var as = (e, t = !1) => {
2075
2010
  shadowDOMTarget: f,
2076
2011
  onClose: c
2077
2012
  } = e;
2078
- p(this, re, A(t)), p(this, Ne, n), p(this, ke, r), p(this, xe, s), p(this, Pe, u), p(this, se, f), p(this, ie, A(i)), p(this, oe, A(o)), p(this, le, A(l)), p(this, ae, A(a)), p(this, ue, A(c));
2013
+ v(this, re, E(t)), v(this, Ne, n), v(this, ke, r), v(this, xe, s), v(this, Pe, u), v(this, se, f), v(this, ie, E(i)), v(this, oe, E(o)), v(this, le, E(l)), v(this, ae, E(a)), v(this, ue, E(c));
2079
2014
  }
2080
2015
  setButtonPosition(e) {
2081
2016
  d(this, ie)[1](e);
@@ -2096,12 +2031,12 @@ var as = (e, t = !1) => {
2096
2031
  d(this, ue)[1](() => e);
2097
2032
  }
2098
2033
  mount(e) {
2099
- if (d(this, F))
2034
+ if (d(this, q))
2100
2035
  throw new Error("Devtools is already mounted");
2101
2036
  const t = qt(() => {
2102
2037
  const n = this, [r] = d(this, ie), [s] = d(this, oe), [i] = d(this, le), [o] = d(this, ae), [l] = d(this, re), [a] = d(this, ue);
2103
2038
  let u;
2104
- return d(this, ce) ? u = d(this, ce) : (u = jt(() => import("./3VW64HDT-DzqQ9sJJ.mjs")), p(this, ce, u)), an(d(this, Pe), d(this, se)), $t(u, Bt({
2039
+ return d(this, ce) ? u = d(this, ce) : (u = Ft(() => import("./CTUG6TWM-DqDj0HqV.mjs")), v(this, ce, u)), un(d(this, Pe), d(this, se)), Bt(u, jt({
2105
2040
  get queryFlavor() {
2106
2041
  return d(n, Ne);
2107
2042
  },
@@ -2135,25 +2070,25 @@ var as = (e, t = !1) => {
2135
2070
  }
2136
2071
  }));
2137
2072
  }, e);
2138
- p(this, F, !0), p(this, Ie, t);
2073
+ v(this, q, !0), v(this, Ie, t);
2139
2074
  }
2140
2075
  unmount() {
2141
2076
  var e;
2142
- if (!d(this, F))
2077
+ if (!d(this, q))
2143
2078
  throw new Error("Devtools is not mounted");
2144
- (e = d(this, Ie)) == null || e.call(this), p(this, F, !1);
2079
+ (e = d(this, Ie)) == null || e.call(this), v(this, q, !1);
2145
2080
  }
2146
- }, re = new WeakMap(), xe = new WeakMap(), Ne = new WeakMap(), ke = new WeakMap(), F = new WeakMap(), Pe = new WeakMap(), se = new WeakMap(), ie = new WeakMap(), oe = new WeakMap(), le = new WeakMap(), ae = new WeakMap(), ue = new WeakMap(), ce = new WeakMap(), Ie = new WeakMap(), Ot);
2147
- function Mr(e) {
2148
- const t = Ct(e.client), n = k.useRef(null), {
2081
+ }, re = new WeakMap(), xe = new WeakMap(), Ne = new WeakMap(), ke = new WeakMap(), q = new WeakMap(), Pe = new WeakMap(), se = new WeakMap(), ie = new WeakMap(), oe = new WeakMap(), le = new WeakMap(), ae = new WeakMap(), ue = new WeakMap(), ce = new WeakMap(), Ie = new WeakMap(), Ot);
2082
+ function Vr(e) {
2083
+ const t = Ct(e.client), n = P.useRef(null), {
2149
2084
  buttonPosition: r,
2150
2085
  position: s,
2151
2086
  initialIsOpen: i,
2152
2087
  errorTypes: o,
2153
2088
  styleNonce: l,
2154
2089
  shadowDOMTarget: a
2155
- } = e, [u] = k.useState(
2156
- new Ir({
2090
+ } = e, [u] = P.useState(
2091
+ new Mr({
2157
2092
  client: t,
2158
2093
  queryFlavor: "React Query",
2159
2094
  version: "5",
@@ -2166,23 +2101,23 @@ function Mr(e) {
2166
2101
  shadowDOMTarget: a
2167
2102
  })
2168
2103
  );
2169
- return k.useEffect(() => {
2104
+ return P.useEffect(() => {
2170
2105
  u.setClient(t);
2171
- }, [t, u]), k.useEffect(() => {
2106
+ }, [t, u]), P.useEffect(() => {
2172
2107
  r && u.setButtonPosition(r);
2173
- }, [r, u]), k.useEffect(() => {
2108
+ }, [r, u]), P.useEffect(() => {
2174
2109
  s && u.setPosition(s);
2175
- }, [s, u]), k.useEffect(() => {
2110
+ }, [s, u]), P.useEffect(() => {
2176
2111
  u.setInitialIsOpen(i || !1);
2177
- }, [i, u]), k.useEffect(() => {
2112
+ }, [i, u]), P.useEffect(() => {
2178
2113
  u.setErrorTypes(o || []);
2179
- }, [o, u]), k.useEffect(() => (n.current && u.mount(n.current), () => {
2114
+ }, [o, u]), P.useEffect(() => (n.current && u.mount(n.current), () => {
2180
2115
  u.unmount();
2181
2116
  }), [u]), /* @__PURE__ */ xt("div", { dir: "ltr", className: "tsqd-parent-container", ref: n });
2182
2117
  }
2183
- function Dr(e) {
2184
- const t = Ct(e.client), n = k.useRef(null), { errorTypes: r, styleNonce: s, shadowDOMTarget: i } = e, [o] = k.useState(
2185
- new Rr({
2118
+ function Lr(e) {
2119
+ const t = Ct(e.client), n = P.useRef(null), { errorTypes: r, styleNonce: s, shadowDOMTarget: i } = e, [o] = P.useState(
2120
+ new Dr({
2186
2121
  client: t,
2187
2122
  queryFlavor: "React Query",
2188
2123
  version: "5",
@@ -2196,14 +2131,14 @@ function Dr(e) {
2196
2131
  onClose: e.onClose
2197
2132
  })
2198
2133
  );
2199
- return k.useEffect(() => {
2134
+ return P.useEffect(() => {
2200
2135
  o.setClient(t);
2201
- }, [t, o]), k.useEffect(() => {
2136
+ }, [t, o]), P.useEffect(() => {
2202
2137
  o.setOnClose(e.onClose ?? (() => {
2203
2138
  }));
2204
- }, [e.onClose, o]), k.useEffect(() => {
2139
+ }, [e.onClose, o]), P.useEffect(() => {
2205
2140
  o.setErrorTypes(r || []);
2206
- }, [r, o]), k.useEffect(() => (n.current && o.mount(n.current), () => {
2141
+ }, [r, o]), P.useEffect(() => (n.current && o.mount(n.current), () => {
2207
2142
  o.unmount();
2208
2143
  }), [o]), /* @__PURE__ */ xt(
2209
2144
  "div",
@@ -2214,65 +2149,65 @@ function Dr(e) {
2214
2149
  }
2215
2150
  );
2216
2151
  }
2217
- var Lr = process.env.NODE_ENV !== "development" ? function() {
2152
+ var _r = process.env.NODE_ENV !== "development" ? function() {
2218
2153
  return null;
2219
- } : Mr, Vr = process.env.NODE_ENV !== "development" ? function() {
2154
+ } : Vr, $r = process.env.NODE_ENV !== "development" ? function() {
2220
2155
  return null;
2221
- } : Dr;
2222
- const hs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2156
+ } : Lr;
2157
+ const ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2223
2158
  __proto__: null,
2224
- ReactQueryDevtools: Lr,
2225
- ReactQueryDevtoolsPanel: Vr
2159
+ ReactQueryDevtools: _r,
2160
+ ReactQueryDevtoolsPanel: $r
2226
2161
  }, Symbol.toStringTag, { value: "Module" }));
2227
2162
  export {
2228
- kt as $,
2229
- ls as A,
2230
- as as B,
2231
- fs as C,
2232
- T as D,
2233
- Fr as E,
2234
- Gr as F,
2235
- Qn as G,
2236
- Bt as H,
2163
+ Pt as $,
2164
+ us as A,
2165
+ cs as B,
2166
+ hs as C,
2167
+ x as D,
2168
+ Qr as E,
2169
+ Xr as F,
2170
+ zn as G,
2171
+ jt as H,
2237
2172
  K as I,
2238
- xr as J,
2239
- Hr as K,
2240
- Le as L,
2173
+ kr as J,
2174
+ Wr as K,
2175
+ Ve as L,
2241
2176
  qn as M,
2242
- ns as N,
2243
- Yr as O,
2244
- es as P,
2245
- Wr as Q,
2246
- Ve as R,
2247
- Xr as S,
2248
- Tn as T,
2249
- ts as U,
2250
- fn as V,
2251
- hs as W,
2252
- $t as a,
2253
- Kr as b,
2254
- P as c,
2255
- A as d,
2256
- Rt as e,
2177
+ ss as N,
2178
+ Jr as O,
2179
+ ns as P,
2180
+ Zr as Q,
2181
+ Le as R,
2182
+ Yr as S,
2183
+ xn as T,
2184
+ rs as U,
2185
+ dn as V,
2186
+ ys as W,
2187
+ Bt as a,
2188
+ zr as b,
2189
+ T as c,
2190
+ E as d,
2191
+ Mt as e,
2257
2192
  Q as f,
2258
- ds as g,
2193
+ gs as g,
2259
2194
  Un as h,
2260
2195
  it as i,
2261
- Ur as j,
2196
+ qr as j,
2262
2197
  st as k,
2263
- Jr as l,
2264
- cs as m,
2265
- $n as n,
2266
- gn as o,
2198
+ ts as l,
2199
+ ds as m,
2200
+ Bn as n,
2201
+ yn as o,
2267
2202
  me as p,
2268
- ss as q,
2269
- zn as r,
2270
- us as s,
2271
- Zr as t,
2272
- Qr as u,
2273
- zr as v,
2274
- jr as w,
2275
- rs as x,
2276
- os as y,
2277
- is as z
2203
+ os as q,
2204
+ Gn as r,
2205
+ fs as s,
2206
+ es as t,
2207
+ Gr as u,
2208
+ Hr as v,
2209
+ Ur as w,
2210
+ is as x,
2211
+ as as y,
2212
+ ls as z
2278
2213
  };