@nizza/core 0.6.0 → 0.6.1-beta.0
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/environments/environment.local.d.ts +23 -0
- package/dist/environments/environment.local.d.ts.map +1 -0
- package/dist/index.cjs +17 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +411 -411
- package/dist/index.mjs.map +1 -1
- package/dist/lib/ivs-socket/utils/add-question-data.util.d.ts +1 -1
- package/dist/lib/ivs-socket/utils/add-question-data.util.d.ts.map +1 -1
- package/dist/lib/types/api-graphql-types.d.ts +21 -0
- package/dist/lib/types/api-graphql-types.d.ts.map +1 -1
- package/package.json +3 -2
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var yl = Object.defineProperty;
|
|
2
2
|
var bl = (t, e, n) => e in t ? yl(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var w = (t, e, n) => (bl(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import xe, { createContext as os, useReducer as _l, useEffect as Vt, useDebugValue as Sl, useCallback as it, useContext as ur, useState as xt, forwardRef as Br, memo as
|
|
4
|
+
import xe, { createContext as os, useReducer as _l, useEffect as Vt, useDebugValue as Sl, useCallback as it, useContext as ur, useState as xt, forwardRef as Br, memo as zr, useMemo as ls } from "react";
|
|
5
5
|
import Nl, { unstable_batchedUpdates as El } from "react-dom";
|
|
6
6
|
import { useQuery as us } from "@tanstack/react-query";
|
|
7
7
|
import { jsx as Al } from "react/jsx-runtime";
|
|
@@ -21,9 +21,9 @@ function Ol(t, e) {
|
|
|
21
21
|
}
|
|
22
22
|
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var Q = { NZ_AWS_REGION: "us-east-1", NZ_VTEX_PROJECT: "/Users/jbermudez/TODO/PROJECTS/live-shopping", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, STAGE: "dev" };
|
|
25
25
|
let wl = 0;
|
|
26
|
-
function
|
|
26
|
+
function Hn(t, e) {
|
|
27
27
|
const n = `atom${++wl}`, i = {
|
|
28
28
|
toString: () => n
|
|
29
29
|
};
|
|
@@ -41,7 +41,7 @@ function xl(t, e, n) {
|
|
|
41
41
|
const hi = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, pi = (t) => "init" in t, mi = (t) => !!t.write, On = /* @__PURE__ */ new WeakMap(), Cl = (t, e) => {
|
|
42
42
|
On.set(t, e), t.catch(() => {
|
|
43
43
|
}).finally(() => On.delete(t));
|
|
44
|
-
},
|
|
44
|
+
}, Hr = (t, e) => {
|
|
45
45
|
const n = On.get(t);
|
|
46
46
|
n && (On.delete(t), n(e));
|
|
47
47
|
}, qr = (t, e) => {
|
|
@@ -55,7 +55,7 @@ const hi = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, pi = (t) => "in
|
|
|
55
55
|
}, cs = () => {
|
|
56
56
|
const t = /* @__PURE__ */ new WeakMap(), e = /* @__PURE__ */ new WeakMap(), n = [], i = /* @__PURE__ */ new WeakMap();
|
|
57
57
|
let r, a;
|
|
58
|
-
(
|
|
58
|
+
(Q ? "production" : void 0) !== "production" && (r = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set());
|
|
59
59
|
const s = (k) => t.get(k), o = (k, x) => {
|
|
60
60
|
x.d.forEach((F, S) => {
|
|
61
61
|
var E;
|
|
@@ -67,11 +67,11 @@ const hi = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, pi = (t) => "in
|
|
|
67
67
|
});
|
|
68
68
|
}, l = (k, x) => {
|
|
69
69
|
var F;
|
|
70
|
-
(
|
|
70
|
+
(Q ? "production" : void 0) !== "production" && Object.freeze(x);
|
|
71
71
|
const S = s(k);
|
|
72
72
|
if (t.set(k, x), i.has(k) || ((F = n[n.length - 1]) == null || F.add(k), i.set(k, [S, /* @__PURE__ */ new Set()]), o(k, x)), Ye(S)) {
|
|
73
73
|
const E = "v" in x ? x.v instanceof Promise ? x.v : Promise.resolve(x.v) : Promise.reject(x.e);
|
|
74
|
-
S.v !== E &&
|
|
74
|
+
S.v !== E && Hr(S.v, E);
|
|
75
75
|
}
|
|
76
76
|
}, u = (k, x, F, S) => {
|
|
77
77
|
const E = new Map(
|
|
@@ -79,7 +79,7 @@ const hi = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, pi = (t) => "in
|
|
|
79
79
|
);
|
|
80
80
|
let A = !1;
|
|
81
81
|
F.forEach((h, g) => {
|
|
82
|
-
!h && hi(k, g) && (h = x), h ? (E.set(g, h), x.d.get(g) !== h && (A = !0)) : (
|
|
82
|
+
!h && hi(k, g) && (h = x), h ? (E.set(g, h), x.d.get(g) !== h && (A = !0)) : (Q ? "production" : void 0) !== "production" && console.warn("[Bug] atom state not found");
|
|
83
83
|
}), (A || x.d.size !== E.size) && (x.d = E);
|
|
84
84
|
}, c = (k, x, F, S) => {
|
|
85
85
|
const E = s(k), A = {
|
|
@@ -168,8 +168,8 @@ const hi = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, pi = (t) => "in
|
|
|
168
168
|
return h || (h = new AbortController()), h.signal;
|
|
169
169
|
},
|
|
170
170
|
get setSelf() {
|
|
171
|
-
return (
|
|
172
|
-
if ((
|
|
171
|
+
return (Q ? "production" : void 0) !== "production" && !mi(k) && console.warn("setSelf function cannot be used with read-only atom"), !g && mi(k) && (g = (...D) => {
|
|
172
|
+
if ((Q ? "production" : void 0) !== "production" && E && console.warn("setSelf function cannot be called in sync"), !E)
|
|
173
173
|
return _(k, ...D);
|
|
174
174
|
}), g;
|
|
175
175
|
}
|
|
@@ -233,7 +233,7 @@ const hi = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, pi = (t) => "in
|
|
|
233
233
|
C = N(A, ...h);
|
|
234
234
|
if (!g) {
|
|
235
235
|
const D = M(n.pop());
|
|
236
|
-
(
|
|
236
|
+
(Q ? "production" : void 0) !== "production" && r.forEach(
|
|
237
237
|
(I) => I({ type: "async-write", flushed: D })
|
|
238
238
|
);
|
|
239
239
|
}
|
|
@@ -243,7 +243,7 @@ const hi = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, pi = (t) => "in
|
|
|
243
243
|
}, _ = (k, ...x) => {
|
|
244
244
|
n.push(/* @__PURE__ */ new Set([k]));
|
|
245
245
|
const F = N(k, ...x), S = M(n.pop());
|
|
246
|
-
return (
|
|
246
|
+
return (Q ? "production" : void 0) !== "production" && r.forEach((E) => E({ type: "write", flushed: S })), F;
|
|
247
247
|
}, P = (k, x, F) => {
|
|
248
248
|
var S;
|
|
249
249
|
const E = e.get(k);
|
|
@@ -257,7 +257,7 @@ const hi = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, pi = (t) => "in
|
|
|
257
257
|
t: new Set(x && [x]),
|
|
258
258
|
l: /* @__PURE__ */ new Set()
|
|
259
259
|
};
|
|
260
|
-
if (e.set(k, h), (
|
|
260
|
+
if (e.set(k, h), (Q ? "production" : void 0) !== "production" && a.add(k), mi(k) && k.onMount) {
|
|
261
261
|
const { onMount: g } = k;
|
|
262
262
|
A.push(() => {
|
|
263
263
|
const C = g((...D) => _(k, ...D));
|
|
@@ -269,14 +269,14 @@ const hi = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, pi = (t) => "in
|
|
|
269
269
|
if (!V(k, x))
|
|
270
270
|
return;
|
|
271
271
|
const F = x.u;
|
|
272
|
-
F && F(), e.delete(k), (
|
|
272
|
+
F && F(), e.delete(k), (Q ? "production" : void 0) !== "production" && a.delete(k);
|
|
273
273
|
const S = s(k);
|
|
274
|
-
S ? (Ye(S) &&
|
|
274
|
+
S ? (Ye(S) && Hr(S.v), S.d.forEach((E, A) => {
|
|
275
275
|
if (A !== k) {
|
|
276
276
|
const h = e.get(A);
|
|
277
277
|
h && (h.t.delete(k), T(A, h));
|
|
278
278
|
}
|
|
279
|
-
})) : (
|
|
279
|
+
})) : (Q ? "production" : void 0) !== "production" && console.warn("[Bug] could not find atom state to unmount", k);
|
|
280
280
|
}, L = (k, x, F) => {
|
|
281
281
|
const S = new Set(x.d.keys()), E = /* @__PURE__ */ new Set();
|
|
282
282
|
F == null || F.forEach((A, h) => {
|
|
@@ -295,7 +295,7 @@ const hi = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, pi = (t) => "in
|
|
|
295
295
|
});
|
|
296
296
|
}, M = (k) => {
|
|
297
297
|
let x;
|
|
298
|
-
(
|
|
298
|
+
(Q ? "production" : void 0) !== "production" && (x = /* @__PURE__ */ new Set());
|
|
299
299
|
const F = [], S = (E) => {
|
|
300
300
|
var A;
|
|
301
301
|
if (!i.has(E))
|
|
@@ -306,26 +306,26 @@ const hi = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, pi = (t) => "in
|
|
|
306
306
|
if (k.forEach(S), F.forEach(([E, A]) => {
|
|
307
307
|
const h = s(E);
|
|
308
308
|
if (!h) {
|
|
309
|
-
(
|
|
309
|
+
(Q ? "production" : void 0) !== "production" && console.warn("[Bug] no atom state to flush");
|
|
310
310
|
return;
|
|
311
311
|
}
|
|
312
312
|
if (h !== A) {
|
|
313
313
|
const g = e.get(E);
|
|
314
314
|
g && h.d !== (A == null ? void 0 : A.d) && L(E, h, A == null ? void 0 : A.d), g && !// TODO This seems pretty hacky. Hope to fix it.
|
|
315
315
|
// Maybe we could `mountDependencies` in `setAtomState`?
|
|
316
|
-
(!Ye(A) && (_t(A, h) || Kr(A, h))) && (g.l.forEach((C) => C()), (
|
|
316
|
+
(!Ye(A) && (_t(A, h) || Kr(A, h))) && (g.l.forEach((C) => C()), (Q ? "production" : void 0) !== "production" && x.add(E));
|
|
317
317
|
}
|
|
318
|
-
}), (
|
|
318
|
+
}), (Q ? "production" : void 0) !== "production")
|
|
319
319
|
return x;
|
|
320
320
|
}, q = (k, x) => {
|
|
321
321
|
const F = P(k), S = M([k]), E = F.l;
|
|
322
|
-
return E.add(x), (
|
|
322
|
+
return E.add(x), (Q ? "production" : void 0) !== "production" && r.forEach(
|
|
323
323
|
(A) => A({ type: "sub", flushed: S })
|
|
324
324
|
), () => {
|
|
325
|
-
E.delete(x), T(k, F), (
|
|
325
|
+
E.delete(x), T(k, F), (Q ? "production" : void 0) !== "production" && r.forEach((A) => A({ type: "unsub" }));
|
|
326
326
|
};
|
|
327
327
|
};
|
|
328
|
-
return (
|
|
328
|
+
return (Q ? "production" : void 0) !== "production" ? {
|
|
329
329
|
get: p,
|
|
330
330
|
set: _,
|
|
331
331
|
sub: q,
|
|
@@ -352,10 +352,10 @@ const hi = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, pi = (t) => "in
|
|
|
352
352
|
};
|
|
353
353
|
};
|
|
354
354
|
let St;
|
|
355
|
-
const Dl = () => (St || (St = cs(), (
|
|
355
|
+
const Dl = () => (St || (St = cs(), (Q ? "production" : void 0) !== "production" && (globalThis.__JOTAI_DEFAULT_STORE__ || (globalThis.__JOTAI_DEFAULT_STORE__ = St), globalThis.__JOTAI_DEFAULT_STORE__ !== St && console.warn(
|
|
356
356
|
"Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"
|
|
357
357
|
))), St), Il = cs, Pl = Dl;
|
|
358
|
-
var Ll = { NZ_AWS_REGION: "us-east-1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, STAGE: "
|
|
358
|
+
var Ll = { NZ_AWS_REGION: "us-east-1", NZ_VTEX_PROJECT: "/Users/jbermudez/TODO/PROJECTS/live-shopping", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, STAGE: "dev" };
|
|
359
359
|
const $l = os(
|
|
360
360
|
void 0
|
|
361
361
|
), ds = (t) => ur($l) || Pl(), Vl = (t) => typeof (t == null ? void 0 : t.then) == "function", Ul = xe.use || ((t) => {
|
|
@@ -407,36 +407,36 @@ function mn(t, e) {
|
|
|
407
407
|
cr(t)
|
|
408
408
|
];
|
|
409
409
|
}
|
|
410
|
-
const dr =
|
|
410
|
+
const dr = Hn(null);
|
|
411
411
|
dr.debugLabel = "accountAtom";
|
|
412
|
-
var jl = { NZ_AWS_REGION: "us-east-1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, STAGE: "
|
|
412
|
+
var jl = { NZ_AWS_REGION: "us-east-1", NZ_VTEX_PROJECT: "/Users/jbermudez/TODO/PROJECTS/live-shopping", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, STAGE: "dev" };
|
|
413
413
|
const {
|
|
414
414
|
NZ_AWS_REGION: Ml,
|
|
415
415
|
NZ_BACKOFFICE_BACK_URL: Bl,
|
|
416
|
-
NZ_CORE_SERVICES_GRAPHQL_URL:
|
|
417
|
-
NZ_CORE_SERVICES_REST_URL:
|
|
416
|
+
NZ_CORE_SERVICES_GRAPHQL_URL: zl,
|
|
417
|
+
NZ_CORE_SERVICES_REST_URL: Hl
|
|
418
418
|
} = jl, fr = {
|
|
419
419
|
AWS: {
|
|
420
420
|
region: Ml,
|
|
421
421
|
cognito: {
|
|
422
|
-
userPoolId: "us-east-
|
|
423
|
-
userPoolWebClientId: "
|
|
422
|
+
userPoolId: "us-east-1_knSlGEmJ0",
|
|
423
|
+
userPoolWebClientId: "3hmbfhf7nl3kq20qr9i5lihf1p"
|
|
424
424
|
}
|
|
425
425
|
},
|
|
426
426
|
// Back services
|
|
427
427
|
apiUrls: {
|
|
428
|
-
restV1: Bl || "https://
|
|
429
|
-
restV2:
|
|
430
|
-
graphql:
|
|
431
|
-
corsProxy: "https://
|
|
428
|
+
restV1: Bl || "https://pabprg32bj.execute-api.us-east-1.amazonaws.com",
|
|
429
|
+
restV2: Hl || "https://core-services-dev.nizza.com/api",
|
|
430
|
+
graphql: zl || "https://core-services-dev.nizza.com/graphql",
|
|
431
|
+
corsProxy: "https://1qmd8jteh1.execute-api.us-east-1.amazonaws.com"
|
|
432
432
|
},
|
|
433
433
|
publicUrls: {
|
|
434
434
|
// Public app url
|
|
435
|
-
platformSite: "https://
|
|
435
|
+
platformSite: "https://platformdev.nizza.com",
|
|
436
436
|
// Nizza CDN
|
|
437
437
|
nizzaCdn: "https://cdn.nizza.com",
|
|
438
438
|
// Bundle
|
|
439
|
-
bundleSite: "https://
|
|
439
|
+
bundleSite: "https://bundledev.nizza.com",
|
|
440
440
|
// WSS IVS CHAT
|
|
441
441
|
wssIVSChat: "wss://edge.ivschat.us-east-1.amazonaws.com"
|
|
442
442
|
}
|
|
@@ -460,7 +460,7 @@ function ql(t, e) {
|
|
|
460
460
|
};
|
|
461
461
|
return new Proxy({}, a);
|
|
462
462
|
}
|
|
463
|
-
function
|
|
463
|
+
function H(t) {
|
|
464
464
|
for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
|
|
465
465
|
n[i - 1] = arguments[i];
|
|
466
466
|
throw new Error(typeof t == "number" ? "[MobX] minified error nr: " + t + (n.length ? " " + n.map(String).join(",") : "") + ". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts" : "[MobX] " + t);
|
|
@@ -473,9 +473,9 @@ var fs = Object.assign, wn = Object.getOwnPropertyDescriptor, ye = Object.define
|
|
|
473
473
|
Object.freeze($i);
|
|
474
474
|
var hs = {};
|
|
475
475
|
Object.freeze(hs);
|
|
476
|
-
var Kl = typeof Proxy != "undefined",
|
|
476
|
+
var Kl = typeof Proxy != "undefined", Jl = /* @__PURE__ */ Object.toString();
|
|
477
477
|
function ps() {
|
|
478
|
-
Kl ||
|
|
478
|
+
Kl || H("Proxy not available");
|
|
479
479
|
}
|
|
480
480
|
function ms(t) {
|
|
481
481
|
var e = !1;
|
|
@@ -509,7 +509,7 @@ function Ie(t) {
|
|
|
509
509
|
if (e == null)
|
|
510
510
|
return !0;
|
|
511
511
|
var n = Object.hasOwnProperty.call(e, "constructor") && e.constructor;
|
|
512
|
-
return typeof n == "function" && n.toString() ===
|
|
512
|
+
return typeof n == "function" && n.toString() === Jl;
|
|
513
513
|
}
|
|
514
514
|
function gs(t) {
|
|
515
515
|
var e = t == null ? void 0 : t.constructor;
|
|
@@ -544,7 +544,7 @@ function Yt(t) {
|
|
|
544
544
|
return t instanceof Set;
|
|
545
545
|
}
|
|
546
546
|
var ks = typeof Object.getOwnPropertySymbols != "undefined";
|
|
547
|
-
function
|
|
547
|
+
function Wl(t) {
|
|
548
548
|
var e = Object.keys(t);
|
|
549
549
|
if (!ks)
|
|
550
550
|
return e;
|
|
@@ -553,7 +553,7 @@ function Jl(t) {
|
|
|
553
553
|
return qn.propertyIsEnumerable.call(t, i);
|
|
554
554
|
})) : e;
|
|
555
555
|
}
|
|
556
|
-
var
|
|
556
|
+
var Jn = typeof Reflect != "undefined" && Reflect.ownKeys ? Reflect.ownKeys : ks ? function(t) {
|
|
557
557
|
return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t));
|
|
558
558
|
} : (
|
|
559
559
|
/* istanbul ignore next */
|
|
@@ -567,18 +567,18 @@ function Ee(t, e) {
|
|
|
567
567
|
}
|
|
568
568
|
var Yl = Object.getOwnPropertyDescriptors || function(e) {
|
|
569
569
|
var n = {};
|
|
570
|
-
return
|
|
570
|
+
return Jn(e).forEach(function(i) {
|
|
571
571
|
n[i] = wn(e, i);
|
|
572
572
|
}), n;
|
|
573
573
|
};
|
|
574
|
-
function
|
|
574
|
+
function Xl(t, e) {
|
|
575
575
|
for (var n = 0; n < e.length; n++) {
|
|
576
576
|
var i = e[n];
|
|
577
577
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, eu(i.key), i);
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
function pr(t, e, n) {
|
|
581
|
-
return e &&
|
|
581
|
+
return e && Xl(t.prototype, e), Object.defineProperty(t, "prototype", {
|
|
582
582
|
writable: !1
|
|
583
583
|
}), t;
|
|
584
584
|
}
|
|
@@ -605,18 +605,18 @@ function gi(t) {
|
|
|
605
605
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
606
606
|
return t;
|
|
607
607
|
}
|
|
608
|
-
function
|
|
608
|
+
function Ql(t, e) {
|
|
609
609
|
if (t) {
|
|
610
610
|
if (typeof t == "string")
|
|
611
|
-
return
|
|
611
|
+
return Jr(t, e);
|
|
612
612
|
var n = Object.prototype.toString.call(t).slice(8, -1);
|
|
613
613
|
if (n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set")
|
|
614
614
|
return Array.from(t);
|
|
615
615
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
616
|
-
return
|
|
616
|
+
return Jr(t, e);
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function Jr(t, e) {
|
|
620
620
|
(e == null || e > t.length) && (e = t.length);
|
|
621
621
|
for (var n = 0, i = new Array(e); n < e; n++)
|
|
622
622
|
i[n] = t[n];
|
|
@@ -626,7 +626,7 @@ function at(t, e) {
|
|
|
626
626
|
var n = typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
|
|
627
627
|
if (n)
|
|
628
628
|
return (n = n.call(t)).next.bind(n);
|
|
629
|
-
if (Array.isArray(t) || (n =
|
|
629
|
+
if (Array.isArray(t) || (n = Ql(t)) || e) {
|
|
630
630
|
n && (t = n);
|
|
631
631
|
var i = 0;
|
|
632
632
|
return function() {
|
|
@@ -660,7 +660,7 @@ function eu(t) {
|
|
|
660
660
|
var me = /* @__PURE__ */ Symbol("mobx-stored-annotations");
|
|
661
661
|
function be(t) {
|
|
662
662
|
function e(n, i) {
|
|
663
|
-
if (
|
|
663
|
+
if (Xt(i))
|
|
664
664
|
return t.decorate_20223_(n, i);
|
|
665
665
|
pt(n, i, t);
|
|
666
666
|
}
|
|
@@ -672,10 +672,10 @@ function pt(t, e, n) {
|
|
|
672
672
|
function tu(t) {
|
|
673
673
|
return Ee(t, me) || Kn(t, me, Pe({}, t[me])), t[me];
|
|
674
674
|
}
|
|
675
|
-
function
|
|
675
|
+
function Xt(t) {
|
|
676
676
|
return typeof t == "object" && typeof t.kind == "string";
|
|
677
677
|
}
|
|
678
|
-
var U = /* @__PURE__ */ Symbol("mobx administration"),
|
|
678
|
+
var U = /* @__PURE__ */ Symbol("mobx administration"), Qt = /* @__PURE__ */ function() {
|
|
679
679
|
function t(n) {
|
|
680
680
|
n === void 0 && (n = "Atom"), this.name_ = void 0, this.isPendingUnobservation_ = !1, this.isBeingObserved_ = !1, this.observers_ = /* @__PURE__ */ new Set(), this.diffValue_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = G.NOT_TRACKING_, this.onBOL = void 0, this.onBUOL = void 0, this.name_ = n;
|
|
681
681
|
}
|
|
@@ -695,10 +695,10 @@ var U = /* @__PURE__ */ Symbol("mobx administration"), Xt = /* @__PURE__ */ func
|
|
|
695
695
|
}, e.toString = function() {
|
|
696
696
|
return this.name_;
|
|
697
697
|
}, t;
|
|
698
|
-
}(), mr = /* @__PURE__ */ Ge("Atom",
|
|
698
|
+
}(), mr = /* @__PURE__ */ Ge("Atom", Qt);
|
|
699
699
|
function _s(t, e, n) {
|
|
700
700
|
e === void 0 && (e = rt), n === void 0 && (n = rt);
|
|
701
|
-
var i = new
|
|
701
|
+
var i = new Qt(t);
|
|
702
702
|
return e !== rt && hc(i, e), n !== rt && qs(i, n), i;
|
|
703
703
|
}
|
|
704
704
|
function nu(t, e) {
|
|
@@ -720,41 +720,41 @@ var Tn = {
|
|
|
720
720
|
shallow: ru
|
|
721
721
|
};
|
|
722
722
|
function Be(t, e, n) {
|
|
723
|
-
return
|
|
723
|
+
return Ws(t) ? t : Array.isArray(t) ? X.array(t, {
|
|
724
724
|
name: n
|
|
725
|
-
}) : Ie(t) ?
|
|
725
|
+
}) : Ie(t) ? X.object(t, void 0, {
|
|
726
726
|
name: n
|
|
727
|
-
}) : ht(t) ?
|
|
727
|
+
}) : ht(t) ? X.map(t, {
|
|
728
728
|
name: n
|
|
729
|
-
}) : Yt(t) ?
|
|
729
|
+
}) : Yt(t) ? X.set(t, {
|
|
730
730
|
name: n
|
|
731
731
|
}) : typeof t == "function" && !ei(t) && !Mt(t) ? gs(t) ? ut(t) : jt(n, t) : t;
|
|
732
732
|
}
|
|
733
733
|
function su(t, e, n) {
|
|
734
|
-
if (t == null || ni(t) || ti(t) ||
|
|
734
|
+
if (t == null || ni(t) || ti(t) || Je(t) || mt(t))
|
|
735
735
|
return t;
|
|
736
736
|
if (Array.isArray(t))
|
|
737
|
-
return
|
|
737
|
+
return X.array(t, {
|
|
738
738
|
name: n,
|
|
739
739
|
deep: !1
|
|
740
740
|
});
|
|
741
741
|
if (Ie(t))
|
|
742
|
-
return
|
|
742
|
+
return X.object(t, void 0, {
|
|
743
743
|
name: n,
|
|
744
744
|
deep: !1
|
|
745
745
|
});
|
|
746
746
|
if (ht(t))
|
|
747
|
-
return
|
|
747
|
+
return X.map(t, {
|
|
748
748
|
name: n,
|
|
749
749
|
deep: !1
|
|
750
750
|
});
|
|
751
751
|
if (Yt(t))
|
|
752
|
-
return
|
|
752
|
+
return X.set(t, {
|
|
753
753
|
name: n,
|
|
754
754
|
deep: !1
|
|
755
755
|
});
|
|
756
756
|
}
|
|
757
|
-
function
|
|
757
|
+
function Wn(t) {
|
|
758
758
|
return t;
|
|
759
759
|
}
|
|
760
760
|
function ou(t, e) {
|
|
@@ -806,7 +806,7 @@ function fu(t, e) {
|
|
|
806
806
|
u.isMobxAction = !0, l[i] = u;
|
|
807
807
|
}), t;
|
|
808
808
|
}
|
|
809
|
-
|
|
809
|
+
H("Cannot apply '" + a.annotationType_ + "' to '" + String(i) + "' (kind: " + n + "):" + (`
|
|
810
810
|
'` + a.annotationType_ + "' can only be used on properties with a function value."));
|
|
811
811
|
}
|
|
812
812
|
function hu(t, e, n, i) {
|
|
@@ -995,7 +995,7 @@ function Tu(t, e, n, i) {
|
|
|
995
995
|
var c = (o = this.options_) != null && o.autoBind ? jt.bound : jt;
|
|
996
996
|
return c.make_(t, e, n, i);
|
|
997
997
|
}
|
|
998
|
-
var d = ((r = this.options_) == null ? void 0 : r.deep) === !1 ?
|
|
998
|
+
var d = ((r = this.options_) == null ? void 0 : r.deep) === !1 ? X.ref : X;
|
|
999
999
|
if (typeof n.value == "function" && (a = this.options_) != null && a.autoBind) {
|
|
1000
1000
|
var f;
|
|
1001
1001
|
n.value = n.value.bind((f = t.proxy_) != null ? f : t.target_);
|
|
@@ -1015,11 +1015,11 @@ function xu(t, e, n, i) {
|
|
|
1015
1015
|
var s;
|
|
1016
1016
|
n.value = n.value.bind((s = t.proxy_) != null ? s : t.target_);
|
|
1017
1017
|
}
|
|
1018
|
-
var o = ((a = this.options_) == null ? void 0 : a.deep) === !1 ?
|
|
1018
|
+
var o = ((a = this.options_) == null ? void 0 : a.deep) === !1 ? X.ref : X;
|
|
1019
1019
|
return o.extend_(t, e, n, i);
|
|
1020
1020
|
}
|
|
1021
1021
|
function Cu(t, e) {
|
|
1022
|
-
|
|
1022
|
+
H("'" + this.annotationType_ + "' cannot be used as a decorator");
|
|
1023
1023
|
}
|
|
1024
1024
|
var Fu = "observable", Ru = "observable.ref", Du = "observable.shallow", Iu = "observable.struct", Os = {
|
|
1025
1025
|
deep: !0,
|
|
@@ -1032,14 +1032,14 @@ function un(t) {
|
|
|
1032
1032
|
return t || Os;
|
|
1033
1033
|
}
|
|
1034
1034
|
var Ui = /* @__PURE__ */ Yn(Fu), Pu = /* @__PURE__ */ Yn(Ru, {
|
|
1035
|
-
enhancer:
|
|
1035
|
+
enhancer: Wn
|
|
1036
1036
|
}), Lu = /* @__PURE__ */ Yn(Du, {
|
|
1037
1037
|
enhancer: su
|
|
1038
1038
|
}), $u = /* @__PURE__ */ Yn(Iu, {
|
|
1039
1039
|
enhancer: ou
|
|
1040
1040
|
}), ws = /* @__PURE__ */ be(Ui);
|
|
1041
1041
|
function cn(t) {
|
|
1042
|
-
return t.deep === !0 ? Be : t.deep === !1 ?
|
|
1042
|
+
return t.deep === !0 ? Be : t.deep === !1 ? Wn : Uu(t.defaultDecorator);
|
|
1043
1043
|
}
|
|
1044
1044
|
function Vu(t) {
|
|
1045
1045
|
var e;
|
|
@@ -1050,13 +1050,13 @@ function Uu(t) {
|
|
|
1050
1050
|
return t && (e = (n = t.options_) == null ? void 0 : n.enhancer) != null ? e : Be;
|
|
1051
1051
|
}
|
|
1052
1052
|
function Ts(t, e, n) {
|
|
1053
|
-
if (
|
|
1053
|
+
if (Xt(e))
|
|
1054
1054
|
return Ui.decorate_20223_(t, e);
|
|
1055
1055
|
if (Me(e)) {
|
|
1056
1056
|
pt(t, e, Ui);
|
|
1057
1057
|
return;
|
|
1058
1058
|
}
|
|
1059
|
-
return
|
|
1059
|
+
return Ws(t) ? t : Ie(t) ? X.object(t, e, n) : Array.isArray(t) ? X.array(t, e) : ht(t) ? X.map(t, e) : Yt(t) ? X.set(t, e) : typeof t == "object" && t !== null ? t : X.box(t, e);
|
|
1060
1060
|
}
|
|
1061
1061
|
fs(Ts, ws);
|
|
1062
1062
|
var ju = {
|
|
@@ -1077,7 +1077,7 @@ var ju = {
|
|
|
1077
1077
|
return new ro(e, cn(i), i.name);
|
|
1078
1078
|
},
|
|
1079
1079
|
object: function(e, n, i) {
|
|
1080
|
-
return
|
|
1080
|
+
return We(function() {
|
|
1081
1081
|
return vc(O.useProxies === !1 || (i == null ? void 0 : i.proxy) === !1 ? gt({}, i) : Oc({}, i), e, n);
|
|
1082
1082
|
});
|
|
1083
1083
|
},
|
|
@@ -1085,10 +1085,10 @@ var ju = {
|
|
|
1085
1085
|
shallow: /* @__PURE__ */ be(Lu),
|
|
1086
1086
|
deep: ws,
|
|
1087
1087
|
struct: /* @__PURE__ */ be($u)
|
|
1088
|
-
},
|
|
1088
|
+
}, X = /* @__PURE__ */ fs(Ts, ju), xs = "computed", Mu = "computed.struct", ji = /* @__PURE__ */ gr(xs), Bu = /* @__PURE__ */ gr(Mu, {
|
|
1089
1089
|
equals: Tn.structural
|
|
1090
1090
|
}), Fe = function(e, n) {
|
|
1091
|
-
if (
|
|
1091
|
+
if (Xt(n))
|
|
1092
1092
|
return ji.decorate_20223_(e, n);
|
|
1093
1093
|
if (Me(n))
|
|
1094
1094
|
return pt(e, n, ji);
|
|
@@ -1099,8 +1099,8 @@ var ju = {
|
|
|
1099
1099
|
};
|
|
1100
1100
|
Object.assign(Fe, ji);
|
|
1101
1101
|
Fe.struct = /* @__PURE__ */ be(Bu);
|
|
1102
|
-
var
|
|
1103
|
-
}, "name")) == null ? void 0 : Yr.configurable) != null ?
|
|
1102
|
+
var Wr, Yr, xn = 0, zu = 1, Hu = (Wr = (Yr = /* @__PURE__ */ wn(function() {
|
|
1103
|
+
}, "name")) == null ? void 0 : Yr.configurable) != null ? Wr : !1, Xr = {
|
|
1104
1104
|
value: "action",
|
|
1105
1105
|
configurable: !0,
|
|
1106
1106
|
writable: !1,
|
|
@@ -1113,7 +1113,7 @@ function Le(t, e, n, i) {
|
|
|
1113
1113
|
}
|
|
1114
1114
|
return r.isMobxAction = !0, r.toString = function() {
|
|
1115
1115
|
return e.toString();
|
|
1116
|
-
},
|
|
1116
|
+
}, Hu && (Xr.value = t, ye(r, "name", Xr)), r;
|
|
1117
1117
|
}
|
|
1118
1118
|
function qu(t, e, n, i, r) {
|
|
1119
1119
|
var a = Gu(t, e);
|
|
@@ -1129,7 +1129,7 @@ function Gu(t, e, n, i) {
|
|
|
1129
1129
|
var r = !1, a = 0, s = O.trackingDerivation, o = !e || !s;
|
|
1130
1130
|
re();
|
|
1131
1131
|
var l = O.allowStateChanges;
|
|
1132
|
-
o && (Ke(), l =
|
|
1132
|
+
o && (Ke(), l = Xn(!0));
|
|
1133
1133
|
var u = vr(!0), c = {
|
|
1134
1134
|
runAsAction_: o,
|
|
1135
1135
|
prevDerivation_: s,
|
|
@@ -1137,27 +1137,27 @@ function Gu(t, e, n, i) {
|
|
|
1137
1137
|
prevAllowStateReads_: u,
|
|
1138
1138
|
notifySpy_: r,
|
|
1139
1139
|
startTime_: a,
|
|
1140
|
-
actionId_:
|
|
1140
|
+
actionId_: zu++,
|
|
1141
1141
|
parentActionId_: xn
|
|
1142
1142
|
};
|
|
1143
1143
|
return xn = c.actionId_, c;
|
|
1144
1144
|
}
|
|
1145
1145
|
function Ku(t) {
|
|
1146
|
-
xn !== t.actionId_ &&
|
|
1146
|
+
xn !== t.actionId_ && H(30), xn = t.parentActionId_, t.error_ !== void 0 && (O.suppressReactionErrors = !0), Qn(t.prevAllowStateChanges_), Ct(t.prevAllowStateReads_), ae(), t.runAsAction_ && Ae(t.prevDerivation_), O.suppressReactionErrors = !1;
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1149
|
-
var n =
|
|
1148
|
+
function Ju(t, e) {
|
|
1149
|
+
var n = Xn(t);
|
|
1150
1150
|
try {
|
|
1151
1151
|
return e();
|
|
1152
1152
|
} finally {
|
|
1153
|
-
|
|
1153
|
+
Qn(n);
|
|
1154
1154
|
}
|
|
1155
1155
|
}
|
|
1156
|
-
function
|
|
1156
|
+
function Xn(t) {
|
|
1157
1157
|
var e = O.allowStateChanges;
|
|
1158
1158
|
return O.allowStateChanges = t, e;
|
|
1159
1159
|
}
|
|
1160
|
-
function
|
|
1160
|
+
function Qn(t) {
|
|
1161
1161
|
O.allowStateChanges = t;
|
|
1162
1162
|
}
|
|
1163
1163
|
var Cs;
|
|
@@ -1217,11 +1217,11 @@ var Ue = /* @__PURE__ */ function(t) {
|
|
|
1217
1217
|
}, n[Cs] = function() {
|
|
1218
1218
|
return this.valueOf();
|
|
1219
1219
|
}, e;
|
|
1220
|
-
}(
|
|
1220
|
+
}(Qt), Fs;
|
|
1221
1221
|
Fs = Symbol.toPrimitive;
|
|
1222
1222
|
var lt = /* @__PURE__ */ function() {
|
|
1223
1223
|
function t(n) {
|
|
1224
|
-
this.dependenciesState_ = G.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.isBeingObserved_ = !1, this.isPendingUnobservation_ = !1, this.observers_ = /* @__PURE__ */ new Set(), this.diffValue_ = 0, this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = G.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new Fn(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.isComputing_ = !1, this.isRunningSetter_ = !1, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = Cn.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 ||
|
|
1224
|
+
this.dependenciesState_ = G.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.isBeingObserved_ = !1, this.isPendingUnobservation_ = !1, this.observers_ = /* @__PURE__ */ new Set(), this.diffValue_ = 0, this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = G.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new Fn(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.isComputing_ = !1, this.isRunningSetter_ = !1, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = Cn.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 || H(31), this.derivation = n.get, this.name_ = n.name || "ComputedValue", n.set && (this.setter_ = Le("ComputedValue-setter", n.set)), this.equals_ = n.equals || (n.compareStructural || n.struct ? Tn.structural : Tn.default), this.scope_ = n.context, this.requiresReaction_ = n.requiresReaction, this.keepAlive_ = !!n.keepAlive;
|
|
1225
1225
|
}
|
|
1226
1226
|
var e = t.prototype;
|
|
1227
1227
|
return e.onBecomeStale_ = function() {
|
|
@@ -1235,12 +1235,12 @@ var lt = /* @__PURE__ */ function() {
|
|
|
1235
1235
|
return i();
|
|
1236
1236
|
});
|
|
1237
1237
|
}, e.get = function() {
|
|
1238
|
-
if (this.isComputing_ &&
|
|
1238
|
+
if (this.isComputing_ && H(32, this.name_, this.derivation), O.inBatch === 0 && // !globalState.trackingDerivatpion &&
|
|
1239
1239
|
this.observers_.size === 0 && !this.keepAlive_)
|
|
1240
1240
|
Mi(this) && (this.warnAboutUntrackedRead_(), re(), this.value_ = this.computeValue_(!1), ae());
|
|
1241
1241
|
else if (Vs(this), Mi(this)) {
|
|
1242
1242
|
var i = O.trackingContext;
|
|
1243
|
-
this.keepAlive_ && !i && (O.trackingContext = this), this.trackAndCompute() &&
|
|
1243
|
+
this.keepAlive_ && !i && (O.trackingContext = this), this.trackAndCompute() && Qu(this), O.trackingContext = i;
|
|
1244
1244
|
}
|
|
1245
1245
|
var r = this.value_;
|
|
1246
1246
|
if (gn(r))
|
|
@@ -1248,14 +1248,14 @@ var lt = /* @__PURE__ */ function() {
|
|
|
1248
1248
|
return r;
|
|
1249
1249
|
}, e.set = function(i) {
|
|
1250
1250
|
if (this.setter_) {
|
|
1251
|
-
this.isRunningSetter_ &&
|
|
1251
|
+
this.isRunningSetter_ && H(33, this.name_), this.isRunningSetter_ = !0;
|
|
1252
1252
|
try {
|
|
1253
1253
|
this.setter_.call(this.scope_, i);
|
|
1254
1254
|
} finally {
|
|
1255
1255
|
this.isRunningSetter_ = !1;
|
|
1256
1256
|
}
|
|
1257
1257
|
} else
|
|
1258
|
-
|
|
1258
|
+
H(34, this.name_);
|
|
1259
1259
|
}, e.trackAndCompute = function() {
|
|
1260
1260
|
var i = this.value_, r = (
|
|
1261
1261
|
/* see #1208 */
|
|
@@ -1264,7 +1264,7 @@ var lt = /* @__PURE__ */ function() {
|
|
|
1264
1264
|
return s && (this.value_ = a), s;
|
|
1265
1265
|
}, e.computeValue_ = function(i) {
|
|
1266
1266
|
this.isComputing_ = !0;
|
|
1267
|
-
var r =
|
|
1267
|
+
var r = Xn(!1), a;
|
|
1268
1268
|
if (i)
|
|
1269
1269
|
a = Rs(this, this.derivation, this.scope_);
|
|
1270
1270
|
else if (O.disableErrorBoundaries === !0)
|
|
@@ -1275,12 +1275,12 @@ var lt = /* @__PURE__ */ function() {
|
|
|
1275
1275
|
} catch (s) {
|
|
1276
1276
|
a = new Fn(s);
|
|
1277
1277
|
}
|
|
1278
|
-
return
|
|
1278
|
+
return Qn(r), this.isComputing_ = !1, a;
|
|
1279
1279
|
}, e.suspend_ = function() {
|
|
1280
1280
|
this.keepAlive_ || (Bi(this), this.value_ = void 0);
|
|
1281
1281
|
}, e.observe_ = function(i, r) {
|
|
1282
1282
|
var a = this, s = !0, o = void 0;
|
|
1283
|
-
return
|
|
1283
|
+
return Hs(function() {
|
|
1284
1284
|
var l = a.get();
|
|
1285
1285
|
if (!s || r) {
|
|
1286
1286
|
var u = Ke();
|
|
@@ -1362,9 +1362,9 @@ function Rs(t, e, n) {
|
|
|
1362
1362
|
} catch (s) {
|
|
1363
1363
|
a = new Fn(s);
|
|
1364
1364
|
}
|
|
1365
|
-
return O.inBatch--, O.trackingDerivation = r,
|
|
1365
|
+
return O.inBatch--, O.trackingDerivation = r, Wu(t), Ct(i), a;
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1367
|
+
function Wu(t) {
|
|
1368
1368
|
for (var e = t.observing_, n = t.observing_ = t.newObserving_, i = G.UP_TO_DATE_, r = 0, a = t.unboundDepsCount_, s = 0; s < a; s++) {
|
|
1369
1369
|
var o = n[s];
|
|
1370
1370
|
o.diffValue_ === 0 && (o.diffValue_ = 1, r !== s && (n[r] = o), r++), o.dependenciesState_ > i && (i = o.dependenciesState_);
|
|
@@ -1375,7 +1375,7 @@ function Ju(t) {
|
|
|
1375
1375
|
}
|
|
1376
1376
|
for (; r--; ) {
|
|
1377
1377
|
var u = n[r];
|
|
1378
|
-
u.diffValue_ === 1 && (u.diffValue_ = 0,
|
|
1378
|
+
u.diffValue_ === 1 && (u.diffValue_ = 0, Xu(u, t));
|
|
1379
1379
|
}
|
|
1380
1380
|
i !== G.UP_TO_DATE_ && (t.dependenciesState_ = i, t.onBecomeStale_());
|
|
1381
1381
|
}
|
|
@@ -1420,16 +1420,16 @@ var vn = function() {
|
|
|
1420
1420
|
}, kn = !0, Ps = !1, O = /* @__PURE__ */ function() {
|
|
1421
1421
|
var t = /* @__PURE__ */ hr();
|
|
1422
1422
|
return t.__mobxInstanceCount > 0 && !t.__mobxGlobals && (kn = !1), t.__mobxGlobals && t.__mobxGlobals.version !== new vn().version && (kn = !1), kn ? t.__mobxGlobals ? (t.__mobxInstanceCount += 1, t.__mobxGlobals.UNCHANGED || (t.__mobxGlobals.UNCHANGED = {}), t.__mobxGlobals) : (t.__mobxInstanceCount = 1, t.__mobxGlobals = /* @__PURE__ */ new vn()) : (setTimeout(function() {
|
|
1423
|
-
Ps ||
|
|
1423
|
+
Ps || H(35);
|
|
1424
1424
|
}, 1), new vn());
|
|
1425
1425
|
}();
|
|
1426
1426
|
function Yu() {
|
|
1427
|
-
if ((O.pendingReactions.length || O.inBatch || O.isRunningReactions) &&
|
|
1427
|
+
if ((O.pendingReactions.length || O.inBatch || O.isRunningReactions) && H(36), Ps = !0, kn) {
|
|
1428
1428
|
var t = hr();
|
|
1429
1429
|
--t.__mobxInstanceCount === 0 && (t.__mobxGlobals = void 0), O = new vn();
|
|
1430
1430
|
}
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1432
|
+
function Xu(t, e) {
|
|
1433
1433
|
t.observers_.add(e), t.lowestObserverState_ > e.dependenciesState_ && (t.lowestObserverState_ = e.dependenciesState_);
|
|
1434
1434
|
}
|
|
1435
1435
|
function Ls(t, e) {
|
|
@@ -1460,7 +1460,7 @@ function Us(t) {
|
|
|
1460
1460
|
e.dependenciesState_ === G.UP_TO_DATE_ && e.onBecomeStale_(), e.dependenciesState_ = G.STALE_;
|
|
1461
1461
|
}));
|
|
1462
1462
|
}
|
|
1463
|
-
function
|
|
1463
|
+
function Qu(t) {
|
|
1464
1464
|
t.lowestObserverState_ !== G.STALE_ && (t.lowestObserverState_ = G.STALE_, t.observers_.forEach(function(e) {
|
|
1465
1465
|
e.dependenciesState_ === G.POSSIBLY_STALE_ ? e.dependenciesState_ = G.STALE_ : e.dependenciesState_ === G.UP_TO_DATE_ && (t.lowestObserverState_ = G.UP_TO_DATE_);
|
|
1466
1466
|
}));
|
|
@@ -1526,11 +1526,11 @@ var Ut = /* @__PURE__ */ function() {
|
|
|
1526
1526
|
return "Reaction[" + this.name_ + "]";
|
|
1527
1527
|
}, e.trace = function(i) {
|
|
1528
1528
|
}, t;
|
|
1529
|
-
}(), ec = 100,
|
|
1529
|
+
}(), ec = 100, zi = function(e) {
|
|
1530
1530
|
return e();
|
|
1531
1531
|
};
|
|
1532
1532
|
function js() {
|
|
1533
|
-
O.inBatch > 0 || O.isRunningReactions ||
|
|
1533
|
+
O.inBatch > 0 || O.isRunningReactions || zi(tc);
|
|
1534
1534
|
}
|
|
1535
1535
|
function tc() {
|
|
1536
1536
|
O.isRunningReactions = !0;
|
|
@@ -1543,8 +1543,8 @@ function tc() {
|
|
|
1543
1543
|
}
|
|
1544
1544
|
var Rn = /* @__PURE__ */ Ge("Reaction", Ut);
|
|
1545
1545
|
function nc(t) {
|
|
1546
|
-
var e =
|
|
1547
|
-
|
|
1546
|
+
var e = zi;
|
|
1547
|
+
zi = function(i) {
|
|
1548
1548
|
return t(function() {
|
|
1549
1549
|
return e(i);
|
|
1550
1550
|
});
|
|
@@ -1557,7 +1557,7 @@ function ic(t) {
|
|
|
1557
1557
|
return console.warn("[mobx.spy] Is a no-op in production builds"), function() {
|
|
1558
1558
|
};
|
|
1559
1559
|
}
|
|
1560
|
-
var Ms = "action", rc = "action.bound", Bs = "autoAction", ac = "autoAction.bound", sc = "<unnamed action>",
|
|
1560
|
+
var Ms = "action", rc = "action.bound", Bs = "autoAction", ac = "autoAction.bound", sc = "<unnamed action>", Hi = /* @__PURE__ */ Zt(Ms), oc = /* @__PURE__ */ Zt(rc, {
|
|
1561
1561
|
bound: !0
|
|
1562
1562
|
}), qi = /* @__PURE__ */ Zt(Bs, {
|
|
1563
1563
|
autoAction: !0
|
|
@@ -1565,16 +1565,16 @@ var Ms = "action", rc = "action.bound", Bs = "autoAction", ac = "autoAction.boun
|
|
|
1565
1565
|
autoAction: !0,
|
|
1566
1566
|
bound: !0
|
|
1567
1567
|
});
|
|
1568
|
-
function
|
|
1568
|
+
function zs(t) {
|
|
1569
1569
|
var e = function(i, r) {
|
|
1570
1570
|
if (fe(i))
|
|
1571
1571
|
return Le(i.name || sc, i, t);
|
|
1572
1572
|
if (fe(r))
|
|
1573
1573
|
return Le(i, r, t);
|
|
1574
|
-
if (
|
|
1575
|
-
return (t ? qi :
|
|
1574
|
+
if (Xt(r))
|
|
1575
|
+
return (t ? qi : Hi).decorate_20223_(i, r);
|
|
1576
1576
|
if (Me(r))
|
|
1577
|
-
return pt(i, r, t ? qi :
|
|
1577
|
+
return pt(i, r, t ? qi : Hi);
|
|
1578
1578
|
if (Me(i))
|
|
1579
1579
|
return be(Zt(t ? Bs : Ms, {
|
|
1580
1580
|
name: i,
|
|
@@ -1583,16 +1583,16 @@ function Hs(t) {
|
|
|
1583
1583
|
};
|
|
1584
1584
|
return e;
|
|
1585
1585
|
}
|
|
1586
|
-
var ge = /* @__PURE__ */
|
|
1587
|
-
Object.assign(ge,
|
|
1588
|
-
var jt = /* @__PURE__ */
|
|
1586
|
+
var ge = /* @__PURE__ */ zs(!1);
|
|
1587
|
+
Object.assign(ge, Hi);
|
|
1588
|
+
var jt = /* @__PURE__ */ zs(!0);
|
|
1589
1589
|
Object.assign(jt, qi);
|
|
1590
1590
|
ge.bound = /* @__PURE__ */ be(oc);
|
|
1591
1591
|
jt.bound = /* @__PURE__ */ be(lc);
|
|
1592
1592
|
function ei(t) {
|
|
1593
1593
|
return fe(t) && t.isMobxAction === !0;
|
|
1594
1594
|
}
|
|
1595
|
-
function
|
|
1595
|
+
function Hs(t, e) {
|
|
1596
1596
|
var n, i, r, a, s;
|
|
1597
1597
|
e === void 0 && (e = hs);
|
|
1598
1598
|
var o = (n = (i = e) == null ? void 0 : i.name) != null ? n : "Autorun", l = !e.scheduler && !e.delay, u;
|
|
@@ -1649,9 +1649,9 @@ function gc(t) {
|
|
|
1649
1649
|
}
|
|
1650
1650
|
function vc(t, e, n, i) {
|
|
1651
1651
|
var r = Yl(e);
|
|
1652
|
-
return
|
|
1652
|
+
return We(function() {
|
|
1653
1653
|
var a = gt(t, i)[U];
|
|
1654
|
-
|
|
1654
|
+
Jn(r).forEach(function(s) {
|
|
1655
1655
|
a.extend_(
|
|
1656
1656
|
s,
|
|
1657
1657
|
r[s],
|
|
@@ -1674,14 +1674,14 @@ function yc(t) {
|
|
|
1674
1674
|
return Array.from(new Set(t));
|
|
1675
1675
|
}
|
|
1676
1676
|
var bc = 0;
|
|
1677
|
-
function
|
|
1677
|
+
function Js() {
|
|
1678
1678
|
this.message = "FLOW_CANCELLED";
|
|
1679
1679
|
}
|
|
1680
|
-
|
|
1680
|
+
Js.prototype = /* @__PURE__ */ Object.create(Error.prototype);
|
|
1681
1681
|
var vi = /* @__PURE__ */ Ns("flow"), _c = /* @__PURE__ */ Ns("flow.bound", {
|
|
1682
1682
|
bound: !0
|
|
1683
1683
|
}), ut = /* @__PURE__ */ Object.assign(function(e, n) {
|
|
1684
|
-
if (
|
|
1684
|
+
if (Xt(n))
|
|
1685
1685
|
return vi.decorate_20223_(e, n);
|
|
1686
1686
|
if (Me(n))
|
|
1687
1687
|
return pt(e, n, vi);
|
|
@@ -1720,9 +1720,9 @@ var vi = /* @__PURE__ */ Ns("flow"), _c = /* @__PURE__ */ Ns("flow.bound", {
|
|
|
1720
1720
|
});
|
|
1721
1721
|
return v.cancel = ge(r + " - runid: " + u + " - cancel", function() {
|
|
1722
1722
|
try {
|
|
1723
|
-
f &&
|
|
1723
|
+
f && Qr(f);
|
|
1724
1724
|
var p = c.return(void 0), m = Promise.resolve(p.value);
|
|
1725
|
-
m.then(rt, rt),
|
|
1725
|
+
m.then(rt, rt), Qr(m), d(new Js());
|
|
1726
1726
|
} catch (N) {
|
|
1727
1727
|
d(N);
|
|
1728
1728
|
}
|
|
@@ -1731,7 +1731,7 @@ var vi = /* @__PURE__ */ Ns("flow"), _c = /* @__PURE__ */ Ns("flow.bound", {
|
|
|
1731
1731
|
return a.isMobXFlow = !0, a;
|
|
1732
1732
|
}, vi);
|
|
1733
1733
|
ut.bound = /* @__PURE__ */ be(_c);
|
|
1734
|
-
function
|
|
1734
|
+
function Qr(t) {
|
|
1735
1735
|
fe(t.cancel) && t.cancel();
|
|
1736
1736
|
}
|
|
1737
1737
|
function Mt(t) {
|
|
@@ -1740,7 +1740,7 @@ function Mt(t) {
|
|
|
1740
1740
|
function Sc(t, e) {
|
|
1741
1741
|
return t ? ni(t) || !!t[U] || mr(t) || Rn(t) || Zn(t) : !1;
|
|
1742
1742
|
}
|
|
1743
|
-
function
|
|
1743
|
+
function Ws(t) {
|
|
1744
1744
|
return Sc(t);
|
|
1745
1745
|
}
|
|
1746
1746
|
function Ne(t, e) {
|
|
@@ -1767,8 +1767,8 @@ function Ys(t, e, n) {
|
|
|
1767
1767
|
}, n.timeout);
|
|
1768
1768
|
}
|
|
1769
1769
|
n.name = "When";
|
|
1770
|
-
var a = Le("When-effect", e), s =
|
|
1771
|
-
var l =
|
|
1770
|
+
var a = Le("When-effect", e), s = Hs(function(o) {
|
|
1771
|
+
var l = Ju(!1, t);
|
|
1772
1772
|
l && (o.dispose(), i && clearTimeout(i), a());
|
|
1773
1773
|
}, n);
|
|
1774
1774
|
return s;
|
|
@@ -1796,33 +1796,33 @@ function Ec(t, e) {
|
|
|
1796
1796
|
});
|
|
1797
1797
|
return a.cancel = i, a;
|
|
1798
1798
|
}
|
|
1799
|
-
function
|
|
1799
|
+
function Xe(t) {
|
|
1800
1800
|
return t[U];
|
|
1801
1801
|
}
|
|
1802
1802
|
var Ac = {
|
|
1803
1803
|
has: function(e, n) {
|
|
1804
|
-
return
|
|
1804
|
+
return Xe(e).has_(n);
|
|
1805
1805
|
},
|
|
1806
1806
|
get: function(e, n) {
|
|
1807
|
-
return
|
|
1807
|
+
return Xe(e).get_(n);
|
|
1808
1808
|
},
|
|
1809
1809
|
set: function(e, n, i) {
|
|
1810
1810
|
var r;
|
|
1811
|
-
return Me(n) ? (r =
|
|
1811
|
+
return Me(n) ? (r = Xe(e).set_(n, i, !0)) != null ? r : !0 : !1;
|
|
1812
1812
|
},
|
|
1813
1813
|
deleteProperty: function(e, n) {
|
|
1814
1814
|
var i;
|
|
1815
|
-
return Me(n) ? (i =
|
|
1815
|
+
return Me(n) ? (i = Xe(e).delete_(n, !0)) != null ? i : !0 : !1;
|
|
1816
1816
|
},
|
|
1817
1817
|
defineProperty: function(e, n, i) {
|
|
1818
1818
|
var r;
|
|
1819
|
-
return (r =
|
|
1819
|
+
return (r = Xe(e).defineProperty_(n, i)) != null ? r : !0;
|
|
1820
1820
|
},
|
|
1821
1821
|
ownKeys: function(e) {
|
|
1822
|
-
return
|
|
1822
|
+
return Xe(e).ownKeys_();
|
|
1823
1823
|
},
|
|
1824
1824
|
preventExtensions: function(e) {
|
|
1825
|
-
|
|
1825
|
+
H(13);
|
|
1826
1826
|
}
|
|
1827
1827
|
};
|
|
1828
1828
|
function Oc(t, e) {
|
|
@@ -1842,7 +1842,7 @@ function en(t, e) {
|
|
|
1842
1842
|
function ie(t, e) {
|
|
1843
1843
|
var n = Ke();
|
|
1844
1844
|
try {
|
|
1845
|
-
for (var i = [].concat(t.interceptors_ || []), r = 0, a = i.length; r < a && (e = i[r](e), e && !e.type &&
|
|
1845
|
+
for (var i = [].concat(t.interceptors_ || []), r = 0, a = i.length; r < a && (e = i[r](e), e && !e.type && H(14), !!e); r++)
|
|
1846
1846
|
;
|
|
1847
1847
|
return e;
|
|
1848
1848
|
} finally {
|
|
@@ -1868,10 +1868,10 @@ function de(t, e) {
|
|
|
1868
1868
|
Ae(n);
|
|
1869
1869
|
}
|
|
1870
1870
|
}
|
|
1871
|
-
function
|
|
1872
|
-
return
|
|
1871
|
+
function Xs(t, e, n) {
|
|
1872
|
+
return We(function() {
|
|
1873
1873
|
var i, r = gt(t, n)[U];
|
|
1874
|
-
(i = e) != null || (e = tu(t)),
|
|
1874
|
+
(i = e) != null || (e = tu(t)), Jn(e).forEach(function(a) {
|
|
1875
1875
|
return r.make_(a, e[a]);
|
|
1876
1876
|
});
|
|
1877
1877
|
}), t;
|
|
@@ -1886,11 +1886,11 @@ var Zr = "splice", _e = "update", wc = 1e4, Tc = {
|
|
|
1886
1886
|
return n === "length" && r.setArrayLength_(i), typeof n == "symbol" || isNaN(n) ? e[n] = i : r.set_(parseInt(n), i), !0;
|
|
1887
1887
|
},
|
|
1888
1888
|
preventExtensions: function() {
|
|
1889
|
-
|
|
1889
|
+
H(15);
|
|
1890
1890
|
}
|
|
1891
1891
|
}, kr = /* @__PURE__ */ function() {
|
|
1892
1892
|
function t(n, i, r, a) {
|
|
1893
|
-
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_ = a, this.atom_ = new
|
|
1893
|
+
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_ = a, this.atom_ = new Qt(n), this.enhancer_ = function(s, o) {
|
|
1894
1894
|
return i(s, o, "ObservableArray[..]");
|
|
1895
1895
|
};
|
|
1896
1896
|
}
|
|
@@ -1916,7 +1916,7 @@ var Zr = "splice", _e = "update", wc = 1e4, Tc = {
|
|
|
1916
1916
|
}, e.getArrayLength_ = function() {
|
|
1917
1917
|
return this.atom_.reportObserved(), this.values_.length;
|
|
1918
1918
|
}, e.setArrayLength_ = function(i) {
|
|
1919
|
-
(typeof i != "number" || isNaN(i) || i < 0) &&
|
|
1919
|
+
(typeof i != "number" || isNaN(i) || i < 0) && H("Out of range: " + i);
|
|
1920
1920
|
var r = this.values_.length;
|
|
1921
1921
|
if (i !== r)
|
|
1922
1922
|
if (i > r) {
|
|
@@ -1926,7 +1926,7 @@ var Zr = "splice", _e = "update", wc = 1e4, Tc = {
|
|
|
1926
1926
|
} else
|
|
1927
1927
|
this.spliceWithArray_(i, r - i);
|
|
1928
1928
|
}, e.updateArrayLength_ = function(i, r) {
|
|
1929
|
-
i !== this.lastKnownLength_ &&
|
|
1929
|
+
i !== this.lastKnownLength_ && H(16), this.lastKnownLength_ += r, this.legacyMode_ && r > 0 && lo(i + r + 1);
|
|
1930
1930
|
}, e.spliceWithArray_ = function(i, r, a) {
|
|
1931
1931
|
var s = this;
|
|
1932
1932
|
this.atom_;
|
|
@@ -1996,7 +1996,7 @@ var Zr = "splice", _e = "update", wc = 1e4, Tc = {
|
|
|
1996
1996
|
return this.atom_.reportObserved(), this.dehanceValue_(this.values_[i]);
|
|
1997
1997
|
}, e.set_ = function(i, r) {
|
|
1998
1998
|
var a = this.values_;
|
|
1999
|
-
if (this.legacyMode_ && i > a.length &&
|
|
1999
|
+
if (this.legacyMode_ && i > a.length && H(17, i, a.length), i < a.length) {
|
|
2000
2000
|
this.atom_;
|
|
2001
2001
|
var s = a[i];
|
|
2002
2002
|
if (ne(this)) {
|
|
@@ -2021,7 +2021,7 @@ var Zr = "splice", _e = "update", wc = 1e4, Tc = {
|
|
|
2021
2021
|
}, t;
|
|
2022
2022
|
}();
|
|
2023
2023
|
function xc(t, e, n, i) {
|
|
2024
|
-
return n === void 0 && (n = "ObservableArray"), i === void 0 && (i = !1), ps(),
|
|
2024
|
+
return n === void 0 && (n = "ObservableArray"), i === void 0 && (i = !1), ps(), We(function() {
|
|
2025
2025
|
var r = new kr(n, e, i, !1);
|
|
2026
2026
|
vs(r.values_, U, r);
|
|
2027
2027
|
var a = new Proxy(r.values_, Tc);
|
|
@@ -2080,10 +2080,10 @@ var Dn = {
|
|
|
2080
2080
|
return e.spliceWithArray_(0, 0, i), e.values_.length;
|
|
2081
2081
|
},
|
|
2082
2082
|
reverse: function() {
|
|
2083
|
-
return O.trackingDerivation &&
|
|
2083
|
+
return O.trackingDerivation && H(37, "reverse"), this.replace(this.slice().reverse()), this;
|
|
2084
2084
|
},
|
|
2085
2085
|
sort: function() {
|
|
2086
|
-
O.trackingDerivation &&
|
|
2086
|
+
O.trackingDerivation && H(37, "sort");
|
|
2087
2087
|
var e = this.slice();
|
|
2088
2088
|
return e.sort.apply(e, arguments), this.replace(e), this;
|
|
2089
2089
|
},
|
|
@@ -2116,8 +2116,8 @@ K("forEach", he);
|
|
|
2116
2116
|
K("map", he);
|
|
2117
2117
|
K("some", he);
|
|
2118
2118
|
K("toReversed", he);
|
|
2119
|
-
K("reduce",
|
|
2120
|
-
K("reduceRight",
|
|
2119
|
+
K("reduce", Qs);
|
|
2120
|
+
K("reduceRight", Qs);
|
|
2121
2121
|
function K(t, e) {
|
|
2122
2122
|
typeof Array.prototype[t] == "function" && (Dn[t] = e(t));
|
|
2123
2123
|
}
|
|
@@ -2139,7 +2139,7 @@ function he(t) {
|
|
|
2139
2139
|
});
|
|
2140
2140
|
};
|
|
2141
2141
|
}
|
|
2142
|
-
function
|
|
2142
|
+
function Qs(t) {
|
|
2143
2143
|
return function() {
|
|
2144
2144
|
var e = this, n = this[U];
|
|
2145
2145
|
n.atom_.reportObserved();
|
|
@@ -2159,7 +2159,7 @@ eo = Symbol.toStringTag;
|
|
|
2159
2159
|
var to = /* @__PURE__ */ function() {
|
|
2160
2160
|
function t(n, i, r) {
|
|
2161
2161
|
var a = this;
|
|
2162
|
-
i === void 0 && (i = Be), r === void 0 && (r = "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[U] = Fc, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = i, this.name_ = r, fe(Map) ||
|
|
2162
|
+
i === void 0 && (i = Be), r === void 0 && (r = "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[U] = Fc, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = i, this.name_ = r, fe(Map) || H(18), We(function() {
|
|
2163
2163
|
a.keysAtom_ = _s("ObservableMap.keys()"), a.data_ = /* @__PURE__ */ new Map(), a.hasMap_ = /* @__PURE__ */ new Map(), n && a.merge(n);
|
|
2164
2164
|
});
|
|
2165
2165
|
}
|
|
@@ -2172,7 +2172,7 @@ var to = /* @__PURE__ */ function() {
|
|
|
2172
2172
|
return this.has_(i);
|
|
2173
2173
|
var a = this.hasMap_.get(i);
|
|
2174
2174
|
if (!a) {
|
|
2175
|
-
var s = a = new Ue(this.has_(i),
|
|
2175
|
+
var s = a = new Ue(this.has_(i), Wn, "ObservableMap.key?", !1);
|
|
2176
2176
|
this.hasMap_.set(i, s), qs(s, function() {
|
|
2177
2177
|
return r.hasMap_.delete(i);
|
|
2178
2178
|
});
|
|
@@ -2286,15 +2286,15 @@ var to = /* @__PURE__ */ function() {
|
|
|
2286
2286
|
}
|
|
2287
2287
|
}, e.merge = function(i) {
|
|
2288
2288
|
var r = this;
|
|
2289
|
-
return
|
|
2290
|
-
Ie(i) ?
|
|
2289
|
+
return Je(i) && (i = new Map(i)), Ne(function() {
|
|
2290
|
+
Ie(i) ? Wl(i).forEach(function(a) {
|
|
2291
2291
|
return r.set(a, i[a]);
|
|
2292
2292
|
}) : Array.isArray(i) ? i.forEach(function(a) {
|
|
2293
2293
|
var s = a[0], o = a[1];
|
|
2294
2294
|
return r.set(s, o);
|
|
2295
|
-
}) : ht(i) ? (i.constructor !== Map &&
|
|
2295
|
+
}) : ht(i) ? (i.constructor !== Map && H(19, i), i.forEach(function(a, s) {
|
|
2296
2296
|
return r.set(s, a);
|
|
2297
|
-
})) : i != null &&
|
|
2297
|
+
})) : i != null && H(20, i);
|
|
2298
2298
|
}), this;
|
|
2299
2299
|
}, e.clear = function() {
|
|
2300
2300
|
var i = this;
|
|
@@ -2360,9 +2360,9 @@ var to = /* @__PURE__ */ function() {
|
|
|
2360
2360
|
return "Map";
|
|
2361
2361
|
}
|
|
2362
2362
|
}]), t;
|
|
2363
|
-
}(),
|
|
2363
|
+
}(), Je = /* @__PURE__ */ Ge("ObservableMap", to);
|
|
2364
2364
|
function Rc(t) {
|
|
2365
|
-
if (ht(t) ||
|
|
2365
|
+
if (ht(t) || Je(t))
|
|
2366
2366
|
return t;
|
|
2367
2367
|
if (Array.isArray(t))
|
|
2368
2368
|
return new Map(t);
|
|
@@ -2372,7 +2372,7 @@ function Rc(t) {
|
|
|
2372
2372
|
e.set(n, t[n]);
|
|
2373
2373
|
return e;
|
|
2374
2374
|
} else
|
|
2375
|
-
return
|
|
2375
|
+
return H(21, t);
|
|
2376
2376
|
}
|
|
2377
2377
|
var no, io, Dc = {};
|
|
2378
2378
|
no = Symbol.iterator;
|
|
@@ -2380,9 +2380,9 @@ io = Symbol.toStringTag;
|
|
|
2380
2380
|
var ro = /* @__PURE__ */ function() {
|
|
2381
2381
|
function t(n, i, r) {
|
|
2382
2382
|
var a = this;
|
|
2383
|
-
i === void 0 && (i = Be), r === void 0 && (r = "ObservableSet"), this.name_ = void 0, this[U] = Dc, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = r, fe(Set) ||
|
|
2383
|
+
i === void 0 && (i = Be), r === void 0 && (r = "ObservableSet"), this.name_ = void 0, this[U] = Dc, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = r, fe(Set) || H(22), this.enhancer_ = function(s, o) {
|
|
2384
2384
|
return i(s, o, r);
|
|
2385
|
-
},
|
|
2385
|
+
}, We(function() {
|
|
2386
2386
|
a.atom_ = _s(a.name_), n && a.replace(n);
|
|
2387
2387
|
});
|
|
2388
2388
|
}
|
|
@@ -2490,7 +2490,7 @@ var ro = /* @__PURE__ */ function() {
|
|
|
2490
2490
|
return r.add(a);
|
|
2491
2491
|
})) : Yt(i) ? (r.clear(), i.forEach(function(a) {
|
|
2492
2492
|
return r.add(a);
|
|
2493
|
-
})) : i != null &&
|
|
2493
|
+
})) : i != null && H("Cannot initialize set from " + i);
|
|
2494
2494
|
}), this;
|
|
2495
2495
|
}, e.observe_ = function(i, r) {
|
|
2496
2496
|
return tn(this, i);
|
|
@@ -2515,7 +2515,7 @@ var ro = /* @__PURE__ */ function() {
|
|
|
2515
2515
|
}]), t;
|
|
2516
2516
|
}(), mt = /* @__PURE__ */ Ge("ObservableSet", ro), ea = /* @__PURE__ */ Object.create(null), ta = "remove", ao = /* @__PURE__ */ function() {
|
|
2517
2517
|
function t(n, i, r, a) {
|
|
2518
|
-
i === void 0 && (i = /* @__PURE__ */ new Map()), a === void 0 && (a = 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_ = a, this.keysAtom_ = new
|
|
2518
|
+
i === void 0 && (i = /* @__PURE__ */ new Map()), a === void 0 && (a = 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_ = a, this.keysAtom_ = new Qt("ObservableObject.keys"), this.isPlainObject_ = Ie(this.target_);
|
|
2519
2519
|
}
|
|
2520
2520
|
var e = t.prototype;
|
|
2521
2521
|
return e.getObservablePropValue_ = function(i) {
|
|
@@ -2562,14 +2562,14 @@ var ro = /* @__PURE__ */ function() {
|
|
|
2562
2562
|
return i in this.target_;
|
|
2563
2563
|
this.pendingKeys_ || (this.pendingKeys_ = /* @__PURE__ */ new Map());
|
|
2564
2564
|
var r = this.pendingKeys_.get(i);
|
|
2565
|
-
return r || (r = new Ue(i in this.target_,
|
|
2565
|
+
return r || (r = new Ue(i in this.target_, Wn, "ObservableObject.key?", !1), this.pendingKeys_.set(i, r)), r.get();
|
|
2566
2566
|
}, e.make_ = function(i, r) {
|
|
2567
2567
|
if (r === !0 && (r = this.defaultAnnotation_), r !== !1) {
|
|
2568
2568
|
if (!(i in this.target_)) {
|
|
2569
2569
|
var a;
|
|
2570
2570
|
if ((a = this.target_[me]) != null && a[i])
|
|
2571
2571
|
return;
|
|
2572
|
-
|
|
2572
|
+
H(1, r.annotationType_, this.name_ + "." + i.toString());
|
|
2573
2573
|
}
|
|
2574
2574
|
for (var s = this.target_; s && s !== qn; ) {
|
|
2575
2575
|
var o = wn(s, i);
|
|
@@ -2748,7 +2748,7 @@ var ro = /* @__PURE__ */ function() {
|
|
|
2748
2748
|
}
|
|
2749
2749
|
(a = this.pendingKeys_) == null || (s = a.get(i)) == null || s.set(!0), this.keysAtom_.reportChanged();
|
|
2750
2750
|
}, e.ownKeys_ = function() {
|
|
2751
|
-
return this.keysAtom_.reportObserved(),
|
|
2751
|
+
return this.keysAtom_.reportObserved(), Jn(this.target_);
|
|
2752
2752
|
}, e.keys_ = function() {
|
|
2753
2753
|
return this.keysAtom_.reportObserved(), Object.keys(this.target_);
|
|
2754
2754
|
}, t;
|
|
@@ -2795,7 +2795,7 @@ var yr = /* @__PURE__ */ function(t, e, n) {
|
|
|
2795
2795
|
bs(i, t);
|
|
2796
2796
|
function i(a, s, o, l) {
|
|
2797
2797
|
var u;
|
|
2798
|
-
return o === void 0 && (o = "ObservableArray"), l === void 0 && (l = !1), u = t.call(this) || this,
|
|
2798
|
+
return o === void 0 && (o = "ObservableArray"), l === void 0 && (l = !1), u = t.call(this) || this, We(function() {
|
|
2799
2799
|
var c = new kr(o, s, l, !0);
|
|
2800
2800
|
c.proxy_ = gi(u), vs(gi(u), U, c), a && a.length && u.spliceWithArray(0, 0, a), Lc && Object.defineProperty(gi(u), "0", Pc);
|
|
2801
2801
|
}), u;
|
|
@@ -2873,33 +2873,33 @@ function Uc(t, e, n) {
|
|
|
2873
2873
|
function Pn(t, e) {
|
|
2874
2874
|
if (typeof t == "object" && t !== null) {
|
|
2875
2875
|
if (ti(t))
|
|
2876
|
-
return e !== void 0 &&
|
|
2876
|
+
return e !== void 0 && H(23), t[U].atom_;
|
|
2877
2877
|
if (mt(t))
|
|
2878
2878
|
return t.atom_;
|
|
2879
|
-
if (
|
|
2879
|
+
if (Je(t)) {
|
|
2880
2880
|
if (e === void 0)
|
|
2881
2881
|
return t.keysAtom_;
|
|
2882
2882
|
var n = t.data_.get(e) || t.hasMap_.get(e);
|
|
2883
|
-
return n ||
|
|
2883
|
+
return n || H(25, e, Gi(t)), n;
|
|
2884
2884
|
}
|
|
2885
2885
|
if (ni(t)) {
|
|
2886
2886
|
if (!e)
|
|
2887
|
-
return
|
|
2887
|
+
return H(26);
|
|
2888
2888
|
var i = t[U].values_.get(e);
|
|
2889
|
-
return i ||
|
|
2889
|
+
return i || H(27, e, Gi(t)), i;
|
|
2890
2890
|
}
|
|
2891
2891
|
if (mr(t) || Zn(t) || Rn(t))
|
|
2892
2892
|
return t;
|
|
2893
2893
|
} else if (fe(t) && Rn(t[U]))
|
|
2894
2894
|
return t[U];
|
|
2895
|
-
|
|
2895
|
+
H(28);
|
|
2896
2896
|
}
|
|
2897
2897
|
function jc(t, e) {
|
|
2898
|
-
if (t ||
|
|
2898
|
+
if (t || H(29), mr(t) || Zn(t) || Rn(t) || Je(t) || mt(t))
|
|
2899
2899
|
return t;
|
|
2900
2900
|
if (t[U])
|
|
2901
2901
|
return t[U];
|
|
2902
|
-
|
|
2902
|
+
H(24, t);
|
|
2903
2903
|
}
|
|
2904
2904
|
function Gi(t, e) {
|
|
2905
2905
|
var n;
|
|
@@ -2908,17 +2908,17 @@ function Gi(t, e) {
|
|
|
2908
2908
|
else {
|
|
2909
2909
|
if (ei(t))
|
|
2910
2910
|
return t.name;
|
|
2911
|
-
ni(t) ||
|
|
2911
|
+
ni(t) || Je(t) || mt(t) ? n = jc(t) : n = Pn(t);
|
|
2912
2912
|
}
|
|
2913
2913
|
return n.name_;
|
|
2914
2914
|
}
|
|
2915
|
-
function
|
|
2916
|
-
var e = Ke(), n =
|
|
2915
|
+
function We(t) {
|
|
2916
|
+
var e = Ke(), n = Xn(!0);
|
|
2917
2917
|
re();
|
|
2918
2918
|
try {
|
|
2919
2919
|
return t();
|
|
2920
2920
|
} finally {
|
|
2921
|
-
ae(),
|
|
2921
|
+
ae(), Qn(n), Ae(e);
|
|
2922
2922
|
}
|
|
2923
2923
|
}
|
|
2924
2924
|
var ra = qn.toString;
|
|
@@ -2986,7 +2986,7 @@ function Ki(t, e, n, i, r) {
|
|
|
2986
2986
|
return i.pop(), r.pop(), !0;
|
|
2987
2987
|
}
|
|
2988
2988
|
function aa(t) {
|
|
2989
|
-
return ti(t) ? t.slice() : ht(t) ||
|
|
2989
|
+
return ti(t) ? t.slice() : ht(t) || Je(t) || Yt(t) || mt(t) ? Array.from(t.entries()) : t;
|
|
2990
2990
|
}
|
|
2991
2991
|
function Bt(t) {
|
|
2992
2992
|
return t[Symbol.iterator] = Mc, t;
|
|
@@ -2996,7 +2996,7 @@ function Mc() {
|
|
|
2996
2996
|
}
|
|
2997
2997
|
["Symbol", "Map", "Set"].forEach(function(t) {
|
|
2998
2998
|
var e = hr();
|
|
2999
|
-
typeof e[t] == "undefined" &&
|
|
2999
|
+
typeof e[t] == "undefined" && H("MobX requires global '" + t + "' to be available or polyfilled");
|
|
3000
3000
|
});
|
|
3001
3001
|
typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
|
|
3002
3002
|
spy: ic,
|
|
@@ -3011,7 +3011,7 @@ class Bc {
|
|
|
3011
3011
|
w(this, "channel");
|
|
3012
3012
|
w(this, "listeners", /* @__PURE__ */ new Map());
|
|
3013
3013
|
w(this, "eventQueue", /* @__PURE__ */ new Map());
|
|
3014
|
-
this.logger =
|
|
3014
|
+
this.logger = ze.withPrefix(n, "EventBus");
|
|
3015
3015
|
try {
|
|
3016
3016
|
this.logger.debug(`Creating BroadcastChannel with name "${e}"`), this.channel = new BroadcastChannel(e), this.channel.onmessage = (i) => this.handleMessage(i), this.channel.onmessageerror = (i) => this.logger.error("NizzaBroadcastChannel error:", i);
|
|
3017
3017
|
} catch (i) {
|
|
@@ -3158,14 +3158,14 @@ class Bc {
|
|
|
3158
3158
|
), a;
|
|
3159
3159
|
}
|
|
3160
3160
|
}
|
|
3161
|
-
const
|
|
3162
|
-
let
|
|
3161
|
+
const zc = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
3162
|
+
let Hc = (t = 21) => {
|
|
3163
3163
|
let e = "", n = crypto.getRandomValues(new Uint8Array(t));
|
|
3164
3164
|
for (; t--; )
|
|
3165
|
-
e +=
|
|
3165
|
+
e += zc[n[t] & 63];
|
|
3166
3166
|
return e;
|
|
3167
3167
|
};
|
|
3168
|
-
const uo = (t = 8) =>
|
|
3168
|
+
const uo = (t = 8) => Hc(t), xg = (t) => {
|
|
3169
3169
|
const e = Object.entries(t).reduce((n, [i, r]) => r !== void 0 ? `${n}${n ? "&" : ""}${i}=${r}` : n, "");
|
|
3170
3170
|
return e ? `?${e}` : "";
|
|
3171
3171
|
}, qc = (t) => {
|
|
@@ -3389,7 +3389,7 @@ var ho = { exports: {} };
|
|
|
3389
3389
|
var Gc = ho.exports;
|
|
3390
3390
|
const sa = /* @__PURE__ */ Sr(Gc);
|
|
3391
3391
|
var ot;
|
|
3392
|
-
let
|
|
3392
|
+
let ze = (ot = class {
|
|
3393
3393
|
constructor(e = "") {
|
|
3394
3394
|
w(this, "provider", yi);
|
|
3395
3395
|
w(this, "defaultLevel", fo.levels.INFO);
|
|
@@ -3428,19 +3428,19 @@ let He = (ot = class {
|
|
|
3428
3428
|
const ue = class ue {
|
|
3429
3429
|
constructor() {
|
|
3430
3430
|
w(this, "instanceId", uo());
|
|
3431
|
-
w(this, "log", new
|
|
3431
|
+
w(this, "log", new ze("nz"));
|
|
3432
3432
|
w(this, "coreLogger", this.log.createLogger("core"));
|
|
3433
3433
|
w(this, "_config", null);
|
|
3434
3434
|
w(this, "_account");
|
|
3435
3435
|
w(this, "_accountStatus", "idle");
|
|
3436
3436
|
w(this, "_productDataSource");
|
|
3437
3437
|
w(this, "_eventBus", new Bc("nizza", this.coreLogger));
|
|
3438
|
-
this.coreLogger =
|
|
3438
|
+
this.coreLogger = ze.withPrefix(this.coreLogger, "NizzaStore"), Xs(
|
|
3439
3439
|
this,
|
|
3440
3440
|
{
|
|
3441
|
-
_config:
|
|
3442
|
-
_account:
|
|
3443
|
-
_productDataSource:
|
|
3441
|
+
_config: X,
|
|
3442
|
+
_account: X,
|
|
3443
|
+
_productDataSource: X,
|
|
3444
3444
|
config: Fe,
|
|
3445
3445
|
account: Fe,
|
|
3446
3446
|
accountName: Fe,
|
|
@@ -3526,9 +3526,9 @@ const ue = class ue {
|
|
|
3526
3526
|
}
|
|
3527
3527
|
};
|
|
3528
3528
|
w(ue, "version", "5"), w(ue, "_instance");
|
|
3529
|
-
let
|
|
3529
|
+
let Ji = ue;
|
|
3530
3530
|
const vt = (t) => {
|
|
3531
|
-
const e =
|
|
3531
|
+
const e = Ji.instance();
|
|
3532
3532
|
return Nc(
|
|
3533
3533
|
() => !!e.account,
|
|
3534
3534
|
() => t == null ? void 0 : t(e)
|
|
@@ -3563,25 +3563,25 @@ function Nr(t) {
|
|
|
3563
3563
|
const Kc = Number.isInteger || function(e) {
|
|
3564
3564
|
return e << 0 === e;
|
|
3565
3565
|
};
|
|
3566
|
-
function
|
|
3566
|
+
function Jc(t) {
|
|
3567
3567
|
return Object.prototype.toString.call(t) === "[object String]";
|
|
3568
3568
|
}
|
|
3569
|
-
var
|
|
3569
|
+
var Wc = /* @__PURE__ */ Nr(function(e, n) {
|
|
3570
3570
|
var i = e < 0 ? n.length + e : e;
|
|
3571
|
-
return
|
|
3571
|
+
return Jc(n) ? n.charAt(i) : n[i];
|
|
3572
3572
|
}), Yc = /* @__PURE__ */ yn(function(e) {
|
|
3573
3573
|
return e == null;
|
|
3574
|
-
}),
|
|
3574
|
+
}), Xc = /* @__PURE__ */ Nr(function(e, n) {
|
|
3575
3575
|
return e.map(function(i) {
|
|
3576
3576
|
for (var r = n, a = 0, s; a < i.length; ) {
|
|
3577
3577
|
if (r == null)
|
|
3578
3578
|
return;
|
|
3579
|
-
s = i[a], r = Kc(s) ?
|
|
3579
|
+
s = i[a], r = Kc(s) ? Wc(s, r) : r[s], a += 1;
|
|
3580
3580
|
}
|
|
3581
3581
|
return r;
|
|
3582
3582
|
});
|
|
3583
|
-
}),
|
|
3584
|
-
return
|
|
3583
|
+
}), Qc = /* @__PURE__ */ Nr(function(e, n) {
|
|
3584
|
+
return Xc([e], n)[0];
|
|
3585
3585
|
});
|
|
3586
3586
|
class nn extends Error {
|
|
3587
3587
|
constructor(e, n, i) {
|
|
@@ -3651,13 +3651,13 @@ class td extends nn {
|
|
|
3651
3651
|
}
|
|
3652
3652
|
function Rg(t, e) {
|
|
3653
3653
|
e.forEach((n) => {
|
|
3654
|
-
if (Yc(
|
|
3654
|
+
if (Yc(Qc(n.split("."), t)))
|
|
3655
3655
|
throw new td(n);
|
|
3656
3656
|
});
|
|
3657
3657
|
}
|
|
3658
3658
|
if (!xt)
|
|
3659
3659
|
throw new Error("mobx-react-lite requires React with Hooks support");
|
|
3660
|
-
if (!
|
|
3660
|
+
if (!Xs)
|
|
3661
3661
|
throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");
|
|
3662
3662
|
function nd(t) {
|
|
3663
3663
|
t();
|
|
@@ -3734,7 +3734,7 @@ var ad = 1e4, sd = 1e4, od = (
|
|
|
3734
3734
|
}
|
|
3735
3735
|
}), t;
|
|
3736
3736
|
}()
|
|
3737
|
-
), ld = typeof FinalizationRegistry != "undefined" ? FinalizationRegistry : od,
|
|
3737
|
+
), ld = typeof FinalizationRegistry != "undefined" ? FinalizationRegistry : od, Wi = new ld(function(t) {
|
|
3738
3738
|
var e;
|
|
3739
3739
|
(e = t.reaction) === null || e === void 0 || e.dispose(), t.reaction = null;
|
|
3740
3740
|
}), oa = function(t, e) {
|
|
@@ -3784,8 +3784,8 @@ function dd(t, e) {
|
|
|
3784
3784
|
var l = o.current;
|
|
3785
3785
|
l.reaction || (l.reaction = new Ut(la(e), function() {
|
|
3786
3786
|
l.mounted ? s() : l.changedBeforeMount = !0;
|
|
3787
|
-
}),
|
|
3788
|
-
return
|
|
3787
|
+
}), Wi.register(i, l, l)), xe.useDebugValue(l.reaction, rd), xe.useEffect(function() {
|
|
3788
|
+
return Wi.unregister(l), l.mounted = !0, l.reaction ? l.changedBeforeMount && (l.changedBeforeMount = !1, s()) : (l.reaction = new Ut(la(e), function() {
|
|
3789
3789
|
s();
|
|
3790
3790
|
}), s()), function() {
|
|
3791
3791
|
l.reaction.dispose(), l.reaction = null, l.mounted = !1, l.changedBeforeMount = !1;
|
|
@@ -3806,12 +3806,12 @@ var mo = typeof Symbol == "function" && Symbol.for;
|
|
|
3806
3806
|
mo ? Symbol.for("react.forward_ref") : typeof Br == "function" && Br(function(t) {
|
|
3807
3807
|
return null;
|
|
3808
3808
|
}).$$typeof;
|
|
3809
|
-
mo ? Symbol.for("react.memo") : typeof
|
|
3809
|
+
mo ? Symbol.for("react.memo") : typeof zr == "function" && zr(function(t) {
|
|
3810
3810
|
return null;
|
|
3811
3811
|
}).$$typeof;
|
|
3812
3812
|
var bi;
|
|
3813
3813
|
id(El);
|
|
3814
|
-
bi =
|
|
3814
|
+
bi = Wi.finalizeAllImmediately;
|
|
3815
3815
|
function fd(t, e) {
|
|
3816
3816
|
return e === void 0 && (e = "observed"), dd(t, e);
|
|
3817
3817
|
}
|
|
@@ -3822,7 +3822,7 @@ function go(t) {
|
|
|
3822
3822
|
const e = hd();
|
|
3823
3823
|
return fd(() => t(e));
|
|
3824
3824
|
}
|
|
3825
|
-
const { coreLogger: pd } = vt(), md =
|
|
3825
|
+
const { coreLogger: pd } = vt(), md = ze.withPrefix(pd, "CustomFetch");
|
|
3826
3826
|
async function vo(t) {
|
|
3827
3827
|
const {
|
|
3828
3828
|
url: e,
|
|
@@ -3875,7 +3875,7 @@ const gd = (t, e, n) => {
|
|
|
3875
3875
|
return s.style.display = "none", s.href = a, s.setAttribute("download", e), typeof s.download == "undefined" && s.setAttribute("target", "_blank"), document.body.appendChild(s), s.click(), setTimeout(() => {
|
|
3876
3876
|
document.body.removeChild(s), window.URL.revokeObjectURL(a);
|
|
3877
3877
|
}, 200);
|
|
3878
|
-
}, { coreLogger: vd } = vt(), kd =
|
|
3878
|
+
}, { coreLogger: vd } = vt(), kd = ze.withPrefix(vd, "getClientTimeZone");
|
|
3879
3879
|
function Pg() {
|
|
3880
3880
|
var i, r, a;
|
|
3881
3881
|
let t = null, e = null, n = null;
|
|
@@ -3937,9 +3937,9 @@ function yo(t, e) {
|
|
|
3937
3937
|
const { toString: bd } = Object.prototype, { getPrototypeOf: Er } = Object, ii = /* @__PURE__ */ ((t) => (e) => {
|
|
3938
3938
|
const n = bd.call(e);
|
|
3939
3939
|
return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
|
|
3940
|
-
})(/* @__PURE__ */ Object.create(null)), Se = (t) => (t = t.toLowerCase(), (e) => ii(e) === t), ri = (t) => (e) => typeof e === t, { isArray: kt } = Array,
|
|
3940
|
+
})(/* @__PURE__ */ Object.create(null)), Se = (t) => (t = t.toLowerCase(), (e) => ii(e) === t), ri = (t) => (e) => typeof e === t, { isArray: kt } = Array, zt = ri("undefined");
|
|
3941
3941
|
function _d(t) {
|
|
3942
|
-
return t !== null && !
|
|
3942
|
+
return t !== null && !zt(t) && t.constructor !== null && !zt(t.constructor) && se(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
3943
3943
|
}
|
|
3944
3944
|
const bo = Se("ArrayBuffer");
|
|
3945
3945
|
function Sd(t) {
|
|
@@ -3979,7 +3979,7 @@ function So(t, e) {
|
|
|
3979
3979
|
return r;
|
|
3980
3980
|
return null;
|
|
3981
3981
|
}
|
|
3982
|
-
const No = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : global, Eo = (t) => !
|
|
3982
|
+
const No = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : global, Eo = (t) => !zt(t) && t !== No;
|
|
3983
3983
|
function Yi() {
|
|
3984
3984
|
const { caseless: t } = Eo(this) && this || {}, e = {}, n = (i, r) => {
|
|
3985
3985
|
const a = t && So(e, r) || r;
|
|
@@ -4035,12 +4035,12 @@ const Dd = (t, e, n, { allOwnKeys: i } = {}) => (rn(e, (r, a) => {
|
|
|
4035
4035
|
for (; (n = t.exec(e)) !== null; )
|
|
4036
4036
|
i.push(n);
|
|
4037
4037
|
return i;
|
|
4038
|
-
}, Bd = Se("HTMLFormElement"),
|
|
4038
|
+
}, Bd = Se("HTMLFormElement"), zd = (t) => t.toLowerCase().replace(
|
|
4039
4039
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
4040
4040
|
function(n, i, r) {
|
|
4041
4041
|
return i.toUpperCase() + r;
|
|
4042
4042
|
}
|
|
4043
|
-
), ua = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype),
|
|
4043
|
+
), ua = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Hd = Se("RegExp"), Ao = (t, e) => {
|
|
4044
4044
|
const n = Object.getOwnPropertyDescriptors(t), i = {};
|
|
4045
4045
|
rn(n, (r, a) => {
|
|
4046
4046
|
let s;
|
|
@@ -4069,11 +4069,11 @@ const Dd = (t, e, n, { allOwnKeys: i } = {}) => (rn(e, (r, a) => {
|
|
|
4069
4069
|
};
|
|
4070
4070
|
return kt(t) ? i(t) : i(String(t).split(e)), n;
|
|
4071
4071
|
}, Kd = () => {
|
|
4072
|
-
},
|
|
4072
|
+
}, Jd = (t, e) => (t = +t, Number.isFinite(t) ? t : e), _i = "abcdefghijklmnopqrstuvwxyz", ca = "0123456789", Oo = {
|
|
4073
4073
|
DIGIT: ca,
|
|
4074
4074
|
ALPHA: _i,
|
|
4075
4075
|
ALPHA_DIGIT: _i + _i.toUpperCase() + ca
|
|
4076
|
-
},
|
|
4076
|
+
}, Wd = (t = 16, e = Oo.ALPHA_DIGIT) => {
|
|
4077
4077
|
let n = "";
|
|
4078
4078
|
const { length: i } = e;
|
|
4079
4079
|
for (; t--; )
|
|
@@ -4083,7 +4083,7 @@ const Dd = (t, e, n, { allOwnKeys: i } = {}) => (rn(e, (r, a) => {
|
|
|
4083
4083
|
function Yd(t) {
|
|
4084
4084
|
return !!(t && se(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
|
|
4085
4085
|
}
|
|
4086
|
-
const
|
|
4086
|
+
const Xd = (t) => {
|
|
4087
4087
|
const e = new Array(10), n = (i, r) => {
|
|
4088
4088
|
if (ai(i)) {
|
|
4089
4089
|
if (e.indexOf(i) >= 0)
|
|
@@ -4093,14 +4093,14 @@ const Qd = (t) => {
|
|
|
4093
4093
|
const a = kt(i) ? [] : {};
|
|
4094
4094
|
return rn(i, (s, o) => {
|
|
4095
4095
|
const l = n(s, r + 1);
|
|
4096
|
-
!
|
|
4096
|
+
!zt(l) && (a[o] = l);
|
|
4097
4097
|
}), e[r] = void 0, a;
|
|
4098
4098
|
}
|
|
4099
4099
|
}
|
|
4100
4100
|
return i;
|
|
4101
4101
|
};
|
|
4102
4102
|
return n(t, 0);
|
|
4103
|
-
},
|
|
4103
|
+
}, Qd = Se("AsyncFunction"), Zd = (t) => t && (ai(t) || se(t)) && se(t.then) && se(t.catch), y = {
|
|
4104
4104
|
isArray: kt,
|
|
4105
4105
|
isArrayBuffer: bo,
|
|
4106
4106
|
isBuffer: _d,
|
|
@@ -4111,11 +4111,11 @@ const Qd = (t) => {
|
|
|
4111
4111
|
isBoolean: Ed,
|
|
4112
4112
|
isObject: ai,
|
|
4113
4113
|
isPlainObject: bn,
|
|
4114
|
-
isUndefined:
|
|
4114
|
+
isUndefined: zt,
|
|
4115
4115
|
isDate: Ad,
|
|
4116
4116
|
isFile: Od,
|
|
4117
4117
|
isBlob: wd,
|
|
4118
|
-
isRegExp:
|
|
4118
|
+
isRegExp: Hd,
|
|
4119
4119
|
isFunction: se,
|
|
4120
4120
|
isStream: xd,
|
|
4121
4121
|
isURLSearchParams: Fd,
|
|
@@ -4141,23 +4141,23 @@ const Qd = (t) => {
|
|
|
4141
4141
|
reduceDescriptors: Ao,
|
|
4142
4142
|
freezeMethods: qd,
|
|
4143
4143
|
toObjectSet: Gd,
|
|
4144
|
-
toCamelCase:
|
|
4144
|
+
toCamelCase: zd,
|
|
4145
4145
|
noop: Kd,
|
|
4146
|
-
toFiniteNumber:
|
|
4146
|
+
toFiniteNumber: Jd,
|
|
4147
4147
|
findKey: So,
|
|
4148
4148
|
global: No,
|
|
4149
4149
|
isContextDefined: Eo,
|
|
4150
4150
|
ALPHABET: Oo,
|
|
4151
|
-
generateString:
|
|
4151
|
+
generateString: Wd,
|
|
4152
4152
|
isSpecCompliantForm: Yd,
|
|
4153
|
-
toJSONObject:
|
|
4154
|
-
isAsyncFn:
|
|
4153
|
+
toJSONObject: Xd,
|
|
4154
|
+
isAsyncFn: Qd,
|
|
4155
4155
|
isThenable: Zd
|
|
4156
4156
|
};
|
|
4157
|
-
function
|
|
4157
|
+
function z(t, e, n, i, r) {
|
|
4158
4158
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), n && (this.config = n), i && (this.request = i), r && (this.response = r);
|
|
4159
4159
|
}
|
|
4160
|
-
y.inherits(
|
|
4160
|
+
y.inherits(z, Error, {
|
|
4161
4161
|
toJSON: function() {
|
|
4162
4162
|
return {
|
|
4163
4163
|
// Standard
|
|
@@ -4178,7 +4178,7 @@ y.inherits(H, Error, {
|
|
|
4178
4178
|
};
|
|
4179
4179
|
}
|
|
4180
4180
|
});
|
|
4181
|
-
const wo =
|
|
4181
|
+
const wo = z.prototype, To = {};
|
|
4182
4182
|
[
|
|
4183
4183
|
"ERR_BAD_OPTION_VALUE",
|
|
4184
4184
|
"ERR_BAD_OPTION",
|
|
@@ -4196,16 +4196,16 @@ const wo = H.prototype, To = {};
|
|
|
4196
4196
|
].forEach((t) => {
|
|
4197
4197
|
To[t] = { value: t };
|
|
4198
4198
|
});
|
|
4199
|
-
Object.defineProperties(
|
|
4199
|
+
Object.defineProperties(z, To);
|
|
4200
4200
|
Object.defineProperty(wo, "isAxiosError", { value: !0 });
|
|
4201
|
-
|
|
4201
|
+
z.from = (t, e, n, i, r, a) => {
|
|
4202
4202
|
const s = Object.create(wo);
|
|
4203
4203
|
return y.toFlatObject(t, s, function(l) {
|
|
4204
4204
|
return l !== Error.prototype;
|
|
4205
|
-
}, (o) => o !== "isAxiosError"),
|
|
4205
|
+
}, (o) => o !== "isAxiosError"), z.call(s, t.message, e, n, i, r), s.cause = t, s.name = t.name, a && Object.assign(s, a), s;
|
|
4206
4206
|
};
|
|
4207
4207
|
const ef = null;
|
|
4208
|
-
function
|
|
4208
|
+
function Xi(t) {
|
|
4209
4209
|
return y.isPlainObject(t) || y.isArray(t);
|
|
4210
4210
|
}
|
|
4211
4211
|
function xo(t) {
|
|
@@ -4217,7 +4217,7 @@ function da(t, e, n) {
|
|
|
4217
4217
|
}).join(n ? "." : "") : e;
|
|
4218
4218
|
}
|
|
4219
4219
|
function tf(t) {
|
|
4220
|
-
return y.isArray(t) && !t.some(
|
|
4220
|
+
return y.isArray(t) && !t.some(Xi);
|
|
4221
4221
|
}
|
|
4222
4222
|
const nf = y.toFlatObject(y, {}, null, function(e) {
|
|
4223
4223
|
return /^is[A-Z]/.test(e);
|
|
@@ -4241,7 +4241,7 @@ function si(t, e, n) {
|
|
|
4241
4241
|
if (y.isDate(p))
|
|
4242
4242
|
return p.toISOString();
|
|
4243
4243
|
if (!l && y.isBlob(p))
|
|
4244
|
-
throw new
|
|
4244
|
+
throw new z("Blob is not supported. Use a Buffer instead.");
|
|
4245
4245
|
return y.isArrayBuffer(p) || y.isTypedArray(p) ? l && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
4246
4246
|
}
|
|
4247
4247
|
function c(p, m, N) {
|
|
@@ -4258,12 +4258,12 @@ function si(t, e, n) {
|
|
|
4258
4258
|
);
|
|
4259
4259
|
}), !1;
|
|
4260
4260
|
}
|
|
4261
|
-
return
|
|
4261
|
+
return Xi(p) ? !0 : (e.append(da(N, m, a), u(p)), !1);
|
|
4262
4262
|
}
|
|
4263
4263
|
const d = [], f = Object.assign(nf, {
|
|
4264
4264
|
defaultVisitor: c,
|
|
4265
4265
|
convertValue: u,
|
|
4266
|
-
isVisitable:
|
|
4266
|
+
isVisitable: Xi
|
|
4267
4267
|
});
|
|
4268
4268
|
function v(p, m) {
|
|
4269
4269
|
if (!y.isUndefined(p)) {
|
|
@@ -4484,7 +4484,7 @@ const an = {
|
|
|
4484
4484
|
return JSON.parse(e);
|
|
4485
4485
|
} catch (o) {
|
|
4486
4486
|
if (s)
|
|
4487
|
-
throw o.name === "SyntaxError" ?
|
|
4487
|
+
throw o.name === "SyntaxError" ? z.from(o, z.ERR_BAD_RESPONSE, this, null, this.response) : o;
|
|
4488
4488
|
}
|
|
4489
4489
|
}
|
|
4490
4490
|
return e;
|
|
@@ -4710,16 +4710,16 @@ function Po(t) {
|
|
|
4710
4710
|
return !!(t && t.__CANCEL__);
|
|
4711
4711
|
}
|
|
4712
4712
|
function sn(t, e, n) {
|
|
4713
|
-
|
|
4713
|
+
z.call(this, t == null ? "canceled" : t, z.ERR_CANCELED, e, n), this.name = "CanceledError";
|
|
4714
4714
|
}
|
|
4715
|
-
y.inherits(sn,
|
|
4715
|
+
y.inherits(sn, z, {
|
|
4716
4716
|
__CANCEL__: !0
|
|
4717
4717
|
});
|
|
4718
4718
|
function Sf(t, e, n) {
|
|
4719
4719
|
const i = n.config.validateStatus;
|
|
4720
|
-
!n.status || !i || i(n.status) ? t(n) : e(new
|
|
4720
|
+
!n.status || !i || i(n.status) ? t(n) : e(new z(
|
|
4721
4721
|
"Request failed with status code " + n.status,
|
|
4722
|
-
[
|
|
4722
|
+
[z.ERR_BAD_REQUEST, z.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
4723
4723
|
n.config,
|
|
4724
4724
|
n.request,
|
|
4725
4725
|
n
|
|
@@ -4877,15 +4877,15 @@ const xf = typeof XMLHttpRequest != "undefined", Cf = xf && function(t) {
|
|
|
4877
4877
|
if ("onloadend" in d ? d.onloadend = v : d.onreadystatechange = function() {
|
|
4878
4878
|
!d || d.readyState !== 4 || d.status === 0 && !(d.responseURL && d.responseURL.indexOf("file:") === 0) || setTimeout(v);
|
|
4879
4879
|
}, d.onabort = function() {
|
|
4880
|
-
d && (i(new
|
|
4880
|
+
d && (i(new z("Request aborted", z.ECONNABORTED, t, d)), d = null);
|
|
4881
4881
|
}, d.onerror = function() {
|
|
4882
|
-
i(new
|
|
4882
|
+
i(new z("Network Error", z.ERR_NETWORK, t, d)), d = null;
|
|
4883
4883
|
}, d.ontimeout = function() {
|
|
4884
4884
|
let N = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
|
|
4885
4885
|
const _ = t.transitional || Ro;
|
|
4886
|
-
t.timeoutErrorMessage && (N = t.timeoutErrorMessage), i(new
|
|
4886
|
+
t.timeoutErrorMessage && (N = t.timeoutErrorMessage), i(new z(
|
|
4887
4887
|
N,
|
|
4888
|
-
_.clarifyTimeoutError ?
|
|
4888
|
+
_.clarifyTimeoutError ? z.ETIMEDOUT : z.ECONNABORTED,
|
|
4889
4889
|
t,
|
|
4890
4890
|
d
|
|
4891
4891
|
)), d = null;
|
|
@@ -4900,16 +4900,16 @@ const xf = typeof XMLHttpRequest != "undefined", Cf = xf && function(t) {
|
|
|
4900
4900
|
}, t.cancelToken && t.cancelToken.subscribe(l), t.signal && (t.signal.aborted ? l() : t.signal.addEventListener("abort", l)));
|
|
4901
4901
|
const p = wf(f);
|
|
4902
4902
|
if (p && ve.protocols.indexOf(p) === -1) {
|
|
4903
|
-
i(new
|
|
4903
|
+
i(new z("Unsupported protocol " + p + ":", z.ERR_BAD_REQUEST, t));
|
|
4904
4904
|
return;
|
|
4905
4905
|
}
|
|
4906
4906
|
d.send(r || null);
|
|
4907
4907
|
});
|
|
4908
|
-
},
|
|
4908
|
+
}, Qi = {
|
|
4909
4909
|
http: ef,
|
|
4910
4910
|
xhr: Cf
|
|
4911
4911
|
};
|
|
4912
|
-
y.forEach(
|
|
4912
|
+
y.forEach(Qi, (t, e) => {
|
|
4913
4913
|
if (t) {
|
|
4914
4914
|
try {
|
|
4915
4915
|
Object.defineProperty(t, "name", { value: e });
|
|
@@ -4927,8 +4927,8 @@ const ga = (t) => `- ${t}`, Ff = (t) => y.isFunction(t) || t === null || t === !
|
|
|
4927
4927
|
for (let a = 0; a < e; a++) {
|
|
4928
4928
|
n = t[a];
|
|
4929
4929
|
let s;
|
|
4930
|
-
if (i = n, !Ff(n) && (i =
|
|
4931
|
-
throw new
|
|
4930
|
+
if (i = n, !Ff(n) && (i = Qi[(s = String(n)).toLowerCase()], i === void 0))
|
|
4931
|
+
throw new z(`Unknown adapter '${s}'`);
|
|
4932
4932
|
if (i)
|
|
4933
4933
|
break;
|
|
4934
4934
|
r[s || "#" + a] = i;
|
|
@@ -4940,14 +4940,14 @@ const ga = (t) => `- ${t}`, Ff = (t) => y.isFunction(t) || t === null || t === !
|
|
|
4940
4940
|
let s = e ? a.length > 1 ? `since :
|
|
4941
4941
|
` + a.map(ga).join(`
|
|
4942
4942
|
`) : " " + ga(a[0]) : "as no adapter specified";
|
|
4943
|
-
throw new
|
|
4943
|
+
throw new z(
|
|
4944
4944
|
"There is no suitable adapter to dispatch the request " + s,
|
|
4945
4945
|
"ERR_NOT_SUPPORT"
|
|
4946
4946
|
);
|
|
4947
4947
|
}
|
|
4948
4948
|
return i;
|
|
4949
4949
|
},
|
|
4950
|
-
adapters:
|
|
4950
|
+
adapters: Qi
|
|
4951
4951
|
};
|
|
4952
4952
|
function Ei(t) {
|
|
4953
4953
|
if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
|
|
@@ -5051,9 +5051,9 @@ Or.transitional = function(e, n, i) {
|
|
|
5051
5051
|
}
|
|
5052
5052
|
return (a, s, o) => {
|
|
5053
5053
|
if (e === !1)
|
|
5054
|
-
throw new
|
|
5054
|
+
throw new z(
|
|
5055
5055
|
r(s, " has been removed" + (n ? " in " + n : "")),
|
|
5056
|
-
|
|
5056
|
+
z.ERR_DEPRECATED
|
|
5057
5057
|
);
|
|
5058
5058
|
return n && !ya[s] && (ya[s] = !0, console.warn(
|
|
5059
5059
|
r(
|
|
@@ -5065,7 +5065,7 @@ Or.transitional = function(e, n, i) {
|
|
|
5065
5065
|
};
|
|
5066
5066
|
function Rf(t, e, n) {
|
|
5067
5067
|
if (typeof t != "object")
|
|
5068
|
-
throw new
|
|
5068
|
+
throw new z("options must be an object", z.ERR_BAD_OPTION_VALUE);
|
|
5069
5069
|
const i = Object.keys(t);
|
|
5070
5070
|
let r = i.length;
|
|
5071
5071
|
for (; r-- > 0; ) {
|
|
@@ -5073,11 +5073,11 @@ function Rf(t, e, n) {
|
|
|
5073
5073
|
if (s) {
|
|
5074
5074
|
const o = t[a], l = o === void 0 || s(o, a, t);
|
|
5075
5075
|
if (l !== !0)
|
|
5076
|
-
throw new
|
|
5076
|
+
throw new z("option " + a + " must be " + l, z.ERR_BAD_OPTION_VALUE);
|
|
5077
5077
|
continue;
|
|
5078
5078
|
}
|
|
5079
5079
|
if (n !== !0)
|
|
5080
|
-
throw new
|
|
5080
|
+
throw new z("Unknown option " + a, z.ERR_BAD_OPTION);
|
|
5081
5081
|
}
|
|
5082
5082
|
}
|
|
5083
5083
|
const Zi = {
|
|
@@ -5352,31 +5352,31 @@ function Uo(t) {
|
|
|
5352
5352
|
return Uo(ct(t, r));
|
|
5353
5353
|
}, n;
|
|
5354
5354
|
}
|
|
5355
|
-
const
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5355
|
+
const J = Uo(an);
|
|
5356
|
+
J.Axios = je;
|
|
5357
|
+
J.CanceledError = sn;
|
|
5358
|
+
J.CancelToken = wr;
|
|
5359
|
+
J.isCancel = Po;
|
|
5360
|
+
J.VERSION = Vo;
|
|
5361
|
+
J.toFormData = si;
|
|
5362
|
+
J.AxiosError = z;
|
|
5363
|
+
J.Cancel = J.CanceledError;
|
|
5364
|
+
J.all = function(e) {
|
|
5365
5365
|
return Promise.all(e);
|
|
5366
5366
|
};
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5367
|
+
J.spread = Df;
|
|
5368
|
+
J.isAxiosError = If;
|
|
5369
|
+
J.mergeConfig = ct;
|
|
5370
|
+
J.AxiosHeaders = oe;
|
|
5371
|
+
J.formToJSON = (t) => Io(y.isHTMLForm(t) ? new FormData(t) : t);
|
|
5372
|
+
J.getAdapter = $o.getAdapter;
|
|
5373
|
+
J.HttpStatusCode = er;
|
|
5374
|
+
J.default = J;
|
|
5375
5375
|
class $g {
|
|
5376
5376
|
constructor(e) {
|
|
5377
5377
|
w(this, "logger");
|
|
5378
5378
|
w(this, "axiosInstance");
|
|
5379
|
-
this.logger = e.logger, this.axiosInstance =
|
|
5379
|
+
this.logger = e.logger, this.axiosInstance = J.create({
|
|
5380
5380
|
baseURL: e.baseUrl,
|
|
5381
5381
|
headers: e.accessToken ? { Authorization: `Bearer ${e.accessToken}` } : {}
|
|
5382
5382
|
});
|
|
@@ -5410,7 +5410,7 @@ class $g {
|
|
|
5410
5410
|
i
|
|
5411
5411
|
)).data;
|
|
5412
5412
|
} catch (s) {
|
|
5413
|
-
if (this.handleError(s), r &&
|
|
5413
|
+
if (this.handleError(s), r && J.isAxiosError(s))
|
|
5414
5414
|
return (a = s.response) == null ? void 0 : a.data;
|
|
5415
5415
|
throw s;
|
|
5416
5416
|
}
|
|
@@ -5422,7 +5422,7 @@ class $g {
|
|
|
5422
5422
|
*/
|
|
5423
5423
|
handleError(e) {
|
|
5424
5424
|
var n, i;
|
|
5425
|
-
|
|
5425
|
+
J.isAxiosError(e) && (this.logger.error("Error Code:", (n = e.response) == null ? void 0 : n.status), this.logger.error("Result Data:", (i = e.response) == null ? void 0 : i.data));
|
|
5426
5426
|
}
|
|
5427
5427
|
}
|
|
5428
5428
|
var jo = /* @__PURE__ */ ((t) => (t.VTEX = "VTEX", t.VTEX_IO = "VTEX-IO", t.VTEX_CMS = "PORTAL-VTEX", t.PLATFORM = "PLATFORM", t.UNKNOWN = "UNKNOWN", t))(jo || {}), Pf = /* @__PURE__ */ ((t) => (t.PLATFORM = "platform_module", t.ADENDA = "subscription_module", t.APP_STORE = "app_store", t))(Pf || {}), Mo = /* @__PURE__ */ ((t) => (t.ACTIVE = "active_contract", t.INACTIVE = "inactive_contract", t))(Mo || {}), Lf = /* @__PURE__ */ ((t) => (t.LITE = "lite", t.STANDARD = "standard", t.PRO = "pro", t))(Lf || {}), $f = /* @__PURE__ */ ((t) => (t.LITE = "PLAN_LITE", t.STANDARD = "PLAN_ESTANDAR", t.PRO = "PLAN_PRO", t.NONE = "NO_PLAN", t))($f || {}), Vf = /* @__PURE__ */ ((t) => (t.PAST = "past", t.LIVE = "live", t.FUTURE = "future", t))(Vf || {});
|
|
@@ -5497,8 +5497,8 @@ class Mf {
|
|
|
5497
5497
|
}
|
|
5498
5498
|
}
|
|
5499
5499
|
}
|
|
5500
|
-
const Bf = new jf(), Bo = new Mf(Bf),
|
|
5501
|
-
const t = go((r) => r.accountName), [e, n] = mn(dr), i = us(
|
|
5500
|
+
const Bf = new jf(), Bo = new Mf(Bf), zf = () => ["account"], Vg = () => {
|
|
5501
|
+
const t = go((r) => r.accountName), [e, n] = mn(dr), i = us(zf(), () => Bo.get(t), {
|
|
5502
5502
|
enabled: !!t && !e,
|
|
5503
5503
|
refetchOnWindowFocus: !1,
|
|
5504
5504
|
refetchOnMount: !1
|
|
@@ -5510,10 +5510,10 @@ const Bf = new jf(), Bo = new Mf(Bf), Hf = () => ["account"], Vg = () => {
|
|
|
5510
5510
|
findQuery: i,
|
|
5511
5511
|
account: e
|
|
5512
5512
|
};
|
|
5513
|
-
},
|
|
5513
|
+
}, Hf = Il();
|
|
5514
5514
|
async function qf(t) {
|
|
5515
5515
|
const e = await Bo.get(t);
|
|
5516
|
-
return
|
|
5516
|
+
return Hf.set(dr, e), e;
|
|
5517
5517
|
}
|
|
5518
5518
|
var Gf = /* @__PURE__ */ ((t) => (t.CREATED = "CREATED", t.STARTING = "STARTING", t.LIVE = "LIVE", t.FINALIZED = "FINALIZED", t))(Gf || {});
|
|
5519
5519
|
const Ug = {
|
|
@@ -5534,10 +5534,10 @@ const Ug = {
|
|
|
5534
5534
|
/** AddToCartHook events */
|
|
5535
5535
|
ATCH_ACTION_EXECUTED: "core:addToCartHooks:actionExecuted"
|
|
5536
5536
|
};
|
|
5537
|
-
var
|
|
5538
|
-
const Qf = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "AddCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreateCollectionInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "createCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Xf = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Zf = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, eh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllCollections" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, th = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ManageCollectionProduct" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ManageCollectionProductInInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "manageCollectionProduct" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, nh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchCollections" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ih = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "UpdateCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "UpdateCollectionInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updateCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, rh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindMinimalEvent" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindEventInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findEvent" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailsPath" } }, { kind: "Field", name: { kind: "Name", value: "recordVideoPath" } }, { kind: "Field", name: { kind: "Name", value: "createdAt" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "thumbnails" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ah = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchMinimalEvents" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SearchEventInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchEvent" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailsPath" } }, { kind: "Field", name: { kind: "Name", value: "recordVideoPath" } }, { kind: "Field", name: { kind: "Name", value: "createdAt" } }, { kind: "Field", name: { kind: "Name", value: "status" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, sh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "BlockUser" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "BlockUserInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "blockUser" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "BlockUserSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, oh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ChangeAccountUsername" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "changeAccountUsername" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, lh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, uh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetAllChatMessageInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatMessageArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "connectionId" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "email" } }, { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "idEvent" } }, { kind: "Field", name: { kind: "Name", value: "sendDate" } }, { kind: "Field", name: { kind: "Name", value: "sessionId" } }, { kind: "Field", name: { kind: "Name", value: "type" } }, { kind: "Field", name: { kind: "Name", value: "username" } }, { kind: "Field", name: { kind: "Name", value: "isAdmin" } }, { kind: "Field", name: { kind: "Name", value: "urlGif" } }, { kind: "Field", name: { kind: "Name", value: "second" } }, { kind: "Field", name: { kind: "Name", value: "ip" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Go = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetChatRoomToken" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetChatRoomInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getChatRoomToken" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatRoomTokenData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "token" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ch = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "PinChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "PinChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "pinChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PinChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, dh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "highlightProduct" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "HighlightProductInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "highlightProduct" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "HighlightProductSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, fh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "deleteAllCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerInputAccount" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteAllCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, hh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "getAllCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "section" } }, { kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ph = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "updateCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updateCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, mh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetTimeLine" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetTimeLineInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getTimeLine" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TimeLineArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "time" } }, { kind: "Field", name: { kind: "Name", value: "likes" } }, { kind: "Field", name: { kind: "Name", value: "comments" } }, { kind: "Field", name: { kind: "Name", value: "viewers" } }, { kind: "Field", name: { kind: "Name", value: "orders" } }, { kind: "Field", name: { kind: "Name", value: "minute" } }, { kind: "Field", name: { kind: "Name", value: "hour" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, gh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "AppendProductsToSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "RelateToProductsSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "appendProductsSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, vh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "CreatePlayList" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreatePlayListInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "createPlayList" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CreatePlayListSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, kh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "CreateSnackVideoBatch" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreateSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "createSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, yh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteRelationshipWithSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoRelationshipKeys" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteRelationshipSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }] } }] } }] } }] }, bh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, _h = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindManySnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindManySnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findManySnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Sh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Nh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetPlayLists" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getPlayLists" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PlayListArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "created" } }, { kind: "Field", name: { kind: "Name", value: "videoAmount" } }, { kind: "Field", name: { kind: "Name", value: "productAmount" } }, { kind: "Field", name: { kind: "Name", value: "updated" } }, { kind: "Field", name: { kind: "Name", value: "videos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "order" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Eh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetSnackVideoRelationships" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoRelationshipInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getRelationshipSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "RelationshipSnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "sourceEntity" } }, { kind: "Field", name: { kind: "Name", value: "attributeId" } }] } }] } }] } }] } }] }, Ah = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SearchInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Oh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "UpdatePlayList" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "UpdatePlayListInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updatePlayList" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UpdatePlayListSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, wh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindByProductSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindByProductSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findByProductSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Th = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetPlayList" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetPlayListQueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getPlayList" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PlayListData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "videos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "productId" } }, { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }, { kind: "Field", name: { kind: "Name", value: "order" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, jg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5537
|
+
var Jf = /* @__PURE__ */ ((t) => (t.English = "en", t.Spanish = "es", t.Portuguese = "pt", t))(Jf || {}), Wf = /* @__PURE__ */ ((t) => (t.COMBO = "Combo", t.BADGE = "Badged", t))(Wf || {}), Yf = /* @__PURE__ */ ((t) => (t.VTEX = "VTEX", t.PLATFORM = "platform", t.CACE = "CACE", t.GLOBAL_PAGE = "globalPage", t.CUSTOMIZATION = "customization", t.FAST_STORE = "faststore", t.UNKNOWN = "unknown", t))(Yf || {}), zo = /* @__PURE__ */ ((t) => (t.Created = "CREATED", t.Finalized = "FINALIZED", t.Live = "LIVE", t.Starting = "STARTING", t))(zo || {}), Ho = /* @__PURE__ */ ((t) => (t.Add = "add", t.Remove = "remove", t))(Ho || {}), qo = /* @__PURE__ */ ((t) => (t.Active = "active", t.Inactive = "inactive", t))(qo || {});
|
|
5538
|
+
const Xf = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "AddCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreateCollectionInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "createCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Qf = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Zf = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, eh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllCollections" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, th = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ManageCollectionProduct" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ManageCollectionProductInInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "manageCollectionProduct" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, nh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchCollections" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ih = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "UpdateCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "UpdateCollectionInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updateCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, rh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindMinimalEvent" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindEventInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findEvent" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailsPath" } }, { kind: "Field", name: { kind: "Name", value: "recordVideoPath" } }, { kind: "Field", name: { kind: "Name", value: "createdAt" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "thumbnails" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ah = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchMinimalEvents" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SearchEventInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchEvent" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailsPath" } }, { kind: "Field", name: { kind: "Name", value: "recordVideoPath" } }, { kind: "Field", name: { kind: "Name", value: "createdAt" } }, { kind: "Field", name: { kind: "Name", value: "status" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, sh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "BlockUser" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "BlockUserInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "blockUser" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "BlockUserSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, oh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ChangeAccountUsername" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "changeAccountUsername" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, lh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, uh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetAllChatMessageInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatMessageArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "connectionId" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "email" } }, { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "idEvent" } }, { kind: "Field", name: { kind: "Name", value: "sendDate" } }, { kind: "Field", name: { kind: "Name", value: "sessionId" } }, { kind: "Field", name: { kind: "Name", value: "type" } }, { kind: "Field", name: { kind: "Name", value: "username" } }, { kind: "Field", name: { kind: "Name", value: "isAdmin" } }, { kind: "Field", name: { kind: "Name", value: "urlGif" } }, { kind: "Field", name: { kind: "Name", value: "second" } }, { kind: "Field", name: { kind: "Name", value: "ip" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Go = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetChatRoomToken" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetChatRoomInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getChatRoomToken" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatRoomTokenData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "token" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ch = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "PinChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "PinChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "pinChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PinChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, dh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "highlightProduct" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "HighlightProductInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "highlightProduct" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "HighlightProductSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, fh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "deleteAllCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerInputAccount" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteAllCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, hh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "getAllCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "section" } }, { kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ph = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "updateCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updateCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, mh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetTimeLine" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetTimeLineInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getTimeLine" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TimeLineArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "time" } }, { kind: "Field", name: { kind: "Name", value: "likes" } }, { kind: "Field", name: { kind: "Name", value: "comments" } }, { kind: "Field", name: { kind: "Name", value: "viewers" } }, { kind: "Field", name: { kind: "Name", value: "orders" } }, { kind: "Field", name: { kind: "Name", value: "minute" } }, { kind: "Field", name: { kind: "Name", value: "hour" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, gh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "AppendProductsToSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "RelateToProductsSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "appendProductsSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, vh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "CreatePlayList" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreatePlayListInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "createPlayList" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CreatePlayListSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, kh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "CreateSnackVideoBatch" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreateSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "createSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, yh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteRelationshipWithSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoRelationshipKeys" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteRelationshipSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }] } }] } }] } }] }, bh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, _h = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindManySnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindManySnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findManySnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Sh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Nh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetPlayLists" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getPlayLists" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PlayListArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "created" } }, { kind: "Field", name: { kind: "Name", value: "videoAmount" } }, { kind: "Field", name: { kind: "Name", value: "productAmount" } }, { kind: "Field", name: { kind: "Name", value: "updated" } }, { kind: "Field", name: { kind: "Name", value: "videos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "order" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Eh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetSnackVideoRelationships" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoRelationshipInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getRelationshipSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "RelationshipSnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "sourceEntity" } }, { kind: "Field", name: { kind: "Name", value: "attributeId" } }] } }] } }] } }] } }] }, Ah = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SearchInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Oh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "UpdatePlayList" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "UpdatePlayListInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updatePlayList" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UpdatePlayListSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, wh = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindByProductSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindByProductSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findByProductSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Th = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetPlayList" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetPlayListQueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getPlayList" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PlayListData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "videos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "productId" } }, { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }, { kind: "Field", name: { kind: "Name", value: "order" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, jg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5539
5539
|
__proto__: null,
|
|
5540
|
-
AddCollectionDocument:
|
|
5540
|
+
AddCollectionDocument: Xf,
|
|
5541
5541
|
AppendProductsToSnackVideoDocument: gh,
|
|
5542
5542
|
BlockUserDocument: sh,
|
|
5543
5543
|
ChangeAccountUsernameDocument: oh,
|
|
@@ -5545,10 +5545,10 @@ const Qf = { kind: "Document", definitions: [{ kind: "OperationDefinition", oper
|
|
|
5545
5545
|
CreateSnackVideoBatchDocument: kh,
|
|
5546
5546
|
DeleteAllCustomizationDocument: fh,
|
|
5547
5547
|
DeleteChatMessageDocument: lh,
|
|
5548
|
-
DeleteCollectionDocument:
|
|
5548
|
+
DeleteCollectionDocument: Qf,
|
|
5549
5549
|
DeleteRelationshipWithSnackVideoDocument: yh,
|
|
5550
5550
|
DeleteSnackVideoDocument: bh,
|
|
5551
|
-
EventStatus:
|
|
5551
|
+
EventStatus: zo,
|
|
5552
5552
|
FindByProductSnackVideoDocument: wh,
|
|
5553
5553
|
FindCollectionDocument: Zf,
|
|
5554
5554
|
FindManySnackVideosDocument: _h,
|
|
@@ -5564,7 +5564,7 @@ const Qf = { kind: "Document", definitions: [{ kind: "OperationDefinition", oper
|
|
|
5564
5564
|
GetTimeLineDocument: mh,
|
|
5565
5565
|
HighlightProductDocument: dh,
|
|
5566
5566
|
ManageCollectionProductDocument: th,
|
|
5567
|
-
Methods:
|
|
5567
|
+
Methods: Ho,
|
|
5568
5568
|
PinChatMessageDocument: ch,
|
|
5569
5569
|
SearchCollectionsDocument: nh,
|
|
5570
5570
|
SearchMinimalEventsDocument: ah,
|
|
@@ -5585,7 +5585,7 @@ function Mg(t) {
|
|
|
5585
5585
|
};
|
|
5586
5586
|
}
|
|
5587
5587
|
var yt = /* @__PURE__ */ ((t) => (t.Local = "local", t.VtexLegacy = "vtexlegacy", t.VtexIO = "vtexio", t.External = "external", t))(yt || {}), Ko = /* @__PURE__ */ ((t) => (t.PROD = "prod", t.DEV = "dev", t.LOCAL = "local", t))(Ko || {});
|
|
5588
|
-
const { coreLogger: xh } = vt(), tr =
|
|
5588
|
+
const { coreLogger: xh } = vt(), tr = ze.withPrefix(xh, "addToCartHooks"), Ai = "addToCartHooks.notification.error", ba = {
|
|
5589
5589
|
errorAddingToCart: Ai,
|
|
5590
5590
|
errorOpeningVariationSelector: Ai,
|
|
5591
5591
|
errorOpeningNewTab: Ai,
|
|
@@ -5727,21 +5727,21 @@ function $h(t, e) {
|
|
|
5727
5727
|
if (!(t instanceof e))
|
|
5728
5728
|
throw new TypeError("Cannot call a class as a function");
|
|
5729
5729
|
}
|
|
5730
|
-
function
|
|
5730
|
+
function Ht(t) {
|
|
5731
5731
|
"@babel/helpers - typeof";
|
|
5732
|
-
return
|
|
5732
|
+
return Ht = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
5733
5733
|
return typeof e;
|
|
5734
5734
|
} : function(e) {
|
|
5735
5735
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
5736
|
-
},
|
|
5736
|
+
}, Ht(t);
|
|
5737
5737
|
}
|
|
5738
5738
|
function Vh(t, e) {
|
|
5739
|
-
if (
|
|
5739
|
+
if (Ht(t) != "object" || !t)
|
|
5740
5740
|
return t;
|
|
5741
5741
|
var n = t[Symbol.toPrimitive];
|
|
5742
5742
|
if (n !== void 0) {
|
|
5743
5743
|
var i = n.call(t, e);
|
|
5744
|
-
if (
|
|
5744
|
+
if (Ht(i) != "object")
|
|
5745
5745
|
return i;
|
|
5746
5746
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
5747
5747
|
}
|
|
@@ -5749,7 +5749,7 @@ function Vh(t, e) {
|
|
|
5749
5749
|
}
|
|
5750
5750
|
function Uh(t) {
|
|
5751
5751
|
var e = Vh(t, "string");
|
|
5752
|
-
return
|
|
5752
|
+
return Ht(e) == "symbol" ? e : e + "";
|
|
5753
5753
|
}
|
|
5754
5754
|
function jh(t, e) {
|
|
5755
5755
|
for (var n = 0; n < e.length; n++) {
|
|
@@ -5762,9 +5762,9 @@ function Mh(t, e, n) {
|
|
|
5762
5762
|
writable: !1
|
|
5763
5763
|
}), t;
|
|
5764
5764
|
}
|
|
5765
|
-
var
|
|
5766
|
-
function
|
|
5767
|
-
return Bh.call(
|
|
5765
|
+
var Jo = [], Bh = Jo.forEach, zh = Jo.slice;
|
|
5766
|
+
function Hh(t) {
|
|
5767
|
+
return Bh.call(zh.call(arguments, 1), function(e) {
|
|
5768
5768
|
if (e)
|
|
5769
5769
|
for (var n in e)
|
|
5770
5770
|
t[n] === void 0 && (t[n] = e[n]);
|
|
@@ -5876,7 +5876,7 @@ var _a = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, qh = function(e, n, i) {
|
|
|
5876
5876
|
Et = !1;
|
|
5877
5877
|
}
|
|
5878
5878
|
return Et;
|
|
5879
|
-
},
|
|
5879
|
+
}, Jh = {
|
|
5880
5880
|
name: "localStorage",
|
|
5881
5881
|
lookup: function(e) {
|
|
5882
5882
|
var n;
|
|
@@ -5900,7 +5900,7 @@ var _a = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, qh = function(e, n, i) {
|
|
|
5900
5900
|
At = !1;
|
|
5901
5901
|
}
|
|
5902
5902
|
return At;
|
|
5903
|
-
},
|
|
5903
|
+
}, Wh = {
|
|
5904
5904
|
name: "sessionStorage",
|
|
5905
5905
|
lookup: function(e) {
|
|
5906
5906
|
var n;
|
|
@@ -5925,13 +5925,13 @@ var _a = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, qh = function(e, n, i) {
|
|
|
5925
5925
|
}
|
|
5926
5926
|
return n.length > 0 ? n : void 0;
|
|
5927
5927
|
}
|
|
5928
|
-
},
|
|
5928
|
+
}, Xh = {
|
|
5929
5929
|
name: "htmlTag",
|
|
5930
5930
|
lookup: function(e) {
|
|
5931
5931
|
var n, i = e.htmlTag || (typeof document != "undefined" ? document.documentElement : null);
|
|
5932
5932
|
return i && typeof i.getAttribute == "function" && (n = i.getAttribute("lang")), n;
|
|
5933
5933
|
}
|
|
5934
|
-
},
|
|
5934
|
+
}, Qh = {
|
|
5935
5935
|
name: "path",
|
|
5936
5936
|
lookup: function(e) {
|
|
5937
5937
|
var n;
|
|
@@ -5972,7 +5972,7 @@ function ep() {
|
|
|
5972
5972
|
}
|
|
5973
5973
|
};
|
|
5974
5974
|
}
|
|
5975
|
-
var
|
|
5975
|
+
var Wo = /* @__PURE__ */ function() {
|
|
5976
5976
|
function t(e) {
|
|
5977
5977
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5978
5978
|
$h(this, t), this.type = "languageDetector", this.detectors = {}, this.init(e, n);
|
|
@@ -5983,9 +5983,9 @@ var Jo = /* @__PURE__ */ function() {
|
|
|
5983
5983
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
5984
5984
|
this.services = n || {
|
|
5985
5985
|
languageUtils: {}
|
|
5986
|
-
}, this.options =
|
|
5986
|
+
}, this.options = Hh(i, this.options || {}, ep()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(a) {
|
|
5987
5987
|
return a.replace("-", "_");
|
|
5988
|
-
}), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector(Gh), this.addDetector(Kh), this.addDetector(
|
|
5988
|
+
}), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector(Gh), this.addDetector(Kh), this.addDetector(Jh), this.addDetector(Wh), this.addDetector(Yh), this.addDetector(Xh), this.addDetector(Qh), this.addDetector(Zh);
|
|
5989
5989
|
}
|
|
5990
5990
|
}, {
|
|
5991
5991
|
key: "addDetector",
|
|
@@ -6017,9 +6017,9 @@ var Jo = /* @__PURE__ */ function() {
|
|
|
6017
6017
|
}
|
|
6018
6018
|
}]), t;
|
|
6019
6019
|
}();
|
|
6020
|
-
|
|
6020
|
+
Wo.type = "languageDetector";
|
|
6021
6021
|
function tp(t, e) {
|
|
6022
|
-
t.use(e).use(
|
|
6022
|
+
t.use(e).use(Wo).init({
|
|
6023
6023
|
resources: {},
|
|
6024
6024
|
fallbackLng: "en",
|
|
6025
6025
|
debug: !1,
|
|
@@ -6224,7 +6224,7 @@ function Yo(t, e, n) {
|
|
|
6224
6224
|
i !== "__proto__" && i !== "constructor" && (i in t ? typeof t[i] == "string" || t[i] instanceof String || typeof e[i] == "string" || e[i] instanceof String ? n && (t[i] = e[i]) : Yo(t[i], e[i], n) : t[i] = e[i]);
|
|
6225
6225
|
return t;
|
|
6226
6226
|
}
|
|
6227
|
-
function
|
|
6227
|
+
function Qe(t) {
|
|
6228
6228
|
return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
6229
6229
|
}
|
|
6230
6230
|
var op = {
|
|
@@ -6365,7 +6365,7 @@ class wa extends oi {
|
|
|
6365
6365
|
return this.data;
|
|
6366
6366
|
}
|
|
6367
6367
|
}
|
|
6368
|
-
var
|
|
6368
|
+
var Xo = {
|
|
6369
6369
|
processors: {},
|
|
6370
6370
|
addPostProcessor(t) {
|
|
6371
6371
|
this.processors[t.name] = t;
|
|
@@ -6548,7 +6548,7 @@ class jn extends oi {
|
|
|
6548
6548
|
}, i)), i.interpolation && this.interpolator.reset();
|
|
6549
6549
|
}
|
|
6550
6550
|
const o = i.postProcess || this.options.postProcess, l = typeof o == "string" ? [o] : o;
|
|
6551
|
-
return e != null && l && l.length && i.applyPostProcessor !== !1 && (e =
|
|
6551
|
+
return e != null && l && l.length && i.applyPostProcessor !== !1 && (e = Xo.handle(l, e, n, this.options && this.options.postProcessPassResolved ? {
|
|
6552
6552
|
i18nResolved: {
|
|
6553
6553
|
...r,
|
|
6554
6554
|
usedParams: this.getUsedParamsDetails(i)
|
|
@@ -6943,7 +6943,7 @@ class yp {
|
|
|
6943
6943
|
escapeValue: !0
|
|
6944
6944
|
});
|
|
6945
6945
|
const n = e.interpolation;
|
|
6946
|
-
this.escape = n.escape !== void 0 ? n.escape : lp, this.escapeValue = n.escapeValue !== void 0 ? n.escapeValue : !0, this.useRawValueToEscape = n.useRawValueToEscape !== void 0 ? n.useRawValueToEscape : !1, this.prefix = n.prefix ?
|
|
6946
|
+
this.escape = n.escape !== void 0 ? n.escape : lp, this.escapeValue = n.escapeValue !== void 0 ? n.escapeValue : !0, this.useRawValueToEscape = n.useRawValueToEscape !== void 0 ? n.useRawValueToEscape : !1, this.prefix = n.prefix ? Qe(n.prefix) : n.prefixEscaped || "{{", this.suffix = n.suffix ? Qe(n.suffix) : n.suffixEscaped || "}}", this.formatSeparator = n.formatSeparator ? n.formatSeparator : n.formatSeparator || ",", this.unescapePrefix = n.unescapeSuffix ? "" : n.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : n.unescapeSuffix || "", this.nestingPrefix = n.nestingPrefix ? Qe(n.nestingPrefix) : n.nestingPrefixEscaped || Qe("$t("), this.nestingSuffix = n.nestingSuffix ? Qe(n.nestingSuffix) : n.nestingSuffixEscaped || Qe(")"), this.nestingOptionsSeparator = n.nestingOptionsSeparator ? n.nestingOptionsSeparator : n.nestingOptionsSeparator || ",", this.maxReplaces = n.maxReplaces ? n.maxReplaces : 1e3, this.alwaysFormat = n.alwaysFormat !== void 0 ? n.alwaysFormat : !1, this.resetRegExp();
|
|
6947
6947
|
}
|
|
6948
6948
|
reset() {
|
|
6949
6949
|
this.options && this.init(this.options);
|
|
@@ -7462,7 +7462,7 @@ class qt extends oi {
|
|
|
7462
7462
|
throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
7463
7463
|
if (!e.type)
|
|
7464
7464
|
throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
7465
|
-
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" &&
|
|
7465
|
+
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Xo.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
7466
7466
|
}
|
|
7467
7467
|
setResolvedLanguage(e) {
|
|
7468
7468
|
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
|
|
@@ -7665,14 +7665,14 @@ const Cp = {
|
|
|
7665
7665
|
}
|
|
7666
7666
|
};
|
|
7667
7667
|
tp(ee, Cp);
|
|
7668
|
-
const
|
|
7668
|
+
const zg = (t) => Lh(ee, t);
|
|
7669
7669
|
/**
|
|
7670
7670
|
* @license
|
|
7671
7671
|
* Copyright 2019 Google LLC
|
|
7672
7672
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7673
7673
|
*/
|
|
7674
7674
|
const Sn = globalThis, Cr = Sn.ShadowRoot && (Sn.ShadyCSS === void 0 || Sn.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Fr = Symbol(), Pa = /* @__PURE__ */ new WeakMap();
|
|
7675
|
-
let
|
|
7675
|
+
let Qo = class {
|
|
7676
7676
|
constructor(e, n, i) {
|
|
7677
7677
|
if (this._$cssResult$ = !0, i !== Fr)
|
|
7678
7678
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -7691,7 +7691,7 @@ let Xo = class {
|
|
|
7691
7691
|
return this.cssText;
|
|
7692
7692
|
}
|
|
7693
7693
|
};
|
|
7694
|
-
const Fp = (t) => new
|
|
7694
|
+
const Fp = (t) => new Qo(typeof t == "string" ? t : t + "", void 0, Fr), Rp = (t, ...e) => {
|
|
7695
7695
|
const n = t.length === 1 ? t[0] : e.reduce((i, r, a) => i + ((s) => {
|
|
7696
7696
|
if (s._$cssResult$ === !0)
|
|
7697
7697
|
return s.cssText;
|
|
@@ -7699,7 +7699,7 @@ const Fp = (t) => new Xo(typeof t == "string" ? t : t + "", void 0, Fr), Rp = (t
|
|
|
7699
7699
|
return s;
|
|
7700
7700
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
7701
7701
|
})(r) + t[a + 1], t[0]);
|
|
7702
|
-
return new
|
|
7702
|
+
return new Qo(n, t, Fr);
|
|
7703
7703
|
}, Dp = (t, e) => {
|
|
7704
7704
|
if (Cr)
|
|
7705
7705
|
t.adoptedStyleSheets = e.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
|
|
@@ -7974,9 +7974,9 @@ nt.elementStyles = [], nt.shadowRootOptions = { mode: "open" }, nt[Dt("elementPr
|
|
|
7974
7974
|
* Copyright 2017 Google LLC
|
|
7975
7975
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7976
7976
|
*/
|
|
7977
|
-
const It = globalThis, Mn = It.trustedTypes, Ua = Mn ? Mn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, el = "$lit$", Ce = `lit$${Math.random().toFixed(9).slice(2)}$`, tl = "?" + Ce, Mp = `<${tl}>`,
|
|
7977
|
+
const It = globalThis, Mn = It.trustedTypes, Ua = Mn ? Mn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, el = "$lit$", Ce = `lit$${Math.random().toFixed(9).slice(2)}$`, tl = "?" + Ce, Mp = `<${tl}>`, He = document, Gt = () => He.createComment(""), Kt = (t) => t === null || typeof t != "object" && typeof t != "function", nl = Array.isArray, Bp = (t) => nl(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ti = `[
|
|
7978
7978
|
\f\r]`, wt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ja = /-->/g, Ma = />/g, $e = RegExp(`>|${Ti}(?:([^\\s"'>=/]+)(${Ti}*=${Ti}*(?:[^
|
|
7979
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ba = /'/g,
|
|
7979
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ba = /'/g, za = /"/g, il = /^(?:script|style|textarea|title)$/i, zp = (t) => (e, ...n) => ({ _$litType$: t, strings: e, values: n }), Hp = zp(1), dt = Symbol.for("lit-noChange"), Y = Symbol.for("lit-nothing"), Ha = /* @__PURE__ */ new WeakMap(), Ve = He.createTreeWalker(He, 129);
|
|
7980
7980
|
function rl(t, e) {
|
|
7981
7981
|
if (!Array.isArray(t) || !t.hasOwnProperty("raw"))
|
|
7982
7982
|
throw Error("invalid template strings array");
|
|
@@ -7989,19 +7989,19 @@ const qp = (t, e) => {
|
|
|
7989
7989
|
const l = t[o];
|
|
7990
7990
|
let u, c, d = -1, f = 0;
|
|
7991
7991
|
for (; f < l.length && (s.lastIndex = f, c = s.exec(l), c !== null); )
|
|
7992
|
-
f = s.lastIndex, s === wt ? c[1] === "!--" ? s = ja : c[1] !== void 0 ? s = Ma : c[2] !== void 0 ? (il.test(c[2]) && (r = RegExp("</" + c[2], "g")), s = $e) : c[3] !== void 0 && (s = $e) : s === $e ? c[0] === ">" ? (s = r != null ? r : wt, d = -1) : c[1] === void 0 ? d = -2 : (d = s.lastIndex - c[2].length, u = c[1], s = c[3] === void 0 ? $e : c[3] === '"' ?
|
|
7992
|
+
f = s.lastIndex, s === wt ? c[1] === "!--" ? s = ja : c[1] !== void 0 ? s = Ma : c[2] !== void 0 ? (il.test(c[2]) && (r = RegExp("</" + c[2], "g")), s = $e) : c[3] !== void 0 && (s = $e) : s === $e ? c[0] === ">" ? (s = r != null ? r : wt, d = -1) : c[1] === void 0 ? d = -2 : (d = s.lastIndex - c[2].length, u = c[1], s = c[3] === void 0 ? $e : c[3] === '"' ? za : Ba) : s === za || s === Ba ? s = $e : s === ja || s === Ma ? s = wt : (s = $e, r = void 0);
|
|
7993
7993
|
const v = s === $e && t[o + 1].startsWith("/>") ? " " : "";
|
|
7994
7994
|
a += s === wt ? l + Mp : d >= 0 ? (i.push(u), l.slice(0, d) + el + l.slice(d) + Ce + v) : l + Ce + (d === -2 ? o : v);
|
|
7995
7995
|
}
|
|
7996
7996
|
return [rl(t, a + (t[n] || "<?>") + (e === 2 ? "</svg>" : "")), i];
|
|
7997
7997
|
};
|
|
7998
|
-
class
|
|
7998
|
+
class Jt {
|
|
7999
7999
|
constructor({ strings: e, _$litType$: n }, i) {
|
|
8000
8000
|
let r;
|
|
8001
8001
|
this.parts = [];
|
|
8002
8002
|
let a = 0, s = 0;
|
|
8003
8003
|
const o = e.length - 1, l = this.parts, [u, c] = qp(e, n);
|
|
8004
|
-
if (this.el =
|
|
8004
|
+
if (this.el = Jt.createElement(u, i), Ve.currentNode = this.el.content, n === 2) {
|
|
8005
8005
|
const d = this.el.content.firstChild;
|
|
8006
8006
|
d.replaceWith(...d.childNodes);
|
|
8007
8007
|
}
|
|
@@ -8011,7 +8011,7 @@ class Wt {
|
|
|
8011
8011
|
for (const d of r.getAttributeNames())
|
|
8012
8012
|
if (d.endsWith(el)) {
|
|
8013
8013
|
const f = c[s++], v = r.getAttribute(d).split(Ce), p = /([.?@])?(.*)/.exec(f);
|
|
8014
|
-
l.push({ type: 1, index: a, name: p[2], strings: v, ctor: p[1] === "." ? Kp : p[1] === "?" ?
|
|
8014
|
+
l.push({ type: 1, index: a, name: p[2], strings: v, ctor: p[1] === "." ? Kp : p[1] === "?" ? Jp : p[1] === "@" ? Wp : li }), r.removeAttribute(d);
|
|
8015
8015
|
} else
|
|
8016
8016
|
d.startsWith(Ce) && (l.push({ type: 6, index: a }), r.removeAttribute(d));
|
|
8017
8017
|
if (il.test(r.tagName)) {
|
|
@@ -8035,7 +8035,7 @@ class Wt {
|
|
|
8035
8035
|
}
|
|
8036
8036
|
}
|
|
8037
8037
|
static createElement(e, n) {
|
|
8038
|
-
const i =
|
|
8038
|
+
const i = He.createElement("template");
|
|
8039
8039
|
return i.innerHTML = e, i;
|
|
8040
8040
|
}
|
|
8041
8041
|
}
|
|
@@ -8059,7 +8059,7 @@ class Gp {
|
|
|
8059
8059
|
}
|
|
8060
8060
|
u(e) {
|
|
8061
8061
|
var u;
|
|
8062
|
-
const { el: { content: n }, parts: i } = this._$AD, r = ((u = e == null ? void 0 : e.creationScope) != null ? u :
|
|
8062
|
+
const { el: { content: n }, parts: i } = this._$AD, r = ((u = e == null ? void 0 : e.creationScope) != null ? u : He).importNode(n, !0);
|
|
8063
8063
|
Ve.currentNode = r;
|
|
8064
8064
|
let a = Ve.nextNode(), s = 0, o = 0, l = i[0];
|
|
8065
8065
|
for (; l !== void 0; ) {
|
|
@@ -8069,7 +8069,7 @@ class Gp {
|
|
|
8069
8069
|
}
|
|
8070
8070
|
s !== (l == null ? void 0 : l.index) && (a = Ve.nextNode(), s++);
|
|
8071
8071
|
}
|
|
8072
|
-
return Ve.currentNode =
|
|
8072
|
+
return Ve.currentNode = He, r;
|
|
8073
8073
|
}
|
|
8074
8074
|
p(e) {
|
|
8075
8075
|
let n = 0;
|
|
@@ -8107,11 +8107,11 @@ class on {
|
|
|
8107
8107
|
this._$AH !== e && (this._$AR(), this._$AH = this.S(e));
|
|
8108
8108
|
}
|
|
8109
8109
|
_(e) {
|
|
8110
|
-
this._$AH !== Y && Kt(this._$AH) ? this._$AA.nextSibling.data = e : this.T(
|
|
8110
|
+
this._$AH !== Y && Kt(this._$AH) ? this._$AA.nextSibling.data = e : this.T(He.createTextNode(e)), this._$AH = e;
|
|
8111
8111
|
}
|
|
8112
8112
|
$(e) {
|
|
8113
8113
|
var a;
|
|
8114
|
-
const { values: n, _$litType$: i } = e, r = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el =
|
|
8114
|
+
const { values: n, _$litType$: i } = e, r = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = Jt.createElement(rl(i.h, i.h[0]), this.options)), i);
|
|
8115
8115
|
if (((a = this._$AH) == null ? void 0 : a._$AD) === r)
|
|
8116
8116
|
this._$AH.p(n);
|
|
8117
8117
|
else {
|
|
@@ -8120,8 +8120,8 @@ class on {
|
|
|
8120
8120
|
}
|
|
8121
8121
|
}
|
|
8122
8122
|
_$AC(e) {
|
|
8123
|
-
let n =
|
|
8124
|
-
return n === void 0 &&
|
|
8123
|
+
let n = Ha.get(e.strings);
|
|
8124
|
+
return n === void 0 && Ha.set(e.strings, n = new Jt(e)), n;
|
|
8125
8125
|
}
|
|
8126
8126
|
k(e) {
|
|
8127
8127
|
nl(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -8178,7 +8178,7 @@ class Kp extends li {
|
|
|
8178
8178
|
this.element[this.name] = e === Y ? void 0 : e;
|
|
8179
8179
|
}
|
|
8180
8180
|
}
|
|
8181
|
-
class
|
|
8181
|
+
class Jp extends li {
|
|
8182
8182
|
constructor() {
|
|
8183
8183
|
super(...arguments), this.type = 4;
|
|
8184
8184
|
}
|
|
@@ -8186,7 +8186,7 @@ class Wp extends li {
|
|
|
8186
8186
|
this.element.toggleAttribute(this.name, !!e && e !== Y);
|
|
8187
8187
|
}
|
|
8188
8188
|
}
|
|
8189
|
-
class
|
|
8189
|
+
class Wp extends li {
|
|
8190
8190
|
constructor(e, n, i, r, a) {
|
|
8191
8191
|
super(e, n, i, r, a), this.type = 5;
|
|
8192
8192
|
}
|
|
@@ -8215,8 +8215,8 @@ class Yp {
|
|
|
8215
8215
|
}
|
|
8216
8216
|
const xi = It.litHtmlPolyfillSupport;
|
|
8217
8217
|
var rs;
|
|
8218
|
-
xi == null || xi(
|
|
8219
|
-
const
|
|
8218
|
+
xi == null || xi(Jt, on), ((rs = It.litHtmlVersions) != null ? rs : It.litHtmlVersions = []).push("3.1.3");
|
|
8219
|
+
const Xp = (t, e, n) => {
|
|
8220
8220
|
var a, s;
|
|
8221
8221
|
const i = (a = n == null ? void 0 : n.renderBefore) != null ? a : e;
|
|
8222
8222
|
let r = i._$litPart$;
|
|
@@ -8242,7 +8242,7 @@ let Pt = class extends nt {
|
|
|
8242
8242
|
}
|
|
8243
8243
|
update(e) {
|
|
8244
8244
|
const n = this.render();
|
|
8245
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
|
8245
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Xp(n, this.renderRoot, this.renderOptions);
|
|
8246
8246
|
}
|
|
8247
8247
|
connectedCallback() {
|
|
8248
8248
|
var e;
|
|
@@ -8267,7 +8267,7 @@ var ss;
|
|
|
8267
8267
|
* Copyright 2020 Google LLC
|
|
8268
8268
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8269
8269
|
*/
|
|
8270
|
-
const
|
|
8270
|
+
const Qp = (t) => t.strings === void 0;
|
|
8271
8271
|
/**
|
|
8272
8272
|
* @license
|
|
8273
8273
|
* Copyright 2017 Google LLC
|
|
@@ -8351,7 +8351,7 @@ class am extends tm {
|
|
|
8351
8351
|
e !== this.isConnected && (this.isConnected = e, e ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), n && (Lt(this, e), Bn(this));
|
|
8352
8352
|
}
|
|
8353
8353
|
setValue(e) {
|
|
8354
|
-
if (
|
|
8354
|
+
if (Qp(this._$Ct))
|
|
8355
8355
|
this._$Ct._$AI(e, this);
|
|
8356
8356
|
else {
|
|
8357
8357
|
const n = [...this._$Ct._$AH];
|
|
@@ -8414,7 +8414,7 @@ class um extends Pt {
|
|
|
8414
8414
|
* @returns {TemplateResult} The LitElement template.
|
|
8415
8415
|
*/
|
|
8416
8416
|
render() {
|
|
8417
|
-
return
|
|
8417
|
+
return Hp`<div ${lm(this.rootRef)}></div>`;
|
|
8418
8418
|
}
|
|
8419
8419
|
/**
|
|
8420
8420
|
* Called when the LitElement is updated. Triggers the React component update.
|
|
@@ -8485,7 +8485,7 @@ const rr = os(Rr), Gg = ({ children: t, stores: e }) => {
|
|
|
8485
8485
|
function Kg(t) {
|
|
8486
8486
|
return ur(rr).get(t);
|
|
8487
8487
|
}
|
|
8488
|
-
function
|
|
8488
|
+
function Jg(t) {
|
|
8489
8489
|
return Rr.get(t);
|
|
8490
8490
|
}
|
|
8491
8491
|
class cm {
|
|
@@ -8594,7 +8594,7 @@ const dm = [
|
|
|
8594
8594
|
Ir,
|
|
8595
8595
|
ol
|
|
8596
8596
|
];
|
|
8597
|
-
class
|
|
8597
|
+
class Wg {
|
|
8598
8598
|
constructor(e) {
|
|
8599
8599
|
w(this, "globalId");
|
|
8600
8600
|
w(this, "metadata");
|
|
@@ -8605,7 +8605,7 @@ class Jg {
|
|
|
8605
8605
|
w(this, "componentId");
|
|
8606
8606
|
w(this, "renderHandler");
|
|
8607
8607
|
w(this, "store");
|
|
8608
|
-
this.globalId = e.globalId, this.store = e.getStore(), this.logger =
|
|
8608
|
+
this.globalId = e.globalId, this.store = e.getStore(), this.logger = ze.withPrefix(e.logger, "Runtime"), this.env = e.env, this.bundler = e.bundler, this.customConfigList = /* @__PURE__ */ new Map(), this.metadata = { type: yt.External }, this.initializeGlobals();
|
|
8609
8609
|
}
|
|
8610
8610
|
config(e, n, i) {
|
|
8611
8611
|
typeof n == "function" && (i = n, n = {});
|
|
@@ -8802,10 +8802,10 @@ class $r extends Error {
|
|
|
8802
8802
|
constructor(e, ...n) {
|
|
8803
8803
|
var i, r, a;
|
|
8804
8804
|
const { nodes: s, source: o, positions: l, path: u, originalError: c, extensions: d } = _m(n);
|
|
8805
|
-
super(e), this.name = "GraphQLError", this.path = u != null ? u : void 0, this.originalError = c != null ? c : void 0, this.nodes =
|
|
8805
|
+
super(e), this.name = "GraphQLError", this.path = u != null ? u : void 0, this.originalError = c != null ? c : void 0, this.nodes = Ja(
|
|
8806
8806
|
Array.isArray(s) ? s : s ? [s] : void 0
|
|
8807
8807
|
);
|
|
8808
|
-
const f =
|
|
8808
|
+
const f = Ja(
|
|
8809
8809
|
(i = this.nodes) === null || i === void 0 ? void 0 : i.map((p) => p.loc).filter((p) => p != null)
|
|
8810
8810
|
);
|
|
8811
8811
|
this.source = o != null ? o : f == null || (r = f[0]) === null || r === void 0 ? void 0 : r.source, this.positions = l != null ? l : f == null ? void 0 : f.map((p) => p.start), this.locations = l && o ? l.map((p) => ar(o, p)) : f == null ? void 0 : f.map((p) => ar(p.source, p.start));
|
|
@@ -8866,7 +8866,7 @@ class $r extends Error {
|
|
|
8866
8866
|
return this.locations != null && (e.locations = this.locations), this.path != null && (e.path = this.path), this.extensions != null && Object.keys(this.extensions).length > 0 && (e.extensions = this.extensions), e;
|
|
8867
8867
|
}
|
|
8868
8868
|
}
|
|
8869
|
-
function
|
|
8869
|
+
function Ja(t) {
|
|
8870
8870
|
return t === void 0 || t.length === 0 ? void 0 : t;
|
|
8871
8871
|
}
|
|
8872
8872
|
function Z(t, e, n) {
|
|
@@ -9021,7 +9021,7 @@ const cl = {
|
|
|
9021
9021
|
EnumTypeExtension: ["name", "directives", "values"],
|
|
9022
9022
|
InputObjectTypeExtension: ["name", "directives", "fields"]
|
|
9023
9023
|
}, Nm = new Set(Object.keys(cl));
|
|
9024
|
-
function
|
|
9024
|
+
function Wa(t) {
|
|
9025
9025
|
const e = t == null ? void 0 : t.kind;
|
|
9026
9026
|
return typeof e == "string" && Nm.has(e);
|
|
9027
9027
|
}
|
|
@@ -9040,7 +9040,7 @@ var $;
|
|
|
9040
9040
|
function or(t) {
|
|
9041
9041
|
return t === 9 || t === 32;
|
|
9042
9042
|
}
|
|
9043
|
-
function
|
|
9043
|
+
function Wt(t) {
|
|
9044
9044
|
return t >= 48 && t <= 57;
|
|
9045
9045
|
}
|
|
9046
9046
|
function dl(t) {
|
|
@@ -9051,7 +9051,7 @@ function fl(t) {
|
|
|
9051
9051
|
return dl(t) || t === 95;
|
|
9052
9052
|
}
|
|
9053
9053
|
function Em(t) {
|
|
9054
|
-
return dl(t) ||
|
|
9054
|
+
return dl(t) || Wt(t) || t === 95;
|
|
9055
9055
|
}
|
|
9056
9056
|
function Am(t) {
|
|
9057
9057
|
var e;
|
|
@@ -9156,7 +9156,7 @@ function qe(t, e) {
|
|
|
9156
9156
|
}
|
|
9157
9157
|
return "U+" + n.toString(16).toUpperCase().padStart(4, "0");
|
|
9158
9158
|
}
|
|
9159
|
-
function
|
|
9159
|
+
function W(t, e, n, i, r) {
|
|
9160
9160
|
const a = t.line, s = 1 + n - t.lineStart;
|
|
9161
9161
|
return new ul(e, n, i, a, s, r);
|
|
9162
9162
|
}
|
|
@@ -9181,39 +9181,39 @@ function Cm(t, e) {
|
|
|
9181
9181
|
case 35:
|
|
9182
9182
|
return Fm(t, r);
|
|
9183
9183
|
case 33:
|
|
9184
|
-
return
|
|
9184
|
+
return W(t, b.BANG, r, r + 1);
|
|
9185
9185
|
case 36:
|
|
9186
|
-
return
|
|
9186
|
+
return W(t, b.DOLLAR, r, r + 1);
|
|
9187
9187
|
case 38:
|
|
9188
|
-
return
|
|
9188
|
+
return W(t, b.AMP, r, r + 1);
|
|
9189
9189
|
case 40:
|
|
9190
|
-
return
|
|
9190
|
+
return W(t, b.PAREN_L, r, r + 1);
|
|
9191
9191
|
case 41:
|
|
9192
|
-
return
|
|
9192
|
+
return W(t, b.PAREN_R, r, r + 1);
|
|
9193
9193
|
case 46:
|
|
9194
9194
|
if (n.charCodeAt(r + 1) === 46 && n.charCodeAt(r + 2) === 46)
|
|
9195
|
-
return
|
|
9195
|
+
return W(t, b.SPREAD, r, r + 3);
|
|
9196
9196
|
break;
|
|
9197
9197
|
case 58:
|
|
9198
|
-
return
|
|
9198
|
+
return W(t, b.COLON, r, r + 1);
|
|
9199
9199
|
case 61:
|
|
9200
|
-
return
|
|
9200
|
+
return W(t, b.EQUALS, r, r + 1);
|
|
9201
9201
|
case 64:
|
|
9202
|
-
return
|
|
9202
|
+
return W(t, b.AT, r, r + 1);
|
|
9203
9203
|
case 91:
|
|
9204
|
-
return
|
|
9204
|
+
return W(t, b.BRACKET_L, r, r + 1);
|
|
9205
9205
|
case 93:
|
|
9206
|
-
return
|
|
9206
|
+
return W(t, b.BRACKET_R, r, r + 1);
|
|
9207
9207
|
case 123:
|
|
9208
|
-
return
|
|
9208
|
+
return W(t, b.BRACE_L, r, r + 1);
|
|
9209
9209
|
case 124:
|
|
9210
|
-
return
|
|
9210
|
+
return W(t, b.PIPE, r, r + 1);
|
|
9211
9211
|
case 125:
|
|
9212
|
-
return
|
|
9212
|
+
return W(t, b.BRACE_R, r, r + 1);
|
|
9213
9213
|
case 34:
|
|
9214
9214
|
return n.charCodeAt(r + 1) === 34 && n.charCodeAt(r + 2) === 34 ? $m(t, r) : Dm(t, r);
|
|
9215
9215
|
}
|
|
9216
|
-
if (
|
|
9216
|
+
if (Wt(a) || a === 45)
|
|
9217
9217
|
return Rm(t, r, a);
|
|
9218
9218
|
if (fl(a))
|
|
9219
9219
|
return Vm(t, r);
|
|
@@ -9223,7 +9223,7 @@ function Cm(t, e) {
|
|
|
9223
9223
|
a === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : bt(a) || ui(n, r) ? `Unexpected character: ${qe(t, r)}.` : `Invalid character: ${qe(t, r)}.`
|
|
9224
9224
|
);
|
|
9225
9225
|
}
|
|
9226
|
-
return
|
|
9226
|
+
return W(t, b.EOF, i, i);
|
|
9227
9227
|
}
|
|
9228
9228
|
function Fm(t, e) {
|
|
9229
9229
|
const n = t.source.body, i = n.length;
|
|
@@ -9239,7 +9239,7 @@ function Fm(t, e) {
|
|
|
9239
9239
|
else
|
|
9240
9240
|
break;
|
|
9241
9241
|
}
|
|
9242
|
-
return
|
|
9242
|
+
return W(
|
|
9243
9243
|
t,
|
|
9244
9244
|
b.COMMENT,
|
|
9245
9245
|
e,
|
|
@@ -9251,7 +9251,7 @@ function Rm(t, e, n) {
|
|
|
9251
9251
|
const i = t.source.body;
|
|
9252
9252
|
let r = e, a = n, s = !1;
|
|
9253
9253
|
if (a === 45 && (a = i.charCodeAt(++r)), a === 48) {
|
|
9254
|
-
if (a = i.charCodeAt(++r),
|
|
9254
|
+
if (a = i.charCodeAt(++r), Wt(a))
|
|
9255
9255
|
throw Z(
|
|
9256
9256
|
t.source,
|
|
9257
9257
|
r,
|
|
@@ -9271,7 +9271,7 @@ function Rm(t, e, n) {
|
|
|
9271
9271
|
r
|
|
9272
9272
|
)}.`
|
|
9273
9273
|
);
|
|
9274
|
-
return
|
|
9274
|
+
return W(
|
|
9275
9275
|
t,
|
|
9276
9276
|
s ? b.FLOAT : b.INT,
|
|
9277
9277
|
e,
|
|
@@ -9280,7 +9280,7 @@ function Rm(t, e, n) {
|
|
|
9280
9280
|
);
|
|
9281
9281
|
}
|
|
9282
9282
|
function Ri(t, e, n) {
|
|
9283
|
-
if (!
|
|
9283
|
+
if (!Wt(n))
|
|
9284
9284
|
throw Z(
|
|
9285
9285
|
t.source,
|
|
9286
9286
|
e,
|
|
@@ -9291,7 +9291,7 @@ function Ri(t, e, n) {
|
|
|
9291
9291
|
);
|
|
9292
9292
|
const i = t.source.body;
|
|
9293
9293
|
let r = e + 1;
|
|
9294
|
-
for (;
|
|
9294
|
+
for (; Wt(i.charCodeAt(r)); )
|
|
9295
9295
|
++r;
|
|
9296
9296
|
return r;
|
|
9297
9297
|
}
|
|
@@ -9301,7 +9301,7 @@ function Dm(t, e) {
|
|
|
9301
9301
|
for (; r < i; ) {
|
|
9302
9302
|
const o = n.charCodeAt(r);
|
|
9303
9303
|
if (o === 34)
|
|
9304
|
-
return s += n.slice(a, r),
|
|
9304
|
+
return s += n.slice(a, r), W(t, b.STRING, e, r + 1, s);
|
|
9305
9305
|
if (o === 92) {
|
|
9306
9306
|
s += n.slice(a, r);
|
|
9307
9307
|
const l = n.charCodeAt(r + 1) === 117 ? n.charCodeAt(r + 2) === 123 ? Im(t, r) : Pm(t, r) : Lm(t, r);
|
|
@@ -9440,7 +9440,7 @@ function $m(t, e) {
|
|
|
9440
9440
|
const u = n.charCodeAt(a);
|
|
9441
9441
|
if (u === 34 && n.charCodeAt(a + 1) === 34 && n.charCodeAt(a + 2) === 34) {
|
|
9442
9442
|
o += n.slice(s, a), l.push(o);
|
|
9443
|
-
const c =
|
|
9443
|
+
const c = W(
|
|
9444
9444
|
t,
|
|
9445
9445
|
b.BLOCK_STRING,
|
|
9446
9446
|
e,
|
|
@@ -9485,7 +9485,7 @@ function Vm(t, e) {
|
|
|
9485
9485
|
else
|
|
9486
9486
|
break;
|
|
9487
9487
|
}
|
|
9488
|
-
return
|
|
9488
|
+
return W(
|
|
9489
9489
|
t,
|
|
9490
9490
|
b.NAME,
|
|
9491
9491
|
e,
|
|
@@ -9520,7 +9520,7 @@ function jm(t, e) {
|
|
|
9520
9520
|
if (i !== t)
|
|
9521
9521
|
return typeof i == "string" ? i : ci(i, n);
|
|
9522
9522
|
} else if (Array.isArray(t))
|
|
9523
|
-
return
|
|
9523
|
+
return zm(t, n);
|
|
9524
9524
|
return Bm(t, n);
|
|
9525
9525
|
}
|
|
9526
9526
|
function Mm(t) {
|
|
@@ -9528,11 +9528,11 @@ function Mm(t) {
|
|
|
9528
9528
|
}
|
|
9529
9529
|
function Bm(t, e) {
|
|
9530
9530
|
const n = Object.entries(t);
|
|
9531
|
-
return n.length === 0 ? "{}" : e.length > ml ? "[" +
|
|
9531
|
+
return n.length === 0 ? "{}" : e.length > ml ? "[" + Hm(t) + "]" : "{ " + n.map(
|
|
9532
9532
|
([r, a]) => r + ": " + ci(a, e)
|
|
9533
9533
|
).join(", ") + " }";
|
|
9534
9534
|
}
|
|
9535
|
-
function
|
|
9535
|
+
function zm(t, e) {
|
|
9536
9536
|
if (t.length === 0)
|
|
9537
9537
|
return "[]";
|
|
9538
9538
|
if (e.length > ml)
|
|
@@ -9542,7 +9542,7 @@ function Hm(t, e) {
|
|
|
9542
9542
|
r.push(ci(t[a], e));
|
|
9543
9543
|
return i === 1 ? r.push("... 1 more item") : i > 1 && r.push(`... ${i} more items`), "[" + r.join(", ") + "]";
|
|
9544
9544
|
}
|
|
9545
|
-
function
|
|
9545
|
+
function Hm(t) {
|
|
9546
9546
|
const e = Object.prototype.toString.call(t).replace(/^\[object /, "").replace(/]$/, "");
|
|
9547
9547
|
if (e === "Object" && typeof t.constructor == "function") {
|
|
9548
9548
|
const n = t.constructor.name;
|
|
@@ -9605,9 +9605,9 @@ function Gm(t) {
|
|
|
9605
9605
|
return qm(t, gl);
|
|
9606
9606
|
}
|
|
9607
9607
|
function Km(t, e) {
|
|
9608
|
-
return new
|
|
9608
|
+
return new Jm(t, e).parseDocument();
|
|
9609
9609
|
}
|
|
9610
|
-
class
|
|
9610
|
+
class Jm {
|
|
9611
9611
|
constructor(e, n = {}) {
|
|
9612
9612
|
const i = Gm(e) ? e : new gl(e);
|
|
9613
9613
|
this._lexer = new Tm(i), this._options = n, this._tokenCounter = 0;
|
|
@@ -10715,14 +10715,14 @@ function pn(t) {
|
|
|
10715
10715
|
function vl(t) {
|
|
10716
10716
|
return xm(t) ? `"${t}"` : t;
|
|
10717
10717
|
}
|
|
10718
|
-
function
|
|
10719
|
-
return `"${t.replace(Ym,
|
|
10718
|
+
function Wm(t) {
|
|
10719
|
+
return `"${t.replace(Ym, Xm)}"`;
|
|
10720
10720
|
}
|
|
10721
10721
|
const Ym = /[\x00-\x1f\x22\x5c\x7f-\x9f]/g;
|
|
10722
|
-
function
|
|
10723
|
-
return
|
|
10722
|
+
function Xm(t) {
|
|
10723
|
+
return Qm[t.charCodeAt(0)];
|
|
10724
10724
|
}
|
|
10725
|
-
const
|
|
10725
|
+
const Qm = [
|
|
10726
10726
|
"\\u0000",
|
|
10727
10727
|
"\\u0001",
|
|
10728
10728
|
"\\u0002",
|
|
@@ -10924,7 +10924,7 @@ function eg(t, e, n = cl) {
|
|
|
10924
10924
|
let V;
|
|
10925
10925
|
if (!Array.isArray(u)) {
|
|
10926
10926
|
var p, m;
|
|
10927
|
-
|
|
10927
|
+
Wa(u) || Nn(!1, `Invalid AST Node: ${Vr(u)}.`);
|
|
10928
10928
|
const T = _ ? (p = i.get(u.kind)) === null || p === void 0 ? void 0 : p.leave : (m = i.get(u.kind)) === null || m === void 0 ? void 0 : m.enter;
|
|
10929
10929
|
if (V = T == null ? void 0 : T.call(e, u, c, d, f, v), V === Zm)
|
|
10930
10930
|
break;
|
|
@@ -10934,7 +10934,7 @@ function eg(t, e, n = cl) {
|
|
|
10934
10934
|
continue;
|
|
10935
10935
|
}
|
|
10936
10936
|
} else if (V !== void 0 && (l.push([c, V]), !_))
|
|
10937
|
-
if (
|
|
10937
|
+
if (Wa(V))
|
|
10938
10938
|
u = V;
|
|
10939
10939
|
else {
|
|
10940
10940
|
f.pop();
|
|
@@ -11043,7 +11043,7 @@ const ig = 80, rg = {
|
|
|
11043
11043
|
leave: ({ value: t }) => t
|
|
11044
11044
|
},
|
|
11045
11045
|
StringValue: {
|
|
11046
|
-
leave: ({ value: t, block: e }) => e ? wm(t) :
|
|
11046
|
+
leave: ({ value: t, block: e }) => e ? wm(t) : Wm(t)
|
|
11047
11047
|
},
|
|
11048
11048
|
BooleanValue: {
|
|
11049
11049
|
leave: ({ value: t }) => t ? "true" : "false"
|
|
@@ -11104,7 +11104,7 @@ const ig = 80, rg = {
|
|
|
11104
11104
|
},
|
|
11105
11105
|
FieldDefinition: {
|
|
11106
11106
|
leave: ({ description: t, name: e, arguments: n, type: i, directives: r }) => B("", t, `
|
|
11107
|
-
`) + e + (
|
|
11107
|
+
`) + e + (Xa(n) ? B(`(
|
|
11108
11108
|
`, En(R(n, `
|
|
11109
11109
|
`)), `
|
|
11110
11110
|
)`) : B("(", R(n, ", "), ")")) + ": " + i + B(" ", R(r, " "))
|
|
@@ -11150,7 +11150,7 @@ const ig = 80, rg = {
|
|
|
11150
11150
|
},
|
|
11151
11151
|
DirectiveDefinition: {
|
|
11152
11152
|
leave: ({ description: t, name: e, arguments: n, repeatable: i, locations: r }) => B("", t, `
|
|
11153
|
-
`) + "directive @" + e + (
|
|
11153
|
+
`) + "directive @" + e + (Xa(n) ? B(`(
|
|
11154
11154
|
`, En(R(n, `
|
|
11155
11155
|
`)), `
|
|
11156
11156
|
)`) : B("(", R(n, ", "), ")")) + (i ? " repeatable" : "") + " on " + R(r, " | ")
|
|
@@ -11223,12 +11223,12 @@ function En(t) {
|
|
|
11223
11223
|
return B(" ", t.replace(/\n/g, `
|
|
11224
11224
|
`));
|
|
11225
11225
|
}
|
|
11226
|
-
function
|
|
11226
|
+
function Xa(t) {
|
|
11227
11227
|
var e;
|
|
11228
11228
|
return (e = t == null ? void 0 : t.some((n) => n.includes(`
|
|
11229
11229
|
`))) !== null && e !== void 0 ? e : !1;
|
|
11230
11230
|
}
|
|
11231
|
-
const
|
|
11231
|
+
const Qa = (t) => {
|
|
11232
11232
|
var i, r;
|
|
11233
11233
|
let e;
|
|
11234
11234
|
const n = t.definitions.filter((a) => a.kind === "OperationDefinition");
|
|
@@ -11238,12 +11238,12 @@ const Xa = (t) => {
|
|
|
11238
11238
|
let n;
|
|
11239
11239
|
try {
|
|
11240
11240
|
const i = Km(t);
|
|
11241
|
-
n =
|
|
11241
|
+
n = Qa(i);
|
|
11242
11242
|
} catch {
|
|
11243
11243
|
}
|
|
11244
11244
|
return { query: t, operationName: n };
|
|
11245
11245
|
}
|
|
11246
|
-
const e =
|
|
11246
|
+
const e = Qa(t);
|
|
11247
11247
|
return { query: ng(t), operationName: e };
|
|
11248
11248
|
};
|
|
11249
11249
|
class $t extends Error {
|
|
@@ -11531,13 +11531,13 @@ var lr = { exports: {} };
|
|
|
11531
11531
|
var r = i;
|
|
11532
11532
|
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;
|
|
11533
11533
|
})(lr, lr.exports);
|
|
11534
|
-
var
|
|
11535
|
-
const An = /* @__PURE__ */ Sr(
|
|
11534
|
+
var zn = lr.exports;
|
|
11535
|
+
const An = /* @__PURE__ */ Sr(zn), ag = /* @__PURE__ */ Ol({
|
|
11536
11536
|
__proto__: null,
|
|
11537
11537
|
default: An
|
|
11538
|
-
}, [
|
|
11538
|
+
}, [zn]), et = (t) => {
|
|
11539
11539
|
let e = {};
|
|
11540
|
-
return t && (typeof Headers != "undefined" && t instanceof Headers || ag &&
|
|
11540
|
+
return t && (typeof Headers != "undefined" && t instanceof Headers || ag && zn.Headers && t instanceof zn.Headers ? e = hm(t) : Array.isArray(t) ? t.forEach(([n, i]) => {
|
|
11541
11541
|
n && i !== void 0 && (e[n] = i);
|
|
11542
11542
|
}) : e = t), e;
|
|
11543
11543
|
}, Za = (t) => t.replace(/([\s,]|#[^\n\r]+)+/g, " ").trim(), sg = (t) => {
|
|
@@ -11779,11 +11779,11 @@ class pg {
|
|
|
11779
11779
|
}
|
|
11780
11780
|
const mg = new hg(), es = new pg(
|
|
11781
11781
|
mg
|
|
11782
|
-
), Te = ql("ivs-socket", vt), jr =
|
|
11782
|
+
), Te = ql("ivs-socket", vt), jr = Hn(void 0);
|
|
11783
11783
|
jr.debugLabel = "ivsChatSocketAtom";
|
|
11784
|
-
const Mr =
|
|
11784
|
+
const Mr = Hn(!1);
|
|
11785
11785
|
Mr.debugLabel = "ivsChatIsConnectedAtom";
|
|
11786
|
-
const di =
|
|
11786
|
+
const di = Hn([]);
|
|
11787
11787
|
di.debugLabel = "ivsChatMessageListAtom";
|
|
11788
11788
|
const gg = (t) => {
|
|
11789
11789
|
const { url: e, token: n, onOpen: i, onClose: r, onMessage: a, onError: s } = t, o = new WebSocket(e, n);
|
|
@@ -11950,7 +11950,7 @@ const gg = (t) => {
|
|
|
11950
11950
|
t((r) => [...r, kl(r, i)]);
|
|
11951
11951
|
}
|
|
11952
11952
|
};
|
|
11953
|
-
},
|
|
11953
|
+
}, Xg = (t) => {
|
|
11954
11954
|
const { eventId: e, userName: n } = t, [i, r] = xt(!1), [a, s] = xt(), [o, l] = xt(), { handleEvent: u } = Ng(), c = cr(di), d = (N) => {
|
|
11955
11955
|
c((_) => [kl(_, N), ..._]), r(!1);
|
|
11956
11956
|
}, f = (N) => {
|
|
@@ -12017,17 +12017,17 @@ export {
|
|
|
12017
12017
|
hg as GraphqlEventChatRoomRepository,
|
|
12018
12018
|
$g as HttpAxiosClient,
|
|
12019
12019
|
td as InvalidNizzaGlobalObjectError,
|
|
12020
|
-
|
|
12020
|
+
Jf as LanguageTypes,
|
|
12021
12021
|
Dr as LocalRuntime,
|
|
12022
|
-
|
|
12022
|
+
ze as Logger,
|
|
12023
12023
|
Tr as NizzaAccount,
|
|
12024
12024
|
Gf as NizzaEventStatus,
|
|
12025
12025
|
Yf as NizzaProductRequestOriginTypes,
|
|
12026
|
-
|
|
12027
|
-
|
|
12026
|
+
Ji as NizzaStore,
|
|
12027
|
+
Wf as NizzaVariationTypes,
|
|
12028
12028
|
um as ReactHostElement,
|
|
12029
12029
|
Zc as ResourceNotFoundError,
|
|
12030
|
-
|
|
12030
|
+
Wg as Runtime,
|
|
12031
12031
|
Ko as RuntimeStage,
|
|
12032
12032
|
yt as RuntimeType,
|
|
12033
12033
|
Gg as StoreProvider,
|
|
@@ -12056,15 +12056,15 @@ export {
|
|
|
12056
12056
|
vt as getNizza,
|
|
12057
12057
|
vg as getRandomColor,
|
|
12058
12058
|
qc as getScriptParams,
|
|
12059
|
-
|
|
12060
|
-
|
|
12059
|
+
Jg as getStore,
|
|
12060
|
+
Hf as globalAtomStore,
|
|
12061
12061
|
tp as i18Init,
|
|
12062
12062
|
Mr as ivsChatIsConnectedAtom,
|
|
12063
12063
|
di as ivsChatMessageListAtom,
|
|
12064
12064
|
jr as ivsChatSocketAtom,
|
|
12065
12065
|
gd as jsDownload,
|
|
12066
12066
|
kl as normalizeChatMessage,
|
|
12067
|
-
|
|
12067
|
+
zg as registerTranslations,
|
|
12068
12068
|
Lh as registerTranslationsOf,
|
|
12069
12069
|
Bg as runAddToCartHooks,
|
|
12070
12070
|
dm as runtimeList,
|
|
@@ -12075,7 +12075,7 @@ export {
|
|
|
12075
12075
|
Sg as useConnectIVSChat,
|
|
12076
12076
|
bg as useEventChatRoom,
|
|
12077
12077
|
Yg as useIVSChatActions,
|
|
12078
|
-
|
|
12078
|
+
Xg as useIVSChatClient,
|
|
12079
12079
|
Ng as useIVSChatHandlers,
|
|
12080
12080
|
hd as useNZ,
|
|
12081
12081
|
go as useNizza,
|