@nizza/core 0.5.0-beta.3 → 0.5.0-beta.5

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/index.mjs CHANGED
@@ -2,7 +2,7 @@ var zt = Object.defineProperty;
2
2
  var Bt = (n, e, t) => e in n ? zt(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var R = (n, e, t) => (Bt(n, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import * as M from "react";
5
- import fe, { createContext as pt, useReducer as Qt, useEffect as ht, useDebugValue as Gt, useCallback as Kt, useContext as Ce, useMemo as Wt } from "react";
5
+ import fe, { createContext as ht, useReducer as Qt, useEffect as gt, useDebugValue as Gt, useCallback as Kt, useContext as Ce, useMemo as Wt } from "react";
6
6
  import { jsx as Jt } from "react/jsx-runtime";
7
7
  var _ = { NZ_AWS_REGION: "us-east-1", NZ_VTEX_PROJECT: "/Users/jbermudez/TODO/PROJECTS/live-shopping", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
8
8
  let qt = 0;
@@ -22,18 +22,18 @@ function Ht(n, e) {
22
22
  const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new WeakMap(), Zt = (n, e) => {
23
23
  re.set(n, e), n.catch(() => {
24
24
  }).finally(() => re.delete(n));
25
- }, Ae = (n, e) => {
25
+ }, Pe = (n, e) => {
26
26
  const t = re.get(n);
27
27
  t && (re.delete(n), t(e));
28
- }, Pe = (n, e) => {
29
- n.status = "fulfilled", n.value = e;
30
28
  }, Ve = (n, e) => {
29
+ n.status = "fulfilled", n.value = e;
30
+ }, _e = (n, e) => {
31
31
  n.status = "rejected", n.reason = e;
32
- }, Xt = (n) => typeof (n == null ? void 0 : n.then) == "function", W = (n, e) => !!n && "v" in n && "v" in e && Object.is(n.v, e.v), _e = (n, e) => !!n && "e" in n && "e" in e && Object.is(n.e, e.e), z = (n) => !!n && "v" in n && n.v instanceof Promise, Yt = (n, e) => "v" in n && "v" in e && n.v.orig && n.v.orig === e.v.orig, ne = (n) => {
32
+ }, Xt = (n) => typeof (n == null ? void 0 : n.then) == "function", W = (n, e) => !!n && "v" in n && "v" in e && Object.is(n.v, e.v), Ue = (n, e) => !!n && "e" in n && "e" in e && Object.is(n.e, e.e), z = (n) => !!n && "v" in n && n.v instanceof Promise, Yt = (n, e) => "v" in n && "v" in e && n.v.orig && n.v.orig === e.v.orig, ne = (n) => {
33
33
  if ("e" in n)
34
34
  throw n.e;
35
35
  return n.v;
36
- }, gt = () => {
36
+ }, kt = () => {
37
37
  const n = /* @__PURE__ */ new WeakMap(), e = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new Map();
38
38
  let i, a;
39
39
  (_ ? "production" : void 0) !== "production" && (i = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set());
@@ -42,7 +42,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
42
42
  const h = n.get(m);
43
43
  if (n.set(m, p), t.has(m) || t.set(m, h), z(h)) {
44
44
  const g = "v" in p ? p.v instanceof Promise ? p.v : Promise.resolve(p.v) : Promise.reject(p.e);
45
- h.v !== g && Ae(h.v, g);
45
+ h.v !== g && Pe(h.v, g);
46
46
  }
47
47
  }, o = (m, p, h) => {
48
48
  const g = /* @__PURE__ */ new Map();
@@ -80,15 +80,15 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
80
80
  let x = !1;
81
81
  p.then(
82
82
  (T) => {
83
- x || (x = !0, Pe(v, T), E(T), C());
83
+ x || (x = !0, Ve(v, T), E(T), C());
84
84
  },
85
85
  (T) => {
86
- x || (x = !0, Ve(v, T), P(T), C());
86
+ x || (x = !0, _e(v, T), P(T), C());
87
87
  }
88
88
  ), b = (T) => {
89
89
  x || (x = !0, T.then(
90
- (V) => Pe(v, V),
91
- (V) => Ve(v, V)
90
+ (V) => Ve(v, V),
91
+ (V) => _e(v, V)
92
92
  ), E(T));
93
93
  };
94
94
  });
@@ -102,7 +102,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
102
102
  d: (g == null ? void 0 : g.d) || /* @__PURE__ */ new Map(),
103
103
  e: p
104
104
  };
105
- return h && o(m, b, h), _e(g, b) && g.d === b.d ? g : (r(m, b), b);
105
+ return h && o(m, b, h), Ue(g, b) && g.d === b.d ? g : (r(m, b), b);
106
106
  }, f = (m, p) => {
107
107
  const h = s(m);
108
108
  if (!p && h && (e.has(m) || Array.from(h.d).every(([x, T]) => {
@@ -241,7 +241,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
241
241
  const h = (p = e.get(m)) == null ? void 0 : p.u;
242
242
  h && h(), e.delete(m), (_ ? "production" : void 0) !== "production" && a.delete(m);
243
243
  const g = s(m);
244
- g ? (z(g) && Ae(g.v), g.d.forEach((b, C) => {
244
+ g ? (z(g) && Pe(g.v), g.d.forEach((b, C) => {
245
245
  if (C !== m) {
246
246
  const v = e.get(C);
247
247
  v && (v.t.delete(m), y(C, v) && w(C));
@@ -270,7 +270,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
270
270
  const C = e.get(h);
271
271
  C && b.d !== (g == null ? void 0 : g.d) && I(h, b, g == null ? void 0 : g.d), C && !// TODO This seems pretty hacky. Hope to fix it.
272
272
  // Maybe we could `mountDependencies` in `setAtomState`?
273
- (!z(g) && (W(g, b) || _e(g, b))) && (C.l.forEach((v) => v()), (_ ? "production" : void 0) !== "production" && m.add(h));
273
+ (!z(g) && (W(g, b) || Ue(g, b))) && (C.l.forEach((v) => v()), (_ ? "production" : void 0) !== "production" && m.add(h));
274
274
  } else
275
275
  (_ ? "production" : void 0) !== "production" && console.warn("[Bug] no atom state to flush");
276
276
  });
@@ -318,9 +318,9 @@ let Se;
318
318
  (_ ? "production" : void 0) !== "production" && (typeof globalThis.__NUMBER_OF_JOTAI_INSTANCES__ == "number" ? ++globalThis.__NUMBER_OF_JOTAI_INSTANCES__ : globalThis.__NUMBER_OF_JOTAI_INSTANCES__ = 1);
319
319
  const en = () => (Se || ((_ ? "production" : void 0) !== "production" && globalThis.__NUMBER_OF_JOTAI_INSTANCES__ !== 1 && console.warn(
320
320
  "Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"
321
- ), Se = gt()), Se);
321
+ ), Se = kt()), Se);
322
322
  var tn = { NZ_AWS_REGION: "us-east-1", NZ_VTEX_PROJECT: "/Users/jbermudez/TODO/PROJECTS/live-shopping", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
323
- const nn = pt(void 0), kt = (n) => {
323
+ const nn = ht(void 0), vt = (n) => {
324
324
  const e = Ce(nn);
325
325
  return (n == null ? void 0 : n.store) || e || en();
326
326
  }, an = (n) => typeof (n == null ? void 0 : n.then) == "function", sn = fe.use || ((n) => {
@@ -338,7 +338,7 @@ const nn = pt(void 0), kt = (n) => {
338
338
  ), n);
339
339
  });
340
340
  function rn(n, e) {
341
- const t = kt(e), [[i, a, s], r] = Qt(
341
+ const t = vt(e), [[i, a, s], r] = Qt(
342
342
  (u) => {
343
343
  const d = t.get(n);
344
344
  return Object.is(u[0], d) && u[1] === t && u[2] === n ? u : [d, t, n];
@@ -349,7 +349,7 @@ function rn(n, e) {
349
349
  let o = i;
350
350
  (a !== t || s !== n) && (r(), o = t.get(n));
351
351
  const l = e == null ? void 0 : e.delay;
352
- return ht(() => {
352
+ return gt(() => {
353
353
  const u = t.sub(n, () => {
354
354
  if (typeof l == "number") {
355
355
  setTimeout(r, l);
@@ -361,7 +361,7 @@ function rn(n, e) {
361
361
  }, [t, n, l]), Gt(o), an(o) ? sn(o) : o;
362
362
  }
363
363
  function on(n, e) {
364
- const t = kt(e);
364
+ const t = vt(e);
365
365
  return Kt(
366
366
  (...a) => {
367
367
  if ((tn ? "production" : void 0) !== "production" && !("write" in n))
@@ -412,7 +412,7 @@ const {
412
412
  wssIVSChat: "wss://edge.ivschat.us-east-1.amazonaws.com"
413
413
  }
414
414
  };
415
- async function vt(n) {
415
+ async function St(n) {
416
416
  const {
417
417
  url: e,
418
418
  method: t = "GET",
@@ -450,7 +450,7 @@ async function vt(n) {
450
450
  throw console.error("[CustomFetch] ", u), u;
451
451
  }
452
452
  }
453
- const Ts = (n) => vt({ ...n, contentTypeJson: !1, raw: !1 });
453
+ const Ts = (n) => St({ ...n, contentTypeJson: !1, raw: !1 });
454
454
  function Ds(n, e, t) {
455
455
  fetch(e).then((i) => i.blob()).then((i) => hn(i, `${n}.${t}`));
456
456
  }
@@ -466,7 +466,7 @@ const hn = (n, e, t) => {
466
466
  }, 200);
467
467
  };
468
468
  var gn = { NZ_AWS_REGION: "us-east-1", NZ_VTEX_PROJECT: "/Users/jbermudez/TODO/PROJECTS/live-shopping", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
469
- const Ue = (n) => {
469
+ const Me = (n) => {
470
470
  let e;
471
471
  const t = /* @__PURE__ */ new Set(), i = (l, u) => {
472
472
  const d = typeof l == "function" ? l(e) : l;
@@ -480,12 +480,12 @@ const Ue = (n) => {
480
480
  ), t.clear();
481
481
  } };
482
482
  return e = n(i, a, o), o;
483
- }, kn = (n) => n ? Ue(n) : Ue;
484
- var St = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
483
+ }, kn = (n) => n ? Me(n) : Me;
484
+ var yt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
485
485
  function xe(n) {
486
486
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
487
487
  }
488
- var yt = { exports: {} }, Nt = {}, bt = { exports: {} }, Ft = {};
488
+ var Nt = { exports: {} }, bt = {}, Ft = { exports: {} }, wt = {};
489
489
  /**
490
490
  * @license React
491
491
  * use-sync-external-store-shim.production.min.js
@@ -524,9 +524,9 @@ function Cn(n, e) {
524
524
  return e();
525
525
  }
526
526
  var En = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? Cn : wn;
527
- Ft.useSyncExternalStore = K.useSyncExternalStore !== void 0 ? K.useSyncExternalStore : En;
528
- bt.exports = Ft;
529
- var wt = bt.exports;
527
+ wt.useSyncExternalStore = K.useSyncExternalStore !== void 0 ? K.useSyncExternalStore : En;
528
+ Ft.exports = wt;
529
+ var Ct = Ft.exports;
530
530
  /**
531
531
  * @license React
532
532
  * use-sync-external-store-shim/with-selector.production.min.js
@@ -536,12 +536,12 @@ var wt = bt.exports;
536
536
  * This source code is licensed under the MIT license found in the
537
537
  * LICENSE file in the root directory of this source tree.
538
538
  */
539
- var pe = fe, xn = wt;
539
+ var pe = fe, xn = Ct;
540
540
  function On(n, e) {
541
541
  return n === e && (n !== 0 || 1 / n === 1 / e) || n !== n && e !== e;
542
542
  }
543
543
  var Rn = typeof Object.is == "function" ? Object.is : On, Tn = xn.useSyncExternalStore, Dn = pe.useRef, In = pe.useEffect, Ln = pe.useMemo, An = pe.useDebugValue;
544
- Nt.useSyncExternalStoreWithSelector = function(n, e, t, i, a) {
544
+ bt.useSyncExternalStoreWithSelector = function(n, e, t, i, a) {
545
545
  var s = Dn(null);
546
546
  if (s.current === null) {
547
547
  var r = { hasValue: !1, value: null };
@@ -575,16 +575,16 @@ Nt.useSyncExternalStoreWithSelector = function(n, e, t, i, a) {
575
575
  r.hasValue = !0, r.value = o;
576
576
  }, [o]), An(o), o;
577
577
  };
578
- yt.exports = Nt;
579
- var Pn = yt.exports;
578
+ Nt.exports = bt;
579
+ var Pn = Nt.exports;
580
580
  const Vn = /* @__PURE__ */ xe(Pn);
581
- var Ct = { NZ_AWS_REGION: "us-east-1", NZ_VTEX_PROJECT: "/Users/jbermudez/TODO/PROJECTS/live-shopping", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
581
+ var Et = { NZ_AWS_REGION: "us-east-1", NZ_VTEX_PROJECT: "/Users/jbermudez/TODO/PROJECTS/live-shopping", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
582
582
  const { useDebugValue: _n } = fe, { useSyncExternalStoreWithSelector: Un } = Vn;
583
- let Me = !1;
583
+ let $e = !1;
584
584
  function Mn(n, e = n.getState, t) {
585
- (Ct ? "production" : void 0) !== "production" && t && !Me && (console.warn(
585
+ (Et ? "production" : void 0) !== "production" && t && !$e && (console.warn(
586
586
  "[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"
587
- ), Me = !0);
587
+ ), $e = !0);
588
588
  const i = Un(
589
589
  n.subscribe,
590
590
  n.getState,
@@ -594,13 +594,13 @@ function Mn(n, e = n.getState, t) {
594
594
  );
595
595
  return _n(i), i;
596
596
  }
597
- const $e = (n) => {
598
- (Ct ? "production" : void 0) !== "production" && typeof n != "function" && console.warn(
597
+ const je = (n) => {
598
+ (Et ? "production" : void 0) !== "production" && typeof n != "function" && console.warn(
599
599
  "[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`."
600
600
  );
601
601
  const e = typeof n == "function" ? kn(n) : n, t = (i, a) => Mn(e, i, a);
602
602
  return Object.assign(t, e), t;
603
- }, $n = (n) => n ? $e(n) : $e;
603
+ }, $n = (n) => n ? je(n) : je;
604
604
  class jn {
605
605
  constructor(e) {
606
606
  R(this, "channel");
@@ -757,11 +757,11 @@ function Ls() {
757
757
  `);
758
758
  return n.length < 3 ? "" : n[2].trim().substring(3);
759
759
  }
760
- var Et = { exports: {} };
760
+ var xt = { exports: {} };
761
761
  (function(n) {
762
762
  (function(e, t) {
763
763
  n.exports ? n.exports = t() : e.log = t();
764
- })(St, function() {
764
+ })(yt, function() {
765
765
  var e = function() {
766
766
  }, t = "undefined", i = typeof window !== t && typeof window.navigator !== t && /Trident\/|MSIE /.test(window.navigator.userAgent), a = [
767
767
  "trace",
@@ -898,14 +898,14 @@ var Et = { exports: {} };
898
898
  return S;
899
899
  }, c.default = c, c;
900
900
  });
901
- })(Et);
902
- var xt = Et.exports;
903
- const ie = /* @__PURE__ */ xe(xt);
904
- var Ot = { exports: {} };
901
+ })(xt);
902
+ var Ot = xt.exports;
903
+ const ie = /* @__PURE__ */ xe(Ot);
904
+ var Rt = { exports: {} };
905
905
  (function(n) {
906
906
  (function(e, t) {
907
907
  n.exports ? n.exports = t() : e.prefix = t(e);
908
- })(St, function(e) {
908
+ })(yt, function(e) {
909
909
  var t = function(d) {
910
910
  for (var f = 1, c = arguments.length, S; f < c; f++)
911
911
  for (S in arguments[f])
@@ -954,14 +954,14 @@ var Ot = { exports: {} };
954
954
  return e.prefix === l && (e.prefix = u), l;
955
955
  }), l;
956
956
  });
957
- })(Ot);
958
- var Qn = Ot.exports;
959
- const je = /* @__PURE__ */ xe(Qn);
957
+ })(Rt);
958
+ var Qn = Rt.exports;
959
+ const ze = /* @__PURE__ */ xe(Qn);
960
960
  let Gn = class {
961
961
  constructor(e) {
962
- R(this, "defaultLevel", xt.levels.INFO);
962
+ R(this, "defaultLevel", Ot.levels.INFO);
963
963
  R(this, "namePrefix");
964
- this.namePrefix = e ? `${e}-` : "", ie.setDefaultLevel(this.defaultLevel), je.reg(ie), je.apply(ie, {
964
+ this.namePrefix = e ? `${e}-` : "", ie.setDefaultLevel(this.defaultLevel), ze.reg(ie), ze.apply(ie, {
965
965
  template: "[%t] %l (%n)",
966
966
  nameFormatter: (t) => {
967
967
  var i;
@@ -993,8 +993,9 @@ const j = $n(() => ({
993
993
  }
994
994
  }, Wn = (n) => {
995
995
  j.setState({ productDataSource: n });
996
- }, ze = () => ({
997
- version: "1.0.1",
996
+ }, Be = () => ({
997
+ version: "1.0.2",
998
+ store: j,
998
999
  configure: Kn,
999
1000
  setProductDataSource: Wn,
1000
1001
  instanceId: Bn(),
@@ -1006,13 +1007,13 @@ const j = $n(() => ({
1006
1007
  }), Jn = () => {
1007
1008
  if (typeof window != "undefined") {
1008
1009
  if (!window.nizza) {
1009
- const n = ze();
1010
+ const n = Be();
1010
1011
  window.nizza = n, window.nz = n;
1011
1012
  }
1012
1013
  return window.nizza;
1013
1014
  }
1014
- return ze();
1015
- }, Rt = Jn(), qn = j, Ps = Rt.log.createLogger("main"), Z = Rt.log.createLogger("core");
1015
+ return Be();
1016
+ }, Oe = Jn(), qn = Oe.store, Ps = Oe.log.createLogger("main"), Z = Oe.log.createLogger("core");
1016
1017
  function G(n) {
1017
1018
  return n != null && typeof n == "object" && n["@@functional/placeholder"] === !0;
1018
1019
  }
@@ -1021,7 +1022,7 @@ function se(n) {
1021
1022
  return arguments.length === 0 || G(t) ? e : n.apply(this, arguments);
1022
1023
  };
1023
1024
  }
1024
- function Oe(n) {
1025
+ function Re(n) {
1025
1026
  return function e(t, i) {
1026
1027
  switch (arguments.length) {
1027
1028
  case 0:
@@ -1045,7 +1046,7 @@ const Hn = Number.isInteger || function(e) {
1045
1046
  function Zn(n) {
1046
1047
  return Object.prototype.toString.call(n) === "[object String]";
1047
1048
  }
1048
- var Xn = /* @__PURE__ */ Oe(function(e, t) {
1049
+ var Xn = /* @__PURE__ */ Re(function(e, t) {
1049
1050
  var i = e < 0 ? t.length + e : e;
1050
1051
  return Zn(t) ? t.charAt(i) : t[i];
1051
1052
  });
@@ -1054,7 +1055,7 @@ var ei = /* @__PURE__ */ se(function(e) {
1054
1055
  return e == null;
1055
1056
  });
1056
1057
  const ti = ei;
1057
- var ni = /* @__PURE__ */ Oe(function(e, t) {
1058
+ var ni = /* @__PURE__ */ Re(function(e, t) {
1058
1059
  return e.map(function(i) {
1059
1060
  for (var a = t, s = 0, r; s < i.length; ) {
1060
1061
  if (a == null)
@@ -1065,7 +1066,7 @@ var ni = /* @__PURE__ */ Oe(function(e, t) {
1065
1066
  });
1066
1067
  });
1067
1068
  const ii = ni;
1068
- var ai = /* @__PURE__ */ Oe(function(e, t) {
1069
+ var ai = /* @__PURE__ */ Re(function(e, t) {
1069
1070
  return ii([e], t)[0];
1070
1071
  });
1071
1072
  const si = ai;
@@ -1195,7 +1196,7 @@ class $s {
1195
1196
  }
1196
1197
  }
1197
1198
  var Tt = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.VTEX_IO = "VTEX-IO", n.VTEX_CMS = "PORTAL-VTEX", n.PLATFORM = "PLATFORM", n.UNKNOWN = "UNKNOWN", n))(Tt || {}), ci = /* @__PURE__ */ ((n) => (n.PLATFORM = "platform_module", n.ADENDA = "subscription_module", n.APP_STORE = "app_store", n))(ci || {}), Dt = /* @__PURE__ */ ((n) => (n.ACTIVE = "active_contract", n.INACTIVE = "inactive_contract", n))(Dt || {}), mi = /* @__PURE__ */ ((n) => (n.LITE = "lite", n.STANDARD = "standard", n.PRO = "pro", n))(mi || {}), fi = /* @__PURE__ */ ((n) => (n.LITE = "PLAN_LITE", n.STANDARD = "PLAN_ESTANDAR", n.PRO = "PLAN_PRO", n.NONE = "NO_PLAN", n))(fi || {}), pi = /* @__PURE__ */ ((n) => (n.PAST = "past", n.LIVE = "live", n.FUTURE = "future", n))(pi || {});
1198
- class Re {
1199
+ class Te {
1199
1200
  constructor(e) {
1200
1201
  R(this, "root", ui(this));
1201
1202
  R(this, "id");
@@ -1230,7 +1231,7 @@ class Re {
1230
1231
  username: i != null ? i : a.account,
1231
1232
  createdAt: new Date(Number(t))
1232
1233
  };
1233
- return new Re(s);
1234
+ return new Te(s);
1234
1235
  }
1235
1236
  toPrimitives() {
1236
1237
  const { root: e, createdAt: t, ...i } = this;
@@ -1243,10 +1244,10 @@ class Re {
1243
1244
  const hi = `${pn.apiUrls.restV1}/accounts/v2`;
1244
1245
  class gi {
1245
1246
  async get(e) {
1246
- const t = `${hi}/${e}`, { data: i } = await vt({
1247
+ const t = `${hi}/${e}`, { data: i } = await St({
1247
1248
  url: t
1248
1249
  });
1249
- return i ? Re.toDomain(i) : null;
1250
+ return i ? Te.toDomain(i) : null;
1250
1251
  }
1251
1252
  }
1252
1253
  class ki {
@@ -1265,7 +1266,7 @@ class ki {
1265
1266
  }
1266
1267
  }
1267
1268
  const vi = new gi(), It = new ki(vi);
1268
- class Te {
1269
+ class De {
1269
1270
  constructor() {
1270
1271
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
1271
1272
  }
@@ -1288,7 +1289,7 @@ class Te {
1288
1289
  const oe = typeof window == "undefined" || "Deno" in window;
1289
1290
  function Si() {
1290
1291
  }
1291
- function Be(n) {
1292
+ function Qe(n) {
1292
1293
  return typeof n == "number" && n >= 0 && n !== 1 / 0;
1293
1294
  }
1294
1295
  function yi(n, e) {
@@ -1307,8 +1308,8 @@ function Ni(n, e, t) {
1307
1308
  function Lt(n, e) {
1308
1309
  if (n === e)
1309
1310
  return n;
1310
- const t = Qe(n) && Qe(e);
1311
- if (t || Ge(n) && Ge(e)) {
1311
+ const t = Ge(n) && Ge(e);
1312
+ if (t || Ke(n) && Ke(e)) {
1312
1313
  const i = t ? n.length : Object.keys(n).length, a = t ? e : Object.keys(e), s = a.length, r = t ? [] : {};
1313
1314
  let o = 0;
1314
1315
  for (let l = 0; l < s; l++) {
@@ -1327,19 +1328,19 @@ function be(n, e) {
1327
1328
  return !1;
1328
1329
  return !0;
1329
1330
  }
1330
- function Qe(n) {
1331
+ function Ge(n) {
1331
1332
  return Array.isArray(n) && n.length === Object.keys(n).length;
1332
1333
  }
1333
- function Ge(n) {
1334
- if (!Ke(n))
1334
+ function Ke(n) {
1335
+ if (!We(n))
1335
1336
  return !1;
1336
1337
  const e = n.constructor;
1337
1338
  if (typeof e == "undefined")
1338
1339
  return !0;
1339
1340
  const t = e.prototype;
1340
- return !(!Ke(t) || !t.hasOwnProperty("isPrototypeOf"));
1341
+ return !(!We(t) || !t.hasOwnProperty("isPrototypeOf"));
1341
1342
  }
1342
- function Ke(n) {
1343
+ function We(n) {
1343
1344
  return Object.prototype.toString.call(n) === "[object Object]";
1344
1345
  }
1345
1346
  function bi(n) {
@@ -1350,13 +1351,13 @@ function Fi(n) {
1350
1351
  setTimeout(e, n);
1351
1352
  });
1352
1353
  }
1353
- function We(n) {
1354
+ function Je(n) {
1354
1355
  Fi(0).then(n);
1355
1356
  }
1356
- function Je(n, e, t) {
1357
+ function qe(n, e, t) {
1357
1358
  return t.isDataEqual != null && t.isDataEqual(n, e) ? n : typeof t.structuralSharing == "function" ? t.structuralSharing(n, e) : t.structuralSharing !== !1 ? Lt(n, e) : e;
1358
1359
  }
1359
- class wi extends Te {
1360
+ class wi extends De {
1360
1361
  constructor() {
1361
1362
  super(), this.setup = (e) => {
1362
1363
  if (!oe && window.addEventListener) {
@@ -1396,16 +1397,16 @@ class wi extends Te {
1396
1397
  return typeof this.focused == "boolean" ? this.focused : typeof document == "undefined" ? !0 : [void 0, "visible", "prerender"].includes(document.visibilityState);
1397
1398
  }
1398
1399
  }
1399
- const Ci = new wi(), qe = ["online", "offline"];
1400
- class Ei extends Te {
1400
+ const Ci = new wi(), He = ["online", "offline"];
1401
+ class Ei extends De {
1401
1402
  constructor() {
1402
1403
  super(), this.setup = (e) => {
1403
1404
  if (!oe && window.addEventListener) {
1404
1405
  const t = () => e();
1405
- return qe.forEach((i) => {
1406
+ return He.forEach((i) => {
1406
1407
  window.addEventListener(i, t, !1);
1407
1408
  }), () => {
1408
- qe.forEach((i) => {
1409
+ He.forEach((i) => {
1409
1410
  window.removeEventListener(i, t);
1410
1411
  });
1411
1412
  };
@@ -1469,7 +1470,7 @@ function Di() {
1469
1470
  }
1470
1471
  return f;
1471
1472
  }, s = (d) => {
1472
- e ? n.push(d) : We(() => {
1473
+ e ? n.push(d) : Je(() => {
1473
1474
  t(d);
1474
1475
  });
1475
1476
  }, r = (d) => (...f) => {
@@ -1478,7 +1479,7 @@ function Di() {
1478
1479
  });
1479
1480
  }, o = () => {
1480
1481
  const d = n;
1481
- n = [], d.length && We(() => {
1482
+ n = [], d.length && Je(() => {
1482
1483
  i(() => {
1483
1484
  d.forEach((f) => {
1484
1485
  t(f);
@@ -1499,7 +1500,7 @@ function Di() {
1499
1500
  };
1500
1501
  }
1501
1502
  const X = Di();
1502
- class Ii extends Te {
1503
+ class Ii extends De {
1503
1504
  constructor(e, t) {
1504
1505
  super(), this.client = e, this.options = t, this.trackedProps = /* @__PURE__ */ new Set(), this.selectError = null, this.bindMethods(), this.setOptions(t);
1505
1506
  }
@@ -1507,7 +1508,7 @@ class Ii extends Te {
1507
1508
  this.remove = this.remove.bind(this), this.refetch = this.refetch.bind(this);
1508
1509
  }
1509
1510
  onSubscribe() {
1510
- this.listeners.size === 1 && (this.currentQuery.addObserver(this), He(this.currentQuery, this.options) && this.executeFetch(), this.updateTimers());
1511
+ this.listeners.size === 1 && (this.currentQuery.addObserver(this), Ze(this.currentQuery, this.options) && this.executeFetch(), this.updateTimers());
1511
1512
  }
1512
1513
  onUnsubscribe() {
1513
1514
  this.hasListeners() || this.destroy();
@@ -1531,7 +1532,7 @@ class Ii extends Te {
1531
1532
  throw new Error("Expected enabled to be a boolean");
1532
1533
  this.options.queryKey || (this.options.queryKey = i.queryKey), this.updateQuery();
1533
1534
  const s = this.hasListeners();
1534
- s && Ze(this.currentQuery, a, this.options, i) && this.executeFetch(), this.updateResult(t), s && (this.currentQuery !== a || this.options.enabled !== i.enabled || this.options.staleTime !== i.staleTime) && this.updateStaleTimeout();
1535
+ s && Xe(this.currentQuery, a, this.options, i) && this.executeFetch(), this.updateResult(t), s && (this.currentQuery !== a || this.options.enabled !== i.enabled || this.options.staleTime !== i.staleTime) && this.updateStaleTimeout();
1535
1536
  const r = this.computeRefetchInterval();
1536
1537
  s && (this.currentQuery !== a || this.options.enabled !== i.enabled || r !== this.currentRefetchInterval) && this.updateRefetchInterval(r);
1537
1538
  }
@@ -1586,7 +1587,7 @@ class Ii extends Te {
1586
1587
  return e != null && e.throwOnError || (t = t.catch(Si)), t;
1587
1588
  }
1588
1589
  updateStaleTimeout() {
1589
- if (this.clearStaleTimeout(), oe || this.currentResult.isStale || !Be(this.options.staleTime))
1590
+ if (this.clearStaleTimeout(), oe || this.currentResult.isStale || !Qe(this.options.staleTime))
1590
1591
  return;
1591
1592
  const t = yi(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
1592
1593
  this.staleTimeoutId = setTimeout(() => {
@@ -1598,7 +1599,7 @@ class Ii extends Te {
1598
1599
  return typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.currentResult.data, this.currentQuery) : (e = this.options.refetchInterval) != null ? e : !1;
1599
1600
  }
1600
1601
  updateRefetchInterval(e) {
1601
- this.clearRefetchInterval(), this.currentRefetchInterval = e, !(oe || this.options.enabled === !1 || !Be(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
1602
+ this.clearRefetchInterval(), this.currentRefetchInterval = e, !(oe || this.options.enabled === !1 || !Qe(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
1602
1603
  (this.options.refetchIntervalInBackground || Ci.isFocused()) && this.executeFetch();
1603
1604
  }, this.currentRefetchInterval));
1604
1605
  }
@@ -1623,7 +1624,7 @@ class Ii extends Te {
1623
1624
  status: N
1624
1625
  } = f, O = !1, F = !1, D;
1625
1626
  if (t._optimisticResults) {
1626
- const m = this.hasListeners(), p = !m && He(e, t), h = m && Ze(e, i, t, a);
1627
+ const m = this.hasListeners(), p = !m && Ze(e, t), h = m && Xe(e, i, t, a);
1627
1628
  (p || h) && (k = Oi(e.options.networkMode) ? "fetching" : "paused", c || (N = "loading")), t._optimisticResults === "isRestoring" && (k = "idle");
1628
1629
  }
1629
1630
  if (t.keepPreviousData && !f.dataUpdatedAt && d != null && d.isSuccess && N !== "error")
@@ -1633,7 +1634,7 @@ class Ii extends Te {
1633
1634
  D = this.selectResult;
1634
1635
  else
1635
1636
  try {
1636
- this.selectFn = t.select, D = t.select(f.data), D = Je(s == null ? void 0 : s.data, D, t), this.selectResult = D, this.selectError = null;
1637
+ this.selectFn = t.select, D = t.select(f.data), D = qe(s == null ? void 0 : s.data, D, t), this.selectResult = D, this.selectError = null;
1637
1638
  } catch (m) {
1638
1639
  this.selectError = m;
1639
1640
  }
@@ -1649,7 +1650,7 @@ class Ii extends Te {
1649
1650
  } catch (p) {
1650
1651
  this.selectError = p;
1651
1652
  }
1652
- typeof m != "undefined" && (N = "success", D = Je(s == null ? void 0 : s.data, m, t), F = !0);
1653
+ typeof m != "undefined" && (N = "success", D = qe(s == null ? void 0 : s.data, m, t), F = !0);
1653
1654
  }
1654
1655
  this.selectError && (S = this.selectError, D = this.selectResult, y = Date.now(), N = "error");
1655
1656
  const w = k === "fetching", I = N === "loading", L = N === "error";
@@ -1676,7 +1677,7 @@ class Ii extends Te {
1676
1677
  isPlaceholderData: F,
1677
1678
  isPreviousData: O,
1678
1679
  isRefetchError: L && f.dataUpdatedAt !== 0,
1679
- isStale: De(e, t),
1680
+ isStale: Ie(e, t),
1680
1681
  refetch: this.refetch,
1681
1682
  remove: this.remove
1682
1683
  };
@@ -1741,28 +1742,28 @@ class Ii extends Te {
1741
1742
  function Li(n, e) {
1742
1743
  return e.enabled !== !1 && !n.state.dataUpdatedAt && !(n.state.status === "error" && e.retryOnMount === !1);
1743
1744
  }
1744
- function He(n, e) {
1745
+ function Ze(n, e) {
1745
1746
  return Li(n, e) || n.state.dataUpdatedAt > 0 && Fe(n, e, e.refetchOnMount);
1746
1747
  }
1747
1748
  function Fe(n, e, t) {
1748
1749
  if (e.enabled !== !1) {
1749
1750
  const i = typeof t == "function" ? t(n) : t;
1750
- return i === "always" || i !== !1 && De(n, e);
1751
+ return i === "always" || i !== !1 && Ie(n, e);
1751
1752
  }
1752
1753
  return !1;
1753
1754
  }
1754
- function Ze(n, e, t, i) {
1755
- return t.enabled !== !1 && (n !== e || i.enabled === !1) && (!t.suspense || n.state.status !== "error") && De(n, t);
1755
+ function Xe(n, e, t, i) {
1756
+ return t.enabled !== !1 && (n !== e || i.enabled === !1) && (!t.suspense || n.state.status !== "error") && Ie(n, t);
1756
1757
  }
1757
- function De(n, e) {
1758
+ function Ie(n, e) {
1758
1759
  return n.isStaleByTime(e.staleTime);
1759
1760
  }
1760
1761
  function Ai(n, e, t) {
1761
1762
  return t.keepPreviousData ? !1 : t.placeholderData !== void 0 ? e.isPlaceholderData : !be(n.getCurrentResult(), e);
1762
1763
  }
1763
- const Pi = wt.useSyncExternalStore, Xe = /* @__PURE__ */ M.createContext(void 0), Vi = /* @__PURE__ */ M.createContext(!1);
1764
+ const Pi = Ct.useSyncExternalStore, Ye = /* @__PURE__ */ M.createContext(void 0), Vi = /* @__PURE__ */ M.createContext(!1);
1764
1765
  function _i(n, e) {
1765
- return n || (e && typeof window != "undefined" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = Xe), window.ReactQueryClientContext) : Xe);
1766
+ return n || (e && typeof window != "undefined" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = Ye), window.ReactQueryClientContext) : Ye);
1766
1767
  }
1767
1768
  const Ui = ({
1768
1769
  context: n
@@ -1847,14 +1848,14 @@ const Yi = () => ["account"], js = () => {
1847
1848
  refetchOnWindowFocus: !1,
1848
1849
  refetchOnMount: !1
1849
1850
  });
1850
- return ht(() => {
1851
+ return gt(() => {
1851
1852
  const a = i.data;
1852
1853
  !i.isSuccess || !a || t(a);
1853
1854
  }, [i.status]), {
1854
1855
  findQuery: i,
1855
1856
  account: e
1856
1857
  };
1857
- }, ea = gt();
1858
+ }, ea = kt();
1858
1859
  async function ta(n) {
1859
1860
  const e = await It.get(n);
1860
1861
  return ea.set(Ee, e), e;
@@ -1923,14 +1924,14 @@ function ca(n) {
1923
1924
  var e = ua(n, "string");
1924
1925
  return Y(e) === "symbol" ? e : String(e);
1925
1926
  }
1926
- function Ye(n, e) {
1927
+ function et(n, e) {
1927
1928
  for (var t = 0; t < e.length; t++) {
1928
1929
  var i = e[t];
1929
1930
  i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(n, ca(i.key), i);
1930
1931
  }
1931
1932
  }
1932
1933
  function ma(n, e, t) {
1933
- return e && Ye(n.prototype, e), t && Ye(n, t), Object.defineProperty(n, "prototype", {
1934
+ return e && et(n.prototype, e), t && et(n, t), Object.defineProperty(n, "prototype", {
1934
1935
  writable: !1
1935
1936
  }), n;
1936
1937
  }
@@ -1942,7 +1943,7 @@ function ha(n) {
1942
1943
  n[t] === void 0 && (n[t] = e[t]);
1943
1944
  }), n;
1944
1945
  }
1945
- var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
1946
+ var tt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
1946
1947
  var a = i || {};
1947
1948
  a.path = a.path || "/";
1948
1949
  var s = encodeURIComponent(t), r = "".concat(e, "=").concat(s);
@@ -1953,12 +1954,12 @@ var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
1953
1954
  r += "; Max-Age=".concat(Math.floor(o));
1954
1955
  }
1955
1956
  if (a.domain) {
1956
- if (!et.test(a.domain))
1957
+ if (!tt.test(a.domain))
1957
1958
  throw new TypeError("option domain is invalid");
1958
1959
  r += "; Domain=".concat(a.domain);
1959
1960
  }
1960
1961
  if (a.path) {
1961
- if (!et.test(a.path))
1962
+ if (!tt.test(a.path))
1962
1963
  throw new TypeError("option path is invalid");
1963
1964
  r += "; Path=".concat(a.path);
1964
1965
  }
@@ -1987,7 +1988,7 @@ var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
1987
1988
  }
1988
1989
  }
1989
1990
  return r;
1990
- }, tt = {
1991
+ }, nt = {
1991
1992
  create: function(e, t, i, a) {
1992
1993
  var s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
1993
1994
  path: "/",
@@ -2012,13 +2013,13 @@ var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
2012
2013
  lookup: function(e) {
2013
2014
  var t;
2014
2015
  if (e.lookupCookie && typeof document != "undefined") {
2015
- var i = tt.read(e.lookupCookie);
2016
+ var i = nt.read(e.lookupCookie);
2016
2017
  i && (t = i);
2017
2018
  }
2018
2019
  return t;
2019
2020
  },
2020
2021
  cacheUserLanguage: function(e, t) {
2021
- t.lookupCookie && typeof document != "undefined" && tt.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
2022
+ t.lookupCookie && typeof document != "undefined" && nt.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
2022
2023
  }
2023
2024
  }, va = {
2024
2025
  name: "querystring",
@@ -2037,7 +2038,7 @@ var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
2037
2038
  }
2038
2039
  return t;
2039
2040
  }
2040
- }, J = null, nt = function() {
2041
+ }, J = null, it = function() {
2041
2042
  if (J !== null)
2042
2043
  return J;
2043
2044
  try {
@@ -2052,16 +2053,16 @@ var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
2052
2053
  name: "localStorage",
2053
2054
  lookup: function(e) {
2054
2055
  var t;
2055
- if (e.lookupLocalStorage && nt()) {
2056
+ if (e.lookupLocalStorage && it()) {
2056
2057
  var i = window.localStorage.getItem(e.lookupLocalStorage);
2057
2058
  i && (t = i);
2058
2059
  }
2059
2060
  return t;
2060
2061
  },
2061
2062
  cacheUserLanguage: function(e, t) {
2062
- t.lookupLocalStorage && nt() && window.localStorage.setItem(t.lookupLocalStorage, e);
2063
+ t.lookupLocalStorage && it() && window.localStorage.setItem(t.lookupLocalStorage, e);
2063
2064
  }
2064
- }, q = null, it = function() {
2065
+ }, q = null, at = function() {
2065
2066
  if (q !== null)
2066
2067
  return q;
2067
2068
  try {
@@ -2076,14 +2077,14 @@ var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
2076
2077
  name: "sessionStorage",
2077
2078
  lookup: function(e) {
2078
2079
  var t;
2079
- if (e.lookupSessionStorage && it()) {
2080
+ if (e.lookupSessionStorage && at()) {
2080
2081
  var i = window.sessionStorage.getItem(e.lookupSessionStorage);
2081
2082
  i && (t = i);
2082
2083
  }
2083
2084
  return t;
2084
2085
  },
2085
2086
  cacheUserLanguage: function(e, t) {
2086
- t.lookupSessionStorage && it() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
2087
+ t.lookupSessionStorage && at() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
2087
2088
  }
2088
2089
  }, Na = {
2089
2090
  name: "navigator",
@@ -2323,7 +2324,7 @@ function H() {
2323
2324
  });
2324
2325
  return t.resolve = n, t.reject = e, t;
2325
2326
  }
2326
- function at(n) {
2327
+ function st(n) {
2327
2328
  return n == null ? "" : "" + n;
2328
2329
  }
2329
2330
  function Oa(n, e, t) {
@@ -2331,7 +2332,7 @@ function Oa(n, e, t) {
2331
2332
  e[i] && (t[i] = e[i]);
2332
2333
  });
2333
2334
  }
2334
- function Ie(n, e, t) {
2335
+ function Le(n, e, t) {
2335
2336
  function i(r) {
2336
2337
  return r && r.indexOf("###") > -1 ? r.replace(/###/g, ".") : r;
2337
2338
  }
@@ -2350,25 +2351,25 @@ function Ie(n, e, t) {
2350
2351
  k: i(s.shift())
2351
2352
  };
2352
2353
  }
2353
- function st(n, e, t) {
2354
+ function rt(n, e, t) {
2354
2355
  const {
2355
2356
  obj: i,
2356
2357
  k: a
2357
- } = Ie(n, e, Object);
2358
+ } = Le(n, e, Object);
2358
2359
  i[a] = t;
2359
2360
  }
2360
2361
  function Ra(n, e, t, i) {
2361
2362
  const {
2362
2363
  obj: a,
2363
2364
  k: s
2364
- } = Ie(n, e, Object);
2365
+ } = Le(n, e, Object);
2365
2366
  a[s] = a[s] || [], i && (a[s] = a[s].concat(t)), i || a[s].push(t);
2366
2367
  }
2367
2368
  function de(n, e) {
2368
2369
  const {
2369
2370
  obj: t,
2370
2371
  k: i
2371
- } = Ie(n, e);
2372
+ } = Le(n, e);
2372
2373
  if (t)
2373
2374
  return t[i];
2374
2375
  }
@@ -2444,7 +2445,7 @@ function ue(n, e) {
2444
2445
  function ce(n) {
2445
2446
  return n && n.indexOf("_") > 0 ? n.replace("_", "-") : n;
2446
2447
  }
2447
- class rt extends ge {
2448
+ class ot extends ge {
2448
2449
  constructor(e) {
2449
2450
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2450
2451
  ns: ["translation"],
@@ -2473,7 +2474,7 @@ class rt extends ge {
2473
2474
  };
2474
2475
  const r = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator;
2475
2476
  let o = [e, t];
2476
- i && (o = o.concat(r ? i.split(r) : i)), e.indexOf(".") > -1 && (o = e.split("."), a = t, t = o[1]), this.addNamespaces(t), st(this.data, o, a), s.silent || this.emit("added", e, t, i, a);
2477
+ i && (o = o.concat(r ? i.split(r) : i)), e.indexOf(".") > -1 && (o = e.split("."), a = t, t = o[1]), this.addNamespaces(t), rt(this.data, o, a), s.silent || this.emit("added", e, t, i, a);
2477
2478
  }
2478
2479
  addResources(e, t, i) {
2479
2480
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -2494,7 +2495,7 @@ class rt extends ge {
2494
2495
  a ? _t(l, i, s) : l = {
2495
2496
  ...l,
2496
2497
  ...i
2497
- }, st(this.data, o, l), r.silent || this.emit("added", e, t, i);
2498
+ }, rt(this.data, o, l), r.silent || this.emit("added", e, t, i);
2498
2499
  }
2499
2500
  removeResourceBundle(e, t) {
2500
2501
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -2529,7 +2530,7 @@ var Ut = {
2529
2530
  }), e;
2530
2531
  }
2531
2532
  };
2532
- const ot = {};
2533
+ const lt = {};
2533
2534
  class me extends ge {
2534
2535
  constructor(e) {
2535
2536
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
@@ -2719,7 +2720,7 @@ class me extends ge {
2719
2720
  this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
2720
2721
  const c = t.count !== void 0 && typeof t.count != "string", S = c && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), y = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", k = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
2721
2722
  f.forEach((N) => {
2722
- this.isValidLookup(i) || (o = N, !ot[`${k[0]}-${N}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (ot[`${k[0]}-${N}`] = !0, this.logger.warn(`key "${a}" for languages "${k.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), k.forEach((O) => {
2723
+ this.isValidLookup(i) || (o = N, !lt[`${k[0]}-${N}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (lt[`${k[0]}-${N}`] = !0, this.logger.warn(`key "${a}" for languages "${k.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), k.forEach((O) => {
2723
2724
  if (this.isValidLookup(i))
2724
2725
  return;
2725
2726
  r = O;
@@ -2782,7 +2783,7 @@ class me extends ge {
2782
2783
  function Ne(n) {
2783
2784
  return n.charAt(0).toUpperCase() + n.slice(1);
2784
2785
  }
2785
- class lt {
2786
+ class dt {
2786
2787
  constructor(e) {
2787
2788
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = $.create("languageUtils");
2788
2789
  }
@@ -3011,7 +3012,7 @@ let Pa = [{
3011
3012
  return n == 1 ? 0 : n == 2 ? 1 : (n < 0 || n > 10) && n % 10 == 0 ? 2 : 3;
3012
3013
  }
3013
3014
  };
3014
- const _a = ["v1", "v2", "v3"], Ua = ["v4"], dt = {
3015
+ const _a = ["v1", "v2", "v3"], Ua = ["v4"], ut = {
3015
3016
  zero: 0,
3016
3017
  one: 1,
3017
3018
  two: 2,
@@ -3062,7 +3063,7 @@ class $a {
3062
3063
  getSuffixes(e) {
3063
3064
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3064
3065
  const i = this.getRule(e, t);
3065
- return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((a, s) => dt[a] - dt[s]).map((a) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : i.numbers.map((a) => this.getSuffix(e, a, t)) : [];
3066
+ return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((a, s) => ut[a] - ut[s]).map((a) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : i.numbers.map((a) => this.getSuffix(e, a, t)) : [];
3066
3067
  }
3067
3068
  getSuffix(e, t) {
3068
3069
  let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -3080,7 +3081,7 @@ class $a {
3080
3081
  return !_a.includes(this.options.compatibilityJSON);
3081
3082
  }
3082
3083
  }
3083
- function ut(n, e, t) {
3084
+ function ct(n, e, t) {
3084
3085
  let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = Ta(n, e, t);
3085
3086
  return !s && a && typeof t == "string" && (s = ue(n, t, i), s === void 0 && (s = ue(e, t, i))), s;
3086
3087
  }
@@ -3116,7 +3117,7 @@ class ja {
3116
3117
  }
3117
3118
  const d = (y) => {
3118
3119
  if (y.indexOf(this.formatSeparator) < 0) {
3119
- const F = ut(t, l, y, this.options.keySeparator, this.options.ignoreJSONStructure);
3120
+ const F = ct(t, l, y, this.options.keySeparator, this.options.ignoreJSONStructure);
3120
3121
  return this.alwaysFormat ? this.format(F, void 0, i, {
3121
3122
  ...a,
3122
3123
  ...t,
@@ -3124,7 +3125,7 @@ class ja {
3124
3125
  }) : F;
3125
3126
  }
3126
3127
  const k = y.split(this.formatSeparator), N = k.shift().trim(), O = k.join(this.formatSeparator).trim();
3127
- return this.format(ut(t, l, N, this.options.keySeparator, this.options.ignoreJSONStructure), O, i, {
3128
+ return this.format(ct(t, l, N, this.options.keySeparator, this.options.ignoreJSONStructure), O, i, {
3128
3129
  ...a,
3129
3130
  ...t,
3130
3131
  interpolationkey: N
@@ -3153,7 +3154,7 @@ class ja {
3153
3154
  } else
3154
3155
  this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), r = "";
3155
3156
  else
3156
- typeof r != "string" && !this.useRawValueToEscape && (r = at(r));
3157
+ typeof r != "string" && !this.useRawValueToEscape && (r = st(r));
3157
3158
  const N = y.safeValue(r);
3158
3159
  if (e = e.replace(s[0], N), c ? (y.regex.lastIndex += r.length, y.regex.lastIndex -= s[0].length) : y.regex.lastIndex = 0, o++, o >= this.maxReplaces)
3159
3160
  break;
@@ -3193,7 +3194,7 @@ class ja {
3193
3194
  }
3194
3195
  if (s = t(o.call(this, a[1].trim(), r), r), s && a[0] === e && typeof s != "string")
3195
3196
  return s;
3196
- typeof s != "string" && (s = at(s)), s || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`), s = ""), u && (s = l.reduce((d, f) => this.format(d, f, i.lng, {
3197
+ typeof s != "string" && (s = st(s)), s || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`), s = ""), u && (s = l.reduce((d, f) => this.format(d, f, i.lng, {
3197
3198
  ...i,
3198
3199
  interpolationkey: a[1].trim()
3199
3200
  }), s.trim())), e = e.replace(a[0], s), this.regexp.lastIndex = 0;
@@ -3440,7 +3441,7 @@ class Ga extends ge {
3440
3441
  }
3441
3442
  }
3442
3443
  }
3443
- function ct() {
3444
+ function mt() {
3444
3445
  return {
3445
3446
  debug: !1,
3446
3447
  initImmediate: !0,
@@ -3499,7 +3500,7 @@ function ct() {
3499
3500
  }
3500
3501
  };
3501
3502
  }
3502
- function mt(n) {
3503
+ function ft(n) {
3503
3504
  return typeof n.ns == "string" && (n.ns = [n.ns]), typeof n.fallbackLng == "string" && (n.fallbackLng = [n.fallbackLng]), typeof n.fallbackNS == "string" && (n.fallbackNS = [n.fallbackNS]), n.supportedLngs && n.supportedLngs.indexOf("cimode") < 0 && (n.supportedLngs = n.supportedLngs.concat(["cimode"])), n;
3504
3505
  }
3505
3506
  function ae() {
@@ -3512,7 +3513,7 @@ function Ka(n) {
3512
3513
  class ee extends ge {
3513
3514
  constructor() {
3514
3515
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
3515
- if (super(), this.options = mt(e), this.services = {}, this.logger = $, this.modules = {
3516
+ if (super(), this.options = ft(e), this.services = {}, this.logger = $, this.modules = {
3516
3517
  external: []
3517
3518
  }, Ka(this), t && !this.isInitialized && !e.isClone) {
3518
3519
  if (!this.options.initImmediate)
@@ -3526,11 +3527,11 @@ class ee extends ge {
3526
3527
  var e = this;
3527
3528
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
3528
3529
  typeof t == "function" && (i = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (typeof t.ns == "string" ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
3529
- const a = ct();
3530
+ const a = mt();
3530
3531
  this.options = {
3531
3532
  ...a,
3532
3533
  ...this.options,
3533
- ...mt(t)
3534
+ ...ft(t)
3534
3535
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
3535
3536
  ...a.interpolation,
3536
3537
  ...this.options.interpolation
@@ -3542,8 +3543,8 @@ class ee extends ge {
3542
3543
  this.modules.logger ? $.init(s(this.modules.logger), this.options) : $.init(null, this.options);
3543
3544
  let d;
3544
3545
  this.modules.formatter ? d = this.modules.formatter : typeof Intl != "undefined" && (d = Ba);
3545
- const f = new lt(this.options);
3546
- this.store = new rt(this.options.resources, this.options);
3546
+ const f = new dt(this.options);
3547
+ this.store = new ot(this.options.resources, this.options);
3547
3548
  const c = this.services;
3548
3549
  c.logger = $, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new $a(f, {
3549
3550
  prepend: this.options.pluralSeparator,
@@ -3717,7 +3718,7 @@ class ee extends ge {
3717
3718
  dir(e) {
3718
3719
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e)
3719
3720
  return "rtl";
3720
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = this.services && this.services.languageUtils || new lt(ct());
3721
+ const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = this.services && this.services.languageUtils || new dt(mt());
3721
3722
  return t.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
3722
3723
  }
3723
3724
  static createInstance() {
@@ -3739,7 +3740,7 @@ class ee extends ge {
3739
3740
  ...this.services
3740
3741
  }, s.services.utils = {
3741
3742
  hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
3742
- }, i && (s.store = new rt(this.store.data, a), s.services.resourceStore = s.store), s.translator = new me(s.services, a), s.translator.on("*", function(o) {
3743
+ }, i && (s.store = new ot(this.store.data, a), s.services.resourceStore = s.store), s.translator = new me(s.services, a), s.translator.on("*", function(o) {
3743
3744
  for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), d = 1; d < l; d++)
3744
3745
  u[d - 1] = arguments[d];
3745
3746
  s.emit(o, ...u);
@@ -3795,7 +3796,7 @@ const Wa = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
3795
3796
  "&#x2F;": "/",
3796
3797
  "&#47;": "/"
3797
3798
  }, qa = (n) => Ja[n], Ha = (n) => n.replace(Wa, qa);
3798
- let ft = {
3799
+ let pt = {
3799
3800
  bindI18n: "languageChanged",
3800
3801
  bindI18nStore: "",
3801
3802
  transEmptyNodeValue: "",
@@ -3807,8 +3808,8 @@ let ft = {
3807
3808
  };
3808
3809
  function Za() {
3809
3810
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3810
- ft = {
3811
- ...ft,
3811
+ pt = {
3812
+ ...pt,
3812
3813
  ...n
3813
3814
  };
3814
3815
  }
@@ -3820,11 +3821,11 @@ const Xa = {
3820
3821
  };
3821
3822
  Ea(U, Xa);
3822
3823
  const Qs = (n) => la(U, n);
3823
- let Le = /* @__PURE__ */ new Map();
3824
- const we = pt(Le), Gs = ({ children: n, stores: e }) => {
3824
+ let Ae = /* @__PURE__ */ new Map();
3825
+ const we = ht(Ae), Gs = ({ children: n, stores: e }) => {
3825
3826
  const t = Ce(we), i = Wt(() => {
3826
3827
  const a = /* @__PURE__ */ new Map();
3827
- return e.forEach((s) => a.set(s.class, s.value)), Le = new Map([...t, ...a]);
3828
+ return e.forEach((s) => a.set(s.class, s.value)), Ae = new Map([...t, ...a]);
3828
3829
  }, []);
3829
3830
  return /* @__PURE__ */ Jt(we.Provider, { value: i, children: n });
3830
3831
  };
@@ -3832,7 +3833,7 @@ function Ks(n) {
3832
3833
  return Ce(we).get(n);
3833
3834
  }
3834
3835
  function Ws(n) {
3835
- return Le.get(n);
3836
+ return Ae.get(n);
3836
3837
  }
3837
3838
  var Mt = /* @__PURE__ */ ((n) => (n.Created = "CREATED", n.Finalized = "FINALIZED", n.Live = "LIVE", n.Starting = "STARTING", n))(Mt || {}), $t = /* @__PURE__ */ ((n) => (n.Add = "add", n.Remove = "remove", n))($t || {}), jt = /* @__PURE__ */ ((n) => (n.Active = "active", n.Inactive = "inactive", n))(jt || {});
3838
3839
  const Ya = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "AddCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreateCollectionInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "createCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, es = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ts = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ns = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllCollections" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, is = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ManageCollectionProduct" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ManageCollectionProductInInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "manageCollectionProduct" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, as = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchCollections" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ss = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "UpdateCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "UpdateCollectionInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updateCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, rs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindMinimalEvent" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindEventInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findEvent" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailsPath" } }, { kind: "Field", name: { kind: "Name", value: "recordVideoPath" } }, { kind: "Field", name: { kind: "Name", value: "createdAt" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "thumbnails" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, os = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchMinimalEvents" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SearchEventInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchEvent" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailsPath" } }, { kind: "Field", name: { kind: "Name", value: "recordVideoPath" } }, { kind: "Field", name: { kind: "Name", value: "createdAt" } }, { kind: "Field", name: { kind: "Name", value: "status" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ls = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "BlockUser" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "BlockUserInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "blockUser" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "BlockUserSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, ds = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ChangeAccountUsername" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "changeAccountUsername" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, us = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, cs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetAllChatMessageInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatMessageArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "connectionId" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "email" } }, { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "idEvent" } }, { kind: "Field", name: { kind: "Name", value: "sendDate" } }, { kind: "Field", name: { kind: "Name", value: "sessionId" } }, { kind: "Field", name: { kind: "Name", value: "type" } }, { kind: "Field", name: { kind: "Name", value: "username" } }, { kind: "Field", name: { kind: "Name", value: "isAdmin" } }, { kind: "Field", name: { kind: "Name", value: "urlGif" } }, { kind: "Field", name: { kind: "Name", value: "second" } }, { kind: "Field", name: { kind: "Name", value: "ip" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ms = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetChatRoomToken" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetChatRoomInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getChatRoomToken" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatRoomTokenData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "token" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, fs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "PinChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "PinChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "pinChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PinChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, ps = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "deleteAllCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerInputAccount" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteAllCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, hs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "getAllCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "section" } }, { kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, gs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "updateCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updateCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ks = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetTimeLine" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetTimeLineInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getTimeLine" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TimeLineArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "time" } }, { kind: "Field", name: { kind: "Name", value: "likes" } }, { kind: "Field", name: { kind: "Name", value: "comments" } }, { kind: "Field", name: { kind: "Name", value: "viewers" } }, { kind: "Field", name: { kind: "Name", value: "orders" } }, { kind: "Field", name: { kind: "Name", value: "minute" } }, { kind: "Field", name: { kind: "Name", value: "hour" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, vs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "AppendProductsToSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "RelateToProductsSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "appendProductsSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Ss = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "CreateSnackVideoBatch" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreateSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "createSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ys = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteRelationshipWithSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoRelationshipKeys" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteRelationshipSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }] } }] } }] } }] }, Ns = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, bs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindManySnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindManySnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findManySnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Fs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ws = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetSnackVideoRelationships" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoRelationshipInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getRelationshipSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "RelationshipSnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "sourceEntity" } }, { kind: "Field", name: { kind: "Name", value: "attributeId" } }] } }] } }] } }] } }] }, Cs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SearchInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Es = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindByProductSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindByProductSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findByProductSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3898,7 +3899,7 @@ export {
3898
3899
  li as InvalidNizzaGlobalObjectError,
3899
3900
  ia as LanguageTypes,
3900
3901
  Gn as Logger,
3901
- Re as NizzaAccount,
3902
+ Te as NizzaAccount,
3902
3903
  na as NizzaEventStatus,
3903
3904
  sa as NizzaProductRequestOriginTypes,
3904
3905
  aa as NizzaVariationTypes,
@@ -3915,7 +3916,7 @@ export {
3915
3916
  Z as coreLogger,
3916
3917
  ui as createAggregateRoot,
3917
3918
  qs as createStore,
3918
- vt as customFetch,
3919
+ St as customFetch,
3919
3920
  Ds as downloadFile,
3920
3921
  Ls as fileOrigin,
3921
3922
  ta as getAccount,
@@ -3925,7 +3926,7 @@ export {
3925
3926
  Ea as i18Init,
3926
3927
  hn as jsDownload,
3927
3928
  Ps as logger,
3928
- Rt as nizza,
3929
+ Oe as nizza,
3929
3930
  Qs as registerTranslations,
3930
3931
  la as registerTranslationsOf,
3931
3932
  Is as searchParams,