@qikbar/qikbar 0.0.17 → 0.0.19

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
@@ -82,23 +82,23 @@ function Ta() {
82
82
  Z.unshift("Warning: " + x), Function.prototype.apply.call(console[h], console, Z);
83
83
  }
84
84
  }
85
- var E = !1, A = !1, _ = !1, M = !1, P = !1, B;
85
+ var E = !1, M = !1, _ = !1, j = !1, P = !1, B;
86
86
  B = Symbol.for("react.module.reference");
87
- function Q(h) {
88
- return !!(typeof h == "string" || typeof h == "function" || h === n || h === s || P || h === i || h === u || h === c || M || h === m || E || 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
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
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
92
  h.$$typeof === B || h.getModuleId !== void 0));
93
93
  }
94
- function j(h, x, T) {
94
+ function W(h, x, T) {
95
95
  var V = h.displayName;
96
96
  if (V)
97
97
  return V;
98
98
  var Y = x.displayName || x.name || "";
99
99
  return Y !== "" ? T + "(" + Y + ")" : T;
100
100
  }
101
- function ae(h) {
101
+ function A(h) {
102
102
  return h.displayName || "Context";
103
103
  }
104
104
  function te(h) {
@@ -126,12 +126,12 @@ function Ta() {
126
126
  switch (h.$$typeof) {
127
127
  case l:
128
128
  var x = h;
129
- return ae(x) + ".Consumer";
129
+ return A(x) + ".Consumer";
130
130
  case a:
131
131
  var T = h;
132
- return ae(T._context) + ".Provider";
132
+ return A(T._context) + ".Provider";
133
133
  case o:
134
- return j(h, h.render, "ForwardRef");
134
+ return W(h, h.render, "ForwardRef");
135
135
  case f:
136
136
  var V = h.displayName || null;
137
137
  return V !== null ? V : te(h.type) || "Memo";
@@ -146,14 +146,14 @@ function Ta() {
146
146
  }
147
147
  return null;
148
148
  }
149
- var ce = Object.assign, ge = 0, ke, J, De, re, tt, Me, dr;
149
+ var ce = Object.assign, ye = 0, ve, J, Le, tt, ie, Ce, dr;
150
150
  function hr() {
151
151
  }
152
152
  hr.__reactDisabledLog = !0;
153
153
  function fr() {
154
154
  {
155
- if (ge === 0) {
156
- ke = console.log, J = console.info, De = console.warn, re = console.error, tt = console.group, Me = console.groupCollapsed, dr = console.groupEnd;
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;
157
157
  var h = {
158
158
  configurable: !0,
159
159
  enumerable: !0,
@@ -170,12 +170,12 @@ function Ta() {
170
170
  groupEnd: h
171
171
  });
172
172
  }
173
- ge++;
173
+ ye++;
174
174
  }
175
175
  }
176
176
  function Kr() {
177
177
  {
178
- if (ge--, ge === 0) {
178
+ if (ye--, ye === 0) {
179
179
  var h = {
180
180
  configurable: !0,
181
181
  enumerable: !0,
@@ -183,29 +183,29 @@ function Ta() {
183
183
  };
184
184
  Object.defineProperties(console, {
185
185
  log: ce({}, h, {
186
- value: ke
186
+ value: ve
187
187
  }),
188
188
  info: ce({}, h, {
189
189
  value: J
190
190
  }),
191
191
  warn: ce({}, h, {
192
- value: De
192
+ value: Le
193
193
  }),
194
194
  error: ce({}, h, {
195
- value: re
195
+ value: tt
196
196
  }),
197
197
  group: ce({}, h, {
198
- value: tt
198
+ value: ie
199
199
  }),
200
200
  groupCollapsed: ce({}, h, {
201
- value: Me
201
+ value: Ce
202
202
  }),
203
203
  groupEnd: ce({}, h, {
204
204
  value: dr
205
205
  })
206
206
  });
207
207
  }
208
- ge < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
208
+ ye < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
209
209
  }
210
210
  }
211
211
  var Bt = O.ReactCurrentDispatcher, Ht;
@@ -275,20 +275,20 @@ function Ta() {
275
275
  }
276
276
  } catch (ze) {
277
277
  if (ze && V && typeof ze.stack == "string") {
278
- for (var W = ze.stack.split(`
279
- `), ve = V.stack.split(`
280
- `), se = W.length - 1, oe = ve.length - 1; se >= 1 && oe >= 0 && W[se] !== ve[oe]; )
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]; )
281
281
  oe--;
282
- for (; se >= 1 && oe >= 0; se--, oe--)
283
- if (W[se] !== ve[oe]) {
284
- if (se !== 1 || oe !== 1)
282
+ for (; ae >= 1 && oe >= 0; ae--, oe--)
283
+ if (z[ae] !== be[oe]) {
284
+ if (ae !== 1 || oe !== 1)
285
285
  do
286
- if (se--, oe--, oe < 0 || W[se] !== ve[oe]) {
287
- var _e = `
288
- ` + W[se].replace(" at new ", " at ");
289
- return h.displayName && _e.includes("<anonymous>") && (_e = _e.replace("<anonymous>", h.displayName)), typeof h == "function" && rt.set(h, _e), _e;
286
+ if (ae--, oe--, oe < 0 || z[ae] !== be[oe]) {
287
+ var ke = `
288
+ ` + z[ae].replace(" at new ", " at ");
289
+ return h.displayName && ke.includes("<anonymous>") && (ke = ke.replace("<anonymous>", h.displayName)), typeof h == "function" && rt.set(h, ke), ke;
290
290
  }
291
- while (se >= 1 && oe >= 0);
291
+ while (ae >= 1 && oe >= 0);
292
292
  break;
293
293
  }
294
294
  }
@@ -347,17 +347,17 @@ function Ta() {
347
347
  var Z = Function.call.bind(ct);
348
348
  for (var K in h)
349
349
  if (Z(h, K)) {
350
- var W = void 0;
350
+ var z = void 0;
351
351
  try {
352
352
  if (typeof h[K] != "function") {
353
- var ve = 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`.");
354
- throw ve.name = "Invariant Violation", ve;
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`.");
354
+ throw be.name = "Invariant Violation", be;
355
355
  }
356
- W = h[K](x, K, V, T, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
357
- } catch (se) {
358
- W = se;
356
+ z = h[K](x, K, V, T, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
357
+ } catch (ae) {
358
+ z = ae;
359
359
  }
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).", V || "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));
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));
361
361
  }
362
362
  }
363
363
  }
@@ -392,7 +392,7 @@ function Ta() {
392
392
  __source: !0
393
393
  }, D, I, q;
394
394
  q = {};
395
- function z(h) {
395
+ function Q(h) {
396
396
  if (ct.call(h, "ref")) {
397
397
  var x = Object.getOwnPropertyDescriptor(h, "ref").get;
398
398
  if (x && x.isReactWarning)
@@ -425,7 +425,7 @@ function Ta() {
425
425
  });
426
426
  }
427
427
  }
428
- function ne(h, x) {
428
+ function re(h, x) {
429
429
  {
430
430
  var T = function() {
431
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));
@@ -436,8 +436,8 @@ function Ta() {
436
436
  });
437
437
  }
438
438
  }
439
- var Ee = function(h, x, T, V, Y, Z, K) {
440
- var W = {
439
+ var Se = function(h, x, T, V, Y, Z, K) {
440
+ var z = {
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,43 +448,43 @@ function Ta() {
448
448
  // Record the component responsible for creating this element.
449
449
  _owner: Z
450
450
  };
451
- return W._store = {}, Object.defineProperty(W._store, "validated", {
451
+ return z._store = {}, Object.defineProperty(z._store, "validated", {
452
452
  configurable: !1,
453
453
  enumerable: !1,
454
454
  writable: !0,
455
455
  value: !1
456
- }), Object.defineProperty(W, "_self", {
456
+ }), Object.defineProperty(z, "_self", {
457
457
  configurable: !1,
458
458
  enumerable: !1,
459
459
  writable: !1,
460
460
  value: V
461
- }), Object.defineProperty(W, "_source", {
461
+ }), Object.defineProperty(z, "_source", {
462
462
  configurable: !1,
463
463
  enumerable: !1,
464
464
  writable: !1,
465
465
  value: Y
466
- }), Object.freeze && (Object.freeze(W.props), Object.freeze(W)), W;
466
+ }), Object.freeze && (Object.freeze(z.props), Object.freeze(z)), z;
467
467
  };
468
- function Re(h, x, T, V, Y) {
468
+ function xe(h, x, T, V, Y) {
469
469
  {
470
- var Z, K = {}, W = null, ve = null;
471
- T !== void 0 && (b(T), W = "" + T), F(x) && (b(x.key), W = "" + x.key), z(x) && (ve = x.ref, he(x, Y));
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));
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) {
475
- var se = h.defaultProps;
476
- for (Z in se)
477
- K[Z] === void 0 && (K[Z] = se[Z]);
475
+ var ae = h.defaultProps;
476
+ for (Z in ae)
477
+ K[Z] === void 0 && (K[Z] = ae[Z]);
478
478
  }
479
- if (W || ve) {
479
+ if (z || be) {
480
480
  var oe = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
481
- W && H(K, oe), ve && ne(K, oe);
481
+ z && H(K, oe), be && re(K, oe);
482
482
  }
483
- return Ee(h, W, ve, Y, V, S.current, K);
483
+ return Se(h, z, be, Y, V, S.current, K);
484
484
  }
485
485
  }
486
486
  var Qe = O.ReactCurrentOwner, dt = O.ReactDebugCurrentFrame;
487
- function Le(h) {
487
+ function Pe(h) {
488
488
  if (h) {
489
489
  var x = h._owner, T = Lt(h.type, h._source, x ? x.type : null);
490
490
  dt.setExtraStackFrame(T);
@@ -508,7 +508,7 @@ Check the render method of \`` + h + "`.";
508
508
  return "";
509
509
  }
510
510
  }
511
- function Oe(h) {
511
+ function Te(h) {
512
512
  {
513
513
  if (h !== void 0) {
514
514
  var x = h.fileName.replace(/^.*[\\\/]/, ""), T = h.lineNumber;
@@ -542,7 +542,7 @@ Check the top-level render call using <` + T + ">.");
542
542
  return;
543
543
  qe[T] = !0;
544
544
  var V = "";
545
- h && h._owner && h._owner !== Qe.current && (V = " It was passed a child from " + te(h._owner.type) + "."), Le(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), Le(null);
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);
546
546
  }
547
547
  }
548
548
  function vr(h, x) {
@@ -589,46 +589,46 @@ Check the top-level render call using <` + T + ">.");
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.");
590
590
  }
591
591
  }
592
- function Pe(h) {
592
+ function Ne(h) {
593
593
  {
594
594
  for (var x = Object.keys(h.props), T = 0; T < x.length; T++) {
595
595
  var V = x[T];
596
596
  if (V !== "children" && V !== "key") {
597
- Le(h), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", V), Le(null);
597
+ Pe(h), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", V), Pe(null);
598
598
  break;
599
599
  }
600
600
  }
601
- h.ref !== null && (Le(h), k("Invalid attribute `ref` supplied to `React.Fragment`."), Le(null));
601
+ h.ref !== null && (Pe(h), k("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
602
602
  }
603
603
  }
604
604
  function jt(h, x, T, V, Y, Z) {
605
605
  {
606
- var K = Q(h);
606
+ var K = ne(h);
607
607
  if (!K) {
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
- var ve = Oe(Y);
611
- ve ? W += ve : W += de();
612
- var se;
613
- h === null ? se = "null" : Wt(h) ? se = "array" : h !== void 0 && h.$$typeof === e ? (se = "<" + (te(h.type) || "Unknown") + " />", W = " Did you accidentally export a JSX literal instead of a component?") : se = 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", se, W);
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.");
610
+ var be = Te(Y);
611
+ be ? z += be : z += de();
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);
614
614
  }
615
- var oe = Re(h, x, T, Y, Z);
615
+ var oe = xe(h, x, T, Y, Z);
616
616
  if (oe == null)
617
617
  return oe;
618
618
  if (K) {
619
- var _e = x.children;
620
- if (_e !== void 0)
619
+ var ke = x.children;
620
+ if (ke !== void 0)
621
621
  if (V)
622
- if (Wt(_e)) {
623
- for (var Mt = 0; Mt < _e.length; Mt++)
624
- vr(_e[Mt], h);
625
- Object.freeze && Object.freeze(_e);
622
+ if (Wt(ke)) {
623
+ for (var Mt = 0; Mt < ke.length; Mt++)
624
+ vr(ke[Mt], h);
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.");
628
628
  else
629
- vr(_e, h);
629
+ vr(ke, h);
630
630
  }
631
- return h === n ? Pe(oe) : Gr(oe), oe;
631
+ return h === n ? Ne(oe) : Gr(oe), oe;
632
632
  }
633
633
  }
634
634
  function br(h, x, T) {
@@ -757,16 +757,16 @@ function Na() {
757
757
  var t = Ct, 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, A = new Array(E > 1 ? E - 1 : 0), _ = 1; _ < E; _++)
761
- A[_ - 1] = arguments[_];
762
- n("error", C, A);
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);
763
763
  }
764
764
  }
765
- function n(C, E, A) {
765
+ function n(C, E, M) {
766
766
  {
767
- var _ = e.ReactDebugCurrentFrame, M = _.getStackAddendum();
768
- M !== "" && (E += "%s", A = A.concat([M]));
769
- var P = A.map(function(B) {
767
+ var _ = e.ReactDebugCurrentFrame, j = _.getStackAddendum();
768
+ j !== "" && (E += "%s", M = M.concat([j]));
769
+ var P = M.map(function(B) {
770
770
  return String(B);
771
771
  });
772
772
  P.unshift("Warning: " + E), Function.prototype.apply.call(console[C], console, P);
@@ -776,45 +776,45 @@ function Na() {
776
776
  return C === E && (C !== 0 || 1 / C === 1 / E) || C !== C && E !== E;
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, A) {
779
+ function d(C, E, M) {
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
781
  var _ = E();
782
782
  if (!f) {
783
- var M = E();
784
- s(_, M) || (r("The result of getSnapshot should be cached to avoid an infinite loop"), f = !0);
783
+ var j = E();
784
+ s(_, j) || (r("The result of getSnapshot should be cached to avoid an infinite loop"), f = !0);
785
785
  }
786
786
  var P = a({
787
787
  inst: {
788
788
  value: _,
789
789
  getSnapshot: E
790
790
  }
791
- }), B = P[0].inst, Q = P[1];
791
+ }), B = P[0].inst, ne = P[1];
792
792
  return o(function() {
793
- B.value = _, B.getSnapshot = E, m(B) && Q({
793
+ B.value = _, B.getSnapshot = E, m(B) && ne({
794
794
  inst: B
795
795
  });
796
796
  }, [C, _, E]), l(function() {
797
- m(B) && Q({
797
+ m(B) && ne({
798
798
  inst: B
799
799
  });
800
- var j = function() {
801
- m(B) && Q({
800
+ var W = function() {
801
+ m(B) && ne({
802
802
  inst: B
803
803
  });
804
804
  };
805
- return C(j);
805
+ return C(W);
806
806
  }, [C]), u(_), _;
807
807
  }
808
808
  function m(C) {
809
- var E = C.getSnapshot, A = C.value;
809
+ var E = C.getSnapshot, M = C.value;
810
810
  try {
811
811
  var _ = E();
812
- return !s(A, _);
812
+ return !s(M, _);
813
813
  } catch {
814
814
  return !0;
815
815
  }
816
816
  }
817
- function v(C, E, A) {
817
+ function v(C, E, M) {
818
818
  return E();
819
819
  }
820
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;
@@ -857,22 +857,22 @@ function ja() {
857
857
  function O(_) {
858
858
  if (!k) {
859
859
  if (k = !0, C = _, _ = d(_), m !== void 0 && w.hasValue) {
860
- var M = w.value;
861
- if (m(M, _))
862
- return E = M;
860
+ var j = w.value;
861
+ if (m(j, _))
862
+ return E = j;
863
863
  }
864
864
  return E = _;
865
865
  }
866
- if (M = E, n(C, _))
867
- return M;
866
+ if (j = E, n(C, _))
867
+ return j;
868
868
  var P = d(_);
869
- return m !== void 0 && m(M, P) ? M : (C = _, E = P);
869
+ return m !== void 0 && m(j, P) ? j : (C = _, E = P);
870
870
  }
871
- var k = !1, C, E, A = f === void 0 ? null : f;
871
+ var k = !1, C, E, M = f === void 0 ? null : f;
872
872
  return [function() {
873
873
  return O(c());
874
- }, A === null ? void 0 : function() {
875
- return O(A());
874
+ }, M === null ? void 0 : function() {
875
+ return O(M());
876
876
  }];
877
877
  }, [c, f, d, m]);
878
878
  var R = i(u, v[0], v[1]);
@@ -907,28 +907,28 @@ function Ma() {
907
907
  value: null
908
908
  }, w.current = R) : R = w.current;
909
909
  var O = l(function() {
910
- var A = !1, _, M, P = function(ae) {
911
- if (!A) {
912
- A = !0, _ = ae;
913
- var te = m(ae);
910
+ var M = !1, _, j, P = function(A) {
911
+ if (!M) {
912
+ M = !0, _ = A;
913
+ var te = m(A);
914
914
  if (v !== void 0 && R.hasValue) {
915
915
  var ce = R.value;
916
916
  if (v(ce, te))
917
- return M = ce, ce;
917
+ return j = ce, ce;
918
918
  }
919
- return M = te, te;
919
+ return j = te, te;
920
920
  }
921
- var ge = _, ke = M;
922
- if (n(ge, ae))
923
- return ke;
924
- var J = m(ae);
925
- return v !== void 0 && v(ke, J) ? ke : (_ = ae, M = J, J);
926
- }, B = d === void 0 ? null : d, Q = function() {
921
+ var ye = _, ve = j;
922
+ if (n(ye, A))
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
927
  return P(f());
928
- }, j = B === null ? void 0 : function() {
928
+ }, W = B === null ? void 0 : function() {
929
929
  return P(B());
930
930
  };
931
- return [Q, j];
931
+ return [ne, W];
932
932
  }, [f, d, m, v]), k = O[0], C = O[1], E = i(c, k, C);
933
933
  return a(function() {
934
934
  R.hasValue = !0, R.value = E;
@@ -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(), A = 0, _ = -1, M = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Set(), B = /* @__PURE__ */ new Map(), Q = /* @__PURE__ */ new Map(), j = null, ae = /* @__PURE__ */ new Map(), te = !1;
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;
1480
1480
  function ce() {
1481
1481
  return r = t.history.listen((g) => {
1482
1482
  let {
@@ -1488,7 +1488,7 @@ function wo(t) {
1488
1488
  te = !1;
1489
1489
  return;
1490
1490
  }
1491
- Ue(j != 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(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.");
1492
1492
  let D = gr({
1493
1493
  currentLocation: d.location,
1494
1494
  nextLocation: S,
@@ -1514,26 +1514,26 @@ function wo(t) {
1514
1514
  });
1515
1515
  return;
1516
1516
  }
1517
- return Me(b, S);
1518
- }), d.initialized || Me(le.Pop, d.location), f;
1517
+ return Ce(b, S);
1518
+ }), d.initialized || Ce(le.Pop, d.location), f;
1519
1519
  }
1520
- function ge() {
1520
+ function ye() {
1521
1521
  r && r(), n.clear(), w && w.abort(), d.fetchers.forEach((g, b) => kt(b)), d.blockers.forEach((g, b) => nt(b));
1522
1522
  }
1523
- function ke(g) {
1523
+ function ve(g) {
1524
1524
  return n.add(g), () => n.delete(g);
1525
1525
  }
1526
1526
  function J(g) {
1527
1527
  d = G({}, d, g), n.forEach((b) => b(d));
1528
1528
  }
1529
- function De(g, b) {
1529
+ function Le(g, b) {
1530
1530
  var S, L;
1531
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
1532
  b.actionData ? Object.keys(b.actionData).length > 0 ? I = b.actionData : I = null : D ? I = d.actionData : I = null;
1533
1533
  let q = b.loaderData ? ci(d.loaderData, b.loaderData, b.matches || [], b.errors) : d.loaderData;
1534
- for (let [F] of ae)
1534
+ for (let [F] of A)
1535
1535
  nt(F);
1536
- let z = v === !0 || d.navigation.formMethod != null && Ke(d.navigation.formMethod) && ((L = g.state) == null ? void 0 : L._isRedirect) !== !0;
1536
+ let Q = v === !0 || d.navigation.formMethod != null && Ke(d.navigation.formMethod) && ((L = g.state) == null ? void 0 : L._isRedirect) !== !0;
1537
1537
  J(G({}, b, {
1538
1538
  actionData: I,
1539
1539
  loaderData: q,
@@ -1543,11 +1543,11 @@ function wo(t) {
1543
1543
  navigation: nn,
1544
1544
  revalidation: "idle",
1545
1545
  restoreScrollPosition: yr(g, b.matches || d.matches),
1546
- preventScrollReset: z,
1546
+ preventScrollReset: Q,
1547
1547
  blockers: new Map(d.blockers)
1548
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 = [];
1549
1549
  }
1550
- async function re(g, b) {
1550
+ async function tt(g, b) {
1551
1551
  if (typeof g == "number") {
1552
1552
  t.history.go(g);
1553
1553
  return;
@@ -1558,8 +1558,8 @@ function wo(t) {
1558
1558
  error: D
1559
1559
  } = ai(g, b), I = d.location, q = dn(d.location, S, b && b.state);
1560
1560
  q = G({}, q, t.history.encodeLocation(q));
1561
- let z = b && b.replace != null ? b.replace : void 0, F = le.Push;
1562
- z === !0 ? F = le.Replace : z === !1 || L != null && Ke(L.formMethod) && L.formAction === d.location.pathname + d.location.search && (F = le.Replace);
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
1563
  let he = b && "preventScrollReset" in b ? b.preventScrollReset === !0 : void 0, H = gr({
1564
1564
  currentLocation: I,
1565
1565
  nextLocation: q,
@@ -1575,7 +1575,7 @@ function wo(t) {
1575
1575
  proceed: void 0,
1576
1576
  reset: void 0,
1577
1577
  location: q
1578
- }), re(g, b);
1578
+ }), tt(g, b);
1579
1579
  },
1580
1580
  reset() {
1581
1581
  nt(H), J({
@@ -1585,7 +1585,7 @@ function wo(t) {
1585
1585
  });
1586
1586
  return;
1587
1587
  }
1588
- return await Me(F, q, {
1588
+ return await Ce(F, q, {
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
@@ -1594,59 +1594,59 @@ function wo(t) {
1594
1594
  replace: b && b.replace
1595
1595
  });
1596
1596
  }
1597
- function tt() {
1597
+ function ie() {
1598
1598
  if (rt(), J({
1599
1599
  revalidation: "loading"
1600
1600
  }), d.navigation.state !== "submitting") {
1601
1601
  if (d.navigation.state === "idle") {
1602
- Me(d.historyAction, d.location, {
1602
+ Ce(d.historyAction, d.location, {
1603
1603
  startUninterruptedRevalidation: !0
1604
1604
  });
1605
1605
  return;
1606
1606
  }
1607
- Me(m || d.historyAction, d.navigation.location, {
1607
+ Ce(m || d.historyAction, d.navigation.location, {
1608
1608
  overrideNavigation: d.navigation
1609
1609
  });
1610
1610
  }
1611
1611
  }
1612
- async function Me(g, b, S) {
1612
+ async function Ce(g, b, S) {
1613
1613
  w && w.abort(), w = null, m = g, R = (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 ne = it(404, {
1616
+ let re = it(404, {
1617
1617
  pathname: b.pathname
1618
1618
  }), {
1619
- matches: Ee,
1620
- route: Re
1619
+ matches: Se,
1620
+ route: xe
1621
1621
  } = di(e);
1622
- zt(), De(b, {
1623
- matches: Ee,
1622
+ zt(), Le(b, {
1623
+ matches: Se,
1624
1624
  loaderData: {},
1625
1625
  errors: {
1626
- [Re.id]: ne
1626
+ [xe.id]: re
1627
1627
  }
1628
1628
  });
1629
1629
  return;
1630
1630
  }
1631
1631
  if (xo(d.location, b) && !(S && S.submission && Ke(S.submission.formMethod))) {
1632
- De(b, {
1632
+ Le(b, {
1633
1633
  matches: D
1634
1634
  });
1635
1635
  return;
1636
1636
  }
1637
1637
  w = new AbortController();
1638
- let I = Jt(t.history, b, w.signal, S && S.submission), q, z;
1638
+ let I = Jt(t.history, b, w.signal, S && S.submission), q, Q;
1639
1639
  if (S && S.pendingError)
1640
- z = {
1640
+ Q = {
1641
1641
  [qt(D).route.id]: S.pendingError
1642
1642
  };
1643
1643
  else if (S && S.submission && Ke(S.submission.formMethod)) {
1644
- let ne = await dr(I, b, S.submission, D, {
1644
+ let re = await dr(I, b, S.submission, D, {
1645
1645
  replace: S.replace
1646
1646
  });
1647
- if (ne.shortCircuited)
1647
+ if (re.shortCircuited)
1648
1648
  return;
1649
- q = ne.pendingActionData, z = ne.pendingActionError, L = G({
1649
+ q = re.pendingActionData, Q = re.pendingActionError, L = G({
1650
1650
  state: "loading",
1651
1651
  location: b
1652
1652
  }, S.submission), I = new Request(I.url, {
@@ -1657,8 +1657,8 @@ function wo(t) {
1657
1657
  shortCircuited: F,
1658
1658
  loaderData: he,
1659
1659
  errors: H
1660
- } = await hr(I, b, D, L, S && S.submission, S && S.replace, q, z);
1661
- F || (w = null, De(b, G({
1660
+ } = await hr(I, b, D, L, S && S.submission, S && S.replace, q, Q);
1661
+ F || (w = null, Le(b, G({
1662
1662
  matches: D
1663
1663
  }, q ? {
1664
1664
  actionData: q
@@ -1676,17 +1676,17 @@ function wo(t) {
1676
1676
  J({
1677
1677
  navigation: I
1678
1678
  });
1679
- let q, z = mi(L, b);
1680
- if (!z.route.action)
1679
+ let q, Q = mi(L, b);
1680
+ if (!Q.route.action)
1681
1681
  q = {
1682
1682
  type: fe.error,
1683
1683
  error: it(405, {
1684
1684
  method: g.method,
1685
1685
  pathname: b.pathname,
1686
- routeId: z.route.id
1686
+ routeId: Q.route.id
1687
1687
  })
1688
1688
  };
1689
- else if (q = await Zt("action", g, z, L, f.basename), g.signal.aborted)
1689
+ else if (q = await Zt("action", g, Q, L, f.basename), g.signal.aborted)
1690
1690
  return {
1691
1691
  shortCircuited: !0
1692
1692
  };
@@ -1700,7 +1700,7 @@ function wo(t) {
1700
1700
  };
1701
1701
  }
1702
1702
  if (rr(q)) {
1703
- let F = qt(L, z.route.id);
1703
+ let F = qt(L, Q.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: {},
@@ -1715,11 +1715,11 @@ function wo(t) {
1715
1715
  });
1716
1716
  return {
1717
1717
  pendingActionData: {
1718
- [z.route.id]: q.data
1718
+ [Q.route.id]: q.data
1719
1719
  }
1720
1720
  };
1721
1721
  }
1722
- async function hr(g, b, S, L, D, I, q, z) {
1722
+ async function hr(g, b, S, L, D, I, q, Q) {
1723
1723
  let F = L;
1724
1724
  F || (F = G({
1725
1725
  state: "loading",
@@ -1734,21 +1734,21 @@ function wo(t) {
1734
1734
  formAction: F.formAction,
1735
1735
  formData: F.formData,
1736
1736
  formEncType: F.formEncType
1737
- } : void 0), [H, ne] = oi(t.history, d, S, he, b, O, k, C, q, z, B);
1738
- if (zt((de) => !(S && S.some((Oe) => Oe.route.id === de)) || H && H.some((Oe) => Oe.route.id === de)), H.length === 0 && ne.length === 0)
1739
- return De(b, G({
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)
1739
+ return Le(b, G({
1740
1740
  matches: S,
1741
1741
  loaderData: {},
1742
1742
  // Commit pending error if we're short circuiting
1743
- errors: z || null
1743
+ errors: Q || null
1744
1744
  }, q ? {
1745
1745
  actionData: q
1746
1746
  } : {})), {
1747
1747
  shortCircuited: !0
1748
1748
  };
1749
1749
  if (!R) {
1750
- ne.forEach((Oe) => {
1751
- let qe = d.fetchers.get(Oe.key), Pt = {
1750
+ re.forEach((Te) => {
1751
+ let qe = d.fetchers.get(Te.key), Pt = {
1752
1752
  state: "loading",
1753
1753
  data: qe && qe.data,
1754
1754
  formMethod: void 0,
@@ -1757,7 +1757,7 @@ function wo(t) {
1757
1757
  formData: void 0,
1758
1758
  " _hasFetcherDoneAnything ": !0
1759
1759
  };
1760
- d.fetchers.set(Oe.key, Pt);
1760
+ d.fetchers.set(Te.key, Pt);
1761
1761
  });
1762
1762
  let de = q || d.actionData;
1763
1763
  J(G({
@@ -1766,22 +1766,22 @@ function wo(t) {
1766
1766
  actionData: null
1767
1767
  } : {
1768
1768
  actionData: de
1769
- } : {}, ne.length > 0 ? {
1769
+ } : {}, re.length > 0 ? {
1770
1770
  fetchers: new Map(d.fetchers)
1771
1771
  } : {}));
1772
1772
  }
1773
- _ = ++A, ne.forEach((de) => E.set(de.key, w));
1773
+ _ = ++M, re.forEach((de) => E.set(de.key, w));
1774
1774
  let {
1775
- results: Ee,
1776
- loaderResults: Re,
1775
+ results: Se,
1776
+ loaderResults: xe,
1777
1777
  fetcherResults: Qe
1778
- } = await Tt(d.matches, S, H, ne, g);
1778
+ } = await Tt(d.matches, S, H, re, g);
1779
1779
  if (g.signal.aborted)
1780
1780
  return {
1781
1781
  shortCircuited: !0
1782
1782
  };
1783
- ne.forEach((de) => E.delete(de.key));
1784
- let dt = hi(Ee);
1783
+ re.forEach((de) => E.delete(de.key));
1784
+ let dt = hi(Se);
1785
1785
  if (dt)
1786
1786
  return await Ae(d, dt, {
1787
1787
  replace: I
@@ -1789,19 +1789,19 @@ function wo(t) {
1789
1789
  shortCircuited: !0
1790
1790
  };
1791
1791
  let {
1792
- loaderData: Le,
1792
+ loaderData: Pe,
1793
1793
  errors: Fe
1794
- } = ui(d, S, H, Re, z, ne, Qe, Q);
1795
- Q.forEach((de, Oe) => {
1794
+ } = ui(d, S, H, xe, Q, re, Qe, ne);
1795
+ ne.forEach((de, Te) => {
1796
1796
  de.subscribe((qe) => {
1797
- (qe || de.done) && Q.delete(Oe);
1797
+ (qe || de.done) && ne.delete(Te);
1798
1798
  });
1799
1799
  }), Lt();
1800
1800
  let ht = ct(_);
1801
1801
  return G({
1802
- loaderData: Le,
1802
+ loaderData: Pe,
1803
1803
  errors: Fe
1804
- }, ht || ne.length > 0 ? {
1804
+ }, ht || re.length > 0 ? {
1805
1805
  fetchers: new Map(d.fetchers)
1806
1806
  } : {});
1807
1807
  }
@@ -1822,35 +1822,35 @@ function wo(t) {
1822
1822
  let {
1823
1823
  path: I,
1824
1824
  submission: q
1825
- } = ai(S, L, !0), z = mi(D, I);
1825
+ } = ai(S, L, !0), Q = mi(D, I);
1826
1826
  if (v = (L && L.preventScrollReset) === !0, q && Ke(q.formMethod)) {
1827
- Bt(g, b, I, z, D, q);
1827
+ Bt(g, b, I, Q, D, q);
1828
1828
  return;
1829
1829
  }
1830
1830
  B.set(g, {
1831
1831
  routeId: b,
1832
1832
  path: I,
1833
- match: z,
1833
+ match: Q,
1834
1834
  matches: D
1835
- }), Ht(g, b, I, z, D, q);
1835
+ }), Ht(g, b, I, Q, D, q);
1836
1836
  }
1837
1837
  async function Bt(g, b, S, L, D, I) {
1838
1838
  if (rt(), B.delete(g), !L.route.action) {
1839
- let Pe = it(405, {
1839
+ let Ne = it(405, {
1840
1840
  method: I.formMethod,
1841
1841
  pathname: S,
1842
1842
  routeId: b
1843
1843
  });
1844
- Qt(g, b, Pe);
1844
+ Qt(g, b, Ne);
1845
1845
  return;
1846
1846
  }
1847
- let q = d.fetchers.get(g), z = G({
1847
+ let q = d.fetchers.get(g), Q = G({
1848
1848
  state: "submitting"
1849
1849
  }, I, {
1850
1850
  data: q && q.data,
1851
1851
  " _hasFetcherDoneAnything ": !0
1852
1852
  });
1853
- d.fetchers.set(g, z), J({
1853
+ d.fetchers.set(g, Q), J({
1854
1854
  fetchers: new Map(d.fetchers)
1855
1855
  });
1856
1856
  let F = new AbortController(), he = Jt(t.history, S, F.signal, I);
@@ -1862,13 +1862,13 @@ function wo(t) {
1862
1862
  }
1863
1863
  if (Vt(H)) {
1864
1864
  E.delete(g), P.add(g);
1865
- let Pe = G({
1865
+ let Ne = G({
1866
1866
  state: "loading"
1867
1867
  }, I, {
1868
1868
  data: void 0,
1869
1869
  " _hasFetcherDoneAnything ": !0
1870
1870
  });
1871
- return d.fetchers.set(g, Pe), J({
1871
+ return d.fetchers.set(g, Ne), J({
1872
1872
  fetchers: new Map(d.fetchers)
1873
1873
  }), Ae(d, H, {
1874
1874
  isFetchActionRedirect: !0
@@ -1882,10 +1882,10 @@ function wo(t) {
1882
1882
  throw it(400, {
1883
1883
  type: "defer-action"
1884
1884
  });
1885
- let ne = d.navigation.location || d.location, Ee = Jt(t.history, ne, F.signal), Re = d.navigation.state !== "idle" ? er(e, d.navigation.location, t.basename) : d.matches;
1886
- N(Re, "Didn't find any matches after fetcher action");
1887
- let Qe = ++A;
1888
- M.set(g, Qe);
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;
1888
+ j.set(g, Qe);
1889
1889
  let dt = G({
1890
1890
  state: "loading",
1891
1891
  data: H.data
@@ -1893,12 +1893,12 @@ function wo(t) {
1893
1893
  " _hasFetcherDoneAnything ": !0
1894
1894
  });
1895
1895
  d.fetchers.set(g, dt);
1896
- let [Le, Fe] = oi(
1896
+ let [Pe, Fe] = oi(
1897
1897
  t.history,
1898
1898
  d,
1899
- Re,
1899
+ xe,
1900
1900
  I,
1901
- ne,
1901
+ re,
1902
1902
  O,
1903
1903
  k,
1904
1904
  C,
@@ -1909,8 +1909,8 @@ function wo(t) {
1909
1909
  // No need to send through errors since we short circuit above
1910
1910
  B
1911
1911
  );
1912
- Fe.filter((Pe) => Pe.key !== g).forEach((Pe) => {
1913
- let jt = Pe.key, br = d.fetchers.get(jt), Zr = {
1912
+ Fe.filter((Ne) => Ne.key !== g).forEach((Ne) => {
1913
+ let jt = Ne.key, br = d.fetchers.get(jt), Zr = {
1914
1914
  state: "loading",
1915
1915
  data: br && br.data,
1916
1916
  formMethod: void 0,
@@ -1926,18 +1926,18 @@ function wo(t) {
1926
1926
  let {
1927
1927
  results: ht,
1928
1928
  loaderResults: de,
1929
- fetcherResults: Oe
1930
- } = await Tt(d.matches, Re, Le, Fe, Ee);
1929
+ fetcherResults: Te
1930
+ } = await Tt(d.matches, xe, Pe, Fe, Se);
1931
1931
  if (F.signal.aborted)
1932
1932
  return;
1933
- M.delete(g), E.delete(g), Fe.forEach((Pe) => E.delete(Pe.key));
1933
+ j.delete(g), E.delete(g), Fe.forEach((Ne) => E.delete(Ne.key));
1934
1934
  let qe = hi(ht);
1935
1935
  if (qe)
1936
1936
  return Ae(d, qe);
1937
1937
  let {
1938
1938
  loaderData: Pt,
1939
1939
  errors: Nt
1940
- } = ui(d, d.matches, Le, de, void 0, Fe, Oe, Q), vr = {
1940
+ } = ui(d, d.matches, Pe, de, void 0, Fe, Te, ne), vr = {
1941
1941
  state: "idle",
1942
1942
  data: H.data,
1943
1943
  formMethod: void 0,
@@ -1948,20 +1948,20 @@ 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(), De(d.navigation.location, {
1952
- matches: Re,
1951
+ d.navigation.state === "loading" && Qe > _ ? (N(m, "Expected pending action"), w && w.abort(), Le(d.navigation.location, {
1952
+ matches: xe,
1953
1953
  loaderData: Pt,
1954
1954
  errors: Nt,
1955
1955
  fetchers: new Map(d.fetchers)
1956
1956
  })) : (J(G({
1957
1957
  errors: Nt,
1958
- loaderData: ci(d.loaderData, Pt, Re, Nt)
1958
+ loaderData: ci(d.loaderData, Pt, xe, Nt)
1959
1959
  }, Gr ? {
1960
1960
  fetchers: new Map(d.fetchers)
1961
1961
  } : {})), O = !1);
1962
1962
  }
1963
1963
  async function Ht(g, b, S, L, D, I) {
1964
- let q = d.fetchers.get(g), z = G({
1964
+ let q = d.fetchers.get(g), Q = G({
1965
1965
  state: "loading",
1966
1966
  formMethod: void 0,
1967
1967
  formAction: void 0,
@@ -1971,7 +1971,7 @@ function wo(t) {
1971
1971
  data: q && q.data,
1972
1972
  " _hasFetcherDoneAnything ": !0
1973
1973
  });
1974
- d.fetchers.set(g, z), J({
1974
+ d.fetchers.set(g, Q), J({
1975
1975
  fetchers: new Map(d.fetchers)
1976
1976
  });
1977
1977
  let F = new AbortController(), he = Jt(t.history, S, F.signal);
@@ -1984,17 +1984,17 @@ function wo(t) {
1984
1984
  return;
1985
1985
  }
1986
1986
  if (rr(H)) {
1987
- let Ee = qt(d.matches, b);
1987
+ let Se = qt(d.matches, b);
1988
1988
  d.fetchers.delete(g), J({
1989
1989
  fetchers: new Map(d.fetchers),
1990
1990
  errors: {
1991
- [Ee.route.id]: H.error
1991
+ [Se.route.id]: H.error
1992
1992
  }
1993
1993
  });
1994
1994
  return;
1995
1995
  }
1996
1996
  N(!pt(H), "Unhandled fetcher deferred data");
1997
- let ne = {
1997
+ let re = {
1998
1998
  state: "idle",
1999
1999
  data: H.data,
2000
2000
  formMethod: void 0,
@@ -2003,7 +2003,7 @@ function wo(t) {
2003
2003
  formData: void 0,
2004
2004
  " _hasFetcherDoneAnything ": !0
2005
2005
  };
2006
- d.fetchers.set(g, ne), J({
2006
+ d.fetchers.set(g, re), J({
2007
2007
  fetchers: new Map(d.fetchers)
2008
2008
  });
2009
2009
  }
@@ -2015,7 +2015,7 @@ function wo(t) {
2015
2015
  isFetchActionRedirect: q
2016
2016
  } = S === void 0 ? {} : S;
2017
2017
  b.revalidate && (O = !0);
2018
- let z = dn(
2018
+ let Q = 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
@@ -2025,9 +2025,9 @@ function wo(t) {
2025
2025
  _isFetchActionRedirect: !0
2026
2026
  } : {})
2027
2027
  );
2028
- if (N(z, "Expected a location on the redirect navigation"), hs && typeof ((L = window) == null ? void 0 : L.location) < "u") {
2029
- let Re = t.history.createURL(b.location).origin;
2030
- if (window.location.origin !== Re) {
2028
+ if (N(Q, "Expected a location on the redirect navigation"), hs && typeof ((L = window) == null ? void 0 : L.location) < "u") {
2029
+ let xe = t.history.createURL(b.location).origin;
2030
+ if (window.location.origin !== xe) {
2031
2031
  I ? window.location.replace(b.location) : window.location.assign(b.location);
2032
2032
  return;
2033
2033
  }
@@ -2036,24 +2036,24 @@ function wo(t) {
2036
2036
  let F = I === !0 ? le.Replace : le.Push, {
2037
2037
  formMethod: he,
2038
2038
  formAction: H,
2039
- formEncType: ne,
2040
- formData: Ee
2039
+ formEncType: re,
2040
+ formData: Se
2041
2041
  } = g.navigation;
2042
- !D && he && H && Ee && ne && (D = {
2042
+ !D && he && H && Se && re && (D = {
2043
2043
  formMethod: he,
2044
2044
  formAction: H,
2045
- formEncType: ne,
2046
- formData: Ee
2047
- }), yo.has(b.status) && D && Ke(D.formMethod) ? await Me(F, z, {
2045
+ formEncType: re,
2046
+ formData: Se
2047
+ }), yo.has(b.status) && D && Ke(D.formMethod) ? await Ce(F, Q, {
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 Me(F, z, {
2053
+ }) : await Ce(F, Q, {
2054
2054
  overrideNavigation: {
2055
2055
  state: "loading",
2056
- location: z,
2056
+ location: Q,
2057
2057
  formMethod: D ? D.formMethod : void 0,
2058
2058
  formAction: D ? D.formAction : void 0,
2059
2059
  formEncType: D ? D.formEncType : void 0,
@@ -2064,11 +2064,11 @@ function wo(t) {
2064
2064
  });
2065
2065
  }
2066
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), z = 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), z, D.signal, !0)]), {
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
2069
  results: I,
2070
2070
  loaderResults: q,
2071
- fetcherResults: z
2071
+ fetcherResults: Q
2072
2072
  };
2073
2073
  }
2074
2074
  function rt() {
@@ -2086,7 +2086,7 @@ function wo(t) {
2086
2086
  });
2087
2087
  }
2088
2088
  function kt(g) {
2089
- E.has(g) && Dt(g), B.delete(g), M.delete(g), P.delete(g), d.fetchers.delete(g);
2089
+ E.has(g) && Dt(g), B.delete(g), j.delete(g), P.delete(g), d.fetchers.delete(g);
2090
2090
  }
2091
2091
  function Dt(g) {
2092
2092
  let b = E.get(g);
@@ -2116,19 +2116,19 @@ function wo(t) {
2116
2116
  }
2117
2117
  function ct(g) {
2118
2118
  let b = [];
2119
- for (let [S, L] of M)
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), M.delete(S), b.push(S));
2122
+ N(D, "Expected fetcher: " + S), D.state === "loading" && (Dt(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 ae.get(g) !== b && (ae.set(g, b), j == null ? j = g : g !== j && Ue(!1, "A router only supports one blocker at a time")), S;
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;
2129
2129
  }
2130
2130
  function nt(g) {
2131
- d.blockers.delete(g), ae.delete(g), j === g && (j = null);
2131
+ d.blockers.delete(g), A.delete(g), W === g && (W = null);
2132
2132
  }
2133
2133
  function He(g, b) {
2134
2134
  let S = d.blockers.get(g) || si;
@@ -2142,22 +2142,22 @@ function wo(t) {
2142
2142
  nextLocation: S,
2143
2143
  historyAction: L
2144
2144
  } = g;
2145
- if (j == null)
2145
+ if (W == null)
2146
2146
  return;
2147
- let D = ae.get(j);
2147
+ let D = A.get(W);
2148
2148
  N(D, "Could not find a function for the active blocker");
2149
- let I = d.blockers.get(j);
2149
+ let I = d.blockers.get(W);
2150
2150
  if (!(I && I.state === "proceeding") && D({
2151
2151
  currentLocation: b,
2152
2152
  nextLocation: S,
2153
2153
  historyAction: L
2154
2154
  }))
2155
- return j;
2155
+ return W;
2156
2156
  }
2157
2157
  function zt(g) {
2158
2158
  let b = [];
2159
- return Q.forEach((S, L) => {
2160
- (!g || g(L)) && (S.cancel(), b.push(L), Q.delete(L));
2159
+ return ne.forEach((S, L) => {
2160
+ (!g || g(L)) && (S.cancel(), b.push(L), ne.delete(L));
2161
2161
  }), b;
2162
2162
  }
2163
2163
  function Wt(g, b, S) {
@@ -2197,22 +2197,22 @@ function wo(t) {
2197
2197
  return e;
2198
2198
  },
2199
2199
  initialize: ce,
2200
- subscribe: ke,
2200
+ subscribe: ve,
2201
2201
  enableScrollRestoration: Wt,
2202
- navigate: re,
2202
+ navigate: tt,
2203
2203
  fetch: Kr,
2204
- revalidate: tt,
2204
+ revalidate: ie,
2205
2205
  // Passthrough to history-aware createHref used by useHref so we get proper
2206
2206
  // hash-aware URLs in DOM paths
2207
2207
  createHref: (g) => t.history.createHref(g),
2208
2208
  encodeLocation: (g) => t.history.encodeLocation(g),
2209
2209
  getFetcher: fr,
2210
2210
  deleteFetcher: kt,
2211
- dispose: ge,
2211
+ dispose: ye,
2212
2212
  getBlocker: mr,
2213
2213
  deleteBlocker: nt,
2214
2214
  _internalFetchControllers: E,
2215
- _internalActiveDeferreds: Q
2215
+ _internalActiveDeferreds: ne
2216
2216
  }, f;
2217
2217
  }
2218
2218
  function Co(t) {
@@ -2266,21 +2266,21 @@ function oi(t, e, r, n, i, s, a, l, o, u, c) {
2266
2266
  ), w = u ? Object.keys(u)[0] : void 0, O = Eo(r, w).filter((C, E) => {
2267
2267
  if (C.route.loader == null)
2268
2268
  return !1;
2269
- if (Ro(e.loaderData, e.matches[E], C) || a.some((M) => M === C.route.id))
2269
+ if (Ro(e.loaderData, e.matches[E], C) || a.some((j) => j === C.route.id))
2270
2270
  return !0;
2271
- let A = e.matches[E], _ = C;
2271
+ let M = e.matches[E], _ = C;
2272
2272
  return li(C, G({
2273
2273
  currentUrl: d,
2274
- currentParams: A.params,
2274
+ currentParams: M.params,
2275
2275
  nextUrl: m,
2276
2276
  nextParams: _.params
2277
2277
  }, n, {
2278
2278
  actionResult: f,
2279
- defaultShouldRevalidate: v || fs(A, _)
2279
+ defaultShouldRevalidate: v || fs(M, _)
2280
2280
  }));
2281
2281
  }), k = [];
2282
2282
  return c && c.forEach((C, E) => {
2283
- if (r.some((A) => A.route.id === C.routeId))
2283
+ if (r.some((M) => M.route.id === C.routeId))
2284
2284
  l.includes(E) ? k.push(G({
2285
2285
  key: E
2286
2286
  }, C)) : li(C.match, G({
@@ -2349,10 +2349,10 @@ async function Zt(t, e, r, n, i, s, a, l) {
2349
2349
  C.origin === k.origin && (R = 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((A) => A.pathnameBase), E = wn(R, C, new URL(e.url).pathname);
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
2353
  if (N(Ve(E), "Unable to resolve redirect location: " + R), i) {
2354
- let A = E.pathname;
2355
- E.pathname = A === "/" ? i : Ie([i, A]);
2354
+ let M = E.pathname;
2355
+ E.pathname = M === "/" ? i : Ie([i, M]);
2356
2356
  }
2357
2357
  R = Ve(E);
2358
2358
  }
@@ -3228,18 +3228,18 @@ const fl = /* @__PURE__ */ p.forwardRef(function(e, r) {
3228
3228
  navigator: v
3229
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
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, A;
3232
- typeof s == "function" ? A = s({
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({
3233
3233
  isActive: k,
3234
3234
  isPending: C
3235
- }) : A = [s, k ? "active" : null, C ? "pending" : null].filter(Boolean).join(" ");
3235
+ }) : M = [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
3240
  return /* @__PURE__ */ p.createElement(qr, vt({}, c, {
3241
3241
  "aria-current": E,
3242
- className: A,
3242
+ className: M,
3243
3243
  ref: r,
3244
3244
  style: _,
3245
3245
  to: o
@@ -3508,48 +3508,48 @@ function _s({
3508
3508
  wrapperClass: e = "qikbar-command-wrapper",
3509
3509
  defaultOpen: r = !1
3510
3510
  }) {
3511
- 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(), [A, _] = We(0), M = we();
3511
+ 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();
3512
3512
  if (Ge(() => {
3513
- var Q;
3514
- v && ((Q = E.current) == null || Q.focus(), _(0), document.body.style.overflow = "hidden"), v || (s(""), m(!1), u([]), f([]), document.body.style.overflow = "unset");
3513
+ var W;
3514
+ v && ((W = E.current) == null || W.focus(), _(0), document.body.style.overflow = "hidden"), v || (s(""), m(!1), u([]), f([]), document.body.style.overflow = "unset");
3515
3515
  }, [v, i.pathname]), Ge(() => {
3516
- const Q = (j) => {
3517
- var ae, te, ce, ge, ke, J, De;
3518
- if (v && ["Space", "ArrowUp", "ArrowDown"].indexOf(j.key) > -1 && j.preventDefault(), j.metaKey && j.key === "Enter") {
3519
- j.preventDefault(), j.stopPropagation();
3516
+ const W = (A) => {
3517
+ var te, ce, ye, ve, J, Le, tt;
3518
+ if (v && ["Space", "ArrowUp", "ArrowDown"].indexOf(A.key) > -1 && A.preventDefault(), A.metaKey && A.key === "Enter") {
3519
+ A.preventDefault(), A.stopPropagation();
3520
3520
  return;
3521
3521
  }
3522
- if (v && j.key === "ArrowDown" && j.target.localName === "input" && ((ae = n.current) != null && ae.getElementsByClassName("qikbar-item")[1]) && (_(1), n.current.getElementsByClassName(
3522
+ if (v && A.key === "ArrowDown" && A.target.localName === "input" && ((te = n.current) != null && te.getElementsByClassName("qikbar-item")[1]) && (_(1), n.current.getElementsByClassName(
3523
3523
  "qikbar-item"
3524
- )[1].focus()), v && j.target.localName === "input" && R === "" && j.key === "Backspace" && (s(-1), f((re) => re.slice(0, -1))), v && j.key === "Escape" && !t && (O(""), s(""), w(!1), u([])), v && j.key === "Enter" && j.target.localName === "input" && ((te = n.current) != null && te.getElementsByClassName("qikbar-item")[0]) && (n.current.getElementsByClassName(
3524
+ )[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(
3525
3525
  "qikbar-item"
3526
- )[0].click(), O("")), v && j.key === "ArrowDown" && j.target.getAttribute("data-testid") === "qikbar-item" && j.target.nextElementSibling) {
3527
- let re;
3528
- j.target.nextElementSibling.className === "qikbar-category-wrapper" ? re = j.target.nextElementSibling.nextElementSibling : re = j.target.nextElementSibling;
3529
- const tt = Array.prototype.indexOf.call(
3530
- (ge = (ce = j.target) == null ? void 0 : ce.parentNode) == null ? void 0 : ge.getElementsByClassName("qikbar-item"),
3531
- re
3526
+ )[0].click(), O("")), v && A.key === "ArrowDown" && A.target.getAttribute("data-testid") === "qikbar-item" && A.target.nextElementSibling) {
3527
+ let ie;
3528
+ A.target.nextElementSibling.className === "qikbar-category-wrapper" ? ie = A.target.nextElementSibling.nextElementSibling : ie = A.target.nextElementSibling;
3529
+ const Ce = Array.prototype.indexOf.call(
3530
+ (ve = (ye = A.target) == null ? void 0 : ye.parentNode) == null ? void 0 : ve.getElementsByClassName("qikbar-item"),
3531
+ ie
3532
3532
  );
3533
- _(tt), re == null || re.focus();
3533
+ _(Ce), ie == null || ie.focus();
3534
3534
  }
3535
- if (v && j.key === "ArrowUp" && j.target.getAttribute("data-testid") === "qikbar-item" && j.target.previousElementSibling) {
3536
- let re;
3537
- if (j.target.previousElementSibling.className === "qikbar-category-wrapper" ? re = j.target.previousElementSibling.previousElementSibling : re = j.target.previousElementSibling, !re)
3535
+ if (v && A.key === "ArrowUp" && A.target.getAttribute("data-testid") === "qikbar-item" && A.target.previousElementSibling) {
3536
+ let ie;
3537
+ if (A.target.previousElementSibling.className === "qikbar-category-wrapper" ? ie = A.target.previousElementSibling.previousElementSibling : ie = A.target.previousElementSibling, !ie)
3538
3538
  return;
3539
- const tt = Array.prototype.indexOf.call(
3540
- (J = (ke = j.target) == null ? void 0 : ke.parentNode) == null ? void 0 : J.getElementsByClassName("qikbar-item"),
3541
- re
3539
+ const Ce = Array.prototype.indexOf.call(
3540
+ (Le = (J = A.target) == null ? void 0 : J.parentNode) == null ? void 0 : Le.getElementsByClassName("qikbar-item"),
3541
+ ie
3542
3542
  );
3543
- _(tt), re == null || re.focus();
3543
+ _(Ce), ie == null || ie.focus();
3544
3544
  }
3545
- v && j.key !== "ArrowUp" && j.key !== "ArrowDown" && j.key !== "Enter" && !j.metaKey && !t && (_(0), (De = E.current) == null || De.focus()), j.metaKey && j.key === "k" && !t && (v && (s(""), O(""), _(0), u([]), f([])), w((re) => !re)), v && j.key === "Enter" && O("");
3545
+ 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("");
3546
3546
  };
3547
- return document.addEventListener("keydown", Q), () => {
3548
- document.removeEventListener("keydown", Q);
3547
+ return document.addEventListener("keydown", W), () => {
3548
+ document.removeEventListener("keydown", W);
3549
3549
  };
3550
3550
  }, [v, R]), !v)
3551
3551
  return null;
3552
- const B = !!new URLSearchParams(window.location.search).get("qikbarAdmin");
3552
+ const B = !!new URLSearchParams(window.location.search).get("qikbarAdmin"), ne = "https://app.qikbar.com";
3553
3553
  return /* @__PURE__ */ y.jsxs(
3554
3554
  "div",
3555
3555
  {
@@ -3560,12 +3560,7 @@ function _s({
3560
3560
  "div",
3561
3561
  {
3562
3562
  className: a ? "qikbar-embedded" : "qickbar-embedded-hidden",
3563
- children: /* @__PURE__ */ y.jsx(
3564
- "iframe",
3565
- {
3566
- src: `http://localhost:3000/sites/${M.id}/edit/?embedded=true`
3567
- }
3568
- )
3563
+ children: /* @__PURE__ */ y.jsx("iframe", { src: `${ne}/sites/${j.id}/edit/?embedded=true` })
3569
3564
  }
3570
3565
  ),
3571
3566
  /* @__PURE__ */ y.jsx(
@@ -3577,7 +3572,7 @@ function _s({
3577
3572
  searchRef: E,
3578
3573
  setIsOpen: w,
3579
3574
  setSearch: O,
3580
- activeIndex: A,
3575
+ activeIndex: M,
3581
3576
  placeholder: k,
3582
3577
  setPlaceholder: C,
3583
3578
  setActions: u,
@@ -3586,22 +3581,22 @@ function _s({
3586
3581
  actions: o,
3587
3582
  showActions: d,
3588
3583
  setShowActions: m,
3589
- navigateTo: (Q, j, ae = "self") => {
3590
- var te, ce;
3591
- switch (m(!1), O(""), ae) {
3584
+ navigateTo: (W, A, te = "self") => {
3585
+ var ce, ye;
3586
+ switch (m(!1), O(""), te) {
3592
3587
  case "self":
3593
- _(0), s(Q), (te = E.current) == null || te.focus(), Q !== (i == null ? void 0 : i.pathname) && u([]), n.current.getElementsByClassName(
3588
+ _(0), s(W), (ce = E.current) == null || ce.focus(), W !== (i == null ? void 0 : i.pathname) && u([]), n.current.getElementsByClassName(
3594
3589
  "qikbar-list"
3595
- )[0].scrollTo(0, 0), f((ge) => [...ge, { title: j, to: Q }]);
3590
+ )[0].scrollTo(0, 0), f((ve) => [...ve, { title: A, to: W }]);
3596
3591
  break;
3597
3592
  case "internal":
3598
- s(""), w(!1), f([]), u([]), M != null && M.router ? (ce = M == null ? void 0 : M.router) == null || ce.call(M, Q) : window.location = Q;
3593
+ s(""), w(!1), f([]), u([]), j != null && j.router ? (ye = j == null ? void 0 : j.router) == null || ye.call(j, W) : window.location = W;
3599
3594
  break;
3600
3595
  case "external":
3601
- s(""), w(!1), f([]), u([]), window.open(Q, "_blank");
3596
+ s(""), w(!1), f([]), u([]), window.open(W, "_blank");
3602
3597
  break;
3603
3598
  default:
3604
- s(Q), f((ge) => [...ge, { title: j, to: Q }]);
3599
+ s(W), f((ve) => [...ve, { title: A, to: W }]);
3605
3600
  }
3606
3601
  }
3607
3602
  },
@@ -4080,7 +4075,7 @@ function Rn({
4080
4075
  tag: o
4081
4076
  }
4082
4077
  }) {
4083
- const { setIsOpen: u, setCrumbs: c, setActions: f, demo: d } = Et(ut), m = we();
4078
+ const { setIsOpen: u, setCrumbs: c, setActions: f, demo: d } = Et(ut), m = Ee();
4084
4079
  if (l)
4085
4080
  return null;
4086
4081
  const v = i ? "a" : qr, w = (k) => {
@@ -4187,7 +4182,7 @@ class cr {
4187
4182
  }
4188
4183
  }
4189
4184
  const ir = typeof window > "u" || "Deno" in window;
4190
- function Te() {
4185
+ function De() {
4191
4186
  }
4192
4187
  function vu(t, e) {
4193
4188
  return typeof t == "function" ? t(e) : t;
@@ -4449,8 +4444,8 @@ function Fs(t) {
4449
4444
  var k, C;
4450
4445
  if (n)
4451
4446
  return;
4452
- const E = (k = t.retry) != null ? k : 3, A = (C = t.retryDelay) != null ? C : Eu, _ = typeof A == "function" ? A(r, O) : A, M = E === !0 || typeof E == "number" && r < E || typeof E == "function" && E(r, O);
4453
- if (e || !M) {
4447
+ 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);
4448
+ if (e || !j) {
4454
4449
  m(O);
4455
4450
  return;
4456
4451
  }
@@ -4570,7 +4565,7 @@ class Su extends qs {
4570
4565
  cancel(e) {
4571
4566
  var r;
4572
4567
  const n = this.promise;
4573
- return (r = this.retryer) == null || r.cancel(e), n ? n.then(Te).catch(Te) : Promise.resolve();
4568
+ return (r = this.retryer) == null || r.cancel(e), n ? n.then(De).catch(De) : Promise.resolve();
4574
4569
  }
4575
4570
  destroy() {
4576
4571
  super.destroy(), this.cancel({
@@ -4935,11 +4930,11 @@ class _u extends qs {
4935
4930
  var C;
4936
4931
  return this.retryer = Fs({
4937
4932
  fn: () => this.options.mutationFn ? this.options.mutationFn(this.state.variables) : Promise.reject("No mutationFn found"),
4938
- onFail: (E, A) => {
4933
+ onFail: (E, M) => {
4939
4934
  this.dispatch({
4940
4935
  type: "failed",
4941
4936
  failureCount: E,
4942
- error: A
4937
+ error: M
4943
4938
  });
4944
4939
  },
4945
4940
  onPause: () => {
@@ -5122,7 +5117,7 @@ class ku extends cr {
5122
5117
  }
5123
5118
  resumePausedMutations() {
5124
5119
  const e = this.mutations.filter((r) => r.state.isPaused);
5125
- return ue.batch(() => e.reduce((r, n) => r.then(() => n.continue().catch(Te)), Promise.resolve()));
5120
+ return ue.batch(() => e.reduce((r, n) => r.then(() => n.continue().catch(De)), Promise.resolve()));
5126
5121
  }
5127
5122
  }
5128
5123
  function Du() {
@@ -5136,8 +5131,8 @@ function Du() {
5136
5131
  Object.defineProperty(_, "signal", {
5137
5132
  enumerable: !0,
5138
5133
  get: () => {
5139
- var M;
5140
- if ((M = t.signal) != null && M.aborted)
5134
+ var j;
5135
+ if ((j = t.signal) != null && j.aborted)
5141
5136
  w = !0;
5142
5137
  else {
5143
5138
  var P;
@@ -5148,29 +5143,29 @@ function Du() {
5148
5143
  return t.signal;
5149
5144
  }
5150
5145
  });
5151
- }, O = t.options.queryFn || (() => Promise.reject("Missing queryFn")), k = (_, M, P, B) => (v = B ? [M, ...v] : [...v, M], B ? [P, ..._] : [..._, P]), C = (_, M, P, B) => {
5146
+ }, 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) => {
5152
5147
  if (w)
5153
5148
  return Promise.reject("Cancelled");
5154
- if (typeof P > "u" && !M && _.length)
5149
+ if (typeof P > "u" && !j && _.length)
5155
5150
  return Promise.resolve(_);
5156
- const Q = {
5151
+ const ne = {
5157
5152
  queryKey: t.queryKey,
5158
5153
  pageParam: P,
5159
5154
  meta: t.options.meta
5160
5155
  };
5161
- R(Q);
5162
- const j = O(Q);
5163
- return Promise.resolve(j).then((te) => k(_, P, te, B));
5156
+ R(ne);
5157
+ const W = O(ne);
5158
+ return Promise.resolve(W).then((te) => k(_, P, te, B));
5164
5159
  };
5165
5160
  let E;
5166
5161
  if (!d.length)
5167
5162
  E = C([]);
5168
5163
  else if (c) {
5169
- const _ = typeof u < "u", M = _ ? u : ki(t.options, d);
5170
- E = C(d, _, M);
5164
+ const _ = typeof u < "u", j = _ ? u : ki(t.options, d);
5165
+ E = C(d, _, j);
5171
5166
  } else if (f) {
5172
- const _ = typeof u < "u", M = _ ? u : Lu(t.options, d);
5173
- E = C(d, _, M, !0);
5167
+ const _ = typeof u < "u", j = _ ? u : Lu(t.options, d);
5168
+ E = C(d, _, j, !0);
5174
5169
  } else {
5175
5170
  v = [];
5176
5171
  const _ = typeof t.options.getNextPageParam > "u";
@@ -5178,8 +5173,8 @@ function Du() {
5178
5173
  for (let P = 1; P < d.length; P++)
5179
5174
  E = E.then((B) => {
5180
5175
  if (l && d[P] ? l(d[P], P, d) : !0) {
5181
- const j = _ ? m[P] : ki(t.options, B);
5182
- return C(B, _, j);
5176
+ const W = _ ? m[P] : ki(t.options, B);
5177
+ return C(B, _, W);
5183
5178
  }
5184
5179
  return Promise.resolve(k(B, m[P], d[P]));
5185
5180
  });
@@ -5280,7 +5275,7 @@ class Pu {
5280
5275
  const [i, s = {}] = st(e, r, n);
5281
5276
  typeof s.revert > "u" && (s.revert = !0);
5282
5277
  const a = ue.batch(() => this.queryCache.findAll(i).map((l) => l.cancel(s)));
5283
- return Promise.all(a).then(Te).catch(Te);
5278
+ return Promise.all(a).then(De).catch(De);
5284
5279
  }
5285
5280
  invalidateQueries(e, r, n) {
5286
5281
  const [i, s] = st(e, r, n);
@@ -5308,8 +5303,8 @@ class Pu {
5308
5303
  }
5309
5304
  });
5310
5305
  }));
5311
- let l = Promise.all(a).then(Te);
5312
- return s != null && s.throwOnError || (l = l.catch(Te)), l;
5306
+ let l = Promise.all(a).then(De);
5307
+ return s != null && s.throwOnError || (l = l.catch(De)), l;
5313
5308
  }
5314
5309
  fetchQuery(e, r, n) {
5315
5310
  const i = tr(e, r, n), s = this.defaultQueryOptions(i);
@@ -5318,14 +5313,14 @@ class Pu {
5318
5313
  return a.isStaleByTime(s.staleTime) ? a.fetch(s) : Promise.resolve(a.state.data);
5319
5314
  }
5320
5315
  prefetchQuery(e, r, n) {
5321
- return this.fetchQuery(e, r, n).then(Te).catch(Te);
5316
+ return this.fetchQuery(e, r, n).then(De).catch(De);
5322
5317
  }
5323
5318
  fetchInfiniteQuery(e, r, n) {
5324
5319
  const i = tr(e, r, n);
5325
5320
  return i.behavior = Du(), this.fetchQuery(i);
5326
5321
  }
5327
5322
  prefetchInfiniteQuery(e, r, n) {
5328
- return this.fetchInfiniteQuery(e, r, n).then(Te).catch(Te);
5323
+ return this.fetchInfiniteQuery(e, r, n).then(De).catch(De);
5329
5324
  }
5330
5325
  resumePausedMutations() {
5331
5326
  return this.mutationCache.resumePausedMutations();
@@ -5478,7 +5473,7 @@ class Nu extends cr {
5478
5473
  executeFetch(e) {
5479
5474
  this.updateQuery();
5480
5475
  let r = this.currentQuery.fetch(this.options, e);
5481
- return e != null && e.throwOnError || (r = r.catch(Te)), r;
5476
+ return e != null && e.throwOnError || (r = r.catch(De)), r;
5482
5477
  }
5483
5478
  updateStaleTimeout() {
5484
5479
  if (this.clearStaleTimeout(), ir || this.currentResult.isStale || !pn(this.options.staleTime))
@@ -5518,8 +5513,8 @@ class Nu extends cr {
5518
5513
  status: R
5519
5514
  } = f, O = !1, k = !1, C;
5520
5515
  if (r._optimisticResults) {
5521
- const P = this.hasListeners(), B = !P && Di(e, r), Q = P && Li(e, n, r, i);
5522
- (B || Q) && (w = Vr(e.options.networkMode) ? "fetching" : "paused", d || (R = "loading")), r._optimisticResults === "isRestoring" && (w = "idle");
5516
+ const P = this.hasListeners(), B = !P && Di(e, r), ne = P && Li(e, n, r, i);
5517
+ (B || ne) && (w = Vr(e.options.networkMode) ? "fetching" : "paused", d || (R = "loading")), r._optimisticResults === "isRestoring" && (w = "idle");
5523
5518
  }
5524
5519
  if (r.keepPreviousData && !f.dataUpdatedAt && c != null && c.isSuccess && R !== "error")
5525
5520
  C = c.data, d = c.dataUpdatedAt, R = c.status, O = !0;
@@ -5547,14 +5542,14 @@ class Nu extends cr {
5547
5542
  typeof P < "u" && (R = "success", C = gn(s == null ? void 0 : s.data, P, r), k = !0);
5548
5543
  }
5549
5544
  this.selectError && (m = this.selectError, C = this.selectResult, v = Date.now(), R = "error");
5550
- const E = w === "fetching", A = R === "loading", _ = R === "error";
5545
+ const E = w === "fetching", M = R === "loading", _ = R === "error";
5551
5546
  return {
5552
5547
  status: R,
5553
5548
  fetchStatus: w,
5554
- isLoading: A,
5549
+ isLoading: M,
5555
5550
  isSuccess: R === "success",
5556
5551
  isError: _,
5557
- isInitialLoading: A && E,
5552
+ isInitialLoading: M && E,
5558
5553
  data: C,
5559
5554
  dataUpdatedAt: d,
5560
5555
  error: m,
@@ -5565,7 +5560,7 @@ class Nu extends cr {
5565
5560
  isFetched: f.dataUpdateCount > 0 || f.errorUpdateCount > 0,
5566
5561
  isFetchedAfterMount: f.dataUpdateCount > u.dataUpdateCount || f.errorUpdateCount > u.errorUpdateCount,
5567
5562
  isFetching: E,
5568
- isRefetching: E && !A,
5563
+ isRefetching: E && !M,
5569
5564
  isLoadingError: _ && f.dataUpdatedAt === 0,
5570
5565
  isPaused: w === "paused",
5571
5566
  isPlaceholderData: k,
@@ -5988,7 +5983,7 @@ function Kc(t, e, r) {
5988
5983
  return n === void 0 ? r : n;
5989
5984
  }
5990
5985
  var Yc = Kc;
5991
- class Ne {
5986
+ class je {
5992
5987
  constructor(e, r, n, i, s) {
5993
5988
  this.kind = e, this.input = r, this.begin = n, this.end = i, this.file = s;
5994
5989
  }
@@ -6014,34 +6009,34 @@ const Gc = Object.prototype.toString, Fi = String.prototype.toLowerCase, Zs = Ob
6014
6009
  function Xe(t) {
6015
6010
  return typeof t == "string";
6016
6011
  }
6017
- function be(t) {
6012
+ function we(t) {
6018
6013
  return typeof t == "function";
6019
6014
  }
6020
6015
  function Zc(t) {
6021
- return t && be(t.then);
6016
+ return t && we(t.then);
6022
6017
  }
6023
6018
  function Pr(t) {
6024
- return t && be(t.next) && be(t.throw) && be(t.return);
6019
+ return t && we(t.next) && we(t.throw) && we(t.return);
6025
6020
  }
6026
6021
  function Jc(t) {
6027
6022
  return t.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
6028
6023
  }
6029
6024
  function U(t) {
6030
- return t = $(t), Xe(t) ? t : et(t) ? "" : Ce(t) ? t.map((e) => U(e)).join("") : String(t);
6025
+ return t = $(t), Xe(t) ? t : et(t) ? "" : Re(t) ? t.map((e) => U(e)).join("") : String(t);
6031
6026
  }
6032
6027
  function $(t) {
6033
- return t instanceof Ot && be(t.valueOf) ? t.valueOf() : t;
6028
+ return t instanceof Ot && we(t.valueOf) ? t.valueOf() : t;
6034
6029
  }
6035
6030
  function Br(t) {
6036
6031
  return typeof t == "number";
6037
6032
  }
6038
6033
  function Js(t) {
6039
- return t && be(t.toLiquid) ? Js(t.toLiquid()) : t;
6034
+ return t && we(t.toLiquid) ? Js(t.toLiquid()) : t;
6040
6035
  }
6041
6036
  function et(t) {
6042
6037
  return t == null;
6043
6038
  }
6044
- function Ce(t) {
6039
+ function Re(t) {
6045
6040
  return Gc.call(t) === "[object Array]";
6046
6041
  }
6047
6042
  function Xc(t) {
@@ -6092,7 +6087,7 @@ function rd(t, e) {
6092
6087
  function Ii(t, e) {
6093
6088
  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;
6094
6089
  }
6095
- function xe(t) {
6090
+ function _e(t) {
6096
6091
  return (...e) => t(...e.map($));
6097
6092
  }
6098
6093
  function Nn(t) {
@@ -6187,7 +6182,7 @@ class dd extends Ot {
6187
6182
  }
6188
6183
  class zr extends Ot {
6189
6184
  equals(e) {
6190
- return e instanceof zr ? !1 : (e = $(e), Xe(e) || Ce(e) ? e.length === 0 : Pn(e) ? Object.keys(e).length === 0 : !1);
6185
+ return e instanceof zr ? !1 : (e = $(e), Xe(e) || Re(e) ? e.length === 0 : Pn(e) ? Object.keys(e).length === 0 : !1);
6191
6186
  }
6192
6187
  gt() {
6193
6188
  return !1;
@@ -6251,8 +6246,8 @@ class $i extends Ot {
6251
6246
  return this.superBlockRender();
6252
6247
  }
6253
6248
  }
6254
- function Se(t) {
6255
- return t && be(t.equals);
6249
+ function Oe(t) {
6250
+ return t && we(t.equals);
6256
6251
  }
6257
6252
  const Bi = new dd(), na = {
6258
6253
  true: !0,
@@ -6358,10 +6353,10 @@ function ot(t) {
6358
6353
  return e;
6359
6354
  }
6360
6355
  function Fn(t) {
6361
- return t = $(t), Ce(t) ? t : Xe(t) && t.length > 0 ? [t] : Xc(t) ? Array.from(t) : Pn(t) ? Object.keys(t).map((e) => [e, t[e]]) : [];
6356
+ 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]]) : [];
6362
6357
  }
6363
6358
  function Ze(t) {
6364
- return et(t) ? [] : Ce(t) ? t : [t];
6359
+ return et(t) ? [] : Re(t) ? t : [t];
6365
6360
  }
6366
6361
  const pd = /%([-_0^#:]+)?(\d+)?([EO])?(.)/, ia = [
6367
6362
  "January",
@@ -6573,7 +6568,7 @@ class lt {
6573
6568
  return new Date(e);
6574
6569
  }
6575
6570
  }
6576
- class qn extends Ne {
6571
+ class qn extends je {
6577
6572
  constructor(e, r, n, i, s, a, l, o) {
6578
6573
  super(e, n, i, s, o), this.trimLeft = !1, this.trimRight = !1, this.content = this.getText();
6579
6574
  const u = r[0] === "-", c = Ln(r) === "-";
@@ -6596,7 +6591,7 @@ class Td extends qn {
6596
6591
  super(ee.Output, c, e, r, n, a, l, s);
6597
6592
  }
6598
6593
  }
6599
- class Wi extends Ne {
6594
+ class Wi extends je {
6600
6595
  constructor(e, r, n, i) {
6601
6596
  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;
6602
6597
  }
@@ -6604,12 +6599,12 @@ class Wi extends Ne {
6604
6599
  return this.input.slice(this.begin + this.trimLeft, this.end - this.trimRight);
6605
6600
  }
6606
6601
  }
6607
- class kd extends Ne {
6602
+ class kd extends je {
6608
6603
  constructor(e, r) {
6609
6604
  super(ee.Number, e.input, e.begin, r ? r.end : e.end, e.file), this.whole = e, this.decimal = r;
6610
6605
  }
6611
6606
  }
6612
- class Sr extends Ne {
6607
+ class Sr extends je {
6613
6608
  constructor(e, r, n, i) {
6614
6609
  super(ee.Word, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i, this.content = this.getText();
6615
6610
  }
@@ -6621,7 +6616,7 @@ class Sr extends Ne {
6621
6616
  return !0;
6622
6617
  }
6623
6618
  }
6624
- class Dd extends Ne {
6619
+ class Dd extends je {
6625
6620
  constructor(e, r, n, i) {
6626
6621
  super(ee.Literal, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i, this.literal = this.getText();
6627
6622
  }
@@ -6650,7 +6645,7 @@ const Ki = {
6650
6645
  or: 0
6651
6646
  /* Binary */
6652
6647
  };
6653
- class Pd extends Ne {
6648
+ class Pd extends je {
6654
6649
  constructor(e, r, n, i) {
6655
6650
  super(ee.Operator, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i, this.operator = this.getText();
6656
6651
  }
@@ -6659,27 +6654,27 @@ class Pd extends Ne {
6659
6654
  return e in Ki ? Ki[e] : 1;
6660
6655
  }
6661
6656
  }
6662
- class Yi extends Ne {
6657
+ class Yi extends je {
6663
6658
  constructor(e, r, n) {
6664
6659
  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());
6665
6660
  }
6666
6661
  }
6667
- class Nd extends Ne {
6662
+ class Nd extends je {
6668
6663
  constructor(e, r, n, i, s, a) {
6669
6664
  super(ee.Filter, n, i, s, a), this.name = e, this.args = r;
6670
6665
  }
6671
6666
  }
6672
- class jd extends Ne {
6667
+ class jd extends je {
6673
6668
  constructor(e, r, n, i, s, a) {
6674
6669
  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;
6675
6670
  }
6676
6671
  }
6677
- class Md extends Ne {
6672
+ class Md extends je {
6678
6673
  constructor(e, r, n, i) {
6679
6674
  super(ee.Quoted, e, r, n, i), this.input = e, this.begin = r, this.end = n, this.file = i;
6680
6675
  }
6681
6676
  }
6682
- class Ad extends Ne {
6677
+ class Ad extends je {
6683
6678
  constructor(e, r, n, i, s, a) {
6684
6679
  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;
6685
6680
  }
@@ -6755,11 +6750,11 @@ class $d {
6755
6750
  }
6756
6751
  n.push(a);
6757
6752
  } else
6758
- n.push(yield ye(i, e, r && this.postfix.length === 1));
6753
+ n.push(yield ge(i, e, r && this.postfix.length === 1));
6759
6754
  return n[0];
6760
6755
  }
6761
6756
  }
6762
- function* ye(t, e, r = !1) {
6757
+ function* ge(t, e, r = !1) {
6763
6758
  if (Dh(t))
6764
6759
  return yield Bd(t, e, r);
6765
6760
  if (Ph(t))
@@ -6776,7 +6771,7 @@ function* ye(t, e, r = !1) {
6776
6771
  function* Bd(t, e, r) {
6777
6772
  const n = [];
6778
6773
  for (const i of t.props)
6779
- n.push(yield ye(i, e, !1));
6774
+ n.push(yield ge(i, e, !1));
6780
6775
  try {
6781
6776
  return yield e._get([t.propertyName, ...n]);
6782
6777
  } catch (i) {
@@ -6796,7 +6791,7 @@ function Qd(t) {
6796
6791
  return na[t.literal];
6797
6792
  }
6798
6793
  function* zd(t, e) {
6799
- const r = yield ye(t.lhs, e), n = yield ye(t.rhs, e);
6794
+ const r = yield ge(t.lhs, e), n = yield ge(t.rhs, e);
6800
6795
  return Xs(+r, +n + 1);
6801
6796
  }
6802
6797
  function* Wd(t) {
@@ -6818,13 +6813,13 @@ function Wr(t, e) {
6818
6813
  return e.opts.jsTruthy ? !t : t === !1 || t === void 0 || t === null;
6819
6814
  }
6820
6815
  const Kd = {
6821
- "==": (t, e) => Se(t) ? t.equals(e) : Se(e) ? e.equals(t) : $(t) === $(e),
6822
- "!=": (t, e) => Se(t) ? !t.equals(e) : Se(e) ? !e.equals(t) : $(t) !== $(e),
6823
- ">": (t, e) => Se(t) ? t.gt(e) : Se(e) ? e.lt(t) : $(t) > $(e),
6824
- "<": (t, e) => Se(t) ? t.lt(e) : Se(e) ? e.gt(t) : $(t) < $(e),
6825
- ">=": (t, e) => Se(t) ? t.geq(e) : Se(e) ? e.leq(t) : $(t) >= $(e),
6826
- "<=": (t, e) => Se(t) ? t.leq(e) : Se(e) ? e.geq(t) : $(t) <= $(e),
6827
- contains: (t, e) => (t = $(t), e = $(e), t && be(t.indexOf) ? t.indexOf(e) > -1 : !1),
6816
+ "==": (t, e) => Oe(t) ? t.equals(e) : Oe(e) ? e.equals(t) : $(t) === $(e),
6817
+ "!=": (t, e) => Oe(t) ? !t.equals(e) : Oe(e) ? !e.equals(t) : $(t) !== $(e),
6818
+ ">": (t, e) => Oe(t) ? t.gt(e) : Oe(e) ? e.lt(t) : $(t) > $(e),
6819
+ "<": (t, e) => Oe(t) ? t.lt(e) : Oe(e) ? e.gt(t) : $(t) < $(e),
6820
+ ">=": (t, e) => Oe(t) ? t.geq(e) : Oe(e) ? e.leq(t) : $(t) >= $(e),
6821
+ "<=": (t, e) => Oe(t) ? t.leq(e) : Oe(e) ? e.geq(t) : $(t) <= $(e),
6822
+ contains: (t, e) => (t = $(t), e = $(e), t && we(t.indexOf) ? t.indexOf(e) > -1 : !1),
6828
6823
  not: (t, e) => Wr($(t), e),
6829
6824
  and: (t, e, r) => gt($(t), r) && gt($(e), r),
6830
6825
  or: (t, e, r) => gt($(t), r) || gt($(e), r)
@@ -6920,7 +6915,7 @@ var rh = /* @__PURE__ */ Object.freeze({
6920
6915
  sep: th
6921
6916
  });
6922
6917
  function nh(t, e, ...r) {
6923
- return t = $(t), Ce(t) || Xe(t) ? t.length ? t : e : t === !1 && new Map(r).get("allow_false") ? !1 : Wr(t, this.context) ? e : t;
6918
+ 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;
6924
6919
  }
6925
6920
  function ua(t) {
6926
6921
  return JSON.stringify(t);
@@ -7001,11 +6996,11 @@ function hh(t) {
7001
6996
  return t = Object.assign(Object.assign(Object.assign({}, ft), t.jekyllInclude ? { dynamicPartials: !1 } : {}), t), !t.fs.dirname && t.relativeReference && (console.warn("[LiquidJS] `fs.dirname` is required for relativeReference, set relativeReference to `false` to suppress this warning, or provide implementation for `fs.dirname`"), t.relativeReference = !1), t.root = xr(t.root), t.partials = xr(t.partials), t.layouts = xr(t.layouts), t.outputEscape = t.outputEscape && fh(t.outputEscape), t;
7002
6997
  }
7003
6998
  function fh(t) {
7004
- return t === "escape" ? Vn : t === "json" ? ua : (pe(be(t), "`outputEscape` need to be of type string or function"), t);
6999
+ return t === "escape" ? Vn : t === "json" ? ua : (pe(we(t), "`outputEscape` need to be of type string or function"), t);
7005
7000
  }
7006
7001
  function xr(t) {
7007
7002
  let e = [];
7008
- return Ce(t) && (e = t), Xe(t) && (e = [t]), e;
7003
+ return Re(t) && (e = t), Xe(t) && (e = [t]), e;
7009
7004
  }
7010
7005
  function ph(t, e, r, n = t.length) {
7011
7006
  let i = r, s = e, a;
@@ -7345,7 +7340,7 @@ class Un {
7345
7340
  this.token = e;
7346
7341
  }
7347
7342
  }
7348
- class ie extends Un {
7343
+ class se extends Un {
7349
7344
  constructor(e, r, n) {
7350
7345
  super(e), this.name = e.name, this.liquid = n;
7351
7346
  }
@@ -7360,14 +7355,14 @@ class $t {
7360
7355
  *render(e) {
7361
7356
  const r = {};
7362
7357
  for (const n of Object.keys(this.hash))
7363
- r[n] = this.hash[n] === void 0 ? !0 : yield ye(this.hash[n], e);
7358
+ r[n] = this.hash[n] === void 0 ? !0 : yield ge(this.hash[n], e);
7364
7359
  return r;
7365
7360
  }
7366
7361
  }
7367
7362
  function bh(t) {
7368
- return class extends ie {
7363
+ return class extends se {
7369
7364
  constructor(e, r, n) {
7370
- super(e, r, n), be(t.parse) && t.parse.call(this, e, r);
7365
+ super(e, r, n), we(t.parse) && t.parse.call(this, e, r);
7371
7366
  }
7372
7367
  *render(e, r) {
7373
7368
  const n = yield new $t(this.token.args).render(e);
@@ -7376,16 +7371,16 @@ function bh(t) {
7376
7371
  };
7377
7372
  }
7378
7373
  function wh(t) {
7379
- return Ce(t);
7374
+ return Re(t);
7380
7375
  }
7381
7376
  class ca {
7382
7377
  constructor(e, r, n, i) {
7383
- this.name = e, this.handler = be(r) ? r : be(r == null ? void 0 : r.handler) ? r.handler : ta, this.raw = !be(r) && !!(r != null && r.raw), this.args = n, this.liquid = i;
7378
+ this.name = e, this.handler = we(r) ? r : we(r == null ? void 0 : r.handler) ? r.handler : ta, this.raw = !we(r) && !!(r != null && r.raw), this.args = n, this.liquid = i;
7384
7379
  }
7385
7380
  *render(e, r) {
7386
7381
  const n = [];
7387
7382
  for (const i of this.args)
7388
- wh(i) ? n.push([i[0], yield ye(i[1], r)]) : n.push(yield ye(i, r));
7383
+ wh(i) ? n.push([i[0], yield ge(i[1], r)]) : n.push(yield ge(i, r));
7389
7384
  return this.handler.apply({ context: r, liquid: this.liquid }, [e, ...n]);
7390
7385
  }
7391
7386
  }
@@ -7569,39 +7564,39 @@ var ee;
7569
7564
  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";
7570
7565
  })(ee || (ee = {}));
7571
7566
  function Oh(t) {
7572
- return !!(je(t) & ee.Delimited);
7567
+ return !!(Me(t) & ee.Delimited);
7573
7568
  }
7574
7569
  function ha(t) {
7575
- return je(t) === ee.Operator;
7570
+ return Me(t) === ee.Operator;
7576
7571
  }
7577
7572
  function $n(t) {
7578
- return je(t) === ee.HTML;
7573
+ return Me(t) === ee.HTML;
7579
7574
  }
7580
7575
  function _h(t) {
7581
- return je(t) === ee.Output;
7576
+ return Me(t) === ee.Output;
7582
7577
  }
7583
7578
  function _t(t) {
7584
- return je(t) === ee.Tag;
7579
+ return Me(t) === ee.Tag;
7585
7580
  }
7586
7581
  function fa(t) {
7587
- return je(t) === ee.Quoted;
7582
+ return Me(t) === ee.Quoted;
7588
7583
  }
7589
7584
  function Th(t) {
7590
- return je(t) === ee.Literal;
7585
+ return Me(t) === ee.Literal;
7591
7586
  }
7592
7587
  function kh(t) {
7593
- return je(t) === ee.Number;
7588
+ return Me(t) === ee.Number;
7594
7589
  }
7595
7590
  function Dh(t) {
7596
- return je(t) === ee.PropertyAccess;
7591
+ return Me(t) === ee.PropertyAccess;
7597
7592
  }
7598
7593
  function Lh(t) {
7599
- return je(t) === ee.Word;
7594
+ return Me(t) === ee.Word;
7600
7595
  }
7601
7596
  function Ph(t) {
7602
- return je(t) === ee.Range;
7597
+ return Me(t) === ee.Range;
7603
7598
  }
7604
- function je(t) {
7599
+ function Me(t) {
7605
7600
  return t ? t.kind : -1;
7606
7601
  }
7607
7602
  class At {
@@ -7668,25 +7663,25 @@ class At {
7668
7663
  function Nh(t, e, r) {
7669
7664
  if (t = Js(t), et(t))
7670
7665
  return t;
7671
- if (Ce(t) && e < 0)
7666
+ if (Re(t) && e < 0)
7672
7667
  return t[t.length + +e];
7673
7668
  const n = jh(t, e, r);
7674
- return n === void 0 && t instanceof Ot ? t.liquidMethodMissing(e) : be(n) ? n.call(t) : e === "size" ? Fh(t) : e === "first" ? Mh(t) : e === "last" ? Ah(t) : n;
7669
+ 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;
7675
7670
  }
7676
7671
  function jh(t, e, r) {
7677
7672
  if (!(r && !Object.hasOwnProperty.call(t, e) && !(t instanceof Ot)))
7678
7673
  return t[e];
7679
7674
  }
7680
7675
  function Mh(t) {
7681
- return Ce(t) ? t[0] : t.first;
7676
+ return Re(t) ? t[0] : t.first;
7682
7677
  }
7683
7678
  function Ah(t) {
7684
- return Ce(t) ? t[t.length - 1] : t.last;
7679
+ return Re(t) ? t[t.length - 1] : t.last;
7685
7680
  }
7686
7681
  function Fh(t) {
7687
7682
  if (t.hasOwnProperty("size") || t.size !== void 0)
7688
7683
  return t.size;
7689
- if (Ce(t) || Xe(t))
7684
+ if (Re(t) || Xe(t))
7690
7685
  return t.length;
7691
7686
  if (typeof t == "object")
7692
7687
  return Object.keys(t).length;
@@ -7695,7 +7690,7 @@ var yt;
7695
7690
  (function(t) {
7696
7691
  t[t.OUTPUT = 0] = "OUTPUT", t[t.STORE = 1] = "STORE";
7697
7692
  })(yt || (yt = {}));
7698
- const qh = xe(Math.abs), Ih = xe(Math.max), Vh = xe(Math.min), Uh = xe(Math.ceil), $h = xe((t, e, r = !1) => r ? Math.floor(t / e) : t / e), Bh = xe(Math.floor), Hh = xe((t, e) => t - e), Qh = xe((t, e) => t % e), zh = xe((t, e) => t * e);
7693
+ 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);
7699
7694
  function Wh(t, e = 0) {
7700
7695
  t = $(t), e = $(e);
7701
7696
  const r = Math.pow(10, e);
@@ -7724,7 +7719,7 @@ var Jh = /* @__PURE__ */ Object.freeze({
7724
7719
  url_decode: Gh,
7725
7720
  url_encode: Zh
7726
7721
  });
7727
- const Xh = xe((t, e) => Ze(t).join(e === void 0 ? " " : e)), ef = xe((t) => Ce(t) ? Ln(t) : ""), tf = xe((t) => Ce(t) ? t[0] : ""), rf = xe((t) => [...Ze(t)].reverse());
7722
+ 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());
7728
7723
  function* nf(t, e) {
7729
7724
  const r = [];
7730
7725
  for (const n of Ze($(t)))
@@ -7756,14 +7751,14 @@ function uf(t, e = []) {
7756
7751
  return t = $(t), e = Ze(e).map((r) => $(r)), Ze(t).concat(e);
7757
7752
  }
7758
7753
  function cf(t, e, r = 1) {
7759
- return t = $(t), et(t) ? [] : (Ce(t) || (t = U(t)), e = e < 0 ? t.length + e : e, t.slice(e, e + r));
7754
+ return t = $(t), et(t) ? [] : (Re(t) || (t = U(t)), e = e < 0 ? t.length + e : e, t.slice(e, e + r));
7760
7755
  }
7761
7756
  function* df(t, e, r) {
7762
7757
  const n = [];
7763
7758
  t = Ze($(t));
7764
7759
  for (const i of t)
7765
7760
  n.push(yield this.context._getFromScope(i, U(e).split(".")));
7766
- return t.filter((i, s) => r === void 0 ? gt(n[s], this.context) : Se(r) ? r.equals(n[s]) : n[s] === r);
7761
+ return t.filter((i, s) => r === void 0 ? gt(n[s], this.context) : Oe(r) ? r.equals(n[s]) : n[s] === r);
7767
7762
  }
7768
7763
  function hf(t) {
7769
7764
  t = $(t);
@@ -7896,7 +7891,7 @@ const Ff = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign
7896
7891
  raw: ih,
7897
7892
  default: nh
7898
7893
  });
7899
- class qf extends ie {
7894
+ class qf extends se {
7900
7895
  constructor(e, r, n) {
7901
7896
  super(e, r, n);
7902
7897
  const i = new me(e.args, n.options.operators);
@@ -7907,7 +7902,7 @@ class qf extends ie {
7907
7902
  }
7908
7903
  }
7909
7904
  const ts = ["offset", "limit", "reversed"];
7910
- class If extends ie {
7905
+ class If extends se {
7911
7906
  constructor(e, r, n) {
7912
7907
  super(e, r, n);
7913
7908
  const i = new me(e.args, this.liquid.options.operators), s = i.readIdentifier(), a = i.readIdentifier(), l = i.readValue();
@@ -7922,7 +7917,7 @@ class If extends ie {
7922
7917
  }
7923
7918
  *render(e, r) {
7924
7919
  const n = this.liquid.renderer;
7925
- let i = Fn(yield ye(this.collection, e));
7920
+ let i = Fn(yield ge(this.collection, e));
7926
7921
  if (!i.length) {
7927
7922
  yield n.renderTemplates(this.elseTemplates, e, r);
7928
7923
  return;
@@ -7952,7 +7947,7 @@ function Uf(t, e) {
7952
7947
  function $f(t, e) {
7953
7948
  return t.slice(0, e);
7954
7949
  }
7955
- class Bf extends ie {
7950
+ class Bf extends se {
7956
7951
  constructor(e, r, n) {
7957
7952
  super(e, r, n), this.templates = [];
7958
7953
  const i = new me(e.args, this.liquid.options.operators);
@@ -7977,7 +7972,7 @@ function Hf(t) {
7977
7972
  if (r)
7978
7973
  return In(r);
7979
7974
  }
7980
- class Qf extends ie {
7975
+ class Qf extends se {
7981
7976
  constructor(e, r, n) {
7982
7977
  super(e, r, n), this.branches = [], this.elseTemplates = [], this.value = new Je(e.args, this.liquid), this.elseTemplates = [];
7983
7978
  let i = [];
@@ -8000,7 +7995,7 @@ class Qf extends ie {
8000
7995
  let s = !1;
8001
7996
  for (const a of this.branches)
8002
7997
  for (const l of a.values) {
8003
- const o = yield ye(l, e, e.opts.lenientIf);
7998
+ const o = yield ge(l, e, e.opts.lenientIf);
8004
7999
  if (i === o) {
8005
8000
  yield n.renderTemplates(a.templates, e, r), s = !0;
8006
8001
  break;
@@ -8009,7 +8004,7 @@ class Qf extends ie {
8009
8004
  s || (yield n.renderTemplates(this.elseTemplates, e, r));
8010
8005
  }
8011
8006
  }
8012
- class zf extends ie {
8007
+ class zf extends se {
8013
8008
  constructor(e, r, n) {
8014
8009
  for (super(e, r, n); r.length; ) {
8015
8010
  const i = r.shift();
@@ -8021,7 +8016,7 @@ class zf extends ie {
8021
8016
  render() {
8022
8017
  }
8023
8018
  }
8024
- class Wf extends ie {
8019
+ class Wf extends se {
8025
8020
  constructor(e, r, n) {
8026
8021
  super(e, r, n);
8027
8022
  const i = e.args, s = new me(i, this.liquid.options.operators);
@@ -8048,10 +8043,10 @@ class Wf extends ie {
8048
8043
  const a = new At({}, e.opts, { sync: e.sync, globals: e.globals, strictVariables: e.strictVariables }), l = a.bottom();
8049
8044
  if (jr(l, yield i.render(e)), this.with) {
8050
8045
  const { value: o, alias: u } = this.with;
8051
- l[u || s] = yield ye(o, e);
8046
+ l[u || s] = yield ge(o, e);
8052
8047
  }
8053
8048
  if (this.for) {
8054
- const { value: o, alias: u } = this.for, c = Fn(yield ye(o, e));
8049
+ const { value: o, alias: u } = this.for, c = Fn(yield ge(o, e));
8055
8050
  l.forloop = new An(c.length, o.getText(), u);
8056
8051
  for (const f of c) {
8057
8052
  l[u] = f;
@@ -8084,9 +8079,9 @@ function rs(t) {
8084
8079
  return t.length === 1 && $n(t[0].token) ? t[0].token.getContent() : t;
8085
8080
  }
8086
8081
  function* Hn(t, e, r) {
8087
- return typeof t == "string" ? t : Array.isArray(t) ? r.renderer.renderTemplates(t, e) : yield ye(t, e);
8082
+ return typeof t == "string" ? t : Array.isArray(t) ? r.renderer.renderTemplates(t, e) : yield ge(t, e);
8088
8083
  }
8089
- class Kf extends ie {
8084
+ class Kf extends se {
8090
8085
  constructor(e, r, n) {
8091
8086
  super(e, r, n);
8092
8087
  const i = e.args, s = new me(i, this.liquid.options.operators);
@@ -8100,12 +8095,12 @@ class Kf extends ie {
8100
8095
  const o = e.saveRegister("blocks", "blockMode");
8101
8096
  e.setRegister("blocks", {}), e.setRegister("blockMode", yt.OUTPUT);
8102
8097
  const u = yield i.render(e);
8103
- s && (u[l] = yield ye(s, e));
8098
+ s && (u[l] = yield ge(s, e));
8104
8099
  const c = yield n._parsePartialFile(l, e.sync, this.currentFile);
8105
8100
  e.push(e.opts.jekyllInclude ? { include: u } : u), yield a.renderTemplates(c, e, r), e.pop(), e.restoreRegister(o);
8106
8101
  }
8107
8102
  }
8108
- class Yf extends ie {
8103
+ class Yf extends se {
8109
8104
  constructor(e, r, n) {
8110
8105
  super(e, r, n);
8111
8106
  const i = new me(e.args, this.liquid.options.operators);
@@ -8116,7 +8111,7 @@ class Yf extends ie {
8116
8111
  Br(n[this.variable]) || (n[this.variable] = 0), r.write(U(--n[this.variable]));
8117
8112
  }
8118
8113
  }
8119
- class Gf extends ie {
8114
+ class Gf extends se {
8120
8115
  constructor(e, r, n) {
8121
8116
  super(e, r, n), this.candidates = [];
8122
8117
  const i = new me(e.args, this.liquid.options.operators), s = i.readValue();
@@ -8127,14 +8122,14 @@ class Gf extends ie {
8127
8122
  pe(this.candidates.length, () => `empty candidates: ${e.getText()}`);
8128
8123
  }
8129
8124
  *render(e, r) {
8130
- const i = `cycle:${yield ye(this.group, e)}:` + this.candidates.join(","), s = e.getRegister("cycle");
8125
+ const i = `cycle:${yield ge(this.group, e)}:` + this.candidates.join(","), s = e.getRegister("cycle");
8131
8126
  let a = s[i];
8132
8127
  a === void 0 && (a = s[i] = 0);
8133
8128
  const l = this.candidates[a];
8134
- return a = (a + 1) % this.candidates.length, s[i] = a, yield ye(l, e);
8129
+ return a = (a + 1) % this.candidates.length, s[i] = a, yield ge(l, e);
8135
8130
  }
8136
8131
  }
8137
- class Zf extends ie {
8132
+ class Zf extends se {
8138
8133
  constructor(e, r, n) {
8139
8134
  super(e, r, n), this.branches = [], this.elseTemplates = [];
8140
8135
  let i;
@@ -8162,7 +8157,7 @@ class Zf extends ie {
8162
8157
  yield n.renderTemplates(this.elseTemplates, e, r);
8163
8158
  }
8164
8159
  }
8165
- class Jf extends ie {
8160
+ class Jf extends se {
8166
8161
  constructor(e, r, n) {
8167
8162
  super(e, r, n);
8168
8163
  const i = new me(e.args, this.liquid.options.operators);
@@ -8175,7 +8170,7 @@ class Jf extends ie {
8175
8170
  n[this.variable]++, r.write(U(i));
8176
8171
  }
8177
8172
  }
8178
- class Xf extends ie {
8173
+ class Xf extends se {
8179
8174
  constructor(e, r, n) {
8180
8175
  super(e, r, n);
8181
8176
  const i = new me(e.args, this.liquid.options.operators);
@@ -8195,7 +8190,7 @@ class Xf extends ie {
8195
8190
  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();
8196
8191
  }
8197
8192
  }
8198
- class ep extends ie {
8193
+ class ep extends se {
8199
8194
  constructor(e, r, n) {
8200
8195
  super(e, r, n), this.templates = [];
8201
8196
  const i = /\w+/.exec(e.args);
@@ -8219,7 +8214,7 @@ class ep extends ie {
8219
8214
  return i ? (a, l) => i(new $i(() => s(a, l)), l) : s;
8220
8215
  }
8221
8216
  }
8222
- class tp extends ie {
8217
+ class tp extends se {
8223
8218
  constructor(e, r, n) {
8224
8219
  for (super(e, r, n), this.tokens = []; r.length; ) {
8225
8220
  const i = r.shift();
@@ -8253,7 +8248,7 @@ class rp extends An {
8253
8248
  return this.col() === this.cols;
8254
8249
  }
8255
8250
  }
8256
- class np extends ie {
8251
+ class np extends se {
8257
8252
  constructor(e, r, n) {
8258
8253
  super(e, r, n);
8259
8254
  const i = new me(e.args, this.liquid.options.operators), s = i.readIdentifier();
@@ -8269,7 +8264,7 @@ class np extends ie {
8269
8264
  u.start();
8270
8265
  }
8271
8266
  *render(e, r) {
8272
- let n = Fn(yield ye(this.collection, e));
8267
+ let n = Fn(yield ge(this.collection, e));
8273
8268
  const i = yield this.args.render(e), s = i.offset || 0, a = i.limit === void 0 ? n.length : i.limit;
8274
8269
  n = n.slice(s, s + a);
8275
8270
  const l = i.cols || n.length, o = this.liquid.renderer, u = new rp(n.length, l, this.collection.getText(), this.variable), c = { tablerowloop: u };
@@ -8279,7 +8274,7 @@ class np extends ie {
8279
8274
  n.length && r.write("</tr>"), e.pop();
8280
8275
  }
8281
8276
  }
8282
- class ip extends ie {
8277
+ class ip extends se {
8283
8278
  constructor(e, r, n) {
8284
8279
  super(e, r, n), this.branches = [], this.elseTemplates = [];
8285
8280
  let i;
@@ -8309,17 +8304,17 @@ class ip extends ie {
8309
8304
  yield n.renderTemplates(this.elseTemplates, e, r);
8310
8305
  }
8311
8306
  }
8312
- class sp extends ie {
8307
+ class sp extends se {
8313
8308
  render(e, r) {
8314
8309
  r.break = !0;
8315
8310
  }
8316
8311
  }
8317
- class ap extends ie {
8312
+ class ap extends se {
8318
8313
  render(e, r) {
8319
8314
  r.continue = !0;
8320
8315
  }
8321
8316
  }
8322
- class op extends ie {
8317
+ class op extends se {
8323
8318
  constructor(e, r, n) {
8324
8319
  super(e, r, n), this.value = new Je(e.args, this.liquid);
8325
8320
  }
@@ -8328,7 +8323,7 @@ class op extends ie {
8328
8323
  r.write(n);
8329
8324
  }
8330
8325
  }
8331
- class lp extends ie {
8326
+ class lp extends se {
8332
8327
  constructor(e, r, n) {
8333
8328
  super(e, r, n);
8334
8329
  const s = new me(e.args, this.liquid.options.operators).readLiquidTagTokens(this.liquid.options);
@@ -8338,7 +8333,7 @@ class lp extends ie {
8338
8333
  yield this.liquid.renderer.renderTemplates(this.templates, e, r);
8339
8334
  }
8340
8335
  }
8341
- class up extends ie {
8336
+ class up extends se {
8342
8337
  constructor(e, r, n) {
8343
8338
  if (super(e, r, n), e.args.search(/\n\s*[^#\s]/g) !== -1)
8344
8339
  throw new Error("every line of an inline comment must start with a '#' character");
@@ -8455,7 +8450,7 @@ class Qn {
8455
8450
  this.filters[e] = r;
8456
8451
  }
8457
8452
  registerTag(e, r) {
8458
- this.tags[e] = be(r) ? r : bh(r);
8453
+ this.tags[e] = we(r) ? r : bh(r);
8459
8454
  }
8460
8455
  plugin(e) {
8461
8456
  return e.call(this, Qn);
@@ -8499,9 +8494,9 @@ function pa({
8499
8494
  placeholderText: e,
8500
8495
  dynamicOptions: r
8501
8496
  }) {
8502
- var M;
8497
+ var j;
8503
8498
  let { asyncUrl: n, transform: i, clientSideFilter: s, rootData: a, includeHeaders: l } = r, o = Bo();
8504
- const u = we(), { activeIndex: c, search: f, setActions: d, navigateTo: m } = Et(ut), v = Ju(f, 500), w = l && u.headers ? u.headers : {}, {
8499
+ const u = Ee(), { activeIndex: c, search: f, setActions: d, navigateTo: m } = Et(ut), v = Ju(f, 500), w = l && u.headers ? u.headers : {}, {
8505
8500
  isLoading: R,
8506
8501
  error: O,
8507
8502
  data: k = []
@@ -8515,21 +8510,21 @@ function pa({
8515
8510
  () => Array.isArray(C) ? C : [C],
8516
8511
  [C]
8517
8512
  );
8518
- let A = dp(E, i);
8519
- s && (A = A.filter(
8513
+ let M = dp(E, i);
8514
+ s && (M = M.filter(
8520
8515
  (P) => P.title.toLowerCase().includes(f.toLowerCase())
8521
8516
  ));
8522
- const _ = A[c];
8517
+ const _ = M[c];
8523
8518
  return Ge(() => {
8524
8519
  _ && _.actions ? d(_.actions) : d([]);
8525
- }, [_, f, c, d]), R ? /* @__PURE__ */ y.jsx(nr, { children: /* @__PURE__ */ y.jsx("div", { className: "qikbar-item-empty", children: "loading..." }) }) : A.length === 0 ? /* @__PURE__ */ y.jsxs(nr, { children: [
8520
+ }, [_, 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: [
8526
8521
  /* @__PURE__ */ y.jsx(kr, { placeholder: e }),
8527
8522
  /* @__PURE__ */ y.jsx("div", { className: "qikbar-item-empty", children: "No matches" })
8528
8523
  ] }) : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
8529
8524
  /* @__PURE__ */ y.jsx(kr, { placeholder: e }),
8530
8525
  /* @__PURE__ */ y.jsxs(nr, { children: [
8531
- /* @__PURE__ */ y.jsx(Ts, { children: A.map((P) => /* @__PURE__ */ y.jsx(Rn, { item: P }, P.id)) }),
8532
- _ && ((M = _ == null ? void 0 : _.details) == null ? void 0 : M.length) > 0 && /* @__PURE__ */ y.jsx(Ds, { fields: _.details })
8526
+ /* @__PURE__ */ y.jsx(Ts, { children: M.map((P) => /* @__PURE__ */ y.jsx(Rn, { item: P }, P.id)) }),
8527
+ _ && ((j = _ == null ? void 0 : _.details) == null ? void 0 : j.length) > 0 && /* @__PURE__ */ y.jsx(Ds, { fields: _.details })
8533
8528
  ] })
8534
8529
  ] });
8535
8530
  }
@@ -8609,7 +8604,7 @@ function ma() {
8609
8604
  ) }) })
8610
8605
  ] }) });
8611
8606
  }
8612
- const we = Ia((t) => ({
8607
+ const Ee = Ia((t) => ({
8613
8608
  commands: [],
8614
8609
  router: null,
8615
8610
  headers: null,
@@ -8673,7 +8668,7 @@ function wp({ path: t, commands: e, theme: r }) {
8673
8668
  return /* @__PURE__ */ y.jsx("div", { id: "qikbar", className: `qikbar-demo qikbar-light qikbar-${r}`, children: /* @__PURE__ */ y.jsx(Us, { client: ga, children: /* @__PURE__ */ y.jsx(Es, { router: n }) }) });
8674
8669
  }
8675
8670
  function pp() {
8676
- const t = we((n) => n.commands), e = we((n) => n.theme), r = Ss([
8671
+ const t = Ee((n) => n.commands), e = Ee((n) => n.theme), r = Ss([
8677
8672
  {
8678
8673
  path: "/",
8679
8674
  element: /* @__PURE__ */ y.jsx(_s, {}),
@@ -8687,7 +8682,7 @@ function pp() {
8687
8682
  return /* @__PURE__ */ y.jsx("div", { id: "qikbar", className: `qikbar-light qikbar-${e}`, children: /* @__PURE__ */ y.jsx(Es, { router: r }) });
8688
8683
  }
8689
8684
  const ns = async (t) => fetch(`https://app.qikbar.com/api/site/${t}`).then((r) => r.json()).then((r) => {
8690
- r != null && r.routes && we.getState().addCommands(r.routes), r != null && r.theme && we.getState().setTheme(r.theme), r != null && r.id && we.getState().setId(r.id);
8685
+ r != null && r.routes && Ee.getState().addCommands(r.routes), r != null && r.theme && Ee.getState().setTheme(r.theme), r != null && r.id && Ee.getState().setId(r.id);
8691
8686
  }).catch((r) => {
8692
8687
  console.error(r);
8693
8688
  });
@@ -8701,13 +8696,13 @@ function mp({ id: t }) {
8701
8696
  /* @__PURE__ */ y.jsx(Ct.StrictMode, { children: /* @__PURE__ */ y.jsx(fp, { children: /* @__PURE__ */ y.jsx(Us, { client: ga, children: /* @__PURE__ */ y.jsx(pp, {}) }) }) })
8702
8697
  ), window.Qikbar.booted = !0;
8703
8698
  },
8704
- setTheme: (r) => we.getState().setTheme(r),
8699
+ setTheme: (r) => Ee.getState().setTheme(r),
8705
8700
  reloadSite: () => ns(t),
8706
- addCommand: (r) => we.getState().addCommand(r),
8707
- updateCommand: (r) => we.getState().updateCommand(r),
8708
- removeCommand: (r) => we.getState().removeCommand(r),
8709
- addRouter: (r) => we.getState().addRouter(r),
8710
- addHeaders: (r) => we.getState().addHeaders(r)
8701
+ addCommand: (r) => Ee.getState().addCommand(r),
8702
+ updateCommand: (r) => Ee.getState().updateCommand(r),
8703
+ removeCommand: (r) => Ee.getState().removeCommand(r),
8704
+ addRouter: (r) => Ee.getState().addRouter(r),
8705
+ addHeaders: (r) => Ee.getState().addHeaders(r)
8711
8706
  };
8712
8707
  }
8713
8708
  function gp(t) {