@nizza/core 0.5.0 → 0.5.2

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,28 +1,28 @@
1
- var er = Object.defineProperty;
2
- var tr = (t, e, n) => e in t ? er(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
- var x = (t, e, n) => (tr(t, typeof e != "symbol" ? e + "" : e, n), n);
4
- import * as J from "react";
5
- import he, { createContext as Di, useReducer as nr, useEffect as Li, useDebugValue as ir, useCallback as ar, useContext as yn, useState as rr, forwardRef as Un, memo as Mn, useMemo as sr } from "react";
6
- import { unstable_batchedUpdates as or } from "react-dom";
7
- import { jsx as lr } from "react/jsx-runtime";
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);
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";
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 ur = 0;
10
- function dr(t, e) {
11
- const n = `atom${++ur}`, i = {
9
+ let cr = 0;
10
+ function fr(t, e) {
11
+ const n = `atom${++cr}`, i = {
12
12
  toString: () => n
13
13
  };
14
- return typeof t == "function" ? i.read = t : (i.init = t, i.read = cr, i.write = fr), e && (i.write = e), i;
14
+ return typeof t == "function" ? i.read = t : (i.init = t, i.read = mr, i.write = hr), e && (i.write = e), i;
15
15
  }
16
- function cr(t) {
16
+ function mr(t) {
17
17
  return t(this);
18
18
  }
19
- function fr(t, e, n) {
19
+ function hr(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 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(), mr = (t, e) => {
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) => {
26
26
  kt.set(t, e), t.catch(() => {
27
27
  }).finally(() => kt.delete(t));
28
28
  }, $n = (t, e) => {
@@ -32,7 +32,7 @@ const Gt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Qt = (t) => "in
32
32
  t.status = "fulfilled", t.value = e;
33
33
  }, zn = (t, e) => {
34
34
  t.status = "rejected", t.reason = e;
35
- }, hr = (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, pr = (t, e) => "v" in t && "v" in e && t.v.orig && t.v.orig === e.v.orig, lt = (t) => {
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) => {
36
36
  if ("e" in t)
37
37
  throw t.e;
38
38
  return t.v;
@@ -53,7 +53,7 @@ const Gt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Qt = (t) => "in
53
53
  );
54
54
  let F = !1;
55
55
  S.forEach((p, A) => {
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");
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");
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 Gt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Qt = (t) => "in
67
67
  h
68
68
  ), $e(b, F) && b.d === F.d)
69
69
  return b;
70
- if (we(b) && we(F) && pr(b, F)) {
70
+ if (we(b) && we(F) && gr(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 (hr(y)) {
77
+ if (vr(y)) {
78
78
  let b;
79
79
  const F = () => {
80
80
  const A = r(m);
@@ -102,7 +102,7 @@ const Gt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Qt = (t) => "in
102
102
  ), A(R));
103
103
  };
104
104
  });
105
- return p.orig = y, p.status = "pending", mr(p, (A) => {
105
+ return p.orig = y, p.status = "pending", pr(p, (A) => {
106
106
  A && b(A), h == null || h();
107
107
  }), l(m, p, S, !0);
108
108
  }
@@ -125,11 +125,11 @@ const Gt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Qt = (t) => "in
125
125
  const h = /* @__PURE__ */ new Map();
126
126
  let b = !0;
127
127
  const F = (D) => {
128
- if (Gt(m, D)) {
128
+ if (Qt(m, D)) {
129
129
  const $ = r(D);
130
130
  if ($)
131
131
  return h.set(D, $), lt($);
132
- if (Qt(D))
132
+ if (Ht(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 Gt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Qt = (t) => "in
142
142
  return p || (p = new AbortController()), p.signal;
143
143
  },
144
144
  get setSelf() {
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) => {
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) => {
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 Gt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Qt = (t) => "in
204
204
  let S = !0;
205
205
  const h = (p) => lt(f(p)), b = (p, ...A) => {
206
206
  let U;
207
- if (Gt(m, p)) {
208
- if (!Qt(p))
207
+ if (Qt(m, p)) {
208
+ if (!Ht(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 Gt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Qt = (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), Ht(m) && m.onMount) {
239
+ if (e.set(m, F), (z ? "production" : void 0) !== "production" && a.add(m), qt(m) && m.onMount) {
240
240
  const { onMount: p } = m;
241
241
  b.push(() => {
242
242
  const A = p((...U) => T(m, ...U));
@@ -314,7 +314,7 @@ const Gt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Qt = (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
- Qt(S) && (u(S, h), k(S));
317
+ Ht(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 Gt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Qt = (t) => "in
326
326
  sub: j
327
327
  };
328
328
  };
329
- let qt;
329
+ let Wt;
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 vr = () => (qt || ((z ? "production" : void 0) !== "production" && globalThis.__NUMBER_OF_JOTAI_INSTANCES__ !== 1 && console.warn(
331
+ const kr = () => (Wt || ((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
- ), qt = Pi()), qt);
334
- var gr = { 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 kr = Di(void 0), Ii = (t) => {
336
- const e = yn(kr);
337
- return (t == null ? void 0 : t.store) || e || vr();
338
- }, yr = (t) => typeof (t == null ? void 0 : t.then) == "function", br = he.use || ((t) => {
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) => {
339
339
  if (t.status === "pending")
340
340
  throw t;
341
341
  if (t.status === "fulfilled")
@@ -349,8 +349,8 @@ const kr = Di(void 0), Ii = (t) => {
349
349
  }
350
350
  ), t);
351
351
  });
352
- function Sr(t, e) {
353
- const n = Ii(e), [[i, a, r], s] = nr(
352
+ function Nr(t, e) {
353
+ const n = Ii(e), [[i, a, r], s] = ar(
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];
@@ -370,37 +370,37 @@ function Sr(t, e) {
370
370
  s();
371
371
  });
372
372
  return s(), u;
373
- }, [n, t, l]), ir(o), yr(o) ? br(o) : o;
373
+ }, [n, t, l]), rr(o), Sr(o) ? _r(o) : o;
374
374
  }
375
- function _r(t, e) {
375
+ function Or(t, e) {
376
376
  const n = Ii(e);
377
- return ar(
377
+ return sr(
378
378
  (...a) => {
379
- if ((gr ? "production" : void 0) !== "production" && !("write" in t))
379
+ if ((yr ? "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 Nr(t, e) {
386
+ function wr(t, e) {
387
387
  return [
388
- Sr(t, e),
388
+ Nr(t, e),
389
389
  // We do wrong type assertion here, which results in throwing an error.
390
- _r(t, e)
390
+ Or(t, e)
391
391
  ];
392
392
  }
393
- const bn = dr(null);
394
- bn.debugLabel = "accountAtom";
395
- var Or = { 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 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 };
396
396
  const {
397
- NZ_AWS_REGION: wr,
398
- NZ_BACKOFFICE_BACK_URL: Fr,
399
- NZ_CORE_SERVICES_GRAPHQL_URL: Ar,
400
- NZ_CORE_SERVICES_REST_URL: Er
401
- } = Or, Cr = {
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 = {
402
402
  AWS: {
403
- region: wr,
403
+ region: Ar,
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: Fr || "https://b133h34s56.execute-api.us-east-1.amazonaws.com",
412
- restV2: Er || "https://core-services-prod.nizza.com/api",
413
- graphql: Ar || "https://core-services-prod.nizza.com/graphql",
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",
414
414
  corsProxy: "https://3hvqfl2xcg.execute-api.us-east-1.amazonaws.com"
415
415
  },
416
416
  publicUrls: {
@@ -462,11 +462,11 @@ async function Vi(t) {
462
462
  throw console.error("[CustomFetch] ", u), u;
463
463
  }
464
464
  }
465
- const Id = (t) => Vi({ ...t, contentTypeJson: !1, raw: !1 });
466
- function Vd(t, e, n) {
467
- fetch(e).then((i) => i.blob()).then((i) => xr(i, `${t}.${n}`));
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}`));
468
468
  }
469
- const xr = (t, e, n) => {
469
+ const Tr = (t, e, n) => {
470
470
  const i = [t], a = new Blob(i, {
471
471
  type: n != null ? n : "application/octet-stream"
472
472
  });
@@ -482,17 +482,17 @@ 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 Rr = {};
486
- function Sn() {
487
- return typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : Rr;
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;
488
488
  }
489
- var ji = Object.assign, yt = Object.getOwnPropertyDescriptor, ae = Object.defineProperty, Lt = Object.prototype, nn = [];
490
- Object.freeze(nn);
489
+ var ji = Object.assign, yt = Object.getOwnPropertyDescriptor, ae = Object.defineProperty, Lt = Object.prototype, an = [];
490
+ Object.freeze(an);
491
491
  var Ui = {};
492
492
  Object.freeze(Ui);
493
- var Tr = typeof Proxy != "undefined", Dr = /* @__PURE__ */ Object.toString();
493
+ var Lr = typeof Proxy != "undefined", Pr = /* @__PURE__ */ Object.toString();
494
494
  function Mi() {
495
- Tr || L("Proxy not available");
495
+ Lr || L("Proxy not available");
496
496
  }
497
497
  function $i(t) {
498
498
  var e = !1;
@@ -503,7 +503,7 @@ function $i(t) {
503
503
  }
504
504
  var xe = function() {
505
505
  };
506
- function Y(t) {
506
+ function ee(t) {
507
507
  return typeof t == "function";
508
508
  }
509
509
  function ge(t) {
@@ -526,7 +526,7 @@ 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() === Dr;
529
+ return typeof n == "function" && n.toString() === Pr;
530
530
  }
531
531
  function Bi(t) {
532
532
  var e = t == null ? void 0 : t.constructor;
@@ -561,7 +561,7 @@ function nt(t) {
561
561
  return t instanceof Set;
562
562
  }
563
563
  var Ki = typeof Object.getOwnPropertySymbols != "undefined";
564
- function Lr(t) {
564
+ function Ir(t) {
565
565
  var e = Object.keys(t);
566
566
  if (!Ki)
567
567
  return e;
@@ -582,7 +582,7 @@ function Gi(t) {
582
582
  function le(t, e) {
583
583
  return Lt.hasOwnProperty.call(t, e);
584
584
  }
585
- var Pr = Object.getOwnPropertyDescriptors || function(e) {
585
+ var Vr = Object.getOwnPropertyDescriptors || function(e) {
586
586
  var n = {};
587
587
  return Vt(e).forEach(function(i) {
588
588
  n[i] = yt(e, i);
@@ -591,10 +591,10 @@ var Pr = Object.getOwnPropertyDescriptors || function(e) {
591
591
  function Gn(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, jr(i.key), i);
594
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, Mr(i.key), i);
595
595
  }
596
596
  }
597
- function _n(t, e, n) {
597
+ function Nn(t, e, n) {
598
598
  return e && Gn(t.prototype, e), n && Gn(t, n), Object.defineProperty(t, "prototype", {
599
599
  writable: !1
600
600
  }), t;
@@ -610,19 +610,19 @@ function ke() {
610
610
  }, ke.apply(this, arguments);
611
611
  }
612
612
  function Qi(t, e) {
613
- t.prototype = Object.create(e.prototype), t.prototype.constructor = t, an(t, e);
613
+ t.prototype = Object.create(e.prototype), t.prototype.constructor = t, rn(t, e);
614
614
  }
615
- function an(t, e) {
616
- return an = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, a) {
615
+ function rn(t, e) {
616
+ return rn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, a) {
617
617
  return i.__proto__ = a, i;
618
- }, an(t, e);
618
+ }, rn(t, e);
619
619
  }
620
- function Wt(t) {
620
+ function Jt(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 Ir(t, e) {
625
+ function jr(t, e) {
626
626
  if (t) {
627
627
  if (typeof t == "string")
628
628
  return Qn(t, e);
@@ -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 = Ir(t)) || e && t && typeof t.length == "number") {
646
+ if (Array.isArray(t) || (n = jr(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 Vr(t, e) {
661
+ function Ur(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 Vr(t, e) {
670
670
  }
671
671
  return (e === "string" ? String : Number)(t);
672
672
  }
673
- function jr(t) {
674
- var e = Vr(t, "string");
673
+ function Mr(t) {
674
+ var e = Ur(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])), Hr(n) || (t[ne][e] = n);
687
+ le(t, ne) || It(t, ne, ke({}, t[ne])), Wr(n) || (t[ne][e] = n);
688
688
  }
689
- function Ur(t) {
689
+ function $r(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 da(this);
709
+ return ca(this);
710
710
  }, e.reportChanged = function() {
711
- q(), ca(this), W();
711
+ W(), fa(this), J();
712
712
  }, e.toString = function() {
713
713
  return this.name_;
714
714
  }, t;
715
- }(), Nn = /* @__PURE__ */ Se("Atom", at);
715
+ }(), On = /* @__PURE__ */ Se("Atom", at);
716
716
  function Hi(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 && Zs(i, e), n !== xe && va(i, n), i;
719
+ return e !== xe && Xs(i, e), n !== xe && ka(i, n), i;
720
720
  }
721
- function Mr(t, e) {
721
+ function Br(t, e) {
722
722
  return t === e;
723
723
  }
724
- function $r(t, e) {
725
- return xn(t, e);
724
+ function zr(t, e) {
725
+ return Rn(t, e);
726
726
  }
727
- function Br(t, e) {
728
- return xn(t, e, 1);
727
+ function Kr(t, e) {
728
+ return Rn(t, e, 1);
729
729
  }
730
- function zr(t, e) {
730
+ function Gr(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: Mr,
735
- structural: $r,
736
- default: zr,
737
- shallow: Br
734
+ identity: Br,
735
+ structural: zr,
736
+ default: Gr,
737
+ shallow: Kr
738
738
  };
739
739
  function ye(t, e, n) {
740
- return ba(t) ? t : Array.isArray(t) ? B.array(t, {
740
+ return _a(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
@@ -747,7 +747,7 @@ function ye(t, e, n) {
747
747
  name: n
748
748
  }) : typeof t == "function" && !$t(t) && !Ze(t) ? Bi(t) ? De(t) : Je(n, t) : t;
749
749
  }
750
- function Kr(t, e, n) {
750
+ function Qr(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 Kr(t, e, n) {
774
774
  function jt(t) {
775
775
  return t;
776
776
  }
777
- function Gr(t, e) {
778
- return xn(t, e) ? e : t;
777
+ function Hr(t, e) {
778
+ return Rn(t, e) ? e : t;
779
779
  }
780
- var Qr = "override";
781
- function Hr(t) {
782
- return t.annotationType_ === Qr;
780
+ var qr = "override";
781
+ function Wr(t) {
782
+ return t.annotationType_ === qr;
783
783
  }
784
784
  function rt(t, e) {
785
785
  return {
786
786
  annotationType_: t,
787
787
  options_: e,
788
- make_: qr,
789
- extend_: Wr,
790
- decorate_20223_: Jr
788
+ make_: Jr,
789
+ extend_: Zr,
790
+ decorate_20223_: Xr
791
791
  };
792
792
  }
793
- function qr(t, e, n, i) {
793
+ function Jr(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;
@@ -801,11 +801,11 @@ function qr(t, e, n, i) {
801
801
  var r = qi(t, this, e, n, !1);
802
802
  return ae(i, e, r), 2;
803
803
  }
804
- function Wr(t, e, n, i) {
804
+ function Zr(t, e, n, i) {
805
805
  var a = qi(t, this, e, n);
806
806
  return t.defineProperty_(e, a, i);
807
807
  }
808
- function Jr(t, e) {
808
+ function Xr(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 Jr(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 Zr(t, e, n, i) {
829
+ function Yr(t, e, n, i) {
830
830
  e.annotationType_, i.value;
831
831
  }
832
832
  function qi(t, e, n, i, a) {
833
833
  var r, s, o, l, u, d, f;
834
- a === void 0 && (a = v.safeDescriptors), Zr(t, e, n, i);
834
+ a === void 0 && (a = v.safeDescriptors), Yr(t, e, n, i);
835
835
  var c = i.value;
836
836
  if ((r = e.options_) != null && r.bound) {
837
837
  var _;
@@ -859,12 +859,12 @@ function Wi(t, e) {
859
859
  return {
860
860
  annotationType_: t,
861
861
  options_: e,
862
- make_: Xr,
863
- extend_: Yr,
864
- decorate_20223_: es
862
+ make_: es,
863
+ extend_: ts,
864
+ decorate_20223_: ns
865
865
  };
866
866
  }
867
- function Xr(t, e, n, i) {
867
+ function es(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;
@@ -875,22 +875,22 @@ function Xr(t, e, n, i) {
875
875
  var r = Ji(t, this, e, n, !1, !1);
876
876
  return ae(i, e, r), 2;
877
877
  }
878
- function Yr(t, e, n, i) {
878
+ function ts(t, e, n, i) {
879
879
  var a, r = Ji(t, this, e, n, (a = this.options_) == null ? void 0 : a.bound);
880
880
  return t.defineProperty_(e, r, i);
881
881
  }
882
- function es(t, e) {
882
+ function ns(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 ts(t, e, n, i) {
889
+ function is(t, e, n, i) {
890
890
  e.annotationType_, i.value;
891
891
  }
892
892
  function Ji(t, e, n, i, a, r) {
893
- r === void 0 && (r = v.safeDescriptors), ts(t, e, n, i);
893
+ r === void 0 && (r = v.safeDescriptors), is(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 On(t, e) {
911
+ function wn(t, e) {
912
912
  return {
913
913
  annotationType_: t,
914
914
  options_: e,
915
- make_: ns,
916
- extend_: is,
917
- decorate_20223_: as
915
+ make_: as,
916
+ extend_: rs,
917
+ decorate_20223_: ss
918
918
  };
919
919
  }
920
- function ns(t, e, n) {
920
+ function as(t, e, n) {
921
921
  return this.extend_(t, e, n, !1) === null ? 0 : 1;
922
922
  }
923
- function is(t, e, n, i) {
924
- return rs(t, this, e, n), t.defineComputedProperty_(e, ke({}, this.options_, {
923
+ function rs(t, e, n, i) {
924
+ return os(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 as(t, e) {
929
+ function ss(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 as(t, e) {
938
938
  return this[E].getObservablePropValue_(i);
939
939
  };
940
940
  }
941
- function rs(t, e, n, i) {
941
+ function os(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_: ss,
949
- extend_: os,
950
- decorate_20223_: ls
948
+ make_: ls,
949
+ extend_: us,
950
+ decorate_20223_: ds
951
951
  };
952
952
  }
953
- function ss(t, e, n) {
953
+ function ls(t, e, n) {
954
954
  return this.extend_(t, e, n, !1) === null ? 0 : 1;
955
955
  }
956
- function os(t, e, n, i) {
956
+ function us(t, e, n, i) {
957
957
  var a, r;
958
- return us(t, this), t.defineObservableProperty_(e, n.value, (a = (r = this.options_) == null ? void 0 : r.enhancer) != null ? a : ye, i);
958
+ return cs(t, this), t.defineObservableProperty_(e, n.value, (a = (r = this.options_) == null ? void 0 : r.enhancer) != null ? a : ye, i);
959
959
  }
960
- function ls(t, e) {
960
+ function ds(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 ls(t, e) {
976
976
  }
977
977
  };
978
978
  }
979
- function us(t, e, n, i) {
979
+ function cs(t, e, n, i) {
980
980
  e.annotationType_;
981
981
  }
982
- var ds = "true", cs = /* @__PURE__ */ Zi();
982
+ var fs = "true", ms = /* @__PURE__ */ Zi();
983
983
  function Zi(t) {
984
984
  return {
985
- annotationType_: ds,
985
+ annotationType_: fs,
986
986
  options_: t,
987
- make_: fs,
988
- extend_: ms,
989
- decorate_20223_: hs
987
+ make_: hs,
988
+ extend_: ps,
989
+ decorate_20223_: vs
990
990
  };
991
991
  }
992
- function fs(t, e, n, i) {
992
+ function hs(t, e, n, i) {
993
993
  var a, r;
994
994
  if (n.get)
995
995
  return pe.make_(t, e, n, i);
@@ -1019,7 +1019,7 @@ function fs(t, e, n, i) {
1019
1019
  }
1020
1020
  return f.make_(t, e, n, i);
1021
1021
  }
1022
- function ms(t, e, n, i) {
1022
+ function ps(t, e, n, i) {
1023
1023
  var a, r;
1024
1024
  if (n.get)
1025
1025
  return pe.extend_(t, e, n, i);
@@ -1035,10 +1035,10 @@ function ms(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 hs(t, e) {
1038
+ function vs(t, e) {
1039
1039
  L("'" + this.annotationType_ + "' cannot be used as a decorator");
1040
1040
  }
1041
- var ps = "observable", vs = "observable.ref", gs = "observable.shallow", ks = "observable.struct", Xi = {
1041
+ var gs = "observable", ks = "observable.ref", ys = "observable.shallow", bs = "observable.struct", Xi = {
1042
1042
  deep: !0,
1043
1043
  name: void 0,
1044
1044
  defaultDecorator: void 0,
@@ -1048,75 +1048,75 @@ Object.freeze(Xi);
1048
1048
  function ut(t) {
1049
1049
  return t || Xi;
1050
1050
  }
1051
- var rn = /* @__PURE__ */ Ut(ps), ys = /* @__PURE__ */ Ut(vs, {
1051
+ var sn = /* @__PURE__ */ Ut(gs), Ss = /* @__PURE__ */ Ut(ks, {
1052
1052
  enhancer: jt
1053
- }), bs = /* @__PURE__ */ Ut(gs, {
1054
- enhancer: Kr
1055
- }), Ss = /* @__PURE__ */ Ut(ks, {
1056
- enhancer: Gr
1057
- }), Yi = /* @__PURE__ */ re(rn);
1053
+ }), _s = /* @__PURE__ */ Ut(ys, {
1054
+ enhancer: Qr
1055
+ }), Ns = /* @__PURE__ */ Ut(bs, {
1056
+ enhancer: Hr
1057
+ }), Yi = /* @__PURE__ */ re(sn);
1058
1058
  function dt(t) {
1059
- return t.deep === !0 ? ye : t.deep === !1 ? jt : Ns(t.defaultDecorator);
1059
+ return t.deep === !0 ? ye : t.deep === !1 ? jt : ws(t.defaultDecorator);
1060
1060
  }
1061
- function _s(t) {
1061
+ function Os(t) {
1062
1062
  var e;
1063
1063
  return t ? (e = t.defaultDecorator) != null ? e : Zi(t) : void 0;
1064
1064
  }
1065
- function Ns(t) {
1065
+ function ws(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
1069
  function ea(t, e, n) {
1070
1070
  if (it(e))
1071
- return rn.decorate_20223_(t, e);
1071
+ return sn.decorate_20223_(t, e);
1072
1072
  if (ge(e)) {
1073
- Ve(t, e, rn);
1073
+ Ve(t, e, sn);
1074
1074
  return;
1075
1075
  }
1076
- return ba(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 _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);
1077
1077
  }
1078
1078
  ji(ea, Yi);
1079
- var Os = {
1079
+ var Fs = {
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 ? _o : fo)(e, dt(i), i.name);
1086
+ return (v.useProxies === !1 || i.proxy === !1 ? No : mo)(e, dt(i), i.name);
1087
1087
  },
1088
1088
  map: function(e, n) {
1089
1089
  var i = ut(n);
1090
- return new wa(e, dt(i), i.name);
1090
+ return new Aa(e, dt(i), i.name);
1091
1091
  },
1092
1092
  set: function(e, n) {
1093
1093
  var i = ut(n);
1094
- return new Ea(e, dt(i), i.name);
1094
+ return new xa(e, dt(i), i.name);
1095
1095
  },
1096
1096
  object: function(e, n, i) {
1097
1097
  return Oe(function() {
1098
- return to(v.useProxies === !1 || (i == null ? void 0 : i.proxy) === !1 ? Ue({}, i) : lo({}, i), e, n);
1098
+ return no(v.useProxies === !1 || (i == null ? void 0 : i.proxy) === !1 ? Ue({}, i) : uo({}, i), e, n);
1099
1099
  });
1100
1100
  },
1101
- ref: /* @__PURE__ */ re(ys),
1102
- shallow: /* @__PURE__ */ re(bs),
1101
+ ref: /* @__PURE__ */ re(Ss),
1102
+ shallow: /* @__PURE__ */ re(_s),
1103
1103
  deep: Yi,
1104
- struct: /* @__PURE__ */ re(Ss)
1105
- }, B = /* @__PURE__ */ ji(ea, Os), ta = "computed", ws = "computed.struct", sn = /* @__PURE__ */ On(ta), Fs = /* @__PURE__ */ On(ws, {
1104
+ struct: /* @__PURE__ */ re(Ns)
1105
+ }, B = /* @__PURE__ */ ji(ea, Fs), ta = "computed", As = "computed.struct", on = /* @__PURE__ */ wn(ta), Es = /* @__PURE__ */ wn(As, {
1106
1106
  equals: bt.structural
1107
1107
  }), pe = function(e, n) {
1108
1108
  if (it(n))
1109
- return sn.decorate_20223_(e, n);
1109
+ return on.decorate_20223_(e, n);
1110
1110
  if (ge(n))
1111
- return Ve(e, n, sn);
1111
+ return Ve(e, n, on);
1112
1112
  if (me(e))
1113
- return re(On(ta, e));
1113
+ return re(wn(ta, 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, sn);
1118
- pe.struct = /* @__PURE__ */ re(Fs);
1119
- var Hn, qn, St = 0, As = 1, Es = (Hn = (qn = /* @__PURE__ */ yt(function() {
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
1120
  }, "name")) == null ? void 0 : qn.configurable) != null ? Hn : !1, Wn = {
1121
1121
  value: "action",
1122
1122
  configurable: !0,
@@ -1126,51 +1126,51 @@ var Hn, qn, St = 0, As = 1, Es = (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 Cs(t, n, e, i || this, arguments);
1129
+ return na(t, n, e, i || this, arguments);
1130
1130
  }
1131
1131
  return a.isMobxAction = !0, a.toString = function() {
1132
1132
  return e.toString();
1133
- }, Es && (Wn.value = t, ae(a, "name", Wn)), a;
1133
+ }, xs && (Wn.value = t, ae(a, "name", Wn)), a;
1134
1134
  }
1135
- function Cs(t, e, n, i, a) {
1136
- var r = xs(t, e);
1135
+ function na(t, e, n, i, a) {
1136
+ var r = Rs(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
- Rs(r);
1142
+ Ts(r);
1143
1143
  }
1144
1144
  }
1145
- function xs(t, e, n, i) {
1145
+ function Rs(t, e, n, i) {
1146
1146
  var a = !1, r = 0, s = v.trackingDerivation, o = !e || !s;
1147
- q();
1147
+ W();
1148
1148
  var l = v.allowStateChanges;
1149
- o && (_e(), l = wn(!0));
1150
- var u = An(!0), d = {
1149
+ o && (_e(), l = Fn(!0));
1150
+ var u = En(!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_: As++,
1157
+ actionId_: Cs++,
1158
1158
  parentActionId_: St
1159
1159
  };
1160
1160
  return St = d.actionId_, d;
1161
1161
  }
1162
- function Rs(t) {
1163
- St !== t.actionId_ && L(30), St = t.parentActionId_, t.error_ !== void 0 && (v.suppressReactionErrors = !0), Fn(t.prevAllowStateChanges_), Qe(t.prevAllowStateReads_), W(), t.runAsAction_ && ue(t.prevDerivation_), v.suppressReactionErrors = !1;
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;
1164
1164
  }
1165
- function wn(t) {
1165
+ function Fn(t) {
1166
1166
  var e = v.allowStateChanges;
1167
1167
  return v.allowStateChanges = t, e;
1168
1168
  }
1169
- function Fn(t) {
1169
+ function An(t) {
1170
1170
  v.allowStateChanges = t;
1171
1171
  }
1172
- var na;
1173
- na = Symbol.toPrimitive;
1172
+ var ia;
1173
+ ia = Symbol.toPrimitive;
1174
1174
  var ve = /* @__PURE__ */ function(t) {
1175
1175
  Qi(e, t);
1176
1176
  function e(i, a, r, s, o) {
@@ -1183,8 +1183,8 @@ var ve = /* @__PURE__ */ function(t) {
1183
1183
  }, n.set = function(a) {
1184
1184
  this.value_, a = this.prepareNewValue_(a), a !== v.UNCHANGED && this.setNewValue_(a);
1185
1185
  }, n.prepareNewValue_ = function(a) {
1186
- if (Q(this)) {
1187
- var r = H(this, {
1186
+ if (H(this)) {
1187
+ var r = q(this, {
1188
1188
  object: this,
1189
1189
  type: se,
1190
1190
  newValue: a
@@ -1196,7 +1196,7 @@ var ve = /* @__PURE__ */ function(t) {
1196
1196
  return a = this.enhancer(a, this.value_, this.name_), this.equals(this.value_, a) ? v.UNCHANGED : a;
1197
1197
  }, n.setNewValue_ = function(a) {
1198
1198
  var r = this.value_;
1199
- this.value_ = a, this.reportChanged(), Z(this) && X(this, {
1199
+ this.value_ = a, this.reportChanged(), X(this) && Y(this, {
1200
1200
  type: se,
1201
1201
  object: this,
1202
1202
  newValue: a,
@@ -1223,18 +1223,18 @@ var ve = /* @__PURE__ */ function(t) {
1223
1223
  return this.name_ + "[" + this.value_ + "]";
1224
1224
  }, n.valueOf = function() {
1225
1225
  return Gi(this.get());
1226
- }, n[na] = function() {
1226
+ }, n[ia] = function() {
1227
1227
  return this.valueOf();
1228
1228
  }, e;
1229
- }(at), ia;
1230
- ia = Symbol.toPrimitive;
1229
+ }(at), aa;
1230
+ aa = 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
- Is(this);
1237
+ Vs(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
- on(this) && (this.warnAboutUntrackedRead_(), q(), this.value_ = this.computeValue_(!1), W());
1250
- else if (da(this), on(this)) {
1249
+ ln(this) && (this.warnAboutUntrackedRead_(), W(), this.value_ = this.computeValue_(!1), J());
1250
+ else if (ca(this), ln(this)) {
1251
1251
  var i = v.trackingContext;
1252
- this.keepAlive_ && !i && (v.trackingContext = this), this.trackAndCompute() && Ps(this), v.trackingContext = i;
1252
+ this.keepAlive_ && !i && (v.trackingContext = this), this.trackAndCompute() && Is(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 = wn(!1), r;
1276
+ var a = Fn(!1), r;
1277
1277
  if (i)
1278
- r = aa(this, this.derivation, this.scope_);
1278
+ r = ra(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 Fn(a), this.isComputing_ = !1, r;
1287
+ return An(a), this.isComputing_ = !1, r;
1288
1288
  }, e.suspend_ = function() {
1289
- this.keepAlive_ || (ln(this), this.value_ = void 0);
1289
+ this.keepAlive_ || (un(this), this.value_ = void 0);
1290
1290
  }, e.observe_ = function(i, a) {
1291
1291
  var r = this, s = !0, o = void 0;
1292
- return Qs(function() {
1292
+ return Hs(function() {
1293
1293
  var l = r.get();
1294
1294
  if (!s || a) {
1295
1295
  var u = _e();
@@ -1309,7 +1309,7 @@ var Te = /* @__PURE__ */ function() {
1309
1309
  return this.name_ + "[" + this.derivation.toString() + "]";
1310
1310
  }, e.valueOf = function() {
1311
1311
  return Gi(this.get());
1312
- }, e[ia] = function() {
1312
+ }, e[aa] = 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 on(t) {
1329
+ function ln(t) {
1330
1330
  switch (t.dependenciesState_) {
1331
1331
  case V.UP_TO_DATE_:
1332
1332
  return !1;
@@ -1334,7 +1334,7 @@ function on(t) {
1334
1334
  case V.STALE_:
1335
1335
  return !0;
1336
1336
  case V.POSSIBLY_STALE_: {
1337
- for (var e = An(!0), n = _e(), i = t.observing_, a = i.length, r = 0; r < a; r++) {
1337
+ for (var e = En(!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 on(t) {
1349
1349
  return ue(n), Qe(e), !0;
1350
1350
  }
1351
1351
  }
1352
- return sa(t), ue(n), Qe(e), !1;
1352
+ return oa(t), ue(n), Qe(e), !1;
1353
1353
  }
1354
1354
  }
1355
1355
  }
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;
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;
1359
1359
  var a = v.trackingDerivation;
1360
1360
  v.trackingDerivation = t, v.inBatch++;
1361
1361
  var r;
@@ -1367,31 +1367,31 @@ function aa(t, e, n) {
1367
1367
  } catch (s) {
1368
1368
  r = new Nt(s);
1369
1369
  }
1370
- return v.inBatch--, v.trackingDerivation = a, Ts(t), Qe(i), r;
1370
+ return v.inBatch--, v.trackingDerivation = a, Ds(t), Qe(i), r;
1371
1371
  }
1372
- function Ts(t) {
1372
+ function Ds(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 && la(l, t), l.diffValue_ = 0;
1379
+ l.diffValue_ === 0 && ua(l, t), l.diffValue_ = 0;
1380
1380
  }
1381
1381
  for (; a--; ) {
1382
1382
  var u = n[a];
1383
- u.diffValue_ === 1 && (u.diffValue_ = 0, Ls(u, t));
1383
+ u.diffValue_ === 1 && (u.diffValue_ = 0, Ps(u, t));
1384
1384
  }
1385
1385
  i !== V.UP_TO_DATE_ && (t.dependenciesState_ = i, t.onBecomeStale_());
1386
1386
  }
1387
- function ln(t) {
1387
+ function un(t) {
1388
1388
  var e = t.observing_;
1389
1389
  t.observing_ = [];
1390
1390
  for (var n = e.length; n--; )
1391
- la(e[n], t);
1391
+ ua(e[n], t);
1392
1392
  t.dependenciesState_ = V.NOT_TRACKING_;
1393
1393
  }
1394
- function ra(t) {
1394
+ function sa(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 An(t) {
1409
+ function En(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 sa(t) {
1416
+ function oa(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,33 +1422,33 @@ function sa(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, oa = !1, v = /* @__PURE__ */ function() {
1426
- var t = /* @__PURE__ */ Sn();
1425
+ }, vt = !0, la = !1, v = /* @__PURE__ */ function() {
1426
+ var t = /* @__PURE__ */ _n();
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
- oa || L(35);
1428
+ la || L(35);
1429
1429
  }, 1), new pt());
1430
1430
  }();
1431
- function Ds() {
1432
- if ((v.pendingReactions.length || v.inBatch || v.isRunningReactions) && L(36), oa = !0, vt) {
1433
- var t = Sn();
1431
+ function Ls() {
1432
+ if ((v.pendingReactions.length || v.inBatch || v.isRunningReactions) && L(36), la = !0, vt) {
1433
+ var t = _n();
1434
1434
  --t.__mobxInstanceCount === 0 && (t.__mobxGlobals = void 0), v = new pt();
1435
1435
  }
1436
1436
  }
1437
- function Ls(t, e) {
1437
+ function Ps(t, e) {
1438
1438
  t.observers_.add(e), t.lowestObserverState_ > e.dependenciesState_ && (t.lowestObserverState_ = e.dependenciesState_);
1439
1439
  }
1440
- function la(t, e) {
1441
- t.observers_.delete(e), t.observers_.size === 0 && ua(t);
1440
+ function ua(t, e) {
1441
+ t.observers_.delete(e), t.observers_.size === 0 && da(t);
1442
1442
  }
1443
- function ua(t) {
1443
+ function da(t) {
1444
1444
  t.isPendingUnobservation_ === !1 && (t.isPendingUnobservation_ = !0, v.pendingUnobservations.push(t));
1445
1445
  }
1446
- function q() {
1446
+ function W() {
1447
1447
  v.inBatch++;
1448
1448
  }
1449
- function W() {
1449
+ function J() {
1450
1450
  if (--v.inBatch === 0) {
1451
- fa();
1451
+ ma();
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 W() {
1456
1456
  v.pendingUnobservations = [];
1457
1457
  }
1458
1458
  }
1459
- function da(t) {
1459
+ function ca(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 && ua(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 && da(t), !1);
1462
1462
  }
1463
- function ca(t) {
1463
+ function fa(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 Ps(t) {
1468
+ function Is(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 Is(t) {
1473
+ function Vs(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), fa());
1486
+ this.isScheduled_ || (this.isScheduled_ = !0, v.pendingReactions.push(this), ma());
1487
1487
  }, e.isScheduled = function() {
1488
1488
  return this.isScheduled_;
1489
1489
  }, e.runReaction_ = function() {
1490
1490
  if (!this.isDisposed_) {
1491
- q(), this.isScheduled_ = !1;
1491
+ W(), this.isScheduled_ = !1;
1492
1492
  var i = v.trackingContext;
1493
- if (v.trackingContext = this, on(this)) {
1493
+ if (v.trackingContext = this, ln(this)) {
1494
1494
  this.isTrackPending_ = !0;
1495
1495
  try {
1496
1496
  this.onInvalidate_();
@@ -1498,15 +1498,15 @@ var We = /* @__PURE__ */ function() {
1498
1498
  this.reportExceptionInDerivation_(a);
1499
1499
  }
1500
1500
  }
1501
- v.trackingContext = i, W();
1501
+ v.trackingContext = i, J();
1502
1502
  }
1503
1503
  }, e.track = function(i) {
1504
1504
  if (!this.isDisposed_) {
1505
- q(), this.isRunning_ = !0;
1505
+ W(), this.isRunning_ = !0;
1506
1506
  var a = v.trackingContext;
1507
1507
  v.trackingContext = this;
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), W();
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();
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_ || (q(), ln(this), W()));
1524
+ this.isDisposed_ || (this.isDisposed_ = !0, this.isRunning_ || (W(), un(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
- }(), Vs = 100, un = function(e) {
1534
+ }(), js = 100, dn = function(e) {
1535
1535
  return e();
1536
1536
  };
1537
- function fa() {
1538
- v.inBatch > 0 || v.isRunningReactions || un(js);
1537
+ function ma() {
1538
+ v.inBatch > 0 || v.isRunningReactions || dn(Us);
1539
1539
  }
1540
- function js() {
1540
+ function Us() {
1541
1541
  v.isRunningReactions = !0;
1542
1542
  for (var t = v.pendingReactions, e = 0; t.length > 0; ) {
1543
- ++e === Vs && (console.error("[mobx] cycle in reaction: " + t[0]), t.splice(0));
1543
+ ++e === js && (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 Us(t) {
1551
- var e = un;
1552
- un = function(i) {
1550
+ function Ms(t) {
1551
+ var e = dn;
1552
+ dn = function(i) {
1553
1553
  return t(function() {
1554
1554
  return e(i);
1555
1555
  });
@@ -1558,46 +1558,49 @@ function Us(t) {
1558
1558
  function He() {
1559
1559
  return !1;
1560
1560
  }
1561
- function Ms(t) {
1561
+ function $s(t) {
1562
1562
  return console.warn("[mobx.spy] Is a no-op in production builds"), function() {
1563
1563
  };
1564
1564
  }
1565
- var ma = "action", $s = "action.bound", ha = "autoAction", Bs = "autoAction.bound", zs = "<unnamed action>", dn = /* @__PURE__ */ rt(ma), Ks = /* @__PURE__ */ rt($s, {
1565
+ var ha = "action", Bs = "action.bound", pa = "autoAction", zs = "autoAction.bound", va = "<unnamed action>", cn = /* @__PURE__ */ rt(ha), Ks = /* @__PURE__ */ rt(Bs, {
1566
1566
  bound: !0
1567
- }), cn = /* @__PURE__ */ rt(ha, {
1567
+ }), fn = /* @__PURE__ */ rt(pa, {
1568
1568
  autoAction: !0
1569
- }), Gs = /* @__PURE__ */ rt(Bs, {
1569
+ }), Gs = /* @__PURE__ */ rt(zs, {
1570
1570
  autoAction: !0,
1571
1571
  bound: !0
1572
1572
  });
1573
- function pa(t) {
1573
+ function ga(t) {
1574
1574
  var e = function(i, a) {
1575
- if (Y(i))
1576
- return be(i.name || zs, i, t);
1577
- if (Y(a))
1575
+ if (ee(i))
1576
+ return be(i.name || va, i, t);
1577
+ if (ee(a))
1578
1578
  return be(i, a, t);
1579
1579
  if (it(a))
1580
- return (t ? cn : dn).decorate_20223_(i, a);
1580
+ return (t ? fn : cn).decorate_20223_(i, a);
1581
1581
  if (ge(a))
1582
- return Ve(i, a, t ? cn : dn);
1582
+ return Ve(i, a, t ? fn : cn);
1583
1583
  if (ge(i))
1584
- return re(rt(t ? ha : ma, {
1584
+ return re(rt(t ? pa : ha, {
1585
1585
  name: i,
1586
1586
  autoAction: t
1587
1587
  }));
1588
1588
  };
1589
1589
  return e;
1590
1590
  }
1591
- var de = /* @__PURE__ */ pa(!1);
1592
- Object.assign(de, dn);
1593
- var Je = /* @__PURE__ */ pa(!0);
1594
- Object.assign(Je, cn);
1591
+ var de = /* @__PURE__ */ ga(!1);
1592
+ Object.assign(de, cn);
1593
+ var Je = /* @__PURE__ */ ga(!0);
1594
+ Object.assign(Je, fn);
1595
1595
  de.bound = /* @__PURE__ */ re(Ks);
1596
1596
  Je.bound = /* @__PURE__ */ re(Gs);
1597
+ function Qs(t) {
1598
+ return na(t.name || va, !1, t, this, void 0);
1599
+ }
1597
1600
  function $t(t) {
1598
- return Y(t) && t.isMobxAction === !0;
1601
+ return ee(t) && t.isMobxAction === !0;
1599
1602
  }
1600
- function Qs(t, e) {
1603
+ function Hs(t, e) {
1601
1604
  var n, i, a, r, s;
1602
1605
  e === void 0 && (e = Ui);
1603
1606
  var o = (n = (i = e) == null ? void 0 : i.name) != null ? n : "Autorun", l = !e.scheduler && !e.delay, u;
@@ -1606,7 +1609,7 @@ function Qs(t, e) {
1606
1609
  this.track(c);
1607
1610
  }, e.onError, e.requiresObservable);
1608
1611
  else {
1609
- var d = qs(e), f = !1;
1612
+ var d = Ws(e), f = !1;
1610
1613
  u = new We(o, function() {
1611
1614
  f || (f = !0, d(function() {
1612
1615
  f = !1, u.isDisposed_ || u.track(c);
@@ -1618,42 +1621,42 @@ function Qs(t, e) {
1618
1621
  }
1619
1622
  return (a = e) != null && (r = a.signal) != null && r.aborted || u.schedule_(), u.getDisposer_((s = e) == null ? void 0 : s.signal);
1620
1623
  }
1621
- var Hs = function(e) {
1624
+ var qs = function(e) {
1622
1625
  return e();
1623
1626
  };
1624
- function qs(t) {
1627
+ function Ws(t) {
1625
1628
  return t.scheduler ? t.scheduler : t.delay ? function(e) {
1626
1629
  return setTimeout(e, t.delay);
1627
- } : Hs;
1630
+ } : qs;
1628
1631
  }
1629
- var Ws = "onBO", Js = "onBUO";
1630
- function Zs(t, e, n) {
1631
- return ga(Ws, t, e, n);
1632
+ var Js = "onBO", Zs = "onBUO";
1633
+ function Xs(t, e, n) {
1634
+ return ya(Js, t, e, n);
1632
1635
  }
1633
- function va(t, e, n) {
1634
- return ga(Js, t, e, n);
1636
+ function ka(t, e, n) {
1637
+ return ya(Zs, t, e, n);
1635
1638
  }
1636
- function ga(t, e, n, i) {
1637
- var a = typeof i == "function" ? Le(e, n) : Le(e), r = Y(i) ? i : n, s = t + "L";
1639
+ function ya(t, e, n, i) {
1640
+ var a = typeof i == "function" ? Le(e, n) : Le(e), r = ee(i) ? i : n, s = t + "L";
1638
1641
  return a[s] ? a[s].add(r) : a[s] = /* @__PURE__ */ new Set([r]), function() {
1639
1642
  var o = a[s];
1640
1643
  o && (o.delete(r), o.size === 0 && delete a[s]);
1641
1644
  };
1642
1645
  }
1643
- var Xs = "never", ct = "always", Ys = "observed";
1644
- function eo(t) {
1645
- t.isolateGlobalState === !0 && Ds();
1646
+ var Ys = "never", ct = "always", eo = "observed";
1647
+ function to(t) {
1648
+ t.isolateGlobalState === !0 && Ls();
1646
1649
  var e = t.useProxies, n = t.enforceActions;
1647
- if (e !== void 0 && (v.useProxies = e === ct ? !0 : e === Xs ? !1 : typeof Proxy != "undefined"), e === "ifavailable" && (v.verifyProxies = !0), n !== void 0) {
1648
- var i = n === ct ? ct : n === Ys;
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;
1649
1652
  v.enforceActions = i, v.allowStateChanges = !(i === !0 || i === ct);
1650
1653
  }
1651
1654
  ["computedRequiresReaction", "reactionRequiresObservable", "observableRequiresReaction", "disableErrorBoundaries", "safeDescriptors"].forEach(function(a) {
1652
1655
  a in t && (v[a] = !!t[a]);
1653
- }), v.allowStateReads = !v.observableRequiresReaction, t.reactionScheduler && Us(t.reactionScheduler);
1656
+ }), v.allowStateReads = !v.observableRequiresReaction, t.reactionScheduler && Ms(t.reactionScheduler);
1654
1657
  }
1655
- function to(t, e, n, i) {
1656
- var a = Pr(e);
1658
+ function no(t, e, n, i) {
1659
+ var a = Vr(e);
1657
1660
  return Oe(function() {
1658
1661
  var r = Ue(t, i)[E];
1659
1662
  Vt(a).forEach(function(s) {
@@ -1666,32 +1669,32 @@ function to(t, e, n, i) {
1666
1669
  });
1667
1670
  }), t;
1668
1671
  }
1669
- function no(t, e) {
1670
- return ka(Le(t, e));
1672
+ function io(t, e) {
1673
+ return ba(Le(t, e));
1671
1674
  }
1672
- function ka(t) {
1675
+ function ba(t) {
1673
1676
  var e = {
1674
1677
  name: t.name_
1675
1678
  };
1676
- return t.observing_ && t.observing_.length > 0 && (e.dependencies = io(t.observing_).map(ka)), e;
1679
+ return t.observing_ && t.observing_.length > 0 && (e.dependencies = ao(t.observing_).map(ba)), e;
1677
1680
  }
1678
- function io(t) {
1681
+ function ao(t) {
1679
1682
  return Array.from(new Set(t));
1680
1683
  }
1681
- var ao = 0;
1682
- function ya() {
1684
+ var ro = 0;
1685
+ function Sa() {
1683
1686
  this.message = "FLOW_CANCELLED";
1684
1687
  }
1685
- ya.prototype = /* @__PURE__ */ Object.create(Error.prototype);
1686
- var Jt = /* @__PURE__ */ Wi("flow"), ro = /* @__PURE__ */ Wi("flow.bound", {
1688
+ Sa.prototype = /* @__PURE__ */ Object.create(Error.prototype);
1689
+ var Zt = /* @__PURE__ */ Wi("flow"), so = /* @__PURE__ */ Wi("flow.bound", {
1687
1690
  bound: !0
1688
1691
  }), De = /* @__PURE__ */ Object.assign(function(e, n) {
1689
1692
  if (it(n))
1690
- return Jt.decorate_20223_(e, n);
1693
+ return Zt.decorate_20223_(e, n);
1691
1694
  if (ge(n))
1692
- return Ve(e, n, Jt);
1695
+ return Ve(e, n, Zt);
1693
1696
  var i = e, a = i.name || "<unnamed flow>", r = function() {
1694
- var o = this, l = arguments, u = ++ao, 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 = ++ro, d = de(a + " - runid: " + u + " - init", i).apply(o, l), f, c = void 0, _ = new Promise(function(O, g) {
1695
1698
  var k = 0;
1696
1699
  f = g;
1697
1700
  function N(w) {
@@ -1715,7 +1718,7 @@ var Jt = /* @__PURE__ */ Wi("flow"), ro = /* @__PURE__ */ Wi("flow.bound", {
1715
1718
  P(C);
1716
1719
  }
1717
1720
  function P(w) {
1718
- if (Y(w == null ? void 0 : w.then)) {
1721
+ if (ee(w == null ? void 0 : w.then)) {
1719
1722
  w.then(P, g);
1720
1723
  return;
1721
1724
  }
@@ -1727,39 +1730,39 @@ var Jt = /* @__PURE__ */ Wi("flow"), ro = /* @__PURE__ */ Wi("flow.bound", {
1727
1730
  try {
1728
1731
  c && Jn(c);
1729
1732
  var O = d.return(void 0), g = Promise.resolve(O.value);
1730
- g.then(xe, xe), Jn(g), f(new ya());
1733
+ g.then(xe, xe), Jn(g), f(new Sa());
1731
1734
  } catch (k) {
1732
1735
  f(k);
1733
1736
  }
1734
1737
  }), _;
1735
1738
  };
1736
1739
  return r.isMobXFlow = !0, r;
1737
- }, Jt);
1738
- De.bound = /* @__PURE__ */ re(ro);
1740
+ }, Zt);
1741
+ De.bound = /* @__PURE__ */ re(so);
1739
1742
  function Jn(t) {
1740
- Y(t.cancel) && t.cancel();
1743
+ ee(t.cancel) && t.cancel();
1741
1744
  }
1742
1745
  function Ze(t) {
1743
1746
  return (t == null ? void 0 : t.isMobXFlow) === !0;
1744
1747
  }
1745
- function so(t, e) {
1746
- return t ? e !== void 0 ? Xe(t) ? t[E].values_.has(e) : !1 : Xe(t) || !!t[E] || Nn(t) || Ot(t) || Mt(t) : !1;
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;
1747
1750
  }
1748
- function ba(t) {
1749
- return so(t);
1751
+ function _a(t) {
1752
+ return oo(t);
1750
1753
  }
1751
1754
  function oe(t, e) {
1752
- e === void 0 && (e = void 0), q();
1755
+ e === void 0 && (e = void 0), W();
1753
1756
  try {
1754
1757
  return t.apply(e);
1755
1758
  } finally {
1756
- W();
1759
+ J();
1757
1760
  }
1758
1761
  }
1759
1762
  function Fe(t) {
1760
1763
  return t[E];
1761
1764
  }
1762
- var oo = {
1765
+ var lo = {
1763
1766
  has: function(e, n) {
1764
1767
  return Fe(e).has_(n);
1765
1768
  },
@@ -1785,11 +1788,11 @@ var oo = {
1785
1788
  L(13);
1786
1789
  }
1787
1790
  };
1788
- function lo(t, e) {
1791
+ function uo(t, e) {
1789
1792
  var n, i;
1790
- return Mi(), t = Ue(t, e), (i = (n = t[E]).proxy_) != null ? i : n.proxy_ = new Proxy(t, oo);
1793
+ return Mi(), t = Ue(t, e), (i = (n = t[E]).proxy_) != null ? i : n.proxy_ = new Proxy(t, lo);
1791
1794
  }
1792
- function Q(t) {
1795
+ function H(t) {
1793
1796
  return t.interceptors_ !== void 0 && t.interceptors_.length > 0;
1794
1797
  }
1795
1798
  function st(t, e) {
@@ -1799,7 +1802,7 @@ function st(t, e) {
1799
1802
  i !== -1 && n.splice(i, 1);
1800
1803
  });
1801
1804
  }
1802
- function H(t, e) {
1805
+ function q(t, e) {
1803
1806
  var n = _e();
1804
1807
  try {
1805
1808
  for (var i = [].concat(t.interceptors_ || []), a = 0, r = i.length; a < r && (e = i[a](e), e && !e.type && L(14), !!e); a++)
@@ -1809,7 +1812,7 @@ function H(t, e) {
1809
1812
  ue(n);
1810
1813
  }
1811
1814
  }
1812
- function Z(t) {
1815
+ function X(t) {
1813
1816
  return t.changeListeners_ !== void 0 && t.changeListeners_.length > 0;
1814
1817
  }
1815
1818
  function ot(t, e) {
@@ -1819,7 +1822,7 @@ function ot(t, e) {
1819
1822
  i !== -1 && n.splice(i, 1);
1820
1823
  });
1821
1824
  }
1822
- function X(t, e) {
1825
+ function Y(t, e) {
1823
1826
  var n = _e(), i = t.changeListeners_;
1824
1827
  if (i) {
1825
1828
  i = i.slice();
@@ -1828,15 +1831,15 @@ function X(t, e) {
1828
1831
  ue(n);
1829
1832
  }
1830
1833
  }
1831
- function Sa(t, e, n) {
1834
+ function Na(t, e, n) {
1832
1835
  return Oe(function() {
1833
1836
  var i, a = Ue(t, n)[E];
1834
- (i = e) != null || (e = Ur(t)), Vt(e).forEach(function(r) {
1837
+ (i = e) != null || (e = $r(t)), Vt(e).forEach(function(r) {
1835
1838
  return a.make_(r, e[r]);
1836
1839
  });
1837
1840
  }), t;
1838
1841
  }
1839
- var Zn = "splice", se = "update", uo = 1e4, co = {
1842
+ var Zn = "splice", se = "update", co = 1e4, fo = {
1840
1843
  get: function(e, n) {
1841
1844
  var i = e[E];
1842
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];
@@ -1848,7 +1851,7 @@ var Zn = "splice", se = "update", uo = 1e4, co = {
1848
1851
  preventExtensions: function() {
1849
1852
  L(15);
1850
1853
  }
1851
- }, En = /* @__PURE__ */ function() {
1854
+ }, Cn = /* @__PURE__ */ function() {
1852
1855
  function t(n, i, a, r) {
1853
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) {
1854
1857
  return i(s, o, "ObservableArray[..]");
@@ -1886,13 +1889,13 @@ var Zn = "splice", se = "update", uo = 1e4, co = {
1886
1889
  } else
1887
1890
  this.spliceWithArray_(i, a - i);
1888
1891
  }, e.updateArrayLength_ = function(i, a) {
1889
- i !== this.lastKnownLength_ && L(16), this.lastKnownLength_ += a, this.legacyMode_ && a > 0 && Ta(i + a + 1);
1892
+ i !== this.lastKnownLength_ && L(16), this.lastKnownLength_ += a, this.legacyMode_ && a > 0 && La(i + a + 1);
1890
1893
  }, e.spliceWithArray_ = function(i, a, r) {
1891
1894
  var s = this;
1892
1895
  this.atom_;
1893
1896
  var o = this.values_.length;
1894
- 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), Q(this)) {
1895
- var l = 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 = an), H(this)) {
1898
+ var l = q(this, {
1896
1899
  object: this.proxy_,
1897
1900
  type: Zn,
1898
1901
  index: i,
@@ -1900,7 +1903,7 @@ var Zn = "splice", se = "update", uo = 1e4, co = {
1900
1903
  added: r
1901
1904
  });
1902
1905
  if (!l)
1903
- return nn;
1906
+ return an;
1904
1907
  a = l.removedCount, r = l.added;
1905
1908
  }
1906
1909
  if (r = r.length === 0 ? r : r.map(function(f) {
@@ -1912,7 +1915,7 @@ var Zn = "splice", se = "update", uo = 1e4, co = {
1912
1915
  var d = this.spliceItemsIntoValues_(i, a, r);
1913
1916
  return (a !== 0 || r.length !== 0) && this.notifyArraySplice_(i, r, d), this.dehanceValues_(d);
1914
1917
  }, e.spliceItemsIntoValues_ = function(i, a, r) {
1915
- if (r.length < uo) {
1918
+ if (r.length < co) {
1916
1919
  var s;
1917
1920
  return (s = this.values_).splice.apply(s, [i, a].concat(r));
1918
1921
  } else {
@@ -1925,7 +1928,7 @@ var Zn = "splice", se = "update", uo = 1e4, co = {
1925
1928
  return o;
1926
1929
  }
1927
1930
  }, e.notifyArrayChildUpdate_ = function(i, a, r) {
1928
- var s = !this.owned_ && He(), o = Z(this), l = o || s ? {
1931
+ var s = !this.owned_ && He(), o = X(this), l = o || s ? {
1929
1932
  observableKind: "array",
1930
1933
  object: this.proxy_,
1931
1934
  type: se,
@@ -1934,9 +1937,9 @@ var Zn = "splice", se = "update", uo = 1e4, co = {
1934
1937
  newValue: a,
1935
1938
  oldValue: r
1936
1939
  } : null;
1937
- this.atom_.reportChanged(), o && X(this, l);
1940
+ this.atom_.reportChanged(), o && Y(this, l);
1938
1941
  }, e.notifyArraySplice_ = function(i, a, r) {
1939
- var s = !this.owned_ && He(), o = Z(this), l = o || s ? {
1942
+ var s = !this.owned_ && He(), o = X(this), l = o || s ? {
1940
1943
  observableKind: "array",
1941
1944
  object: this.proxy_,
1942
1945
  debugObjectName: this.atom_.name_,
@@ -1947,7 +1950,7 @@ var Zn = "splice", se = "update", uo = 1e4, co = {
1947
1950
  removedCount: r.length,
1948
1951
  addedCount: a.length
1949
1952
  } : null;
1950
- this.atom_.reportChanged(), o && X(this, l);
1953
+ this.atom_.reportChanged(), o && Y(this, l);
1951
1954
  }, e.get_ = function(i) {
1952
1955
  if (this.legacyMode_ && i >= this.values_.length) {
1953
1956
  console.warn("[mobx] Out of bounds read: " + i);
@@ -1959,8 +1962,8 @@ var Zn = "splice", se = "update", uo = 1e4, co = {
1959
1962
  if (this.legacyMode_ && i > r.length && L(17, i, r.length), i < r.length) {
1960
1963
  this.atom_;
1961
1964
  var s = r[i];
1962
- if (Q(this)) {
1963
- var o = H(this, {
1965
+ if (H(this)) {
1966
+ var o = q(this, {
1964
1967
  type: se,
1965
1968
  object: this.proxy_,
1966
1969
  index: i,
@@ -1980,11 +1983,11 @@ var Zn = "splice", se = "update", uo = 1e4, co = {
1980
1983
  }
1981
1984
  }, t;
1982
1985
  }();
1983
- function fo(t, e, n, i) {
1986
+ function mo(t, e, n, i) {
1984
1987
  return n === void 0 && (n = "ObservableArray"), i === void 0 && (i = !1), Mi(), Oe(function() {
1985
- var a = new En(n, e, i, !1);
1988
+ var a = new Cn(n, e, i, !1);
1986
1989
  zi(a.values_, E, a);
1987
- var r = new Proxy(a.values_, co);
1990
+ var r = new Proxy(a.values_, fo);
1988
1991
  return a.proxy_ = r, t && t.length && a.spliceWithArray_(0, 0, t), r;
1989
1992
  });
1990
1993
  }
@@ -2052,36 +2055,36 @@ var wt = {
2052
2055
  return i > -1 ? (this.splice(i, 1), !0) : !1;
2053
2056
  }
2054
2057
  };
2055
- M("at", G);
2056
- M("concat", G);
2057
- M("flat", G);
2058
- M("includes", G);
2059
- M("indexOf", G);
2060
- M("join", G);
2061
- M("lastIndexOf", G);
2062
- M("slice", G);
2063
- M("toString", G);
2064
- M("toLocaleString", G);
2065
- M("toSorted", G);
2066
- M("toSpliced", G);
2067
- M("with", G);
2068
- M("every", ee);
2069
- M("filter", ee);
2070
- M("find", ee);
2071
- M("findIndex", ee);
2072
- M("findLast", ee);
2073
- M("findLastIndex", ee);
2074
- M("flatMap", ee);
2075
- M("forEach", ee);
2076
- M("map", ee);
2077
- M("some", ee);
2078
- M("toReversed", ee);
2079
- M("reduce", _a);
2080
- M("reduceRight", _a);
2058
+ M("at", Q);
2059
+ M("concat", Q);
2060
+ M("flat", Q);
2061
+ M("includes", Q);
2062
+ M("indexOf", Q);
2063
+ M("join", Q);
2064
+ M("lastIndexOf", Q);
2065
+ M("slice", Q);
2066
+ M("toString", Q);
2067
+ M("toLocaleString", Q);
2068
+ M("toSorted", Q);
2069
+ M("toSpliced", Q);
2070
+ M("with", Q);
2071
+ M("every", te);
2072
+ M("filter", te);
2073
+ M("find", te);
2074
+ M("findIndex", te);
2075
+ M("findLast", te);
2076
+ M("findLastIndex", te);
2077
+ M("flatMap", te);
2078
+ M("forEach", te);
2079
+ M("map", te);
2080
+ M("some", te);
2081
+ M("toReversed", te);
2082
+ M("reduce", Oa);
2083
+ M("reduceRight", Oa);
2081
2084
  function M(t, e) {
2082
2085
  typeof Array.prototype[t] == "function" && (wt[t] = e(t));
2083
2086
  }
2084
- function G(t) {
2087
+ function Q(t) {
2085
2088
  return function() {
2086
2089
  var e = this[E];
2087
2090
  e.atom_.reportObserved();
@@ -2089,7 +2092,7 @@ function G(t) {
2089
2092
  return n[t].apply(n, arguments);
2090
2093
  };
2091
2094
  }
2092
- function ee(t) {
2095
+ function te(t) {
2093
2096
  return function(e, n) {
2094
2097
  var i = this, a = this[E];
2095
2098
  a.atom_.reportObserved();
@@ -2099,7 +2102,7 @@ function ee(t) {
2099
2102
  });
2100
2103
  };
2101
2104
  }
2102
- function _a(t) {
2105
+ function Oa(t) {
2103
2106
  return function() {
2104
2107
  var e = this, n = this[E];
2105
2108
  n.atom_.reportObserved();
@@ -2109,17 +2112,17 @@ function _a(t) {
2109
2112
  }, i[t].apply(i, arguments);
2110
2113
  };
2111
2114
  }
2112
- var mo = /* @__PURE__ */ Se("ObservableArrayAdministration", En);
2115
+ var ho = /* @__PURE__ */ Se("ObservableArrayAdministration", Cn);
2113
2116
  function Bt(t) {
2114
- return Pt(t) && mo(t[E]);
2117
+ return Pt(t) && ho(t[E]);
2115
2118
  }
2116
- var Na, Oa, ho = {}, ce = "add", Ft = "delete";
2117
- Na = Symbol.iterator;
2118
- Oa = Symbol.toStringTag;
2119
- var wa = /* @__PURE__ */ function() {
2119
+ var wa, Fa, po = {}, ce = "add", Ft = "delete";
2120
+ wa = Symbol.iterator;
2121
+ Fa = Symbol.toStringTag;
2122
+ var Aa = /* @__PURE__ */ function() {
2120
2123
  function t(n, i, a) {
2121
2124
  var r = this;
2122
- i === void 0 && (i = ye), a === void 0 && (a = "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[E] = ho, 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, Y(Map) || L(18), Oe(function() {
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() {
2123
2126
  r.keysAtom_ = Hi("ObservableMap.keys()"), r.data_ = /* @__PURE__ */ new Map(), r.hasMap_ = /* @__PURE__ */ new Map(), n && r.merge(n);
2124
2127
  });
2125
2128
  }
@@ -2133,15 +2136,15 @@ var wa = /* @__PURE__ */ function() {
2133
2136
  var r = this.hasMap_.get(i);
2134
2137
  if (!r) {
2135
2138
  var s = r = new ve(this.has_(i), jt, "ObservableMap.key?", !1);
2136
- this.hasMap_.set(i, s), va(s, function() {
2139
+ this.hasMap_.set(i, s), ka(s, function() {
2137
2140
  return a.hasMap_.delete(i);
2138
2141
  });
2139
2142
  }
2140
2143
  return r.get();
2141
2144
  }, e.set = function(i, a) {
2142
2145
  var r = this.has_(i);
2143
- if (Q(this)) {
2144
- var s = H(this, {
2146
+ if (H(this)) {
2147
+ var s = q(this, {
2145
2148
  type: r ? se : ce,
2146
2149
  object: this,
2147
2150
  newValue: a,
@@ -2154,8 +2157,8 @@ var wa = /* @__PURE__ */ function() {
2154
2157
  return r ? this.updateValue_(i, a) : this.addValue_(i, a), this;
2155
2158
  }, e.delete = function(i) {
2156
2159
  var a = this;
2157
- if (this.keysAtom_, Q(this)) {
2158
- var r = H(this, {
2160
+ if (this.keysAtom_, H(this)) {
2161
+ var r = q(this, {
2159
2162
  type: Ft,
2160
2163
  object: this,
2161
2164
  name: i
@@ -2164,7 +2167,7 @@ var wa = /* @__PURE__ */ function() {
2164
2167
  return !1;
2165
2168
  }
2166
2169
  if (this.has_(i)) {
2167
- var s = He(), o = Z(this), l = o || s ? {
2170
+ var s = He(), o = X(this), l = o || s ? {
2168
2171
  observableKind: "map",
2169
2172
  debugObjectName: this.name_,
2170
2173
  type: Ft,
@@ -2177,13 +2180,13 @@ var wa = /* @__PURE__ */ function() {
2177
2180
  a.keysAtom_.reportChanged(), (u = a.hasMap_.get(i)) == null || u.setNewValue_(!1);
2178
2181
  var d = a.data_.get(i);
2179
2182
  d.setNewValue_(void 0), a.data_.delete(i);
2180
- }), o && X(this, l), !0;
2183
+ }), o && Y(this, l), !0;
2181
2184
  }
2182
2185
  return !1;
2183
2186
  }, e.updateValue_ = function(i, a) {
2184
2187
  var r = this.data_.get(i);
2185
2188
  if (a = r.prepareNewValue_(a), a !== v.UNCHANGED) {
2186
- var s = He(), o = Z(this), l = o || s ? {
2189
+ var s = He(), o = X(this), l = o || s ? {
2187
2190
  observableKind: "map",
2188
2191
  debugObjectName: this.name_,
2189
2192
  type: se,
@@ -2192,7 +2195,7 @@ var wa = /* @__PURE__ */ function() {
2192
2195
  name: i,
2193
2196
  newValue: a
2194
2197
  } : null;
2195
- r.setNewValue_(a), o && X(this, l);
2198
+ r.setNewValue_(a), o && Y(this, l);
2196
2199
  }
2197
2200
  }, e.addValue_ = function(i, a) {
2198
2201
  var r = this;
@@ -2200,7 +2203,7 @@ var wa = /* @__PURE__ */ function() {
2200
2203
  var u, d = new ve(a, r.enhancer_, "ObservableMap.key", !1);
2201
2204
  r.data_.set(i, d), a = d.value_, (u = r.hasMap_.get(i)) == null || u.setNewValue_(!0), r.keysAtom_.reportChanged();
2202
2205
  });
2203
- var s = He(), o = Z(this), l = o || s ? {
2206
+ var s = He(), o = X(this), l = o || s ? {
2204
2207
  observableKind: "map",
2205
2208
  debugObjectName: this.name_,
2206
2209
  type: ce,
@@ -2208,7 +2211,7 @@ var wa = /* @__PURE__ */ function() {
2208
2211
  name: i,
2209
2212
  newValue: a
2210
2213
  } : null;
2211
- o && X(this, l);
2214
+ o && Y(this, l);
2212
2215
  }, e.get = function(i) {
2213
2216
  return this.has(i) ? this.dehanceValue_(this.data_.get(i).get()) : this.dehanceValue_(void 0);
2214
2217
  }, e.dehanceValue_ = function(i) {
@@ -2237,7 +2240,7 @@ var wa = /* @__PURE__ */ function() {
2237
2240
  };
2238
2241
  }
2239
2242
  });
2240
- }, e[Na] = function() {
2243
+ }, e[wa] = function() {
2241
2244
  return this.entries();
2242
2245
  }, e.forEach = function(i, a) {
2243
2246
  for (var r = Re(this), s; !(s = r()).done; ) {
@@ -2247,7 +2250,7 @@ var wa = /* @__PURE__ */ function() {
2247
2250
  }, e.merge = function(i) {
2248
2251
  var a = this;
2249
2252
  return Ne(i) && (i = new Map(i)), oe(function() {
2250
- me(i) ? Lr(i).forEach(function(r) {
2253
+ me(i) ? Ir(i).forEach(function(r) {
2251
2254
  return a.set(r, i[r]);
2252
2255
  }) : Array.isArray(i) ? i.forEach(function(r) {
2253
2256
  var s = r[0], o = r[1];
@@ -2259,7 +2262,7 @@ var wa = /* @__PURE__ */ function() {
2259
2262
  }, e.clear = function() {
2260
2263
  var i = this;
2261
2264
  oe(function() {
2262
- ra(function() {
2265
+ sa(function() {
2263
2266
  for (var a = Re(i.keys()), r; !(r = a()).done; ) {
2264
2267
  var s = r.value;
2265
2268
  i.delete(s);
@@ -2269,7 +2272,7 @@ var wa = /* @__PURE__ */ function() {
2269
2272
  }, e.replace = function(i) {
2270
2273
  var a = this;
2271
2274
  return oe(function() {
2272
- for (var r = po(i), s = /* @__PURE__ */ new Map(), o = !1, l = Re(a.data_.keys()), u; !(u = l()).done; ) {
2275
+ for (var r = vo(i), s = /* @__PURE__ */ new Map(), o = !1, l = Re(a.data_.keys()), u; !(u = l()).done; ) {
2273
2276
  var d = u.value;
2274
2277
  if (!r.has(d)) {
2275
2278
  var f = a.delete(d);
@@ -2309,19 +2312,19 @@ var wa = /* @__PURE__ */ function() {
2309
2312
  return ot(this, i);
2310
2313
  }, e.intercept_ = function(i) {
2311
2314
  return st(this, i);
2312
- }, _n(t, [{
2315
+ }, Nn(t, [{
2313
2316
  key: "size",
2314
2317
  get: function() {
2315
2318
  return this.keysAtom_.reportObserved(), this.data_.size;
2316
2319
  }
2317
2320
  }, {
2318
- key: Oa,
2321
+ key: Fa,
2319
2322
  get: function() {
2320
2323
  return "Map";
2321
2324
  }
2322
2325
  }]), t;
2323
- }(), Ne = /* @__PURE__ */ Se("ObservableMap", wa);
2324
- function po(t) {
2326
+ }(), Ne = /* @__PURE__ */ Se("ObservableMap", Aa);
2327
+ function vo(t) {
2325
2328
  if (Ie(t) || Ne(t))
2326
2329
  return t;
2327
2330
  if (Array.isArray(t))
@@ -2334,13 +2337,13 @@ function po(t) {
2334
2337
  } else
2335
2338
  return L(21, t);
2336
2339
  }
2337
- var Fa, Aa, vo = {};
2338
- Fa = Symbol.iterator;
2339
- Aa = Symbol.toStringTag;
2340
- var Ea = /* @__PURE__ */ function() {
2340
+ var Ea, Ca, go = {};
2341
+ Ea = Symbol.iterator;
2342
+ Ca = Symbol.toStringTag;
2343
+ var xa = /* @__PURE__ */ function() {
2341
2344
  function t(n, i, a) {
2342
2345
  var r = this;
2343
- i === void 0 && (i = ye), a === void 0 && (a = "ObservableSet"), this.name_ = void 0, this[E] = vo, 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, Y(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] = 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) {
2344
2347
  return i(s, o, a);
2345
2348
  }, Oe(function() {
2346
2349
  r.atom_ = Hi(r.name_), n && r.replace(n);
@@ -2352,7 +2355,7 @@ var Ea = /* @__PURE__ */ function() {
2352
2355
  }, e.clear = function() {
2353
2356
  var i = this;
2354
2357
  oe(function() {
2355
- ra(function() {
2358
+ sa(function() {
2356
2359
  for (var a = Re(i.data_.values()), r; !(r = a()).done; ) {
2357
2360
  var s = r.value;
2358
2361
  i.delete(s);
@@ -2366,8 +2369,8 @@ var Ea = /* @__PURE__ */ function() {
2366
2369
  }
2367
2370
  }, e.add = function(i) {
2368
2371
  var a = this;
2369
- if (this.atom_, Q(this)) {
2370
- var r = H(this, {
2372
+ if (this.atom_, H(this)) {
2373
+ var r = q(this, {
2371
2374
  type: ce,
2372
2375
  object: this,
2373
2376
  newValue: i
@@ -2379,20 +2382,20 @@ var Ea = /* @__PURE__ */ function() {
2379
2382
  oe(function() {
2380
2383
  a.data_.add(a.enhancer_(i, void 0)), a.atom_.reportChanged();
2381
2384
  });
2382
- var s = !1, o = Z(this), l = o || s ? {
2385
+ var s = !1, o = X(this), l = o || s ? {
2383
2386
  observableKind: "set",
2384
2387
  debugObjectName: this.name_,
2385
2388
  type: ce,
2386
2389
  object: this,
2387
2390
  newValue: i
2388
2391
  } : null;
2389
- o && X(this, l);
2392
+ o && Y(this, l);
2390
2393
  }
2391
2394
  return this;
2392
2395
  }, e.delete = function(i) {
2393
2396
  var a = this;
2394
- if (Q(this)) {
2395
- var r = H(this, {
2397
+ if (H(this)) {
2398
+ var r = q(this, {
2396
2399
  type: Ft,
2397
2400
  object: this,
2398
2401
  oldValue: i
@@ -2401,7 +2404,7 @@ var Ea = /* @__PURE__ */ function() {
2401
2404
  return !1;
2402
2405
  }
2403
2406
  if (this.has(i)) {
2404
- var s = !1, o = Z(this), l = o || s ? {
2407
+ var s = !1, o = X(this), l = o || s ? {
2405
2408
  observableKind: "set",
2406
2409
  debugObjectName: this.name_,
2407
2410
  type: Ft,
@@ -2410,7 +2413,7 @@ var Ea = /* @__PURE__ */ function() {
2410
2413
  } : null;
2411
2414
  return oe(function() {
2412
2415
  a.atom_.reportChanged(), a.data_.delete(i);
2413
- }), o && X(this, l), !0;
2416
+ }), o && Y(this, l), !0;
2414
2417
  }
2415
2418
  return !1;
2416
2419
  }, e.has = function(i) {
@@ -2460,22 +2463,22 @@ var Ea = /* @__PURE__ */ function() {
2460
2463
  return Array.from(this);
2461
2464
  }, e.toString = function() {
2462
2465
  return "[object ObservableSet]";
2463
- }, e[Fa] = function() {
2466
+ }, e[Ea] = function() {
2464
2467
  return this.values();
2465
- }, _n(t, [{
2468
+ }, Nn(t, [{
2466
2469
  key: "size",
2467
2470
  get: function() {
2468
2471
  return this.atom_.reportObserved(), this.data_.size;
2469
2472
  }
2470
2473
  }, {
2471
- key: Aa,
2474
+ key: Ca,
2472
2475
  get: function() {
2473
2476
  return "Set";
2474
2477
  }
2475
2478
  }]), t;
2476
- }(), je = /* @__PURE__ */ Se("ObservableSet", Ea), Xn = /* @__PURE__ */ Object.create(null), Yn = "remove", Ca = /* @__PURE__ */ function() {
2479
+ }(), je = /* @__PURE__ */ Se("ObservableSet", xa), Xn = /* @__PURE__ */ Object.create(null), Yn = "remove", Ra = /* @__PURE__ */ function() {
2477
2480
  function t(n, i, a, r) {
2478
- i === void 0 && (i = /* @__PURE__ */ new Map()), r === void 0 && (r = cs), 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 = 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_);
2479
2482
  }
2480
2483
  var e = t.prototype;
2481
2484
  return e.getObservablePropValue_ = function(i) {
@@ -2484,8 +2487,8 @@ var Ea = /* @__PURE__ */ function() {
2484
2487
  var r = this.values_.get(i);
2485
2488
  if (r instanceof Te)
2486
2489
  return r.set(a), !0;
2487
- if (Q(this)) {
2488
- var s = H(this, {
2490
+ if (H(this)) {
2491
+ var s = q(this, {
2489
2492
  type: se,
2490
2493
  object: this.proxy_ || this.target_,
2491
2494
  name: i,
@@ -2496,7 +2499,7 @@ var Ea = /* @__PURE__ */ function() {
2496
2499
  a = s.newValue;
2497
2500
  }
2498
2501
  if (a = r.prepareNewValue_(a), a !== v.UNCHANGED) {
2499
- var o = Z(this), l = !1, u = o || l ? {
2502
+ var o = X(this), l = !1, u = o || l ? {
2500
2503
  type: se,
2501
2504
  observableKind: "object",
2502
2505
  debugObjectName: this.name_,
@@ -2505,7 +2508,7 @@ var Ea = /* @__PURE__ */ function() {
2505
2508
  name: i,
2506
2509
  newValue: a
2507
2510
  } : null;
2508
- r.setNewValue_(a), o && X(this, u);
2511
+ r.setNewValue_(a), o && Y(this, u);
2509
2512
  }
2510
2513
  return !0;
2511
2514
  }, e.get_ = function(i) {
@@ -2552,12 +2555,12 @@ var Ea = /* @__PURE__ */ function() {
2552
2555
  }, e.defineProperty_ = function(i, a, r) {
2553
2556
  r === void 0 && (r = !1), this.keysAtom_;
2554
2557
  try {
2555
- q();
2558
+ W();
2556
2559
  var s = this.delete_(i);
2557
2560
  if (!s)
2558
2561
  return s;
2559
- if (Q(this)) {
2560
- var o = H(this, {
2562
+ if (H(this)) {
2563
+ var o = q(this, {
2561
2564
  object: this.proxy_ || this.target_,
2562
2565
  name: i,
2563
2566
  type: ce,
@@ -2577,18 +2580,18 @@ var Ea = /* @__PURE__ */ function() {
2577
2580
  ae(this.target_, i, a);
2578
2581
  this.notifyPropertyAddition_(i, a.value);
2579
2582
  } finally {
2580
- W();
2583
+ J();
2581
2584
  }
2582
2585
  return !0;
2583
2586
  }, e.defineObservableProperty_ = function(i, a, r, s) {
2584
2587
  s === void 0 && (s = !1), this.keysAtom_;
2585
2588
  try {
2586
- q();
2589
+ W();
2587
2590
  var o = this.delete_(i);
2588
2591
  if (!o)
2589
2592
  return o;
2590
- if (Q(this)) {
2591
- var l = H(this, {
2593
+ if (H(this)) {
2594
+ var l = q(this, {
2592
2595
  object: this.proxy_ || this.target_,
2593
2596
  name: i,
2594
2597
  type: ce,
@@ -2612,18 +2615,18 @@ var Ea = /* @__PURE__ */ function() {
2612
2615
  var f = new ve(a, r, "ObservableObject.key", !1);
2613
2616
  this.values_.set(i, f), this.notifyPropertyAddition_(i, f.value_);
2614
2617
  } finally {
2615
- W();
2618
+ J();
2616
2619
  }
2617
2620
  return !0;
2618
2621
  }, e.defineComputedProperty_ = function(i, a, r) {
2619
2622
  r === void 0 && (r = !1), this.keysAtom_;
2620
2623
  try {
2621
- q();
2624
+ W();
2622
2625
  var s = this.delete_(i);
2623
2626
  if (!s)
2624
2627
  return s;
2625
- if (Q(this)) {
2626
- var o = H(this, {
2628
+ if (H(this)) {
2629
+ var o = q(this, {
2627
2630
  object: this.proxy_ || this.target_,
2628
2631
  name: i,
2629
2632
  type: ce,
@@ -2646,14 +2649,14 @@ var Ea = /* @__PURE__ */ function() {
2646
2649
  ae(this.target_, i, u);
2647
2650
  this.values_.set(i, new Te(a)), this.notifyPropertyAddition_(i, void 0);
2648
2651
  } finally {
2649
- W();
2652
+ J();
2650
2653
  }
2651
2654
  return !0;
2652
2655
  }, e.delete_ = function(i, a) {
2653
2656
  if (a === void 0 && (a = !1), this.keysAtom_, !le(this.target_, i))
2654
2657
  return !0;
2655
- if (Q(this)) {
2656
- var r = H(this, {
2658
+ if (H(this)) {
2659
+ var r = q(this, {
2657
2660
  object: this.proxy_ || this.target_,
2658
2661
  name: i,
2659
2662
  type: Yn
@@ -2663,8 +2666,8 @@ var Ea = /* @__PURE__ */ function() {
2663
2666
  }
2664
2667
  try {
2665
2668
  var s, o;
2666
- q();
2667
- var l = Z(this), u = !1, d = this.values_.get(i), f = void 0;
2669
+ W();
2670
+ var l = X(this), u = !1, d = this.values_.get(i), f = void 0;
2668
2671
  if (!d && (l || u)) {
2669
2672
  var c;
2670
2673
  f = (c = yt(this.target_, i)) == null ? void 0 : c.value;
@@ -2674,7 +2677,7 @@ var Ea = /* @__PURE__ */ function() {
2674
2677
  return !1;
2675
2678
  } else
2676
2679
  delete this.target_[i];
2677
- 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) {
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) {
2678
2681
  var _ = {
2679
2682
  type: Yn,
2680
2683
  observableKind: "object",
@@ -2683,10 +2686,10 @@ var Ea = /* @__PURE__ */ function() {
2683
2686
  oldValue: f,
2684
2687
  name: i
2685
2688
  };
2686
- l && X(this, _);
2689
+ l && Y(this, _);
2687
2690
  }
2688
2691
  } finally {
2689
- W();
2692
+ J();
2690
2693
  }
2691
2694
  return !0;
2692
2695
  }, e.observe_ = function(i, a) {
@@ -2694,7 +2697,7 @@ var Ea = /* @__PURE__ */ function() {
2694
2697
  }, e.intercept_ = function(i) {
2695
2698
  return st(this, i);
2696
2699
  }, e.notifyPropertyAddition_ = function(i, a) {
2697
- var r, s, o = Z(this), l = !1;
2700
+ var r, s, o = X(this), l = !1;
2698
2701
  if (o || l) {
2699
2702
  var u = o || l ? {
2700
2703
  type: ce,
@@ -2704,7 +2707,7 @@ var Ea = /* @__PURE__ */ function() {
2704
2707
  name: i,
2705
2708
  newValue: a
2706
2709
  } : null;
2707
- o && X(this, u);
2710
+ o && Y(this, u);
2708
2711
  }
2709
2712
  (r = this.pendingKeys_) == null || (s = r.get(i)) == null || s.set(!0), this.keysAtom_.reportChanged();
2710
2713
  }, e.ownKeys_ = function() {
@@ -2717,10 +2720,10 @@ function Ue(t, e) {
2717
2720
  var n;
2718
2721
  if (le(t, E))
2719
2722
  return t;
2720
- var i = (n = e == null ? void 0 : e.name) != null ? n : "ObservableObject", a = new Ca(t, /* @__PURE__ */ new Map(), String(i), _s(e));
2723
+ var i = (n = e == null ? void 0 : e.name) != null ? n : "ObservableObject", a = new Ra(t, /* @__PURE__ */ new Map(), String(i), Os(e));
2721
2724
  return It(t, E, a), t;
2722
2725
  }
2723
- var go = /* @__PURE__ */ Se("ObservableObjectAdministration", Ca);
2726
+ var ko = /* @__PURE__ */ Se("ObservableObjectAdministration", Ra);
2724
2727
  function ei(t) {
2725
2728
  return Xn[t] || (Xn[t] = {
2726
2729
  get: function() {
@@ -2732,32 +2735,32 @@ function ei(t) {
2732
2735
  });
2733
2736
  }
2734
2737
  function Xe(t) {
2735
- return Pt(t) ? go(t[E]) : !1;
2738
+ return Pt(t) ? ko(t[E]) : !1;
2736
2739
  }
2737
2740
  function ti(t, e, n) {
2738
2741
  var i;
2739
2742
  (i = t.target_[ne]) == null || delete i[n];
2740
2743
  }
2741
- var ko = /* @__PURE__ */ Ra(0), yo = /* @__PURE__ */ function() {
2744
+ var yo = /* @__PURE__ */ Da(0), bo = /* @__PURE__ */ function() {
2742
2745
  var t = !1, e = {};
2743
2746
  return Object.defineProperty(e, "0", {
2744
2747
  set: function() {
2745
2748
  t = !0;
2746
2749
  }
2747
2750
  }), Object.create(e)[0] = 1, t === !1;
2748
- }(), Zt = 0, xa = function() {
2751
+ }(), Xt = 0, Ta = function() {
2749
2752
  };
2750
- function bo(t, e) {
2753
+ function So(t, e) {
2751
2754
  Object.setPrototypeOf ? Object.setPrototypeOf(t.prototype, e) : t.prototype.__proto__ !== void 0 ? t.prototype.__proto__ = e : t.prototype = e;
2752
2755
  }
2753
- bo(xa, Array.prototype);
2754
- var Cn = /* @__PURE__ */ function(t, e, n) {
2756
+ So(Ta, Array.prototype);
2757
+ var xn = /* @__PURE__ */ function(t, e, n) {
2755
2758
  Qi(i, t);
2756
2759
  function i(r, s, o, l) {
2757
2760
  var u;
2758
2761
  return o === void 0 && (o = "ObservableArray"), l === void 0 && (l = !1), u = t.call(this) || this, Oe(function() {
2759
- var d = new En(o, s, l, !0);
2760
- d.proxy_ = Wt(u), zi(Wt(u), E, d), r && r.length && u.spliceWithArray(0, 0, r), yo && Object.defineProperty(Wt(u), "0", ko);
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);
2761
2764
  }), u;
2762
2765
  }
2763
2766
  var a = i.prototype;
@@ -2785,7 +2788,7 @@ var Cn = /* @__PURE__ */ function(t, e, n) {
2785
2788
  };
2786
2789
  }
2787
2790
  });
2788
- }, _n(i, [{
2791
+ }, Nn(i, [{
2789
2792
  key: "length",
2790
2793
  get: function() {
2791
2794
  return this[E].getArrayLength_();
@@ -2799,12 +2802,12 @@ var Cn = /* @__PURE__ */ function(t, e, n) {
2799
2802
  return "Array";
2800
2803
  }
2801
2804
  }]), i;
2802
- }(xa, Symbol.toStringTag, Symbol.iterator);
2805
+ }(Ta, Symbol.toStringTag, Symbol.iterator);
2803
2806
  Object.entries(wt).forEach(function(t) {
2804
2807
  var e = t[0], n = t[1];
2805
- e !== "concat" && It(Cn.prototype, e, n);
2808
+ e !== "concat" && It(xn.prototype, e, n);
2806
2809
  });
2807
- function Ra(t) {
2810
+ function Da(t) {
2808
2811
  return {
2809
2812
  enumerable: !1,
2810
2813
  configurable: !0,
@@ -2816,19 +2819,19 @@ function Ra(t) {
2816
2819
  }
2817
2820
  };
2818
2821
  }
2819
- function So(t) {
2820
- ae(Cn.prototype, "" + t, Ra(t));
2822
+ function _o(t) {
2823
+ ae(xn.prototype, "" + t, Da(t));
2821
2824
  }
2822
- function Ta(t) {
2823
- if (t > Zt) {
2824
- for (var e = Zt; e < t + 100; e++)
2825
- So(e);
2826
- Zt = t;
2825
+ function La(t) {
2826
+ if (t > Xt) {
2827
+ for (var e = Xt; e < t + 100; e++)
2828
+ _o(e);
2829
+ Xt = t;
2827
2830
  }
2828
2831
  }
2829
- Ta(1e3);
2830
- function _o(t, e, n) {
2831
- return new Cn(t, e, n);
2832
+ La(1e3);
2833
+ function No(t, e, n) {
2834
+ return new xn(t, e, n);
2832
2835
  }
2833
2836
  function Le(t, e) {
2834
2837
  if (typeof t == "object" && t !== null) {
@@ -2840,54 +2843,54 @@ function Le(t, e) {
2840
2843
  if (e === void 0)
2841
2844
  return t.keysAtom_;
2842
2845
  var n = t.data_.get(e) || t.hasMap_.get(e);
2843
- return n || L(25, e, fn(t)), n;
2846
+ return n || L(25, e, mn(t)), n;
2844
2847
  }
2845
2848
  if (Xe(t)) {
2846
2849
  if (!e)
2847
2850
  return L(26);
2848
2851
  var i = t[E].values_.get(e);
2849
- return i || L(27, e, fn(t)), i;
2852
+ return i || L(27, e, mn(t)), i;
2850
2853
  }
2851
- if (Nn(t) || Mt(t) || Ot(t))
2854
+ if (On(t) || Mt(t) || Ot(t))
2852
2855
  return t;
2853
- } else if (Y(t) && Ot(t[E]))
2856
+ } else if (ee(t) && Ot(t[E]))
2854
2857
  return t[E];
2855
2858
  L(28);
2856
2859
  }
2857
- function Da(t, e) {
2860
+ function Pa(t, e) {
2858
2861
  if (t || L(29), e !== void 0)
2859
- return Da(Le(t, e));
2860
- if (Nn(t) || Mt(t) || Ot(t) || Ne(t) || je(t))
2862
+ return Pa(Le(t, e));
2863
+ if (On(t) || Mt(t) || Ot(t) || Ne(t) || je(t))
2861
2864
  return t;
2862
2865
  if (t[E])
2863
2866
  return t[E];
2864
2867
  L(24, t);
2865
2868
  }
2866
- function fn(t, e) {
2869
+ function mn(t, e) {
2867
2870
  var n;
2868
2871
  if (e !== void 0)
2869
2872
  n = Le(t, e);
2870
2873
  else {
2871
2874
  if ($t(t))
2872
2875
  return t.name;
2873
- Xe(t) || Ne(t) || je(t) ? n = Da(t) : n = Le(t);
2876
+ Xe(t) || Ne(t) || je(t) ? n = Pa(t) : n = Le(t);
2874
2877
  }
2875
2878
  return n.name_;
2876
2879
  }
2877
2880
  function Oe(t) {
2878
- var e = _e(), n = wn(!0);
2879
- q();
2881
+ var e = _e(), n = Fn(!0);
2882
+ W();
2880
2883
  try {
2881
2884
  return t();
2882
2885
  } finally {
2883
- W(), Fn(n), ue(e);
2886
+ J(), An(n), ue(e);
2884
2887
  }
2885
2888
  }
2886
2889
  var ni = Lt.toString;
2887
- function xn(t, e, n) {
2888
- return n === void 0 && (n = -1), mn(t, e, n);
2890
+ function Rn(t, e, n) {
2891
+ return n === void 0 && (n = -1), hn(t, e, n);
2889
2892
  }
2890
- function mn(t, e, n, i, a) {
2893
+ function hn(t, e, n, i, a) {
2891
2894
  if (t === e)
2892
2895
  return t !== 0 || 1 / t === 1 / e;
2893
2896
  if (t == null || e == null)
@@ -2922,7 +2925,7 @@ function mn(t, e, n, i, a) {
2922
2925
  if (typeof t != "object" || typeof e != "object")
2923
2926
  return !1;
2924
2927
  var l = t.constructor, u = e.constructor;
2925
- if (l !== u && !(Y(l) && l instanceof l && Y(u) && u instanceof u) && "constructor" in t && "constructor" in e)
2928
+ if (l !== u && !(ee(l) && l instanceof l && ee(u) && u instanceof u) && "constructor" in t && "constructor" in e)
2926
2929
  return !1;
2927
2930
  }
2928
2931
  if (n === 0)
@@ -2935,14 +2938,14 @@ function mn(t, e, n, i, a) {
2935
2938
  if (d = t.length, d !== e.length)
2936
2939
  return !1;
2937
2940
  for (; d--; )
2938
- if (!mn(t[d], e[d], n - 1, i, a))
2941
+ if (!hn(t[d], e[d], n - 1, i, a))
2939
2942
  return !1;
2940
2943
  } else {
2941
2944
  var f = Object.keys(t), c;
2942
2945
  if (d = f.length, Object.keys(e).length !== d)
2943
2946
  return !1;
2944
2947
  for (; d--; )
2945
- if (c = f[d], !(le(e, c) && mn(t[c], e[c], n - 1, i, a)))
2948
+ if (c = f[d], !(le(e, c) && hn(t[c], e[c], n - 1, i, a)))
2946
2949
  return !1;
2947
2950
  }
2948
2951
  return i.pop(), a.pop(), !0;
@@ -2951,23 +2954,23 @@ function ii(t) {
2951
2954
  return Bt(t) ? t.slice() : Ie(t) || Ne(t) || nt(t) || je(t) ? Array.from(t.entries()) : t;
2952
2955
  }
2953
2956
  function Ye(t) {
2954
- return t[Symbol.iterator] = No, t;
2957
+ return t[Symbol.iterator] = Oo, t;
2955
2958
  }
2956
- function No() {
2959
+ function Oo() {
2957
2960
  return this;
2958
2961
  }
2959
2962
  ["Symbol", "Map", "Set"].forEach(function(t) {
2960
- var e = Sn();
2963
+ var e = _n();
2961
2964
  typeof e[t] == "undefined" && L("MobX requires global '" + t + "' to be available or polyfilled");
2962
2965
  });
2963
2966
  typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
2964
- spy: Ms,
2967
+ spy: $s,
2965
2968
  extras: {
2966
- getDebugName: fn
2969
+ getDebugName: mn
2967
2970
  },
2968
2971
  $mobx: E
2969
2972
  });
2970
- class Oo {
2973
+ class wo {
2971
2974
  constructor(e) {
2972
2975
  x(this, "channel");
2973
2976
  x(this, "listeners", /* @__PURE__ */ new Map());
@@ -3113,25 +3116,25 @@ class Oo {
3113
3116
  return new RegExp(`^${i}$`).test(n);
3114
3117
  }
3115
3118
  }
3116
- let wo = (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), "");
3117
- const Fo = (t = 8) => wo(t), jd = (t) => {
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) => {
3118
3121
  const e = Object.entries(t).reduce((n, [i, a]) => a !== void 0 ? `${n}${n ? "&" : ""}${i}=${a}` : n, "");
3119
3122
  return e ? `?${e}` : "";
3120
3123
  };
3121
- function Ud() {
3124
+ function Bd() {
3122
3125
  const t = new Error().stack.split(`
3123
3126
  `);
3124
3127
  return t.length < 3 ? "" : t[2].trim().substring(3);
3125
3128
  }
3126
- var La = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
3127
- function Pa(t) {
3129
+ var Ia = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
3130
+ function Va(t) {
3128
3131
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3129
3132
  }
3130
- var Ia = { exports: {} };
3133
+ var ja = { exports: {} };
3131
3134
  (function(t) {
3132
3135
  (function(e, n) {
3133
3136
  t.exports ? t.exports = n() : e.log = n();
3134
- })(La, function() {
3137
+ })(Ia, function() {
3135
3138
  var e = function() {
3136
3139
  }, n = "undefined", i = typeof window !== n && typeof window.navigator !== n && /Trident\/|MSIE /.test(window.navigator.userAgent), a = [
3137
3140
  "trace",
@@ -3272,14 +3275,14 @@ var Ia = { exports: {} };
3272
3275
  return r;
3273
3276
  }, s.default = s, s;
3274
3277
  });
3275
- })(Ia);
3276
- var Va = Ia.exports;
3277
- const ft = /* @__PURE__ */ Pa(Va);
3278
- var ja = { exports: {} };
3278
+ })(ja);
3279
+ var Ua = ja.exports;
3280
+ const ft = /* @__PURE__ */ Va(Ua);
3281
+ var Ma = { exports: {} };
3279
3282
  (function(t) {
3280
3283
  (function(e, n) {
3281
3284
  t.exports ? t.exports = n() : e.prefix = n(e);
3282
- })(La, function(e) {
3285
+ })(Ia, function(e) {
3283
3286
  var n = function(d) {
3284
3287
  for (var f = 1, c = arguments.length, _; f < c; f++)
3285
3288
  for (_ in arguments[f])
@@ -3328,12 +3331,12 @@ var ja = { exports: {} };
3328
3331
  return e.prefix === l && (e.prefix = u), l;
3329
3332
  }), l;
3330
3333
  });
3331
- })(ja);
3332
- var Ao = ja.exports;
3333
- const ai = /* @__PURE__ */ Pa(Ao);
3334
- let Eo = class {
3334
+ })(Ma);
3335
+ var Eo = Ma.exports;
3336
+ const ai = /* @__PURE__ */ Va(Eo);
3337
+ let Co = class {
3335
3338
  constructor(e) {
3336
- x(this, "defaultLevel", Va.levels.INFO);
3339
+ x(this, "defaultLevel", Ua.levels.INFO);
3337
3340
  x(this, "namePrefix");
3338
3341
  this.namePrefix = e ? `${e}-` : "", ft.setDefaultLevel(this.defaultLevel), ai.reg(ft), ai.apply(ft, {
3339
3342
  template: "[%t] %l (%n)",
@@ -3349,16 +3352,15 @@ let Eo = class {
3349
3352
  return a ? i.setLevel(a) : i.setLevel(this.defaultLevel), i;
3350
3353
  }
3351
3354
  };
3352
- const te = class te {
3355
+ const G = class G {
3353
3356
  constructor() {
3354
- x(this, "version", "1.0.5");
3355
- x(this, "instanceId", Fo());
3357
+ x(this, "instanceId", Ao());
3356
3358
  x(this, "_config", null);
3357
3359
  x(this, "_account");
3358
3360
  x(this, "_productDataSource");
3359
- x(this, "_eventBus", new Oo("nizza"));
3360
- x(this, "log", new Eo("nz"));
3361
- Sa(
3361
+ x(this, "_eventBus", new wo("nizza"));
3362
+ x(this, "log", new Co("nz"));
3363
+ Na(
3362
3364
  this,
3363
3365
  {
3364
3366
  _config: B,
@@ -3374,14 +3376,36 @@ const te = class te {
3374
3376
  );
3375
3377
  }
3376
3378
  static instance() {
3377
- return te._instance || (te._instance = new te()), window != null && window.nizza ? te._instance = window == null ? void 0 : window.nizza : (window.nizza = te._instance, window.nz = te._instance), te._instance;
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...");
3388
+ 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;
3393
+ }
3394
+ migrateFrom(e) {
3395
+ console.log(
3396
+ "🚀 ~ NizzaStore ~ migrateFrom ~ oldInstance:",
3397
+ e,
3398
+ e._productDataSource
3399
+ ), Qs(() => {
3400
+ console.log("🚀 ~ NizzaStore ~ runInAction"), this._config = e._config, this._account = e._account, this._productDataSource = e._productDataSource;
3401
+ }), this._eventBus = e._eventBus;
3378
3402
  }
3379
3403
  async configure(e) {
3380
3404
  var n;
3381
3405
  try {
3382
3406
  const i = (n = this._config) == null ? void 0 : n.account;
3383
3407
  if (this._config = e, i !== e.account) {
3384
- const a = await Xl(e.account);
3408
+ const a = await Yl(e.account);
3385
3409
  this.setAccount(a);
3386
3410
  }
3387
3411
  if (e.getProductDataSource) {
@@ -3398,6 +3422,9 @@ const te = class te {
3398
3422
  setProductDataSource(e) {
3399
3423
  this._productDataSource = e;
3400
3424
  }
3425
+ get version() {
3426
+ return G.version;
3427
+ }
3401
3428
  get config() {
3402
3429
  return this._config;
3403
3430
  }
@@ -3415,9 +3442,11 @@ const te = class te {
3415
3442
  return this._eventBus;
3416
3443
  }
3417
3444
  };
3418
- x(te, "_instance");
3419
- let At = te;
3420
- const Rn = At.instance(), $d = Rn.log.createLogger("main"), fe = Rn.log.createLogger("core");
3445
+ x(G, "version", "2"), x(G, "_instance");
3446
+ let At = G;
3447
+ const zt = () => At.instance();
3448
+ zt();
3449
+ const Kd = zt().log.createLogger("main"), fe = zt().log.createLogger("core");
3421
3450
  function Ce(t) {
3422
3451
  return t != null && typeof t == "object" && t["@@functional/placeholder"] === !0;
3423
3452
  }
@@ -3444,30 +3473,30 @@ function Tn(t) {
3444
3473
  }
3445
3474
  };
3446
3475
  }
3447
- const Co = Number.isInteger || function(e) {
3476
+ const xo = Number.isInteger || function(e) {
3448
3477
  return e << 0 === e;
3449
3478
  };
3450
- function xo(t) {
3479
+ function Ro(t) {
3451
3480
  return Object.prototype.toString.call(t) === "[object String]";
3452
3481
  }
3453
- var Ro = /* @__PURE__ */ Tn(function(e, n) {
3482
+ var To = /* @__PURE__ */ Tn(function(e, n) {
3454
3483
  var i = e < 0 ? n.length + e : e;
3455
- return xo(n) ? n.charAt(i) : n[i];
3456
- }), To = /* @__PURE__ */ gt(function(e) {
3484
+ return Ro(n) ? n.charAt(i) : n[i];
3485
+ }), Do = /* @__PURE__ */ gt(function(e) {
3457
3486
  return e == null;
3458
- }), Do = /* @__PURE__ */ Tn(function(e, n) {
3487
+ }), Lo = /* @__PURE__ */ Tn(function(e, n) {
3459
3488
  return e.map(function(i) {
3460
3489
  for (var a = n, r = 0, s; r < i.length; ) {
3461
3490
  if (a == null)
3462
3491
  return;
3463
- s = i[r], a = Co(s) ? Ro(s, a) : a[s], r += 1;
3492
+ s = i[r], a = xo(s) ? To(s, a) : a[s], r += 1;
3464
3493
  }
3465
3494
  return a;
3466
3495
  });
3467
- }), Lo = /* @__PURE__ */ Tn(function(e, n) {
3468
- return Do([e], n)[0];
3496
+ }), Po = /* @__PURE__ */ Tn(function(e, n) {
3497
+ return Lo([e], n)[0];
3469
3498
  });
3470
- class zt extends Error {
3499
+ class Kt extends Error {
3471
3500
  constructor(e, n, i) {
3472
3501
  super(n), this.value = i, this.name = e;
3473
3502
  }
@@ -3479,7 +3508,7 @@ class zt extends Error {
3479
3508
  };
3480
3509
  }
3481
3510
  }
3482
- class Po extends zt {
3511
+ class Io extends Kt {
3483
3512
  constructor(e) {
3484
3513
  super(
3485
3514
  "RESOURCE_NOT_FOUND_ERROR",
@@ -3488,7 +3517,7 @@ class Po extends zt {
3488
3517
  );
3489
3518
  }
3490
3519
  }
3491
- class Io extends zt {
3520
+ class Vo extends Kt {
3492
3521
  constructor(e) {
3493
3522
  var n;
3494
3523
  super(
@@ -3498,12 +3527,12 @@ class Io extends zt {
3498
3527
  );
3499
3528
  }
3500
3529
  }
3501
- class Bd extends zt {
3530
+ class Gd extends Kt {
3502
3531
  constructor() {
3503
3532
  super("APP_ACCOUNT_INVALID_ERROR", "Account not defined");
3504
3533
  }
3505
3534
  }
3506
- class Vo extends zt {
3535
+ class jo extends Kt {
3507
3536
  constructor(e) {
3508
3537
  super(
3509
3538
  "INVALID_NIZZA_GLOBAL_OBJECT_ERROR",
@@ -3514,7 +3543,9 @@ class Vo extends zt {
3514
3543
 
3515
3544
  * If you are using the @nizza/core library:
3516
3545
 
3517
- import { nizza } from '@nizza/core';
3546
+ import { getNizza } from '@nizza/core';
3547
+
3548
+ const nizza = getNizza();
3518
3549
 
3519
3550
  nizza.configure({
3520
3551
  account: env.account,
@@ -3531,26 +3562,26 @@ class Vo extends zt {
3531
3562
  );
3532
3563
  }
3533
3564
  }
3534
- function zd(t, e) {
3565
+ function Qd(t, e) {
3535
3566
  e.forEach((n) => {
3536
- if (To(Lo(n.split("."), t)))
3537
- throw new Vo(n);
3567
+ if (Do(Po(n.split("."), t)))
3568
+ throw new jo(n);
3538
3569
  });
3539
3570
  }
3540
- if (!rr)
3571
+ if (!or)
3541
3572
  throw new Error("mobx-react-lite requires React with Hooks support");
3542
- if (!Sa)
3573
+ if (!Na)
3543
3574
  throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");
3544
- function jo(t) {
3545
- t();
3546
- }
3547
3575
  function Uo(t) {
3548
- t || (t = jo), eo({ reactionScheduler: t });
3576
+ t();
3549
3577
  }
3550
3578
  function Mo(t) {
3551
- return no(t);
3579
+ t || (t = Uo), to({ reactionScheduler: t });
3580
+ }
3581
+ function $o(t) {
3582
+ return io(t);
3552
3583
  }
3553
- var $o = 1e4, Bo = 1e4, zo = (
3584
+ var Bo = 1e4, zo = 1e4, Ko = (
3554
3585
  /** @class */
3555
3586
  function() {
3556
3587
  function t(e) {
@@ -3575,7 +3606,7 @@ var $o = 1e4, Bo = 1e4, zo = (
3575
3606
  configurable: !0,
3576
3607
  writable: !0,
3577
3608
  value: function(i) {
3578
- i === void 0 && (i = $o), clearTimeout(n.sweepTimeout), n.sweepTimeout = void 0;
3609
+ i === void 0 && (i = Bo), clearTimeout(n.sweepTimeout), n.sweepTimeout = void 0;
3579
3610
  var a = Date.now();
3580
3611
  n.registrations.forEach(function(r, s) {
3581
3612
  a - r.registeredAt >= i && (n.finalize(r.value), n.registrations.delete(s));
@@ -3612,11 +3643,11 @@ var $o = 1e4, Bo = 1e4, zo = (
3612
3643
  configurable: !0,
3613
3644
  writable: !0,
3614
3645
  value: function() {
3615
- this.sweepTimeout === void 0 && (this.sweepTimeout = setTimeout(this.sweep, Bo));
3646
+ this.sweepTimeout === void 0 && (this.sweepTimeout = setTimeout(this.sweep, zo));
3616
3647
  }
3617
3648
  }), t;
3618
3649
  }()
3619
- ), Ko = typeof FinalizationRegistry != "undefined" ? FinalizationRegistry : zo, hn = new Ko(function(t) {
3650
+ ), Go = typeof FinalizationRegistry != "undefined" ? FinalizationRegistry : Ko, pn = new Go(function(t) {
3620
3651
  var e;
3621
3652
  (e = t.reaction) === null || e === void 0 || e.dispose(), t.reaction = null;
3622
3653
  }), ri = function(t, e) {
@@ -3642,7 +3673,7 @@ var $o = 1e4, Bo = 1e4, zo = (
3642
3673
  function si(t) {
3643
3674
  return "observer".concat(t);
3644
3675
  }
3645
- var Go = (
3676
+ var Qo = (
3646
3677
  /** @class */
3647
3678
  /* @__PURE__ */ function() {
3648
3679
  function t() {
@@ -3650,12 +3681,12 @@ var Go = (
3650
3681
  return t;
3651
3682
  }()
3652
3683
  );
3653
- function Qo() {
3654
- return new Go();
3684
+ function Ho() {
3685
+ return new Qo();
3655
3686
  }
3656
- function Ho(t, e) {
3687
+ function qo(t, e) {
3657
3688
  e === void 0 && (e = "observed");
3658
- var n = ri(he.useState(Qo), 1), i = n[0], a = ri(he.useState(), 2), r = a[1], s = function() {
3689
+ var n = ri(he.useState(Ho), 1), i = n[0], a = ri(he.useState(), 2), r = a[1], s = function() {
3659
3690
  return r([]);
3660
3691
  }, o = he.useRef(null);
3661
3692
  o.current || (o.current = {
@@ -3666,8 +3697,8 @@ function Ho(t, e) {
3666
3697
  var l = o.current;
3667
3698
  l.reaction || (l.reaction = new We(si(e), function() {
3668
3699
  l.mounted ? s() : l.changedBeforeMount = !0;
3669
- }), hn.register(i, l, l)), he.useDebugValue(l.reaction, Mo), he.useEffect(function() {
3670
- return hn.unregister(l), l.mounted = !0, l.reaction ? l.changedBeforeMount && (l.changedBeforeMount = !1, s()) : (l.reaction = new We(si(e), function() {
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() {
3671
3702
  s();
3672
3703
  }), s()), function() {
3673
3704
  l.reaction.dispose(), l.reaction = null, l.mounted = !1, l.changedBeforeMount = !1;
@@ -3684,26 +3715,26 @@ function Ho(t, e) {
3684
3715
  throw d;
3685
3716
  return u;
3686
3717
  }
3687
- var Ua = typeof Symbol == "function" && Symbol.for;
3688
- Ua ? Symbol.for("react.forward_ref") : typeof Un == "function" && Un(function(t) {
3718
+ var $a = typeof Symbol == "function" && Symbol.for;
3719
+ $a ? Symbol.for("react.forward_ref") : typeof Un == "function" && Un(function(t) {
3689
3720
  return null;
3690
3721
  }).$$typeof;
3691
- Ua ? Symbol.for("react.memo") : typeof Mn == "function" && Mn(function(t) {
3722
+ $a ? Symbol.for("react.memo") : typeof Mn == "function" && Mn(function(t) {
3692
3723
  return null;
3693
3724
  }).$$typeof;
3694
- var Xt;
3695
- Uo(or);
3696
- Xt = hn.finalizeAllImmediately;
3697
- function qo(t, e) {
3698
- return e === void 0 && (e = "observed"), Ho(t, e);
3699
- }
3700
- function Wo(t) {
3701
- return qo(() => {
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(() => {
3702
3733
  const e = At.instance();
3703
3734
  return t(e);
3704
3735
  });
3705
3736
  }
3706
- function Kd() {
3737
+ function Hd() {
3707
3738
  var i, a, r;
3708
3739
  let t = null, e = null, n = null;
3709
3740
  try {
@@ -3729,7 +3760,7 @@ function Kd() {
3729
3760
  label: null
3730
3761
  };
3731
3762
  }
3732
- class Jo {
3763
+ class Zo {
3733
3764
  constructor(e) {
3734
3765
  x(this, "aggregate");
3735
3766
  x(this, "_numSetPropsApplied", 0);
@@ -3744,12 +3775,12 @@ class Jo {
3744
3775
  return this._numSetPropsApplied === 1;
3745
3776
  }
3746
3777
  }
3747
- function Zo(t) {
3748
- return new Jo(t);
3778
+ function Xo(t) {
3779
+ return new Zo(t);
3749
3780
  }
3750
- class Gd {
3781
+ class qd {
3751
3782
  }
3752
- class Qd {
3783
+ class Wd {
3753
3784
  constructor(e) {
3754
3785
  x(this, "_value");
3755
3786
  e !== void 0 && (this._value = e);
@@ -3758,13 +3789,13 @@ class Qd {
3758
3789
  return this._value;
3759
3790
  }
3760
3791
  }
3761
- var Ma = /* @__PURE__ */ ((t) => (t.VTEX = "VTEX", t.VTEX_IO = "VTEX-IO", t.VTEX_CMS = "PORTAL-VTEX", t.PLATFORM = "PLATFORM", t.UNKNOWN = "UNKNOWN", t))(Ma || {}), Xo = /* @__PURE__ */ ((t) => (t.PLATFORM = "platform_module", t.ADENDA = "subscription_module", t.APP_STORE = "app_store", t))(Xo || {}), $a = /* @__PURE__ */ ((t) => (t.ACTIVE = "active_contract", t.INACTIVE = "inactive_contract", t))($a || {}), Yo = /* @__PURE__ */ ((t) => (t.LITE = "lite", t.STANDARD = "standard", t.PRO = "pro", t))(Yo || {}), el = /* @__PURE__ */ ((t) => (t.LITE = "PLAN_LITE", t.STANDARD = "PLAN_ESTANDAR", t.PRO = "PLAN_PRO", t.NONE = "NO_PLAN", t))(el || {}), tl = /* @__PURE__ */ ((t) => (t.PAST = "past", t.LIVE = "live", t.FUTURE = "future", t))(tl || {});
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 || {});
3762
3793
  class Dn {
3763
3794
  constructor(e) {
3764
- x(this, "root", Zo(this));
3795
+ x(this, "root", Xo(this));
3765
3796
  x(this, "id");
3766
3797
  x(this, "account");
3767
- x(this, "accountType", Ma.UNKNOWN);
3798
+ x(this, "accountType", Ba.UNKNOWN);
3768
3799
  x(this, "username");
3769
3800
  x(this, "currencyConfig");
3770
3801
  x(this, "contractType");
@@ -3772,7 +3803,7 @@ class Dn {
3772
3803
  x(this, "spendedMinutes", 0);
3773
3804
  x(this, "unlimitedService", !1);
3774
3805
  x(this, "hoursAvailable", 0);
3775
- x(this, "contractStatus", $a.ACTIVE);
3806
+ x(this, "contractStatus", za.ACTIVE);
3776
3807
  x(this, "createdAt");
3777
3808
  x(this, "installationDateApp");
3778
3809
  x(this, "cxAccount");
@@ -3804,16 +3835,16 @@ class Dn {
3804
3835
  };
3805
3836
  }
3806
3837
  }
3807
- const nl = `${Cr.apiUrls.restV1}/accounts/v2`;
3808
- class il {
3838
+ const il = `${Rr.apiUrls.restV1}/accounts/v2`;
3839
+ class al {
3809
3840
  async get(e) {
3810
- const n = `${nl}/${e}`, { data: i } = await Vi({
3841
+ const n = `${il}/${e}`, { data: i } = await Vi({
3811
3842
  url: n
3812
3843
  });
3813
3844
  return i ? Dn.toDomain(i) : null;
3814
3845
  }
3815
3846
  }
3816
- class al {
3847
+ class rl {
3817
3848
  constructor(e) {
3818
3849
  this.accountRepository = e;
3819
3850
  }
@@ -3821,14 +3852,14 @@ class al {
3821
3852
  try {
3822
3853
  const n = await this.accountRepository.get(e);
3823
3854
  if (!n)
3824
- throw new Po(e);
3855
+ throw new Io(e);
3825
3856
  return n;
3826
3857
  } catch (n) {
3827
- throw new Io(n);
3858
+ throw new Vo(n);
3828
3859
  }
3829
3860
  }
3830
3861
  }
3831
- const rl = new il(), Ba = new al(rl);
3862
+ const sl = new al(), Ka = new rl(sl);
3832
3863
  class Ln {
3833
3864
  constructor() {
3834
3865
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
@@ -3850,16 +3881,16 @@ class Ln {
3850
3881
  }
3851
3882
  }
3852
3883
  const Et = typeof window == "undefined" || "Deno" in window;
3853
- function sl() {
3884
+ function ol() {
3854
3885
  }
3855
3886
  function oi(t) {
3856
3887
  return typeof t == "number" && t >= 0 && t !== 1 / 0;
3857
3888
  }
3858
- function ol(t, e) {
3889
+ function ll(t, e) {
3859
3890
  return Math.max(t + (e || 0) - Date.now(), 0);
3860
3891
  }
3861
- function ll(t, e, n) {
3862
- return ul(t) ? typeof e == "function" ? {
3892
+ function ul(t, e, n) {
3893
+ return dl(t) ? typeof e == "function" ? {
3863
3894
  ...n,
3864
3895
  queryKey: t,
3865
3896
  queryFn: e
@@ -3868,7 +3899,7 @@ function ll(t, e, n) {
3868
3899
  queryKey: t
3869
3900
  } : t;
3870
3901
  }
3871
- function za(t, e) {
3902
+ function Ga(t, e) {
3872
3903
  if (t === e)
3873
3904
  return t;
3874
3905
  const n = li(t) && li(e);
@@ -3877,13 +3908,13 @@ function za(t, e) {
3877
3908
  let o = 0;
3878
3909
  for (let l = 0; l < r; l++) {
3879
3910
  const u = n ? l : a[l];
3880
- s[u] = za(t[u], e[u]), s[u] === t[u] && o++;
3911
+ s[u] = Ga(t[u], e[u]), s[u] === t[u] && o++;
3881
3912
  }
3882
3913
  return i === r && o === i ? t : s;
3883
3914
  }
3884
3915
  return e;
3885
3916
  }
3886
- function pn(t, e) {
3917
+ function vn(t, e) {
3887
3918
  if (t && !e || e && !t)
3888
3919
  return !1;
3889
3920
  for (const n in t)
@@ -3906,21 +3937,21 @@ function ui(t) {
3906
3937
  function di(t) {
3907
3938
  return Object.prototype.toString.call(t) === "[object Object]";
3908
3939
  }
3909
- function ul(t) {
3940
+ function dl(t) {
3910
3941
  return Array.isArray(t);
3911
3942
  }
3912
- function dl(t) {
3943
+ function cl(t) {
3913
3944
  return new Promise((e) => {
3914
3945
  setTimeout(e, t);
3915
3946
  });
3916
3947
  }
3917
3948
  function ci(t) {
3918
- dl(0).then(t);
3949
+ cl(0).then(t);
3919
3950
  }
3920
3951
  function fi(t, e, n) {
3921
- return n.isDataEqual != null && n.isDataEqual(t, e) ? t : typeof n.structuralSharing == "function" ? n.structuralSharing(t, e) : n.structuralSharing !== !1 ? za(t, e) : e;
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;
3922
3953
  }
3923
- class cl extends Ln {
3954
+ class fl extends Ln {
3924
3955
  constructor() {
3925
3956
  super(), this.setup = (e) => {
3926
3957
  if (!Et && window.addEventListener) {
@@ -3960,8 +3991,8 @@ class cl extends Ln {
3960
3991
  return typeof this.focused == "boolean" ? this.focused : typeof document == "undefined" ? !0 : [void 0, "visible", "prerender"].includes(document.visibilityState);
3961
3992
  }
3962
3993
  }
3963
- const fl = new cl(), mi = ["online", "offline"];
3964
- class ml extends Ln {
3994
+ const ml = new fl(), mi = ["online", "offline"];
3995
+ class hl extends Ln {
3965
3996
  constructor() {
3966
3997
  super(), this.setup = (e) => {
3967
3998
  if (!Et && window.addEventListener) {
@@ -4005,19 +4036,19 @@ class ml extends Ln {
4005
4036
  return typeof this.online == "boolean" ? this.online : typeof navigator == "undefined" || typeof navigator.onLine == "undefined" ? !0 : navigator.onLine;
4006
4037
  }
4007
4038
  }
4008
- const hl = new ml();
4009
- function pl(t) {
4010
- return (t != null ? t : "online") === "online" ? hl.isOnline() : !0;
4039
+ const pl = new hl();
4040
+ function vl(t) {
4041
+ return (t != null ? t : "online") === "online" ? pl.isOnline() : !0;
4011
4042
  }
4012
- class vl {
4043
+ class gl {
4013
4044
  constructor(e) {
4014
4045
  this.revert = e == null ? void 0 : e.revert, this.silent = e == null ? void 0 : e.silent;
4015
4046
  }
4016
4047
  }
4017
- function gl(t) {
4018
- return t instanceof vl;
4048
+ function kl(t) {
4049
+ return t instanceof gl;
4019
4050
  }
4020
- function kl() {
4051
+ function yl() {
4021
4052
  let t = [], e = 0, n = (d) => {
4022
4053
  d();
4023
4054
  }, i = (d) => {
@@ -4062,8 +4093,8 @@ function kl() {
4062
4093
  }
4063
4094
  };
4064
4095
  }
4065
- const Ge = kl();
4066
- class yl extends Ln {
4096
+ const Ge = yl();
4097
+ class bl extends Ln {
4067
4098
  constructor(e, n) {
4068
4099
  super(), this.client = e, this.options = n, this.trackedProps = /* @__PURE__ */ new Set(), this.selectError = null, this.bindMethods(), this.setOptions(n);
4069
4100
  }
@@ -4077,17 +4108,17 @@ class yl extends Ln {
4077
4108
  this.hasListeners() || this.destroy();
4078
4109
  }
4079
4110
  shouldFetchOnReconnect() {
4080
- return vn(this.currentQuery, this.options, this.options.refetchOnReconnect);
4111
+ return gn(this.currentQuery, this.options, this.options.refetchOnReconnect);
4081
4112
  }
4082
4113
  shouldFetchOnWindowFocus() {
4083
- return vn(this.currentQuery, this.options, this.options.refetchOnWindowFocus);
4114
+ return gn(this.currentQuery, this.options, this.options.refetchOnWindowFocus);
4084
4115
  }
4085
4116
  destroy() {
4086
4117
  this.listeners = /* @__PURE__ */ new Set(), this.clearStaleTimeout(), this.clearRefetchInterval(), this.currentQuery.removeObserver(this);
4087
4118
  }
4088
4119
  setOptions(e, n) {
4089
4120
  const i = this.options, a = this.currentQuery;
4090
- if (this.options = this.client.defaultQueryOptions(e), pn(i, this.options) || this.client.getQueryCache().notify({
4121
+ if (this.options = this.client.defaultQueryOptions(e), vn(i, this.options) || this.client.getQueryCache().notify({
4091
4122
  type: "observerOptionsUpdated",
4092
4123
  query: this.currentQuery,
4093
4124
  observer: this
@@ -4101,7 +4132,7 @@ class yl extends Ln {
4101
4132
  }
4102
4133
  getOptimisticResult(e) {
4103
4134
  const n = this.client.getQueryCache().build(this.client, e), i = this.createResult(n, e);
4104
- return Sl(this, i, e) && (this.currentResult = i, this.currentResultOptions = this.options, this.currentResultState = this.currentQuery.state), i;
4135
+ return _l(this, i, e) && (this.currentResult = i, this.currentResultOptions = this.options, this.currentResultState = this.currentQuery.state), i;
4105
4136
  }
4106
4137
  getCurrentResult() {
4107
4138
  return this.currentResult;
@@ -4147,12 +4178,12 @@ class yl extends Ln {
4147
4178
  executeFetch(e) {
4148
4179
  this.updateQuery();
4149
4180
  let n = this.currentQuery.fetch(this.options, e);
4150
- return e != null && e.throwOnError || (n = n.catch(sl)), n;
4181
+ return e != null && e.throwOnError || (n = n.catch(ol)), n;
4151
4182
  }
4152
4183
  updateStaleTimeout() {
4153
4184
  if (this.clearStaleTimeout(), Et || this.currentResult.isStale || !oi(this.options.staleTime))
4154
4185
  return;
4155
- const n = ol(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
4186
+ const n = ll(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
4156
4187
  this.staleTimeoutId = setTimeout(() => {
4157
4188
  this.currentResult.isStale || this.updateResult();
4158
4189
  }, n);
@@ -4163,7 +4194,7 @@ class yl extends Ln {
4163
4194
  }
4164
4195
  updateRefetchInterval(e) {
4165
4196
  this.clearRefetchInterval(), this.currentRefetchInterval = e, !(Et || this.options.enabled === !1 || !oi(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
4166
- (this.options.refetchIntervalInBackground || fl.isFocused()) && this.executeFetch();
4197
+ (this.options.refetchIntervalInBackground || ml.isFocused()) && this.executeFetch();
4167
4198
  }, this.currentRefetchInterval));
4168
4199
  }
4169
4200
  updateTimers() {
@@ -4188,7 +4219,7 @@ class yl extends Ln {
4188
4219
  } = f, N = !1, T = !1, P;
4189
4220
  if (n._optimisticResults) {
4190
4221
  const m = this.hasListeners(), y = !m && hi(e, n), S = m && pi(e, i, n, a);
4191
- (y || S) && (g = pl(e.options.networkMode) ? "fetching" : "paused", c || (k = "loading")), n._optimisticResults === "isRestoring" && (g = "idle");
4222
+ (y || S) && (g = vl(e.options.networkMode) ? "fetching" : "paused", c || (k = "loading")), n._optimisticResults === "isRestoring" && (g = "idle");
4192
4223
  }
4193
4224
  if (n.keepPreviousData && !f.dataUpdatedAt && d != null && d.isSuccess && k !== "error")
4194
4225
  P = d.data, c = d.dataUpdatedAt, k = d.status, N = !0;
@@ -4247,7 +4278,7 @@ class yl extends Ln {
4247
4278
  }
4248
4279
  updateResult(e) {
4249
4280
  const n = this.currentResult, i = this.createResult(this.currentQuery, this.options);
4250
- if (this.currentResultState = this.currentQuery.state, this.currentResultOptions = this.options, pn(i, n))
4281
+ if (this.currentResultState = this.currentQuery.state, this.currentResultOptions = this.options, vn(i, n))
4251
4282
  return;
4252
4283
  this.currentResult = i;
4253
4284
  const a = {
@@ -4280,7 +4311,7 @@ class yl extends Ln {
4280
4311
  }
4281
4312
  onQueryUpdate(e) {
4282
4313
  const n = {};
4283
- e.type === "success" ? n.onSuccess = !e.manual : e.type === "error" && !gl(e.error) && (n.onError = !0), this.updateResult(n), this.hasListeners() && this.updateTimers();
4314
+ e.type === "success" ? n.onSuccess = !e.manual : e.type === "error" && !kl(e.error) && (n.onError = !0), this.updateResult(n), this.hasListeners() && this.updateTimers();
4284
4315
  }
4285
4316
  notify(e) {
4286
4317
  Ge.batch(() => {
@@ -4302,13 +4333,13 @@ class yl extends Ln {
4302
4333
  });
4303
4334
  }
4304
4335
  }
4305
- function bl(t, e) {
4336
+ function Sl(t, e) {
4306
4337
  return e.enabled !== !1 && !t.state.dataUpdatedAt && !(t.state.status === "error" && e.retryOnMount === !1);
4307
4338
  }
4308
4339
  function hi(t, e) {
4309
- return bl(t, e) || t.state.dataUpdatedAt > 0 && vn(t, e, e.refetchOnMount);
4340
+ return Sl(t, e) || t.state.dataUpdatedAt > 0 && gn(t, e, e.refetchOnMount);
4310
4341
  }
4311
- function vn(t, e, n) {
4342
+ function gn(t, e, n) {
4312
4343
  if (e.enabled !== !1) {
4313
4344
  const i = typeof n == "function" ? n(t) : n;
4314
4345
  return i === "always" || i !== !1 && Pn(t, e);
@@ -4321,10 +4352,10 @@ function pi(t, e, n, i) {
4321
4352
  function Pn(t, e) {
4322
4353
  return t.isStaleByTime(e.staleTime);
4323
4354
  }
4324
- function Sl(t, e, n) {
4325
- return n.keepPreviousData ? !1 : n.placeholderData !== void 0 ? e.isPlaceholderData : !pn(t.getCurrentResult(), e);
4355
+ function _l(t, e, n) {
4356
+ return n.keepPreviousData ? !1 : n.placeholderData !== void 0 ? e.isPlaceholderData : !vn(t.getCurrentResult(), e);
4326
4357
  }
4327
- var Ka = { exports: {} }, Ga = {};
4358
+ var Qa = { exports: {} }, Ha = {};
4328
4359
  /**
4329
4360
  * @license React
4330
4361
  * use-sync-external-store-shim.production.min.js
@@ -4335,51 +4366,51 @@ var Ka = { exports: {} }, Ga = {};
4335
4366
  * LICENSE file in the root directory of this source tree.
4336
4367
  */
4337
4368
  var Pe = he;
4338
- function _l(t, e) {
4369
+ function Nl(t, e) {
4339
4370
  return t === e && (t !== 0 || 1 / t === 1 / e) || t !== t && e !== e;
4340
4371
  }
4341
- var Nl = typeof Object.is == "function" ? Object.is : _l, Ol = Pe.useState, wl = Pe.useEffect, Fl = Pe.useLayoutEffect, Al = Pe.useDebugValue;
4342
- function El(t, e) {
4343
- var n = e(), i = Ol({ inst: { value: n, getSnapshot: e } }), a = i[0].inst, r = i[1];
4344
- return Fl(function() {
4345
- a.value = n, a.getSnapshot = e, Yt(a) && r({ inst: a });
4346
- }, [t, n, e]), wl(function() {
4347
- return Yt(a) && r({ inst: a }), t(function() {
4348
- Yt(a) && r({ inst: a });
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 });
4349
4380
  });
4350
- }, [t]), Al(n), n;
4381
+ }, [t]), El(n), n;
4351
4382
  }
4352
- function Yt(t) {
4383
+ function en(t) {
4353
4384
  var e = t.getSnapshot;
4354
4385
  t = t.value;
4355
4386
  try {
4356
4387
  var n = e();
4357
- return !Nl(t, n);
4388
+ return !Ol(t, n);
4358
4389
  } catch {
4359
4390
  return !0;
4360
4391
  }
4361
4392
  }
4362
- function Cl(t, e) {
4393
+ function xl(t, e) {
4363
4394
  return e();
4364
4395
  }
4365
- var xl = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? Cl : El;
4366
- Ga.useSyncExternalStore = Pe.useSyncExternalStore !== void 0 ? Pe.useSyncExternalStore : xl;
4367
- Ka.exports = Ga;
4368
- var Rl = Ka.exports;
4369
- const Tl = Rl.useSyncExternalStore, vi = /* @__PURE__ */ J.createContext(void 0), Dl = /* @__PURE__ */ J.createContext(!1);
4370
- function Ll(t, e) {
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) {
4371
4402
  return t || (e && typeof window != "undefined" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = vi), window.ReactQueryClientContext) : vi);
4372
4403
  }
4373
- const Pl = ({
4404
+ const Il = ({
4374
4405
  context: t
4375
4406
  } = {}) => {
4376
- const e = J.useContext(Ll(t, J.useContext(Dl)));
4407
+ const e = Z.useContext(Pl(t, Z.useContext(Ll)));
4377
4408
  if (!e)
4378
4409
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
4379
4410
  return e;
4380
- }, Qa = /* @__PURE__ */ J.createContext(!1), Il = () => J.useContext(Qa);
4381
- Qa.Provider;
4382
- function Vl() {
4411
+ }, qa = /* @__PURE__ */ Z.createContext(!1), Vl = () => Z.useContext(qa);
4412
+ qa.Provider;
4413
+ function jl() {
4383
4414
  let t = !1;
4384
4415
  return {
4385
4416
  clearReset: () => {
@@ -4391,47 +4422,47 @@ function Vl() {
4391
4422
  isReset: () => t
4392
4423
  };
4393
4424
  }
4394
- const jl = /* @__PURE__ */ J.createContext(Vl()), Ul = () => J.useContext(jl);
4395
- function Ml(t, e) {
4425
+ const Ul = /* @__PURE__ */ Z.createContext(jl()), Ml = () => Z.useContext(Ul);
4426
+ function $l(t, e) {
4396
4427
  return typeof t == "function" ? t(...e) : !!t;
4397
4428
  }
4398
- const $l = (t, e) => {
4429
+ const Bl = (t, e) => {
4399
4430
  (t.suspense || t.useErrorBoundary) && (e.isReset() || (t.retryOnMount = !1));
4400
- }, Bl = (t) => {
4401
- J.useEffect(() => {
4431
+ }, zl = (t) => {
4432
+ Z.useEffect(() => {
4402
4433
  t.clearReset();
4403
4434
  }, [t]);
4404
- }, zl = ({
4435
+ }, Kl = ({
4405
4436
  result: t,
4406
4437
  errorResetBoundary: e,
4407
4438
  useErrorBoundary: n,
4408
4439
  query: i
4409
- }) => t.isError && !e.isReset() && !t.isFetching && Ml(n, [t.error, i]), Kl = (t) => {
4440
+ }) => t.isError && !e.isReset() && !t.isFetching && $l(n, [t.error, i]), Gl = (t) => {
4410
4441
  t.suspense && typeof t.staleTime != "number" && (t.staleTime = 1e3);
4411
- }, Gl = (t, e) => t.isLoading && t.isFetching && !e, Ql = (t, e, n) => (t == null ? void 0 : t.suspense) && Gl(e, n), Hl = (t, e, n) => e.fetchOptimistic(t).then(({
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(({
4412
4443
  data: i
4413
4444
  }) => {
4414
4445
  t.onSuccess == null || t.onSuccess(i), t.onSettled == null || t.onSettled(i, null);
4415
4446
  }).catch((i) => {
4416
4447
  n.clearReset(), t.onError == null || t.onError(i), t.onSettled == null || t.onSettled(void 0, i);
4417
4448
  });
4418
- function ql(t, e) {
4419
- const n = Pl({
4449
+ function Wl(t, e) {
4450
+ const n = Il({
4420
4451
  context: t.context
4421
- }), i = Il(), a = Ul(), r = n.defaultQueryOptions(t);
4422
- 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)), Kl(r), $l(r, a), Bl(a);
4423
- const [s] = J.useState(() => new e(n, r)), o = s.getOptimisticResult(r);
4424
- if (Tl(J.useCallback((l) => {
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);
4454
+ const [s] = Z.useState(() => new e(n, r)), o = s.getOptimisticResult(r);
4455
+ if (Dl(Z.useCallback((l) => {
4425
4456
  const u = i ? () => {
4426
4457
  } : s.subscribe(Ge.batchCalls(l));
4427
4458
  return s.updateResult(), u;
4428
- }, [s, i]), () => s.getCurrentResult(), () => s.getCurrentResult()), J.useEffect(() => {
4459
+ }, [s, i]), () => s.getCurrentResult(), () => s.getCurrentResult()), Z.useEffect(() => {
4429
4460
  s.setOptions(r, {
4430
4461
  listeners: !1
4431
4462
  });
4432
- }, [r, s]), Ql(r, o, i))
4433
- throw Hl(r, s, a);
4434
- if (zl({
4463
+ }, [r, s]), Hl(r, o, i))
4464
+ throw ql(r, s, a);
4465
+ if (Kl({
4435
4466
  result: o,
4436
4467
  errorResetBoundary: a,
4437
4468
  useErrorBoundary: r.useErrorBoundary,
@@ -4440,12 +4471,12 @@ function ql(t, e) {
4440
4471
  throw o.error;
4441
4472
  return r.notifyOnChangeProps ? o : s.trackResult(o);
4442
4473
  }
4443
- function Wl(t, e, n) {
4444
- const i = ll(t, e, n);
4445
- return ql(i, yl);
4474
+ function Jl(t, e, n) {
4475
+ const i = ul(t, e, n);
4476
+ return Wl(i, bl);
4446
4477
  }
4447
- const Jl = () => ["account"], Hd = () => {
4448
- const t = Wo((a) => a.accountName), [e, n] = Nr(bn), i = Wl(Jl(), () => Ba.get(t), {
4478
+ const Zl = () => ["account"], Jd = () => {
4479
+ const t = Jo((a) => a.accountName), [e, n] = wr(Sn), i = Jl(Zl(), () => Ka.get(t), {
4449
4480
  enabled: !!t && !e,
4450
4481
  refetchOnWindowFocus: !1,
4451
4482
  refetchOnMount: !1
@@ -4457,13 +4488,13 @@ const Jl = () => ["account"], Hd = () => {
4457
4488
  findQuery: i,
4458
4489
  account: e
4459
4490
  };
4460
- }, Zl = Pi();
4461
- async function Xl(t) {
4462
- const e = await Ba.get(t);
4463
- return Zl.set(bn, e), e;
4491
+ }, Xl = Pi();
4492
+ async function Yl(t) {
4493
+ const e = await Ka.get(t);
4494
+ return Xl.set(Sn, e), e;
4464
4495
  }
4465
- var Yl = /* @__PURE__ */ ((t) => (t.CREATED = "CREATED", t.STARTING = "STARTING", t.LIVE = "LIVE", t.FINALIZED = "FINALIZED", t))(Yl || {});
4466
- const qd = {
4496
+ var eu = /* @__PURE__ */ ((t) => (t.CREATED = "CREATED", t.STARTING = "STARTING", t.LIVE = "LIVE", t.FINALIZED = "FINALIZED", t))(eu || {});
4497
+ const Zd = {
4467
4498
  ALL: "*",
4468
4499
  CORE: "core:**",
4469
4500
  ADD_TO_CART_HOOKS: "core:addToCartHooks:**",
@@ -4476,48 +4507,49 @@ const qd = {
4476
4507
  SNACK_SIZE_VIDEO_ADMIN: "ssv-admin:**",
4477
4508
  UI: "ui:**",
4478
4509
  UTILS: "utils:**"
4479
- }, eu = {
4510
+ }, tu = {
4480
4511
  EVENT_STATUS_CHANGED: "event:statusChanged",
4481
4512
  /** AddToCartHook events */
4482
4513
  ATCH_ACTION_EXECUTED: "core:addToCartHooks:actionExecuted"
4483
4514
  };
4484
- var tu = /* @__PURE__ */ ((t) => (t.English = "en", t.Spanish = "es", t.Portuguese = "pt", t))(tu || {}), nu = /* @__PURE__ */ ((t) => (t.COMBO = "Combo", t.BADGE = "Badged", t))(nu || {}), iu = /* @__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))(iu || {}), Ha = /* @__PURE__ */ ((t) => (t.Created = "CREATED", t.Finalized = "FINALIZED", t.Live = "LIVE", t.Starting = "STARTING", t))(Ha || {}), qa = /* @__PURE__ */ ((t) => (t.Add = "add", t.Remove = "remove", t))(qa || {}), Wa = /* @__PURE__ */ ((t) => (t.Active = "active", t.Inactive = "inactive", t))(Wa || {});
4485
- const au = { 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" } }] } }] } }] } }] }, ru = { 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" } }] } }] } }] } }] }, su = { 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" } }] } }] } }] } }] }, ou = { 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" } }] } }] } }] } }] }, lu = { 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" } }] } }] } }] } }] }, uu = { 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" } }] } }] } }] } }] }, du = { 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" } }] } }] } }] } }] }, cu = { 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" } }] } }] } }] } }] }, fu = { 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" } }] } }] } }] } }] }, mu = { 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" } }] } }] } }] } }] }, hu = { 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" } }] } }] } }] } }] }, pu = { 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" } }] } }] } }] } }] }, vu = { 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" } }] } }] } }] } }] }, gu = { 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" } }] } }] } }] } }] }, ku = { 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" } }] } }] } }] } }] }, yu = { 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" } }] } }] } }] } }] }, bu = { 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" } }] } }] } }] } }] }, Su = { 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" } }] } }] } }] } }] }, _u = { 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" } }] } }] } }] } }] }, Nu = { 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" } }] } }] } }] } }] }, Ou = { 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" } }] } }] } }] } }] }, wu = { 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" } }] } }] } }] } }] }, Fu = { 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" } }] } }] } }] } }] }, Au = { 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" } }] } }] } }] } }] }, Eu = { 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" } }] } }] } }] } }] }, Cu = { 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" } }] } }] } }] } }] } }] }, xu = { 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" } }] } }] } }] } }] }, Ru = { 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" } }] } }] } }] } }] }, Wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
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({
4486
4517
  __proto__: null,
4487
- AddCollectionDocument: au,
4488
- AppendProductsToSnackVideoDocument: Nu,
4489
- BlockUserDocument: mu,
4490
- ChangeAccountUsernameDocument: hu,
4491
- CreateSnackVideoBatchDocument: Ou,
4492
- DeleteAllCustomizationDocument: yu,
4493
- DeleteChatMessageDocument: pu,
4494
- DeleteCollectionDocument: ru,
4495
- DeleteRelationshipWithSnackVideoDocument: wu,
4496
- DeleteSnackVideoDocument: Fu,
4497
- EventStatus: Ha,
4498
- FindByProductSnackVideoDocument: Ru,
4499
- FindCollectionDocument: su,
4500
- FindManySnackVideosDocument: Au,
4501
- FindMinimalEventDocument: cu,
4502
- GetAllChatMessageDocument: vu,
4503
- GetAllCollectionsDocument: ou,
4504
- GetAllCustomizationDocument: bu,
4505
- GetAllSnackVideosDocument: Eu,
4506
- GetChatRoomTokenDocument: gu,
4507
- GetSnackVideoRelationshipsDocument: Cu,
4508
- GetTimeLineDocument: _u,
4509
- ManageCollectionProductDocument: lu,
4510
- Methods: qa,
4511
- PinChatMessageDocument: ku,
4512
- SearchCollectionsDocument: uu,
4513
- SearchMinimalEventsDocument: fu,
4514
- SearchSnackVideosDocument: xu,
4515
- Status: Wa,
4516
- UpdateCollectionDocument: du,
4517
- UpdateCustomizationDocument: Su
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
4518
4550
  }, Symbol.toStringTag, { value: "Module" }));
4519
4551
  var In = /* @__PURE__ */ ((t) => (t.OPEN_TAB = "openTab", t.OPEN_VARIATION_SELECTOR = "openVariationSelector", t.ADD_TO_CART = "addToCart", t))(In || {});
4520
- function Jd(t) {
4552
+ function Yd(t) {
4521
4553
  return {
4522
4554
  class: t,
4523
4555
  _value: null,
@@ -4526,13 +4558,13 @@ function Jd(t) {
4526
4558
  }
4527
4559
  };
4528
4560
  }
4529
- const en = "addToCartHooks.notification.error", gi = {
4530
- errorAddingToCart: en,
4531
- errorOpeningVariationSelector: en,
4532
- errorOpeningNewTab: en,
4561
+ const Lu = zt(), tn = "addToCartHooks.notification.error", gi = {
4562
+ errorAddingToCart: tn,
4563
+ errorOpeningVariationSelector: tn,
4564
+ errorOpeningNewTab: tn,
4533
4565
  successAddingToCart: "addToCartHooks.notification.success"
4534
4566
  };
4535
- async function Zd(t) {
4567
+ async function ec(t) {
4536
4568
  const e = {
4537
4569
  ...t,
4538
4570
  action: {
@@ -4541,13 +4573,13 @@ async function Zd(t) {
4541
4573
  }
4542
4574
  };
4543
4575
  try {
4544
- const n = await Tu(e), i = await Du(n);
4545
- await Lu(i);
4576
+ const n = await Pu(e), i = await Iu(n);
4577
+ await Vu(i);
4546
4578
  } catch (n) {
4547
4579
  fe.error("addToCartHooks: error unhandled", n);
4548
4580
  }
4549
4581
  }
4550
- async function Tu(t) {
4582
+ async function Pu(t) {
4551
4583
  var r, s;
4552
4584
  const { context: e, userAddToCartConfig: n } = t, i = (r = n == null ? void 0 : n.hooks) == null ? void 0 : r.transform;
4553
4585
  let a = t.product;
@@ -4565,9 +4597,9 @@ async function Tu(t) {
4565
4597
  product: a
4566
4598
  };
4567
4599
  }
4568
- async function Du(t) {
4600
+ async function Iu(t) {
4569
4601
  var l, u;
4570
- const { context: e, hookStrategy: n, userAddToCartConfig: i, product: a } = t, r = Pu(t), s = (l = i == null ? void 0 : i.hooks) == null ? void 0 : l.validate;
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;
4571
4603
  let o = n.validate({
4572
4604
  ...t,
4573
4605
  actionFactory: r
@@ -4589,7 +4621,7 @@ async function Du(t) {
4589
4621
  actionFactory: r
4590
4622
  };
4591
4623
  }
4592
- async function Lu(t) {
4624
+ async function Vu(t) {
4593
4625
  var g;
4594
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;
4595
4627
  let d = null, f = !1;
@@ -4604,7 +4636,7 @@ async function Lu(t) {
4604
4636
  success: !d,
4605
4637
  error: d
4606
4638
  };
4607
- Rn.eventBus.emit(eu.ATCH_ACTION_EXECUTED, k);
4639
+ Lu.eventBus.emit(tu.ATCH_ACTION_EXECUTED, k);
4608
4640
  };
4609
4641
  try {
4610
4642
  if (!a.type || !a.exec)
@@ -4626,7 +4658,7 @@ async function Lu(t) {
4626
4658
  }
4627
4659
  c(), _(), O();
4628
4660
  }
4629
- function Pu(t) {
4661
+ function ju(t) {
4630
4662
  const { actionFactory: e, userAddToCartConfig: n } = t, i = (a) => Object.entries(a != null ? a : {}).reduce(
4631
4663
  (r, [s, o]) => ({
4632
4664
  ...r,
@@ -4645,26 +4677,26 @@ function Pu(t) {
4645
4677
  function Ct(t, e) {
4646
4678
  fe.error(`addToCartHooks error running ${t}: `, e);
4647
4679
  }
4648
- function Iu(t) {
4680
+ function Uu(t) {
4649
4681
  const e = Object.values(t);
4650
4682
  return Object.assign({}, ...e);
4651
4683
  }
4652
- function Vu(t) {
4684
+ function Mu(t) {
4653
4685
  return Object.entries(t).reduce(
4654
4686
  (e, [n, i]) => {
4655
- const a = Iu(i);
4687
+ const a = Uu(i);
4656
4688
  return { ...e, [n]: a };
4657
4689
  },
4658
4690
  {}
4659
4691
  );
4660
4692
  }
4661
- function ju(t, e) {
4662
- const n = Vu(e);
4693
+ function $u(t, e) {
4694
+ const n = Mu(e);
4663
4695
  Object.entries(n).forEach(([i, a]) => {
4664
4696
  t.addResourceBundle(i, "translation", a, !0);
4665
4697
  });
4666
4698
  }
4667
- function Uu(t, e) {
4699
+ function Bu(t, e) {
4668
4700
  if (!(t instanceof e))
4669
4701
  throw new TypeError("Cannot call a class as a function");
4670
4702
  }
@@ -4676,7 +4708,7 @@ function et(t) {
4676
4708
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
4677
4709
  }, et(t);
4678
4710
  }
4679
- function Mu(t, e) {
4711
+ function zu(t, e) {
4680
4712
  if (et(t) != "object" || !t)
4681
4713
  return t;
4682
4714
  var n = t[Symbol.toPrimitive];
@@ -4688,30 +4720,30 @@ function Mu(t, e) {
4688
4720
  }
4689
4721
  return (e === "string" ? String : Number)(t);
4690
4722
  }
4691
- function $u(t) {
4692
- var e = Mu(t, "string");
4723
+ function Ku(t) {
4724
+ var e = zu(t, "string");
4693
4725
  return et(e) == "symbol" ? e : String(e);
4694
4726
  }
4695
4727
  function ki(t, e) {
4696
4728
  for (var n = 0; n < e.length; n++) {
4697
4729
  var i = e[n];
4698
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, $u(i.key), i);
4730
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, Ku(i.key), i);
4699
4731
  }
4700
4732
  }
4701
- function Bu(t, e, n) {
4733
+ function Gu(t, e, n) {
4702
4734
  return e && ki(t.prototype, e), n && ki(t, n), Object.defineProperty(t, "prototype", {
4703
4735
  writable: !1
4704
4736
  }), t;
4705
4737
  }
4706
- var Ja = [], zu = Ja.forEach, Ku = Ja.slice;
4707
- function Gu(t) {
4708
- return zu.call(Ku.call(arguments, 1), function(e) {
4738
+ var Xa = [], Qu = Xa.forEach, Hu = Xa.slice;
4739
+ function qu(t) {
4740
+ return Qu.call(Hu.call(arguments, 1), function(e) {
4709
4741
  if (e)
4710
4742
  for (var n in e)
4711
4743
  t[n] === void 0 && (t[n] = e[n]);
4712
4744
  }), t;
4713
4745
  }
4714
- var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4746
+ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Wu = function(e, n, i) {
4715
4747
  var a = i || {};
4716
4748
  a.path = a.path || "/";
4717
4749
  var r = encodeURIComponent(n), s = "".concat(e, "=").concat(r);
@@ -4762,7 +4794,7 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4762
4794
  path: "/",
4763
4795
  sameSite: "strict"
4764
4796
  };
4765
- i && (r.expires = /* @__PURE__ */ new Date(), r.expires.setTime(r.expires.getTime() + i * 60 * 1e3)), a && (r.domain = a), document.cookie = Qu(e, encodeURIComponent(n), r);
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);
4766
4798
  },
4767
4799
  read: function(e) {
4768
4800
  for (var n = "".concat(e, "="), i = document.cookie.split(";"), a = 0; a < i.length; a++) {
@@ -4776,7 +4808,7 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4776
4808
  remove: function(e) {
4777
4809
  this.create(e, "", -1);
4778
4810
  }
4779
- }, Hu = {
4811
+ }, Ju = {
4780
4812
  name: "cookie",
4781
4813
  lookup: function(e) {
4782
4814
  var n;
@@ -4789,7 +4821,7 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4789
4821
  cacheUserLanguage: function(e, n) {
4790
4822
  n.lookupCookie && typeof document != "undefined" && bi.create(n.lookupCookie, e, n.cookieMinutes, n.cookieDomain, n.cookieOptions);
4791
4823
  }
4792
- }, qu = {
4824
+ }, Zu = {
4793
4825
  name: "querystring",
4794
4826
  lookup: function(e) {
4795
4827
  var n;
@@ -4817,7 +4849,7 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4817
4849
  Be = !1;
4818
4850
  }
4819
4851
  return Be;
4820
- }, Wu = {
4852
+ }, Xu = {
4821
4853
  name: "localStorage",
4822
4854
  lookup: function(e) {
4823
4855
  var n;
@@ -4841,7 +4873,7 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4841
4873
  ze = !1;
4842
4874
  }
4843
4875
  return ze;
4844
- }, Ju = {
4876
+ }, Yu = {
4845
4877
  name: "sessionStorage",
4846
4878
  lookup: function(e) {
4847
4879
  var n;
@@ -4854,7 +4886,7 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4854
4886
  cacheUserLanguage: function(e, n) {
4855
4887
  n.lookupSessionStorage && _i() && window.sessionStorage.setItem(n.lookupSessionStorage, e);
4856
4888
  }
4857
- }, Zu = {
4889
+ }, ed = {
4858
4890
  name: "navigator",
4859
4891
  lookup: function(e) {
4860
4892
  var n = [];
@@ -4866,13 +4898,13 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4866
4898
  }
4867
4899
  return n.length > 0 ? n : void 0;
4868
4900
  }
4869
- }, Xu = {
4901
+ }, td = {
4870
4902
  name: "htmlTag",
4871
4903
  lookup: function(e) {
4872
4904
  var n, i = e.htmlTag || (typeof document != "undefined" ? document.documentElement : null);
4873
4905
  return i && typeof i.getAttribute == "function" && (n = i.getAttribute("lang")), n;
4874
4906
  }
4875
- }, Yu = {
4907
+ }, nd = {
4876
4908
  name: "path",
4877
4909
  lookup: function(e) {
4878
4910
  var n;
@@ -4888,7 +4920,7 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4888
4920
  }
4889
4921
  return n;
4890
4922
  }
4891
- }, ed = {
4923
+ }, id = {
4892
4924
  name: "subdomain",
4893
4925
  lookup: function(e) {
4894
4926
  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);
@@ -4896,7 +4928,7 @@ var yi = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4896
4928
  return i[n];
4897
4929
  }
4898
4930
  };
4899
- function td() {
4931
+ function ad() {
4900
4932
  return {
4901
4933
  order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
4902
4934
  lookupQuerystring: "lng",
@@ -4913,20 +4945,20 @@ function td() {
4913
4945
  }
4914
4946
  };
4915
4947
  }
4916
- var Za = /* @__PURE__ */ function() {
4948
+ var Ya = /* @__PURE__ */ function() {
4917
4949
  function t(e) {
4918
4950
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4919
- Uu(this, t), this.type = "languageDetector", this.detectors = {}, this.init(e, n);
4951
+ Bu(this, t), this.type = "languageDetector", this.detectors = {}, this.init(e, n);
4920
4952
  }
4921
- return Bu(t, [{
4953
+ return Gu(t, [{
4922
4954
  key: "init",
4923
4955
  value: function(n) {
4924
4956
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
4925
4957
  this.services = n || {
4926
4958
  languageUtils: {}
4927
- }, this.options = Gu(i, this.options || {}, td()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(r) {
4959
+ }, this.options = qu(i, this.options || {}, ad()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(r) {
4928
4960
  return r.replace("-", "_");
4929
- }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(Hu), this.addDetector(qu), this.addDetector(Wu), this.addDetector(Ju), this.addDetector(Zu), this.addDetector(Xu), this.addDetector(Yu), this.addDetector(ed);
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);
4930
4962
  }
4931
4963
  }, {
4932
4964
  key: "addDetector",
@@ -4958,9 +4990,9 @@ var Za = /* @__PURE__ */ function() {
4958
4990
  }
4959
4991
  }]), t;
4960
4992
  }();
4961
- Za.type = "languageDetector";
4962
- function nd(t, e) {
4963
- t.use(e).use(Za).init({
4993
+ Ya.type = "languageDetector";
4994
+ function rd(t, e) {
4995
+ t.use(e).use(Ya).init({
4964
4996
  resources: {},
4965
4997
  fallbackLng: "en",
4966
4998
  debug: !1,
@@ -4999,7 +5031,7 @@ function nd(t, e) {
4999
5031
  }
5000
5032
  });
5001
5033
  }
5002
- const id = {
5034
+ const sd = {
5003
5035
  type: "logger",
5004
5036
  log(t) {
5005
5037
  this.output("log", t);
@@ -5021,7 +5053,7 @@ class xt {
5021
5053
  }
5022
5054
  init(e) {
5023
5055
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5024
- this.prefix = n.prefix || "i18next:", this.logger = e || id, this.options = n, this.debug = n.debug;
5056
+ this.prefix = n.prefix || "i18next:", this.logger = e || sd, this.options = n, this.debug = n.debug;
5025
5057
  }
5026
5058
  log() {
5027
5059
  for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++)
@@ -5057,7 +5089,7 @@ class xt {
5057
5089
  }
5058
5090
  }
5059
5091
  var ie = new xt();
5060
- class Kt {
5092
+ class Gt {
5061
5093
  constructor() {
5062
5094
  this.observers = {};
5063
5095
  }
@@ -5101,15 +5133,15 @@ function Ke() {
5101
5133
  function Ni(t) {
5102
5134
  return t == null ? "" : "" + t;
5103
5135
  }
5104
- function ad(t, e, n) {
5136
+ function od(t, e, n) {
5105
5137
  t.forEach((i) => {
5106
5138
  e[i] && (n[i] = e[i]);
5107
5139
  });
5108
5140
  }
5109
- const rd = /###/g;
5141
+ const ld = /###/g;
5110
5142
  function qe(t, e, n) {
5111
5143
  function i(o) {
5112
- return o && o.indexOf("###") > -1 ? o.replace(rd, ".") : o;
5144
+ return o && o.indexOf("###") > -1 ? o.replace(ld, ".") : o;
5113
5145
  }
5114
5146
  function a() {
5115
5147
  return !t || typeof t == "string";
@@ -5141,7 +5173,7 @@ function Oi(t, e, n) {
5141
5173
  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);
5142
5174
  o.obj[`${o.k}.${r}`] = n;
5143
5175
  }
5144
- function sd(t, e, n, i) {
5176
+ function ud(t, e, n, i) {
5145
5177
  const {
5146
5178
  obj: a,
5147
5179
  k: r
@@ -5156,19 +5188,19 @@ function Rt(t, e) {
5156
5188
  if (n)
5157
5189
  return n[i];
5158
5190
  }
5159
- function od(t, e, n) {
5191
+ function dd(t, e, n) {
5160
5192
  const i = Rt(t, n);
5161
5193
  return i !== void 0 ? i : Rt(e, n);
5162
5194
  }
5163
- function Xa(t, e, n) {
5195
+ function er(t, e, n) {
5164
5196
  for (const i in e)
5165
- 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]) : Xa(t[i], e[i], n) : t[i] = e[i]);
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]);
5166
5198
  return t;
5167
5199
  }
5168
5200
  function Ae(t) {
5169
5201
  return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
5170
5202
  }
5171
- var ld = {
5203
+ var cd = {
5172
5204
  "&": "&amp;",
5173
5205
  "<": "&lt;",
5174
5206
  ">": "&gt;",
@@ -5176,10 +5208,10 @@ var ld = {
5176
5208
  "'": "&#39;",
5177
5209
  "/": "&#x2F;"
5178
5210
  };
5179
- function ud(t) {
5180
- return typeof t == "string" ? t.replace(/[&<>"'\/]/g, (e) => ld[e]) : t;
5211
+ function fd(t) {
5212
+ return typeof t == "string" ? t.replace(/[&<>"'\/]/g, (e) => cd[e]) : t;
5181
5213
  }
5182
- class dd {
5214
+ class md {
5183
5215
  constructor(e) {
5184
5216
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
5185
5217
  }
@@ -5191,13 +5223,13 @@ class dd {
5191
5223
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, i), this.regExpQueue.push(e), i;
5192
5224
  }
5193
5225
  }
5194
- const cd = [" ", ",", "?", "!", ";"], fd = new dd(20);
5195
- function md(t, e, n) {
5226
+ const hd = [" ", ",", "?", "!", ";"], pd = new md(20);
5227
+ function vd(t, e, n) {
5196
5228
  e = e || "", n = n || "";
5197
- const i = cd.filter((s) => e.indexOf(s) < 0 && n.indexOf(s) < 0);
5229
+ const i = hd.filter((s) => e.indexOf(s) < 0 && n.indexOf(s) < 0);
5198
5230
  if (i.length === 0)
5199
5231
  return !0;
5200
- const a = fd.getRegExp(`(${i.map((s) => s === "?" ? "\\?" : s).join("|")})`);
5232
+ const a = pd.getRegExp(`(${i.map((s) => s === "?" ? "\\?" : s).join("|")})`);
5201
5233
  let r = !a.test(t);
5202
5234
  if (!r) {
5203
5235
  const s = t.indexOf(n);
@@ -5205,7 +5237,7 @@ function md(t, e, n) {
5205
5237
  }
5206
5238
  return r;
5207
5239
  }
5208
- function gn(t, e) {
5240
+ function kn(t, e) {
5209
5241
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
5210
5242
  if (!t)
5211
5243
  return;
@@ -5231,7 +5263,7 @@ function gn(t, e) {
5231
5263
  function Tt(t) {
5232
5264
  return t && t.indexOf("_") > 0 ? t.replace("_", "-") : t;
5233
5265
  }
5234
- class wi extends Kt {
5266
+ class wi extends Gt {
5235
5267
  constructor(e) {
5236
5268
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
5237
5269
  ns: ["translation"],
@@ -5252,7 +5284,7 @@ class wi extends Kt {
5252
5284
  let o;
5253
5285
  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)));
5254
5286
  const l = Rt(this.data, o);
5255
- 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);
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);
5256
5288
  }
5257
5289
  addResource(e, n, i, a) {
5258
5290
  let r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
@@ -5278,7 +5310,7 @@ class wi extends Kt {
5278
5310
  }, o = [e, n];
5279
5311
  e.indexOf(".") > -1 && (o = e.split("."), a = i, i = n, n = o[1]), this.addNamespaces(n);
5280
5312
  let l = Rt(this.data, o) || {};
5281
- a ? Xa(l, i, r) : l = {
5313
+ a ? er(l, i, r) : l = {
5282
5314
  ...l,
5283
5315
  ...i
5284
5316
  }, Oi(this.data, o, l), s.silent || this.emit("added", e, n, i);
@@ -5305,7 +5337,7 @@ class wi extends Kt {
5305
5337
  return this.data;
5306
5338
  }
5307
5339
  }
5308
- var Ya = {
5340
+ var tr = {
5309
5341
  processors: {},
5310
5342
  addPostProcessor(t) {
5311
5343
  this.processors[t.name] = t;
@@ -5317,10 +5349,10 @@ var Ya = {
5317
5349
  }
5318
5350
  };
5319
5351
  const Fi = {};
5320
- class Dt extends Kt {
5352
+ class Dt extends Gt {
5321
5353
  constructor(e) {
5322
5354
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5323
- super(), ad(["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");
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");
5324
5356
  }
5325
5357
  changeLanguage(e) {
5326
5358
  e && (this.language = e);
@@ -5339,7 +5371,7 @@ class Dt extends Kt {
5339
5371
  i === void 0 && (i = ":");
5340
5372
  const a = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator;
5341
5373
  let r = n.ns || this.options.defaultNS || [];
5342
- const s = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !md(e, i, a);
5374
+ const s = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !vd(e, i, a);
5343
5375
  if (s && !o) {
5344
5376
  const l = e.match(this.interpolator.nestingRegexp);
5345
5377
  if (l && l.length > 0)
@@ -5488,7 +5520,7 @@ class Dt extends Kt {
5488
5520
  }, i)), i.interpolation && this.interpolator.reset();
5489
5521
  }
5490
5522
  const o = i.postProcess || this.options.postProcess, l = typeof o == "string" ? [o] : o;
5491
- return e != null && l && l.length && i.applyPostProcessor !== !1 && (e = Ya.handle(l, e, n, this.options && this.options.postProcessPassResolved ? {
5523
+ return e != null && l && l.length && i.applyPostProcessor !== !1 && (e = tr.handle(l, e, n, this.options && this.options.postProcessPassResolved ? {
5492
5524
  i18nResolved: {
5493
5525
  ...a,
5494
5526
  usedParams: this.getUsedParamsDetails(i)
@@ -5567,7 +5599,7 @@ class Dt extends Kt {
5567
5599
  return !1;
5568
5600
  }
5569
5601
  }
5570
- function tn(t) {
5602
+ function nn(t) {
5571
5603
  return t.charAt(0).toUpperCase() + t.slice(1);
5572
5604
  }
5573
5605
  class Ai {
@@ -5590,7 +5622,7 @@ class Ai {
5590
5622
  if (typeof e == "string" && e.indexOf("-") > -1) {
5591
5623
  const n = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
5592
5624
  let i = e.split("-");
5593
- 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("-");
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("-");
5594
5626
  }
5595
5627
  return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
5596
5628
  }
@@ -5639,7 +5671,7 @@ class Ai {
5639
5671
  }), a;
5640
5672
  }
5641
5673
  }
5642
- let hd = [{
5674
+ let gd = [{
5643
5675
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
5644
5676
  nr: [1, 2],
5645
5677
  fc: 1
@@ -5731,7 +5763,7 @@ let hd = [{
5731
5763
  lngs: ["he", "iw"],
5732
5764
  nr: [1, 2, 20, 21],
5733
5765
  fc: 22
5734
- }], pd = {
5766
+ }], kd = {
5735
5767
  1: function(t) {
5736
5768
  return +(t > 1);
5737
5769
  },
@@ -5799,7 +5831,7 @@ let hd = [{
5799
5831
  return t == 1 ? 0 : t == 2 ? 1 : (t < 0 || t > 10) && t % 10 == 0 ? 2 : 3;
5800
5832
  }
5801
5833
  };
5802
- const vd = ["v1", "v2", "v3"], gd = ["v4"], Ei = {
5834
+ const yd = ["v1", "v2", "v3"], bd = ["v4"], Ei = {
5803
5835
  zero: 0,
5804
5836
  one: 1,
5805
5837
  two: 2,
@@ -5807,21 +5839,21 @@ const vd = ["v1", "v2", "v3"], gd = ["v4"], Ei = {
5807
5839
  many: 4,
5808
5840
  other: 5
5809
5841
  };
5810
- function kd() {
5842
+ function Sd() {
5811
5843
  const t = {};
5812
- return hd.forEach((e) => {
5844
+ return gd.forEach((e) => {
5813
5845
  e.lngs.forEach((n) => {
5814
5846
  t[n] = {
5815
5847
  numbers: e.nr,
5816
- plurals: pd[e.fc]
5848
+ plurals: kd[e.fc]
5817
5849
  };
5818
5850
  });
5819
5851
  }), t;
5820
5852
  }
5821
- class yd {
5853
+ class _d {
5822
5854
  constructor(e) {
5823
5855
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5824
- this.languageUtils = e, this.options = n, this.logger = ie.create("pluralResolver"), (!this.options.compatibilityJSON || gd.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 = kd();
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();
5825
5857
  }
5826
5858
  addRule(e, n) {
5827
5859
  this.rules[e] = n;
@@ -5865,14 +5897,14 @@ class yd {
5865
5897
  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();
5866
5898
  }
5867
5899
  shouldUseIntlApi() {
5868
- return !vd.includes(this.options.compatibilityJSON);
5900
+ return !yd.includes(this.options.compatibilityJSON);
5869
5901
  }
5870
5902
  }
5871
5903
  function Ci(t, e, n) {
5872
- let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, r = od(t, e, n);
5873
- return !r && a && typeof n == "string" && (r = gn(t, n, i), r === void 0 && (r = gn(e, n, i))), r;
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;
5874
5906
  }
5875
- class bd {
5907
+ class Nd {
5876
5908
  constructor() {
5877
5909
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5878
5910
  this.logger = ie.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((n) => n), this.init(e);
@@ -5883,7 +5915,7 @@ class bd {
5883
5915
  escapeValue: !0
5884
5916
  });
5885
5917
  const n = e.interpolation;
5886
- this.escape = n.escape !== void 0 ? n.escape : ud, 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();
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();
5887
5919
  }
5888
5920
  reset() {
5889
5921
  this.options && this.init(this.options);
@@ -5985,7 +6017,7 @@ class bd {
5985
6017
  return e;
5986
6018
  }
5987
6019
  }
5988
- function Sd(t) {
6020
+ function Od(t) {
5989
6021
  let e = t.toLowerCase().trim();
5990
6022
  const n = {};
5991
6023
  if (t.indexOf("(") > -1) {
@@ -6012,7 +6044,7 @@ function Ee(t) {
6012
6044
  return o || (o = t(Tt(a), r), e[s] = o), o(i);
6013
6045
  };
6014
6046
  }
6015
- class _d {
6047
+ class wd {
6016
6048
  constructor() {
6017
6049
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6018
6050
  this.logger = ie.create("formatter"), this.options = e, this.formats = {
@@ -6067,7 +6099,7 @@ class _d {
6067
6099
  const {
6068
6100
  formatName: u,
6069
6101
  formatOptions: d
6070
- } = Sd(l);
6102
+ } = Od(l);
6071
6103
  if (this.formats[u]) {
6072
6104
  let f = o;
6073
6105
  try {
@@ -6087,10 +6119,10 @@ class _d {
6087
6119
  }, e);
6088
6120
  }
6089
6121
  }
6090
- function Nd(t, e) {
6122
+ function Fd(t, e) {
6091
6123
  t.pending[e] !== void 0 && (delete t.pending[e], t.pendingCount--);
6092
6124
  }
6093
- class Od extends Kt {
6125
+ class Ad extends Gt {
6094
6126
  constructor(e, n, i) {
6095
6127
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
6096
6128
  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);
@@ -6121,7 +6153,7 @@ class Od extends Kt {
6121
6153
  n && this.emit("failedLoading", r, s, n), i && this.store.addResourceBundle(r, s, i), this.state[e] = n ? -1 : 2;
6122
6154
  const o = {};
6123
6155
  this.queue.forEach((l) => {
6124
- sd(l.loaded, [r], s), Nd(l, e), n && l.errors.push(n), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((u) => {
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) => {
6125
6157
  o[u] || (o[u] = {});
6126
6158
  const d = l.loaded[u];
6127
6159
  d.length && d.forEach((f) => {
@@ -6288,17 +6320,17 @@ function Ri(t) {
6288
6320
  }
6289
6321
  function mt() {
6290
6322
  }
6291
- function wd(t) {
6323
+ function Ed(t) {
6292
6324
  Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach((n) => {
6293
6325
  typeof t[n] == "function" && (t[n] = t[n].bind(t));
6294
6326
  });
6295
6327
  }
6296
- class tt extends Kt {
6328
+ class tt extends Gt {
6297
6329
  constructor() {
6298
6330
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
6299
6331
  if (super(), this.options = Ri(e), this.services = {}, this.logger = ie, this.modules = {
6300
6332
  external: []
6301
- }, wd(this), n && !this.isInitialized && !e.isClone) {
6333
+ }, Ed(this), n && !this.isInitialized && !e.isClone) {
6302
6334
  if (!this.options.initImmediate)
6303
6335
  return this.init(e, n), this;
6304
6336
  setTimeout(() => {
@@ -6325,17 +6357,17 @@ class tt extends Kt {
6325
6357
  if (!this.options.isClone) {
6326
6358
  this.modules.logger ? ie.init(r(this.modules.logger), this.options) : ie.init(null, this.options);
6327
6359
  let d;
6328
- this.modules.formatter ? d = this.modules.formatter : typeof Intl != "undefined" && (d = _d);
6360
+ this.modules.formatter ? d = this.modules.formatter : typeof Intl != "undefined" && (d = wd);
6329
6361
  const f = new Ai(this.options);
6330
6362
  this.store = new wi(this.options.resources, this.options);
6331
6363
  const c = this.services;
6332
- c.logger = ie, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new yd(f, {
6364
+ c.logger = ie, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new _d(f, {
6333
6365
  prepend: this.options.pluralSeparator,
6334
6366
  compatibilityJSON: this.options.compatibilityJSON,
6335
6367
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
6336
- }), 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 bd(this.options), c.utils = {
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 = {
6337
6369
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
6338
- }, c.backendConnector = new Od(r(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(_) {
6370
+ }, c.backendConnector = new Ad(r(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(_) {
6339
6371
  for (var O = arguments.length, g = new Array(O > 1 ? O - 1 : 0), k = 1; k < O; k++)
6340
6372
  g[k - 1] = arguments[k];
6341
6373
  e.emit(_, ...g);
@@ -6400,7 +6432,7 @@ class tt extends Kt {
6400
6432
  throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
6401
6433
  if (!e.type)
6402
6434
  throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
6403
- 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" && Ya.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
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;
6404
6436
  }
6405
6437
  setResolvedLanguage(e) {
6406
6438
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
@@ -6557,7 +6589,7 @@ K.setDefaultNamespace;
6557
6589
  K.hasLoadedNamespace;
6558
6590
  K.loadNamespaces;
6559
6591
  K.loadLanguages;
6560
- const Fd = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ad = {
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 = {
6561
6593
  "&amp;": "&",
6562
6594
  "&#38;": "&",
6563
6595
  "&lt;": "<",
@@ -6578,7 +6610,7 @@ const Fd = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
6578
6610
  "&#8230;": "…",
6579
6611
  "&#x2F;": "/",
6580
6612
  "&#47;": "/"
6581
- }, Ed = (t) => Ad[t], Cd = (t) => t.replace(Fd, Ed);
6613
+ }, Rd = (t) => xd[t], Td = (t) => t.replace(Cd, Rd);
6582
6614
  let Ti = {
6583
6615
  bindI18n: "languageChanged",
6584
6616
  bindI18nStore: "",
@@ -6587,95 +6619,95 @@ let Ti = {
6587
6619
  transWrapTextNodes: "",
6588
6620
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
6589
6621
  useSuspense: !0,
6590
- unescape: Cd
6622
+ unescape: Td
6591
6623
  };
6592
- function xd() {
6624
+ function Dd() {
6593
6625
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6594
6626
  Ti = {
6595
6627
  ...Ti,
6596
6628
  ...t
6597
6629
  };
6598
6630
  }
6599
- const Rd = {
6631
+ const Ld = {
6600
6632
  type: "3rdParty",
6601
6633
  init(t) {
6602
- xd(t.options.react);
6634
+ Dd(t.options.react);
6603
6635
  }
6604
6636
  };
6605
- nd(K, Rd);
6606
- const Xd = (t) => ju(K, t);
6637
+ rd(K, Ld);
6638
+ const tc = (t) => $u(K, t);
6607
6639
  let Vn = /* @__PURE__ */ new Map();
6608
- const kn = Di(Vn), Yd = ({ children: t, stores: e }) => {
6609
- const n = yn(kn), i = sr(() => {
6640
+ const yn = Di(Vn), nc = ({ children: t, stores: e }) => {
6641
+ const n = bn(yn), i = lr(() => {
6610
6642
  const a = /* @__PURE__ */ new Map();
6611
6643
  return e.forEach((r) => a.set(r.class, r.value)), Vn = new Map([...n, ...a]);
6612
6644
  }, []);
6613
- return /* @__PURE__ */ lr(kn.Provider, { value: i, children: t });
6645
+ return /* @__PURE__ */ dr(yn.Provider, { value: i, children: t });
6614
6646
  };
6615
- function ec(t) {
6616
- return yn(kn).get(t);
6647
+ function ic(t) {
6648
+ return bn(yn).get(t);
6617
6649
  }
6618
- function tc(t) {
6650
+ function ac(t) {
6619
6651
  return Vn.get(t);
6620
6652
  }
6621
6653
  export {
6622
- $a as AccountContractStatusTypes,
6623
- Xo as AccountContractTypes,
6624
- Bd as AccountInvalidError,
6625
- el as AccountPlanDescriptionTypes,
6626
- il as AccountRestRepository,
6627
- al as AccountService,
6628
- Yo as AccountSubscriptionTypes,
6629
- Ma as AccountTypes,
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,
6630
6662
  In as AddToCartActionTypes,
6631
- Jo as AggregateRoot,
6632
- Wd as ApiGraphqlTypes,
6633
- Gd as BaseMobxStore,
6634
- Oo as BroadcastChannelEventBus,
6635
- zt as DomainError,
6636
- qd as EventBusWildcards,
6637
- eu as EventNames,
6638
- tl as GlobalPageSectionTypes,
6639
- Vo as InvalidNizzaGlobalObjectError,
6640
- tu as LanguageTypes,
6641
- Eo as Logger,
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,
6642
6674
  Dn as NizzaAccount,
6643
- Yl as NizzaEventStatus,
6644
- iu as NizzaProductRequestOriginTypes,
6675
+ eu as NizzaEventStatus,
6676
+ au as NizzaProductRequestOriginTypes,
6645
6677
  At as NizzaStore,
6646
- nu as NizzaVariationTypes,
6647
- Po as ResourceNotFoundError,
6648
- Yd as StoreProvider,
6649
- Io as UnexpectedError,
6650
- Qd as ValueObject,
6651
- bn as accountAtom,
6652
- Ba as accountService,
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,
6653
6685
  gi as addToCartMessages,
6654
- Id as apiCall,
6655
- Iu as buildLanguageTranslations,
6656
- Vu as buildTranslations,
6686
+ Ud as apiCall,
6687
+ Uu as buildLanguageTranslations,
6688
+ Mu as buildTranslations,
6657
6689
  fe as coreLogger,
6658
- Pu as createActionFactory,
6659
- Zo as createAggregateRoot,
6660
- Jd as createStore,
6690
+ ju as createActionFactory,
6691
+ Xo as createAggregateRoot,
6692
+ Yd as createStore,
6661
6693
  Vi as customFetch,
6662
- Vd as downloadFile,
6663
- Ud as fileOrigin,
6664
- Xl as getAccount,
6665
- Kd as getClientTimeZone,
6666
- tc as getStore,
6667
- Zl as globalAtomStore,
6668
- nd as i18Init,
6669
- xr as jsDownload,
6670
- $d as logger,
6671
- Rn as nizza,
6672
- Xd as registerTranslations,
6673
- ju as registerTranslationsOf,
6674
- Zd as runAddToCartHooks,
6675
- jd as searchParams,
6676
- Fo as shortId,
6677
- Hd as useAccount,
6678
- Wo as useNizza,
6679
- ec as useStore,
6680
- zd as validateRequiredProps
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
6681
6713
  };