promogame-player 0.0.29 → 0.0.31

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.
@@ -175,19 +175,19 @@ function ut(t) {
175
175
  t.debug = ut("debug"), t.log = ut("log"), t.warn = ut("warn"), t.error = ut("error");
176
176
  })(me || (me = {}));
177
177
  var hr = "3.13.8";
178
- function X(t) {
178
+ function Z(t) {
179
179
  try {
180
180
  return t();
181
181
  } catch {
182
182
  }
183
183
  }
184
- const Ut = X(function() {
184
+ const Ut = Z(function() {
185
185
  return globalThis;
186
- }) || X(function() {
186
+ }) || Z(function() {
187
187
  return window;
188
- }) || X(function() {
188
+ }) || Z(function() {
189
189
  return self;
190
- }) || X(function() {
190
+ }) || Z(function() {
191
191
  return global;
192
192
  }) || // We don't expect the Function constructor ever to be invoked at runtime, as
193
193
  // long as at least one of globalThis, window, self, or global is defined, so
@@ -195,8 +195,8 @@ const Ut = X(function() {
195
195
  // detect syntactic usage of the Function constructor. If you think you can
196
196
  // improve your static analysis to detect this obfuscation, think again. This
197
197
  // is an arms race you cannot win, at least not in JavaScript.
198
- X(function() {
199
- return X.constructor("return this")();
198
+ Z(function() {
199
+ return Z.constructor("return this")();
200
200
  });
201
201
  var zr = /* @__PURE__ */ new Map();
202
202
  function $t(t) {
@@ -595,7 +595,7 @@ const Fa = [
595
595
  "\\u009E",
596
596
  "\\u009F"
597
597
  ], Et = Object.freeze({});
598
- function Z(t, e, r = Xn) {
598
+ function K(t, e, r = Xn) {
599
599
  const n = /* @__PURE__ */ new Map();
600
600
  for (const v of Object.values(N))
601
601
  n.set(v, Ra(e, v));
@@ -670,7 +670,7 @@ function Ra(t, e) {
670
670
  };
671
671
  }
672
672
  function Ca(t) {
673
- return Z(t, Pa);
673
+ return K(t, Pa);
674
674
  }
675
675
  const Ma = 80, Pa = {
676
676
  Name: {
@@ -702,7 +702,7 @@ const Ma = 80, Pa = {
702
702
  leave: ({ variable: t, type: e, defaultValue: r, directives: n }) => t + ": " + e + I(" = ", r) + I(" ", T(n, " "))
703
703
  },
704
704
  SelectionSet: {
705
- leave: ({ selections: t }) => Y(t)
705
+ leave: ({ selections: t }) => X(t)
706
706
  },
707
707
  Field: {
708
708
  leave({ alias: t, name: e, arguments: r, directives: n, selectionSet: i }) {
@@ -783,7 +783,7 @@ const Ma = 80, Pa = {
783
783
  // Type System Definitions
784
784
  SchemaDefinition: {
785
785
  leave: ({ description: t, directives: e, operationTypes: r }) => I("", t, `
786
- `) + T(["schema", T(e, " "), Y(r)], " ")
786
+ `) + T(["schema", T(e, " "), X(r)], " ")
787
787
  },
788
788
  OperationTypeDefinition: {
789
789
  leave: ({ operation: t, type: e }) => t + ": " + e
@@ -800,7 +800,7 @@ const Ma = 80, Pa = {
800
800
  e,
801
801
  I("implements ", T(r, " & ")),
802
802
  T(n, " "),
803
- Y(i)
803
+ X(i)
804
804
  ],
805
805
  " "
806
806
  )
@@ -827,7 +827,7 @@ const Ma = 80, Pa = {
827
827
  e,
828
828
  I("implements ", T(r, " & ")),
829
829
  T(n, " "),
830
- Y(i)
830
+ X(i)
831
831
  ],
832
832
  " "
833
833
  )
@@ -841,7 +841,7 @@ const Ma = 80, Pa = {
841
841
  },
842
842
  EnumTypeDefinition: {
843
843
  leave: ({ description: t, name: e, directives: r, values: n }) => I("", t, `
844
- `) + T(["enum", e, T(r, " "), Y(n)], " ")
844
+ `) + T(["enum", e, T(r, " "), X(n)], " ")
845
845
  },
846
846
  EnumValueDefinition: {
847
847
  leave: ({ description: t, name: e, directives: r }) => I("", t, `
@@ -849,7 +849,7 @@ const Ma = 80, Pa = {
849
849
  },
850
850
  InputObjectTypeDefinition: {
851
851
  leave: ({ description: t, name: e, directives: r, fields: n }) => I("", t, `
852
- `) + T(["input", e, T(r, " "), Y(n)], " ")
852
+ `) + T(["input", e, T(r, " "), X(n)], " ")
853
853
  },
854
854
  DirectiveDefinition: {
855
855
  leave: ({ description: t, name: e, arguments: r, repeatable: n, locations: i }) => I("", t, `
@@ -860,7 +860,7 @@ const Ma = 80, Pa = {
860
860
  },
861
861
  SchemaExtension: {
862
862
  leave: ({ directives: t, operationTypes: e }) => T(
863
- ["extend schema", T(t, " "), Y(e)],
863
+ ["extend schema", T(t, " "), X(e)],
864
864
  " "
865
865
  )
866
866
  },
@@ -874,7 +874,7 @@ const Ma = 80, Pa = {
874
874
  t,
875
875
  I("implements ", T(e, " & ")),
876
876
  T(r, " "),
877
- Y(n)
877
+ X(n)
878
878
  ],
879
879
  " "
880
880
  )
@@ -886,7 +886,7 @@ const Ma = 80, Pa = {
886
886
  t,
887
887
  I("implements ", T(e, " & ")),
888
888
  T(r, " "),
889
- Y(n)
889
+ X(n)
890
890
  ],
891
891
  " "
892
892
  )
@@ -903,17 +903,17 @@ const Ma = 80, Pa = {
903
903
  )
904
904
  },
905
905
  EnumTypeExtension: {
906
- leave: ({ name: t, directives: e, values: r }) => T(["extend enum", t, T(e, " "), Y(r)], " ")
906
+ leave: ({ name: t, directives: e, values: r }) => T(["extend enum", t, T(e, " "), X(r)], " ")
907
907
  },
908
908
  InputObjectTypeExtension: {
909
- leave: ({ name: t, directives: e, fields: r }) => T(["extend input", t, T(e, " "), Y(r)], " ")
909
+ leave: ({ name: t, directives: e, fields: r }) => T(["extend input", t, T(e, " "), X(r)], " ")
910
910
  }
911
911
  };
912
912
  function T(t, e = "") {
913
913
  var r;
914
914
  return (r = t == null ? void 0 : t.filter((n) => n).join(e)) !== null && r !== void 0 ? r : "";
915
915
  }
916
- function Y(t) {
916
+ function X(t) {
917
917
  return I(`{
918
918
  `, lt(T(t, `
919
919
  `)), `
@@ -943,7 +943,7 @@ function at(t, e) {
943
943
  }
944
944
  function tt(t, e, r) {
945
945
  var n = new Set(t), i = n.size;
946
- return Z(e, {
946
+ return K(e, {
947
947
  Directive: function(a) {
948
948
  if (n.delete(a.name.value) && (!r || !n.size))
949
949
  return Et;
@@ -984,7 +984,7 @@ function ja(t) {
984
984
  return globalThis.__DEV__ !== !1 && i && (i.value.kind === N.VARIABLE ? globalThis.__DEV__ !== !1 && S.warn(82) : i.value.kind !== N.STRING ? globalThis.__DEV__ !== !1 && S.warn(83) : i.value.value !== "migrate" && globalThis.__DEV__ !== !1 && S.warn(84, i.value.value)), i && "value" in i.value && i.value.value === "migrate" ? "migrate" : "unmask";
985
985
  }
986
986
  const qa = () => /* @__PURE__ */ Object.create(null), { forEach: Qa, slice: Jr } = Array.prototype, { hasOwnProperty: Va } = Object.prototype;
987
- class ae {
987
+ class oe {
988
988
  constructor(e = !0, r = qa) {
989
989
  this.weakness = e, this.makeData = r;
990
990
  }
@@ -1021,7 +1021,7 @@ class ae {
1021
1021
  getChildTrie(e) {
1022
1022
  const r = this.mapFor(e, !0);
1023
1023
  let n = r.get(e);
1024
- return n || r.set(e, n = new ae(this.weakness, this.makeData)), n;
1024
+ return n || r.set(e, n = new oe(this.weakness, this.makeData)), n;
1025
1025
  }
1026
1026
  mapFor(e, r) {
1027
1027
  return this.weakness && La(e) ? this.weak || (r ? this.weak = /* @__PURE__ */ new WeakMap() : void 0) : this.strong || (r ? this.strong = /* @__PURE__ */ new Map() : void 0);
@@ -1038,9 +1038,9 @@ function La(t) {
1038
1038
  }
1039
1039
  return !1;
1040
1040
  }
1041
- var Kn = X(function() {
1041
+ var Kn = Z(function() {
1042
1042
  return navigator.product;
1043
- }) == "ReactNative", we = typeof WeakMap == "function" && !(Kn && !global.HermesInternal), pr = typeof WeakSet == "function", yr = typeof Symbol == "function" && typeof Symbol.for == "function", wt = yr && Symbol.asyncIterator, ei = typeof X(function() {
1043
+ }) == "ReactNative", we = typeof WeakMap == "function" && !(Kn && !global.HermesInternal), pr = typeof WeakSet == "function", yr = typeof Symbol == "function" && typeof Symbol.for == "function", wt = yr && Symbol.asyncIterator, ei = typeof Z(function() {
1044
1044
  return window.document.createElement;
1045
1045
  }) == "function", za = (
1046
1046
  // Following advice found in this comment from @domenic (maintainer of jsdom):
@@ -1051,7 +1051,7 @@ var Kn = X(function() {
1051
1051
  // at the end of the user agent string, I believe this case is all we need to
1052
1052
  // check. Testing for "Node.js" was recommended for backwards compatibility
1053
1053
  // with older version of jsdom, but we don't have that problem.
1054
- X(function() {
1054
+ Z(function() {
1055
1055
  return navigator.userAgent.indexOf("jsdom") >= 0;
1056
1056
  }) || !1
1057
1057
  ), Wa = (ei || Kn) && !za;
@@ -1090,7 +1090,7 @@ function Ba(t, e) {
1090
1090
  ], t.definitions, !0) });
1091
1091
  return i;
1092
1092
  }
1093
- function qe(t) {
1093
+ function Qe(t) {
1094
1094
  t === void 0 && (t = []);
1095
1095
  var e = {};
1096
1096
  return t.forEach(function(r) {
@@ -1114,7 +1114,7 @@ function Ot(t, e) {
1114
1114
  }
1115
1115
  function Ua(t) {
1116
1116
  var e = !0;
1117
- return Z(t, {
1117
+ return K(t, {
1118
1118
  FragmentSpread: function(r) {
1119
1119
  if (e = !!r.directives && r.directives.some(function(n) {
1120
1120
  return n.name.value === "unmask";
@@ -1339,16 +1339,16 @@ var le = Object.assign(function(e) {
1339
1339
  return JSON.stringify(e, so);
1340
1340
  }, {
1341
1341
  reset: function() {
1342
- ke = new Za(
1342
+ Ie = new Za(
1343
1343
  re.canonicalStringify || 1e3
1344
1344
  /* defaultCacheSizes.canonicalStringify */
1345
1345
  );
1346
1346
  }
1347
1347
  });
1348
1348
  globalThis.__DEV__ !== !1 && gr("canonicalStringify", function() {
1349
- return ke.size;
1349
+ return Ie.size;
1350
1350
  });
1351
- var ke;
1351
+ var Ie;
1352
1352
  le.reset();
1353
1353
  function so(t, e) {
1354
1354
  if (e && typeof e == "object") {
@@ -1357,11 +1357,11 @@ function so(t, e) {
1357
1357
  var n = Object.keys(e);
1358
1358
  if (n.every(uo))
1359
1359
  return e;
1360
- var i = JSON.stringify(n), a = ke.get(i);
1360
+ var i = JSON.stringify(n), a = Ie.get(i);
1361
1361
  if (!a) {
1362
1362
  n.sort();
1363
1363
  var o = JSON.stringify(n);
1364
- a = ke.get(o) || n, ke.set(i, a), ke.set(o, a);
1364
+ a = Ie.get(o) || n, Ie.set(i, a), Ie.set(o, a);
1365
1365
  }
1366
1366
  var s = Object.create(r);
1367
1367
  return a.forEach(function(u) {
@@ -1374,7 +1374,7 @@ function so(t, e) {
1374
1374
  function uo(t, e, r) {
1375
1375
  return e === 0 || r[e - 1] <= t;
1376
1376
  }
1377
- function Ce(t) {
1377
+ function Me(t) {
1378
1378
  return { __ref: String(t) };
1379
1379
  }
1380
1380
  function M(t) {
@@ -1410,7 +1410,7 @@ function go(t) {
1410
1410
  function bo(t) {
1411
1411
  return t.kind === "NullValue";
1412
1412
  }
1413
- function Ne(t, e, r, n) {
1413
+ function Ae(t, e, r, n) {
1414
1414
  if (ho(r) || vo(r))
1415
1415
  t[e.value] = Number(r.value);
1416
1416
  else if (lo(r) || fo(r))
@@ -1418,7 +1418,7 @@ function Ne(t, e, r, n) {
1418
1418
  else if (yo(r)) {
1419
1419
  var i = {};
1420
1420
  r.fields.map(function(o) {
1421
- return Ne(i, o.name, o.value, n);
1421
+ return Ae(i, o.name, o.value, n);
1422
1422
  }), t[e.value] = i;
1423
1423
  } else if (po(r)) {
1424
1424
  var a = (n || {})[r.name.value];
@@ -1426,7 +1426,7 @@ function Ne(t, e, r, n) {
1426
1426
  } else if (mo(r))
1427
1427
  t[e.value] = r.values.map(function(o) {
1428
1428
  var s = {};
1429
- return Ne(s, e, o, n), s[e.value];
1429
+ return Ae(s, e, o, n), s[e.value];
1430
1430
  });
1431
1431
  else if (go(r))
1432
1432
  t[e.value] = r.value;
@@ -1440,13 +1440,13 @@ function _o(t, e) {
1440
1440
  t.directives && (r = {}, t.directives.forEach(function(i) {
1441
1441
  r[i.name.value] = {}, i.arguments && i.arguments.forEach(function(a) {
1442
1442
  var o = a.name, s = a.value;
1443
- return Ne(r[i.name.value], o, s, e);
1443
+ return Ae(r[i.name.value], o, s, e);
1444
1444
  });
1445
1445
  }));
1446
1446
  var n = null;
1447
1447
  return t.arguments && t.arguments.length && (n = {}, t.arguments.forEach(function(i) {
1448
1448
  var a = i.name, o = i.value;
1449
- return Ne(n, a, o, e);
1449
+ return Ae(n, a, o, e);
1450
1450
  })), ai(t.name.value, n, r);
1451
1451
  }
1452
1452
  var Eo = [
@@ -1487,12 +1487,12 @@ function St(t, e) {
1487
1487
  var r = {};
1488
1488
  return t.arguments.forEach(function(n) {
1489
1489
  var i = n.name, a = n.value;
1490
- return Ne(r, i, a, e);
1490
+ return Ae(r, i, a, e);
1491
1491
  }), r;
1492
1492
  }
1493
1493
  return null;
1494
1494
  }
1495
- function ie(t) {
1495
+ function ae(t) {
1496
1496
  return t.alias ? t.alias.value : t.name.value;
1497
1497
  }
1498
1498
  function Xt(t, e, r) {
@@ -1500,7 +1500,7 @@ function Xt(t, e, r) {
1500
1500
  var o = a[i];
1501
1501
  if (he(o)) {
1502
1502
  if (o.name.value === "__typename")
1503
- return t[ie(o)];
1503
+ return t[ae(o)];
1504
1504
  } else n ? n.push(o) : n = [o];
1505
1505
  }
1506
1506
  if (typeof t.__typename == "string")
@@ -1518,7 +1518,7 @@ function he(t) {
1518
1518
  function wo(t) {
1519
1519
  return t.kind === "InlineFragment";
1520
1520
  }
1521
- function Qe(t) {
1521
+ function Ve(t) {
1522
1522
  S(t && t.kind === "Document", 88);
1523
1523
  var e = t.definitions.filter(function(r) {
1524
1524
  return r.kind !== "FragmentDefinition";
@@ -1530,7 +1530,7 @@ function Qe(t) {
1530
1530
  return S(e.length <= 1, 90, e.length), t;
1531
1531
  }
1532
1532
  function _e(t) {
1533
- return Qe(t), t.definitions.filter(function(e) {
1533
+ return Ve(t), t.definitions.filter(function(e) {
1534
1534
  return e.kind === "OperationDefinition";
1535
1535
  })[0];
1536
1536
  }
@@ -1541,7 +1541,7 @@ function Ge(t) {
1541
1541
  return e.name.value;
1542
1542
  })[0] || null;
1543
1543
  }
1544
- function Ve(t) {
1544
+ function Le(t) {
1545
1545
  return t.definitions.filter(function(e) {
1546
1546
  return e.kind === "FragmentDefinition";
1547
1547
  });
@@ -1556,7 +1556,7 @@ function si(t) {
1556
1556
  return S(e.kind === "FragmentDefinition", 94), e;
1557
1557
  }
1558
1558
  function ot(t) {
1559
- Qe(t);
1559
+ Ve(t);
1560
1560
  for (var e, r = 0, n = t.definitions; r < n.length; r++) {
1561
1561
  var i = n[r];
1562
1562
  if (i.kind === "OperationDefinition") {
@@ -1573,7 +1573,7 @@ function ot(t) {
1573
1573
  function br(t) {
1574
1574
  var e = /* @__PURE__ */ Object.create(null), r = t && t.variableDefinitions;
1575
1575
  return r && r.length && r.forEach(function(n) {
1576
- n.defaultValue && Ne(e, n.variable.name, n.defaultValue);
1576
+ n.defaultValue && Ae(e, n.variable.name, n.defaultValue);
1577
1577
  }), e;
1578
1578
  }
1579
1579
  let L = null;
@@ -1684,7 +1684,7 @@ function Er(t) {
1684
1684
  typeof e == "function" && (t.unsubscribe = void 0, e());
1685
1685
  }
1686
1686
  const rt = [], ko = 100;
1687
- function Ae(t, e) {
1687
+ function xe(t, e) {
1688
1688
  if (!t)
1689
1689
  throw new Error(e || "assertion failure");
1690
1690
  }
@@ -1725,7 +1725,7 @@ class Dt {
1725
1725
  // usually false, (2) this.dirtyChildren is usually null/empty, and thus
1726
1726
  // (3) valueGet(this.value) is usually returned without recomputation.
1727
1727
  recompute(e) {
1728
- return Ae(!this.recomputing, "already recomputing"), Kr(this), de(this) ? Io(this, e) : ci(this.value);
1728
+ return xe(!this.recomputing, "already recomputing"), Kr(this), de(this) ? Io(this, e) : ci(this.value);
1729
1729
  }
1730
1730
  setDirty() {
1731
1731
  this.dirty || (this.dirty = !0, li(this), Er(this));
@@ -1791,7 +1791,7 @@ function wr(t, e) {
1791
1791
  }
1792
1792
  }
1793
1793
  function di(t, e) {
1794
- Ae(t.childValues.has(e)), Ae(de(e));
1794
+ xe(t.childValues.has(e)), xe(de(e));
1795
1795
  const r = !de(t);
1796
1796
  if (!t.dirtyChildren)
1797
1797
  t.dirtyChildren = rt.pop() || /* @__PURE__ */ new Set();
@@ -1800,7 +1800,7 @@ function di(t, e) {
1800
1800
  t.dirtyChildren.add(e), r && li(t);
1801
1801
  }
1802
1802
  function vi(t, e) {
1803
- Ae(t.childValues.has(e)), Ae(!de(e));
1803
+ xe(t.childValues.has(e)), xe(!de(e));
1804
1804
  const r = t.childValues.get(e);
1805
1805
  r.length === 0 ? t.childValues.set(e, fi(e.value)) : ui(r, e.value) || t.setDirty(), pi(t, e), !de(t) && hi(t);
1806
1806
  }
@@ -1811,7 +1811,7 @@ function pi(t, e) {
1811
1811
  function yi(t) {
1812
1812
  t.childValues.size > 0 && t.childValues.forEach((e, r) => {
1813
1813
  mi(t, r);
1814
- }), t.forgetDeps(), Ae(t.dirtyChildren === null);
1814
+ }), t.forgetDeps(), xe(t.dirtyChildren === null);
1815
1815
  }
1816
1816
  function mi(t, e) {
1817
1817
  e.parents.delete(t), t.childValues.delete(e), pi(t, e);
@@ -1850,7 +1850,7 @@ function gi(t) {
1850
1850
  }
1851
1851
  let en;
1852
1852
  function Po(...t) {
1853
- return (en || (en = new ae(typeof WeakMap == "function"))).lookupArray(t);
1853
+ return (en || (en = new oe(typeof WeakMap == "function"))).lookupArray(t);
1854
1854
  }
1855
1855
  const Mt = /* @__PURE__ */ new Set();
1856
1856
  function nt(t, { max: e = Math.pow(2, 16), keyArgs: r, makeCacheKey: n = Po, normalizeResult: i, subscribe: a, cache: o = Gt } = /* @__PURE__ */ Object.create(null)) {
@@ -1924,7 +1924,7 @@ var bi = (
1924
1924
  }, t.prototype.resetCache = function() {
1925
1925
  var e = this;
1926
1926
  if (this.cached) {
1927
- var r = new ae(we);
1927
+ var r = new oe(we);
1928
1928
  this.performWork = nt(t.prototype.performWork.bind(this), {
1929
1929
  makeCacheKey: function(n) {
1930
1930
  var i = e.getCacheKey(n);
@@ -1936,7 +1936,7 @@ var bi = (
1936
1936
  });
1937
1937
  }
1938
1938
  }, t.prototype.performWork = function(e) {
1939
- return Qe(e), this.transform(e);
1939
+ return Ve(e), this.transform(e);
1940
1940
  }, t.prototype.transformDocument = function(e) {
1941
1941
  if (this.resultCache.has(e))
1942
1942
  return e;
@@ -1988,7 +1988,7 @@ function _i(t, e) {
1988
1988
  });
1989
1989
  }
1990
1990
  function Ao(t) {
1991
- return _i(_e(t) || si(t), qe(Ve(t))) ? null : t;
1991
+ return _i(_e(t) || si(t), Qe(Le(t))) ? null : t;
1992
1992
  }
1993
1993
  function xo(t) {
1994
1994
  var e = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
@@ -2017,7 +2017,7 @@ function rn(t) {
2017
2017
  };
2018
2018
  }
2019
2019
  function Ei(t, e) {
2020
- Qe(e);
2020
+ Ve(e);
2021
2021
  for (var r = rn(""), n = rn(""), i = function(v) {
2022
2022
  for (var b = 0, _ = void 0; b < v.length && (_ = v[b]); ++b)
2023
2023
  if (!Q(_)) {
@@ -2038,7 +2038,7 @@ function Ei(t, e) {
2038
2038
  if (u(v.directives))
2039
2039
  return f = !0, null;
2040
2040
  }
2041
- }, h = Z(e, {
2041
+ }, h = K(e, {
2042
2042
  // These two AST node types share the same implementation, defined above.
2043
2043
  Field: l,
2044
2044
  InlineFragment: l,
@@ -2120,7 +2120,7 @@ function Ei(t, e) {
2120
2120
  return null;
2121
2121
  }
2122
2122
  };
2123
- return Ao(Z(h, {
2123
+ return Ao(K(h, {
2124
2124
  // If the fragment is going to be removed, then leaving any dangling
2125
2125
  // FragmentSpread nodes with the same name would be a mistake.
2126
2126
  FragmentSpread: g,
@@ -2143,7 +2143,7 @@ function Ei(t, e) {
2143
2143
  }));
2144
2144
  }
2145
2145
  var Or = Object.assign(function(t) {
2146
- return Z(t, {
2146
+ return K(t, {
2147
2147
  SelectionSet: {
2148
2148
  enter: function(e, r, n) {
2149
2149
  if (!(n && n.kind === N.OPERATION_DEFINITION)) {
@@ -2173,7 +2173,7 @@ function jo(t) {
2173
2173
  var e = ot(t), r = e.operation;
2174
2174
  if (r === "query")
2175
2175
  return t;
2176
- var n = Z(t, {
2176
+ var n = K(t, {
2177
2177
  OperationDefinition: {
2178
2178
  enter: function(i) {
2179
2179
  return p(p({}, i), { operation: "query" });
@@ -2183,7 +2183,7 @@ function jo(t) {
2183
2183
  return n;
2184
2184
  }
2185
2185
  function wi(t) {
2186
- Qe(t);
2186
+ Ve(t);
2187
2187
  var e = Ei([
2188
2188
  {
2189
2189
  test: function(r) {
@@ -2195,7 +2195,7 @@ function wi(t) {
2195
2195
  return e;
2196
2196
  }
2197
2197
  function qo(t) {
2198
- return Qe(t), Z(t, {
2198
+ return Ve(t), K(t, {
2199
2199
  FragmentSpread: function(e) {
2200
2200
  var r;
2201
2201
  if (!(!((r = e.directives) === null || r === void 0) && r.some(function(n) {
@@ -2312,8 +2312,8 @@ function Be(t) {
2312
2312
  function Bo(t) {
2313
2313
  return t instanceof P;
2314
2314
  }
2315
- function xe(t) {
2316
- xe.log ? xe.log(t) : setTimeout(function() {
2315
+ function je(t) {
2316
+ je.log ? je.log(t) : setTimeout(function() {
2317
2317
  throw t;
2318
2318
  });
2319
2319
  }
@@ -2322,7 +2322,7 @@ function ht(t) {
2322
2322
  try {
2323
2323
  t();
2324
2324
  } catch (e) {
2325
- xe(e);
2325
+ je(e);
2326
2326
  }
2327
2327
  });
2328
2328
  }
@@ -2337,7 +2337,7 @@ function Si(t) {
2337
2337
  r && r.call(e);
2338
2338
  }
2339
2339
  } catch (n) {
2340
- xe(n);
2340
+ je(n);
2341
2341
  }
2342
2342
  }
2343
2343
  function Kt(t) {
@@ -2369,7 +2369,7 @@ function Ti(t, e, r) {
2369
2369
  break;
2370
2370
  }
2371
2371
  } catch (a) {
2372
- xe(a);
2372
+ je(a);
2373
2373
  }
2374
2374
  t._state === "closed" ? Si(t) : t._state === "running" && (t._state = "ready");
2375
2375
  }
@@ -2661,7 +2661,7 @@ var $o = /* @__PURE__ */ function() {
2661
2661
  Tr() && Object.defineProperty(P, Symbol("extensions"), {
2662
2662
  value: {
2663
2663
  symbol: Zt,
2664
- hostReportError: xe
2664
+ hostReportError: je
2665
2665
  },
2666
2666
  configurable: !0
2667
2667
  });
@@ -2681,9 +2681,9 @@ function Ho(t) {
2681
2681
  e = "@@observable";
2682
2682
  return e;
2683
2683
  }
2684
- var Te;
2685
- typeof self < "u" ? Te = self : typeof window < "u" ? Te = window : typeof global < "u" ? Te = global : typeof module < "u" ? Te = module : Te = Function("return this")();
2686
- Ho(Te);
2684
+ var De;
2685
+ typeof self < "u" ? De = self : typeof window < "u" ? De = window : typeof global < "u" ? De = global : typeof module < "u" ? De = module : De = Function("return this")();
2686
+ Ho(De);
2687
2687
  var sn = P.prototype, un = "@@observable";
2688
2688
  sn[un] || (sn[un] = function() {
2689
2689
  return this;
@@ -2737,7 +2737,7 @@ function Zo(t) {
2737
2737
  }
2738
2738
  return t;
2739
2739
  }
2740
- function je(t) {
2740
+ function qe(t) {
2741
2741
  return globalThis.__DEV__ !== !1 && Xo(t), t;
2742
2742
  }
2743
2743
  function Ye(t, e, r) {
@@ -2801,7 +2801,7 @@ function ki(t) {
2801
2801
  function cn(t) {
2802
2802
  return t && typeof t.then == "function";
2803
2803
  }
2804
- var De = (
2804
+ var ke = (
2805
2805
  /** @class */
2806
2806
  function(t) {
2807
2807
  ne(e, t);
@@ -2865,22 +2865,22 @@ var De = (
2865
2865
  }, e;
2866
2866
  }(P)
2867
2867
  );
2868
- ki(De);
2869
- function Me(t) {
2868
+ ki(ke);
2869
+ function Pe(t) {
2870
2870
  return "incremental" in t;
2871
2871
  }
2872
2872
  function Ko(t) {
2873
2873
  return "hasNext" in t && "data" in t;
2874
2874
  }
2875
2875
  function es(t) {
2876
- return Me(t) || Ko(t);
2876
+ return Pe(t) || Ko(t);
2877
2877
  }
2878
2878
  function ts(t) {
2879
2879
  return q(t) && "payload" in t;
2880
2880
  }
2881
2881
  function Ii(t, e) {
2882
2882
  var r = t, n = new ve();
2883
- return Me(e) && H(e.incremental) && e.incremental.forEach(function(i) {
2883
+ return Pe(e) && H(e.incremental) && e.incremental.forEach(function(i) {
2884
2884
  for (var a = i.data, o = i.path, s = o.length - 1; s >= 0; --s) {
2885
2885
  var u = o[s], c = !isNaN(+u), f = c ? [] : {};
2886
2886
  f[u] = a, a = f;
@@ -2894,7 +2894,7 @@ function dt(t) {
2894
2894
  }
2895
2895
  function tr(t) {
2896
2896
  var e = H(t.errors) ? t.errors.slice(0) : [];
2897
- return Me(t) && H(t.incremental) && t.incremental.forEach(function(r) {
2897
+ return Pe(t) && H(t.incremental) && t.incremental.forEach(function(r) {
2898
2898
  r.errors && e.push.apply(e, r.errors);
2899
2899
  }), e;
2900
2900
  }
@@ -2962,7 +2962,7 @@ function is(t) {
2962
2962
  }
2963
2963
  function as(t, e) {
2964
2964
  var r = p({}, t), n = new Set(Object.keys(t));
2965
- return Z(e, {
2965
+ return K(e, {
2966
2966
  Variable: function(i, a, o) {
2967
2967
  o && o.kind !== "VariableDefinition" && n.delete(i.name.value);
2968
2968
  }
@@ -2974,12 +2974,12 @@ function fn(t, e) {
2974
2974
  return e ? e(t) : P.of();
2975
2975
  }
2976
2976
  function Ue(t) {
2977
- return typeof t == "function" ? new Le(t) : t;
2977
+ return typeof t == "function" ? new ze(t) : t;
2978
2978
  }
2979
2979
  function ft(t) {
2980
2980
  return t.request.length <= 1;
2981
2981
  }
2982
- var Le = (
2982
+ var ze = (
2983
2983
  /** @class */
2984
2984
  function() {
2985
2985
  function t(e) {
@@ -3030,7 +3030,7 @@ var Le = (
3030
3030
  return this.onError = e, this;
3031
3031
  }, t;
3032
3032
  }()
3033
- ), rr = Le.execute;
3033
+ ), rr = ze.execute;
3034
3034
  function os(t) {
3035
3035
  var e, r = t[Symbol.asyncIterator]();
3036
3036
  return e = {
@@ -3381,7 +3381,7 @@ function Cs(t, e) {
3381
3381
  var c = s.indexOf("?") === -1 ? "?" : "&", f = s + c + r.join("&") + o;
3382
3382
  return { newURI: f };
3383
3383
  }
3384
- var dn = X(function() {
3384
+ var dn = Z(function() {
3385
3385
  return fetch;
3386
3386
  }), Mi = function(t) {
3387
3387
  t === void 0 && (t = {});
@@ -3393,7 +3393,7 @@ var dn = X(function() {
3393
3393
  credentials: l.credentials,
3394
3394
  headers: l.headers
3395
3395
  };
3396
- return new Le(function(d) {
3396
+ return new ze(function(d) {
3397
3397
  var y = Rs(d, r), m = d.getContext(), g = {};
3398
3398
  if (m.clientAwareness) {
3399
3399
  var v = m.clientAwareness, b = v.name, _ = v.version;
@@ -3422,14 +3422,14 @@ var dn = X(function() {
3422
3422
  }, j = J(ot(d.query)), U = tt(["defer"], d.query);
3423
3423
  if (u && !d.query.definitions.some(B) && (k.method = "GET"), U || j) {
3424
3424
  k.headers = k.headers || {};
3425
- var K = "multipart/mixed;";
3426
- j && U && globalThis.__DEV__ !== !1 && S.warn(41), j ? K += "boundary=graphql;subscriptionSpec=1.0,application/json" : U && (K += "deferSpec=20220824,application/json"), k.headers.accept = K;
3425
+ var Y = "multipart/mixed;";
3426
+ j && U && globalThis.__DEV__ !== !1 && S.warn(41), j ? Y += "boundary=graphql;subscriptionSpec=1.0,application/json" : U && (Y += "deferSpec=20220824,application/json"), k.headers.accept = Y;
3427
3427
  }
3428
3428
  if (k.method === "GET") {
3429
- var oe = Cs(y, R), ze = oe.newURI, Oe = oe.parseError;
3430
- if (Oe)
3431
- return At(Oe);
3432
- y = ze;
3429
+ var ie = Cs(y, R), Oe = ie.newURI, Se = ie.parseError;
3430
+ if (Se)
3431
+ return At(Se);
3432
+ y = Oe;
3433
3433
  } else
3434
3434
  try {
3435
3435
  k.body = nr(R, "Payload");
@@ -3437,18 +3437,18 @@ var dn = X(function() {
3437
3437
  return At($);
3438
3438
  }
3439
3439
  return new P(function($) {
3440
- var ca = n || X(function() {
3440
+ var ca = n || Z(function() {
3441
3441
  return fetch;
3442
3442
  }) || dn, Ar = $.next.bind($);
3443
- return ca(y, k).then(function(Se) {
3443
+ return ca(y, k).then(function(Te) {
3444
3444
  var It;
3445
- d.setContext({ response: Se });
3446
- var xr = (It = Se.headers) === null || It === void 0 ? void 0 : It.get("content-type");
3447
- return xr !== null && /^multipart\/mixed/i.test(xr) ? gs(Se, Ar) : Es(d)(Se).then(Ar);
3445
+ d.setContext({ response: Te });
3446
+ var xr = (It = Te.headers) === null || It === void 0 ? void 0 : It.get("content-type");
3447
+ return xr !== null && /^multipart\/mixed/i.test(xr) ? gs(Te, Ar) : Es(d)(Te).then(Ar);
3448
3448
  }).then(function() {
3449
3449
  A = void 0, $.complete();
3450
- }).catch(function(Se) {
3451
- A = void 0, _s(Se, $);
3450
+ }).catch(function(Te) {
3451
+ A = void 0, _s(Te, $);
3452
3452
  }), function() {
3453
3453
  A && A.abort();
3454
3454
  };
@@ -3464,7 +3464,7 @@ var dn = X(function() {
3464
3464
  return n.options = r, n;
3465
3465
  }
3466
3466
  return e;
3467
- }(Le)
3467
+ }(ze)
3468
3468
  );
3469
3469
  const { toString: vn, hasOwnProperty: Ps } = Object.prototype, pn = Function.prototype.toString, ir = /* @__PURE__ */ new Map();
3470
3470
  function C(t, e) {
@@ -3580,7 +3580,7 @@ function mn(t, e) {
3580
3580
  function Pi(t, e, r, n) {
3581
3581
  var i = e.data, a = G(e, ["data"]), o = r.data, s = G(r, ["data"]);
3582
3582
  return C(a, s) && vt(ot(t).selectionSet, i, o, {
3583
- fragmentMap: qe(Ve(t)),
3583
+ fragmentMap: Qe(Le(t)),
3584
3584
  variables: n
3585
3585
  });
3586
3586
  }
@@ -3592,7 +3592,7 @@ function vt(t, e, r, n) {
3592
3592
  if (i.has(a) || (i.add(a), !at(a, n.variables)) || gn(a))
3593
3593
  return !0;
3594
3594
  if (he(a)) {
3595
- var o = ie(a), s = e && e[o], u = r && r[o], c = a.selectionSet;
3595
+ var o = ae(a), s = e && e[o], u = r && r[o], c = a.selectionSet;
3596
3596
  if (!c)
3597
3597
  return C(s, u);
3598
3598
  var f = Array.isArray(s), l = Array.isArray(u);
@@ -3637,7 +3637,7 @@ function xi() {
3637
3637
  function ji(t, e, r) {
3638
3638
  return Fr.withValue(!0, function() {
3639
3639
  var n = He(t, e, r, !1);
3640
- return Object.isFrozen(t) && je(n), n;
3640
+ return Object.isFrozen(t) && qe(n), n;
3641
3641
  });
3642
3642
  }
3643
3643
  function qs(t, e) {
@@ -3663,7 +3663,7 @@ function He(t, e, r, n, i) {
3663
3663
  for (var y = 0, m = e.selections; y < m.length; y++) {
3664
3664
  var g = m[y], v = void 0;
3665
3665
  if (n && o.add(s), g.kind === N.FIELD) {
3666
- var b = ie(g), _ = g.selectionSet;
3666
+ var b = ae(g), _ = g.selectionSet;
3667
3667
  if (v = s[b] || t[b], v === void 0)
3668
3668
  continue;
3669
3669
  if (_ && v !== null) {
@@ -3718,7 +3718,7 @@ function qi(t, e, r, n) {
3718
3718
  return S(!!a, 50, n), t == null || C(t, {}) ? t : ji(t, a.selectionSet, {
3719
3719
  operationType: "fragment",
3720
3720
  operationName: a.name.value,
3721
- fragmentMap: qe(Ve(e)),
3721
+ fragmentMap: Qe(Le(e)),
3722
3722
  cache: r,
3723
3723
  mutableTargets: new Ni(),
3724
3724
  knownChanged: new Ai()
@@ -3732,7 +3732,7 @@ function Vs(t, e, r) {
3732
3732
  return S(i, 51), t == null ? t : ji(t, i.selectionSet, {
3733
3733
  operationType: i.operation,
3734
3734
  operationName: (n = i.name) === null || n === void 0 ? void 0 : n.value,
3735
- fragmentMap: qe(Ve(e)),
3735
+ fragmentMap: Qe(Le(e)),
3736
3736
  cache: r,
3737
3737
  mutableTargets: new Ni(),
3738
3738
  knownChanged: new Ai()
@@ -3884,20 +3884,20 @@ function or(t, e, r) {
3884
3884
  return or(t, n, r);
3885
3885
  }) : t.selections.every(function(n) {
3886
3886
  if (he(n) && at(n, r)) {
3887
- var i = ie(n);
3887
+ var i = ae(n);
3888
3888
  return V.call(e, i) && (!n.selectionSet || or(n.selectionSet, e[i], r));
3889
3889
  }
3890
3890
  return !0;
3891
3891
  }) : !1;
3892
3892
  }
3893
- function Ie(t) {
3893
+ function Fe(t) {
3894
3894
  return q(t) && !M(t) && !Q(t);
3895
3895
  }
3896
3896
  function Ws() {
3897
3897
  return new ve();
3898
3898
  }
3899
3899
  function Ui(t, e) {
3900
- var r = qe(Ve(t));
3900
+ var r = Qe(Le(t));
3901
3901
  return {
3902
3902
  fragmentMap: r,
3903
3903
  lookupFragment: function(n) {
@@ -3914,17 +3914,17 @@ var pt = /* @__PURE__ */ Object.create(null), xt = function() {
3914
3914
  function t(e, r) {
3915
3915
  var n = this;
3916
3916
  this.policies = e, this.group = r, this.data = /* @__PURE__ */ Object.create(null), this.rootIds = /* @__PURE__ */ Object.create(null), this.refs = /* @__PURE__ */ Object.create(null), this.getFieldValue = function(i, a) {
3917
- return je(M(i) ? n.get(i.__ref, a) : i && i[a]);
3917
+ return qe(M(i) ? n.get(i.__ref, a) : i && i[a]);
3918
3918
  }, this.canRead = function(i) {
3919
3919
  return M(i) ? n.has(i.__ref) : typeof i == "object";
3920
3920
  }, this.toReference = function(i, a) {
3921
3921
  if (typeof i == "string")
3922
- return Ce(i);
3922
+ return Me(i);
3923
3923
  if (M(i))
3924
3924
  return i;
3925
3925
  var o = n.policies.identify(i)[0];
3926
3926
  if (o) {
3927
- var s = Ce(o);
3927
+ var s = Me(o);
3928
3928
  return a && n.merge(o, i), s;
3929
3929
  }
3930
3930
  };
@@ -3986,7 +3986,7 @@ var pt = /* @__PURE__ */ Object.create(null), xt = function() {
3986
3986
  readField: function(c, f) {
3987
3987
  return n.policies.readField(typeof c == "string" ? {
3988
3988
  fieldName: c,
3989
- from: f || Ce(e)
3989
+ from: f || Me(e)
3990
3990
  } : c, { store: n });
3991
3991
  }
3992
3992
  };
@@ -3995,7 +3995,7 @@ var pt = /* @__PURE__ */ Object.create(null), xt = function() {
3995
3995
  if (l !== void 0) {
3996
3996
  var h = typeof r == "function" ? r : r[c] || r[f];
3997
3997
  if (h) {
3998
- var d = h === xt ? pt : h(je(l), p(p({}, u), { fieldName: f, storeFieldName: c, storage: n.getStorage(e, c) }));
3998
+ var d = h === xt ? pt : h(qe(l), p(p({}, u), { fieldName: f, storeFieldName: c, storage: n.getStorage(e, c) }));
3999
3999
  if (d === _n)
4000
4000
  n.group.dirty(e, c);
4001
4001
  else if (d === pt && (d = void 0), d !== l && (a[c] = d, o = !0, l = d, globalThis.__DEV__ !== !1)) {
@@ -4104,7 +4104,7 @@ var pt = /* @__PURE__ */ Object.create(null), xt = function() {
4104
4104
  r === void 0 && (r = null), this.caching = e, this.parent = r, this.d = null, this.resetCaching();
4105
4105
  }
4106
4106
  return t.prototype.resetCaching = function() {
4107
- this.d = this.caching ? gi() : null, this.keyMaker = new ae(we);
4107
+ this.d = this.caching ? gi() : null, this.keyMaker = new oe(we);
4108
4108
  }, t.prototype.depend = function(e, r) {
4109
4109
  if (this.d) {
4110
4110
  this.d(jt(e, r));
@@ -4139,7 +4139,7 @@ function En(t, e) {
4139
4139
  ne(n, r);
4140
4140
  function n(i) {
4141
4141
  var a = i.policies, o = i.resultCaching, s = o === void 0 ? !0 : o, u = i.seed, c = r.call(this, a, new $i(s)) || this;
4142
- return c.stump = new Bs(c), c.storageTrie = new ae(we), u && c.replace(u), c;
4142
+ return c.stump = new Bs(c), c.storageTrie = new oe(we), u && c.replace(u), c;
4143
4143
  }
4144
4144
  return n.prototype.addLayer = function(i, a) {
4145
4145
  return this.stump.addLayer(i, a);
@@ -4219,7 +4219,7 @@ var wn = (
4219
4219
  /** @class */
4220
4220
  function() {
4221
4221
  function t() {
4222
- this.known = new (pr ? WeakSet : Set)(), this.pool = new ae(we), this.passes = /* @__PURE__ */ new WeakMap(), this.keysByJSON = /* @__PURE__ */ new Map(), this.empty = this.admit({});
4222
+ this.known = new (pr ? WeakSet : Set)(), this.pool = new oe(we), this.passes = /* @__PURE__ */ new WeakMap(), this.keysByJSON = /* @__PURE__ */ new Map(), this.empty = this.admit({});
4223
4223
  }
4224
4224
  return t.prototype.isKnown = function(e) {
4225
4225
  return q(e) && this.known.has(e);
@@ -4328,7 +4328,7 @@ var Hs = (
4328
4328
  }, t.prototype.diffQueryAgainstStore = function(e) {
4329
4329
  var r = e.store, n = e.query, i = e.rootId, a = i === void 0 ? "ROOT_QUERY" : i, o = e.variables, s = e.returnPartialData, u = s === void 0 ? !0 : s, c = e.canonizeResults, f = c === void 0 ? this.config.canonizeResults : c, l = this.config.cache.policies;
4330
4330
  o = p(p({}, br(oi(n))), o);
4331
- var h = Ce(a), d = this.executeSelectionSet({
4331
+ var h = Me(a), d = this.executeSelectionSet({
4332
4332
  selectionSet: ot(n).selectionSet,
4333
4333
  objectOrReference: h,
4334
4334
  enclosingRef: h,
@@ -4381,7 +4381,7 @@ var Hs = (
4381
4381
  field: _,
4382
4382
  variables: o.variables,
4383
4383
  from: i
4384
- }, o), D = ie(_);
4384
+ }, o), D = ae(_);
4385
4385
  O === void 0 ? Or.added(_) || (h = d.merge(h, (E = {}, E[D] = "Can't find field '".concat(_.name.value, "' on ").concat(M(i) ? i.__ref + " object" : "object " + JSON.stringify(i, null, 2)), E))) : Q(O) ? O.length > 0 && (O = y(r.executeSubSelectedArray({
4386
4386
  field: _,
4387
4387
  array: O,
@@ -4400,7 +4400,7 @@ var Hs = (
4400
4400
  k && u.fragmentMatches(k, f) && k.selectionSet.selections.forEach(m.add, m);
4401
4401
  }
4402
4402
  });
4403
- var g = kt(l), v = { result: g, missing: h }, b = o.canonizeResults ? this.canon.admit(v) : je(v);
4403
+ var g = kt(l), v = { result: g, missing: h }, b = o.canonizeResults ? this.canon.admit(v) : qe(v);
4404
4404
  return b.result && this.knownResults.set(b.result, n), b;
4405
4405
  }, t.prototype.execSubSelectedArrayImpl = function(e) {
4406
4406
  var r = this, n = e.field, i = e.array, a = e.enclosingRef, o = e.context, s, u = new ve();
@@ -4513,7 +4513,7 @@ function kn(t) {
4513
4513
  var i = function(o, s) {
4514
4514
  return n.readField(s, o);
4515
4515
  }, a = n.keyObject = Mr(t, function(o) {
4516
- var s = Pe(
4516
+ var s = Ne(
4517
4517
  n.storeObject,
4518
4518
  o,
4519
4519
  // Using context.readField to extract paths from context.storeObject
@@ -4521,7 +4521,7 @@ function kn(t) {
4521
4521
  // custom read functions.
4522
4522
  i
4523
4523
  );
4524
- return s === void 0 && r !== n.storeObject && V.call(r, o[0]) && (s = Pe(r, o, Hi)), S(s !== void 0, 5, o.join("."), r), s;
4524
+ return s === void 0 && r !== n.storeObject && V.call(r, o[0]) && (s = Ne(r, o, Hi)), S(s !== void 0, 5, o.join("."), r), s;
4525
4525
  });
4526
4526
  return "".concat(n.typename, ":").concat(JSON.stringify(a));
4527
4527
  });
@@ -4536,7 +4536,7 @@ function In(t) {
4536
4536
  var h = f.slice(1), d = i.directives.find(function(v) {
4537
4537
  return v.name.value === h;
4538
4538
  }), y = d && St(d, a);
4539
- return y && Pe(
4539
+ return y && Ne(
4540
4540
  y,
4541
4541
  // If keyPath.length === 1, this code calls extractKeyPath with an
4542
4542
  // empty path, which works because it uses directiveArgs as the
@@ -4550,12 +4550,12 @@ function In(t) {
4550
4550
  var m = f.slice(1);
4551
4551
  if (a && V.call(a, m)) {
4552
4552
  var g = c.slice(0);
4553
- return g[0] = m, Pe(a, g);
4553
+ return g[0] = m, Ne(a, g);
4554
4554
  }
4555
4555
  return;
4556
4556
  }
4557
4557
  if (r)
4558
- return Pe(r, c);
4558
+ return Ne(r, c);
4559
4559
  }), u = JSON.stringify(s);
4560
4560
  return (r || u !== "{}") && (o += ":" + u), o;
4561
4561
  });
@@ -4587,7 +4587,7 @@ function Gi(t) {
4587
4587
  function Hi(t, e) {
4588
4588
  return t[e];
4589
4589
  }
4590
- function Pe(t, e, r) {
4590
+ function Ne(t, e, r) {
4591
4591
  return r = r || Hi, Ji(e.reduce(function n(i, a) {
4592
4592
  return Q(i) ? i.map(function(o) {
4593
4593
  return n(o, a);
@@ -4596,7 +4596,7 @@ function Pe(t, e, r) {
4596
4596
  }
4597
4597
  function Ji(t) {
4598
4598
  return q(t) ? Q(t) ? t.map(Ji) : Mr(Object.keys(t).sort(), function(e) {
4599
- return Pe(t, e);
4599
+ return Ne(t, e);
4600
4600
  }) : t;
4601
4601
  }
4602
4602
  function sr(t) {
@@ -4846,11 +4846,11 @@ function Yi(t) {
4846
4846
  var i = t.getFieldValue(r, "__typename"), a = t.getFieldValue(n, "__typename"), o = i && a && i !== a;
4847
4847
  if (o)
4848
4848
  return n;
4849
- if (M(r) && Ie(n))
4849
+ if (M(r) && Fe(n))
4850
4850
  return t.merge(r.__ref, n), r;
4851
- if (Ie(r) && M(n))
4851
+ if (Fe(r) && M(n))
4852
4852
  return t.merge(r, n.__ref), n;
4853
- if (Ie(r) && Ie(n))
4853
+ if (Fe(r) && Fe(n))
4854
4854
  return p(p({}, r), n);
4855
4855
  }
4856
4856
  return n;
@@ -4881,7 +4881,7 @@ var ru = (
4881
4881
  if (!M(h))
4882
4882
  throw W(12, a);
4883
4883
  return l.incomingById.forEach(function(d, y) {
4884
- var m = d.storeObject, g = d.mergeTree, v = d.fieldNodeSet, b = Ce(y);
4884
+ var m = d.storeObject, g = d.mergeTree, v = d.fieldNodeSet, b = Me(y);
4885
4885
  if (g && g.map.size) {
4886
4886
  var _ = n.applyMerges(g, b, m, l);
4887
4887
  if (M(_))
@@ -4929,7 +4929,7 @@ var ru = (
4929
4929
  o,
4930
4930
  f
4931
4931
  ).forEach(function(_, E) {
4932
- var w, O = ie(E), D = i[O];
4932
+ var w, O = ae(E), D = i[O];
4933
4933
  if (h.add(E), D !== void 0) {
4934
4934
  var k = u.getStoreFieldName({
4935
4935
  typename: f,
@@ -4944,7 +4944,7 @@ var ru = (
4944
4944
  E.selectionSet ? qt(_, !1, !1) : _,
4945
4945
  R
4946
4946
  ), B = void 0;
4947
- E.selectionSet && (M(A) || Ie(A)) && (B = l("__typename", A));
4947
+ E.selectionSet && (M(A) || Fe(A)) && (B = l("__typename", A));
4948
4948
  var J = u.getMergeFunction(f, E.name.value, B);
4949
4949
  J ? R.info = {
4950
4950
  // TODO Check compatibility against any existing childTree.field?
@@ -4955,7 +4955,7 @@ var ru = (
4955
4955
  } else globalThis.__DEV__ !== !1 && !_.clientOnly && !_.deferred && !Or.added(E) && // If the field has a read function, it may be a synthetic field or
4956
4956
  // provide a default value, so its absence from the written data should
4957
4957
  // not be cause for alarm.
4958
- !u.getReadFunction(f, E.name.value) && globalThis.__DEV__ !== !1 && S.error(13, ie(E), i);
4958
+ !u.getReadFunction(f, E.name.value) && globalThis.__DEV__ !== !1 && S.error(13, ae(E), i);
4959
4959
  });
4960
4960
  try {
4961
4961
  var d = u.identify(i, {
@@ -4971,7 +4971,7 @@ var ru = (
4971
4971
  throw _;
4972
4972
  }
4973
4973
  if (typeof n == "string") {
4974
- var g = Ce(n), v = o.written[n] || (o.written[n] = []);
4974
+ var g = Me(n), v = o.written[n] || (o.written[n] = []);
4975
4975
  if (v.indexOf(a) >= 0 || (v.push(a), this.reader && this.reader.isFresh(i, g, a, o)))
4976
4976
  return g;
4977
4977
  var b = o.incomingById.get(n);
@@ -5000,7 +5000,7 @@ var ru = (
5000
5000
  });
5001
5001
  }, t.prototype.flattenFields = function(e, r, n, i) {
5002
5002
  i === void 0 && (i = Xt(r, e, n.fragmentMap));
5003
- var a = /* @__PURE__ */ new Map(), o = this.cache.policies, s = new ae(!1);
5003
+ var a = /* @__PURE__ */ new Map(), o = this.cache.policies, s = new oe(!1);
5004
5004
  return function u(c, f) {
5005
5005
  var l = s.lookup(
5006
5006
  c,
@@ -5047,7 +5047,7 @@ var ru = (
5047
5047
  !Q(n) && // Likewise, existing must be either a Reference or a StoreObject
5048
5048
  // in order for its fields to be safe to merge with the fields of
5049
5049
  // the incoming object.
5050
- (M(r) || Ie(r)) ? r : void 0
5050
+ (M(r) || Fe(r)) ? r : void 0
5051
5051
  ), c = n;
5052
5052
  u && !a && (a = [M(u) ? u.__ref : u]);
5053
5053
  var f, l = function(h, d) {
@@ -5293,7 +5293,7 @@ var F;
5293
5293
  (function(t) {
5294
5294
  t[t.loading = 1] = "loading", t[t.setVariables = 2] = "setVariables", t[t.fetchMore = 3] = "fetchMore", t[t.refetch = 4] = "refetch", t[t.poll = 6] = "poll", t[t.ready = 7] = "ready", t[t.error = 8] = "error";
5295
5295
  })(F || (F = {}));
5296
- function Fe(t) {
5296
+ function Re(t) {
5297
5297
  return t ? t < 7 : !1;
5298
5298
  }
5299
5299
  var xn = Object.assign, iu = Object.hasOwnProperty, et = (
@@ -5367,7 +5367,7 @@ var xn = Object.assign, iu = Object.hasOwnProperty, et = (
5367
5367
  this.queryInfo.resetDiff();
5368
5368
  }, e.prototype.getCurrentFullResult = function(r) {
5369
5369
  r === void 0 && (r = !0);
5370
- var n = this.getLastResult(!0), i = this.queryInfo.networkStatus || n && n.networkStatus || F.ready, a = p(p({}, n), { loading: Fe(i), networkStatus: i }), o = this.options.fetchPolicy, s = o === void 0 ? "cache-first" : o;
5370
+ var n = this.getLastResult(!0), i = this.queryInfo.networkStatus || n && n.networkStatus || F.ready, a = p(p({}, n), { loading: Re(i), networkStatus: i }), o = this.options.fetchPolicy, s = o === void 0 ? "cache-first" : o;
5371
5371
  if (
5372
5372
  // These fetch policies should never deliver data from the cache, unless
5373
5373
  // redelivering a previously delivered result.
@@ -5463,7 +5463,7 @@ var xn = Object.assign, iu = Object.hasOwnProperty, et = (
5463
5463
  fetchMoreResult: l.data,
5464
5464
  variables: i.variables
5465
5465
  });
5466
- n.reportResult(p(p({}, h), { networkStatus: s, loading: Fe(s), data: d }), n.variables);
5466
+ n.reportResult(p(p({}, h), { networkStatus: s, loading: Re(s), data: d }), n.variables);
5467
5467
  }
5468
5468
  return n.maskResult(l);
5469
5469
  }).finally(function() {
@@ -5551,7 +5551,7 @@ var xn = Object.assign, iu = Object.hasOwnProperty, et = (
5551
5551
  o.interval = a;
5552
5552
  var s = function() {
5553
5553
  var c, f;
5554
- r.pollingInfo && (!Fe(r.queryInfo.networkStatus) && !(!((f = (c = r.options).skipPollAttempt) === null || f === void 0) && f.call(c)) ? r.reobserve({
5554
+ r.pollingInfo && (!Re(r.queryInfo.networkStatus) && !(!((f = (c = r.options).skipPollAttempt) === null || f === void 0) && f.call(c)) ? r.reobserve({
5555
5555
  // Most fetchPolicy options don't make sense to use in a polling context, as
5556
5556
  // users wouldn't want to be polling the cache directly. However, network-only and
5557
5557
  // no-cache are both useful for when the user wants to control whether or not the
@@ -5652,7 +5652,7 @@ var xn = Object.assign, iu = Object.hasOwnProperty, et = (
5652
5652
  return r.notify();
5653
5653
  }, 0)));
5654
5654
  }, e.prototype.notify = function() {
5655
- if (this.cancelNotifyTimeout(), this.dirty && (this.options.fetchPolicy == "cache-only" || this.options.fetchPolicy == "cache-and-network" || !Fe(this.queryInfo.networkStatus))) {
5655
+ if (this.cancelNotifyTimeout(), this.dirty && (this.options.fetchPolicy == "cache-only" || this.options.fetchPolicy == "cache-and-network" || !Re(this.queryInfo.networkStatus))) {
5656
5656
  var r = this.queryInfo.getDiff();
5657
5657
  r.fromOptimisticTransaction ? this.observe() : this.reobserveCacheFirst();
5658
5658
  }
@@ -5680,17 +5680,17 @@ function Ki(t) {
5680
5680
  function Qt(t) {
5681
5681
  return t === "network-only" || t === "no-cache" || t === "standby";
5682
5682
  }
5683
- var Re = new (we ? WeakMap : Map)();
5683
+ var Ce = new (we ? WeakMap : Map)();
5684
5684
  function Vt(t, e) {
5685
5685
  var r = t[e];
5686
5686
  typeof r == "function" && (t[e] = function() {
5687
- return Re.set(
5687
+ return Ce.set(
5688
5688
  t,
5689
5689
  // The %1e15 allows the count to wrap around to 0 safely every
5690
5690
  // quadrillion evictions, so there's no risk of overflow. To be
5691
5691
  // clear, this is more of a pedantic principle than something
5692
5692
  // that matters in any conceivable practical scenario.
5693
- (Re.get(t) + 1) % 1e15
5693
+ (Ce.get(t) + 1) % 1e15
5694
5694
  ), r.apply(this, arguments);
5695
5695
  });
5696
5696
  }
@@ -5700,7 +5700,7 @@ var Lt = (
5700
5700
  function t(e, r) {
5701
5701
  r === void 0 && (r = e.generateQueryId()), this.queryId = r, this.document = null, this.lastRequestId = 1, this.stopped = !1, this.observableQuery = null;
5702
5702
  var n = this.cache = e.cache;
5703
- Re.has(n) || (Re.set(n, 0), Vt(n, "evict"), Vt(n, "modify"), Vt(n, "reset"));
5703
+ Ce.has(n) || (Ce.set(n, 0), Vt(n, "evict"), Vt(n, "modify"), Vt(n, "reset"));
5704
5704
  }
5705
5705
  return t.prototype.init = function(e) {
5706
5706
  var r = e.networkStatus || F.loading;
@@ -5769,7 +5769,7 @@ var Lt = (
5769
5769
  return !(n && // If cache.evict has been called since the last time we wrote this
5770
5770
  // data into the cache, there's a chance writing this result into
5771
5771
  // the cache will repair what was evicted.
5772
- n.dmCount === Re.get(this.cache) && C(r, n.variables) && C(e.data, n.result.data));
5772
+ n.dmCount === Ce.get(this.cache) && C(r, n.variables) && C(e.data, n.result.data));
5773
5773
  }, t.prototype.markResult = function(e, r, n, i) {
5774
5774
  var a = this, o, s = new ve(), u = H(e.errors) ? e.errors.slice(0) : [];
5775
5775
  if ((o = this.observableQuery) === null || o === void 0 || o.resetNotifications(), "incremental" in e && H(e.incremental)) {
@@ -5789,7 +5789,7 @@ var Lt = (
5789
5789
  }), a.lastWrite = {
5790
5790
  result: e,
5791
5791
  variables: n.variables,
5792
- dmCount: Re.get(a.cache)
5792
+ dmCount: Ce.get(a.cache)
5793
5793
  };
5794
5794
  else if (a.lastDiff && a.lastDiff.diff.complete) {
5795
5795
  e.data = a.lastDiff.diff.result;
@@ -5819,7 +5819,7 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
5819
5819
  this.clientAwareness = {}, this.queries = /* @__PURE__ */ new Map(), this.fetchCancelFns = /* @__PURE__ */ new Map(), this.transformCache = new mr(
5820
5820
  re["queryManager.getDocumentInfo"] || 2e3
5821
5821
  /* defaultCacheSizes["queryManager.getDocumentInfo"] */
5822
- ), this.queryIdCounter = 1, this.requestIdCounter = 1, this.mutationIdCounter = 1, this.inFlightLinkObservables = new ae(!1), this.noCacheWarningsByQueryId = /* @__PURE__ */ new Set();
5822
+ ), this.queryIdCounter = 1, this.requestIdCounter = 1, this.mutationIdCounter = 1, this.inFlightLinkObservables = new oe(!1), this.noCacheWarningsByQueryId = /* @__PURE__ */ new Set();
5823
5823
  var n = new bi(
5824
5824
  function(a) {
5825
5825
  return r.cache.transformDocument(a);
@@ -5913,12 +5913,12 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
5913
5913
  r === void 0 && (r = this.cache);
5914
5914
  var i = e.result, a = [], o = e.fetchPolicy === "no-cache";
5915
5915
  if (!o && cr(i, e.errorPolicy)) {
5916
- if (Me(i) || a.push({
5916
+ if (Pe(i) || a.push({
5917
5917
  result: i.data,
5918
5918
  dataId: "ROOT_MUTATION",
5919
5919
  query: e.document,
5920
5920
  variables: e.variables
5921
- }), Me(i) && H(i.incremental)) {
5921
+ }), Pe(i) && H(i.incremental)) {
5922
5922
  var s = r.diff({
5923
5923
  id: "ROOT_MUTATION",
5924
5924
  // The cache complains if passed a mutation where it expects a
@@ -5969,7 +5969,7 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
5969
5969
  o || a.forEach(function(m) {
5970
5970
  return l.write(m);
5971
5971
  });
5972
- var h = e.update, d = !es(i) || Me(i) && !i.hasNext;
5972
+ var h = e.update, d = !es(i) || Pe(i) && !i.hasNext;
5973
5973
  if (h) {
5974
5974
  if (!o) {
5975
5975
  var y = l.diff({
@@ -6226,7 +6226,7 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
6226
6226
  if (r = m.context, a) {
6227
6227
  var g = ge(f), v = le(n), b = d.lookup(g, v);
6228
6228
  if (u = b.observable, !u) {
6229
- var _ = new De([
6229
+ var _ = new ke([
6230
6230
  rr(y, m)
6231
6231
  ]);
6232
6232
  u = b.observable = _, _.beforeNext(function E(w, O) {
@@ -6234,11 +6234,11 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
6234
6234
  });
6235
6235
  }
6236
6236
  } else
6237
- u = new De([
6237
+ u = new ke([
6238
6238
  rr(y, m)
6239
6239
  ]);
6240
6240
  } else
6241
- u = new De([P.of({ data: {} })]), r = this.prepareContext(r);
6241
+ u = new ke([P.of({ data: {} })]), r = this.prepareContext(r);
6242
6242
  return l && (u = Nt(u, function(E) {
6243
6243
  return o.localState.runResolvers({
6244
6244
  document: l,
@@ -6299,12 +6299,12 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
6299
6299
  });
6300
6300
  var w, O;
6301
6301
  if (this.getDocumentInfo(b.query).hasClientExports)
6302
- w = new De(this.localState.addExportedVariables(b.query, b.variables, b.context).then(_).then(function(k) {
6302
+ w = new ke(this.localState.addExportedVariables(b.query, b.variables, b.context).then(_).then(function(k) {
6303
6303
  return k.sources;
6304
6304
  })), O = !0;
6305
6305
  else {
6306
6306
  var D = _(b.variables);
6307
- O = D.fromLink, w = new De(D.sources);
6307
+ O = D.fromLink, w = new ke(D.sources);
6308
6308
  }
6309
6309
  return w.promise.then(E, E), {
6310
6310
  concast: w,
@@ -6401,7 +6401,7 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
6401
6401
  var O = E.result;
6402
6402
  globalThis.__DEV__ !== !1 && !f && !C(O, {}) && Ki(E.missing);
6403
6403
  var D = function(k) {
6404
- return P.of(p({ data: k, loading: Fe(w), networkStatus: w }, E.complete ? null : { partial: !0 }));
6404
+ return P.of(p({ data: k, loading: Re(w), networkStatus: w }, E.complete ? null : { partial: !0 }));
6405
6405
  };
6406
6406
  return O && i.getDocumentInfo(a).hasForcedResolvers ? i.localState.runResolvers({
6407
6407
  document: a,
@@ -6420,7 +6420,7 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
6420
6420
  fetchPolicy: s,
6421
6421
  errorPolicy: c
6422
6422
  });
6423
- }, b = h && typeof d == "number" && d !== n && Fe(n);
6423
+ }, b = h && typeof d == "number" && d !== n && Re(n);
6424
6424
  switch (s) {
6425
6425
  default:
6426
6426
  case "cache-first": {
@@ -6521,7 +6521,7 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
6521
6521
  });
6522
6522
  }, t.prototype.shouldForceResolvers = function(e) {
6523
6523
  var r = !1;
6524
- return Z(e, {
6524
+ return K(e, {
6525
6525
  Directive: {
6526
6526
  enter: function(n) {
6527
6527
  if (n.name.value === "client" && n.arguments && (r = n.arguments.some(function(i) {
@@ -6544,7 +6544,7 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
6544
6544
  return a === void 0 && (a = {}), o === void 0 && (o = {}), s === void 0 && (s = function() {
6545
6545
  return !0;
6546
6546
  }), u === void 0 && (u = !1), ce(this, function(E) {
6547
- return c = ot(n), f = Ve(n), l = qe(f), h = this.collectSelectionsToResolve(c, l), d = c.operation, y = d ? d.charAt(0).toUpperCase() + d.slice(1) : "Query", m = this, g = m.cache, v = m.client, b = {
6547
+ return c = ot(n), f = Le(n), l = Qe(f), h = this.collectSelectionsToResolve(c, l), d = c.operation, y = d ? d.charAt(0).toUpperCase() + d.slice(1) : "Query", m = this, g = m.cache, v = m.client, b = {
6548
6548
  fragmentMap: l,
6549
6549
  context: p(p({}, a), { cache: g, client: v }),
6550
6550
  variables: o,
@@ -6574,7 +6574,7 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
6574
6574
  /*return*/
6575
6575
  ] : at(h, s) ? he(h) ? [2, this.resolveField(h, r, n, i).then(function(g) {
6576
6576
  var v;
6577
- typeof g < "u" && u.push((v = {}, v[ie(h)] = g, v));
6577
+ typeof g < "u" && u.push((v = {}, v[ae(h)] = g, v));
6578
6578
  })] : (wo(h) ? d = h : (d = a[h.name.value], S(d, 19, h.name.value)), d && d.typeCondition && (y = d.typeCondition.name.value, i.fragmentMatcher(n, y, o)) ? [2, this.resolveSelectionSet(d.selectionSet, r, n, i).then(function(g) {
6579
6579
  u.push(g);
6580
6580
  })] : [
@@ -6595,7 +6595,7 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
6595
6595
  return ue(this, void 0, void 0, function() {
6596
6596
  var a, o, s, u, c, f, l, h, d, y = this;
6597
6597
  return ce(this, function(m) {
6598
- return n ? (a = i.variables, o = e.name.value, s = ie(e), u = o !== s, c = n[s] || n[o], f = Promise.resolve(c), (!i.onlyRunForcedResolvers || this.shouldForceResolvers(e)) && (l = n.__typename || i.defaultOperationType, h = this.resolvers && this.resolvers[l], h && (d = h[u ? o : s], d && (f = Promise.resolve(
6598
+ return n ? (a = i.variables, o = e.name.value, s = ae(e), u = o !== s, c = n[s] || n[o], f = Promise.resolve(c), (!i.onlyRunForcedResolvers || this.shouldForceResolvers(e)) && (l = n.__typename || i.defaultOperationType, h = this.resolvers && this.resolvers[l], h && (d = h[u ? o : s], d && (f = Promise.resolve(
6599
6599
  // In case the resolve function accesses reactive variables,
6600
6600
  // set cacheSlot to the current cache instance.
6601
6601
  Rr.withValue(this.cache, d, [
@@ -6639,7 +6639,7 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
6639
6639
  function a(o) {
6640
6640
  if (!i.has(o)) {
6641
6641
  var s = /* @__PURE__ */ new Set();
6642
- i.set(o, s), Z(o, {
6642
+ i.set(o, s), K(o, {
6643
6643
  Directive: function(u, c, f, l, h) {
6644
6644
  u.name.value === "client" && h.forEach(function(d) {
6645
6645
  n(d) && Hr(d) && s.add(d);
@@ -6670,7 +6670,7 @@ var ou = Object.prototype.hasOwnProperty, jn = /* @__PURE__ */ Object.create(nul
6670
6670
  if (this.resetStoreCallbacks = [], this.clearStoreCallbacks = [], !e.cache)
6671
6671
  throw W(16);
6672
6672
  var i = e.uri, a = e.credentials, o = e.headers, s = e.cache, u = e.documentTransform, c = e.ssrMode, f = c === void 0 ? !1 : c, l = e.ssrForceFetchDelay, h = l === void 0 ? 0 : l, d = e.connectToDevTools, y = e.queryDeduplication, m = y === void 0 ? !0 : y, g = e.defaultOptions, v = e.defaultContext, b = e.assumeImmutableResults, _ = b === void 0 ? s.assumeImmutableResults : b, E = e.resolvers, w = e.typeDefs, O = e.fragmentMatcher, D = e.name, k = e.version, R = e.devtools, A = e.dataMasking, B = e.link;
6673
- B || (B = i ? new Ms({ uri: i, credentials: a, headers: o }) : Le.empty()), this.link = B, this.cache = s, this.disableNetworkFetches = f || h > 0, this.queryDeduplication = m, this.defaultOptions = g || /* @__PURE__ */ Object.create(null), this.typeDefs = w, this.devtoolsConfig = p(p({}, R), { enabled: (n = R == null ? void 0 : R.enabled) !== null && n !== void 0 ? n : d }), this.devtoolsConfig.enabled === void 0 && (this.devtoolsConfig.enabled = globalThis.__DEV__ !== !1), h && setTimeout(function() {
6673
+ B || (B = i ? new Ms({ uri: i, credentials: a, headers: o }) : ze.empty()), this.link = B, this.cache = s, this.disableNetworkFetches = f || h > 0, this.queryDeduplication = m, this.defaultOptions = g || /* @__PURE__ */ Object.create(null), this.typeDefs = w, this.devtoolsConfig = p(p({}, R), { enabled: (n = R == null ? void 0 : R.enabled) !== null && n !== void 0 ? n : d }), this.devtoolsConfig.enabled === void 0 && (this.devtoolsConfig.enabled = globalThis.__DEV__ !== !1), h && setTimeout(function() {
6674
6674
  return r.disableNetworkFetches = !1;
6675
6675
  }, h), this.watchQuery = this.watchQuery.bind(this), this.query = this.query.bind(this), this.mutate = this.mutate.bind(this), this.watchFragment = this.watchFragment.bind(this), this.resetStore = this.resetStore.bind(this), this.reFetchObservableQueries = this.reFetchObservableQueries.bind(this), this.version = hr, this.localState = new uu({
6676
6676
  cache: s,
@@ -7177,12 +7177,12 @@ function oa(t, e, r, n) {
7177
7177
  function Iu(t, e, r) {
7178
7178
  return t.partial && r && !t.loading && (!t.data || Object.keys(t.data).length === 0) && e.options.fetchPolicy !== "cache-only" ? (e.refetch(), p(p({}, t), { loading: !0, networkStatus: F.refetch })) : t;
7179
7179
  }
7180
- var sa = je({
7180
+ var sa = qe({
7181
7181
  loading: !0,
7182
7182
  data: void 0,
7183
7183
  error: void 0,
7184
7184
  networkStatus: F.loading
7185
- }), ua = je({
7185
+ }), ua = qe({
7186
7186
  loading: !1,
7187
7187
  data: void 0,
7188
7188
  error: void 0,
@@ -7277,7 +7277,7 @@ function $n(t, e) {
7277
7277
  }, []), [s, p({ reset: u }, i)];
7278
7278
  }
7279
7279
  function Ru(t) {
7280
- return new Le(function(e, r) {
7280
+ return new ze(function(e, r) {
7281
7281
  var n = G(e, []);
7282
7282
  return new P(function(i) {
7283
7283
  var a, o = !1;
@@ -7365,15 +7365,15 @@ mutation UpdateParticipantInfo($email: String, $phone: String, $avatar: String,
7365
7365
  ), b = Qr(() => {
7366
7366
  const J = Mi({
7367
7367
  uri: r
7368
- }), j = Ru((U, { headers: K }) => {
7369
- const oe = window.__PROMOGAME_EXTERNAL_ACCESS_TOKEN;
7370
- return oe ? {
7368
+ }), j = Ru((U, { headers: Y }) => {
7369
+ const ie = window.__PROMOGAME_EXTERNAL_ACCESS_TOKEN;
7370
+ return ie ? {
7371
7371
  headers: {
7372
- ...K,
7373
- authorization: oe ? `Bearer ${oe}` : ""
7372
+ ...Y,
7373
+ authorization: ie ? `Bearer ${ie}` : ""
7374
7374
  }
7375
7375
  } : {
7376
- headers: K
7376
+ headers: Y
7377
7377
  };
7378
7378
  });
7379
7379
  return new ea({
@@ -7392,7 +7392,11 @@ mutation UpdateParticipantInfo($email: String, $phone: String, $avatar: String,
7392
7392
  var J, j, U;
7393
7393
  if (!w && window)
7394
7394
  try {
7395
- const K = new URLSearchParams(window.location.search), oe = Object.fromEntries(K.entries()), { data: ze, errors: Oe } = await D({
7395
+ const Y = new URLSearchParams(window.location.search);
7396
+ console.log(Y);
7397
+ const ie = Object.fromEntries(Y.entries());
7398
+ console.log(ie);
7399
+ const { data: Oe, errors: Se } = await D({
7396
7400
  variables: {
7397
7401
  campaignId: e,
7398
7402
  externalUserId: s,
@@ -7400,10 +7404,10 @@ mutation UpdateParticipantInfo($email: String, $phone: String, $avatar: String,
7400
7404
  requestedAt: u,
7401
7405
  authenticateRequestId: n,
7402
7406
  authenticateRequestPassword: i,
7403
- parameters: oe
7407
+ parameters: ie
7404
7408
  }
7405
7409
  });
7406
- window.__PROMOGAME_CAMPAIGN_ID = e, window.__PROMOGAME_EXTERNAL_ACCESS_TOKEN = ze == null ? void 0 : ze.startAppSession.accessToken, window.__PROMOGAME_ERROR_CODE = (U = (j = (J = Oe == null ? void 0 : Oe[0]) == null ? void 0 : J.extensions) == null ? void 0 : j.code) == null ? void 0 : U.toString(), O(!0), k({
7410
+ console.log(Oe), window.__PROMOGAME_CAMPAIGN_ID = e, window.__PROMOGAME_EXTERNAL_ACCESS_TOKEN = Oe == null ? void 0 : Oe.startAppSession.accessToken, window.__PROMOGAME_ERROR_CODE = (U = (j = (J = Se == null ? void 0 : Se[0]) == null ? void 0 : J.extensions) == null ? void 0 : j.code) == null ? void 0 : U.toString(), O(!0), k({
7407
7411
  variables: {
7408
7412
  avatar: l,
7409
7413
  phone: f,
@@ -7413,8 +7417,8 @@ mutation UpdateParticipantInfo($email: String, $phone: String, $avatar: String,
7413
7417
  }).then(() => {
7414
7418
  console.log("Update info success");
7415
7419
  });
7416
- } catch (K) {
7417
- console.error("Failed to start session:", K);
7420
+ } catch (Y) {
7421
+ console.error("Failed to start session:", Y);
7418
7422
  }
7419
7423
  })();
7420
7424
  }, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promogame-player",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "type": "module",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",