@nizza/core 0.5.5 → 0.5.6

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
@@ -32,7 +32,7 @@ const zt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Kt = (t) => "in
32
32
  t.status = "fulfilled", t.value = e;
33
33
  }, Bn = (t, e) => {
34
34
  t.status = "rejected", t.reason = e;
35
- }, mr = (t) => typeof (t == null ? void 0 : t.then) == "function", $e = (t, e) => !!t && "v" in t && "v" in e && Object.is(t.v, e.v), zn = (t, e) => !!t && "e" in t && "e" in e && Object.is(t.e, e.e), we = (t) => !!t && "v" in t && t.v instanceof Promise, hr = (t, e) => "v" in t && "v" in e && t.v.orig && t.v.orig === e.v.orig, lt = (t) => {
35
+ }, mr = (t) => typeof (t == null ? void 0 : t.then) == "function", $e = (t, e) => !!t && "v" in t && "v" in e && Object.is(t.v, e.v), zn = (t, e) => !!t && "e" in t && "e" in e && Object.is(t.e, e.e), Oe = (t) => !!t && "v" in t && t.v instanceof Promise, hr = (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;
@@ -43,7 +43,7 @@ const zt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Kt = (t) => "in
43
43
  const r = (m) => t.get(m), s = (m, k) => {
44
44
  (z ? "production" : void 0) !== "production" && Object.freeze(k);
45
45
  const _ = r(m);
46
- if (t.set(m, k), n.has(m) || n.set(m, _), we(_)) {
46
+ if (t.set(m, k), n.has(m) || n.set(m, _), Oe(_)) {
47
47
  const h = "v" in k ? k.v instanceof Promise ? k.v : Promise.resolve(k.v) : Promise.reject(k.e);
48
48
  _.v !== h && Mn(_.v, h);
49
49
  }
@@ -67,7 +67,7 @@ const zt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Kt = (t) => "in
67
67
  h
68
68
  ), $e(b, F) && b.d === F.d)
69
69
  return b;
70
- if (we(b) && we(F) && hr(b, F)) {
70
+ if (Oe(b) && Oe(F) && hr(b, F)) {
71
71
  if (b.d === F.d)
72
72
  return b;
73
73
  F.v = b.v;
@@ -78,7 +78,7 @@ const zt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Kt = (t) => "in
78
78
  let b;
79
79
  const F = () => {
80
80
  const A = r(m);
81
- if (!we(A) || A.v !== p)
81
+ if (!Oe(A) || A.v !== p)
82
82
  return;
83
83
  const U = l(
84
84
  m,
@@ -249,7 +249,7 @@ const zt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Kt = (t) => "in
249
249
  const _ = (k = e.get(m)) == null ? void 0 : k.u;
250
250
  _ && _(), e.delete(m), (z ? "production" : void 0) !== "production" && a.delete(m);
251
251
  const h = r(m);
252
- h ? (we(h) && Mn(h.v), h.d.forEach((b, F) => {
252
+ h ? (Oe(h) && Mn(h.v), h.d.forEach((b, F) => {
253
253
  if (F !== m) {
254
254
  const p = e.get(F);
255
255
  p && (p.t.delete(m), O(F, p) && w(F));
@@ -282,7 +282,7 @@ const zt = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Kt = (t) => "in
282
282
  const F = e.get(_);
283
283
  F && b.d !== (h == null ? void 0 : h.d) && x(_, b, h == null ? void 0 : h.d), F && !// TODO This seems pretty hacky. Hope to fix it.
284
284
  // Maybe we could `mountDependencies` in `setAtomState`?
285
- (!we(h) && ($e(h, b) || zn(h, b))) && (F.l.forEach((p) => p()), (z ? "production" : void 0) !== "production" && m.add(_));
285
+ (!Oe(h) && ($e(h, b) || zn(h, b))) && (F.l.forEach((p) => p()), (z ? "production" : void 0) !== "production" && m.add(_));
286
286
  } else
287
287
  (z ? "production" : void 0) !== "production" && console.warn("[Bug] no atom state to flush");
288
288
  });
@@ -448,7 +448,7 @@ function Mi(t) {
448
448
  return e = !0, t.apply(this, arguments);
449
449
  };
450
450
  }
451
- var xe = function() {
451
+ var Ce = function() {
452
452
  };
453
453
  function ee(t) {
454
454
  return typeof t == "function";
@@ -501,7 +501,7 @@ function be(t, e) {
501
501
  return Dt(i) && i[n] === !0;
502
502
  };
503
503
  }
504
- function Ie(t) {
504
+ function Pe(t) {
505
505
  return t instanceof Map;
506
506
  }
507
507
  function nt(t) {
@@ -586,7 +586,7 @@ function Gn(t, e) {
586
586
  i[n] = t[n];
587
587
  return i;
588
588
  }
589
- function Re(t, e) {
589
+ function xe(t, e) {
590
590
  var n = typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
591
591
  if (n)
592
592
  return (n = n.call(t)).next.bind(n);
@@ -626,11 +626,11 @@ function re(t) {
626
626
  function e(n, i) {
627
627
  if (it(i))
628
628
  return t.decorate_20223_(n, i);
629
- Ve(n, i, t);
629
+ Ie(n, i, t);
630
630
  }
631
631
  return Object.assign(e, t);
632
632
  }
633
- function Ve(t, e, n) {
633
+ function Ie(t, e, n) {
634
634
  le(t, ne) || Lt(t, ne, ge({}, t[ne])), Gr(n) || (t[ne][e] = n);
635
635
  }
636
636
  function Vr(t) {
@@ -661,9 +661,9 @@ var E = /* @__PURE__ */ Symbol("mobx administration"), at = /* @__PURE__ */ func
661
661
  }, t;
662
662
  }(), Nn = /* @__PURE__ */ be("Atom", at);
663
663
  function Qi(t, e, n) {
664
- e === void 0 && (e = xe), n === void 0 && (n = xe);
664
+ e === void 0 && (e = Ce), n === void 0 && (n = Ce);
665
665
  var i = new at(t);
666
- return e !== xe && Ws(i, e), n !== xe && pa(i, n), i;
666
+ return e !== Ce && Ws(i, e), n !== Ce && pa(i, n), i;
667
667
  }
668
668
  function jr(t, e) {
669
669
  return t === e;
@@ -688,14 +688,14 @@ function ke(t, e, n) {
688
688
  name: n
689
689
  }) : fe(t) ? B.object(t, void 0, {
690
690
  name: n
691
- }) : Ie(t) ? B.map(t, {
691
+ }) : Pe(t) ? B.map(t, {
692
692
  name: n
693
693
  }) : nt(t) ? B.set(t, {
694
694
  name: n
695
- }) : typeof t == "function" && !Ut(t) && !Ze(t) ? $i(t) ? De(t) : Je(n, t) : t;
695
+ }) : typeof t == "function" && !Ut(t) && !Ze(t) ? $i(t) ? Te(t) : Je(n, t) : t;
696
696
  }
697
697
  function Br(t, e, n) {
698
- if (t == null || Xe(t) || Mt(t) || _e(t) || je(t))
698
+ if (t == null || Xe(t) || Mt(t) || _e(t) || Ve(t))
699
699
  return t;
700
700
  if (Array.isArray(t))
701
701
  return B.array(t, {
@@ -707,7 +707,7 @@ function Br(t, e, n) {
707
707
  name: n,
708
708
  deep: !1
709
709
  });
710
- if (Ie(t))
710
+ if (Pe(t))
711
711
  return B.map(t, {
712
712
  name: n,
713
713
  deep: !1
@@ -759,7 +759,7 @@ function qr(t, e) {
759
759
  };
760
760
  if (n == "field") {
761
761
  a(function() {
762
- Ve(this, i, r);
762
+ Ie(this, i, r);
763
763
  });
764
764
  return;
765
765
  }
@@ -828,7 +828,7 @@ function Zr(t, e, n, i) {
828
828
  }
829
829
  function Xr(t, e) {
830
830
  var n, i = e.name, a = e.addInitializer;
831
- return Ze(t) || (t = De(t)), (n = this.options_) != null && n.bound && a(function() {
831
+ return Ze(t) || (t = Te(t)), (n = this.options_) != null && n.bound && a(function() {
832
832
  var r = this, s = r[i].bind(r);
833
833
  s.isMobXFlow = !0, r[i] = s;
834
834
  }), t;
@@ -839,7 +839,7 @@ function Yr(t, e, n, i) {
839
839
  function Wi(t, e, n, i, a, r) {
840
840
  r === void 0 && (r = v.safeDescriptors), Yr(t, e, n, i);
841
841
  var s = i.value;
842
- if (Ze(s) || (s = De(s)), a) {
842
+ if (Ze(s) || (s = Te(s)), a) {
843
843
  var o;
844
844
  s = s.bind((o = t.proxy_) != null ? o : t.target_), s.isMobXFlow = !0;
845
845
  }
@@ -876,11 +876,11 @@ function ts(t, e, n, i) {
876
876
  function ns(t, e) {
877
877
  var n = this, i = e.name, a = e.addInitializer;
878
878
  return a(function() {
879
- var r = Ue(this)[E], s = ge({}, n.options_, {
879
+ var r = je(this)[E], s = ge({}, n.options_, {
880
880
  get: t,
881
881
  context: this
882
882
  });
883
- s.name || (s.name = "ObservableObject." + i.toString()), r.values_.set(i, new Te(s));
883
+ s.name || (s.name = "ObservableObject." + i.toString()), r.values_.set(i, new Re(s));
884
884
  }), function() {
885
885
  return this[E].getObservablePropValue_(i);
886
886
  };
@@ -907,7 +907,7 @@ function rs(t, e, n, i) {
907
907
  function ss(t, e) {
908
908
  var n = this, i = e.kind, a = e.name, r = /* @__PURE__ */ new WeakSet();
909
909
  function s(o, l) {
910
- var u, d, f = Ue(o)[E], c = new pe(l, (u = (d = n.options_) == null ? void 0 : d.enhancer) != null ? u : ke, "ObservableObject." + a.toString(), !1);
910
+ var u, d, f = je(o)[E], c = new pe(l, (u = (d = n.options_) == null ? void 0 : d.enhancer) != null ? u : ke, "ObservableObject." + a.toString(), !1);
911
911
  f.values_.set(a, c), r.add(o);
912
912
  }
913
913
  if (i == "accessor")
@@ -953,7 +953,7 @@ function ds(t, e, n, i) {
953
953
  if (i !== t.target_ && typeof n.value == "function") {
954
954
  var o;
955
955
  if ($i(n.value)) {
956
- var l, u = (l = this.options_) != null && l.autoBind ? De.bound : De;
956
+ var l, u = (l = this.options_) != null && l.autoBind ? Te.bound : Te;
957
957
  return u.make_(t, e, n, i);
958
958
  }
959
959
  var d = (o = this.options_) != null && o.autoBind ? Je.bound : Je;
@@ -1017,10 +1017,10 @@ function Yi(t, e, n) {
1017
1017
  if (it(e))
1018
1018
  return an.decorate_20223_(t, e);
1019
1019
  if (ve(e)) {
1020
- Ve(t, e, an);
1020
+ Ie(t, e, an);
1021
1021
  return;
1022
1022
  }
1023
- return ya(t) ? t : fe(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);
1023
+ return ya(t) ? t : fe(t) ? B.object(t, e, n) : Array.isArray(t) ? B.array(t, e) : Pe(t) ? B.map(t, e) : nt(t) ? B.set(t, e) : typeof t == "object" && t !== null ? t : B.box(t, e);
1024
1024
  }
1025
1025
  Vi(Yi, Xi);
1026
1026
  var _s = {
@@ -1042,7 +1042,7 @@ var _s = {
1042
1042
  },
1043
1043
  object: function(e, n, i) {
1044
1044
  return Ne(function() {
1045
- return Ys(v.useProxies === !1 || (i == null ? void 0 : i.proxy) === !1 ? Ue({}, i) : so({}, i), e, n);
1045
+ return Ys(v.useProxies === !1 || (i == null ? void 0 : i.proxy) === !1 ? je({}, i) : so({}, i), e, n);
1046
1046
  });
1047
1047
  },
1048
1048
  ref: /* @__PURE__ */ re(gs),
@@ -1055,11 +1055,11 @@ var _s = {
1055
1055
  if (it(n))
1056
1056
  return rn.decorate_20223_(e, n);
1057
1057
  if (ve(n))
1058
- return Ve(e, n, rn);
1058
+ return Ie(e, n, rn);
1059
1059
  if (fe(e))
1060
1060
  return re(On(ea, e));
1061
1061
  var i = fe(n) ? n : {};
1062
- return i.get = e, i.name || (i.name = e.name || ""), new Te(i);
1062
+ return i.get = e, i.name || (i.name = e.name || ""), new Re(i);
1063
1063
  };
1064
1064
  Object.assign(he, rn);
1065
1065
  he.struct = /* @__PURE__ */ re(Os);
@@ -1175,7 +1175,7 @@ var pe = /* @__PURE__ */ function(t) {
1175
1175
  }, e;
1176
1176
  }(at), na;
1177
1177
  na = Symbol.toPrimitive;
1178
- var Te = /* @__PURE__ */ function() {
1178
+ var Re = /* @__PURE__ */ function() {
1179
1179
  function t(n) {
1180
1180
  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 _t(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_ = St.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_ = ye("ComputedValue-setter", n.set)), this.equals_ = n.equals || (n.compareStructural || n.struct ? yt.structural : yt.default), this.scope_ = n.context, this.requiresReaction_ = n.requiresReaction, this.keepAlive_ = !!n.keepAlive;
1181
1181
  }
@@ -1259,7 +1259,7 @@ var Te = /* @__PURE__ */ function() {
1259
1259
  }, e[na] = function() {
1260
1260
  return this.valueOf();
1261
1261
  }, t;
1262
- }(), jt = /* @__PURE__ */ be("ComputedValue", Te), V;
1262
+ }(), jt = /* @__PURE__ */ be("ComputedValue", Re), V;
1263
1263
  (function(t) {
1264
1264
  t[t.NOT_TRACKING_ = -1] = "NOT_TRACKING_", t[t.UP_TO_DATE_ = 0] = "UP_TO_DATE_", t[t.POSSIBLY_STALE_ = 1] = "POSSIBLY_STALE_", t[t.STALE_ = 2] = "STALE_";
1265
1265
  })(V || (V = {}));
@@ -1398,7 +1398,7 @@ function W() {
1398
1398
  ca();
1399
1399
  for (var t = v.pendingUnobservations, e = 0; e < t.length; e++) {
1400
1400
  var n = t[e];
1401
- n.isPendingUnobservation_ = !1, n.observers_.size === 0 && (n.isBeingObserved_ && (n.isBeingObserved_ = !1, n.onBUO()), n instanceof Te && n.suspend_());
1401
+ n.isPendingUnobservation_ = !1, n.observers_.size === 0 && (n.isBeingObserved_ && (n.isBeingObserved_ = !1, n.onBUO()), n instanceof Re && n.suspend_());
1402
1402
  }
1403
1403
  v.pendingUnobservations = [];
1404
1404
  }
@@ -1526,7 +1526,7 @@ function ha(t) {
1526
1526
  if (it(a))
1527
1527
  return (t ? dn : un).decorate_20223_(i, a);
1528
1528
  if (ve(a))
1529
- return Ve(i, a, t ? dn : un);
1529
+ return Ie(i, a, t ? dn : un);
1530
1530
  if (ve(i))
1531
1531
  return re(rt(t ? ma : fa, {
1532
1532
  name: i,
@@ -1581,7 +1581,7 @@ function pa(t, e, n) {
1581
1581
  return va(qs, t, e, n);
1582
1582
  }
1583
1583
  function va(t, e, n, i) {
1584
- var a = typeof i == "function" ? Le(e, n) : Le(e), r = ee(i) ? i : n, s = t + "L";
1584
+ var a = typeof i == "function" ? De(e, n) : De(e), r = ee(i) ? i : n, s = t + "L";
1585
1585
  return a[s] ? a[s].add(r) : a[s] = /* @__PURE__ */ new Set([r]), function() {
1586
1586
  var o = a[s];
1587
1587
  o && (o.delete(r), o.size === 0 && delete a[s]);
@@ -1602,7 +1602,7 @@ function Xs(t) {
1602
1602
  function Ys(t, e, n, i) {
1603
1603
  var a = Dr(e);
1604
1604
  return Ne(function() {
1605
- var r = Ue(t, i)[E];
1605
+ var r = je(t, i)[E];
1606
1606
  Pt(a).forEach(function(s) {
1607
1607
  r.extend_(
1608
1608
  s,
@@ -1614,7 +1614,7 @@ function Ys(t, e, n, i) {
1614
1614
  }), t;
1615
1615
  }
1616
1616
  function eo(t, e) {
1617
- return ga(Le(t, e));
1617
+ return ga(De(t, e));
1618
1618
  }
1619
1619
  function ga(t) {
1620
1620
  var e = {
@@ -1632,11 +1632,11 @@ function ka() {
1632
1632
  ka.prototype = /* @__PURE__ */ Object.create(Error.prototype);
1633
1633
  var qt = /* @__PURE__ */ qi("flow"), io = /* @__PURE__ */ qi("flow.bound", {
1634
1634
  bound: !0
1635
- }), De = /* @__PURE__ */ Object.assign(function(e, n) {
1635
+ }), Te = /* @__PURE__ */ Object.assign(function(e, n) {
1636
1636
  if (it(n))
1637
1637
  return qt.decorate_20223_(e, n);
1638
1638
  if (ve(n))
1639
- return Ve(e, n, qt);
1639
+ return Ie(e, n, qt);
1640
1640
  var i = e, a = i.name || "<unnamed flow>", r = function() {
1641
1641
  var o = this, l = arguments, u = ++no, d = de(a + " - runid: " + u + " - init", i).apply(o, l), f, c = void 0, N = new Promise(function(O, g) {
1642
1642
  var S = 0;
@@ -1674,7 +1674,7 @@ var qt = /* @__PURE__ */ qi("flow"), io = /* @__PURE__ */ qi("flow.bound", {
1674
1674
  try {
1675
1675
  c && Wn(c);
1676
1676
  var O = d.return(void 0), g = Promise.resolve(O.value);
1677
- g.then(xe, xe), Wn(g), f(new ka());
1677
+ g.then(Ce, Ce), Wn(g), f(new ka());
1678
1678
  } catch (S) {
1679
1679
  f(S);
1680
1680
  }
@@ -1682,7 +1682,7 @@ var qt = /* @__PURE__ */ qi("flow"), io = /* @__PURE__ */ qi("flow.bound", {
1682
1682
  };
1683
1683
  return r.isMobXFlow = !0, r;
1684
1684
  }, qt);
1685
- De.bound = /* @__PURE__ */ re(io);
1685
+ Te.bound = /* @__PURE__ */ re(io);
1686
1686
  function Wn(t) {
1687
1687
  ee(t.cancel) && t.cancel();
1688
1688
  }
@@ -1703,30 +1703,30 @@ function oe(t, e) {
1703
1703
  W();
1704
1704
  }
1705
1705
  }
1706
- function Fe(t) {
1706
+ function we(t) {
1707
1707
  return t[E];
1708
1708
  }
1709
1709
  var ro = {
1710
1710
  has: function(e, n) {
1711
- return Fe(e).has_(n);
1711
+ return we(e).has_(n);
1712
1712
  },
1713
1713
  get: function(e, n) {
1714
- return Fe(e).get_(n);
1714
+ return we(e).get_(n);
1715
1715
  },
1716
1716
  set: function(e, n, i) {
1717
1717
  var a;
1718
- return ve(n) ? (a = Fe(e).set_(n, i, !0)) != null ? a : !0 : !1;
1718
+ return ve(n) ? (a = we(e).set_(n, i, !0)) != null ? a : !0 : !1;
1719
1719
  },
1720
1720
  deleteProperty: function(e, n) {
1721
1721
  var i;
1722
- return ve(n) ? (i = Fe(e).delete_(n, !0)) != null ? i : !0 : !1;
1722
+ return ve(n) ? (i = we(e).delete_(n, !0)) != null ? i : !0 : !1;
1723
1723
  },
1724
1724
  defineProperty: function(e, n, i) {
1725
1725
  var a;
1726
- return (a = Fe(e).defineProperty_(n, i)) != null ? a : !0;
1726
+ return (a = we(e).defineProperty_(n, i)) != null ? a : !0;
1727
1727
  },
1728
1728
  ownKeys: function(e) {
1729
- return Fe(e).ownKeys_();
1729
+ return we(e).ownKeys_();
1730
1730
  },
1731
1731
  preventExtensions: function(e) {
1732
1732
  L(13);
@@ -1734,7 +1734,7 @@ var ro = {
1734
1734
  };
1735
1735
  function so(t, e) {
1736
1736
  var n, i;
1737
- return Ui(), t = Ue(t, e), (i = (n = t[E]).proxy_) != null ? i : n.proxy_ = new Proxy(t, ro);
1737
+ return Ui(), t = je(t, e), (i = (n = t[E]).proxy_) != null ? i : n.proxy_ = new Proxy(t, ro);
1738
1738
  }
1739
1739
  function Q(t) {
1740
1740
  return t.interceptors_ !== void 0 && t.interceptors_.length > 0;
@@ -1777,7 +1777,7 @@ function Y(t, e) {
1777
1777
  }
1778
1778
  function ba(t, e, n) {
1779
1779
  return Ne(function() {
1780
- var i, a = Ue(t, n)[E];
1780
+ var i, a = je(t, n)[E];
1781
1781
  (i = e) != null || (e = Vr(t)), Pt(e).forEach(function(r) {
1782
1782
  return a.make_(r, e[r]);
1783
1783
  });
@@ -2187,7 +2187,7 @@ var Oa = /* @__PURE__ */ function() {
2187
2187
  }, e[_a] = function() {
2188
2188
  return this.entries();
2189
2189
  }, e.forEach = function(i, a) {
2190
- for (var r = Re(this), s; !(s = r()).done; ) {
2190
+ for (var r = xe(this), s; !(s = r()).done; ) {
2191
2191
  var o = s.value, l = o[0], u = o[1];
2192
2192
  i.call(a, u, l, this);
2193
2193
  }
@@ -2199,7 +2199,7 @@ var Oa = /* @__PURE__ */ function() {
2199
2199
  }) : Array.isArray(i) ? i.forEach(function(r) {
2200
2200
  var s = r[0], o = r[1];
2201
2201
  return a.set(s, o);
2202
- }) : Ie(i) ? (i.constructor !== Map && L(19, i), i.forEach(function(r, s) {
2202
+ }) : Pe(i) ? (i.constructor !== Map && L(19, i), i.forEach(function(r, s) {
2203
2203
  return a.set(s, r);
2204
2204
  })) : i != null && L(20, i);
2205
2205
  }), this;
@@ -2207,7 +2207,7 @@ var Oa = /* @__PURE__ */ function() {
2207
2207
  var i = this;
2208
2208
  oe(function() {
2209
2209
  aa(function() {
2210
- for (var a = Re(i.keys()), r; !(r = a()).done; ) {
2210
+ for (var a = xe(i.keys()), r; !(r = a()).done; ) {
2211
2211
  var s = r.value;
2212
2212
  i.delete(s);
2213
2213
  }
@@ -2216,7 +2216,7 @@ var Oa = /* @__PURE__ */ function() {
2216
2216
  }, e.replace = function(i) {
2217
2217
  var a = this;
2218
2218
  return oe(function() {
2219
- for (var r = mo(i), s = /* @__PURE__ */ new Map(), o = !1, l = Re(a.data_.keys()), u; !(u = l()).done; ) {
2219
+ for (var r = mo(i), s = /* @__PURE__ */ new Map(), o = !1, l = xe(a.data_.keys()), u; !(u = l()).done; ) {
2220
2220
  var d = u.value;
2221
2221
  if (!r.has(d)) {
2222
2222
  var f = a.delete(d);
@@ -2228,7 +2228,7 @@ var Oa = /* @__PURE__ */ function() {
2228
2228
  }
2229
2229
  }
2230
2230
  }
2231
- for (var N = Re(r.entries()), O; !(O = N()).done; ) {
2231
+ for (var N = xe(r.entries()), O; !(O = N()).done; ) {
2232
2232
  var g = O.value, S = g[0], y = g[1], T = a.data_.has(S);
2233
2233
  if (a.set(S, y), a.data_.has(S)) {
2234
2234
  var P = a.data_.get(S);
@@ -2269,7 +2269,7 @@ var Oa = /* @__PURE__ */ function() {
2269
2269
  }]), t;
2270
2270
  }(), _e = /* @__PURE__ */ be("ObservableMap", Oa);
2271
2271
  function mo(t) {
2272
- if (Ie(t) || _e(t))
2272
+ if (Pe(t) || _e(t))
2273
2273
  return t;
2274
2274
  if (Array.isArray(t))
2275
2275
  return new Map(t);
@@ -2300,14 +2300,14 @@ var Aa = /* @__PURE__ */ function() {
2300
2300
  var i = this;
2301
2301
  oe(function() {
2302
2302
  aa(function() {
2303
- for (var a = Re(i.data_.values()), r; !(r = a()).done; ) {
2303
+ for (var a = xe(i.data_.values()), r; !(r = a()).done; ) {
2304
2304
  var s = r.value;
2305
2305
  i.delete(s);
2306
2306
  }
2307
2307
  });
2308
2308
  });
2309
2309
  }, e.forEach = function(i, a) {
2310
- for (var r = Re(this), s; !(s = r()).done; ) {
2310
+ for (var r = xe(this), s; !(s = r()).done; ) {
2311
2311
  var o = s.value;
2312
2312
  i.call(a, o, o, this);
2313
2313
  }
@@ -2392,7 +2392,7 @@ var Aa = /* @__PURE__ */ function() {
2392
2392
  });
2393
2393
  }, e.replace = function(i) {
2394
2394
  var a = this;
2395
- return je(i) && (i = new Set(i)), oe(function() {
2395
+ return Ve(i) && (i = new Set(i)), oe(function() {
2396
2396
  Array.isArray(i) ? (a.clear(), i.forEach(function(r) {
2397
2397
  return a.add(r);
2398
2398
  })) : nt(i) ? (a.clear(), i.forEach(function(r) {
@@ -2420,7 +2420,7 @@ var Aa = /* @__PURE__ */ function() {
2420
2420
  return "Set";
2421
2421
  }
2422
2422
  }]), t;
2423
- }(), je = /* @__PURE__ */ be("ObservableSet", Aa), Zn = /* @__PURE__ */ Object.create(null), Xn = "remove", Ea = /* @__PURE__ */ function() {
2423
+ }(), Ve = /* @__PURE__ */ be("ObservableSet", Aa), Zn = /* @__PURE__ */ Object.create(null), Xn = "remove", Ea = /* @__PURE__ */ function() {
2424
2424
  function t(n, i, a, r) {
2425
2425
  i === void 0 && (i = /* @__PURE__ */ new Map()), r === void 0 && (r = us), 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_ = fe(this.target_);
2426
2426
  }
@@ -2429,7 +2429,7 @@ var Aa = /* @__PURE__ */ function() {
2429
2429
  return this.values_.get(i).get();
2430
2430
  }, e.setObservablePropValue_ = function(i, a) {
2431
2431
  var r = this.values_.get(i);
2432
- if (r instanceof Te)
2432
+ if (r instanceof Re)
2433
2433
  return r.set(a), !0;
2434
2434
  if (Q(this)) {
2435
2435
  var s = H(this, {
@@ -2591,7 +2591,7 @@ var Aa = /* @__PURE__ */ function() {
2591
2591
  return !1;
2592
2592
  } else
2593
2593
  ae(this.target_, i, u);
2594
- this.values_.set(i, new Te(a)), this.notifyPropertyAddition_(i, void 0);
2594
+ this.values_.set(i, new Re(a)), this.notifyPropertyAddition_(i, void 0);
2595
2595
  } finally {
2596
2596
  W();
2597
2597
  }
@@ -2660,7 +2660,7 @@ var Aa = /* @__PURE__ */ function() {
2660
2660
  return this.keysAtom_.reportObserved(), Object.keys(this.target_);
2661
2661
  }, t;
2662
2662
  }();
2663
- function Ue(t, e) {
2663
+ function je(t, e) {
2664
2664
  var n;
2665
2665
  if (le(t, E))
2666
2666
  return t;
@@ -2777,11 +2777,11 @@ Ra(1e3);
2777
2777
  function bo(t, e, n) {
2778
2778
  return new Cn(t, e, n);
2779
2779
  }
2780
- function Le(t, e) {
2780
+ function De(t, e) {
2781
2781
  if (typeof t == "object" && t !== null) {
2782
2782
  if (Mt(t))
2783
2783
  return e !== void 0 && L(23), t[E].atom_;
2784
- if (je(t))
2784
+ if (Ve(t))
2785
2785
  return t.atom_;
2786
2786
  if (_e(t)) {
2787
2787
  if (e === void 0)
@@ -2803,8 +2803,8 @@ function Le(t, e) {
2803
2803
  }
2804
2804
  function Ta(t, e) {
2805
2805
  if (t || L(29), e !== void 0)
2806
- return Ta(Le(t, e));
2807
- if (Nn(t) || jt(t) || Nt(t) || _e(t) || je(t))
2806
+ return Ta(De(t, e));
2807
+ if (Nn(t) || jt(t) || Nt(t) || _e(t) || Ve(t))
2808
2808
  return t;
2809
2809
  if (t[E])
2810
2810
  return t[E];
@@ -2813,11 +2813,11 @@ function Ta(t, e) {
2813
2813
  function cn(t, e) {
2814
2814
  var n;
2815
2815
  if (e !== void 0)
2816
- n = Le(t, e);
2816
+ n = De(t, e);
2817
2817
  else {
2818
2818
  if (Ut(t))
2819
2819
  return t.name;
2820
- Xe(t) || _e(t) || je(t) ? n = Ta(t) : n = Le(t);
2820
+ Xe(t) || _e(t) || Ve(t) ? n = Ta(t) : n = De(t);
2821
2821
  }
2822
2822
  return n.name_;
2823
2823
  }
@@ -2895,7 +2895,7 @@ function fn(t, e, n, i, a) {
2895
2895
  return i.pop(), a.pop(), !0;
2896
2896
  }
2897
2897
  function ni(t) {
2898
- return Mt(t) ? t.slice() : Ie(t) || _e(t) || nt(t) || je(t) ? Array.from(t.entries()) : t;
2898
+ return Mt(t) ? t.slice() : Pe(t) || _e(t) || nt(t) || Ve(t) ? Array.from(t.entries()) : t;
2899
2899
  }
2900
2900
  function Ye(t) {
2901
2901
  return t[Symbol.iterator] = So, t;
@@ -3062,11 +3062,11 @@ class _o {
3062
3062
  }
3063
3063
  }
3064
3064
  let No = (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), "");
3065
- const Oo = (t = 8) => No(t), Id = (t) => {
3065
+ const Oo = (t = 8) => No(t), Vd = (t) => {
3066
3066
  const e = Object.entries(t).reduce((n, [i, a]) => a !== void 0 ? `${n}${n ? "&" : ""}${i}=${a}` : n, "");
3067
3067
  return e ? `?${e}` : "";
3068
3068
  };
3069
- function Vd() {
3069
+ function jd() {
3070
3070
  const t = new Error().stack.split(`
3071
3071
  `);
3072
3072
  return t.length < 3 ? "" : t[2].trim().substring(3);
@@ -3324,9 +3324,8 @@ const Z = class Z {
3324
3324
  }
3325
3325
  static instance() {
3326
3326
  if (!!window.nizza)
3327
- console.log("🚀 ~ NizzaStore ~ USING window.nizza"), Z._instance = window.nizza;
3327
+ Z._instance = window.nizza;
3328
3328
  else {
3329
- console.log("🚀 ~ NizzaStore ~ FIRST instance");
3330
3329
  const n = new Z();
3331
3330
  Z._instance = n;
3332
3331
  }
@@ -3337,7 +3336,7 @@ const Z = class Z {
3337
3336
  try {
3338
3337
  const i = (n = this._config) == null ? void 0 : n.account;
3339
3338
  if (this._config = e, i !== e.account) {
3340
- const a = await Zl(e.account);
3339
+ const a = await Xl(e.account);
3341
3340
  this.setAccount(a);
3342
3341
  }
3343
3342
  if (e.getProductDataSource) {
@@ -3376,13 +3375,13 @@ const Z = class Z {
3376
3375
  };
3377
3376
  C(Z, "version", "4"), C(Z, "_instance");
3378
3377
  let mn = Z;
3379
- const Oe = () => mn.instance();
3380
- function Ce(t) {
3378
+ const Ue = () => mn.instance();
3379
+ function Ee(t) {
3381
3380
  return t != null && typeof t == "object" && t["@@functional/placeholder"] === !0;
3382
3381
  }
3383
3382
  function vt(t) {
3384
3383
  return function e(n) {
3385
- return arguments.length === 0 || Ce(n) ? e : t.apply(this, arguments);
3384
+ return arguments.length === 0 || Ee(n) ? e : t.apply(this, arguments);
3386
3385
  };
3387
3386
  }
3388
3387
  function Rn(t) {
@@ -3391,13 +3390,13 @@ function Rn(t) {
3391
3390
  case 0:
3392
3391
  return e;
3393
3392
  case 1:
3394
- return Ce(n) ? e : vt(function(a) {
3393
+ return Ee(n) ? e : vt(function(a) {
3395
3394
  return t(n, a);
3396
3395
  });
3397
3396
  default:
3398
- return Ce(n) && Ce(i) ? e : Ce(n) ? vt(function(a) {
3397
+ return Ee(n) && Ee(i) ? e : Ee(n) ? vt(function(a) {
3399
3398
  return t(a, i);
3400
- }) : Ce(i) ? vt(function(a) {
3399
+ }) : Ee(i) ? vt(function(a) {
3401
3400
  return t(n, a);
3402
3401
  }) : t(n, i);
3403
3402
  }
@@ -3457,7 +3456,7 @@ class Lo extends $t {
3457
3456
  );
3458
3457
  }
3459
3458
  }
3460
- class Ud extends $t {
3459
+ class Md extends $t {
3461
3460
  constructor() {
3462
3461
  super("APP_ACCOUNT_INVALID_ERROR", "Account not defined");
3463
3462
  }
@@ -3492,7 +3491,7 @@ class Po extends $t {
3492
3491
  );
3493
3492
  }
3494
3493
  }
3495
- function Md(t, e) {
3494
+ function $d(t, e) {
3496
3495
  e.forEach((n) => {
3497
3496
  if (xo(To(n.split("."), t)))
3498
3497
  throw new Po(n);
@@ -3658,19 +3657,17 @@ Zt = hn.finalizeAllImmediately;
3658
3657
  function Qo(t, e) {
3659
3658
  return e === void 0 && (e = "observed"), Go(t, e);
3660
3659
  }
3661
- function Ho(t) {
3662
- return Qo(() => {
3663
- const e = Oe();
3664
- return t(e);
3665
- });
3660
+ function Ho() {
3661
+ return Li(Ue, []);
3666
3662
  }
3667
- function $d() {
3668
- return Li(Oe, []);
3663
+ function qo(t) {
3664
+ const e = Ho();
3665
+ return Qo(() => t(e));
3669
3666
  }
3670
3667
  function Bd(t) {
3671
3668
  let e = null;
3672
3669
  const n = () => {
3673
- e || (e = Oe().log.createLogger(t));
3670
+ e || (e = Ue().log.createLogger(t));
3674
3671
  }, i = (r, s) => typeof r[s] == "function", a = {
3675
3672
  get(r, s, o) {
3676
3673
  n();
@@ -3726,9 +3723,9 @@ async function Ua(t) {
3726
3723
  }
3727
3724
  const zd = (t) => Ua({ ...t, contentTypeJson: !1, raw: !1 });
3728
3725
  function Kd(t, e, n) {
3729
- fetch(e).then((i) => i.blob()).then((i) => qo(i, `${t}.${n}`));
3726
+ fetch(e).then((i) => i.blob()).then((i) => Wo(i, `${t}.${n}`));
3730
3727
  }
3731
- const qo = (t, e, n) => {
3728
+ const Wo = (t, e, n) => {
3732
3729
  const i = [t], a = new Blob(i, {
3733
3730
  type: n != null ? n : "application/octet-stream"
3734
3731
  });
@@ -3741,7 +3738,7 @@ const qo = (t, e, n) => {
3741
3738
  };
3742
3739
  function Gd() {
3743
3740
  var a, r, s;
3744
- const { coreLogger: t } = Oe();
3741
+ const { coreLogger: t } = Ue();
3745
3742
  let e = null, n = null, i = null;
3746
3743
  try {
3747
3744
  e = (s = (r = (a = Intl.DateTimeFormat()) == null ? void 0 : a.resolvedOptions()) == null ? void 0 : r.timeZone) != null ? s : null;
@@ -3766,7 +3763,7 @@ function Gd() {
3766
3763
  label: null
3767
3764
  };
3768
3765
  }
3769
- class Wo {
3766
+ class Jo {
3770
3767
  constructor(e) {
3771
3768
  C(this, "aggregate");
3772
3769
  C(this, "_numSetPropsApplied", 0);
@@ -3781,8 +3778,8 @@ class Wo {
3781
3778
  return this._numSetPropsApplied === 1;
3782
3779
  }
3783
3780
  }
3784
- function Jo(t) {
3785
- return new Wo(t);
3781
+ function Zo(t) {
3782
+ return new Jo(t);
3786
3783
  }
3787
3784
  class Qd {
3788
3785
  }
@@ -3795,10 +3792,10 @@ class Hd {
3795
3792
  return this._value;
3796
3793
  }
3797
3794
  }
3798
- 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 || {}), Zo = /* @__PURE__ */ ((t) => (t.PLATFORM = "platform_module", t.ADENDA = "subscription_module", t.APP_STORE = "app_store", t))(Zo || {}), $a = /* @__PURE__ */ ((t) => (t.ACTIVE = "active_contract", t.INACTIVE = "inactive_contract", t))($a || {}), Xo = /* @__PURE__ */ ((t) => (t.LITE = "lite", t.STANDARD = "standard", t.PRO = "pro", t))(Xo || {}), Yo = /* @__PURE__ */ ((t) => (t.LITE = "PLAN_LITE", t.STANDARD = "PLAN_ESTANDAR", t.PRO = "PLAN_PRO", t.NONE = "NO_PLAN", t))(Yo || {}), el = /* @__PURE__ */ ((t) => (t.PAST = "past", t.LIVE = "live", t.FUTURE = "future", t))(el || {});
3795
+ 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 || {});
3799
3796
  class Tn {
3800
3797
  constructor(e) {
3801
- C(this, "root", Jo(this));
3798
+ C(this, "root", Zo(this));
3802
3799
  C(this, "id");
3803
3800
  C(this, "account");
3804
3801
  C(this, "accountType", Ma.UNKNOWN);
@@ -3841,16 +3838,16 @@ class Tn {
3841
3838
  };
3842
3839
  }
3843
3840
  }
3844
- const tl = `${Er.apiUrls.restV1}/accounts/v2`;
3845
- class nl {
3841
+ const nl = `${Er.apiUrls.restV1}/accounts/v2`;
3842
+ class il {
3846
3843
  async get(e) {
3847
- const n = `${tl}/${e}`, { data: i } = await Ua({
3844
+ const n = `${nl}/${e}`, { data: i } = await Ua({
3848
3845
  url: n
3849
3846
  });
3850
3847
  return i ? Tn.toDomain(i) : null;
3851
3848
  }
3852
3849
  }
3853
- class il {
3850
+ class al {
3854
3851
  constructor(e) {
3855
3852
  this.accountRepository = e;
3856
3853
  }
@@ -3865,7 +3862,7 @@ class il {
3865
3862
  }
3866
3863
  }
3867
3864
  }
3868
- const al = new nl(), Ba = new il(al);
3865
+ const rl = new il(), Ba = new al(rl);
3869
3866
  class Dn {
3870
3867
  constructor() {
3871
3868
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
@@ -3887,16 +3884,16 @@ class Dn {
3887
3884
  }
3888
3885
  }
3889
3886
  const Ft = typeof window == "undefined" || "Deno" in window;
3890
- function rl() {
3887
+ function sl() {
3891
3888
  }
3892
3889
  function si(t) {
3893
3890
  return typeof t == "number" && t >= 0 && t !== 1 / 0;
3894
3891
  }
3895
- function sl(t, e) {
3892
+ function ol(t, e) {
3896
3893
  return Math.max(t + (e || 0) - Date.now(), 0);
3897
3894
  }
3898
- function ol(t, e, n) {
3899
- return ll(t) ? typeof e == "function" ? {
3895
+ function ll(t, e, n) {
3896
+ return ul(t) ? typeof e == "function" ? {
3900
3897
  ...n,
3901
3898
  queryKey: t,
3902
3899
  queryFn: e
@@ -3943,21 +3940,21 @@ function li(t) {
3943
3940
  function ui(t) {
3944
3941
  return Object.prototype.toString.call(t) === "[object Object]";
3945
3942
  }
3946
- function ll(t) {
3943
+ function ul(t) {
3947
3944
  return Array.isArray(t);
3948
3945
  }
3949
- function ul(t) {
3946
+ function dl(t) {
3950
3947
  return new Promise((e) => {
3951
3948
  setTimeout(e, t);
3952
3949
  });
3953
3950
  }
3954
3951
  function di(t) {
3955
- ul(0).then(t);
3952
+ dl(0).then(t);
3956
3953
  }
3957
3954
  function ci(t, e, n) {
3958
3955
  return n.isDataEqual != null && n.isDataEqual(t, e) ? t : typeof n.structuralSharing == "function" ? n.structuralSharing(t, e) : n.structuralSharing !== !1 ? za(t, e) : e;
3959
3956
  }
3960
- class dl extends Dn {
3957
+ class cl extends Dn {
3961
3958
  constructor() {
3962
3959
  super(), this.setup = (e) => {
3963
3960
  if (!Ft && window.addEventListener) {
@@ -3997,8 +3994,8 @@ class dl extends Dn {
3997
3994
  return typeof this.focused == "boolean" ? this.focused : typeof document == "undefined" ? !0 : [void 0, "visible", "prerender"].includes(document.visibilityState);
3998
3995
  }
3999
3996
  }
4000
- const cl = new dl(), fi = ["online", "offline"];
4001
- class fl extends Dn {
3997
+ const fl = new cl(), fi = ["online", "offline"];
3998
+ class ml extends Dn {
4002
3999
  constructor() {
4003
4000
  super(), this.setup = (e) => {
4004
4001
  if (!Ft && window.addEventListener) {
@@ -4042,19 +4039,19 @@ class fl extends Dn {
4042
4039
  return typeof this.online == "boolean" ? this.online : typeof navigator == "undefined" || typeof navigator.onLine == "undefined" ? !0 : navigator.onLine;
4043
4040
  }
4044
4041
  }
4045
- const ml = new fl();
4046
- function hl(t) {
4047
- return (t != null ? t : "online") === "online" ? ml.isOnline() : !0;
4042
+ const hl = new ml();
4043
+ function pl(t) {
4044
+ return (t != null ? t : "online") === "online" ? hl.isOnline() : !0;
4048
4045
  }
4049
- class pl {
4046
+ class vl {
4050
4047
  constructor(e) {
4051
4048
  this.revert = e == null ? void 0 : e.revert, this.silent = e == null ? void 0 : e.silent;
4052
4049
  }
4053
4050
  }
4054
- function vl(t) {
4055
- return t instanceof pl;
4051
+ function gl(t) {
4052
+ return t instanceof vl;
4056
4053
  }
4057
- function gl() {
4054
+ function kl() {
4058
4055
  let t = [], e = 0, n = (d) => {
4059
4056
  d();
4060
4057
  }, i = (d) => {
@@ -4099,8 +4096,8 @@ function gl() {
4099
4096
  }
4100
4097
  };
4101
4098
  }
4102
- const Ge = gl();
4103
- class kl extends Dn {
4099
+ const Ge = kl();
4100
+ class yl extends Dn {
4104
4101
  constructor(e, n) {
4105
4102
  super(), this.client = e, this.options = n, this.trackedProps = /* @__PURE__ */ new Set(), this.selectError = null, this.bindMethods(), this.setOptions(n);
4106
4103
  }
@@ -4138,7 +4135,7 @@ class kl extends Dn {
4138
4135
  }
4139
4136
  getOptimisticResult(e) {
4140
4137
  const n = this.client.getQueryCache().build(this.client, e), i = this.createResult(n, e);
4141
- return bl(this, i, e) && (this.currentResult = i, this.currentResultOptions = this.options, this.currentResultState = this.currentQuery.state), i;
4138
+ return Sl(this, i, e) && (this.currentResult = i, this.currentResultOptions = this.options, this.currentResultState = this.currentQuery.state), i;
4142
4139
  }
4143
4140
  getCurrentResult() {
4144
4141
  return this.currentResult;
@@ -4184,12 +4181,12 @@ class kl extends Dn {
4184
4181
  executeFetch(e) {
4185
4182
  this.updateQuery();
4186
4183
  let n = this.currentQuery.fetch(this.options, e);
4187
- return e != null && e.throwOnError || (n = n.catch(rl)), n;
4184
+ return e != null && e.throwOnError || (n = n.catch(sl)), n;
4188
4185
  }
4189
4186
  updateStaleTimeout() {
4190
4187
  if (this.clearStaleTimeout(), Ft || this.currentResult.isStale || !si(this.options.staleTime))
4191
4188
  return;
4192
- const n = sl(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
4189
+ const n = ol(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
4193
4190
  this.staleTimeoutId = setTimeout(() => {
4194
4191
  this.currentResult.isStale || this.updateResult();
4195
4192
  }, n);
@@ -4200,7 +4197,7 @@ class kl extends Dn {
4200
4197
  }
4201
4198
  updateRefetchInterval(e) {
4202
4199
  this.clearRefetchInterval(), this.currentRefetchInterval = e, !(Ft || this.options.enabled === !1 || !si(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
4203
- (this.options.refetchIntervalInBackground || cl.isFocused()) && this.executeFetch();
4200
+ (this.options.refetchIntervalInBackground || fl.isFocused()) && this.executeFetch();
4204
4201
  }, this.currentRefetchInterval));
4205
4202
  }
4206
4203
  updateTimers() {
@@ -4225,7 +4222,7 @@ class kl extends Dn {
4225
4222
  } = f, y = !1, T = !1, P;
4226
4223
  if (n._optimisticResults) {
4227
4224
  const m = this.hasListeners(), k = !m && mi(e, n), _ = m && hi(e, i, n, a);
4228
- (k || _) && (g = hl(e.options.networkMode) ? "fetching" : "paused", c || (S = "loading")), n._optimisticResults === "isRestoring" && (g = "idle");
4225
+ (k || _) && (g = pl(e.options.networkMode) ? "fetching" : "paused", c || (S = "loading")), n._optimisticResults === "isRestoring" && (g = "idle");
4229
4226
  }
4230
4227
  if (n.keepPreviousData && !f.dataUpdatedAt && d != null && d.isSuccess && S !== "error")
4231
4228
  P = d.data, c = d.dataUpdatedAt, S = d.status, y = !0;
@@ -4317,7 +4314,7 @@ class kl extends Dn {
4317
4314
  }
4318
4315
  onQueryUpdate(e) {
4319
4316
  const n = {};
4320
- e.type === "success" ? n.onSuccess = !e.manual : e.type === "error" && !vl(e.error) && (n.onError = !0), this.updateResult(n), this.hasListeners() && this.updateTimers();
4317
+ e.type === "success" ? n.onSuccess = !e.manual : e.type === "error" && !gl(e.error) && (n.onError = !0), this.updateResult(n), this.hasListeners() && this.updateTimers();
4321
4318
  }
4322
4319
  notify(e) {
4323
4320
  Ge.batch(() => {
@@ -4339,11 +4336,11 @@ class kl extends Dn {
4339
4336
  });
4340
4337
  }
4341
4338
  }
4342
- function yl(t, e) {
4339
+ function bl(t, e) {
4343
4340
  return e.enabled !== !1 && !t.state.dataUpdatedAt && !(t.state.status === "error" && e.retryOnMount === !1);
4344
4341
  }
4345
4342
  function mi(t, e) {
4346
- return yl(t, e) || t.state.dataUpdatedAt > 0 && vn(t, e, e.refetchOnMount);
4343
+ return bl(t, e) || t.state.dataUpdatedAt > 0 && vn(t, e, e.refetchOnMount);
4347
4344
  }
4348
4345
  function vn(t, e, n) {
4349
4346
  if (e.enabled !== !1) {
@@ -4358,7 +4355,7 @@ function hi(t, e, n, i) {
4358
4355
  function Ln(t, e) {
4359
4356
  return t.isStaleByTime(e.staleTime);
4360
4357
  }
4361
- function bl(t, e, n) {
4358
+ function Sl(t, e, n) {
4362
4359
  return n.keepPreviousData ? !1 : n.placeholderData !== void 0 ? e.isPlaceholderData : !pn(t.getCurrentResult(), e);
4363
4360
  }
4364
4361
  var Ka = { exports: {} }, Ga = {};
@@ -4371,52 +4368,52 @@ var Ka = { exports: {} }, Ga = {};
4371
4368
  * This source code is licensed under the MIT license found in the
4372
4369
  * LICENSE file in the root directory of this source tree.
4373
4370
  */
4374
- var Pe = me;
4375
- function Sl(t, e) {
4371
+ var Le = me;
4372
+ function _l(t, e) {
4376
4373
  return t === e && (t !== 0 || 1 / t === 1 / e) || t !== t && e !== e;
4377
4374
  }
4378
- var _l = typeof Object.is == "function" ? Object.is : Sl, Nl = Pe.useState, Ol = Pe.useEffect, wl = Pe.useLayoutEffect, Fl = Pe.useDebugValue;
4379
- function Al(t, e) {
4380
- var n = e(), i = Nl({ inst: { value: n, getSnapshot: e } }), a = i[0].inst, r = i[1];
4381
- return wl(function() {
4375
+ var Nl = typeof Object.is == "function" ? Object.is : _l, Ol = Le.useState, wl = Le.useEffect, Fl = Le.useLayoutEffect, Al = Le.useDebugValue;
4376
+ function El(t, e) {
4377
+ var n = e(), i = Ol({ inst: { value: n, getSnapshot: e } }), a = i[0].inst, r = i[1];
4378
+ return Fl(function() {
4382
4379
  a.value = n, a.getSnapshot = e, Xt(a) && r({ inst: a });
4383
- }, [t, n, e]), Ol(function() {
4380
+ }, [t, n, e]), wl(function() {
4384
4381
  return Xt(a) && r({ inst: a }), t(function() {
4385
4382
  Xt(a) && r({ inst: a });
4386
4383
  });
4387
- }, [t]), Fl(n), n;
4384
+ }, [t]), Al(n), n;
4388
4385
  }
4389
4386
  function Xt(t) {
4390
4387
  var e = t.getSnapshot;
4391
4388
  t = t.value;
4392
4389
  try {
4393
4390
  var n = e();
4394
- return !_l(t, n);
4391
+ return !Nl(t, n);
4395
4392
  } catch {
4396
4393
  return !0;
4397
4394
  }
4398
4395
  }
4399
- function El(t, e) {
4396
+ function Cl(t, e) {
4400
4397
  return e();
4401
4398
  }
4402
- var Cl = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? El : Al;
4403
- Ga.useSyncExternalStore = Pe.useSyncExternalStore !== void 0 ? Pe.useSyncExternalStore : Cl;
4399
+ var xl = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? Cl : El;
4400
+ Ga.useSyncExternalStore = Le.useSyncExternalStore !== void 0 ? Le.useSyncExternalStore : xl;
4404
4401
  Ka.exports = Ga;
4405
- var xl = Ka.exports;
4406
- const Rl = xl.useSyncExternalStore, pi = /* @__PURE__ */ J.createContext(void 0), Tl = /* @__PURE__ */ J.createContext(!1);
4407
- function Dl(t, e) {
4402
+ var Rl = Ka.exports;
4403
+ const Tl = Rl.useSyncExternalStore, pi = /* @__PURE__ */ J.createContext(void 0), Dl = /* @__PURE__ */ J.createContext(!1);
4404
+ function Ll(t, e) {
4408
4405
  return t || (e && typeof window != "undefined" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = pi), window.ReactQueryClientContext) : pi);
4409
4406
  }
4410
- const Ll = ({
4407
+ const Pl = ({
4411
4408
  context: t
4412
4409
  } = {}) => {
4413
- const e = J.useContext(Dl(t, J.useContext(Tl)));
4410
+ const e = J.useContext(Ll(t, J.useContext(Dl)));
4414
4411
  if (!e)
4415
4412
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
4416
4413
  return e;
4417
- }, Qa = /* @__PURE__ */ J.createContext(!1), Pl = () => J.useContext(Qa);
4414
+ }, Qa = /* @__PURE__ */ J.createContext(!1), Il = () => J.useContext(Qa);
4418
4415
  Qa.Provider;
4419
- function Il() {
4416
+ function Vl() {
4420
4417
  let t = !1;
4421
4418
  return {
4422
4419
  clearReset: () => {
@@ -4428,37 +4425,37 @@ function Il() {
4428
4425
  isReset: () => t
4429
4426
  };
4430
4427
  }
4431
- const Vl = /* @__PURE__ */ J.createContext(Il()), jl = () => J.useContext(Vl);
4432
- function Ul(t, e) {
4428
+ const jl = /* @__PURE__ */ J.createContext(Vl()), Ul = () => J.useContext(jl);
4429
+ function Ml(t, e) {
4433
4430
  return typeof t == "function" ? t(...e) : !!t;
4434
4431
  }
4435
- const Ml = (t, e) => {
4432
+ const $l = (t, e) => {
4436
4433
  (t.suspense || t.useErrorBoundary) && (e.isReset() || (t.retryOnMount = !1));
4437
- }, $l = (t) => {
4434
+ }, Bl = (t) => {
4438
4435
  J.useEffect(() => {
4439
4436
  t.clearReset();
4440
4437
  }, [t]);
4441
- }, Bl = ({
4438
+ }, zl = ({
4442
4439
  result: t,
4443
4440
  errorResetBoundary: e,
4444
4441
  useErrorBoundary: n,
4445
4442
  query: i
4446
- }) => t.isError && !e.isReset() && !t.isFetching && Ul(n, [t.error, i]), zl = (t) => {
4443
+ }) => t.isError && !e.isReset() && !t.isFetching && Ml(n, [t.error, i]), Kl = (t) => {
4447
4444
  t.suspense && typeof t.staleTime != "number" && (t.staleTime = 1e3);
4448
- }, Kl = (t, e) => t.isLoading && t.isFetching && !e, Gl = (t, e, n) => (t == null ? void 0 : t.suspense) && Kl(e, n), Ql = (t, e, n) => e.fetchOptimistic(t).then(({
4445
+ }, 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(({
4449
4446
  data: i
4450
4447
  }) => {
4451
4448
  t.onSuccess == null || t.onSuccess(i), t.onSettled == null || t.onSettled(i, null);
4452
4449
  }).catch((i) => {
4453
4450
  n.clearReset(), t.onError == null || t.onError(i), t.onSettled == null || t.onSettled(void 0, i);
4454
4451
  });
4455
- function Hl(t, e) {
4456
- const n = Ll({
4452
+ function ql(t, e) {
4453
+ const n = Pl({
4457
4454
  context: t.context
4458
- }), i = Pl(), a = jl(), r = n.defaultQueryOptions(t);
4459
- 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)), zl(r), Ml(r, a), $l(a);
4455
+ }), i = Il(), a = Ul(), r = n.defaultQueryOptions(t);
4456
+ 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);
4460
4457
  const [s] = J.useState(() => new e(n, r)), o = s.getOptimisticResult(r);
4461
- if (Rl(J.useCallback((l) => {
4458
+ if (Tl(J.useCallback((l) => {
4462
4459
  const u = i ? () => {
4463
4460
  } : s.subscribe(Ge.batchCalls(l));
4464
4461
  return s.updateResult(), u;
@@ -4466,9 +4463,9 @@ function Hl(t, e) {
4466
4463
  s.setOptions(r, {
4467
4464
  listeners: !1
4468
4465
  });
4469
- }, [r, s]), Gl(r, o, i))
4470
- throw Ql(r, s, a);
4471
- if (Bl({
4466
+ }, [r, s]), Ql(r, o, i))
4467
+ throw Hl(r, s, a);
4468
+ if (zl({
4472
4469
  result: o,
4473
4470
  errorResetBoundary: a,
4474
4471
  useErrorBoundary: r.useErrorBoundary,
@@ -4477,12 +4474,12 @@ function Hl(t, e) {
4477
4474
  throw o.error;
4478
4475
  return r.notifyOnChangeProps ? o : s.trackResult(o);
4479
4476
  }
4480
- function ql(t, e, n) {
4481
- const i = ol(t, e, n);
4482
- return Hl(i, kl);
4477
+ function Wl(t, e, n) {
4478
+ const i = ll(t, e, n);
4479
+ return ql(i, yl);
4483
4480
  }
4484
- const Wl = () => ["account"], qd = () => {
4485
- const t = Ho((a) => a.accountName), [e, n] = _r(bn), i = ql(Wl(), () => Ba.get(t), {
4481
+ const Jl = () => ["account"], qd = () => {
4482
+ const t = qo((a) => a.accountName), [e, n] = _r(bn), i = Wl(Jl(), () => Ba.get(t), {
4486
4483
  enabled: !!t && !e,
4487
4484
  refetchOnWindowFocus: !1,
4488
4485
  refetchOnMount: !1
@@ -4494,12 +4491,12 @@ const Wl = () => ["account"], qd = () => {
4494
4491
  findQuery: i,
4495
4492
  account: e
4496
4493
  };
4497
- }, Jl = Pi();
4498
- async function Zl(t) {
4494
+ }, Zl = Pi();
4495
+ async function Xl(t) {
4499
4496
  const e = await Ba.get(t);
4500
- return Jl.set(bn, e), e;
4497
+ return Zl.set(bn, e), e;
4501
4498
  }
4502
- var Xl = /* @__PURE__ */ ((t) => (t.CREATED = "CREATED", t.STARTING = "STARTING", t.LIVE = "LIVE", t.FINALIZED = "FINALIZED", t))(Xl || {});
4499
+ var Yl = /* @__PURE__ */ ((t) => (t.CREATED = "CREATED", t.STARTING = "STARTING", t.LIVE = "LIVE", t.FINALIZED = "FINALIZED", t))(Yl || {});
4503
4500
  const Wd = {
4504
4501
  ALL: "*",
4505
4502
  CORE: "core:**",
@@ -4513,46 +4510,46 @@ const Wd = {
4513
4510
  SNACK_SIZE_VIDEO_ADMIN: "ssv-admin:**",
4514
4511
  UI: "ui:**",
4515
4512
  UTILS: "utils:**"
4516
- }, Yl = {
4513
+ }, eu = {
4517
4514
  EVENT_STATUS_CHANGED: "event:statusChanged",
4518
4515
  /** AddToCartHook events */
4519
4516
  ATCH_ACTION_EXECUTED: "core:addToCartHooks:actionExecuted"
4520
4517
  };
4521
- var eu = /* @__PURE__ */ ((t) => (t.English = "en", t.Spanish = "es", t.Portuguese = "pt", t))(eu || {}), tu = /* @__PURE__ */ ((t) => (t.COMBO = "Combo", t.BADGE = "Badged", t))(tu || {}), nu = /* @__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))(nu || {}), 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 || {});
4522
- const iu = { 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" } }] } }] } }] } }] }, au = { 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" } }] } }] } }] } }] }, ru = { 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" } }] } }] } }] } }] }, su = { 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" } }] } }] } }] } }] }, ou = { 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" } }] } }] } }] } }] }, lu = { 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" } }] } }] } }] } }] }, uu = { 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" } }] } }] } }] } }] }, du = { 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" } }] } }] } }] } }] }, cu = { 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" } }] } }] } }] } }] }, fu = { 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" } }] } }] } }] } }] }, mu = { 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" } }] } }] } }] } }] }, hu = { 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" } }] } }] } }] } }] }, pu = { 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" } }] } }] } }] } }] }, vu = { 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" } }] } }] } }] } }] }, gu = { 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" } }] } }] } }] } }] }, ku = { 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" } }] } }] } }] } }] }, yu = { 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" } }] } }] } }] } }] }, bu = { 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" } }] } }] } }] } }] }, Su = { 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" } }] } }] } }] } }] }, _u = { 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" } }] } }] } }] } }] }, Nu = { 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" } }] } }] } }] } }] }, Ou = { 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" } }] } }] } }] } }] }, wu = { 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" } }] } }] } }] } }] }, Fu = { 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" } }] } }] } }] } }] }, Au = { 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" } }] } }] } }] } }] }, Eu = { 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" } }] } }] } }] } }] }, 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" } }] } }] } }] } }] }, Jd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4518
+ 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 || {});
4519
+ 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: "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" } }] } }] } }] } }] }, xu = { 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" } }] } }] } }] } }] } }] }, Ru = { 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" } }] } }] } }] } }] }, Tu = { 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" } }] } }] } }] } }] }, Jd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4523
4520
  __proto__: null,
4524
- AddCollectionDocument: iu,
4525
- AppendProductsToSnackVideoDocument: _u,
4526
- BlockUserDocument: fu,
4527
- ChangeAccountUsernameDocument: mu,
4528
- CreateSnackVideoBatchDocument: Nu,
4529
- DeleteAllCustomizationDocument: ku,
4530
- DeleteChatMessageDocument: hu,
4531
- DeleteCollectionDocument: au,
4532
- DeleteRelationshipWithSnackVideoDocument: Ou,
4533
- DeleteSnackVideoDocument: wu,
4521
+ AddCollectionDocument: au,
4522
+ AppendProductsToSnackVideoDocument: Nu,
4523
+ BlockUserDocument: mu,
4524
+ ChangeAccountUsernameDocument: hu,
4525
+ CreateSnackVideoBatchDocument: Ou,
4526
+ DeleteAllCustomizationDocument: yu,
4527
+ DeleteChatMessageDocument: pu,
4528
+ DeleteCollectionDocument: ru,
4529
+ DeleteRelationshipWithSnackVideoDocument: wu,
4530
+ DeleteSnackVideoDocument: Fu,
4534
4531
  EventStatus: Ha,
4535
- FindByProductSnackVideoDocument: Ru,
4536
- FindCollectionDocument: ru,
4537
- FindManySnackVideosDocument: Fu,
4538
- FindMinimalEventDocument: du,
4539
- GetAllChatMessageDocument: pu,
4540
- GetAllCollectionsDocument: su,
4541
- GetAllCustomizationDocument: yu,
4542
- GetAllSnackVideosDocument: Au,
4543
- GetChatRoomTokenDocument: vu,
4544
- GetPlayListsDocument: Eu,
4545
- GetSnackVideoRelationshipsDocument: Cu,
4546
- GetTimeLineDocument: Su,
4547
- ManageCollectionProductDocument: ou,
4532
+ FindByProductSnackVideoDocument: Tu,
4533
+ FindCollectionDocument: su,
4534
+ FindManySnackVideosDocument: Au,
4535
+ FindMinimalEventDocument: cu,
4536
+ GetAllChatMessageDocument: vu,
4537
+ GetAllCollectionsDocument: ou,
4538
+ GetAllCustomizationDocument: bu,
4539
+ GetAllSnackVideosDocument: Eu,
4540
+ GetChatRoomTokenDocument: gu,
4541
+ GetPlayListsDocument: Cu,
4542
+ GetSnackVideoRelationshipsDocument: xu,
4543
+ GetTimeLineDocument: _u,
4544
+ ManageCollectionProductDocument: lu,
4548
4545
  Methods: qa,
4549
- PinChatMessageDocument: gu,
4550
- SearchCollectionsDocument: lu,
4551
- SearchMinimalEventsDocument: cu,
4552
- SearchSnackVideosDocument: xu,
4546
+ PinChatMessageDocument: ku,
4547
+ SearchCollectionsDocument: uu,
4548
+ SearchMinimalEventsDocument: fu,
4549
+ SearchSnackVideosDocument: Ru,
4553
4550
  Status: Wa,
4554
- UpdateCollectionDocument: uu,
4555
- UpdateCustomizationDocument: bu
4551
+ UpdateCollectionDocument: du,
4552
+ UpdateCustomizationDocument: Su
4556
4553
  }, Symbol.toStringTag, { value: "Module" }));
4557
4554
  var Pn = /* @__PURE__ */ ((t) => (t.OPEN_TAB = "openTab", t.OPEN_VARIATION_SELECTOR = "openVariationSelector", t.ADD_TO_CART = "addToCart", t))(Pn || {});
4558
4555
  function Zd(t) {
@@ -4571,7 +4568,7 @@ const Yt = "addToCartHooks.notification.error", vi = {
4571
4568
  successAddingToCart: "addToCartHooks.notification.success"
4572
4569
  };
4573
4570
  async function Xd(t) {
4574
- const { coreLogger: e } = Oe(), n = {
4571
+ const { coreLogger: e } = Ue(), n = {
4575
4572
  ...t,
4576
4573
  action: {
4577
4574
  type: Pn.ADD_TO_CART,
@@ -4581,13 +4578,13 @@ async function Xd(t) {
4581
4578
  }
4582
4579
  };
4583
4580
  try {
4584
- const i = await Tu(n), a = await Du(i);
4585
- await Lu(a);
4581
+ const i = await Du(n), a = await Lu(i);
4582
+ await Pu(a);
4586
4583
  } catch (i) {
4587
4584
  e.error("addToCartHooks: error unhandled", i);
4588
4585
  }
4589
4586
  }
4590
- async function Tu(t) {
4587
+ async function Du(t) {
4591
4588
  var r, s;
4592
4589
  const { context: e, userAddToCartConfig: n } = t, i = (r = n == null ? void 0 : n.hooks) == null ? void 0 : r.transform;
4593
4590
  let a = t.product;
@@ -4605,9 +4602,9 @@ async function Tu(t) {
4605
4602
  product: a
4606
4603
  };
4607
4604
  }
4608
- async function Du(t) {
4605
+ async function Lu(t) {
4609
4606
  var l, u;
4610
- 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;
4607
+ const { context: e, hookStrategy: n, userAddToCartConfig: i, product: a } = t, r = Iu(t), s = (l = i == null ? void 0 : i.hooks) == null ? void 0 : l.validate;
4611
4608
  let o = n.validate({
4612
4609
  ...t,
4613
4610
  actionFactory: r
@@ -4629,9 +4626,9 @@ async function Du(t) {
4629
4626
  actionFactory: r
4630
4627
  };
4631
4628
  }
4632
- async function Lu(t) {
4629
+ async function Pu(t) {
4633
4630
  var S;
4634
- const { eventBus: e } = Oe(), { product: n, userAddToCartConfig: i, notifyFactory: a, action: r, actionFactory: s } = t, { isVariationSelectorOpen: o, data: l = {} } = t.context, u = (S = i == null ? void 0 : i.hooks) == null ? void 0 : S.end, d = r.type === Pn.ADD_TO_CART;
4631
+ const { eventBus: e } = Ue(), { product: n, userAddToCartConfig: i, notifyFactory: a, action: r, actionFactory: s } = t, { isVariationSelectorOpen: o, data: l = {} } = t.context, u = (S = i == null ? void 0 : i.hooks) == null ? void 0 : S.end, d = r.type === Pn.ADD_TO_CART;
4635
4632
  let f = null, c = !1;
4636
4633
  const N = () => {
4637
4634
  !d || !o || s.openVariationSelector(!1).exec();
@@ -4644,7 +4641,7 @@ async function Lu(t) {
4644
4641
  success: !f,
4645
4642
  error: f
4646
4643
  };
4647
- e.emit(Yl.ATCH_ACTION_EXECUTED, y);
4644
+ e.emit(eu.ATCH_ACTION_EXECUTED, y);
4648
4645
  };
4649
4646
  try {
4650
4647
  if (!r.type || !r.exec)
@@ -4666,7 +4663,7 @@ async function Lu(t) {
4666
4663
  }
4667
4664
  N(), O(), g();
4668
4665
  }
4669
- function Pu(t) {
4666
+ function Iu(t) {
4670
4667
  const { actionFactory: e, userAddToCartConfig: n } = t, i = (a) => Object.entries(a != null ? a : {}).reduce(
4671
4668
  (r, [s, o]) => ({
4672
4669
  ...r,
@@ -4683,29 +4680,29 @@ function Pu(t) {
4683
4680
  };
4684
4681
  }
4685
4682
  function At(t, e) {
4686
- const { coreLogger: n } = Oe();
4683
+ const { coreLogger: n } = Ue();
4687
4684
  n.error(`addToCartHooks error running ${t}: `, e);
4688
4685
  }
4689
- function Iu(t) {
4686
+ function Vu(t) {
4690
4687
  const e = Object.values(t);
4691
4688
  return Object.assign({}, ...e);
4692
4689
  }
4693
- function Vu(t) {
4690
+ function ju(t) {
4694
4691
  return Object.entries(t).reduce(
4695
4692
  (e, [n, i]) => {
4696
- const a = Iu(i);
4693
+ const a = Vu(i);
4697
4694
  return { ...e, [n]: a };
4698
4695
  },
4699
4696
  {}
4700
4697
  );
4701
4698
  }
4702
- function ju(t, e) {
4703
- const n = Vu(e);
4699
+ function Uu(t, e) {
4700
+ const n = ju(e);
4704
4701
  Object.entries(n).forEach(([i, a]) => {
4705
4702
  t.addResourceBundle(i, "translation", a, !0);
4706
4703
  });
4707
4704
  }
4708
- function Uu(t, e) {
4705
+ function Mu(t, e) {
4709
4706
  if (!(t instanceof e))
4710
4707
  throw new TypeError("Cannot call a class as a function");
4711
4708
  }
@@ -4717,7 +4714,7 @@ function et(t) {
4717
4714
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
4718
4715
  }, et(t);
4719
4716
  }
4720
- function Mu(t, e) {
4717
+ function $u(t, e) {
4721
4718
  if (et(t) != "object" || !t)
4722
4719
  return t;
4723
4720
  var n = t[Symbol.toPrimitive];
@@ -4729,30 +4726,30 @@ function Mu(t, e) {
4729
4726
  }
4730
4727
  return (e === "string" ? String : Number)(t);
4731
4728
  }
4732
- function $u(t) {
4733
- var e = Mu(t, "string");
4729
+ function Bu(t) {
4730
+ var e = $u(t, "string");
4734
4731
  return et(e) == "symbol" ? e : String(e);
4735
4732
  }
4736
4733
  function gi(t, e) {
4737
4734
  for (var n = 0; n < e.length; n++) {
4738
4735
  var i = e[n];
4739
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, $u(i.key), i);
4736
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, Bu(i.key), i);
4740
4737
  }
4741
4738
  }
4742
- function Bu(t, e, n) {
4739
+ function zu(t, e, n) {
4743
4740
  return e && gi(t.prototype, e), n && gi(t, n), Object.defineProperty(t, "prototype", {
4744
4741
  writable: !1
4745
4742
  }), t;
4746
4743
  }
4747
- var Ja = [], zu = Ja.forEach, Ku = Ja.slice;
4748
- function Gu(t) {
4749
- return zu.call(Ku.call(arguments, 1), function(e) {
4744
+ var Ja = [], Ku = Ja.forEach, Gu = Ja.slice;
4745
+ function Qu(t) {
4746
+ return Ku.call(Gu.call(arguments, 1), function(e) {
4750
4747
  if (e)
4751
4748
  for (var n in e)
4752
4749
  t[n] === void 0 && (t[n] = e[n]);
4753
4750
  }), t;
4754
4751
  }
4755
- var ki = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4752
+ var ki = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Hu = function(e, n, i) {
4756
4753
  var a = i || {};
4757
4754
  a.path = a.path || "/";
4758
4755
  var r = encodeURIComponent(n), s = "".concat(e, "=").concat(r);
@@ -4803,7 +4800,7 @@ var ki = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4803
4800
  path: "/",
4804
4801
  sameSite: "strict"
4805
4802
  };
4806
- 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);
4803
+ i && (r.expires = /* @__PURE__ */ new Date(), r.expires.setTime(r.expires.getTime() + i * 60 * 1e3)), a && (r.domain = a), document.cookie = Hu(e, encodeURIComponent(n), r);
4807
4804
  },
4808
4805
  read: function(e) {
4809
4806
  for (var n = "".concat(e, "="), i = document.cookie.split(";"), a = 0; a < i.length; a++) {
@@ -4817,7 +4814,7 @@ var ki = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4817
4814
  remove: function(e) {
4818
4815
  this.create(e, "", -1);
4819
4816
  }
4820
- }, Hu = {
4817
+ }, qu = {
4821
4818
  name: "cookie",
4822
4819
  lookup: function(e) {
4823
4820
  var n;
@@ -4830,7 +4827,7 @@ var ki = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4830
4827
  cacheUserLanguage: function(e, n) {
4831
4828
  n.lookupCookie && typeof document != "undefined" && yi.create(n.lookupCookie, e, n.cookieMinutes, n.cookieDomain, n.cookieOptions);
4832
4829
  }
4833
- }, qu = {
4830
+ }, Wu = {
4834
4831
  name: "querystring",
4835
4832
  lookup: function(e) {
4836
4833
  var n;
@@ -4858,7 +4855,7 @@ var ki = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4858
4855
  Be = !1;
4859
4856
  }
4860
4857
  return Be;
4861
- }, Wu = {
4858
+ }, Ju = {
4862
4859
  name: "localStorage",
4863
4860
  lookup: function(e) {
4864
4861
  var n;
@@ -4882,7 +4879,7 @@ var ki = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4882
4879
  ze = !1;
4883
4880
  }
4884
4881
  return ze;
4885
- }, Ju = {
4882
+ }, Zu = {
4886
4883
  name: "sessionStorage",
4887
4884
  lookup: function(e) {
4888
4885
  var n;
@@ -4895,7 +4892,7 @@ var ki = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4895
4892
  cacheUserLanguage: function(e, n) {
4896
4893
  n.lookupSessionStorage && Si() && window.sessionStorage.setItem(n.lookupSessionStorage, e);
4897
4894
  }
4898
- }, Zu = {
4895
+ }, Xu = {
4899
4896
  name: "navigator",
4900
4897
  lookup: function(e) {
4901
4898
  var n = [];
@@ -4907,13 +4904,13 @@ var ki = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4907
4904
  }
4908
4905
  return n.length > 0 ? n : void 0;
4909
4906
  }
4910
- }, Xu = {
4907
+ }, Yu = {
4911
4908
  name: "htmlTag",
4912
4909
  lookup: function(e) {
4913
4910
  var n, i = e.htmlTag || (typeof document != "undefined" ? document.documentElement : null);
4914
4911
  return i && typeof i.getAttribute == "function" && (n = i.getAttribute("lang")), n;
4915
4912
  }
4916
- }, Yu = {
4913
+ }, ed = {
4917
4914
  name: "path",
4918
4915
  lookup: function(e) {
4919
4916
  var n;
@@ -4929,7 +4926,7 @@ var ki = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4929
4926
  }
4930
4927
  return n;
4931
4928
  }
4932
- }, ed = {
4929
+ }, td = {
4933
4930
  name: "subdomain",
4934
4931
  lookup: function(e) {
4935
4932
  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);
@@ -4937,7 +4934,7 @@ var ki = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qu = function(e, n, i) {
4937
4934
  return i[n];
4938
4935
  }
4939
4936
  };
4940
- function td() {
4937
+ function nd() {
4941
4938
  return {
4942
4939
  order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
4943
4940
  lookupQuerystring: "lng",
@@ -4957,17 +4954,17 @@ function td() {
4957
4954
  var Za = /* @__PURE__ */ function() {
4958
4955
  function t(e) {
4959
4956
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4960
- Uu(this, t), this.type = "languageDetector", this.detectors = {}, this.init(e, n);
4957
+ Mu(this, t), this.type = "languageDetector", this.detectors = {}, this.init(e, n);
4961
4958
  }
4962
- return Bu(t, [{
4959
+ return zu(t, [{
4963
4960
  key: "init",
4964
4961
  value: function(n) {
4965
4962
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
4966
4963
  this.services = n || {
4967
4964
  languageUtils: {}
4968
- }, this.options = Gu(i, this.options || {}, td()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(r) {
4965
+ }, this.options = Qu(i, this.options || {}, nd()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(r) {
4969
4966
  return r.replace("-", "_");
4970
- }), 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);
4967
+ }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(qu), this.addDetector(Wu), this.addDetector(Ju), this.addDetector(Zu), this.addDetector(Xu), this.addDetector(Yu), this.addDetector(ed), this.addDetector(td);
4971
4968
  }
4972
4969
  }, {
4973
4970
  key: "addDetector",
@@ -5000,7 +4997,7 @@ var Za = /* @__PURE__ */ function() {
5000
4997
  }]), t;
5001
4998
  }();
5002
4999
  Za.type = "languageDetector";
5003
- function nd(t, e) {
5000
+ function id(t, e) {
5004
5001
  t.use(e).use(Za).init({
5005
5002
  resources: {},
5006
5003
  fallbackLng: "en",
@@ -5040,7 +5037,7 @@ function nd(t, e) {
5040
5037
  }
5041
5038
  });
5042
5039
  }
5043
- const id = {
5040
+ const ad = {
5044
5041
  type: "logger",
5045
5042
  log(t) {
5046
5043
  this.output("log", t);
@@ -5062,7 +5059,7 @@ class Et {
5062
5059
  }
5063
5060
  init(e) {
5064
5061
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5065
- this.prefix = n.prefix || "i18next:", this.logger = e || id, this.options = n, this.debug = n.debug;
5062
+ this.prefix = n.prefix || "i18next:", this.logger = e || ad, this.options = n, this.debug = n.debug;
5066
5063
  }
5067
5064
  log() {
5068
5065
  for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++)
@@ -5142,15 +5139,15 @@ function Ke() {
5142
5139
  function _i(t) {
5143
5140
  return t == null ? "" : "" + t;
5144
5141
  }
5145
- function ad(t, e, n) {
5142
+ function rd(t, e, n) {
5146
5143
  t.forEach((i) => {
5147
5144
  e[i] && (n[i] = e[i]);
5148
5145
  });
5149
5146
  }
5150
- const rd = /###/g;
5147
+ const sd = /###/g;
5151
5148
  function qe(t, e, n) {
5152
5149
  function i(o) {
5153
- return o && o.indexOf("###") > -1 ? o.replace(rd, ".") : o;
5150
+ return o && o.indexOf("###") > -1 ? o.replace(sd, ".") : o;
5154
5151
  }
5155
5152
  function a() {
5156
5153
  return !t || typeof t == "string";
@@ -5182,7 +5179,7 @@ function Ni(t, e, n) {
5182
5179
  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);
5183
5180
  o.obj[`${o.k}.${r}`] = n;
5184
5181
  }
5185
- function sd(t, e, n, i) {
5182
+ function od(t, e, n, i) {
5186
5183
  const {
5187
5184
  obj: a,
5188
5185
  k: r
@@ -5197,7 +5194,7 @@ function Ct(t, e) {
5197
5194
  if (n)
5198
5195
  return n[i];
5199
5196
  }
5200
- function od(t, e, n) {
5197
+ function ld(t, e, n) {
5201
5198
  const i = Ct(t, n);
5202
5199
  return i !== void 0 ? i : Ct(e, n);
5203
5200
  }
@@ -5206,10 +5203,10 @@ function Xa(t, e, n) {
5206
5203
  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]);
5207
5204
  return t;
5208
5205
  }
5209
- function Ae(t) {
5206
+ function Fe(t) {
5210
5207
  return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
5211
5208
  }
5212
- var ld = {
5209
+ var ud = {
5213
5210
  "&": "&amp;",
5214
5211
  "<": "&lt;",
5215
5212
  ">": "&gt;",
@@ -5217,10 +5214,10 @@ var ld = {
5217
5214
  "'": "&#39;",
5218
5215
  "/": "&#x2F;"
5219
5216
  };
5220
- function ud(t) {
5221
- return typeof t == "string" ? t.replace(/[&<>"'\/]/g, (e) => ld[e]) : t;
5217
+ function dd(t) {
5218
+ return typeof t == "string" ? t.replace(/[&<>"'\/]/g, (e) => ud[e]) : t;
5222
5219
  }
5223
- class dd {
5220
+ class cd {
5224
5221
  constructor(e) {
5225
5222
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
5226
5223
  }
@@ -5232,13 +5229,13 @@ class dd {
5232
5229
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, i), this.regExpQueue.push(e), i;
5233
5230
  }
5234
5231
  }
5235
- const cd = [" ", ",", "?", "!", ";"], fd = new dd(20);
5236
- function md(t, e, n) {
5232
+ const fd = [" ", ",", "?", "!", ";"], md = new cd(20);
5233
+ function hd(t, e, n) {
5237
5234
  e = e || "", n = n || "";
5238
- const i = cd.filter((s) => e.indexOf(s) < 0 && n.indexOf(s) < 0);
5235
+ const i = fd.filter((s) => e.indexOf(s) < 0 && n.indexOf(s) < 0);
5239
5236
  if (i.length === 0)
5240
5237
  return !0;
5241
- const a = fd.getRegExp(`(${i.map((s) => s === "?" ? "\\?" : s).join("|")})`);
5238
+ const a = md.getRegExp(`(${i.map((s) => s === "?" ? "\\?" : s).join("|")})`);
5242
5239
  let r = !a.test(t);
5243
5240
  if (!r) {
5244
5241
  const s = t.indexOf(n);
@@ -5361,7 +5358,7 @@ const wi = {};
5361
5358
  class Rt extends Bt {
5362
5359
  constructor(e) {
5363
5360
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5364
- 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");
5361
+ super(), rd(["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");
5365
5362
  }
5366
5363
  changeLanguage(e) {
5367
5364
  e && (this.language = e);
@@ -5380,7 +5377,7 @@ class Rt extends Bt {
5380
5377
  i === void 0 && (i = ":");
5381
5378
  const a = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator;
5382
5379
  let r = n.ns || this.options.defaultNS || [];
5383
- const s = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !md(e, i, a);
5380
+ const s = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !hd(e, i, a);
5384
5381
  if (s && !o) {
5385
5382
  const l = e.match(this.interpolator.nestingRegexp);
5386
5383
  if (l && l.length > 0)
@@ -5680,7 +5677,7 @@ class Fi {
5680
5677
  }), a;
5681
5678
  }
5682
5679
  }
5683
- let hd = [{
5680
+ let pd = [{
5684
5681
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
5685
5682
  nr: [1, 2],
5686
5683
  fc: 1
@@ -5772,7 +5769,7 @@ let hd = [{
5772
5769
  lngs: ["he", "iw"],
5773
5770
  nr: [1, 2, 20, 21],
5774
5771
  fc: 22
5775
- }], pd = {
5772
+ }], vd = {
5776
5773
  1: function(t) {
5777
5774
  return +(t > 1);
5778
5775
  },
@@ -5840,7 +5837,7 @@ let hd = [{
5840
5837
  return t == 1 ? 0 : t == 2 ? 1 : (t < 0 || t > 10) && t % 10 == 0 ? 2 : 3;
5841
5838
  }
5842
5839
  };
5843
- const vd = ["v1", "v2", "v3"], gd = ["v4"], Ai = {
5840
+ const gd = ["v1", "v2", "v3"], kd = ["v4"], Ai = {
5844
5841
  zero: 0,
5845
5842
  one: 1,
5846
5843
  two: 2,
@@ -5848,21 +5845,21 @@ const vd = ["v1", "v2", "v3"], gd = ["v4"], Ai = {
5848
5845
  many: 4,
5849
5846
  other: 5
5850
5847
  };
5851
- function kd() {
5848
+ function yd() {
5852
5849
  const t = {};
5853
- return hd.forEach((e) => {
5850
+ return pd.forEach((e) => {
5854
5851
  e.lngs.forEach((n) => {
5855
5852
  t[n] = {
5856
5853
  numbers: e.nr,
5857
- plurals: pd[e.fc]
5854
+ plurals: vd[e.fc]
5858
5855
  };
5859
5856
  });
5860
5857
  }), t;
5861
5858
  }
5862
- class yd {
5859
+ class bd {
5863
5860
  constructor(e) {
5864
5861
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5865
- 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();
5862
+ this.languageUtils = e, this.options = n, this.logger = ie.create("pluralResolver"), (!this.options.compatibilityJSON || kd.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 = yd();
5866
5863
  }
5867
5864
  addRule(e, n) {
5868
5865
  this.rules[e] = n;
@@ -5906,14 +5903,14 @@ class yd {
5906
5903
  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();
5907
5904
  }
5908
5905
  shouldUseIntlApi() {
5909
- return !vd.includes(this.options.compatibilityJSON);
5906
+ return !gd.includes(this.options.compatibilityJSON);
5910
5907
  }
5911
5908
  }
5912
5909
  function Ei(t, e, n) {
5913
- 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);
5910
+ let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, r = ld(t, e, n);
5914
5911
  return !r && a && typeof n == "string" && (r = gn(t, n, i), r === void 0 && (r = gn(e, n, i))), r;
5915
5912
  }
5916
- class bd {
5913
+ class Sd {
5917
5914
  constructor() {
5918
5915
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5919
5916
  this.logger = ie.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((n) => n), this.init(e);
@@ -5924,7 +5921,7 @@ class bd {
5924
5921
  escapeValue: !0
5925
5922
  });
5926
5923
  const n = e.interpolation;
5927
- 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();
5924
+ this.escape = n.escape !== void 0 ? n.escape : dd, this.escapeValue = n.escapeValue !== void 0 ? n.escapeValue : !0, this.useRawValueToEscape = n.useRawValueToEscape !== void 0 ? n.useRawValueToEscape : !1, this.prefix = n.prefix ? Fe(n.prefix) : n.prefixEscaped || "{{", this.suffix = n.suffix ? Fe(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 ? Fe(n.nestingPrefix) : n.nestingPrefixEscaped || Fe("$t("), this.nestingSuffix = n.nestingSuffix ? Fe(n.nestingSuffix) : n.nestingSuffixEscaped || Fe(")"), 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();
5928
5925
  }
5929
5926
  reset() {
5930
5927
  this.options && this.init(this.options);
@@ -6026,7 +6023,7 @@ class bd {
6026
6023
  return e;
6027
6024
  }
6028
6025
  }
6029
- function Sd(t) {
6026
+ function _d(t) {
6030
6027
  let e = t.toLowerCase().trim();
6031
6028
  const n = {};
6032
6029
  if (t.indexOf("(") > -1) {
@@ -6045,7 +6042,7 @@ function Sd(t) {
6045
6042
  formatOptions: n
6046
6043
  };
6047
6044
  }
6048
- function Ee(t) {
6045
+ function Ae(t) {
6049
6046
  const e = {};
6050
6047
  return function(i, a, r) {
6051
6048
  const s = a + JSON.stringify(r);
@@ -6053,36 +6050,36 @@ function Ee(t) {
6053
6050
  return o || (o = t(xt(a), r), e[s] = o), o(i);
6054
6051
  };
6055
6052
  }
6056
- class _d {
6053
+ class Nd {
6057
6054
  constructor() {
6058
6055
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6059
6056
  this.logger = ie.create("formatter"), this.options = e, this.formats = {
6060
- number: Ee((n, i) => {
6057
+ number: Ae((n, i) => {
6061
6058
  const a = new Intl.NumberFormat(n, {
6062
6059
  ...i
6063
6060
  });
6064
6061
  return (r) => a.format(r);
6065
6062
  }),
6066
- currency: Ee((n, i) => {
6063
+ currency: Ae((n, i) => {
6067
6064
  const a = new Intl.NumberFormat(n, {
6068
6065
  ...i,
6069
6066
  style: "currency"
6070
6067
  });
6071
6068
  return (r) => a.format(r);
6072
6069
  }),
6073
- datetime: Ee((n, i) => {
6070
+ datetime: Ae((n, i) => {
6074
6071
  const a = new Intl.DateTimeFormat(n, {
6075
6072
  ...i
6076
6073
  });
6077
6074
  return (r) => a.format(r);
6078
6075
  }),
6079
- relativetime: Ee((n, i) => {
6076
+ relativetime: Ae((n, i) => {
6080
6077
  const a = new Intl.RelativeTimeFormat(n, {
6081
6078
  ...i
6082
6079
  });
6083
6080
  return (r) => a.format(r, i.range || "day");
6084
6081
  }),
6085
- list: Ee((n, i) => {
6082
+ list: Ae((n, i) => {
6086
6083
  const a = new Intl.ListFormat(n, {
6087
6084
  ...i
6088
6085
  });
@@ -6100,7 +6097,7 @@ class _d {
6100
6097
  this.formats[e.toLowerCase().trim()] = n;
6101
6098
  }
6102
6099
  addCached(e, n) {
6103
- this.formats[e.toLowerCase().trim()] = Ee(n);
6100
+ this.formats[e.toLowerCase().trim()] = Ae(n);
6104
6101
  }
6105
6102
  format(e, n, i) {
6106
6103
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
@@ -6108,7 +6105,7 @@ class _d {
6108
6105
  const {
6109
6106
  formatName: u,
6110
6107
  formatOptions: d
6111
- } = Sd(l);
6108
+ } = _d(l);
6112
6109
  if (this.formats[u]) {
6113
6110
  let f = o;
6114
6111
  try {
@@ -6128,10 +6125,10 @@ class _d {
6128
6125
  }, e);
6129
6126
  }
6130
6127
  }
6131
- function Nd(t, e) {
6128
+ function Od(t, e) {
6132
6129
  t.pending[e] !== void 0 && (delete t.pending[e], t.pendingCount--);
6133
6130
  }
6134
- class Od extends Bt {
6131
+ class wd extends Bt {
6135
6132
  constructor(e, n, i) {
6136
6133
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
6137
6134
  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);
@@ -6162,7 +6159,7 @@ class Od extends Bt {
6162
6159
  n && this.emit("failedLoading", r, s, n), i && this.store.addResourceBundle(r, s, i), this.state[e] = n ? -1 : 2;
6163
6160
  const o = {};
6164
6161
  this.queue.forEach((l) => {
6165
- sd(l.loaded, [r], s), Nd(l, e), n && l.errors.push(n), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((u) => {
6162
+ od(l.loaded, [r], s), Od(l, e), n && l.errors.push(n), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((u) => {
6166
6163
  o[u] || (o[u] = {});
6167
6164
  const d = l.loaded[u];
6168
6165
  d.length && d.forEach((f) => {
@@ -6329,7 +6326,7 @@ function xi(t) {
6329
6326
  }
6330
6327
  function ft() {
6331
6328
  }
6332
- function wd(t) {
6329
+ function Fd(t) {
6333
6330
  Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach((n) => {
6334
6331
  typeof t[n] == "function" && (t[n] = t[n].bind(t));
6335
6332
  });
@@ -6339,7 +6336,7 @@ class tt extends Bt {
6339
6336
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
6340
6337
  if (super(), this.options = xi(e), this.services = {}, this.logger = ie, this.modules = {
6341
6338
  external: []
6342
- }, wd(this), n && !this.isInitialized && !e.isClone) {
6339
+ }, Fd(this), n && !this.isInitialized && !e.isClone) {
6343
6340
  if (!this.options.initImmediate)
6344
6341
  return this.init(e, n), this;
6345
6342
  setTimeout(() => {
@@ -6366,17 +6363,17 @@ class tt extends Bt {
6366
6363
  if (!this.options.isClone) {
6367
6364
  this.modules.logger ? ie.init(r(this.modules.logger), this.options) : ie.init(null, this.options);
6368
6365
  let d;
6369
- this.modules.formatter ? d = this.modules.formatter : typeof Intl != "undefined" && (d = _d);
6366
+ this.modules.formatter ? d = this.modules.formatter : typeof Intl != "undefined" && (d = Nd);
6370
6367
  const f = new Fi(this.options);
6371
6368
  this.store = new Oi(this.options.resources, this.options);
6372
6369
  const c = this.services;
6373
- c.logger = ie, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new yd(f, {
6370
+ c.logger = ie, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new bd(f, {
6374
6371
  prepend: this.options.pluralSeparator,
6375
6372
  compatibilityJSON: this.options.compatibilityJSON,
6376
6373
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
6377
- }), 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 = {
6374
+ }), 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 Sd(this.options), c.utils = {
6378
6375
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
6379
- }, c.backendConnector = new Od(r(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(N) {
6376
+ }, c.backendConnector = new wd(r(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(N) {
6380
6377
  for (var O = arguments.length, g = new Array(O > 1 ? O - 1 : 0), S = 1; S < O; S++)
6381
6378
  g[S - 1] = arguments[S];
6382
6379
  e.emit(N, ...g);
@@ -6598,7 +6595,7 @@ K.setDefaultNamespace;
6598
6595
  K.hasLoadedNamespace;
6599
6596
  K.loadNamespaces;
6600
6597
  K.loadLanguages;
6601
- const Fd = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ad = {
6598
+ const Ad = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ed = {
6602
6599
  "&amp;": "&",
6603
6600
  "&#38;": "&",
6604
6601
  "&lt;": "<",
@@ -6619,7 +6616,7 @@ const Fd = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
6619
6616
  "&#8230;": "…",
6620
6617
  "&#x2F;": "/",
6621
6618
  "&#47;": "/"
6622
- }, Ed = (t) => Ad[t], Cd = (t) => t.replace(Fd, Ed);
6619
+ }, Cd = (t) => Ed[t], xd = (t) => t.replace(Ad, Cd);
6623
6620
  let Ri = {
6624
6621
  bindI18n: "languageChanged",
6625
6622
  bindI18nStore: "",
@@ -6628,23 +6625,23 @@ let Ri = {
6628
6625
  transWrapTextNodes: "",
6629
6626
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
6630
6627
  useSuspense: !0,
6631
- unescape: Cd
6628
+ unescape: xd
6632
6629
  };
6633
- function xd() {
6630
+ function Rd() {
6634
6631
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6635
6632
  Ri = {
6636
6633
  ...Ri,
6637
6634
  ...t
6638
6635
  };
6639
6636
  }
6640
- const Rd = {
6637
+ const Td = {
6641
6638
  type: "3rdParty",
6642
6639
  init(t) {
6643
- xd(t.options.react);
6640
+ Rd(t.options.react);
6644
6641
  }
6645
6642
  };
6646
- nd(K, Rd);
6647
- const Yd = (t) => ju(K, t);
6643
+ id(K, Td);
6644
+ const Yd = (t) => Uu(K, t);
6648
6645
  let In = /* @__PURE__ */ new Map();
6649
6646
  const kn = Ti(In), ec = ({ children: t, stores: e }) => {
6650
6647
  const n = yn(kn), i = Li(() => {
@@ -6661,30 +6658,30 @@ function nc(t) {
6661
6658
  }
6662
6659
  export {
6663
6660
  $a as AccountContractStatusTypes,
6664
- Zo as AccountContractTypes,
6665
- Ud as AccountInvalidError,
6666
- Yo as AccountPlanDescriptionTypes,
6667
- nl as AccountRestRepository,
6668
- il as AccountService,
6669
- Xo as AccountSubscriptionTypes,
6661
+ Xo as AccountContractTypes,
6662
+ Md as AccountInvalidError,
6663
+ el as AccountPlanDescriptionTypes,
6664
+ il as AccountRestRepository,
6665
+ al as AccountService,
6666
+ Yo as AccountSubscriptionTypes,
6670
6667
  Ma as AccountTypes,
6671
6668
  Pn as AddToCartActionTypes,
6672
- Wo as AggregateRoot,
6669
+ Jo as AggregateRoot,
6673
6670
  Jd as ApiGraphqlTypes,
6674
6671
  Qd as BaseMobxStore,
6675
6672
  _o as BroadcastChannelEventBus,
6676
6673
  $t as DomainError,
6677
6674
  Wd as EventBusWildcards,
6678
- Yl as EventNames,
6679
- el as GlobalPageSectionTypes,
6675
+ eu as EventNames,
6676
+ tl as GlobalPageSectionTypes,
6680
6677
  Po as InvalidNizzaGlobalObjectError,
6681
- eu as LanguageTypes,
6678
+ tu as LanguageTypes,
6682
6679
  Fo as Logger,
6683
6680
  Tn as NizzaAccount,
6684
- Xl as NizzaEventStatus,
6685
- nu as NizzaProductRequestOriginTypes,
6681
+ Yl as NizzaEventStatus,
6682
+ iu as NizzaProductRequestOriginTypes,
6686
6683
  mn as NizzaStore,
6687
- tu as NizzaVariationTypes,
6684
+ nu as NizzaVariationTypes,
6688
6685
  Do as ResourceNotFoundError,
6689
6686
  ec as StoreProvider,
6690
6687
  Lo as UnexpectedError,
@@ -6693,30 +6690,30 @@ export {
6693
6690
  Ba as accountService,
6694
6691
  vi as addToCartMessages,
6695
6692
  zd as apiCall,
6696
- Iu as buildLanguageTranslations,
6697
- Vu as buildTranslations,
6698
- Pu as createActionFactory,
6699
- Jo as createAggregateRoot,
6693
+ Vu as buildLanguageTranslations,
6694
+ ju as buildTranslations,
6695
+ Iu as createActionFactory,
6696
+ Zo as createAggregateRoot,
6700
6697
  Bd as createLazyLogger,
6701
6698
  Zd as createStore,
6702
6699
  Ua as customFetch,
6703
6700
  Kd as downloadFile,
6704
- Vd as fileOrigin,
6705
- Zl as getAccount,
6701
+ jd as fileOrigin,
6702
+ Xl as getAccount,
6706
6703
  Gd as getClientTimeZone,
6707
- Oe as getNizza,
6704
+ Ue as getNizza,
6708
6705
  nc as getStore,
6709
- Jl as globalAtomStore,
6710
- nd as i18Init,
6711
- qo as jsDownload,
6706
+ Zl as globalAtomStore,
6707
+ id as i18Init,
6708
+ Wo as jsDownload,
6712
6709
  Yd as registerTranslations,
6713
- ju as registerTranslationsOf,
6710
+ Uu as registerTranslationsOf,
6714
6711
  Xd as runAddToCartHooks,
6715
- Id as searchParams,
6712
+ Vd as searchParams,
6716
6713
  Oo as shortId,
6717
6714
  qd as useAccount,
6718
- $d as useNZ,
6719
- Ho as useNizza,
6715
+ Ho as useNZ,
6716
+ qo as useNizza,
6720
6717
  tc as useStore,
6721
- Md as validateRequiredProps
6718
+ $d as validateRequiredProps
6722
6719
  };