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

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
@@ -1,13 +1,13 @@
1
- var zt = Object.defineProperty;
2
- var Bt = (n, e, t) => e in n ? zt(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var R = (n, e, t) => (Bt(n, typeof e != "symbol" ? e + "" : e, t), t);
1
+ var $t = Object.defineProperty;
2
+ var jt = (n, e, t) => e in n ? $t(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var R = (n, e, t) => (jt(n, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import * as M 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
- import { jsx as Jt } from "react/jsx-runtime";
5
+ import fe, { createContext as ft, useReducer as zt, useEffect as pt, useDebugValue as Bt, useCallback as Qt, useContext as Ce, useMemo as Gt } from "react";
6
+ import { jsx as Kt } 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
- let qt = 0;
9
- function Ht(n, e) {
10
- const t = `atom${++qt}`, i = {
8
+ let Wt = 0;
9
+ function Jt(n, e) {
10
+ const t = `atom${++Wt}`, i = {
11
11
  toString: () => t
12
12
  };
13
13
  return typeof n == "function" ? i.read = n : (i.init = n, i.read = function(a) {
@@ -19,21 +19,21 @@ function Ht(n, e) {
19
19
  );
20
20
  }), e && (i.write = e), i;
21
21
  }
22
- const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new WeakMap(), Zt = (n, e) => {
22
+ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new WeakMap(), qt = (n, e) => {
23
23
  re.set(n, e), n.catch(() => {
24
24
  }).finally(() => re.delete(n));
25
- }, Pe = (n, e) => {
25
+ }, Ae = (n, e) => {
26
26
  const t = re.get(n);
27
27
  t && (re.delete(n), t(e));
28
- }, Ve = (n, e) => {
28
+ }, Pe = (n, e) => {
29
29
  n.status = "fulfilled", n.value = e;
30
- }, _e = (n, e) => {
30
+ }, Ve = (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), 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) => {
32
+ }, Ht = (n) => typeof (n == null ? void 0 : n.then) == "function", J = (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, Zt = (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
- }, kt = () => {
36
+ }, ht = () => {
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 && Pe(h.v, g);
45
+ h.v !== g && Ae(h.v, g);
46
46
  }
47
47
  }, o = (m, p, h) => {
48
48
  const g = /* @__PURE__ */ new Map();
@@ -55,16 +55,16 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
55
55
  d: (g == null ? void 0 : g.d) || /* @__PURE__ */ new Map(),
56
56
  v: p
57
57
  };
58
- if (h && o(m, b, h), W(g, b) && g.d === b.d)
58
+ if (h && o(m, b, h), J(g, b) && g.d === b.d)
59
59
  return g;
60
- if (z(g) && z(b) && Yt(g, b)) {
60
+ if (z(g) && z(b) && Zt(g, b)) {
61
61
  if (g.d === b.d)
62
62
  return g;
63
63
  b.v = g.v;
64
64
  }
65
65
  return r(m, b), b;
66
66
  }, u = (m, p, h, g) => {
67
- if (Xt(p)) {
67
+ if (Ht(p)) {
68
68
  let b;
69
69
  const C = () => {
70
70
  const E = s(m);
@@ -75,24 +75,24 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
75
75
  v,
76
76
  h
77
77
  );
78
- e.has(m) && E.d !== P.d && I(m, P, E.d);
78
+ e.has(m) && E.d !== P.d && D(m, P, E.d);
79
79
  }, v = new Promise((E, P) => {
80
80
  let x = !1;
81
81
  p.then(
82
82
  (T) => {
83
- x || (x = !0, Ve(v, T), E(T), C());
83
+ x || (x = !0, Pe(v, T), E(T), C());
84
84
  },
85
85
  (T) => {
86
- x || (x = !0, _e(v, T), P(T), C());
86
+ x || (x = !0, Ve(v, T), P(T), C());
87
87
  }
88
88
  ), b = (T) => {
89
89
  x || (x = !0, T.then(
90
- (V) => Ve(v, V),
91
- (V) => _e(v, V)
90
+ (V) => Pe(v, V),
91
+ (V) => Ve(v, V)
92
92
  ), E(T));
93
93
  };
94
94
  });
95
- return v.orig = p, v.status = "pending", Zt(v, (E) => {
95
+ return v.orig = p, v.status = "pending", qt(v, (E) => {
96
96
  E && b(E), g == null || g();
97
97
  }), l(m, v, h);
98
98
  }
@@ -102,14 +102,14 @@ 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), Ue(g, b) && g.d === b.d ? g : (r(m, b), b);
105
+ return h && o(m, b, h), _e(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]) => {
109
109
  if (x === m)
110
110
  return !0;
111
111
  const V = f(x);
112
- return V === T || W(V, T);
112
+ return V === T || J(V, T);
113
113
  })))
114
114
  return h;
115
115
  const g = /* @__PURE__ */ new Map();
@@ -153,7 +153,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
153
153
  }
154
154
  }, c = (m) => ne(f(m)), S = (m) => {
155
155
  let p = e.get(m);
156
- return p || (p = D(m)), p;
156
+ return p || (p = I(m)), p;
157
157
  }, y = (m, p) => !p.l.size && (!p.t.size || p.t.size === 1 && p.t.has(m)), k = (m) => {
158
158
  const p = e.get(m);
159
159
  p && y(m, p) && w(m);
@@ -183,7 +183,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
183
183
  let T = !!((P = p.get(E)) != null && P.size);
184
184
  if (T) {
185
185
  const V = s(E), te = f(E, !0);
186
- T = !W(V, te);
186
+ T = !J(V, te);
187
187
  }
188
188
  T || p.forEach((V) => V.delete(E));
189
189
  }
@@ -200,7 +200,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
200
200
  if (!ke(v))
201
201
  throw new Error("atom not writable");
202
202
  const x = s(v), T = u(v, E[0]);
203
- W(x, T) || N(v);
203
+ J(x, T) || N(v);
204
204
  } else
205
205
  P = O(v, ...E);
206
206
  if (!h) {
@@ -217,12 +217,12 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
217
217
  return (_ ? "production" : void 0) !== "production" && i.forEach(
218
218
  (b) => b({ type: "write", flushed: g })
219
219
  ), h;
220
- }, D = (m, p, h) => {
220
+ }, I = (m, p, h) => {
221
221
  var g;
222
222
  const b = h || [];
223
223
  (g = s(m)) == null || g.d.forEach((v, E) => {
224
224
  const P = e.get(E);
225
- P ? P.t.add(m) : E !== m && D(E, m, b);
225
+ P ? P.t.add(m) : E !== m && I(E, m, b);
226
226
  }), f(m);
227
227
  const C = {
228
228
  t: new Set(p && [p]),
@@ -241,13 +241,13 @@ 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) && Pe(g.v), g.d.forEach((b, C) => {
244
+ g ? (z(g) && Ae(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));
248
248
  }
249
249
  })) : (_ ? "production" : void 0) !== "production" && console.warn("[Bug] could not find atom state to unmount", m);
250
- }, I = (m, p, h) => {
250
+ }, D = (m, p, h) => {
251
251
  const g = new Set(p.d.keys());
252
252
  h == null || h.forEach((b, C) => {
253
253
  if (g.has(C)) {
@@ -258,7 +258,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
258
258
  v && (v.t.delete(m), y(C, v) && w(C));
259
259
  }), g.forEach((b) => {
260
260
  const C = e.get(b);
261
- C ? C.t.add(m) : e.has(m) && D(b, m);
261
+ C ? C.t.add(m) : e.has(m) && I(b, m);
262
262
  });
263
263
  }, L = () => {
264
264
  let m;
@@ -268,9 +268,9 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
268
268
  const b = s(h);
269
269
  if (b) {
270
270
  const C = e.get(h);
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.
271
+ C && b.d !== (g == null ? void 0 : g.d) && D(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) || Ue(g, b))) && (C.l.forEach((v) => v()), (_ ? "production" : void 0) !== "production" && m.add(h));
273
+ (!z(g) && (J(g, b) || _e(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
  });
@@ -316,14 +316,14 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
316
316
  };
317
317
  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
- const en = () => (Se || ((_ ? "production" : void 0) !== "production" && globalThis.__NUMBER_OF_JOTAI_INSTANCES__ !== 1 && console.warn(
319
+ const Xt = () => (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 = kt()), Se);
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 = ht(void 0), vt = (n) => {
324
- const e = Ce(nn);
325
- return (n == null ? void 0 : n.store) || e || en();
326
- }, an = (n) => typeof (n == null ? void 0 : n.then) == "function", sn = fe.use || ((n) => {
321
+ ), Se = ht()), Se);
322
+ var Yt = { 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 en = ft(void 0), gt = (n) => {
324
+ const e = Ce(en);
325
+ return (n == null ? void 0 : n.store) || e || Xt();
326
+ }, tn = (n) => typeof (n == null ? void 0 : n.then) == "function", nn = fe.use || ((n) => {
327
327
  if (n.status === "pending")
328
328
  throw n;
329
329
  if (n.status === "fulfilled")
@@ -337,8 +337,8 @@ const nn = ht(void 0), vt = (n) => {
337
337
  }
338
338
  ), n);
339
339
  });
340
- function rn(n, e) {
341
- const t = vt(e), [[i, a, s], r] = Qt(
340
+ function an(n, e) {
341
+ const t = gt(e), [[i, a, s], r] = zt(
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 gt(() => {
352
+ return pt(() => {
353
353
  const u = t.sub(n, () => {
354
354
  if (typeof l == "number") {
355
355
  setTimeout(r, l);
@@ -358,37 +358,37 @@ function rn(n, e) {
358
358
  r();
359
359
  });
360
360
  return r(), u;
361
- }, [t, n, l]), Gt(o), an(o) ? sn(o) : o;
361
+ }, [t, n, l]), Bt(o), tn(o) ? nn(o) : o;
362
362
  }
363
- function on(n, e) {
364
- const t = vt(e);
365
- return Kt(
363
+ function sn(n, e) {
364
+ const t = gt(e);
365
+ return Qt(
366
366
  (...a) => {
367
- if ((tn ? "production" : void 0) !== "production" && !("write" in n))
367
+ if ((Yt ? "production" : void 0) !== "production" && !("write" in n))
368
368
  throw new Error("not writable atom");
369
369
  return t.set(n, ...a);
370
370
  },
371
371
  [t, n]
372
372
  );
373
373
  }
374
- function ln(n, e) {
374
+ function rn(n, e) {
375
375
  return [
376
- rn(n, e),
376
+ an(n, e),
377
377
  // We do wrong type assertion here, which results in throwing an error.
378
- on(n, e)
378
+ sn(n, e)
379
379
  ];
380
380
  }
381
- const Ee = Ht(null);
381
+ const Ee = Jt(null);
382
382
  Ee.debugLabel = "accountAtom";
383
- var dn = { 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 };
383
+ var on = { 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 };
384
384
  const {
385
- NZ_AWS_REGION: un,
386
- NZ_BACKOFFICE_BACK_URL: cn,
387
- NZ_CORE_SERVICES_GRAPHQL_URL: mn,
388
- NZ_CORE_SERVICES_REST_URL: fn
389
- } = dn, pn = {
385
+ NZ_AWS_REGION: ln,
386
+ NZ_BACKOFFICE_BACK_URL: dn,
387
+ NZ_CORE_SERVICES_GRAPHQL_URL: un,
388
+ NZ_CORE_SERVICES_REST_URL: cn
389
+ } = on, mn = {
390
390
  AWS: {
391
- region: un,
391
+ region: ln,
392
392
  cognito: {
393
393
  userPoolId: "us-east-1_knSlGEmJ0",
394
394
  userPoolWebClientId: "3hmbfhf7nl3kq20qr9i5lihf1p"
@@ -396,9 +396,9 @@ const {
396
396
  },
397
397
  // Back services
398
398
  apiUrls: {
399
- restV1: cn || "https://pabprg32bj.execute-api.us-east-1.amazonaws.com",
400
- restV2: fn || "https://core-services-dev.nizza.com/api",
401
- graphql: mn || "https://core-services-dev.nizza.com/graphql",
399
+ restV1: dn || "https://pabprg32bj.execute-api.us-east-1.amazonaws.com",
400
+ restV2: cn || "https://core-services-dev.nizza.com/api",
401
+ graphql: un || "https://core-services-dev.nizza.com/graphql",
402
402
  corsProxy: "https://1qmd8jteh1.execute-api.us-east-1.amazonaws.com"
403
403
  },
404
404
  publicUrls: {
@@ -412,7 +412,7 @@ const {
412
412
  wssIVSChat: "wss://edge.ivschat.us-east-1.amazonaws.com"
413
413
  }
414
414
  };
415
- async function St(n) {
415
+ async function kt(n) {
416
416
  const {
417
417
  url: e,
418
418
  method: t = "GET",
@@ -450,11 +450,11 @@ async function St(n) {
450
450
  throw console.error("[CustomFetch] ", u), u;
451
451
  }
452
452
  }
453
- const Ts = (n) => St({ ...n, contentTypeJson: !1, raw: !1 });
454
- function Ds(n, e, t) {
455
- fetch(e).then((i) => i.blob()).then((i) => hn(i, `${n}.${t}`));
453
+ const Ts = (n) => kt({ ...n, contentTypeJson: !1, raw: !1 });
454
+ function Is(n, e, t) {
455
+ fetch(e).then((i) => i.blob()).then((i) => fn(i, `${n}.${t}`));
456
456
  }
457
- const hn = (n, e, t) => {
457
+ const fn = (n, e, t) => {
458
458
  const i = [n], a = new Blob(i, {
459
459
  type: t != null ? t : "application/octet-stream"
460
460
  });
@@ -465,8 +465,8 @@ const hn = (n, e, t) => {
465
465
  document.body.removeChild(r), window.URL.revokeObjectURL(s);
466
466
  }, 200);
467
467
  };
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 Me = (n) => {
468
+ var pn = { 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) => {
470
470
  let e;
471
471
  const t = /* @__PURE__ */ new Set(), i = (l, u) => {
472
472
  const d = typeof l == "function" ? l(e) : l;
@@ -475,17 +475,17 @@ const Me = (n) => {
475
475
  e = (u != null ? u : typeof d != "object" || d === null) ? d : Object.assign({}, e, d), t.forEach((c) => c(e, f));
476
476
  }
477
477
  }, a = () => e, o = { setState: i, getState: a, subscribe: (l) => (t.add(l), () => t.delete(l)), destroy: () => {
478
- (gn ? "production" : void 0) !== "production" && console.warn(
478
+ (pn ? "production" : void 0) !== "production" && console.warn(
479
479
  "[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."
480
480
  ), t.clear();
481
481
  } };
482
482
  return e = n(i, a, o), o;
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 : {};
483
+ }, hn = (n) => n ? Ue(n) : Ue;
484
+ var vt = 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 Nt = { exports: {} }, bt = {}, Ft = { exports: {} }, wt = {};
488
+ var St = { exports: {} }, yt = {}, Nt = { exports: {} }, bt = {};
489
489
  /**
490
490
  * @license React
491
491
  * use-sync-external-store-shim.production.min.js
@@ -495,38 +495,38 @@ var Nt = { exports: {} }, bt = {}, Ft = { exports: {} }, wt = {};
495
495
  * This source code is licensed under the MIT license found in the
496
496
  * LICENSE file in the root directory of this source tree.
497
497
  */
498
- var K = fe;
499
- function vn(n, e) {
498
+ var W = fe;
499
+ function gn(n, e) {
500
500
  return n === e && (n !== 0 || 1 / n === 1 / e) || n !== n && e !== e;
501
501
  }
502
- var Sn = typeof Object.is == "function" ? Object.is : vn, yn = K.useState, Nn = K.useEffect, bn = K.useLayoutEffect, Fn = K.useDebugValue;
503
- function wn(n, e) {
504
- var t = e(), i = yn({ inst: { value: t, getSnapshot: e } }), a = i[0].inst, s = i[1];
505
- return bn(function() {
502
+ var kn = typeof Object.is == "function" ? Object.is : gn, vn = W.useState, Sn = W.useEffect, yn = W.useLayoutEffect, Nn = W.useDebugValue;
503
+ function bn(n, e) {
504
+ var t = e(), i = vn({ inst: { value: t, getSnapshot: e } }), a = i[0].inst, s = i[1];
505
+ return yn(function() {
506
506
  a.value = t, a.getSnapshot = e, ye(a) && s({ inst: a });
507
- }, [n, t, e]), Nn(function() {
507
+ }, [n, t, e]), Sn(function() {
508
508
  return ye(a) && s({ inst: a }), n(function() {
509
509
  ye(a) && s({ inst: a });
510
510
  });
511
- }, [n]), Fn(t), t;
511
+ }, [n]), Nn(t), t;
512
512
  }
513
513
  function ye(n) {
514
514
  var e = n.getSnapshot;
515
515
  n = n.value;
516
516
  try {
517
517
  var t = e();
518
- return !Sn(n, t);
518
+ return !kn(n, t);
519
519
  } catch {
520
520
  return !0;
521
521
  }
522
522
  }
523
- function Cn(n, e) {
523
+ function Fn(n, e) {
524
524
  return e();
525
525
  }
526
- var En = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? Cn : wn;
527
- wt.useSyncExternalStore = K.useSyncExternalStore !== void 0 ? K.useSyncExternalStore : En;
528
- Ft.exports = wt;
529
- var Ct = Ft.exports;
526
+ var wn = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? Fn : bn;
527
+ bt.useSyncExternalStore = W.useSyncExternalStore !== void 0 ? W.useSyncExternalStore : wn;
528
+ Nt.exports = bt;
529
+ var Ft = Nt.exports;
530
530
  /**
531
531
  * @license React
532
532
  * use-sync-external-store-shim/with-selector.production.min.js
@@ -536,19 +536,19 @@ var Ct = Ft.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 = Ct;
540
- function On(n, e) {
539
+ var pe = fe, Cn = Ft;
540
+ function En(n, e) {
541
541
  return n === e && (n !== 0 || 1 / n === 1 / e) || n !== n && e !== e;
542
542
  }
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
- bt.useSyncExternalStoreWithSelector = function(n, e, t, i, a) {
545
- var s = Dn(null);
543
+ var xn = typeof Object.is == "function" ? Object.is : En, On = Cn.useSyncExternalStore, Rn = pe.useRef, Tn = pe.useEffect, In = pe.useMemo, Dn = pe.useDebugValue;
544
+ yt.useSyncExternalStoreWithSelector = function(n, e, t, i, a) {
545
+ var s = Rn(null);
546
546
  if (s.current === null) {
547
547
  var r = { hasValue: !1, value: null };
548
548
  s.current = r;
549
549
  } else
550
550
  r = s.current;
551
- s = Ln(function() {
551
+ s = In(function() {
552
552
  function l(S) {
553
553
  if (!u) {
554
554
  if (u = !0, d = S, S = i(S), a !== void 0 && r.hasValue) {
@@ -558,7 +558,7 @@ bt.useSyncExternalStoreWithSelector = function(n, e, t, i, a) {
558
558
  }
559
559
  return f = S;
560
560
  }
561
- if (y = f, Rn(d, S))
561
+ if (y = f, xn(d, S))
562
562
  return y;
563
563
  var k = i(S);
564
564
  return a !== void 0 && a(y, k) ? y : (d = S, f = k);
@@ -570,46 +570,46 @@ bt.useSyncExternalStoreWithSelector = function(n, e, t, i, a) {
570
570
  return l(c());
571
571
  }];
572
572
  }, [e, t, i, a]);
573
- var o = Tn(n, s[0], s[1]);
574
- return In(function() {
573
+ var o = On(n, s[0], s[1]);
574
+ return Tn(function() {
575
575
  r.hasValue = !0, r.value = o;
576
- }, [o]), An(o), o;
576
+ }, [o]), Dn(o), o;
577
577
  };
578
- Nt.exports = bt;
579
- var Pn = Nt.exports;
580
- const Vn = /* @__PURE__ */ xe(Pn);
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
- const { useDebugValue: _n } = fe, { useSyncExternalStoreWithSelector: Un } = Vn;
583
- let $e = !1;
584
- function Mn(n, e = n.getState, t) {
585
- (Et ? "production" : void 0) !== "production" && t && !$e && (console.warn(
578
+ St.exports = yt;
579
+ var Ln = St.exports;
580
+ const An = /* @__PURE__ */ xe(Ln);
581
+ var wt = { 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
+ const { useDebugValue: Pn } = fe, { useSyncExternalStoreWithSelector: Vn } = An;
583
+ let Me = !1;
584
+ function _n(n, e = n.getState, t) {
585
+ (wt ? "production" : void 0) !== "production" && t && !Me && (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
- ), $e = !0);
588
- const i = Un(
587
+ ), Me = !0);
588
+ const i = Vn(
589
589
  n.subscribe,
590
590
  n.getState,
591
591
  n.getServerState || n.getState,
592
592
  e,
593
593
  t
594
594
  );
595
- return _n(i), i;
595
+ return Pn(i), i;
596
596
  }
597
- const je = (n) => {
598
- (Et ? "production" : void 0) !== "production" && typeof n != "function" && console.warn(
597
+ const $e = (n) => {
598
+ (wt ? "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
- const e = typeof n == "function" ? kn(n) : n, t = (i, a) => Mn(e, i, a);
601
+ const e = typeof n == "function" ? hn(n) : n, t = (i, a) => _n(e, i, a);
602
602
  return Object.assign(t, e), t;
603
- }, $n = (n) => n ? je(n) : je;
604
- class jn {
603
+ }, Un = (n) => n ? $e(n) : $e;
604
+ class Mn {
605
605
  constructor(e) {
606
606
  R(this, "channel");
607
607
  R(this, "listeners", /* @__PURE__ */ new Map());
608
608
  R(this, "eventQueue", /* @__PURE__ */ new Map());
609
609
  try {
610
- this.channel = new BroadcastChannel(e), this.channel.onmessage = (t) => this.handleMessage(t), this.channel.onmessageerror = (t) => Z.error("NizzaBroadcastChannel:", t);
610
+ this.channel = new BroadcastChannel(e), this.channel.onmessage = (t) => this.handleMessage(t), this.channel.onmessageerror = (t) => K.error("NizzaBroadcastChannel:", t);
611
611
  } catch (t) {
612
- throw Z.error("Failed to create NizzaBroadcastChannel:", t), t;
612
+ throw K.error("Failed to create NizzaBroadcastChannel:", t), t;
613
613
  }
614
614
  }
615
615
  /**
@@ -670,7 +670,7 @@ class jn {
670
670
  subscribeToEvent(e, t) {
671
671
  if (typeof e != "string" || typeof t != "function") {
672
672
  const i = new Error("Invalid arguments");
673
- throw Z.error(i), i;
673
+ throw K.error(i), i;
674
674
  }
675
675
  for (const [i, a] of this.listeners.entries())
676
676
  if (this.matchWildcard(i, e)) {
@@ -694,7 +694,7 @@ class jn {
694
694
  emitEvent(e, t, i) {
695
695
  if (typeof e != "string") {
696
696
  const r = new Error("Invalid arguments");
697
- throw Z.error(r), r;
697
+ throw K.error(r), r;
698
698
  }
699
699
  const a = {
700
700
  name: e,
@@ -747,8 +747,8 @@ class jn {
747
747
  return new RegExp(`^${i}$`).test(t);
748
748
  }
749
749
  }
750
- let zn = (n = 21) => crypto.getRandomValues(new Uint8Array(n)).reduce((e, t) => (t &= 63, t < 36 ? e += t.toString(36) : t < 62 ? e += (t - 26).toString(36).toUpperCase() : t > 62 ? e += "-" : e += "_", e), "");
751
- const Bn = (n = 8) => zn(n), Is = (n) => {
750
+ let $n = (n = 21) => crypto.getRandomValues(new Uint8Array(n)).reduce((e, t) => (t &= 63, t < 36 ? e += t.toString(36) : t < 62 ? e += (t - 26).toString(36).toUpperCase() : t > 62 ? e += "-" : e += "_", e), "");
751
+ const jn = (n = 8) => $n(n), Ds = (n) => {
752
752
  const e = Object.entries(n).reduce((t, [i, a]) => a !== void 0 ? `${t}${t ? "&" : ""}${i}=${a}` : t, "");
753
753
  return e ? `?${e}` : "";
754
754
  };
@@ -757,11 +757,11 @@ function Ls() {
757
757
  `);
758
758
  return n.length < 3 ? "" : n[2].trim().substring(3);
759
759
  }
760
- var xt = { exports: {} };
760
+ var Ct = { exports: {} };
761
761
  (function(n) {
762
762
  (function(e, t) {
763
763
  n.exports ? n.exports = t() : e.log = t();
764
- })(yt, function() {
764
+ })(vt, 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",
@@ -804,11 +804,11 @@ var xt = { exports: {} };
804
804
  return o(k) || u.apply(this, arguments);
805
805
  }
806
806
  function f(k, N, O) {
807
- var F = this, D;
807
+ var F = this, I;
808
808
  N = N == null ? "WARN" : N;
809
809
  var w = "loglevel";
810
810
  typeof k == "string" ? w += ":" + k : typeof k == "symbol" && (w = void 0);
811
- function I(p) {
811
+ function D(p) {
812
812
  var h = (a[p] || "silent").toUpperCase();
813
813
  if (!(typeof window === t || !w)) {
814
814
  try {
@@ -861,10 +861,10 @@ var xt = { exports: {} };
861
861
  ERROR: 4,
862
862
  SILENT: 5
863
863
  }, F.methodFactory = O || d, F.getLevel = function() {
864
- return D;
864
+ return I;
865
865
  }, F.setLevel = function(p, h) {
866
866
  if (typeof p == "string" && F.levels[p.toUpperCase()] !== void 0 && (p = F.levels[p.toUpperCase()]), typeof p == "number" && p >= 0 && p <= F.levels.SILENT) {
867
- if (D = p, h !== !1 && I(p), l.call(F, p, k), typeof console === t && p < F.levels.SILENT)
867
+ if (I = p, h !== !1 && D(p), l.call(F, p, k), typeof console === t && p < F.levels.SILENT)
868
868
  return "No console available for logging";
869
869
  } else
870
870
  throw "log.setLevel() called with invalid level: " + p;
@@ -898,14 +898,14 @@ var xt = { exports: {} };
898
898
  return S;
899
899
  }, c.default = c, c;
900
900
  });
901
- })(xt);
902
- var Ot = xt.exports;
903
- const ie = /* @__PURE__ */ xe(Ot);
904
- var Rt = { exports: {} };
901
+ })(Ct);
902
+ var Et = Ct.exports;
903
+ const ie = /* @__PURE__ */ xe(Et);
904
+ var xt = { exports: {} };
905
905
  (function(n) {
906
906
  (function(e, t) {
907
907
  n.exports ? n.exports = t() : e.prefix = t(e);
908
- })(yt, function(e) {
908
+ })(vt, 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])
@@ -932,15 +932,15 @@ var Rt = { exports: {} };
932
932
  throw new TypeError("Argument is not a logger");
933
933
  var c = d.methodFactory, S = d.name || "", y = s[S] || s[""] || i;
934
934
  function k(N, O, F) {
935
- var D = c(N, O, F), w = s[F] || s[""], I = w.template.indexOf("%t") !== -1, L = w.template.indexOf("%l") !== -1, A = w.template.indexOf("%n") !== -1;
935
+ var I = c(N, O, F), w = s[F] || s[""], D = w.template.indexOf("%t") !== -1, L = w.template.indexOf("%l") !== -1, A = w.template.indexOf("%n") !== -1;
936
936
  return function() {
937
937
  for (var m = "", p = arguments.length, h = Array(p), g = 0; g < p; g++)
938
938
  h[g] = arguments[g];
939
939
  if (S || !s[F]) {
940
940
  var b = w.timestampFormatter(/* @__PURE__ */ new Date()), C = w.levelFormatter(N), v = w.nameFormatter(F);
941
- w.format ? m += w.format(C, v, b) : (m += w.template, I && (m = m.replace(/%t/, b)), L && (m = m.replace(/%l/, C)), A && (m = m.replace(/%n/, v))), h.length && typeof h[0] == "string" ? h[0] = m + " " + h[0] : h.unshift(m);
941
+ w.format ? m += w.format(C, v, b) : (m += w.template, D && (m = m.replace(/%t/, b)), L && (m = m.replace(/%l/, C)), A && (m = m.replace(/%n/, v))), h.length && typeof h[0] == "string" ? h[0] = m + " " + h[0] : h.unshift(m);
942
942
  }
943
- D.apply(void 0, h);
943
+ I.apply(void 0, h);
944
944
  };
945
945
  }
946
946
  return s[S] || (d.methodFactory = k), f = f || {}, f.template && (f.format = void 0), s[S] = t({}, y, f), d.setLevel(d.getLevel()), a || d.warn(
@@ -954,14 +954,14 @@ var Rt = { exports: {} };
954
954
  return e.prefix === l && (e.prefix = u), l;
955
955
  }), l;
956
956
  });
957
- })(Rt);
958
- var Qn = Rt.exports;
959
- const ze = /* @__PURE__ */ xe(Qn);
960
- let Gn = class {
957
+ })(xt);
958
+ var zn = xt.exports;
959
+ const je = /* @__PURE__ */ xe(zn);
960
+ let Bn = class {
961
961
  constructor(e) {
962
- R(this, "defaultLevel", Ot.levels.INFO);
962
+ R(this, "defaultLevel", Et.levels.INFO);
963
963
  R(this, "namePrefix");
964
- this.namePrefix = e ? `${e}-` : "", ie.setDefaultLevel(this.defaultLevel), ze.reg(ie), ze.apply(ie, {
964
+ this.namePrefix = e ? `${e}-` : "", ie.setDefaultLevel(this.defaultLevel), je.reg(ie), je.apply(ie, {
965
965
  template: "[%t] %l (%n)",
966
966
  nameFormatter: (t) => {
967
967
  var i;
@@ -974,46 +974,53 @@ let Gn = class {
974
974
  const t = this.namePrefix + e.toLowerCase(), i = ie.getLogger(t), a = localStorage.getItem(`loglevel:${t}`);
975
975
  return a ? i.setLevel(a) : i.setLevel(this.defaultLevel), i;
976
976
  }
977
- };
978
- const j = $n(() => ({
979
- config: null
980
- })), Kn = async (n) => {
977
+ }, $, Qn, K;
978
+ const Gn = $.store;
979
+ function Ps() {
980
+ return $ = Kn(), Qn = $.log.createLogger("main"), K = $.log.createLogger("core"), $;
981
+ }
982
+ function Kn() {
983
+ if (!window.nizza) {
984
+ const n = Wn();
985
+ window.nizza = n, window.nz = n;
986
+ }
987
+ return window.nizza;
988
+ }
989
+ function Wn() {
990
+ const n = Un(() => ({
991
+ config: null
992
+ }));
993
+ return {
994
+ version: "1.0.4",
995
+ store: n,
996
+ configure: Jn,
997
+ setProductDataSource: qn,
998
+ instanceId: jn(),
999
+ log: new Bn("nz"),
1000
+ eventBus: new Mn("nizza"),
1001
+ get state() {
1002
+ return n.getState();
1003
+ }
1004
+ };
1005
+ }
1006
+ async function Jn(n) {
981
1007
  try {
982
- const e = j.getState().account;
983
- if (j.setState({ config: n }), (e == null ? void 0 : e.account) !== n.account) {
1008
+ const e = $.store.getState().account;
1009
+ if ($.store.setState({ config: n }), (e == null ? void 0 : e.account) !== n.account) {
984
1010
  const t = await ta(n.account);
985
- j.setState({ account: t });
1011
+ $.store.setState({ account: t });
986
1012
  }
987
1013
  if (n.getProductDataSource) {
988
1014
  const t = await n.getProductDataSource();
989
- j.setState({ productDataSource: t });
1015
+ $.store.setState({ productDataSource: t });
990
1016
  }
991
1017
  } catch (e) {
992
1018
  console.error("Error configuring NizzaStore:", e);
993
1019
  }
994
- }, Wn = (n) => {
995
- j.setState({ productDataSource: n });
996
- }, Be = () => ({
997
- version: "1.0.2",
998
- store: j,
999
- configure: Kn,
1000
- setProductDataSource: Wn,
1001
- instanceId: Bn(),
1002
- log: new Gn("nz"),
1003
- eventBus: new jn("nizza"),
1004
- get state() {
1005
- return j.getState();
1006
- }
1007
- }), Jn = () => {
1008
- if (typeof window != "undefined") {
1009
- if (!window.nizza) {
1010
- const n = Be();
1011
- window.nizza = n, window.nz = n;
1012
- }
1013
- return window.nizza;
1014
- }
1015
- return Be();
1016
- }, Oe = Jn(), qn = Oe.store, Ps = Oe.log.createLogger("main"), Z = Oe.log.createLogger("core");
1020
+ }
1021
+ function qn(n) {
1022
+ $.store.setState({ productDataSource: n });
1023
+ }
1017
1024
  function G(n) {
1018
1025
  return n != null && typeof n == "object" && n["@@functional/placeholder"] === !0;
1019
1026
  }
@@ -1022,7 +1029,7 @@ function se(n) {
1022
1029
  return arguments.length === 0 || G(t) ? e : n.apply(this, arguments);
1023
1030
  };
1024
1031
  }
1025
- function Re(n) {
1032
+ function Oe(n) {
1026
1033
  return function e(t, i) {
1027
1034
  switch (arguments.length) {
1028
1035
  case 0:
@@ -1046,7 +1053,7 @@ const Hn = Number.isInteger || function(e) {
1046
1053
  function Zn(n) {
1047
1054
  return Object.prototype.toString.call(n) === "[object String]";
1048
1055
  }
1049
- var Xn = /* @__PURE__ */ Re(function(e, t) {
1056
+ var Xn = /* @__PURE__ */ Oe(function(e, t) {
1050
1057
  var i = e < 0 ? t.length + e : e;
1051
1058
  return Zn(t) ? t.charAt(i) : t[i];
1052
1059
  });
@@ -1055,7 +1062,7 @@ var ei = /* @__PURE__ */ se(function(e) {
1055
1062
  return e == null;
1056
1063
  });
1057
1064
  const ti = ei;
1058
- var ni = /* @__PURE__ */ Re(function(e, t) {
1065
+ var ni = /* @__PURE__ */ Oe(function(e, t) {
1059
1066
  return e.map(function(i) {
1060
1067
  for (var a = t, s = 0, r; s < i.length; ) {
1061
1068
  if (a == null)
@@ -1066,7 +1073,7 @@ var ni = /* @__PURE__ */ Re(function(e, t) {
1066
1073
  });
1067
1074
  });
1068
1075
  const ii = ni;
1069
- var ai = /* @__PURE__ */ Re(function(e, t) {
1076
+ var ai = /* @__PURE__ */ Oe(function(e, t) {
1070
1077
  return ii([e], t)[0];
1071
1078
  });
1072
1079
  const si = ai;
@@ -1155,7 +1162,7 @@ function Us() {
1155
1162
  );
1156
1163
  e = `${o}${l}:${u}`;
1157
1164
  } catch {
1158
- Z.error("Error obtaining time zone or offset");
1165
+ K.error("Error obtaining time zone or offset");
1159
1166
  }
1160
1167
  return {
1161
1168
  offset: e,
@@ -1195,13 +1202,13 @@ class $s {
1195
1202
  return this._value;
1196
1203
  }
1197
1204
  }
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 || {});
1199
- class Te {
1205
+ var Ot = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.VTEX_IO = "VTEX-IO", n.VTEX_CMS = "PORTAL-VTEX", n.PLATFORM = "PLATFORM", n.UNKNOWN = "UNKNOWN", n))(Ot || {}), ci = /* @__PURE__ */ ((n) => (n.PLATFORM = "platform_module", n.ADENDA = "subscription_module", n.APP_STORE = "app_store", n))(ci || {}), Rt = /* @__PURE__ */ ((n) => (n.ACTIVE = "active_contract", n.INACTIVE = "inactive_contract", n))(Rt || {}), 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 || {});
1206
+ class Re {
1200
1207
  constructor(e) {
1201
1208
  R(this, "root", ui(this));
1202
1209
  R(this, "id");
1203
1210
  R(this, "account");
1204
- R(this, "accountType", Tt.UNKNOWN);
1211
+ R(this, "accountType", Ot.UNKNOWN);
1205
1212
  R(this, "username");
1206
1213
  R(this, "currencyConfig");
1207
1214
  R(this, "contractType");
@@ -1209,7 +1216,7 @@ class Te {
1209
1216
  R(this, "spendedMinutes", 0);
1210
1217
  R(this, "unlimitedService", !1);
1211
1218
  R(this, "hoursAvailable", 0);
1212
- R(this, "contractStatus", Dt.ACTIVE);
1219
+ R(this, "contractStatus", Rt.ACTIVE);
1213
1220
  R(this, "createdAt");
1214
1221
  R(this, "installationDateApp");
1215
1222
  R(this, "cxAccount");
@@ -1231,7 +1238,7 @@ class Te {
1231
1238
  username: i != null ? i : a.account,
1232
1239
  createdAt: new Date(Number(t))
1233
1240
  };
1234
- return new Te(s);
1241
+ return new Re(s);
1235
1242
  }
1236
1243
  toPrimitives() {
1237
1244
  const { root: e, createdAt: t, ...i } = this;
@@ -1241,13 +1248,13 @@ class Te {
1241
1248
  };
1242
1249
  }
1243
1250
  }
1244
- const hi = `${pn.apiUrls.restV1}/accounts/v2`;
1251
+ const hi = `${mn.apiUrls.restV1}/accounts/v2`;
1245
1252
  class gi {
1246
1253
  async get(e) {
1247
- const t = `${hi}/${e}`, { data: i } = await St({
1254
+ const t = `${hi}/${e}`, { data: i } = await kt({
1248
1255
  url: t
1249
1256
  });
1250
- return i ? Te.toDomain(i) : null;
1257
+ return i ? Re.toDomain(i) : null;
1251
1258
  }
1252
1259
  }
1253
1260
  class ki {
@@ -1265,8 +1272,8 @@ class ki {
1265
1272
  }
1266
1273
  }
1267
1274
  }
1268
- const vi = new gi(), It = new ki(vi);
1269
- class De {
1275
+ const vi = new gi(), Tt = new ki(vi);
1276
+ class Te {
1270
1277
  constructor() {
1271
1278
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
1272
1279
  }
@@ -1289,7 +1296,7 @@ class De {
1289
1296
  const oe = typeof window == "undefined" || "Deno" in window;
1290
1297
  function Si() {
1291
1298
  }
1292
- function Qe(n) {
1299
+ function ze(n) {
1293
1300
  return typeof n == "number" && n >= 0 && n !== 1 / 0;
1294
1301
  }
1295
1302
  function yi(n, e) {
@@ -1305,16 +1312,16 @@ function Ni(n, e, t) {
1305
1312
  queryKey: n
1306
1313
  } : n;
1307
1314
  }
1308
- function Lt(n, e) {
1315
+ function It(n, e) {
1309
1316
  if (n === e)
1310
1317
  return n;
1311
- const t = Ge(n) && Ge(e);
1312
- if (t || Ke(n) && Ke(e)) {
1318
+ const t = Be(n) && Be(e);
1319
+ if (t || Qe(n) && Qe(e)) {
1313
1320
  const i = t ? n.length : Object.keys(n).length, a = t ? e : Object.keys(e), s = a.length, r = t ? [] : {};
1314
1321
  let o = 0;
1315
1322
  for (let l = 0; l < s; l++) {
1316
1323
  const u = t ? l : a[l];
1317
- r[u] = Lt(n[u], e[u]), r[u] === n[u] && o++;
1324
+ r[u] = It(n[u], e[u]), r[u] === n[u] && o++;
1318
1325
  }
1319
1326
  return i === s && o === i ? n : r;
1320
1327
  }
@@ -1328,19 +1335,19 @@ function be(n, e) {
1328
1335
  return !1;
1329
1336
  return !0;
1330
1337
  }
1331
- function Ge(n) {
1338
+ function Be(n) {
1332
1339
  return Array.isArray(n) && n.length === Object.keys(n).length;
1333
1340
  }
1334
- function Ke(n) {
1335
- if (!We(n))
1341
+ function Qe(n) {
1342
+ if (!Ge(n))
1336
1343
  return !1;
1337
1344
  const e = n.constructor;
1338
1345
  if (typeof e == "undefined")
1339
1346
  return !0;
1340
1347
  const t = e.prototype;
1341
- return !(!We(t) || !t.hasOwnProperty("isPrototypeOf"));
1348
+ return !(!Ge(t) || !t.hasOwnProperty("isPrototypeOf"));
1342
1349
  }
1343
- function We(n) {
1350
+ function Ge(n) {
1344
1351
  return Object.prototype.toString.call(n) === "[object Object]";
1345
1352
  }
1346
1353
  function bi(n) {
@@ -1351,13 +1358,13 @@ function Fi(n) {
1351
1358
  setTimeout(e, n);
1352
1359
  });
1353
1360
  }
1354
- function Je(n) {
1361
+ function Ke(n) {
1355
1362
  Fi(0).then(n);
1356
1363
  }
1357
- function qe(n, e, t) {
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;
1364
+ function We(n, e, t) {
1365
+ return t.isDataEqual != null && t.isDataEqual(n, e) ? n : typeof t.structuralSharing == "function" ? t.structuralSharing(n, e) : t.structuralSharing !== !1 ? It(n, e) : e;
1359
1366
  }
1360
- class wi extends De {
1367
+ class wi extends Te {
1361
1368
  constructor() {
1362
1369
  super(), this.setup = (e) => {
1363
1370
  if (!oe && window.addEventListener) {
@@ -1397,16 +1404,16 @@ class wi extends De {
1397
1404
  return typeof this.focused == "boolean" ? this.focused : typeof document == "undefined" ? !0 : [void 0, "visible", "prerender"].includes(document.visibilityState);
1398
1405
  }
1399
1406
  }
1400
- const Ci = new wi(), He = ["online", "offline"];
1401
- class Ei extends De {
1407
+ const Ci = new wi(), Je = ["online", "offline"];
1408
+ class Ei extends Te {
1402
1409
  constructor() {
1403
1410
  super(), this.setup = (e) => {
1404
1411
  if (!oe && window.addEventListener) {
1405
1412
  const t = () => e();
1406
- return He.forEach((i) => {
1413
+ return Je.forEach((i) => {
1407
1414
  window.addEventListener(i, t, !1);
1408
1415
  }), () => {
1409
- He.forEach((i) => {
1416
+ Je.forEach((i) => {
1410
1417
  window.removeEventListener(i, t);
1411
1418
  });
1412
1419
  };
@@ -1454,7 +1461,7 @@ class Ri {
1454
1461
  function Ti(n) {
1455
1462
  return n instanceof Ri;
1456
1463
  }
1457
- function Di() {
1464
+ function Ii() {
1458
1465
  let n = [], e = 0, t = (d) => {
1459
1466
  d();
1460
1467
  }, i = (d) => {
@@ -1470,7 +1477,7 @@ function Di() {
1470
1477
  }
1471
1478
  return f;
1472
1479
  }, s = (d) => {
1473
- e ? n.push(d) : Je(() => {
1480
+ e ? n.push(d) : Ke(() => {
1474
1481
  t(d);
1475
1482
  });
1476
1483
  }, r = (d) => (...f) => {
@@ -1479,7 +1486,7 @@ function Di() {
1479
1486
  });
1480
1487
  }, o = () => {
1481
1488
  const d = n;
1482
- n = [], d.length && Je(() => {
1489
+ n = [], d.length && Ke(() => {
1483
1490
  i(() => {
1484
1491
  d.forEach((f) => {
1485
1492
  t(f);
@@ -1499,8 +1506,8 @@ function Di() {
1499
1506
  }
1500
1507
  };
1501
1508
  }
1502
- const X = Di();
1503
- class Ii extends De {
1509
+ const X = Ii();
1510
+ class Di extends Te {
1504
1511
  constructor(e, t) {
1505
1512
  super(), this.client = e, this.options = t, this.trackedProps = /* @__PURE__ */ new Set(), this.selectError = null, this.bindMethods(), this.setOptions(t);
1506
1513
  }
@@ -1508,7 +1515,7 @@ class Ii extends De {
1508
1515
  this.remove = this.remove.bind(this), this.refetch = this.refetch.bind(this);
1509
1516
  }
1510
1517
  onSubscribe() {
1511
- this.listeners.size === 1 && (this.currentQuery.addObserver(this), Ze(this.currentQuery, this.options) && this.executeFetch(), this.updateTimers());
1518
+ this.listeners.size === 1 && (this.currentQuery.addObserver(this), qe(this.currentQuery, this.options) && this.executeFetch(), this.updateTimers());
1512
1519
  }
1513
1520
  onUnsubscribe() {
1514
1521
  this.hasListeners() || this.destroy();
@@ -1532,7 +1539,7 @@ class Ii extends De {
1532
1539
  throw new Error("Expected enabled to be a boolean");
1533
1540
  this.options.queryKey || (this.options.queryKey = i.queryKey), this.updateQuery();
1534
1541
  const s = this.hasListeners();
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();
1542
+ s && He(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();
1536
1543
  const r = this.computeRefetchInterval();
1537
1544
  s && (this.currentQuery !== a || this.options.enabled !== i.enabled || r !== this.currentRefetchInterval) && this.updateRefetchInterval(r);
1538
1545
  }
@@ -1587,7 +1594,7 @@ class Ii extends De {
1587
1594
  return e != null && e.throwOnError || (t = t.catch(Si)), t;
1588
1595
  }
1589
1596
  updateStaleTimeout() {
1590
- if (this.clearStaleTimeout(), oe || this.currentResult.isStale || !Qe(this.options.staleTime))
1597
+ if (this.clearStaleTimeout(), oe || this.currentResult.isStale || !ze(this.options.staleTime))
1591
1598
  return;
1592
1599
  const t = yi(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
1593
1600
  this.staleTimeoutId = setTimeout(() => {
@@ -1599,7 +1606,7 @@ class Ii extends De {
1599
1606
  return typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.currentResult.data, this.currentQuery) : (e = this.options.refetchInterval) != null ? e : !1;
1600
1607
  }
1601
1608
  updateRefetchInterval(e) {
1602
- this.clearRefetchInterval(), this.currentRefetchInterval = e, !(oe || this.options.enabled === !1 || !Qe(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
1609
+ this.clearRefetchInterval(), this.currentRefetchInterval = e, !(oe || this.options.enabled === !1 || !ze(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
1603
1610
  (this.options.refetchIntervalInBackground || Ci.isFocused()) && this.executeFetch();
1604
1611
  }, this.currentRefetchInterval));
1605
1612
  }
@@ -1622,25 +1629,25 @@ class Ii extends De {
1622
1629
  errorUpdatedAt: y,
1623
1630
  fetchStatus: k,
1624
1631
  status: N
1625
- } = f, O = !1, F = !1, D;
1632
+ } = f, O = !1, F = !1, I;
1626
1633
  if (t._optimisticResults) {
1627
- const m = this.hasListeners(), p = !m && Ze(e, t), h = m && Xe(e, i, t, a);
1634
+ const m = this.hasListeners(), p = !m && qe(e, t), h = m && He(e, i, t, a);
1628
1635
  (p || h) && (k = Oi(e.options.networkMode) ? "fetching" : "paused", c || (N = "loading")), t._optimisticResults === "isRestoring" && (k = "idle");
1629
1636
  }
1630
1637
  if (t.keepPreviousData && !f.dataUpdatedAt && d != null && d.isSuccess && N !== "error")
1631
- D = d.data, c = d.dataUpdatedAt, N = d.status, O = !0;
1638
+ I = d.data, c = d.dataUpdatedAt, N = d.status, O = !0;
1632
1639
  else if (t.select && typeof f.data != "undefined")
1633
1640
  if (s && f.data === (r == null ? void 0 : r.data) && t.select === this.selectFn)
1634
- D = this.selectResult;
1641
+ I = this.selectResult;
1635
1642
  else
1636
1643
  try {
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;
1644
+ this.selectFn = t.select, I = t.select(f.data), I = We(s == null ? void 0 : s.data, I, t), this.selectResult = I, this.selectError = null;
1638
1645
  } catch (m) {
1639
1646
  this.selectError = m;
1640
1647
  }
1641
1648
  else
1642
- D = f.data;
1643
- if (typeof t.placeholderData != "undefined" && typeof D == "undefined" && N === "loading") {
1649
+ I = f.data;
1650
+ if (typeof t.placeholderData != "undefined" && typeof I == "undefined" && N === "loading") {
1644
1651
  let m;
1645
1652
  if (s != null && s.isPlaceholderData && t.placeholderData === (o == null ? void 0 : o.placeholderData))
1646
1653
  m = s.data;
@@ -1650,18 +1657,18 @@ class Ii extends De {
1650
1657
  } catch (p) {
1651
1658
  this.selectError = p;
1652
1659
  }
1653
- typeof m != "undefined" && (N = "success", D = qe(s == null ? void 0 : s.data, m, t), F = !0);
1660
+ typeof m != "undefined" && (N = "success", I = We(s == null ? void 0 : s.data, m, t), F = !0);
1654
1661
  }
1655
- this.selectError && (S = this.selectError, D = this.selectResult, y = Date.now(), N = "error");
1656
- const w = k === "fetching", I = N === "loading", L = N === "error";
1662
+ this.selectError && (S = this.selectError, I = this.selectResult, y = Date.now(), N = "error");
1663
+ const w = k === "fetching", D = N === "loading", L = N === "error";
1657
1664
  return {
1658
1665
  status: N,
1659
1666
  fetchStatus: k,
1660
- isLoading: I,
1667
+ isLoading: D,
1661
1668
  isSuccess: N === "success",
1662
1669
  isError: L,
1663
- isInitialLoading: I && w,
1664
- data: D,
1670
+ isInitialLoading: D && w,
1671
+ data: I,
1665
1672
  dataUpdatedAt: c,
1666
1673
  error: S,
1667
1674
  errorUpdatedAt: y,
@@ -1671,7 +1678,7 @@ class Ii extends De {
1671
1678
  isFetched: f.dataUpdateCount > 0 || f.errorUpdateCount > 0,
1672
1679
  isFetchedAfterMount: f.dataUpdateCount > u.dataUpdateCount || f.errorUpdateCount > u.errorUpdateCount,
1673
1680
  isFetching: w,
1674
- isRefetching: w && !I,
1681
+ isRefetching: w && !D,
1675
1682
  isLoadingError: L && f.dataUpdatedAt === 0,
1676
1683
  isPaused: k === "paused",
1677
1684
  isPlaceholderData: F,
@@ -1742,7 +1749,7 @@ class Ii extends De {
1742
1749
  function Li(n, e) {
1743
1750
  return e.enabled !== !1 && !n.state.dataUpdatedAt && !(n.state.status === "error" && e.retryOnMount === !1);
1744
1751
  }
1745
- function Ze(n, e) {
1752
+ function qe(n, e) {
1746
1753
  return Li(n, e) || n.state.dataUpdatedAt > 0 && Fe(n, e, e.refetchOnMount);
1747
1754
  }
1748
1755
  function Fe(n, e, t) {
@@ -1752,7 +1759,7 @@ function Fe(n, e, t) {
1752
1759
  }
1753
1760
  return !1;
1754
1761
  }
1755
- function Xe(n, e, t, i) {
1762
+ function He(n, e, t, i) {
1756
1763
  return t.enabled !== !1 && (n !== e || i.enabled === !1) && (!t.suspense || n.state.status !== "error") && Ie(n, t);
1757
1764
  }
1758
1765
  function Ie(n, e) {
@@ -1761,9 +1768,9 @@ function Ie(n, e) {
1761
1768
  function Ai(n, e, t) {
1762
1769
  return t.keepPreviousData ? !1 : t.placeholderData !== void 0 ? e.isPlaceholderData : !be(n.getCurrentResult(), e);
1763
1770
  }
1764
- const Pi = Ct.useSyncExternalStore, Ye = /* @__PURE__ */ M.createContext(void 0), Vi = /* @__PURE__ */ M.createContext(!1);
1771
+ const Pi = Ft.useSyncExternalStore, Ze = /* @__PURE__ */ M.createContext(void 0), Vi = /* @__PURE__ */ M.createContext(!1);
1765
1772
  function _i(n, e) {
1766
- return n || (e && typeof window != "undefined" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = Ye), window.ReactQueryClientContext) : Ye);
1773
+ return n || (e && typeof window != "undefined" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = Ze), window.ReactQueryClientContext) : Ze);
1767
1774
  }
1768
1775
  const Ui = ({
1769
1776
  context: n
@@ -1772,8 +1779,8 @@ const Ui = ({
1772
1779
  if (!e)
1773
1780
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
1774
1781
  return e;
1775
- }, At = /* @__PURE__ */ M.createContext(!1), Mi = () => M.useContext(At);
1776
- At.Provider;
1782
+ }, Dt = /* @__PURE__ */ M.createContext(!1), Mi = () => M.useContext(Dt);
1783
+ Dt.Provider;
1777
1784
  function $i() {
1778
1785
  let n = !1;
1779
1786
  return {
@@ -1837,27 +1844,27 @@ function Zi(n, e) {
1837
1844
  }
1838
1845
  function Xi(n, e, t) {
1839
1846
  const i = Ni(n, e, t);
1840
- return Zi(i, Ii);
1847
+ return Zi(i, Di);
1841
1848
  }
1842
1849
  const Yi = () => ["account"], js = () => {
1843
- const n = qn((a) => {
1850
+ const n = Gn((a) => {
1844
1851
  var s;
1845
1852
  return (s = a.config) == null ? void 0 : s.account;
1846
- }), [e, t] = ln(Ee), i = Xi(Yi(), () => It.get(n), {
1853
+ }), [e, t] = rn(Ee), i = Xi(Yi(), () => Tt.get(n), {
1847
1854
  enabled: !!n && !e,
1848
1855
  refetchOnWindowFocus: !1,
1849
1856
  refetchOnMount: !1
1850
1857
  });
1851
- return gt(() => {
1858
+ return pt(() => {
1852
1859
  const a = i.data;
1853
1860
  !i.isSuccess || !a || t(a);
1854
1861
  }, [i.status]), {
1855
1862
  findQuery: i,
1856
1863
  account: e
1857
1864
  };
1858
- }, ea = kt();
1865
+ }, ea = ht();
1859
1866
  async function ta(n) {
1860
- const e = await It.get(n);
1867
+ const e = await Tt.get(n);
1861
1868
  return ea.set(Ee, e), e;
1862
1869
  }
1863
1870
  var na = /* @__PURE__ */ ((n) => (n.CREATED = "CREATED", n.STARTING = "STARTING", n.LIVE = "LIVE", n.FINALIZED = "FINALIZED", n))(na || {});
@@ -1924,18 +1931,18 @@ function ca(n) {
1924
1931
  var e = ua(n, "string");
1925
1932
  return Y(e) === "symbol" ? e : String(e);
1926
1933
  }
1927
- function et(n, e) {
1934
+ function Xe(n, e) {
1928
1935
  for (var t = 0; t < e.length; t++) {
1929
1936
  var i = e[t];
1930
1937
  i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(n, ca(i.key), i);
1931
1938
  }
1932
1939
  }
1933
1940
  function ma(n, e, t) {
1934
- return e && et(n.prototype, e), t && et(n, t), Object.defineProperty(n, "prototype", {
1941
+ return e && Xe(n.prototype, e), t && Xe(n, t), Object.defineProperty(n, "prototype", {
1935
1942
  writable: !1
1936
1943
  }), n;
1937
1944
  }
1938
- var Pt = [], fa = Pt.forEach, pa = Pt.slice;
1945
+ var Lt = [], fa = Lt.forEach, pa = Lt.slice;
1939
1946
  function ha(n) {
1940
1947
  return fa.call(pa.call(arguments, 1), function(e) {
1941
1948
  if (e)
@@ -1943,7 +1950,7 @@ function ha(n) {
1943
1950
  n[t] === void 0 && (n[t] = e[t]);
1944
1951
  }), n;
1945
1952
  }
1946
- var tt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
1953
+ var Ye = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
1947
1954
  var a = i || {};
1948
1955
  a.path = a.path || "/";
1949
1956
  var s = encodeURIComponent(t), r = "".concat(e, "=").concat(s);
@@ -1954,12 +1961,12 @@ var tt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
1954
1961
  r += "; Max-Age=".concat(Math.floor(o));
1955
1962
  }
1956
1963
  if (a.domain) {
1957
- if (!tt.test(a.domain))
1964
+ if (!Ye.test(a.domain))
1958
1965
  throw new TypeError("option domain is invalid");
1959
1966
  r += "; Domain=".concat(a.domain);
1960
1967
  }
1961
1968
  if (a.path) {
1962
- if (!tt.test(a.path))
1969
+ if (!Ye.test(a.path))
1963
1970
  throw new TypeError("option path is invalid");
1964
1971
  r += "; Path=".concat(a.path);
1965
1972
  }
@@ -1988,7 +1995,7 @@ var tt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
1988
1995
  }
1989
1996
  }
1990
1997
  return r;
1991
- }, nt = {
1998
+ }, et = {
1992
1999
  create: function(e, t, i, a) {
1993
2000
  var s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
1994
2001
  path: "/",
@@ -2013,13 +2020,13 @@ var tt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
2013
2020
  lookup: function(e) {
2014
2021
  var t;
2015
2022
  if (e.lookupCookie && typeof document != "undefined") {
2016
- var i = nt.read(e.lookupCookie);
2023
+ var i = et.read(e.lookupCookie);
2017
2024
  i && (t = i);
2018
2025
  }
2019
2026
  return t;
2020
2027
  },
2021
2028
  cacheUserLanguage: function(e, t) {
2022
- t.lookupCookie && typeof document != "undefined" && nt.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
2029
+ t.lookupCookie && typeof document != "undefined" && et.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
2023
2030
  }
2024
2031
  }, va = {
2025
2032
  name: "querystring",
@@ -2038,53 +2045,53 @@ var tt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
2038
2045
  }
2039
2046
  return t;
2040
2047
  }
2041
- }, J = null, it = function() {
2042
- if (J !== null)
2043
- return J;
2048
+ }, q = null, tt = function() {
2049
+ if (q !== null)
2050
+ return q;
2044
2051
  try {
2045
- J = window !== "undefined" && window.localStorage !== null;
2052
+ q = window !== "undefined" && window.localStorage !== null;
2046
2053
  var e = "i18next.translate.boo";
2047
2054
  window.localStorage.setItem(e, "foo"), window.localStorage.removeItem(e);
2048
2055
  } catch {
2049
- J = !1;
2056
+ q = !1;
2050
2057
  }
2051
- return J;
2058
+ return q;
2052
2059
  }, Sa = {
2053
2060
  name: "localStorage",
2054
2061
  lookup: function(e) {
2055
2062
  var t;
2056
- if (e.lookupLocalStorage && it()) {
2063
+ if (e.lookupLocalStorage && tt()) {
2057
2064
  var i = window.localStorage.getItem(e.lookupLocalStorage);
2058
2065
  i && (t = i);
2059
2066
  }
2060
2067
  return t;
2061
2068
  },
2062
2069
  cacheUserLanguage: function(e, t) {
2063
- t.lookupLocalStorage && it() && window.localStorage.setItem(t.lookupLocalStorage, e);
2070
+ t.lookupLocalStorage && tt() && window.localStorage.setItem(t.lookupLocalStorage, e);
2064
2071
  }
2065
- }, q = null, at = function() {
2066
- if (q !== null)
2067
- return q;
2072
+ }, H = null, nt = function() {
2073
+ if (H !== null)
2074
+ return H;
2068
2075
  try {
2069
- q = window !== "undefined" && window.sessionStorage !== null;
2076
+ H = window !== "undefined" && window.sessionStorage !== null;
2070
2077
  var e = "i18next.translate.boo";
2071
2078
  window.sessionStorage.setItem(e, "foo"), window.sessionStorage.removeItem(e);
2072
2079
  } catch {
2073
- q = !1;
2080
+ H = !1;
2074
2081
  }
2075
- return q;
2082
+ return H;
2076
2083
  }, ya = {
2077
2084
  name: "sessionStorage",
2078
2085
  lookup: function(e) {
2079
2086
  var t;
2080
- if (e.lookupSessionStorage && at()) {
2087
+ if (e.lookupSessionStorage && nt()) {
2081
2088
  var i = window.sessionStorage.getItem(e.lookupSessionStorage);
2082
2089
  i && (t = i);
2083
2090
  }
2084
2091
  return t;
2085
2092
  },
2086
2093
  cacheUserLanguage: function(e, t) {
2087
- t.lookupSessionStorage && at() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
2094
+ t.lookupSessionStorage && nt() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
2088
2095
  }
2089
2096
  }, Na = {
2090
2097
  name: "navigator",
@@ -2145,7 +2152,7 @@ function Ca() {
2145
2152
  }
2146
2153
  };
2147
2154
  }
2148
- var Vt = /* @__PURE__ */ function() {
2155
+ var At = /* @__PURE__ */ function() {
2149
2156
  function n(e) {
2150
2157
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2151
2158
  da(this, n), this.type = "languageDetector", this.detectors = {}, this.init(e, t);
@@ -2190,9 +2197,9 @@ var Vt = /* @__PURE__ */ function() {
2190
2197
  }
2191
2198
  }]), n;
2192
2199
  }();
2193
- Vt.type = "languageDetector";
2200
+ At.type = "languageDetector";
2194
2201
  function Ea(n, e) {
2195
- n.use(e).use(Vt).init({
2202
+ n.use(e).use(At).init({
2196
2203
  resources: {},
2197
2204
  fallbackLng: "en",
2198
2205
  debug: !1,
@@ -2288,7 +2295,7 @@ class le {
2288
2295
  return e = e || this.options, e.prefix = e.prefix || this.prefix, new le(this.logger, e);
2289
2296
  }
2290
2297
  }
2291
- var $ = new le();
2298
+ var j = new le();
2292
2299
  class ge {
2293
2300
  constructor() {
2294
2301
  this.observers = {};
@@ -2317,14 +2324,14 @@ class ge {
2317
2324
  });
2318
2325
  }
2319
2326
  }
2320
- function H() {
2327
+ function Z() {
2321
2328
  let n, e;
2322
2329
  const t = new Promise((i, a) => {
2323
2330
  n = i, e = a;
2324
2331
  });
2325
2332
  return t.resolve = n, t.reject = e, t;
2326
2333
  }
2327
- function st(n) {
2334
+ function it(n) {
2328
2335
  return n == null ? "" : "" + n;
2329
2336
  }
2330
2337
  function Oa(n, e, t) {
@@ -2332,7 +2339,7 @@ function Oa(n, e, t) {
2332
2339
  e[i] && (t[i] = e[i]);
2333
2340
  });
2334
2341
  }
2335
- function Le(n, e, t) {
2342
+ function De(n, e, t) {
2336
2343
  function i(r) {
2337
2344
  return r && r.indexOf("###") > -1 ? r.replace(/###/g, ".") : r;
2338
2345
  }
@@ -2351,25 +2358,25 @@ function Le(n, e, t) {
2351
2358
  k: i(s.shift())
2352
2359
  };
2353
2360
  }
2354
- function rt(n, e, t) {
2361
+ function at(n, e, t) {
2355
2362
  const {
2356
2363
  obj: i,
2357
2364
  k: a
2358
- } = Le(n, e, Object);
2365
+ } = De(n, e, Object);
2359
2366
  i[a] = t;
2360
2367
  }
2361
2368
  function Ra(n, e, t, i) {
2362
2369
  const {
2363
2370
  obj: a,
2364
2371
  k: s
2365
- } = Le(n, e, Object);
2372
+ } = De(n, e, Object);
2366
2373
  a[s] = a[s] || [], i && (a[s] = a[s].concat(t)), i || a[s].push(t);
2367
2374
  }
2368
2375
  function de(n, e) {
2369
2376
  const {
2370
2377
  obj: t,
2371
2378
  k: i
2372
- } = Le(n, e);
2379
+ } = De(n, e);
2373
2380
  if (t)
2374
2381
  return t[i];
2375
2382
  }
@@ -2377,15 +2384,15 @@ function Ta(n, e, t) {
2377
2384
  const i = de(n, t);
2378
2385
  return i !== void 0 ? i : de(e, t);
2379
2386
  }
2380
- function _t(n, e, t) {
2387
+ function Pt(n, e, t) {
2381
2388
  for (const i in e)
2382
- i !== "__proto__" && i !== "constructor" && (i in n ? typeof n[i] == "string" || n[i] instanceof String || typeof e[i] == "string" || e[i] instanceof String ? t && (n[i] = e[i]) : _t(n[i], e[i], t) : n[i] = e[i]);
2389
+ i !== "__proto__" && i !== "constructor" && (i in n ? typeof n[i] == "string" || n[i] instanceof String || typeof e[i] == "string" || e[i] instanceof String ? t && (n[i] = e[i]) : Pt(n[i], e[i], t) : n[i] = e[i]);
2383
2390
  return n;
2384
2391
  }
2385
2392
  function B(n) {
2386
2393
  return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
2387
2394
  }
2388
- var Da = {
2395
+ var Ia = {
2389
2396
  "&": "&amp;",
2390
2397
  "<": "&lt;",
2391
2398
  ">": "&gt;",
@@ -2393,8 +2400,8 @@ var Da = {
2393
2400
  "'": "&#39;",
2394
2401
  "/": "&#x2F;"
2395
2402
  };
2396
- function Ia(n) {
2397
- return typeof n == "string" ? n.replace(/[&<>"'\/]/g, (e) => Da[e]) : n;
2403
+ function Da(n) {
2404
+ return typeof n == "string" ? n.replace(/[&<>"'\/]/g, (e) => Ia[e]) : n;
2398
2405
  }
2399
2406
  const La = [" ", ",", "?", "!", ";"];
2400
2407
  function Aa(n, e, t) {
@@ -2445,7 +2452,7 @@ function ue(n, e) {
2445
2452
  function ce(n) {
2446
2453
  return n && n.indexOf("_") > 0 ? n.replace("_", "-") : n;
2447
2454
  }
2448
- class ot extends ge {
2455
+ class st extends ge {
2449
2456
  constructor(e) {
2450
2457
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2451
2458
  ns: ["translation"],
@@ -2474,7 +2481,7 @@ class ot extends ge {
2474
2481
  };
2475
2482
  const r = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator;
2476
2483
  let o = [e, t];
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);
2484
+ i && (o = o.concat(r ? i.split(r) : i)), e.indexOf(".") > -1 && (o = e.split("."), a = t, t = o[1]), this.addNamespaces(t), at(this.data, o, a), s.silent || this.emit("added", e, t, i, a);
2478
2485
  }
2479
2486
  addResources(e, t, i) {
2480
2487
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -2492,10 +2499,10 @@ class ot extends ge {
2492
2499
  }, o = [e, t];
2493
2500
  e.indexOf(".") > -1 && (o = e.split("."), a = i, i = t, t = o[1]), this.addNamespaces(t);
2494
2501
  let l = de(this.data, o) || {};
2495
- a ? _t(l, i, s) : l = {
2502
+ a ? Pt(l, i, s) : l = {
2496
2503
  ...l,
2497
2504
  ...i
2498
- }, rt(this.data, o, l), r.silent || this.emit("added", e, t, i);
2505
+ }, at(this.data, o, l), r.silent || this.emit("added", e, t, i);
2499
2506
  }
2500
2507
  removeResourceBundle(e, t) {
2501
2508
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -2519,7 +2526,7 @@ class ot extends ge {
2519
2526
  return this.data;
2520
2527
  }
2521
2528
  }
2522
- var Ut = {
2529
+ var Vt = {
2523
2530
  processors: {},
2524
2531
  addPostProcessor(n) {
2525
2532
  this.processors[n.name] = n;
@@ -2530,11 +2537,11 @@ var Ut = {
2530
2537
  }), e;
2531
2538
  }
2532
2539
  };
2533
- const lt = {};
2540
+ const rt = {};
2534
2541
  class me extends ge {
2535
2542
  constructor(e) {
2536
2543
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2537
- super(), Oa(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = $.create("translator");
2544
+ super(), Oa(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = j.create("translator");
2538
2545
  }
2539
2546
  changeLanguage(e) {
2540
2547
  e && (this.language = e);
@@ -2613,28 +2620,28 @@ class me extends ge {
2613
2620
  return a ? (f.res = w, f.usedParams = this.getUsedParamsDetails(t), f) : w;
2614
2621
  }
2615
2622
  if (s) {
2616
- const w = k === "[object Array]", I = w ? [] : {}, L = w ? y : S;
2623
+ const w = k === "[object Array]", D = w ? [] : {}, L = w ? y : S;
2617
2624
  for (const A in c)
2618
2625
  if (Object.prototype.hasOwnProperty.call(c, A)) {
2619
2626
  const m = `${L}${s}${A}`;
2620
- I[A] = this.translate(m, {
2627
+ D[A] = this.translate(m, {
2621
2628
  ...t,
2622
2629
  joinArrays: !1,
2623
2630
  ns: o
2624
- }), I[A] === m && (I[A] = c[A]);
2631
+ }), D[A] === m && (D[A] = c[A]);
2625
2632
  }
2626
- c = I;
2633
+ c = D;
2627
2634
  }
2628
2635
  } else if (F && typeof O == "string" && k === "[object Array]")
2629
2636
  c = c.join(O), c && (c = this.extendTranslation(c, e, t, i));
2630
2637
  else {
2631
- let w = !1, I = !1;
2638
+ let w = !1, D = !1;
2632
2639
  const L = t.count !== void 0 && typeof t.count != "string", A = me.hasDefaultValue(t), m = L ? this.pluralResolver.getSuffix(u, t.count, t) : "", p = t.ordinal && L ? this.pluralResolver.getSuffix(u, t.count, {
2633
2640
  ordinal: !1
2634
2641
  }) : "", h = t[`defaultValue${m}`] || t[`defaultValue${p}`] || t.defaultValue;
2635
- !this.isValidLookup(c) && A && (w = !0, c = h), this.isValidLookup(c) || (I = !0, c = r);
2636
- const b = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && I ? void 0 : c, C = A && h !== c && this.options.updateMissing;
2637
- if (I || w || C) {
2642
+ !this.isValidLookup(c) && A && (w = !0, c = h), this.isValidLookup(c) || (D = !0, c = r);
2643
+ const b = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && D ? void 0 : c, C = A && h !== c && this.options.updateMissing;
2644
+ if (D || w || C) {
2638
2645
  if (this.logger.log(C ? "updateKey" : "missingKey", u, l, r, C ? h : c), s) {
2639
2646
  const x = this.resolve(r, {
2640
2647
  ...t,
@@ -2659,7 +2666,7 @@ class me extends ge {
2659
2666
  });
2660
2667
  }) : P(v, r, h));
2661
2668
  }
2662
- c = this.extendTranslation(c, e, t, f, i), I && c === r && this.options.appendNamespaceToMissingKey && (c = `${l}:${r}`), (I || w) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? c = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}:${r}` : r, w ? c : void 0) : c = this.options.parseMissingKeyHandler(c));
2669
+ c = this.extendTranslation(c, e, t, f, i), D && c === r && this.options.appendNamespaceToMissingKey && (c = `${l}:${r}`), (D || w) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? c = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}:${r}` : r, w ? c : void 0) : c = this.options.parseMissingKeyHandler(c));
2663
2670
  }
2664
2671
  return a ? (f.res = c, f.usedParams = this.getUsedParamsDetails(t), f) : c;
2665
2672
  }
@@ -2701,7 +2708,7 @@ class me extends ge {
2701
2708
  }, i)), i.interpolation && this.interpolator.reset();
2702
2709
  }
2703
2710
  const o = i.postProcess || this.options.postProcess, l = typeof o == "string" ? [o] : o;
2704
- return e != null && l && l.length && i.applyPostProcessor !== !1 && (e = Ut.handle(l, e, t, this.options && this.options.postProcessPassResolved ? {
2711
+ return e != null && l && l.length && i.applyPostProcessor !== !1 && (e = Vt.handle(l, e, t, this.options && this.options.postProcessPassResolved ? {
2705
2712
  i18nResolved: {
2706
2713
  ...a,
2707
2714
  usedParams: this.getUsedParamsDetails(i)
@@ -2720,7 +2727,7 @@ class me extends ge {
2720
2727
  this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
2721
2728
  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);
2722
2729
  f.forEach((N) => {
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) => {
2730
+ this.isValidLookup(i) || (o = N, !rt[`${k[0]}-${N}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (rt[`${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) => {
2724
2731
  if (this.isValidLookup(i))
2725
2732
  return;
2726
2733
  r = O;
@@ -2730,15 +2737,15 @@ class me extends ge {
2730
2737
  else {
2731
2738
  let w;
2732
2739
  c && (w = this.pluralResolver.getSuffix(O, t.count, t));
2733
- const I = `${this.options.pluralSeparator}zero`, L = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2734
- if (c && (F.push(d + w), t.ordinal && w.indexOf(L) === 0 && F.push(d + w.replace(L, this.options.pluralSeparator)), S && F.push(d + I)), y) {
2740
+ const D = `${this.options.pluralSeparator}zero`, L = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2741
+ if (c && (F.push(d + w), t.ordinal && w.indexOf(L) === 0 && F.push(d + w.replace(L, this.options.pluralSeparator)), S && F.push(d + D)), y) {
2735
2742
  const A = `${d}${this.options.contextSeparator}${t.context}`;
2736
- F.push(A), c && (F.push(A + w), t.ordinal && w.indexOf(L) === 0 && F.push(A + w.replace(L, this.options.pluralSeparator)), S && F.push(A + I));
2743
+ F.push(A), c && (F.push(A + w), t.ordinal && w.indexOf(L) === 0 && F.push(A + w.replace(L, this.options.pluralSeparator)), S && F.push(A + D));
2737
2744
  }
2738
2745
  }
2739
- let D;
2740
- for (; D = F.pop(); )
2741
- this.isValidLookup(i) || (s = D, i = this.getResource(O, N, D, t));
2746
+ let I;
2747
+ for (; I = F.pop(); )
2748
+ this.isValidLookup(i) || (s = I, i = this.getResource(O, N, I, t));
2742
2749
  }));
2743
2750
  });
2744
2751
  }), {
@@ -2783,9 +2790,9 @@ class me extends ge {
2783
2790
  function Ne(n) {
2784
2791
  return n.charAt(0).toUpperCase() + n.slice(1);
2785
2792
  }
2786
- class dt {
2793
+ class ot {
2787
2794
  constructor(e) {
2788
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = $.create("languageUtils");
2795
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = j.create("languageUtils");
2789
2796
  }
2790
2797
  getScriptPartFromCode(e) {
2791
2798
  if (e = ce(e), !e || e.indexOf("-") < 0)
@@ -3012,7 +3019,7 @@ let Pa = [{
3012
3019
  return n == 1 ? 0 : n == 2 ? 1 : (n < 0 || n > 10) && n % 10 == 0 ? 2 : 3;
3013
3020
  }
3014
3021
  };
3015
- const _a = ["v1", "v2", "v3"], Ua = ["v4"], ut = {
3022
+ const _a = ["v1", "v2", "v3"], Ua = ["v4"], lt = {
3016
3023
  zero: 0,
3017
3024
  one: 1,
3018
3025
  two: 2,
@@ -3034,7 +3041,7 @@ function Ma() {
3034
3041
  class $a {
3035
3042
  constructor(e) {
3036
3043
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3037
- this.languageUtils = e, this.options = t, this.logger = $.create("pluralResolver"), (!this.options.compatibilityJSON || Ua.includes(this.options.compatibilityJSON)) && (typeof Intl == "undefined" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Ma();
3044
+ this.languageUtils = e, this.options = t, this.logger = j.create("pluralResolver"), (!this.options.compatibilityJSON || Ua.includes(this.options.compatibilityJSON)) && (typeof Intl == "undefined" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Ma();
3038
3045
  }
3039
3046
  addRule(e, t) {
3040
3047
  this.rules[e] = t;
@@ -3063,7 +3070,7 @@ class $a {
3063
3070
  getSuffixes(e) {
3064
3071
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3065
3072
  const i = this.getRule(e, 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)) : [];
3073
+ return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((a, s) => lt[a] - lt[s]).map((a) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : i.numbers.map((a) => this.getSuffix(e, a, t)) : [];
3067
3074
  }
3068
3075
  getSuffix(e, t) {
3069
3076
  let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -3081,14 +3088,14 @@ class $a {
3081
3088
  return !_a.includes(this.options.compatibilityJSON);
3082
3089
  }
3083
3090
  }
3084
- function ct(n, e, t) {
3091
+ function dt(n, e, t) {
3085
3092
  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);
3086
3093
  return !s && a && typeof t == "string" && (s = ue(n, t, i), s === void 0 && (s = ue(e, t, i))), s;
3087
3094
  }
3088
3095
  class ja {
3089
3096
  constructor() {
3090
3097
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3091
- this.logger = $.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
3098
+ this.logger = j.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
3092
3099
  }
3093
3100
  init() {
3094
3101
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -3096,7 +3103,7 @@ class ja {
3096
3103
  escapeValue: !0
3097
3104
  });
3098
3105
  const t = e.interpolation;
3099
- this.escape = t.escape !== void 0 ? t.escape : Ia, this.escapeValue = t.escapeValue !== void 0 ? t.escapeValue : !0, this.useRawValueToEscape = t.useRawValueToEscape !== void 0 ? t.useRawValueToEscape : !1, this.prefix = t.prefix ? B(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? B(t.suffix) : t.suffixEscaped || "}}", this.formatSeparator = t.formatSeparator ? t.formatSeparator : t.formatSeparator || ",", this.unescapePrefix = t.unescapeSuffix ? "" : t.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : t.unescapeSuffix || "", this.nestingPrefix = t.nestingPrefix ? B(t.nestingPrefix) : t.nestingPrefixEscaped || B("$t("), this.nestingSuffix = t.nestingSuffix ? B(t.nestingSuffix) : t.nestingSuffixEscaped || B(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat !== void 0 ? t.alwaysFormat : !1, this.resetRegExp();
3106
+ this.escape = t.escape !== void 0 ? t.escape : Da, this.escapeValue = t.escapeValue !== void 0 ? t.escapeValue : !0, this.useRawValueToEscape = t.useRawValueToEscape !== void 0 ? t.useRawValueToEscape : !1, this.prefix = t.prefix ? B(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? B(t.suffix) : t.suffixEscaped || "}}", this.formatSeparator = t.formatSeparator ? t.formatSeparator : t.formatSeparator || ",", this.unescapePrefix = t.unescapeSuffix ? "" : t.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : t.unescapeSuffix || "", this.nestingPrefix = t.nestingPrefix ? B(t.nestingPrefix) : t.nestingPrefixEscaped || B("$t("), this.nestingSuffix = t.nestingSuffix ? B(t.nestingSuffix) : t.nestingSuffixEscaped || B(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat !== void 0 ? t.alwaysFormat : !1, this.resetRegExp();
3100
3107
  }
3101
3108
  reset() {
3102
3109
  this.options && this.init(this.options);
@@ -3117,7 +3124,7 @@ class ja {
3117
3124
  }
3118
3125
  const d = (y) => {
3119
3126
  if (y.indexOf(this.formatSeparator) < 0) {
3120
- const F = ct(t, l, y, this.options.keySeparator, this.options.ignoreJSONStructure);
3127
+ const F = dt(t, l, y, this.options.keySeparator, this.options.ignoreJSONStructure);
3121
3128
  return this.alwaysFormat ? this.format(F, void 0, i, {
3122
3129
  ...a,
3123
3130
  ...t,
@@ -3125,7 +3132,7 @@ class ja {
3125
3132
  }) : F;
3126
3133
  }
3127
3134
  const k = y.split(this.formatSeparator), N = k.shift().trim(), O = k.join(this.formatSeparator).trim();
3128
- return this.format(ct(t, l, N, this.options.keySeparator, this.options.ignoreJSONStructure), O, i, {
3135
+ return this.format(dt(t, l, N, this.options.keySeparator, this.options.ignoreJSONStructure), O, i, {
3129
3136
  ...a,
3130
3137
  ...t,
3131
3138
  interpolationkey: N
@@ -3154,7 +3161,7 @@ class ja {
3154
3161
  } else
3155
3162
  this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), r = "";
3156
3163
  else
3157
- typeof r != "string" && !this.useRawValueToEscape && (r = st(r));
3164
+ typeof r != "string" && !this.useRawValueToEscape && (r = it(r));
3158
3165
  const N = y.safeValue(r);
3159
3166
  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)
3160
3167
  break;
@@ -3194,7 +3201,7 @@ class ja {
3194
3201
  }
3195
3202
  if (s = t(o.call(this, a[1].trim(), r), r), s && a[0] === e && typeof s != "string")
3196
3203
  return s;
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, {
3204
+ typeof s != "string" && (s = it(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, {
3198
3205
  ...i,
3199
3206
  interpolationkey: a[1].trim()
3200
3207
  }), s.trim())), e = e.replace(a[0], s), this.regexp.lastIndex = 0;
@@ -3232,7 +3239,7 @@ function Q(n) {
3232
3239
  class Ba {
3233
3240
  constructor() {
3234
3241
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3235
- this.logger = $.create("formatter"), this.options = e, this.formats = {
3242
+ this.logger = j.create("formatter"), this.options = e, this.formats = {
3236
3243
  number: Q((t, i) => {
3237
3244
  const a = new Intl.NumberFormat(t, {
3238
3245
  ...i
@@ -3310,7 +3317,7 @@ function Qa(n, e) {
3310
3317
  class Ga extends ge {
3311
3318
  constructor(e, t, i) {
3312
3319
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
3313
- super(), this.backend = e, this.store = t, this.services = i, this.languageUtils = i.languageUtils, this.options = a, this.logger = $.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = a.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = a.maxRetries >= 0 ? a.maxRetries : 5, this.retryTimeout = a.retryTimeout >= 1 ? a.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(i, a.backend, a);
3320
+ super(), this.backend = e, this.store = t, this.services = i, this.languageUtils = i.languageUtils, this.options = a, this.logger = j.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = a.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = a.maxRetries >= 0 ? a.maxRetries : 5, this.retryTimeout = a.retryTimeout >= 1 ? a.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(i, a.backend, a);
3314
3321
  }
3315
3322
  queueLoad(e, t, i, a) {
3316
3323
  const s = {}, r = {}, o = {}, l = {};
@@ -3441,7 +3448,7 @@ class Ga extends ge {
3441
3448
  }
3442
3449
  }
3443
3450
  }
3444
- function mt() {
3451
+ function ut() {
3445
3452
  return {
3446
3453
  debug: !1,
3447
3454
  initImmediate: !0,
@@ -3500,7 +3507,7 @@ function mt() {
3500
3507
  }
3501
3508
  };
3502
3509
  }
3503
- function ft(n) {
3510
+ function ct(n) {
3504
3511
  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;
3505
3512
  }
3506
3513
  function ae() {
@@ -3513,7 +3520,7 @@ function Ka(n) {
3513
3520
  class ee extends ge {
3514
3521
  constructor() {
3515
3522
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
3516
- if (super(), this.options = ft(e), this.services = {}, this.logger = $, this.modules = {
3523
+ if (super(), this.options = ct(e), this.services = {}, this.logger = j, this.modules = {
3517
3524
  external: []
3518
3525
  }, Ka(this), t && !this.isInitialized && !e.isClone) {
3519
3526
  if (!this.options.initImmediate)
@@ -3527,11 +3534,11 @@ class ee extends ge {
3527
3534
  var e = this;
3528
3535
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
3529
3536
  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]));
3530
- const a = mt();
3537
+ const a = ut();
3531
3538
  this.options = {
3532
3539
  ...a,
3533
3540
  ...this.options,
3534
- ...ft(t)
3541
+ ...ct(t)
3535
3542
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
3536
3543
  ...a.interpolation,
3537
3544
  ...this.options.interpolation
@@ -3540,13 +3547,13 @@ class ee extends ge {
3540
3547
  return d ? typeof d == "function" ? new d() : d : null;
3541
3548
  }
3542
3549
  if (!this.options.isClone) {
3543
- this.modules.logger ? $.init(s(this.modules.logger), this.options) : $.init(null, this.options);
3550
+ this.modules.logger ? j.init(s(this.modules.logger), this.options) : j.init(null, this.options);
3544
3551
  let d;
3545
3552
  this.modules.formatter ? d = this.modules.formatter : typeof Intl != "undefined" && (d = Ba);
3546
- const f = new dt(this.options);
3547
- this.store = new ot(this.options.resources, this.options);
3553
+ const f = new ot(this.options);
3554
+ this.store = new st(this.options.resources, this.options);
3548
3555
  const c = this.services;
3549
- c.logger = $, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new $a(f, {
3556
+ c.logger = j, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new $a(f, {
3550
3557
  prepend: this.options.pluralSeparator,
3551
3558
  compatibilityJSON: this.options.compatibilityJSON,
3552
3559
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
@@ -3577,7 +3584,7 @@ class ee extends ge {
3577
3584
  return e.store[d](...arguments), e;
3578
3585
  };
3579
3586
  });
3580
- const l = H(), u = () => {
3587
+ const l = Z(), u = () => {
3581
3588
  const d = (f, c) => {
3582
3589
  this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), l.resolve(c), i(f, c);
3583
3590
  };
@@ -3607,7 +3614,7 @@ class ee extends ge {
3607
3614
  i(null);
3608
3615
  }
3609
3616
  reloadResources(e, t, i) {
3610
- const a = H();
3617
+ const a = Z();
3611
3618
  return e || (e = this.languages), t || (t = this.options.ns), i || (i = ae), this.services.backendConnector.reload(e, t, (s) => {
3612
3619
  a.resolve(), i(s);
3613
3620
  }), a;
@@ -3617,7 +3624,7 @@ class ee extends ge {
3617
3624
  throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
3618
3625
  if (!e.type)
3619
3626
  throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
3620
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Ut.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3627
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Vt.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3621
3628
  }
3622
3629
  setResolvedLanguage(e) {
3623
3630
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
@@ -3632,7 +3639,7 @@ class ee extends ge {
3632
3639
  changeLanguage(e, t) {
3633
3640
  var i = this;
3634
3641
  this.isLanguageChangingTo = e;
3635
- const a = H();
3642
+ const a = Z();
3636
3643
  this.emit("languageChanging", e);
3637
3644
  const s = (l) => {
3638
3645
  this.language = l, this.languages = this.services.languageUtils.toResolveHierarchy(l), this.resolvedLanguage = void 0, this.setResolvedLanguage(l);
@@ -3700,7 +3707,7 @@ class ee extends ge {
3700
3707
  return !!(this.hasResourceBundle(i, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || r(i, e) && (!a || r(s, e)));
3701
3708
  }
3702
3709
  loadNamespaces(e, t) {
3703
- const i = H();
3710
+ const i = Z();
3704
3711
  return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach((a) => {
3705
3712
  this.options.ns.indexOf(a) < 0 && this.options.ns.push(a);
3706
3713
  }), this.loadResources((a) => {
@@ -3708,7 +3715,7 @@ class ee extends ge {
3708
3715
  }), i) : (t && t(), Promise.resolve());
3709
3716
  }
3710
3717
  loadLanguages(e, t) {
3711
- const i = H();
3718
+ const i = Z();
3712
3719
  typeof e == "string" && (e = [e]);
3713
3720
  const a = this.options.preload || [], s = e.filter((r) => a.indexOf(r) < 0);
3714
3721
  return s.length ? (this.options.preload = a.concat(s), this.loadResources((r) => {
@@ -3718,7 +3725,7 @@ class ee extends ge {
3718
3725
  dir(e) {
3719
3726
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e)
3720
3727
  return "rtl";
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());
3728
+ 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 ot(ut());
3722
3729
  return t.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
3723
3730
  }
3724
3731
  static createInstance() {
@@ -3740,7 +3747,7 @@ class ee extends ge {
3740
3747
  ...this.services
3741
3748
  }, s.services.utils = {
3742
3749
  hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
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) {
3750
+ }, i && (s.store = new st(this.store.data, a), s.services.resourceStore = s.store), s.translator = new me(s.services, a), s.translator.on("*", function(o) {
3744
3751
  for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), d = 1; d < l; d++)
3745
3752
  u[d - 1] = arguments[d];
3746
3753
  s.emit(o, ...u);
@@ -3796,7 +3803,7 @@ const Wa = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
3796
3803
  "&#x2F;": "/",
3797
3804
  "&#47;": "/"
3798
3805
  }, qa = (n) => Ja[n], Ha = (n) => n.replace(Wa, qa);
3799
- let pt = {
3806
+ let mt = {
3800
3807
  bindI18n: "languageChanged",
3801
3808
  bindI18nStore: "",
3802
3809
  transEmptyNodeValue: "",
@@ -3808,8 +3815,8 @@ let pt = {
3808
3815
  };
3809
3816
  function Za() {
3810
3817
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3811
- pt = {
3812
- ...pt,
3818
+ mt = {
3819
+ ...mt,
3813
3820
  ...n
3814
3821
  };
3815
3822
  }
@@ -3821,21 +3828,21 @@ const Xa = {
3821
3828
  };
3822
3829
  Ea(U, Xa);
3823
3830
  const Qs = (n) => la(U, n);
3824
- let Ae = /* @__PURE__ */ new Map();
3825
- const we = ht(Ae), Gs = ({ children: n, stores: e }) => {
3826
- const t = Ce(we), i = Wt(() => {
3831
+ let Le = /* @__PURE__ */ new Map();
3832
+ const we = ft(Le), Gs = ({ children: n, stores: e }) => {
3833
+ const t = Ce(we), i = Gt(() => {
3827
3834
  const a = /* @__PURE__ */ new Map();
3828
- return e.forEach((s) => a.set(s.class, s.value)), Ae = new Map([...t, ...a]);
3835
+ return e.forEach((s) => a.set(s.class, s.value)), Le = new Map([...t, ...a]);
3829
3836
  }, []);
3830
- return /* @__PURE__ */ Jt(we.Provider, { value: i, children: n });
3837
+ return /* @__PURE__ */ Kt(we.Provider, { value: i, children: n });
3831
3838
  };
3832
3839
  function Ks(n) {
3833
3840
  return Ce(we).get(n);
3834
3841
  }
3835
3842
  function Ws(n) {
3836
- return Ae.get(n);
3843
+ return Le.get(n);
3837
3844
  }
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 || {});
3845
+ var _t = /* @__PURE__ */ ((n) => (n.Created = "CREATED", n.Finalized = "FINALIZED", n.Live = "LIVE", n.Starting = "STARTING", n))(_t || {}), Ut = /* @__PURE__ */ ((n) => (n.Add = "add", n.Remove = "remove", n))(Ut || {}), Mt = /* @__PURE__ */ ((n) => (n.Active = "active", n.Inactive = "inactive", n))(Mt || {});
3839
3846
  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({
3840
3847
  __proto__: null,
3841
3848
  AddCollectionDocument: Ya,
@@ -3848,7 +3855,7 @@ const Ya = { kind: "Document", definitions: [{ kind: "OperationDefinition", oper
3848
3855
  DeleteCollectionDocument: es,
3849
3856
  DeleteRelationshipWithSnackVideoDocument: ys,
3850
3857
  DeleteSnackVideoDocument: Ns,
3851
- EventStatus: Mt,
3858
+ EventStatus: _t,
3852
3859
  FindByProductSnackVideoDocument: Es,
3853
3860
  FindCollectionDocument: ts,
3854
3861
  FindManySnackVideosDocument: bs,
@@ -3861,12 +3868,12 @@ const Ya = { kind: "Document", definitions: [{ kind: "OperationDefinition", oper
3861
3868
  GetSnackVideoRelationshipsDocument: ws,
3862
3869
  GetTimeLineDocument: ks,
3863
3870
  ManageCollectionProductDocument: is,
3864
- Methods: $t,
3871
+ Methods: Ut,
3865
3872
  PinChatMessageDocument: fs,
3866
3873
  SearchCollectionsDocument: as,
3867
3874
  SearchMinimalEventsDocument: os,
3868
3875
  SearchSnackVideosDocument: Cs,
3869
- Status: jt,
3876
+ Status: Mt,
3870
3877
  UpdateCollectionDocument: ss,
3871
3878
  UpdateCustomizationDocument: gs
3872
3879
  }, Symbol.toStringTag, { value: "Module" }));
@@ -3880,26 +3887,26 @@ function qs(n) {
3880
3887
  };
3881
3888
  }
3882
3889
  export {
3883
- Dt as AccountContractStatusTypes,
3890
+ Rt as AccountContractStatusTypes,
3884
3891
  ci as AccountContractTypes,
3885
3892
  Vs as AccountInvalidError,
3886
3893
  fi as AccountPlanDescriptionTypes,
3887
3894
  gi as AccountRestRepository,
3888
3895
  ki as AccountService,
3889
3896
  mi as AccountSubscriptionTypes,
3890
- Tt as AccountTypes,
3897
+ Ot as AccountTypes,
3891
3898
  di as AggregateRoot,
3892
3899
  Js as ApiGraphqlTypes,
3893
3900
  Ms as BaseMobxStore,
3894
- jn as BroadcastChannelEventBus,
3901
+ Mn as BroadcastChannelEventBus,
3895
3902
  he as DomainError,
3896
3903
  zs as EventBusWildcards,
3897
3904
  Bs as EventNames,
3898
3905
  pi as GlobalPageSectionTypes,
3899
3906
  li as InvalidNizzaGlobalObjectError,
3900
3907
  ia as LanguageTypes,
3901
- Gn as Logger,
3902
- Te as NizzaAccount,
3908
+ Bn as Logger,
3909
+ Re as NizzaAccount,
3903
3910
  na as NizzaEventStatus,
3904
3911
  sa as NizzaProductRequestOriginTypes,
3905
3912
  aa as NizzaVariationTypes,
@@ -3908,32 +3915,34 @@ export {
3908
3915
  oi as UnexpectedError,
3909
3916
  $s as ValueObject,
3910
3917
  Ee as accountAtom,
3911
- It as accountService,
3918
+ Tt as accountService,
3912
3919
  Ts as apiCall,
3913
3920
  ra as buildLanguageTranslations,
3914
3921
  oa as buildTranslations,
3915
- Kn as configure,
3916
- Z as coreLogger,
3922
+ Jn as configure,
3923
+ K as coreLogger,
3917
3924
  ui as createAggregateRoot,
3918
3925
  qs as createStore,
3919
- St as customFetch,
3920
- Ds as downloadFile,
3926
+ kt as customFetch,
3927
+ Is as downloadFile,
3921
3928
  Ls as fileOrigin,
3922
3929
  ta as getAccount,
3923
3930
  Us as getClientTimeZone,
3931
+ Kn as getInstance,
3924
3932
  Ws as getStore,
3925
3933
  ea as globalAtomStore,
3926
3934
  Ea as i18Init,
3927
- hn as jsDownload,
3928
- Ps as logger,
3929
- Oe as nizza,
3935
+ fn as jsDownload,
3936
+ Qn as logger,
3937
+ $ as nizza,
3938
+ Ps as nizzaInit,
3930
3939
  Qs as registerTranslations,
3931
3940
  la as registerTranslationsOf,
3932
- Is as searchParams,
3933
- Wn as setProductDataSource,
3934
- Bn as shortId,
3941
+ Ds as searchParams,
3942
+ qn as setProductDataSource,
3943
+ jn as shortId,
3935
3944
  js as useAccount,
3936
- qn as useNizza,
3945
+ Gn as useNizza,
3937
3946
  Ks as useStore,
3938
3947
  _s as validateRequiredProps
3939
3948
  };