@qikbar/qikbar 0.0.21 → 0.0.22

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.
package/dist/qikbar.es.js CHANGED
@@ -3,7 +3,7 @@ var ba = Object.defineProperty;
3
3
  var wa = (t, e, r) => e in t ? ba(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
4
4
  var Wn = (t, e, r) => (wa(t, typeof e != "symbol" ? e + "" : e, r), r);
5
5
  import * as p from "react";
6
- import Ct, { useDebugValue as Ca, useContext as Et, useRef as un, useEffect as Ge, createContext as Ea, useState as We, useMemo as is, Component as Ra } from "react";
6
+ import Et, { useDebugValue as Ca, useContext as Rt, useRef as un, useEffect as Ge, createContext as Ea, useState as We, useMemo as is, Component as Ra } from "react";
7
7
  import Sa from "react-dom";
8
8
  var wr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9
9
  function xa(t) {
@@ -31,7 +31,7 @@ function _a() {
31
31
  if (Kn)
32
32
  return Kt;
33
33
  Kn = 1;
34
- var t = Ct, e = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
34
+ var t = Et, e = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
35
35
  function a(l, o, u) {
36
36
  var c, f = {}, d = null, m = null;
37
37
  u !== void 0 && (d = "" + u), o.key !== void 0 && (d = "" + o.key), o.ref !== void 0 && (m = o.ref);
@@ -57,8 +57,8 @@ var Yt = {};
57
57
  var Yn;
58
58
  function Ta() {
59
59
  return Yn || (Yn = 1, process.env.NODE_ENV !== "production" && function() {
60
- var t = Ct, e = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), o = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), v = Symbol.iterator, w = "@@iterator";
61
- function R(h) {
60
+ var t = Et, e = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), o = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), v = Symbol.iterator, w = "@@iterator";
61
+ function E(h) {
62
62
  if (h === null || typeof h != "object")
63
63
  return null;
64
64
  var x = v && h[v] || h[w];
@@ -67,14 +67,14 @@ function Ta() {
67
67
  var O = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
68
68
  function k(h) {
69
69
  {
70
- for (var x = arguments.length, T = new Array(x > 1 ? x - 1 : 0), V = 1; V < x; V++)
71
- T[V - 1] = arguments[V];
70
+ for (var x = arguments.length, T = new Array(x > 1 ? x - 1 : 0), U = 1; U < x; U++)
71
+ T[U - 1] = arguments[U];
72
72
  C("error", h, T);
73
73
  }
74
74
  }
75
75
  function C(h, x, T) {
76
76
  {
77
- var V = O.ReactDebugCurrentFrame, Y = V.getStackAddendum();
77
+ var U = O.ReactDebugCurrentFrame, Y = U.getStackAddendum();
78
78
  Y !== "" && (x += "%s", T = T.concat([Y]));
79
79
  var Z = T.map(function(K) {
80
80
  return String(K);
@@ -82,26 +82,26 @@ function Ta() {
82
82
  Z.unshift("Warning: " + x), Function.prototype.apply.call(console[h], console, Z);
83
83
  }
84
84
  }
85
- var E = !1, M = !1, _ = !1, j = !1, P = !1, B;
86
- B = Symbol.for("react.module.reference");
87
- function ne(h) {
88
- return !!(typeof h == "string" || typeof h == "function" || h === n || h === s || P || h === i || h === u || h === c || j || h === m || E || M || _ || typeof h == "object" && h !== null && (h.$$typeof === d || h.$$typeof === f || h.$$typeof === a || h.$$typeof === l || h.$$typeof === o || // This needs to include all possible module reference object
85
+ var R = !1, A = !1, _ = !1, j = !1, N = !1, F;
86
+ F = Symbol.for("react.module.reference");
87
+ function J(h) {
88
+ return !!(typeof h == "string" || typeof h == "function" || h === n || h === s || N || h === i || h === u || h === c || j || h === m || R || A || _ || typeof h == "object" && h !== null && (h.$$typeof === d || h.$$typeof === f || h.$$typeof === a || h.$$typeof === l || h.$$typeof === o || // This needs to include all possible module reference object
89
89
  // types supported by any Flight configuration anywhere since
90
90
  // we don't know which Flight build this will end up being used
91
91
  // with.
92
- h.$$typeof === B || h.getModuleId !== void 0));
92
+ h.$$typeof === F || h.getModuleId !== void 0));
93
93
  }
94
- function W(h, x, T) {
95
- var V = h.displayName;
96
- if (V)
97
- return V;
94
+ function H(h, x, T) {
95
+ var U = h.displayName;
96
+ if (U)
97
+ return U;
98
98
  var Y = x.displayName || x.name || "";
99
99
  return Y !== "" ? T + "(" + Y + ")" : T;
100
100
  }
101
- function A(h) {
101
+ function M(h) {
102
102
  return h.displayName || "Context";
103
103
  }
104
- function te(h) {
104
+ function re(h) {
105
105
  if (h == null)
106
106
  return null;
107
107
  if (typeof h.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof h == "function")
@@ -126,19 +126,19 @@ function Ta() {
126
126
  switch (h.$$typeof) {
127
127
  case l:
128
128
  var x = h;
129
- return A(x) + ".Consumer";
129
+ return M(x) + ".Consumer";
130
130
  case a:
131
131
  var T = h;
132
- return A(T._context) + ".Provider";
132
+ return M(T._context) + ".Provider";
133
133
  case o:
134
- return W(h, h.render, "ForwardRef");
134
+ return H(h, h.render, "ForwardRef");
135
135
  case f:
136
- var V = h.displayName || null;
137
- return V !== null ? V : te(h.type) || "Memo";
136
+ var U = h.displayName || null;
137
+ return U !== null ? U : re(h.type) || "Memo";
138
138
  case d: {
139
139
  var Y = h, Z = Y._payload, K = Y._init;
140
140
  try {
141
- return te(K(Z));
141
+ return re(K(Z));
142
142
  } catch {
143
143
  return null;
144
144
  }
@@ -146,14 +146,14 @@ function Ta() {
146
146
  }
147
147
  return null;
148
148
  }
149
- var ce = Object.assign, ye = 0, ve, J, Le, tt, ie, Ce, dr;
149
+ var ce = Object.assign, ye = 0, ve, X, Le, tt, ie, Ce, dr;
150
150
  function hr() {
151
151
  }
152
152
  hr.__reactDisabledLog = !0;
153
153
  function fr() {
154
154
  {
155
155
  if (ye === 0) {
156
- ve = console.log, J = console.info, Le = console.warn, tt = console.error, ie = console.group, Ce = console.groupCollapsed, dr = console.groupEnd;
156
+ ve = console.log, X = console.info, Le = console.warn, tt = console.error, ie = console.group, Ce = console.groupCollapsed, dr = console.groupEnd;
157
157
  var h = {
158
158
  configurable: !0,
159
159
  enumerable: !0,
@@ -186,7 +186,7 @@ function Ta() {
186
186
  value: ve
187
187
  }),
188
188
  info: ce({}, h, {
189
- value: J
189
+ value: X
190
190
  }),
191
191
  warn: ce({}, h, {
192
192
  value: Le
@@ -215,28 +215,28 @@ function Ta() {
215
215
  try {
216
216
  throw Error();
217
217
  } catch (Y) {
218
- var V = Y.stack.trim().match(/\n( *(at )?)/);
219
- Ht = V && V[1] || "";
218
+ var U = Y.stack.trim().match(/\n( *(at )?)/);
219
+ Ht = U && U[1] || "";
220
220
  }
221
221
  return `
222
222
  ` + Ht + h;
223
223
  }
224
224
  }
225
- var Tt = !1, rt;
225
+ var kt = !1, rt;
226
226
  {
227
227
  var Qt = typeof WeakMap == "function" ? WeakMap : Map;
228
228
  rt = new Qt();
229
229
  }
230
- function kt(h, x) {
231
- if (!h || Tt)
230
+ function Dt(h, x) {
231
+ if (!h || kt)
232
232
  return "";
233
233
  {
234
234
  var T = rt.get(h);
235
235
  if (T !== void 0)
236
236
  return T;
237
237
  }
238
- var V;
239
- Tt = !0;
238
+ var U;
239
+ kt = !0;
240
240
  var Y = Error.prepareStackTrace;
241
241
  Error.prepareStackTrace = void 0;
242
242
  var Z;
@@ -254,14 +254,14 @@ function Ta() {
254
254
  try {
255
255
  Reflect.construct(K, []);
256
256
  } catch (ze) {
257
- V = ze;
257
+ U = ze;
258
258
  }
259
259
  Reflect.construct(h, [], K);
260
260
  } else {
261
261
  try {
262
262
  K.call();
263
263
  } catch (ze) {
264
- V = ze;
264
+ U = ze;
265
265
  }
266
266
  h.call(K.prototype);
267
267
  }
@@ -269,23 +269,23 @@ function Ta() {
269
269
  try {
270
270
  throw Error();
271
271
  } catch (ze) {
272
- V = ze;
272
+ U = ze;
273
273
  }
274
274
  h();
275
275
  }
276
276
  } catch (ze) {
277
- if (ze && V && typeof ze.stack == "string") {
278
- for (var z = ze.stack.split(`
279
- `), be = V.stack.split(`
280
- `), ae = z.length - 1, oe = be.length - 1; ae >= 1 && oe >= 0 && z[ae] !== be[oe]; )
277
+ if (ze && U && typeof ze.stack == "string") {
278
+ for (var W = ze.stack.split(`
279
+ `), be = U.stack.split(`
280
+ `), ae = W.length - 1, oe = be.length - 1; ae >= 1 && oe >= 0 && W[ae] !== be[oe]; )
281
281
  oe--;
282
282
  for (; ae >= 1 && oe >= 0; ae--, oe--)
283
- if (z[ae] !== be[oe]) {
283
+ if (W[ae] !== be[oe]) {
284
284
  if (ae !== 1 || oe !== 1)
285
285
  do
286
- if (ae--, oe--, oe < 0 || z[ae] !== be[oe]) {
286
+ if (ae--, oe--, oe < 0 || W[ae] !== be[oe]) {
287
287
  var ke = `
288
- ` + z[ae].replace(" at new ", " at ");
288
+ ` + W[ae].replace(" at new ", " at ");
289
289
  return h.displayName && ke.includes("<anonymous>") && (ke = ke.replace("<anonymous>", h.displayName)), typeof h == "function" && rt.set(h, ke), ke;
290
290
  }
291
291
  while (ae >= 1 && oe >= 0);
@@ -293,23 +293,23 @@ function Ta() {
293
293
  }
294
294
  }
295
295
  } finally {
296
- Tt = !1, Bt.current = Z, Kr(), Error.prepareStackTrace = Y;
296
+ kt = !1, Bt.current = Z, Kr(), Error.prepareStackTrace = Y;
297
297
  }
298
- var Mt = h ? h.displayName || h.name : "", zn = Mt ? Ae(Mt) : "";
298
+ var At = h ? h.displayName || h.name : "", zn = At ? Ae(At) : "";
299
299
  return typeof h == "function" && rt.set(h, zn), zn;
300
300
  }
301
- function Dt(h, x, T) {
302
- return kt(h, !1);
301
+ function Lt(h, x, T) {
302
+ return Dt(h, !1);
303
303
  }
304
304
  function pr(h) {
305
305
  var x = h.prototype;
306
306
  return !!(x && x.isReactComponent);
307
307
  }
308
- function Lt(h, x, T) {
308
+ function Pt(h, x, T) {
309
309
  if (h == null)
310
310
  return "";
311
311
  if (typeof h == "function")
312
- return kt(h, pr(h));
312
+ return Dt(h, pr(h));
313
313
  if (typeof h == "string")
314
314
  return Ae(h);
315
315
  switch (h) {
@@ -321,13 +321,13 @@ function Ta() {
321
321
  if (typeof h == "object")
322
322
  switch (h.$$typeof) {
323
323
  case o:
324
- return Dt(h.render);
324
+ return Lt(h.render);
325
325
  case f:
326
- return Lt(h.type, x, T);
326
+ return Pt(h.type, x, T);
327
327
  case d: {
328
- var V = h, Y = V._payload, Z = V._init;
328
+ var U = h, Y = U._payload, Z = U._init;
329
329
  try {
330
- return Lt(Z(Y), x, T);
330
+ return Pt(Z(Y), x, T);
331
331
  } catch {
332
332
  }
333
333
  }
@@ -337,27 +337,27 @@ function Ta() {
337
337
  var ct = Object.prototype.hasOwnProperty, mr = {}, nt = O.ReactDebugCurrentFrame;
338
338
  function He(h) {
339
339
  if (h) {
340
- var x = h._owner, T = Lt(h.type, h._source, x ? x.type : null);
340
+ var x = h._owner, T = Pt(h.type, h._source, x ? x.type : null);
341
341
  nt.setExtraStackFrame(T);
342
342
  } else
343
343
  nt.setExtraStackFrame(null);
344
344
  }
345
- function gr(h, x, T, V, Y) {
345
+ function gr(h, x, T, U, Y) {
346
346
  {
347
347
  var Z = Function.call.bind(ct);
348
348
  for (var K in h)
349
349
  if (Z(h, K)) {
350
- var z = void 0;
350
+ var W = void 0;
351
351
  try {
352
352
  if (typeof h[K] != "function") {
353
- var be = Error((V || "React class") + ": " + T + " type `" + K + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof h[K] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
353
+ var be = Error((U || "React class") + ": " + T + " type `" + K + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof h[K] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
354
354
  throw be.name = "Invariant Violation", be;
355
355
  }
356
- z = h[K](x, K, V, T, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
356
+ W = h[K](x, K, U, T, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
357
357
  } catch (ae) {
358
- z = ae;
358
+ W = ae;
359
359
  }
360
- z && !(z instanceof Error) && (He(Y), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", V || "React class", T, K, typeof z), He(null)), z instanceof Error && !(z.message in mr) && (mr[z.message] = !0, He(Y), k("Failed %s type: %s", T, z.message), He(null));
360
+ W && !(W instanceof Error) && (He(Y), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", U || "React class", T, K, typeof W), He(null)), W instanceof Error && !(W.message in mr) && (mr[W.message] = !0, He(Y), k("Failed %s type: %s", T, W.message), He(null));
361
361
  }
362
362
  }
363
363
  }
@@ -390,9 +390,9 @@ function Ta() {
390
390
  ref: !0,
391
391
  __self: !0,
392
392
  __source: !0
393
- }, D, I, q;
394
- q = {};
395
- function Q(h) {
393
+ }, D, V, I;
394
+ I = {};
395
+ function z(h) {
396
396
  if (ct.call(h, "ref")) {
397
397
  var x = Object.getOwnPropertyDescriptor(h, "ref").get;
398
398
  if (x && x.isReactWarning)
@@ -400,7 +400,7 @@ function Ta() {
400
400
  }
401
401
  return h.ref !== void 0;
402
402
  }
403
- function F(h) {
403
+ function q(h) {
404
404
  if (ct.call(h, "key")) {
405
405
  var x = Object.getOwnPropertyDescriptor(h, "key").get;
406
406
  if (x && x.isReactWarning)
@@ -410,11 +410,11 @@ function Ta() {
410
410
  }
411
411
  function he(h, x) {
412
412
  if (typeof h.ref == "string" && S.current && x && S.current.stateNode !== x) {
413
- var T = te(S.current.type);
414
- q[T] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', te(S.current.type), h.ref), q[T] = !0);
413
+ var T = re(S.current.type);
414
+ I[T] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', re(S.current.type), h.ref), I[T] = !0);
415
415
  }
416
416
  }
417
- function H(h, x) {
417
+ function Q(h, x) {
418
418
  {
419
419
  var T = function() {
420
420
  D || (D = !0, k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", x));
@@ -425,10 +425,10 @@ function Ta() {
425
425
  });
426
426
  }
427
427
  }
428
- function re(h, x) {
428
+ function ne(h, x) {
429
429
  {
430
430
  var T = function() {
431
- I || (I = !0, k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", x));
431
+ V || (V = !0, k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", x));
432
432
  };
433
433
  T.isReactWarning = !0, Object.defineProperty(h, "ref", {
434
434
  get: T,
@@ -436,8 +436,8 @@ function Ta() {
436
436
  });
437
437
  }
438
438
  }
439
- var Se = function(h, x, T, V, Y, Z, K) {
440
- var z = {
439
+ var Se = function(h, x, T, U, Y, Z, K) {
440
+ var W = {
441
441
  // This tag allows us to uniquely identify this as a React Element
442
442
  $$typeof: e,
443
443
  // Built-in properties that belong on the element
@@ -448,27 +448,27 @@ function Ta() {
448
448
  // Record the component responsible for creating this element.
449
449
  _owner: Z
450
450
  };
451
- return z._store = {}, Object.defineProperty(z._store, "validated", {
451
+ return W._store = {}, Object.defineProperty(W._store, "validated", {
452
452
  configurable: !1,
453
453
  enumerable: !1,
454
454
  writable: !0,
455
455
  value: !1
456
- }), Object.defineProperty(z, "_self", {
456
+ }), Object.defineProperty(W, "_self", {
457
457
  configurable: !1,
458
458
  enumerable: !1,
459
459
  writable: !1,
460
- value: V
461
- }), Object.defineProperty(z, "_source", {
460
+ value: U
461
+ }), Object.defineProperty(W, "_source", {
462
462
  configurable: !1,
463
463
  enumerable: !1,
464
464
  writable: !1,
465
465
  value: Y
466
- }), Object.freeze && (Object.freeze(z.props), Object.freeze(z)), z;
466
+ }), Object.freeze && (Object.freeze(W.props), Object.freeze(W)), W;
467
467
  };
468
- function xe(h, x, T, V, Y) {
468
+ function xe(h, x, T, U, Y) {
469
469
  {
470
- var Z, K = {}, z = null, be = null;
471
- T !== void 0 && (b(T), z = "" + T), F(x) && (b(x.key), z = "" + x.key), Q(x) && (be = x.ref, he(x, Y));
470
+ var Z, K = {}, W = null, be = null;
471
+ T !== void 0 && (b(T), W = "" + T), q(x) && (b(x.key), W = "" + x.key), z(x) && (be = x.ref, he(x, Y));
472
472
  for (Z in x)
473
473
  ct.call(x, Z) && !L.hasOwnProperty(Z) && (K[Z] = x[Z]);
474
474
  if (h && h.defaultProps) {
@@ -476,17 +476,17 @@ function Ta() {
476
476
  for (Z in ae)
477
477
  K[Z] === void 0 && (K[Z] = ae[Z]);
478
478
  }
479
- if (z || be) {
479
+ if (W || be) {
480
480
  var oe = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
481
- z && H(K, oe), be && re(K, oe);
481
+ W && Q(K, oe), be && ne(K, oe);
482
482
  }
483
- return Se(h, z, be, Y, V, S.current, K);
483
+ return Se(h, W, be, Y, U, S.current, K);
484
484
  }
485
485
  }
486
486
  var Qe = O.ReactCurrentOwner, dt = O.ReactDebugCurrentFrame;
487
487
  function Pe(h) {
488
488
  if (h) {
489
- var x = h._owner, T = Lt(h.type, h._source, x ? x.type : null);
489
+ var x = h._owner, T = Pt(h.type, h._source, x ? x.type : null);
490
490
  dt.setExtraStackFrame(T);
491
491
  } else
492
492
  dt.setExtraStackFrame(null);
@@ -499,7 +499,7 @@ function Ta() {
499
499
  function de() {
500
500
  {
501
501
  if (Qe.current) {
502
- var h = te(Qe.current.type);
502
+ var h = re(Qe.current.type);
503
503
  if (h)
504
504
  return `
505
505
 
@@ -520,7 +520,7 @@ Check your code at ` + x + ":" + T + ".";
520
520
  }
521
521
  }
522
522
  var qe = {};
523
- function Pt(h) {
523
+ function Nt(h) {
524
524
  {
525
525
  var x = de();
526
526
  if (!x) {
@@ -532,17 +532,17 @@ Check the top-level render call using <` + T + ">.");
532
532
  return x;
533
533
  }
534
534
  }
535
- function Nt(h, x) {
535
+ function jt(h, x) {
536
536
  {
537
537
  if (!h._store || h._store.validated || h.key != null)
538
538
  return;
539
539
  h._store.validated = !0;
540
- var T = Pt(x);
540
+ var T = Nt(x);
541
541
  if (qe[T])
542
542
  return;
543
543
  qe[T] = !0;
544
- var V = "";
545
- h && h._owner && h._owner !== Qe.current && (V = " It was passed a child from " + te(h._owner.type) + "."), Pe(h), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', T, V), Pe(null);
544
+ var U = "";
545
+ h && h._owner && h._owner !== Qe.current && (U = " It was passed a child from " + re(h._owner.type) + "."), Pe(h), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', T, U), Pe(null);
546
546
  }
547
547
  }
548
548
  function vr(h, x) {
@@ -551,16 +551,16 @@ Check the top-level render call using <` + T + ">.");
551
551
  return;
552
552
  if (Wt(h))
553
553
  for (var T = 0; T < h.length; T++) {
554
- var V = h[T];
555
- ht(V) && Nt(V, x);
554
+ var U = h[T];
555
+ ht(U) && jt(U, x);
556
556
  }
557
557
  else if (ht(h))
558
558
  h._store && (h._store.validated = !0);
559
559
  else if (h) {
560
- var Y = R(h);
560
+ var Y = E(h);
561
561
  if (typeof Y == "function" && Y !== h.entries)
562
562
  for (var Z = Y.call(h), K; !(K = Z.next()).done; )
563
- ht(K.value) && Nt(K.value, x);
563
+ ht(K.value) && jt(K.value, x);
564
564
  }
565
565
  }
566
566
  }
@@ -579,11 +579,11 @@ Check the top-level render call using <` + T + ">.");
579
579
  else
580
580
  return;
581
581
  if (T) {
582
- var V = te(x);
583
- gr(T, h.props, "prop", V, h);
582
+ var U = re(x);
583
+ gr(T, h.props, "prop", U, h);
584
584
  } else if (x.PropTypes !== void 0 && !Fe) {
585
585
  Fe = !0;
586
- var Y = te(x);
586
+ var Y = re(x);
587
587
  k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Y || "Unknown");
588
588
  }
589
589
  typeof x.getDefaultProps == "function" && !x.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -592,25 +592,25 @@ Check the top-level render call using <` + T + ">.");
592
592
  function Ne(h) {
593
593
  {
594
594
  for (var x = Object.keys(h.props), T = 0; T < x.length; T++) {
595
- var V = x[T];
596
- if (V !== "children" && V !== "key") {
597
- Pe(h), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", V), Pe(null);
595
+ var U = x[T];
596
+ if (U !== "children" && U !== "key") {
597
+ Pe(h), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", U), Pe(null);
598
598
  break;
599
599
  }
600
600
  }
601
601
  h.ref !== null && (Pe(h), k("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
602
602
  }
603
603
  }
604
- function jt(h, x, T, V, Y, Z) {
604
+ function Mt(h, x, T, U, Y, Z) {
605
605
  {
606
- var K = ne(h);
606
+ var K = J(h);
607
607
  if (!K) {
608
- var z = "";
609
- (h === void 0 || typeof h == "object" && h !== null && Object.keys(h).length === 0) && (z += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
608
+ var W = "";
609
+ (h === void 0 || typeof h == "object" && h !== null && Object.keys(h).length === 0) && (W += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
610
610
  var be = Te(Y);
611
- be ? z += be : z += de();
611
+ be ? W += be : W += de();
612
612
  var ae;
613
- h === null ? ae = "null" : Wt(h) ? ae = "array" : h !== void 0 && h.$$typeof === e ? (ae = "<" + (te(h.type) || "Unknown") + " />", z = " Did you accidentally export a JSX literal instead of a component?") : ae = typeof h, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ae, z);
613
+ h === null ? ae = "null" : Wt(h) ? ae = "array" : h !== void 0 && h.$$typeof === e ? (ae = "<" + (re(h.type) || "Unknown") + " />", W = " Did you accidentally export a JSX literal instead of a component?") : ae = typeof h, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ae, W);
614
614
  }
615
615
  var oe = xe(h, x, T, Y, Z);
616
616
  if (oe == null)
@@ -618,10 +618,10 @@ Check the top-level render call using <` + T + ">.");
618
618
  if (K) {
619
619
  var ke = x.children;
620
620
  if (ke !== void 0)
621
- if (V)
621
+ if (U)
622
622
  if (Wt(ke)) {
623
- for (var Mt = 0; Mt < ke.length; Mt++)
624
- vr(ke[Mt], h);
623
+ for (var At = 0; At < ke.length; At++)
624
+ vr(ke[At], h);
625
625
  Object.freeze && Object.freeze(ke);
626
626
  } else
627
627
  k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
@@ -632,10 +632,10 @@ Check the top-level render call using <` + T + ">.");
632
632
  }
633
633
  }
634
634
  function br(h, x, T) {
635
- return jt(h, x, T, !0);
635
+ return Mt(h, x, T, !0);
636
636
  }
637
637
  function Zr(h, x, T) {
638
- return jt(h, x, T, !1);
638
+ return Mt(h, x, T, !1);
639
639
  }
640
640
  var ya = Zr, va = br;
641
641
  Yt.Fragment = n, Yt.jsx = ya, Yt.jsxs = va;
@@ -709,18 +709,18 @@ function Pa() {
709
709
  if (Zn)
710
710
  return Xr;
711
711
  Zn = 1;
712
- var t = Ct;
712
+ var t = Et;
713
713
  function e(f, d) {
714
714
  return f === d && (f !== 0 || 1 / f === 1 / d) || f !== f && d !== d;
715
715
  }
716
716
  var r = typeof Object.is == "function" ? Object.is : e, n = t.useState, i = t.useEffect, s = t.useLayoutEffect, a = t.useDebugValue;
717
717
  function l(f, d) {
718
- var m = d(), v = n({ inst: { value: m, getSnapshot: d } }), w = v[0].inst, R = v[1];
718
+ var m = d(), v = n({ inst: { value: m, getSnapshot: d } }), w = v[0].inst, E = v[1];
719
719
  return s(function() {
720
- w.value = m, w.getSnapshot = d, o(w) && R({ inst: w });
720
+ w.value = m, w.getSnapshot = d, o(w) && E({ inst: w });
721
721
  }, [f, m, d]), i(function() {
722
- return o(w) && R({ inst: w }), f(function() {
723
- o(w) && R({ inst: w });
722
+ return o(w) && E({ inst: w }), f(function() {
723
+ o(w) && E({ inst: w });
724
724
  });
725
725
  }, [f]), a(m), m;
726
726
  }
@@ -754,70 +754,70 @@ var Jn;
754
754
  function Na() {
755
755
  return Jn || (Jn = 1, process.env.NODE_ENV !== "production" && function() {
756
756
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
757
- var t = Ct, e = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
757
+ var t = Et, e = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
758
758
  function r(C) {
759
759
  {
760
- for (var E = arguments.length, M = new Array(E > 1 ? E - 1 : 0), _ = 1; _ < E; _++)
761
- M[_ - 1] = arguments[_];
762
- n("error", C, M);
760
+ for (var R = arguments.length, A = new Array(R > 1 ? R - 1 : 0), _ = 1; _ < R; _++)
761
+ A[_ - 1] = arguments[_];
762
+ n("error", C, A);
763
763
  }
764
764
  }
765
- function n(C, E, M) {
765
+ function n(C, R, A) {
766
766
  {
767
767
  var _ = e.ReactDebugCurrentFrame, j = _.getStackAddendum();
768
- j !== "" && (E += "%s", M = M.concat([j]));
769
- var P = M.map(function(B) {
770
- return String(B);
768
+ j !== "" && (R += "%s", A = A.concat([j]));
769
+ var N = A.map(function(F) {
770
+ return String(F);
771
771
  });
772
- P.unshift("Warning: " + E), Function.prototype.apply.call(console[C], console, P);
772
+ N.unshift("Warning: " + R), Function.prototype.apply.call(console[C], console, N);
773
773
  }
774
774
  }
775
- function i(C, E) {
776
- return C === E && (C !== 0 || 1 / C === 1 / E) || C !== C && E !== E;
775
+ function i(C, R) {
776
+ return C === R && (C !== 0 || 1 / C === 1 / R) || C !== C && R !== R;
777
777
  }
778
778
  var s = typeof Object.is == "function" ? Object.is : i, a = t.useState, l = t.useEffect, o = t.useLayoutEffect, u = t.useDebugValue, c = !1, f = !1;
779
- function d(C, E, M) {
779
+ function d(C, R, A) {
780
780
  c || t.startTransition !== void 0 && (c = !0, r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
781
- var _ = E();
781
+ var _ = R();
782
782
  if (!f) {
783
- var j = E();
783
+ var j = R();
784
784
  s(_, j) || (r("The result of getSnapshot should be cached to avoid an infinite loop"), f = !0);
785
785
  }
786
- var P = a({
786
+ var N = a({
787
787
  inst: {
788
788
  value: _,
789
- getSnapshot: E
789
+ getSnapshot: R
790
790
  }
791
- }), B = P[0].inst, ne = P[1];
791
+ }), F = N[0].inst, J = N[1];
792
792
  return o(function() {
793
- B.value = _, B.getSnapshot = E, m(B) && ne({
794
- inst: B
793
+ F.value = _, F.getSnapshot = R, m(F) && J({
794
+ inst: F
795
795
  });
796
- }, [C, _, E]), l(function() {
797
- m(B) && ne({
798
- inst: B
796
+ }, [C, _, R]), l(function() {
797
+ m(F) && J({
798
+ inst: F
799
799
  });
800
- var W = function() {
801
- m(B) && ne({
802
- inst: B
800
+ var H = function() {
801
+ m(F) && J({
802
+ inst: F
803
803
  });
804
804
  };
805
- return C(W);
805
+ return C(H);
806
806
  }, [C]), u(_), _;
807
807
  }
808
808
  function m(C) {
809
- var E = C.getSnapshot, M = C.value;
809
+ var R = C.getSnapshot, A = C.value;
810
810
  try {
811
- var _ = E();
812
- return !s(M, _);
811
+ var _ = R();
812
+ return !s(A, _);
813
813
  } catch {
814
814
  return !0;
815
815
  }
816
816
  }
817
- function v(C, E, M) {
818
- return E();
817
+ function v(C, R, A) {
818
+ return R();
819
819
  }
820
- var w = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", R = !w, O = R ? v : d, k = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore : O;
820
+ var w = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", E = !w, O = E ? v : d, k = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore : O;
821
821
  en.useSyncExternalStore = k, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
822
822
  }()), en;
823
823
  }
@@ -841,7 +841,7 @@ function ja() {
841
841
  if (ei)
842
842
  return Jr;
843
843
  ei = 1;
844
- var t = Ct, e = bn();
844
+ var t = Et, e = bn();
845
845
  function r(u, c) {
846
846
  return u === c && (u !== 0 || 1 / u === 1 / c) || u !== u && c !== c;
847
847
  }
@@ -859,26 +859,26 @@ function ja() {
859
859
  if (k = !0, C = _, _ = d(_), m !== void 0 && w.hasValue) {
860
860
  var j = w.value;
861
861
  if (m(j, _))
862
- return E = j;
862
+ return R = j;
863
863
  }
864
- return E = _;
864
+ return R = _;
865
865
  }
866
- if (j = E, n(C, _))
866
+ if (j = R, n(C, _))
867
867
  return j;
868
- var P = d(_);
869
- return m !== void 0 && m(j, P) ? j : (C = _, E = P);
868
+ var N = d(_);
869
+ return m !== void 0 && m(j, N) ? j : (C = _, R = N);
870
870
  }
871
- var k = !1, C, E, M = f === void 0 ? null : f;
871
+ var k = !1, C, R, A = f === void 0 ? null : f;
872
872
  return [function() {
873
873
  return O(c());
874
- }, M === null ? void 0 : function() {
875
- return O(M());
874
+ }, A === null ? void 0 : function() {
875
+ return O(A());
876
876
  }];
877
877
  }, [c, f, d, m]);
878
- var R = i(u, v[0], v[1]);
878
+ var E = i(u, v[0], v[1]);
879
879
  return a(function() {
880
- w.hasValue = !0, w.value = R;
881
- }, [R]), o(R), R;
880
+ w.hasValue = !0, w.value = E;
881
+ }, [E]), o(E), E;
882
882
  }, Jr;
883
883
  }
884
884
  var tn = {};
@@ -895,44 +895,44 @@ var ti;
895
895
  function Ma() {
896
896
  return ti || (ti = 1, process.env.NODE_ENV !== "production" && function() {
897
897
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
898
- var t = Ct, e = bn();
898
+ var t = Et, e = bn();
899
899
  function r(c, f) {
900
900
  return c === f && (c !== 0 || 1 / c === 1 / f) || c !== c && f !== f;
901
901
  }
902
902
  var n = typeof Object.is == "function" ? Object.is : r, i = e.useSyncExternalStore, s = t.useRef, a = t.useEffect, l = t.useMemo, o = t.useDebugValue;
903
903
  function u(c, f, d, m, v) {
904
- var w = s(null), R;
905
- w.current === null ? (R = {
904
+ var w = s(null), E;
905
+ w.current === null ? (E = {
906
906
  hasValue: !1,
907
907
  value: null
908
- }, w.current = R) : R = w.current;
908
+ }, w.current = E) : E = w.current;
909
909
  var O = l(function() {
910
- var M = !1, _, j, P = function(A) {
911
- if (!M) {
912
- M = !0, _ = A;
913
- var te = m(A);
914
- if (v !== void 0 && R.hasValue) {
915
- var ce = R.value;
916
- if (v(ce, te))
910
+ var A = !1, _, j, N = function(M) {
911
+ if (!A) {
912
+ A = !0, _ = M;
913
+ var re = m(M);
914
+ if (v !== void 0 && E.hasValue) {
915
+ var ce = E.value;
916
+ if (v(ce, re))
917
917
  return j = ce, ce;
918
918
  }
919
- return j = te, te;
919
+ return j = re, re;
920
920
  }
921
921
  var ye = _, ve = j;
922
- if (n(ye, A))
922
+ if (n(ye, M))
923
923
  return ve;
924
- var J = m(A);
925
- return v !== void 0 && v(ve, J) ? ve : (_ = A, j = J, J);
926
- }, B = d === void 0 ? null : d, ne = function() {
927
- return P(f());
928
- }, W = B === null ? void 0 : function() {
929
- return P(B());
924
+ var X = m(M);
925
+ return v !== void 0 && v(ve, X) ? ve : (_ = M, j = X, X);
926
+ }, F = d === void 0 ? null : d, J = function() {
927
+ return N(f());
928
+ }, H = F === null ? void 0 : function() {
929
+ return N(F());
930
930
  };
931
- return [ne, W];
932
- }, [f, d, m, v]), k = O[0], C = O[1], E = i(c, k, C);
931
+ return [J, H];
932
+ }, [f, d, m, v]), k = O[0], C = O[1], R = i(c, k, C);
933
933
  return a(function() {
934
- R.hasValue = !0, R.value = E;
935
- }, [E]), o(E), E;
934
+ E.hasValue = !0, E.value = R;
935
+ }, [R]), o(R), R;
936
936
  }
937
937
  tn.useSyncExternalStoreWithSelector = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
938
938
  }()), tn;
@@ -999,8 +999,8 @@ function Va(t) {
999
999
  }
1000
1000
  function c(m, v, w) {
1001
1001
  v === void 0 && (v = null);
1002
- let R = dn(i ? u().pathname : "/", m, v, w);
1003
- return Ua(R.pathname.charAt(0) === "/", "relative pathnames are not supported in memory history: " + JSON.stringify(m)), R;
1002
+ let E = dn(i ? u().pathname : "/", m, v, w);
1003
+ return Ua(E.pathname.charAt(0) === "/", "relative pathnames are not supported in memory history: " + JSON.stringify(m)), E;
1004
1004
  }
1005
1005
  function f(m) {
1006
1006
  return typeof m == "string" ? m : Ve(m);
@@ -1061,7 +1061,7 @@ function Va(t) {
1061
1061
  }
1062
1062
  };
1063
1063
  }
1064
- function N(t, e) {
1064
+ function P(t, e) {
1065
1065
  if (t === !1 || t === null || typeof t > "u")
1066
1066
  throw new Error(e);
1067
1067
  }
@@ -1119,7 +1119,7 @@ function Ba(t) {
1119
1119
  function ss(t, e, r) {
1120
1120
  return e === void 0 && (e = []), r === void 0 && (r = /* @__PURE__ */ new Set()), t.map((n, i) => {
1121
1121
  let s = [...e, i], a = typeof n.id == "string" ? n.id : s.join("-");
1122
- return N(n.index !== !0 || !n.children, "Cannot specify children on an index route"), N(!r.has(a), 'Found a route id collision on id "' + a + `". Route id's must be globally unique within Data Router usages`), r.add(a), Ba(n) ? G({}, n, {
1122
+ return P(n.index !== !0 || !n.children, "Cannot specify children on an index route"), P(!r.has(a), 'Found a route id collision on id "' + a + `". Route id's must be globally unique within Data Router usages`), r.add(a), Ba(n) ? G({}, n, {
1123
1123
  id: a
1124
1124
  }) : G({}, n, {
1125
1125
  id: a,
@@ -1157,9 +1157,9 @@ function as(t, e, r, n) {
1157
1157
  childrenIndex: a,
1158
1158
  route: s
1159
1159
  };
1160
- o.relativePath.startsWith("/") && (N(o.relativePath.startsWith(n), 'Absolute route path "' + o.relativePath + '" nested under path ' + ('"' + n + '" is not valid. An absolute child route path ') + "must start with the combined path of all its parent routes."), o.relativePath = o.relativePath.slice(n.length));
1160
+ o.relativePath.startsWith("/") && (P(o.relativePath.startsWith(n), 'Absolute route path "' + o.relativePath + '" nested under path ' + ('"' + n + '" is not valid. An absolute child route path ') + "must start with the combined path of all its parent routes."), o.relativePath = o.relativePath.slice(n.length));
1161
1161
  let u = Ie([n, o.relativePath]), c = r.concat(o);
1162
- s.children && s.children.length > 0 && (N(
1162
+ s.children && s.children.length > 0 && (P(
1163
1163
  // Our types know better, but runtime JS may not!
1164
1164
  // @ts-expect-error
1165
1165
  s.index !== !0,
@@ -1321,7 +1321,7 @@ function Mr(t) {
1321
1321
  function wn(t, e, r, n) {
1322
1322
  n === void 0 && (n = !1);
1323
1323
  let i;
1324
- typeof t == "string" ? i = $e(t) : (i = G({}, t), N(!i.pathname || !i.pathname.includes("?"), rn("?", "pathname", "search", i)), N(!i.pathname || !i.pathname.includes("#"), rn("#", "pathname", "hash", i)), N(!i.search || !i.search.includes("#"), rn("#", "search", "hash", i)));
1324
+ typeof t == "string" ? i = $e(t) : (i = G({}, t), P(!i.pathname || !i.pathname.includes("?"), rn("?", "pathname", "search", i)), P(!i.pathname || !i.pathname.includes("#"), rn("#", "pathname", "hash", i)), P(!i.search || !i.search.includes("#"), rn("#", "search", "hash", i)));
1325
1325
  let s = t === "" || i.pathname === "", a = s ? "/" : i.pathname, l;
1326
1326
  if (n || a == null)
1327
1327
  l = r;
@@ -1343,7 +1343,7 @@ class ii extends Error {
1343
1343
  }
1344
1344
  class uo {
1345
1345
  constructor(e, r) {
1346
- this.pendingKeysSet = /* @__PURE__ */ new Set(), this.subscribers = /* @__PURE__ */ new Set(), this.deferredKeys = [], N(e && typeof e == "object" && !Array.isArray(e), "defer() only accepts plain objects");
1346
+ this.pendingKeysSet = /* @__PURE__ */ new Set(), this.subscribers = /* @__PURE__ */ new Set(), this.deferredKeys = [], P(e && typeof e == "object" && !Array.isArray(e), "defer() only accepts plain objects");
1347
1347
  let n;
1348
1348
  this.abortPromise = new Promise((s, a) => n = a), this.controller = new AbortController();
1349
1349
  let i = () => n(new ii("Deferred data aborted"));
@@ -1398,7 +1398,7 @@ class uo {
1398
1398
  return this.pendingKeysSet.size === 0;
1399
1399
  }
1400
1400
  get unwrappedData() {
1401
- return N(this.data !== null && this.done, "Can only unwrap data on initialized and settled deferreds"), Object.entries(this.data).reduce((e, r) => {
1401
+ return P(this.data !== null && this.done, "Can only unwrap data on initialized and settled deferreds"), Object.entries(this.data).reduce((e, r) => {
1402
1402
  let [n, i] = r;
1403
1403
  return Object.assign(e, {
1404
1404
  [n]: ho(i)
@@ -1448,7 +1448,7 @@ const ds = ["post", "put", "patch", "delete"], fo = new Set(ds), po = ["get", ..
1448
1448
  location: void 0
1449
1449
  }, hs = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", bo = !hs;
1450
1450
  function wo(t) {
1451
- N(t.routes.length > 0, "You must provide a non-empty routes array to createRouter");
1451
+ P(t.routes.length > 0, "You must provide a non-empty routes array to createRouter");
1452
1452
  let e = ss(t.routes), r = null, n = /* @__PURE__ */ new Set(), i = null, s = null, a = null, l = t.hydrationData != null, o = er(e, t.history.location, t.basename), u = null;
1453
1453
  if (o == null) {
1454
1454
  let g = it(404, {
@@ -1476,7 +1476,7 @@ function wo(t) {
1476
1476
  errors: t.hydrationData && t.hydrationData.errors || u,
1477
1477
  fetchers: /* @__PURE__ */ new Map(),
1478
1478
  blockers: /* @__PURE__ */ new Map()
1479
- }, m = le.Pop, v = !1, w, R = !1, O = !1, k = [], C = [], E = /* @__PURE__ */ new Map(), M = 0, _ = -1, j = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Set(), B = /* @__PURE__ */ new Map(), ne = /* @__PURE__ */ new Map(), W = null, A = /* @__PURE__ */ new Map(), te = !1;
1479
+ }, m = le.Pop, v = !1, w, E = !1, O = !1, k = [], C = [], R = /* @__PURE__ */ new Map(), A = 0, _ = -1, j = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Map(), H = null, M = /* @__PURE__ */ new Map(), re = !1;
1480
1480
  function ce() {
1481
1481
  return r = t.history.listen((g) => {
1482
1482
  let {
@@ -1484,18 +1484,18 @@ function wo(t) {
1484
1484
  location: S,
1485
1485
  delta: L
1486
1486
  } = g;
1487
- if (te) {
1488
- te = !1;
1487
+ if (re) {
1488
+ re = !1;
1489
1489
  return;
1490
1490
  }
1491
- Ue(W != null && L === null, "You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");
1491
+ Ue(H != null && L === null, "You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");
1492
1492
  let D = gr({
1493
1493
  currentLocation: d.location,
1494
1494
  nextLocation: S,
1495
1495
  historyAction: b
1496
1496
  });
1497
1497
  if (D && L != null) {
1498
- te = !0, t.history.go(L * -1), He(D, {
1498
+ re = !0, t.history.go(L * -1), He(D, {
1499
1499
  state: "blocked",
1500
1500
  location: S,
1501
1501
  proceed() {
@@ -1507,7 +1507,7 @@ function wo(t) {
1507
1507
  }), t.history.go(L);
1508
1508
  },
1509
1509
  reset() {
1510
- nt(D), J({
1510
+ nt(D), X({
1511
1511
  blockers: new Map(f.state.blockers)
1512
1512
  });
1513
1513
  }
@@ -1518,34 +1518,34 @@ function wo(t) {
1518
1518
  }), d.initialized || Ce(le.Pop, d.location), f;
1519
1519
  }
1520
1520
  function ye() {
1521
- r && r(), n.clear(), w && w.abort(), d.fetchers.forEach((g, b) => kt(b)), d.blockers.forEach((g, b) => nt(b));
1521
+ r && r(), n.clear(), w && w.abort(), d.fetchers.forEach((g, b) => Dt(b)), d.blockers.forEach((g, b) => nt(b));
1522
1522
  }
1523
1523
  function ve(g) {
1524
1524
  return n.add(g), () => n.delete(g);
1525
1525
  }
1526
- function J(g) {
1526
+ function X(g) {
1527
1527
  d = G({}, d, g), n.forEach((b) => b(d));
1528
1528
  }
1529
1529
  function Le(g, b) {
1530
1530
  var S, L;
1531
- let D = d.actionData != null && d.navigation.formMethod != null && Ke(d.navigation.formMethod) && d.navigation.state === "loading" && ((S = g.state) == null ? void 0 : S._isRedirect) !== !0, I;
1532
- b.actionData ? Object.keys(b.actionData).length > 0 ? I = b.actionData : I = null : D ? I = d.actionData : I = null;
1533
- let q = b.loaderData ? ci(d.loaderData, b.loaderData, b.matches || [], b.errors) : d.loaderData;
1534
- for (let [F] of A)
1535
- nt(F);
1536
- let Q = v === !0 || d.navigation.formMethod != null && Ke(d.navigation.formMethod) && ((L = g.state) == null ? void 0 : L._isRedirect) !== !0;
1537
- J(G({}, b, {
1538
- actionData: I,
1539
- loaderData: q,
1531
+ let D = d.actionData != null && d.navigation.formMethod != null && Ke(d.navigation.formMethod) && d.navigation.state === "loading" && ((S = g.state) == null ? void 0 : S._isRedirect) !== !0, V;
1532
+ b.actionData ? Object.keys(b.actionData).length > 0 ? V = b.actionData : V = null : D ? V = d.actionData : V = null;
1533
+ let I = b.loaderData ? ci(d.loaderData, b.loaderData, b.matches || [], b.errors) : d.loaderData;
1534
+ for (let [q] of M)
1535
+ nt(q);
1536
+ let z = v === !0 || d.navigation.formMethod != null && Ke(d.navigation.formMethod) && ((L = g.state) == null ? void 0 : L._isRedirect) !== !0;
1537
+ X(G({}, b, {
1538
+ actionData: V,
1539
+ loaderData: I,
1540
1540
  historyAction: m,
1541
1541
  location: g,
1542
1542
  initialized: !0,
1543
1543
  navigation: nn,
1544
1544
  revalidation: "idle",
1545
1545
  restoreScrollPosition: yr(g, b.matches || d.matches),
1546
- preventScrollReset: Q,
1546
+ preventScrollReset: z,
1547
1547
  blockers: new Map(d.blockers)
1548
- })), R || m === le.Pop || (m === le.Push ? t.history.push(g, g.state) : m === le.Replace && t.history.replace(g, g.state)), m = le.Pop, v = !1, R = !1, O = !1, k = [], C = [];
1548
+ })), E || m === le.Pop || (m === le.Push ? t.history.push(g, g.state) : m === le.Replace && t.history.replace(g, g.state)), m = le.Pop, v = !1, E = !1, O = !1, k = [], C = [];
1549
1549
  }
1550
1550
  async function tt(g, b) {
1551
1551
  if (typeof g == "number") {
@@ -1556,36 +1556,36 @@ function wo(t) {
1556
1556
  path: S,
1557
1557
  submission: L,
1558
1558
  error: D
1559
- } = ai(g, b), I = d.location, q = dn(d.location, S, b && b.state);
1560
- q = G({}, q, t.history.encodeLocation(q));
1561
- let Q = b && b.replace != null ? b.replace : void 0, F = le.Push;
1562
- Q === !0 ? F = le.Replace : Q === !1 || L != null && Ke(L.formMethod) && L.formAction === d.location.pathname + d.location.search && (F = le.Replace);
1563
- let he = b && "preventScrollReset" in b ? b.preventScrollReset === !0 : void 0, H = gr({
1564
- currentLocation: I,
1565
- nextLocation: q,
1566
- historyAction: F
1559
+ } = ai(g, b), V = d.location, I = dn(d.location, S, b && b.state);
1560
+ I = G({}, I, t.history.encodeLocation(I));
1561
+ let z = b && b.replace != null ? b.replace : void 0, q = le.Push;
1562
+ z === !0 ? q = le.Replace : z === !1 || L != null && Ke(L.formMethod) && L.formAction === d.location.pathname + d.location.search && (q = le.Replace);
1563
+ let he = b && "preventScrollReset" in b ? b.preventScrollReset === !0 : void 0, Q = gr({
1564
+ currentLocation: V,
1565
+ nextLocation: I,
1566
+ historyAction: q
1567
1567
  });
1568
- if (H) {
1569
- He(H, {
1568
+ if (Q) {
1569
+ He(Q, {
1570
1570
  state: "blocked",
1571
- location: q,
1571
+ location: I,
1572
1572
  proceed() {
1573
- He(H, {
1573
+ He(Q, {
1574
1574
  state: "proceeding",
1575
1575
  proceed: void 0,
1576
1576
  reset: void 0,
1577
- location: q
1577
+ location: I
1578
1578
  }), tt(g, b);
1579
1579
  },
1580
1580
  reset() {
1581
- nt(H), J({
1581
+ nt(Q), X({
1582
1582
  blockers: new Map(d.blockers)
1583
1583
  });
1584
1584
  }
1585
1585
  });
1586
1586
  return;
1587
1587
  }
1588
- return await Ce(F, q, {
1588
+ return await Ce(q, I, {
1589
1589
  submission: L,
1590
1590
  // Send through the formData serialization error if we have one so we can
1591
1591
  // render at the right error boundary after we match routes
@@ -1595,7 +1595,7 @@ function wo(t) {
1595
1595
  });
1596
1596
  }
1597
1597
  function ie() {
1598
- if (rt(), J({
1598
+ if (rt(), X({
1599
1599
  revalidation: "loading"
1600
1600
  }), d.navigation.state !== "submitting") {
1601
1601
  if (d.navigation.state === "idle") {
@@ -1610,10 +1610,10 @@ function wo(t) {
1610
1610
  }
1611
1611
  }
1612
1612
  async function Ce(g, b, S) {
1613
- w && w.abort(), w = null, m = g, R = (S && S.startUninterruptedRevalidation) === !0, Yr(d.location, d.matches), v = (S && S.preventScrollReset) === !0;
1613
+ w && w.abort(), w = null, m = g, E = (S && S.startUninterruptedRevalidation) === !0, Yr(d.location, d.matches), v = (S && S.preventScrollReset) === !0;
1614
1614
  let L = S && S.overrideNavigation, D = er(e, b, t.basename);
1615
1615
  if (!D) {
1616
- let re = it(404, {
1616
+ let ne = it(404, {
1617
1617
  pathname: b.pathname
1618
1618
  }), {
1619
1619
  matches: Se,
@@ -1623,7 +1623,7 @@ function wo(t) {
1623
1623
  matches: Se,
1624
1624
  loaderData: {},
1625
1625
  errors: {
1626
- [xe.id]: re
1626
+ [xe.id]: ne
1627
1627
  }
1628
1628
  });
1629
1629
  return;
@@ -1635,93 +1635,93 @@ function wo(t) {
1635
1635
  return;
1636
1636
  }
1637
1637
  w = new AbortController();
1638
- let I = Jt(t.history, b, w.signal, S && S.submission), q, Q;
1638
+ let V = Jt(t.history, b, w.signal, S && S.submission), I, z;
1639
1639
  if (S && S.pendingError)
1640
- Q = {
1640
+ z = {
1641
1641
  [qt(D).route.id]: S.pendingError
1642
1642
  };
1643
1643
  else if (S && S.submission && Ke(S.submission.formMethod)) {
1644
- let re = await dr(I, b, S.submission, D, {
1644
+ let ne = await dr(V, b, S.submission, D, {
1645
1645
  replace: S.replace
1646
1646
  });
1647
- if (re.shortCircuited)
1647
+ if (ne.shortCircuited)
1648
1648
  return;
1649
- q = re.pendingActionData, Q = re.pendingActionError, L = G({
1649
+ I = ne.pendingActionData, z = ne.pendingActionError, L = G({
1650
1650
  state: "loading",
1651
1651
  location: b
1652
- }, S.submission), I = new Request(I.url, {
1653
- signal: I.signal
1652
+ }, S.submission), V = new Request(V.url, {
1653
+ signal: V.signal
1654
1654
  });
1655
1655
  }
1656
1656
  let {
1657
- shortCircuited: F,
1657
+ shortCircuited: q,
1658
1658
  loaderData: he,
1659
- errors: H
1660
- } = await hr(I, b, D, L, S && S.submission, S && S.replace, q, Q);
1661
- F || (w = null, Le(b, G({
1659
+ errors: Q
1660
+ } = await hr(V, b, D, L, S && S.submission, S && S.replace, I, z);
1661
+ q || (w = null, Le(b, G({
1662
1662
  matches: D
1663
- }, q ? {
1664
- actionData: q
1663
+ }, I ? {
1664
+ actionData: I
1665
1665
  } : {}, {
1666
1666
  loaderData: he,
1667
- errors: H
1667
+ errors: Q
1668
1668
  })));
1669
1669
  }
1670
1670
  async function dr(g, b, S, L, D) {
1671
1671
  rt();
1672
- let I = G({
1672
+ let V = G({
1673
1673
  state: "submitting",
1674
1674
  location: b
1675
1675
  }, S);
1676
- J({
1677
- navigation: I
1676
+ X({
1677
+ navigation: V
1678
1678
  });
1679
- let q, Q = mi(L, b);
1680
- if (!Q.route.action)
1681
- q = {
1679
+ let I, z = mi(L, b);
1680
+ if (!z.route.action)
1681
+ I = {
1682
1682
  type: fe.error,
1683
1683
  error: it(405, {
1684
1684
  method: g.method,
1685
1685
  pathname: b.pathname,
1686
- routeId: Q.route.id
1686
+ routeId: z.route.id
1687
1687
  })
1688
1688
  };
1689
- else if (q = await Zt("action", g, Q, L, f.basename), g.signal.aborted)
1689
+ else if (I = await Zt("action", g, z, L, f.basename), g.signal.aborted)
1690
1690
  return {
1691
1691
  shortCircuited: !0
1692
1692
  };
1693
- if (Vt(q)) {
1694
- let F;
1695
- return D && D.replace != null ? F = D.replace : F = q.location === d.location.pathname + d.location.search, await Ae(d, q, {
1693
+ if (Vt(I)) {
1694
+ let q;
1695
+ return D && D.replace != null ? q = D.replace : q = I.location === d.location.pathname + d.location.search, await Ae(d, I, {
1696
1696
  submission: S,
1697
- replace: F
1697
+ replace: q
1698
1698
  }), {
1699
1699
  shortCircuited: !0
1700
1700
  };
1701
1701
  }
1702
- if (rr(q)) {
1703
- let F = qt(L, Q.route.id);
1702
+ if (rr(I)) {
1703
+ let q = qt(L, z.route.id);
1704
1704
  return (D && D.replace) !== !0 && (m = le.Push), {
1705
1705
  // Send back an empty object we can use to clear out any prior actionData
1706
1706
  pendingActionData: {},
1707
1707
  pendingActionError: {
1708
- [F.route.id]: q.error
1708
+ [q.route.id]: I.error
1709
1709
  }
1710
1710
  };
1711
1711
  }
1712
- if (pt(q))
1712
+ if (mt(I))
1713
1713
  throw it(400, {
1714
1714
  type: "defer-action"
1715
1715
  });
1716
1716
  return {
1717
1717
  pendingActionData: {
1718
- [Q.route.id]: q.data
1718
+ [z.route.id]: I.data
1719
1719
  }
1720
1720
  };
1721
1721
  }
1722
- async function hr(g, b, S, L, D, I, q, Q) {
1723
- let F = L;
1724
- F || (F = G({
1722
+ async function hr(g, b, S, L, D, V, I, z) {
1723
+ let q = L;
1724
+ q || (q = G({
1725
1725
  state: "loading",
1726
1726
  location: b,
1727
1727
  formMethod: void 0,
@@ -1729,26 +1729,26 @@ function wo(t) {
1729
1729
  formEncType: void 0,
1730
1730
  formData: void 0
1731
1731
  }, D));
1732
- let he = D || (F.formMethod && F.formAction && F.formData && F.formEncType ? {
1733
- formMethod: F.formMethod,
1734
- formAction: F.formAction,
1735
- formData: F.formData,
1736
- formEncType: F.formEncType
1737
- } : void 0), [H, re] = oi(t.history, d, S, he, b, O, k, C, q, Q, B);
1738
- if (zt((de) => !(S && S.some((Te) => Te.route.id === de)) || H && H.some((Te) => Te.route.id === de)), H.length === 0 && re.length === 0)
1732
+ let he = D || (q.formMethod && q.formAction && q.formData && q.formEncType ? {
1733
+ formMethod: q.formMethod,
1734
+ formAction: q.formAction,
1735
+ formData: q.formData,
1736
+ formEncType: q.formEncType
1737
+ } : void 0), [Q, ne] = oi(t.history, d, S, he, b, O, k, C, I, z, F);
1738
+ if (zt((de) => !(S && S.some((Te) => Te.route.id === de)) || Q && Q.some((Te) => Te.route.id === de)), Q.length === 0 && ne.length === 0)
1739
1739
  return Le(b, G({
1740
1740
  matches: S,
1741
1741
  loaderData: {},
1742
1742
  // Commit pending error if we're short circuiting
1743
- errors: Q || null
1744
- }, q ? {
1745
- actionData: q
1743
+ errors: z || null
1744
+ }, I ? {
1745
+ actionData: I
1746
1746
  } : {})), {
1747
1747
  shortCircuited: !0
1748
1748
  };
1749
- if (!R) {
1750
- re.forEach((Te) => {
1751
- let qe = d.fetchers.get(Te.key), Pt = {
1749
+ if (!E) {
1750
+ ne.forEach((Te) => {
1751
+ let qe = d.fetchers.get(Te.key), Nt = {
1752
1752
  state: "loading",
1753
1753
  data: qe && qe.data,
1754
1754
  formMethod: void 0,
@@ -1757,51 +1757,51 @@ function wo(t) {
1757
1757
  formData: void 0,
1758
1758
  " _hasFetcherDoneAnything ": !0
1759
1759
  };
1760
- d.fetchers.set(Te.key, Pt);
1760
+ d.fetchers.set(Te.key, Nt);
1761
1761
  });
1762
- let de = q || d.actionData;
1763
- J(G({
1764
- navigation: F
1762
+ let de = I || d.actionData;
1763
+ X(G({
1764
+ navigation: q
1765
1765
  }, de ? Object.keys(de).length === 0 ? {
1766
1766
  actionData: null
1767
1767
  } : {
1768
1768
  actionData: de
1769
- } : {}, re.length > 0 ? {
1769
+ } : {}, ne.length > 0 ? {
1770
1770
  fetchers: new Map(d.fetchers)
1771
1771
  } : {}));
1772
1772
  }
1773
- _ = ++M, re.forEach((de) => E.set(de.key, w));
1773
+ _ = ++A, ne.forEach((de) => R.set(de.key, w));
1774
1774
  let {
1775
1775
  results: Se,
1776
1776
  loaderResults: xe,
1777
1777
  fetcherResults: Qe
1778
- } = await Tt(d.matches, S, H, re, g);
1778
+ } = await kt(d.matches, S, Q, ne, g);
1779
1779
  if (g.signal.aborted)
1780
1780
  return {
1781
1781
  shortCircuited: !0
1782
1782
  };
1783
- re.forEach((de) => E.delete(de.key));
1783
+ ne.forEach((de) => R.delete(de.key));
1784
1784
  let dt = hi(Se);
1785
1785
  if (dt)
1786
1786
  return await Ae(d, dt, {
1787
- replace: I
1787
+ replace: V
1788
1788
  }), {
1789
1789
  shortCircuited: !0
1790
1790
  };
1791
1791
  let {
1792
1792
  loaderData: Pe,
1793
1793
  errors: Fe
1794
- } = ui(d, S, H, xe, Q, re, Qe, ne);
1795
- ne.forEach((de, Te) => {
1794
+ } = ui(d, S, Q, xe, z, ne, Qe, J);
1795
+ J.forEach((de, Te) => {
1796
1796
  de.subscribe((qe) => {
1797
- (qe || de.done) && ne.delete(Te);
1797
+ (qe || de.done) && J.delete(Te);
1798
1798
  });
1799
- }), Lt();
1799
+ }), Pt();
1800
1800
  let ht = ct(_);
1801
1801
  return G({
1802
1802
  loaderData: Pe,
1803
1803
  errors: Fe
1804
- }, ht || re.length > 0 ? {
1804
+ }, ht || ne.length > 0 ? {
1805
1805
  fetchers: new Map(d.fetchers)
1806
1806
  } : {});
1807
1807
  }
@@ -1811,7 +1811,7 @@ function wo(t) {
1811
1811
  function Kr(g, b, S, L) {
1812
1812
  if (bo)
1813
1813
  throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");
1814
- E.has(g) && Dt(g);
1814
+ R.has(g) && Lt(g);
1815
1815
  let D = er(e, S, t.basename);
1816
1816
  if (!D) {
1817
1817
  Qt(g, b, it(404, {
@@ -1820,76 +1820,76 @@ function wo(t) {
1820
1820
  return;
1821
1821
  }
1822
1822
  let {
1823
- path: I,
1824
- submission: q
1825
- } = ai(S, L, !0), Q = mi(D, I);
1826
- if (v = (L && L.preventScrollReset) === !0, q && Ke(q.formMethod)) {
1827
- Bt(g, b, I, Q, D, q);
1823
+ path: V,
1824
+ submission: I
1825
+ } = ai(S, L, !0), z = mi(D, V);
1826
+ if (v = (L && L.preventScrollReset) === !0, I && Ke(I.formMethod)) {
1827
+ Bt(g, b, V, z, D, I);
1828
1828
  return;
1829
1829
  }
1830
- B.set(g, {
1830
+ F.set(g, {
1831
1831
  routeId: b,
1832
- path: I,
1833
- match: Q,
1832
+ path: V,
1833
+ match: z,
1834
1834
  matches: D
1835
- }), Ht(g, b, I, Q, D, q);
1835
+ }), Ht(g, b, V, z, D, I);
1836
1836
  }
1837
- async function Bt(g, b, S, L, D, I) {
1838
- if (rt(), B.delete(g), !L.route.action) {
1837
+ async function Bt(g, b, S, L, D, V) {
1838
+ if (rt(), F.delete(g), !L.route.action) {
1839
1839
  let Ne = it(405, {
1840
- method: I.formMethod,
1840
+ method: V.formMethod,
1841
1841
  pathname: S,
1842
1842
  routeId: b
1843
1843
  });
1844
1844
  Qt(g, b, Ne);
1845
1845
  return;
1846
1846
  }
1847
- let q = d.fetchers.get(g), Q = G({
1847
+ let I = d.fetchers.get(g), z = G({
1848
1848
  state: "submitting"
1849
- }, I, {
1850
- data: q && q.data,
1849
+ }, V, {
1850
+ data: I && I.data,
1851
1851
  " _hasFetcherDoneAnything ": !0
1852
1852
  });
1853
- d.fetchers.set(g, Q), J({
1853
+ d.fetchers.set(g, z), X({
1854
1854
  fetchers: new Map(d.fetchers)
1855
1855
  });
1856
- let F = new AbortController(), he = Jt(t.history, S, F.signal, I);
1857
- E.set(g, F);
1858
- let H = await Zt("action", he, L, D, f.basename);
1856
+ let q = new AbortController(), he = Jt(t.history, S, q.signal, V);
1857
+ R.set(g, q);
1858
+ let Q = await Zt("action", he, L, D, f.basename);
1859
1859
  if (he.signal.aborted) {
1860
- E.get(g) === F && E.delete(g);
1860
+ R.get(g) === q && R.delete(g);
1861
1861
  return;
1862
1862
  }
1863
- if (Vt(H)) {
1864
- E.delete(g), P.add(g);
1863
+ if (Vt(Q)) {
1864
+ R.delete(g), N.add(g);
1865
1865
  let Ne = G({
1866
1866
  state: "loading"
1867
- }, I, {
1867
+ }, V, {
1868
1868
  data: void 0,
1869
1869
  " _hasFetcherDoneAnything ": !0
1870
1870
  });
1871
- return d.fetchers.set(g, Ne), J({
1871
+ return d.fetchers.set(g, Ne), X({
1872
1872
  fetchers: new Map(d.fetchers)
1873
- }), Ae(d, H, {
1873
+ }), Ae(d, Q, {
1874
1874
  isFetchActionRedirect: !0
1875
1875
  });
1876
1876
  }
1877
- if (rr(H)) {
1878
- Qt(g, b, H.error);
1877
+ if (rr(Q)) {
1878
+ Qt(g, b, Q.error);
1879
1879
  return;
1880
1880
  }
1881
- if (pt(H))
1881
+ if (mt(Q))
1882
1882
  throw it(400, {
1883
1883
  type: "defer-action"
1884
1884
  });
1885
- let re = d.navigation.location || d.location, Se = Jt(t.history, re, F.signal), xe = d.navigation.state !== "idle" ? er(e, d.navigation.location, t.basename) : d.matches;
1886
- N(xe, "Didn't find any matches after fetcher action");
1887
- let Qe = ++M;
1885
+ let ne = d.navigation.location || d.location, Se = Jt(t.history, ne, q.signal), xe = d.navigation.state !== "idle" ? er(e, d.navigation.location, t.basename) : d.matches;
1886
+ P(xe, "Didn't find any matches after fetcher action");
1887
+ let Qe = ++A;
1888
1888
  j.set(g, Qe);
1889
1889
  let dt = G({
1890
1890
  state: "loading",
1891
- data: H.data
1892
- }, I, {
1891
+ data: Q.data
1892
+ }, V, {
1893
1893
  " _hasFetcherDoneAnything ": !0
1894
1894
  });
1895
1895
  d.fetchers.set(g, dt);
@@ -1897,20 +1897,20 @@ function wo(t) {
1897
1897
  t.history,
1898
1898
  d,
1899
1899
  xe,
1900
- I,
1901
- re,
1900
+ V,
1901
+ ne,
1902
1902
  O,
1903
1903
  k,
1904
1904
  C,
1905
1905
  {
1906
- [L.route.id]: H.data
1906
+ [L.route.id]: Q.data
1907
1907
  },
1908
1908
  void 0,
1909
1909
  // No need to send through errors since we short circuit above
1910
- B
1910
+ F
1911
1911
  );
1912
1912
  Fe.filter((Ne) => Ne.key !== g).forEach((Ne) => {
1913
- let jt = Ne.key, br = d.fetchers.get(jt), Zr = {
1913
+ let Mt = Ne.key, br = d.fetchers.get(Mt), Zr = {
1914
1914
  state: "loading",
1915
1915
  data: br && br.data,
1916
1916
  formMethod: void 0,
@@ -1919,27 +1919,27 @@ function wo(t) {
1919
1919
  formData: void 0,
1920
1920
  " _hasFetcherDoneAnything ": !0
1921
1921
  };
1922
- d.fetchers.set(jt, Zr), E.set(jt, F);
1923
- }), J({
1922
+ d.fetchers.set(Mt, Zr), R.set(Mt, q);
1923
+ }), X({
1924
1924
  fetchers: new Map(d.fetchers)
1925
1925
  });
1926
1926
  let {
1927
1927
  results: ht,
1928
1928
  loaderResults: de,
1929
1929
  fetcherResults: Te
1930
- } = await Tt(d.matches, xe, Pe, Fe, Se);
1931
- if (F.signal.aborted)
1930
+ } = await kt(d.matches, xe, Pe, Fe, Se);
1931
+ if (q.signal.aborted)
1932
1932
  return;
1933
- j.delete(g), E.delete(g), Fe.forEach((Ne) => E.delete(Ne.key));
1933
+ j.delete(g), R.delete(g), Fe.forEach((Ne) => R.delete(Ne.key));
1934
1934
  let qe = hi(ht);
1935
1935
  if (qe)
1936
1936
  return Ae(d, qe);
1937
1937
  let {
1938
- loaderData: Pt,
1939
- errors: Nt
1940
- } = ui(d, d.matches, Pe, de, void 0, Fe, Te, ne), vr = {
1938
+ loaderData: Nt,
1939
+ errors: jt
1940
+ } = ui(d, d.matches, Pe, de, void 0, Fe, Te, J), vr = {
1941
1941
  state: "idle",
1942
- data: H.data,
1942
+ data: Q.data,
1943
1943
  formMethod: void 0,
1944
1944
  formAction: void 0,
1945
1945
  formEncType: void 0,
@@ -1948,62 +1948,62 @@ function wo(t) {
1948
1948
  };
1949
1949
  d.fetchers.set(g, vr);
1950
1950
  let Gr = ct(Qe);
1951
- d.navigation.state === "loading" && Qe > _ ? (N(m, "Expected pending action"), w && w.abort(), Le(d.navigation.location, {
1951
+ d.navigation.state === "loading" && Qe > _ ? (P(m, "Expected pending action"), w && w.abort(), Le(d.navigation.location, {
1952
1952
  matches: xe,
1953
- loaderData: Pt,
1954
- errors: Nt,
1953
+ loaderData: Nt,
1954
+ errors: jt,
1955
1955
  fetchers: new Map(d.fetchers)
1956
- })) : (J(G({
1957
- errors: Nt,
1958
- loaderData: ci(d.loaderData, Pt, xe, Nt)
1956
+ })) : (X(G({
1957
+ errors: jt,
1958
+ loaderData: ci(d.loaderData, Nt, xe, jt)
1959
1959
  }, Gr ? {
1960
1960
  fetchers: new Map(d.fetchers)
1961
1961
  } : {})), O = !1);
1962
1962
  }
1963
- async function Ht(g, b, S, L, D, I) {
1964
- let q = d.fetchers.get(g), Q = G({
1963
+ async function Ht(g, b, S, L, D, V) {
1964
+ let I = d.fetchers.get(g), z = G({
1965
1965
  state: "loading",
1966
1966
  formMethod: void 0,
1967
1967
  formAction: void 0,
1968
1968
  formEncType: void 0,
1969
1969
  formData: void 0
1970
- }, I, {
1971
- data: q && q.data,
1970
+ }, V, {
1971
+ data: I && I.data,
1972
1972
  " _hasFetcherDoneAnything ": !0
1973
1973
  });
1974
- d.fetchers.set(g, Q), J({
1974
+ d.fetchers.set(g, z), X({
1975
1975
  fetchers: new Map(d.fetchers)
1976
1976
  });
1977
- let F = new AbortController(), he = Jt(t.history, S, F.signal);
1978
- E.set(g, F);
1979
- let H = await Zt("loader", he, L, D, f.basename);
1980
- if (pt(H) && (H = await gs(H, he.signal, !0) || H), E.get(g) === F && E.delete(g), he.signal.aborted)
1977
+ let q = new AbortController(), he = Jt(t.history, S, q.signal);
1978
+ R.set(g, q);
1979
+ let Q = await Zt("loader", he, L, D, f.basename);
1980
+ if (mt(Q) && (Q = await gs(Q, he.signal, !0) || Q), R.get(g) === q && R.delete(g), he.signal.aborted)
1981
1981
  return;
1982
- if (Vt(H)) {
1983
- await Ae(d, H);
1982
+ if (Vt(Q)) {
1983
+ await Ae(d, Q);
1984
1984
  return;
1985
1985
  }
1986
- if (rr(H)) {
1986
+ if (rr(Q)) {
1987
1987
  let Se = qt(d.matches, b);
1988
- d.fetchers.delete(g), J({
1988
+ d.fetchers.delete(g), X({
1989
1989
  fetchers: new Map(d.fetchers),
1990
1990
  errors: {
1991
- [Se.route.id]: H.error
1991
+ [Se.route.id]: Q.error
1992
1992
  }
1993
1993
  });
1994
1994
  return;
1995
1995
  }
1996
- N(!pt(H), "Unhandled fetcher deferred data");
1997
- let re = {
1996
+ P(!mt(Q), "Unhandled fetcher deferred data");
1997
+ let ne = {
1998
1998
  state: "idle",
1999
- data: H.data,
1999
+ data: Q.data,
2000
2000
  formMethod: void 0,
2001
2001
  formAction: void 0,
2002
2002
  formEncType: void 0,
2003
2003
  formData: void 0,
2004
2004
  " _hasFetcherDoneAnything ": !0
2005
2005
  };
2006
- d.fetchers.set(g, re), J({
2006
+ d.fetchers.set(g, ne), X({
2007
2007
  fetchers: new Map(d.fetchers)
2008
2008
  });
2009
2009
  }
@@ -2011,49 +2011,49 @@ function wo(t) {
2011
2011
  var L;
2012
2012
  let {
2013
2013
  submission: D,
2014
- replace: I,
2015
- isFetchActionRedirect: q
2014
+ replace: V,
2015
+ isFetchActionRedirect: I
2016
2016
  } = S === void 0 ? {} : S;
2017
2017
  b.revalidate && (O = !0);
2018
- let Q = dn(
2018
+ let z = dn(
2019
2019
  g.location,
2020
2020
  b.location,
2021
2021
  // TODO: This can be removed once we get rid of useTransition in Remix v2
2022
2022
  G({
2023
2023
  _isRedirect: !0
2024
- }, q ? {
2024
+ }, I ? {
2025
2025
  _isFetchActionRedirect: !0
2026
2026
  } : {})
2027
2027
  );
2028
- if (N(Q, "Expected a location on the redirect navigation"), hs && typeof ((L = window) == null ? void 0 : L.location) < "u") {
2028
+ if (P(z, "Expected a location on the redirect navigation"), hs && typeof ((L = window) == null ? void 0 : L.location) < "u") {
2029
2029
  let xe = t.history.createURL(b.location).origin;
2030
2030
  if (window.location.origin !== xe) {
2031
- I ? window.location.replace(b.location) : window.location.assign(b.location);
2031
+ V ? window.location.replace(b.location) : window.location.assign(b.location);
2032
2032
  return;
2033
2033
  }
2034
2034
  }
2035
2035
  w = null;
2036
- let F = I === !0 ? le.Replace : le.Push, {
2036
+ let q = V === !0 ? le.Replace : le.Push, {
2037
2037
  formMethod: he,
2038
- formAction: H,
2039
- formEncType: re,
2038
+ formAction: Q,
2039
+ formEncType: ne,
2040
2040
  formData: Se
2041
2041
  } = g.navigation;
2042
- !D && he && H && Se && re && (D = {
2042
+ !D && he && Q && Se && ne && (D = {
2043
2043
  formMethod: he,
2044
- formAction: H,
2045
- formEncType: re,
2044
+ formAction: Q,
2045
+ formEncType: ne,
2046
2046
  formData: Se
2047
- }), yo.has(b.status) && D && Ke(D.formMethod) ? await Ce(F, Q, {
2047
+ }), yo.has(b.status) && D && Ke(D.formMethod) ? await Ce(q, z, {
2048
2048
  submission: G({}, D, {
2049
2049
  formAction: b.location
2050
2050
  }),
2051
2051
  // Preserve this flag across redirects
2052
2052
  preventScrollReset: v
2053
- }) : await Ce(F, Q, {
2053
+ }) : await Ce(q, z, {
2054
2054
  overrideNavigation: {
2055
2055
  state: "loading",
2056
- location: Q,
2056
+ location: z,
2057
2057
  formMethod: D ? D.formMethod : void 0,
2058
2058
  formAction: D ? D.formAction : void 0,
2059
2059
  formEncType: D ? D.formEncType : void 0,
@@ -2063,34 +2063,34 @@ function wo(t) {
2063
2063
  preventScrollReset: v
2064
2064
  });
2065
2065
  }
2066
- async function Tt(g, b, S, L, D) {
2067
- let I = await Promise.all([...S.map((F) => Zt("loader", D, F, b, f.basename)), ...L.map((F) => Zt("loader", Jt(t.history, F.path, D.signal), F.match, F.matches, f.basename))]), q = I.slice(0, S.length), Q = I.slice(S.length);
2068
- return await Promise.all([fi(g, S, q, D.signal, !1, d.loaderData), fi(g, L.map((F) => F.match), Q, D.signal, !0)]), {
2069
- results: I,
2070
- loaderResults: q,
2071
- fetcherResults: Q
2066
+ async function kt(g, b, S, L, D) {
2067
+ let V = await Promise.all([...S.map((q) => Zt("loader", D, q, b, f.basename)), ...L.map((q) => Zt("loader", Jt(t.history, q.path, D.signal), q.match, q.matches, f.basename))]), I = V.slice(0, S.length), z = V.slice(S.length);
2068
+ return await Promise.all([fi(g, S, I, D.signal, !1, d.loaderData), fi(g, L.map((q) => q.match), z, D.signal, !0)]), {
2069
+ results: V,
2070
+ loaderResults: I,
2071
+ fetcherResults: z
2072
2072
  };
2073
2073
  }
2074
2074
  function rt() {
2075
- O = !0, k.push(...zt()), B.forEach((g, b) => {
2076
- E.has(b) && (C.push(b), Dt(b));
2075
+ O = !0, k.push(...zt()), F.forEach((g, b) => {
2076
+ R.has(b) && (C.push(b), Lt(b));
2077
2077
  });
2078
2078
  }
2079
2079
  function Qt(g, b, S) {
2080
2080
  let L = qt(d.matches, b);
2081
- kt(g), J({
2081
+ Dt(g), X({
2082
2082
  errors: {
2083
2083
  [L.route.id]: S
2084
2084
  },
2085
2085
  fetchers: new Map(d.fetchers)
2086
2086
  });
2087
2087
  }
2088
- function kt(g) {
2089
- E.has(g) && Dt(g), B.delete(g), j.delete(g), P.delete(g), d.fetchers.delete(g);
2090
- }
2091
2088
  function Dt(g) {
2092
- let b = E.get(g);
2093
- N(b, "Expected fetch controller: " + g), b.abort(), E.delete(g);
2089
+ R.has(g) && Lt(g), F.delete(g), j.delete(g), N.delete(g), d.fetchers.delete(g);
2090
+ }
2091
+ function Lt(g) {
2092
+ let b = R.get(g);
2093
+ P(b, "Expected fetch controller: " + g), b.abort(), R.delete(g);
2094
2094
  }
2095
2095
  function pr(g) {
2096
2096
  for (let b of g) {
@@ -2106,11 +2106,11 @@ function wo(t) {
2106
2106
  d.fetchers.set(b, L);
2107
2107
  }
2108
2108
  }
2109
- function Lt() {
2109
+ function Pt() {
2110
2110
  let g = [];
2111
- for (let b of P) {
2111
+ for (let b of N) {
2112
2112
  let S = d.fetchers.get(b);
2113
- N(S, "Expected fetcher: " + b), S.state === "loading" && (P.delete(b), g.push(b));
2113
+ P(S, "Expected fetcher: " + b), S.state === "loading" && (N.delete(b), g.push(b));
2114
2114
  }
2115
2115
  pr(g);
2116
2116
  }
@@ -2119,20 +2119,20 @@ function wo(t) {
2119
2119
  for (let [S, L] of j)
2120
2120
  if (L < g) {
2121
2121
  let D = d.fetchers.get(S);
2122
- N(D, "Expected fetcher: " + S), D.state === "loading" && (Dt(S), j.delete(S), b.push(S));
2122
+ P(D, "Expected fetcher: " + S), D.state === "loading" && (Lt(S), j.delete(S), b.push(S));
2123
2123
  }
2124
2124
  return pr(b), b.length > 0;
2125
2125
  }
2126
2126
  function mr(g, b) {
2127
2127
  let S = d.blockers.get(g) || si;
2128
- return A.get(g) !== b && (A.set(g, b), W == null ? W = g : g !== W && Ue(!1, "A router only supports one blocker at a time")), S;
2128
+ return M.get(g) !== b && (M.set(g, b), H == null ? H = g : g !== H && Ue(!1, "A router only supports one blocker at a time")), S;
2129
2129
  }
2130
2130
  function nt(g) {
2131
- d.blockers.delete(g), A.delete(g), W === g && (W = null);
2131
+ d.blockers.delete(g), M.delete(g), H === g && (H = null);
2132
2132
  }
2133
2133
  function He(g, b) {
2134
2134
  let S = d.blockers.get(g) || si;
2135
- N(S.state === "unblocked" && b.state === "blocked" || S.state === "blocked" && b.state === "blocked" || S.state === "blocked" && b.state === "proceeding" || S.state === "blocked" && b.state === "unblocked" || S.state === "proceeding" && b.state === "unblocked", "Invalid blocker state transition: " + S.state + " -> " + b.state), d.blockers.set(g, b), J({
2135
+ P(S.state === "unblocked" && b.state === "blocked" || S.state === "blocked" && b.state === "blocked" || S.state === "blocked" && b.state === "proceeding" || S.state === "blocked" && b.state === "unblocked" || S.state === "proceeding" && b.state === "unblocked", "Invalid blocker state transition: " + S.state + " -> " + b.state), d.blockers.set(g, b), X({
2136
2136
  blockers: new Map(d.blockers)
2137
2137
  });
2138
2138
  }
@@ -2142,29 +2142,29 @@ function wo(t) {
2142
2142
  nextLocation: S,
2143
2143
  historyAction: L
2144
2144
  } = g;
2145
- if (W == null)
2145
+ if (H == null)
2146
2146
  return;
2147
- let D = A.get(W);
2148
- N(D, "Could not find a function for the active blocker");
2149
- let I = d.blockers.get(W);
2150
- if (!(I && I.state === "proceeding") && D({
2147
+ let D = M.get(H);
2148
+ P(D, "Could not find a function for the active blocker");
2149
+ let V = d.blockers.get(H);
2150
+ if (!(V && V.state === "proceeding") && D({
2151
2151
  currentLocation: b,
2152
2152
  nextLocation: S,
2153
2153
  historyAction: L
2154
2154
  }))
2155
- return W;
2155
+ return H;
2156
2156
  }
2157
2157
  function zt(g) {
2158
2158
  let b = [];
2159
- return ne.forEach((S, L) => {
2160
- (!g || g(L)) && (S.cancel(), b.push(L), ne.delete(L));
2159
+ return J.forEach((S, L) => {
2160
+ (!g || g(L)) && (S.cancel(), b.push(L), J.delete(L));
2161
2161
  }), b;
2162
2162
  }
2163
2163
  function Wt(g, b, S) {
2164
2164
  if (i = g, a = b, s = S || ((L) => L.key), !l && d.navigation === nn) {
2165
2165
  l = !0;
2166
2166
  let L = yr(d.location, d.matches);
2167
- L != null && J({
2167
+ L != null && X({
2168
2168
  restoreScrollPosition: L
2169
2169
  });
2170
2170
  }
@@ -2180,7 +2180,7 @@ function wo(t) {
2180
2180
  }
2181
2181
  function yr(g, b) {
2182
2182
  if (i && s && a) {
2183
- let S = b.map((I) => pi(I, d.loaderData)), L = s(g, S) || g.key, D = i[L];
2183
+ let S = b.map((V) => pi(V, d.loaderData)), L = s(g, S) || g.key, D = i[L];
2184
2184
  if (typeof D == "number")
2185
2185
  return D;
2186
2186
  }
@@ -2207,12 +2207,12 @@ function wo(t) {
2207
2207
  createHref: (g) => t.history.createHref(g),
2208
2208
  encodeLocation: (g) => t.history.encodeLocation(g),
2209
2209
  getFetcher: fr,
2210
- deleteFetcher: kt,
2210
+ deleteFetcher: Dt,
2211
2211
  dispose: ye,
2212
2212
  getBlocker: mr,
2213
2213
  deleteBlocker: nt,
2214
- _internalFetchControllers: E,
2215
- _internalActiveDeferreds: ne
2214
+ _internalFetchControllers: R,
2215
+ _internalActiveDeferreds: J
2216
2216
  }, f;
2217
2217
  }
2218
2218
  function Co(t) {
@@ -2263,26 +2263,26 @@ function oi(t, e, r, n, i, s, a, l, o, u, c) {
2263
2263
  s || // Clicked the same link, resubmitted a GET form
2264
2264
  d.toString() === m.toString() || // Search params affect all loaders
2265
2265
  d.search !== m.search
2266
- ), w = u ? Object.keys(u)[0] : void 0, O = Eo(r, w).filter((C, E) => {
2266
+ ), w = u ? Object.keys(u)[0] : void 0, O = Eo(r, w).filter((C, R) => {
2267
2267
  if (C.route.loader == null)
2268
2268
  return !1;
2269
- if (Ro(e.loaderData, e.matches[E], C) || a.some((j) => j === C.route.id))
2269
+ if (Ro(e.loaderData, e.matches[R], C) || a.some((j) => j === C.route.id))
2270
2270
  return !0;
2271
- let M = e.matches[E], _ = C;
2271
+ let A = e.matches[R], _ = C;
2272
2272
  return li(C, G({
2273
2273
  currentUrl: d,
2274
- currentParams: M.params,
2274
+ currentParams: A.params,
2275
2275
  nextUrl: m,
2276
2276
  nextParams: _.params
2277
2277
  }, n, {
2278
2278
  actionResult: f,
2279
- defaultShouldRevalidate: v || fs(M, _)
2279
+ defaultShouldRevalidate: v || fs(A, _)
2280
2280
  }));
2281
2281
  }), k = [];
2282
- return c && c.forEach((C, E) => {
2283
- if (r.some((M) => M.route.id === C.routeId))
2284
- l.includes(E) ? k.push(G({
2285
- key: E
2282
+ return c && c.forEach((C, R) => {
2283
+ if (r.some((A) => A.route.id === C.routeId))
2284
+ l.includes(R) ? k.push(G({
2285
+ key: R
2286
2286
  }, C)) : li(C.match, G({
2287
2287
  currentUrl: d,
2288
2288
  currentParams: e.matches[e.matches.length - 1].params,
@@ -2292,7 +2292,7 @@ function oi(t, e, r, n, i, s, a, l, o, u, c) {
2292
2292
  actionResult: f,
2293
2293
  defaultShouldRevalidate: v
2294
2294
  })) && k.push(G({
2295
- key: E
2295
+ key: R
2296
2296
  }, C));
2297
2297
  else
2298
2298
  return;
@@ -2329,11 +2329,11 @@ async function Zt(t, e, r, n, i, s, a, l) {
2329
2329
  e.signal.addEventListener("abort", d);
2330
2330
  try {
2331
2331
  let m = r.route[t];
2332
- N(m, "Could not find the " + t + ' to run on the "' + r.route.id + '" route'), u = await Promise.race([m({
2332
+ P(m, "Could not find the " + t + ' to run on the "' + r.route.id + '" route'), u = await Promise.race([m({
2333
2333
  request: e,
2334
2334
  params: r.params,
2335
2335
  context: l
2336
- }), f]), N(u !== void 0, "You defined " + (t === "action" ? "an action" : "a loader") + " for route " + ('"' + r.route.id + "\" but didn't return anything from your `" + t + "` ") + "function. Please return a value or `null`.");
2336
+ }), f]), P(u !== void 0, "You defined " + (t === "action" ? "an action" : "a loader") + " for route " + ('"' + r.route.id + "\" but didn't return anything from your `" + t + "` ") + "function. Please return a value or `null`.");
2337
2337
  } catch (m) {
2338
2338
  o = fe.error, u = m;
2339
2339
  } finally {
@@ -2342,26 +2342,26 @@ async function Zt(t, e, r, n, i, s, a, l) {
2342
2342
  if (Oo(u)) {
2343
2343
  let m = u.status;
2344
2344
  if (go.has(m)) {
2345
- let R = u.headers.get("Location");
2346
- if (N(R, "Redirects returned/thrown from loaders/actions must have a Location header"), /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i.test(R)) {
2345
+ let E = u.headers.get("Location");
2346
+ if (P(E, "Redirects returned/thrown from loaders/actions must have a Location header"), /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i.test(E)) {
2347
2347
  if (!s) {
2348
- let k = new URL(e.url), C = R.startsWith("//") ? new URL(k.protocol + R) : new URL(R);
2349
- C.origin === k.origin && (R = C.pathname + C.search + C.hash);
2348
+ let k = new URL(e.url), C = E.startsWith("//") ? new URL(k.protocol + E) : new URL(E);
2349
+ C.origin === k.origin && (E = C.pathname + C.search + C.hash);
2350
2350
  }
2351
2351
  } else {
2352
- let k = n.slice(0, n.indexOf(r) + 1), C = Mr(k).map((M) => M.pathnameBase), E = wn(R, C, new URL(e.url).pathname);
2353
- if (N(Ve(E), "Unable to resolve redirect location: " + R), i) {
2354
- let M = E.pathname;
2355
- E.pathname = M === "/" ? i : Ie([i, M]);
2352
+ let k = n.slice(0, n.indexOf(r) + 1), C = Mr(k).map((A) => A.pathnameBase), R = wn(E, C, new URL(e.url).pathname);
2353
+ if (P(Ve(R), "Unable to resolve redirect location: " + E), i) {
2354
+ let A = R.pathname;
2355
+ R.pathname = A === "/" ? i : Ie([i, A]);
2356
2356
  }
2357
- R = Ve(E);
2357
+ E = Ve(R);
2358
2358
  }
2359
2359
  if (s)
2360
- throw u.headers.set("Location", R), u;
2360
+ throw u.headers.set("Location", E), u;
2361
2361
  return {
2362
2362
  type: fe.redirect,
2363
2363
  status: m,
2364
- location: R,
2364
+ location: E,
2365
2365
  revalidate: u.headers.get("X-Remix-Revalidate") !== null
2366
2366
  };
2367
2367
  }
@@ -2417,11 +2417,11 @@ function So(t, e, r, n, i) {
2417
2417
  let s = {}, a = null, l, o = !1, u = {};
2418
2418
  return r.forEach((c, f) => {
2419
2419
  let d = e[f].route.id;
2420
- if (N(!Vt(c), "Cannot handle redirect results in processLoaderData"), rr(c)) {
2420
+ if (P(!Vt(c), "Cannot handle redirect results in processLoaderData"), rr(c)) {
2421
2421
  let m = qt(t, d), v = c.error;
2422
2422
  n && (v = Object.values(n)[0], n = void 0), a = a || {}, a[m.route.id] == null && (a[m.route.id] = v), s[d] = void 0, o || (o = !0, l = cs(c.error) ? c.error.status : 500), c.headers && (u[d] = c.headers);
2423
2423
  } else
2424
- pt(c) ? (i.set(d, c.deferredData), s[d] = c.deferredData.data) : s[d] = c.data, c.statusCode != null && c.statusCode !== 200 && !o && (l = c.statusCode), c.headers && (u[d] = c.headers);
2424
+ mt(c) ? (i.set(d, c.deferredData), s[d] = c.deferredData.data) : s[d] = c.data, c.statusCode != null && c.statusCode !== 200 && !o && (l = c.statusCode), c.headers && (u[d] = c.headers);
2425
2425
  }), n && (a = n, s[Object.keys(n)[0]] = void 0), {
2426
2426
  loaderData: s,
2427
2427
  errors: a,
@@ -2439,7 +2439,7 @@ function ui(t, e, r, n, i, s, a, l) {
2439
2439
  key: f,
2440
2440
  match: d
2441
2441
  } = s[c];
2442
- N(a !== void 0 && a[c] !== void 0, "Did not find corresponding fetcher result");
2442
+ P(a !== void 0 && a[c] !== void 0, "Did not find corresponding fetcher result");
2443
2443
  let m = a[c];
2444
2444
  if (rr(m)) {
2445
2445
  let v = qt(t.matches, d.route.id);
@@ -2447,9 +2447,9 @@ function ui(t, e, r, n, i, s, a, l) {
2447
2447
  [v.route.id]: m.error
2448
2448
  })), t.fetchers.delete(f);
2449
2449
  } else if (Vt(m))
2450
- N(!1, "Unhandled fetcher revalidation redirect");
2451
- else if (pt(m))
2452
- N(!1, "Unhandled fetcher deferred data");
2450
+ P(!1, "Unhandled fetcher revalidation redirect");
2451
+ else if (mt(m))
2452
+ P(!1, "Unhandled fetcher deferred data");
2453
2453
  else {
2454
2454
  let v = {
2455
2455
  state: "idle",
@@ -2519,7 +2519,7 @@ function ms(t) {
2519
2519
  function xo(t, e) {
2520
2520
  return t.pathname === e.pathname && t.search === e.search && t.hash !== e.hash;
2521
2521
  }
2522
- function pt(t) {
2522
+ function mt(t) {
2523
2523
  return t.type === fe.deferred;
2524
2524
  }
2525
2525
  function rr(t) {
@@ -2540,7 +2540,7 @@ function Ke(t) {
2540
2540
  async function fi(t, e, r, n, i, s) {
2541
2541
  for (let a = 0; a < r.length; a++) {
2542
2542
  let l = r[a], o = e[a], u = t.find((f) => f.route.id === o.route.id), c = u != null && !fs(u, o) && (s && s[o.route.id]) !== void 0;
2543
- pt(l) && (i || c) && await gs(l, n, i).then((f) => {
2543
+ mt(l) && (i || c) && await gs(l, n, i).then((f) => {
2544
2544
  f && (r[a] = f || r[a]);
2545
2545
  });
2546
2546
  }
@@ -2664,8 +2664,8 @@ const or = /* @__PURE__ */ p.createContext(null);
2664
2664
  process.env.NODE_ENV !== "production" && (or.displayName = "DataRouterState");
2665
2665
  const Io = /* @__PURE__ */ p.createContext(null);
2666
2666
  process.env.NODE_ENV !== "production" && (Io.displayName = "Await");
2667
- const Rt = /* @__PURE__ */ p.createContext(null);
2668
- process.env.NODE_ENV !== "production" && (Rt.displayName = "Navigation");
2667
+ const St = /* @__PURE__ */ p.createContext(null);
2668
+ process.env.NODE_ENV !== "production" && (St.displayName = "Navigation");
2669
2669
  const lr = /* @__PURE__ */ p.createContext(null);
2670
2670
  process.env.NODE_ENV !== "production" && (lr.displayName = "Location");
2671
2671
  const Be = /* @__PURE__ */ p.createContext({
@@ -2679,16 +2679,16 @@ function Vo(t, e) {
2679
2679
  let {
2680
2680
  relative: r
2681
2681
  } = e === void 0 ? {} : e;
2682
- ur() || (process.env.NODE_ENV !== "production" ? N(
2682
+ ur() || (process.env.NODE_ENV !== "production" ? P(
2683
2683
  !1,
2684
2684
  // TODO: This error is probably because they somehow have 2 versions of the
2685
2685
  // router loaded. We can help them understand how to avoid that.
2686
2686
  "useHref() may be used only in the context of a <Router> component."
2687
- ) : N(!1));
2687
+ ) : P(!1));
2688
2688
  let {
2689
2689
  basename: n,
2690
2690
  navigator: i
2691
- } = p.useContext(Rt), {
2691
+ } = p.useContext(St), {
2692
2692
  hash: s,
2693
2693
  pathname: a,
2694
2694
  search: l
@@ -2704,29 +2704,29 @@ function Vo(t, e) {
2704
2704
  function ur() {
2705
2705
  return p.useContext(lr) != null;
2706
2706
  }
2707
- function St() {
2708
- return ur() || (process.env.NODE_ENV !== "production" ? N(
2707
+ function xt() {
2708
+ return ur() || (process.env.NODE_ENV !== "production" ? P(
2709
2709
  !1,
2710
2710
  // TODO: This error is probably because they somehow have 2 versions of the
2711
2711
  // router loaded. We can help them understand how to avoid that.
2712
2712
  "useLocation() may be used only in the context of a <Router> component."
2713
- ) : N(!1)), p.useContext(lr).location;
2713
+ ) : P(!1)), p.useContext(lr).location;
2714
2714
  }
2715
2715
  function bs() {
2716
- ur() || (process.env.NODE_ENV !== "production" ? N(
2716
+ ur() || (process.env.NODE_ENV !== "production" ? P(
2717
2717
  !1,
2718
2718
  // TODO: This error is probably because they somehow have 2 versions of the
2719
2719
  // router loaded. We can help them understand how to avoid that.
2720
2720
  "useNavigate() may be used only in the context of a <Router> component."
2721
- ) : N(!1));
2721
+ ) : P(!1));
2722
2722
  let {
2723
2723
  basename: t,
2724
2724
  navigator: e
2725
- } = p.useContext(Rt), {
2725
+ } = p.useContext(St), {
2726
2726
  matches: r
2727
2727
  } = p.useContext(Be), {
2728
2728
  pathname: n
2729
- } = St(), i = JSON.stringify(Mr(r).map((l) => l.pathnameBase)), s = p.useRef(!1);
2729
+ } = xt(), i = JSON.stringify(Mr(r).map((l) => l.pathnameBase)), s = p.useRef(!1);
2730
2730
  return p.useEffect(() => {
2731
2731
  s.current = !0;
2732
2732
  }), p.useCallback(function(l, o) {
@@ -2760,19 +2760,19 @@ function Ar(t, e) {
2760
2760
  matches: n
2761
2761
  } = p.useContext(Be), {
2762
2762
  pathname: i
2763
- } = St(), s = JSON.stringify(Mr(n).map((a) => a.pathnameBase));
2763
+ } = xt(), s = JSON.stringify(Mr(n).map((a) => a.pathnameBase));
2764
2764
  return p.useMemo(() => wn(t, JSON.parse(s), i, r === "path"), [t, s, i, r]);
2765
2765
  }
2766
2766
  function Ho(t, e) {
2767
- ur() || (process.env.NODE_ENV !== "production" ? N(
2767
+ ur() || (process.env.NODE_ENV !== "production" ? P(
2768
2768
  !1,
2769
2769
  // TODO: This error is probably because they somehow have 2 versions of the
2770
2770
  // router loaded. We can help them understand how to avoid that.
2771
2771
  "useRoutes() may be used only in the context of a <Router> component."
2772
- ) : N(!1));
2772
+ ) : P(!1));
2773
2773
  let {
2774
2774
  navigator: r
2775
- } = p.useContext(Rt), n = p.useContext(or), {
2775
+ } = p.useContext(St), n = p.useContext(or), {
2776
2776
  matches: i
2777
2777
  } = p.useContext(Be), s = i[i.length - 1], a = s ? s.params : {}, l = s ? s.pathname : "/", o = s ? s.pathnameBase : "/", u = s && s.route;
2778
2778
  if (process.env.NODE_ENV !== "production") {
@@ -2781,18 +2781,18 @@ function Ho(t, e) {
2781
2781
 
2782
2782
  ` + ('Please change the parent <Route path="' + O + '"> to <Route ') + ('path="' + (O === "/" ? "*" : O + "/*") + '">.'));
2783
2783
  }
2784
- let c = St(), f;
2784
+ let c = xt(), f;
2785
2785
  if (e) {
2786
2786
  var d;
2787
2787
  let O = typeof e == "string" ? $e(e) : e;
2788
- o === "/" || (d = O.pathname) != null && d.startsWith(o) || (process.env.NODE_ENV !== "production" ? N(!1, "When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was " + ('matched by all parent routes. The current pathname base is "' + o + '" ') + ('but pathname "' + O.pathname + '" was given in the `location` prop.')) : N(!1)), f = O;
2788
+ o === "/" || (d = O.pathname) != null && d.startsWith(o) || (process.env.NODE_ENV !== "production" ? P(!1, "When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was " + ('matched by all parent routes. The current pathname base is "' + o + '" ') + ('but pathname "' + O.pathname + '" was given in the `location` prop.')) : P(!1)), f = O;
2789
2789
  } else
2790
2790
  f = c;
2791
2791
  let m = f.pathname || "/", v = o === "/" ? m : m.slice(o.length) || "/", w = er(t, {
2792
2792
  pathname: v
2793
2793
  });
2794
2794
  process.env.NODE_ENV !== "production" && (process.env.NODE_ENV !== "production" && Ue(u || w != null, 'No routes matched location "' + f.pathname + f.search + f.hash + '" '), process.env.NODE_ENV !== "production" && Ue(w == null || w[w.length - 1].route.element !== void 0, 'Matched leaf route at location "' + f.pathname + f.search + f.hash + '" does not have an element. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.'));
2795
- let R = Ko(w && w.map((O) => Object.assign({}, O, {
2795
+ let E = Ko(w && w.map((O) => Object.assign({}, O, {
2796
2796
  params: Object.assign({}, a, O.params),
2797
2797
  pathname: Ie([
2798
2798
  o,
@@ -2805,7 +2805,7 @@ function Ho(t, e) {
2805
2805
  r.encodeLocation ? r.encodeLocation(O.pathnameBase).pathname : O.pathnameBase
2806
2806
  ])
2807
2807
  })), i, n || void 0);
2808
- return e && R ? /* @__PURE__ */ p.createElement(lr.Provider, {
2808
+ return e && E ? /* @__PURE__ */ p.createElement(lr.Provider, {
2809
2809
  value: {
2810
2810
  location: _r({
2811
2811
  pathname: "/",
@@ -2816,7 +2816,7 @@ function Ho(t, e) {
2816
2816
  }, f),
2817
2817
  navigationType: le.Pop
2818
2818
  }
2819
- }, R) : R;
2819
+ }, E) : E;
2820
2820
  }
2821
2821
  function Qo() {
2822
2822
  let t = Cs(), e = cs(t) ? t.status + " " + t.statusText : t instanceof Error ? t.message : JSON.stringify(t), r = t instanceof Error ? t.stack : null, n = "rgba(200,200,200, 0.5)", i = {
@@ -2890,7 +2890,7 @@ function Ko(t, e, r) {
2890
2890
  let n = t, i = r == null ? void 0 : r.errors;
2891
2891
  if (i != null) {
2892
2892
  let s = n.findIndex((a) => a.route.id && (i == null ? void 0 : i[a.route.id]));
2893
- s >= 0 || (process.env.NODE_ENV !== "production" ? N(!1, "Could not find a matching route for the current errors: " + i) : N(!1)), n = n.slice(0, Math.min(n.length, s + 1));
2893
+ s >= 0 || (process.env.NODE_ENV !== "production" ? P(!1, "Could not find a matching route for the current errors: " + i) : P(!1)), n = n.slice(0, Math.min(n.length, s + 1));
2894
2894
  }
2895
2895
  return n.reduceRight((s, a, l) => {
2896
2896
  let o = a.route.id ? i == null ? void 0 : i[a.route.id] : null, u = r ? a.route.errorElement || /* @__PURE__ */ p.createElement(Qo, null) : null, c = e.concat(n.slice(0, l + 1)), f = () => /* @__PURE__ */ p.createElement(Wo, {
@@ -2925,15 +2925,15 @@ function ws(t) {
2925
2925
  }
2926
2926
  function Yo(t) {
2927
2927
  let e = p.useContext(or);
2928
- return e || (process.env.NODE_ENV !== "production" ? N(!1, ws(t)) : N(!1)), e;
2928
+ return e || (process.env.NODE_ENV !== "production" ? P(!1, ws(t)) : P(!1)), e;
2929
2929
  }
2930
2930
  function Go(t) {
2931
2931
  let e = p.useContext(Be);
2932
- return e || (process.env.NODE_ENV !== "production" ? N(!1, ws(t)) : N(!1)), e;
2932
+ return e || (process.env.NODE_ENV !== "production" ? P(!1, ws(t)) : P(!1)), e;
2933
2933
  }
2934
2934
  function Zo(t) {
2935
2935
  let e = Go(t), r = e.matches[e.matches.length - 1];
2936
- return r.route.id || (process.env.NODE_ENV !== "production" ? N(!1, t + ' can only be used on routes that contain a unique "id"') : N(!1)), r.route.id;
2936
+ return r.route.id || (process.env.NODE_ENV !== "production" ? P(!1, t + ' can only be used on routes that contain a unique "id"') : P(!1)), r.route.id;
2937
2937
  }
2938
2938
  function Cs() {
2939
2939
  var t;
@@ -2990,7 +2990,7 @@ function Xo(t) {
2990
2990
  return $o(t.context);
2991
2991
  }
2992
2992
  function el(t) {
2993
- process.env.NODE_ENV !== "production" ? N(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.") : N(!1);
2993
+ process.env.NODE_ENV !== "production" ? P(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.") : P(!1);
2994
2994
  }
2995
2995
  function tl(t) {
2996
2996
  let {
@@ -3001,7 +3001,7 @@ function tl(t) {
3001
3001
  navigator: s,
3002
3002
  static: a = !1
3003
3003
  } = t;
3004
- ur() && (process.env.NODE_ENV !== "production" ? N(!1, "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.") : N(!1));
3004
+ ur() && (process.env.NODE_ENV !== "production" ? P(!1, "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.") : P(!1));
3005
3005
  let l = e.replace(/^\/*/, "/"), o = p.useMemo(() => ({
3006
3006
  basename: l,
3007
3007
  navigator: s,
@@ -3024,7 +3024,7 @@ function tl(t) {
3024
3024
  key: m
3025
3025
  };
3026
3026
  }, [l, u, c, f, d, m]);
3027
- return process.env.NODE_ENV !== "production" && Ue(v != null, '<Router basename="' + l + '"> is not able to match the URL ' + ('"' + u + c + f + '" because it does not start with the ') + "basename, so the <Router> won't render anything."), v == null ? null : /* @__PURE__ */ p.createElement(Rt.Provider, {
3027
+ return process.env.NODE_ENV !== "production" && Ue(v != null, '<Router basename="' + l + '"> is not able to match the URL ' + ('"' + u + c + f + '" because it does not start with the ') + "basename, so the <Router> won't render anything."), v == null ? null : /* @__PURE__ */ p.createElement(St.Provider, {
3028
3028
  value: o
3029
3029
  }, /* @__PURE__ */ p.createElement(lr.Provider, {
3030
3030
  children: r,
@@ -3057,7 +3057,7 @@ function hn(t, e) {
3057
3057
  r.push.apply(r, hn(n.props.children, e));
3058
3058
  return;
3059
3059
  }
3060
- n.type !== el && (process.env.NODE_ENV !== "production" ? N(!1, "[" + (typeof n.type == "string" ? n.type : n.type.name) + "] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>") : N(!1)), !n.props.index || !n.props.children || (process.env.NODE_ENV !== "production" ? N(!1, "An index route cannot have child routes.") : N(!1));
3060
+ n.type !== el && (process.env.NODE_ENV !== "production" ? P(!1, "[" + (typeof n.type == "string" ? n.type : n.type.name) + "] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>") : P(!1)), !n.props.index || !n.props.children || (process.env.NODE_ENV !== "production" ? P(!1, "An index route cannot have child routes.") : P(!1));
3061
3061
  let s = [...e, i], a = {
3062
3062
  id: n.props.id || s.join("-"),
3063
3063
  caseSensitive: n.props.caseSensitive,
@@ -3101,15 +3101,15 @@ function Ss(t, e) {
3101
3101
  *
3102
3102
  * @license MIT
3103
3103
  */
3104
- function vt() {
3105
- return vt = Object.assign ? Object.assign.bind() : function(t) {
3104
+ function bt() {
3105
+ return bt = Object.assign ? Object.assign.bind() : function(t) {
3106
3106
  for (var e = 1; e < arguments.length; e++) {
3107
3107
  var r = arguments[e];
3108
3108
  for (var n in r)
3109
3109
  Object.prototype.hasOwnProperty.call(r, n) && (t[n] = r[n]);
3110
3110
  }
3111
3111
  return t;
3112
- }, vt.apply(this, arguments);
3112
+ }, bt.apply(this, arguments);
3113
3113
  }
3114
3114
  function En(t, e) {
3115
3115
  if (t == null)
@@ -3187,10 +3187,10 @@ const hl = typeof window < "u" && typeof window.document < "u" && typeof window.
3187
3187
  preventScrollReset: c
3188
3188
  } = e, f = En(e, ul), d = typeof u == "string" ? u : Ve(u), m = /^[a-z+]+:\/\//i.test(d) || d.startsWith("//"), v = d, w = !1;
3189
3189
  if (hl && m) {
3190
- let C = new URL(window.location.href), E = d.startsWith("//") ? new URL(C.protocol + d) : new URL(d);
3191
- E.origin === C.origin ? v = E.pathname + E.search + E.hash : w = !0;
3190
+ let C = new URL(window.location.href), R = d.startsWith("//") ? new URL(C.protocol + d) : new URL(d);
3191
+ R.origin === C.origin ? v = R.pathname + R.search + R.hash : w = !0;
3192
3192
  }
3193
- let R = Vo(v, {
3193
+ let E = Vo(v, {
3194
3194
  relative: i
3195
3195
  }), O = yl(v, {
3196
3196
  replace: a,
@@ -3204,8 +3204,8 @@ const hl = typeof window < "u" && typeof window.document < "u" && typeof window.
3204
3204
  }
3205
3205
  return (
3206
3206
  // eslint-disable-next-line jsx-a11y/anchor-has-content
3207
- /* @__PURE__ */ p.createElement("a", vt({}, f, {
3208
- href: m ? d : R,
3207
+ /* @__PURE__ */ p.createElement("a", bt({}, f, {
3208
+ href: m ? d : E,
3209
3209
  onClick: w || s ? n : k,
3210
3210
  ref: r,
3211
3211
  target: o
@@ -3224,22 +3224,22 @@ const fl = /* @__PURE__ */ p.forwardRef(function(e, r) {
3224
3224
  children: u
3225
3225
  } = e, c = En(e, cl), f = Ar(o, {
3226
3226
  relative: c.relative
3227
- }), d = St(), m = p.useContext(or), {
3227
+ }), d = xt(), m = p.useContext(or), {
3228
3228
  navigator: v
3229
- } = p.useContext(Rt), w = v.encodeLocation ? v.encodeLocation(f).pathname : f.pathname, R = d.pathname, O = m && m.navigation && m.navigation.location ? m.navigation.location.pathname : null;
3230
- i || (R = R.toLowerCase(), O = O ? O.toLowerCase() : null, w = w.toLowerCase());
3231
- let k = R === w || !a && R.startsWith(w) && R.charAt(w.length) === "/", C = O != null && (O === w || !a && O.startsWith(w) && O.charAt(w.length) === "/"), E = k ? n : void 0, M;
3232
- typeof s == "function" ? M = s({
3229
+ } = p.useContext(St), w = v.encodeLocation ? v.encodeLocation(f).pathname : f.pathname, E = d.pathname, O = m && m.navigation && m.navigation.location ? m.navigation.location.pathname : null;
3230
+ i || (E = E.toLowerCase(), O = O ? O.toLowerCase() : null, w = w.toLowerCase());
3231
+ let k = E === w || !a && E.startsWith(w) && E.charAt(w.length) === "/", C = O != null && (O === w || !a && O.startsWith(w) && O.charAt(w.length) === "/"), R = k ? n : void 0, A;
3232
+ typeof s == "function" ? A = s({
3233
3233
  isActive: k,
3234
3234
  isPending: C
3235
- }) : M = [s, k ? "active" : null, C ? "pending" : null].filter(Boolean).join(" ");
3235
+ }) : A = [s, k ? "active" : null, C ? "pending" : null].filter(Boolean).join(" ");
3236
3236
  let _ = typeof l == "function" ? l({
3237
3237
  isActive: k,
3238
3238
  isPending: C
3239
3239
  }) : l;
3240
- return /* @__PURE__ */ p.createElement(qr, vt({}, c, {
3241
- "aria-current": E,
3242
- className: M,
3240
+ return /* @__PURE__ */ p.createElement(qr, bt({}, c, {
3241
+ "aria-current": R,
3242
+ className: A,
3243
3243
  ref: r,
3244
3244
  style: _,
3245
3245
  to: o
@@ -3249,7 +3249,7 @@ const fl = /* @__PURE__ */ p.forwardRef(function(e, r) {
3249
3249
  }) : u);
3250
3250
  });
3251
3251
  process.env.NODE_ENV !== "production" && (fl.displayName = "NavLink");
3252
- const pl = /* @__PURE__ */ p.forwardRef((t, e) => /* @__PURE__ */ p.createElement(xs, vt({}, t, {
3252
+ const pl = /* @__PURE__ */ p.forwardRef((t, e) => /* @__PURE__ */ p.createElement(xs, bt({}, t, {
3253
3253
  ref: e
3254
3254
  })));
3255
3255
  process.env.NODE_ENV !== "production" && (pl.displayName = "Form");
@@ -3266,19 +3266,19 @@ const xs = /* @__PURE__ */ p.forwardRef((t, e) => {
3266
3266
  preventScrollReset: c
3267
3267
  } = t, f = En(t, dl), d = vl(l, o), m = i.toLowerCase() === "get" ? "get" : "post", v = Os(s, {
3268
3268
  relative: u
3269
- }), w = (R) => {
3270
- if (a && a(R), R.defaultPrevented)
3269
+ }), w = (E) => {
3270
+ if (a && a(E), E.defaultPrevented)
3271
3271
  return;
3272
- R.preventDefault();
3273
- let O = R.nativeEvent.submitter, k = (O == null ? void 0 : O.getAttribute("formmethod")) || i;
3274
- d(O || R.currentTarget, {
3272
+ E.preventDefault();
3273
+ let O = E.nativeEvent.submitter, k = (O == null ? void 0 : O.getAttribute("formmethod")) || i;
3274
+ d(O || E.currentTarget, {
3275
3275
  method: k,
3276
3276
  replace: n,
3277
3277
  relative: u,
3278
3278
  preventScrollReset: c
3279
3279
  });
3280
3280
  };
3281
- return /* @__PURE__ */ p.createElement("form", vt({
3281
+ return /* @__PURE__ */ p.createElement("form", bt({
3282
3282
  ref: e,
3283
3283
  method: m,
3284
3284
  action: v,
@@ -3300,7 +3300,7 @@ function ml(t) {
3300
3300
  }
3301
3301
  function gl(t) {
3302
3302
  let e = p.useContext(ar);
3303
- return e || (process.env.NODE_ENV !== "production" ? N(!1, ml(t)) : N(!1)), e;
3303
+ return e || (process.env.NODE_ENV !== "production" ? P(!1, ml(t)) : P(!1)), e;
3304
3304
  }
3305
3305
  function yl(t, e) {
3306
3306
  let {
@@ -3309,7 +3309,7 @@ function yl(t, e) {
3309
3309
  state: i,
3310
3310
  preventScrollReset: s,
3311
3311
  relative: a
3312
- } = e === void 0 ? {} : e, l = bs(), o = St(), u = Ar(t, {
3312
+ } = e === void 0 ? {} : e, l = bs(), o = xt(), u = Ar(t, {
3313
3313
  relative: a
3314
3314
  });
3315
3315
  return p.useCallback((c) => {
@@ -3344,7 +3344,7 @@ function vl(t, e) {
3344
3344
  formMethod: a,
3345
3345
  formEncType: l
3346
3346
  };
3347
- t ? (e == null && (process.env.NODE_ENV !== "production" ? N(!1, "No routeId available for useFetcher()") : N(!1)), r.fetch(t, e, c, f)) : r.navigate(c, f);
3347
+ t ? (e == null && (process.env.NODE_ENV !== "production" ? P(!1, "No routeId available for useFetcher()") : P(!1)), r.fetch(t, e, c, f)) : r.navigate(c, f);
3348
3348
  }, [n, r, t, e]);
3349
3349
  }
3350
3350
  function Os(t, e) {
@@ -3352,11 +3352,11 @@ function Os(t, e) {
3352
3352
  relative: r
3353
3353
  } = e === void 0 ? {} : e, {
3354
3354
  basename: n
3355
- } = p.useContext(Rt), i = p.useContext(Be);
3356
- i || (process.env.NODE_ENV !== "production" ? N(!1, "useFormAction must be used inside a RouteContext") : N(!1));
3357
- let [s] = i.matches.slice(-1), a = vt({}, Ar(t || ".", {
3355
+ } = p.useContext(St), i = p.useContext(Be);
3356
+ i || (process.env.NODE_ENV !== "production" ? P(!1, "useFormAction must be used inside a RouteContext") : P(!1));
3357
+ let [s] = i.matches.slice(-1), a = bt({}, Ar(t || ".", {
3358
3358
  relative: r
3359
- })), l = St();
3359
+ })), l = xt();
3360
3360
  if (t == null && (a.search = l.search, a.hash = l.hash, s.route.index)) {
3361
3361
  let o = new URLSearchParams(a.search);
3362
3362
  o.delete("index"), a.search = o.toString() ? "?" + o.toString() : "";
@@ -3368,7 +3368,7 @@ function bl({
3368
3368
  setShowAdminEdit: e,
3369
3369
  enabledAdminEdit: r
3370
3370
  }) {
3371
- const { actions: n, showActions: i, setShowActions: s, navigateTo: a } = Et(ut), l = un();
3371
+ const { actions: n, showActions: i, setShowActions: s, navigateTo: a } = Rt(ut), l = un();
3372
3372
  return Ge(() => {
3373
3373
  const o = (u) => {
3374
3374
  u.metaKey && u.key === "Enter" && (u.preventDefault(), u.stopPropagation(), n.length > 0 && s((c) => !c)), i && u.key !== "ArrowUp" && u.key !== "ArrowDown" && u.key !== "Enter" && s(!1), i && u.key === "ArrowDown" && u.target.className === "qikbar-action" && u.target.nextElementSibling && u.target.nextElementSibling.focus(), i && u.key === "ArrowUp" && u.target.className === "qikbar-action" && u.target.previousElementSibling && u.target.previousElementSibling.focus();
@@ -3462,7 +3462,7 @@ function bl({
3462
3462
  ] });
3463
3463
  }
3464
3464
  function wl() {
3465
- const { search: t, setSearch: e, searchRef: r, placeholder: n } = Et(ut);
3465
+ const { search: t, setSearch: e, searchRef: r, placeholder: n } = Rt(ut);
3466
3466
  return /* @__PURE__ */ y.jsx(
3467
3467
  "input",
3468
3468
  {
@@ -3481,7 +3481,7 @@ function wl() {
3481
3481
  function Cl({
3482
3482
  crumbs: t
3483
3483
  }) {
3484
- const { setCrumbs: e } = Et(ut);
3484
+ const { setCrumbs: e } = Rt(ut);
3485
3485
  return t.length === 0 ? null : /* @__PURE__ */ y.jsx("ul", { className: "qikbar-crumbs", children: t.map((r, n) => {
3486
3486
  const i = t.length - 1 === n;
3487
3487
  return /* @__PURE__ */ y.jsx("li", { className: "qikbar-crumb", children: /* @__PURE__ */ y.jsxs(
@@ -3504,59 +3504,59 @@ function _s({
3504
3504
  wrapperClass: e = "qikbar-command-wrapper",
3505
3505
  defaultOpen: r = !1
3506
3506
  }) {
3507
- const n = un(null), i = St(), s = bs(), [a, l] = We(!1), [o, u] = We([]), [c, f] = We([]), [d, m] = We(!1), [v, w] = We(r), [R, O] = We(""), [k, C] = We("Search for resources"), E = un(), [M, _] = We(0), j = Ee();
3507
+ const n = un(null), i = xt(), s = bs(), [a, l] = We(!1), [o, u] = We([]), [c, f] = We([]), [d, m] = We(!1), [v, w] = We(r), [E, O] = We(""), [k, C] = We("Search for resources"), R = un(), [A, _] = We(0), j = Ee();
3508
3508
  if (Ge(() => {
3509
- var W;
3510
- v && ((W = E.current) == null || W.focus(), _(0), document.body.style.overflow = "hidden"), v || (s(""), m(!1), u([]), f([]), document.body.style.overflow = "unset");
3509
+ var H;
3510
+ v && ((H = R.current) == null || H.focus(), _(0), document.body.style.overflow = "hidden"), v || (s(""), m(!1), u([]), f([]), document.body.style.overflow = "unset");
3511
3511
  }, [v, i.pathname]), Ge(() => {
3512
- const W = (A) => {
3513
- var te, ce, ye, ve, J, Le, tt;
3514
- if (v && ["Space", "ArrowUp", "ArrowDown"].indexOf(A.key) > -1 && A.preventDefault(), A.metaKey && A.key === "Enter") {
3515
- A.preventDefault(), A.stopPropagation();
3512
+ const H = (M) => {
3513
+ var re, ce, ye, ve, X, Le, tt;
3514
+ if (v && ["Space", "ArrowUp", "ArrowDown"].indexOf(M.key) > -1 && M.preventDefault(), M.metaKey && M.key === "Enter") {
3515
+ M.preventDefault(), M.stopPropagation();
3516
3516
  return;
3517
3517
  }
3518
- if (v && A.key === "ArrowDown" && A.target.localName === "input" && ((te = n.current) != null && te.getElementsByClassName("qikbar-item")[1]) && (_(1), n.current.getElementsByClassName(
3518
+ if (v && M.key === "ArrowDown" && M.target.localName === "input" && ((re = n.current) != null && re.getElementsByClassName("qikbar-item")[1]) && (_(1), n.current.getElementsByClassName(
3519
3519
  "qikbar-item"
3520
- )[1].focus()), v && A.target.localName === "input" && R === "" && A.key === "Backspace" && (s(-1), f((ie) => ie.slice(0, -1))), v && A.key === "Escape" && !t && (O(""), s(""), w(!1), u([])), v && A.key === "Enter" && A.target.localName === "input" && ((ce = n.current) != null && ce.getElementsByClassName("qikbar-item")[0]) && (n.current.getElementsByClassName(
3520
+ )[1].focus()), v && M.target.localName === "input" && E === "" && M.key === "Backspace" && (s(-1), f((ie) => ie.slice(0, -1))), v && M.key === "Escape" && !t && (O(""), s(""), w(!1), u([])), v && M.key === "Enter" && M.target.localName === "input" && ((ce = n.current) != null && ce.getElementsByClassName("qikbar-item")[0]) && (n.current.getElementsByClassName(
3521
3521
  "qikbar-item"
3522
- )[0].click(), O("")), v && A.key === "ArrowDown" && A.target.getAttribute("data-testid") === "qikbar-item" && A.target.nextElementSibling) {
3522
+ )[0].click(), O("")), v && M.key === "ArrowDown" && M.target.getAttribute("data-testid") === "qikbar-item" && M.target.nextElementSibling) {
3523
3523
  let ie;
3524
- A.target.nextElementSibling.className === "qikbar-category-wrapper" ? ie = A.target.nextElementSibling.nextElementSibling : ie = A.target.nextElementSibling;
3524
+ M.target.nextElementSibling.className === "qikbar-category-wrapper" ? ie = M.target.nextElementSibling.nextElementSibling : ie = M.target.nextElementSibling;
3525
3525
  const Ce = Array.prototype.indexOf.call(
3526
- (ve = (ye = A.target) == null ? void 0 : ye.parentNode) == null ? void 0 : ve.getElementsByClassName("qikbar-item"),
3526
+ (ve = (ye = M.target) == null ? void 0 : ye.parentNode) == null ? void 0 : ve.getElementsByClassName("qikbar-item"),
3527
3527
  ie
3528
3528
  );
3529
3529
  _(Ce), ie == null || ie.focus();
3530
3530
  }
3531
- if (v && A.key === "ArrowUp" && A.target.getAttribute("data-testid") === "qikbar-item" && A.target.previousElementSibling) {
3531
+ if (v && M.key === "ArrowUp" && M.target.getAttribute("data-testid") === "qikbar-item" && M.target.previousElementSibling) {
3532
3532
  let ie;
3533
- if (A.target.previousElementSibling.className === "qikbar-category-wrapper" ? ie = A.target.previousElementSibling.previousElementSibling : ie = A.target.previousElementSibling, !ie)
3533
+ if (M.target.previousElementSibling.className === "qikbar-category-wrapper" ? ie = M.target.previousElementSibling.previousElementSibling : ie = M.target.previousElementSibling, !ie)
3534
3534
  return;
3535
3535
  const Ce = Array.prototype.indexOf.call(
3536
- (Le = (J = A.target) == null ? void 0 : J.parentNode) == null ? void 0 : Le.getElementsByClassName("qikbar-item"),
3536
+ (Le = (X = M.target) == null ? void 0 : X.parentNode) == null ? void 0 : Le.getElementsByClassName("qikbar-item"),
3537
3537
  ie
3538
3538
  );
3539
3539
  _(Ce), ie == null || ie.focus();
3540
3540
  }
3541
- v && A.key !== "ArrowUp" && A.key !== "ArrowDown" && A.key !== "Enter" && !A.metaKey && !t && (_(0), (tt = E.current) == null || tt.focus()), A.metaKey && A.key === "k" && !t && (v && (s(""), O(""), _(0), u([]), f([])), w((ie) => !ie)), v && A.key === "Enter" && O("");
3541
+ v && M.key !== "ArrowUp" && M.key !== "ArrowDown" && M.key !== "Enter" && !M.metaKey && !t && (_(0), (tt = R.current) == null || tt.focus()), M.metaKey && M.key === "k" && !t && (v && (s(""), O(""), _(0), u([]), f([])), w((ie) => !ie)), v && M.key === "Enter" && O("");
3542
3542
  };
3543
- return document.addEventListener("keydown", W), () => {
3544
- document.removeEventListener("keydown", W);
3543
+ return document.addEventListener("keydown", H), () => {
3544
+ document.removeEventListener("keydown", H);
3545
3545
  };
3546
- }, [v, R]), !v)
3546
+ }, [v, E]), !v)
3547
3547
  return null;
3548
- const B = !!new URLSearchParams(window.location.search).get("qikbarAdmin"), ne = "https://app.qikbar.com";
3548
+ const F = !!new URLSearchParams(window.location.search).get("qikbarAdmin"), J = "https://app.qikbar.com";
3549
3549
  return /* @__PURE__ */ y.jsxs(
3550
3550
  "div",
3551
3551
  {
3552
3552
  className: `${e} ${a && "qikbar-admin-offset"}`,
3553
3553
  "data-testid": "command-bar-container",
3554
3554
  children: [
3555
- B && /* @__PURE__ */ y.jsx(
3555
+ F && /* @__PURE__ */ y.jsx(
3556
3556
  "div",
3557
3557
  {
3558
3558
  className: a ? "qikbar-embedded" : "qickbar-embedded-hidden",
3559
- children: /* @__PURE__ */ y.jsx("iframe", { src: `${ne}/sites/${j.id}/edit/?embedded=true` })
3559
+ children: /* @__PURE__ */ y.jsx("iframe", { src: `${J}/sites/${j.id}/edit/?embedded=true` })
3560
3560
  }
3561
3561
  ),
3562
3562
  /* @__PURE__ */ y.jsx(
@@ -3564,11 +3564,11 @@ function _s({
3564
3564
  {
3565
3565
  value: {
3566
3566
  demo: t,
3567
- search: R,
3568
- searchRef: E,
3567
+ search: E,
3568
+ searchRef: R,
3569
3569
  setIsOpen: w,
3570
3570
  setSearch: O,
3571
- activeIndex: M,
3571
+ activeIndex: A,
3572
3572
  placeholder: k,
3573
3573
  setPlaceholder: C,
3574
3574
  setActions: u,
@@ -3577,22 +3577,22 @@ function _s({
3577
3577
  actions: o,
3578
3578
  showActions: d,
3579
3579
  setShowActions: m,
3580
- navigateTo: (W, A, te = "self") => {
3580
+ navigateTo: (H, M, re = "self") => {
3581
3581
  var ce, ye;
3582
- switch (m(!1), O(""), te) {
3582
+ switch (m(!1), O(""), re) {
3583
3583
  case "self":
3584
- _(0), s(W), (ce = E.current) == null || ce.focus(), W !== (i == null ? void 0 : i.pathname) && u([]), n.current.getElementsByClassName(
3584
+ _(0), s(H), (ce = R.current) == null || ce.focus(), H !== (i == null ? void 0 : i.pathname) && u([]), n.current.getElementsByClassName(
3585
3585
  "qikbar-list"
3586
- )[0].scrollTo(0, 0), f((ve) => [...ve, { title: A, to: W }]);
3586
+ )[0].scrollTo(0, 0), f((ve) => [...ve, { title: M, to: H }]);
3587
3587
  break;
3588
3588
  case "internal":
3589
- s(""), w(!1), f([]), u([]), j != null && j.router ? (ye = j == null ? void 0 : j.router) == null || ye.call(j, W) : window.location = W;
3589
+ s(""), w(!1), f([]), u([]), j != null && j.router ? (ye = j == null ? void 0 : j.router) == null || ye.call(j, H) : window.location = H;
3590
3590
  break;
3591
3591
  case "external":
3592
- s(""), w(!1), f([]), u([]), window.open(W, "_blank");
3592
+ s(""), w(!1), f([]), u([]), window.open(H, "_blank");
3593
3593
  break;
3594
3594
  default:
3595
- s(W), f((ve) => [...ve, { title: A, to: W }]);
3595
+ s(H), f((ve) => [...ve, { title: M, to: H }]);
3596
3596
  }
3597
3597
  }
3598
3598
  },
@@ -3605,7 +3605,7 @@ function _s({
3605
3605
  /* @__PURE__ */ y.jsx(
3606
3606
  bl,
3607
3607
  {
3608
- enabledAdminEdit: B,
3608
+ enabledAdminEdit: F,
3609
3609
  showAdminEdit: a,
3610
3610
  setShowAdminEdit: l
3611
3611
  }
@@ -4071,13 +4071,13 @@ function Rn({
4071
4071
  tag: o
4072
4072
  }
4073
4073
  }) {
4074
- const { setIsOpen: u, setCrumbs: c, setActions: f, demo: d } = Et(ut), m = Ee();
4074
+ const { setIsOpen: u, setCrumbs: c, setActions: f, demo: d } = Rt(ut), m = Ee();
4075
4075
  if (l)
4076
4076
  return null;
4077
4077
  const v = i ? "a" : qr, w = (k) => {
4078
4078
  var C;
4079
4079
  m != null && m.router && ((C = m == null ? void 0 : m.router) == null || C.call(m, i), !d && u(!1), k.preventDefault());
4080
- }, R = r || (s == null ? void 0 : s.path) || "/", O = i ? {
4080
+ }, E = r || (s == null ? void 0 : s.path) || "/", O = i ? {
4081
4081
  ...yu(i) ? {
4082
4082
  rel: "noopener",
4083
4083
  target: "_blank",
@@ -4085,9 +4085,9 @@ function Rn({
4085
4085
  onClick: () => !d && u(!1)
4086
4086
  } : { href: i, onClick: w }
4087
4087
  } : {
4088
- to: R,
4088
+ to: E,
4089
4089
  onClick: () => {
4090
- f([]), c((k) => [...k, { title: e, to: R }]);
4090
+ f([]), c((k) => [...k, { title: e, to: E }]);
4091
4091
  }
4092
4092
  };
4093
4093
  return /* @__PURE__ */ y.jsxs(
@@ -4111,7 +4111,7 @@ function Rn({
4111
4111
  );
4112
4112
  }
4113
4113
  function kr({ placeholder: t }) {
4114
- const { setPlaceholder: e } = Et(ut);
4114
+ const { setPlaceholder: e } = Rt(ut);
4115
4115
  return Ge(() => {
4116
4116
  e(t);
4117
4117
  }, [e, t]), null;
@@ -4136,7 +4136,7 @@ function Ls({
4136
4136
  placeholderText: e
4137
4137
  }) {
4138
4138
  var c;
4139
- const { activeIndex: r, search: n, setActions: i, navigateTo: s } = Et(ut), a = t.map((f) => ({
4139
+ const { activeIndex: r, search: n, setActions: i, navigateTo: s } = Rt(ut), a = t.map((f) => ({
4140
4140
  ...f,
4141
4141
  children: f.commands.filter(
4142
4142
  (d) => d.title.toLowerCase().includes(n.toLowerCase())
@@ -4239,7 +4239,7 @@ function Si(t, e) {
4239
4239
  if (!e.options.mutationKey)
4240
4240
  return !1;
4241
4241
  if (r) {
4242
- if (mt(e.options.mutationKey) !== mt(s))
4242
+ if (gt(e.options.mutationKey) !== gt(s))
4243
4243
  return !1;
4244
4244
  } else if (!It(e.options.mutationKey, s))
4245
4245
  return !1;
@@ -4247,9 +4247,9 @@ function Si(t, e) {
4247
4247
  return !(typeof n == "boolean" && e.state.status === "loading" !== n || i && !i(e));
4248
4248
  }
4249
4249
  function Sn(t, e) {
4250
- return ((e == null ? void 0 : e.queryKeyHashFn) || mt)(t);
4250
+ return ((e == null ? void 0 : e.queryKeyHashFn) || gt)(t);
4251
4251
  }
4252
- function mt(t) {
4252
+ function gt(t) {
4253
4253
  return JSON.stringify(t, (e, r) => mn(r) ? Object.keys(r).sort().reduce((n, i) => (n[i] = r[i], n), {}) : r);
4254
4254
  }
4255
4255
  function It(t, e) {
@@ -4408,39 +4408,39 @@ function Rr(t) {
4408
4408
  }
4409
4409
  function Fs(t) {
4410
4410
  let e = !1, r = 0, n = !1, i, s, a;
4411
- const l = new Promise((R, O) => {
4412
- s = R, a = O;
4413
- }), o = (R) => {
4414
- n || (m(new As(R)), t.abort == null || t.abort());
4411
+ const l = new Promise((E, O) => {
4412
+ s = E, a = O;
4413
+ }), o = (E) => {
4414
+ n || (m(new As(E)), t.abort == null || t.abort());
4415
4415
  }, u = () => {
4416
4416
  e = !0;
4417
4417
  }, c = () => {
4418
4418
  e = !1;
4419
- }, f = () => !Dr.isFocused() || t.networkMode !== "always" && !Lr.isOnline(), d = (R) => {
4420
- n || (n = !0, t.onSuccess == null || t.onSuccess(R), i == null || i(), s(R));
4421
- }, m = (R) => {
4422
- n || (n = !0, t.onError == null || t.onError(R), i == null || i(), a(R));
4423
- }, v = () => new Promise((R) => {
4419
+ }, f = () => !Dr.isFocused() || t.networkMode !== "always" && !Lr.isOnline(), d = (E) => {
4420
+ n || (n = !0, t.onSuccess == null || t.onSuccess(E), i == null || i(), s(E));
4421
+ }, m = (E) => {
4422
+ n || (n = !0, t.onError == null || t.onError(E), i == null || i(), a(E));
4423
+ }, v = () => new Promise((E) => {
4424
4424
  i = (O) => {
4425
4425
  if (n || !f())
4426
- return R(O);
4426
+ return E(O);
4427
4427
  }, t.onPause == null || t.onPause();
4428
4428
  }).then(() => {
4429
4429
  i = void 0, n || t.onContinue == null || t.onContinue();
4430
4430
  }), w = () => {
4431
4431
  if (n)
4432
4432
  return;
4433
- let R;
4433
+ let E;
4434
4434
  try {
4435
- R = t.fn();
4435
+ E = t.fn();
4436
4436
  } catch (O) {
4437
- R = Promise.reject(O);
4437
+ E = Promise.reject(O);
4438
4438
  }
4439
- Promise.resolve(R).then(d).catch((O) => {
4439
+ Promise.resolve(E).then(d).catch((O) => {
4440
4440
  var k, C;
4441
4441
  if (n)
4442
4442
  return;
4443
- const E = (k = t.retry) != null ? k : 3, M = (C = t.retryDelay) != null ? C : Eu, _ = typeof M == "function" ? M(r, O) : M, j = E === !0 || typeof E == "number" && r < E || typeof E == "function" && E(r, O);
4443
+ const R = (k = t.retry) != null ? k : 3, A = (C = t.retryDelay) != null ? C : Eu, _ = typeof A == "function" ? A(r, O) : A, j = R === !0 || typeof R == "number" && r < R || typeof R == "function" && R(r, O);
4444
4444
  if (e || !j) {
4445
4445
  m(O);
4446
4446
  return;
@@ -4926,11 +4926,11 @@ class _u extends qs {
4926
4926
  var C;
4927
4927
  return this.retryer = Fs({
4928
4928
  fn: () => this.options.mutationFn ? this.options.mutationFn(this.state.variables) : Promise.reject("No mutationFn found"),
4929
- onFail: (E, M) => {
4929
+ onFail: (R, A) => {
4930
4930
  this.dispatch({
4931
4931
  type: "failed",
4932
- failureCount: E,
4933
- error: M
4932
+ failureCount: R,
4933
+ error: A
4934
4934
  });
4935
4935
  },
4936
4936
  onPause: () => {
@@ -4956,10 +4956,10 @@ class _u extends qs {
4956
4956
  type: "loading",
4957
4957
  variables: this.options.variables
4958
4958
  }), await ((u = (c = this.mutationCache.config).onMutate) == null ? void 0 : u.call(c, this.state.variables, this));
4959
- const E = await ((f = (d = this.options).onMutate) == null ? void 0 : f.call(d, this.state.variables));
4960
- E !== this.state.context && this.dispatch({
4959
+ const R = await ((f = (d = this.options).onMutate) == null ? void 0 : f.call(d, this.state.variables));
4960
+ R !== this.state.context && this.dispatch({
4961
4961
  type: "loading",
4962
- context: E,
4962
+ context: R,
4963
4963
  variables: this.state.variables
4964
4964
  });
4965
4965
  }
@@ -4970,8 +4970,8 @@ class _u extends qs {
4970
4970
  }), C;
4971
4971
  } catch (C) {
4972
4972
  try {
4973
- var m, v, w, R, O, k;
4974
- throw await ((m = (v = this.mutationCache.config).onError) == null ? void 0 : m.call(v, C, this.state.variables, this.state.context, this)), process.env.NODE_ENV !== "production" && this.logger.error(C), await ((w = (R = this.options).onError) == null ? void 0 : w.call(R, C, this.state.variables, this.state.context)), await ((O = (k = this.options).onSettled) == null ? void 0 : O.call(k, void 0, C, this.state.variables, this.state.context)), C;
4973
+ var m, v, w, E, O, k;
4974
+ throw await ((m = (v = this.mutationCache.config).onError) == null ? void 0 : m.call(v, C, this.state.variables, this.state.context, this)), process.env.NODE_ENV !== "production" && this.logger.error(C), await ((w = (E = this.options).onError) == null ? void 0 : w.call(E, C, this.state.variables, this.state.context)), await ((O = (k = this.options).onSettled) == null ? void 0 : O.call(k, void 0, C, this.state.variables, this.state.context)), C;
4975
4975
  } finally {
4976
4976
  this.dispatch({
4977
4977
  type: "error",
@@ -5123,7 +5123,7 @@ function Du() {
5123
5123
  var e, r, n, i, s, a;
5124
5124
  const l = (e = t.fetchOptions) == null || (r = e.meta) == null ? void 0 : r.refetchPage, o = (n = t.fetchOptions) == null || (i = n.meta) == null ? void 0 : i.fetchMore, u = o == null ? void 0 : o.pageParam, c = (o == null ? void 0 : o.direction) === "forward", f = (o == null ? void 0 : o.direction) === "backward", d = ((s = t.state.data) == null ? void 0 : s.pages) || [], m = ((a = t.state.data) == null ? void 0 : a.pageParams) || [];
5125
5125
  let v = m, w = !1;
5126
- const R = (_) => {
5126
+ const E = (_) => {
5127
5127
  Object.defineProperty(_, "signal", {
5128
5128
  enumerable: !0,
5129
5129
  get: () => {
@@ -5131,51 +5131,51 @@ function Du() {
5131
5131
  if ((j = t.signal) != null && j.aborted)
5132
5132
  w = !0;
5133
5133
  else {
5134
- var P;
5135
- (P = t.signal) == null || P.addEventListener("abort", () => {
5134
+ var N;
5135
+ (N = t.signal) == null || N.addEventListener("abort", () => {
5136
5136
  w = !0;
5137
5137
  });
5138
5138
  }
5139
5139
  return t.signal;
5140
5140
  }
5141
5141
  });
5142
- }, O = t.options.queryFn || (() => Promise.reject("Missing queryFn")), k = (_, j, P, B) => (v = B ? [j, ...v] : [...v, j], B ? [P, ..._] : [..._, P]), C = (_, j, P, B) => {
5142
+ }, O = t.options.queryFn || (() => Promise.reject("Missing queryFn")), k = (_, j, N, F) => (v = F ? [j, ...v] : [...v, j], F ? [N, ..._] : [..._, N]), C = (_, j, N, F) => {
5143
5143
  if (w)
5144
5144
  return Promise.reject("Cancelled");
5145
- if (typeof P > "u" && !j && _.length)
5145
+ if (typeof N > "u" && !j && _.length)
5146
5146
  return Promise.resolve(_);
5147
- const ne = {
5147
+ const J = {
5148
5148
  queryKey: t.queryKey,
5149
- pageParam: P,
5149
+ pageParam: N,
5150
5150
  meta: t.options.meta
5151
5151
  };
5152
- R(ne);
5153
- const W = O(ne);
5154
- return Promise.resolve(W).then((te) => k(_, P, te, B));
5152
+ E(J);
5153
+ const H = O(J);
5154
+ return Promise.resolve(H).then((re) => k(_, N, re, F));
5155
5155
  };
5156
- let E;
5156
+ let R;
5157
5157
  if (!d.length)
5158
- E = C([]);
5158
+ R = C([]);
5159
5159
  else if (c) {
5160
5160
  const _ = typeof u < "u", j = _ ? u : ki(t.options, d);
5161
- E = C(d, _, j);
5161
+ R = C(d, _, j);
5162
5162
  } else if (f) {
5163
5163
  const _ = typeof u < "u", j = _ ? u : Lu(t.options, d);
5164
- E = C(d, _, j, !0);
5164
+ R = C(d, _, j, !0);
5165
5165
  } else {
5166
5166
  v = [];
5167
5167
  const _ = typeof t.options.getNextPageParam > "u";
5168
- E = (l && d[0] ? l(d[0], 0, d) : !0) ? C([], _, m[0]) : Promise.resolve(k([], m[0], d[0]));
5169
- for (let P = 1; P < d.length; P++)
5170
- E = E.then((B) => {
5171
- if (l && d[P] ? l(d[P], P, d) : !0) {
5172
- const W = _ ? m[P] : ki(t.options, B);
5173
- return C(B, _, W);
5168
+ R = (l && d[0] ? l(d[0], 0, d) : !0) ? C([], _, m[0]) : Promise.resolve(k([], m[0], d[0]));
5169
+ for (let N = 1; N < d.length; N++)
5170
+ R = R.then((F) => {
5171
+ if (l && d[N] ? l(d[N], N, d) : !0) {
5172
+ const H = _ ? m[N] : ki(t.options, F);
5173
+ return C(F, _, H);
5174
5174
  }
5175
- return Promise.resolve(k(B, m[P], d[P]));
5175
+ return Promise.resolve(k(F, m[N], d[N]));
5176
5176
  });
5177
5177
  }
5178
- return E.then((_) => ({
5178
+ return R.then((_) => ({
5179
5179
  pages: _,
5180
5180
  pageParams: v
5181
5181
  }));
@@ -5337,7 +5337,7 @@ class Pu {
5337
5337
  this.defaultOptions = e;
5338
5338
  }
5339
5339
  setQueryDefaults(e, r) {
5340
- const n = this.queryDefaults.find((i) => mt(e) === mt(i.queryKey));
5340
+ const n = this.queryDefaults.find((i) => gt(e) === gt(i.queryKey));
5341
5341
  n ? n.defaultOptions = r : this.queryDefaults.push({
5342
5342
  queryKey: e,
5343
5343
  defaultOptions: r
@@ -5350,7 +5350,7 @@ class Pu {
5350
5350
  return process.env.NODE_ENV !== "production" && this.queryDefaults.filter((i) => It(e, i.queryKey)).length > 1 && this.logger.error("[QueryClient] Several query defaults match with key '" + JSON.stringify(e) + "'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults."), r == null ? void 0 : r.defaultOptions;
5351
5351
  }
5352
5352
  setMutationDefaults(e, r) {
5353
- const n = this.mutationDefaults.find((i) => mt(e) === mt(i.mutationKey));
5353
+ const n = this.mutationDefaults.find((i) => gt(e) === gt(i.mutationKey));
5354
5354
  n ? n.defaultOptions = r : this.mutationDefaults.push({
5355
5355
  mutationKey: e,
5356
5356
  defaultOptions: r
@@ -5506,46 +5506,46 @@ class Nu extends cr {
5506
5506
  error: m,
5507
5507
  errorUpdatedAt: v,
5508
5508
  fetchStatus: w,
5509
- status: R
5509
+ status: E
5510
5510
  } = f, O = !1, k = !1, C;
5511
5511
  if (r._optimisticResults) {
5512
- const P = this.hasListeners(), B = !P && Di(e, r), ne = P && Li(e, n, r, i);
5513
- (B || ne) && (w = Vr(e.options.networkMode) ? "fetching" : "paused", d || (R = "loading")), r._optimisticResults === "isRestoring" && (w = "idle");
5512
+ const N = this.hasListeners(), F = !N && Di(e, r), J = N && Li(e, n, r, i);
5513
+ (F || J) && (w = Vr(e.options.networkMode) ? "fetching" : "paused", d || (E = "loading")), r._optimisticResults === "isRestoring" && (w = "idle");
5514
5514
  }
5515
- if (r.keepPreviousData && !f.dataUpdatedAt && c != null && c.isSuccess && R !== "error")
5516
- C = c.data, d = c.dataUpdatedAt, R = c.status, O = !0;
5515
+ if (r.keepPreviousData && !f.dataUpdatedAt && c != null && c.isSuccess && E !== "error")
5516
+ C = c.data, d = c.dataUpdatedAt, E = c.status, O = !0;
5517
5517
  else if (r.select && typeof f.data < "u")
5518
5518
  if (s && f.data === (a == null ? void 0 : a.data) && r.select === this.selectFn)
5519
5519
  C = this.selectResult;
5520
5520
  else
5521
5521
  try {
5522
5522
  this.selectFn = r.select, C = r.select(f.data), C = gn(s == null ? void 0 : s.data, C, r), this.selectResult = C, this.selectError = null;
5523
- } catch (P) {
5524
- process.env.NODE_ENV !== "production" && this.client.getLogger().error(P), this.selectError = P;
5523
+ } catch (N) {
5524
+ process.env.NODE_ENV !== "production" && this.client.getLogger().error(N), this.selectError = N;
5525
5525
  }
5526
5526
  else
5527
5527
  C = f.data;
5528
- if (typeof r.placeholderData < "u" && typeof C > "u" && R === "loading") {
5529
- let P;
5528
+ if (typeof r.placeholderData < "u" && typeof C > "u" && E === "loading") {
5529
+ let N;
5530
5530
  if (s != null && s.isPlaceholderData && r.placeholderData === (l == null ? void 0 : l.placeholderData))
5531
- P = s.data;
5532
- else if (P = typeof r.placeholderData == "function" ? r.placeholderData() : r.placeholderData, r.select && typeof P < "u")
5531
+ N = s.data;
5532
+ else if (N = typeof r.placeholderData == "function" ? r.placeholderData() : r.placeholderData, r.select && typeof N < "u")
5533
5533
  try {
5534
- P = r.select(P), this.selectError = null;
5535
- } catch (B) {
5536
- process.env.NODE_ENV !== "production" && this.client.getLogger().error(B), this.selectError = B;
5534
+ N = r.select(N), this.selectError = null;
5535
+ } catch (F) {
5536
+ process.env.NODE_ENV !== "production" && this.client.getLogger().error(F), this.selectError = F;
5537
5537
  }
5538
- typeof P < "u" && (R = "success", C = gn(s == null ? void 0 : s.data, P, r), k = !0);
5538
+ typeof N < "u" && (E = "success", C = gn(s == null ? void 0 : s.data, N, r), k = !0);
5539
5539
  }
5540
- this.selectError && (m = this.selectError, C = this.selectResult, v = Date.now(), R = "error");
5541
- const E = w === "fetching", M = R === "loading", _ = R === "error";
5540
+ this.selectError && (m = this.selectError, C = this.selectResult, v = Date.now(), E = "error");
5541
+ const R = w === "fetching", A = E === "loading", _ = E === "error";
5542
5542
  return {
5543
- status: R,
5543
+ status: E,
5544
5544
  fetchStatus: w,
5545
- isLoading: M,
5546
- isSuccess: R === "success",
5545
+ isLoading: A,
5546
+ isSuccess: E === "success",
5547
5547
  isError: _,
5548
- isInitialLoading: M && E,
5548
+ isInitialLoading: A && R,
5549
5549
  data: C,
5550
5550
  dataUpdatedAt: d,
5551
5551
  error: m,
@@ -5555,8 +5555,8 @@ class Nu extends cr {
5555
5555
  errorUpdateCount: f.errorUpdateCount,
5556
5556
  isFetched: f.dataUpdateCount > 0 || f.errorUpdateCount > 0,
5557
5557
  isFetchedAfterMount: f.dataUpdateCount > u.dataUpdateCount || f.errorUpdateCount > u.errorUpdateCount,
5558
- isFetching: E,
5559
- isRefetching: E && !M,
5558
+ isFetching: R,
5559
+ isRefetching: R && !A,
5560
5560
  isLoadingError: _ && f.dataUpdatedAt === 0,
5561
5561
  isPaused: w === "paused",
5562
5562
  isPlaceholderData: k,
@@ -5766,7 +5766,7 @@ var pc = Array.prototype, mc = Function.prototype, Qs = Object.prototype, on = _
5766
5766
  }(), zs = mc.toString, Tn = Qs.hasOwnProperty, Ws = Qs.toString, gc = RegExp(
5767
5767
  "^" + zs.call(Tn).replace(oc, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
5768
5768
  ), ji = _n.Symbol, yc = pc.splice, vc = Ks(_n, "Map"), sr = Ks(Object, "create"), Mi = ji ? ji.prototype : void 0, Ai = Mi ? Mi.toString : void 0;
5769
- function bt(t) {
5769
+ function wt(t) {
5770
5770
  var e = -1, r = t ? t.length : 0;
5771
5771
  for (this.clear(); ++e < r; ) {
5772
5772
  var n = t[e];
@@ -5795,11 +5795,11 @@ function Rc(t, e) {
5795
5795
  var r = this.__data__;
5796
5796
  return r[t] = sr && e === void 0 ? Bs : e, this;
5797
5797
  }
5798
- bt.prototype.clear = bc;
5799
- bt.prototype.delete = wc;
5800
- bt.prototype.get = Cc;
5801
- bt.prototype.has = Ec;
5802
- bt.prototype.set = Rc;
5798
+ wt.prototype.clear = bc;
5799
+ wt.prototype.delete = wc;
5800
+ wt.prototype.get = Cc;
5801
+ wt.prototype.has = Ec;
5802
+ wt.prototype.set = Rc;
5803
5803
  function Ut(t) {
5804
5804
  var e = -1, r = t ? t.length : 0;
5805
5805
  for (this.clear(); ++e < r; ) {
@@ -5833,7 +5833,7 @@ Ut.prototype.delete = xc;
5833
5833
  Ut.prototype.get = Oc;
5834
5834
  Ut.prototype.has = _c;
5835
5835
  Ut.prototype.set = Tc;
5836
- function xt(t) {
5836
+ function Ot(t) {
5837
5837
  var e = -1, r = t ? t.length : 0;
5838
5838
  for (this.clear(); ++e < r; ) {
5839
5839
  var n = t[e];
@@ -5842,9 +5842,9 @@ function xt(t) {
5842
5842
  }
5843
5843
  function kc() {
5844
5844
  this.__data__ = {
5845
- hash: new bt(),
5845
+ hash: new wt(),
5846
5846
  map: new (vc || Ut)(),
5847
- string: new bt()
5847
+ string: new wt()
5848
5848
  };
5849
5849
  }
5850
5850
  function Dc(t) {
@@ -5859,11 +5859,11 @@ function Pc(t) {
5859
5859
  function Nc(t, e) {
5860
5860
  return $r(this, t).set(t, e), this;
5861
5861
  }
5862
- xt.prototype.clear = kc;
5863
- xt.prototype.delete = Dc;
5864
- xt.prototype.get = Lc;
5865
- xt.prototype.has = Pc;
5866
- xt.prototype.set = Nc;
5862
+ Ot.prototype.clear = kc;
5863
+ Ot.prototype.delete = Dc;
5864
+ Ot.prototype.get = Lc;
5865
+ Ot.prototype.has = Pc;
5866
+ Ot.prototype.set = Nc;
5867
5867
  function Ur(t, e) {
5868
5868
  for (var r = t.length; r--; )
5869
5869
  if (Hc(t[r][0], e))
@@ -5950,9 +5950,9 @@ function kn(t, e) {
5950
5950
  var a = t.apply(this, n);
5951
5951
  return r.cache = s.set(i, a), a;
5952
5952
  };
5953
- return r.cache = new (kn.Cache || xt)(), r;
5953
+ return r.cache = new (kn.Cache || Ot)(), r;
5954
5954
  }
5955
- kn.Cache = xt;
5955
+ kn.Cache = Ot;
5956
5956
  function Hc(t, e) {
5957
5957
  return t === e || t !== t && e !== e;
5958
5958
  }
@@ -5997,7 +5997,7 @@ class je {
5997
5997
  return this.end - this.begin;
5998
5998
  }
5999
5999
  }
6000
- class Ot {
6000
+ class _t {
6001
6001
  liquidMethodMissing(e) {
6002
6002
  }
6003
6003
  }
@@ -6017,11 +6017,11 @@ function Pr(t) {
6017
6017
  function Jc(t) {
6018
6018
  return t.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
6019
6019
  }
6020
- function U(t) {
6021
- return t = $(t), Xe(t) ? t : et(t) ? "" : Re(t) ? t.map((e) => U(e)).join("") : String(t);
6022
- }
6023
6020
  function $(t) {
6024
- return t instanceof Ot && we(t.valueOf) ? t.valueOf() : t;
6021
+ return t = B(t), Xe(t) ? t : et(t) ? "" : Re(t) ? t.map((e) => $(e)).join("") : String(t);
6022
+ }
6023
+ function B(t) {
6024
+ return t instanceof _t && we(t.valueOf) ? t.valueOf() : t;
6025
6025
  }
6026
6026
  function Br(t) {
6027
6027
  return typeof t == "number";
@@ -6084,7 +6084,7 @@ function Ii(t, e) {
6084
6084
  return t == null && e == null ? 0 : t == null ? 1 : e == null || (t = Fi.call(t), e = Fi.call(e), t < e) ? -1 : t > e ? 1 : 0;
6085
6085
  }
6086
6086
  function _e(t) {
6087
- return (...e) => t(...e.map($));
6087
+ return (...e) => t(...e.map(B));
6088
6088
  }
6089
6089
  function Nn(t) {
6090
6090
  return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
@@ -6148,17 +6148,17 @@ function ld(t, e) {
6148
6148
  const [r, n] = e.getPosition();
6149
6149
  return t += `, line:${r}, col:${n}`, t;
6150
6150
  }
6151
- const X = [0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 4, 4, 4, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 2, 8, 0, 0, 0, 0, 8, 0, 0, 0, 64, 0, 65, 0, 0, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 0, 0, 2, 2, 2, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], Mn = 1, Qr = 4, Ui = 8, ra = 16, ud = 32, cd = 64;
6152
- X[160] = X[5760] = X[6158] = X[8192] = X[8193] = X[8194] = X[8195] = X[8196] = X[8197] = X[8198] = X[8199] = X[8200] = X[8201] = X[8202] = X[8232] = X[8233] = X[8239] = X[8287] = X[12288] = Qr;
6151
+ const ee = [0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 4, 4, 4, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 2, 8, 0, 0, 0, 0, 8, 0, 0, 0, 64, 0, 65, 0, 0, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 0, 0, 2, 2, 2, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], Mn = 1, Qr = 4, Ui = 8, ra = 16, ud = 32, cd = 64;
6152
+ ee[160] = ee[5760] = ee[6158] = ee[8192] = ee[8193] = ee[8194] = ee[8195] = ee[8196] = ee[8197] = ee[8198] = ee[8199] = ee[8200] = ee[8201] = ee[8202] = ee[8232] = ee[8233] = ee[8239] = ee[8287] = ee[12288] = Qr;
6153
6153
  function pe(t, e) {
6154
6154
  if (!t) {
6155
6155
  const r = typeof e == "function" ? e() : e || `expect ${t} to be true`;
6156
6156
  throw new ad(r);
6157
6157
  }
6158
6158
  }
6159
- class dd extends Ot {
6159
+ class dd extends _t {
6160
6160
  equals(e) {
6161
- return et($(e));
6161
+ return et(B(e));
6162
6162
  }
6163
6163
  gt() {
6164
6164
  return !1;
@@ -6176,9 +6176,9 @@ class dd extends Ot {
6176
6176
  return null;
6177
6177
  }
6178
6178
  }
6179
- class zr extends Ot {
6179
+ class zr extends _t {
6180
6180
  equals(e) {
6181
- return e instanceof zr ? !1 : (e = $(e), Xe(e) || Re(e) ? e.length === 0 : Pn(e) ? Object.keys(e).length === 0 : !1);
6181
+ return e instanceof zr ? !1 : (e = B(e), Xe(e) || Re(e) ? e.length === 0 : Pn(e) ? Object.keys(e).length === 0 : !1);
6182
6182
  }
6183
6183
  gt() {
6184
6184
  return !1;
@@ -6198,10 +6198,10 @@ class zr extends Ot {
6198
6198
  }
6199
6199
  class hd extends zr {
6200
6200
  equals(e) {
6201
- return e === !1 || et($(e)) ? !0 : Xe(e) ? /^\s*$/.test(e) : super.equals(e);
6201
+ return e === !1 || et(B(e)) ? !0 : Xe(e) ? /^\s*$/.test(e) : super.equals(e);
6202
6202
  }
6203
6203
  }
6204
- class An extends Ot {
6204
+ class An extends _t {
6205
6205
  constructor(e, r, n) {
6206
6206
  super(), this.i = 0, this.length = e, this.name = `${n}-${r}`;
6207
6207
  }
@@ -6230,7 +6230,7 @@ class An extends Ot {
6230
6230
  return JSON.stringify(this);
6231
6231
  }
6232
6232
  }
6233
- class $i extends Ot {
6233
+ class $i extends _t {
6234
6234
  constructor(e = () => "") {
6235
6235
  super(), this.superBlockRender = e;
6236
6236
  }
@@ -6259,7 +6259,7 @@ function fd(t) {
6259
6259
  let i = e;
6260
6260
  for (let s = 0; s < r.length; s++) {
6261
6261
  const a = r[s];
6262
- i[a] = i[a] || {}, s === r.length - 1 && X[r.charCodeAt(s)] & Mn && (i[a].needBoundary = !0), i = i[a];
6262
+ i[a] = i[a] || {}, s === r.length - 1 && ee[r.charCodeAt(s)] & Mn && (i[a].needBoundary = !0), i = i[a];
6263
6263
  }
6264
6264
  i.handler = n, i.end = !0;
6265
6265
  }
@@ -6349,7 +6349,7 @@ function ot(t) {
6349
6349
  return e;
6350
6350
  }
6351
6351
  function Fn(t) {
6352
- return t = $(t), Re(t) ? t : Xe(t) && t.length > 0 ? [t] : Xc(t) ? Array.from(t) : Pn(t) ? Object.keys(t).map((e) => [e, t[e]]) : [];
6352
+ return t = B(t), Re(t) ? t : Xe(t) && t.length > 0 ? [t] : Xc(t) ? Array.from(t) : Pn(t) ? Object.keys(t).map((e) => [e, t[e]]) : [];
6353
6353
  }
6354
6354
  function Ze(t) {
6355
6355
  return et(t) ? [] : Re(t) ? t : [t];
@@ -6574,7 +6574,7 @@ class qn extends je {
6574
6574
  class zi extends qn {
6575
6575
  constructor(e, r, n, i, s) {
6576
6576
  const { trimTagLeft: a, trimTagRight: l, tagDelimiterLeft: o, tagDelimiterRight: u } = i, c = e.slice(r + o.length, n - u.length);
6577
- super(ee.Tag, c, e, r, n, a, l, s);
6577
+ super(te.Tag, c, e, r, n, a, l, s);
6578
6578
  const f = new me(this.content, i.operators);
6579
6579
  if (this.name = f.readTagName(), !this.name)
6580
6580
  throw new jn("illegal tag syntax", this);
@@ -6584,12 +6584,12 @@ class zi extends qn {
6584
6584
  class Td extends qn {
6585
6585
  constructor(e, r, n, i, s) {
6586
6586
  const { trimOutputLeft: a, trimOutputRight: l, outputDelimiterLeft: o, outputDelimiterRight: u } = i, c = e.slice(r + o.length, n - u.length);
6587
- super(ee.Output, c, e, r, n, a, l, s);
6587
+ super(te.Output, c, e, r, n, a, l, s);
6588
6588
  }
6589
6589
  }
6590
6590
  class Wi extends je {
6591
6591
  constructor(e, r, n, i) {
6592
- super(ee.HTML, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i, this.trimLeft = 0, this.trimRight = 0;
6592
+ super(te.HTML, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i, this.trimLeft = 0, this.trimRight = 0;
6593
6593
  }
6594
6594
  getContent() {
6595
6595
  return this.input.slice(this.begin + this.trimLeft, this.end - this.trimRight);
@@ -6597,24 +6597,24 @@ class Wi extends je {
6597
6597
  }
6598
6598
  class kd extends je {
6599
6599
  constructor(e, r) {
6600
- super(ee.Number, e.input, e.begin, r ? r.end : e.end, e.file), this.whole = e, this.decimal = r;
6600
+ super(te.Number, e.input, e.begin, r ? r.end : e.end, e.file), this.whole = e, this.decimal = r;
6601
6601
  }
6602
6602
  }
6603
6603
  class Sr extends je {
6604
6604
  constructor(e, r, n, i) {
6605
- super(ee.Word, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i, this.content = this.getText();
6605
+ super(te.Word, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i, this.content = this.getText();
6606
6606
  }
6607
6607
  isNumber(e = !1) {
6608
- const r = e && X[this.input.charCodeAt(this.begin)] & cd ? this.begin + 1 : this.begin;
6608
+ const r = e && ee[this.input.charCodeAt(this.begin)] & cd ? this.begin + 1 : this.begin;
6609
6609
  for (let n = r; n < this.end; n++)
6610
- if (!(X[this.input.charCodeAt(n)] & ud))
6610
+ if (!(ee[this.input.charCodeAt(n)] & ud))
6611
6611
  return !1;
6612
6612
  return !0;
6613
6613
  }
6614
6614
  }
6615
6615
  class Dd extends je {
6616
6616
  constructor(e, r, n, i) {
6617
- super(ee.Literal, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i, this.literal = this.getText();
6617
+ super(te.Literal, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i, this.literal = this.getText();
6618
6618
  }
6619
6619
  }
6620
6620
  const Ki = {
@@ -6643,7 +6643,7 @@ const Ki = {
6643
6643
  };
6644
6644
  class Pd extends je {
6645
6645
  constructor(e, r, n, i) {
6646
- super(ee.Operator, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i, this.operator = this.getText();
6646
+ super(te.Operator, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i, this.operator = this.getText();
6647
6647
  }
6648
6648
  getPrecedence() {
6649
6649
  const e = this.getText();
@@ -6652,33 +6652,33 @@ class Pd extends je {
6652
6652
  }
6653
6653
  class Yi extends je {
6654
6654
  constructor(e, r, n) {
6655
- super(ee.PropertyAccess, e.input, e.begin, n, e.file), this.variable = e, this.props = r, this.propertyName = this.variable instanceof Sr ? this.variable.getText() : da(this.variable.getText());
6655
+ super(te.PropertyAccess, e.input, e.begin, n, e.file), this.variable = e, this.props = r, this.propertyName = this.variable instanceof Sr ? this.variable.getText() : da(this.variable.getText());
6656
6656
  }
6657
6657
  }
6658
6658
  class Nd extends je {
6659
6659
  constructor(e, r, n, i, s, a) {
6660
- super(ee.Filter, n, i, s, a), this.name = e, this.args = r;
6660
+ super(te.Filter, n, i, s, a), this.name = e, this.args = r;
6661
6661
  }
6662
6662
  }
6663
6663
  class jd extends je {
6664
6664
  constructor(e, r, n, i, s, a) {
6665
- super(ee.Hash, e, r, n, a), this.input = e, this.begin = r, this.end = n, this.name = i, this.value = s, this.file = a;
6665
+ super(te.Hash, e, r, n, a), this.input = e, this.begin = r, this.end = n, this.name = i, this.value = s, this.file = a;
6666
6666
  }
6667
6667
  }
6668
6668
  class Md extends je {
6669
6669
  constructor(e, r, n, i) {
6670
- super(ee.Quoted, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i;
6670
+ super(te.Quoted, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i;
6671
6671
  }
6672
6672
  }
6673
6673
  class Ad extends je {
6674
6674
  constructor(e, r, n, i, s, a) {
6675
- super(ee.Range, e, r, n, a), this.input = e, this.begin = r, this.end = n, this.lhs = i, this.rhs = s, this.file = a;
6675
+ super(te.Range, e, r, n, a), this.input = e, this.begin = r, this.end = n, this.lhs = i, this.rhs = s, this.file = a;
6676
6676
  }
6677
6677
  }
6678
6678
  class Fd extends qn {
6679
6679
  constructor(e, r, n, i, s) {
6680
6680
  const a = e.slice(r, n);
6681
- if (super(ee.Tag, a, e, r, n, !1, !1, s), !/\S/.test(a))
6681
+ if (super(te.Tag, a, e, r, n, !1, !1, s), !/\S/.test(a))
6682
6682
  this.name = "", this.args = "";
6683
6683
  else {
6684
6684
  const l = new me(this.content, i.operators);
@@ -6693,7 +6693,7 @@ class qd {
6693
6693
  this.buffer = "";
6694
6694
  }
6695
6695
  write(e) {
6696
- this.buffer += U(e);
6696
+ this.buffer += $(e);
6697
6697
  }
6698
6698
  }
6699
6699
  class Id {
@@ -6706,7 +6706,7 @@ class Vd {
6706
6706
  this.buffer = "";
6707
6707
  }
6708
6708
  write(e) {
6709
- e = $(e), typeof e != "string" && this.buffer === "" ? this.buffer = e : this.buffer = U(this.buffer) + U(e);
6709
+ e = B(e), typeof e != "string" && this.buffer === "" ? this.buffer = e : this.buffer = $(this.buffer) + $(e);
6710
6710
  }
6711
6711
  }
6712
6712
  class Ud {
@@ -6802,23 +6802,23 @@ function* Wd(t) {
6802
6802
  for (; e.length; )
6803
6803
  yield e.pop();
6804
6804
  }
6805
- function gt(t, e) {
6805
+ function yt(t, e) {
6806
6806
  return !Wr(t, e);
6807
6807
  }
6808
6808
  function Wr(t, e) {
6809
6809
  return e.opts.jsTruthy ? !t : t === !1 || t === void 0 || t === null;
6810
6810
  }
6811
6811
  const Kd = {
6812
- "==": (t, e) => Oe(t) ? t.equals(e) : Oe(e) ? e.equals(t) : $(t) === $(e),
6813
- "!=": (t, e) => Oe(t) ? !t.equals(e) : Oe(e) ? !e.equals(t) : $(t) !== $(e),
6814
- ">": (t, e) => Oe(t) ? t.gt(e) : Oe(e) ? e.lt(t) : $(t) > $(e),
6815
- "<": (t, e) => Oe(t) ? t.lt(e) : Oe(e) ? e.gt(t) : $(t) < $(e),
6816
- ">=": (t, e) => Oe(t) ? t.geq(e) : Oe(e) ? e.leq(t) : $(t) >= $(e),
6817
- "<=": (t, e) => Oe(t) ? t.leq(e) : Oe(e) ? e.geq(t) : $(t) <= $(e),
6818
- contains: (t, e) => (t = $(t), e = $(e), t && we(t.indexOf) ? t.indexOf(e) > -1 : !1),
6819
- not: (t, e) => Wr($(t), e),
6820
- and: (t, e, r) => gt($(t), r) && gt($(e), r),
6821
- or: (t, e, r) => gt($(t), r) || gt($(e), r)
6812
+ "==": (t, e) => Oe(t) ? t.equals(e) : Oe(e) ? e.equals(t) : B(t) === B(e),
6813
+ "!=": (t, e) => Oe(t) ? !t.equals(e) : Oe(e) ? !e.equals(t) : B(t) !== B(e),
6814
+ ">": (t, e) => Oe(t) ? t.gt(e) : Oe(e) ? e.lt(t) : B(t) > B(e),
6815
+ "<": (t, e) => Oe(t) ? t.lt(e) : Oe(e) ? e.gt(t) : B(t) < B(e),
6816
+ ">=": (t, e) => Oe(t) ? t.geq(e) : Oe(e) ? e.leq(t) : B(t) >= B(e),
6817
+ "<=": (t, e) => Oe(t) ? t.leq(e) : Oe(e) ? e.geq(t) : B(t) <= B(e),
6818
+ contains: (t, e) => (t = B(t), e = B(e), t && we(t.indexOf) ? t.indexOf(e) > -1 : !1),
6819
+ not: (t, e) => Wr(B(t), e),
6820
+ and: (t, e, r) => yt(B(t), r) && yt(B(e), r),
6821
+ or: (t, e, r) => yt(B(t), r) || yt(B(e), r)
6822
6822
  };
6823
6823
  class ln {
6824
6824
  constructor(e, r, n, i) {
@@ -6911,7 +6911,7 @@ var rh = /* @__PURE__ */ Object.freeze({
6911
6911
  sep: th
6912
6912
  });
6913
6913
  function nh(t, e, ...r) {
6914
- return t = $(t), Re(t) || Xe(t) ? t.length ? t : e : t === !1 && new Map(r).get("allow_false") ? !1 : Wr(t, this.context) ? e : t;
6914
+ return t = B(t), Re(t) || Xe(t) ? t.length ? t : e : t === !1 && new Map(r).get("allow_false") ? !1 : Wr(t, this.context) ? e : t;
6915
6915
  }
6916
6916
  function ua(t) {
6917
6917
  return JSON.stringify(t);
@@ -6933,20 +6933,20 @@ const ih = {
6933
6933
  "&#39;": "'"
6934
6934
  };
6935
6935
  function Vn(t) {
6936
- return U(t).replace(/&|<|>|"|'/g, (e) => sh[e]);
6936
+ return $(t).replace(/&|<|>|"|'/g, (e) => sh[e]);
6937
6937
  }
6938
6938
  function oh(t) {
6939
- return U(t).replace(/&(amp|lt|gt|#34|#39);/g, (e) => ah[e]);
6939
+ return $(t).replace(/&(amp|lt|gt|#34|#39);/g, (e) => ah[e]);
6940
6940
  }
6941
6941
  function lh(t) {
6942
- return Vn(oh(U(t)));
6942
+ return Vn(oh($(t)));
6943
6943
  }
6944
6944
  function uh(t) {
6945
- return U(t).replace(/\n/g, `<br />
6945
+ return $(t).replace(/\n/g, `<br />
6946
6946
  `);
6947
6947
  }
6948
6948
  function ch(t) {
6949
- return U(t).replace(/<script.*?<\/script>|<!--.*?-->|<style.*?<\/style>|<.*?>/g, "");
6949
+ return $(t).replace(/<script.*?<\/script>|<!--.*?-->|<style.*?<\/style>|<.*?>/g, "");
6950
6950
  }
6951
6951
  var dh = /* @__PURE__ */ Object.freeze({
6952
6952
  __proto__: null,
@@ -7002,27 +7002,27 @@ function ph(t, e, r, n = t.length) {
7002
7002
  let i = r, s = e, a;
7003
7003
  for (; i[t[s]] && s < n; )
7004
7004
  i = i[t[s++]], i.end && (a = i);
7005
- return !a || a.needBoundary && X[t.charCodeAt(s)] & Mn ? -1 : s;
7005
+ return !a || a.needBoundary && ee[t.charCodeAt(s)] & Mn ? -1 : s;
7006
7006
  }
7007
7007
  function mh(t, e) {
7008
7008
  let r = !1;
7009
7009
  for (let n = 0; n < t.length; n++) {
7010
7010
  const i = t[n];
7011
- Oh(i) && (!r && i.trimLeft && gh(t[n - 1], e.greedy), _t(i) && (i.name === "raw" ? r = !0 : i.name === "endraw" && (r = !1)), !r && i.trimRight && yh(t[n + 1], e.greedy));
7011
+ Oh(i) && (!r && i.trimLeft && gh(t[n - 1], e.greedy), Tt(i) && (i.name === "raw" ? r = !0 : i.name === "endraw" && (r = !1)), !r && i.trimRight && yh(t[n + 1], e.greedy));
7012
7012
  }
7013
7013
  }
7014
7014
  function gh(t, e) {
7015
7015
  if (!t || !$n(t))
7016
7016
  return;
7017
7017
  const r = e ? Qr : ra;
7018
- for (; X[t.input.charCodeAt(t.end - 1 - t.trimRight)] & r; )
7018
+ for (; ee[t.input.charCodeAt(t.end - 1 - t.trimRight)] & r; )
7019
7019
  t.trimRight++;
7020
7020
  }
7021
7021
  function yh(t, e) {
7022
7022
  if (!t || !$n(t))
7023
7023
  return;
7024
7024
  const r = e ? Qr : ra;
7025
- for (; X[t.input.charCodeAt(t.begin + t.trimLeft)] & r; )
7025
+ for (; ee[t.input.charCodeAt(t.begin + t.trimLeft)] & r; )
7026
7026
  t.trimLeft++;
7027
7027
  t.input.charAt(t.begin + t.trimLeft) === `
7028
7028
  ` && t.trimLeft++;
@@ -7295,7 +7295,7 @@ class me {
7295
7295
  return !0;
7296
7296
  }
7297
7297
  peekType(e = 0) {
7298
- return X[this.input.charCodeAt(this.p + e)];
7298
+ return ee[this.input.charCodeAt(this.p + e)];
7299
7299
  }
7300
7300
  peek(e = 0) {
7301
7301
  return this.input[this.p + e];
@@ -7320,7 +7320,7 @@ class vh {
7320
7320
  this.trigger("start");
7321
7321
  let e;
7322
7322
  for (; !this.stopRequested && (e = this.tokens.shift()); ) {
7323
- if (this.trigger("token", e) || _t(e) && this.trigger(`tag:${e.name}`, e))
7323
+ if (this.trigger("token", e) || Tt(e) && this.trigger(`tag:${e.name}`, e))
7324
7324
  continue;
7325
7325
  const r = this.parseToken(e, this.tokens);
7326
7326
  this.trigger("template", r);
@@ -7421,10 +7421,10 @@ class Eh extends Un {
7421
7421
  r.write(this.str);
7422
7422
  }
7423
7423
  }
7424
- var wt;
7424
+ var Ct;
7425
7425
  (function(t) {
7426
7426
  t.Partials = "partials", t.Layouts = "layouts", t.Root = "root";
7427
- })(wt || (wt = {}));
7427
+ })(Ct || (Ct = {}));
7428
7428
  class Rh {
7429
7429
  constructor(e) {
7430
7430
  if (this.options = e, e.relativeReference) {
@@ -7438,7 +7438,7 @@ class Rh {
7438
7438
  }
7439
7439
  *lookup(e, r, n, i) {
7440
7440
  const { fs: s } = this.options, a = this.options[r];
7441
- for (const l of this.candidates(e, a, i, r !== wt.Root))
7441
+ for (const l of this.candidates(e, a, i, r !== Ct.Root))
7442
7442
  if (n ? s.existsSync(l) : yield s.exists(l))
7443
7443
  return l;
7444
7444
  throw this.lookupError(e, a);
@@ -7488,7 +7488,7 @@ class Sh {
7488
7488
  }
7489
7489
  parseToken(e, r) {
7490
7490
  try {
7491
- if (_t(e)) {
7491
+ if (Tt(e)) {
7492
7492
  const n = this.liquid.tags[e.name];
7493
7493
  return pe(n, `tag "${e.name}" not found`), new n(e, r, this.liquid);
7494
7494
  }
@@ -7500,7 +7500,7 @@ class Sh {
7500
7500
  parseStream(e) {
7501
7501
  return new vh(e, (r, n) => this.parseToken(r, n));
7502
7502
  }
7503
- *_parseFileCached(e, r, n = wt.Root, i) {
7503
+ *_parseFileCached(e, r, n = Ct.Root, i) {
7504
7504
  const s = this.cache, a = this.loader.shouldLoadRelative(e) ? i + "," + e : n + ":" + e, l = yield s.read(a);
7505
7505
  if (l)
7506
7506
  return l;
@@ -7512,7 +7512,7 @@ class Sh {
7512
7512
  throw s.remove(a), c;
7513
7513
  }
7514
7514
  }
7515
- *_parseFile(e, r, n = wt.Root, i) {
7515
+ *_parseFile(e, r, n = Ct.Root, i) {
7516
7516
  const s = yield this.loader.lookup(e, n, r, i);
7517
7517
  return this.liquid.parse(r ? this.fs.readFileSync(s) : yield this.fs.readFile(s), s);
7518
7518
  }
@@ -7555,47 +7555,47 @@ function da(t) {
7555
7555
  }
7556
7556
  return e;
7557
7557
  }
7558
- var ee;
7558
+ var te;
7559
7559
  (function(t) {
7560
7560
  t[t.Number = 1] = "Number", t[t.Literal = 2] = "Literal", t[t.Tag = 4] = "Tag", t[t.Output = 8] = "Output", t[t.HTML = 16] = "HTML", t[t.Filter = 32] = "Filter", t[t.Hash = 64] = "Hash", t[t.PropertyAccess = 128] = "PropertyAccess", t[t.Word = 256] = "Word", t[t.Range = 512] = "Range", t[t.Quoted = 1024] = "Quoted", t[t.Operator = 2048] = "Operator", t[t.Delimited = 12] = "Delimited";
7561
- })(ee || (ee = {}));
7561
+ })(te || (te = {}));
7562
7562
  function Oh(t) {
7563
- return !!(Me(t) & ee.Delimited);
7563
+ return !!(Me(t) & te.Delimited);
7564
7564
  }
7565
7565
  function ha(t) {
7566
- return Me(t) === ee.Operator;
7566
+ return Me(t) === te.Operator;
7567
7567
  }
7568
7568
  function $n(t) {
7569
- return Me(t) === ee.HTML;
7569
+ return Me(t) === te.HTML;
7570
7570
  }
7571
7571
  function _h(t) {
7572
- return Me(t) === ee.Output;
7572
+ return Me(t) === te.Output;
7573
7573
  }
7574
- function _t(t) {
7575
- return Me(t) === ee.Tag;
7574
+ function Tt(t) {
7575
+ return Me(t) === te.Tag;
7576
7576
  }
7577
7577
  function fa(t) {
7578
- return Me(t) === ee.Quoted;
7578
+ return Me(t) === te.Quoted;
7579
7579
  }
7580
7580
  function Th(t) {
7581
- return Me(t) === ee.Literal;
7581
+ return Me(t) === te.Literal;
7582
7582
  }
7583
7583
  function kh(t) {
7584
- return Me(t) === ee.Number;
7584
+ return Me(t) === te.Number;
7585
7585
  }
7586
7586
  function Dh(t) {
7587
- return Me(t) === ee.PropertyAccess;
7587
+ return Me(t) === te.PropertyAccess;
7588
7588
  }
7589
7589
  function Lh(t) {
7590
- return Me(t) === ee.Word;
7590
+ return Me(t) === te.Word;
7591
7591
  }
7592
7592
  function Ph(t) {
7593
- return Me(t) === ee.Range;
7593
+ return Me(t) === te.Range;
7594
7594
  }
7595
7595
  function Me(t) {
7596
7596
  return t ? t.kind : -1;
7597
7597
  }
7598
- class At {
7598
+ class Ft {
7599
7599
  constructor(e = {}, r = ft, n = {}) {
7600
7600
  var i, s;
7601
7601
  this.scopes = [{}], this.registers = {}, this.sync = !!n.sync, this.opts = r, this.globals = (i = n.globals) !== null && i !== void 0 ? i : r.globals, this.environments = e, this.strictVariables = (s = n.strictVariables) !== null && s !== void 0 ? s : this.opts.strictVariables;
@@ -7662,10 +7662,10 @@ function Nh(t, e, r) {
7662
7662
  if (Re(t) && e < 0)
7663
7663
  return t[t.length + +e];
7664
7664
  const n = jh(t, e, r);
7665
- return n === void 0 && t instanceof Ot ? t.liquidMethodMissing(e) : we(n) ? n.call(t) : e === "size" ? Fh(t) : e === "first" ? Mh(t) : e === "last" ? Ah(t) : n;
7665
+ return n === void 0 && t instanceof _t ? t.liquidMethodMissing(e) : we(n) ? n.call(t) : e === "size" ? Fh(t) : e === "first" ? Mh(t) : e === "last" ? Ah(t) : n;
7666
7666
  }
7667
7667
  function jh(t, e, r) {
7668
- if (!(r && !Object.hasOwnProperty.call(t, e) && !(t instanceof Ot)))
7668
+ if (!(r && !Object.hasOwnProperty.call(t, e) && !(t instanceof _t)))
7669
7669
  return t[e];
7670
7670
  }
7671
7671
  function Mh(t) {
@@ -7682,18 +7682,18 @@ function Fh(t) {
7682
7682
  if (typeof t == "object")
7683
7683
  return Object.keys(t).length;
7684
7684
  }
7685
- var yt;
7685
+ var vt;
7686
7686
  (function(t) {
7687
7687
  t[t.OUTPUT = 0] = "OUTPUT", t[t.STORE = 1] = "STORE";
7688
- })(yt || (yt = {}));
7688
+ })(vt || (vt = {}));
7689
7689
  const qh = _e(Math.abs), Ih = _e(Math.max), Vh = _e(Math.min), Uh = _e(Math.ceil), $h = _e((t, e, r = !1) => r ? Math.floor(t / e) : t / e), Bh = _e(Math.floor), Hh = _e((t, e) => t - e), Qh = _e((t, e) => t % e), zh = _e((t, e) => t * e);
7690
7690
  function Wh(t, e = 0) {
7691
- t = $(t), e = $(e);
7691
+ t = B(t), e = B(e);
7692
7692
  const r = Math.pow(10, e);
7693
7693
  return Math.round(t * r) / r;
7694
7694
  }
7695
7695
  function Kh(t, e) {
7696
- return t = $(t), e = $(e), Number(t) + Number(e);
7696
+ return t = B(t), e = B(e), Number(t) + Number(e);
7697
7697
  }
7698
7698
  var Yh = /* @__PURE__ */ Object.freeze({
7699
7699
  __proto__: null,
@@ -7709,7 +7709,7 @@ var Yh = /* @__PURE__ */ Object.freeze({
7709
7709
  round: Wh,
7710
7710
  plus: Kh
7711
7711
  });
7712
- const Gh = (t) => U(t).split("+").map(decodeURIComponent).join(" "), Zh = (t) => U(t).split(" ").map(encodeURIComponent).join("+");
7712
+ const Gh = (t) => $(t).split("+").map(decodeURIComponent).join(" "), Zh = (t) => $(t).split(" ").map(encodeURIComponent).join("+");
7713
7713
  var Jh = /* @__PURE__ */ Object.freeze({
7714
7714
  __proto__: null,
7715
7715
  url_decode: Gh,
@@ -7718,10 +7718,10 @@ var Jh = /* @__PURE__ */ Object.freeze({
7718
7718
  const Xh = _e((t, e) => Ze(t).join(e === void 0 ? " " : e)), ef = _e((t) => Re(t) ? Ln(t) : ""), tf = _e((t) => Re(t) ? t[0] : ""), rf = _e((t) => [...Ze(t)].reverse());
7719
7719
  function* nf(t, e) {
7720
7720
  const r = [];
7721
- for (const n of Ze($(t)))
7721
+ for (const n of Ze(B(t)))
7722
7722
  r.push([
7723
7723
  n,
7724
- e ? yield this.context._getFromScope(n, U(e).split(".")) : n
7724
+ e ? yield this.context._getFromScope(n, $(e).split(".")) : n
7725
7725
  ]);
7726
7726
  return r.sort((n, i) => {
7727
7727
  const s = n[1], a = i[1];
@@ -7729,35 +7729,35 @@ function* nf(t, e) {
7729
7729
  }).map((n) => n[0]);
7730
7730
  }
7731
7731
  function sf(t, e) {
7732
- t = $(t);
7733
- const r = U(e), n = e === void 0 ? Ii : (i, s) => Ii(i[r], s[r]);
7732
+ t = B(t);
7733
+ const r = $(e), n = e === void 0 ? Ii : (i, s) => Ii(i[r], s[r]);
7734
7734
  return [...Ze(t)].sort(n);
7735
7735
  }
7736
7736
  const af = (t) => t && t.length || 0;
7737
7737
  function* of(t, e) {
7738
7738
  const r = [];
7739
- for (const n of Ze($(t)))
7740
- r.push(yield this.context._getFromScope(n, U(e).split(".")));
7739
+ for (const n of Ze(B(t)))
7740
+ r.push(yield this.context._getFromScope(n, $(e).split(".")));
7741
7741
  return r;
7742
7742
  }
7743
7743
  function lf(t) {
7744
- return t = $(t), Ze(t).filter((e) => !et($(e)));
7744
+ return t = B(t), Ze(t).filter((e) => !et(B(e)));
7745
7745
  }
7746
7746
  function uf(t, e = []) {
7747
- return t = $(t), e = Ze(e).map((r) => $(r)), Ze(t).concat(e);
7747
+ return t = B(t), e = Ze(e).map((r) => B(r)), Ze(t).concat(e);
7748
7748
  }
7749
7749
  function cf(t, e, r = 1) {
7750
- return t = $(t), et(t) ? [] : (Re(t) || (t = U(t)), e = e < 0 ? t.length + e : e, t.slice(e, e + r));
7750
+ return t = B(t), et(t) ? [] : (Re(t) || (t = $(t)), e = e < 0 ? t.length + e : e, t.slice(e, e + r));
7751
7751
  }
7752
7752
  function* df(t, e, r) {
7753
7753
  const n = [];
7754
- t = Ze($(t));
7754
+ t = Ze(B(t));
7755
7755
  for (const i of t)
7756
- n.push(yield this.context._getFromScope(i, U(e).split(".")));
7757
- return t.filter((i, s) => r === void 0 ? gt(n[s], this.context) : Oe(r) ? r.equals(n[s]) : n[s] === r);
7756
+ n.push(yield this.context._getFromScope(i, $(e).split(".")));
7757
+ return t.filter((i, s) => r === void 0 ? yt(n[s], this.context) : Oe(r) ? r.equals(n[s]) : n[s] === r);
7758
7758
  }
7759
7759
  function hf(t) {
7760
- t = $(t);
7760
+ t = B(t);
7761
7761
  const e = {};
7762
7762
  return (t || []).filter((r) => Zs.call(e, String(r)) ? !1 : (e[String(r)] = !0, !0));
7763
7763
  }
@@ -7781,7 +7781,7 @@ const pf = "%A, %B %-e, %Y at %-l:%M %P %z";
7781
7781
  function mf(t, e, r) {
7782
7782
  const n = this.context.opts;
7783
7783
  let i;
7784
- return t = $(t), e = $(e), et(e) ? e = pf : e = U(e), t === "now" || t === "today" ? i = new Date() : Br(t) ? i = new Date(t * 1e3) : Xe(t) ? /^\d+$/.test(t) ? i = new Date(+t * 1e3) : n.preserveTimezones ? i = lt.createDateFixedToTimezone(t) : i = new Date(t) : i = t, gf(i) ? (r !== void 0 ? i = new lt(i, es(i, r)) : n.timezoneOffset !== void 0 && (i = new lt(i, es(i, n.timezoneOffset))), Rd(i, e)) : t;
7784
+ return t = B(t), e = B(e), et(e) ? e = pf : e = $(e), t === "now" || t === "today" ? i = new Date() : Br(t) ? i = new Date(t * 1e3) : Xe(t) ? /^\d+$/.test(t) ? i = new Date(+t * 1e3) : n.preserveTimezones ? i = lt.createDateFixedToTimezone(t) : i = new Date(t) : i = t, gf(i) ? (r !== void 0 ? i = new lt(i, es(i, r)) : n.timezoneOffset !== void 0 && (i = new lt(i, es(i, n.timezoneOffset))), Rd(i, e)) : t;
7785
7785
  }
7786
7786
  function gf(t) {
7787
7787
  return (t instanceof Date || t instanceof lt) && !isNaN(t.getTime());
@@ -7797,66 +7797,66 @@ var yf = /* @__PURE__ */ Object.freeze({
7797
7797
  date: mf
7798
7798
  });
7799
7799
  function vf(t, e) {
7800
- return pe(arguments.length === 2, "append expect 2 arguments"), U(t) + U(e);
7800
+ return pe(arguments.length === 2, "append expect 2 arguments"), $(t) + $(e);
7801
7801
  }
7802
7802
  function bf(t, e) {
7803
- return pe(arguments.length === 2, "prepend expect 2 arguments"), U(e) + U(t);
7803
+ return pe(arguments.length === 2, "prepend expect 2 arguments"), $(e) + $(t);
7804
7804
  }
7805
7805
  function wf(t, e) {
7806
- return e ? (e = Nn(U(e)), U(t).replace(new RegExp(`^[${e}]+`, "g"), "")) : U(t).replace(/^\s+/, "");
7806
+ return e ? (e = Nn($(e)), $(t).replace(new RegExp(`^[${e}]+`, "g"), "")) : $(t).replace(/^\s+/, "");
7807
7807
  }
7808
7808
  function Cf(t) {
7809
- return U(t).toLowerCase();
7809
+ return $(t).toLowerCase();
7810
7810
  }
7811
7811
  function Ef(t) {
7812
- return U(t).toUpperCase();
7812
+ return $(t).toUpperCase();
7813
7813
  }
7814
7814
  function Rf(t, e) {
7815
- return U(t).split(String(e)).join("");
7815
+ return $(t).split(String(e)).join("");
7816
7816
  }
7817
7817
  function Sf(t, e) {
7818
- return U(t).replace(String(e), "");
7818
+ return $(t).replace(String(e), "");
7819
7819
  }
7820
7820
  function xf(t, e) {
7821
- const r = U(t), n = String(e), i = r.lastIndexOf(n);
7821
+ const r = $(t), n = String(e), i = r.lastIndexOf(n);
7822
7822
  return i === -1 ? r : r.substring(0, i) + r.substring(i + n.length + 1);
7823
7823
  }
7824
7824
  function Of(t, e) {
7825
- return e ? (e = Nn(U(e)), U(t).replace(new RegExp(`[${e}]+$`, "g"), "")) : U(t).replace(/\s+$/, "");
7825
+ return e ? (e = Nn($(e)), $(t).replace(new RegExp(`[${e}]+$`, "g"), "")) : $(t).replace(/\s+$/, "");
7826
7826
  }
7827
7827
  function _f(t, e) {
7828
- const r = U(t).split(String(e));
7828
+ const r = $(t).split(String(e));
7829
7829
  for (; r.length && r[r.length - 1] === ""; )
7830
7830
  r.pop();
7831
7831
  return r;
7832
7832
  }
7833
7833
  function Tf(t, e) {
7834
- return e ? (e = Nn(U(e)), U(t).replace(new RegExp(`^[${e}]+`, "g"), "").replace(new RegExp(`[${e}]+$`, "g"), "")) : U(t).trim();
7834
+ return e ? (e = Nn($(e)), $(t).replace(new RegExp(`^[${e}]+`, "g"), "").replace(new RegExp(`[${e}]+$`, "g"), "")) : $(t).trim();
7835
7835
  }
7836
7836
  function kf(t) {
7837
- return U(t).replace(/\n/g, "");
7837
+ return $(t).replace(/\n/g, "");
7838
7838
  }
7839
7839
  function Df(t) {
7840
- return t = U(t), t.charAt(0).toUpperCase() + t.slice(1).toLowerCase();
7840
+ return t = $(t), t.charAt(0).toUpperCase() + t.slice(1).toLowerCase();
7841
7841
  }
7842
7842
  function Lf(t, e, r) {
7843
- return U(t).split(String(e)).join(r);
7843
+ return $(t).split(String(e)).join(r);
7844
7844
  }
7845
7845
  function Pf(t, e, r) {
7846
- return U(t).replace(String(e), r);
7846
+ return $(t).replace(String(e), r);
7847
7847
  }
7848
7848
  function Nf(t, e, r) {
7849
- const n = U(t), i = String(e), s = n.lastIndexOf(i);
7849
+ const n = $(t), i = String(e), s = n.lastIndexOf(i);
7850
7850
  if (s === -1)
7851
7851
  return n;
7852
7852
  const a = String(r);
7853
7853
  return n.substring(0, s) + a + n.substring(s + i.length);
7854
7854
  }
7855
7855
  function jf(t, e = 50, r = "...") {
7856
- return t = U(t), t.length <= e ? t : t.substring(0, e - r.length) + r;
7856
+ return t = $(t), t.length <= e ? t : t.substring(0, e - r.length) + r;
7857
7857
  }
7858
7858
  function Mf(t, e = 15, r = "...") {
7859
- const n = U(t).split(/\s+/);
7859
+ const n = $(t).split(/\s+/);
7860
7860
  e <= 0 && (e = 1);
7861
7861
  let i = n.slice(0, e).join(" ");
7862
7862
  return n.length >= e && (i += r), i;
@@ -7949,7 +7949,7 @@ class Bf extends se {
7949
7949
  const i = new me(e.args, this.liquid.options.operators);
7950
7950
  for (this.variable = Hf(i), pe(this.variable, () => `${e.args} not valid identifier`); r.length; ) {
7951
7951
  const s = r.shift();
7952
- if (_t(s) && s.name === "endcapture")
7952
+ if (Tt(s) && s.name === "endcapture")
7953
7953
  return;
7954
7954
  this.templates.push(n.parser.parseToken(s, r));
7955
7955
  }
@@ -7987,7 +7987,7 @@ class Qf extends se {
7987
7987
  s.start();
7988
7988
  }
7989
7989
  *render(e, r) {
7990
- const n = this.liquid.renderer, i = $(yield this.value.value(e, e.opts.lenientIf));
7990
+ const n = this.liquid.renderer, i = B(yield this.value.value(e, e.opts.lenientIf));
7991
7991
  let s = !1;
7992
7992
  for (const a of this.branches)
7993
7993
  for (const l of a.values) {
@@ -8004,7 +8004,7 @@ class zf extends se {
8004
8004
  constructor(e, r, n) {
8005
8005
  for (super(e, r, n); r.length; ) {
8006
8006
  const i = r.shift();
8007
- if (_t(i) && i.name === "endcomment")
8007
+ if (Tt(i) && i.name === "endcomment")
8008
8008
  return;
8009
8009
  }
8010
8010
  throw new Error(`tag ${e.getText()} not closed`);
@@ -8036,7 +8036,7 @@ class Wf extends se {
8036
8036
  *render(e, r) {
8037
8037
  const { liquid: n, hash: i } = this, s = yield Hn(this.file, e, n);
8038
8038
  pe(s, () => `illegal filename "${s}"`);
8039
- const a = new At({}, e.opts, { sync: e.sync, globals: e.globals, strictVariables: e.strictVariables }), l = a.bottom();
8039
+ const a = new Ft({}, e.opts, { sync: e.sync, globals: e.globals, strictVariables: e.strictVariables }), l = a.bottom();
8040
8040
  if (jr(l, yield i.render(e)), this.with) {
8041
8041
  const { value: o, alias: u } = this.with;
8042
8042
  l[u || s] = yield ge(o, e);
@@ -8089,7 +8089,7 @@ class Kf extends se {
8089
8089
  const { liquid: n, hash: i, withVar: s } = this, { renderer: a } = n, l = yield Hn(this.file, e, n);
8090
8090
  pe(l, () => `illegal filename "${l}"`);
8091
8091
  const o = e.saveRegister("blocks", "blockMode");
8092
- e.setRegister("blocks", {}), e.setRegister("blockMode", yt.OUTPUT);
8092
+ e.setRegister("blocks", {}), e.setRegister("blockMode", vt.OUTPUT);
8093
8093
  const u = yield i.render(e);
8094
8094
  s && (u[l] = yield ge(s, e));
8095
8095
  const c = yield n._parsePartialFile(l, e.sync, this.currentFile);
@@ -8104,7 +8104,7 @@ class Yf extends se {
8104
8104
  }
8105
8105
  render(e, r) {
8106
8106
  const n = e.environments;
8107
- Br(n[this.variable]) || (n[this.variable] = 0), r.write(U(--n[this.variable]));
8107
+ Br(n[this.variable]) || (n[this.variable] = 0), r.write($(--n[this.variable]));
8108
8108
  }
8109
8109
  }
8110
8110
  class Gf extends se {
@@ -8145,7 +8145,7 @@ class Zf extends se {
8145
8145
  const n = this.liquid.renderer;
8146
8146
  for (const { value: i, templates: s } of this.branches) {
8147
8147
  const a = yield i.value(e, e.opts.lenientIf);
8148
- if (gt(a, e)) {
8148
+ if (yt(a, e)) {
8149
8149
  yield n.renderTemplates(s, e, r);
8150
8150
  return;
8151
8151
  }
@@ -8163,7 +8163,7 @@ class Jf extends se {
8163
8163
  const n = e.environments;
8164
8164
  Br(n[this.variable]) || (n[this.variable] = 0);
8165
8165
  const i = n[this.variable];
8166
- n[this.variable]++, r.write(U(i));
8166
+ n[this.variable]++, r.write($(i));
8167
8167
  }
8168
8168
  }
8169
8169
  class Xf extends se {
@@ -8175,15 +8175,15 @@ class Xf extends se {
8175
8175
  *render(e, r) {
8176
8176
  const { liquid: n, args: i, file: s } = this, { renderer: a } = n;
8177
8177
  if (s === void 0) {
8178
- e.setRegister("blockMode", yt.OUTPUT), yield a.renderTemplates(this.templates, e, r);
8178
+ e.setRegister("blockMode", vt.OUTPUT), yield a.renderTemplates(this.templates, e, r);
8179
8179
  return;
8180
8180
  }
8181
8181
  const l = yield Hn(this.file, e, n);
8182
8182
  pe(l, () => `illegal filename "${l}"`);
8183
8183
  const o = yield n._parseLayoutFile(l, e.sync, this.currentFile);
8184
- e.setRegister("blockMode", yt.STORE);
8184
+ e.setRegister("blockMode", vt.STORE);
8185
8185
  const u = yield a.renderTemplates(this.templates, e), c = e.getRegister("blocks");
8186
- c[""] === void 0 && (c[""] = (f, d) => d.write(u)), e.setRegister("blockMode", yt.OUTPUT), e.push(yield i.render(e)), yield a.renderTemplates(o, e, r), e.pop();
8186
+ c[""] === void 0 && (c[""] = (f, d) => d.write(u)), e.setRegister("blockMode", vt.OUTPUT), e.push(yield i.render(e)), yield a.renderTemplates(o, e, r), e.pop();
8187
8187
  }
8188
8188
  }
8189
8189
  class ep extends se {
@@ -8192,7 +8192,7 @@ class ep extends se {
8192
8192
  const i = /\w+/.exec(e.args);
8193
8193
  for (this.block = i ? i[0] : ""; r.length; ) {
8194
8194
  const s = r.shift();
8195
- if (_t(s) && s.name === "endblock")
8195
+ if (Tt(s) && s.name === "endblock")
8196
8196
  return;
8197
8197
  const a = n.parser.parseToken(s, r);
8198
8198
  this.templates.push(a);
@@ -8201,7 +8201,7 @@ class ep extends se {
8201
8201
  }
8202
8202
  *render(e, r) {
8203
8203
  const n = this.getBlockRender(e);
8204
- e.getRegister("blockMode") === yt.STORE ? e.getRegister("blocks")[this.block] = n : yield n(new $i(), r);
8204
+ e.getRegister("blockMode") === vt.STORE ? e.getRegister("blocks")[this.block] = n : yield n(new $i(), r);
8205
8205
  }
8206
8206
  getBlockRender(e) {
8207
8207
  const { liquid: r, templates: n } = this, i = e.getRegister("blocks")[this.block], s = function* (a, l) {
@@ -8214,7 +8214,7 @@ class tp extends se {
8214
8214
  constructor(e, r, n) {
8215
8215
  for (super(e, r, n), this.tokens = []; r.length; ) {
8216
8216
  const i = r.shift();
8217
- if (_t(i) && i.name === "endraw")
8217
+ if (Tt(i) && i.name === "endraw")
8218
8218
  return;
8219
8219
  this.tokens.push(i);
8220
8220
  }
@@ -8280,7 +8280,7 @@ class ip extends se {
8280
8280
  templates: i = []
8281
8281
  })).on("tag:elsif", (s) => this.branches.push({
8282
8282
  value: new Je(s.args, this.liquid),
8283
- test: gt,
8283
+ test: yt,
8284
8284
  templates: i = []
8285
8285
  })).on("tag:else", () => i = this.elseTemplates).on("tag:endunless", function() {
8286
8286
  this.stop();
@@ -8368,7 +8368,7 @@ class Qn {
8368
8368
  return this.parser.parse(e, r);
8369
8369
  }
8370
8370
  _render(e, r, n) {
8371
- const i = r instanceof At ? r : new At(r, this.options, n);
8371
+ const i = r instanceof Ft ? r : new Ft(r, this.options, n);
8372
8372
  return this.renderer.renderTemplates(e, i);
8373
8373
  }
8374
8374
  render(e, r, n) {
@@ -8380,7 +8380,7 @@ class Qn {
8380
8380
  return ot(this._render(e, r, Object.assign(Object.assign({}, n), { sync: !0 })));
8381
8381
  }
8382
8382
  renderToNodeStream(e, r, n = {}) {
8383
- const i = new At(r, this.options, n);
8383
+ const i = new Ft(r, this.options, n);
8384
8384
  return this.renderer.renderTemplatesToNodeStream(e, i);
8385
8385
  }
8386
8386
  _parseAndRender(e, r, n) {
@@ -8396,10 +8396,10 @@ class Qn {
8396
8396
  return ot(this._parseAndRender(e, r, Object.assign(Object.assign({}, n), { sync: !0 })));
8397
8397
  }
8398
8398
  _parsePartialFile(e, r, n) {
8399
- return this.parser.parseFile(e, r, wt.Partials, n);
8399
+ return this.parser.parseFile(e, r, Ct.Partials, n);
8400
8400
  }
8401
8401
  _parseLayoutFile(e, r, n) {
8402
- return this.parser.parseFile(e, r, wt.Layouts, n);
8402
+ return this.parser.parseFile(e, r, Ct.Layouts, n);
8403
8403
  }
8404
8404
  _parseFile(e, r, n, i) {
8405
8405
  return this.parser.parseFile(e, r, n, i);
@@ -8431,7 +8431,7 @@ class Qn {
8431
8431
  });
8432
8432
  }
8433
8433
  _evalValue(e, r) {
8434
- const n = new Je(e, this), i = r instanceof At ? r : new At(r, this.options);
8434
+ const n = new Je(e, this), i = r instanceof Ft ? r : new Ft(r, this.options);
8435
8435
  return n.value(i);
8436
8436
  }
8437
8437
  evalValue(e, r) {
@@ -8464,7 +8464,7 @@ class Qn {
8464
8464
  };
8465
8465
  }
8466
8466
  }
8467
- const Ft = new Qn();
8467
+ const pt = new Qn();
8468
8468
  function dp(t, e) {
8469
8469
  return is(
8470
8470
  () => hp(t, e),
@@ -8476,13 +8476,13 @@ function hp(t, e) {
8476
8476
  const n = e || r.transform;
8477
8477
  return n ? Object.keys(n).reduce((i, s) => s === "details" ? (i[s] = n[s].map((a) => Array.isArray(a) ? a.map((l) => ({
8478
8478
  label: l.label,
8479
- value: Ft.parseAndRenderSync(l.value, r),
8479
+ value: pt.parseAndRenderSync(l.value, r),
8480
8480
  html: l.html
8481
8481
  })) : {
8482
8482
  label: a.label,
8483
- value: Ft.parseAndRenderSync(a.value, r),
8483
+ value: pt.parseAndRenderSync(a.value, r),
8484
8484
  html: a.html
8485
- }), i) : s === "actions" ? (i[s] = n[s].map((a) => Object.keys(a).reduce((l, o) => (typeof a[o] == "object" ? l[o] = Object.keys(a[o]).reduce((u, c) => (u[c] = Ft.parseAndRenderSync(a[o][c], r), u), {}) : l[o] = Ft.parseAndRenderSync(a[o], r), l), {})), i) : (i[s] = Ft.parseAndRenderSync(n[s], r), i), {}) : r;
8485
+ }), i) : s === "actions" ? (i[s] = n[s].map((a) => Object.keys(a).reduce((l, o) => (typeof a[o] == "object" ? l[o] = Object.keys(a[o]).reduce((u, c) => (u[c] = pt.parseAndRenderSync(a[o][c], r), u), {}) : l[o] = pt.parseAndRenderSync(a[o], r), l), {})), i) : (i[s] = pt.parseAndRenderSync(n[s], r), i), {}) : r;
8486
8486
  });
8487
8487
  }
8488
8488
  function pa({
@@ -8490,38 +8490,58 @@ function pa({
8490
8490
  placeholderText: e,
8491
8491
  dynamicOptions: r
8492
8492
  }) {
8493
- var j;
8494
- let { asyncUrl: n, transform: i, clientSideFilter: s, rootData: a, includeHeaders: l } = r, o = Bo();
8495
- const u = Ee(), { activeIndex: c, search: f, setActions: d, navigateTo: m } = Et(ut), v = Ju(f, 500), w = l && u.headers ? u.headers : {}, {
8496
- isLoading: R,
8497
- error: O,
8498
- data: k = []
8493
+ var J;
8494
+ let {
8495
+ asyncUrl: n,
8496
+ method: i,
8497
+ payload: s,
8498
+ transform: a,
8499
+ clientSideFilter: l,
8500
+ rootData: o,
8501
+ includeHeaders: u
8502
+ } = r, c = Bo();
8503
+ const f = Ee(), { activeIndex: d, search: m, setActions: v, navigateTo: w } = Rt(ut), E = Ju(m, 500), O = u && f.headers ? f.headers : {}, k = {
8504
+ method: i || "get",
8505
+ credentials: "include",
8506
+ headers: O
8507
+ };
8508
+ s && k.method !== "get" && (k.body = pt.parseAndRenderSync(s, {
8509
+ ...c,
8510
+ query: E
8511
+ }));
8512
+ const {
8513
+ isLoading: C,
8514
+ error: R,
8515
+ data: A = []
8499
8516
  } = Zu({
8500
- queryKey: [t, s ? "" : v],
8517
+ queryKey: [t, l ? "" : E],
8501
8518
  enabled: !!n,
8502
- queryFn: () => fetch(Ft.parseAndRenderSync(n, o), {
8503
- credentials: "include",
8504
- headers: w
8505
- }).then((P) => P.json())
8506
- }), C = a ? Yc(k, a, []) : k, E = is(
8507
- () => Array.isArray(C) ? C : [C],
8508
- [C]
8519
+ queryFn: () => fetch(
8520
+ pt.parseAndRenderSync(n, {
8521
+ ...c,
8522
+ query: E
8523
+ }),
8524
+ k
8525
+ ).then((H) => H.json())
8526
+ }), _ = o ? Yc(A, o, []) : A, j = is(
8527
+ () => Array.isArray(_) ? _ : [_],
8528
+ [_]
8509
8529
  );
8510
- let M = dp(E, i);
8511
- s && (M = M.filter(
8512
- (P) => P.title.toLowerCase().includes(f.toLowerCase())
8530
+ let N = dp(j, a);
8531
+ l && (N = N.filter(
8532
+ (H) => H.title.toLowerCase().includes(m.toLowerCase())
8513
8533
  ));
8514
- const _ = M[c];
8534
+ const F = N[d];
8515
8535
  return Ge(() => {
8516
- _ && _.actions ? d(_.actions) : d([]);
8517
- }, [_, f, c, d]), R ? /* @__PURE__ */ y.jsx(nr, { children: /* @__PURE__ */ y.jsx("div", { className: "qikbar-item-empty", children: "loading..." }) }) : M.length === 0 ? /* @__PURE__ */ y.jsxs(nr, { children: [
8536
+ F && F.actions ? v(F.actions) : v([]);
8537
+ }, [F, m, d, v]), C ? /* @__PURE__ */ y.jsx(nr, { children: /* @__PURE__ */ y.jsx("div", { className: "qikbar-item-empty", children: "loading..." }) }) : N.length === 0 ? /* @__PURE__ */ y.jsxs(nr, { children: [
8518
8538
  /* @__PURE__ */ y.jsx(kr, { placeholder: e }),
8519
8539
  /* @__PURE__ */ y.jsx("div", { className: "qikbar-item-empty", children: "No matches" })
8520
8540
  ] }) : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
8521
8541
  /* @__PURE__ */ y.jsx(kr, { placeholder: e }),
8522
8542
  /* @__PURE__ */ y.jsxs(nr, { children: [
8523
- /* @__PURE__ */ y.jsx(Ts, { children: M.map((P) => /* @__PURE__ */ y.jsx(Rn, { item: P }, P.id)) }),
8524
- _ && ((j = _ == null ? void 0 : _.details) == null ? void 0 : j.length) > 0 && /* @__PURE__ */ y.jsx(Ds, { fields: _.details })
8543
+ /* @__PURE__ */ y.jsx(Ts, { children: N.map((H) => /* @__PURE__ */ y.jsx(Rn, { item: H }, H.id)) }),
8544
+ F && ((J = F == null ? void 0 : F.details) == null ? void 0 : J.length) > 0 && /* @__PURE__ */ y.jsx(Ds, { fields: F.details })
8525
8545
  ] })
8526
8546
  ] });
8527
8547
  }
@@ -8690,7 +8710,7 @@ function mp({ id: t }) {
8690
8710
  Xt.createRoot(
8691
8711
  document.getElementById(r)
8692
8712
  ).render(
8693
- /* @__PURE__ */ y.jsx(Ct.StrictMode, { children: /* @__PURE__ */ y.jsx(fp, { children: /* @__PURE__ */ y.jsx(Us, { client: ga, children: /* @__PURE__ */ y.jsx(pp, {}) }) }) })
8713
+ /* @__PURE__ */ y.jsx(Et.StrictMode, { children: /* @__PURE__ */ y.jsx(fp, { children: /* @__PURE__ */ y.jsx(Us, { client: ga, children: /* @__PURE__ */ y.jsx(pp, {}) }) }) })
8694
8714
  ), window.Qikbar.booted = !0;
8695
8715
  },
8696
8716
  setTheme: (r) => Ee.getState().setTheme(r),