@nizza/core 0.5.2 → 0.5.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,42 +1,42 @@
1
- var nr = Object.defineProperty;
2
- var ir = (t, e, n) => e in t ? nr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
- var x = (t, e, n) => (ir(t, typeof e != "symbol" ? e + "" : e, n), n);
1
+ var ir = Object.defineProperty;
2
+ var ar = (t, e, n) => e in t ? ir(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
+ var x = (t, e, n) => (ar(t, typeof e != "symbol" ? e + "" : e, n), n);
4
4
  import * as Z from "react";
5
- import he, { createContext as Di, useReducer as ar, useEffect as Li, useDebugValue as rr, useCallback as sr, useContext as bn, useState as or, forwardRef as Un, memo as Mn, useMemo as lr } from "react";
6
- import { unstable_batchedUpdates as ur } from "react-dom";
7
- import { jsx as dr } from "react/jsx-runtime";
5
+ import he, { createContext as Ti, useReducer as rr, useEffect as Di, useDebugValue as sr, useCallback as or, useContext as yn, useState as lr, forwardRef as jn, memo as Un, useMemo as ur } from "react";
6
+ import { unstable_batchedUpdates as dr } from "react-dom";
7
+ import { jsx as cr } from "react/jsx-runtime";
8
8
  var z = { 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 };
9
- let cr = 0;
10
- function fr(t, e) {
11
- const n = `atom${++cr}`, i = {
9
+ let fr = 0;
10
+ function mr(t, e) {
11
+ const n = `atom${++fr}`, i = {
12
12
  toString: () => n
13
13
  };
14
- return typeof t == "function" ? i.read = t : (i.init = t, i.read = mr, i.write = hr), e && (i.write = e), i;
14
+ return typeof t == "function" ? i.read = t : (i.init = t, i.read = hr, i.write = pr), e && (i.write = e), i;
15
15
  }
16
- function mr(t) {
16
+ function hr(t) {
17
17
  return t(this);
18
18
  }
19
- function hr(t, e, n) {
19
+ function pr(t, e, n) {
20
20
  return e(
21
21
  this,
22
22
  typeof n == "function" ? n(t(this)) : n
23
23
  );
24
24
  }
25
- const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "init" in t, qt = (t) => !!t.write, kt = /* @__PURE__ */ new WeakMap(), pr = (t, e) => {
25
+ const Gt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Qt = (t) => "init" in t, Ht = (t) => !!t.write, kt = /* @__PURE__ */ new WeakMap(), vr = (t, e) => {
26
26
  kt.set(t, e), t.catch(() => {
27
27
  }).finally(() => kt.delete(t));
28
- }, $n = (t, e) => {
28
+ }, Mn = (t, e) => {
29
29
  const n = kt.get(t);
30
30
  n && (kt.delete(t), n(e));
31
- }, Bn = (t, e) => {
31
+ }, $n = (t, e) => {
32
32
  t.status = "fulfilled", t.value = e;
33
- }, zn = (t, e) => {
33
+ }, Bn = (t, e) => {
34
34
  t.status = "rejected", t.reason = e;
35
- }, vr = (t) => typeof (t == null ? void 0 : t.then) == "function", $e = (t, e) => !!t && "v" in t && "v" in e && Object.is(t.v, e.v), Kn = (t, e) => !!t && "e" in t && "e" in e && Object.is(t.e, e.e), we = (t) => !!t && "v" in t && t.v instanceof Promise, gr = (t, e) => "v" in t && "v" in e && t.v.orig && t.v.orig === e.v.orig, lt = (t) => {
35
+ }, gr = (t) => typeof (t == null ? void 0 : t.then) == "function", $e = (t, e) => !!t && "v" in t && "v" in e && Object.is(t.v, e.v), zn = (t, e) => !!t && "e" in t && "e" in e && Object.is(t.e, e.e), we = (t) => !!t && "v" in t && t.v instanceof Promise, kr = (t, e) => "v" in t && "v" in e && t.v.orig && t.v.orig === e.v.orig, lt = (t) => {
36
36
  if ("e" in t)
37
37
  throw t.e;
38
38
  return t.v;
39
- }, Pi = () => {
39
+ }, Li = () => {
40
40
  const t = /* @__PURE__ */ new WeakMap(), e = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new Map();
41
41
  let i, a;
42
42
  (z ? "production" : void 0) !== "production" && (i = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set());
@@ -45,7 +45,7 @@ const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "in
45
45
  const S = r(m);
46
46
  if (t.set(m, y), n.has(m) || n.set(m, S), we(S)) {
47
47
  const h = "v" in y ? y.v instanceof Promise ? y.v : Promise.resolve(y.v) : Promise.reject(y.e);
48
- S.v !== h && $n(S.v, h);
48
+ S.v !== h && Mn(S.v, h);
49
49
  }
50
50
  }, o = (m, y, S, h) => {
51
51
  const b = new Map(
@@ -53,7 +53,7 @@ const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "in
53
53
  );
54
54
  let F = !1;
55
55
  S.forEach((p, A) => {
56
- !p && Qt(m, A) && (p = y), p ? (b.set(A, p), y.d.get(A) !== p && (F = !0)) : (z ? "production" : void 0) !== "production" && console.warn("[Bug] atom state not found");
56
+ !p && Gt(m, A) && (p = y), p ? (b.set(A, p), y.d.get(A) !== p && (F = !0)) : (z ? "production" : void 0) !== "production" && console.warn("[Bug] atom state not found");
57
57
  }), (F || y.d.size !== b.size) && (y.d = b);
58
58
  }, l = (m, y, S, h) => {
59
59
  const b = r(m), F = {
@@ -67,14 +67,14 @@ const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "in
67
67
  h
68
68
  ), $e(b, F) && b.d === F.d)
69
69
  return b;
70
- if (we(b) && we(F) && gr(b, F)) {
70
+ if (we(b) && we(F) && kr(b, F)) {
71
71
  if (b.d === F.d)
72
72
  return b;
73
73
  F.v = b.v;
74
74
  }
75
75
  return s(m, F), F;
76
76
  }, u = (m, y, S, h) => {
77
- if (vr(y)) {
77
+ if (gr(y)) {
78
78
  let b;
79
79
  const F = () => {
80
80
  const A = r(m);
@@ -90,19 +90,19 @@ const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "in
90
90
  let D = !1;
91
91
  y.then(
92
92
  (R) => {
93
- D || (D = !0, Bn(p, R), A(R), F());
93
+ D || (D = !0, $n(p, R), A(R), F());
94
94
  },
95
95
  (R) => {
96
- D || (D = !0, zn(p, R), U(R), F());
96
+ D || (D = !0, Bn(p, R), U(R), F());
97
97
  }
98
98
  ), b = (R) => {
99
99
  D || (D = !0, R.then(
100
- ($) => Bn(p, $),
101
- ($) => zn(p, $)
100
+ ($) => $n(p, $),
101
+ ($) => Bn(p, $)
102
102
  ), A(R));
103
103
  };
104
104
  });
105
- return p.orig = y, p.status = "pending", pr(p, (A) => {
105
+ return p.orig = y, p.status = "pending", vr(p, (A) => {
106
106
  A && b(A), h == null || h();
107
107
  }), l(m, p, S, !0);
108
108
  }
@@ -112,7 +112,7 @@ const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "in
112
112
  d: (h == null ? void 0 : h.d) || /* @__PURE__ */ new Map(),
113
113
  e: y
114
114
  };
115
- return S && o(m, b, S), Kn(h, b) && h.d === b.d ? h : (s(m, b), b);
115
+ return S && o(m, b, S), zn(h, b) && h.d === b.d ? h : (s(m, b), b);
116
116
  }, f = (m, y) => {
117
117
  const S = r(m);
118
118
  if (!y && S && (e.has(m) || Array.from(S.d).every(([D, R]) => {
@@ -125,11 +125,11 @@ const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "in
125
125
  const h = /* @__PURE__ */ new Map();
126
126
  let b = !0;
127
127
  const F = (D) => {
128
- if (Qt(m, D)) {
128
+ if (Gt(m, D)) {
129
129
  const $ = r(D);
130
130
  if ($)
131
131
  return h.set(D, $), lt($);
132
- if (Ht(D))
132
+ if (Qt(D))
133
133
  return h.set(D, void 0), D.init;
134
134
  throw new Error("no atom init");
135
135
  }
@@ -142,7 +142,7 @@ const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "in
142
142
  return p || (p = new AbortController()), p.signal;
143
143
  },
144
144
  get setSelf() {
145
- return (z ? "production" : void 0) !== "production" && !qt(m) && console.warn("setSelf function cannot be used with read-only atom"), !A && qt(m) && (A = (...D) => {
145
+ return (z ? "production" : void 0) !== "production" && !Ht(m) && console.warn("setSelf function cannot be used with read-only atom"), !A && Ht(m) && (A = (...D) => {
146
146
  if ((z ? "production" : void 0) !== "production" && b && console.warn("setSelf function cannot be called in sync"), !b)
147
147
  return T(m, ...D);
148
148
  }), A;
@@ -204,8 +204,8 @@ const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "in
204
204
  let S = !0;
205
205
  const h = (p) => lt(f(p)), b = (p, ...A) => {
206
206
  let U;
207
- if (Qt(m, p)) {
208
- if (!Ht(p))
207
+ if (Gt(m, p)) {
208
+ if (!Qt(p))
209
209
  throw new Error("atom not writable");
210
210
  const D = r(p), R = u(p, A[0]);
211
211
  $e(D, R) || k(p);
@@ -236,7 +236,7 @@ const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "in
236
236
  t: new Set(y && [y]),
237
237
  l: /* @__PURE__ */ new Set()
238
238
  };
239
- if (e.set(m, F), (z ? "production" : void 0) !== "production" && a.add(m), qt(m) && m.onMount) {
239
+ if (e.set(m, F), (z ? "production" : void 0) !== "production" && a.add(m), Ht(m) && m.onMount) {
240
240
  const { onMount: p } = m;
241
241
  b.push(() => {
242
242
  const A = p((...U) => T(m, ...U));
@@ -249,7 +249,7 @@ const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "in
249
249
  const S = (y = e.get(m)) == null ? void 0 : y.u;
250
250
  S && S(), e.delete(m), (z ? "production" : void 0) !== "production" && a.delete(m);
251
251
  const h = r(m);
252
- h ? (we(h) && $n(h.v), h.d.forEach((b, F) => {
252
+ h ? (we(h) && Mn(h.v), h.d.forEach((b, F) => {
253
253
  if (F !== m) {
254
254
  const p = e.get(F);
255
255
  p && (p.t.delete(m), O(F, p) && w(F));
@@ -282,7 +282,7 @@ const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "in
282
282
  const F = e.get(S);
283
283
  F && b.d !== (h == null ? void 0 : h.d) && C(S, b, h == null ? void 0 : h.d), F && !// TODO This seems pretty hacky. Hope to fix it.
284
284
  // Maybe we could `mountDependencies` in `setAtomState`?
285
- (!we(h) && ($e(h, b) || Kn(h, b))) && (F.l.forEach((p) => p()), (z ? "production" : void 0) !== "production" && m.add(S));
285
+ (!we(h) && ($e(h, b) || zn(h, b))) && (F.l.forEach((p) => p()), (z ? "production" : void 0) !== "production" && m.add(S));
286
286
  } else
287
287
  (z ? "production" : void 0) !== "production" && console.warn("[Bug] no atom state to flush");
288
288
  });
@@ -314,7 +314,7 @@ const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "in
314
314
  dev_get_mounted: (m) => e.get(m),
315
315
  dev_restore_atoms: (m) => {
316
316
  for (const [S, h] of m)
317
- Ht(S) && (u(S, h), k(S));
317
+ Qt(S) && (u(S, h), k(S));
318
318
  const y = I();
319
319
  i.forEach(
320
320
  (S) => S({ type: "restore", flushed: y })
@@ -326,16 +326,16 @@ const Qt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ht = (t) => "in
326
326
  sub: j
327
327
  };
328
328
  };
329
- let Wt;
329
+ let qt;
330
330
  (z ? "production" : void 0) !== "production" && (typeof globalThis.__NUMBER_OF_JOTAI_INSTANCES__ == "number" ? ++globalThis.__NUMBER_OF_JOTAI_INSTANCES__ : globalThis.__NUMBER_OF_JOTAI_INSTANCES__ = 1);
331
- const kr = () => (Wt || ((z ? "production" : void 0) !== "production" && globalThis.__NUMBER_OF_JOTAI_INSTANCES__ !== 1 && console.warn(
331
+ const yr = () => (qt || ((z ? "production" : void 0) !== "production" && globalThis.__NUMBER_OF_JOTAI_INSTANCES__ !== 1 && console.warn(
332
332
  "Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"
333
- ), Wt = Pi()), Wt);
334
- var yr = { 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 };
335
- const br = Di(void 0), Ii = (t) => {
336
- const e = bn(br);
337
- return (t == null ? void 0 : t.store) || e || kr();
338
- }, Sr = (t) => typeof (t == null ? void 0 : t.then) == "function", _r = he.use || ((t) => {
333
+ ), qt = Li()), qt);
334
+ var br = { 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 };
335
+ const Sr = Ti(void 0), Pi = (t) => {
336
+ const e = yn(Sr);
337
+ return (t == null ? void 0 : t.store) || e || yr();
338
+ }, _r = (t) => typeof (t == null ? void 0 : t.then) == "function", Nr = he.use || ((t) => {
339
339
  if (t.status === "pending")
340
340
  throw t;
341
341
  if (t.status === "fulfilled")
@@ -349,8 +349,8 @@ const br = Di(void 0), Ii = (t) => {
349
349
  }
350
350
  ), t);
351
351
  });
352
- function Nr(t, e) {
353
- const n = Ii(e), [[i, a, r], s] = ar(
352
+ function Or(t, e) {
353
+ const n = Pi(e), [[i, a, r], s] = rr(
354
354
  (u) => {
355
355
  const d = n.get(t);
356
356
  return Object.is(u[0], d) && u[1] === n && u[2] === t ? u : [d, n, t];
@@ -361,7 +361,7 @@ function Nr(t, e) {
361
361
  let o = i;
362
362
  (a !== n || r !== t) && (s(), o = n.get(t));
363
363
  const l = e == null ? void 0 : e.delay;
364
- return Li(() => {
364
+ return Di(() => {
365
365
  const u = n.sub(t, () => {
366
366
  if (typeof l == "number") {
367
367
  setTimeout(s, l);
@@ -370,37 +370,37 @@ function Nr(t, e) {
370
370
  s();
371
371
  });
372
372
  return s(), u;
373
- }, [n, t, l]), rr(o), Sr(o) ? _r(o) : o;
373
+ }, [n, t, l]), sr(o), _r(o) ? Nr(o) : o;
374
374
  }
375
- function Or(t, e) {
376
- const n = Ii(e);
377
- return sr(
375
+ function wr(t, e) {
376
+ const n = Pi(e);
377
+ return or(
378
378
  (...a) => {
379
- if ((yr ? "production" : void 0) !== "production" && !("write" in t))
379
+ if ((br ? "production" : void 0) !== "production" && !("write" in t))
380
380
  throw new Error("not writable atom");
381
381
  return n.set(t, ...a);
382
382
  },
383
383
  [n, t]
384
384
  );
385
385
  }
386
- function wr(t, e) {
386
+ function Fr(t, e) {
387
387
  return [
388
- Nr(t, e),
388
+ Or(t, e),
389
389
  // We do wrong type assertion here, which results in throwing an error.
390
- Or(t, e)
390
+ wr(t, e)
391
391
  ];
392
392
  }
393
- const Sn = fr(null);
394
- Sn.debugLabel = "accountAtom";
395
- var Fr = { 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 };
393
+ const bn = mr(null);
394
+ bn.debugLabel = "accountAtom";
395
+ var Ar = { 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 };
396
396
  const {
397
- NZ_AWS_REGION: Ar,
398
- NZ_BACKOFFICE_BACK_URL: Er,
399
- NZ_CORE_SERVICES_GRAPHQL_URL: Cr,
400
- NZ_CORE_SERVICES_REST_URL: xr
401
- } = Fr, Rr = {
397
+ NZ_AWS_REGION: Er,
398
+ NZ_BACKOFFICE_BACK_URL: Cr,
399
+ NZ_CORE_SERVICES_GRAPHQL_URL: xr,
400
+ NZ_CORE_SERVICES_REST_URL: Rr
401
+ } = Ar, Tr = {
402
402
  AWS: {
403
- region: Ar,
403
+ region: Er,
404
404
  cognito: {
405
405
  userPoolId: "us-east-1_EZ7wuZ4ig",
406
406
  userPoolWebClientId: "2jok7cst8ebf6ppscrhji57gvr"
@@ -408,9 +408,9 @@ const {
408
408
  },
409
409
  // Back services
410
410
  apiUrls: {
411
- restV1: Er || "https://b133h34s56.execute-api.us-east-1.amazonaws.com",
412
- restV2: xr || "https://core-services-prod.nizza.com/api",
413
- graphql: Cr || "https://core-services-prod.nizza.com/graphql",
411
+ restV1: Cr || "https://b133h34s56.execute-api.us-east-1.amazonaws.com",
412
+ restV2: Rr || "https://core-services-prod.nizza.com/api",
413
+ graphql: xr || "https://core-services-prod.nizza.com/graphql",
414
414
  corsProxy: "https://3hvqfl2xcg.execute-api.us-east-1.amazonaws.com"
415
415
  },
416
416
  publicUrls: {
@@ -424,7 +424,7 @@ const {
424
424
  wssIVSChat: "wss://edge.ivschat.us-east-1.amazonaws.com"
425
425
  }
426
426
  };
427
- async function Vi(t) {
427
+ async function Ii(t) {
428
428
  const {
429
429
  url: e,
430
430
  method: n = "GET",
@@ -462,11 +462,11 @@ async function Vi(t) {
462
462
  throw console.error("[CustomFetch] ", u), u;
463
463
  }
464
464
  }
465
- const Ud = (t) => Vi({ ...t, contentTypeJson: !1, raw: !1 });
466
- function Md(t, e, n) {
467
- fetch(e).then((i) => i.blob()).then((i) => Tr(i, `${t}.${n}`));
465
+ const Md = (t) => Ii({ ...t, contentTypeJson: !1, raw: !1 });
466
+ function $d(t, e, n) {
467
+ fetch(e).then((i) => i.blob()).then((i) => Dr(i, `${t}.${n}`));
468
468
  }
469
- const Tr = (t, e, n) => {
469
+ const Dr = (t, e, n) => {
470
470
  const i = [t], a = new Blob(i, {
471
471
  type: n != null ? n : "application/octet-stream"
472
472
  });
@@ -482,19 +482,19 @@ function L(t) {
482
482
  n[i - 1] = arguments[i];
483
483
  throw new Error(typeof t == "number" ? "[MobX] minified error nr: " + t + (n.length ? " " + n.map(String).join(",") : "") + ". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts" : "[MobX] " + t);
484
484
  }
485
- var Dr = {};
486
- function _n() {
487
- return typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : Dr;
485
+ var Lr = {};
486
+ function Sn() {
487
+ return typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : Lr;
488
488
  }
489
- var ji = Object.assign, yt = Object.getOwnPropertyDescriptor, ae = Object.defineProperty, Lt = Object.prototype, an = [];
490
- Object.freeze(an);
491
- var Ui = {};
492
- Object.freeze(Ui);
493
- var Lr = typeof Proxy != "undefined", Pr = /* @__PURE__ */ Object.toString();
494
- function Mi() {
495
- Lr || L("Proxy not available");
489
+ var Vi = Object.assign, yt = Object.getOwnPropertyDescriptor, ae = Object.defineProperty, Lt = Object.prototype, nn = [];
490
+ Object.freeze(nn);
491
+ var ji = {};
492
+ Object.freeze(ji);
493
+ var Pr = typeof Proxy != "undefined", Ir = /* @__PURE__ */ Object.toString();
494
+ function Ui() {
495
+ Pr || L("Proxy not available");
496
496
  }
497
- function $i(t) {
497
+ function Mi(t) {
498
498
  var e = !1;
499
499
  return function() {
500
500
  if (!e)
@@ -526,9 +526,9 @@ function me(t) {
526
526
  if (e == null)
527
527
  return !0;
528
528
  var n = Object.hasOwnProperty.call(e, "constructor") && e.constructor;
529
- return typeof n == "function" && n.toString() === Pr;
529
+ return typeof n == "function" && n.toString() === Ir;
530
530
  }
531
- function Bi(t) {
531
+ function $i(t) {
532
532
  var e = t == null ? void 0 : t.constructor;
533
533
  return e ? e.name === "GeneratorFunction" || e.displayName === "GeneratorFunction" : !1;
534
534
  }
@@ -540,7 +540,7 @@ function It(t, e, n) {
540
540
  value: n
541
541
  });
542
542
  }
543
- function zi(t, e, n) {
543
+ function Bi(t, e, n) {
544
544
  ae(t, e, {
545
545
  enumerable: !1,
546
546
  writable: !1,
@@ -560,42 +560,42 @@ function Ie(t) {
560
560
  function nt(t) {
561
561
  return t instanceof Set;
562
562
  }
563
- var Ki = typeof Object.getOwnPropertySymbols != "undefined";
564
- function Ir(t) {
563
+ var zi = typeof Object.getOwnPropertySymbols != "undefined";
564
+ function Vr(t) {
565
565
  var e = Object.keys(t);
566
- if (!Ki)
566
+ if (!zi)
567
567
  return e;
568
568
  var n = Object.getOwnPropertySymbols(t);
569
569
  return n.length ? [].concat(e, n.filter(function(i) {
570
570
  return Lt.propertyIsEnumerable.call(t, i);
571
571
  })) : e;
572
572
  }
573
- var Vt = typeof Reflect != "undefined" && Reflect.ownKeys ? Reflect.ownKeys : Ki ? function(t) {
573
+ var Vt = typeof Reflect != "undefined" && Reflect.ownKeys ? Reflect.ownKeys : zi ? function(t) {
574
574
  return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t));
575
575
  } : (
576
576
  /* istanbul ignore next */
577
577
  Object.getOwnPropertyNames
578
578
  );
579
- function Gi(t) {
579
+ function Ki(t) {
580
580
  return t === null ? null : typeof t == "object" ? "" + t : t;
581
581
  }
582
582
  function le(t, e) {
583
583
  return Lt.hasOwnProperty.call(t, e);
584
584
  }
585
- var Vr = Object.getOwnPropertyDescriptors || function(e) {
585
+ var jr = Object.getOwnPropertyDescriptors || function(e) {
586
586
  var n = {};
587
587
  return Vt(e).forEach(function(i) {
588
588
  n[i] = yt(e, i);
589
589
  }), n;
590
590
  };
591
- function Gn(t, e) {
591
+ function Kn(t, e) {
592
592
  for (var n = 0; n < e.length; n++) {
593
593
  var i = e[n];
594
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, Mr(i.key), i);
594
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, $r(i.key), i);
595
595
  }
596
596
  }
597
- function Nn(t, e, n) {
598
- return e && Gn(t.prototype, e), n && Gn(t, n), Object.defineProperty(t, "prototype", {
597
+ function _n(t, e, n) {
598
+ return e && Kn(t.prototype, e), n && Kn(t, n), Object.defineProperty(t, "prototype", {
599
599
  writable: !1
600
600
  }), t;
601
601
  }
@@ -609,31 +609,31 @@ function ke() {
609
609
  return t;
610
610
  }, ke.apply(this, arguments);
611
611
  }
612
- function Qi(t, e) {
613
- t.prototype = Object.create(e.prototype), t.prototype.constructor = t, rn(t, e);
612
+ function Gi(t, e) {
613
+ t.prototype = Object.create(e.prototype), t.prototype.constructor = t, an(t, e);
614
614
  }
615
- function rn(t, e) {
616
- return rn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, a) {
615
+ function an(t, e) {
616
+ return an = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, a) {
617
617
  return i.__proto__ = a, i;
618
- }, rn(t, e);
618
+ }, an(t, e);
619
619
  }
620
- function Jt(t) {
620
+ function Wt(t) {
621
621
  if (t === void 0)
622
622
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
623
623
  return t;
624
624
  }
625
- function jr(t, e) {
625
+ function Ur(t, e) {
626
626
  if (t) {
627
627
  if (typeof t == "string")
628
- return Qn(t, e);
628
+ return Gn(t, e);
629
629
  var n = Object.prototype.toString.call(t).slice(8, -1);
630
630
  if (n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set")
631
631
  return Array.from(t);
632
632
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
633
- return Qn(t, e);
633
+ return Gn(t, e);
634
634
  }
635
635
  }
636
- function Qn(t, e) {
636
+ function Gn(t, e) {
637
637
  (e == null || e > t.length) && (e = t.length);
638
638
  for (var n = 0, i = new Array(e); n < e; n++)
639
639
  i[n] = t[n];
@@ -643,7 +643,7 @@ function Re(t, e) {
643
643
  var n = typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
644
644
  if (n)
645
645
  return (n = n.call(t)).next.bind(n);
646
- if (Array.isArray(t) || (n = jr(t)) || e && t && typeof t.length == "number") {
646
+ if (Array.isArray(t) || (n = Ur(t)) || e && t && typeof t.length == "number") {
647
647
  n && (t = n);
648
648
  var i = 0;
649
649
  return function() {
@@ -658,7 +658,7 @@ function Re(t, e) {
658
658
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
659
659
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
660
660
  }
661
- function Ur(t, e) {
661
+ function Mr(t, e) {
662
662
  if (typeof t != "object" || t === null)
663
663
  return t;
664
664
  var n = t[Symbol.toPrimitive];
@@ -670,8 +670,8 @@ function Ur(t, e) {
670
670
  }
671
671
  return (e === "string" ? String : Number)(t);
672
672
  }
673
- function Mr(t) {
674
- var e = Ur(t, "string");
673
+ function $r(t) {
674
+ var e = Mr(t, "string");
675
675
  return typeof e == "symbol" ? e : String(e);
676
676
  }
677
677
  var ne = /* @__PURE__ */ Symbol("mobx-stored-annotations");
@@ -684,9 +684,9 @@ function re(t) {
684
684
  return Object.assign(e, t);
685
685
  }
686
686
  function Ve(t, e, n) {
687
- le(t, ne) || It(t, ne, ke({}, t[ne])), Wr(n) || (t[ne][e] = n);
687
+ le(t, ne) || It(t, ne, ke({}, t[ne])), Jr(n) || (t[ne][e] = n);
688
688
  }
689
- function $r(t) {
689
+ function Br(t) {
690
690
  return le(t, ne) || It(t, ne, ke({}, t[ne])), t[ne];
691
691
  }
692
692
  function it(t) {
@@ -706,38 +706,38 @@ var E = /* @__PURE__ */ Symbol("mobx administration"), at = /* @__PURE__ */ func
706
706
  return i();
707
707
  });
708
708
  }, e.reportObserved = function() {
709
- return ca(this);
709
+ return da(this);
710
710
  }, e.reportChanged = function() {
711
- W(), fa(this), J();
711
+ W(), ca(this), J();
712
712
  }, e.toString = function() {
713
713
  return this.name_;
714
714
  }, t;
715
- }(), On = /* @__PURE__ */ Se("Atom", at);
716
- function Hi(t, e, n) {
715
+ }(), Nn = /* @__PURE__ */ Se("Atom", at);
716
+ function Qi(t, e, n) {
717
717
  e === void 0 && (e = xe), n === void 0 && (n = xe);
718
718
  var i = new at(t);
719
- return e !== xe && Xs(i, e), n !== xe && ka(i, n), i;
720
- }
721
- function Br(t, e) {
722
- return t === e;
719
+ return e !== xe && Ys(i, e), n !== xe && ga(i, n), i;
723
720
  }
724
721
  function zr(t, e) {
725
- return Rn(t, e);
722
+ return t === e;
726
723
  }
727
724
  function Kr(t, e) {
728
- return Rn(t, e, 1);
725
+ return xn(t, e);
729
726
  }
730
727
  function Gr(t, e) {
728
+ return xn(t, e, 1);
729
+ }
730
+ function Qr(t, e) {
731
731
  return Object.is ? Object.is(t, e) : t === e ? t !== 0 || 1 / t === 1 / e : t !== t && e !== e;
732
732
  }
733
733
  var bt = {
734
- identity: Br,
735
- structural: zr,
736
- default: Gr,
737
- shallow: Kr
734
+ identity: zr,
735
+ structural: Kr,
736
+ default: Qr,
737
+ shallow: Gr
738
738
  };
739
739
  function ye(t, e, n) {
740
- return _a(t) ? t : Array.isArray(t) ? B.array(t, {
740
+ return Sa(t) ? t : Array.isArray(t) ? B.array(t, {
741
741
  name: n
742
742
  }) : me(t) ? B.object(t, void 0, {
743
743
  name: n
@@ -745,9 +745,9 @@ function ye(t, e, n) {
745
745
  name: n
746
746
  }) : nt(t) ? B.set(t, {
747
747
  name: n
748
- }) : typeof t == "function" && !$t(t) && !Ze(t) ? Bi(t) ? De(t) : Je(n, t) : t;
748
+ }) : typeof t == "function" && !$t(t) && !Ze(t) ? $i(t) ? De(t) : Je(n, t) : t;
749
749
  }
750
- function Qr(t, e, n) {
750
+ function Hr(t, e, n) {
751
751
  if (t == null || Xe(t) || Bt(t) || Ne(t) || je(t))
752
752
  return t;
753
753
  if (Array.isArray(t))
@@ -774,23 +774,23 @@ function Qr(t, e, n) {
774
774
  function jt(t) {
775
775
  return t;
776
776
  }
777
- function Hr(t, e) {
778
- return Rn(t, e) ? e : t;
777
+ function qr(t, e) {
778
+ return xn(t, e) ? e : t;
779
779
  }
780
- var qr = "override";
781
- function Wr(t) {
782
- return t.annotationType_ === qr;
780
+ var Wr = "override";
781
+ function Jr(t) {
782
+ return t.annotationType_ === Wr;
783
783
  }
784
784
  function rt(t, e) {
785
785
  return {
786
786
  annotationType_: t,
787
787
  options_: e,
788
- make_: Jr,
789
- extend_: Zr,
790
- decorate_20223_: Xr
788
+ make_: Zr,
789
+ extend_: Xr,
790
+ decorate_20223_: Yr
791
791
  };
792
792
  }
793
- function Jr(t, e, n, i) {
793
+ function Zr(t, e, n, i) {
794
794
  var a;
795
795
  if ((a = this.options_) != null && a.bound)
796
796
  return this.extend_(t, e, n, !1) === null ? 0 : 1;
@@ -798,14 +798,14 @@ function Jr(t, e, n, i) {
798
798
  return this.extend_(t, e, n, !1) === null ? 0 : 2;
799
799
  if ($t(n.value))
800
800
  return 1;
801
- var r = qi(t, this, e, n, !1);
801
+ var r = Hi(t, this, e, n, !1);
802
802
  return ae(i, e, r), 2;
803
803
  }
804
- function Zr(t, e, n, i) {
805
- var a = qi(t, this, e, n);
804
+ function Xr(t, e, n, i) {
805
+ var a = Hi(t, this, e, n);
806
806
  return t.defineProperty_(e, a, i);
807
807
  }
808
- function Xr(t, e) {
808
+ function Yr(t, e) {
809
809
  var n = e.kind, i = e.name, a = e.addInitializer, r = this, s = function(u) {
810
810
  var d, f, c, _;
811
811
  return be((d = (f = r.options_) == null ? void 0 : f.name) != null ? d : i.toString(), u, (c = (_ = r.options_) == null ? void 0 : _.autoAction) != null ? c : !1);
@@ -826,12 +826,12 @@ function Xr(t, e) {
826
826
  L("Cannot apply '" + r.annotationType_ + "' to '" + String(i) + "' (kind: " + n + "):" + (`
827
827
  '` + r.annotationType_ + "' can only be used on properties with a function value."));
828
828
  }
829
- function Yr(t, e, n, i) {
829
+ function es(t, e, n, i) {
830
830
  e.annotationType_, i.value;
831
831
  }
832
- function qi(t, e, n, i, a) {
832
+ function Hi(t, e, n, i, a) {
833
833
  var r, s, o, l, u, d, f;
834
- a === void 0 && (a = v.safeDescriptors), Yr(t, e, n, i);
834
+ a === void 0 && (a = v.safeDescriptors), es(t, e, n, i);
835
835
  var c = i.value;
836
836
  if ((r = e.options_) != null && r.bound) {
837
837
  var _;
@@ -855,16 +855,16 @@ function qi(t, e, n, i, a) {
855
855
  writable: !a
856
856
  };
857
857
  }
858
- function Wi(t, e) {
858
+ function qi(t, e) {
859
859
  return {
860
860
  annotationType_: t,
861
861
  options_: e,
862
- make_: es,
863
- extend_: ts,
864
- decorate_20223_: ns
862
+ make_: ts,
863
+ extend_: ns,
864
+ decorate_20223_: is
865
865
  };
866
866
  }
867
- function es(t, e, n, i) {
867
+ function ts(t, e, n, i) {
868
868
  var a;
869
869
  if (i === t.target_)
870
870
  return this.extend_(t, e, n, !1) === null ? 0 : 2;
@@ -872,25 +872,25 @@ function es(t, e, n, i) {
872
872
  return 0;
873
873
  if (Ze(n.value))
874
874
  return 1;
875
- var r = Ji(t, this, e, n, !1, !1);
875
+ var r = Wi(t, this, e, n, !1, !1);
876
876
  return ae(i, e, r), 2;
877
877
  }
878
- function ts(t, e, n, i) {
879
- var a, r = Ji(t, this, e, n, (a = this.options_) == null ? void 0 : a.bound);
878
+ function ns(t, e, n, i) {
879
+ var a, r = Wi(t, this, e, n, (a = this.options_) == null ? void 0 : a.bound);
880
880
  return t.defineProperty_(e, r, i);
881
881
  }
882
- function ns(t, e) {
882
+ function is(t, e) {
883
883
  var n, i = e.name, a = e.addInitializer;
884
884
  return Ze(t) || (t = De(t)), (n = this.options_) != null && n.bound && a(function() {
885
885
  var r = this, s = r[i].bind(r);
886
886
  s.isMobXFlow = !0, r[i] = s;
887
887
  }), t;
888
888
  }
889
- function is(t, e, n, i) {
889
+ function as(t, e, n, i) {
890
890
  e.annotationType_, i.value;
891
891
  }
892
- function Ji(t, e, n, i, a, r) {
893
- r === void 0 && (r = v.safeDescriptors), is(t, e, n, i);
892
+ function Wi(t, e, n, i, a, r) {
893
+ r === void 0 && (r = v.safeDescriptors), as(t, e, n, i);
894
894
  var s = i.value;
895
895
  if (Ze(s) || (s = De(s)), a) {
896
896
  var o;
@@ -908,25 +908,25 @@ function Ji(t, e, n, i, a, r) {
908
908
  writable: !r
909
909
  };
910
910
  }
911
- function wn(t, e) {
911
+ function On(t, e) {
912
912
  return {
913
913
  annotationType_: t,
914
914
  options_: e,
915
- make_: as,
916
- extend_: rs,
917
- decorate_20223_: ss
915
+ make_: rs,
916
+ extend_: ss,
917
+ decorate_20223_: os
918
918
  };
919
919
  }
920
- function as(t, e, n) {
920
+ function rs(t, e, n) {
921
921
  return this.extend_(t, e, n, !1) === null ? 0 : 1;
922
922
  }
923
- function rs(t, e, n, i) {
924
- return os(t, this, e, n), t.defineComputedProperty_(e, ke({}, this.options_, {
923
+ function ss(t, e, n, i) {
924
+ return ls(t, this, e, n), t.defineComputedProperty_(e, ke({}, this.options_, {
925
925
  get: n.get,
926
926
  set: n.set
927
927
  }), i);
928
928
  }
929
- function ss(t, e) {
929
+ function os(t, e) {
930
930
  var n = this, i = e.name, a = e.addInitializer;
931
931
  return a(function() {
932
932
  var r = Ue(this)[E], s = ke({}, n.options_, {
@@ -938,26 +938,26 @@ function ss(t, e) {
938
938
  return this[E].getObservablePropValue_(i);
939
939
  };
940
940
  }
941
- function os(t, e, n, i) {
941
+ function ls(t, e, n, i) {
942
942
  e.annotationType_, i.get;
943
943
  }
944
944
  function Ut(t, e) {
945
945
  return {
946
946
  annotationType_: t,
947
947
  options_: e,
948
- make_: ls,
949
- extend_: us,
950
- decorate_20223_: ds
948
+ make_: us,
949
+ extend_: ds,
950
+ decorate_20223_: cs
951
951
  };
952
952
  }
953
- function ls(t, e, n) {
953
+ function us(t, e, n) {
954
954
  return this.extend_(t, e, n, !1) === null ? 0 : 1;
955
955
  }
956
- function us(t, e, n, i) {
956
+ function ds(t, e, n, i) {
957
957
  var a, r;
958
- return cs(t, this), t.defineObservableProperty_(e, n.value, (a = (r = this.options_) == null ? void 0 : r.enhancer) != null ? a : ye, i);
958
+ return fs(t, this), t.defineObservableProperty_(e, n.value, (a = (r = this.options_) == null ? void 0 : r.enhancer) != null ? a : ye, i);
959
959
  }
960
- function ds(t, e) {
960
+ function cs(t, e) {
961
961
  var n = this, i = e.kind, a = e.name, r = /* @__PURE__ */ new WeakSet();
962
962
  function s(o, l) {
963
963
  var u, d, f = Ue(o)[E], c = new ve(l, (u = (d = n.options_) == null ? void 0 : d.enhancer) != null ? u : ye, "ObservableObject." + a.toString(), !1);
@@ -976,20 +976,20 @@ function ds(t, e) {
976
976
  }
977
977
  };
978
978
  }
979
- function cs(t, e, n, i) {
979
+ function fs(t, e, n, i) {
980
980
  e.annotationType_;
981
981
  }
982
- var fs = "true", ms = /* @__PURE__ */ Zi();
983
- function Zi(t) {
982
+ var ms = "true", hs = /* @__PURE__ */ Ji();
983
+ function Ji(t) {
984
984
  return {
985
- annotationType_: fs,
985
+ annotationType_: ms,
986
986
  options_: t,
987
- make_: hs,
988
- extend_: ps,
989
- decorate_20223_: vs
987
+ make_: ps,
988
+ extend_: vs,
989
+ decorate_20223_: gs
990
990
  };
991
991
  }
992
- function hs(t, e, n, i) {
992
+ function ps(t, e, n, i) {
993
993
  var a, r;
994
994
  if (n.get)
995
995
  return pe.make_(t, e, n, i);
@@ -1005,7 +1005,7 @@ function hs(t, e, n, i) {
1005
1005
  }
1006
1006
  if (i !== t.target_ && typeof n.value == "function") {
1007
1007
  var o;
1008
- if (Bi(n.value)) {
1008
+ if ($i(n.value)) {
1009
1009
  var l, u = (l = this.options_) != null && l.autoBind ? De.bound : De;
1010
1010
  return u.make_(t, e, n, i);
1011
1011
  }
@@ -1019,7 +1019,7 @@ function hs(t, e, n, i) {
1019
1019
  }
1020
1020
  return f.make_(t, e, n, i);
1021
1021
  }
1022
- function ps(t, e, n, i) {
1022
+ function vs(t, e, n, i) {
1023
1023
  var a, r;
1024
1024
  if (n.get)
1025
1025
  return pe.extend_(t, e, n, i);
@@ -1035,89 +1035,89 @@ function ps(t, e, n, i) {
1035
1035
  var o = ((r = this.options_) == null ? void 0 : r.deep) === !1 ? B.ref : B;
1036
1036
  return o.extend_(t, e, n, i);
1037
1037
  }
1038
- function vs(t, e) {
1038
+ function gs(t, e) {
1039
1039
  L("'" + this.annotationType_ + "' cannot be used as a decorator");
1040
1040
  }
1041
- var gs = "observable", ks = "observable.ref", ys = "observable.shallow", bs = "observable.struct", Xi = {
1041
+ var ks = "observable", ys = "observable.ref", bs = "observable.shallow", Ss = "observable.struct", Zi = {
1042
1042
  deep: !0,
1043
1043
  name: void 0,
1044
1044
  defaultDecorator: void 0,
1045
1045
  proxy: !0
1046
1046
  };
1047
- Object.freeze(Xi);
1047
+ Object.freeze(Zi);
1048
1048
  function ut(t) {
1049
- return t || Xi;
1049
+ return t || Zi;
1050
1050
  }
1051
- var sn = /* @__PURE__ */ Ut(gs), Ss = /* @__PURE__ */ Ut(ks, {
1051
+ var rn = /* @__PURE__ */ Ut(ks), _s = /* @__PURE__ */ Ut(ys, {
1052
1052
  enhancer: jt
1053
- }), _s = /* @__PURE__ */ Ut(ys, {
1054
- enhancer: Qr
1055
1053
  }), Ns = /* @__PURE__ */ Ut(bs, {
1056
1054
  enhancer: Hr
1057
- }), Yi = /* @__PURE__ */ re(sn);
1055
+ }), Os = /* @__PURE__ */ Ut(Ss, {
1056
+ enhancer: qr
1057
+ }), Xi = /* @__PURE__ */ re(rn);
1058
1058
  function dt(t) {
1059
- return t.deep === !0 ? ye : t.deep === !1 ? jt : ws(t.defaultDecorator);
1059
+ return t.deep === !0 ? ye : t.deep === !1 ? jt : Fs(t.defaultDecorator);
1060
1060
  }
1061
- function Os(t) {
1061
+ function ws(t) {
1062
1062
  var e;
1063
- return t ? (e = t.defaultDecorator) != null ? e : Zi(t) : void 0;
1063
+ return t ? (e = t.defaultDecorator) != null ? e : Ji(t) : void 0;
1064
1064
  }
1065
- function ws(t) {
1065
+ function Fs(t) {
1066
1066
  var e, n;
1067
1067
  return t && (e = (n = t.options_) == null ? void 0 : n.enhancer) != null ? e : ye;
1068
1068
  }
1069
- function ea(t, e, n) {
1069
+ function Yi(t, e, n) {
1070
1070
  if (it(e))
1071
- return sn.decorate_20223_(t, e);
1071
+ return rn.decorate_20223_(t, e);
1072
1072
  if (ge(e)) {
1073
- Ve(t, e, sn);
1073
+ Ve(t, e, rn);
1074
1074
  return;
1075
1075
  }
1076
- return _a(t) ? t : me(t) ? B.object(t, e, n) : Array.isArray(t) ? B.array(t, e) : Ie(t) ? B.map(t, e) : nt(t) ? B.set(t, e) : typeof t == "object" && t !== null ? t : B.box(t, e);
1076
+ return Sa(t) ? t : me(t) ? B.object(t, e, n) : Array.isArray(t) ? B.array(t, e) : Ie(t) ? B.map(t, e) : nt(t) ? B.set(t, e) : typeof t == "object" && t !== null ? t : B.box(t, e);
1077
1077
  }
1078
- ji(ea, Yi);
1079
- var Fs = {
1078
+ Vi(Yi, Xi);
1079
+ var As = {
1080
1080
  box: function(e, n) {
1081
1081
  var i = ut(n);
1082
1082
  return new ve(e, dt(i), i.name, !0, i.equals);
1083
1083
  },
1084
1084
  array: function(e, n) {
1085
1085
  var i = ut(n);
1086
- return (v.useProxies === !1 || i.proxy === !1 ? No : mo)(e, dt(i), i.name);
1086
+ return (v.useProxies === !1 || i.proxy === !1 ? Oo : ho)(e, dt(i), i.name);
1087
1087
  },
1088
1088
  map: function(e, n) {
1089
1089
  var i = ut(n);
1090
- return new Aa(e, dt(i), i.name);
1090
+ return new Fa(e, dt(i), i.name);
1091
1091
  },
1092
1092
  set: function(e, n) {
1093
1093
  var i = ut(n);
1094
- return new xa(e, dt(i), i.name);
1094
+ return new Ca(e, dt(i), i.name);
1095
1095
  },
1096
1096
  object: function(e, n, i) {
1097
1097
  return Oe(function() {
1098
- return no(v.useProxies === !1 || (i == null ? void 0 : i.proxy) === !1 ? Ue({}, i) : uo({}, i), e, n);
1098
+ return io(v.useProxies === !1 || (i == null ? void 0 : i.proxy) === !1 ? Ue({}, i) : co({}, i), e, n);
1099
1099
  });
1100
1100
  },
1101
- ref: /* @__PURE__ */ re(Ss),
1102
- shallow: /* @__PURE__ */ re(_s),
1103
- deep: Yi,
1104
- struct: /* @__PURE__ */ re(Ns)
1105
- }, B = /* @__PURE__ */ ji(ea, Fs), ta = "computed", As = "computed.struct", on = /* @__PURE__ */ wn(ta), Es = /* @__PURE__ */ wn(As, {
1101
+ ref: /* @__PURE__ */ re(_s),
1102
+ shallow: /* @__PURE__ */ re(Ns),
1103
+ deep: Xi,
1104
+ struct: /* @__PURE__ */ re(Os)
1105
+ }, B = /* @__PURE__ */ Vi(Yi, As), ea = "computed", Es = "computed.struct", sn = /* @__PURE__ */ On(ea), Cs = /* @__PURE__ */ On(Es, {
1106
1106
  equals: bt.structural
1107
1107
  }), pe = function(e, n) {
1108
1108
  if (it(n))
1109
- return on.decorate_20223_(e, n);
1109
+ return sn.decorate_20223_(e, n);
1110
1110
  if (ge(n))
1111
- return Ve(e, n, on);
1111
+ return Ve(e, n, sn);
1112
1112
  if (me(e))
1113
- return re(wn(ta, e));
1113
+ return re(On(ea, e));
1114
1114
  var i = me(n) ? n : {};
1115
1115
  return i.get = e, i.name || (i.name = e.name || ""), new Te(i);
1116
1116
  };
1117
- Object.assign(pe, on);
1118
- pe.struct = /* @__PURE__ */ re(Es);
1119
- var Hn, qn, St = 0, Cs = 1, xs = (Hn = (qn = /* @__PURE__ */ yt(function() {
1120
- }, "name")) == null ? void 0 : qn.configurable) != null ? Hn : !1, Wn = {
1117
+ Object.assign(pe, sn);
1118
+ pe.struct = /* @__PURE__ */ re(Cs);
1119
+ var Qn, Hn, St = 0, xs = 1, Rs = (Qn = (Hn = /* @__PURE__ */ yt(function() {
1120
+ }, "name")) == null ? void 0 : Hn.configurable) != null ? Qn : !1, qn = {
1121
1121
  value: "action",
1122
1122
  configurable: !0,
1123
1123
  writable: !1,
@@ -1126,53 +1126,53 @@ var Hn, qn, St = 0, Cs = 1, xs = (Hn = (qn = /* @__PURE__ */ yt(function() {
1126
1126
  function be(t, e, n, i) {
1127
1127
  n === void 0 && (n = !1);
1128
1128
  function a() {
1129
- return na(t, n, e, i || this, arguments);
1129
+ return ta(t, n, e, i || this, arguments);
1130
1130
  }
1131
1131
  return a.isMobxAction = !0, a.toString = function() {
1132
1132
  return e.toString();
1133
- }, xs && (Wn.value = t, ae(a, "name", Wn)), a;
1133
+ }, Rs && (qn.value = t, ae(a, "name", qn)), a;
1134
1134
  }
1135
- function na(t, e, n, i, a) {
1136
- var r = Rs(t, e);
1135
+ function ta(t, e, n, i, a) {
1136
+ var r = Ts(t, e);
1137
1137
  try {
1138
1138
  return n.apply(i, a);
1139
1139
  } catch (s) {
1140
1140
  throw r.error_ = s, s;
1141
1141
  } finally {
1142
- Ts(r);
1142
+ Ds(r);
1143
1143
  }
1144
1144
  }
1145
- function Rs(t, e, n, i) {
1145
+ function Ts(t, e, n, i) {
1146
1146
  var a = !1, r = 0, s = v.trackingDerivation, o = !e || !s;
1147
1147
  W();
1148
1148
  var l = v.allowStateChanges;
1149
- o && (_e(), l = Fn(!0));
1150
- var u = En(!0), d = {
1149
+ o && (_e(), l = wn(!0));
1150
+ var u = An(!0), d = {
1151
1151
  runAsAction_: o,
1152
1152
  prevDerivation_: s,
1153
1153
  prevAllowStateChanges_: l,
1154
1154
  prevAllowStateReads_: u,
1155
1155
  notifySpy_: a,
1156
1156
  startTime_: r,
1157
- actionId_: Cs++,
1157
+ actionId_: xs++,
1158
1158
  parentActionId_: St
1159
1159
  };
1160
1160
  return St = d.actionId_, d;
1161
1161
  }
1162
- function Ts(t) {
1163
- St !== t.actionId_ && L(30), St = t.parentActionId_, t.error_ !== void 0 && (v.suppressReactionErrors = !0), An(t.prevAllowStateChanges_), Qe(t.prevAllowStateReads_), J(), t.runAsAction_ && ue(t.prevDerivation_), v.suppressReactionErrors = !1;
1162
+ function Ds(t) {
1163
+ St !== t.actionId_ && L(30), St = t.parentActionId_, t.error_ !== void 0 && (v.suppressReactionErrors = !0), Fn(t.prevAllowStateChanges_), Qe(t.prevAllowStateReads_), J(), t.runAsAction_ && ue(t.prevDerivation_), v.suppressReactionErrors = !1;
1164
1164
  }
1165
- function Fn(t) {
1165
+ function wn(t) {
1166
1166
  var e = v.allowStateChanges;
1167
1167
  return v.allowStateChanges = t, e;
1168
1168
  }
1169
- function An(t) {
1169
+ function Fn(t) {
1170
1170
  v.allowStateChanges = t;
1171
1171
  }
1172
- var ia;
1173
- ia = Symbol.toPrimitive;
1172
+ var na;
1173
+ na = Symbol.toPrimitive;
1174
1174
  var ve = /* @__PURE__ */ function(t) {
1175
- Qi(e, t);
1175
+ Gi(e, t);
1176
1176
  function e(i, a, r, s, o) {
1177
1177
  var l;
1178
1178
  return r === void 0 && (r = "ObservableValue"), o === void 0 && (o = bt.default), l = t.call(this, r) || this, l.enhancer = void 0, l.name_ = void 0, l.equals = void 0, l.hasUnreportedChange_ = !1, l.interceptors_ = void 0, l.changeListeners_ = void 0, l.value_ = void 0, l.dehancer = void 0, l.enhancer = a, l.name_ = r, l.equals = o, l.value_ = a(i, void 0, r), l;
@@ -1222,19 +1222,19 @@ var ve = /* @__PURE__ */ function(t) {
1222
1222
  }, n.toString = function() {
1223
1223
  return this.name_ + "[" + this.value_ + "]";
1224
1224
  }, n.valueOf = function() {
1225
- return Gi(this.get());
1226
- }, n[ia] = function() {
1225
+ return Ki(this.get());
1226
+ }, n[na] = function() {
1227
1227
  return this.valueOf();
1228
1228
  }, e;
1229
- }(at), aa;
1230
- aa = Symbol.toPrimitive;
1229
+ }(at), ia;
1230
+ ia = Symbol.toPrimitive;
1231
1231
  var Te = /* @__PURE__ */ function() {
1232
1232
  function t(n) {
1233
1233
  this.dependenciesState_ = V.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.isBeingObserved_ = !1, this.isPendingUnobservation_ = !1, this.observers_ = /* @__PURE__ */ new Set(), this.diffValue_ = 0, this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = V.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new Nt(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.isComputing_ = !1, this.isRunningSetter_ = !1, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = _t.NONE, this.scope_ = void 0, this.equals_ = void 0, this.requiresReaction_ = void 0, this.keepAlive_ = void 0, this.onBOL = void 0, this.onBUOL = void 0, n.get || L(31), this.derivation = n.get, this.name_ = n.name || "ComputedValue", n.set && (this.setter_ = be("ComputedValue-setter", n.set)), this.equals_ = n.equals || (n.compareStructural || n.struct ? bt.structural : bt.default), this.scope_ = n.context, this.requiresReaction_ = n.requiresReaction, this.keepAlive_ = !!n.keepAlive;
1234
1234
  }
1235
1235
  var e = t.prototype;
1236
1236
  return e.onBecomeStale_ = function() {
1237
- Vs(this);
1237
+ js(this);
1238
1238
  }, e.onBO = function() {
1239
1239
  this.onBOL && this.onBOL.forEach(function(i) {
1240
1240
  return i();
@@ -1246,10 +1246,10 @@ var Te = /* @__PURE__ */ function() {
1246
1246
  }, e.get = function() {
1247
1247
  if (this.isComputing_ && L(32, this.name_, this.derivation), v.inBatch === 0 && // !globalState.trackingDerivatpion &&
1248
1248
  this.observers_.size === 0 && !this.keepAlive_)
1249
- ln(this) && (this.warnAboutUntrackedRead_(), W(), this.value_ = this.computeValue_(!1), J());
1250
- else if (ca(this), ln(this)) {
1249
+ on(this) && (this.warnAboutUntrackedRead_(), W(), this.value_ = this.computeValue_(!1), J());
1250
+ else if (da(this), on(this)) {
1251
1251
  var i = v.trackingContext;
1252
- this.keepAlive_ && !i && (v.trackingContext = this), this.trackAndCompute() && Is(this), v.trackingContext = i;
1252
+ this.keepAlive_ && !i && (v.trackingContext = this), this.trackAndCompute() && Vs(this), v.trackingContext = i;
1253
1253
  }
1254
1254
  var a = this.value_;
1255
1255
  if (ht(a))
@@ -1273,9 +1273,9 @@ var Te = /* @__PURE__ */ function() {
1273
1273
  return s && (this.value_ = r), s;
1274
1274
  }, e.computeValue_ = function(i) {
1275
1275
  this.isComputing_ = !0;
1276
- var a = Fn(!1), r;
1276
+ var a = wn(!1), r;
1277
1277
  if (i)
1278
- r = ra(this, this.derivation, this.scope_);
1278
+ r = aa(this, this.derivation, this.scope_);
1279
1279
  else if (v.disableErrorBoundaries === !0)
1280
1280
  r = this.derivation.call(this.scope_);
1281
1281
  else
@@ -1284,12 +1284,12 @@ var Te = /* @__PURE__ */ function() {
1284
1284
  } catch (s) {
1285
1285
  r = new Nt(s);
1286
1286
  }
1287
- return An(a), this.isComputing_ = !1, r;
1287
+ return Fn(a), this.isComputing_ = !1, r;
1288
1288
  }, e.suspend_ = function() {
1289
- this.keepAlive_ || (un(this), this.value_ = void 0);
1289
+ this.keepAlive_ || (ln(this), this.value_ = void 0);
1290
1290
  }, e.observe_ = function(i, a) {
1291
1291
  var r = this, s = !0, o = void 0;
1292
- return Hs(function() {
1292
+ return qs(function() {
1293
1293
  var l = r.get();
1294
1294
  if (!s || a) {
1295
1295
  var u = _e();
@@ -1308,8 +1308,8 @@ var Te = /* @__PURE__ */ function() {
1308
1308
  }, e.toString = function() {
1309
1309
  return this.name_ + "[" + this.derivation.toString() + "]";
1310
1310
  }, e.valueOf = function() {
1311
- return Gi(this.get());
1312
- }, e[aa] = function() {
1311
+ return Ki(this.get());
1312
+ }, e[ia] = function() {
1313
1313
  return this.valueOf();
1314
1314
  }, t;
1315
1315
  }(), Mt = /* @__PURE__ */ Se("ComputedValue", Te), V;
@@ -1326,7 +1326,7 @@ var Nt = function(e) {
1326
1326
  function ht(t) {
1327
1327
  return t instanceof Nt;
1328
1328
  }
1329
- function ln(t) {
1329
+ function on(t) {
1330
1330
  switch (t.dependenciesState_) {
1331
1331
  case V.UP_TO_DATE_:
1332
1332
  return !1;
@@ -1334,7 +1334,7 @@ function ln(t) {
1334
1334
  case V.STALE_:
1335
1335
  return !0;
1336
1336
  case V.POSSIBLY_STALE_: {
1337
- for (var e = En(!0), n = _e(), i = t.observing_, a = i.length, r = 0; r < a; r++) {
1337
+ for (var e = An(!0), n = _e(), i = t.observing_, a = i.length, r = 0; r < a; r++) {
1338
1338
  var s = i[r];
1339
1339
  if (Mt(s)) {
1340
1340
  if (v.disableErrorBoundaries)
@@ -1349,13 +1349,13 @@ function ln(t) {
1349
1349
  return ue(n), Qe(e), !0;
1350
1350
  }
1351
1351
  }
1352
- return oa(t), ue(n), Qe(e), !1;
1352
+ return sa(t), ue(n), Qe(e), !1;
1353
1353
  }
1354
1354
  }
1355
1355
  }
1356
- function ra(t, e, n) {
1357
- var i = En(!0);
1358
- oa(t), t.newObserving_ = new Array(t.observing_.length + 100), t.unboundDepsCount_ = 0, t.runId_ = ++v.runId;
1356
+ function aa(t, e, n) {
1357
+ var i = An(!0);
1358
+ sa(t), t.newObserving_ = new Array(t.observing_.length + 100), t.unboundDepsCount_ = 0, t.runId_ = ++v.runId;
1359
1359
  var a = v.trackingDerivation;
1360
1360
  v.trackingDerivation = t, v.inBatch++;
1361
1361
  var r;
@@ -1367,31 +1367,31 @@ function ra(t, e, n) {
1367
1367
  } catch (s) {
1368
1368
  r = new Nt(s);
1369
1369
  }
1370
- return v.inBatch--, v.trackingDerivation = a, Ds(t), Qe(i), r;
1370
+ return v.inBatch--, v.trackingDerivation = a, Ls(t), Qe(i), r;
1371
1371
  }
1372
- function Ds(t) {
1372
+ function Ls(t) {
1373
1373
  for (var e = t.observing_, n = t.observing_ = t.newObserving_, i = V.UP_TO_DATE_, a = 0, r = t.unboundDepsCount_, s = 0; s < r; s++) {
1374
1374
  var o = n[s];
1375
1375
  o.diffValue_ === 0 && (o.diffValue_ = 1, a !== s && (n[a] = o), a++), o.dependenciesState_ > i && (i = o.dependenciesState_);
1376
1376
  }
1377
1377
  for (n.length = a, t.newObserving_ = null, r = e.length; r--; ) {
1378
1378
  var l = e[r];
1379
- l.diffValue_ === 0 && ua(l, t), l.diffValue_ = 0;
1379
+ l.diffValue_ === 0 && la(l, t), l.diffValue_ = 0;
1380
1380
  }
1381
1381
  for (; a--; ) {
1382
1382
  var u = n[a];
1383
- u.diffValue_ === 1 && (u.diffValue_ = 0, Ps(u, t));
1383
+ u.diffValue_ === 1 && (u.diffValue_ = 0, Is(u, t));
1384
1384
  }
1385
1385
  i !== V.UP_TO_DATE_ && (t.dependenciesState_ = i, t.onBecomeStale_());
1386
1386
  }
1387
- function un(t) {
1387
+ function ln(t) {
1388
1388
  var e = t.observing_;
1389
1389
  t.observing_ = [];
1390
1390
  for (var n = e.length; n--; )
1391
- ua(e[n], t);
1391
+ la(e[n], t);
1392
1392
  t.dependenciesState_ = V.NOT_TRACKING_;
1393
1393
  }
1394
- function sa(t) {
1394
+ function ra(t) {
1395
1395
  var e = _e();
1396
1396
  try {
1397
1397
  return t();
@@ -1406,14 +1406,14 @@ function _e() {
1406
1406
  function ue(t) {
1407
1407
  v.trackingDerivation = t;
1408
1408
  }
1409
- function En(t) {
1409
+ function An(t) {
1410
1410
  var e = v.allowStateReads;
1411
1411
  return v.allowStateReads = t, e;
1412
1412
  }
1413
1413
  function Qe(t) {
1414
1414
  v.allowStateReads = t;
1415
1415
  }
1416
- function oa(t) {
1416
+ function sa(t) {
1417
1417
  if (t.dependenciesState_ !== V.UP_TO_DATE_) {
1418
1418
  t.dependenciesState_ = V.UP_TO_DATE_;
1419
1419
  for (var e = t.observing_, n = e.length; n--; )
@@ -1422,25 +1422,25 @@ function oa(t) {
1422
1422
  }
1423
1423
  var pt = function() {
1424
1424
  this.version = 6, this.UNCHANGED = {}, this.trackingDerivation = null, this.trackingContext = null, this.runId = 0, this.mobxGuid = 0, this.inBatch = 0, this.pendingUnobservations = [], this.pendingReactions = [], this.isRunningReactions = !1, this.allowStateChanges = !1, this.allowStateReads = !0, this.enforceActions = !0, this.spyListeners = [], this.globalReactionErrorHandlers = [], this.computedRequiresReaction = !1, this.reactionRequiresObservable = !1, this.observableRequiresReaction = !1, this.disableErrorBoundaries = !1, this.suppressReactionErrors = !1, this.useProxies = !0, this.verifyProxies = !1, this.safeDescriptors = !0;
1425
- }, vt = !0, la = !1, v = /* @__PURE__ */ function() {
1426
- var t = /* @__PURE__ */ _n();
1425
+ }, vt = !0, oa = !1, v = /* @__PURE__ */ function() {
1426
+ var t = /* @__PURE__ */ Sn();
1427
1427
  return t.__mobxInstanceCount > 0 && !t.__mobxGlobals && (vt = !1), t.__mobxGlobals && t.__mobxGlobals.version !== new pt().version && (vt = !1), vt ? t.__mobxGlobals ? (t.__mobxInstanceCount += 1, t.__mobxGlobals.UNCHANGED || (t.__mobxGlobals.UNCHANGED = {}), t.__mobxGlobals) : (t.__mobxInstanceCount = 1, t.__mobxGlobals = /* @__PURE__ */ new pt()) : (setTimeout(function() {
1428
- la || L(35);
1428
+ oa || L(35);
1429
1429
  }, 1), new pt());
1430
1430
  }();
1431
- function Ls() {
1432
- if ((v.pendingReactions.length || v.inBatch || v.isRunningReactions) && L(36), la = !0, vt) {
1433
- var t = _n();
1431
+ function Ps() {
1432
+ if ((v.pendingReactions.length || v.inBatch || v.isRunningReactions) && L(36), oa = !0, vt) {
1433
+ var t = Sn();
1434
1434
  --t.__mobxInstanceCount === 0 && (t.__mobxGlobals = void 0), v = new pt();
1435
1435
  }
1436
1436
  }
1437
- function Ps(t, e) {
1437
+ function Is(t, e) {
1438
1438
  t.observers_.add(e), t.lowestObserverState_ > e.dependenciesState_ && (t.lowestObserverState_ = e.dependenciesState_);
1439
1439
  }
1440
- function ua(t, e) {
1441
- t.observers_.delete(e), t.observers_.size === 0 && da(t);
1440
+ function la(t, e) {
1441
+ t.observers_.delete(e), t.observers_.size === 0 && ua(t);
1442
1442
  }
1443
- function da(t) {
1443
+ function ua(t) {
1444
1444
  t.isPendingUnobservation_ === !1 && (t.isPendingUnobservation_ = !0, v.pendingUnobservations.push(t));
1445
1445
  }
1446
1446
  function W() {
@@ -1448,7 +1448,7 @@ function W() {
1448
1448
  }
1449
1449
  function J() {
1450
1450
  if (--v.inBatch === 0) {
1451
- ma();
1451
+ fa();
1452
1452
  for (var t = v.pendingUnobservations, e = 0; e < t.length; e++) {
1453
1453
  var n = t[e];
1454
1454
  n.isPendingUnobservation_ = !1, n.observers_.size === 0 && (n.isBeingObserved_ && (n.isBeingObserved_ = !1, n.onBUO()), n instanceof Te && n.suspend_());
@@ -1456,21 +1456,21 @@ function J() {
1456
1456
  v.pendingUnobservations = [];
1457
1457
  }
1458
1458
  }
1459
- function ca(t) {
1459
+ function da(t) {
1460
1460
  var e = v.trackingDerivation;
1461
- return e !== null ? (e.runId_ !== t.lastAccessedBy_ && (t.lastAccessedBy_ = e.runId_, e.newObserving_[e.unboundDepsCount_++] = t, !t.isBeingObserved_ && v.trackingContext && (t.isBeingObserved_ = !0, t.onBO())), t.isBeingObserved_) : (t.observers_.size === 0 && v.inBatch > 0 && da(t), !1);
1461
+ return e !== null ? (e.runId_ !== t.lastAccessedBy_ && (t.lastAccessedBy_ = e.runId_, e.newObserving_[e.unboundDepsCount_++] = t, !t.isBeingObserved_ && v.trackingContext && (t.isBeingObserved_ = !0, t.onBO())), t.isBeingObserved_) : (t.observers_.size === 0 && v.inBatch > 0 && ua(t), !1);
1462
1462
  }
1463
- function fa(t) {
1463
+ function ca(t) {
1464
1464
  t.lowestObserverState_ !== V.STALE_ && (t.lowestObserverState_ = V.STALE_, t.observers_.forEach(function(e) {
1465
1465
  e.dependenciesState_ === V.UP_TO_DATE_ && e.onBecomeStale_(), e.dependenciesState_ = V.STALE_;
1466
1466
  }));
1467
1467
  }
1468
- function Is(t) {
1468
+ function Vs(t) {
1469
1469
  t.lowestObserverState_ !== V.STALE_ && (t.lowestObserverState_ = V.STALE_, t.observers_.forEach(function(e) {
1470
1470
  e.dependenciesState_ === V.POSSIBLY_STALE_ ? e.dependenciesState_ = V.STALE_ : e.dependenciesState_ === V.UP_TO_DATE_ && (t.lowestObserverState_ = V.UP_TO_DATE_);
1471
1471
  }));
1472
1472
  }
1473
- function Vs(t) {
1473
+ function js(t) {
1474
1474
  t.lowestObserverState_ === V.UP_TO_DATE_ && (t.lowestObserverState_ = V.POSSIBLY_STALE_, t.observers_.forEach(function(e) {
1475
1475
  e.dependenciesState_ === V.UP_TO_DATE_ && (e.dependenciesState_ = V.POSSIBLY_STALE_, e.onBecomeStale_());
1476
1476
  }));
@@ -1483,14 +1483,14 @@ var We = /* @__PURE__ */ function() {
1483
1483
  return e.onBecomeStale_ = function() {
1484
1484
  this.schedule_();
1485
1485
  }, e.schedule_ = function() {
1486
- this.isScheduled_ || (this.isScheduled_ = !0, v.pendingReactions.push(this), ma());
1486
+ this.isScheduled_ || (this.isScheduled_ = !0, v.pendingReactions.push(this), fa());
1487
1487
  }, e.isScheduled = function() {
1488
1488
  return this.isScheduled_;
1489
1489
  }, e.runReaction_ = function() {
1490
1490
  if (!this.isDisposed_) {
1491
1491
  W(), this.isScheduled_ = !1;
1492
1492
  var i = v.trackingContext;
1493
- if (v.trackingContext = this, ln(this)) {
1493
+ if (v.trackingContext = this, on(this)) {
1494
1494
  this.isTrackPending_ = !0;
1495
1495
  try {
1496
1496
  this.onInvalidate_();
@@ -1505,8 +1505,8 @@ var We = /* @__PURE__ */ function() {
1505
1505
  W(), this.isRunning_ = !0;
1506
1506
  var a = v.trackingContext;
1507
1507
  v.trackingContext = this;
1508
- var r = ra(this, i, void 0);
1509
- v.trackingContext = a, this.isRunning_ = !1, this.isTrackPending_ = !1, this.isDisposed_ && un(this), ht(r) && this.reportExceptionInDerivation_(r.cause), J();
1508
+ var r = aa(this, i, void 0);
1509
+ v.trackingContext = a, this.isRunning_ = !1, this.isTrackPending_ = !1, this.isDisposed_ && ln(this), ht(r) && this.reportExceptionInDerivation_(r.cause), J();
1510
1510
  }
1511
1511
  }, e.reportExceptionInDerivation_ = function(i) {
1512
1512
  var a = this;
@@ -1521,7 +1521,7 @@ var We = /* @__PURE__ */ function() {
1521
1521
  return s(i, a);
1522
1522
  });
1523
1523
  }, e.dispose = function() {
1524
- this.isDisposed_ || (this.isDisposed_ = !0, this.isRunning_ || (W(), un(this), J()));
1524
+ this.isDisposed_ || (this.isDisposed_ = !0, this.isRunning_ || (W(), ln(this), J()));
1525
1525
  }, e.getDisposer_ = function(i) {
1526
1526
  var a = this, r = function s() {
1527
1527
  a.dispose(), i == null || i.removeEventListener == null || i.removeEventListener("abort", s);
@@ -1531,25 +1531,25 @@ var We = /* @__PURE__ */ function() {
1531
1531
  return "Reaction[" + this.name_ + "]";
1532
1532
  }, e.trace = function(i) {
1533
1533
  }, t;
1534
- }(), js = 100, dn = function(e) {
1534
+ }(), Us = 100, un = function(e) {
1535
1535
  return e();
1536
1536
  };
1537
- function ma() {
1538
- v.inBatch > 0 || v.isRunningReactions || dn(Us);
1537
+ function fa() {
1538
+ v.inBatch > 0 || v.isRunningReactions || un(Ms);
1539
1539
  }
1540
- function Us() {
1540
+ function Ms() {
1541
1541
  v.isRunningReactions = !0;
1542
1542
  for (var t = v.pendingReactions, e = 0; t.length > 0; ) {
1543
- ++e === js && (console.error("[mobx] cycle in reaction: " + t[0]), t.splice(0));
1543
+ ++e === Us && (console.error("[mobx] cycle in reaction: " + t[0]), t.splice(0));
1544
1544
  for (var n = t.splice(0), i = 0, a = n.length; i < a; i++)
1545
1545
  n[i].runReaction_();
1546
1546
  }
1547
1547
  v.isRunningReactions = !1;
1548
1548
  }
1549
1549
  var Ot = /* @__PURE__ */ Se("Reaction", We);
1550
- function Ms(t) {
1551
- var e = dn;
1552
- dn = function(i) {
1550
+ function $s(t) {
1551
+ var e = un;
1552
+ un = function(i) {
1553
1553
  return t(function() {
1554
1554
  return e(i);
1555
1555
  });
@@ -1558,58 +1558,58 @@ function Ms(t) {
1558
1558
  function He() {
1559
1559
  return !1;
1560
1560
  }
1561
- function $s(t) {
1561
+ function Bs(t) {
1562
1562
  return console.warn("[mobx.spy] Is a no-op in production builds"), function() {
1563
1563
  };
1564
1564
  }
1565
- var ha = "action", Bs = "action.bound", pa = "autoAction", zs = "autoAction.bound", va = "<unnamed action>", cn = /* @__PURE__ */ rt(ha), Ks = /* @__PURE__ */ rt(Bs, {
1565
+ var ma = "action", zs = "action.bound", ha = "autoAction", Ks = "autoAction.bound", pa = "<unnamed action>", dn = /* @__PURE__ */ rt(ma), Gs = /* @__PURE__ */ rt(zs, {
1566
1566
  bound: !0
1567
- }), fn = /* @__PURE__ */ rt(pa, {
1567
+ }), cn = /* @__PURE__ */ rt(ha, {
1568
1568
  autoAction: !0
1569
- }), Gs = /* @__PURE__ */ rt(zs, {
1569
+ }), Qs = /* @__PURE__ */ rt(Ks, {
1570
1570
  autoAction: !0,
1571
1571
  bound: !0
1572
1572
  });
1573
- function ga(t) {
1573
+ function va(t) {
1574
1574
  var e = function(i, a) {
1575
1575
  if (ee(i))
1576
- return be(i.name || va, i, t);
1576
+ return be(i.name || pa, i, t);
1577
1577
  if (ee(a))
1578
1578
  return be(i, a, t);
1579
1579
  if (it(a))
1580
- return (t ? fn : cn).decorate_20223_(i, a);
1580
+ return (t ? cn : dn).decorate_20223_(i, a);
1581
1581
  if (ge(a))
1582
- return Ve(i, a, t ? fn : cn);
1582
+ return Ve(i, a, t ? cn : dn);
1583
1583
  if (ge(i))
1584
- return re(rt(t ? pa : ha, {
1584
+ return re(rt(t ? ha : ma, {
1585
1585
  name: i,
1586
1586
  autoAction: t
1587
1587
  }));
1588
1588
  };
1589
1589
  return e;
1590
1590
  }
1591
- var de = /* @__PURE__ */ ga(!1);
1592
- Object.assign(de, cn);
1593
- var Je = /* @__PURE__ */ ga(!0);
1594
- Object.assign(Je, fn);
1595
- de.bound = /* @__PURE__ */ re(Ks);
1596
- Je.bound = /* @__PURE__ */ re(Gs);
1597
- function Qs(t) {
1598
- return na(t.name || va, !1, t, this, void 0);
1591
+ var de = /* @__PURE__ */ va(!1);
1592
+ Object.assign(de, dn);
1593
+ var Je = /* @__PURE__ */ va(!0);
1594
+ Object.assign(Je, cn);
1595
+ de.bound = /* @__PURE__ */ re(Gs);
1596
+ Je.bound = /* @__PURE__ */ re(Qs);
1597
+ function Hs(t) {
1598
+ return ta(t.name || pa, !1, t, this, void 0);
1599
1599
  }
1600
1600
  function $t(t) {
1601
1601
  return ee(t) && t.isMobxAction === !0;
1602
1602
  }
1603
- function Hs(t, e) {
1603
+ function qs(t, e) {
1604
1604
  var n, i, a, r, s;
1605
- e === void 0 && (e = Ui);
1605
+ e === void 0 && (e = ji);
1606
1606
  var o = (n = (i = e) == null ? void 0 : i.name) != null ? n : "Autorun", l = !e.scheduler && !e.delay, u;
1607
1607
  if (l)
1608
1608
  u = new We(o, function() {
1609
1609
  this.track(c);
1610
1610
  }, e.onError, e.requiresObservable);
1611
1611
  else {
1612
- var d = Ws(e), f = !1;
1612
+ var d = Js(e), f = !1;
1613
1613
  u = new We(o, function() {
1614
1614
  f || (f = !0, d(function() {
1615
1615
  f = !1, u.isDisposed_ || u.track(c);
@@ -1621,42 +1621,42 @@ function Hs(t, e) {
1621
1621
  }
1622
1622
  return (a = e) != null && (r = a.signal) != null && r.aborted || u.schedule_(), u.getDisposer_((s = e) == null ? void 0 : s.signal);
1623
1623
  }
1624
- var qs = function(e) {
1624
+ var Ws = function(e) {
1625
1625
  return e();
1626
1626
  };
1627
- function Ws(t) {
1627
+ function Js(t) {
1628
1628
  return t.scheduler ? t.scheduler : t.delay ? function(e) {
1629
1629
  return setTimeout(e, t.delay);
1630
- } : qs;
1630
+ } : Ws;
1631
1631
  }
1632
- var Js = "onBO", Zs = "onBUO";
1633
- function Xs(t, e, n) {
1634
- return ya(Js, t, e, n);
1632
+ var Zs = "onBO", Xs = "onBUO";
1633
+ function Ys(t, e, n) {
1634
+ return ka(Zs, t, e, n);
1635
1635
  }
1636
- function ka(t, e, n) {
1637
- return ya(Zs, t, e, n);
1636
+ function ga(t, e, n) {
1637
+ return ka(Xs, t, e, n);
1638
1638
  }
1639
- function ya(t, e, n, i) {
1639
+ function ka(t, e, n, i) {
1640
1640
  var a = typeof i == "function" ? Le(e, n) : Le(e), r = ee(i) ? i : n, s = t + "L";
1641
1641
  return a[s] ? a[s].add(r) : a[s] = /* @__PURE__ */ new Set([r]), function() {
1642
1642
  var o = a[s];
1643
1643
  o && (o.delete(r), o.size === 0 && delete a[s]);
1644
1644
  };
1645
1645
  }
1646
- var Ys = "never", ct = "always", eo = "observed";
1647
- function to(t) {
1648
- t.isolateGlobalState === !0 && Ls();
1646
+ var eo = "never", ct = "always", to = "observed";
1647
+ function no(t) {
1648
+ t.isolateGlobalState === !0 && Ps();
1649
1649
  var e = t.useProxies, n = t.enforceActions;
1650
- if (e !== void 0 && (v.useProxies = e === ct ? !0 : e === Ys ? !1 : typeof Proxy != "undefined"), e === "ifavailable" && (v.verifyProxies = !0), n !== void 0) {
1651
- var i = n === ct ? ct : n === eo;
1650
+ if (e !== void 0 && (v.useProxies = e === ct ? !0 : e === eo ? !1 : typeof Proxy != "undefined"), e === "ifavailable" && (v.verifyProxies = !0), n !== void 0) {
1651
+ var i = n === ct ? ct : n === to;
1652
1652
  v.enforceActions = i, v.allowStateChanges = !(i === !0 || i === ct);
1653
1653
  }
1654
1654
  ["computedRequiresReaction", "reactionRequiresObservable", "observableRequiresReaction", "disableErrorBoundaries", "safeDescriptors"].forEach(function(a) {
1655
1655
  a in t && (v[a] = !!t[a]);
1656
- }), v.allowStateReads = !v.observableRequiresReaction, t.reactionScheduler && Ms(t.reactionScheduler);
1656
+ }), v.allowStateReads = !v.observableRequiresReaction, t.reactionScheduler && $s(t.reactionScheduler);
1657
1657
  }
1658
- function no(t, e, n, i) {
1659
- var a = Vr(e);
1658
+ function io(t, e, n, i) {
1659
+ var a = jr(e);
1660
1660
  return Oe(function() {
1661
1661
  var r = Ue(t, i)[E];
1662
1662
  Vt(a).forEach(function(s) {
@@ -1669,32 +1669,32 @@ function no(t, e, n, i) {
1669
1669
  });
1670
1670
  }), t;
1671
1671
  }
1672
- function io(t, e) {
1673
- return ba(Le(t, e));
1672
+ function ao(t, e) {
1673
+ return ya(Le(t, e));
1674
1674
  }
1675
- function ba(t) {
1675
+ function ya(t) {
1676
1676
  var e = {
1677
1677
  name: t.name_
1678
1678
  };
1679
- return t.observing_ && t.observing_.length > 0 && (e.dependencies = ao(t.observing_).map(ba)), e;
1679
+ return t.observing_ && t.observing_.length > 0 && (e.dependencies = ro(t.observing_).map(ya)), e;
1680
1680
  }
1681
- function ao(t) {
1681
+ function ro(t) {
1682
1682
  return Array.from(new Set(t));
1683
1683
  }
1684
- var ro = 0;
1685
- function Sa() {
1684
+ var so = 0;
1685
+ function ba() {
1686
1686
  this.message = "FLOW_CANCELLED";
1687
1687
  }
1688
- Sa.prototype = /* @__PURE__ */ Object.create(Error.prototype);
1689
- var Zt = /* @__PURE__ */ Wi("flow"), so = /* @__PURE__ */ Wi("flow.bound", {
1688
+ ba.prototype = /* @__PURE__ */ Object.create(Error.prototype);
1689
+ var Jt = /* @__PURE__ */ qi("flow"), oo = /* @__PURE__ */ qi("flow.bound", {
1690
1690
  bound: !0
1691
1691
  }), De = /* @__PURE__ */ Object.assign(function(e, n) {
1692
1692
  if (it(n))
1693
- return Zt.decorate_20223_(e, n);
1693
+ return Jt.decorate_20223_(e, n);
1694
1694
  if (ge(n))
1695
- return Ve(e, n, Zt);
1695
+ return Ve(e, n, Jt);
1696
1696
  var i = e, a = i.name || "<unnamed flow>", r = function() {
1697
- var o = this, l = arguments, u = ++ro, d = de(a + " - runid: " + u + " - init", i).apply(o, l), f, c = void 0, _ = new Promise(function(O, g) {
1697
+ var o = this, l = arguments, u = ++so, d = de(a + " - runid: " + u + " - init", i).apply(o, l), f, c = void 0, _ = new Promise(function(O, g) {
1698
1698
  var k = 0;
1699
1699
  f = g;
1700
1700
  function N(w) {
@@ -1728,28 +1728,28 @@ var Zt = /* @__PURE__ */ Wi("flow"), so = /* @__PURE__ */ Wi("flow.bound", {
1728
1728
  });
1729
1729
  return _.cancel = de(a + " - runid: " + u + " - cancel", function() {
1730
1730
  try {
1731
- c && Jn(c);
1731
+ c && Wn(c);
1732
1732
  var O = d.return(void 0), g = Promise.resolve(O.value);
1733
- g.then(xe, xe), Jn(g), f(new Sa());
1733
+ g.then(xe, xe), Wn(g), f(new ba());
1734
1734
  } catch (k) {
1735
1735
  f(k);
1736
1736
  }
1737
1737
  }), _;
1738
1738
  };
1739
1739
  return r.isMobXFlow = !0, r;
1740
- }, Zt);
1741
- De.bound = /* @__PURE__ */ re(so);
1742
- function Jn(t) {
1740
+ }, Jt);
1741
+ De.bound = /* @__PURE__ */ re(oo);
1742
+ function Wn(t) {
1743
1743
  ee(t.cancel) && t.cancel();
1744
1744
  }
1745
1745
  function Ze(t) {
1746
1746
  return (t == null ? void 0 : t.isMobXFlow) === !0;
1747
1747
  }
1748
- function oo(t, e) {
1749
- return t ? e !== void 0 ? Xe(t) ? t[E].values_.has(e) : !1 : Xe(t) || !!t[E] || On(t) || Ot(t) || Mt(t) : !1;
1748
+ function lo(t, e) {
1749
+ return t ? e !== void 0 ? Xe(t) ? t[E].values_.has(e) : !1 : Xe(t) || !!t[E] || Nn(t) || Ot(t) || Mt(t) : !1;
1750
1750
  }
1751
- function _a(t) {
1752
- return oo(t);
1751
+ function Sa(t) {
1752
+ return lo(t);
1753
1753
  }
1754
1754
  function oe(t, e) {
1755
1755
  e === void 0 && (e = void 0), W();
@@ -1762,7 +1762,7 @@ function oe(t, e) {
1762
1762
  function Fe(t) {
1763
1763
  return t[E];
1764
1764
  }
1765
- var lo = {
1765
+ var uo = {
1766
1766
  has: function(e, n) {
1767
1767
  return Fe(e).has_(n);
1768
1768
  },
@@ -1788,16 +1788,16 @@ var lo = {
1788
1788
  L(13);
1789
1789
  }
1790
1790
  };
1791
- function uo(t, e) {
1791
+ function co(t, e) {
1792
1792
  var n, i;
1793
- return Mi(), t = Ue(t, e), (i = (n = t[E]).proxy_) != null ? i : n.proxy_ = new Proxy(t, lo);
1793
+ return Ui(), t = Ue(t, e), (i = (n = t[E]).proxy_) != null ? i : n.proxy_ = new Proxy(t, uo);
1794
1794
  }
1795
1795
  function H(t) {
1796
1796
  return t.interceptors_ !== void 0 && t.interceptors_.length > 0;
1797
1797
  }
1798
1798
  function st(t, e) {
1799
1799
  var n = t.interceptors_ || (t.interceptors_ = []);
1800
- return n.push(e), $i(function() {
1800
+ return n.push(e), Mi(function() {
1801
1801
  var i = n.indexOf(e);
1802
1802
  i !== -1 && n.splice(i, 1);
1803
1803
  });
@@ -1817,7 +1817,7 @@ function X(t) {
1817
1817
  }
1818
1818
  function ot(t, e) {
1819
1819
  var n = t.changeListeners_ || (t.changeListeners_ = []);
1820
- return n.push(e), $i(function() {
1820
+ return n.push(e), Mi(function() {
1821
1821
  var i = n.indexOf(e);
1822
1822
  i !== -1 && n.splice(i, 1);
1823
1823
  });
@@ -1831,15 +1831,15 @@ function Y(t, e) {
1831
1831
  ue(n);
1832
1832
  }
1833
1833
  }
1834
- function Na(t, e, n) {
1834
+ function _a(t, e, n) {
1835
1835
  return Oe(function() {
1836
1836
  var i, a = Ue(t, n)[E];
1837
- (i = e) != null || (e = $r(t)), Vt(e).forEach(function(r) {
1837
+ (i = e) != null || (e = Br(t)), Vt(e).forEach(function(r) {
1838
1838
  return a.make_(r, e[r]);
1839
1839
  });
1840
1840
  }), t;
1841
1841
  }
1842
- var Zn = "splice", se = "update", co = 1e4, fo = {
1842
+ var Jn = "splice", se = "update", fo = 1e4, mo = {
1843
1843
  get: function(e, n) {
1844
1844
  var i = e[E];
1845
1845
  return n === E ? i : n === "length" ? i.getArrayLength_() : typeof n == "string" && !isNaN(n) ? i.get_(parseInt(n)) : le(wt, n) ? wt[n] : e[n];
@@ -1851,7 +1851,7 @@ var Zn = "splice", se = "update", co = 1e4, fo = {
1851
1851
  preventExtensions: function() {
1852
1852
  L(15);
1853
1853
  }
1854
- }, Cn = /* @__PURE__ */ function() {
1854
+ }, En = /* @__PURE__ */ function() {
1855
1855
  function t(n, i, a, r) {
1856
1856
  n === void 0 && (n = "ObservableArray"), this.owned_ = void 0, this.legacyMode_ = void 0, this.atom_ = void 0, this.values_ = [], this.interceptors_ = void 0, this.changeListeners_ = void 0, this.enhancer_ = void 0, this.dehancer = void 0, this.proxy_ = void 0, this.lastKnownLength_ = 0, this.owned_ = a, this.legacyMode_ = r, this.atom_ = new at(n), this.enhancer_ = function(s, o) {
1857
1857
  return i(s, o, "ObservableArray[..]");
@@ -1889,21 +1889,21 @@ var Zn = "splice", se = "update", co = 1e4, fo = {
1889
1889
  } else
1890
1890
  this.spliceWithArray_(i, a - i);
1891
1891
  }, e.updateArrayLength_ = function(i, a) {
1892
- i !== this.lastKnownLength_ && L(16), this.lastKnownLength_ += a, this.legacyMode_ && a > 0 && La(i + a + 1);
1892
+ i !== this.lastKnownLength_ && L(16), this.lastKnownLength_ += a, this.legacyMode_ && a > 0 && Da(i + a + 1);
1893
1893
  }, e.spliceWithArray_ = function(i, a, r) {
1894
1894
  var s = this;
1895
1895
  this.atom_;
1896
1896
  var o = this.values_.length;
1897
- if (i === void 0 ? i = 0 : i > o ? i = o : i < 0 && (i = Math.max(0, o + i)), arguments.length === 1 ? a = o - i : a == null ? a = 0 : a = Math.max(0, Math.min(a, o - i)), r === void 0 && (r = an), H(this)) {
1897
+ if (i === void 0 ? i = 0 : i > o ? i = o : i < 0 && (i = Math.max(0, o + i)), arguments.length === 1 ? a = o - i : a == null ? a = 0 : a = Math.max(0, Math.min(a, o - i)), r === void 0 && (r = nn), H(this)) {
1898
1898
  var l = q(this, {
1899
1899
  object: this.proxy_,
1900
- type: Zn,
1900
+ type: Jn,
1901
1901
  index: i,
1902
1902
  removedCount: a,
1903
1903
  added: r
1904
1904
  });
1905
1905
  if (!l)
1906
- return an;
1906
+ return nn;
1907
1907
  a = l.removedCount, r = l.added;
1908
1908
  }
1909
1909
  if (r = r.length === 0 ? r : r.map(function(f) {
@@ -1915,7 +1915,7 @@ var Zn = "splice", se = "update", co = 1e4, fo = {
1915
1915
  var d = this.spliceItemsIntoValues_(i, a, r);
1916
1916
  return (a !== 0 || r.length !== 0) && this.notifyArraySplice_(i, r, d), this.dehanceValues_(d);
1917
1917
  }, e.spliceItemsIntoValues_ = function(i, a, r) {
1918
- if (r.length < co) {
1918
+ if (r.length < fo) {
1919
1919
  var s;
1920
1920
  return (s = this.values_).splice.apply(s, [i, a].concat(r));
1921
1921
  } else {
@@ -1943,7 +1943,7 @@ var Zn = "splice", se = "update", co = 1e4, fo = {
1943
1943
  observableKind: "array",
1944
1944
  object: this.proxy_,
1945
1945
  debugObjectName: this.atom_.name_,
1946
- type: Zn,
1946
+ type: Jn,
1947
1947
  index: i,
1948
1948
  removed: r,
1949
1949
  added: a,
@@ -1983,11 +1983,11 @@ var Zn = "splice", se = "update", co = 1e4, fo = {
1983
1983
  }
1984
1984
  }, t;
1985
1985
  }();
1986
- function mo(t, e, n, i) {
1987
- return n === void 0 && (n = "ObservableArray"), i === void 0 && (i = !1), Mi(), Oe(function() {
1988
- var a = new Cn(n, e, i, !1);
1989
- zi(a.values_, E, a);
1990
- var r = new Proxy(a.values_, fo);
1986
+ function ho(t, e, n, i) {
1987
+ return n === void 0 && (n = "ObservableArray"), i === void 0 && (i = !1), Ui(), Oe(function() {
1988
+ var a = new En(n, e, i, !1);
1989
+ Bi(a.values_, E, a);
1990
+ var r = new Proxy(a.values_, mo);
1991
1991
  return a.proxy_ = r, t && t.length && a.spliceWithArray_(0, 0, t), r;
1992
1992
  });
1993
1993
  }
@@ -2079,8 +2079,8 @@ M("forEach", te);
2079
2079
  M("map", te);
2080
2080
  M("some", te);
2081
2081
  M("toReversed", te);
2082
- M("reduce", Oa);
2083
- M("reduceRight", Oa);
2082
+ M("reduce", Na);
2083
+ M("reduceRight", Na);
2084
2084
  function M(t, e) {
2085
2085
  typeof Array.prototype[t] == "function" && (wt[t] = e(t));
2086
2086
  }
@@ -2102,7 +2102,7 @@ function te(t) {
2102
2102
  });
2103
2103
  };
2104
2104
  }
2105
- function Oa(t) {
2105
+ function Na(t) {
2106
2106
  return function() {
2107
2107
  var e = this, n = this[E];
2108
2108
  n.atom_.reportObserved();
@@ -2112,18 +2112,18 @@ function Oa(t) {
2112
2112
  }, i[t].apply(i, arguments);
2113
2113
  };
2114
2114
  }
2115
- var ho = /* @__PURE__ */ Se("ObservableArrayAdministration", Cn);
2115
+ var po = /* @__PURE__ */ Se("ObservableArrayAdministration", En);
2116
2116
  function Bt(t) {
2117
- return Pt(t) && ho(t[E]);
2117
+ return Pt(t) && po(t[E]);
2118
2118
  }
2119
- var wa, Fa, po = {}, ce = "add", Ft = "delete";
2120
- wa = Symbol.iterator;
2121
- Fa = Symbol.toStringTag;
2122
- var Aa = /* @__PURE__ */ function() {
2119
+ var Oa, wa, vo = {}, ce = "add", Ft = "delete";
2120
+ Oa = Symbol.iterator;
2121
+ wa = Symbol.toStringTag;
2122
+ var Fa = /* @__PURE__ */ function() {
2123
2123
  function t(n, i, a) {
2124
2124
  var r = this;
2125
- i === void 0 && (i = ye), a === void 0 && (a = "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[E] = po, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = i, this.name_ = a, ee(Map) || L(18), Oe(function() {
2126
- r.keysAtom_ = Hi("ObservableMap.keys()"), r.data_ = /* @__PURE__ */ new Map(), r.hasMap_ = /* @__PURE__ */ new Map(), n && r.merge(n);
2125
+ i === void 0 && (i = ye), a === void 0 && (a = "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[E] = vo, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = i, this.name_ = a, ee(Map) || L(18), Oe(function() {
2126
+ r.keysAtom_ = Qi("ObservableMap.keys()"), r.data_ = /* @__PURE__ */ new Map(), r.hasMap_ = /* @__PURE__ */ new Map(), n && r.merge(n);
2127
2127
  });
2128
2128
  }
2129
2129
  var e = t.prototype;
@@ -2136,7 +2136,7 @@ var Aa = /* @__PURE__ */ function() {
2136
2136
  var r = this.hasMap_.get(i);
2137
2137
  if (!r) {
2138
2138
  var s = r = new ve(this.has_(i), jt, "ObservableMap.key?", !1);
2139
- this.hasMap_.set(i, s), ka(s, function() {
2139
+ this.hasMap_.set(i, s), ga(s, function() {
2140
2140
  return a.hasMap_.delete(i);
2141
2141
  });
2142
2142
  }
@@ -2240,7 +2240,7 @@ var Aa = /* @__PURE__ */ function() {
2240
2240
  };
2241
2241
  }
2242
2242
  });
2243
- }, e[wa] = function() {
2243
+ }, e[Oa] = function() {
2244
2244
  return this.entries();
2245
2245
  }, e.forEach = function(i, a) {
2246
2246
  for (var r = Re(this), s; !(s = r()).done; ) {
@@ -2250,7 +2250,7 @@ var Aa = /* @__PURE__ */ function() {
2250
2250
  }, e.merge = function(i) {
2251
2251
  var a = this;
2252
2252
  return Ne(i) && (i = new Map(i)), oe(function() {
2253
- me(i) ? Ir(i).forEach(function(r) {
2253
+ me(i) ? Vr(i).forEach(function(r) {
2254
2254
  return a.set(r, i[r]);
2255
2255
  }) : Array.isArray(i) ? i.forEach(function(r) {
2256
2256
  var s = r[0], o = r[1];
@@ -2262,7 +2262,7 @@ var Aa = /* @__PURE__ */ function() {
2262
2262
  }, e.clear = function() {
2263
2263
  var i = this;
2264
2264
  oe(function() {
2265
- sa(function() {
2265
+ ra(function() {
2266
2266
  for (var a = Re(i.keys()), r; !(r = a()).done; ) {
2267
2267
  var s = r.value;
2268
2268
  i.delete(s);
@@ -2272,7 +2272,7 @@ var Aa = /* @__PURE__ */ function() {
2272
2272
  }, e.replace = function(i) {
2273
2273
  var a = this;
2274
2274
  return oe(function() {
2275
- for (var r = vo(i), s = /* @__PURE__ */ new Map(), o = !1, l = Re(a.data_.keys()), u; !(u = l()).done; ) {
2275
+ for (var r = go(i), s = /* @__PURE__ */ new Map(), o = !1, l = Re(a.data_.keys()), u; !(u = l()).done; ) {
2276
2276
  var d = u.value;
2277
2277
  if (!r.has(d)) {
2278
2278
  var f = a.delete(d);
@@ -2312,19 +2312,19 @@ var Aa = /* @__PURE__ */ function() {
2312
2312
  return ot(this, i);
2313
2313
  }, e.intercept_ = function(i) {
2314
2314
  return st(this, i);
2315
- }, Nn(t, [{
2315
+ }, _n(t, [{
2316
2316
  key: "size",
2317
2317
  get: function() {
2318
2318
  return this.keysAtom_.reportObserved(), this.data_.size;
2319
2319
  }
2320
2320
  }, {
2321
- key: Fa,
2321
+ key: wa,
2322
2322
  get: function() {
2323
2323
  return "Map";
2324
2324
  }
2325
2325
  }]), t;
2326
- }(), Ne = /* @__PURE__ */ Se("ObservableMap", Aa);
2327
- function vo(t) {
2326
+ }(), Ne = /* @__PURE__ */ Se("ObservableMap", Fa);
2327
+ function go(t) {
2328
2328
  if (Ie(t) || Ne(t))
2329
2329
  return t;
2330
2330
  if (Array.isArray(t))
@@ -2337,16 +2337,16 @@ function vo(t) {
2337
2337
  } else
2338
2338
  return L(21, t);
2339
2339
  }
2340
- var Ea, Ca, go = {};
2341
- Ea = Symbol.iterator;
2342
- Ca = Symbol.toStringTag;
2343
- var xa = /* @__PURE__ */ function() {
2340
+ var Aa, Ea, ko = {};
2341
+ Aa = Symbol.iterator;
2342
+ Ea = Symbol.toStringTag;
2343
+ var Ca = /* @__PURE__ */ function() {
2344
2344
  function t(n, i, a) {
2345
2345
  var r = this;
2346
- i === void 0 && (i = ye), a === void 0 && (a = "ObservableSet"), this.name_ = void 0, this[E] = go, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = a, ee(Set) || L(22), this.enhancer_ = function(s, o) {
2346
+ i === void 0 && (i = ye), a === void 0 && (a = "ObservableSet"), this.name_ = void 0, this[E] = ko, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = a, ee(Set) || L(22), this.enhancer_ = function(s, o) {
2347
2347
  return i(s, o, a);
2348
2348
  }, Oe(function() {
2349
- r.atom_ = Hi(r.name_), n && r.replace(n);
2349
+ r.atom_ = Qi(r.name_), n && r.replace(n);
2350
2350
  });
2351
2351
  }
2352
2352
  var e = t.prototype;
@@ -2355,7 +2355,7 @@ var xa = /* @__PURE__ */ function() {
2355
2355
  }, e.clear = function() {
2356
2356
  var i = this;
2357
2357
  oe(function() {
2358
- sa(function() {
2358
+ ra(function() {
2359
2359
  for (var a = Re(i.data_.values()), r; !(r = a()).done; ) {
2360
2360
  var s = r.value;
2361
2361
  i.delete(s);
@@ -2463,22 +2463,22 @@ var xa = /* @__PURE__ */ function() {
2463
2463
  return Array.from(this);
2464
2464
  }, e.toString = function() {
2465
2465
  return "[object ObservableSet]";
2466
- }, e[Ea] = function() {
2466
+ }, e[Aa] = function() {
2467
2467
  return this.values();
2468
- }, Nn(t, [{
2468
+ }, _n(t, [{
2469
2469
  key: "size",
2470
2470
  get: function() {
2471
2471
  return this.atom_.reportObserved(), this.data_.size;
2472
2472
  }
2473
2473
  }, {
2474
- key: Ca,
2474
+ key: Ea,
2475
2475
  get: function() {
2476
2476
  return "Set";
2477
2477
  }
2478
2478
  }]), t;
2479
- }(), je = /* @__PURE__ */ Se("ObservableSet", xa), Xn = /* @__PURE__ */ Object.create(null), Yn = "remove", Ra = /* @__PURE__ */ function() {
2479
+ }(), je = /* @__PURE__ */ Se("ObservableSet", Ca), Zn = /* @__PURE__ */ Object.create(null), Xn = "remove", xa = /* @__PURE__ */ function() {
2480
2480
  function t(n, i, a, r) {
2481
- i === void 0 && (i = /* @__PURE__ */ new Map()), r === void 0 && (r = ms), this.target_ = void 0, this.values_ = void 0, this.name_ = void 0, this.defaultAnnotation_ = void 0, this.keysAtom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.proxy_ = void 0, this.isPlainObject_ = void 0, this.appliedAnnotations_ = void 0, this.pendingKeys_ = void 0, this.target_ = n, this.values_ = i, this.name_ = a, this.defaultAnnotation_ = r, this.keysAtom_ = new at("ObservableObject.keys"), this.isPlainObject_ = me(this.target_);
2481
+ i === void 0 && (i = /* @__PURE__ */ new Map()), r === void 0 && (r = hs), this.target_ = void 0, this.values_ = void 0, this.name_ = void 0, this.defaultAnnotation_ = void 0, this.keysAtom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.proxy_ = void 0, this.isPlainObject_ = void 0, this.appliedAnnotations_ = void 0, this.pendingKeys_ = void 0, this.target_ = n, this.values_ = i, this.name_ = a, this.defaultAnnotation_ = r, this.keysAtom_ = new at("ObservableObject.keys"), this.isPlainObject_ = me(this.target_);
2482
2482
  }
2483
2483
  var e = t.prototype;
2484
2484
  return e.getObservablePropValue_ = function(i) {
@@ -2545,13 +2545,13 @@ var xa = /* @__PURE__ */ function() {
2545
2545
  }
2546
2546
  s = Object.getPrototypeOf(s);
2547
2547
  }
2548
- ti(this, a, i);
2548
+ ei(this, a, i);
2549
2549
  }
2550
2550
  }, e.extend_ = function(i, a, r, s) {
2551
2551
  if (s === void 0 && (s = !1), r === !0 && (r = this.defaultAnnotation_), r === !1)
2552
2552
  return this.defineProperty_(i, a, s);
2553
2553
  var o = r.extend_(this, i, a, s);
2554
- return o && ti(this, r, i), o;
2554
+ return o && ei(this, r, i), o;
2555
2555
  }, e.defineProperty_ = function(i, a, r) {
2556
2556
  r === void 0 && (r = !1), this.keysAtom_;
2557
2557
  try {
@@ -2601,7 +2601,7 @@ var xa = /* @__PURE__ */ function() {
2601
2601
  return null;
2602
2602
  a = l.newValue;
2603
2603
  }
2604
- var u = ei(i), d = {
2604
+ var u = Yn(i), d = {
2605
2605
  configurable: v.safeDescriptors ? this.isPlainObject_ : !0,
2606
2606
  enumerable: !0,
2607
2607
  get: u.get,
@@ -2636,7 +2636,7 @@ var xa = /* @__PURE__ */ function() {
2636
2636
  return null;
2637
2637
  }
2638
2638
  a.name || (a.name = "ObservableObject.key"), a.context = this.proxy_ || this.target_;
2639
- var l = ei(i), u = {
2639
+ var l = Yn(i), u = {
2640
2640
  configurable: v.safeDescriptors ? this.isPlainObject_ : !0,
2641
2641
  enumerable: !1,
2642
2642
  get: l.get,
@@ -2659,7 +2659,7 @@ var xa = /* @__PURE__ */ function() {
2659
2659
  var r = q(this, {
2660
2660
  object: this.proxy_ || this.target_,
2661
2661
  name: i,
2662
- type: Yn
2662
+ type: Xn
2663
2663
  });
2664
2664
  if (!r)
2665
2665
  return null;
@@ -2677,9 +2677,9 @@ var xa = /* @__PURE__ */ function() {
2677
2677
  return !1;
2678
2678
  } else
2679
2679
  delete this.target_[i];
2680
- if (d && (this.values_.delete(i), d instanceof ve && (f = d.value_), fa(d)), this.keysAtom_.reportChanged(), (s = this.pendingKeys_) == null || (o = s.get(i)) == null || o.set(i in this.target_), l || u) {
2680
+ if (d && (this.values_.delete(i), d instanceof ve && (f = d.value_), ca(d)), this.keysAtom_.reportChanged(), (s = this.pendingKeys_) == null || (o = s.get(i)) == null || o.set(i in this.target_), l || u) {
2681
2681
  var _ = {
2682
- type: Yn,
2682
+ type: Xn,
2683
2683
  observableKind: "object",
2684
2684
  object: this.proxy_ || this.target_,
2685
2685
  debugObjectName: this.name_,
@@ -2720,12 +2720,12 @@ function Ue(t, e) {
2720
2720
  var n;
2721
2721
  if (le(t, E))
2722
2722
  return t;
2723
- var i = (n = e == null ? void 0 : e.name) != null ? n : "ObservableObject", a = new Ra(t, /* @__PURE__ */ new Map(), String(i), Os(e));
2723
+ var i = (n = e == null ? void 0 : e.name) != null ? n : "ObservableObject", a = new xa(t, /* @__PURE__ */ new Map(), String(i), ws(e));
2724
2724
  return It(t, E, a), t;
2725
2725
  }
2726
- var ko = /* @__PURE__ */ Se("ObservableObjectAdministration", Ra);
2727
- function ei(t) {
2728
- return Xn[t] || (Xn[t] = {
2726
+ var yo = /* @__PURE__ */ Se("ObservableObjectAdministration", xa);
2727
+ function Yn(t) {
2728
+ return Zn[t] || (Zn[t] = {
2729
2729
  get: function() {
2730
2730
  return this[E].getObservablePropValue_(t);
2731
2731
  },
@@ -2735,32 +2735,32 @@ function ei(t) {
2735
2735
  });
2736
2736
  }
2737
2737
  function Xe(t) {
2738
- return Pt(t) ? ko(t[E]) : !1;
2738
+ return Pt(t) ? yo(t[E]) : !1;
2739
2739
  }
2740
- function ti(t, e, n) {
2740
+ function ei(t, e, n) {
2741
2741
  var i;
2742
2742
  (i = t.target_[ne]) == null || delete i[n];
2743
2743
  }
2744
- var yo = /* @__PURE__ */ Da(0), bo = /* @__PURE__ */ function() {
2744
+ var bo = /* @__PURE__ */ Ta(0), So = /* @__PURE__ */ function() {
2745
2745
  var t = !1, e = {};
2746
2746
  return Object.defineProperty(e, "0", {
2747
2747
  set: function() {
2748
2748
  t = !0;
2749
2749
  }
2750
2750
  }), Object.create(e)[0] = 1, t === !1;
2751
- }(), Xt = 0, Ta = function() {
2751
+ }(), Zt = 0, Ra = function() {
2752
2752
  };
2753
- function So(t, e) {
2753
+ function _o(t, e) {
2754
2754
  Object.setPrototypeOf ? Object.setPrototypeOf(t.prototype, e) : t.prototype.__proto__ !== void 0 ? t.prototype.__proto__ = e : t.prototype = e;
2755
2755
  }
2756
- So(Ta, Array.prototype);
2757
- var xn = /* @__PURE__ */ function(t, e, n) {
2758
- Qi(i, t);
2756
+ _o(Ra, Array.prototype);
2757
+ var Cn = /* @__PURE__ */ function(t, e, n) {
2758
+ Gi(i, t);
2759
2759
  function i(r, s, o, l) {
2760
2760
  var u;
2761
2761
  return o === void 0 && (o = "ObservableArray"), l === void 0 && (l = !1), u = t.call(this) || this, Oe(function() {
2762
- var d = new Cn(o, s, l, !0);
2763
- d.proxy_ = Jt(u), zi(Jt(u), E, d), r && r.length && u.spliceWithArray(0, 0, r), bo && Object.defineProperty(Jt(u), "0", yo);
2762
+ var d = new En(o, s, l, !0);
2763
+ d.proxy_ = Wt(u), Bi(Wt(u), E, d), r && r.length && u.spliceWithArray(0, 0, r), So && Object.defineProperty(Wt(u), "0", bo);
2764
2764
  }), u;
2765
2765
  }
2766
2766
  var a = i.prototype;
@@ -2788,7 +2788,7 @@ var xn = /* @__PURE__ */ function(t, e, n) {
2788
2788
  };
2789
2789
  }
2790
2790
  });
2791
- }, Nn(i, [{
2791
+ }, _n(i, [{
2792
2792
  key: "length",
2793
2793
  get: function() {
2794
2794
  return this[E].getArrayLength_();
@@ -2802,12 +2802,12 @@ var xn = /* @__PURE__ */ function(t, e, n) {
2802
2802
  return "Array";
2803
2803
  }
2804
2804
  }]), i;
2805
- }(Ta, Symbol.toStringTag, Symbol.iterator);
2805
+ }(Ra, Symbol.toStringTag, Symbol.iterator);
2806
2806
  Object.entries(wt).forEach(function(t) {
2807
2807
  var e = t[0], n = t[1];
2808
- e !== "concat" && It(xn.prototype, e, n);
2808
+ e !== "concat" && It(Cn.prototype, e, n);
2809
2809
  });
2810
- function Da(t) {
2810
+ function Ta(t) {
2811
2811
  return {
2812
2812
  enumerable: !1,
2813
2813
  configurable: !0,
@@ -2819,19 +2819,19 @@ function Da(t) {
2819
2819
  }
2820
2820
  };
2821
2821
  }
2822
- function _o(t) {
2823
- ae(xn.prototype, "" + t, Da(t));
2822
+ function No(t) {
2823
+ ae(Cn.prototype, "" + t, Ta(t));
2824
2824
  }
2825
- function La(t) {
2826
- if (t > Xt) {
2827
- for (var e = Xt; e < t + 100; e++)
2828
- _o(e);
2829
- Xt = t;
2825
+ function Da(t) {
2826
+ if (t > Zt) {
2827
+ for (var e = Zt; e < t + 100; e++)
2828
+ No(e);
2829
+ Zt = t;
2830
2830
  }
2831
2831
  }
2832
- La(1e3);
2833
- function No(t, e, n) {
2834
- return new xn(t, e, n);
2832
+ Da(1e3);
2833
+ function Oo(t, e, n) {
2834
+ return new Cn(t, e, n);
2835
2835
  }
2836
2836
  function Le(t, e) {
2837
2837
  if (typeof t == "object" && t !== null) {
@@ -2843,54 +2843,54 @@ function Le(t, e) {
2843
2843
  if (e === void 0)
2844
2844
  return t.keysAtom_;
2845
2845
  var n = t.data_.get(e) || t.hasMap_.get(e);
2846
- return n || L(25, e, mn(t)), n;
2846
+ return n || L(25, e, fn(t)), n;
2847
2847
  }
2848
2848
  if (Xe(t)) {
2849
2849
  if (!e)
2850
2850
  return L(26);
2851
2851
  var i = t[E].values_.get(e);
2852
- return i || L(27, e, mn(t)), i;
2852
+ return i || L(27, e, fn(t)), i;
2853
2853
  }
2854
- if (On(t) || Mt(t) || Ot(t))
2854
+ if (Nn(t) || Mt(t) || Ot(t))
2855
2855
  return t;
2856
2856
  } else if (ee(t) && Ot(t[E]))
2857
2857
  return t[E];
2858
2858
  L(28);
2859
2859
  }
2860
- function Pa(t, e) {
2860
+ function La(t, e) {
2861
2861
  if (t || L(29), e !== void 0)
2862
- return Pa(Le(t, e));
2863
- if (On(t) || Mt(t) || Ot(t) || Ne(t) || je(t))
2862
+ return La(Le(t, e));
2863
+ if (Nn(t) || Mt(t) || Ot(t) || Ne(t) || je(t))
2864
2864
  return t;
2865
2865
  if (t[E])
2866
2866
  return t[E];
2867
2867
  L(24, t);
2868
2868
  }
2869
- function mn(t, e) {
2869
+ function fn(t, e) {
2870
2870
  var n;
2871
2871
  if (e !== void 0)
2872
2872
  n = Le(t, e);
2873
2873
  else {
2874
2874
  if ($t(t))
2875
2875
  return t.name;
2876
- Xe(t) || Ne(t) || je(t) ? n = Pa(t) : n = Le(t);
2876
+ Xe(t) || Ne(t) || je(t) ? n = La(t) : n = Le(t);
2877
2877
  }
2878
2878
  return n.name_;
2879
2879
  }
2880
2880
  function Oe(t) {
2881
- var e = _e(), n = Fn(!0);
2881
+ var e = _e(), n = wn(!0);
2882
2882
  W();
2883
2883
  try {
2884
2884
  return t();
2885
2885
  } finally {
2886
- J(), An(n), ue(e);
2886
+ J(), Fn(n), ue(e);
2887
2887
  }
2888
2888
  }
2889
- var ni = Lt.toString;
2890
- function Rn(t, e, n) {
2891
- return n === void 0 && (n = -1), hn(t, e, n);
2889
+ var ti = Lt.toString;
2890
+ function xn(t, e, n) {
2891
+ return n === void 0 && (n = -1), mn(t, e, n);
2892
2892
  }
2893
- function hn(t, e, n, i, a) {
2893
+ function mn(t, e, n, i, a) {
2894
2894
  if (t === e)
2895
2895
  return t !== 0 || 1 / t === 1 / e;
2896
2896
  if (t == null || e == null)
@@ -2900,8 +2900,8 @@ function hn(t, e, n, i, a) {
2900
2900
  var r = typeof t;
2901
2901
  if (r !== "function" && r !== "object" && typeof e != "object")
2902
2902
  return !1;
2903
- var s = ni.call(t);
2904
- if (s !== ni.call(e))
2903
+ var s = ti.call(t);
2904
+ if (s !== ti.call(e))
2905
2905
  return !1;
2906
2906
  switch (s) {
2907
2907
  case "[object RegExp]":
@@ -2919,7 +2919,7 @@ function hn(t, e, n, i, a) {
2919
2919
  n >= 0 && n++;
2920
2920
  break;
2921
2921
  }
2922
- t = ii(t), e = ii(e);
2922
+ t = ni(t), e = ni(e);
2923
2923
  var o = s === "[object Array]";
2924
2924
  if (!o) {
2925
2925
  if (typeof t != "object" || typeof e != "object")
@@ -2938,39 +2938,39 @@ function hn(t, e, n, i, a) {
2938
2938
  if (d = t.length, d !== e.length)
2939
2939
  return !1;
2940
2940
  for (; d--; )
2941
- if (!hn(t[d], e[d], n - 1, i, a))
2941
+ if (!mn(t[d], e[d], n - 1, i, a))
2942
2942
  return !1;
2943
2943
  } else {
2944
2944
  var f = Object.keys(t), c;
2945
2945
  if (d = f.length, Object.keys(e).length !== d)
2946
2946
  return !1;
2947
2947
  for (; d--; )
2948
- if (c = f[d], !(le(e, c) && hn(t[c], e[c], n - 1, i, a)))
2948
+ if (c = f[d], !(le(e, c) && mn(t[c], e[c], n - 1, i, a)))
2949
2949
  return !1;
2950
2950
  }
2951
2951
  return i.pop(), a.pop(), !0;
2952
2952
  }
2953
- function ii(t) {
2953
+ function ni(t) {
2954
2954
  return Bt(t) ? t.slice() : Ie(t) || Ne(t) || nt(t) || je(t) ? Array.from(t.entries()) : t;
2955
2955
  }
2956
2956
  function Ye(t) {
2957
- return t[Symbol.iterator] = Oo, t;
2957
+ return t[Symbol.iterator] = wo, t;
2958
2958
  }
2959
- function Oo() {
2959
+ function wo() {
2960
2960
  return this;
2961
2961
  }
2962
2962
  ["Symbol", "Map", "Set"].forEach(function(t) {
2963
- var e = _n();
2963
+ var e = Sn();
2964
2964
  typeof e[t] == "undefined" && L("MobX requires global '" + t + "' to be available or polyfilled");
2965
2965
  });
2966
2966
  typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
2967
- spy: $s,
2967
+ spy: Bs,
2968
2968
  extras: {
2969
- getDebugName: mn
2969
+ getDebugName: fn
2970
2970
  },
2971
2971
  $mobx: E
2972
2972
  });
2973
- class wo {
2973
+ class Fo {
2974
2974
  constructor(e) {
2975
2975
  x(this, "channel");
2976
2976
  x(this, "listeners", /* @__PURE__ */ new Map());
@@ -3116,25 +3116,25 @@ class wo {
3116
3116
  return new RegExp(`^${i}$`).test(n);
3117
3117
  }
3118
3118
  }
3119
- let Fo = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((e, n) => (n &= 63, n < 36 ? e += n.toString(36) : n < 62 ? e += (n - 26).toString(36).toUpperCase() : n > 62 ? e += "-" : e += "_", e), "");
3120
- const Ao = (t = 8) => Fo(t), $d = (t) => {
3119
+ let Ao = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((e, n) => (n &= 63, n < 36 ? e += n.toString(36) : n < 62 ? e += (n - 26).toString(36).toUpperCase() : n > 62 ? e += "-" : e += "_", e), "");
3120
+ const Eo = (t = 8) => Ao(t), Bd = (t) => {
3121
3121
  const e = Object.entries(t).reduce((n, [i, a]) => a !== void 0 ? `${n}${n ? "&" : ""}${i}=${a}` : n, "");
3122
3122
  return e ? `?${e}` : "";
3123
3123
  };
3124
- function Bd() {
3124
+ function zd() {
3125
3125
  const t = new Error().stack.split(`
3126
3126
  `);
3127
3127
  return t.length < 3 ? "" : t[2].trim().substring(3);
3128
3128
  }
3129
- var Ia = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
3130
- function Va(t) {
3129
+ var Pa = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
3130
+ function Ia(t) {
3131
3131
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3132
3132
  }
3133
- var ja = { exports: {} };
3133
+ var Va = { exports: {} };
3134
3134
  (function(t) {
3135
3135
  (function(e, n) {
3136
3136
  t.exports ? t.exports = n() : e.log = n();
3137
- })(Ia, function() {
3137
+ })(Pa, function() {
3138
3138
  var e = function() {
3139
3139
  }, n = "undefined", i = typeof window !== n && typeof window.navigator !== n && /Trident\/|MSIE /.test(window.navigator.userAgent), a = [
3140
3140
  "trace",
@@ -3275,14 +3275,14 @@ var ja = { exports: {} };
3275
3275
  return r;
3276
3276
  }, s.default = s, s;
3277
3277
  });
3278
- })(ja);
3279
- var Ua = ja.exports;
3280
- const ft = /* @__PURE__ */ Va(Ua);
3281
- var Ma = { exports: {} };
3278
+ })(Va);
3279
+ var ja = Va.exports;
3280
+ const ft = /* @__PURE__ */ Ia(ja);
3281
+ var Ua = { exports: {} };
3282
3282
  (function(t) {
3283
3283
  (function(e, n) {
3284
3284
  t.exports ? t.exports = n() : e.prefix = n(e);
3285
- })(Ia, function(e) {
3285
+ })(Pa, function(e) {
3286
3286
  var n = function(d) {
3287
3287
  for (var f = 1, c = arguments.length, _; f < c; f++)
3288
3288
  for (_ in arguments[f])
@@ -3331,14 +3331,14 @@ var Ma = { exports: {} };
3331
3331
  return e.prefix === l && (e.prefix = u), l;
3332
3332
  }), l;
3333
3333
  });
3334
- })(Ma);
3335
- var Eo = Ma.exports;
3336
- const ai = /* @__PURE__ */ Va(Eo);
3337
- let Co = class {
3334
+ })(Ua);
3335
+ var Co = Ua.exports;
3336
+ const ii = /* @__PURE__ */ Ia(Co);
3337
+ let xo = class {
3338
3338
  constructor(e) {
3339
- x(this, "defaultLevel", Ua.levels.INFO);
3339
+ x(this, "defaultLevel", ja.levels.INFO);
3340
3340
  x(this, "namePrefix");
3341
- this.namePrefix = e ? `${e}-` : "", ft.setDefaultLevel(this.defaultLevel), ai.reg(ft), ai.apply(ft, {
3341
+ this.namePrefix = e ? `${e}-` : "", ft.setDefaultLevel(this.defaultLevel), ii.reg(ft), ii.apply(ft, {
3342
3342
  template: "[%t] %l (%n)",
3343
3343
  nameFormatter: (n) => {
3344
3344
  var i;
@@ -3354,13 +3354,13 @@ let Co = class {
3354
3354
  };
3355
3355
  const G = class G {
3356
3356
  constructor() {
3357
- x(this, "instanceId", Ao());
3357
+ x(this, "instanceId", Eo());
3358
3358
  x(this, "_config", null);
3359
3359
  x(this, "_account");
3360
3360
  x(this, "_productDataSource");
3361
- x(this, "_eventBus", new wo("nizza"));
3362
- x(this, "log", new Co("nz"));
3363
- Na(
3361
+ x(this, "_eventBus", new Fo("nizza"));
3362
+ x(this, "log", new xo("nz"));
3363
+ _a(
3364
3364
  this,
3365
3365
  {
3366
3366
  _config: B,
@@ -3377,26 +3377,32 @@ const G = class G {
3377
3377
  }
3378
3378
  static instance() {
3379
3379
  var i, a;
3380
- const e = !!window.nizza, n = !e || Number(G.version) > (Number((i = window.nizza) == null ? void 0 : i.version) || 0);
3381
- if (n) {
3382
- console.log(
3383
- "🚀 ~ NizzaStore ~ instance ~ shouldUpdateWindowInstance:",
3384
- n,
3385
- Number(G.version),
3386
- Number((a = window.nizza) == null ? void 0 : a.version)
3387
- ), console.log("🚀 ~ NizzaStore ~ instance ~ migrating...");
3380
+ const e = !!window.nizza, n = Number(G.version) > (Number((i = window.nizza) == null ? void 0 : i.version) || 0);
3381
+ if (console.log(
3382
+ "🚀 ~ NizzaStore ~ instance ~ shouldUpdateWindowInstance:",
3383
+ n,
3384
+ e,
3385
+ Number(G.version),
3386
+ Number((a = window.nizza) == null ? void 0 : a.version) || 0
3387
+ ), e)
3388
+ if (n) {
3389
+ const r = new G();
3390
+ console.log("🚀 ~ NizzaStore ~ migrating..."), r.migrateFrom(window.nizza), G._instance = r, window.nizza = r, window.nz = r;
3391
+ } else
3392
+ e && (console.log("🚀 ~ NizzaStore ~ instance ~ usando window.nizza"), G._instance = window.nizza);
3393
+ else {
3394
+ console.log("🚀 ~ NizzaStore ~ FIRST instance");
3388
3395
  const r = new G();
3389
- e && r.migrateFrom(window.nizza), G._instance = r, window.nizza = r;
3390
- } else
3391
- e && !G._instance && (G._instance = window.nizza);
3392
- return window.nz = G._instance, G._instance;
3396
+ G._instance = r, window.nizza = r, window.nz = r;
3397
+ }
3398
+ return G._instance;
3393
3399
  }
3394
3400
  migrateFrom(e) {
3395
3401
  console.log(
3396
3402
  "🚀 ~ NizzaStore ~ migrateFrom ~ oldInstance:",
3397
3403
  e,
3398
3404
  e._productDataSource
3399
- ), Qs(() => {
3405
+ ), Hs(() => {
3400
3406
  console.log("🚀 ~ NizzaStore ~ runInAction"), this._config = e._config, this._account = e._account, this._productDataSource = e._productDataSource;
3401
3407
  }), this._eventBus = e._eventBus;
3402
3408
  }
@@ -3405,7 +3411,7 @@ const G = class G {
3405
3411
  try {
3406
3412
  const i = (n = this._config) == null ? void 0 : n.account;
3407
3413
  if (this._config = e, i !== e.account) {
3408
- const a = await Yl(e.account);
3414
+ const a = await eu(e.account);
3409
3415
  this.setAccount(a);
3410
3416
  }
3411
3417
  if (e.getProductDataSource) {
@@ -3444,9 +3450,7 @@ const G = class G {
3444
3450
  };
3445
3451
  x(G, "version", "2"), x(G, "_instance");
3446
3452
  let At = G;
3447
- const zt = () => At.instance();
3448
- zt();
3449
- const Kd = zt().log.createLogger("main"), fe = zt().log.createLogger("core");
3453
+ const Ma = () => At.instance(), $a = Ma(), Gd = $a.log.createLogger("main"), fe = $a.log.createLogger("core");
3450
3454
  function Ce(t) {
3451
3455
  return t != null && typeof t == "object" && t["@@functional/placeholder"] === !0;
3452
3456
  }
@@ -3455,7 +3459,7 @@ function gt(t) {
3455
3459
  return arguments.length === 0 || Ce(n) ? e : t.apply(this, arguments);
3456
3460
  };
3457
3461
  }
3458
- function Tn(t) {
3462
+ function Rn(t) {
3459
3463
  return function e(n, i) {
3460
3464
  switch (arguments.length) {
3461
3465
  case 0:
@@ -3473,30 +3477,30 @@ function Tn(t) {
3473
3477
  }
3474
3478
  };
3475
3479
  }
3476
- const xo = Number.isInteger || function(e) {
3480
+ const Ro = Number.isInteger || function(e) {
3477
3481
  return e << 0 === e;
3478
3482
  };
3479
- function Ro(t) {
3483
+ function To(t) {
3480
3484
  return Object.prototype.toString.call(t) === "[object String]";
3481
3485
  }
3482
- var To = /* @__PURE__ */ Tn(function(e, n) {
3486
+ var Do = /* @__PURE__ */ Rn(function(e, n) {
3483
3487
  var i = e < 0 ? n.length + e : e;
3484
- return Ro(n) ? n.charAt(i) : n[i];
3485
- }), Do = /* @__PURE__ */ gt(function(e) {
3488
+ return To(n) ? n.charAt(i) : n[i];
3489
+ }), Lo = /* @__PURE__ */ gt(function(e) {
3486
3490
  return e == null;
3487
- }), Lo = /* @__PURE__ */ Tn(function(e, n) {
3491
+ }), Po = /* @__PURE__ */ Rn(function(e, n) {
3488
3492
  return e.map(function(i) {
3489
3493
  for (var a = n, r = 0, s; r < i.length; ) {
3490
3494
  if (a == null)
3491
3495
  return;
3492
- s = i[r], a = xo(s) ? To(s, a) : a[s], r += 1;
3496
+ s = i[r], a = Ro(s) ? Do(s, a) : a[s], r += 1;
3493
3497
  }
3494
3498
  return a;
3495
3499
  });
3496
- }), Po = /* @__PURE__ */ Tn(function(e, n) {
3497
- return Lo([e], n)[0];
3500
+ }), Io = /* @__PURE__ */ Rn(function(e, n) {
3501
+ return Po([e], n)[0];
3498
3502
  });
3499
- class Kt extends Error {
3503
+ class zt extends Error {
3500
3504
  constructor(e, n, i) {
3501
3505
  super(n), this.value = i, this.name = e;
3502
3506
  }
@@ -3508,7 +3512,7 @@ class Kt extends Error {
3508
3512
  };
3509
3513
  }
3510
3514
  }
3511
- class Io extends Kt {
3515
+ class Vo extends zt {
3512
3516
  constructor(e) {
3513
3517
  super(
3514
3518
  "RESOURCE_NOT_FOUND_ERROR",
@@ -3517,7 +3521,7 @@ class Io extends Kt {
3517
3521
  );
3518
3522
  }
3519
3523
  }
3520
- class Vo extends Kt {
3524
+ class jo extends zt {
3521
3525
  constructor(e) {
3522
3526
  var n;
3523
3527
  super(
@@ -3527,12 +3531,12 @@ class Vo extends Kt {
3527
3531
  );
3528
3532
  }
3529
3533
  }
3530
- class Gd extends Kt {
3534
+ class Qd extends zt {
3531
3535
  constructor() {
3532
3536
  super("APP_ACCOUNT_INVALID_ERROR", "Account not defined");
3533
3537
  }
3534
3538
  }
3535
- class jo extends Kt {
3539
+ class Uo extends zt {
3536
3540
  constructor(e) {
3537
3541
  super(
3538
3542
  "INVALID_NIZZA_GLOBAL_OBJECT_ERROR",
@@ -3562,26 +3566,26 @@ class jo extends Kt {
3562
3566
  );
3563
3567
  }
3564
3568
  }
3565
- function Qd(t, e) {
3569
+ function Hd(t, e) {
3566
3570
  e.forEach((n) => {
3567
- if (Do(Po(n.split("."), t)))
3568
- throw new jo(n);
3571
+ if (Lo(Io(n.split("."), t)))
3572
+ throw new Uo(n);
3569
3573
  });
3570
3574
  }
3571
- if (!or)
3575
+ if (!lr)
3572
3576
  throw new Error("mobx-react-lite requires React with Hooks support");
3573
- if (!Na)
3577
+ if (!_a)
3574
3578
  throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");
3575
- function Uo(t) {
3576
- t();
3577
- }
3578
3579
  function Mo(t) {
3579
- t || (t = Uo), to({ reactionScheduler: t });
3580
+ t();
3580
3581
  }
3581
3582
  function $o(t) {
3582
- return io(t);
3583
+ t || (t = Mo), no({ reactionScheduler: t });
3584
+ }
3585
+ function Bo(t) {
3586
+ return ao(t);
3583
3587
  }
3584
- var Bo = 1e4, zo = 1e4, Ko = (
3588
+ var zo = 1e4, Ko = 1e4, Go = (
3585
3589
  /** @class */
3586
3590
  function() {
3587
3591
  function t(e) {
@@ -3606,7 +3610,7 @@ var Bo = 1e4, zo = 1e4, Ko = (
3606
3610
  configurable: !0,
3607
3611
  writable: !0,
3608
3612
  value: function(i) {
3609
- i === void 0 && (i = Bo), clearTimeout(n.sweepTimeout), n.sweepTimeout = void 0;
3613
+ i === void 0 && (i = zo), clearTimeout(n.sweepTimeout), n.sweepTimeout = void 0;
3610
3614
  var a = Date.now();
3611
3615
  n.registrations.forEach(function(r, s) {
3612
3616
  a - r.registeredAt >= i && (n.finalize(r.value), n.registrations.delete(s));
@@ -3643,14 +3647,14 @@ var Bo = 1e4, zo = 1e4, Ko = (
3643
3647
  configurable: !0,
3644
3648
  writable: !0,
3645
3649
  value: function() {
3646
- this.sweepTimeout === void 0 && (this.sweepTimeout = setTimeout(this.sweep, zo));
3650
+ this.sweepTimeout === void 0 && (this.sweepTimeout = setTimeout(this.sweep, Ko));
3647
3651
  }
3648
3652
  }), t;
3649
3653
  }()
3650
- ), Go = typeof FinalizationRegistry != "undefined" ? FinalizationRegistry : Ko, pn = new Go(function(t) {
3654
+ ), Qo = typeof FinalizationRegistry != "undefined" ? FinalizationRegistry : Go, hn = new Qo(function(t) {
3651
3655
  var e;
3652
3656
  (e = t.reaction) === null || e === void 0 || e.dispose(), t.reaction = null;
3653
- }), ri = function(t, e) {
3657
+ }), ai = function(t, e) {
3654
3658
  var n = typeof Symbol == "function" && t[Symbol.iterator];
3655
3659
  if (!n)
3656
3660
  return t;
@@ -3670,10 +3674,10 @@ var Bo = 1e4, zo = 1e4, Ko = (
3670
3674
  }
3671
3675
  return r;
3672
3676
  };
3673
- function si(t) {
3677
+ function ri(t) {
3674
3678
  return "observer".concat(t);
3675
3679
  }
3676
- var Qo = (
3680
+ var Ho = (
3677
3681
  /** @class */
3678
3682
  /* @__PURE__ */ function() {
3679
3683
  function t() {
@@ -3681,12 +3685,12 @@ var Qo = (
3681
3685
  return t;
3682
3686
  }()
3683
3687
  );
3684
- function Ho() {
3685
- return new Qo();
3688
+ function qo() {
3689
+ return new Ho();
3686
3690
  }
3687
- function qo(t, e) {
3691
+ function Wo(t, e) {
3688
3692
  e === void 0 && (e = "observed");
3689
- var n = ri(he.useState(Ho), 1), i = n[0], a = ri(he.useState(), 2), r = a[1], s = function() {
3693
+ var n = ai(he.useState(qo), 1), i = n[0], a = ai(he.useState(), 2), r = a[1], s = function() {
3690
3694
  return r([]);
3691
3695
  }, o = he.useRef(null);
3692
3696
  o.current || (o.current = {
@@ -3695,10 +3699,10 @@ function qo(t, e) {
3695
3699
  changedBeforeMount: !1
3696
3700
  });
3697
3701
  var l = o.current;
3698
- l.reaction || (l.reaction = new We(si(e), function() {
3702
+ l.reaction || (l.reaction = new We(ri(e), function() {
3699
3703
  l.mounted ? s() : l.changedBeforeMount = !0;
3700
- }), pn.register(i, l, l)), he.useDebugValue(l.reaction, $o), he.useEffect(function() {
3701
- return pn.unregister(l), l.mounted = !0, l.reaction ? l.changedBeforeMount && (l.changedBeforeMount = !1, s()) : (l.reaction = new We(si(e), function() {
3704
+ }), hn.register(i, l, l)), he.useDebugValue(l.reaction, Bo), he.useEffect(function() {
3705
+ return hn.unregister(l), l.mounted = !0, l.reaction ? l.changedBeforeMount && (l.changedBeforeMount = !1, s()) : (l.reaction = new We(ri(e), function() {
3702
3706
  s();
3703
3707
  }), s()), function() {
3704
3708
  l.reaction.dispose(), l.reaction = null, l.mounted = !1, l.changedBeforeMount = !1;
@@ -3715,26 +3719,26 @@ function qo(t, e) {
3715
3719
  throw d;
3716
3720
  return u;
3717
3721
  }
3718
- var $a = typeof Symbol == "function" && Symbol.for;
3719
- $a ? Symbol.for("react.forward_ref") : typeof Un == "function" && Un(function(t) {
3722
+ var Ba = typeof Symbol == "function" && Symbol.for;
3723
+ Ba ? Symbol.for("react.forward_ref") : typeof jn == "function" && jn(function(t) {
3720
3724
  return null;
3721
3725
  }).$$typeof;
3722
- $a ? Symbol.for("react.memo") : typeof Mn == "function" && Mn(function(t) {
3726
+ Ba ? Symbol.for("react.memo") : typeof Un == "function" && Un(function(t) {
3723
3727
  return null;
3724
3728
  }).$$typeof;
3725
- var Yt;
3726
- Mo(ur);
3727
- Yt = pn.finalizeAllImmediately;
3728
- function Wo(t, e) {
3729
- return e === void 0 && (e = "observed"), qo(t, e);
3730
- }
3731
- function Jo(t) {
3732
- return Wo(() => {
3729
+ var Xt;
3730
+ $o(dr);
3731
+ Xt = hn.finalizeAllImmediately;
3732
+ function Jo(t, e) {
3733
+ return e === void 0 && (e = "observed"), Wo(t, e);
3734
+ }
3735
+ function Zo(t) {
3736
+ return Jo(() => {
3733
3737
  const e = At.instance();
3734
3738
  return t(e);
3735
3739
  });
3736
3740
  }
3737
- function Hd() {
3741
+ function qd() {
3738
3742
  var i, a, r;
3739
3743
  let t = null, e = null, n = null;
3740
3744
  try {
@@ -3760,7 +3764,7 @@ function Hd() {
3760
3764
  label: null
3761
3765
  };
3762
3766
  }
3763
- class Zo {
3767
+ class Xo {
3764
3768
  constructor(e) {
3765
3769
  x(this, "aggregate");
3766
3770
  x(this, "_numSetPropsApplied", 0);
@@ -3775,12 +3779,12 @@ class Zo {
3775
3779
  return this._numSetPropsApplied === 1;
3776
3780
  }
3777
3781
  }
3778
- function Xo(t) {
3779
- return new Zo(t);
3780
- }
3781
- class qd {
3782
+ function Yo(t) {
3783
+ return new Xo(t);
3782
3784
  }
3783
3785
  class Wd {
3786
+ }
3787
+ class Jd {
3784
3788
  constructor(e) {
3785
3789
  x(this, "_value");
3786
3790
  e !== void 0 && (this._value = e);
@@ -3789,13 +3793,13 @@ class Wd {
3789
3793
  return this._value;
3790
3794
  }
3791
3795
  }
3792
- var Ba = /* @__PURE__ */ ((t) => (t.VTEX = "VTEX", t.VTEX_IO = "VTEX-IO", t.VTEX_CMS = "PORTAL-VTEX", t.PLATFORM = "PLATFORM", t.UNKNOWN = "UNKNOWN", t))(Ba || {}), Yo = /* @__PURE__ */ ((t) => (t.PLATFORM = "platform_module", t.ADENDA = "subscription_module", t.APP_STORE = "app_store", t))(Yo || {}), za = /* @__PURE__ */ ((t) => (t.ACTIVE = "active_contract", t.INACTIVE = "inactive_contract", t))(za || {}), el = /* @__PURE__ */ ((t) => (t.LITE = "lite", t.STANDARD = "standard", t.PRO = "pro", t))(el || {}), tl = /* @__PURE__ */ ((t) => (t.LITE = "PLAN_LITE", t.STANDARD = "PLAN_ESTANDAR", t.PRO = "PLAN_PRO", t.NONE = "NO_PLAN", t))(tl || {}), nl = /* @__PURE__ */ ((t) => (t.PAST = "past", t.LIVE = "live", t.FUTURE = "future", t))(nl || {});
3793
- class Dn {
3796
+ var za = /* @__PURE__ */ ((t) => (t.VTEX = "VTEX", t.VTEX_IO = "VTEX-IO", t.VTEX_CMS = "PORTAL-VTEX", t.PLATFORM = "PLATFORM", t.UNKNOWN = "UNKNOWN", t))(za || {}), el = /* @__PURE__ */ ((t) => (t.PLATFORM = "platform_module", t.ADENDA = "subscription_module", t.APP_STORE = "app_store", t))(el || {}), Ka = /* @__PURE__ */ ((t) => (t.ACTIVE = "active_contract", t.INACTIVE = "inactive_contract", t))(Ka || {}), tl = /* @__PURE__ */ ((t) => (t.LITE = "lite", t.STANDARD = "standard", t.PRO = "pro", t))(tl || {}), nl = /* @__PURE__ */ ((t) => (t.LITE = "PLAN_LITE", t.STANDARD = "PLAN_ESTANDAR", t.PRO = "PLAN_PRO", t.NONE = "NO_PLAN", t))(nl || {}), il = /* @__PURE__ */ ((t) => (t.PAST = "past", t.LIVE = "live", t.FUTURE = "future", t))(il || {});
3797
+ class Tn {
3794
3798
  constructor(e) {
3795
- x(this, "root", Xo(this));
3799
+ x(this, "root", Yo(this));
3796
3800
  x(this, "id");
3797
3801
  x(this, "account");
3798
- x(this, "accountType", Ba.UNKNOWN);
3802
+ x(this, "accountType", za.UNKNOWN);
3799
3803
  x(this, "username");
3800
3804
  x(this, "currencyConfig");
3801
3805
  x(this, "contractType");
@@ -3803,7 +3807,7 @@ class Dn {
3803
3807
  x(this, "spendedMinutes", 0);
3804
3808
  x(this, "unlimitedService", !1);
3805
3809
  x(this, "hoursAvailable", 0);
3806
- x(this, "contractStatus", za.ACTIVE);
3810
+ x(this, "contractStatus", Ka.ACTIVE);
3807
3811
  x(this, "createdAt");
3808
3812
  x(this, "installationDateApp");
3809
3813
  x(this, "cxAccount");
@@ -3825,7 +3829,7 @@ class Dn {
3825
3829
  username: i != null ? i : a.account,
3826
3830
  createdAt: new Date(Number(n))
3827
3831
  };
3828
- return new Dn(r);
3832
+ return new Tn(r);
3829
3833
  }
3830
3834
  toPrimitives() {
3831
3835
  const { root: e, createdAt: n, ...i } = this;
@@ -3835,16 +3839,16 @@ class Dn {
3835
3839
  };
3836
3840
  }
3837
3841
  }
3838
- const il = `${Rr.apiUrls.restV1}/accounts/v2`;
3839
- class al {
3842
+ const al = `${Tr.apiUrls.restV1}/accounts/v2`;
3843
+ class rl {
3840
3844
  async get(e) {
3841
- const n = `${il}/${e}`, { data: i } = await Vi({
3845
+ const n = `${al}/${e}`, { data: i } = await Ii({
3842
3846
  url: n
3843
3847
  });
3844
- return i ? Dn.toDomain(i) : null;
3848
+ return i ? Tn.toDomain(i) : null;
3845
3849
  }
3846
3850
  }
3847
- class rl {
3851
+ class sl {
3848
3852
  constructor(e) {
3849
3853
  this.accountRepository = e;
3850
3854
  }
@@ -3852,15 +3856,15 @@ class rl {
3852
3856
  try {
3853
3857
  const n = await this.accountRepository.get(e);
3854
3858
  if (!n)
3855
- throw new Io(e);
3859
+ throw new Vo(e);
3856
3860
  return n;
3857
3861
  } catch (n) {
3858
- throw new Vo(n);
3862
+ throw new jo(n);
3859
3863
  }
3860
3864
  }
3861
3865
  }
3862
- const sl = new al(), Ka = new rl(sl);
3863
- class Ln {
3866
+ const ol = new rl(), Ga = new sl(ol);
3867
+ class Dn {
3864
3868
  constructor() {
3865
3869
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
3866
3870
  }
@@ -3881,16 +3885,16 @@ class Ln {
3881
3885
  }
3882
3886
  }
3883
3887
  const Et = typeof window == "undefined" || "Deno" in window;
3884
- function ol() {
3888
+ function ll() {
3885
3889
  }
3886
- function oi(t) {
3890
+ function si(t) {
3887
3891
  return typeof t == "number" && t >= 0 && t !== 1 / 0;
3888
3892
  }
3889
- function ll(t, e) {
3893
+ function ul(t, e) {
3890
3894
  return Math.max(t + (e || 0) - Date.now(), 0);
3891
3895
  }
3892
- function ul(t, e, n) {
3893
- return dl(t) ? typeof e == "function" ? {
3896
+ function dl(t, e, n) {
3897
+ return cl(t) ? typeof e == "function" ? {
3894
3898
  ...n,
3895
3899
  queryKey: t,
3896
3900
  queryFn: e
@@ -3899,22 +3903,22 @@ function ul(t, e, n) {
3899
3903
  queryKey: t
3900
3904
  } : t;
3901
3905
  }
3902
- function Ga(t, e) {
3906
+ function Qa(t, e) {
3903
3907
  if (t === e)
3904
3908
  return t;
3905
- const n = li(t) && li(e);
3906
- if (n || ui(t) && ui(e)) {
3909
+ const n = oi(t) && oi(e);
3910
+ if (n || li(t) && li(e)) {
3907
3911
  const i = n ? t.length : Object.keys(t).length, a = n ? e : Object.keys(e), r = a.length, s = n ? [] : {};
3908
3912
  let o = 0;
3909
3913
  for (let l = 0; l < r; l++) {
3910
3914
  const u = n ? l : a[l];
3911
- s[u] = Ga(t[u], e[u]), s[u] === t[u] && o++;
3915
+ s[u] = Qa(t[u], e[u]), s[u] === t[u] && o++;
3912
3916
  }
3913
3917
  return i === r && o === i ? t : s;
3914
3918
  }
3915
3919
  return e;
3916
3920
  }
3917
- function vn(t, e) {
3921
+ function pn(t, e) {
3918
3922
  if (t && !e || e && !t)
3919
3923
  return !1;
3920
3924
  for (const n in t)
@@ -3922,36 +3926,36 @@ function vn(t, e) {
3922
3926
  return !1;
3923
3927
  return !0;
3924
3928
  }
3925
- function li(t) {
3929
+ function oi(t) {
3926
3930
  return Array.isArray(t) && t.length === Object.keys(t).length;
3927
3931
  }
3928
- function ui(t) {
3929
- if (!di(t))
3932
+ function li(t) {
3933
+ if (!ui(t))
3930
3934
  return !1;
3931
3935
  const e = t.constructor;
3932
3936
  if (typeof e == "undefined")
3933
3937
  return !0;
3934
3938
  const n = e.prototype;
3935
- return !(!di(n) || !n.hasOwnProperty("isPrototypeOf"));
3939
+ return !(!ui(n) || !n.hasOwnProperty("isPrototypeOf"));
3936
3940
  }
3937
- function di(t) {
3941
+ function ui(t) {
3938
3942
  return Object.prototype.toString.call(t) === "[object Object]";
3939
3943
  }
3940
- function dl(t) {
3944
+ function cl(t) {
3941
3945
  return Array.isArray(t);
3942
3946
  }
3943
- function cl(t) {
3947
+ function fl(t) {
3944
3948
  return new Promise((e) => {
3945
3949
  setTimeout(e, t);
3946
3950
  });
3947
3951
  }
3948
- function ci(t) {
3949
- cl(0).then(t);
3952
+ function di(t) {
3953
+ fl(0).then(t);
3950
3954
  }
3951
- function fi(t, e, n) {
3952
- return n.isDataEqual != null && n.isDataEqual(t, e) ? t : typeof n.structuralSharing == "function" ? n.structuralSharing(t, e) : n.structuralSharing !== !1 ? Ga(t, e) : e;
3955
+ function ci(t, e, n) {
3956
+ return n.isDataEqual != null && n.isDataEqual(t, e) ? t : typeof n.structuralSharing == "function" ? n.structuralSharing(t, e) : n.structuralSharing !== !1 ? Qa(t, e) : e;
3953
3957
  }
3954
- class fl extends Ln {
3958
+ class ml extends Dn {
3955
3959
  constructor() {
3956
3960
  super(), this.setup = (e) => {
3957
3961
  if (!Et && window.addEventListener) {
@@ -3991,16 +3995,16 @@ class fl extends Ln {
3991
3995
  return typeof this.focused == "boolean" ? this.focused : typeof document == "undefined" ? !0 : [void 0, "visible", "prerender"].includes(document.visibilityState);
3992
3996
  }
3993
3997
  }
3994
- const ml = new fl(), mi = ["online", "offline"];
3995
- class hl extends Ln {
3998
+ const hl = new ml(), fi = ["online", "offline"];
3999
+ class pl extends Dn {
3996
4000
  constructor() {
3997
4001
  super(), this.setup = (e) => {
3998
4002
  if (!Et && window.addEventListener) {
3999
4003
  const n = () => e();
4000
- return mi.forEach((i) => {
4004
+ return fi.forEach((i) => {
4001
4005
  window.addEventListener(i, n, !1);
4002
4006
  }), () => {
4003
- mi.forEach((i) => {
4007
+ fi.forEach((i) => {
4004
4008
  window.removeEventListener(i, n);
4005
4009
  });
4006
4010
  };
@@ -4036,19 +4040,19 @@ class hl extends Ln {
4036
4040
  return typeof this.online == "boolean" ? this.online : typeof navigator == "undefined" || typeof navigator.onLine == "undefined" ? !0 : navigator.onLine;
4037
4041
  }
4038
4042
  }
4039
- const pl = new hl();
4040
- function vl(t) {
4041
- return (t != null ? t : "online") === "online" ? pl.isOnline() : !0;
4043
+ const vl = new pl();
4044
+ function gl(t) {
4045
+ return (t != null ? t : "online") === "online" ? vl.isOnline() : !0;
4042
4046
  }
4043
- class gl {
4047
+ class kl {
4044
4048
  constructor(e) {
4045
4049
  this.revert = e == null ? void 0 : e.revert, this.silent = e == null ? void 0 : e.silent;
4046
4050
  }
4047
4051
  }
4048
- function kl(t) {
4049
- return t instanceof gl;
4052
+ function yl(t) {
4053
+ return t instanceof kl;
4050
4054
  }
4051
- function yl() {
4055
+ function bl() {
4052
4056
  let t = [], e = 0, n = (d) => {
4053
4057
  d();
4054
4058
  }, i = (d) => {
@@ -4064,7 +4068,7 @@ function yl() {
4064
4068
  }
4065
4069
  return f;
4066
4070
  }, r = (d) => {
4067
- e ? t.push(d) : ci(() => {
4071
+ e ? t.push(d) : di(() => {
4068
4072
  n(d);
4069
4073
  });
4070
4074
  }, s = (d) => (...f) => {
@@ -4073,7 +4077,7 @@ function yl() {
4073
4077
  });
4074
4078
  }, o = () => {
4075
4079
  const d = t;
4076
- t = [], d.length && ci(() => {
4080
+ t = [], d.length && di(() => {
4077
4081
  i(() => {
4078
4082
  d.forEach((f) => {
4079
4083
  n(f);
@@ -4093,8 +4097,8 @@ function yl() {
4093
4097
  }
4094
4098
  };
4095
4099
  }
4096
- const Ge = yl();
4097
- class bl extends Ln {
4100
+ const Ge = bl();
4101
+ class Sl extends Dn {
4098
4102
  constructor(e, n) {
4099
4103
  super(), this.client = e, this.options = n, this.trackedProps = /* @__PURE__ */ new Set(), this.selectError = null, this.bindMethods(), this.setOptions(n);
4100
4104
  }
@@ -4102,23 +4106,23 @@ class bl extends Ln {
4102
4106
  this.remove = this.remove.bind(this), this.refetch = this.refetch.bind(this);
4103
4107
  }
4104
4108
  onSubscribe() {
4105
- this.listeners.size === 1 && (this.currentQuery.addObserver(this), hi(this.currentQuery, this.options) && this.executeFetch(), this.updateTimers());
4109
+ this.listeners.size === 1 && (this.currentQuery.addObserver(this), mi(this.currentQuery, this.options) && this.executeFetch(), this.updateTimers());
4106
4110
  }
4107
4111
  onUnsubscribe() {
4108
4112
  this.hasListeners() || this.destroy();
4109
4113
  }
4110
4114
  shouldFetchOnReconnect() {
4111
- return gn(this.currentQuery, this.options, this.options.refetchOnReconnect);
4115
+ return vn(this.currentQuery, this.options, this.options.refetchOnReconnect);
4112
4116
  }
4113
4117
  shouldFetchOnWindowFocus() {
4114
- return gn(this.currentQuery, this.options, this.options.refetchOnWindowFocus);
4118
+ return vn(this.currentQuery, this.options, this.options.refetchOnWindowFocus);
4115
4119
  }
4116
4120
  destroy() {
4117
4121
  this.listeners = /* @__PURE__ */ new Set(), this.clearStaleTimeout(), this.clearRefetchInterval(), this.currentQuery.removeObserver(this);
4118
4122
  }
4119
4123
  setOptions(e, n) {
4120
4124
  const i = this.options, a = this.currentQuery;
4121
- if (this.options = this.client.defaultQueryOptions(e), vn(i, this.options) || this.client.getQueryCache().notify({
4125
+ if (this.options = this.client.defaultQueryOptions(e), pn(i, this.options) || this.client.getQueryCache().notify({
4122
4126
  type: "observerOptionsUpdated",
4123
4127
  query: this.currentQuery,
4124
4128
  observer: this
@@ -4126,13 +4130,13 @@ class bl extends Ln {
4126
4130
  throw new Error("Expected enabled to be a boolean");
4127
4131
  this.options.queryKey || (this.options.queryKey = i.queryKey), this.updateQuery();
4128
4132
  const r = this.hasListeners();
4129
- r && pi(this.currentQuery, a, this.options, i) && this.executeFetch(), this.updateResult(n), r && (this.currentQuery !== a || this.options.enabled !== i.enabled || this.options.staleTime !== i.staleTime) && this.updateStaleTimeout();
4133
+ r && hi(this.currentQuery, a, this.options, i) && this.executeFetch(), this.updateResult(n), r && (this.currentQuery !== a || this.options.enabled !== i.enabled || this.options.staleTime !== i.staleTime) && this.updateStaleTimeout();
4130
4134
  const s = this.computeRefetchInterval();
4131
4135
  r && (this.currentQuery !== a || this.options.enabled !== i.enabled || s !== this.currentRefetchInterval) && this.updateRefetchInterval(s);
4132
4136
  }
4133
4137
  getOptimisticResult(e) {
4134
4138
  const n = this.client.getQueryCache().build(this.client, e), i = this.createResult(n, e);
4135
- return _l(this, i, e) && (this.currentResult = i, this.currentResultOptions = this.options, this.currentResultState = this.currentQuery.state), i;
4139
+ return Nl(this, i, e) && (this.currentResult = i, this.currentResultOptions = this.options, this.currentResultState = this.currentQuery.state), i;
4136
4140
  }
4137
4141
  getCurrentResult() {
4138
4142
  return this.currentResult;
@@ -4178,12 +4182,12 @@ class bl extends Ln {
4178
4182
  executeFetch(e) {
4179
4183
  this.updateQuery();
4180
4184
  let n = this.currentQuery.fetch(this.options, e);
4181
- return e != null && e.throwOnError || (n = n.catch(ol)), n;
4185
+ return e != null && e.throwOnError || (n = n.catch(ll)), n;
4182
4186
  }
4183
4187
  updateStaleTimeout() {
4184
- if (this.clearStaleTimeout(), Et || this.currentResult.isStale || !oi(this.options.staleTime))
4188
+ if (this.clearStaleTimeout(), Et || this.currentResult.isStale || !si(this.options.staleTime))
4185
4189
  return;
4186
- const n = ll(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
4190
+ const n = ul(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
4187
4191
  this.staleTimeoutId = setTimeout(() => {
4188
4192
  this.currentResult.isStale || this.updateResult();
4189
4193
  }, n);
@@ -4193,8 +4197,8 @@ class bl extends Ln {
4193
4197
  return typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.currentResult.data, this.currentQuery) : (e = this.options.refetchInterval) != null ? e : !1;
4194
4198
  }
4195
4199
  updateRefetchInterval(e) {
4196
- this.clearRefetchInterval(), this.currentRefetchInterval = e, !(Et || this.options.enabled === !1 || !oi(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
4197
- (this.options.refetchIntervalInBackground || ml.isFocused()) && this.executeFetch();
4200
+ this.clearRefetchInterval(), this.currentRefetchInterval = e, !(Et || this.options.enabled === !1 || !si(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
4201
+ (this.options.refetchIntervalInBackground || hl.isFocused()) && this.executeFetch();
4198
4202
  }, this.currentRefetchInterval));
4199
4203
  }
4200
4204
  updateTimers() {
@@ -4218,8 +4222,8 @@ class bl extends Ln {
4218
4222
  status: k
4219
4223
  } = f, N = !1, T = !1, P;
4220
4224
  if (n._optimisticResults) {
4221
- const m = this.hasListeners(), y = !m && hi(e, n), S = m && pi(e, i, n, a);
4222
- (y || S) && (g = vl(e.options.networkMode) ? "fetching" : "paused", c || (k = "loading")), n._optimisticResults === "isRestoring" && (g = "idle");
4225
+ const m = this.hasListeners(), y = !m && mi(e, n), S = m && hi(e, i, n, a);
4226
+ (y || S) && (g = gl(e.options.networkMode) ? "fetching" : "paused", c || (k = "loading")), n._optimisticResults === "isRestoring" && (g = "idle");
4223
4227
  }
4224
4228
  if (n.keepPreviousData && !f.dataUpdatedAt && d != null && d.isSuccess && k !== "error")
4225
4229
  P = d.data, c = d.dataUpdatedAt, k = d.status, N = !0;
@@ -4228,7 +4232,7 @@ class bl extends Ln {
4228
4232
  P = this.selectResult;
4229
4233
  else
4230
4234
  try {
4231
- this.selectFn = n.select, P = n.select(f.data), P = fi(r == null ? void 0 : r.data, P, n), this.selectResult = P, this.selectError = null;
4235
+ this.selectFn = n.select, P = n.select(f.data), P = ci(r == null ? void 0 : r.data, P, n), this.selectResult = P, this.selectError = null;
4232
4236
  } catch (m) {
4233
4237
  this.selectError = m;
4234
4238
  }
@@ -4244,7 +4248,7 @@ class bl extends Ln {
4244
4248
  } catch (y) {
4245
4249
  this.selectError = y;
4246
4250
  }
4247
- typeof m != "undefined" && (k = "success", P = fi(r == null ? void 0 : r.data, m, n), T = !0);
4251
+ typeof m != "undefined" && (k = "success", P = ci(r == null ? void 0 : r.data, m, n), T = !0);
4248
4252
  }
4249
4253
  this.selectError && (_ = this.selectError, P = this.selectResult, O = Date.now(), k = "error");
4250
4254
  const w = g === "fetching", C = k === "loading", I = k === "error";
@@ -4271,14 +4275,14 @@ class bl extends Ln {
4271
4275
  isPlaceholderData: T,
4272
4276
  isPreviousData: N,
4273
4277
  isRefetchError: I && f.dataUpdatedAt !== 0,
4274
- isStale: Pn(e, n),
4278
+ isStale: Ln(e, n),
4275
4279
  refetch: this.refetch,
4276
4280
  remove: this.remove
4277
4281
  };
4278
4282
  }
4279
4283
  updateResult(e) {
4280
4284
  const n = this.currentResult, i = this.createResult(this.currentQuery, this.options);
4281
- if (this.currentResultState = this.currentQuery.state, this.currentResultOptions = this.options, vn(i, n))
4285
+ if (this.currentResultState = this.currentQuery.state, this.currentResultOptions = this.options, pn(i, n))
4282
4286
  return;
4283
4287
  this.currentResult = i;
4284
4288
  const a = {
@@ -4311,7 +4315,7 @@ class bl extends Ln {
4311
4315
  }
4312
4316
  onQueryUpdate(e) {
4313
4317
  const n = {};
4314
- e.type === "success" ? n.onSuccess = !e.manual : e.type === "error" && !kl(e.error) && (n.onError = !0), this.updateResult(n), this.hasListeners() && this.updateTimers();
4318
+ e.type === "success" ? n.onSuccess = !e.manual : e.type === "error" && !yl(e.error) && (n.onError = !0), this.updateResult(n), this.hasListeners() && this.updateTimers();
4315
4319
  }
4316
4320
  notify(e) {
4317
4321
  Ge.batch(() => {
@@ -4333,29 +4337,29 @@ class bl extends Ln {
4333
4337
  });
4334
4338
  }
4335
4339
  }
4336
- function Sl(t, e) {
4340
+ function _l(t, e) {
4337
4341
  return e.enabled !== !1 && !t.state.dataUpdatedAt && !(t.state.status === "error" && e.retryOnMount === !1);
4338
4342
  }
4339
- function hi(t, e) {
4340
- return Sl(t, e) || t.state.dataUpdatedAt > 0 && gn(t, e, e.refetchOnMount);
4343
+ function mi(t, e) {
4344
+ return _l(t, e) || t.state.dataUpdatedAt > 0 && vn(t, e, e.refetchOnMount);
4341
4345
  }
4342
- function gn(t, e, n) {
4346
+ function vn(t, e, n) {
4343
4347
  if (e.enabled !== !1) {
4344
4348
  const i = typeof n == "function" ? n(t) : n;
4345
- return i === "always" || i !== !1 && Pn(t, e);
4349
+ return i === "always" || i !== !1 && Ln(t, e);
4346
4350
  }
4347
4351
  return !1;
4348
4352
  }
4349
- function pi(t, e, n, i) {
4350
- return n.enabled !== !1 && (t !== e || i.enabled === !1) && (!n.suspense || t.state.status !== "error") && Pn(t, n);
4353
+ function hi(t, e, n, i) {
4354
+ return n.enabled !== !1 && (t !== e || i.enabled === !1) && (!n.suspense || t.state.status !== "error") && Ln(t, n);
4351
4355
  }
4352
- function Pn(t, e) {
4356
+ function Ln(t, e) {
4353
4357
  return t.isStaleByTime(e.staleTime);
4354
4358
  }
4355
- function _l(t, e, n) {
4356
- return n.keepPreviousData ? !1 : n.placeholderData !== void 0 ? e.isPlaceholderData : !vn(t.getCurrentResult(), e);
4359
+ function Nl(t, e, n) {
4360
+ return n.keepPreviousData ? !1 : n.placeholderData !== void 0 ? e.isPlaceholderData : !pn(t.getCurrentResult(), e);
4357
4361
  }
4358
- var Qa = { exports: {} }, Ha = {};
4362
+ var Ha = { exports: {} }, qa = {};
4359
4363
  /**
4360
4364
  * @license React
4361
4365
  * use-sync-external-store-shim.production.min.js
@@ -4366,51 +4370,51 @@ var Qa = { exports: {} }, Ha = {};
4366
4370
  * LICENSE file in the root directory of this source tree.
4367
4371
  */
4368
4372
  var Pe = he;
4369
- function Nl(t, e) {
4373
+ function Ol(t, e) {
4370
4374
  return t === e && (t !== 0 || 1 / t === 1 / e) || t !== t && e !== e;
4371
4375
  }
4372
- var Ol = typeof Object.is == "function" ? Object.is : Nl, wl = Pe.useState, Fl = Pe.useEffect, Al = Pe.useLayoutEffect, El = Pe.useDebugValue;
4373
- function Cl(t, e) {
4374
- var n = e(), i = wl({ inst: { value: n, getSnapshot: e } }), a = i[0].inst, r = i[1];
4375
- return Al(function() {
4376
- a.value = n, a.getSnapshot = e, en(a) && r({ inst: a });
4377
- }, [t, n, e]), Fl(function() {
4378
- return en(a) && r({ inst: a }), t(function() {
4379
- en(a) && r({ inst: a });
4376
+ var wl = typeof Object.is == "function" ? Object.is : Ol, Fl = Pe.useState, Al = Pe.useEffect, El = Pe.useLayoutEffect, Cl = Pe.useDebugValue;
4377
+ function xl(t, e) {
4378
+ var n = e(), i = Fl({ inst: { value: n, getSnapshot: e } }), a = i[0].inst, r = i[1];
4379
+ return El(function() {
4380
+ a.value = n, a.getSnapshot = e, Yt(a) && r({ inst: a });
4381
+ }, [t, n, e]), Al(function() {
4382
+ return Yt(a) && r({ inst: a }), t(function() {
4383
+ Yt(a) && r({ inst: a });
4380
4384
  });
4381
- }, [t]), El(n), n;
4385
+ }, [t]), Cl(n), n;
4382
4386
  }
4383
- function en(t) {
4387
+ function Yt(t) {
4384
4388
  var e = t.getSnapshot;
4385
4389
  t = t.value;
4386
4390
  try {
4387
4391
  var n = e();
4388
- return !Ol(t, n);
4392
+ return !wl(t, n);
4389
4393
  } catch {
4390
4394
  return !0;
4391
4395
  }
4392
4396
  }
4393
- function xl(t, e) {
4397
+ function Rl(t, e) {
4394
4398
  return e();
4395
4399
  }
4396
- var Rl = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? xl : Cl;
4397
- Ha.useSyncExternalStore = Pe.useSyncExternalStore !== void 0 ? Pe.useSyncExternalStore : Rl;
4398
- Qa.exports = Ha;
4399
- var Tl = Qa.exports;
4400
- const Dl = Tl.useSyncExternalStore, vi = /* @__PURE__ */ Z.createContext(void 0), Ll = /* @__PURE__ */ Z.createContext(!1);
4401
- function Pl(t, e) {
4402
- return t || (e && typeof window != "undefined" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = vi), window.ReactQueryClientContext) : vi);
4400
+ var Tl = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? Rl : xl;
4401
+ qa.useSyncExternalStore = Pe.useSyncExternalStore !== void 0 ? Pe.useSyncExternalStore : Tl;
4402
+ Ha.exports = qa;
4403
+ var Dl = Ha.exports;
4404
+ const Ll = Dl.useSyncExternalStore, pi = /* @__PURE__ */ Z.createContext(void 0), Pl = /* @__PURE__ */ Z.createContext(!1);
4405
+ function Il(t, e) {
4406
+ return t || (e && typeof window != "undefined" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = pi), window.ReactQueryClientContext) : pi);
4403
4407
  }
4404
- const Il = ({
4408
+ const Vl = ({
4405
4409
  context: t
4406
4410
  } = {}) => {
4407
- const e = Z.useContext(Pl(t, Z.useContext(Ll)));
4411
+ const e = Z.useContext(Il(t, Z.useContext(Pl)));
4408
4412
  if (!e)
4409
4413
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
4410
4414
  return e;
4411
- }, qa = /* @__PURE__ */ Z.createContext(!1), Vl = () => Z.useContext(qa);
4412
- qa.Provider;
4413
- function jl() {
4415
+ }, Wa = /* @__PURE__ */ Z.createContext(!1), jl = () => Z.useContext(Wa);
4416
+ Wa.Provider;
4417
+ function Ul() {
4414
4418
  let t = !1;
4415
4419
  return {
4416
4420
  clearReset: () => {
@@ -4422,37 +4426,37 @@ function jl() {
4422
4426
  isReset: () => t
4423
4427
  };
4424
4428
  }
4425
- const Ul = /* @__PURE__ */ Z.createContext(jl()), Ml = () => Z.useContext(Ul);
4426
- function $l(t, e) {
4429
+ const Ml = /* @__PURE__ */ Z.createContext(Ul()), $l = () => Z.useContext(Ml);
4430
+ function Bl(t, e) {
4427
4431
  return typeof t == "function" ? t(...e) : !!t;
4428
4432
  }
4429
- const Bl = (t, e) => {
4433
+ const zl = (t, e) => {
4430
4434
  (t.suspense || t.useErrorBoundary) && (e.isReset() || (t.retryOnMount = !1));
4431
- }, zl = (t) => {
4435
+ }, Kl = (t) => {
4432
4436
  Z.useEffect(() => {
4433
4437
  t.clearReset();
4434
4438
  }, [t]);
4435
- }, Kl = ({
4439
+ }, Gl = ({
4436
4440
  result: t,
4437
4441
  errorResetBoundary: e,
4438
4442
  useErrorBoundary: n,
4439
4443
  query: i
4440
- }) => t.isError && !e.isReset() && !t.isFetching && $l(n, [t.error, i]), Gl = (t) => {
4444
+ }) => t.isError && !e.isReset() && !t.isFetching && Bl(n, [t.error, i]), Ql = (t) => {
4441
4445
  t.suspense && typeof t.staleTime != "number" && (t.staleTime = 1e3);
4442
- }, Ql = (t, e) => t.isLoading && t.isFetching && !e, Hl = (t, e, n) => (t == null ? void 0 : t.suspense) && Ql(e, n), ql = (t, e, n) => e.fetchOptimistic(t).then(({
4446
+ }, Hl = (t, e) => t.isLoading && t.isFetching && !e, ql = (t, e, n) => (t == null ? void 0 : t.suspense) && Hl(e, n), Wl = (t, e, n) => e.fetchOptimistic(t).then(({
4443
4447
  data: i
4444
4448
  }) => {
4445
4449
  t.onSuccess == null || t.onSuccess(i), t.onSettled == null || t.onSettled(i, null);
4446
4450
  }).catch((i) => {
4447
4451
  n.clearReset(), t.onError == null || t.onError(i), t.onSettled == null || t.onSettled(void 0, i);
4448
4452
  });
4449
- function Wl(t, e) {
4450
- const n = Il({
4453
+ function Jl(t, e) {
4454
+ const n = Vl({
4451
4455
  context: t.context
4452
- }), i = Vl(), a = Ml(), r = n.defaultQueryOptions(t);
4453
- r._optimisticResults = i ? "isRestoring" : "optimistic", r.onError && (r.onError = Ge.batchCalls(r.onError)), r.onSuccess && (r.onSuccess = Ge.batchCalls(r.onSuccess)), r.onSettled && (r.onSettled = Ge.batchCalls(r.onSettled)), Gl(r), Bl(r, a), zl(a);
4456
+ }), i = jl(), a = $l(), r = n.defaultQueryOptions(t);
4457
+ r._optimisticResults = i ? "isRestoring" : "optimistic", r.onError && (r.onError = Ge.batchCalls(r.onError)), r.onSuccess && (r.onSuccess = Ge.batchCalls(r.onSuccess)), r.onSettled && (r.onSettled = Ge.batchCalls(r.onSettled)), Ql(r), zl(r, a), Kl(a);
4454
4458
  const [s] = Z.useState(() => new e(n, r)), o = s.getOptimisticResult(r);
4455
- if (Dl(Z.useCallback((l) => {
4459
+ if (Ll(Z.useCallback((l) => {
4456
4460
  const u = i ? () => {
4457
4461
  } : s.subscribe(Ge.batchCalls(l));
4458
4462
  return s.updateResult(), u;
@@ -4460,9 +4464,9 @@ function Wl(t, e) {
4460
4464
  s.setOptions(r, {
4461
4465
  listeners: !1
4462
4466
  });
4463
- }, [r, s]), Hl(r, o, i))
4464
- throw ql(r, s, a);
4465
- if (Kl({
4467
+ }, [r, s]), ql(r, o, i))
4468
+ throw Wl(r, s, a);
4469
+ if (Gl({
4466
4470
  result: o,
4467
4471
  errorResetBoundary: a,
4468
4472
  useErrorBoundary: r.useErrorBoundary,
@@ -4471,30 +4475,30 @@ function Wl(t, e) {
4471
4475
  throw o.error;
4472
4476
  return r.notifyOnChangeProps ? o : s.trackResult(o);
4473
4477
  }
4474
- function Jl(t, e, n) {
4475
- const i = ul(t, e, n);
4476
- return Wl(i, bl);
4478
+ function Zl(t, e, n) {
4479
+ const i = dl(t, e, n);
4480
+ return Jl(i, Sl);
4477
4481
  }
4478
- const Zl = () => ["account"], Jd = () => {
4479
- const t = Jo((a) => a.accountName), [e, n] = wr(Sn), i = Jl(Zl(), () => Ka.get(t), {
4482
+ const Xl = () => ["account"], Zd = () => {
4483
+ const t = Zo((a) => a.accountName), [e, n] = Fr(bn), i = Zl(Xl(), () => Ga.get(t), {
4480
4484
  enabled: !!t && !e,
4481
4485
  refetchOnWindowFocus: !1,
4482
4486
  refetchOnMount: !1
4483
4487
  });
4484
- return Li(() => {
4488
+ return Di(() => {
4485
4489
  const a = i.data;
4486
4490
  !i.isSuccess || !a || n(a);
4487
4491
  }, [i.status]), {
4488
4492
  findQuery: i,
4489
4493
  account: e
4490
4494
  };
4491
- }, Xl = Pi();
4492
- async function Yl(t) {
4493
- const e = await Ka.get(t);
4494
- return Xl.set(Sn, e), e;
4495
+ }, Yl = Li();
4496
+ async function eu(t) {
4497
+ const e = await Ga.get(t);
4498
+ return Yl.set(bn, e), e;
4495
4499
  }
4496
- var eu = /* @__PURE__ */ ((t) => (t.CREATED = "CREATED", t.STARTING = "STARTING", t.LIVE = "LIVE", t.FINALIZED = "FINALIZED", t))(eu || {});
4497
- const Zd = {
4500
+ var tu = /* @__PURE__ */ ((t) => (t.CREATED = "CREATED", t.STARTING = "STARTING", t.LIVE = "LIVE", t.FINALIZED = "FINALIZED", t))(tu || {});
4501
+ const Xd = {
4498
4502
  ALL: "*",
4499
4503
  CORE: "core:**",
4500
4504
  ADD_TO_CART_HOOKS: "core:addToCartHooks:**",
@@ -4507,49 +4511,49 @@ const Zd = {
4507
4511
  SNACK_SIZE_VIDEO_ADMIN: "ssv-admin:**",
4508
4512
  UI: "ui:**",
4509
4513
  UTILS: "utils:**"
4510
- }, tu = {
4514
+ }, nu = {
4511
4515
  EVENT_STATUS_CHANGED: "event:statusChanged",
4512
4516
  /** AddToCartHook events */
4513
4517
  ATCH_ACTION_EXECUTED: "core:addToCartHooks:actionExecuted"
4514
4518
  };
4515
- var nu = /* @__PURE__ */ ((t) => (t.English = "en", t.Spanish = "es", t.Portuguese = "pt", t))(nu || {}), iu = /* @__PURE__ */ ((t) => (t.COMBO = "Combo", t.BADGE = "Badged", t))(iu || {}), au = /* @__PURE__ */ ((t) => (t.VTEX = "VTEX", t.PLATFORM = "platform", t.CACE = "CACE", t.GLOBAL_PAGE = "globalPage", t.DEV_LOCAL = "dev:local", t.CUSTOMIZATION = "customization", t.FAST_STORE = "faststore", t))(au || {}), Wa = /* @__PURE__ */ ((t) => (t.Created = "CREATED", t.Finalized = "FINALIZED", t.Live = "LIVE", t.Starting = "STARTING", t))(Wa || {}), Ja = /* @__PURE__ */ ((t) => (t.Add = "add", t.Remove = "remove", t))(Ja || {}), Za = /* @__PURE__ */ ((t) => (t.Active = "active", t.Inactive = "inactive", t))(Za || {});
4516
- const ru = { 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" } }] } }] } }] } }] }, su = { 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" } }] } }] } }] } }] }, ou = { 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" } }] } }] } }] } }] }, lu = { 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" } }] } }] } }] } }] }, uu = { 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" } }] } }] } }] } }] }, du = { 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" } }] } }] } }] } }] }, cu = { 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" } }] } }] } }] } }] }, fu = { 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" } }] } }] } }] } }] }, mu = { 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" } }] } }] } }] } }] }, hu = { 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" } }] } }] } }] } }] }, pu = { 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" } }] } }] } }] } }] }, vu = { 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" } }] } }] } }] } }] }, gu = { 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" } }] } }] } }] } }] }, ku = { 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" } }] } }] } }] } }] }, yu = { 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" } }] } }] } }] } }] }, bu = { 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" } }] } }] } }] } }] }, Su = { 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" } }] } }] } }] } }] }, _u = { 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" } }] } }] } }] } }] }, Nu = { 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" } }] } }] } }] } }] }, Ou = { 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" } }] } }] } }] } }] }, wu = { 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" } }] } }] } }] } }] }, Fu = { 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" } }] } }] } }] } }] }, Au = { 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" } }] } }] } }] } }] }, Eu = { 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" } }] } }] } }] } }] }, Cu = { 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" } }] } }] } }] } }] }, xu = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetPlayLists" }, 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: "getPlayLists" }, 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: "PlayListArray" } }, 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: "description" } }, { kind: "Field", name: { kind: "Name", value: "created" } }, { kind: "Field", name: { kind: "Name", value: "updated" } }, { kind: "Field", name: { kind: "Name", value: "videos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "order" } }] } }] } }] } }, { 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" } }] } }] } }] } }] }, Ru = { 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" } }] } }] } }] } }] } }] }, Tu = { 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" } }] } }] } }] } }] }, Du = { 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" } }] } }] } }] } }] }, Xd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4519
+ var iu = /* @__PURE__ */ ((t) => (t.English = "en", t.Spanish = "es", t.Portuguese = "pt", t))(iu || {}), au = /* @__PURE__ */ ((t) => (t.COMBO = "Combo", t.BADGE = "Badged", t))(au || {}), ru = /* @__PURE__ */ ((t) => (t.VTEX = "VTEX", t.PLATFORM = "platform", t.CACE = "CACE", t.GLOBAL_PAGE = "globalPage", t.DEV_LOCAL = "dev:local", t.CUSTOMIZATION = "customization", t.FAST_STORE = "faststore", t))(ru || {}), Ja = /* @__PURE__ */ ((t) => (t.Created = "CREATED", t.Finalized = "FINALIZED", t.Live = "LIVE", t.Starting = "STARTING", t))(Ja || {}), Za = /* @__PURE__ */ ((t) => (t.Add = "add", t.Remove = "remove", t))(Za || {}), Xa = /* @__PURE__ */ ((t) => (t.Active = "active", t.Inactive = "inactive", t))(Xa || {});
4520
+ const su = { 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" } }] } }] } }] } }] }, ou = { 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" } }] } }] } }] } }] }, lu = { 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" } }] } }] } }] } }] }, uu = { 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" } }] } }] } }] } }] }, du = { 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" } }] } }] } }] } }] }, cu = { 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" } }] } }] } }] } }] }, fu = { 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" } }] } }] } }] } }] }, mu = { 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" } }] } }] } }] } }] }, hu = { 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" } }] } }] } }] } }] }, pu = { 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" } }] } }] } }] } }] }, vu = { 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" } }] } }] } }] } }] }, gu = { 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" } }] } }] } }] } }] }, ku = { 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" } }] } }] } }] } }] }, yu = { 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" } }] } }] } }] } }] }, bu = { 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" } }] } }] } }] } }] }, Su = { 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" } }] } }] } }] } }] }, _u = { 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" } }] } }] } }] } }] }, Nu = { 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" } }] } }] } }] } }] }, Ou = { 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" } }] } }] } }] } }] }, wu = { 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" } }] } }] } }] } }] }, Fu = { 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" } }] } }] } }] } }] }, Au = { 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" } }] } }] } }] } }] }, Eu = { 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" } }] } }] } }] } }] }, Cu = { 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" } }] } }] } }] } }] }, xu = { 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" } }] } }] } }] } }] }, Ru = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetPlayLists" }, 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: "getPlayLists" }, 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: "PlayListArray" } }, 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: "description" } }, { kind: "Field", name: { kind: "Name", value: "created" } }, { kind: "Field", name: { kind: "Name", value: "updated" } }, { kind: "Field", name: { kind: "Name", value: "videos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "order" } }] } }] } }] } }, { 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" } }] } }] } }] } }] }, Tu = { 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" } }] } }] } }] } }] } }] }, Du = { 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" } }] } }] } }] } }] }, Lu = { 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" } }] } }] } }] } }] }, Yd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4517
4521
  __proto__: null,
4518
- AddCollectionDocument: ru,
4519
- AppendProductsToSnackVideoDocument: Ou,
4520
- BlockUserDocument: hu,
4521
- ChangeAccountUsernameDocument: pu,
4522
- CreateSnackVideoBatchDocument: wu,
4523
- DeleteAllCustomizationDocument: bu,
4524
- DeleteChatMessageDocument: vu,
4525
- DeleteCollectionDocument: su,
4526
- DeleteRelationshipWithSnackVideoDocument: Fu,
4527
- DeleteSnackVideoDocument: Au,
4528
- EventStatus: Wa,
4529
- FindByProductSnackVideoDocument: Du,
4530
- FindCollectionDocument: ou,
4531
- FindManySnackVideosDocument: Eu,
4532
- FindMinimalEventDocument: fu,
4533
- GetAllChatMessageDocument: gu,
4534
- GetAllCollectionsDocument: lu,
4535
- GetAllCustomizationDocument: Su,
4536
- GetAllSnackVideosDocument: Cu,
4537
- GetChatRoomTokenDocument: ku,
4538
- GetPlayListsDocument: xu,
4539
- GetSnackVideoRelationshipsDocument: Ru,
4540
- GetTimeLineDocument: Nu,
4541
- ManageCollectionProductDocument: uu,
4542
- Methods: Ja,
4543
- PinChatMessageDocument: yu,
4544
- SearchCollectionsDocument: du,
4545
- SearchMinimalEventsDocument: mu,
4546
- SearchSnackVideosDocument: Tu,
4547
- Status: Za,
4548
- UpdateCollectionDocument: cu,
4549
- UpdateCustomizationDocument: _u
4522
+ AddCollectionDocument: su,
4523
+ AppendProductsToSnackVideoDocument: wu,
4524
+ BlockUserDocument: pu,
4525
+ ChangeAccountUsernameDocument: vu,
4526
+ CreateSnackVideoBatchDocument: Fu,
4527
+ DeleteAllCustomizationDocument: Su,
4528
+ DeleteChatMessageDocument: gu,
4529
+ DeleteCollectionDocument: ou,
4530
+ DeleteRelationshipWithSnackVideoDocument: Au,
4531
+ DeleteSnackVideoDocument: Eu,
4532
+ EventStatus: Ja,
4533
+ FindByProductSnackVideoDocument: Lu,
4534
+ FindCollectionDocument: lu,
4535
+ FindManySnackVideosDocument: Cu,
4536
+ FindMinimalEventDocument: mu,
4537
+ GetAllChatMessageDocument: ku,
4538
+ GetAllCollectionsDocument: uu,
4539
+ GetAllCustomizationDocument: _u,
4540
+ GetAllSnackVideosDocument: xu,
4541
+ GetChatRoomTokenDocument: yu,
4542
+ GetPlayListsDocument: Ru,
4543
+ GetSnackVideoRelationshipsDocument: Tu,
4544
+ GetTimeLineDocument: Ou,
4545
+ ManageCollectionProductDocument: du,
4546
+ Methods: Za,
4547
+ PinChatMessageDocument: bu,
4548
+ SearchCollectionsDocument: cu,
4549
+ SearchMinimalEventsDocument: hu,
4550
+ SearchSnackVideosDocument: Du,
4551
+ Status: Xa,
4552
+ UpdateCollectionDocument: fu,
4553
+ UpdateCustomizationDocument: Nu
4550
4554
  }, Symbol.toStringTag, { value: "Module" }));
4551
- var In = /* @__PURE__ */ ((t) => (t.OPEN_TAB = "openTab", t.OPEN_VARIATION_SELECTOR = "openVariationSelector", t.ADD_TO_CART = "addToCart", t))(In || {});
4552
- function Yd(t) {
4555
+ var Pn = /* @__PURE__ */ ((t) => (t.OPEN_TAB = "openTab", t.OPEN_VARIATION_SELECTOR = "openVariationSelector", t.ADD_TO_CART = "addToCart", t))(Pn || {});
4556
+ function ec(t) {
4553
4557
  return {
4554
4558
  class: t,
4555
4559
  _value: null,
@@ -4558,28 +4562,28 @@ function Yd(t) {
4558
4562
  }
4559
4563
  };
4560
4564
  }
4561
- const Lu = zt(), tn = "addToCartHooks.notification.error", gi = {
4562
- errorAddingToCart: tn,
4563
- errorOpeningVariationSelector: tn,
4564
- errorOpeningNewTab: tn,
4565
+ const Pu = Ma(), en = "addToCartHooks.notification.error", vi = {
4566
+ errorAddingToCart: en,
4567
+ errorOpeningVariationSelector: en,
4568
+ errorOpeningNewTab: en,
4565
4569
  successAddingToCart: "addToCartHooks.notification.success"
4566
4570
  };
4567
- async function ec(t) {
4571
+ async function tc(t) {
4568
4572
  const e = {
4569
4573
  ...t,
4570
4574
  action: {
4571
- type: In.ADD_TO_CART,
4575
+ type: Pn.ADD_TO_CART,
4572
4576
  exec: () => fe.error("addToCartHooks: action no implemented in validate hook")
4573
4577
  }
4574
4578
  };
4575
4579
  try {
4576
- const n = await Pu(e), i = await Iu(n);
4577
- await Vu(i);
4580
+ const n = await Iu(e), i = await Vu(n);
4581
+ await ju(i);
4578
4582
  } catch (n) {
4579
4583
  fe.error("addToCartHooks: error unhandled", n);
4580
4584
  }
4581
4585
  }
4582
- async function Pu(t) {
4586
+ async function Iu(t) {
4583
4587
  var r, s;
4584
4588
  const { context: e, userAddToCartConfig: n } = t, i = (r = n == null ? void 0 : n.hooks) == null ? void 0 : r.transform;
4585
4589
  let a = t.product;
@@ -4597,9 +4601,9 @@ async function Pu(t) {
4597
4601
  product: a
4598
4602
  };
4599
4603
  }
4600
- async function Iu(t) {
4604
+ async function Vu(t) {
4601
4605
  var l, u;
4602
- const { context: e, hookStrategy: n, userAddToCartConfig: i, product: a } = t, r = ju(t), s = (l = i == null ? void 0 : i.hooks) == null ? void 0 : l.validate;
4606
+ const { context: e, hookStrategy: n, userAddToCartConfig: i, product: a } = t, r = Uu(t), s = (l = i == null ? void 0 : i.hooks) == null ? void 0 : l.validate;
4603
4607
  let o = n.validate({
4604
4608
  ...t,
4605
4609
  actionFactory: r
@@ -4621,14 +4625,14 @@ async function Iu(t) {
4621
4625
  actionFactory: r
4622
4626
  };
4623
4627
  }
4624
- async function Vu(t) {
4628
+ async function ju(t) {
4625
4629
  var g;
4626
- const { product: e, userAddToCartConfig: n, notifyFactory: i, action: a, actionFactory: r } = t, { isVariationSelectorOpen: s, data: o = {} } = t.context, l = (g = n == null ? void 0 : n.hooks) == null ? void 0 : g.end, u = a.type === In.ADD_TO_CART;
4630
+ const { product: e, userAddToCartConfig: n, notifyFactory: i, action: a, actionFactory: r } = t, { isVariationSelectorOpen: s, data: o = {} } = t.context, l = (g = n == null ? void 0 : n.hooks) == null ? void 0 : g.end, u = a.type === Pn.ADD_TO_CART;
4627
4631
  let d = null, f = !1;
4628
4632
  const c = () => {
4629
4633
  !u || !s || r.openVariationSelector(!1).exec();
4630
4634
  }, _ = () => {
4631
- !u || f || (d ? i.error(gi.errorAddingToCart) : i.success(gi.successAddingToCart));
4635
+ !u || f || (d ? i.error(vi.errorAddingToCart) : i.success(vi.successAddingToCart));
4632
4636
  }, O = () => {
4633
4637
  const k = {
4634
4638
  product: e,
@@ -4636,7 +4640,7 @@ async function Vu(t) {
4636
4640
  success: !d,
4637
4641
  error: d
4638
4642
  };
4639
- Lu.eventBus.emit(tu.ATCH_ACTION_EXECUTED, k);
4643
+ Pu.eventBus.emit(nu.ATCH_ACTION_EXECUTED, k);
4640
4644
  };
4641
4645
  try {
4642
4646
  if (!a.type || !a.exec)
@@ -4658,7 +4662,7 @@ async function Vu(t) {
4658
4662
  }
4659
4663
  c(), _(), O();
4660
4664
  }
4661
- function ju(t) {
4665
+ function Uu(t) {
4662
4666
  const { actionFactory: e, userAddToCartConfig: n } = t, i = (a) => Object.entries(a != null ? a : {}).reduce(
4663
4667
  (r, [s, o]) => ({
4664
4668
  ...r,
@@ -4677,26 +4681,26 @@ function ju(t) {
4677
4681
  function Ct(t, e) {
4678
4682
  fe.error(`addToCartHooks error running ${t}: `, e);
4679
4683
  }
4680
- function Uu(t) {
4684
+ function Mu(t) {
4681
4685
  const e = Object.values(t);
4682
4686
  return Object.assign({}, ...e);
4683
4687
  }
4684
- function Mu(t) {
4688
+ function $u(t) {
4685
4689
  return Object.entries(t).reduce(
4686
4690
  (e, [n, i]) => {
4687
- const a = Uu(i);
4691
+ const a = Mu(i);
4688
4692
  return { ...e, [n]: a };
4689
4693
  },
4690
4694
  {}
4691
4695
  );
4692
4696
  }
4693
- function $u(t, e) {
4694
- const n = Mu(e);
4697
+ function Bu(t, e) {
4698
+ const n = $u(e);
4695
4699
  Object.entries(n).forEach(([i, a]) => {
4696
4700
  t.addResourceBundle(i, "translation", a, !0);
4697
4701
  });
4698
4702
  }
4699
- function Bu(t, e) {
4703
+ function zu(t, e) {
4700
4704
  if (!(t instanceof e))
4701
4705
  throw new TypeError("Cannot call a class as a function");
4702
4706
  }
@@ -4708,7 +4712,7 @@ function et(t) {
4708
4712
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
4709
4713
  }, et(t);
4710
4714
  }
4711
- function zu(t, e) {
4715
+ function Ku(t, e) {
4712
4716
  if (et(t) != "object" || !t)
4713
4717
  return t;
4714
4718
  var n = t[Symbol.toPrimitive];
@@ -4720,30 +4724,30 @@ function zu(t, e) {
4720
4724
  }
4721
4725
  return (e === "string" ? String : Number)(t);
4722
4726
  }
4723
- function Ku(t) {
4724
- var e = zu(t, "string");
4727
+ function Gu(t) {
4728
+ var e = Ku(t, "string");
4725
4729
  return et(e) == "symbol" ? e : String(e);
4726
4730
  }
4727
- function ki(t, e) {
4731
+ function gi(t, e) {
4728
4732
  for (var n = 0; n < e.length; n++) {
4729
4733
  var i = e[n];
4730
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, Ku(i.key), i);
4734
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, Gu(i.key), i);
4731
4735
  }
4732
4736
  }
4733
- function Gu(t, e, n) {
4734
- return e && ki(t.prototype, e), n && ki(t, n), Object.defineProperty(t, "prototype", {
4737
+ function Qu(t, e, n) {
4738
+ return e && gi(t.prototype, e), n && gi(t, n), Object.defineProperty(t, "prototype", {
4735
4739
  writable: !1
4736
4740
  }), t;
4737
4741
  }
4738
- var Xa = [], Qu = Xa.forEach, Hu = Xa.slice;
4739
- function qu(t) {
4740
- return Qu.call(Hu.call(arguments, 1), function(e) {
4742
+ var Ya = [], Hu = Ya.forEach, qu = Ya.slice;
4743
+ function Wu(t) {
4744
+ return Hu.call(qu.call(arguments, 1), function(e) {
4741
4745
  if (e)
4742
4746
  for (var n in e)
4743
4747
  t[n] === void 0 && (t[n] = e[n]);
4744
4748
  }), t;
4745
4749
  }
4746
- var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Wu = function(e, n, i) {
4750
+ var ki = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ju = function(e, n, i) {
4747
4751
  var a = i || {};
4748
4752
  a.path = a.path || "/";
4749
4753
  var r = encodeURIComponent(n), s = "".concat(e, "=").concat(r);
@@ -4754,12 +4758,12 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Wu = function(e, n, i) {
4754
4758
  s += "; Max-Age=".concat(Math.floor(o));
4755
4759
  }
4756
4760
  if (a.domain) {
4757
- if (!yi.test(a.domain))
4761
+ if (!ki.test(a.domain))
4758
4762
  throw new TypeError("option domain is invalid");
4759
4763
  s += "; Domain=".concat(a.domain);
4760
4764
  }
4761
4765
  if (a.path) {
4762
- if (!yi.test(a.path))
4766
+ if (!ki.test(a.path))
4763
4767
  throw new TypeError("option path is invalid");
4764
4768
  s += "; Path=".concat(a.path);
4765
4769
  }
@@ -4788,13 +4792,13 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Wu = function(e, n, i) {
4788
4792
  }
4789
4793
  }
4790
4794
  return s;
4791
- }, bi = {
4795
+ }, yi = {
4792
4796
  create: function(e, n, i, a) {
4793
4797
  var r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
4794
4798
  path: "/",
4795
4799
  sameSite: "strict"
4796
4800
  };
4797
- i && (r.expires = /* @__PURE__ */ new Date(), r.expires.setTime(r.expires.getTime() + i * 60 * 1e3)), a && (r.domain = a), document.cookie = Wu(e, encodeURIComponent(n), r);
4801
+ i && (r.expires = /* @__PURE__ */ new Date(), r.expires.setTime(r.expires.getTime() + i * 60 * 1e3)), a && (r.domain = a), document.cookie = Ju(e, encodeURIComponent(n), r);
4798
4802
  },
4799
4803
  read: function(e) {
4800
4804
  for (var n = "".concat(e, "="), i = document.cookie.split(";"), a = 0; a < i.length; a++) {
@@ -4808,20 +4812,20 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Wu = function(e, n, i) {
4808
4812
  remove: function(e) {
4809
4813
  this.create(e, "", -1);
4810
4814
  }
4811
- }, Ju = {
4815
+ }, Zu = {
4812
4816
  name: "cookie",
4813
4817
  lookup: function(e) {
4814
4818
  var n;
4815
4819
  if (e.lookupCookie && typeof document != "undefined") {
4816
- var i = bi.read(e.lookupCookie);
4820
+ var i = yi.read(e.lookupCookie);
4817
4821
  i && (n = i);
4818
4822
  }
4819
4823
  return n;
4820
4824
  },
4821
4825
  cacheUserLanguage: function(e, n) {
4822
- n.lookupCookie && typeof document != "undefined" && bi.create(n.lookupCookie, e, n.cookieMinutes, n.cookieDomain, n.cookieOptions);
4826
+ n.lookupCookie && typeof document != "undefined" && yi.create(n.lookupCookie, e, n.cookieMinutes, n.cookieDomain, n.cookieOptions);
4823
4827
  }
4824
- }, Zu = {
4828
+ }, Xu = {
4825
4829
  name: "querystring",
4826
4830
  lookup: function(e) {
4827
4831
  var n;
@@ -4838,7 +4842,7 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Wu = function(e, n, i) {
4838
4842
  }
4839
4843
  return n;
4840
4844
  }
4841
- }, Be = null, Si = function() {
4845
+ }, Be = null, bi = function() {
4842
4846
  if (Be !== null)
4843
4847
  return Be;
4844
4848
  try {
@@ -4849,20 +4853,20 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Wu = function(e, n, i) {
4849
4853
  Be = !1;
4850
4854
  }
4851
4855
  return Be;
4852
- }, Xu = {
4856
+ }, Yu = {
4853
4857
  name: "localStorage",
4854
4858
  lookup: function(e) {
4855
4859
  var n;
4856
- if (e.lookupLocalStorage && Si()) {
4860
+ if (e.lookupLocalStorage && bi()) {
4857
4861
  var i = window.localStorage.getItem(e.lookupLocalStorage);
4858
4862
  i && (n = i);
4859
4863
  }
4860
4864
  return n;
4861
4865
  },
4862
4866
  cacheUserLanguage: function(e, n) {
4863
- n.lookupLocalStorage && Si() && window.localStorage.setItem(n.lookupLocalStorage, e);
4867
+ n.lookupLocalStorage && bi() && window.localStorage.setItem(n.lookupLocalStorage, e);
4864
4868
  }
4865
- }, ze = null, _i = function() {
4869
+ }, ze = null, Si = function() {
4866
4870
  if (ze !== null)
4867
4871
  return ze;
4868
4872
  try {
@@ -4873,20 +4877,20 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Wu = function(e, n, i) {
4873
4877
  ze = !1;
4874
4878
  }
4875
4879
  return ze;
4876
- }, Yu = {
4880
+ }, ed = {
4877
4881
  name: "sessionStorage",
4878
4882
  lookup: function(e) {
4879
4883
  var n;
4880
- if (e.lookupSessionStorage && _i()) {
4884
+ if (e.lookupSessionStorage && Si()) {
4881
4885
  var i = window.sessionStorage.getItem(e.lookupSessionStorage);
4882
4886
  i && (n = i);
4883
4887
  }
4884
4888
  return n;
4885
4889
  },
4886
4890
  cacheUserLanguage: function(e, n) {
4887
- n.lookupSessionStorage && _i() && window.sessionStorage.setItem(n.lookupSessionStorage, e);
4891
+ n.lookupSessionStorage && Si() && window.sessionStorage.setItem(n.lookupSessionStorage, e);
4888
4892
  }
4889
- }, ed = {
4893
+ }, td = {
4890
4894
  name: "navigator",
4891
4895
  lookup: function(e) {
4892
4896
  var n = [];
@@ -4898,13 +4902,13 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Wu = function(e, n, i) {
4898
4902
  }
4899
4903
  return n.length > 0 ? n : void 0;
4900
4904
  }
4901
- }, td = {
4905
+ }, nd = {
4902
4906
  name: "htmlTag",
4903
4907
  lookup: function(e) {
4904
4908
  var n, i = e.htmlTag || (typeof document != "undefined" ? document.documentElement : null);
4905
4909
  return i && typeof i.getAttribute == "function" && (n = i.getAttribute("lang")), n;
4906
4910
  }
4907
- }, nd = {
4911
+ }, id = {
4908
4912
  name: "path",
4909
4913
  lookup: function(e) {
4910
4914
  var n;
@@ -4920,7 +4924,7 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Wu = function(e, n, i) {
4920
4924
  }
4921
4925
  return n;
4922
4926
  }
4923
- }, id = {
4927
+ }, ad = {
4924
4928
  name: "subdomain",
4925
4929
  lookup: function(e) {
4926
4930
  var n = 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);
@@ -4928,7 +4932,7 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Wu = function(e, n, i) {
4928
4932
  return i[n];
4929
4933
  }
4930
4934
  };
4931
- function ad() {
4935
+ function rd() {
4932
4936
  return {
4933
4937
  order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
4934
4938
  lookupQuerystring: "lng",
@@ -4945,20 +4949,20 @@ function ad() {
4945
4949
  }
4946
4950
  };
4947
4951
  }
4948
- var Ya = /* @__PURE__ */ function() {
4952
+ var er = /* @__PURE__ */ function() {
4949
4953
  function t(e) {
4950
4954
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4951
- Bu(this, t), this.type = "languageDetector", this.detectors = {}, this.init(e, n);
4955
+ zu(this, t), this.type = "languageDetector", this.detectors = {}, this.init(e, n);
4952
4956
  }
4953
- return Gu(t, [{
4957
+ return Qu(t, [{
4954
4958
  key: "init",
4955
4959
  value: function(n) {
4956
4960
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
4957
4961
  this.services = n || {
4958
4962
  languageUtils: {}
4959
- }, this.options = qu(i, this.options || {}, ad()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(r) {
4963
+ }, this.options = Wu(i, this.options || {}, rd()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(r) {
4960
4964
  return r.replace("-", "_");
4961
- }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(Ju), this.addDetector(Zu), this.addDetector(Xu), this.addDetector(Yu), this.addDetector(ed), this.addDetector(td), this.addDetector(nd), this.addDetector(id);
4965
+ }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(Zu), this.addDetector(Xu), this.addDetector(Yu), this.addDetector(ed), this.addDetector(td), this.addDetector(nd), this.addDetector(id), this.addDetector(ad);
4962
4966
  }
4963
4967
  }, {
4964
4968
  key: "addDetector",
@@ -4990,9 +4994,9 @@ var Ya = /* @__PURE__ */ function() {
4990
4994
  }
4991
4995
  }]), t;
4992
4996
  }();
4993
- Ya.type = "languageDetector";
4994
- function rd(t, e) {
4995
- t.use(e).use(Ya).init({
4997
+ er.type = "languageDetector";
4998
+ function sd(t, e) {
4999
+ t.use(e).use(er).init({
4996
5000
  resources: {},
4997
5001
  fallbackLng: "en",
4998
5002
  debug: !1,
@@ -5031,7 +5035,7 @@ function rd(t, e) {
5031
5035
  }
5032
5036
  });
5033
5037
  }
5034
- const sd = {
5038
+ const od = {
5035
5039
  type: "logger",
5036
5040
  log(t) {
5037
5041
  this.output("log", t);
@@ -5053,7 +5057,7 @@ class xt {
5053
5057
  }
5054
5058
  init(e) {
5055
5059
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5056
- this.prefix = n.prefix || "i18next:", this.logger = e || sd, this.options = n, this.debug = n.debug;
5060
+ this.prefix = n.prefix || "i18next:", this.logger = e || od, this.options = n, this.debug = n.debug;
5057
5061
  }
5058
5062
  log() {
5059
5063
  for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++)
@@ -5089,7 +5093,7 @@ class xt {
5089
5093
  }
5090
5094
  }
5091
5095
  var ie = new xt();
5092
- class Gt {
5096
+ class Kt {
5093
5097
  constructor() {
5094
5098
  this.observers = {};
5095
5099
  }
@@ -5130,18 +5134,18 @@ function Ke() {
5130
5134
  });
5131
5135
  return n.resolve = t, n.reject = e, n;
5132
5136
  }
5133
- function Ni(t) {
5137
+ function _i(t) {
5134
5138
  return t == null ? "" : "" + t;
5135
5139
  }
5136
- function od(t, e, n) {
5140
+ function ld(t, e, n) {
5137
5141
  t.forEach((i) => {
5138
5142
  e[i] && (n[i] = e[i]);
5139
5143
  });
5140
5144
  }
5141
- const ld = /###/g;
5145
+ const ud = /###/g;
5142
5146
  function qe(t, e, n) {
5143
5147
  function i(o) {
5144
- return o && o.indexOf("###") > -1 ? o.replace(ld, ".") : o;
5148
+ return o && o.indexOf("###") > -1 ? o.replace(ud, ".") : o;
5145
5149
  }
5146
5150
  function a() {
5147
5151
  return !t || typeof t == "string";
@@ -5159,7 +5163,7 @@ function qe(t, e, n) {
5159
5163
  k: i(r[s])
5160
5164
  };
5161
5165
  }
5162
- function Oi(t, e, n) {
5166
+ function Ni(t, e, n) {
5163
5167
  const {
5164
5168
  obj: i,
5165
5169
  k: a
@@ -5173,7 +5177,7 @@ function Oi(t, e, n) {
5173
5177
  r = `${s[s.length - 1]}.${r}`, s = s.slice(0, s.length - 1), o = qe(t, s, Object), o && o.obj && typeof o.obj[`${o.k}.${r}`] != "undefined" && (o.obj = void 0);
5174
5178
  o.obj[`${o.k}.${r}`] = n;
5175
5179
  }
5176
- function ud(t, e, n, i) {
5180
+ function dd(t, e, n, i) {
5177
5181
  const {
5178
5182
  obj: a,
5179
5183
  k: r
@@ -5188,19 +5192,19 @@ function Rt(t, e) {
5188
5192
  if (n)
5189
5193
  return n[i];
5190
5194
  }
5191
- function dd(t, e, n) {
5195
+ function cd(t, e, n) {
5192
5196
  const i = Rt(t, n);
5193
5197
  return i !== void 0 ? i : Rt(e, n);
5194
5198
  }
5195
- function er(t, e, n) {
5199
+ function tr(t, e, n) {
5196
5200
  for (const i in e)
5197
- i !== "__proto__" && i !== "constructor" && (i in t ? typeof t[i] == "string" || t[i] instanceof String || typeof e[i] == "string" || e[i] instanceof String ? n && (t[i] = e[i]) : er(t[i], e[i], n) : t[i] = e[i]);
5201
+ i !== "__proto__" && i !== "constructor" && (i in t ? typeof t[i] == "string" || t[i] instanceof String || typeof e[i] == "string" || e[i] instanceof String ? n && (t[i] = e[i]) : tr(t[i], e[i], n) : t[i] = e[i]);
5198
5202
  return t;
5199
5203
  }
5200
5204
  function Ae(t) {
5201
5205
  return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
5202
5206
  }
5203
- var cd = {
5207
+ var fd = {
5204
5208
  "&": "&amp;",
5205
5209
  "<": "&lt;",
5206
5210
  ">": "&gt;",
@@ -5208,10 +5212,10 @@ var cd = {
5208
5212
  "'": "&#39;",
5209
5213
  "/": "&#x2F;"
5210
5214
  };
5211
- function fd(t) {
5212
- return typeof t == "string" ? t.replace(/[&<>"'\/]/g, (e) => cd[e]) : t;
5215
+ function md(t) {
5216
+ return typeof t == "string" ? t.replace(/[&<>"'\/]/g, (e) => fd[e]) : t;
5213
5217
  }
5214
- class md {
5218
+ class hd {
5215
5219
  constructor(e) {
5216
5220
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
5217
5221
  }
@@ -5223,13 +5227,13 @@ class md {
5223
5227
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, i), this.regExpQueue.push(e), i;
5224
5228
  }
5225
5229
  }
5226
- const hd = [" ", ",", "?", "!", ";"], pd = new md(20);
5227
- function vd(t, e, n) {
5230
+ const pd = [" ", ",", "?", "!", ";"], vd = new hd(20);
5231
+ function gd(t, e, n) {
5228
5232
  e = e || "", n = n || "";
5229
- const i = hd.filter((s) => e.indexOf(s) < 0 && n.indexOf(s) < 0);
5233
+ const i = pd.filter((s) => e.indexOf(s) < 0 && n.indexOf(s) < 0);
5230
5234
  if (i.length === 0)
5231
5235
  return !0;
5232
- const a = pd.getRegExp(`(${i.map((s) => s === "?" ? "\\?" : s).join("|")})`);
5236
+ const a = vd.getRegExp(`(${i.map((s) => s === "?" ? "\\?" : s).join("|")})`);
5233
5237
  let r = !a.test(t);
5234
5238
  if (!r) {
5235
5239
  const s = t.indexOf(n);
@@ -5237,7 +5241,7 @@ function vd(t, e, n) {
5237
5241
  }
5238
5242
  return r;
5239
5243
  }
5240
- function kn(t, e) {
5244
+ function gn(t, e) {
5241
5245
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
5242
5246
  if (!t)
5243
5247
  return;
@@ -5263,7 +5267,7 @@ function kn(t, e) {
5263
5267
  function Tt(t) {
5264
5268
  return t && t.indexOf("_") > 0 ? t.replace("_", "-") : t;
5265
5269
  }
5266
- class wi extends Gt {
5270
+ class Oi extends Kt {
5267
5271
  constructor(e) {
5268
5272
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
5269
5273
  ns: ["translation"],
@@ -5284,7 +5288,7 @@ class wi extends Gt {
5284
5288
  let o;
5285
5289
  e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, n], i && (Array.isArray(i) ? o.push(...i) : typeof i == "string" && r ? o.push(...i.split(r)) : o.push(i)));
5286
5290
  const l = Rt(this.data, o);
5287
- return !l && !n && !i && e.indexOf(".") > -1 && (e = o[0], n = o[1], i = o.slice(2).join(".")), l || !s || typeof i != "string" ? l : kn(this.data && this.data[e] && this.data[e][n], i, r);
5291
+ return !l && !n && !i && e.indexOf(".") > -1 && (e = o[0], n = o[1], i = o.slice(2).join(".")), l || !s || typeof i != "string" ? l : gn(this.data && this.data[e] && this.data[e][n], i, r);
5288
5292
  }
5289
5293
  addResource(e, n, i, a) {
5290
5294
  let r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
@@ -5292,7 +5296,7 @@ class wi extends Gt {
5292
5296
  };
5293
5297
  const s = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator;
5294
5298
  let o = [e, n];
5295
- i && (o = o.concat(s ? i.split(s) : i)), e.indexOf(".") > -1 && (o = e.split("."), a = n, n = o[1]), this.addNamespaces(n), Oi(this.data, o, a), r.silent || this.emit("added", e, n, i, a);
5299
+ i && (o = o.concat(s ? i.split(s) : i)), e.indexOf(".") > -1 && (o = e.split("."), a = n, n = o[1]), this.addNamespaces(n), Ni(this.data, o, a), r.silent || this.emit("added", e, n, i, a);
5296
5300
  }
5297
5301
  addResources(e, n, i) {
5298
5302
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -5310,10 +5314,10 @@ class wi extends Gt {
5310
5314
  }, o = [e, n];
5311
5315
  e.indexOf(".") > -1 && (o = e.split("."), a = i, i = n, n = o[1]), this.addNamespaces(n);
5312
5316
  let l = Rt(this.data, o) || {};
5313
- a ? er(l, i, r) : l = {
5317
+ a ? tr(l, i, r) : l = {
5314
5318
  ...l,
5315
5319
  ...i
5316
- }, Oi(this.data, o, l), s.silent || this.emit("added", e, n, i);
5320
+ }, Ni(this.data, o, l), s.silent || this.emit("added", e, n, i);
5317
5321
  }
5318
5322
  removeResourceBundle(e, n) {
5319
5323
  this.hasResourceBundle(e, n) && delete this.data[e][n], this.removeNamespaces(n), this.emit("removed", e, n);
@@ -5337,7 +5341,7 @@ class wi extends Gt {
5337
5341
  return this.data;
5338
5342
  }
5339
5343
  }
5340
- var tr = {
5344
+ var nr = {
5341
5345
  processors: {},
5342
5346
  addPostProcessor(t) {
5343
5347
  this.processors[t.name] = t;
@@ -5348,11 +5352,11 @@ var tr = {
5348
5352
  }), e;
5349
5353
  }
5350
5354
  };
5351
- const Fi = {};
5352
- class Dt extends Gt {
5355
+ const wi = {};
5356
+ class Dt extends Kt {
5353
5357
  constructor(e) {
5354
5358
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5355
- super(), od(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = ie.create("translator");
5359
+ super(), ld(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = ie.create("translator");
5356
5360
  }
5357
5361
  changeLanguage(e) {
5358
5362
  e && (this.language = e);
@@ -5371,7 +5375,7 @@ class Dt extends Gt {
5371
5375
  i === void 0 && (i = ":");
5372
5376
  const a = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator;
5373
5377
  let r = n.ns || this.options.defaultNS || [];
5374
- const s = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !vd(e, i, a);
5378
+ const s = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !gd(e, i, a);
5375
5379
  if (s && !o) {
5376
5380
  const l = e.match(this.interpolator.nestingRegexp);
5377
5381
  if (l && l.length > 0)
@@ -5468,8 +5472,8 @@ class Dt extends Gt {
5468
5472
  else
5469
5473
  this.options.saveMissingTo === "all" ? A = this.languageUtils.toResolveHierarchy(n.lng || this.language) : A.push(n.lng || this.language);
5470
5474
  const D = (R, $, Me) => {
5471
- const jn = j && Me !== c ? Me : F;
5472
- this.options.missingKeyHandler ? this.options.missingKeyHandler(R, l, $, jn, p, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(R, l, $, jn, p, n), this.emit("missingKey", R, l, $, c);
5475
+ const Vn = j && Me !== c ? Me : F;
5476
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(R, l, $, Vn, p, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(R, l, $, Vn, p, n), this.emit("missingKey", R, l, $, c);
5473
5477
  };
5474
5478
  this.options.saveMissing && (this.options.saveMissingPlurals && I ? A.forEach((R) => {
5475
5479
  const $ = this.pluralResolver.getSuffixes(R, n);
@@ -5520,7 +5524,7 @@ class Dt extends Gt {
5520
5524
  }, i)), i.interpolation && this.interpolator.reset();
5521
5525
  }
5522
5526
  const o = i.postProcess || this.options.postProcess, l = typeof o == "string" ? [o] : o;
5523
- return e != null && l && l.length && i.applyPostProcessor !== !1 && (e = tr.handle(l, e, n, this.options && this.options.postProcessPassResolved ? {
5527
+ return e != null && l && l.length && i.applyPostProcessor !== !1 && (e = nr.handle(l, e, n, this.options && this.options.postProcessPassResolved ? {
5524
5528
  i18nResolved: {
5525
5529
  ...a,
5526
5530
  usedParams: this.getUsedParamsDetails(i)
@@ -5539,7 +5543,7 @@ class Dt extends Gt {
5539
5543
  this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
5540
5544
  const c = n.count !== void 0 && typeof n.count != "string", _ = c && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), O = n.context !== void 0 && (typeof n.context == "string" || typeof n.context == "number") && n.context !== "", g = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
5541
5545
  f.forEach((k) => {
5542
- this.isValidLookup(i) || (o = k, !Fi[`${g[0]}-${k}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (Fi[`${g[0]}-${k}`] = !0, this.logger.warn(`key "${a}" for languages "${g.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!!!")), g.forEach((N) => {
5546
+ this.isValidLookup(i) || (o = k, !wi[`${g[0]}-${k}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (wi[`${g[0]}-${k}`] = !0, this.logger.warn(`key "${a}" for languages "${g.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!!!")), g.forEach((N) => {
5543
5547
  if (this.isValidLookup(i))
5544
5548
  return;
5545
5549
  s = N;
@@ -5599,10 +5603,10 @@ class Dt extends Gt {
5599
5603
  return !1;
5600
5604
  }
5601
5605
  }
5602
- function nn(t) {
5606
+ function tn(t) {
5603
5607
  return t.charAt(0).toUpperCase() + t.slice(1);
5604
5608
  }
5605
- class Ai {
5609
+ class Fi {
5606
5610
  constructor(e) {
5607
5611
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = ie.create("languageUtils");
5608
5612
  }
@@ -5622,7 +5626,7 @@ class Ai {
5622
5626
  if (typeof e == "string" && e.indexOf("-") > -1) {
5623
5627
  const n = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
5624
5628
  let i = e.split("-");
5625
- return this.options.lowerCaseLng ? i = i.map((a) => a.toLowerCase()) : i.length === 2 ? (i[0] = i[0].toLowerCase(), i[1] = i[1].toUpperCase(), n.indexOf(i[1].toLowerCase()) > -1 && (i[1] = nn(i[1].toLowerCase()))) : i.length === 3 && (i[0] = i[0].toLowerCase(), i[1].length === 2 && (i[1] = i[1].toUpperCase()), i[0] !== "sgn" && i[2].length === 2 && (i[2] = i[2].toUpperCase()), n.indexOf(i[1].toLowerCase()) > -1 && (i[1] = nn(i[1].toLowerCase())), n.indexOf(i[2].toLowerCase()) > -1 && (i[2] = nn(i[2].toLowerCase()))), i.join("-");
5629
+ return this.options.lowerCaseLng ? i = i.map((a) => a.toLowerCase()) : i.length === 2 ? (i[0] = i[0].toLowerCase(), i[1] = i[1].toUpperCase(), n.indexOf(i[1].toLowerCase()) > -1 && (i[1] = tn(i[1].toLowerCase()))) : i.length === 3 && (i[0] = i[0].toLowerCase(), i[1].length === 2 && (i[1] = i[1].toUpperCase()), i[0] !== "sgn" && i[2].length === 2 && (i[2] = i[2].toUpperCase()), n.indexOf(i[1].toLowerCase()) > -1 && (i[1] = tn(i[1].toLowerCase())), n.indexOf(i[2].toLowerCase()) > -1 && (i[2] = tn(i[2].toLowerCase()))), i.join("-");
5626
5630
  }
5627
5631
  return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
5628
5632
  }
@@ -5671,7 +5675,7 @@ class Ai {
5671
5675
  }), a;
5672
5676
  }
5673
5677
  }
5674
- let gd = [{
5678
+ let kd = [{
5675
5679
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
5676
5680
  nr: [1, 2],
5677
5681
  fc: 1
@@ -5763,7 +5767,7 @@ let gd = [{
5763
5767
  lngs: ["he", "iw"],
5764
5768
  nr: [1, 2, 20, 21],
5765
5769
  fc: 22
5766
- }], kd = {
5770
+ }], yd = {
5767
5771
  1: function(t) {
5768
5772
  return +(t > 1);
5769
5773
  },
@@ -5831,7 +5835,7 @@ let gd = [{
5831
5835
  return t == 1 ? 0 : t == 2 ? 1 : (t < 0 || t > 10) && t % 10 == 0 ? 2 : 3;
5832
5836
  }
5833
5837
  };
5834
- const yd = ["v1", "v2", "v3"], bd = ["v4"], Ei = {
5838
+ const bd = ["v1", "v2", "v3"], Sd = ["v4"], Ai = {
5835
5839
  zero: 0,
5836
5840
  one: 1,
5837
5841
  two: 2,
@@ -5839,21 +5843,21 @@ const yd = ["v1", "v2", "v3"], bd = ["v4"], Ei = {
5839
5843
  many: 4,
5840
5844
  other: 5
5841
5845
  };
5842
- function Sd() {
5846
+ function _d() {
5843
5847
  const t = {};
5844
- return gd.forEach((e) => {
5848
+ return kd.forEach((e) => {
5845
5849
  e.lngs.forEach((n) => {
5846
5850
  t[n] = {
5847
5851
  numbers: e.nr,
5848
- plurals: kd[e.fc]
5852
+ plurals: yd[e.fc]
5849
5853
  };
5850
5854
  });
5851
5855
  }), t;
5852
5856
  }
5853
- class _d {
5857
+ class Nd {
5854
5858
  constructor(e) {
5855
5859
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5856
- this.languageUtils = e, this.options = n, this.logger = ie.create("pluralResolver"), (!this.options.compatibilityJSON || bd.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 = Sd();
5860
+ this.languageUtils = e, this.options = n, this.logger = ie.create("pluralResolver"), (!this.options.compatibilityJSON || Sd.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 = _d();
5857
5861
  }
5858
5862
  addRule(e, n) {
5859
5863
  this.rules[e] = n;
@@ -5882,7 +5886,7 @@ class _d {
5882
5886
  getSuffixes(e) {
5883
5887
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5884
5888
  const i = this.getRule(e, n);
5885
- return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((a, r) => Ei[a] - Ei[r]).map((a) => `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : i.numbers.map((a) => this.getSuffix(e, a, n)) : [];
5889
+ return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((a, r) => Ai[a] - Ai[r]).map((a) => `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : i.numbers.map((a) => this.getSuffix(e, a, n)) : [];
5886
5890
  }
5887
5891
  getSuffix(e, n) {
5888
5892
  let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -5897,14 +5901,14 @@ class _d {
5897
5901
  return this.options.compatibilityJSON === "v1" ? a === 1 ? "" : typeof a == "number" ? `_plural_${a.toString()}` : r() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? r() : this.options.prepend && i.toString() ? this.options.prepend + i.toString() : i.toString();
5898
5902
  }
5899
5903
  shouldUseIntlApi() {
5900
- return !yd.includes(this.options.compatibilityJSON);
5904
+ return !bd.includes(this.options.compatibilityJSON);
5901
5905
  }
5902
5906
  }
5903
- function Ci(t, e, n) {
5904
- let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, r = dd(t, e, n);
5905
- return !r && a && typeof n == "string" && (r = kn(t, n, i), r === void 0 && (r = kn(e, n, i))), r;
5907
+ function Ei(t, e, n) {
5908
+ let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, r = cd(t, e, n);
5909
+ return !r && a && typeof n == "string" && (r = gn(t, n, i), r === void 0 && (r = gn(e, n, i))), r;
5906
5910
  }
5907
- class Nd {
5911
+ class Od {
5908
5912
  constructor() {
5909
5913
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5910
5914
  this.logger = ie.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((n) => n), this.init(e);
@@ -5915,7 +5919,7 @@ class Nd {
5915
5919
  escapeValue: !0
5916
5920
  });
5917
5921
  const n = e.interpolation;
5918
- this.escape = n.escape !== void 0 ? n.escape : fd, this.escapeValue = n.escapeValue !== void 0 ? n.escapeValue : !0, this.useRawValueToEscape = n.useRawValueToEscape !== void 0 ? n.useRawValueToEscape : !1, this.prefix = n.prefix ? Ae(n.prefix) : n.prefixEscaped || "{{", this.suffix = n.suffix ? Ae(n.suffix) : n.suffixEscaped || "}}", this.formatSeparator = n.formatSeparator ? n.formatSeparator : n.formatSeparator || ",", this.unescapePrefix = n.unescapeSuffix ? "" : n.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : n.unescapeSuffix || "", this.nestingPrefix = n.nestingPrefix ? Ae(n.nestingPrefix) : n.nestingPrefixEscaped || Ae("$t("), this.nestingSuffix = n.nestingSuffix ? Ae(n.nestingSuffix) : n.nestingSuffixEscaped || Ae(")"), this.nestingOptionsSeparator = n.nestingOptionsSeparator ? n.nestingOptionsSeparator : n.nestingOptionsSeparator || ",", this.maxReplaces = n.maxReplaces ? n.maxReplaces : 1e3, this.alwaysFormat = n.alwaysFormat !== void 0 ? n.alwaysFormat : !1, this.resetRegExp();
5922
+ this.escape = n.escape !== void 0 ? n.escape : md, this.escapeValue = n.escapeValue !== void 0 ? n.escapeValue : !0, this.useRawValueToEscape = n.useRawValueToEscape !== void 0 ? n.useRawValueToEscape : !1, this.prefix = n.prefix ? Ae(n.prefix) : n.prefixEscaped || "{{", this.suffix = n.suffix ? Ae(n.suffix) : n.suffixEscaped || "}}", this.formatSeparator = n.formatSeparator ? n.formatSeparator : n.formatSeparator || ",", this.unescapePrefix = n.unescapeSuffix ? "" : n.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : n.unescapeSuffix || "", this.nestingPrefix = n.nestingPrefix ? Ae(n.nestingPrefix) : n.nestingPrefixEscaped || Ae("$t("), this.nestingSuffix = n.nestingSuffix ? Ae(n.nestingSuffix) : n.nestingSuffixEscaped || Ae(")"), this.nestingOptionsSeparator = n.nestingOptionsSeparator ? n.nestingOptionsSeparator : n.nestingOptionsSeparator || ",", this.maxReplaces = n.maxReplaces ? n.maxReplaces : 1e3, this.alwaysFormat = n.alwaysFormat !== void 0 ? n.alwaysFormat : !1, this.resetRegExp();
5919
5923
  }
5920
5924
  reset() {
5921
5925
  this.options && this.init(this.options);
@@ -5932,7 +5936,7 @@ class Nd {
5932
5936
  }
5933
5937
  const d = (O) => {
5934
5938
  if (O.indexOf(this.formatSeparator) < 0) {
5935
- const T = Ci(n, l, O, this.options.keySeparator, this.options.ignoreJSONStructure);
5939
+ const T = Ei(n, l, O, this.options.keySeparator, this.options.ignoreJSONStructure);
5936
5940
  return this.alwaysFormat ? this.format(T, void 0, i, {
5937
5941
  ...a,
5938
5942
  ...n,
@@ -5940,7 +5944,7 @@ class Nd {
5940
5944
  }) : T;
5941
5945
  }
5942
5946
  const g = O.split(this.formatSeparator), k = g.shift().trim(), N = g.join(this.formatSeparator).trim();
5943
- return this.format(Ci(n, l, k, this.options.keySeparator, this.options.ignoreJSONStructure), N, i, {
5947
+ return this.format(Ei(n, l, k, this.options.keySeparator, this.options.ignoreJSONStructure), N, i, {
5944
5948
  ...a,
5945
5949
  ...n,
5946
5950
  interpolationkey: k
@@ -5969,7 +5973,7 @@ class Nd {
5969
5973
  } else
5970
5974
  this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`), s = "";
5971
5975
  else
5972
- typeof s != "string" && !this.useRawValueToEscape && (s = Ni(s));
5976
+ typeof s != "string" && !this.useRawValueToEscape && (s = _i(s));
5973
5977
  const k = O.safeValue(s);
5974
5978
  if (e = e.replace(r[0], k), c ? (O.regex.lastIndex += s.length, O.regex.lastIndex -= r[0].length) : O.regex.lastIndex = 0, o++, o >= this.maxReplaces)
5975
5979
  break;
@@ -6009,7 +6013,7 @@ class Nd {
6009
6013
  }
6010
6014
  if (r = n(o.call(this, a[1].trim(), s), s), r && a[0] === e && typeof r != "string")
6011
6015
  return r;
6012
- typeof r != "string" && (r = Ni(r)), r || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`), r = ""), u && (r = l.reduce((d, f) => this.format(d, f, i.lng, {
6016
+ typeof r != "string" && (r = _i(r)), r || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`), r = ""), u && (r = l.reduce((d, f) => this.format(d, f, i.lng, {
6013
6017
  ...i,
6014
6018
  interpolationkey: a[1].trim()
6015
6019
  }), r.trim())), e = e.replace(a[0], r), this.regexp.lastIndex = 0;
@@ -6017,7 +6021,7 @@ class Nd {
6017
6021
  return e;
6018
6022
  }
6019
6023
  }
6020
- function Od(t) {
6024
+ function wd(t) {
6021
6025
  let e = t.toLowerCase().trim();
6022
6026
  const n = {};
6023
6027
  if (t.indexOf("(") > -1) {
@@ -6044,7 +6048,7 @@ function Ee(t) {
6044
6048
  return o || (o = t(Tt(a), r), e[s] = o), o(i);
6045
6049
  };
6046
6050
  }
6047
- class wd {
6051
+ class Fd {
6048
6052
  constructor() {
6049
6053
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6050
6054
  this.logger = ie.create("formatter"), this.options = e, this.formats = {
@@ -6099,7 +6103,7 @@ class wd {
6099
6103
  const {
6100
6104
  formatName: u,
6101
6105
  formatOptions: d
6102
- } = Od(l);
6106
+ } = wd(l);
6103
6107
  if (this.formats[u]) {
6104
6108
  let f = o;
6105
6109
  try {
@@ -6119,10 +6123,10 @@ class wd {
6119
6123
  }, e);
6120
6124
  }
6121
6125
  }
6122
- function Fd(t, e) {
6126
+ function Ad(t, e) {
6123
6127
  t.pending[e] !== void 0 && (delete t.pending[e], t.pendingCount--);
6124
6128
  }
6125
- class Ad extends Gt {
6129
+ class Ed extends Kt {
6126
6130
  constructor(e, n, i) {
6127
6131
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
6128
6132
  super(), this.backend = e, this.store = n, this.services = i, this.languageUtils = i.languageUtils, this.options = a, this.logger = ie.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);
@@ -6153,7 +6157,7 @@ class Ad extends Gt {
6153
6157
  n && this.emit("failedLoading", r, s, n), i && this.store.addResourceBundle(r, s, i), this.state[e] = n ? -1 : 2;
6154
6158
  const o = {};
6155
6159
  this.queue.forEach((l) => {
6156
- ud(l.loaded, [r], s), Fd(l, e), n && l.errors.push(n), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((u) => {
6160
+ dd(l.loaded, [r], s), Ad(l, e), n && l.errors.push(n), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((u) => {
6157
6161
  o[u] || (o[u] = {});
6158
6162
  const d = l.loaded[u];
6159
6163
  d.length && d.forEach((f) => {
@@ -6256,7 +6260,7 @@ class Ad extends Gt {
6256
6260
  }
6257
6261
  }
6258
6262
  }
6259
- function xi() {
6263
+ function Ci() {
6260
6264
  return {
6261
6265
  debug: !1,
6262
6266
  initImmediate: !0,
@@ -6315,22 +6319,22 @@ function xi() {
6315
6319
  }
6316
6320
  };
6317
6321
  }
6318
- function Ri(t) {
6322
+ function xi(t) {
6319
6323
  return typeof t.ns == "string" && (t.ns = [t.ns]), typeof t.fallbackLng == "string" && (t.fallbackLng = [t.fallbackLng]), typeof t.fallbackNS == "string" && (t.fallbackNS = [t.fallbackNS]), t.supportedLngs && t.supportedLngs.indexOf("cimode") < 0 && (t.supportedLngs = t.supportedLngs.concat(["cimode"])), t;
6320
6324
  }
6321
6325
  function mt() {
6322
6326
  }
6323
- function Ed(t) {
6327
+ function Cd(t) {
6324
6328
  Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach((n) => {
6325
6329
  typeof t[n] == "function" && (t[n] = t[n].bind(t));
6326
6330
  });
6327
6331
  }
6328
- class tt extends Gt {
6332
+ class tt extends Kt {
6329
6333
  constructor() {
6330
6334
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
6331
- if (super(), this.options = Ri(e), this.services = {}, this.logger = ie, this.modules = {
6335
+ if (super(), this.options = xi(e), this.services = {}, this.logger = ie, this.modules = {
6332
6336
  external: []
6333
- }, Ed(this), n && !this.isInitialized && !e.isClone) {
6337
+ }, Cd(this), n && !this.isInitialized && !e.isClone) {
6334
6338
  if (!this.options.initImmediate)
6335
6339
  return this.init(e, n), this;
6336
6340
  setTimeout(() => {
@@ -6342,11 +6346,11 @@ class tt extends Gt {
6342
6346
  var e = this;
6343
6347
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
6344
6348
  typeof n == "function" && (i = n, n = {}), !n.defaultNS && n.defaultNS !== !1 && n.ns && (typeof n.ns == "string" ? n.defaultNS = n.ns : n.ns.indexOf("translation") < 0 && (n.defaultNS = n.ns[0]));
6345
- const a = xi();
6349
+ const a = Ci();
6346
6350
  this.options = {
6347
6351
  ...a,
6348
6352
  ...this.options,
6349
- ...Ri(n)
6353
+ ...xi(n)
6350
6354
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
6351
6355
  ...a.interpolation,
6352
6356
  ...this.options.interpolation
@@ -6357,17 +6361,17 @@ class tt extends Gt {
6357
6361
  if (!this.options.isClone) {
6358
6362
  this.modules.logger ? ie.init(r(this.modules.logger), this.options) : ie.init(null, this.options);
6359
6363
  let d;
6360
- this.modules.formatter ? d = this.modules.formatter : typeof Intl != "undefined" && (d = wd);
6361
- const f = new Ai(this.options);
6362
- this.store = new wi(this.options.resources, this.options);
6364
+ this.modules.formatter ? d = this.modules.formatter : typeof Intl != "undefined" && (d = Fd);
6365
+ const f = new Fi(this.options);
6366
+ this.store = new Oi(this.options.resources, this.options);
6363
6367
  const c = this.services;
6364
- c.logger = ie, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new _d(f, {
6368
+ c.logger = ie, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new Nd(f, {
6365
6369
  prepend: this.options.pluralSeparator,
6366
6370
  compatibilityJSON: this.options.compatibilityJSON,
6367
6371
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
6368
- }), d && (!this.options.interpolation.format || this.options.interpolation.format === a.interpolation.format) && (c.formatter = r(d), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new Nd(this.options), c.utils = {
6372
+ }), d && (!this.options.interpolation.format || this.options.interpolation.format === a.interpolation.format) && (c.formatter = r(d), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new Od(this.options), c.utils = {
6369
6373
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
6370
- }, c.backendConnector = new Ad(r(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(_) {
6374
+ }, c.backendConnector = new Ed(r(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(_) {
6371
6375
  for (var O = arguments.length, g = new Array(O > 1 ? O - 1 : 0), k = 1; k < O; k++)
6372
6376
  g[k - 1] = arguments[k];
6373
6377
  e.emit(_, ...g);
@@ -6432,7 +6436,7 @@ class tt extends Gt {
6432
6436
  throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
6433
6437
  if (!e.type)
6434
6438
  throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
6435
- 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" && tr.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
6439
+ 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" && nr.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
6436
6440
  }
6437
6441
  setResolvedLanguage(e) {
6438
6442
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
@@ -6533,7 +6537,7 @@ class tt extends Gt {
6533
6537
  dir(e) {
6534
6538
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e)
6535
6539
  return "rtl";
6536
- const n = ["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 Ai(xi());
6540
+ const n = ["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 Fi(Ci());
6537
6541
  return n.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
6538
6542
  }
6539
6543
  static createInstance() {
@@ -6555,7 +6559,7 @@ class tt extends Gt {
6555
6559
  ...this.services
6556
6560
  }, r.services.utils = {
6557
6561
  hasLoadedNamespace: r.hasLoadedNamespace.bind(r)
6558
- }, i && (r.store = new wi(this.store.data, a), r.services.resourceStore = r.store), r.translator = new Dt(r.services, a), r.translator.on("*", function(o) {
6562
+ }, i && (r.store = new Oi(this.store.data, a), r.services.resourceStore = r.store), r.translator = new Dt(r.services, a), r.translator.on("*", function(o) {
6559
6563
  for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), d = 1; d < l; d++)
6560
6564
  u[d - 1] = arguments[d];
6561
6565
  r.emit(o, ...u);
@@ -6589,7 +6593,7 @@ K.setDefaultNamespace;
6589
6593
  K.hasLoadedNamespace;
6590
6594
  K.loadNamespaces;
6591
6595
  K.loadLanguages;
6592
- const Cd = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, xd = {
6596
+ const xd = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Rd = {
6593
6597
  "&amp;": "&",
6594
6598
  "&#38;": "&",
6595
6599
  "&lt;": "<",
@@ -6610,8 +6614,8 @@ const Cd = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
6610
6614
  "&#8230;": "…",
6611
6615
  "&#x2F;": "/",
6612
6616
  "&#47;": "/"
6613
- }, Rd = (t) => xd[t], Td = (t) => t.replace(Cd, Rd);
6614
- let Ti = {
6617
+ }, Td = (t) => Rd[t], Dd = (t) => t.replace(xd, Td);
6618
+ let Ri = {
6615
6619
  bindI18n: "languageChanged",
6616
6620
  bindI18nStore: "",
6617
6621
  transEmptyNodeValue: "",
@@ -6619,95 +6623,95 @@ let Ti = {
6619
6623
  transWrapTextNodes: "",
6620
6624
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
6621
6625
  useSuspense: !0,
6622
- unescape: Td
6626
+ unescape: Dd
6623
6627
  };
6624
- function Dd() {
6628
+ function Ld() {
6625
6629
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6626
- Ti = {
6627
- ...Ti,
6630
+ Ri = {
6631
+ ...Ri,
6628
6632
  ...t
6629
6633
  };
6630
6634
  }
6631
- const Ld = {
6635
+ const Pd = {
6632
6636
  type: "3rdParty",
6633
6637
  init(t) {
6634
- Dd(t.options.react);
6638
+ Ld(t.options.react);
6635
6639
  }
6636
6640
  };
6637
- rd(K, Ld);
6638
- const tc = (t) => $u(K, t);
6639
- let Vn = /* @__PURE__ */ new Map();
6640
- const yn = Di(Vn), nc = ({ children: t, stores: e }) => {
6641
- const n = bn(yn), i = lr(() => {
6641
+ sd(K, Pd);
6642
+ const nc = (t) => Bu(K, t);
6643
+ let In = /* @__PURE__ */ new Map();
6644
+ const kn = Ti(In), ic = ({ children: t, stores: e }) => {
6645
+ const n = yn(kn), i = ur(() => {
6642
6646
  const a = /* @__PURE__ */ new Map();
6643
- return e.forEach((r) => a.set(r.class, r.value)), Vn = new Map([...n, ...a]);
6647
+ return e.forEach((r) => a.set(r.class, r.value)), In = new Map([...n, ...a]);
6644
6648
  }, []);
6645
- return /* @__PURE__ */ dr(yn.Provider, { value: i, children: t });
6649
+ return /* @__PURE__ */ cr(kn.Provider, { value: i, children: t });
6646
6650
  };
6647
- function ic(t) {
6648
- return bn(yn).get(t);
6649
- }
6650
6651
  function ac(t) {
6651
- return Vn.get(t);
6652
+ return yn(kn).get(t);
6653
+ }
6654
+ function rc(t) {
6655
+ return In.get(t);
6652
6656
  }
6653
6657
  export {
6654
- za as AccountContractStatusTypes,
6655
- Yo as AccountContractTypes,
6656
- Gd as AccountInvalidError,
6657
- tl as AccountPlanDescriptionTypes,
6658
- al as AccountRestRepository,
6659
- rl as AccountService,
6660
- el as AccountSubscriptionTypes,
6661
- Ba as AccountTypes,
6662
- In as AddToCartActionTypes,
6663
- Zo as AggregateRoot,
6664
- Xd as ApiGraphqlTypes,
6665
- qd as BaseMobxStore,
6666
- wo as BroadcastChannelEventBus,
6667
- Kt as DomainError,
6668
- Zd as EventBusWildcards,
6669
- tu as EventNames,
6670
- nl as GlobalPageSectionTypes,
6671
- jo as InvalidNizzaGlobalObjectError,
6672
- nu as LanguageTypes,
6673
- Co as Logger,
6674
- Dn as NizzaAccount,
6675
- eu as NizzaEventStatus,
6676
- au as NizzaProductRequestOriginTypes,
6658
+ Ka as AccountContractStatusTypes,
6659
+ el as AccountContractTypes,
6660
+ Qd as AccountInvalidError,
6661
+ nl as AccountPlanDescriptionTypes,
6662
+ rl as AccountRestRepository,
6663
+ sl as AccountService,
6664
+ tl as AccountSubscriptionTypes,
6665
+ za as AccountTypes,
6666
+ Pn as AddToCartActionTypes,
6667
+ Xo as AggregateRoot,
6668
+ Yd as ApiGraphqlTypes,
6669
+ Wd as BaseMobxStore,
6670
+ Fo as BroadcastChannelEventBus,
6671
+ zt as DomainError,
6672
+ Xd as EventBusWildcards,
6673
+ nu as EventNames,
6674
+ il as GlobalPageSectionTypes,
6675
+ Uo as InvalidNizzaGlobalObjectError,
6676
+ iu as LanguageTypes,
6677
+ xo as Logger,
6678
+ Tn as NizzaAccount,
6679
+ tu as NizzaEventStatus,
6680
+ ru as NizzaProductRequestOriginTypes,
6677
6681
  At as NizzaStore,
6678
- iu as NizzaVariationTypes,
6679
- Io as ResourceNotFoundError,
6680
- nc as StoreProvider,
6681
- Vo as UnexpectedError,
6682
- Wd as ValueObject,
6683
- Sn as accountAtom,
6684
- Ka as accountService,
6685
- gi as addToCartMessages,
6686
- Ud as apiCall,
6687
- Uu as buildLanguageTranslations,
6688
- Mu as buildTranslations,
6682
+ au as NizzaVariationTypes,
6683
+ Vo as ResourceNotFoundError,
6684
+ ic as StoreProvider,
6685
+ jo as UnexpectedError,
6686
+ Jd as ValueObject,
6687
+ bn as accountAtom,
6688
+ Ga as accountService,
6689
+ vi as addToCartMessages,
6690
+ Md as apiCall,
6691
+ Mu as buildLanguageTranslations,
6692
+ $u as buildTranslations,
6689
6693
  fe as coreLogger,
6690
- ju as createActionFactory,
6691
- Xo as createAggregateRoot,
6692
- Yd as createStore,
6693
- Vi as customFetch,
6694
- Md as downloadFile,
6695
- Bd as fileOrigin,
6696
- Yl as getAccount,
6697
- Hd as getClientTimeZone,
6698
- zt as getNizza,
6699
- ac as getStore,
6700
- Xl as globalAtomStore,
6701
- rd as i18Init,
6702
- Tr as jsDownload,
6703
- Kd as logger,
6704
- tc as registerTranslations,
6705
- $u as registerTranslationsOf,
6706
- ec as runAddToCartHooks,
6707
- $d as searchParams,
6708
- Ao as shortId,
6709
- Jd as useAccount,
6710
- Jo as useNizza,
6711
- ic as useStore,
6712
- Qd as validateRequiredProps
6694
+ Uu as createActionFactory,
6695
+ Yo as createAggregateRoot,
6696
+ ec as createStore,
6697
+ Ii as customFetch,
6698
+ $d as downloadFile,
6699
+ zd as fileOrigin,
6700
+ eu as getAccount,
6701
+ qd as getClientTimeZone,
6702
+ Ma as getNizza,
6703
+ rc as getStore,
6704
+ Yl as globalAtomStore,
6705
+ sd as i18Init,
6706
+ Dr as jsDownload,
6707
+ Gd as logger,
6708
+ nc as registerTranslations,
6709
+ Bu as registerTranslationsOf,
6710
+ tc as runAddToCartHooks,
6711
+ Bd as searchParams,
6712
+ Eo as shortId,
6713
+ Zd as useAccount,
6714
+ Zo as useNizza,
6715
+ ac as useStore,
6716
+ Hd as validateRequiredProps
6713
6717
  };