@nizza/core 0.6.3-beta.0 → 0.6.3

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
@@ -4,8 +4,8 @@ var w = (t, e, n) => $l(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  import Le, { createContext as xa, useReducer as Ul, useEffect as Dn, useDebugValue as Ml, useCallback as gt, useContext as Sr, useState as $e, forwardRef as is, memo as rs, useMemo as Ca } from "react";
5
5
  import Vl, { unstable_batchedUpdates as jl } from "react-dom";
6
6
  import { jsx as Bl } from "react/jsx-runtime";
7
- import { useQuery as ql } from "@tanstack/react-query";
8
- function Hl(t, e) {
7
+ import { useQuery as Hl } from "@tanstack/react-query";
8
+ function ql(t, e) {
9
9
  for (var n = 0; n < e.length; n++) {
10
10
  const i = e[n];
11
11
  if (typeof i != "string" && !Array.isArray(i)) {
@@ -21,7 +21,7 @@ function Hl(t, e) {
21
21
  }
22
22
  return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
23
23
  }
24
- const he = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east-1", PROD: !0, SSR: !1, STAGE: "dev" };
24
+ const he = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east-1", PROD: !0, SSR: !1, STAGE: "prod" };
25
25
  let zl = 0;
26
26
  function Zn(t, e) {
27
27
  const n = `atom${++zl}`, i = {
@@ -146,13 +146,13 @@ const ss = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ni = (t) => "in
146
146
  let E = !0;
147
147
  const S = (x) => {
148
148
  if (ss(p, x)) {
149
- const q = t(x, h);
150
- if (!as(q))
149
+ const H = t(x, h);
150
+ if (!as(H))
151
151
  if (Ni(x))
152
- n(x, q, x.init);
152
+ n(x, H, x.init);
153
153
  else
154
154
  throw new Error("no atom init");
155
- return pn(q);
155
+ return pn(H);
156
156
  }
157
157
  const $ = i(
158
158
  m,
@@ -163,8 +163,8 @@ const ss = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ni = (t) => "in
163
163
  if (E)
164
164
  os(m, p, h, x, $);
165
165
  else {
166
- const q = ut();
167
- os(q, p, h, x, $), u(q, p, h), Ge(q);
166
+ const H = ut();
167
+ os(H, p, h, x, $), u(H, p, h), Ge(H);
168
168
  }
169
169
  return pn($);
170
170
  };
@@ -216,22 +216,22 @@ const ss = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ni = (t) => "in
216
216
  const b = [], E = /* @__PURE__ */ new Set(), S = (R, x) => {
217
217
  if (!E.has(R)) {
218
218
  E.add(R);
219
- for (const [$, q] of s(m, R, x))
220
- R !== $ && S($, q);
219
+ for (const [$, H] of s(m, R, x))
220
+ R !== $ && S($, H);
221
221
  b.push([R, x, x.n]);
222
222
  }
223
223
  };
224
224
  S(p, h);
225
225
  const N = /* @__PURE__ */ new Set([p]), O = (R) => E.has(R);
226
226
  for (let R = b.length - 1; R >= 0; --R) {
227
- const [x, $, q] = b[R];
227
+ const [x, $, H] = b[R];
228
228
  let F = !1;
229
- for (const H of $.d.keys())
230
- if (H !== x && N.has(H)) {
229
+ for (const q of $.d.keys())
230
+ if (q !== x && N.has(q)) {
231
231
  F = !0;
232
232
  break;
233
233
  }
234
- F && (i(m, x, $, O), u(m, x, $), q !== $.n && (Ai(m, x, $), N.add(x))), E.delete(x);
234
+ F && (i(m, x, $, O), u(m, x, $), H !== $.n && (Ai(m, x, $), N.add(x))), E.delete(x);
235
235
  }
236
236
  }, o = (m, p, h, ...b) => {
237
237
  const E = (O) => pn(i(m, O, t(O, h))), S = (O, ...R) => {
@@ -240,8 +240,8 @@ const ss = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ni = (t) => "in
240
240
  if (ss(p, O)) {
241
241
  if (!Ni(O))
242
242
  throw new Error("atom not writable");
243
- const q = "v" in x, F = x.v, H = R[0];
244
- n(O, x, H), u(m, O, x), (!q || !Object.is(F, x.v)) && (Ai(m, O, x), a(m, O, x));
243
+ const H = "v" in x, F = x.v, q = R[0];
244
+ n(O, x, q), u(m, O, x), (!H || !Object.is(F, x.v)) && (Ai(m, O, x), a(m, O, x));
245
245
  } else
246
246
  $ = o(m, O, x, ...R);
247
247
  return Ge(m), $;
@@ -345,7 +345,7 @@ const ss = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Ni = (t) => "in
345
345
  let Ft;
346
346
  const tu = () => (Ft || (Ft = Da(), (he ? "production" : void 0) !== "production" && (globalThis.__JOTAI_DEFAULT_STORE__ || (globalThis.__JOTAI_DEFAULT_STORE__ = Ft), globalThis.__JOTAI_DEFAULT_STORE__ !== Ft && console.warn(
347
347
  "Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"
348
- ))), Ft), nu = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east-1", PROD: !0, SSR: !1, STAGE: "dev" }, iu = xa(
348
+ ))), Ft), nu = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east-1", PROD: !0, SSR: !1, STAGE: "prod" }, iu = xa(
349
349
  void 0
350
350
  ), Ia = (t) => Sr(iu) || tu(), ru = (t) => typeof (t == null ? void 0 : t.then) == "function", su = Le.use || ((t) => {
351
351
  if (t.status === "pending")
@@ -398,7 +398,7 @@ function Oi(t, e) {
398
398
  }
399
399
  const La = Zn(null);
400
400
  La.debugLabel = "accountAtom";
401
- const au = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east-1", PROD: !0, SSR: !1, STAGE: "dev" }, {
401
+ const au = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east-1", PROD: !0, SSR: !1, STAGE: "prod" }, {
402
402
  NZ_AWS_REGION: ou,
403
403
  NZ_BACKOFFICE_BACK_URL: lu,
404
404
  NZ_CORE_SERVICES_GRAPHQL_URL: uu,
@@ -407,24 +407,24 @@ const au = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east
407
407
  AWS: {
408
408
  region: ou,
409
409
  cognito: {
410
- userPoolId: "us-east-1_knSlGEmJ0",
411
- userPoolWebClientId: "3hmbfhf7nl3kq20qr9i5lihf1p"
410
+ userPoolId: "us-east-1_EZ7wuZ4ig",
411
+ userPoolWebClientId: "2jok7cst8ebf6ppscrhji57gvr"
412
412
  }
413
413
  },
414
414
  // Back services
415
415
  apiUrls: {
416
- restV1: lu || "https://pabprg32bj.execute-api.us-east-1.amazonaws.com",
417
- restV2: cu || "https://core-services-dev.nizza.com/api",
418
- graphql: uu || "https://core-services-dev.nizza.com/graphql",
419
- corsProxy: "https://1qmd8jteh1.execute-api.us-east-1.amazonaws.com"
416
+ restV1: lu || "https://b133h34s56.execute-api.us-east-1.amazonaws.com",
417
+ restV2: cu || "https://core-services-prod.nizza.com/api",
418
+ graphql: uu || "https://core-services-prod.nizza.com/graphql",
419
+ corsProxy: "https://3hvqfl2xcg.execute-api.us-east-1.amazonaws.com"
420
420
  },
421
421
  publicUrls: {
422
422
  // Public app url
423
- platformSite: "https://platformdev.nizza.com",
423
+ platformSite: "https://platform.nizza.com",
424
424
  // Nizza CDN
425
425
  nizzaCdn: "https://cdn.nizza.com",
426
426
  // Bundle
427
- bundleSite: "https://bundledev.nizza.com",
427
+ bundleSite: "https://bundle.nizza.com",
428
428
  // WSS IVS CHAT
429
429
  wssIVSChat: "wss://edge.ivschat.us-east-1.amazonaws.com"
430
430
  }
@@ -550,7 +550,7 @@ var ii = typeof Reflect != "undefined" && Reflect.ownKeys ? Reflect.ownKeys : Ba
550
550
  /* istanbul ignore next */
551
551
  Object.getOwnPropertyNames
552
552
  );
553
- function qa(t) {
553
+ function Ha(t) {
554
554
  return t === null ? null : typeof t == "object" ? "" + t : t;
555
555
  }
556
556
  function Ce(t, e) {
@@ -611,7 +611,7 @@ function Be() {
611
611
  return t;
612
612
  }, Be.apply(null, arguments);
613
613
  }
614
- function Ha(t, e) {
614
+ function qa(t, e) {
615
615
  t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Ji(t, e);
616
616
  }
617
617
  function Ji(t, e) {
@@ -658,7 +658,7 @@ function Su(t) {
658
658
  function sn(t) {
659
659
  return typeof t == "object" && typeof t.kind == "string";
660
660
  }
661
- var I = /* @__PURE__ */ Symbol("mobx administration"), He = /* @__PURE__ */ function() {
661
+ var I = /* @__PURE__ */ Symbol("mobx administration"), qe = /* @__PURE__ */ function() {
662
662
  function t(n) {
663
663
  n === void 0 && (n = "Atom"), this.name_ = void 0, this.flags_ = 0, this.observers_ = /* @__PURE__ */ new Set(), this.lastAccessedBy_ = 0, this.lowestObserverState_ = j.NOT_TRACKING_, this.onBOL = void 0, this.onBUOL = void 0, this.name_ = n;
664
664
  }
@@ -703,13 +703,13 @@ var I = /* @__PURE__ */ Symbol("mobx administration"), He = /* @__PURE__ */ func
703
703
  }
704
704
  }]);
705
705
  }();
706
- He.isBeingObservedMask_ = 1;
707
- He.isPendingUnobservationMask_ = 2;
708
- He.diffValueMask_ = 4;
709
- var wr = /* @__PURE__ */ st("Atom", He);
706
+ qe.isBeingObservedMask_ = 1;
707
+ qe.isPendingUnobservationMask_ = 2;
708
+ qe.diffValueMask_ = 4;
709
+ var wr = /* @__PURE__ */ st("Atom", qe);
710
710
  function za(t, e, n) {
711
711
  e === void 0 && (e = vt), n === void 0 && (n = vt);
712
- var i = new He(t);
712
+ var i = new qe(t);
713
713
  return e !== vt && Ic(i, e), n !== vt && po(i, n), i;
714
714
  }
715
715
  function Nu(t, e) {
@@ -802,7 +802,7 @@ function Fu(t, e, n, i) {
802
802
  function Du(t, e) {
803
803
  var n = e.kind, i = e.name, r = e.addInitializer, s = this, a = function(u) {
804
804
  var c, d, f, v;
805
- return qe((c = (d = s.options_) == null ? void 0 : d.name) != null ? c : i.toString(), u, (f = (v = s.options_) == null ? void 0 : v.autoAction) != null ? f : !1);
805
+ return He((c = (d = s.options_) == null ? void 0 : d.name) != null ? c : i.toString(), u, (f = (v = s.options_) == null ? void 0 : v.autoAction) != null ? f : !1);
806
806
  };
807
807
  if (n == "field") {
808
808
  r(function() {
@@ -832,7 +832,7 @@ function Ga(t, e, n, i, r) {
832
832
  f = f.bind((v = t.proxy_) != null ? v : t.target_);
833
833
  }
834
834
  return {
835
- value: qe(
835
+ value: He(
836
836
  (a = (o = e.options_) == null ? void 0 : o.name) != null ? a : n.toString(),
837
837
  f,
838
838
  (l = (u = e.options_) == null ? void 0 : u.autoAction) != null ? l : !1,
@@ -939,15 +939,15 @@ function si(t, e) {
939
939
  return {
940
940
  annotationType_: t,
941
941
  options_: e,
942
- make_: qu,
943
- extend_: Hu,
942
+ make_: Hu,
943
+ extend_: qu,
944
944
  decorate_20223_: zu
945
945
  };
946
946
  }
947
- function qu(t, e, n) {
947
+ function Hu(t, e, n) {
948
948
  return this.extend_(t, e, n, !1) === null ? 0 : 1;
949
949
  }
950
- function Hu(t, e, n, i) {
950
+ function qu(t, e, n, i) {
951
951
  var r, s;
952
952
  return Gu(t, this), t.defineObservableProperty_(e, n.value, (r = (s = this.options_) == null ? void 0 : s.enhancer) != null ? r : et, i);
953
953
  }
@@ -988,7 +988,7 @@ function Ju(t, e, n, i) {
988
988
  if (n.get)
989
989
  return Ue.make_(t, e, n, i);
990
990
  if (n.set) {
991
- var a = qe(e.toString(), n.set);
991
+ var a = He(e.toString(), n.set);
992
992
  return i === t.target_ ? t.defineProperty_(e, {
993
993
  configurable: T.safeDescriptors ? t.isPlainObject_ : !0,
994
994
  set: a
@@ -1020,7 +1020,7 @@ function Yu(t, e, n, i) {
1020
1020
  if (n.set)
1021
1021
  return t.defineProperty_(e, {
1022
1022
  configurable: T.safeDescriptors ? t.isPlainObject_ : !0,
1023
- set: qe(e.toString(), n.set)
1023
+ set: He(e.toString(), n.set)
1024
1024
  }, i);
1025
1025
  if (typeof n.value == "function" && (r = this.options_) != null && r.autoBind) {
1026
1026
  var a;
@@ -1117,7 +1117,7 @@ var cs, ds, Pn = 0, cc = 1, dc = (cs = (ds = /* @__PURE__ */ In(function() {
1117
1117
  writable: !1,
1118
1118
  enumerable: !1
1119
1119
  };
1120
- function qe(t, e, n, i) {
1120
+ function He(t, e, n, i) {
1121
1121
  n === void 0 && (n = !1);
1122
1122
  function r() {
1123
1123
  return fc(t, n, e, i || this, arguments);
@@ -1176,7 +1176,7 @@ var Qe = /* @__PURE__ */ function(t) {
1176
1176
  var l;
1177
1177
  return s === void 0 && (s = "ObservableValue"), o === void 0 && (o = Ln.default), l = t.call(this, s) || this, l.enhancer = void 0, l.name_ = void 0, l.equals = void 0, l.hasUnreportedChange_ = !1, l.interceptors_ = void 0, l.changeListeners_ = void 0, l.value_ = void 0, l.dehancer = void 0, l.enhancer = r, l.name_ = s, l.equals = o, l.value_ = r(i, void 0, s), l;
1178
1178
  }
1179
- Ha(e, t);
1179
+ qa(e, t);
1180
1180
  var n = e.prototype;
1181
1181
  return n.dehanceValue = function(r) {
1182
1182
  return this.dehancer !== void 0 ? this.dehancer(r) : r;
@@ -1222,13 +1222,13 @@ var Qe = /* @__PURE__ */ function(t) {
1222
1222
  }, n.toString = function() {
1223
1223
  return this.name_ + "[" + this.value_ + "]";
1224
1224
  }, n.valueOf = function() {
1225
- return qa(this.get());
1225
+ return Ha(this.get());
1226
1226
  }, n[Symbol.toPrimitive] = function() {
1227
1227
  return this.valueOf();
1228
1228
  }, e;
1229
- }(He), ke = /* @__PURE__ */ function() {
1229
+ }(qe), ke = /* @__PURE__ */ function() {
1230
1230
  function t(n) {
1231
- this.dependenciesState_ = j.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.observers_ = /* @__PURE__ */ new Set(), this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = j.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new Un(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.flags_ = 0, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = $n.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 || V(31), this.derivation = n.get, this.name_ = n.name || "ComputedValue", n.set && (this.setter_ = qe("ComputedValue-setter", n.set)), this.equals_ = n.equals || (n.compareStructural || n.struct ? Ln.structural : Ln.default), this.scope_ = n.context, this.requiresReaction_ = n.requiresReaction, this.keepAlive_ = !!n.keepAlive;
1231
+ this.dependenciesState_ = j.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.observers_ = /* @__PURE__ */ new Set(), this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = j.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new Un(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.flags_ = 0, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = $n.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 || V(31), this.derivation = n.get, this.name_ = n.name || "ComputedValue", n.set && (this.setter_ = He("ComputedValue-setter", n.set)), this.equals_ = n.equals || (n.compareStructural || n.struct ? Ln.structural : Ln.default), this.scope_ = n.context, this.requiresReaction_ = n.requiresReaction, this.keepAlive_ = !!n.keepAlive;
1232
1232
  }
1233
1233
  var e = t.prototype;
1234
1234
  return e.onBecomeStale_ = function() {
@@ -1306,7 +1306,7 @@ var Qe = /* @__PURE__ */ function(t) {
1306
1306
  }, e.toString = function() {
1307
1307
  return this.name_ + "[" + this.derivation.toString() + "]";
1308
1308
  }, e.valueOf = function() {
1309
- return qa(this.get());
1309
+ return Ha(this.get());
1310
1310
  }, e[Symbol.toPrimitive] = function() {
1311
1311
  return this.valueOf();
1312
1312
  }, Et(t, [{
@@ -1665,9 +1665,9 @@ var uo = "action", Ac = "action.bound", co = "autoAction", Oc = "autoAction.boun
1665
1665
  function fo(t) {
1666
1666
  var e = function(i, r) {
1667
1667
  if (ve(i))
1668
- return qe(i.name || wc, i, t);
1668
+ return He(i.name || wc, i, t);
1669
1669
  if (ve(r))
1670
- return qe(i, r, t);
1670
+ return He(i, r, t);
1671
1671
  if (sn(r))
1672
1672
  return (t ? nr : tr).decorate_20223_(i, r);
1673
1673
  if (Ze(r))
@@ -1834,11 +1834,11 @@ function hs(t) {
1834
1834
  function Yt(t) {
1835
1835
  return (t == null ? void 0 : t.isMobXFlow) === !0;
1836
1836
  }
1837
- function qc(t, e) {
1837
+ function Hc(t, e) {
1838
1838
  return t ? di(t) || !!t[I] || wr(t) || Mn(t) || li(t) : !1;
1839
1839
  }
1840
1840
  function ko(t) {
1841
- return qc(t);
1841
+ return Hc(t);
1842
1842
  }
1843
1843
  function xe(t, e) {
1844
1844
  e === void 0 && (e = void 0), ue();
@@ -1848,7 +1848,7 @@ function xe(t, e) {
1848
1848
  ce();
1849
1849
  }
1850
1850
  }
1851
- function Hc(t, e, n) {
1851
+ function qc(t, e, n) {
1852
1852
  return arguments.length === 1 || e && typeof e == "object" ? zc(t, e) : yo(t, e, {});
1853
1853
  }
1854
1854
  function yo(t, e, n) {
@@ -1864,7 +1864,7 @@ function yo(t, e, n) {
1864
1864
  }, n.timeout);
1865
1865
  }
1866
1866
  n.name = "When";
1867
- var s = qe("When-effect", e), a = ho(function(o) {
1867
+ var s = He("When-effect", e), a = ho(function(o) {
1868
1868
  var l = mc(!1, t);
1869
1869
  l && (o.dispose(), i && clearTimeout(i), s());
1870
1870
  }, n);
@@ -1987,7 +1987,7 @@ var ps = "splice", Oe = "update", Wc = 1e4, Jc = {
1987
1987
  }
1988
1988
  }, Cr = /* @__PURE__ */ function() {
1989
1989
  function t(n, i, r, s) {
1990
- n === void 0 && (n = "ObservableArray"), this.owned_ = void 0, this.legacyMode_ = void 0, this.atom_ = void 0, this.values_ = [], this.interceptors_ = void 0, this.changeListeners_ = void 0, this.enhancer_ = void 0, this.dehancer = void 0, this.proxy_ = void 0, this.lastKnownLength_ = 0, this.owned_ = r, this.legacyMode_ = s, this.atom_ = new He(n), this.enhancer_ = function(a, o) {
1990
+ n === void 0 && (n = "ObservableArray"), this.owned_ = void 0, this.legacyMode_ = void 0, this.atom_ = void 0, this.values_ = [], this.interceptors_ = void 0, this.changeListeners_ = void 0, this.enhancer_ = void 0, this.dehancer = void 0, this.proxy_ = void 0, this.lastKnownLength_ = 0, this.owned_ = r, this.legacyMode_ = s, this.atom_ = new qe(n), this.enhancer_ = function(a, o) {
1991
1991
  return i(a, o, "ObservableArray[..]");
1992
1992
  };
1993
1993
  }
@@ -2633,7 +2633,7 @@ var ed = {}, No = /* @__PURE__ */ function() {
2633
2633
  }]);
2634
2634
  }(), Ot = /* @__PURE__ */ st("ObservableSet", No), ms = /* @__PURE__ */ Object.create(null), gs = "remove", Eo = /* @__PURE__ */ function() {
2635
2635
  function t(n, i, r, s) {
2636
- i === void 0 && (i = /* @__PURE__ */ new Map()), s === void 0 && (s = Wu), 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_ = r, this.defaultAnnotation_ = s, this.keysAtom_ = new He("ObservableObject.keys"), this.isPlainObject_ = je(this.target_);
2636
+ i === void 0 && (i = /* @__PURE__ */ new Map()), s === void 0 && (s = Wu), 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_ = r, this.defaultAnnotation_ = s, this.keysAtom_ = new qe("ObservableObject.keys"), this.isPlainObject_ = je(this.target_);
2637
2637
  }
2638
2638
  var e = t.prototype;
2639
2639
  return e.getObservablePropValue_ = function(i) {
@@ -2917,7 +2917,7 @@ var Rr = /* @__PURE__ */ function(t) {
2917
2917
  l.proxy_ = o, ja(o, I, l), i && i.length && o.spliceWithArray(0, 0, i), id && Object.defineProperty(o, "0", nd);
2918
2918
  }), o;
2919
2919
  }
2920
- Ha(e, t);
2920
+ qa(e, t);
2921
2921
  var n = e.prototype;
2922
2922
  return n.concat = function() {
2923
2923
  this[I].atom_.reportObserved();
@@ -3353,15 +3353,15 @@ var xo = { exports: {} };
3353
3353
  var h = this, b, E, S, N = "loglevel";
3354
3354
  typeof m == "string" ? N += ":" + m : typeof m == "symbol" && (N = void 0);
3355
3355
  function O(F) {
3356
- var H = (r[F] || "silent").toUpperCase();
3356
+ var q = (r[F] || "silent").toUpperCase();
3357
3357
  if (!(typeof window === n || !N)) {
3358
3358
  try {
3359
- window.localStorage[N] = H;
3359
+ window.localStorage[N] = q;
3360
3360
  return;
3361
3361
  } catch {
3362
3362
  }
3363
3363
  try {
3364
- window.document.cookie = encodeURIComponent(N) + "=" + H + ";";
3364
+ window.document.cookie = encodeURIComponent(N) + "=" + q + ";";
3365
3365
  } catch {
3366
3366
  }
3367
3367
  }
@@ -3375,9 +3375,9 @@ var xo = { exports: {} };
3375
3375
  }
3376
3376
  if (typeof F === n)
3377
3377
  try {
3378
- var H = window.document.cookie, ne = encodeURIComponent(N), k = H.indexOf(ne + "=");
3378
+ var q = window.document.cookie, ne = encodeURIComponent(N), k = q.indexOf(ne + "=");
3379
3379
  k !== -1 && (F = /^([^;]+)/.exec(
3380
- H.slice(k + ne.length + 1)
3380
+ q.slice(k + ne.length + 1)
3381
3381
  )[1]);
3382
3382
  } catch {
3383
3383
  }
@@ -3397,9 +3397,9 @@ var xo = { exports: {} };
3397
3397
  }
3398
3398
  }
3399
3399
  function $(F) {
3400
- var H = F;
3401
- if (typeof H == "string" && h.levels[H.toUpperCase()] !== void 0 && (H = h.levels[H.toUpperCase()]), typeof H == "number" && H >= 0 && H <= h.levels.SILENT)
3402
- return H;
3400
+ var q = F;
3401
+ if (typeof q == "string" && h.levels[q.toUpperCase()] !== void 0 && (q = h.levels[q.toUpperCase()]), typeof q == "number" && q >= 0 && q <= h.levels.SILENT)
3402
+ return q;
3403
3403
  throw new TypeError("log.setLevel() called with invalid level: " + F);
3404
3404
  }
3405
3405
  h.name = m, h.levels = {
@@ -3411,8 +3411,8 @@ var xo = { exports: {} };
3411
3411
  SILENT: 5
3412
3412
  }, h.methodFactory = p || f, h.getLevel = function() {
3413
3413
  return S != null ? S : E != null ? E : b;
3414
- }, h.setLevel = function(F, H) {
3415
- return S = $(F), H !== !1 && O(S), c.call(h);
3414
+ }, h.setLevel = function(F, q) {
3415
+ return S = $(F), q !== !1 && O(S), c.call(h);
3416
3416
  }, h.setDefaultLevel = function(F) {
3417
3417
  E = $(F), R() || h.setLevel(F, !1);
3418
3418
  }, h.resetLevel = function() {
@@ -3428,8 +3428,8 @@ var xo = { exports: {} };
3428
3428
  }, b = $(
3429
3429
  a ? a.getLevel() : "WARN"
3430
3430
  );
3431
- var q = R();
3432
- q != null && (S = $(q)), c.call(h);
3431
+ var H = R();
3432
+ H != null && (S = $(H)), c.call(h);
3433
3433
  }
3434
3434
  a = new v(), a.getLogger = function(p) {
3435
3435
  if (typeof p != "symbol" && typeof p != "string" || p === "")
@@ -3483,13 +3483,13 @@ var Ro = { exports: {} };
3483
3483
  function m(p, h, b) {
3484
3484
  var E = f(p, h, b), S = s[b] || s[""], N = S.template.indexOf("%t") !== -1, O = S.template.indexOf("%l") !== -1, R = S.template.indexOf("%n") !== -1;
3485
3485
  return function() {
3486
- for (var x = "", $ = arguments.length, q = Array($), F = 0; F < $; F++)
3487
- q[F] = arguments[F];
3486
+ for (var x = "", $ = arguments.length, H = Array($), F = 0; F < $; F++)
3487
+ H[F] = arguments[F];
3488
3488
  if (v || !s[b]) {
3489
- var H = S.timestampFormatter(/* @__PURE__ */ new Date()), ne = S.levelFormatter(p), k = S.nameFormatter(b);
3490
- S.format ? x += S.format(ne, k, H) : (x += S.template, N && (x = x.replace(/%t/, H)), O && (x = x.replace(/%l/, ne)), R && (x = x.replace(/%n/, k))), q.length && typeof q[0] == "string" ? q[0] = x + " " + q[0] : q.unshift(x);
3489
+ var q = S.timestampFormatter(/* @__PURE__ */ new Date()), ne = S.levelFormatter(p), k = S.nameFormatter(b);
3490
+ S.format ? x += S.format(ne, k, q) : (x += S.template, N && (x = x.replace(/%t/, q)), O && (x = x.replace(/%l/, ne)), R && (x = x.replace(/%n/, k))), H.length && typeof H[0] == "string" ? H[0] = x + " " + H[0] : H.unshift(x);
3491
3491
  }
3492
- E.apply(void 0, q);
3492
+ E.apply(void 0, H);
3493
3493
  };
3494
3494
  }
3495
3495
  return s[v] || (c.methodFactory = m), d = d || {}, d.template && (d.format = void 0), s[v] = n({}, g, d), c.setLevel(c.getLevel()), r || c.warn(
@@ -3657,7 +3657,7 @@ w(fe, "version", "6"), w(fe, "_instance");
3657
3657
  let sr = fe;
3658
3658
  const Tt = (t) => {
3659
3659
  const e = sr.instance();
3660
- return Hc(
3660
+ return qc(
3661
3661
  () => !!e.account,
3662
3662
  () => t == null ? void 0 : t(e)
3663
3663
  ), e;
@@ -4063,11 +4063,11 @@ const { toString: Bd } = Object.prototype, { getPrototypeOf: Lr } = Object, fi =
4063
4063
  const n = Bd.call(e);
4064
4064
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
4065
4065
  })(/* @__PURE__ */ Object.create(null)), be = (t) => (t = t.toLowerCase(), (e) => fi(e) === t), hi = (t) => (e) => typeof e === t, { isArray: xt } = Array, Xt = hi("undefined");
4066
- function qd(t) {
4066
+ function Hd(t) {
4067
4067
  return t !== null && !Xt(t) && t.constructor !== null && !Xt(t.constructor) && se(t.constructor.isBuffer) && t.constructor.isBuffer(t);
4068
4068
  }
4069
4069
  const $o = be("ArrayBuffer");
4070
- function Hd(t) {
4070
+ function qd(t) {
4071
4071
  let e;
4072
4072
  return typeof ArrayBuffer != "undefined" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && $o(t.buffer), e;
4073
4073
  }
@@ -4221,19 +4221,19 @@ const Ef = (t) => {
4221
4221
  return i;
4222
4222
  };
4223
4223
  return n(t, 0);
4224
- }, Af = be("AsyncFunction"), Of = (t) => t && (pi(t) || se(t)) && se(t.then) && se(t.catch), qo = ((t, e) => t ? setImmediate : e ? ((n, i) => (We.addEventListener("message", ({ source: r, data: s }) => {
4224
+ }, Af = be("AsyncFunction"), Of = (t) => t && (pi(t) || se(t)) && se(t.then) && se(t.catch), Ho = ((t, e) => t ? setImmediate : e ? ((n, i) => (We.addEventListener("message", ({ source: r, data: s }) => {
4225
4225
  r === We && s === n && i.length && i.shift()();
4226
4226
  }, !1), (r) => {
4227
4227
  i.push(r), We.postMessage(n, "*");
4228
4228
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
4229
4229
  typeof setImmediate == "function",
4230
4230
  se(We.postMessage)
4231
- ), wf = typeof queueMicrotask != "undefined" ? queueMicrotask.bind(We) : typeof process != "undefined" && process.nextTick || qo, y = {
4231
+ ), wf = typeof queueMicrotask != "undefined" ? queueMicrotask.bind(We) : typeof process != "undefined" && process.nextTick || Ho, y = {
4232
4232
  isArray: xt,
4233
4233
  isArrayBuffer: $o,
4234
- isBuffer: qd,
4234
+ isBuffer: Hd,
4235
4235
  isFormData: Xd,
4236
- isArrayBufferView: Hd,
4236
+ isArrayBufferView: qd,
4237
4237
  isString: zd,
4238
4238
  isNumber: Uo,
4239
4239
  isBoolean: Gd,
@@ -4285,7 +4285,7 @@ const Ef = (t) => {
4285
4285
  toJSONObject: Ef,
4286
4286
  isAsyncFn: Af,
4287
4287
  isThenable: Of,
4288
- setImmediate: qo,
4288
+ setImmediate: Ho,
4289
4289
  asap: wf
4290
4290
  };
4291
4291
  function P(t, e, n, i, r) {
@@ -4312,7 +4312,7 @@ y.inherits(P, Error, {
4312
4312
  };
4313
4313
  }
4314
4314
  });
4315
- const Ho = P.prototype, zo = {};
4315
+ const qo = P.prototype, zo = {};
4316
4316
  [
4317
4317
  "ERR_BAD_OPTION_VALUE",
4318
4318
  "ERR_BAD_OPTION",
@@ -4331,9 +4331,9 @@ const Ho = P.prototype, zo = {};
4331
4331
  zo[t] = { value: t };
4332
4332
  });
4333
4333
  Object.defineProperties(P, zo);
4334
- Object.defineProperty(Ho, "isAxiosError", { value: !0 });
4334
+ Object.defineProperty(qo, "isAxiosError", { value: !0 });
4335
4335
  P.from = (t, e, n, i, r, s) => {
4336
- const a = Object.create(Ho);
4336
+ const a = Object.create(qo);
4337
4337
  return y.toFlatObject(t, a, function(l) {
4338
4338
  return l !== Error.prototype;
4339
4339
  }, (o) => o !== "isAxiosError"), P.call(a, t.message, e, n, i, r), a.cause = t, a.name = t.name, s && Object.assign(a, s), a;
@@ -4572,7 +4572,7 @@ function Yo(t) {
4572
4572
  }
4573
4573
  return null;
4574
4574
  }
4575
- function qf(t, e, n) {
4575
+ function Hf(t, e, n) {
4576
4576
  if (y.isString(t))
4577
4577
  try {
4578
4578
  return (e || JSON.parse)(t), y.trim(t);
@@ -4608,7 +4608,7 @@ const dn = {
4608
4608
  );
4609
4609
  }
4610
4610
  }
4611
- return s || r ? (n.setContentType("application/json", !1), qf(e)) : e;
4611
+ return s || r ? (n.setContentType("application/json", !1), Hf(e)) : e;
4612
4612
  }],
4613
4613
  transformResponse: [function(e) {
4614
4614
  const n = this.transitional || dn.transitional, i = n && n.forcedJSONParsing, r = this.responseType === "json";
@@ -4651,7 +4651,7 @@ const dn = {
4651
4651
  y.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
4652
4652
  dn.headers[t] = {};
4653
4653
  });
4654
- const Hf = y.toObjectSet([
4654
+ const qf = y.toObjectSet([
4655
4655
  "age",
4656
4656
  "authorization",
4657
4657
  "content-length",
@@ -4674,7 +4674,7 @@ const Hf = y.toObjectSet([
4674
4674
  let n, i, r;
4675
4675
  return t && t.split(`
4676
4676
  `).forEach(function(a) {
4677
- r = a.indexOf(":"), n = a.substring(0, r).trim().toLowerCase(), i = a.substring(r + 1).trim(), !(!n || e[n] && Hf[n]) && (n === "set-cookie" ? e[n] ? e[n].push(i) : e[n] = [i] : e[n] = e[n] ? e[n] + ", " + i : i);
4677
+ r = a.indexOf(":"), n = a.substring(0, r).trim().toLowerCase(), i = a.substring(r + 1).trim(), !(!n || e[n] && qf[n]) && (n === "set-cookie" ? e[n] ? e[n].push(i) : e[n] = [i] : e[n] = e[n] ? e[n] + ", " + i : i);
4678
4678
  }), e;
4679
4679
  }, xs = Symbol("internals");
4680
4680
  function Dt(t) {
@@ -4902,7 +4902,7 @@ function Xf(t, e) {
4902
4902
  }, i - d)));
4903
4903
  }, () => r && a(r)];
4904
4904
  }
4905
- const qn = (t, e, n = 3) => {
4905
+ const Hn = (t, e, n = 3) => {
4906
4906
  let i = 0;
4907
4907
  const r = Qf(50, 250);
4908
4908
  return Xf((s) => {
@@ -5128,7 +5128,7 @@ const el = (t) => {
5128
5128
  )), p = null;
5129
5129
  }, s === void 0 && a.setContentType(null), "setRequestHeader" in p && y.forEach(a.toJSON(), function(S, N) {
5130
5130
  p.setRequestHeader(N, S);
5131
- }), y.isUndefined(r.withCredentials) || (p.withCredentials = !!r.withCredentials), o && o !== "json" && (p.responseType = r.responseType), u && ([f, g] = qn(u, !0), p.addEventListener("progress", f)), l && p.upload && ([d, v] = qn(l), p.upload.addEventListener("progress", d), p.upload.addEventListener("loadend", v)), (r.cancelToken || r.signal) && (c = (E) => {
5131
+ }), y.isUndefined(r.withCredentials) || (p.withCredentials = !!r.withCredentials), o && o !== "json" && (p.responseType = r.responseType), u && ([f, g] = Hn(u, !0), p.addEventListener("progress", f)), l && p.upload && ([d, v] = Hn(l), p.upload.addEventListener("progress", d), p.upload.addEventListener("loadend", v)), (r.cancelToken || r.signal) && (c = (E) => {
5132
5132
  p && (i(!E || E.type ? new Ct(null, t, p) : E), p.abort(), p = null);
5133
5133
  }, r.cancelToken && r.cancelToken.subscribe(c), r.signal && (r.signal.aborted ? c() : r.signal.addEventListener("abort", c)));
5134
5134
  const b = Yf(r.url);
@@ -5234,12 +5234,12 @@ const el = (t) => {
5234
5234
  }
5235
5235
  }).headers.has("Content-Type");
5236
5236
  return t && !e;
5237
- }), Is = 64 * 1024, cr = tl && nl(() => y.isReadableStream(new Response("").body)), Hn = {
5237
+ }), Is = 64 * 1024, cr = tl && nl(() => y.isReadableStream(new Response("").body)), qn = {
5238
5238
  stream: cr && ((t) => t.body)
5239
5239
  };
5240
5240
  gi && ((t) => {
5241
5241
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
5242
- !Hn[e] && (Hn[e] = y.isFunction(t[e]) ? (n) => n[e]() : (n, i) => {
5242
+ !qn[e] && (qn[e] = y.isFunction(t[e]) ? (n) => n[e]() : (n, i) => {
5243
5243
  throw new P(`Response type '${e}' is not supported`, P.ERR_NOT_SUPPORT, i);
5244
5244
  });
5245
5245
  });
@@ -5292,7 +5292,7 @@ const dh = async (t) => {
5292
5292
  if (y.isFormData(i) && (O = N.headers.get("content-type")) && c.setContentType(O), N.body) {
5293
5293
  const [R, x] = Cs(
5294
5294
  p,
5295
- qn(Rs(l))
5295
+ Hn(Rs(l))
5296
5296
  );
5297
5297
  i = Ds(N.body, Is, R, x);
5298
5298
  }
@@ -5317,7 +5317,7 @@ const dh = async (t) => {
5317
5317
  });
5318
5318
  const O = y.toFiniteNumber(b.headers.get("content-length")), [R, x] = o && Cs(
5319
5319
  O,
5320
- qn(Rs(o), !0)
5320
+ Hn(Rs(o), !0)
5321
5321
  ) || [];
5322
5322
  b = new Response(
5323
5323
  Ds(b.body, Is, R, () => {
@@ -5327,7 +5327,7 @@ const dh = async (t) => {
5327
5327
  );
5328
5328
  }
5329
5329
  u = u || "text";
5330
- let S = await Hn[y.findKey(Hn, u) || "text"](b, t);
5330
+ let S = await qn[y.findKey(qn, u) || "text"](b, t);
5331
5331
  return !E && m && m(), await new Promise((N, O) => {
5332
5332
  Xo(N, O, {
5333
5333
  data: S,
@@ -5857,7 +5857,7 @@ const It = () => {
5857
5857
  t.forEach((i) => {
5858
5858
  e[i] && (n[i] = e[i]);
5859
5859
  });
5860
- }, bh = /###/g, Ms = (t) => t && t.indexOf("###") > -1 ? t.replace(bh, ".") : t, Vs = (t) => !t || typeof t == "string", qt = (t, e, n) => {
5860
+ }, bh = /###/g, Ms = (t) => t && t.indexOf("###") > -1 ? t.replace(bh, ".") : t, Vs = (t) => !t || typeof t == "string", Ht = (t, e, n) => {
5861
5861
  const i = typeof e != "string" ? e : e.split(".");
5862
5862
  let r = 0;
5863
5863
  for (; r < i.length - 1; ) {
@@ -5873,26 +5873,26 @@ const It = () => {
5873
5873
  const {
5874
5874
  obj: i,
5875
5875
  k: r
5876
- } = qt(t, e, Object);
5876
+ } = Ht(t, e, Object);
5877
5877
  if (i !== void 0 || e.length === 1) {
5878
5878
  i[r] = n;
5879
5879
  return;
5880
5880
  }
5881
- let s = e[e.length - 1], a = e.slice(0, e.length - 1), o = qt(t, a, Object);
5881
+ let s = e[e.length - 1], a = e.slice(0, e.length - 1), o = Ht(t, a, Object);
5882
5882
  for (; o.obj === void 0 && a.length; )
5883
- s = `${a[a.length - 1]}.${s}`, a = a.slice(0, a.length - 1), o = qt(t, a, Object), o && o.obj && typeof o.obj[`${o.k}.${s}`] != "undefined" && (o.obj = void 0);
5883
+ s = `${a[a.length - 1]}.${s}`, a = a.slice(0, a.length - 1), o = Ht(t, a, Object), o && o.obj && typeof o.obj[`${o.k}.${s}`] != "undefined" && (o.obj = void 0);
5884
5884
  o.obj[`${o.k}.${s}`] = n;
5885
5885
  }, _h = (t, e, n, i) => {
5886
5886
  const {
5887
5887
  obj: r,
5888
5888
  k: s
5889
- } = qt(t, e, Object);
5889
+ } = Ht(t, e, Object);
5890
5890
  r[s] = r[s] || [], r[s].push(n);
5891
5891
  }, Gn = (t, e) => {
5892
5892
  const {
5893
5893
  obj: n,
5894
5894
  k: i
5895
- } = qt(t, e);
5895
+ } = Ht(t, e);
5896
5896
  if (n)
5897
5897
  return n[i];
5898
5898
  }, Sh = (t, e, n) => {
@@ -6042,7 +6042,7 @@ var ol = {
6042
6042
  }), e;
6043
6043
  }
6044
6044
  };
6045
- const qs = {};
6045
+ const Hs = {};
6046
6046
  class Wn extends vi {
6047
6047
  constructor(e) {
6048
6048
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
@@ -6142,7 +6142,7 @@ class Wn extends vi {
6142
6142
  let S = !1, N = !1;
6143
6143
  const O = n.count !== void 0 && typeof n.count != "string", R = Wn.hasDefaultValue(n), x = O ? this.pluralResolver.getSuffix(u, n.count, n) : "", $ = n.ordinal && O ? this.pluralResolver.getSuffix(u, n.count, {
6144
6144
  ordinal: !1
6145
- }) : "", q = O && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), F = q && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${x}`] || n[`defaultValue${$}`] || n.defaultValue;
6145
+ }) : "", H = O && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), F = H && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${x}`] || n[`defaultValue${$}`] || n.defaultValue;
6146
6146
  !this.isValidLookup(f) && R && (S = !0, f = F), this.isValidLookup(f) || (N = !0, f = a);
6147
6147
  const ne = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && N ? void 0 : f, k = R && F !== f && this.options.updateMissing;
6148
6148
  if (N || S || k) {
@@ -6165,7 +6165,7 @@ class Wn extends vi {
6165
6165
  };
6166
6166
  this.options.saveMissing && (this.options.saveMissingPlurals && O ? A.forEach((B) => {
6167
6167
  const M = this.pluralResolver.getSuffixes(B, n);
6168
- q && n[`defaultValue${this.options.pluralSeparator}zero`] && M.indexOf(`${this.options.pluralSeparator}zero`) < 0 && M.push(`${this.options.pluralSeparator}zero`), M.forEach((_e) => {
6168
+ H && n[`defaultValue${this.options.pluralSeparator}zero`] && M.indexOf(`${this.options.pluralSeparator}zero`) < 0 && M.push(`${this.options.pluralSeparator}zero`), M.forEach((_e) => {
6169
6169
  Y([B], a + _e, n[`defaultValue${_e}`] || F);
6170
6170
  });
6171
6171
  }) : Y(A, a, F));
@@ -6230,7 +6230,7 @@ class Wn extends vi {
6230
6230
  this.options.fallbackNS && (d = d.concat(this.options.fallbackNS));
6231
6231
  const f = n.count !== void 0 && typeof n.count != "string", v = f && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), g = n.context !== void 0 && (typeof n.context == "string" || typeof n.context == "number") && n.context !== "", m = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
6232
6232
  d.forEach((p) => {
6233
- this.isValidLookup(i) || (o = p, !qs[`${m[0]}-${p}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (qs[`${m[0]}-${p}`] = !0, this.logger.warn(`key "${r}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((h) => {
6233
+ this.isValidLookup(i) || (o = p, !Hs[`${m[0]}-${p}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (Hs[`${m[0]}-${p}`] = !0, this.logger.warn(`key "${r}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((h) => {
6234
6234
  if (this.isValidLookup(i)) return;
6235
6235
  a = h;
6236
6236
  const b = [c];
@@ -6290,7 +6290,7 @@ class Wn extends vi {
6290
6290
  }
6291
6291
  }
6292
6292
  const Li = (t) => t.charAt(0).toUpperCase() + t.slice(1);
6293
- class Hs {
6293
+ class qs {
6294
6294
  constructor(e) {
6295
6295
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Ne.create("languageUtils");
6296
6296
  }
@@ -7013,7 +7013,7 @@ class Zt extends vi {
7013
7013
  this.modules.logger ? Ne.init(s(this.modules.logger), this.options) : Ne.init(null, this.options);
7014
7014
  let c;
7015
7015
  this.modules.formatter ? c = this.modules.formatter : typeof Intl != "undefined" && (c = $h);
7016
- const d = new Hs(this.options);
7016
+ const d = new qs(this.options);
7017
7017
  this.store = new Bs(this.options.resources, this.options);
7018
7018
  const f = this.services;
7019
7019
  f.logger = Ne, f.resourceStore = this.store, f.languageUtils = d, f.pluralResolver = new Ih(d, {
@@ -7180,7 +7180,7 @@ class Zt extends vi {
7180
7180
  }
7181
7181
  dir(e) {
7182
7182
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
7183
- const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = this.services && this.services.languageUtils || new Hs(Ks());
7183
+ const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = this.services && this.services.languageUtils || new qs(Ks());
7184
7184
  return n.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
7185
7185
  }
7186
7186
  static createInstance() {
@@ -7368,7 +7368,7 @@ class yv {
7368
7368
  return this.logger.error("Error Code:", n, "Message:", i), this.logger.error("Result Data:", (r = e.response) == null ? void 0 : r.data), new Error(i);
7369
7369
  }
7370
7370
  }
7371
- var ll = /* @__PURE__ */ ((t) => (t.VTEX = "VTEX", t.VTEX_IO = "VTEX-IO", t.VTEX_CMS = "PORTAL-VTEX", t.PLATFORM = "PLATFORM", t.UNKNOWN = "UNKNOWN", t))(ll || {}), Bh = /* @__PURE__ */ ((t) => (t.PLATFORM = "platform_module", t.ADENDA = "subscription_module", t.APP_STORE = "app_store", t))(Bh || {}), ul = /* @__PURE__ */ ((t) => (t.ACTIVE = "active_contract", t.INACTIVE = "inactive_contract", t))(ul || {}), qh = /* @__PURE__ */ ((t) => (t.LITE = "lite", t.STANDARD = "standard", t.PRO = "pro", t))(qh || {}), Hh = /* @__PURE__ */ ((t) => (t.LITE = "PLAN_LITE", t.STANDARD = "PLAN_ESTANDAR", t.PRO = "PLAN_PRO", t.NONE = "NO_PLAN", t))(Hh || {}), zh = /* @__PURE__ */ ((t) => (t.PAST = "past", t.LIVE = "live", t.FUTURE = "future", t))(zh || {});
7371
+ var ll = /* @__PURE__ */ ((t) => (t.VTEX = "VTEX", t.VTEX_IO = "VTEX-IO", t.VTEX_CMS = "PORTAL-VTEX", t.PLATFORM = "PLATFORM", t.UNKNOWN = "UNKNOWN", t))(ll || {}), Bh = /* @__PURE__ */ ((t) => (t.PLATFORM = "platform_module", t.ADENDA = "subscription_module", t.APP_STORE = "app_store", t))(Bh || {}), ul = /* @__PURE__ */ ((t) => (t.ACTIVE = "active_contract", t.INACTIVE = "inactive_contract", t))(ul || {}), Hh = /* @__PURE__ */ ((t) => (t.LITE = "lite", t.STANDARD = "standard", t.PRO = "pro", t))(Hh || {}), qh = /* @__PURE__ */ ((t) => (t.LITE = "PLAN_LITE", t.STANDARD = "PLAN_ESTANDAR", t.PRO = "PLAN_PRO", t.NONE = "NO_PLAN", t))(qh || {}), zh = /* @__PURE__ */ ((t) => (t.PAST = "past", t.LIVE = "live", t.FUTURE = "future", t))(zh || {});
7372
7372
  class Vr {
7373
7373
  constructor(e) {
7374
7374
  w(this, "root", Lo(this));
@@ -7652,7 +7652,7 @@ function Bp(t) {
7652
7652
  const e = Object.values(t);
7653
7653
  return Object.assign({}, ...e);
7654
7654
  }
7655
- function qp(t) {
7655
+ function Hp(t) {
7656
7656
  return Object.entries(t).reduce(
7657
7657
  (e, [n, i]) => {
7658
7658
  const r = Bp(i);
@@ -7661,8 +7661,8 @@ function qp(t) {
7661
7661
  {}
7662
7662
  );
7663
7663
  }
7664
- function Hp(t, e) {
7665
- const n = qp(e);
7664
+ function qp(t, e) {
7665
+ const n = Hp(e);
7666
7666
  Object.entries(n).forEach(([i, r]) => {
7667
7667
  t.addResourceBundle(i, "translation", r, !0);
7668
7668
  });
@@ -8024,16 +8024,16 @@ const cm = {
8024
8024
  }
8025
8025
  };
8026
8026
  rm(X, cm);
8027
- const Ov = (t) => Hp(X, t);
8027
+ const Ov = (t) => qp(X, t);
8028
8028
  /**
8029
8029
  * @license
8030
8030
  * Copyright 2019 Google LLC
8031
8031
  * SPDX-License-Identifier: BSD-3-Clause
8032
8032
  */
8033
- const xn = globalThis, Br = xn.ShadowRoot && (xn.ShadyCSS === void 0 || xn.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, qr = Symbol(), na = /* @__PURE__ */ new WeakMap();
8033
+ const xn = globalThis, Br = xn.ShadowRoot && (xn.ShadyCSS === void 0 || xn.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Hr = Symbol(), na = /* @__PURE__ */ new WeakMap();
8034
8034
  let gl = class {
8035
8035
  constructor(e, n, i) {
8036
- if (this._$cssResult$ = !0, i !== qr) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
8036
+ if (this._$cssResult$ = !0, i !== Hr) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
8037
8037
  this.cssText = e, this.t = n;
8038
8038
  }
8039
8039
  get styleSheet() {
@@ -8049,13 +8049,13 @@ let gl = class {
8049
8049
  return this.cssText;
8050
8050
  }
8051
8051
  };
8052
- const dm = (t) => new gl(typeof t == "string" ? t : t + "", void 0, qr), fm = (t, ...e) => {
8052
+ const dm = (t) => new gl(typeof t == "string" ? t : t + "", void 0, Hr), fm = (t, ...e) => {
8053
8053
  const n = t.length === 1 ? t[0] : e.reduce((i, r, s) => i + ((a) => {
8054
8054
  if (a._$cssResult$ === !0) return a.cssText;
8055
8055
  if (typeof a == "number") return a;
8056
8056
  throw Error("Value passed to 'css' function must be a 'css' function result: " + a + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
8057
8057
  })(r) + t[s + 1], t[0]);
8058
- return new gl(n, t, qr);
8058
+ return new gl(n, t, Hr);
8059
8059
  }, hm = (t, e) => {
8060
8060
  if (Br) t.adoptedStyleSheets = e.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
8061
8061
  else for (const n of e) {
@@ -8072,7 +8072,7 @@ const dm = (t) => new gl(typeof t == "string" ? t : t + "", void 0, qr), fm = (t
8072
8072
  * Copyright 2017 Google LLC
8073
8073
  * SPDX-License-Identifier: BSD-3-Clause
8074
8074
  */
8075
- const { is: pm, defineProperty: mm, getOwnPropertyDescriptor: gm, getOwnPropertyNames: vm, getOwnPropertySymbols: km, getPrototypeOf: ym } = Object, Ve = globalThis, ra = Ve.trustedTypes, bm = ra ? ra.emptyScript : "", Ui = Ve.reactiveElementPolyfillSupport, Ht = (t, e) => t, gr = { toAttribute(t, e) {
8075
+ const { is: pm, defineProperty: mm, getOwnPropertyDescriptor: gm, getOwnPropertyNames: vm, getOwnPropertySymbols: km, getPrototypeOf: ym } = Object, Ve = globalThis, ra = Ve.trustedTypes, bm = ra ? ra.emptyScript : "", Ui = Ve.reactiveElementPolyfillSupport, qt = (t, e) => t, gr = { toAttribute(t, e) {
8076
8076
  switch (e) {
8077
8077
  case Boolean:
8078
8078
  t = t ? bm : null;
@@ -8136,13 +8136,13 @@ class mt extends HTMLElement {
8136
8136
  return (n = this.elementProperties.get(e)) != null ? n : sa;
8137
8137
  }
8138
8138
  static _$Ei() {
8139
- if (this.hasOwnProperty(Ht("elementProperties"))) return;
8139
+ if (this.hasOwnProperty(qt("elementProperties"))) return;
8140
8140
  const e = ym(this);
8141
8141
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
8142
8142
  }
8143
8143
  static finalize() {
8144
- if (this.hasOwnProperty(Ht("finalized"))) return;
8145
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Ht("properties"))) {
8144
+ if (this.hasOwnProperty(qt("finalized"))) return;
8145
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(qt("properties"))) {
8146
8146
  const n = this.properties, i = [...vm(n), ...km(n)];
8147
8147
  for (const r of i) this.createProperty(r, n[r]);
8148
8148
  }
@@ -8308,17 +8308,17 @@ class mt extends HTMLElement {
8308
8308
  }
8309
8309
  }
8310
8310
  var Aa;
8311
- mt.elementStyles = [], mt.shadowRootOptions = { mode: "open" }, mt[Ht("elementProperties")] = /* @__PURE__ */ new Map(), mt[Ht("finalized")] = /* @__PURE__ */ new Map(), Ui == null || Ui({ ReactiveElement: mt }), ((Aa = Ve.reactiveElementVersions) != null ? Aa : Ve.reactiveElementVersions = []).push("2.0.4");
8311
+ mt.elementStyles = [], mt.shadowRootOptions = { mode: "open" }, mt[qt("elementProperties")] = /* @__PURE__ */ new Map(), mt[qt("finalized")] = /* @__PURE__ */ new Map(), Ui == null || Ui({ ReactiveElement: mt }), ((Aa = Ve.reactiveElementVersions) != null ? Aa : Ve.reactiveElementVersions = []).push("2.0.4");
8312
8312
  /**
8313
8313
  * @license
8314
8314
  * Copyright 2017 Google LLC
8315
8315
  * SPDX-License-Identifier: BSD-3-Clause
8316
8316
  */
8317
- const zt = globalThis, Yn = zt.trustedTypes, aa = Yn ? Yn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, kl = "$lit$", Pe = `lit$${Math.random().toFixed(9).slice(2)}$`, yl = "?" + Pe, _m = `<${yl}>`, it = document, en = () => it.createComment(""), tn = (t) => t === null || typeof t != "object" && typeof t != "function", Hr = Array.isArray, Sm = (t) => Hr(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Mi = `[
8317
+ const zt = globalThis, Yn = zt.trustedTypes, aa = Yn ? Yn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, kl = "$lit$", Pe = `lit$${Math.random().toFixed(9).slice(2)}$`, yl = "?" + Pe, _m = `<${yl}>`, it = document, en = () => it.createComment(""), tn = (t) => t === null || typeof t != "object" && typeof t != "function", qr = Array.isArray, Sm = (t) => qr(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Mi = `[
8318
8318
  \f\r]`, $t = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, oa = /-->/g, la = />/g, Ke = RegExp(`>|${Mi}(?:([^\\s"'>=/]+)(${Mi}*=${Mi}*(?:[^
8319
8319
  \f\r"'\`<>=]|("|')|))|$)`, "g"), ua = /'/g, ca = /"/g, bl = /^(?:script|style|textarea|title)$/i, Nm = (t) => (e, ...n) => ({ _$litType$: t, strings: e, values: n }), Em = Nm(1), _t = Symbol.for("lit-noChange"), J = Symbol.for("lit-nothing"), da = /* @__PURE__ */ new WeakMap(), Je = it.createTreeWalker(it, 129);
8320
8320
  function _l(t, e) {
8321
- if (!Hr(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
8321
+ if (!qr(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
8322
8322
  return aa !== void 0 ? aa.createHTML(e) : e;
8323
8323
  }
8324
8324
  const Am = (t, e) => {
@@ -8452,7 +8452,7 @@ class fn {
8452
8452
  return n === void 0 && da.set(e.strings, n = new nn(e)), n;
8453
8453
  }
8454
8454
  k(e) {
8455
- Hr(this._$AH) || (this._$AH = [], this._$AR());
8455
+ qr(this._$AH) || (this._$AH = [], this._$AR());
8456
8456
  const n = this._$AH;
8457
8457
  let i, r = 0;
8458
8458
  for (const s of e) r === n.length ? n.push(i = new fn(this.O(en()), this.O(en()), this, this.options)) : i = n[r], i._$AI(s), r++;
@@ -8713,7 +8713,7 @@ const Bi = /* @__PURE__ */ new WeakMap(), Bm = Im(class extends Mm {
8713
8713
  });
8714
8714
  var Nl, fa = Vl;
8715
8715
  Nl = fa.createRoot, fa.hydrateRoot;
8716
- class qm extends Gt {
8716
+ class Hm extends Gt {
8717
8717
  constructor() {
8718
8718
  super(...arguments);
8719
8719
  w(this, "rootRef", Vm());
@@ -8779,7 +8779,7 @@ class qm extends Gt {
8779
8779
  setupHMRListener() {
8780
8780
  }
8781
8781
  }
8782
- w(qm, "baseStyles", fm`
8782
+ w(Hm, "baseStyles", fm`
8783
8783
  :host {
8784
8784
  width: 100%;
8785
8785
  }
@@ -8798,7 +8798,7 @@ function xv(t) {
8798
8798
  function Cv(t) {
8799
8799
  return zr.get(t);
8800
8800
  }
8801
- class Hm {
8801
+ class qm {
8802
8802
  constructor(e, n, i) {
8803
8803
  w(this, "renderFn");
8804
8804
  w(this, "logger");
@@ -8977,7 +8977,7 @@ class Rv {
8977
8977
  const i = new n({ runtime: this }), r = this.customConfigList.get(n.type);
8978
8978
  this.updateMeta({ type: n.type }), r != null && r.skipBaseBehavior || await i.execute(), r && await r.callback({
8979
8979
  runtime: this,
8980
- component: new Hm(
8980
+ component: new qm(
8981
8981
  this.componentId.value,
8982
8982
  this.renderHandler,
8983
8983
  this.logger
@@ -9609,8 +9609,8 @@ function hg(t, e, n) {
9609
9609
  )}.`
9610
9610
  );
9611
9611
  } else
9612
- r = qi(t, r, s), s = i.charCodeAt(r);
9613
- if (s === 46 && (a = !0, s = i.charCodeAt(++r), r = qi(t, r, s), s = i.charCodeAt(r)), (s === 69 || s === 101) && (a = !0, s = i.charCodeAt(++r), (s === 43 || s === 45) && (s = i.charCodeAt(++r)), r = qi(t, r, s), s = i.charCodeAt(r)), s === 46 || xl(s))
9612
+ r = Hi(t, r, s), s = i.charCodeAt(r);
9613
+ if (s === 46 && (a = !0, s = i.charCodeAt(++r), r = Hi(t, r, s), s = i.charCodeAt(r)), (s === 69 || s === 101) && (a = !0, s = i.charCodeAt(++r), (s === 43 || s === 45) && (s = i.charCodeAt(++r)), r = Hi(t, r, s), s = i.charCodeAt(r)), s === 46 || xl(s))
9614
9614
  throw Q(
9615
9615
  t.source,
9616
9616
  r,
@@ -9627,7 +9627,7 @@ function hg(t, e, n) {
9627
9627
  i.slice(e, r)
9628
9628
  );
9629
9629
  }
9630
- function qi(t, e, n) {
9630
+ function Hi(t, e, n) {
9631
9631
  if (!rn(n))
9632
9632
  throw Q(
9633
9633
  t.source,
@@ -11582,7 +11582,7 @@ const ya = (t) => {
11582
11582
  let e;
11583
11583
  const n = t.definitions.filter((s) => s.kind === "OperationDefinition");
11584
11584
  return n.length === 1 && (e = (r = (i = n[0]) == null ? void 0 : i.name) == null ? void 0 : r.value), e;
11585
- }, Hi = (t) => {
11585
+ }, qi = (t) => {
11586
11586
  if (typeof t == "string") {
11587
11587
  let n;
11588
11588
  try {
@@ -11803,7 +11803,7 @@ var _r = { exports: {} };
11803
11803
  }
11804
11804
  }), A;
11805
11805
  }
11806
- function q(k) {
11806
+ function H(k) {
11807
11807
  var A = new g(), L = k.replace(/\r?\n[\t ]+/g, " ");
11808
11808
  return L.split(/\r?\n/).forEach(function(Y) {
11809
11809
  var B = Y.split(":"), M = B.shift().trim();
@@ -11828,9 +11828,9 @@ var _r = { exports: {} };
11828
11828
  var k = new F(null, { status: 0, statusText: "" });
11829
11829
  return k.type = "error", k;
11830
11830
  };
11831
- var H = [301, 302, 303, 307, 308];
11831
+ var q = [301, 302, 303, 307, 308];
11832
11832
  F.redirect = function(k, A) {
11833
- if (H.indexOf(A) === -1)
11833
+ if (q.indexOf(A) === -1)
11834
11834
  throw new RangeError("Invalid status code");
11835
11835
  return new F(null, { status: A, headers: { location: k } });
11836
11836
  }, a.DOMException = s.DOMException;
@@ -11856,7 +11856,7 @@ var _r = { exports: {} };
11856
11856
  var Fe = {
11857
11857
  status: M.status,
11858
11858
  statusText: M.statusText,
11859
- headers: q(M.getAllResponseHeaders() || "")
11859
+ headers: H(M.getAllResponseHeaders() || "")
11860
11860
  };
11861
11861
  Fe.url = "responseURL" in M ? M.responseURL : Fe.headers.get("X-Request-URL");
11862
11862
  var Si = "response" in M ? M.response : M.responseText;
@@ -11881,7 +11881,7 @@ var _r = { exports: {} };
11881
11881
  e = r.fetch, e.default = r.fetch, e.fetch = r.fetch, e.Headers = r.Headers, e.Request = r.Request, e.Response = r.Response, t.exports = e;
11882
11882
  })(_r, _r.exports);
11883
11883
  var Xn = _r.exports;
11884
- const Fn = /* @__PURE__ */ Ir(Xn), jg = /* @__PURE__ */ Hl({
11884
+ const Fn = /* @__PURE__ */ Ir(Xn), jg = /* @__PURE__ */ ql({
11885
11885
  __proto__: null,
11886
11886
  default: Fn
11887
11887
  }, [Xn]), ht = (t) => {
@@ -11901,7 +11901,7 @@ const Fn = /* @__PURE__ */ Ir(Xn), jg = /* @__PURE__ */ Hl({
11901
11901
  variables: e.variables ? e.jsonSerializer.stringify(e.variables[s]) : void 0
11902
11902
  }), i), []);
11903
11903
  return `query=${encodeURIComponent(e.jsonSerializer.stringify(n))}`;
11904
- }, qg = (t) => async (e) => {
11904
+ }, Hg = (t) => async (e) => {
11905
11905
  var m;
11906
11906
  const { url: n, query: i, variables: r, operationName: s, fetch: a, fetchOptions: o, middleware: l } = e, u = { ...e.headers };
11907
11907
  let c = "", d;
@@ -11924,12 +11924,12 @@ const Fn = /* @__PURE__ */ Ir(Xn), jg = /* @__PURE__ */ Hl({
11924
11924
  }
11925
11925
  return c && (v = `${v}?${c}`), await a(v, g);
11926
11926
  };
11927
- class Hg {
11927
+ class qg {
11928
11928
  constructor(e, n = {}) {
11929
11929
  this.url = e, this.requestConfig = n, this.rawRequest = async (...i) => {
11930
11930
  const [r, s, a] = i, o = Ym(r, s, a), { headers: l, fetch: u = Fn, method: c = "POST", requestMiddleware: d, responseMiddleware: f, ...v } = this.requestConfig, { url: g } = this;
11931
11931
  o.signal !== void 0 && (v.signal = o.signal);
11932
- const { operationName: m } = Hi(o.query);
11932
+ const { operationName: m } = qi(o.query);
11933
11933
  return zi({
11934
11934
  url: g,
11935
11935
  query: o.query,
@@ -11951,7 +11951,7 @@ class Hg {
11951
11951
  async request(e, ...n) {
11952
11952
  const [i, r] = n, s = Jm(e, i, r), { headers: a, fetch: o = Fn, method: l = "POST", requestMiddleware: u, responseMiddleware: c, ...d } = this.requestConfig, { url: f } = this;
11953
11953
  s.signal !== void 0 && (d.signal = s.signal);
11954
- const { query: v, operationName: g } = Hi(s.document);
11954
+ const { query: v, operationName: g } = qi(s.document);
11955
11955
  return zi({
11956
11956
  url: f,
11957
11957
  query: v,
@@ -11974,7 +11974,7 @@ class Hg {
11974
11974
  var l;
11975
11975
  const i = Qm(e, n), { headers: r, ...s } = this.requestConfig;
11976
11976
  i.signal !== void 0 && (s.signal = i.signal);
11977
- const a = i.documents.map(({ document: u }) => Hi(u).query), o = i.documents.map(({ variables: u }) => u);
11977
+ const a = i.documents.map(({ document: u }) => qi(u).query), o = i.documents.map(({ variables: u }) => u);
11978
11978
  return zi({
11979
11979
  url: this.url,
11980
11980
  query: a,
@@ -12012,7 +12012,7 @@ class Hg {
12012
12012
  }
12013
12013
  const zi = async (t) => {
12014
12014
  var c, d;
12015
- const { query: e, variables: n, fetchOptions: i } = t, r = qg(Km((c = t.method) != null ? c : "post")), s = Array.isArray(t.query), a = await r(t), o = await Gg(a, (d = i.jsonSerializer) != null ? d : Qr), l = Array.isArray(o) ? !o.some(({ data: f }) => !f) : !!o.data, u = Array.isArray(o) || !o.errors || Array.isArray(o.errors) && !o.errors.length || i.errorPolicy === "all" || i.errorPolicy === "ignore";
12015
+ const { query: e, variables: n, fetchOptions: i } = t, r = Hg(Km((c = t.method) != null ? c : "post")), s = Array.isArray(t.query), a = await r(t), o = await Gg(a, (d = i.jsonSerializer) != null ? d : Qr), l = Array.isArray(o) ? !o.some(({ data: f }) => !f) : !!o.data, u = Array.isArray(o) || !o.errors || Array.isArray(o.errors) && !o.errors.length || i.errorPolicy === "all" || i.errorPolicy === "ignore";
12016
12016
  if (a.ok && u && l) {
12017
12017
  const { errors: f, ...v } = (Array.isArray(o), o), g = i.errorPolicy === "ignore" ? v : o;
12018
12018
  return {
@@ -12075,7 +12075,7 @@ const Wg = Ar.apiUrls.graphql;
12075
12075
  class Jg {
12076
12076
  constructor() {
12077
12077
  w(this, "client");
12078
- this.client = new Hg(Wg);
12078
+ this.client = new qg(Wg);
12079
12079
  }
12080
12080
  async getChatRoom(e) {
12081
12081
  var r;
@@ -12182,7 +12182,7 @@ const Xg = (t) => {
12182
12182
  };
12183
12183
  return ev(d);
12184
12184
  }, tv = (t) => ["eventChatRoom", t != null ? t : null], nv = (t) => {
12185
- const { eventId: e, userName: n, enabled: i = !0 } = t, r = Ut((l) => l.accountName), [s, a] = $e(""), o = ql({
12185
+ const { eventId: e, userName: n, enabled: i = !0 } = t, r = Ut((l) => l.accountName), [s, a] = $e(""), o = Hl({
12186
12186
  queryKey: tv(e),
12187
12187
  queryFn: () => _a.get({ eventId: e, userName: n }),
12188
12188
  enabled: !!r && !!e && i,
@@ -12389,16 +12389,16 @@ export {
12389
12389
  ul as AccountContractStatusTypes,
12390
12390
  Bh as AccountContractTypes,
12391
12391
  Sd as AccountInvalidError,
12392
- Hh as AccountPlanDescriptionTypes,
12392
+ qh as AccountPlanDescriptionTypes,
12393
12393
  Kh as AccountRestRepository,
12394
12394
  Wh as AccountService,
12395
- qh as AccountSubscriptionTypes,
12395
+ Hh as AccountSubscriptionTypes,
12396
12396
  ll as AccountTypes,
12397
12397
  jr as AddToCartActionTypes,
12398
12398
  jd as AggregateRoot,
12399
12399
  Nv as ApiGraphqlTypes,
12400
12400
  ud as BroadcastChannelEventBus,
12401
- Hm as ComponentManager,
12401
+ qm as ComponentManager,
12402
12402
  un as DomainError,
12403
12403
  Z as ErrorCodes,
12404
12404
  _v as EventBusWildcards,
@@ -12420,7 +12420,7 @@ export {
12420
12420
  ip as NizzaProductRequestOriginTypes,
12421
12421
  sr as NizzaStore,
12422
12422
  np as NizzaVariationTypes,
12423
- qm as ReactHostElement,
12423
+ Hm as ReactHostElement,
12424
12424
  _d as ResourceNotFoundError,
12425
12425
  Rv as Runtime,
12426
12426
  pl as RuntimeStage,
@@ -12436,7 +12436,7 @@ export {
12436
12436
  Ys as addToCartMessages,
12437
12437
  mv as apiCall,
12438
12438
  Bp as buildLanguageTranslations,
12439
- qp as buildTranslations,
12439
+ Hp as buildTranslations,
12440
12440
  ns as chatIsConnectedAtom,
12441
12441
  _i as chatMessageListAtom,
12442
12442
  ts as chatSocketAtom,
@@ -12461,7 +12461,7 @@ export {
12461
12461
  Ud as jsDownload,
12462
12462
  Ll as normalizeChatMessage,
12463
12463
  Ov as registerTranslations,
12464
- Hp as registerTranslationsOf,
12464
+ qp as registerTranslationsOf,
12465
12465
  Av as runAddToCartHooks,
12466
12466
  Gm as runtimeList,
12467
12467
  dv as searchParams,