@nizza/core 0.4.5-alpha.3 → 0.4.5-alpha.4

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,12 +1,12 @@
1
- var nn = Object.defineProperty;
2
- var an = (n, e, t) => e in n ? nn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var D = (n, e, t) => (an(n, typeof e != "symbol" ? e + "" : e, t), t);
1
+ var Yt = Object.defineProperty;
2
+ var en = (n, e, t) => e in n ? Yt(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var T = (n, e, t) => (en(n, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import * as U from "react";
5
- import Re, { createContext as bt, useReducer as sn, useEffect as Ce, useDebugValue as rn, useCallback as Ft, useContext as Te, useRef as Me, useMemo as Et } from "react";
6
- import { jsx as on } from "react/jsx-runtime";
7
- let ln = 0;
8
- function dn(n, e) {
9
- const t = `atom${++ln}`, i = {
5
+ import Re, { createContext as Et, useReducer as tn, useEffect as Ce, useDebugValue as nn, useCallback as Ot, useContext as Te, useRef as je, useMemo as wt } from "react";
6
+ import { jsx as an } from "react/jsx-runtime";
7
+ let sn = 0;
8
+ function rn(n, e) {
9
+ const t = `atom${++sn}`, i = {
10
10
  toString: () => t
11
11
  };
12
12
  return typeof n == "function" ? i.read = n : (i.init = n, i.read = function(a) {
@@ -18,28 +18,28 @@ function dn(n, e) {
18
18
  );
19
19
  }), e && (i.write = e), i;
20
20
  }
21
- const je = (n) => "init" in n, $e = (n) => !!n.write, de = /* @__PURE__ */ new WeakMap(), un = (n, e) => {
21
+ const $e = (n) => "init" in n, ze = (n) => !!n.write, de = /* @__PURE__ */ new WeakMap(), on = (n, e) => {
22
22
  de.set(n, e), n.catch(() => {
23
23
  }).finally(() => de.delete(n));
24
- }, ze = (n, e) => {
24
+ }, Be = (n, e) => {
25
25
  const t = de.get(n);
26
26
  t && (de.delete(n), t(e));
27
- }, Be = (n, e) => {
28
- n.status = "fulfilled", n.value = e;
29
27
  }, Ge = (n, e) => {
28
+ n.status = "fulfilled", n.value = e;
29
+ }, Je = (n, e) => {
30
30
  n.status = "rejected", n.reason = e;
31
- }, cn = (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), Je = (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, mn = (n, e) => "v" in n && "v" in e && n.v.orig && n.v.orig === e.v.orig, se = (n) => {
31
+ }, ln = (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), Qe = (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, dn = (n, e) => "v" in n && "v" in e && n.v.orig && n.v.orig === e.v.orig, se = (n) => {
32
32
  if ("e" in n)
33
33
  throw n.e;
34
34
  return n.v;
35
- }, Ot = () => {
35
+ }, Rt = () => {
36
36
  const n = /* @__PURE__ */ new WeakMap(), e = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new Map();
37
37
  let i, a;
38
38
  const s = (p) => n.get(p), r = (p, m) => {
39
39
  const g = n.get(p);
40
40
  if (n.set(p, m), t.has(p) || t.set(p, g), z(g)) {
41
41
  const h = "v" in m ? m.v instanceof Promise ? m.v : Promise.resolve(m.v) : Promise.reject(m.e);
42
- g.v !== h && ze(g.v, h);
42
+ g.v !== h && Be(g.v, h);
43
43
  }
44
44
  }, o = (p, m, g) => {
45
45
  const h = /* @__PURE__ */ new Map();
@@ -54,42 +54,42 @@ const je = (n) => "init" in n, $e = (n) => !!n.write, de = /* @__PURE__ */ new W
54
54
  };
55
55
  if (g && o(p, N, g), W(h, N) && h.d === N.d)
56
56
  return h;
57
- if (z(h) && z(N) && mn(h, N)) {
57
+ if (z(h) && z(N) && dn(h, N)) {
58
58
  if (h.d === N.d)
59
59
  return h;
60
60
  N.v = h.v;
61
61
  }
62
62
  return r(p, N), N;
63
63
  }, l = (p, m, g, h) => {
64
- if (cn(m)) {
64
+ if (ln(m)) {
65
65
  let N;
66
66
  const O = () => {
67
67
  const R = s(p);
68
68
  if (!z(R) || R.v !== b)
69
69
  return;
70
- const T = d(
70
+ const D = d(
71
71
  p,
72
72
  b,
73
73
  g
74
74
  );
75
- e.has(p) && R.d !== T.d && L(p, T, R.d);
76
- }, b = new Promise((R, T) => {
75
+ e.has(p) && R.d !== D.d && x(p, D, R.d);
76
+ }, b = new Promise((R, D) => {
77
77
  let C = !1;
78
78
  m.then(
79
79
  (A) => {
80
- C || (C = !0, Be(b, A), R(A), O());
80
+ C || (C = !0, Ge(b, A), R(A), O());
81
81
  },
82
82
  (A) => {
83
- C || (C = !0, Ge(b, A), T(A), O());
83
+ C || (C = !0, Je(b, A), D(A), O());
84
84
  }
85
85
  ), N = (A) => {
86
86
  C || (C = !0, A.then(
87
- (V) => Be(b, V),
88
- (V) => Ge(b, V)
87
+ (V) => Ge(b, V),
88
+ (V) => Je(b, V)
89
89
  ), R(A));
90
90
  };
91
91
  });
92
- return b.orig = m, b.status = "pending", un(b, (R) => {
92
+ return b.orig = m, b.status = "pending", on(b, (R) => {
93
93
  R && N(R), h == null || h();
94
94
  }), d(p, b, g);
95
95
  }
@@ -99,7 +99,7 @@ const je = (n) => "init" in n, $e = (n) => !!n.write, de = /* @__PURE__ */ new W
99
99
  d: (h == null ? void 0 : h.d) || /* @__PURE__ */ new Map(),
100
100
  e: m
101
101
  };
102
- return g && o(p, N, g), Je(h, N) && h.d === N.d ? h : (r(p, N), N);
102
+ return g && o(p, N, g), Qe(h, N) && h.d === N.d ? h : (r(p, N), N);
103
103
  }, f = (p, m) => {
104
104
  const g = s(p);
105
105
  if (!m && g && (e.has(p) || Array.from(g.d).every(([C, A]) => {
@@ -116,7 +116,7 @@ const je = (n) => "init" in n, $e = (n) => !!n.write, de = /* @__PURE__ */ new W
116
116
  const V = s(C);
117
117
  if (V)
118
118
  return h.set(C, V), se(V);
119
- if (je(C))
119
+ if ($e(C))
120
120
  return h.set(C, void 0), C.init;
121
121
  throw new Error("no atom init");
122
122
  }
@@ -124,19 +124,19 @@ const je = (n) => "init" in n, $e = (n) => !!n.write, de = /* @__PURE__ */ new W
124
124
  return h.set(C, A), se(A);
125
125
  };
126
126
  let b, R;
127
- const T = {
127
+ const D = {
128
128
  get signal() {
129
129
  return b || (b = new AbortController()), b.signal;
130
130
  },
131
131
  get setSelf() {
132
- return !R && $e(p) && (R = (...C) => {
132
+ return !R && ze(p) && (R = (...C) => {
133
133
  if (!N)
134
134
  return E(p, ...C);
135
135
  }), R;
136
136
  }
137
137
  };
138
138
  try {
139
- const C = p.read(O, T);
139
+ const C = p.read(O, D);
140
140
  return l(
141
141
  p,
142
142
  C,
@@ -150,18 +150,18 @@ const je = (n) => "init" in n, $e = (n) => !!n.write, de = /* @__PURE__ */ new W
150
150
  }
151
151
  }, c = (p) => se(f(p)), y = (p) => {
152
152
  let m = e.get(p);
153
- return m || (m = x(p)), m;
153
+ return m || (m = L(p)), m;
154
154
  }, v = (p, m) => !m.l.size && (!m.t.size || m.t.size === 1 && m.t.has(p)), k = (p) => {
155
155
  const m = e.get(p);
156
156
  m && v(p, m) && w(p);
157
157
  }, S = (p) => {
158
158
  const m = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new WeakMap(), h = (b) => {
159
159
  var R;
160
- const T = new Set((R = e.get(b)) == null ? void 0 : R.t);
160
+ const D = new Set((R = e.get(b)) == null ? void 0 : R.t);
161
161
  return t.forEach((C, A) => {
162
162
  var V;
163
- (V = s(A)) != null && V.d.has(b) && T.add(A);
164
- }), T;
163
+ (V = s(A)) != null && V.d.has(b) && D.add(A);
164
+ }), D;
165
165
  }, N = (b) => {
166
166
  h(b).forEach((R) => {
167
167
  R !== b && (m.set(
@@ -173,11 +173,11 @@ const je = (n) => "init" in n, $e = (n) => !!n.write, de = /* @__PURE__ */ new W
173
173
  N(p);
174
174
  const O = (b) => {
175
175
  h(b).forEach((R) => {
176
- var T;
176
+ var D;
177
177
  if (R !== b) {
178
178
  let C = g.get(R);
179
179
  if (C && g.set(R, --C), !C) {
180
- let A = !!((T = m.get(R)) != null && T.size);
180
+ let A = !!((D = m.get(R)) != null && D.size);
181
181
  if (A) {
182
182
  const V = s(R), ae = f(R, !0);
183
183
  A = !W(V, ae);
@@ -192,38 +192,38 @@ const je = (n) => "init" in n, $e = (n) => !!n.write, de = /* @__PURE__ */ new W
192
192
  }, F = (p, ...m) => {
193
193
  let g = !0;
194
194
  const h = (b) => se(f(b)), N = (b, ...R) => {
195
- let T;
195
+ let D;
196
196
  if (b === p) {
197
- if (!je(b))
197
+ if (!$e(b))
198
198
  throw new Error("atom not writable");
199
199
  const C = s(b), A = l(b, R[0]);
200
200
  W(C, A) || S(b);
201
201
  } else
202
- T = F(b, ...R);
202
+ D = F(b, ...R);
203
203
  if (!g) {
204
204
  const C = I();
205
205
  }
206
- return T;
206
+ return D;
207
207
  }, O = p.write(h, N, ...m);
208
208
  return g = !1, O;
209
209
  }, E = (p, ...m) => {
210
210
  const g = F(p, ...m), h = I();
211
211
  return g;
212
- }, x = (p, m, g) => {
212
+ }, L = (p, m, g) => {
213
213
  var h;
214
214
  const N = g || [];
215
215
  (h = s(p)) == null || h.d.forEach((b, R) => {
216
- const T = e.get(R);
217
- T ? T.t.add(p) : R !== p && x(R, p, N);
216
+ const D = e.get(R);
217
+ D ? D.t.add(p) : R !== p && L(R, p, N);
218
218
  }), f(p);
219
219
  const O = {
220
220
  t: new Set(m && [m]),
221
221
  l: /* @__PURE__ */ new Set()
222
222
  };
223
- if (e.set(p, O), $e(p) && p.onMount) {
223
+ if (e.set(p, O), ze(p) && p.onMount) {
224
224
  const { onMount: b } = p;
225
225
  N.push(() => {
226
- const R = b((...T) => E(p, ...T));
226
+ const R = b((...D) => E(p, ...D));
227
227
  R && (O.u = R);
228
228
  });
229
229
  }
@@ -233,13 +233,13 @@ const je = (n) => "init" in n, $e = (n) => !!n.write, de = /* @__PURE__ */ new W
233
233
  const g = (m = e.get(p)) == null ? void 0 : m.u;
234
234
  g && g(), e.delete(p);
235
235
  const h = s(p);
236
- h && (z(h) && ze(h.v), h.d.forEach((N, O) => {
236
+ h && (z(h) && Be(h.v), h.d.forEach((N, O) => {
237
237
  if (O !== p) {
238
238
  const b = e.get(O);
239
239
  b && (b.t.delete(p), v(O, b) && w(O));
240
240
  }
241
241
  }));
242
- }, L = (p, m, g) => {
242
+ }, x = (p, m, g) => {
243
243
  const h = new Set(m.d.keys());
244
244
  g == null || g.forEach((N, O) => {
245
245
  if (h.has(O)) {
@@ -250,7 +250,7 @@ const je = (n) => "init" in n, $e = (n) => !!n.write, de = /* @__PURE__ */ new W
250
250
  b && (b.t.delete(p), v(O, b) && w(O));
251
251
  }), h.forEach((N) => {
252
252
  const O = e.get(N);
253
- O ? O.t.add(p) : e.has(p) && x(N, p);
253
+ O ? O.t.add(p) : e.has(p) && L(N, p);
254
254
  });
255
255
  }, I = () => {
256
256
  let p;
@@ -260,9 +260,9 @@ const je = (n) => "init" in n, $e = (n) => !!n.write, de = /* @__PURE__ */ new W
260
260
  const N = s(g);
261
261
  if (N) {
262
262
  const O = e.get(g);
263
- O && N.d !== (h == null ? void 0 : h.d) && L(g, N, h == null ? void 0 : h.d), O && !// TODO This seems pretty hacky. Hope to fix it.
263
+ O && N.d !== (h == null ? void 0 : h.d) && x(g, N, h == null ? void 0 : h.d), O && !// TODO This seems pretty hacky. Hope to fix it.
264
264
  // Maybe we could `mountDependencies` in `setAtomState`?
265
- (!z(h) && (W(h, N) || Je(h, N))) && O.l.forEach((b) => b());
265
+ (!z(h) && (W(h, N) || Qe(h, N))) && O.l.forEach((b) => b());
266
266
  }
267
267
  });
268
268
  }
@@ -279,10 +279,10 @@ const je = (n) => "init" in n, $e = (n) => !!n.write, de = /* @__PURE__ */ new W
279
279
  };
280
280
  };
281
281
  let ve;
282
- const fn = () => (ve || (ve = Ot()), ve), pn = bt(void 0), wt = (n) => {
283
- const e = Te(pn);
284
- return (n == null ? void 0 : n.store) || e || fn();
285
- }, hn = (n) => typeof (n == null ? void 0 : n.then) == "function", gn = Re.use || ((n) => {
282
+ const un = () => (ve || (ve = Rt()), ve), cn = Et(void 0), Ct = (n) => {
283
+ const e = Te(cn);
284
+ return (n == null ? void 0 : n.store) || e || un();
285
+ }, mn = (n) => typeof (n == null ? void 0 : n.then) == "function", fn = Re.use || ((n) => {
286
286
  if (n.status === "pending")
287
287
  throw n;
288
288
  if (n.status === "fulfilled")
@@ -296,8 +296,8 @@ const fn = () => (ve || (ve = Ot()), ve), pn = bt(void 0), wt = (n) => {
296
296
  }
297
297
  ), n);
298
298
  });
299
- function kn(n, e) {
300
- const t = wt(e), [[i, a, s], r] = sn(
299
+ function pn(n, e) {
300
+ const t = Ct(e), [[i, a, s], r] = tn(
301
301
  (l) => {
302
302
  const u = t.get(n);
303
303
  return Object.is(l[0], u) && l[1] === t && l[2] === n ? l : [u, t, n];
@@ -317,32 +317,32 @@ function kn(n, e) {
317
317
  r();
318
318
  });
319
319
  return r(), l;
320
- }, [t, n, d]), rn(o), hn(o) ? gn(o) : o;
320
+ }, [t, n, d]), nn(o), mn(o) ? fn(o) : o;
321
321
  }
322
- function vn(n, e) {
323
- const t = wt(e);
324
- return Ft(
322
+ function hn(n, e) {
323
+ const t = Ct(e);
324
+ return Ot(
325
325
  (...a) => t.set(n, ...a),
326
326
  [t, n]
327
327
  );
328
328
  }
329
- function Sn(n, e) {
329
+ function gn(n, e) {
330
330
  return [
331
- kn(n, e),
331
+ pn(n, e),
332
332
  // We do wrong type assertion here, which results in throwing an error.
333
- vn(n, e)
333
+ hn(n, e)
334
334
  ];
335
335
  }
336
- const De = dn(null);
336
+ const De = rn(null);
337
337
  De.debugLabel = "accountAtom";
338
338
  const {
339
- NZ_AWS_REGION: yn,
340
- NZ_BACKOFFICE_BACK_URL: Nn,
341
- NZ_CORE_SERVICES_GRAPHQL_URL: bn,
342
- NZ_CORE_SERVICES_REST_URL: Fn
343
- } = { 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 }, En = {
339
+ NZ_AWS_REGION: kn,
340
+ NZ_BACKOFFICE_BACK_URL: vn,
341
+ NZ_CORE_SERVICES_GRAPHQL_URL: Sn,
342
+ NZ_CORE_SERVICES_REST_URL: yn
343
+ } = { 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 }, Nn = {
344
344
  AWS: {
345
- region: yn,
345
+ region: kn,
346
346
  cognito: {
347
347
  userPoolId: "us-east-1_knSlGEmJ0",
348
348
  userPoolWebClientId: "3hmbfhf7nl3kq20qr9i5lihf1p"
@@ -350,9 +350,9 @@ const {
350
350
  },
351
351
  // Back services
352
352
  apiUrls: {
353
- restV1: Nn || "https://pabprg32bj.execute-api.us-east-1.amazonaws.com",
354
- restV2: Fn || "https://core-services-dev.nizza.com/api",
355
- graphql: bn || "https://core-services-dev.nizza.com/graphql",
353
+ restV1: vn || "https://pabprg32bj.execute-api.us-east-1.amazonaws.com",
354
+ restV2: yn || "https://core-services-dev.nizza.com/api",
355
+ graphql: Sn || "https://core-services-dev.nizza.com/graphql",
356
356
  corsProxy: "https://1qmd8jteh1.execute-api.us-east-1.amazonaws.com"
357
357
  },
358
358
  publicUrls: {
@@ -366,7 +366,7 @@ const {
366
366
  wssIVSChat: "wss://edge.ivschat.us-east-1.amazonaws.com"
367
367
  }
368
368
  };
369
- async function Rt(n) {
369
+ async function Tt(n) {
370
370
  const {
371
371
  url: e,
372
372
  method: t = "GET",
@@ -404,11 +404,11 @@ async function Rt(n) {
404
404
  throw console.error("[CustomFetch] ", l), l;
405
405
  }
406
406
  }
407
- const _s = (n) => Rt({ ...n, contentTypeJson: !1, raw: !1 });
408
- function Us(n, e, t) {
409
- fetch(e).then((i) => i.blob()).then((i) => On(i, `${n}.${t}`));
407
+ const As = (n) => Tt({ ...n, contentTypeJson: !1, raw: !1 });
408
+ function Ls(n, e, t) {
409
+ fetch(e).then((i) => i.blob()).then((i) => bn(i, `${n}.${t}`));
410
410
  }
411
- const On = (n, e, t) => {
411
+ const bn = (n, e, t) => {
412
412
  const i = [n], a = new Blob(i, {
413
413
  type: t != null ? t : "application/octet-stream"
414
414
  });
@@ -418,226 +418,22 @@ const On = (n, e, t) => {
418
418
  return r.style.display = "none", r.href = s, r.setAttribute("download", e), typeof r.download == "undefined" && r.setAttribute("target", "_blank"), document.body.appendChild(r), r.click(), setTimeout(() => {
419
419
  document.body.removeChild(r), window.URL.revokeObjectURL(s);
420
420
  }, 200);
421
- };
422
- var Ct = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
423
- function Ae(n) {
424
- return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
425
- }
426
- var Tt = { exports: {} };
427
- (function(n) {
428
- (function(e, t) {
429
- n.exports ? n.exports = t() : e.prefix = t(e);
430
- })(Ct, function(e) {
431
- var t = function(u) {
432
- for (var f = 1, c = arguments.length, y; f < c; f++)
433
- for (y in arguments[f])
434
- Object.prototype.hasOwnProperty.call(arguments[f], y) && (u[y] = arguments[f][y]);
435
- return u;
436
- }, i = {
437
- template: "[%t] %l:",
438
- levelFormatter: function(u) {
439
- return u.toUpperCase();
440
- },
441
- nameFormatter: function(u) {
442
- return u || "root";
443
- },
444
- timestampFormatter: function(u) {
445
- return u.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/, "$1");
446
- },
447
- format: void 0
448
- }, a, s = {}, r = function(u) {
449
- if (!u || !u.getLogger)
450
- throw new TypeError("Argument is not a root logger");
451
- a = u;
452
- }, o = function(u, f) {
453
- if (!u || !u.setLevel)
454
- throw new TypeError("Argument is not a logger");
455
- var c = u.methodFactory, y = u.name || "", v = s[y] || s[""] || i;
456
- function k(S, F, E) {
457
- var x = c(S, F, E), w = s[E] || s[""], L = w.template.indexOf("%t") !== -1, I = w.template.indexOf("%l") !== -1, P = w.template.indexOf("%n") !== -1;
458
- return function() {
459
- for (var p = "", m = arguments.length, g = Array(m), h = 0; h < m; h++)
460
- g[h] = arguments[h];
461
- if (y || !s[E]) {
462
- var N = w.timestampFormatter(/* @__PURE__ */ new Date()), O = w.levelFormatter(S), b = w.nameFormatter(E);
463
- w.format ? p += w.format(O, b, N) : (p += w.template, L && (p = p.replace(/%t/, N)), I && (p = p.replace(/%l/, O)), P && (p = p.replace(/%n/, b))), g.length && typeof g[0] == "string" ? g[0] = p + " " + g[0] : g.unshift(p);
464
- }
465
- x.apply(void 0, g);
466
- };
467
- }
468
- return s[y] || (u.methodFactory = k), f = f || {}, f.template && (f.format = void 0), s[y] = t({}, v, f), u.setLevel(u.getLevel()), a || u.warn(
469
- "It is necessary to call the function reg() of loglevel-plugin-prefix before calling apply. From the next release, it will throw an error. See more: https://github.com/kutuluk/loglevel-plugin-prefix/blob/master/README.md"
470
- ), u;
471
- }, d = {
472
- reg: r,
473
- apply: o
474
- }, l;
475
- return e && (l = e.prefix, d.noConflict = function() {
476
- return e.prefix === d && (e.prefix = l), d;
477
- }), d;
478
- });
479
- })(Tt);
480
- var wn = Tt.exports;
481
- const Dt = /* @__PURE__ */ Ae(wn);
482
- var At = { exports: {} };
483
- (function(n) {
484
- (function(e, t) {
485
- n.exports ? n.exports = t() : e.log = t();
486
- })(Ct, function() {
487
- var e = function() {
488
- }, t = "undefined", i = typeof window !== t && typeof window.navigator !== t && /Trident\/|MSIE /.test(window.navigator.userAgent), a = [
489
- "trace",
490
- "debug",
491
- "info",
492
- "warn",
493
- "error"
494
- ];
495
- function s(k, S) {
496
- var F = k[S];
497
- if (typeof F.bind == "function")
498
- return F.bind(k);
499
- try {
500
- return Function.prototype.bind.call(F, k);
501
- } catch {
502
- return function() {
503
- return Function.prototype.apply.apply(F, [k, arguments]);
504
- };
505
- }
506
- }
507
- function r() {
508
- console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();
509
- }
510
- function o(k) {
511
- return k === "debug" && (k = "log"), typeof console === t ? !1 : k === "trace" && i ? r : console[k] !== void 0 ? s(console, k) : console.log !== void 0 ? s(console, "log") : e;
512
- }
513
- function d(k, S) {
514
- for (var F = 0; F < a.length; F++) {
515
- var E = a[F];
516
- this[E] = F < k ? e : this.methodFactory(E, k, S);
517
- }
518
- this.log = this.debug;
519
- }
520
- function l(k, S, F) {
521
- return function() {
522
- typeof console !== t && (d.call(this, S, F), this[k].apply(this, arguments));
523
- };
524
- }
525
- function u(k, S, F) {
526
- return o(k) || l.apply(this, arguments);
527
- }
528
- function f(k, S, F) {
529
- var E = this, x;
530
- S = S == null ? "WARN" : S;
531
- var w = "loglevel";
532
- typeof k == "string" ? w += ":" + k : typeof k == "symbol" && (w = void 0);
533
- function L(m) {
534
- var g = (a[m] || "silent").toUpperCase();
535
- if (!(typeof window === t || !w)) {
536
- try {
537
- window.localStorage[w] = g;
538
- return;
539
- } catch {
540
- }
541
- try {
542
- window.document.cookie = encodeURIComponent(w) + "=" + g + ";";
543
- } catch {
544
- }
545
- }
546
- }
547
- function I() {
548
- var m;
549
- if (!(typeof window === t || !w)) {
550
- try {
551
- m = window.localStorage[w];
552
- } catch {
553
- }
554
- if (typeof m === t)
555
- try {
556
- var g = window.document.cookie, h = g.indexOf(
557
- encodeURIComponent(w) + "="
558
- );
559
- h !== -1 && (m = /^([^;]+)/.exec(g.slice(h))[1]);
560
- } catch {
561
- }
562
- return E.levels[m] === void 0 && (m = void 0), m;
563
- }
564
- }
565
- function P() {
566
- if (!(typeof window === t || !w)) {
567
- try {
568
- window.localStorage.removeItem(w);
569
- return;
570
- } catch {
571
- }
572
- try {
573
- window.document.cookie = encodeURIComponent(w) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
574
- } catch {
575
- }
576
- }
577
- }
578
- E.name = k, E.levels = {
579
- TRACE: 0,
580
- DEBUG: 1,
581
- INFO: 2,
582
- WARN: 3,
583
- ERROR: 4,
584
- SILENT: 5
585
- }, E.methodFactory = F || u, E.getLevel = function() {
586
- return x;
587
- }, E.setLevel = function(m, g) {
588
- if (typeof m == "string" && E.levels[m.toUpperCase()] !== void 0 && (m = E.levels[m.toUpperCase()]), typeof m == "number" && m >= 0 && m <= E.levels.SILENT) {
589
- if (x = m, g !== !1 && L(m), d.call(E, m, k), typeof console === t && m < E.levels.SILENT)
590
- return "No console available for logging";
591
- } else
592
- throw "log.setLevel() called with invalid level: " + m;
593
- }, E.setDefaultLevel = function(m) {
594
- S = m, I() || E.setLevel(m, !1);
595
- }, E.resetLevel = function() {
596
- E.setLevel(S, !1), P();
597
- }, E.enableAll = function(m) {
598
- E.setLevel(E.levels.TRACE, m);
599
- }, E.disableAll = function(m) {
600
- E.setLevel(E.levels.SILENT, m);
601
- };
602
- var p = I();
603
- p == null && (p = S), E.setLevel(p, !1);
604
- }
605
- var c = new f(), y = {};
606
- c.getLogger = function(S) {
607
- if (typeof S != "symbol" && typeof S != "string" || S === "")
608
- throw new TypeError("You must supply a name when creating a logger.");
609
- var F = y[S];
610
- return F || (F = y[S] = new f(
611
- S,
612
- c.getLevel(),
613
- c.methodFactory
614
- )), F;
615
- };
616
- var v = typeof window !== t ? window.log : void 0;
617
- return c.noConflict = function() {
618
- return typeof window !== t && window.log === c && (window.log = v), c;
619
- }, c.getLoggers = function() {
620
- return y;
621
- }, c.default = c, c;
622
- });
623
- })(At);
624
- var Rn = At.exports;
625
- const Cn = /* @__PURE__ */ Ae(Rn), Tn = Symbol(), xe = Symbol(), K = "a", oe = "w";
626
- let Dn = (n, e) => new Proxy(n, e);
627
- const be = Object.getPrototypeOf, Fe = /* @__PURE__ */ new WeakMap(), xt = (n) => n && (Fe.has(n) ? Fe.get(n) : be(n) === Object.prototype || be(n) === Array.prototype), Qe = (n) => typeof n == "object" && n !== null, An = (n) => {
421
+ }, Fn = Symbol(), Ae = Symbol(), K = "a", oe = "w";
422
+ let En = (n, e) => new Proxy(n, e);
423
+ const be = Object.getPrototypeOf, Fe = /* @__PURE__ */ new WeakMap(), Dt = (n) => n && (Fe.has(n) ? Fe.get(n) : be(n) === Object.prototype || be(n) === Array.prototype), We = (n) => typeof n == "object" && n !== null, On = (n) => {
628
424
  if (Array.isArray(n))
629
425
  return Array.from(n);
630
426
  const e = Object.getOwnPropertyDescriptors(n);
631
427
  return Object.values(e).forEach((t) => {
632
428
  t.configurable = !0;
633
429
  }), Object.create(be(n), e);
634
- }, Lt = (n) => n[xe] || n, Pt = (n, e, t, i) => {
635
- if (!xt(n))
430
+ }, At = (n) => n[Ae] || n, Lt = (n, e, t, i) => {
431
+ if (!Dt(n))
636
432
  return n;
637
433
  let a = i && i.get(n);
638
434
  if (!a) {
639
- const d = Lt(n);
640
- a = ((l) => Object.values(Object.getOwnPropertyDescriptors(l)).some((u) => !u.configurable && !u.writable))(d) ? [d, An(d)] : [d], i == null || i.set(n, a);
435
+ const d = At(n);
436
+ a = ((l) => Object.values(Object.getOwnPropertyDescriptors(l)).some((u) => !u.configurable && !u.writable))(d) ? [d, On(d)] : [d], i == null || i.set(n, a);
641
437
  }
642
438
  const [s, r] = a;
643
439
  let o = t && t.get(s);
@@ -654,15 +450,15 @@ const be = Object.getPrototypeOf, Fe = /* @__PURE__ */ new WeakMap(), xt = (n) =
654
450
  F || (F = /* @__PURE__ */ new Set(), S[v] = F), F.add(k);
655
451
  }
656
452
  }
657
- }, y = { get: (v, k) => k === xe ? d : (c("k", k), Pt(Reflect.get(v, k), u[K], u.c, u.t)), has: (v, k) => k === Tn ? (f = !0, u[K].delete(d), !0) : (c("h", k), Reflect.has(v, k)), getOwnPropertyDescriptor: (v, k) => (c("o", k), Reflect.getOwnPropertyDescriptor(v, k)), ownKeys: (v) => (c(oe), Reflect.ownKeys(v)) };
453
+ }, y = { get: (v, k) => k === Ae ? d : (c("k", k), Lt(Reflect.get(v, k), u[K], u.c, u.t)), has: (v, k) => k === Fn ? (f = !0, u[K].delete(d), !0) : (c("h", k), Reflect.has(v, k)), getOwnPropertyDescriptor: (v, k) => (c("o", k), Reflect.getOwnPropertyDescriptor(v, k)), ownKeys: (v) => (c(oe), Reflect.ownKeys(v)) };
658
454
  return l && (y.set = y.deleteProperty = () => !1), [y, u];
659
- })(s, !!r), o[1].p = Dn(r || s, o[0]), t && t.set(s, o)), o[1][K] = e, o[1].c = t, o[1].t = i, o[1].p;
660
- }, It = (n, e, t, i) => {
455
+ })(s, !!r), o[1].p = En(r || s, o[0]), t && t.set(s, o)), o[1][K] = e, o[1].c = t, o[1].t = i, o[1].p;
456
+ }, xt = (n, e, t, i) => {
661
457
  if (Object.is(n, e))
662
458
  return !1;
663
- if (!Qe(n) || !Qe(e))
459
+ if (!We(n) || !We(e))
664
460
  return !0;
665
- const a = t.get(Lt(n));
461
+ const a = t.get(At(n));
666
462
  if (!a)
667
463
  return !0;
668
464
  if (i) {
@@ -687,16 +483,16 @@ const be = Object.getPrototypeOf, Fe = /* @__PURE__ */ new WeakMap(), xt = (n) =
687
483
  if (s = !!Reflect.getOwnPropertyDescriptor(n, r) != !!Reflect.getOwnPropertyDescriptor(e, r), s)
688
484
  return s;
689
485
  for (const r of a.k || [])
690
- if (s = It(n[r], e[r], t, i), s)
486
+ if (s = xt(n[r], e[r], t, i), s)
691
487
  return s;
692
488
  return s === null && (s = !0), s;
693
489
  } finally {
694
490
  i && i.set(n, { n: e, g: s });
695
491
  }
696
- }, xn = (n) => xt(n) && n[xe] || null, We = (n, e = !0) => {
492
+ }, wn = (n) => Dt(n) && n[Ae] || null, Ke = (n, e = !0) => {
697
493
  Fe.set(n, e);
698
494
  };
699
- const Se = (n) => typeof n == "object" && n !== null, j = /* @__PURE__ */ new WeakMap(), H = /* @__PURE__ */ new WeakSet(), Ln = (n = Object.is, e = (l, u) => new Proxy(l, u), t = (l) => Se(l) && !H.has(l) && (Array.isArray(l) || !(Symbol.iterator in l)) && !(l instanceof WeakMap) && !(l instanceof WeakSet) && !(l instanceof Error) && !(l instanceof Number) && !(l instanceof Date) && !(l instanceof String) && !(l instanceof RegExp) && !(l instanceof ArrayBuffer), i = (l) => {
495
+ const Se = (n) => typeof n == "object" && n !== null, j = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakSet(), Rn = (n = Object.is, e = (l, u) => new Proxy(l, u), t = (l) => Se(l) && !Y.has(l) && (Array.isArray(l) || !(Symbol.iterator in l)) && !(l instanceof WeakMap) && !(l instanceof WeakSet) && !(l instanceof Error) && !(l instanceof Number) && !(l instanceof Date) && !(l instanceof String) && !(l instanceof RegExp) && !(l instanceof ArrayBuffer), i = (l) => {
700
496
  switch (l.status) {
701
497
  case "fulfilled":
702
498
  return l.value;
@@ -710,7 +506,7 @@ const Se = (n) => typeof n == "object" && n !== null, j = /* @__PURE__ */ new We
710
506
  if ((c == null ? void 0 : c[0]) === u)
711
507
  return c[1];
712
508
  const y = Array.isArray(l) ? [] : Object.create(Object.getPrototypeOf(l));
713
- return We(y, !0), a.set(l, [u, y]), Reflect.ownKeys(l).forEach((v) => {
509
+ return Ke(y, !0), a.set(l, [u, y]), Reflect.ownKeys(l).forEach((v) => {
714
510
  if (Object.getOwnPropertyDescriptor(y, v))
715
511
  return;
716
512
  const k = Reflect.get(l, v), { enumerable: S } = Reflect.getOwnPropertyDescriptor(
@@ -723,17 +519,17 @@ const Se = (n) => typeof n == "object" && n !== null, j = /* @__PURE__ */ new We
723
519
  // It's still non-writable, so it avoids assigning a value.
724
520
  configurable: !0
725
521
  };
726
- if (H.has(k))
727
- We(k, !1);
522
+ if (Y.has(k))
523
+ Ke(k, !1);
728
524
  else if (k instanceof Promise)
729
525
  delete F.value, F.get = () => f(k);
730
526
  else if (j.has(k)) {
731
- const [E, x] = j.get(
527
+ const [E, L] = j.get(
732
528
  k
733
529
  );
734
530
  F.value = s(
735
531
  E,
736
- x(),
532
+ L(),
737
533
  f
738
534
  );
739
535
  }
@@ -762,7 +558,7 @@ const Se = (n) => typeof n == "object" && n !== null, j = /* @__PURE__ */ new We
762
558
  F.set(m, [g, h]);
763
559
  } else
764
560
  F.set(m, [g]);
765
- }, x = (m) => {
561
+ }, L = (m) => {
766
562
  var g;
767
563
  const h = F.get(m);
768
564
  h && (F.delete(m), (g = h[1]) == null || g.call(h));
@@ -773,10 +569,10 @@ const Se = (n) => typeof n == "object" && n !== null, j = /* @__PURE__ */ new We
773
569
  c.delete(m), c.size === 0 && F.forEach(([h, N], O) => {
774
570
  N && (N(), F.set(O, [h]));
775
571
  });
776
- }), L = Array.isArray(l) ? [] : Object.create(Object.getPrototypeOf(l)), P = e(L, {
572
+ }), x = Array.isArray(l) ? [] : Object.create(Object.getPrototypeOf(l)), P = e(x, {
777
573
  deleteProperty(m, g) {
778
574
  const h = Reflect.get(m, g);
779
- x(g);
575
+ L(g);
780
576
  const N = Reflect.deleteProperty(m, g);
781
577
  return N && y(["delete", [g], h]), N;
782
578
  },
@@ -784,25 +580,25 @@ const Se = (n) => typeof n == "object" && n !== null, j = /* @__PURE__ */ new We
784
580
  const O = Reflect.has(m, g), b = Reflect.get(m, g, N);
785
581
  if (O && (n(b, h) || r.has(h) && n(b, r.get(h))))
786
582
  return !0;
787
- x(g), Se(h) && (h = xn(h) || h);
583
+ L(g), Se(h) && (h = wn(h) || h);
788
584
  let R = h;
789
585
  if (h instanceof Promise)
790
- h.then((T) => {
791
- h.status = "fulfilled", h.value = T, y(["resolve", [g], T]);
792
- }).catch((T) => {
793
- h.status = "rejected", h.reason = T, y(["reject", [g], T]);
586
+ h.then((D) => {
587
+ h.status = "fulfilled", h.value = D, y(["resolve", [g], D]);
588
+ }).catch((D) => {
589
+ h.status = "rejected", h.reason = D, y(["reject", [g], D]);
794
590
  });
795
591
  else {
796
592
  !j.has(h) && t(h) && (R = d(h));
797
- const T = !H.has(R) && j.get(R);
798
- T && E(g, T);
593
+ const D = !Y.has(R) && j.get(R);
594
+ D && E(g, D);
799
595
  }
800
596
  return Reflect.set(m, g, R, N), y(["set", [g], h, b]), !0;
801
597
  }
802
598
  });
803
599
  r.set(l, P);
804
600
  const p = [
805
- L,
601
+ x,
806
602
  k,
807
603
  s,
808
604
  w
@@ -812,14 +608,14 @@ const Se = (n) => typeof n == "object" && n !== null, j = /* @__PURE__ */ new We
812
608
  l,
813
609
  m
814
610
  );
815
- "value" in g && (P[m] = l[m], delete g.value, delete g.writable), Object.defineProperty(L, m, g);
611
+ "value" in g && (P[m] = l[m], delete g.value, delete g.writable), Object.defineProperty(x, m, g);
816
612
  }), P;
817
613
  }) => [
818
614
  // public functions
819
615
  d,
820
616
  // shared state
821
617
  j,
822
- H,
618
+ Y,
823
619
  // internal things
824
620
  n,
825
621
  e,
@@ -829,11 +625,11 @@ const Se = (n) => typeof n == "object" && n !== null, j = /* @__PURE__ */ new We
829
625
  s,
830
626
  r,
831
627
  o
832
- ], [Pn] = Ln();
833
- function In(n = {}) {
834
- return Pn(n);
628
+ ], [Cn] = Rn();
629
+ function Tn(n = {}) {
630
+ return Cn(n);
835
631
  }
836
- function Vn(n, e, t) {
632
+ function Dn(n, e, t) {
837
633
  const i = j.get(n);
838
634
  let a;
839
635
  const s = [], r = i[3];
@@ -851,14 +647,18 @@ function Vn(n, e, t) {
851
647
  o = !1, l();
852
648
  };
853
649
  }
854
- function Ke(n, e) {
650
+ function Ze(n, e) {
855
651
  const t = j.get(n), [i, a, s] = t;
856
652
  return s(i, a(), e);
857
653
  }
858
- function Vt(n) {
859
- return H.add(n), n;
654
+ function Pt(n) {
655
+ return Y.add(n), n;
860
656
  }
861
- var _t = { exports: {} }, Ut = {};
657
+ var It = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
658
+ function Le(n) {
659
+ return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
660
+ }
661
+ var Vt = { exports: {} }, _t = {};
862
662
  /**
863
663
  * @license React
864
664
  * use-sync-external-store-shim.production.min.js
@@ -869,54 +669,54 @@ var _t = { exports: {} }, Ut = {};
869
669
  * LICENSE file in the root directory of this source tree.
870
670
  */
871
671
  var Q = Re;
872
- function _n(n, e) {
672
+ function An(n, e) {
873
673
  return n === e && (n !== 0 || 1 / n === 1 / e) || n !== n && e !== e;
874
674
  }
875
- var Un = typeof Object.is == "function" ? Object.is : _n, Mn = Q.useState, jn = Q.useEffect, $n = Q.useLayoutEffect, zn = Q.useDebugValue;
876
- function Bn(n, e) {
877
- var t = e(), i = Mn({ inst: { value: t, getSnapshot: e } }), a = i[0].inst, s = i[1];
878
- return $n(function() {
675
+ var Ln = typeof Object.is == "function" ? Object.is : An, xn = Q.useState, Pn = Q.useEffect, In = Q.useLayoutEffect, Vn = Q.useDebugValue;
676
+ function _n(n, e) {
677
+ var t = e(), i = xn({ inst: { value: t, getSnapshot: e } }), a = i[0].inst, s = i[1];
678
+ return In(function() {
879
679
  a.value = t, a.getSnapshot = e, ye(a) && s({ inst: a });
880
- }, [n, t, e]), jn(function() {
680
+ }, [n, t, e]), Pn(function() {
881
681
  return ye(a) && s({ inst: a }), n(function() {
882
682
  ye(a) && s({ inst: a });
883
683
  });
884
- }, [n]), zn(t), t;
684
+ }, [n]), Vn(t), t;
885
685
  }
886
686
  function ye(n) {
887
687
  var e = n.getSnapshot;
888
688
  n = n.value;
889
689
  try {
890
690
  var t = e();
891
- return !Un(n, t);
691
+ return !Ln(n, t);
892
692
  } catch {
893
693
  return !0;
894
694
  }
895
695
  }
896
- function Gn(n, e) {
696
+ function Un(n, e) {
897
697
  return e();
898
698
  }
899
- var Jn = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? Gn : Bn;
900
- Ut.useSyncExternalStore = Q.useSyncExternalStore !== void 0 ? Q.useSyncExternalStore : Jn;
901
- _t.exports = Ut;
902
- var Mt = _t.exports;
903
- const Qn = /* @__PURE__ */ Ae(Mt), { use: Ze } = Re, { useSyncExternalStore: Wn } = Qn;
904
- const Kn = /* @__PURE__ */ new WeakMap();
905
- function Zn(n, e) {
906
- const t = e == null ? void 0 : e.sync, i = Me(), a = Me();
699
+ var Mn = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? Un : _n;
700
+ _t.useSyncExternalStore = Q.useSyncExternalStore !== void 0 ? Q.useSyncExternalStore : Mn;
701
+ Vt.exports = _t;
702
+ var Ut = Vt.exports;
703
+ const jn = /* @__PURE__ */ Le(Ut), { use: qe } = Re, { useSyncExternalStore: $n } = jn;
704
+ const zn = /* @__PURE__ */ new WeakMap();
705
+ function Bn(n, e) {
706
+ const t = e == null ? void 0 : e.sync, i = je(), a = je();
907
707
  let s = !0;
908
- const r = Wn(
909
- Ft(
708
+ const r = $n(
709
+ Ot(
910
710
  (l) => {
911
- const u = Vn(n, l, t);
711
+ const u = Dn(n, l, t);
912
712
  return l(), u;
913
713
  },
914
714
  [n, t]
915
715
  ),
916
716
  () => {
917
- const l = Ke(n, Ze);
717
+ const l = Ze(n, qe);
918
718
  try {
919
- if (!s && i.current && a.current && !It(
719
+ if (!s && i.current && a.current && !xt(
920
720
  i.current,
921
721
  l,
922
722
  a.current,
@@ -927,30 +727,30 @@ function Zn(n, e) {
927
727
  }
928
728
  return l;
929
729
  },
930
- () => Ke(n, Ze)
730
+ () => Ze(n, qe)
931
731
  );
932
732
  s = !1;
933
733
  const o = /* @__PURE__ */ new WeakMap();
934
734
  Ce(() => {
935
735
  i.current = r, a.current = o;
936
736
  });
937
- const d = Et(() => /* @__PURE__ */ new WeakMap(), []);
938
- return Pt(
737
+ const d = wt(() => /* @__PURE__ */ new WeakMap(), []);
738
+ return Lt(
939
739
  r,
940
740
  o,
941
741
  d,
942
- Kn
742
+ zn
943
743
  );
944
744
  }
945
- class qn {
745
+ class Gn {
946
746
  constructor() {
947
- D(this, "channel");
948
- D(this, "listeners", /* @__PURE__ */ new Map());
949
- D(this, "eventQueue", /* @__PURE__ */ new Map());
747
+ T(this, "channel");
748
+ T(this, "listeners", /* @__PURE__ */ new Map());
749
+ T(this, "eventQueue", /* @__PURE__ */ new Map());
950
750
  try {
951
- this.channel = new BroadcastChannel("nizza"), this.channel.onmessage = (e) => this.handleMessage(e), this.channel.onmessageerror = (e) => Y.error("NizzaBroadcastChannel:", e);
751
+ this.channel = new BroadcastChannel("nizza"), this.channel.onmessage = (e) => this.handleMessage(e), this.channel.onmessageerror = (e) => ee.error("NizzaBroadcastChannel:", e);
952
752
  } catch (e) {
953
- throw Y.error("Failed to create NizzaBroadcastChannel:", e), e;
753
+ throw ee.error("Failed to create NizzaBroadcastChannel:", e), e;
954
754
  }
955
755
  }
956
756
  /**
@@ -1011,7 +811,7 @@ class qn {
1011
811
  subscribeToEvent(e, t) {
1012
812
  if (typeof e != "string" || typeof t != "function") {
1013
813
  const i = new Error("Invalid arguments");
1014
- throw Y.error(i), i;
814
+ throw ee.error(i), i;
1015
815
  }
1016
816
  for (const [i, a] of this.listeners.entries())
1017
817
  if (this.matchWildcard(i, e)) {
@@ -1035,7 +835,7 @@ class qn {
1035
835
  emitEvent(e, t, i) {
1036
836
  if (typeof e != "string") {
1037
837
  const r = new Error("Invalid arguments");
1038
- throw Y.error(r), r;
838
+ throw ee.error(r), r;
1039
839
  }
1040
840
  const a = {
1041
841
  name: e,
@@ -1088,17 +888,235 @@ class qn {
1088
888
  return new RegExp(`^${i}$`).test(t);
1089
889
  }
1090
890
  }
1091
- let Xn = (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), "");
1092
- const Hn = (n = 8) => Xn(n), Ms = (n) => {
891
+ let Jn = (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), "");
892
+ const Qn = (n = 8) => Jn(n), xs = (n) => {
1093
893
  const e = Object.entries(n).reduce((t, [i, a]) => a !== void 0 ? `${t}${t ? "&" : ""}${i}=${a}` : t, "");
1094
894
  return e ? `?${e}` : "";
1095
895
  };
1096
- function js() {
896
+ function Ps() {
1097
897
  const n = new Error().stack.split(`
1098
898
  `);
1099
899
  return n.length < 3 ? "" : n[2].trim().substring(3);
1100
900
  }
1101
- const $ = In({
901
+ var Mt = { exports: {} };
902
+ (function(n) {
903
+ (function(e, t) {
904
+ n.exports ? n.exports = t() : e.log = t();
905
+ })(It, function() {
906
+ var e = function() {
907
+ }, t = "undefined", i = typeof window !== t && typeof window.navigator !== t && /Trident\/|MSIE /.test(window.navigator.userAgent), a = [
908
+ "trace",
909
+ "debug",
910
+ "info",
911
+ "warn",
912
+ "error"
913
+ ];
914
+ function s(k, S) {
915
+ var F = k[S];
916
+ if (typeof F.bind == "function")
917
+ return F.bind(k);
918
+ try {
919
+ return Function.prototype.bind.call(F, k);
920
+ } catch {
921
+ return function() {
922
+ return Function.prototype.apply.apply(F, [k, arguments]);
923
+ };
924
+ }
925
+ }
926
+ function r() {
927
+ console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();
928
+ }
929
+ function o(k) {
930
+ return k === "debug" && (k = "log"), typeof console === t ? !1 : k === "trace" && i ? r : console[k] !== void 0 ? s(console, k) : console.log !== void 0 ? s(console, "log") : e;
931
+ }
932
+ function d(k, S) {
933
+ for (var F = 0; F < a.length; F++) {
934
+ var E = a[F];
935
+ this[E] = F < k ? e : this.methodFactory(E, k, S);
936
+ }
937
+ this.log = this.debug;
938
+ }
939
+ function l(k, S, F) {
940
+ return function() {
941
+ typeof console !== t && (d.call(this, S, F), this[k].apply(this, arguments));
942
+ };
943
+ }
944
+ function u(k, S, F) {
945
+ return o(k) || l.apply(this, arguments);
946
+ }
947
+ function f(k, S, F) {
948
+ var E = this, L;
949
+ S = S == null ? "WARN" : S;
950
+ var w = "loglevel";
951
+ typeof k == "string" ? w += ":" + k : typeof k == "symbol" && (w = void 0);
952
+ function x(m) {
953
+ var g = (a[m] || "silent").toUpperCase();
954
+ if (!(typeof window === t || !w)) {
955
+ try {
956
+ window.localStorage[w] = g;
957
+ return;
958
+ } catch {
959
+ }
960
+ try {
961
+ window.document.cookie = encodeURIComponent(w) + "=" + g + ";";
962
+ } catch {
963
+ }
964
+ }
965
+ }
966
+ function I() {
967
+ var m;
968
+ if (!(typeof window === t || !w)) {
969
+ try {
970
+ m = window.localStorage[w];
971
+ } catch {
972
+ }
973
+ if (typeof m === t)
974
+ try {
975
+ var g = window.document.cookie, h = g.indexOf(
976
+ encodeURIComponent(w) + "="
977
+ );
978
+ h !== -1 && (m = /^([^;]+)/.exec(g.slice(h))[1]);
979
+ } catch {
980
+ }
981
+ return E.levels[m] === void 0 && (m = void 0), m;
982
+ }
983
+ }
984
+ function P() {
985
+ if (!(typeof window === t || !w)) {
986
+ try {
987
+ window.localStorage.removeItem(w);
988
+ return;
989
+ } catch {
990
+ }
991
+ try {
992
+ window.document.cookie = encodeURIComponent(w) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
993
+ } catch {
994
+ }
995
+ }
996
+ }
997
+ E.name = k, E.levels = {
998
+ TRACE: 0,
999
+ DEBUG: 1,
1000
+ INFO: 2,
1001
+ WARN: 3,
1002
+ ERROR: 4,
1003
+ SILENT: 5
1004
+ }, E.methodFactory = F || u, E.getLevel = function() {
1005
+ return L;
1006
+ }, E.setLevel = function(m, g) {
1007
+ if (typeof m == "string" && E.levels[m.toUpperCase()] !== void 0 && (m = E.levels[m.toUpperCase()]), typeof m == "number" && m >= 0 && m <= E.levels.SILENT) {
1008
+ if (L = m, g !== !1 && x(m), d.call(E, m, k), typeof console === t && m < E.levels.SILENT)
1009
+ return "No console available for logging";
1010
+ } else
1011
+ throw "log.setLevel() called with invalid level: " + m;
1012
+ }, E.setDefaultLevel = function(m) {
1013
+ S = m, I() || E.setLevel(m, !1);
1014
+ }, E.resetLevel = function() {
1015
+ E.setLevel(S, !1), P();
1016
+ }, E.enableAll = function(m) {
1017
+ E.setLevel(E.levels.TRACE, m);
1018
+ }, E.disableAll = function(m) {
1019
+ E.setLevel(E.levels.SILENT, m);
1020
+ };
1021
+ var p = I();
1022
+ p == null && (p = S), E.setLevel(p, !1);
1023
+ }
1024
+ var c = new f(), y = {};
1025
+ c.getLogger = function(S) {
1026
+ if (typeof S != "symbol" && typeof S != "string" || S === "")
1027
+ throw new TypeError("You must supply a name when creating a logger.");
1028
+ var F = y[S];
1029
+ return F || (F = y[S] = new f(
1030
+ S,
1031
+ c.getLevel(),
1032
+ c.methodFactory
1033
+ )), F;
1034
+ };
1035
+ var v = typeof window !== t ? window.log : void 0;
1036
+ return c.noConflict = function() {
1037
+ return typeof window !== t && window.log === c && (window.log = v), c;
1038
+ }, c.getLoggers = function() {
1039
+ return y;
1040
+ }, c.default = c, c;
1041
+ });
1042
+ })(Mt);
1043
+ var Wn = Mt.exports;
1044
+ const Z = /* @__PURE__ */ Le(Wn);
1045
+ var jt = { exports: {} };
1046
+ (function(n) {
1047
+ (function(e, t) {
1048
+ n.exports ? n.exports = t() : e.prefix = t(e);
1049
+ })(It, function(e) {
1050
+ var t = function(u) {
1051
+ for (var f = 1, c = arguments.length, y; f < c; f++)
1052
+ for (y in arguments[f])
1053
+ Object.prototype.hasOwnProperty.call(arguments[f], y) && (u[y] = arguments[f][y]);
1054
+ return u;
1055
+ }, i = {
1056
+ template: "[%t] %l:",
1057
+ levelFormatter: function(u) {
1058
+ return u.toUpperCase();
1059
+ },
1060
+ nameFormatter: function(u) {
1061
+ return u || "root";
1062
+ },
1063
+ timestampFormatter: function(u) {
1064
+ return u.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/, "$1");
1065
+ },
1066
+ format: void 0
1067
+ }, a, s = {}, r = function(u) {
1068
+ if (!u || !u.getLogger)
1069
+ throw new TypeError("Argument is not a root logger");
1070
+ a = u;
1071
+ }, o = function(u, f) {
1072
+ if (!u || !u.setLevel)
1073
+ throw new TypeError("Argument is not a logger");
1074
+ var c = u.methodFactory, y = u.name || "", v = s[y] || s[""] || i;
1075
+ function k(S, F, E) {
1076
+ var L = c(S, F, E), w = s[E] || s[""], x = w.template.indexOf("%t") !== -1, I = w.template.indexOf("%l") !== -1, P = w.template.indexOf("%n") !== -1;
1077
+ return function() {
1078
+ for (var p = "", m = arguments.length, g = Array(m), h = 0; h < m; h++)
1079
+ g[h] = arguments[h];
1080
+ if (y || !s[E]) {
1081
+ var N = w.timestampFormatter(/* @__PURE__ */ new Date()), O = w.levelFormatter(S), b = w.nameFormatter(E);
1082
+ w.format ? p += w.format(O, b, N) : (p += w.template, x && (p = p.replace(/%t/, N)), I && (p = p.replace(/%l/, O)), P && (p = p.replace(/%n/, b))), g.length && typeof g[0] == "string" ? g[0] = p + " " + g[0] : g.unshift(p);
1083
+ }
1084
+ L.apply(void 0, g);
1085
+ };
1086
+ }
1087
+ return s[y] || (u.methodFactory = k), f = f || {}, f.template && (f.format = void 0), s[y] = t({}, v, f), u.setLevel(u.getLevel()), a || u.warn(
1088
+ "It is necessary to call the function reg() of loglevel-plugin-prefix before calling apply. From the next release, it will throw an error. See more: https://github.com/kutuluk/loglevel-plugin-prefix/blob/master/README.md"
1089
+ ), u;
1090
+ }, d = {
1091
+ reg: r,
1092
+ apply: o
1093
+ }, l;
1094
+ return e && (l = e.prefix, d.noConflict = function() {
1095
+ return e.prefix === d && (e.prefix = l), d;
1096
+ }), d;
1097
+ });
1098
+ })(jt);
1099
+ var Kn = jt.exports;
1100
+ const Xe = /* @__PURE__ */ Le(Kn);
1101
+ let Zn = class {
1102
+ constructor(e) {
1103
+ T(this, "defaultLevel", Z.levels.INFO);
1104
+ T(this, "namePrefix");
1105
+ this.namePrefix = e ? `${e}-` : "", Z.setDefaultLevel(this.defaultLevel), Xe.reg(Z), Xe.apply(Z, {
1106
+ template: "[%t] %l (%n)",
1107
+ nameFormatter: (t) => {
1108
+ var i;
1109
+ return (i = t == null ? void 0 : t.toLowerCase()) != null ? i : "";
1110
+ },
1111
+ timestampFormatter: () => (/* @__PURE__ */ new Date()).toTimeString().slice(0, 8)
1112
+ });
1113
+ }
1114
+ createLogger(e) {
1115
+ const t = this.namePrefix + e.toLowerCase(), i = Z.getLogger(t), a = localStorage.getItem(`loglevel:${t}`);
1116
+ return a ? i.setLevel(a) : i.setLevel(this.defaultLevel), i;
1117
+ }
1118
+ };
1119
+ const $ = Tn({
1102
1120
  config: null,
1103
1121
  get accountName() {
1104
1122
  var n;
@@ -1107,45 +1125,45 @@ const $ = In({
1107
1125
  get ok() {
1108
1126
  return !!this.account;
1109
1127
  }
1110
- }), Yn = async (n) => {
1128
+ }), qn = async (n) => {
1111
1129
  var e;
1112
1130
  try {
1113
1131
  if ($.config = n, ((e = $.account) == null ? void 0 : e.account) !== n.account) {
1114
- const t = await ua(n.account);
1132
+ const t = await aa(n.account);
1115
1133
  $.account = t;
1116
1134
  }
1117
1135
  if (n.getProductDataSource) {
1118
1136
  const t = await n.getProductDataSource();
1119
- $.productDataSource = Vt(t);
1137
+ $.productDataSource = Pt(t);
1120
1138
  }
1121
1139
  } catch (t) {
1122
1140
  console.error("Error configuring NizzaStore:", t);
1123
1141
  }
1124
- }, ei = (n) => {
1125
- $.productDataSource = Vt(n);
1126
- }, qe = () => ({
1127
- log: Cn,
1142
+ }, Xn = (n) => {
1143
+ $.productDataSource = Pt(n);
1144
+ }, He = () => ({
1128
1145
  state: $,
1129
- configure: Yn,
1130
- setProductDataSource: ei,
1131
- instanceId: Hn(),
1132
- eventBus: new qn(),
1146
+ configure: qn,
1147
+ setProductDataSource: Xn,
1148
+ instanceId: Qn(),
1149
+ log: new Zn("nz"),
1150
+ eventBus: new Gn(),
1133
1151
  get account() {
1134
1152
  return $.account;
1135
1153
  },
1136
1154
  get productDataSource() {
1137
1155
  return $.productDataSource;
1138
1156
  }
1139
- }), ti = () => {
1157
+ }), Hn = () => {
1140
1158
  if (typeof window != "undefined") {
1141
1159
  if (!window.nizza) {
1142
- const n = qe();
1160
+ const n = He();
1143
1161
  window.nizza = n, window.nz = n;
1144
1162
  }
1145
1163
  return window.nizza;
1146
1164
  }
1147
- return qe();
1148
- }, jt = ti();
1165
+ return He();
1166
+ }, xe = Hn(), Vs = xe.log.createLogger("main"), ee = xe.log.createLogger("core");
1149
1167
  function J(n) {
1150
1168
  return n != null && typeof n == "object" && n["@@functional/placeholder"] === !0;
1151
1169
  }
@@ -1154,7 +1172,7 @@ function le(n) {
1154
1172
  return arguments.length === 0 || J(t) ? e : n.apply(this, arguments);
1155
1173
  };
1156
1174
  }
1157
- function Le(n) {
1175
+ function Pe(n) {
1158
1176
  return function e(t, i) {
1159
1177
  switch (arguments.length) {
1160
1178
  case 0:
@@ -1172,36 +1190,36 @@ function Le(n) {
1172
1190
  }
1173
1191
  };
1174
1192
  }
1175
- const ni = Number.isInteger || function(e) {
1193
+ const Yn = Number.isInteger || function(e) {
1176
1194
  return e << 0 === e;
1177
1195
  };
1178
- function ii(n) {
1196
+ function ei(n) {
1179
1197
  return Object.prototype.toString.call(n) === "[object String]";
1180
1198
  }
1181
- var ai = /* @__PURE__ */ Le(function(e, t) {
1199
+ var ti = /* @__PURE__ */ Pe(function(e, t) {
1182
1200
  var i = e < 0 ? t.length + e : e;
1183
- return ii(t) ? t.charAt(i) : t[i];
1201
+ return ei(t) ? t.charAt(i) : t[i];
1184
1202
  });
1185
- const si = ai;
1186
- var ri = /* @__PURE__ */ le(function(e) {
1203
+ const ni = ti;
1204
+ var ii = /* @__PURE__ */ le(function(e) {
1187
1205
  return e == null;
1188
1206
  });
1189
- const oi = ri;
1190
- var li = /* @__PURE__ */ Le(function(e, t) {
1207
+ const ai = ii;
1208
+ var si = /* @__PURE__ */ Pe(function(e, t) {
1191
1209
  return e.map(function(i) {
1192
1210
  for (var a = t, s = 0, r; s < i.length; ) {
1193
1211
  if (a == null)
1194
1212
  return;
1195
- r = i[s], a = ni(r) ? si(r, a) : a[r], s += 1;
1213
+ r = i[s], a = Yn(r) ? ni(r, a) : a[r], s += 1;
1196
1214
  }
1197
1215
  return a;
1198
1216
  });
1199
1217
  });
1200
- const di = li;
1201
- var ui = /* @__PURE__ */ Le(function(e, t) {
1202
- return di([e], t)[0];
1218
+ const ri = si;
1219
+ var oi = /* @__PURE__ */ Pe(function(e, t) {
1220
+ return ri([e], t)[0];
1203
1221
  });
1204
- const ci = ui;
1222
+ const li = oi;
1205
1223
  class ge extends Error {
1206
1224
  constructor(e, t, i) {
1207
1225
  super(t), this.value = i, this.name = e;
@@ -1214,7 +1232,7 @@ class ge extends Error {
1214
1232
  };
1215
1233
  }
1216
1234
  }
1217
- class mi extends ge {
1235
+ class di extends ge {
1218
1236
  constructor(e) {
1219
1237
  super(
1220
1238
  "RESOURCE_NOT_FOUND_ERROR",
@@ -1223,7 +1241,7 @@ class mi extends ge {
1223
1241
  );
1224
1242
  }
1225
1243
  }
1226
- class fi extends ge {
1244
+ class ui extends ge {
1227
1245
  constructor(e) {
1228
1246
  var t;
1229
1247
  super(
@@ -1233,12 +1251,12 @@ class fi extends ge {
1233
1251
  );
1234
1252
  }
1235
1253
  }
1236
- class $s extends ge {
1254
+ class _s extends ge {
1237
1255
  constructor() {
1238
1256
  super("APP_ACCOUNT_INVALID_ERROR", "Account not defined");
1239
1257
  }
1240
1258
  }
1241
- class pi extends ge {
1259
+ class ci extends ge {
1242
1260
  constructor(e) {
1243
1261
  super(
1244
1262
  "INVALID_NIZZA_GLOBAL_OBJECT_ERROR",
@@ -1266,39 +1284,13 @@ class pi extends ge {
1266
1284
  );
1267
1285
  }
1268
1286
  }
1269
- function zs(n, e) {
1287
+ function Us(n, e) {
1270
1288
  e.forEach((t) => {
1271
- if (oi(ci(t.split("."), n)))
1272
- throw new pi(t);
1289
+ if (ai(li(t.split("."), n)))
1290
+ throw new ci(t);
1273
1291
  });
1274
1292
  }
1275
- const ie = jt.log, $t = ie.levels.INFO;
1276
- ie.setDefaultLevel($t);
1277
- Dt.reg(ie);
1278
- Dt.apply(ie, {
1279
- template: "[%t] %l (%n)",
1280
- nameFormatter: (n) => {
1281
- var e;
1282
- return (e = n == null ? void 0 : n.toLowerCase()) != null ? e : "";
1283
- },
1284
- timestampFormatter: () => (/* @__PURE__ */ new Date()).toTimeString().slice(0, 8)
1285
- });
1286
- const zt = {}, Bs = Bt("main"), Y = Bt("core");
1287
- function hi(n) {
1288
- const e = ie.getLogger(n);
1289
- return e.setLevel($t), e;
1290
- }
1291
- function gi(n, e) {
1292
- zt[n] = e;
1293
- }
1294
- function ki(n) {
1295
- return zt[n];
1296
- }
1297
- function Bt(n) {
1298
- const e = hi(n);
1299
- return gi(n, e), ki(n);
1300
- }
1301
- function Gs() {
1293
+ function Ms() {
1302
1294
  var i, a, s;
1303
1295
  let n = null, e = null, t = null;
1304
1296
  try {
@@ -1313,7 +1305,7 @@ function Gs() {
1313
1305
  );
1314
1306
  e = `${o}${d}:${l}`;
1315
1307
  } catch {
1316
- Y.error("Error obtaining time zone or offset");
1308
+ ee.error("Error obtaining time zone or offset");
1317
1309
  }
1318
1310
  return {
1319
1311
  offset: e,
@@ -1324,10 +1316,10 @@ function Gs() {
1324
1316
  label: null
1325
1317
  };
1326
1318
  }
1327
- class vi {
1319
+ class mi {
1328
1320
  constructor(e) {
1329
- D(this, "aggregate");
1330
- D(this, "_numSetPropsApplied", 0);
1321
+ T(this, "aggregate");
1322
+ T(this, "_numSetPropsApplied", 0);
1331
1323
  this.aggregate = e;
1332
1324
  }
1333
1325
  setProps(e) {
@@ -1339,48 +1331,48 @@ class vi {
1339
1331
  return this._numSetPropsApplied === 1;
1340
1332
  }
1341
1333
  }
1342
- function Si(n) {
1343
- return new vi(n);
1334
+ function fi(n) {
1335
+ return new mi(n);
1344
1336
  }
1345
- class Js {
1337
+ class js {
1346
1338
  }
1347
- class Qs {
1339
+ class $s {
1348
1340
  constructor(e) {
1349
- D(this, "_value");
1341
+ T(this, "_value");
1350
1342
  e !== void 0 && (this._value = e);
1351
1343
  }
1352
1344
  get value() {
1353
1345
  return this._value;
1354
1346
  }
1355
1347
  }
1356
- var Gt = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.VTEX_IO = "VTEX-IO", n.VTEX_CMS = "PORTAL-VTEX", n.PLATFORM = "PLATFORM", n.UNKNOWN = "UNKNOWN", n))(Gt || {}), yi = /* @__PURE__ */ ((n) => (n.PLATFORM = "platform_module", n.ADENDA = "subscription_module", n.APP_STORE = "app_store", n))(yi || {}), Jt = /* @__PURE__ */ ((n) => (n.ACTIVE = "active_contract", n.INACTIVE = "inactive_contract", n))(Jt || {}), Ni = /* @__PURE__ */ ((n) => (n.LITE = "lite", n.STANDARD = "standard", n.PRO = "pro", n))(Ni || {}), bi = /* @__PURE__ */ ((n) => (n.LITE = "PLAN_LITE", n.STANDARD = "PLAN_ESTANDAR", n.PRO = "PLAN_PRO", n.NONE = "NO_PLAN", n))(bi || {}), Fi = /* @__PURE__ */ ((n) => (n.PAST = "past", n.LIVE = "live", n.FUTURE = "future", n))(Fi || {});
1357
- class Pe {
1348
+ var $t = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.VTEX_IO = "VTEX-IO", n.VTEX_CMS = "PORTAL-VTEX", n.PLATFORM = "PLATFORM", n.UNKNOWN = "UNKNOWN", n))($t || {}), pi = /* @__PURE__ */ ((n) => (n.PLATFORM = "platform_module", n.ADENDA = "subscription_module", n.APP_STORE = "app_store", n))(pi || {}), zt = /* @__PURE__ */ ((n) => (n.ACTIVE = "active_contract", n.INACTIVE = "inactive_contract", n))(zt || {}), hi = /* @__PURE__ */ ((n) => (n.LITE = "lite", n.STANDARD = "standard", n.PRO = "pro", n))(hi || {}), gi = /* @__PURE__ */ ((n) => (n.LITE = "PLAN_LITE", n.STANDARD = "PLAN_ESTANDAR", n.PRO = "PLAN_PRO", n.NONE = "NO_PLAN", n))(gi || {}), ki = /* @__PURE__ */ ((n) => (n.PAST = "past", n.LIVE = "live", n.FUTURE = "future", n))(ki || {});
1349
+ class Ie {
1358
1350
  constructor(e) {
1359
- D(this, "root", Si(this));
1360
- D(this, "id");
1361
- D(this, "account");
1362
- D(this, "accountType", Gt.UNKNOWN);
1363
- D(this, "username");
1364
- D(this, "currencyConfig");
1365
- D(this, "contractType");
1366
- D(this, "nextDateMetricRecord");
1367
- D(this, "spendedMinutes", 0);
1368
- D(this, "unlimitedService", !1);
1369
- D(this, "hoursAvailable", 0);
1370
- D(this, "contractStatus", Jt.ACTIVE);
1371
- D(this, "createdAt");
1372
- D(this, "installationDateApp");
1373
- D(this, "cxAccount");
1374
- D(this, "freeService", !1);
1375
- D(this, "subscriptionType", null);
1376
- D(this, "minutesAvailable", 0);
1377
- D(this, "globalPage");
1378
- D(this, "stripe");
1379
- D(this, "descriptionPlan");
1380
- D(this, "planType");
1381
- D(this, "selectFreeTrial");
1382
- D(this, "exceededFeatures");
1383
- D(this, "host", null);
1351
+ T(this, "root", fi(this));
1352
+ T(this, "id");
1353
+ T(this, "account");
1354
+ T(this, "accountType", $t.UNKNOWN);
1355
+ T(this, "username");
1356
+ T(this, "currencyConfig");
1357
+ T(this, "contractType");
1358
+ T(this, "nextDateMetricRecord");
1359
+ T(this, "spendedMinutes", 0);
1360
+ T(this, "unlimitedService", !1);
1361
+ T(this, "hoursAvailable", 0);
1362
+ T(this, "contractStatus", zt.ACTIVE);
1363
+ T(this, "createdAt");
1364
+ T(this, "installationDateApp");
1365
+ T(this, "cxAccount");
1366
+ T(this, "freeService", !1);
1367
+ T(this, "subscriptionType", null);
1368
+ T(this, "minutesAvailable", 0);
1369
+ T(this, "globalPage");
1370
+ T(this, "stripe");
1371
+ T(this, "descriptionPlan");
1372
+ T(this, "planType");
1373
+ T(this, "selectFreeTrial");
1374
+ T(this, "exceededFeatures");
1375
+ T(this, "host", null);
1384
1376
  this.root.setProps(e);
1385
1377
  }
1386
1378
  static toDomain(e) {
@@ -1389,7 +1381,7 @@ class Pe {
1389
1381
  username: i != null ? i : a.account,
1390
1382
  createdAt: new Date(Number(t))
1391
1383
  };
1392
- return new Pe(s);
1384
+ return new Ie(s);
1393
1385
  }
1394
1386
  toPrimitives() {
1395
1387
  const { root: e, createdAt: t, ...i } = this;
@@ -1399,16 +1391,16 @@ class Pe {
1399
1391
  };
1400
1392
  }
1401
1393
  }
1402
- const Ei = `${En.apiUrls.restV1}/accounts/v2`;
1403
- class Oi {
1394
+ const vi = `${Nn.apiUrls.restV1}/accounts/v2`;
1395
+ class Si {
1404
1396
  async get(e) {
1405
- const t = `${Ei}/${e}`, { data: i } = await Rt({
1397
+ const t = `${vi}/${e}`, { data: i } = await Tt({
1406
1398
  url: t
1407
1399
  });
1408
- return i ? Pe.toDomain(i) : null;
1400
+ return i ? Ie.toDomain(i) : null;
1409
1401
  }
1410
1402
  }
1411
- class wi {
1403
+ class yi {
1412
1404
  constructor(e) {
1413
1405
  this.accountRepository = e;
1414
1406
  }
@@ -1416,15 +1408,15 @@ class wi {
1416
1408
  try {
1417
1409
  const t = await this.accountRepository.get(e);
1418
1410
  if (!t)
1419
- throw new mi(e);
1411
+ throw new di(e);
1420
1412
  return t;
1421
1413
  } catch (t) {
1422
- throw new fi(t);
1414
+ throw new ui(t);
1423
1415
  }
1424
1416
  }
1425
1417
  }
1426
- const Ri = new Oi(), Qt = new wi(Ri);
1427
- class Ie {
1418
+ const Ni = new Si(), Bt = new yi(Ni);
1419
+ class Ve {
1428
1420
  constructor() {
1429
1421
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
1430
1422
  }
@@ -1445,16 +1437,16 @@ class Ie {
1445
1437
  }
1446
1438
  }
1447
1439
  const ue = typeof window == "undefined" || "Deno" in window;
1448
- function Ci() {
1440
+ function bi() {
1449
1441
  }
1450
- function Xe(n) {
1442
+ function Ye(n) {
1451
1443
  return typeof n == "number" && n >= 0 && n !== 1 / 0;
1452
1444
  }
1453
- function Ti(n, e) {
1445
+ function Fi(n, e) {
1454
1446
  return Math.max(n + (e || 0) - Date.now(), 0);
1455
1447
  }
1456
- function Di(n, e, t) {
1457
- return Ai(n) ? typeof e == "function" ? {
1448
+ function Ei(n, e, t) {
1449
+ return Oi(n) ? typeof e == "function" ? {
1458
1450
  ...t,
1459
1451
  queryKey: n,
1460
1452
  queryFn: e
@@ -1463,16 +1455,16 @@ function Di(n, e, t) {
1463
1455
  queryKey: n
1464
1456
  } : n;
1465
1457
  }
1466
- function Wt(n, e) {
1458
+ function Gt(n, e) {
1467
1459
  if (n === e)
1468
1460
  return n;
1469
- const t = He(n) && He(e);
1470
- if (t || Ye(n) && Ye(e)) {
1461
+ const t = et(n) && et(e);
1462
+ if (t || tt(n) && tt(e)) {
1471
1463
  const i = t ? n.length : Object.keys(n).length, a = t ? e : Object.keys(e), s = a.length, r = t ? [] : {};
1472
1464
  let o = 0;
1473
1465
  for (let d = 0; d < s; d++) {
1474
1466
  const l = t ? d : a[d];
1475
- r[l] = Wt(n[l], e[l]), r[l] === n[l] && o++;
1467
+ r[l] = Gt(n[l], e[l]), r[l] === n[l] && o++;
1476
1468
  }
1477
1469
  return i === s && o === i ? n : r;
1478
1470
  }
@@ -1486,36 +1478,36 @@ function Ee(n, e) {
1486
1478
  return !1;
1487
1479
  return !0;
1488
1480
  }
1489
- function He(n) {
1481
+ function et(n) {
1490
1482
  return Array.isArray(n) && n.length === Object.keys(n).length;
1491
1483
  }
1492
- function Ye(n) {
1493
- if (!et(n))
1484
+ function tt(n) {
1485
+ if (!nt(n))
1494
1486
  return !1;
1495
1487
  const e = n.constructor;
1496
1488
  if (typeof e == "undefined")
1497
1489
  return !0;
1498
1490
  const t = e.prototype;
1499
- return !(!et(t) || !t.hasOwnProperty("isPrototypeOf"));
1491
+ return !(!nt(t) || !t.hasOwnProperty("isPrototypeOf"));
1500
1492
  }
1501
- function et(n) {
1493
+ function nt(n) {
1502
1494
  return Object.prototype.toString.call(n) === "[object Object]";
1503
1495
  }
1504
- function Ai(n) {
1496
+ function Oi(n) {
1505
1497
  return Array.isArray(n);
1506
1498
  }
1507
- function xi(n) {
1499
+ function wi(n) {
1508
1500
  return new Promise((e) => {
1509
1501
  setTimeout(e, n);
1510
1502
  });
1511
1503
  }
1512
- function tt(n) {
1513
- xi(0).then(n);
1504
+ function it(n) {
1505
+ wi(0).then(n);
1514
1506
  }
1515
- function nt(n, e, t) {
1516
- return t.isDataEqual != null && t.isDataEqual(n, e) ? n : typeof t.structuralSharing == "function" ? t.structuralSharing(n, e) : t.structuralSharing !== !1 ? Wt(n, e) : e;
1507
+ function at(n, e, t) {
1508
+ return t.isDataEqual != null && t.isDataEqual(n, e) ? n : typeof t.structuralSharing == "function" ? t.structuralSharing(n, e) : t.structuralSharing !== !1 ? Gt(n, e) : e;
1517
1509
  }
1518
- class Li extends Ie {
1510
+ class Ri extends Ve {
1519
1511
  constructor() {
1520
1512
  super(), this.setup = (e) => {
1521
1513
  if (!ue && window.addEventListener) {
@@ -1555,16 +1547,16 @@ class Li extends Ie {
1555
1547
  return typeof this.focused == "boolean" ? this.focused : typeof document == "undefined" ? !0 : [void 0, "visible", "prerender"].includes(document.visibilityState);
1556
1548
  }
1557
1549
  }
1558
- const Pi = new Li(), it = ["online", "offline"];
1559
- class Ii extends Ie {
1550
+ const Ci = new Ri(), st = ["online", "offline"];
1551
+ class Ti extends Ve {
1560
1552
  constructor() {
1561
1553
  super(), this.setup = (e) => {
1562
1554
  if (!ue && window.addEventListener) {
1563
1555
  const t = () => e();
1564
- return it.forEach((i) => {
1556
+ return st.forEach((i) => {
1565
1557
  window.addEventListener(i, t, !1);
1566
1558
  }), () => {
1567
- it.forEach((i) => {
1559
+ st.forEach((i) => {
1568
1560
  window.removeEventListener(i, t);
1569
1561
  });
1570
1562
  };
@@ -1600,19 +1592,19 @@ class Ii extends Ie {
1600
1592
  return typeof this.online == "boolean" ? this.online : typeof navigator == "undefined" || typeof navigator.onLine == "undefined" ? !0 : navigator.onLine;
1601
1593
  }
1602
1594
  }
1603
- const Vi = new Ii();
1604
- function _i(n) {
1605
- return (n != null ? n : "online") === "online" ? Vi.isOnline() : !0;
1595
+ const Di = new Ti();
1596
+ function Ai(n) {
1597
+ return (n != null ? n : "online") === "online" ? Di.isOnline() : !0;
1606
1598
  }
1607
- class Ui {
1599
+ class Li {
1608
1600
  constructor(e) {
1609
1601
  this.revert = e == null ? void 0 : e.revert, this.silent = e == null ? void 0 : e.silent;
1610
1602
  }
1611
1603
  }
1612
- function Mi(n) {
1613
- return n instanceof Ui;
1604
+ function xi(n) {
1605
+ return n instanceof Li;
1614
1606
  }
1615
- function ji() {
1607
+ function Pi() {
1616
1608
  let n = [], e = 0, t = (u) => {
1617
1609
  u();
1618
1610
  }, i = (u) => {
@@ -1628,7 +1620,7 @@ function ji() {
1628
1620
  }
1629
1621
  return f;
1630
1622
  }, s = (u) => {
1631
- e ? n.push(u) : tt(() => {
1623
+ e ? n.push(u) : it(() => {
1632
1624
  t(u);
1633
1625
  });
1634
1626
  }, r = (u) => (...f) => {
@@ -1637,7 +1629,7 @@ function ji() {
1637
1629
  });
1638
1630
  }, o = () => {
1639
1631
  const u = n;
1640
- n = [], u.length && tt(() => {
1632
+ n = [], u.length && it(() => {
1641
1633
  i(() => {
1642
1634
  u.forEach((f) => {
1643
1635
  t(f);
@@ -1657,8 +1649,8 @@ function ji() {
1657
1649
  }
1658
1650
  };
1659
1651
  }
1660
- const ee = ji();
1661
- class $i extends Ie {
1652
+ const te = Pi();
1653
+ class Ii extends Ve {
1662
1654
  constructor(e, t) {
1663
1655
  super(), this.client = e, this.options = t, this.trackedProps = /* @__PURE__ */ new Set(), this.selectError = null, this.bindMethods(), this.setOptions(t);
1664
1656
  }
@@ -1666,7 +1658,7 @@ class $i extends Ie {
1666
1658
  this.remove = this.remove.bind(this), this.refetch = this.refetch.bind(this);
1667
1659
  }
1668
1660
  onSubscribe() {
1669
- this.listeners.size === 1 && (this.currentQuery.addObserver(this), at(this.currentQuery, this.options) && this.executeFetch(), this.updateTimers());
1661
+ this.listeners.size === 1 && (this.currentQuery.addObserver(this), rt(this.currentQuery, this.options) && this.executeFetch(), this.updateTimers());
1670
1662
  }
1671
1663
  onUnsubscribe() {
1672
1664
  this.hasListeners() || this.destroy();
@@ -1690,13 +1682,13 @@ class $i extends Ie {
1690
1682
  throw new Error("Expected enabled to be a boolean");
1691
1683
  this.options.queryKey || (this.options.queryKey = i.queryKey), this.updateQuery();
1692
1684
  const s = this.hasListeners();
1693
- s && st(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();
1685
+ s && ot(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();
1694
1686
  const r = this.computeRefetchInterval();
1695
1687
  s && (this.currentQuery !== a || this.options.enabled !== i.enabled || r !== this.currentRefetchInterval) && this.updateRefetchInterval(r);
1696
1688
  }
1697
1689
  getOptimisticResult(e) {
1698
1690
  const t = this.client.getQueryCache().build(this.client, e), i = this.createResult(t, e);
1699
- return Bi(this, i, e) && (this.currentResult = i, this.currentResultOptions = this.options, this.currentResultState = this.currentQuery.state), i;
1691
+ return _i(this, i, e) && (this.currentResult = i, this.currentResultOptions = this.options, this.currentResultState = this.currentQuery.state), i;
1700
1692
  }
1701
1693
  getCurrentResult() {
1702
1694
  return this.currentResult;
@@ -1742,12 +1734,12 @@ class $i extends Ie {
1742
1734
  executeFetch(e) {
1743
1735
  this.updateQuery();
1744
1736
  let t = this.currentQuery.fetch(this.options, e);
1745
- return e != null && e.throwOnError || (t = t.catch(Ci)), t;
1737
+ return e != null && e.throwOnError || (t = t.catch(bi)), t;
1746
1738
  }
1747
1739
  updateStaleTimeout() {
1748
- if (this.clearStaleTimeout(), ue || this.currentResult.isStale || !Xe(this.options.staleTime))
1740
+ if (this.clearStaleTimeout(), ue || this.currentResult.isStale || !Ye(this.options.staleTime))
1749
1741
  return;
1750
- const t = Ti(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
1742
+ const t = Fi(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
1751
1743
  this.staleTimeoutId = setTimeout(() => {
1752
1744
  this.currentResult.isStale || this.updateResult();
1753
1745
  }, t);
@@ -1757,8 +1749,8 @@ class $i extends Ie {
1757
1749
  return typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.currentResult.data, this.currentQuery) : (e = this.options.refetchInterval) != null ? e : !1;
1758
1750
  }
1759
1751
  updateRefetchInterval(e) {
1760
- this.clearRefetchInterval(), this.currentRefetchInterval = e, !(ue || this.options.enabled === !1 || !Xe(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
1761
- (this.options.refetchIntervalInBackground || Pi.isFocused()) && this.executeFetch();
1752
+ this.clearRefetchInterval(), this.currentRefetchInterval = e, !(ue || this.options.enabled === !1 || !Ye(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
1753
+ (this.options.refetchIntervalInBackground || Ci.isFocused()) && this.executeFetch();
1762
1754
  }, this.currentRefetchInterval));
1763
1755
  }
1764
1756
  updateTimers() {
@@ -1780,25 +1772,25 @@ class $i extends Ie {
1780
1772
  errorUpdatedAt: v,
1781
1773
  fetchStatus: k,
1782
1774
  status: S
1783
- } = f, F = !1, E = !1, x;
1775
+ } = f, F = !1, E = !1, L;
1784
1776
  if (t._optimisticResults) {
1785
- const p = this.hasListeners(), m = !p && at(e, t), g = p && st(e, i, t, a);
1786
- (m || g) && (k = _i(e.options.networkMode) ? "fetching" : "paused", c || (S = "loading")), t._optimisticResults === "isRestoring" && (k = "idle");
1777
+ const p = this.hasListeners(), m = !p && rt(e, t), g = p && ot(e, i, t, a);
1778
+ (m || g) && (k = Ai(e.options.networkMode) ? "fetching" : "paused", c || (S = "loading")), t._optimisticResults === "isRestoring" && (k = "idle");
1787
1779
  }
1788
1780
  if (t.keepPreviousData && !f.dataUpdatedAt && u != null && u.isSuccess && S !== "error")
1789
- x = u.data, c = u.dataUpdatedAt, S = u.status, F = !0;
1781
+ L = u.data, c = u.dataUpdatedAt, S = u.status, F = !0;
1790
1782
  else if (t.select && typeof f.data != "undefined")
1791
1783
  if (s && f.data === (r == null ? void 0 : r.data) && t.select === this.selectFn)
1792
- x = this.selectResult;
1784
+ L = this.selectResult;
1793
1785
  else
1794
1786
  try {
1795
- this.selectFn = t.select, x = t.select(f.data), x = nt(s == null ? void 0 : s.data, x, t), this.selectResult = x, this.selectError = null;
1787
+ this.selectFn = t.select, L = t.select(f.data), L = at(s == null ? void 0 : s.data, L, t), this.selectResult = L, this.selectError = null;
1796
1788
  } catch (p) {
1797
1789
  this.selectError = p;
1798
1790
  }
1799
1791
  else
1800
- x = f.data;
1801
- if (typeof t.placeholderData != "undefined" && typeof x == "undefined" && S === "loading") {
1792
+ L = f.data;
1793
+ if (typeof t.placeholderData != "undefined" && typeof L == "undefined" && S === "loading") {
1802
1794
  let p;
1803
1795
  if (s != null && s.isPlaceholderData && t.placeholderData === (o == null ? void 0 : o.placeholderData))
1804
1796
  p = s.data;
@@ -1808,18 +1800,18 @@ class $i extends Ie {
1808
1800
  } catch (m) {
1809
1801
  this.selectError = m;
1810
1802
  }
1811
- typeof p != "undefined" && (S = "success", x = nt(s == null ? void 0 : s.data, p, t), E = !0);
1803
+ typeof p != "undefined" && (S = "success", L = at(s == null ? void 0 : s.data, p, t), E = !0);
1812
1804
  }
1813
- this.selectError && (y = this.selectError, x = this.selectResult, v = Date.now(), S = "error");
1814
- const w = k === "fetching", L = S === "loading", I = S === "error";
1805
+ this.selectError && (y = this.selectError, L = this.selectResult, v = Date.now(), S = "error");
1806
+ const w = k === "fetching", x = S === "loading", I = S === "error";
1815
1807
  return {
1816
1808
  status: S,
1817
1809
  fetchStatus: k,
1818
- isLoading: L,
1810
+ isLoading: x,
1819
1811
  isSuccess: S === "success",
1820
1812
  isError: I,
1821
- isInitialLoading: L && w,
1822
- data: x,
1813
+ isInitialLoading: x && w,
1814
+ data: L,
1823
1815
  dataUpdatedAt: c,
1824
1816
  error: y,
1825
1817
  errorUpdatedAt: v,
@@ -1829,13 +1821,13 @@ class $i extends Ie {
1829
1821
  isFetched: f.dataUpdateCount > 0 || f.errorUpdateCount > 0,
1830
1822
  isFetchedAfterMount: f.dataUpdateCount > l.dataUpdateCount || f.errorUpdateCount > l.errorUpdateCount,
1831
1823
  isFetching: w,
1832
- isRefetching: w && !L,
1824
+ isRefetching: w && !x,
1833
1825
  isLoadingError: I && f.dataUpdatedAt === 0,
1834
1826
  isPaused: k === "paused",
1835
1827
  isPlaceholderData: E,
1836
1828
  isPreviousData: F,
1837
1829
  isRefetchError: I && f.dataUpdatedAt !== 0,
1838
- isStale: Ve(e, t),
1830
+ isStale: _e(e, t),
1839
1831
  refetch: this.refetch,
1840
1832
  remove: this.remove
1841
1833
  };
@@ -1875,10 +1867,10 @@ class $i extends Ie {
1875
1867
  }
1876
1868
  onQueryUpdate(e) {
1877
1869
  const t = {};
1878
- e.type === "success" ? t.onSuccess = !e.manual : e.type === "error" && !Mi(e.error) && (t.onError = !0), this.updateResult(t), this.hasListeners() && this.updateTimers();
1870
+ e.type === "success" ? t.onSuccess = !e.manual : e.type === "error" && !xi(e.error) && (t.onError = !0), this.updateResult(t), this.hasListeners() && this.updateTimers();
1879
1871
  }
1880
1872
  notify(e) {
1881
- ee.batch(() => {
1873
+ te.batch(() => {
1882
1874
  if (e.onSuccess) {
1883
1875
  var t, i, a, s;
1884
1876
  (t = (i = this.options).onSuccess) == null || t.call(i, this.currentResult.data), (a = (s = this.options).onSettled) == null || a.call(s, this.currentResult.data, null);
@@ -1897,42 +1889,42 @@ class $i extends Ie {
1897
1889
  });
1898
1890
  }
1899
1891
  }
1900
- function zi(n, e) {
1892
+ function Vi(n, e) {
1901
1893
  return e.enabled !== !1 && !n.state.dataUpdatedAt && !(n.state.status === "error" && e.retryOnMount === !1);
1902
1894
  }
1903
- function at(n, e) {
1904
- return zi(n, e) || n.state.dataUpdatedAt > 0 && Oe(n, e, e.refetchOnMount);
1895
+ function rt(n, e) {
1896
+ return Vi(n, e) || n.state.dataUpdatedAt > 0 && Oe(n, e, e.refetchOnMount);
1905
1897
  }
1906
1898
  function Oe(n, e, t) {
1907
1899
  if (e.enabled !== !1) {
1908
1900
  const i = typeof t == "function" ? t(n) : t;
1909
- return i === "always" || i !== !1 && Ve(n, e);
1901
+ return i === "always" || i !== !1 && _e(n, e);
1910
1902
  }
1911
1903
  return !1;
1912
1904
  }
1913
- function st(n, e, t, i) {
1914
- return t.enabled !== !1 && (n !== e || i.enabled === !1) && (!t.suspense || n.state.status !== "error") && Ve(n, t);
1905
+ function ot(n, e, t, i) {
1906
+ return t.enabled !== !1 && (n !== e || i.enabled === !1) && (!t.suspense || n.state.status !== "error") && _e(n, t);
1915
1907
  }
1916
- function Ve(n, e) {
1908
+ function _e(n, e) {
1917
1909
  return n.isStaleByTime(e.staleTime);
1918
1910
  }
1919
- function Bi(n, e, t) {
1911
+ function _i(n, e, t) {
1920
1912
  return t.keepPreviousData ? !1 : t.placeholderData !== void 0 ? e.isPlaceholderData : !Ee(n.getCurrentResult(), e);
1921
1913
  }
1922
- const Gi = Mt.useSyncExternalStore, rt = /* @__PURE__ */ U.createContext(void 0), Ji = /* @__PURE__ */ U.createContext(!1);
1923
- function Qi(n, e) {
1924
- return n || (e && typeof window != "undefined" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = rt), window.ReactQueryClientContext) : rt);
1914
+ const Ui = Ut.useSyncExternalStore, lt = /* @__PURE__ */ U.createContext(void 0), Mi = /* @__PURE__ */ U.createContext(!1);
1915
+ function ji(n, e) {
1916
+ return n || (e && typeof window != "undefined" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = lt), window.ReactQueryClientContext) : lt);
1925
1917
  }
1926
- const Wi = ({
1918
+ const $i = ({
1927
1919
  context: n
1928
1920
  } = {}) => {
1929
- const e = U.useContext(Qi(n, U.useContext(Ji)));
1921
+ const e = U.useContext(ji(n, U.useContext(Mi)));
1930
1922
  if (!e)
1931
1923
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
1932
1924
  return e;
1933
- }, Kt = /* @__PURE__ */ U.createContext(!1), Ki = () => U.useContext(Kt);
1934
- Kt.Provider;
1935
- function Zi() {
1925
+ }, Jt = /* @__PURE__ */ U.createContext(!1), zi = () => U.useContext(Jt);
1926
+ Jt.Provider;
1927
+ function Bi() {
1936
1928
  let n = !1;
1937
1929
  return {
1938
1930
  clearReset: () => {
@@ -1944,47 +1936,47 @@ function Zi() {
1944
1936
  isReset: () => n
1945
1937
  };
1946
1938
  }
1947
- const qi = /* @__PURE__ */ U.createContext(Zi()), Xi = () => U.useContext(qi);
1948
- function Hi(n, e) {
1939
+ const Gi = /* @__PURE__ */ U.createContext(Bi()), Ji = () => U.useContext(Gi);
1940
+ function Qi(n, e) {
1949
1941
  return typeof n == "function" ? n(...e) : !!n;
1950
1942
  }
1951
- const Yi = (n, e) => {
1943
+ const Wi = (n, e) => {
1952
1944
  (n.suspense || n.useErrorBoundary) && (e.isReset() || (n.retryOnMount = !1));
1953
- }, ea = (n) => {
1945
+ }, Ki = (n) => {
1954
1946
  U.useEffect(() => {
1955
1947
  n.clearReset();
1956
1948
  }, [n]);
1957
- }, ta = ({
1949
+ }, Zi = ({
1958
1950
  result: n,
1959
1951
  errorResetBoundary: e,
1960
1952
  useErrorBoundary: t,
1961
1953
  query: i
1962
- }) => n.isError && !e.isReset() && !n.isFetching && Hi(t, [n.error, i]), na = (n) => {
1954
+ }) => n.isError && !e.isReset() && !n.isFetching && Qi(t, [n.error, i]), qi = (n) => {
1963
1955
  n.suspense && typeof n.staleTime != "number" && (n.staleTime = 1e3);
1964
- }, ia = (n, e) => n.isLoading && n.isFetching && !e, aa = (n, e, t) => (n == null ? void 0 : n.suspense) && ia(e, t), sa = (n, e, t) => e.fetchOptimistic(n).then(({
1956
+ }, Xi = (n, e) => n.isLoading && n.isFetching && !e, Hi = (n, e, t) => (n == null ? void 0 : n.suspense) && Xi(e, t), Yi = (n, e, t) => e.fetchOptimistic(n).then(({
1965
1957
  data: i
1966
1958
  }) => {
1967
1959
  n.onSuccess == null || n.onSuccess(i), n.onSettled == null || n.onSettled(i, null);
1968
1960
  }).catch((i) => {
1969
1961
  t.clearReset(), n.onError == null || n.onError(i), n.onSettled == null || n.onSettled(void 0, i);
1970
1962
  });
1971
- function ra(n, e) {
1972
- const t = Wi({
1963
+ function ea(n, e) {
1964
+ const t = $i({
1973
1965
  context: n.context
1974
- }), i = Ki(), a = Xi(), s = t.defaultQueryOptions(n);
1975
- s._optimisticResults = i ? "isRestoring" : "optimistic", s.onError && (s.onError = ee.batchCalls(s.onError)), s.onSuccess && (s.onSuccess = ee.batchCalls(s.onSuccess)), s.onSettled && (s.onSettled = ee.batchCalls(s.onSettled)), na(s), Yi(s, a), ea(a);
1966
+ }), i = zi(), a = Ji(), s = t.defaultQueryOptions(n);
1967
+ s._optimisticResults = i ? "isRestoring" : "optimistic", s.onError && (s.onError = te.batchCalls(s.onError)), s.onSuccess && (s.onSuccess = te.batchCalls(s.onSuccess)), s.onSettled && (s.onSettled = te.batchCalls(s.onSettled)), qi(s), Wi(s, a), Ki(a);
1976
1968
  const [r] = U.useState(() => new e(t, s)), o = r.getOptimisticResult(s);
1977
- if (Gi(U.useCallback((d) => {
1969
+ if (Ui(U.useCallback((d) => {
1978
1970
  const l = i ? () => {
1979
- } : r.subscribe(ee.batchCalls(d));
1971
+ } : r.subscribe(te.batchCalls(d));
1980
1972
  return r.updateResult(), l;
1981
1973
  }, [r, i]), () => r.getCurrentResult(), () => r.getCurrentResult()), U.useEffect(() => {
1982
1974
  r.setOptions(s, {
1983
1975
  listeners: !1
1984
1976
  });
1985
- }, [s, r]), aa(s, o, i))
1986
- throw sa(s, r, a);
1987
- if (ta({
1977
+ }, [s, r]), Hi(s, o, i))
1978
+ throw Yi(s, r, a);
1979
+ if (Zi({
1988
1980
  result: o,
1989
1981
  errorResetBoundary: a,
1990
1982
  useErrorBoundary: s.useErrorBoundary,
@@ -1993,12 +1985,12 @@ function ra(n, e) {
1993
1985
  throw o.error;
1994
1986
  return s.notifyOnChangeProps ? o : r.trackResult(o);
1995
1987
  }
1996
- function oa(n, e, t) {
1997
- const i = Di(n, e, t);
1998
- return ra(i, $i);
1988
+ function ta(n, e, t) {
1989
+ const i = Ei(n, e, t);
1990
+ return ea(i, Ii);
1999
1991
  }
2000
- const la = () => ["account"], Ws = () => {
2001
- const { accountName: n } = Zn(jt.state), [e, t] = Sn(De), i = oa(la(), () => Qt.get(n), {
1992
+ const na = () => ["account"], zs = () => {
1993
+ const { accountName: n } = Bn(xe.state), [e, t] = gn(De), i = ta(na(), () => Bt.get(n), {
2002
1994
  enabled: !!n && !e,
2003
1995
  refetchOnWindowFocus: !1,
2004
1996
  refetchOnMount: !1
@@ -2010,13 +2002,13 @@ const la = () => ["account"], Ws = () => {
2010
2002
  findQuery: i,
2011
2003
  account: e
2012
2004
  };
2013
- }, da = Ot();
2014
- async function ua(n) {
2015
- const e = await Qt.get(n);
2016
- return da.set(De, e), e;
2005
+ }, ia = Rt();
2006
+ async function aa(n) {
2007
+ const e = await Bt.get(n);
2008
+ return ia.set(De, e), e;
2017
2009
  }
2018
- var ca = /* @__PURE__ */ ((n) => (n.CREATED = "CREATED", n.STARTING = "STARTING", n.LIVE = "LIVE", n.FINALIZED = "FINALIZED", n))(ca || {});
2019
- const Ks = {
2010
+ var sa = /* @__PURE__ */ ((n) => (n.CREATED = "CREATED", n.STARTING = "STARTING", n.LIVE = "LIVE", n.FINALIZED = "FINALIZED", n))(sa || {});
2011
+ const Bs = {
2020
2012
  ALL: "*",
2021
2013
  CORE: "core:**",
2022
2014
  LIVE_STREAMING_EVENT: "event:**",
@@ -2028,11 +2020,11 @@ const Ks = {
2028
2020
  SNACK_SIZE_VIDEO_ADMIN: "ssv-admin:**",
2029
2021
  UI: "ui:**",
2030
2022
  UTILS: "utils:**"
2031
- }, Zs = {
2023
+ }, Gs = {
2032
2024
  EVENT_STATUS_CHANGED: "event:statusChanged"
2033
2025
  };
2034
- var ma = /* @__PURE__ */ ((n) => (n.English = "en", n.Spanish = "es", n.Portuguese = "pt", n))(ma || {}), fa = /* @__PURE__ */ ((n) => (n.COMBO = "Combo", n))(fa || {}), pa = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.PLATFORM = "platform", n.CACE = "CACE", n.GLOBAL_PAGE = "globalPage", n.DEV_LOCAL = "dev:local", n.CUSTOMIZATION = "customization", n))(pa || {});
2035
- const ha = {
2026
+ var ra = /* @__PURE__ */ ((n) => (n.English = "en", n.Spanish = "es", n.Portuguese = "pt", n))(ra || {}), oa = /* @__PURE__ */ ((n) => (n.COMBO = "Combo", n))(oa || {}), la = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.PLATFORM = "platform", n.CACE = "CACE", n.GLOBAL_PAGE = "globalPage", n.DEV_LOCAL = "dev:local", n.CUSTOMIZATION = "customization", n))(la || {});
2027
+ const da = {
2036
2028
  type: "logger",
2037
2029
  log(n) {
2038
2030
  this.output("log", n);
@@ -2054,7 +2046,7 @@ class ce {
2054
2046
  }
2055
2047
  init(e) {
2056
2048
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2057
- this.prefix = t.prefix || "i18next:", this.logger = e || ha, this.options = t, this.debug = t.debug;
2049
+ this.prefix = t.prefix || "i18next:", this.logger = e || da, this.options = t, this.debug = t.debug;
2058
2050
  }
2059
2051
  log() {
2060
2052
  for (var e = arguments.length, t = new Array(e), i = 0; i < e; i++)
@@ -2118,22 +2110,22 @@ class ke {
2118
2110
  });
2119
2111
  }
2120
2112
  }
2121
- function Z() {
2113
+ function q() {
2122
2114
  let n, e;
2123
2115
  const t = new Promise((i, a) => {
2124
2116
  n = i, e = a;
2125
2117
  });
2126
2118
  return t.resolve = n, t.reject = e, t;
2127
2119
  }
2128
- function ot(n) {
2120
+ function dt(n) {
2129
2121
  return n == null ? "" : "" + n;
2130
2122
  }
2131
- function ga(n, e, t) {
2123
+ function ua(n, e, t) {
2132
2124
  n.forEach((i) => {
2133
2125
  e[i] && (t[i] = e[i]);
2134
2126
  });
2135
2127
  }
2136
- function _e(n, e, t) {
2128
+ function Ue(n, e, t) {
2137
2129
  function i(r) {
2138
2130
  return r && r.indexOf("###") > -1 ? r.replace(/###/g, ".") : r;
2139
2131
  }
@@ -2152,41 +2144,41 @@ function _e(n, e, t) {
2152
2144
  k: i(s.shift())
2153
2145
  };
2154
2146
  }
2155
- function lt(n, e, t) {
2147
+ function ut(n, e, t) {
2156
2148
  const {
2157
2149
  obj: i,
2158
2150
  k: a
2159
- } = _e(n, e, Object);
2151
+ } = Ue(n, e, Object);
2160
2152
  i[a] = t;
2161
2153
  }
2162
- function ka(n, e, t, i) {
2154
+ function ca(n, e, t, i) {
2163
2155
  const {
2164
2156
  obj: a,
2165
2157
  k: s
2166
- } = _e(n, e, Object);
2158
+ } = Ue(n, e, Object);
2167
2159
  a[s] = a[s] || [], i && (a[s] = a[s].concat(t)), i || a[s].push(t);
2168
2160
  }
2169
2161
  function me(n, e) {
2170
2162
  const {
2171
2163
  obj: t,
2172
2164
  k: i
2173
- } = _e(n, e);
2165
+ } = Ue(n, e);
2174
2166
  if (t)
2175
2167
  return t[i];
2176
2168
  }
2177
- function va(n, e, t) {
2169
+ function ma(n, e, t) {
2178
2170
  const i = me(n, t);
2179
2171
  return i !== void 0 ? i : me(e, t);
2180
2172
  }
2181
- function Zt(n, e, t) {
2173
+ function Qt(n, e, t) {
2182
2174
  for (const i in e)
2183
- 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]) : Zt(n[i], e[i], t) : n[i] = e[i]);
2175
+ 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]) : Qt(n[i], e[i], t) : n[i] = e[i]);
2184
2176
  return n;
2185
2177
  }
2186
2178
  function B(n) {
2187
2179
  return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
2188
2180
  }
2189
- var Sa = {
2181
+ var fa = {
2190
2182
  "&": "&amp;",
2191
2183
  "<": "&lt;",
2192
2184
  ">": "&gt;",
@@ -2194,13 +2186,13 @@ var Sa = {
2194
2186
  "'": "&#39;",
2195
2187
  "/": "&#x2F;"
2196
2188
  };
2197
- function ya(n) {
2198
- return typeof n == "string" ? n.replace(/[&<>"'\/]/g, (e) => Sa[e]) : n;
2189
+ function pa(n) {
2190
+ return typeof n == "string" ? n.replace(/[&<>"'\/]/g, (e) => fa[e]) : n;
2199
2191
  }
2200
- const Na = [" ", ",", "?", "!", ";"];
2201
- function ba(n, e, t) {
2192
+ const ha = [" ", ",", "?", "!", ";"];
2193
+ function ga(n, e, t) {
2202
2194
  e = e || "", t = t || "";
2203
- const i = Na.filter((r) => e.indexOf(r) < 0 && t.indexOf(r) < 0);
2195
+ const i = ha.filter((r) => e.indexOf(r) < 0 && t.indexOf(r) < 0);
2204
2196
  if (i.length === 0)
2205
2197
  return !0;
2206
2198
  const a = new RegExp(`(${i.map((r) => r === "?" ? "\\?" : r).join("|")})`);
@@ -2246,7 +2238,7 @@ function fe(n, e) {
2246
2238
  function pe(n) {
2247
2239
  return n && n.indexOf("_") > 0 ? n.replace("_", "-") : n;
2248
2240
  }
2249
- class dt extends ke {
2241
+ class ct extends ke {
2250
2242
  constructor(e) {
2251
2243
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2252
2244
  ns: ["translation"],
@@ -2275,7 +2267,7 @@ class dt extends ke {
2275
2267
  };
2276
2268
  const r = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator;
2277
2269
  let o = [e, t];
2278
- i && (o = o.concat(r ? i.split(r) : i)), e.indexOf(".") > -1 && (o = e.split("."), a = t, t = o[1]), this.addNamespaces(t), lt(this.data, o, a), s.silent || this.emit("added", e, t, i, a);
2270
+ i && (o = o.concat(r ? i.split(r) : i)), e.indexOf(".") > -1 && (o = e.split("."), a = t, t = o[1]), this.addNamespaces(t), ut(this.data, o, a), s.silent || this.emit("added", e, t, i, a);
2279
2271
  }
2280
2272
  addResources(e, t, i) {
2281
2273
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -2293,10 +2285,10 @@ class dt extends ke {
2293
2285
  }, o = [e, t];
2294
2286
  e.indexOf(".") > -1 && (o = e.split("."), a = i, i = t, t = o[1]), this.addNamespaces(t);
2295
2287
  let d = me(this.data, o) || {};
2296
- a ? Zt(d, i, s) : d = {
2288
+ a ? Qt(d, i, s) : d = {
2297
2289
  ...d,
2298
2290
  ...i
2299
- }, lt(this.data, o, d), r.silent || this.emit("added", e, t, i);
2291
+ }, ut(this.data, o, d), r.silent || this.emit("added", e, t, i);
2300
2292
  }
2301
2293
  removeResourceBundle(e, t) {
2302
2294
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -2320,7 +2312,7 @@ class dt extends ke {
2320
2312
  return this.data;
2321
2313
  }
2322
2314
  }
2323
- var qt = {
2315
+ var Wt = {
2324
2316
  processors: {},
2325
2317
  addPostProcessor(n) {
2326
2318
  this.processors[n.name] = n;
@@ -2331,11 +2323,11 @@ var qt = {
2331
2323
  }), e;
2332
2324
  }
2333
2325
  };
2334
- const ut = {};
2326
+ const mt = {};
2335
2327
  class he extends ke {
2336
2328
  constructor(e) {
2337
2329
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2338
- super(), ga(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = M.create("translator");
2330
+ super(), ua(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = M.create("translator");
2339
2331
  }
2340
2332
  changeLanguage(e) {
2341
2333
  e && (this.language = e);
@@ -2354,7 +2346,7 @@ class he extends ke {
2354
2346
  i === void 0 && (i = ":");
2355
2347
  const a = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
2356
2348
  let s = t.ns || this.options.defaultNS || [];
2357
- const r = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !ba(e, i, a);
2349
+ const r = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !ga(e, i, a);
2358
2350
  if (r && !o) {
2359
2351
  const d = e.match(this.interpolator.nestingRegexp);
2360
2352
  if (d && d.length > 0)
@@ -2414,28 +2406,28 @@ class he extends ke {
2414
2406
  return a ? (f.res = w, f.usedParams = this.getUsedParamsDetails(t), f) : w;
2415
2407
  }
2416
2408
  if (s) {
2417
- const w = k === "[object Array]", L = w ? [] : {}, I = w ? v : y;
2409
+ const w = k === "[object Array]", x = w ? [] : {}, I = w ? v : y;
2418
2410
  for (const P in c)
2419
2411
  if (Object.prototype.hasOwnProperty.call(c, P)) {
2420
2412
  const p = `${I}${s}${P}`;
2421
- L[P] = this.translate(p, {
2413
+ x[P] = this.translate(p, {
2422
2414
  ...t,
2423
2415
  joinArrays: !1,
2424
2416
  ns: o
2425
- }), L[P] === p && (L[P] = c[P]);
2417
+ }), x[P] === p && (x[P] = c[P]);
2426
2418
  }
2427
- c = L;
2419
+ c = x;
2428
2420
  }
2429
2421
  } else if (E && typeof F == "string" && k === "[object Array]")
2430
2422
  c = c.join(F), c && (c = this.extendTranslation(c, e, t, i));
2431
2423
  else {
2432
- let w = !1, L = !1;
2424
+ let w = !1, x = !1;
2433
2425
  const I = t.count !== void 0 && typeof t.count != "string", P = he.hasDefaultValue(t), p = I ? this.pluralResolver.getSuffix(l, t.count, t) : "", m = t.ordinal && I ? this.pluralResolver.getSuffix(l, t.count, {
2434
2426
  ordinal: !1
2435
2427
  }) : "", g = t[`defaultValue${p}`] || t[`defaultValue${m}`] || t.defaultValue;
2436
- !this.isValidLookup(c) && P && (w = !0, c = g), this.isValidLookup(c) || (L = !0, c = r);
2437
- const N = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && L ? void 0 : c, O = P && g !== c && this.options.updateMissing;
2438
- if (L || w || O) {
2428
+ !this.isValidLookup(c) && P && (w = !0, c = g), this.isValidLookup(c) || (x = !0, c = r);
2429
+ const N = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && x ? void 0 : c, O = P && g !== c && this.options.updateMissing;
2430
+ if (x || w || O) {
2439
2431
  if (this.logger.log(O ? "updateKey" : "missingKey", l, d, r, O ? g : c), s) {
2440
2432
  const C = this.resolve(r, {
2441
2433
  ...t,
@@ -2450,17 +2442,17 @@ class he extends ke {
2450
2442
  b.push(R[C]);
2451
2443
  else
2452
2444
  this.options.saveMissingTo === "all" ? b = this.languageUtils.toResolveHierarchy(t.lng || this.language) : b.push(t.lng || this.language);
2453
- const T = (C, A, V) => {
2445
+ const D = (C, A, V) => {
2454
2446
  const ae = P && V !== c ? V : N;
2455
2447
  this.options.missingKeyHandler ? this.options.missingKeyHandler(C, d, A, ae, O, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(C, d, A, ae, O, t), this.emit("missingKey", C, d, A, c);
2456
2448
  };
2457
2449
  this.options.saveMissing && (this.options.saveMissingPlurals && I ? b.forEach((C) => {
2458
2450
  this.pluralResolver.getSuffixes(C, t).forEach((A) => {
2459
- T([C], r + A, t[`defaultValue${A}`] || g);
2451
+ D([C], r + A, t[`defaultValue${A}`] || g);
2460
2452
  });
2461
- }) : T(b, r, g));
2453
+ }) : D(b, r, g));
2462
2454
  }
2463
- c = this.extendTranslation(c, e, t, f, i), L && c === r && this.options.appendNamespaceToMissingKey && (c = `${d}:${r}`), (L || w) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? c = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${r}` : r, w ? c : void 0) : c = this.options.parseMissingKeyHandler(c));
2455
+ c = this.extendTranslation(c, e, t, f, i), x && c === r && this.options.appendNamespaceToMissingKey && (c = `${d}:${r}`), (x || w) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? c = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${r}` : r, w ? c : void 0) : c = this.options.parseMissingKeyHandler(c));
2464
2456
  }
2465
2457
  return a ? (f.res = c, f.usedParams = this.getUsedParamsDetails(t), f) : c;
2466
2458
  }
@@ -2502,7 +2494,7 @@ class he extends ke {
2502
2494
  }, i)), i.interpolation && this.interpolator.reset();
2503
2495
  }
2504
2496
  const o = i.postProcess || this.options.postProcess, d = typeof o == "string" ? [o] : o;
2505
- return e != null && d && d.length && i.applyPostProcessor !== !1 && (e = qt.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
2497
+ return e != null && d && d.length && i.applyPostProcessor !== !1 && (e = Wt.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
2506
2498
  i18nResolved: a,
2507
2499
  ...i
2508
2500
  } : i, this)), e;
@@ -2518,7 +2510,7 @@ class he extends ke {
2518
2510
  this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
2519
2511
  const c = t.count !== void 0 && typeof t.count != "string", y = c && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), v = 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);
2520
2512
  f.forEach((S) => {
2521
- this.isValidLookup(i) || (o = S, !ut[`${k[0]}-${S}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (ut[`${k[0]}-${S}`] = !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((F) => {
2513
+ this.isValidLookup(i) || (o = S, !mt[`${k[0]}-${S}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (mt[`${k[0]}-${S}`] = !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((F) => {
2522
2514
  if (this.isValidLookup(i))
2523
2515
  return;
2524
2516
  r = F;
@@ -2528,15 +2520,15 @@ class he extends ke {
2528
2520
  else {
2529
2521
  let w;
2530
2522
  c && (w = this.pluralResolver.getSuffix(F, t.count, t));
2531
- const L = `${this.options.pluralSeparator}zero`, I = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2532
- if (c && (E.push(u + w), t.ordinal && w.indexOf(I) === 0 && E.push(u + w.replace(I, this.options.pluralSeparator)), y && E.push(u + L)), v) {
2523
+ const x = `${this.options.pluralSeparator}zero`, I = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2524
+ if (c && (E.push(u + w), t.ordinal && w.indexOf(I) === 0 && E.push(u + w.replace(I, this.options.pluralSeparator)), y && E.push(u + x)), v) {
2533
2525
  const P = `${u}${this.options.contextSeparator}${t.context}`;
2534
- E.push(P), c && (E.push(P + w), t.ordinal && w.indexOf(I) === 0 && E.push(P + w.replace(I, this.options.pluralSeparator)), y && E.push(P + L));
2526
+ E.push(P), c && (E.push(P + w), t.ordinal && w.indexOf(I) === 0 && E.push(P + w.replace(I, this.options.pluralSeparator)), y && E.push(P + x));
2535
2527
  }
2536
2528
  }
2537
- let x;
2538
- for (; x = E.pop(); )
2539
- this.isValidLookup(i) || (s = x, i = this.getResource(F, S, x, t));
2529
+ let L;
2530
+ for (; L = E.pop(); )
2531
+ this.isValidLookup(i) || (s = L, i = this.getResource(F, S, L, t));
2540
2532
  }));
2541
2533
  });
2542
2534
  }), {
@@ -2581,7 +2573,7 @@ class he extends ke {
2581
2573
  function Ne(n) {
2582
2574
  return n.charAt(0).toUpperCase() + n.slice(1);
2583
2575
  }
2584
- class ct {
2576
+ class ft {
2585
2577
  constructor(e) {
2586
2578
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = M.create("languageUtils");
2587
2579
  }
@@ -2650,7 +2642,7 @@ class ct {
2650
2642
  }), a;
2651
2643
  }
2652
2644
  }
2653
- let Fa = [{
2645
+ let ka = [{
2654
2646
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
2655
2647
  nr: [1, 2],
2656
2648
  fc: 1
@@ -2742,7 +2734,7 @@ let Fa = [{
2742
2734
  lngs: ["he", "iw"],
2743
2735
  nr: [1, 2, 20, 21],
2744
2736
  fc: 22
2745
- }], Ea = {
2737
+ }], va = {
2746
2738
  1: function(n) {
2747
2739
  return +(n > 1);
2748
2740
  },
@@ -2810,7 +2802,7 @@ let Fa = [{
2810
2802
  return n == 1 ? 0 : n == 2 ? 1 : (n < 0 || n > 10) && n % 10 == 0 ? 2 : 3;
2811
2803
  }
2812
2804
  };
2813
- const Oa = ["v1", "v2", "v3"], wa = ["v4"], mt = {
2805
+ const Sa = ["v1", "v2", "v3"], ya = ["v4"], pt = {
2814
2806
  zero: 0,
2815
2807
  one: 1,
2816
2808
  two: 2,
@@ -2818,21 +2810,21 @@ const Oa = ["v1", "v2", "v3"], wa = ["v4"], mt = {
2818
2810
  many: 4,
2819
2811
  other: 5
2820
2812
  };
2821
- function Ra() {
2813
+ function Na() {
2822
2814
  const n = {};
2823
- return Fa.forEach((e) => {
2815
+ return ka.forEach((e) => {
2824
2816
  e.lngs.forEach((t) => {
2825
2817
  n[t] = {
2826
2818
  numbers: e.nr,
2827
- plurals: Ea[e.fc]
2819
+ plurals: va[e.fc]
2828
2820
  };
2829
2821
  });
2830
2822
  }), n;
2831
2823
  }
2832
- class Ca {
2824
+ class ba {
2833
2825
  constructor(e) {
2834
2826
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2835
- this.languageUtils = e, this.options = t, this.logger = M.create("pluralResolver"), (!this.options.compatibilityJSON || wa.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 = Ra();
2827
+ this.languageUtils = e, this.options = t, this.logger = M.create("pluralResolver"), (!this.options.compatibilityJSON || ya.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 = Na();
2836
2828
  }
2837
2829
  addRule(e, t) {
2838
2830
  this.rules[e] = t;
@@ -2861,7 +2853,7 @@ class Ca {
2861
2853
  getSuffixes(e) {
2862
2854
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2863
2855
  const i = this.getRule(e, t);
2864
- return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((a, s) => mt[a] - mt[s]).map((a) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : i.numbers.map((a) => this.getSuffix(e, a, t)) : [];
2856
+ return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((a, s) => pt[a] - pt[s]).map((a) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : i.numbers.map((a) => this.getSuffix(e, a, t)) : [];
2865
2857
  }
2866
2858
  getSuffix(e, t) {
2867
2859
  let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -2876,14 +2868,14 @@ class Ca {
2876
2868
  return this.options.compatibilityJSON === "v1" ? a === 1 ? "" : typeof a == "number" ? `_plural_${a.toString()}` : s() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? s() : this.options.prepend && i.toString() ? this.options.prepend + i.toString() : i.toString();
2877
2869
  }
2878
2870
  shouldUseIntlApi() {
2879
- return !Oa.includes(this.options.compatibilityJSON);
2871
+ return !Sa.includes(this.options.compatibilityJSON);
2880
2872
  }
2881
2873
  }
2882
- function ft(n, e, t) {
2883
- let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = va(n, e, t);
2874
+ function ht(n, e, t) {
2875
+ let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = ma(n, e, t);
2884
2876
  return !s && a && typeof t == "string" && (s = fe(n, t, i), s === void 0 && (s = fe(e, t, i))), s;
2885
2877
  }
2886
- class Ta {
2878
+ class Fa {
2887
2879
  constructor() {
2888
2880
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2889
2881
  this.logger = M.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
@@ -2894,7 +2886,7 @@ class Ta {
2894
2886
  escapeValue: !0
2895
2887
  });
2896
2888
  const t = e.interpolation;
2897
- this.escape = t.escape !== void 0 ? t.escape : ya, 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();
2889
+ this.escape = t.escape !== void 0 ? t.escape : pa, 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();
2898
2890
  }
2899
2891
  reset() {
2900
2892
  this.options && this.init(this.options);
@@ -2915,7 +2907,7 @@ class Ta {
2915
2907
  }
2916
2908
  const u = (v) => {
2917
2909
  if (v.indexOf(this.formatSeparator) < 0) {
2918
- const E = ft(t, d, v, this.options.keySeparator, this.options.ignoreJSONStructure);
2910
+ const E = ht(t, d, v, this.options.keySeparator, this.options.ignoreJSONStructure);
2919
2911
  return this.alwaysFormat ? this.format(E, void 0, i, {
2920
2912
  ...a,
2921
2913
  ...t,
@@ -2923,7 +2915,7 @@ class Ta {
2923
2915
  }) : E;
2924
2916
  }
2925
2917
  const k = v.split(this.formatSeparator), S = k.shift().trim(), F = k.join(this.formatSeparator).trim();
2926
- return this.format(ft(t, d, S, this.options.keySeparator, this.options.ignoreJSONStructure), F, i, {
2918
+ return this.format(ht(t, d, S, this.options.keySeparator, this.options.ignoreJSONStructure), F, i, {
2927
2919
  ...a,
2928
2920
  ...t,
2929
2921
  interpolationkey: S
@@ -2952,7 +2944,7 @@ class Ta {
2952
2944
  } else
2953
2945
  this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), r = "";
2954
2946
  else
2955
- typeof r != "string" && !this.useRawValueToEscape && (r = ot(r));
2947
+ typeof r != "string" && !this.useRawValueToEscape && (r = dt(r));
2956
2948
  const S = v.safeValue(r);
2957
2949
  if (e = e.replace(s[0], S), c ? (v.regex.lastIndex += r.length, v.regex.lastIndex -= s[0].length) : v.regex.lastIndex = 0, o++, o >= this.maxReplaces)
2958
2950
  break;
@@ -2992,7 +2984,7 @@ class Ta {
2992
2984
  }
2993
2985
  if (s = t(o.call(this, a[1].trim(), r), r), s && a[0] === e && typeof s != "string")
2994
2986
  return s;
2995
- typeof s != "string" && (s = ot(s)), s || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`), s = ""), l && (s = d.reduce((u, f) => this.format(u, f, i.lng, {
2987
+ typeof s != "string" && (s = dt(s)), s || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`), s = ""), l && (s = d.reduce((u, f) => this.format(u, f, i.lng, {
2996
2988
  ...i,
2997
2989
  interpolationkey: a[1].trim()
2998
2990
  }), s.trim())), e = e.replace(a[0], s), this.regexp.lastIndex = 0;
@@ -3000,7 +2992,7 @@ class Ta {
3000
2992
  return e;
3001
2993
  }
3002
2994
  }
3003
- function Da(n) {
2995
+ function Ea(n) {
3004
2996
  let e = n.toLowerCase().trim();
3005
2997
  const t = {};
3006
2998
  if (n.indexOf("(") > -1) {
@@ -3027,7 +3019,7 @@ function G(n) {
3027
3019
  return o || (o = n(pe(a), s), e[r] = o), o(i);
3028
3020
  };
3029
3021
  }
3030
- class Aa {
3022
+ class Oa {
3031
3023
  constructor() {
3032
3024
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3033
3025
  this.logger = M.create("formatter"), this.options = e, this.formats = {
@@ -3082,7 +3074,7 @@ class Aa {
3082
3074
  const {
3083
3075
  formatName: l,
3084
3076
  formatOptions: u
3085
- } = Da(d);
3077
+ } = Ea(d);
3086
3078
  if (this.formats[l]) {
3087
3079
  let f = o;
3088
3080
  try {
@@ -3102,10 +3094,10 @@ class Aa {
3102
3094
  }, e);
3103
3095
  }
3104
3096
  }
3105
- function xa(n, e) {
3097
+ function wa(n, e) {
3106
3098
  n.pending[e] !== void 0 && (delete n.pending[e], n.pendingCount--);
3107
3099
  }
3108
- class La extends ke {
3100
+ class Ra extends ke {
3109
3101
  constructor(e, t, i) {
3110
3102
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
3111
3103
  super(), this.backend = e, this.store = t, this.services = i, this.languageUtils = i.languageUtils, this.options = a, this.logger = M.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);
@@ -3136,7 +3128,7 @@ class La extends ke {
3136
3128
  t && this.emit("failedLoading", s, r, t), i && this.store.addResourceBundle(s, r, i), this.state[e] = t ? -1 : 2;
3137
3129
  const o = {};
3138
3130
  this.queue.forEach((d) => {
3139
- ka(d.loaded, [s], r), xa(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((l) => {
3131
+ ca(d.loaded, [s], r), wa(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((l) => {
3140
3132
  o[l] || (o[l] = {});
3141
3133
  const u = d.loaded[l];
3142
3134
  u.length && u.forEach((f) => {
@@ -3239,7 +3231,7 @@ class La extends ke {
3239
3231
  }
3240
3232
  }
3241
3233
  }
3242
- function pt() {
3234
+ function gt() {
3243
3235
  return {
3244
3236
  debug: !1,
3245
3237
  initImmediate: !0,
@@ -3298,22 +3290,22 @@ function pt() {
3298
3290
  }
3299
3291
  };
3300
3292
  }
3301
- function ht(n) {
3293
+ function kt(n) {
3302
3294
  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;
3303
3295
  }
3304
3296
  function re() {
3305
3297
  }
3306
- function Pa(n) {
3298
+ function Ca(n) {
3307
3299
  Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((t) => {
3308
3300
  typeof n[t] == "function" && (n[t] = n[t].bind(n));
3309
3301
  });
3310
3302
  }
3311
- class te extends ke {
3303
+ class ne extends ke {
3312
3304
  constructor() {
3313
3305
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
3314
- if (super(), this.options = ht(e), this.services = {}, this.logger = M, this.modules = {
3306
+ if (super(), this.options = kt(e), this.services = {}, this.logger = M, this.modules = {
3315
3307
  external: []
3316
- }, Pa(this), t && !this.isInitialized && !e.isClone) {
3308
+ }, Ca(this), t && !this.isInitialized && !e.isClone) {
3317
3309
  if (!this.options.initImmediate)
3318
3310
  return this.init(e, t), this;
3319
3311
  setTimeout(() => {
@@ -3325,11 +3317,11 @@ class te extends ke {
3325
3317
  var e = this;
3326
3318
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
3327
3319
  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]));
3328
- const a = pt();
3320
+ const a = gt();
3329
3321
  this.options = {
3330
3322
  ...a,
3331
3323
  ...this.options,
3332
- ...ht(t)
3324
+ ...kt(t)
3333
3325
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
3334
3326
  ...a.interpolation,
3335
3327
  ...this.options.interpolation
@@ -3340,17 +3332,17 @@ class te extends ke {
3340
3332
  if (!this.options.isClone) {
3341
3333
  this.modules.logger ? M.init(s(this.modules.logger), this.options) : M.init(null, this.options);
3342
3334
  let u;
3343
- this.modules.formatter ? u = this.modules.formatter : typeof Intl != "undefined" && (u = Aa);
3344
- const f = new ct(this.options);
3345
- this.store = new dt(this.options.resources, this.options);
3335
+ this.modules.formatter ? u = this.modules.formatter : typeof Intl != "undefined" && (u = Oa);
3336
+ const f = new ft(this.options);
3337
+ this.store = new ct(this.options.resources, this.options);
3346
3338
  const c = this.services;
3347
- c.logger = M, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new Ca(f, {
3339
+ c.logger = M, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new ba(f, {
3348
3340
  prepend: this.options.pluralSeparator,
3349
3341
  compatibilityJSON: this.options.compatibilityJSON,
3350
3342
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
3351
- }), u && (!this.options.interpolation.format || this.options.interpolation.format === a.interpolation.format) && (c.formatter = s(u), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new Ta(this.options), c.utils = {
3343
+ }), u && (!this.options.interpolation.format || this.options.interpolation.format === a.interpolation.format) && (c.formatter = s(u), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new Fa(this.options), c.utils = {
3352
3344
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
3353
- }, c.backendConnector = new La(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(y) {
3345
+ }, c.backendConnector = new Ra(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(y) {
3354
3346
  for (var v = arguments.length, k = new Array(v > 1 ? v - 1 : 0), S = 1; S < v; S++)
3355
3347
  k[S - 1] = arguments[S];
3356
3348
  e.emit(y, ...k);
@@ -3375,7 +3367,7 @@ class te extends ke {
3375
3367
  return e.store[u](...arguments), e;
3376
3368
  };
3377
3369
  });
3378
- const d = Z(), l = () => {
3370
+ const d = q(), l = () => {
3379
3371
  const u = (f, c) => {
3380
3372
  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), d.resolve(c), i(f, c);
3381
3373
  };
@@ -3405,7 +3397,7 @@ class te extends ke {
3405
3397
  i(null);
3406
3398
  }
3407
3399
  reloadResources(e, t, i) {
3408
- const a = Z();
3400
+ const a = q();
3409
3401
  return e || (e = this.languages), t || (t = this.options.ns), i || (i = re), this.services.backendConnector.reload(e, t, (s) => {
3410
3402
  a.resolve(), i(s);
3411
3403
  }), a;
@@ -3415,7 +3407,7 @@ class te extends ke {
3415
3407
  throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
3416
3408
  if (!e.type)
3417
3409
  throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
3418
- 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" && qt.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3410
+ 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" && Wt.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3419
3411
  }
3420
3412
  setResolvedLanguage(e) {
3421
3413
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
@@ -3430,7 +3422,7 @@ class te extends ke {
3430
3422
  changeLanguage(e, t) {
3431
3423
  var i = this;
3432
3424
  this.isLanguageChangingTo = e;
3433
- const a = Z();
3425
+ const a = q();
3434
3426
  this.emit("languageChanging", e);
3435
3427
  const s = (d) => {
3436
3428
  this.language = d, this.languages = this.services.languageUtils.toResolveHierarchy(d), this.resolvedLanguage = void 0, this.setResolvedLanguage(d);
@@ -3498,7 +3490,7 @@ class te extends ke {
3498
3490
  return !!(this.hasResourceBundle(i, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || r(i, e) && (!a || r(s, e)));
3499
3491
  }
3500
3492
  loadNamespaces(e, t) {
3501
- const i = Z();
3493
+ const i = q();
3502
3494
  return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach((a) => {
3503
3495
  this.options.ns.indexOf(a) < 0 && this.options.ns.push(a);
3504
3496
  }), this.loadResources((a) => {
@@ -3506,7 +3498,7 @@ class te extends ke {
3506
3498
  }), i) : (t && t(), Promise.resolve());
3507
3499
  }
3508
3500
  loadLanguages(e, t) {
3509
- const i = Z();
3501
+ const i = q();
3510
3502
  typeof e == "string" && (e = [e]);
3511
3503
  const a = this.options.preload || [], s = e.filter((r) => a.indexOf(r) < 0);
3512
3504
  return s.length ? (this.options.preload = a.concat(s), this.loadResources((r) => {
@@ -3516,12 +3508,12 @@ class te extends ke {
3516
3508
  dir(e) {
3517
3509
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e)
3518
3510
  return "rtl";
3519
- 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 ct(pt());
3511
+ 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 ft(gt());
3520
3512
  return t.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
3521
3513
  }
3522
3514
  static createInstance() {
3523
3515
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
3524
- return new te(e, t);
3516
+ return new ne(e, t);
3525
3517
  }
3526
3518
  cloneInstance() {
3527
3519
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : re;
@@ -3531,14 +3523,14 @@ class te extends ke {
3531
3523
  ...this.options,
3532
3524
  ...e,
3533
3525
  isClone: !0
3534
- }, s = new te(a);
3526
+ }, s = new ne(a);
3535
3527
  return (e.debug !== void 0 || e.prefix !== void 0) && (s.logger = s.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
3536
3528
  s[o] = this[o];
3537
3529
  }), s.services = {
3538
3530
  ...this.services
3539
3531
  }, s.services.utils = {
3540
3532
  hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
3541
- }, i && (s.store = new dt(this.store.data, a), s.services.resourceStore = s.store), s.translator = new he(s.services, a), s.translator.on("*", function(o) {
3533
+ }, i && (s.store = new ct(this.store.data, a), s.services.resourceStore = s.store), s.translator = new he(s.services, a), s.translator.on("*", function(o) {
3542
3534
  for (var d = arguments.length, l = new Array(d > 1 ? d - 1 : 0), u = 1; u < d; u++)
3543
3535
  l[u - 1] = arguments[u];
3544
3536
  s.emit(o, ...l);
@@ -3556,8 +3548,8 @@ class te extends ke {
3556
3548
  };
3557
3549
  }
3558
3550
  }
3559
- const _ = te.createInstance();
3560
- _.createInstance = te.createInstance;
3551
+ const _ = ne.createInstance();
3552
+ _.createInstance = ne.createInstance;
3561
3553
  _.createInstance;
3562
3554
  _.dir;
3563
3555
  _.init;
@@ -3572,73 +3564,73 @@ _.setDefaultNamespace;
3572
3564
  _.hasLoadedNamespace;
3573
3565
  _.loadNamespaces;
3574
3566
  _.loadLanguages;
3575
- function Ia(n) {
3567
+ function Ta(n) {
3576
3568
  const e = Object.values(n);
3577
3569
  return Object.assign({}, ...e);
3578
3570
  }
3579
- function Va(n) {
3571
+ function Da(n) {
3580
3572
  return Object.entries(n).reduce(
3581
3573
  (e, [t, i]) => {
3582
- const a = Ia(i);
3574
+ const a = Ta(i);
3583
3575
  return { ...e, [t]: a };
3584
3576
  },
3585
3577
  {}
3586
3578
  );
3587
3579
  }
3588
- function qs(n) {
3589
- const e = Va(n);
3580
+ function Js(n) {
3581
+ const e = Da(n);
3590
3582
  Object.entries(e).forEach(([t, i]) => {
3591
3583
  _.addResourceBundle(t, "translation", i, !0);
3592
3584
  });
3593
3585
  }
3594
- function _a(n, e) {
3586
+ function Aa(n, e) {
3595
3587
  if (!(n instanceof e))
3596
3588
  throw new TypeError("Cannot call a class as a function");
3597
3589
  }
3598
- function ne(n) {
3590
+ function ie(n) {
3599
3591
  "@babel/helpers - typeof";
3600
- return ne = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
3592
+ return ie = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
3601
3593
  return typeof e;
3602
3594
  } : function(e) {
3603
3595
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
3604
- }, ne(n);
3596
+ }, ie(n);
3605
3597
  }
3606
- function Ua(n, e) {
3607
- if (ne(n) !== "object" || n === null)
3598
+ function La(n, e) {
3599
+ if (ie(n) !== "object" || n === null)
3608
3600
  return n;
3609
3601
  var t = n[Symbol.toPrimitive];
3610
3602
  if (t !== void 0) {
3611
3603
  var i = t.call(n, e || "default");
3612
- if (ne(i) !== "object")
3604
+ if (ie(i) !== "object")
3613
3605
  return i;
3614
3606
  throw new TypeError("@@toPrimitive must return a primitive value.");
3615
3607
  }
3616
3608
  return (e === "string" ? String : Number)(n);
3617
3609
  }
3618
- function Ma(n) {
3619
- var e = Ua(n, "string");
3620
- return ne(e) === "symbol" ? e : String(e);
3610
+ function xa(n) {
3611
+ var e = La(n, "string");
3612
+ return ie(e) === "symbol" ? e : String(e);
3621
3613
  }
3622
- function gt(n, e) {
3614
+ function vt(n, e) {
3623
3615
  for (var t = 0; t < e.length; t++) {
3624
3616
  var i = e[t];
3625
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(n, Ma(i.key), i);
3617
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(n, xa(i.key), i);
3626
3618
  }
3627
3619
  }
3628
- function ja(n, e, t) {
3629
- return e && gt(n.prototype, e), t && gt(n, t), Object.defineProperty(n, "prototype", {
3620
+ function Pa(n, e, t) {
3621
+ return e && vt(n.prototype, e), t && vt(n, t), Object.defineProperty(n, "prototype", {
3630
3622
  writable: !1
3631
3623
  }), n;
3632
3624
  }
3633
- var Xt = [], $a = Xt.forEach, za = Xt.slice;
3634
- function Ba(n) {
3635
- return $a.call(za.call(arguments, 1), function(e) {
3625
+ var Kt = [], Ia = Kt.forEach, Va = Kt.slice;
3626
+ function _a(n) {
3627
+ return Ia.call(Va.call(arguments, 1), function(e) {
3636
3628
  if (e)
3637
3629
  for (var t in e)
3638
3630
  n[t] === void 0 && (n[t] = e[t]);
3639
3631
  }), n;
3640
3632
  }
3641
- var kt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ga = function(e, t, i) {
3633
+ var St = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ua = function(e, t, i) {
3642
3634
  var a = i || {};
3643
3635
  a.path = a.path || "/";
3644
3636
  var s = encodeURIComponent(t), r = "".concat(e, "=").concat(s);
@@ -3649,12 +3641,12 @@ var kt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ga = function(e, t, i) {
3649
3641
  r += "; Max-Age=".concat(Math.floor(o));
3650
3642
  }
3651
3643
  if (a.domain) {
3652
- if (!kt.test(a.domain))
3644
+ if (!St.test(a.domain))
3653
3645
  throw new TypeError("option domain is invalid");
3654
3646
  r += "; Domain=".concat(a.domain);
3655
3647
  }
3656
3648
  if (a.path) {
3657
- if (!kt.test(a.path))
3649
+ if (!St.test(a.path))
3658
3650
  throw new TypeError("option path is invalid");
3659
3651
  r += "; Path=".concat(a.path);
3660
3652
  }
@@ -3683,13 +3675,13 @@ var kt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ga = function(e, t, i) {
3683
3675
  }
3684
3676
  }
3685
3677
  return r;
3686
- }, vt = {
3678
+ }, yt = {
3687
3679
  create: function(e, t, i, a) {
3688
3680
  var s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
3689
3681
  path: "/",
3690
3682
  sameSite: "strict"
3691
3683
  };
3692
- i && (s.expires = /* @__PURE__ */ new Date(), s.expires.setTime(s.expires.getTime() + i * 60 * 1e3)), a && (s.domain = a), document.cookie = Ga(e, encodeURIComponent(t), s);
3684
+ i && (s.expires = /* @__PURE__ */ new Date(), s.expires.setTime(s.expires.getTime() + i * 60 * 1e3)), a && (s.domain = a), document.cookie = Ua(e, encodeURIComponent(t), s);
3693
3685
  },
3694
3686
  read: function(e) {
3695
3687
  for (var t = "".concat(e, "="), i = document.cookie.split(";"), a = 0; a < i.length; a++) {
@@ -3703,20 +3695,20 @@ var kt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ga = function(e, t, i) {
3703
3695
  remove: function(e) {
3704
3696
  this.create(e, "", -1);
3705
3697
  }
3706
- }, Ja = {
3698
+ }, Ma = {
3707
3699
  name: "cookie",
3708
3700
  lookup: function(e) {
3709
3701
  var t;
3710
3702
  if (e.lookupCookie && typeof document != "undefined") {
3711
- var i = vt.read(e.lookupCookie);
3703
+ var i = yt.read(e.lookupCookie);
3712
3704
  i && (t = i);
3713
3705
  }
3714
3706
  return t;
3715
3707
  },
3716
3708
  cacheUserLanguage: function(e, t) {
3717
- t.lookupCookie && typeof document != "undefined" && vt.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
3709
+ t.lookupCookie && typeof document != "undefined" && yt.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
3718
3710
  }
3719
- }, Qa = {
3711
+ }, ja = {
3720
3712
  name: "querystring",
3721
3713
  lookup: function(e) {
3722
3714
  var t;
@@ -3733,55 +3725,55 @@ var kt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ga = function(e, t, i) {
3733
3725
  }
3734
3726
  return t;
3735
3727
  }
3736
- }, q = null, St = function() {
3737
- if (q !== null)
3738
- return q;
3728
+ }, X = null, Nt = function() {
3729
+ if (X !== null)
3730
+ return X;
3739
3731
  try {
3740
- q = window !== "undefined" && window.localStorage !== null;
3732
+ X = window !== "undefined" && window.localStorage !== null;
3741
3733
  var e = "i18next.translate.boo";
3742
3734
  window.localStorage.setItem(e, "foo"), window.localStorage.removeItem(e);
3743
3735
  } catch {
3744
- q = !1;
3736
+ X = !1;
3745
3737
  }
3746
- return q;
3747
- }, Wa = {
3738
+ return X;
3739
+ }, $a = {
3748
3740
  name: "localStorage",
3749
3741
  lookup: function(e) {
3750
3742
  var t;
3751
- if (e.lookupLocalStorage && St()) {
3743
+ if (e.lookupLocalStorage && Nt()) {
3752
3744
  var i = window.localStorage.getItem(e.lookupLocalStorage);
3753
3745
  i && (t = i);
3754
3746
  }
3755
3747
  return t;
3756
3748
  },
3757
3749
  cacheUserLanguage: function(e, t) {
3758
- t.lookupLocalStorage && St() && window.localStorage.setItem(t.lookupLocalStorage, e);
3750
+ t.lookupLocalStorage && Nt() && window.localStorage.setItem(t.lookupLocalStorage, e);
3759
3751
  }
3760
- }, X = null, yt = function() {
3761
- if (X !== null)
3762
- return X;
3752
+ }, H = null, bt = function() {
3753
+ if (H !== null)
3754
+ return H;
3763
3755
  try {
3764
- X = window !== "undefined" && window.sessionStorage !== null;
3756
+ H = window !== "undefined" && window.sessionStorage !== null;
3765
3757
  var e = "i18next.translate.boo";
3766
3758
  window.sessionStorage.setItem(e, "foo"), window.sessionStorage.removeItem(e);
3767
3759
  } catch {
3768
- X = !1;
3760
+ H = !1;
3769
3761
  }
3770
- return X;
3771
- }, Ka = {
3762
+ return H;
3763
+ }, za = {
3772
3764
  name: "sessionStorage",
3773
3765
  lookup: function(e) {
3774
3766
  var t;
3775
- if (e.lookupSessionStorage && yt()) {
3767
+ if (e.lookupSessionStorage && bt()) {
3776
3768
  var i = window.sessionStorage.getItem(e.lookupSessionStorage);
3777
3769
  i && (t = i);
3778
3770
  }
3779
3771
  return t;
3780
3772
  },
3781
3773
  cacheUserLanguage: function(e, t) {
3782
- t.lookupSessionStorage && yt() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
3774
+ t.lookupSessionStorage && bt() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
3783
3775
  }
3784
- }, Za = {
3776
+ }, Ba = {
3785
3777
  name: "navigator",
3786
3778
  lookup: function(e) {
3787
3779
  var t = [];
@@ -3793,13 +3785,13 @@ var kt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ga = function(e, t, i) {
3793
3785
  }
3794
3786
  return t.length > 0 ? t : void 0;
3795
3787
  }
3796
- }, qa = {
3788
+ }, Ga = {
3797
3789
  name: "htmlTag",
3798
3790
  lookup: function(e) {
3799
3791
  var t, i = e.htmlTag || (typeof document != "undefined" ? document.documentElement : null);
3800
3792
  return i && typeof i.getAttribute == "function" && (t = i.getAttribute("lang")), t;
3801
3793
  }
3802
- }, Xa = {
3794
+ }, Ja = {
3803
3795
  name: "path",
3804
3796
  lookup: function(e) {
3805
3797
  var t;
@@ -3815,7 +3807,7 @@ var kt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ga = function(e, t, i) {
3815
3807
  }
3816
3808
  return t;
3817
3809
  }
3818
- }, Ha = {
3810
+ }, Qa = {
3819
3811
  name: "subdomain",
3820
3812
  lookup: function(e) {
3821
3813
  var t = typeof e.lookupFromSubdomainIndex == "number" ? e.lookupFromSubdomainIndex + 1 : 1, i = typeof window != "undefined" && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
@@ -3823,7 +3815,7 @@ var kt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ga = function(e, t, i) {
3823
3815
  return i[t];
3824
3816
  }
3825
3817
  };
3826
- function Ya() {
3818
+ function Wa() {
3827
3819
  return {
3828
3820
  order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
3829
3821
  lookupQuerystring: "lng",
@@ -3840,20 +3832,20 @@ function Ya() {
3840
3832
  }
3841
3833
  };
3842
3834
  }
3843
- var Ht = /* @__PURE__ */ function() {
3835
+ var Zt = /* @__PURE__ */ function() {
3844
3836
  function n(e) {
3845
3837
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3846
- _a(this, n), this.type = "languageDetector", this.detectors = {}, this.init(e, t);
3838
+ Aa(this, n), this.type = "languageDetector", this.detectors = {}, this.init(e, t);
3847
3839
  }
3848
- return ja(n, [{
3840
+ return Pa(n, [{
3849
3841
  key: "init",
3850
3842
  value: function(t) {
3851
3843
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3852
3844
  this.services = t || {
3853
3845
  languageUtils: {}
3854
- }, this.options = Ba(i, this.options || {}, Ya()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(s) {
3846
+ }, this.options = _a(i, this.options || {}, Wa()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(s) {
3855
3847
  return s.replace("-", "_");
3856
- }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(Ja), this.addDetector(Qa), this.addDetector(Wa), this.addDetector(Ka), this.addDetector(Za), this.addDetector(qa), this.addDetector(Xa), this.addDetector(Ha);
3848
+ }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(Ma), this.addDetector(ja), this.addDetector($a), this.addDetector(za), this.addDetector(Ba), this.addDetector(Ga), this.addDetector(Ja), this.addDetector(Qa);
3857
3849
  }
3858
3850
  }, {
3859
3851
  key: "addDetector",
@@ -3885,8 +3877,8 @@ var Ht = /* @__PURE__ */ function() {
3885
3877
  }
3886
3878
  }]), n;
3887
3879
  }();
3888
- Ht.type = "languageDetector";
3889
- const es = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, ts = {
3880
+ Zt.type = "languageDetector";
3881
+ const Ka = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Za = {
3890
3882
  "&amp;": "&",
3891
3883
  "&#38;": "&",
3892
3884
  "&lt;": "<",
@@ -3907,8 +3899,8 @@ const es = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
3907
3899
  "&#8230;": "…",
3908
3900
  "&#x2F;": "/",
3909
3901
  "&#47;": "/"
3910
- }, ns = (n) => ts[n], is = (n) => n.replace(es, ns);
3911
- let Nt = {
3902
+ }, qa = (n) => Za[n], Xa = (n) => n.replace(Ka, qa);
3903
+ let Ft = {
3912
3904
  bindI18n: "languageChanged",
3913
3905
  bindI18nStore: "",
3914
3906
  transEmptyNodeValue: "",
@@ -3916,21 +3908,21 @@ let Nt = {
3916
3908
  transWrapTextNodes: "",
3917
3909
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
3918
3910
  useSuspense: !0,
3919
- unescape: is
3911
+ unescape: Xa
3920
3912
  };
3921
- function as() {
3913
+ function Ha() {
3922
3914
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3923
- Nt = {
3924
- ...Nt,
3915
+ Ft = {
3916
+ ...Ft,
3925
3917
  ...n
3926
3918
  };
3927
3919
  }
3928
- const ss = {
3920
+ const Ya = {
3929
3921
  type: "3rdParty",
3930
3922
  init(n) {
3931
- as(n.options.react);
3923
+ Ha(n.options.react);
3932
3924
  }
3933
- }, Xs = _.use(ss).use(Ht).init({
3925
+ }, Qs = _.use(Ya).use(Zt).init({
3934
3926
  resources: {},
3935
3927
  fallbackLng: "en",
3936
3928
  debug: !1,
@@ -3968,56 +3960,56 @@ const ss = {
3968
3960
  ]
3969
3961
  }
3970
3962
  });
3971
- let Ue = /* @__PURE__ */ new Map();
3972
- const we = bt(Ue), Hs = ({ children: n, stores: e }) => {
3973
- const t = Te(we), i = Et(() => {
3963
+ let Me = /* @__PURE__ */ new Map();
3964
+ const we = Et(Me), Ws = ({ children: n, stores: e }) => {
3965
+ const t = Te(we), i = wt(() => {
3974
3966
  const a = /* @__PURE__ */ new Map();
3975
- return e.forEach((s) => a.set(s.class, s.value)), Ue = new Map([...t, ...a]);
3967
+ return e.forEach((s) => a.set(s.class, s.value)), Me = new Map([...t, ...a]);
3976
3968
  }, []);
3977
- return /* @__PURE__ */ on(we.Provider, { value: i, children: n });
3969
+ return /* @__PURE__ */ an(we.Provider, { value: i, children: n });
3978
3970
  };
3979
- function Ys(n) {
3971
+ function Ks(n) {
3980
3972
  return Te(we).get(n);
3981
3973
  }
3982
- function er(n) {
3983
- return Ue.get(n);
3974
+ function Zs(n) {
3975
+ return Me.get(n);
3984
3976
  }
3985
- var Yt = /* @__PURE__ */ ((n) => (n.Created = "CREATED", n.Finalized = "FINALIZED", n.Live = "LIVE", n.Starting = "STARTING", n))(Yt || {}), en = /* @__PURE__ */ ((n) => (n.Add = "add", n.Remove = "remove", n))(en || {}), tn = /* @__PURE__ */ ((n) => (n.Active = "active", n.Inactive = "inactive", n))(tn || {});
3986
- const rs = { 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" } }] } }] } }] } }] }, os = { 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" } }] } }] } }] } }] }, ls = { 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" } }] } }] } }] } }] }, ds = { 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" } }] } }] } }] } }] }, us = { 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" } }] } }] } }] } }] }, cs = { 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" } }] } }] } }] } }] }, ms = { 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" } }] } }] } }] } }] }, fs = { 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" } }] } }] } }] } }] }, ps = { 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" } }] } }] } }] } }] }, hs = { 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" } }] } }] } }] } }] }, gs = { 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" } }] } }] } }] } }] }, ks = { 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" } }] } }] } }] } }] }, vs = { 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: "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: "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" } }] } }] } }] } }] }, ys = { 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" } }] } }] } }] } }] }, Ns = { 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" } }] } }] } }] } }] }, bs = { 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" } }] } }] } }] } }] }, Fs = { 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" } }] } }] } }] } }] }, Es = { 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" } }] } }] } }] } }] }, Os = { 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" } }] } }] } }] } }] }, ws = { 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" } }] } }] } }] } }] }, Rs = { 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" } }] } }] } }] } }] }, Cs = { 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" } }] } }] } }] } }] }, Ts = { 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" } }] } }] } }] } }] }, Ds = { 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" } }] } }] } }] } }] }, As = { 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" } }] } }] } }] } }] } }] }, xs = { 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" } }] } }] } }] } }] }, Ls = { 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" } }] } }] } }] } }] }, tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3977
+ var qt = /* @__PURE__ */ ((n) => (n.Created = "CREATED", n.Finalized = "FINALIZED", n.Live = "LIVE", n.Starting = "STARTING", n))(qt || {}), Xt = /* @__PURE__ */ ((n) => (n.Add = "add", n.Remove = "remove", n))(Xt || {}), Ht = /* @__PURE__ */ ((n) => (n.Active = "active", n.Inactive = "inactive", n))(Ht || {});
3978
+ const es = { 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" } }] } }] } }] } }] }, ts = { 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" } }] } }] } }] } }] }, ns = { 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" } }] } }] } }] } }] }, is = { 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" } }] } }] } }] } }] }, as = { 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" } }] } }] } }] } }] }, ss = { 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" } }] } }] } }] } }] }, rs = { 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" } }] } }] } }] } }] }, os = { 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" } }] } }] } }] } }] }, ls = { 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" } }] } }] } }] } }] }, ds = { 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" } }] } }] } }] } }] }, us = { 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" } }] } }] } }] } }] }, cs = { 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" } }] } }] } }] } }] }, ms = { 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" } }] } }] } }] } }] }, fs = { 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" } }] } }] } }] } }] }, ps = { 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" } }] } }] } }] } }] }, hs = { 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" } }] } }] } }] } }] }, gs = { 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" } }] } }] } }] } }] }, ks = { 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" } }] } }] } }] } }] }, vs = { 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" } }] } }] } }] } }] }, Ss = { 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" } }] } }] } }] } }] }, ys = { 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" } }] } }] } }] } }] }, Ns = { 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" } }] } }] } }] } }] }, bs = { 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" } }] } }] } }] } }] }, Fs = { 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" } }] } }] } }] } }] }, Es = { 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" } }] } }] } }] } }] }, Os = { 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" } }] } }] } }] } }] } }] }, ws = { 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" } }] } }] } }] } }] }, Rs = { 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" } }] } }] } }] } }] }, qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3987
3979
  __proto__: null,
3988
- AddCollectionDocument: rs,
3989
- AppendProductsToSnackVideoDocument: Os,
3990
- BlockUserDocument: hs,
3991
- ChangeAccountUsernameDocument: gs,
3992
- CreateSnackVideoBatchDocument: ws,
3993
- DeleteAllCustomizationDocument: Ns,
3994
- DeleteChatMessageDocument: ks,
3995
- DeleteCollectionDocument: os,
3996
- DeleteRelationshipWithSnackVideoDocument: Rs,
3997
- DeleteSnackVideoDocument: Cs,
3998
- EventStatus: Yt,
3999
- FindByProductSnackVideoDocument: Ls,
4000
- FindCollectionDocument: ls,
4001
- FindManySnackVideosDocument: Ts,
4002
- FindMinimalEventDocument: fs,
4003
- GetAllChatMessageDocument: vs,
4004
- GetAllCollectionsDocument: ds,
4005
- GetAllCustomizationDocument: bs,
4006
- GetAllSnackVideosDocument: Ds,
4007
- GetChatRoomTokenDocument: Ss,
4008
- GetSnackVideoRelationshipsDocument: As,
4009
- GetTimeLineDocument: Es,
4010
- ManageCollectionProductDocument: us,
4011
- Methods: en,
4012
- PinChatMessageDocument: ys,
4013
- SearchCollectionsDocument: cs,
4014
- SearchMinimalEventsDocument: ps,
4015
- SearchSnackVideosDocument: xs,
4016
- Status: tn,
4017
- UpdateCollectionDocument: ms,
4018
- UpdateCustomizationDocument: Fs
3980
+ AddCollectionDocument: es,
3981
+ AppendProductsToSnackVideoDocument: Ss,
3982
+ BlockUserDocument: ds,
3983
+ ChangeAccountUsernameDocument: us,
3984
+ CreateSnackVideoBatchDocument: ys,
3985
+ DeleteAllCustomizationDocument: hs,
3986
+ DeleteChatMessageDocument: cs,
3987
+ DeleteCollectionDocument: ts,
3988
+ DeleteRelationshipWithSnackVideoDocument: Ns,
3989
+ DeleteSnackVideoDocument: bs,
3990
+ EventStatus: qt,
3991
+ FindByProductSnackVideoDocument: Rs,
3992
+ FindCollectionDocument: ns,
3993
+ FindManySnackVideosDocument: Fs,
3994
+ FindMinimalEventDocument: os,
3995
+ GetAllChatMessageDocument: ms,
3996
+ GetAllCollectionsDocument: is,
3997
+ GetAllCustomizationDocument: gs,
3998
+ GetAllSnackVideosDocument: Es,
3999
+ GetChatRoomTokenDocument: fs,
4000
+ GetSnackVideoRelationshipsDocument: Os,
4001
+ GetTimeLineDocument: vs,
4002
+ ManageCollectionProductDocument: as,
4003
+ Methods: Xt,
4004
+ PinChatMessageDocument: ps,
4005
+ SearchCollectionsDocument: ss,
4006
+ SearchMinimalEventsDocument: ls,
4007
+ SearchSnackVideosDocument: ws,
4008
+ Status: Ht,
4009
+ UpdateCollectionDocument: rs,
4010
+ UpdateCustomizationDocument: ks
4019
4011
  }, Symbol.toStringTag, { value: "Module" }));
4020
- function nr(n) {
4012
+ function Xs(n) {
4021
4013
  return {
4022
4014
  class: n,
4023
4015
  _value: null,
@@ -4027,58 +4019,55 @@ function nr(n) {
4027
4019
  };
4028
4020
  }
4029
4021
  export {
4030
- Jt as AccountContractStatusTypes,
4031
- yi as AccountContractTypes,
4032
- $s as AccountInvalidError,
4033
- bi as AccountPlanDescriptionTypes,
4034
- Oi as AccountRestRepository,
4035
- wi as AccountService,
4036
- Ni as AccountSubscriptionTypes,
4037
- Gt as AccountTypes,
4038
- vi as AggregateRoot,
4039
- tr as ApiGraphqlTypes,
4040
- Js as BaseMobxStore,
4041
- qn as BroadcastChannelEventBus,
4022
+ zt as AccountContractStatusTypes,
4023
+ pi as AccountContractTypes,
4024
+ _s as AccountInvalidError,
4025
+ gi as AccountPlanDescriptionTypes,
4026
+ Si as AccountRestRepository,
4027
+ yi as AccountService,
4028
+ hi as AccountSubscriptionTypes,
4029
+ $t as AccountTypes,
4030
+ mi as AggregateRoot,
4031
+ qs as ApiGraphqlTypes,
4032
+ js as BaseMobxStore,
4033
+ Gn as BroadcastChannelEventBus,
4042
4034
  ge as DomainError,
4043
- Ks as EventBusWildcards,
4044
- Zs as EventNames,
4045
- Fi as GlobalPageSectionTypes,
4046
- pi as InvalidNizzaGlobalObjectError,
4047
- ma as LanguageTypes,
4048
- Pe as NizzaAccount,
4049
- ca as NizzaEventStatus,
4050
- pa as NizzaProductRequestOriginTypes,
4051
- fa as NizzaVariationTypes,
4052
- mi as ResourceNotFoundError,
4053
- Hs as StoreProvider,
4054
- fi as UnexpectedError,
4055
- Qs as ValueObject,
4035
+ Bs as EventBusWildcards,
4036
+ Gs as EventNames,
4037
+ ki as GlobalPageSectionTypes,
4038
+ ci as InvalidNizzaGlobalObjectError,
4039
+ ra as LanguageTypes,
4040
+ Zn as Logger,
4041
+ Ie as NizzaAccount,
4042
+ sa as NizzaEventStatus,
4043
+ la as NizzaProductRequestOriginTypes,
4044
+ oa as NizzaVariationTypes,
4045
+ di as ResourceNotFoundError,
4046
+ Ws as StoreProvider,
4047
+ ui as UnexpectedError,
4048
+ $s as ValueObject,
4056
4049
  De as accountAtom,
4057
- Qt as accountService,
4058
- _s as apiCall,
4059
- Y as coreLogger,
4060
- Si as createAggregateRoot,
4061
- hi as createLogger,
4062
- nr as createStore,
4063
- Rt as customFetch,
4064
- Us as downloadFile,
4065
- js as fileOrigin,
4066
- ua as getAccount,
4067
- Gs as getClientTimeZone,
4068
- ki as getLogger,
4069
- er as getStore,
4070
- da as globalAtomStore,
4071
- Xs as i18n,
4072
- Bt as initializeLogger,
4073
- On as jsDownload,
4074
- Bs as logger,
4075
- jt as nizza,
4076
- gi as registerLogger,
4077
- qs as registerTranslations,
4078
- Ms as searchParams,
4079
- Hn as shortId,
4080
- Ws as useAccount,
4081
- Ys as useStore,
4082
- zs as validateRequiredProps
4050
+ Bt as accountService,
4051
+ As as apiCall,
4052
+ ee as coreLogger,
4053
+ fi as createAggregateRoot,
4054
+ Xs as createStore,
4055
+ Tt as customFetch,
4056
+ Ls as downloadFile,
4057
+ Ps as fileOrigin,
4058
+ aa as getAccount,
4059
+ Ms as getClientTimeZone,
4060
+ Zs as getStore,
4061
+ ia as globalAtomStore,
4062
+ Qs as i18n,
4063
+ bn as jsDownload,
4064
+ Vs as logger,
4065
+ xe as nizza,
4066
+ Js as registerTranslations,
4067
+ xs as searchParams,
4068
+ Qn as shortId,
4069
+ zs as useAccount,
4070
+ Ks as useStore,
4071
+ Us as validateRequiredProps
4083
4072
  };
4084
4073
  //# sourceMappingURL=index.mjs.map