@nizza/core 0.5.9-beta.0 → 0.5.9-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var Ea = Object.defineProperty;
|
|
2
2
|
var Ca = (t, e, n) => e in t ? Ea(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var E = (t, e, n) => (Ca(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { useQuery as
|
|
5
|
-
import we, { createContext as ci, useReducer as
|
|
4
|
+
import { useQuery as xa } from "@tanstack/react-query";
|
|
5
|
+
import we, { createContext as ci, useReducer as Ta, useEffect as fi, useDebugValue as Da, useCallback as La, useContext as fn, useState as Pa, forwardRef as Cn, memo as xn, useMemo as mi } from "react";
|
|
6
6
|
import { unstable_batchedUpdates as Ra } from "react-dom";
|
|
7
7
|
import { jsx as Ia } from "react/jsx-runtime";
|
|
8
|
-
var
|
|
8
|
+
var G = { NZ_AWS_REGION: "us-east-1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
9
9
|
let Va = 0;
|
|
10
10
|
function ja(t, e) {
|
|
11
11
|
const n = `atom${++Va}`, i = {
|
|
@@ -25,23 +25,23 @@ function Ua(t, e, n) {
|
|
|
25
25
|
const Ut = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Mt = (t) => "init" in t, Bt = (t) => !!t.write, mt = /* @__PURE__ */ new WeakMap(), Ma = (t, e) => {
|
|
26
26
|
mt.set(t, e), t.catch(() => {
|
|
27
27
|
}).finally(() => mt.delete(t));
|
|
28
|
-
},
|
|
28
|
+
}, Tn = (t, e) => {
|
|
29
29
|
const n = mt.get(t);
|
|
30
30
|
n && (mt.delete(t), n(e));
|
|
31
31
|
}, Dn = (t, e) => {
|
|
32
32
|
t.status = "fulfilled", t.value = e;
|
|
33
33
|
}, Ln = (t, e) => {
|
|
34
34
|
t.status = "rejected", t.reason = e;
|
|
35
|
-
}, Ba = (t) => typeof (t == null ? void 0 : t.then) == "function", Ve = (t, e) => !!t && "v" in t && "v" in e && Object.is(t.v, e.v), Pn = (t, e) => !!t && "e" in t && "e" in e && Object.is(t.e, e.e),
|
|
35
|
+
}, Ba = (t) => typeof (t == null ? void 0 : t.then) == "function", Ve = (t, e) => !!t && "v" in t && "v" in e && Object.is(t.v, e.v), Pn = (t, e) => !!t && "e" in t && "e" in e && Object.is(t.e, e.e), _e = (t) => !!t && "v" in t && t.v instanceof Promise, Ga = (t, e) => "v" in t && "v" in e && t.v.orig && t.v.orig === e.v.orig, at = (t) => {
|
|
36
36
|
if ("e" in t)
|
|
37
37
|
throw t.e;
|
|
38
38
|
return t.v;
|
|
39
39
|
}, pi = () => {
|
|
40
40
|
const t = /* @__PURE__ */ new WeakMap(), e = /* @__PURE__ */ new WeakMap(), n = [], i = /* @__PURE__ */ new WeakMap();
|
|
41
41
|
let a, r;
|
|
42
|
-
(
|
|
43
|
-
const o = (m) => t.get(m), s = (m,
|
|
44
|
-
|
|
42
|
+
(G ? "production" : void 0) !== "production" && (a = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set());
|
|
43
|
+
const o = (m) => t.get(m), s = (m, _) => {
|
|
44
|
+
_.d.forEach((N, p) => {
|
|
45
45
|
var h;
|
|
46
46
|
if (!i.has(p)) {
|
|
47
47
|
const k = o(p);
|
|
@@ -49,26 +49,26 @@ const Ut = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Mt = (t) => "in
|
|
|
49
49
|
}
|
|
50
50
|
i.get(p)[1].add(m);
|
|
51
51
|
});
|
|
52
|
-
}, l = (m,
|
|
52
|
+
}, l = (m, _) => {
|
|
53
53
|
var N;
|
|
54
|
-
(
|
|
54
|
+
(G ? "production" : void 0) !== "production" && Object.freeze(_);
|
|
55
55
|
const p = o(m);
|
|
56
|
-
if (t.set(m,
|
|
57
|
-
const h = "v" in
|
|
58
|
-
p.v !== h &&
|
|
56
|
+
if (t.set(m, _), i.has(m) || ((N = n[n.length - 1]) == null || N.add(m), i.set(m, [p, /* @__PURE__ */ new Set()]), s(m, _)), _e(p)) {
|
|
57
|
+
const h = "v" in _ ? _.v instanceof Promise ? _.v : Promise.resolve(_.v) : Promise.reject(_.e);
|
|
58
|
+
p.v !== h && Tn(p.v, h);
|
|
59
59
|
}
|
|
60
|
-
}, u = (m,
|
|
60
|
+
}, u = (m, _, N, p) => {
|
|
61
61
|
const h = new Map(
|
|
62
|
-
p ?
|
|
62
|
+
p ? _.d : null
|
|
63
63
|
);
|
|
64
64
|
let k = !1;
|
|
65
65
|
N.forEach((g, A) => {
|
|
66
|
-
!g && Ut(m, A) && (g =
|
|
67
|
-
}), (k ||
|
|
68
|
-
}, d = (m,
|
|
66
|
+
!g && Ut(m, A) && (g = _), g ? (h.set(A, g), _.d.get(A) !== g && (k = !0)) : (G ? "production" : void 0) !== "production" && console.warn("[Bug] atom state not found");
|
|
67
|
+
}), (k || _.d.size !== h.size) && (_.d = h);
|
|
68
|
+
}, d = (m, _, N, p) => {
|
|
69
69
|
const h = o(m), k = {
|
|
70
70
|
d: (h == null ? void 0 : h.d) || /* @__PURE__ */ new Map(),
|
|
71
|
-
v:
|
|
71
|
+
v: _
|
|
72
72
|
};
|
|
73
73
|
if (N && u(
|
|
74
74
|
m,
|
|
@@ -77,74 +77,74 @@ const Ut = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Mt = (t) => "in
|
|
|
77
77
|
p
|
|
78
78
|
), Ve(h, k) && h.d === k.d)
|
|
79
79
|
return h;
|
|
80
|
-
if (
|
|
80
|
+
if (_e(h) && _e(k) && Ga(h, k)) {
|
|
81
81
|
if (h.d === k.d)
|
|
82
82
|
return h;
|
|
83
83
|
k.v = h.v;
|
|
84
84
|
}
|
|
85
85
|
return l(m, k), k;
|
|
86
|
-
}, f = (m,
|
|
87
|
-
if (Ba(
|
|
86
|
+
}, f = (m, _, N, p) => {
|
|
87
|
+
if (Ba(_)) {
|
|
88
88
|
let h;
|
|
89
89
|
const k = () => {
|
|
90
90
|
const A = o(m);
|
|
91
|
-
if (!
|
|
91
|
+
if (!_e(A) || A.v !== g)
|
|
92
92
|
return;
|
|
93
93
|
const I = d(
|
|
94
94
|
m,
|
|
95
95
|
g,
|
|
96
96
|
N
|
|
97
97
|
);
|
|
98
|
-
e.has(m) && A.d !== I.d &&
|
|
98
|
+
e.has(m) && A.d !== I.d && T(m, I, A.d);
|
|
99
99
|
}, g = new Promise((A, I) => {
|
|
100
|
-
let
|
|
101
|
-
|
|
100
|
+
let x = !1;
|
|
101
|
+
_.then(
|
|
102
102
|
(D) => {
|
|
103
|
-
|
|
103
|
+
x || (x = !0, Dn(g, D), A(D), k());
|
|
104
104
|
},
|
|
105
105
|
(D) => {
|
|
106
|
-
|
|
106
|
+
x || (x = !0, Ln(g, D), I(D), k());
|
|
107
107
|
}
|
|
108
108
|
), h = (D) => {
|
|
109
|
-
|
|
109
|
+
x || (x = !0, D.then(
|
|
110
110
|
(B) => Dn(g, B),
|
|
111
111
|
(B) => Ln(g, B)
|
|
112
112
|
), A(D));
|
|
113
113
|
};
|
|
114
114
|
});
|
|
115
|
-
return g.orig =
|
|
115
|
+
return g.orig = _, g.status = "pending", Ma(g, (A) => {
|
|
116
116
|
A && h(A), p == null || p();
|
|
117
117
|
}), d(m, g, N, !0);
|
|
118
118
|
}
|
|
119
|
-
return d(m,
|
|
120
|
-
}, c = (m,
|
|
119
|
+
return d(m, _, N);
|
|
120
|
+
}, c = (m, _, N) => {
|
|
121
121
|
const p = o(m), h = {
|
|
122
122
|
d: (p == null ? void 0 : p.d) || /* @__PURE__ */ new Map(),
|
|
123
|
-
e:
|
|
123
|
+
e: _
|
|
124
124
|
};
|
|
125
125
|
return N && u(m, h, N), Pn(p, h) && p.d === h.d ? p : (l(m, h), h);
|
|
126
|
-
},
|
|
126
|
+
}, S = (m, _) => {
|
|
127
127
|
const N = o(m);
|
|
128
|
-
if (!
|
|
129
|
-
if (
|
|
128
|
+
if (!_ && N && (e.has(m) || Array.from(N.d).every(([x, D]) => {
|
|
129
|
+
if (x === m)
|
|
130
130
|
return !0;
|
|
131
|
-
const B =
|
|
131
|
+
const B = S(x);
|
|
132
132
|
return B === D || Ve(B, D);
|
|
133
133
|
})))
|
|
134
134
|
return N;
|
|
135
135
|
const p = /* @__PURE__ */ new Map();
|
|
136
136
|
let h = !0;
|
|
137
|
-
const k = (
|
|
138
|
-
if (Ut(m,
|
|
139
|
-
const B = o(
|
|
137
|
+
const k = (x) => {
|
|
138
|
+
if (Ut(m, x)) {
|
|
139
|
+
const B = o(x);
|
|
140
140
|
if (B)
|
|
141
|
-
return p.set(
|
|
142
|
-
if (Mt(
|
|
143
|
-
return p.set(
|
|
141
|
+
return p.set(x, B), at(B);
|
|
142
|
+
if (Mt(x))
|
|
143
|
+
return p.set(x, void 0), x.init;
|
|
144
144
|
throw new Error("no atom init");
|
|
145
145
|
}
|
|
146
|
-
const D =
|
|
147
|
-
return p.set(
|
|
146
|
+
const D = S(x);
|
|
147
|
+
return p.set(x, D), at(D);
|
|
148
148
|
};
|
|
149
149
|
let g, A;
|
|
150
150
|
const I = {
|
|
@@ -152,36 +152,36 @@ const Ut = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Mt = (t) => "in
|
|
|
152
152
|
return g || (g = new AbortController()), g.signal;
|
|
153
153
|
},
|
|
154
154
|
get setSelf() {
|
|
155
|
-
return (
|
|
156
|
-
if ((
|
|
157
|
-
return y(m, ...
|
|
155
|
+
return (G ? "production" : void 0) !== "production" && !Bt(m) && console.warn("setSelf function cannot be used with read-only atom"), !A && Bt(m) && (A = (...x) => {
|
|
156
|
+
if ((G ? "production" : void 0) !== "production" && h && console.warn("setSelf function cannot be called in sync"), !h)
|
|
157
|
+
return y(m, ...x);
|
|
158
158
|
}), A;
|
|
159
159
|
}
|
|
160
160
|
};
|
|
161
161
|
try {
|
|
162
|
-
const
|
|
162
|
+
const x = m.read(k, I);
|
|
163
163
|
return f(
|
|
164
164
|
m,
|
|
165
|
-
|
|
165
|
+
x,
|
|
166
166
|
p,
|
|
167
167
|
() => g == null ? void 0 : g.abort()
|
|
168
168
|
);
|
|
169
|
-
} catch (
|
|
170
|
-
return c(m,
|
|
169
|
+
} catch (x) {
|
|
170
|
+
return c(m, x, p);
|
|
171
171
|
} finally {
|
|
172
172
|
h = !1;
|
|
173
173
|
}
|
|
174
|
-
}, O = (m) => at(
|
|
175
|
-
const
|
|
174
|
+
}, O = (m) => at(S(m)), b = (m) => {
|
|
175
|
+
const _ = (g) => {
|
|
176
176
|
var A, I;
|
|
177
|
-
const
|
|
177
|
+
const x = new Set((A = e.get(g)) == null ? void 0 : A.t);
|
|
178
178
|
return (I = i.get(g)) == null || I[1].forEach((D) => {
|
|
179
|
-
|
|
180
|
-
}),
|
|
179
|
+
x.add(D);
|
|
180
|
+
}), x;
|
|
181
181
|
}, N = new Array(), p = /* @__PURE__ */ new Set(), h = (g) => {
|
|
182
182
|
if (!p.has(g)) {
|
|
183
183
|
p.add(g);
|
|
184
|
-
for (const A of
|
|
184
|
+
for (const A of _(g))
|
|
185
185
|
g !== A && h(A);
|
|
186
186
|
N.push(g);
|
|
187
187
|
}
|
|
@@ -192,77 +192,77 @@ const Ut = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Mt = (t) => "in
|
|
|
192
192
|
const A = N[g], I = o(A);
|
|
193
193
|
if (!I)
|
|
194
194
|
continue;
|
|
195
|
-
let
|
|
195
|
+
let x = !1;
|
|
196
196
|
for (const D of I.d.keys())
|
|
197
197
|
if (D !== A && k.has(D)) {
|
|
198
|
-
|
|
198
|
+
x = !0;
|
|
199
199
|
break;
|
|
200
200
|
}
|
|
201
|
-
if (
|
|
202
|
-
const D =
|
|
201
|
+
if (x) {
|
|
202
|
+
const D = S(A, !0);
|
|
203
203
|
Ve(I, D) || k.add(A);
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
}, F = (m, ...
|
|
207
|
-
const N = (k) => at(
|
|
206
|
+
}, F = (m, ..._) => {
|
|
207
|
+
const N = (k) => at(S(k)), p = (k, ...g) => {
|
|
208
208
|
const A = n.length > 0;
|
|
209
209
|
A || n.push(/* @__PURE__ */ new Set([k]));
|
|
210
210
|
let I;
|
|
211
211
|
if (Ut(m, k)) {
|
|
212
212
|
if (!Mt(k))
|
|
213
213
|
throw new Error("atom not writable");
|
|
214
|
-
const
|
|
215
|
-
Ve(
|
|
214
|
+
const x = o(k), D = f(k, g[0]);
|
|
215
|
+
Ve(x, D) || b(k);
|
|
216
216
|
} else
|
|
217
217
|
I = F(k, ...g);
|
|
218
218
|
if (!A) {
|
|
219
|
-
const
|
|
220
|
-
(
|
|
221
|
-
(D) => D({ type: "async-write", flushed:
|
|
219
|
+
const x = V(n.pop());
|
|
220
|
+
(G ? "production" : void 0) !== "production" && a.forEach(
|
|
221
|
+
(D) => D({ type: "async-write", flushed: x })
|
|
222
222
|
);
|
|
223
223
|
}
|
|
224
224
|
return I;
|
|
225
225
|
};
|
|
226
|
-
return m.write(N, p, ...
|
|
227
|
-
}, y = (m, ...
|
|
226
|
+
return m.write(N, p, ..._);
|
|
227
|
+
}, y = (m, ..._) => {
|
|
228
228
|
n.push(/* @__PURE__ */ new Set([m]));
|
|
229
|
-
const N = F(m, ...
|
|
230
|
-
return (
|
|
231
|
-
}, L = (m,
|
|
229
|
+
const N = F(m, ..._), p = V(n.pop());
|
|
230
|
+
return (G ? "production" : void 0) !== "production" && a.forEach((h) => h({ type: "write", flushed: p })), N;
|
|
231
|
+
}, L = (m, _, N) => {
|
|
232
232
|
var p;
|
|
233
233
|
const h = e.get(m);
|
|
234
234
|
if (h)
|
|
235
|
-
return
|
|
235
|
+
return _ && h.t.add(_), h;
|
|
236
236
|
const k = N || [];
|
|
237
237
|
(p = o(m)) == null || p.d.forEach((A, I) => {
|
|
238
238
|
I !== m && L(I, m, k);
|
|
239
|
-
}),
|
|
239
|
+
}), S(m);
|
|
240
240
|
const g = {
|
|
241
|
-
t: new Set(
|
|
241
|
+
t: new Set(_ && [_]),
|
|
242
242
|
l: /* @__PURE__ */ new Set()
|
|
243
243
|
};
|
|
244
|
-
if (e.set(m, g), (
|
|
244
|
+
if (e.set(m, g), (G ? "production" : void 0) !== "production" && r.add(m), Bt(m) && m.onMount) {
|
|
245
245
|
const { onMount: A } = m;
|
|
246
246
|
k.push(() => {
|
|
247
|
-
const I = A((...
|
|
247
|
+
const I = A((...x) => y(m, ...x));
|
|
248
248
|
I && (g.u = I);
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
251
|
return N || k.forEach((A) => A()), g;
|
|
252
|
-
}, M = (m,
|
|
253
|
-
if (!M(m,
|
|
252
|
+
}, M = (m, _) => !_.l.size && (!_.t.size || _.t.size === 1 && _.t.has(m)), w = (m, _) => {
|
|
253
|
+
if (!M(m, _))
|
|
254
254
|
return;
|
|
255
|
-
const N =
|
|
256
|
-
N && N(), e.delete(m), (
|
|
255
|
+
const N = _.u;
|
|
256
|
+
N && N(), e.delete(m), (G ? "production" : void 0) !== "production" && r.delete(m);
|
|
257
257
|
const p = o(m);
|
|
258
|
-
p ? (
|
|
258
|
+
p ? (_e(p) && Tn(p.v), p.d.forEach((h, k) => {
|
|
259
259
|
if (k !== m) {
|
|
260
260
|
const g = e.get(k);
|
|
261
261
|
g && (g.t.delete(m), w(k, g));
|
|
262
262
|
}
|
|
263
|
-
})) : (
|
|
264
|
-
},
|
|
265
|
-
const p = new Set(
|
|
263
|
+
})) : (G ? "production" : void 0) !== "production" && console.warn("[Bug] could not find atom state to unmount", m);
|
|
264
|
+
}, T = (m, _, N) => {
|
|
265
|
+
const p = new Set(_.d.keys()), h = /* @__PURE__ */ new Set();
|
|
266
266
|
N == null || N.forEach((k, g) => {
|
|
267
267
|
if (p.has(g)) {
|
|
268
268
|
p.delete(g);
|
|
@@ -278,38 +278,38 @@ const Ut = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Mt = (t) => "in
|
|
|
278
278
|
g && w(k, g);
|
|
279
279
|
});
|
|
280
280
|
}, V = (m) => {
|
|
281
|
-
let
|
|
282
|
-
(
|
|
281
|
+
let _;
|
|
282
|
+
(G ? "production" : void 0) !== "production" && (_ = /* @__PURE__ */ new Set());
|
|
283
283
|
const N = [], p = (h) => {
|
|
284
284
|
var k;
|
|
285
285
|
if (!i.has(h))
|
|
286
286
|
return;
|
|
287
287
|
const [g, A] = i.get(h);
|
|
288
|
-
i.delete(h), N.push([h, g]), A.forEach(p), (k = o(h)) == null || k.d.forEach((I,
|
|
288
|
+
i.delete(h), N.push([h, g]), A.forEach(p), (k = o(h)) == null || k.d.forEach((I, x) => p(x));
|
|
289
289
|
};
|
|
290
290
|
if (m.forEach(p), N.forEach(([h, k]) => {
|
|
291
291
|
const g = o(h);
|
|
292
292
|
if (!g) {
|
|
293
|
-
(
|
|
293
|
+
(G ? "production" : void 0) !== "production" && console.warn("[Bug] no atom state to flush");
|
|
294
294
|
return;
|
|
295
295
|
}
|
|
296
296
|
if (g !== k) {
|
|
297
297
|
const A = e.get(h);
|
|
298
|
-
A && g.d !== (k == null ? void 0 : k.d) &&
|
|
298
|
+
A && g.d !== (k == null ? void 0 : k.d) && T(h, g, k == null ? void 0 : k.d), A && !// TODO This seems pretty hacky. Hope to fix it.
|
|
299
299
|
// Maybe we could `mountDependencies` in `setAtomState`?
|
|
300
|
-
(!
|
|
300
|
+
(!_e(k) && (Ve(k, g) || Pn(k, g))) && (A.l.forEach((I) => I()), (G ? "production" : void 0) !== "production" && _.add(h));
|
|
301
301
|
}
|
|
302
|
-
}), (
|
|
303
|
-
return
|
|
304
|
-
}, j = (m,
|
|
302
|
+
}), (G ? "production" : void 0) !== "production")
|
|
303
|
+
return _;
|
|
304
|
+
}, j = (m, _) => {
|
|
305
305
|
const N = L(m), p = V([m]), h = N.l;
|
|
306
|
-
return h.add(
|
|
306
|
+
return h.add(_), (G ? "production" : void 0) !== "production" && a.forEach(
|
|
307
307
|
(k) => k({ type: "sub", flushed: p })
|
|
308
308
|
), () => {
|
|
309
|
-
h.delete(
|
|
309
|
+
h.delete(_), w(m, N), (G ? "production" : void 0) !== "production" && a.forEach((k) => k({ type: "unsub" }));
|
|
310
310
|
};
|
|
311
311
|
};
|
|
312
|
-
return (
|
|
312
|
+
return (G ? "production" : void 0) !== "production" ? {
|
|
313
313
|
get: O,
|
|
314
314
|
set: y,
|
|
315
315
|
sub: j,
|
|
@@ -324,9 +324,9 @@ const Ut = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Mt = (t) => "in
|
|
|
324
324
|
n.push(/* @__PURE__ */ new Set());
|
|
325
325
|
for (const [N, p] of m)
|
|
326
326
|
Mt(N) && (f(N, p), b(N));
|
|
327
|
-
const
|
|
327
|
+
const _ = V(n.pop());
|
|
328
328
|
a.forEach(
|
|
329
|
-
(N) => N({ type: "restore", flushed:
|
|
329
|
+
(N) => N({ type: "restore", flushed: _ })
|
|
330
330
|
);
|
|
331
331
|
}
|
|
332
332
|
} : {
|
|
@@ -336,10 +336,10 @@ const Ut = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, Mt = (t) => "in
|
|
|
336
336
|
};
|
|
337
337
|
};
|
|
338
338
|
let je;
|
|
339
|
-
const
|
|
339
|
+
const za = () => (je || (je = pi(), (G ? "production" : void 0) !== "production" && (globalThis.__JOTAI_DEFAULT_STORE__ || (globalThis.__JOTAI_DEFAULT_STORE__ = je), globalThis.__JOTAI_DEFAULT_STORE__ !== je && console.warn(
|
|
340
340
|
"Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"
|
|
341
|
-
))), je), Ka = pi, Ha =
|
|
342
|
-
var Wa = { NZ_AWS_REGION: "us-east-1",
|
|
341
|
+
))), je), Ka = pi, Ha = za;
|
|
342
|
+
var Wa = { NZ_AWS_REGION: "us-east-1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
343
343
|
const qa = ci(
|
|
344
344
|
void 0
|
|
345
345
|
), hi = (t) => fn(qa) || Ha(), Ja = (t) => typeof (t == null ? void 0 : t.then) == "function", Za = we.use || ((t) => {
|
|
@@ -356,8 +356,8 @@ const qa = ci(
|
|
|
356
356
|
}
|
|
357
357
|
), t);
|
|
358
358
|
});
|
|
359
|
-
function
|
|
360
|
-
const n = hi(), [[i, a, r], o] =
|
|
359
|
+
function Qa(t, e) {
|
|
360
|
+
const n = hi(), [[i, a, r], o] = Ta(
|
|
361
361
|
(u) => {
|
|
362
362
|
const d = n.get(t);
|
|
363
363
|
return Object.is(u[0], d) && u[1] === n && u[2] === t ? u : [d, n, t];
|
|
@@ -373,7 +373,7 @@ function Xa(t, e) {
|
|
|
373
373
|
return o(), u;
|
|
374
374
|
}, [n, t, void 0]), Da(s), Ja(s) ? Za(s) : s;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function Xa(t, e) {
|
|
377
377
|
const n = hi();
|
|
378
378
|
return La(
|
|
379
379
|
(...a) => {
|
|
@@ -386,14 +386,14 @@ function Qa(t, e) {
|
|
|
386
386
|
}
|
|
387
387
|
function Ya(t, e) {
|
|
388
388
|
return [
|
|
389
|
-
|
|
389
|
+
Qa(t),
|
|
390
390
|
// We do wrong type assertion here, which results in throwing an error.
|
|
391
|
-
|
|
391
|
+
Xa(t)
|
|
392
392
|
];
|
|
393
393
|
}
|
|
394
394
|
const mn = ja(null);
|
|
395
395
|
mn.debugLabel = "accountAtom";
|
|
396
|
-
var er = { NZ_AWS_REGION: "us-east-1",
|
|
396
|
+
var er = { NZ_AWS_REGION: "us-east-1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
397
397
|
const {
|
|
398
398
|
NZ_AWS_REGION: tr,
|
|
399
399
|
NZ_BACKOFFICE_BACK_URL: nr,
|
|
@@ -469,12 +469,12 @@ async function vi(t) {
|
|
|
469
469
|
o && (f = setTimeout(() => {
|
|
470
470
|
u.abort();
|
|
471
471
|
}, o));
|
|
472
|
-
const
|
|
472
|
+
const S = await c;
|
|
473
473
|
if (a)
|
|
474
|
-
return
|
|
475
|
-
const O = await
|
|
476
|
-
if (clearTimeout(f), !
|
|
477
|
-
const b = O ? JSON.stringify(O) :
|
|
474
|
+
return S;
|
|
475
|
+
const O = await S.json();
|
|
476
|
+
if (clearTimeout(f), !S.ok) {
|
|
477
|
+
const b = O ? JSON.stringify(O) : S.statusText;
|
|
478
478
|
throw new Error(b);
|
|
479
479
|
}
|
|
480
480
|
return O;
|
|
@@ -548,11 +548,11 @@ function ce(t) {
|
|
|
548
548
|
var n = Object.hasOwnProperty.call(e, "constructor") && e.constructor;
|
|
549
549
|
return typeof n == "function" && n.toString() === ur;
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function Si(t) {
|
|
552
552
|
var e = t == null ? void 0 : t.constructor;
|
|
553
553
|
return e ? e.name === "GeneratorFunction" || e.displayName === "GeneratorFunction" : !1;
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function xt(t, e, n) {
|
|
556
556
|
ie(t, e, {
|
|
557
557
|
enumerable: !1,
|
|
558
558
|
writable: !0,
|
|
@@ -560,7 +560,7 @@ function Tt(t, e, n) {
|
|
|
560
560
|
value: n
|
|
561
561
|
});
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function _i(t, e, n) {
|
|
564
564
|
ie(t, e, {
|
|
565
565
|
enumerable: !1,
|
|
566
566
|
writable: !1,
|
|
@@ -577,7 +577,7 @@ function ke(t, e) {
|
|
|
577
577
|
function De(t) {
|
|
578
578
|
return t instanceof Map;
|
|
579
579
|
}
|
|
580
|
-
function
|
|
580
|
+
function Qe(t) {
|
|
581
581
|
return t instanceof Set;
|
|
582
582
|
}
|
|
583
583
|
var Ni = typeof Object.getOwnPropertySymbols != "undefined";
|
|
@@ -590,7 +590,7 @@ function dr(t) {
|
|
|
590
590
|
return Et.propertyIsEnumerable.call(t, i);
|
|
591
591
|
})) : e;
|
|
592
592
|
}
|
|
593
|
-
var
|
|
593
|
+
var Tt = typeof Reflect != "undefined" && Reflect.ownKeys ? Reflect.ownKeys : Ni ? function(t) {
|
|
594
594
|
return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t));
|
|
595
595
|
} : (
|
|
596
596
|
/* istanbul ignore next */
|
|
@@ -604,7 +604,7 @@ function se(t, e) {
|
|
|
604
604
|
}
|
|
605
605
|
var cr = Object.getOwnPropertyDescriptors || function(e) {
|
|
606
606
|
var n = {};
|
|
607
|
-
return
|
|
607
|
+
return Tt(e).forEach(function(i) {
|
|
608
608
|
n[i] = pt(e, i);
|
|
609
609
|
}), n;
|
|
610
610
|
};
|
|
@@ -630,14 +630,14 @@ function he() {
|
|
|
630
630
|
}, he.apply(this, arguments);
|
|
631
631
|
}
|
|
632
632
|
function Fi(t, e) {
|
|
633
|
-
t.prototype = Object.create(e.prototype), t.prototype.constructor = t,
|
|
633
|
+
t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Qt(t, e);
|
|
634
634
|
}
|
|
635
|
-
function
|
|
636
|
-
return
|
|
635
|
+
function Qt(t, e) {
|
|
636
|
+
return Qt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, a) {
|
|
637
637
|
return i.__proto__ = a, i;
|
|
638
|
-
},
|
|
638
|
+
}, Qt(t, e);
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function Gt(t) {
|
|
641
641
|
if (t === void 0)
|
|
642
642
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
643
643
|
return t;
|
|
@@ -697,19 +697,19 @@ function hr(t) {
|
|
|
697
697
|
var te = /* @__PURE__ */ Symbol("mobx-stored-annotations");
|
|
698
698
|
function ae(t) {
|
|
699
699
|
function e(n, i) {
|
|
700
|
-
if (
|
|
700
|
+
if (Xe(i))
|
|
701
701
|
return t.decorate_20223_(n, i);
|
|
702
702
|
Le(n, i, t);
|
|
703
703
|
}
|
|
704
704
|
return Object.assign(e, t);
|
|
705
705
|
}
|
|
706
706
|
function Le(t, e, n) {
|
|
707
|
-
se(t, te) ||
|
|
707
|
+
se(t, te) || xt(t, te, he({}, t[te])), Or(n) || (t[te][e] = n);
|
|
708
708
|
}
|
|
709
709
|
function vr(t) {
|
|
710
|
-
return se(t, te) ||
|
|
710
|
+
return se(t, te) || xt(t, te, he({}, t[te])), t[te];
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function Xe(t) {
|
|
713
713
|
return typeof t == "object" && typeof t.kind == "string";
|
|
714
714
|
}
|
|
715
715
|
var C = /* @__PURE__ */ Symbol("mobx administration"), Ye = /* @__PURE__ */ function() {
|
|
@@ -726,9 +726,9 @@ var C = /* @__PURE__ */ Symbol("mobx administration"), Ye = /* @__PURE__ */ func
|
|
|
726
726
|
return i();
|
|
727
727
|
});
|
|
728
728
|
}, e.reportObserved = function() {
|
|
729
|
-
return
|
|
729
|
+
return Gi(this);
|
|
730
730
|
}, e.reportChanged = function() {
|
|
731
|
-
q(),
|
|
731
|
+
q(), zi(this), J();
|
|
732
732
|
}, e.toString = function() {
|
|
733
733
|
return this.name_;
|
|
734
734
|
}, t;
|
|
@@ -763,11 +763,11 @@ function ve(t, e, n) {
|
|
|
763
763
|
name: n
|
|
764
764
|
}) : De(t) ? U.map(t, {
|
|
765
765
|
name: n
|
|
766
|
-
}) :
|
|
766
|
+
}) : Qe(t) ? U.set(t, {
|
|
767
767
|
name: n
|
|
768
|
-
}) : typeof t == "function" && !Rt(t) && !We(t) ?
|
|
768
|
+
}) : typeof t == "function" && !Rt(t) && !We(t) ? Si(t) ? Te(t) : He(n, t) : t;
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function Sr(t, e, n) {
|
|
771
771
|
if (t == null || Vt(t) || It(t) || be(t) || Pe(t))
|
|
772
772
|
return t;
|
|
773
773
|
if (Array.isArray(t))
|
|
@@ -785,7 +785,7 @@ function _r(t, e, n) {
|
|
|
785
785
|
name: n,
|
|
786
786
|
deep: !1
|
|
787
787
|
});
|
|
788
|
-
if (
|
|
788
|
+
if (Qe(t))
|
|
789
789
|
return U.set(t, {
|
|
790
790
|
name: n,
|
|
791
791
|
deep: !1
|
|
@@ -794,7 +794,7 @@ function _r(t, e, n) {
|
|
|
794
794
|
function Dt(t) {
|
|
795
795
|
return t;
|
|
796
796
|
}
|
|
797
|
-
function
|
|
797
|
+
function _r(t, e) {
|
|
798
798
|
return Nn(t, e) ? e : t;
|
|
799
799
|
}
|
|
800
800
|
var Nr = "override";
|
|
@@ -827,8 +827,8 @@ function wr(t, e, n, i) {
|
|
|
827
827
|
}
|
|
828
828
|
function Ar(t, e) {
|
|
829
829
|
var n = e.kind, i = e.name, a = e.addInitializer, r = this, o = function(u) {
|
|
830
|
-
var d, f, c,
|
|
831
|
-
return ge((d = (f = r.options_) == null ? void 0 : f.name) != null ? d : i.toString(), u, (c = (
|
|
830
|
+
var d, f, c, S;
|
|
831
|
+
return ge((d = (f = r.options_) == null ? void 0 : f.name) != null ? d : i.toString(), u, (c = (S = r.options_) == null ? void 0 : S.autoAction) != null ? c : !1);
|
|
832
832
|
};
|
|
833
833
|
if (n == "field") {
|
|
834
834
|
a(function() {
|
|
@@ -854,8 +854,8 @@ function Ai(t, e, n, i, a) {
|
|
|
854
854
|
a === void 0 && (a = v.safeDescriptors), Er(t, e, n, i);
|
|
855
855
|
var c = i.value;
|
|
856
856
|
if ((r = e.options_) != null && r.bound) {
|
|
857
|
-
var
|
|
858
|
-
c = c.bind((
|
|
857
|
+
var S;
|
|
858
|
+
c = c.bind((S = t.proxy_) != null ? S : t.target_);
|
|
859
859
|
}
|
|
860
860
|
return {
|
|
861
861
|
value: ge(
|
|
@@ -880,8 +880,8 @@ function Ei(t, e) {
|
|
|
880
880
|
annotationType_: t,
|
|
881
881
|
options_: e,
|
|
882
882
|
make_: Cr,
|
|
883
|
-
extend_:
|
|
884
|
-
decorate_20223_:
|
|
883
|
+
extend_: xr,
|
|
884
|
+
decorate_20223_: Tr
|
|
885
885
|
};
|
|
886
886
|
}
|
|
887
887
|
function Cr(t, e, n, i) {
|
|
@@ -895,13 +895,13 @@ function Cr(t, e, n, i) {
|
|
|
895
895
|
var r = Ci(t, this, e, n, !1, !1);
|
|
896
896
|
return ie(i, e, r), 2;
|
|
897
897
|
}
|
|
898
|
-
function
|
|
898
|
+
function xr(t, e, n, i) {
|
|
899
899
|
var a, r = Ci(t, this, e, n, (a = this.options_) == null ? void 0 : a.bound);
|
|
900
900
|
return t.defineProperty_(e, r, i);
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function Tr(t, e) {
|
|
903
903
|
var n, i = e.name, a = e.addInitializer;
|
|
904
|
-
return We(t) || (t =
|
|
904
|
+
return We(t) || (t = Te(t)), (n = this.options_) != null && n.bound && a(function() {
|
|
905
905
|
var r = this, o = r[i].bind(r);
|
|
906
906
|
o.isMobXFlow = !0, r[i] = o;
|
|
907
907
|
}), t;
|
|
@@ -912,7 +912,7 @@ function Dr(t, e, n, i) {
|
|
|
912
912
|
function Ci(t, e, n, i, a, r) {
|
|
913
913
|
r === void 0 && (r = v.safeDescriptors), Dr(t, e, n, i);
|
|
914
914
|
var o = i.value;
|
|
915
|
-
if (We(o) || (o =
|
|
915
|
+
if (We(o) || (o = Te(o)), a) {
|
|
916
916
|
var s;
|
|
917
917
|
o = o.bind((s = t.proxy_) != null ? s : t.target_), o.isMobXFlow = !0;
|
|
918
918
|
}
|
|
@@ -953,7 +953,7 @@ function Rr(t, e) {
|
|
|
953
953
|
get: t,
|
|
954
954
|
context: this
|
|
955
955
|
});
|
|
956
|
-
o.name || (o.name = "ObservableObject." + i.toString()), r.values_.set(i, new
|
|
956
|
+
o.name || (o.name = "ObservableObject." + i.toString()), r.values_.set(i, new xe(o));
|
|
957
957
|
}), function() {
|
|
958
958
|
return this[C].getObservablePropValue_(i);
|
|
959
959
|
};
|
|
@@ -999,17 +999,17 @@ function $r(t, e) {
|
|
|
999
999
|
function Ur(t, e, n, i) {
|
|
1000
1000
|
e.annotationType_;
|
|
1001
1001
|
}
|
|
1002
|
-
var Mr = "true", Br = /* @__PURE__ */
|
|
1003
|
-
function
|
|
1002
|
+
var Mr = "true", Br = /* @__PURE__ */ xi();
|
|
1003
|
+
function xi(t) {
|
|
1004
1004
|
return {
|
|
1005
1005
|
annotationType_: Mr,
|
|
1006
1006
|
options_: t,
|
|
1007
|
-
make_:
|
|
1008
|
-
extend_:
|
|
1007
|
+
make_: Gr,
|
|
1008
|
+
extend_: zr,
|
|
1009
1009
|
decorate_20223_: Kr
|
|
1010
1010
|
};
|
|
1011
1011
|
}
|
|
1012
|
-
function
|
|
1012
|
+
function Gr(t, e, n, i) {
|
|
1013
1013
|
var a, r;
|
|
1014
1014
|
if (n.get)
|
|
1015
1015
|
return fe.make_(t, e, n, i);
|
|
@@ -1025,8 +1025,8 @@ function zr(t, e, n, i) {
|
|
|
1025
1025
|
}
|
|
1026
1026
|
if (i !== t.target_ && typeof n.value == "function") {
|
|
1027
1027
|
var s;
|
|
1028
|
-
if (
|
|
1029
|
-
var l, u = (l = this.options_) != null && l.autoBind ?
|
|
1028
|
+
if (Si(n.value)) {
|
|
1029
|
+
var l, u = (l = this.options_) != null && l.autoBind ? Te.bound : Te;
|
|
1030
1030
|
return u.make_(t, e, n, i);
|
|
1031
1031
|
}
|
|
1032
1032
|
var d = (s = this.options_) != null && s.autoBind ? He.bound : He;
|
|
@@ -1039,7 +1039,7 @@ function zr(t, e, n, i) {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
return f.make_(t, e, n, i);
|
|
1041
1041
|
}
|
|
1042
|
-
function
|
|
1042
|
+
function zr(t, e, n, i) {
|
|
1043
1043
|
var a, r;
|
|
1044
1044
|
if (n.get)
|
|
1045
1045
|
return fe.extend_(t, e, n, i);
|
|
@@ -1058,42 +1058,42 @@ function Gr(t, e, n, i) {
|
|
|
1058
1058
|
function Kr(t, e) {
|
|
1059
1059
|
P("'" + this.annotationType_ + "' cannot be used as a decorator");
|
|
1060
1060
|
}
|
|
1061
|
-
var Hr = "observable", Wr = "observable.ref", qr = "observable.shallow", Jr = "observable.struct",
|
|
1061
|
+
var Hr = "observable", Wr = "observable.ref", qr = "observable.shallow", Jr = "observable.struct", Ti = {
|
|
1062
1062
|
deep: !0,
|
|
1063
1063
|
name: void 0,
|
|
1064
1064
|
defaultDecorator: void 0,
|
|
1065
1065
|
proxy: !0
|
|
1066
1066
|
};
|
|
1067
|
-
Object.freeze(
|
|
1067
|
+
Object.freeze(Ti);
|
|
1068
1068
|
function rt(t) {
|
|
1069
|
-
return t ||
|
|
1069
|
+
return t || Ti;
|
|
1070
1070
|
}
|
|
1071
|
-
var
|
|
1071
|
+
var Xt = /* @__PURE__ */ Lt(Hr), Zr = /* @__PURE__ */ Lt(Wr, {
|
|
1072
1072
|
enhancer: Dt
|
|
1073
|
-
}),
|
|
1074
|
-
enhancer: _r
|
|
1075
|
-
}), Qr = /* @__PURE__ */ Lt(Jr, {
|
|
1073
|
+
}), Qr = /* @__PURE__ */ Lt(qr, {
|
|
1076
1074
|
enhancer: Sr
|
|
1077
|
-
}),
|
|
1075
|
+
}), Xr = /* @__PURE__ */ Lt(Jr, {
|
|
1076
|
+
enhancer: _r
|
|
1077
|
+
}), Di = /* @__PURE__ */ ae(Xt);
|
|
1078
1078
|
function ot(t) {
|
|
1079
1079
|
return t.deep === !0 ? ve : t.deep === !1 ? Dt : eo(t.defaultDecorator);
|
|
1080
1080
|
}
|
|
1081
1081
|
function Yr(t) {
|
|
1082
1082
|
var e;
|
|
1083
|
-
return t ? (e = t.defaultDecorator) != null ? e :
|
|
1083
|
+
return t ? (e = t.defaultDecorator) != null ? e : xi(t) : void 0;
|
|
1084
1084
|
}
|
|
1085
1085
|
function eo(t) {
|
|
1086
1086
|
var e, n;
|
|
1087
1087
|
return t && (e = (n = t.options_) == null ? void 0 : n.enhancer) != null ? e : ve;
|
|
1088
1088
|
}
|
|
1089
1089
|
function Li(t, e, n) {
|
|
1090
|
-
if (
|
|
1091
|
-
return
|
|
1090
|
+
if (Xe(e))
|
|
1091
|
+
return Xt.decorate_20223_(t, e);
|
|
1092
1092
|
if (pe(e)) {
|
|
1093
|
-
Le(t, e,
|
|
1093
|
+
Le(t, e, Xt);
|
|
1094
1094
|
return;
|
|
1095
1095
|
}
|
|
1096
|
-
return Yi(t) ? t : ce(t) ? U.object(t, e, n) : Array.isArray(t) ? U.array(t, e) : De(t) ? U.map(t, e) :
|
|
1096
|
+
return Yi(t) ? t : ce(t) ? U.object(t, e, n) : Array.isArray(t) ? U.array(t, e) : De(t) ? U.map(t, e) : Qe(t) ? U.set(t, e) : typeof t == "object" && t !== null ? t : U.box(t, e);
|
|
1097
1097
|
}
|
|
1098
1098
|
gi(Li, Di);
|
|
1099
1099
|
var to = {
|
|
@@ -1103,7 +1103,7 @@ var to = {
|
|
|
1103
1103
|
},
|
|
1104
1104
|
array: function(e, n) {
|
|
1105
1105
|
var i = rt(n);
|
|
1106
|
-
return (v.useProxies === !1 || i.proxy === !1 ? Yo :
|
|
1106
|
+
return (v.useProxies === !1 || i.proxy === !1 ? Yo : Go)(e, ot(i), i.name);
|
|
1107
1107
|
},
|
|
1108
1108
|
map: function(e, n) {
|
|
1109
1109
|
var i = rt(n);
|
|
@@ -1114,25 +1114,25 @@ var to = {
|
|
|
1114
1114
|
return new sa(e, ot(i), i.name);
|
|
1115
1115
|
},
|
|
1116
1116
|
object: function(e, n, i) {
|
|
1117
|
-
return
|
|
1117
|
+
return Se(function() {
|
|
1118
1118
|
return Lo(v.useProxies === !1 || (i == null ? void 0 : i.proxy) === !1 ? Re({}, i) : Uo({}, i), e, n);
|
|
1119
1119
|
});
|
|
1120
1120
|
},
|
|
1121
1121
|
ref: /* @__PURE__ */ ae(Zr),
|
|
1122
|
-
shallow: /* @__PURE__ */ ae(
|
|
1122
|
+
shallow: /* @__PURE__ */ ae(Qr),
|
|
1123
1123
|
deep: Di,
|
|
1124
|
-
struct: /* @__PURE__ */ ae(
|
|
1124
|
+
struct: /* @__PURE__ */ ae(Xr)
|
|
1125
1125
|
}, U = /* @__PURE__ */ gi(Li, to), Pi = "computed", no = "computed.struct", Yt = /* @__PURE__ */ gn(Pi), io = /* @__PURE__ */ gn(no, {
|
|
1126
1126
|
equals: ht.structural
|
|
1127
1127
|
}), fe = function(e, n) {
|
|
1128
|
-
if (
|
|
1128
|
+
if (Xe(n))
|
|
1129
1129
|
return Yt.decorate_20223_(e, n);
|
|
1130
1130
|
if (pe(n))
|
|
1131
1131
|
return Le(e, n, Yt);
|
|
1132
1132
|
if (ce(e))
|
|
1133
1133
|
return ae(gn(Pi, e));
|
|
1134
1134
|
var i = ce(n) ? n : {};
|
|
1135
|
-
return i.get = e, i.name || (i.name = e.name || ""), new
|
|
1135
|
+
return i.get = e, i.name || (i.name = e.name || ""), new xe(i);
|
|
1136
1136
|
};
|
|
1137
1137
|
Object.assign(fe, Yt);
|
|
1138
1138
|
fe.struct = /* @__PURE__ */ ae(io);
|
|
@@ -1216,7 +1216,7 @@ var me = /* @__PURE__ */ function(t) {
|
|
|
1216
1216
|
return a = this.enhancer(a, this.value_, this.name_), this.equals(this.value_, a) ? v.UNCHANGED : a;
|
|
1217
1217
|
}, n.setNewValue_ = function(a) {
|
|
1218
1218
|
var r = this.value_;
|
|
1219
|
-
this.value_ = a, this.reportChanged(),
|
|
1219
|
+
this.value_ = a, this.reportChanged(), Q(this) && X(this, {
|
|
1220
1220
|
type: re,
|
|
1221
1221
|
object: this,
|
|
1222
1222
|
newValue: a,
|
|
@@ -1248,7 +1248,7 @@ var me = /* @__PURE__ */ function(t) {
|
|
|
1248
1248
|
}, e;
|
|
1249
1249
|
}(Ye), Ii;
|
|
1250
1250
|
Ii = Symbol.toPrimitive;
|
|
1251
|
-
var
|
|
1251
|
+
var xe = /* @__PURE__ */ function() {
|
|
1252
1252
|
function t(n) {
|
|
1253
1253
|
this.dependenciesState_ = R.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_ = R.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new kt(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_ = gt.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 || P(31), this.derivation = n.get, this.name_ = n.name || "ComputedValue", n.set && (this.setter_ = ge("ComputedValue-setter", n.set)), this.equals_ = n.equals || (n.compareStructural || n.struct ? ht.structural : ht.default), this.scope_ = n.context, this.requiresReaction_ = n.requiresReaction, this.keepAlive_ = !!n.keepAlive;
|
|
1254
1254
|
}
|
|
@@ -1267,7 +1267,7 @@ var Te = /* @__PURE__ */ function() {
|
|
|
1267
1267
|
if (this.isComputing_ && P(32, this.name_, this.derivation), v.inBatch === 0 && // !globalState.trackingDerivatpion &&
|
|
1268
1268
|
this.observers_.size === 0 && !this.keepAlive_)
|
|
1269
1269
|
en(this) && (this.warnAboutUntrackedRead_(), q(), this.value_ = this.computeValue_(!1), J());
|
|
1270
|
-
else if (
|
|
1270
|
+
else if (Gi(this), en(this)) {
|
|
1271
1271
|
var i = v.trackingContext;
|
|
1272
1272
|
this.keepAlive_ && !i && (v.trackingContext = this), this.trackAndCompute() && mo(this), v.trackingContext = i;
|
|
1273
1273
|
}
|
|
@@ -1332,7 +1332,7 @@ var Te = /* @__PURE__ */ function() {
|
|
|
1332
1332
|
}, e[Ii] = function() {
|
|
1333
1333
|
return this.valueOf();
|
|
1334
1334
|
}, t;
|
|
1335
|
-
}(), Pt = /* @__PURE__ */ ke("ComputedValue",
|
|
1335
|
+
}(), Pt = /* @__PURE__ */ ke("ComputedValue", xe), R;
|
|
1336
1336
|
(function(t) {
|
|
1337
1337
|
t[t.NOT_TRACKING_ = -1] = "NOT_TRACKING_", t[t.UP_TO_DATE_ = 0] = "UP_TO_DATE_", t[t.POSSIBLY_STALE_ = 1] = "POSSIBLY_STALE_", t[t.STALE_ = 2] = "STALE_";
|
|
1338
1338
|
})(R || (R = {}));
|
|
@@ -1475,16 +1475,16 @@ function J() {
|
|
|
1475
1475
|
Ki();
|
|
1476
1476
|
for (var t = v.pendingUnobservations, e = 0; e < t.length; e++) {
|
|
1477
1477
|
var n = t[e];
|
|
1478
|
-
n.isPendingUnobservation_ = !1, n.observers_.size === 0 && (n.isBeingObserved_ && (n.isBeingObserved_ = !1, n.onBUO()), n instanceof
|
|
1478
|
+
n.isPendingUnobservation_ = !1, n.observers_.size === 0 && (n.isBeingObserved_ && (n.isBeingObserved_ = !1, n.onBUO()), n instanceof xe && n.suspend_());
|
|
1479
1479
|
}
|
|
1480
1480
|
v.pendingUnobservations = [];
|
|
1481
1481
|
}
|
|
1482
1482
|
}
|
|
1483
|
-
function
|
|
1483
|
+
function Gi(t) {
|
|
1484
1484
|
var e = v.trackingDerivation;
|
|
1485
1485
|
return e !== null ? (e.runId_ !== t.lastAccessedBy_ && (t.lastAccessedBy_ = e.runId_, e.newObserving_[e.unboundDepsCount_++] = t, !t.isBeingObserved_ && v.trackingContext && (t.isBeingObserved_ = !0, t.onBO())), t.isBeingObserved_) : (t.observers_.size === 0 && v.inBatch > 0 && Bi(t), !1);
|
|
1486
1486
|
}
|
|
1487
|
-
function
|
|
1487
|
+
function zi(t) {
|
|
1488
1488
|
t.lowestObserverState_ !== R.STALE_ && (t.lowestObserverState_ = R.STALE_, t.observers_.forEach(function(e) {
|
|
1489
1489
|
e.dependenciesState_ === R.UP_TO_DATE_ && e.onBecomeStale_(), e.dependenciesState_ = R.STALE_;
|
|
1490
1490
|
}));
|
|
@@ -1579,14 +1579,14 @@ function go(t) {
|
|
|
1579
1579
|
});
|
|
1580
1580
|
};
|
|
1581
1581
|
}
|
|
1582
|
-
function
|
|
1582
|
+
function Ge() {
|
|
1583
1583
|
return !1;
|
|
1584
1584
|
}
|
|
1585
1585
|
function ko(t) {
|
|
1586
1586
|
return console.warn("[mobx.spy] Is a no-op in production builds"), function() {
|
|
1587
1587
|
};
|
|
1588
1588
|
}
|
|
1589
|
-
var Hi = "action", yo = "action.bound", Wi = "autoAction", bo = "autoAction.bound",
|
|
1589
|
+
var Hi = "action", yo = "action.bound", Wi = "autoAction", bo = "autoAction.bound", So = "<unnamed action>", an = /* @__PURE__ */ et(Hi), _o = /* @__PURE__ */ et(yo, {
|
|
1590
1590
|
bound: !0
|
|
1591
1591
|
}), rn = /* @__PURE__ */ et(Wi, {
|
|
1592
1592
|
autoAction: !0
|
|
@@ -1597,10 +1597,10 @@ var Hi = "action", yo = "action.bound", Wi = "autoAction", bo = "autoAction.boun
|
|
|
1597
1597
|
function qi(t) {
|
|
1598
1598
|
var e = function(i, a) {
|
|
1599
1599
|
if (Y(i))
|
|
1600
|
-
return ge(i.name ||
|
|
1600
|
+
return ge(i.name || So, i, t);
|
|
1601
1601
|
if (Y(a))
|
|
1602
1602
|
return ge(i, a, t);
|
|
1603
|
-
if (
|
|
1603
|
+
if (Xe(a))
|
|
1604
1604
|
return (t ? rn : an).decorate_20223_(i, a);
|
|
1605
1605
|
if (pe(a))
|
|
1606
1606
|
return Le(i, a, t ? rn : an);
|
|
@@ -1616,7 +1616,7 @@ var ue = /* @__PURE__ */ qi(!1);
|
|
|
1616
1616
|
Object.assign(ue, an);
|
|
1617
1617
|
var He = /* @__PURE__ */ qi(!0);
|
|
1618
1618
|
Object.assign(He, rn);
|
|
1619
|
-
ue.bound = /* @__PURE__ */ ae(
|
|
1619
|
+
ue.bound = /* @__PURE__ */ ae(_o);
|
|
1620
1620
|
He.bound = /* @__PURE__ */ ae(No);
|
|
1621
1621
|
function Rt(t) {
|
|
1622
1622
|
return Y(t) && t.isMobxAction === !0;
|
|
@@ -1658,18 +1658,18 @@ function Ji(t, e, n) {
|
|
|
1658
1658
|
return Zi(Eo, t, e, n);
|
|
1659
1659
|
}
|
|
1660
1660
|
function Zi(t, e, n, i) {
|
|
1661
|
-
var a =
|
|
1661
|
+
var a = _t(e), r = Y(i) ? i : n, o = t + "L";
|
|
1662
1662
|
return a[o] ? a[o].add(r) : a[o] = /* @__PURE__ */ new Set([r]), function() {
|
|
1663
1663
|
var s = a[o];
|
|
1664
1664
|
s && (s.delete(r), s.size === 0 && delete a[o]);
|
|
1665
1665
|
};
|
|
1666
1666
|
}
|
|
1667
|
-
var
|
|
1667
|
+
var xo = "never", st = "always", To = "observed";
|
|
1668
1668
|
function Do(t) {
|
|
1669
1669
|
t.isolateGlobalState === !0 && co();
|
|
1670
1670
|
var e = t.useProxies, n = t.enforceActions;
|
|
1671
|
-
if (e !== void 0 && (v.useProxies = e === st ? !0 : e ===
|
|
1672
|
-
var i = n === st ? st : n ===
|
|
1671
|
+
if (e !== void 0 && (v.useProxies = e === st ? !0 : e === xo ? !1 : typeof Proxy != "undefined"), e === "ifavailable" && (v.verifyProxies = !0), n !== void 0) {
|
|
1672
|
+
var i = n === st ? st : n === To;
|
|
1673
1673
|
v.enforceActions = i, v.allowStateChanges = !(i === !0 || i === st);
|
|
1674
1674
|
}
|
|
1675
1675
|
["computedRequiresReaction", "reactionRequiresObservable", "observableRequiresReaction", "disableErrorBoundaries", "safeDescriptors"].forEach(function(a) {
|
|
@@ -1678,9 +1678,9 @@ function Do(t) {
|
|
|
1678
1678
|
}
|
|
1679
1679
|
function Lo(t, e, n, i) {
|
|
1680
1680
|
var a = cr(e);
|
|
1681
|
-
return
|
|
1681
|
+
return Se(function() {
|
|
1682
1682
|
var r = Re(t, i)[C];
|
|
1683
|
-
|
|
1683
|
+
Tt(a).forEach(function(o) {
|
|
1684
1684
|
r.extend_(
|
|
1685
1685
|
o,
|
|
1686
1686
|
a[o],
|
|
@@ -1691,52 +1691,52 @@ function Lo(t, e, n, i) {
|
|
|
1691
1691
|
}), t;
|
|
1692
1692
|
}
|
|
1693
1693
|
function Po(t, e) {
|
|
1694
|
-
return
|
|
1694
|
+
return Qi(_t(t, e));
|
|
1695
1695
|
}
|
|
1696
|
-
function
|
|
1696
|
+
function Qi(t) {
|
|
1697
1697
|
var e = {
|
|
1698
1698
|
name: t.name_
|
|
1699
1699
|
};
|
|
1700
|
-
return t.observing_ && t.observing_.length > 0 && (e.dependencies = Ro(t.observing_).map(
|
|
1700
|
+
return t.observing_ && t.observing_.length > 0 && (e.dependencies = Ro(t.observing_).map(Qi)), e;
|
|
1701
1701
|
}
|
|
1702
1702
|
function Ro(t) {
|
|
1703
1703
|
return Array.from(new Set(t));
|
|
1704
1704
|
}
|
|
1705
1705
|
var Io = 0;
|
|
1706
|
-
function
|
|
1706
|
+
function Xi() {
|
|
1707
1707
|
this.message = "FLOW_CANCELLED";
|
|
1708
1708
|
}
|
|
1709
|
-
|
|
1710
|
-
var
|
|
1709
|
+
Xi.prototype = /* @__PURE__ */ Object.create(Error.prototype);
|
|
1710
|
+
var zt = /* @__PURE__ */ Ei("flow"), Vo = /* @__PURE__ */ Ei("flow.bound", {
|
|
1711
1711
|
bound: !0
|
|
1712
|
-
}),
|
|
1713
|
-
if (
|
|
1714
|
-
return
|
|
1712
|
+
}), Te = /* @__PURE__ */ Object.assign(function(e, n) {
|
|
1713
|
+
if (Xe(n))
|
|
1714
|
+
return zt.decorate_20223_(e, n);
|
|
1715
1715
|
if (pe(n))
|
|
1716
|
-
return Le(e, n,
|
|
1716
|
+
return Le(e, n, zt);
|
|
1717
1717
|
var i = e, a = i.name || "<unnamed flow>", r = function() {
|
|
1718
|
-
var s = this, l = arguments, u = ++Io, d = ue(a + " - runid: " + u + " - init", i).apply(s, l), f, c = void 0,
|
|
1718
|
+
var s = this, l = arguments, u = ++Io, d = ue(a + " - runid: " + u + " - init", i).apply(s, l), f, c = void 0, S = new Promise(function(O, b) {
|
|
1719
1719
|
var F = 0;
|
|
1720
1720
|
f = b;
|
|
1721
1721
|
function y(w) {
|
|
1722
1722
|
c = void 0;
|
|
1723
|
-
var
|
|
1723
|
+
var T;
|
|
1724
1724
|
try {
|
|
1725
|
-
|
|
1725
|
+
T = ue(a + " - runid: " + u + " - yield " + F++, d.next).call(d, w);
|
|
1726
1726
|
} catch (V) {
|
|
1727
1727
|
return b(V);
|
|
1728
1728
|
}
|
|
1729
|
-
M(
|
|
1729
|
+
M(T);
|
|
1730
1730
|
}
|
|
1731
1731
|
function L(w) {
|
|
1732
1732
|
c = void 0;
|
|
1733
|
-
var
|
|
1733
|
+
var T;
|
|
1734
1734
|
try {
|
|
1735
|
-
|
|
1735
|
+
T = ue(a + " - runid: " + u + " - yield " + F++, d.throw).call(d, w);
|
|
1736
1736
|
} catch (V) {
|
|
1737
1737
|
return b(V);
|
|
1738
1738
|
}
|
|
1739
|
-
M(
|
|
1739
|
+
M(T);
|
|
1740
1740
|
}
|
|
1741
1741
|
function M(w) {
|
|
1742
1742
|
if (Y(w == null ? void 0 : w.then)) {
|
|
@@ -1747,19 +1747,19 @@ var Gt = /* @__PURE__ */ Ei("flow"), Vo = /* @__PURE__ */ Ei("flow.bound", {
|
|
|
1747
1747
|
}
|
|
1748
1748
|
y(void 0);
|
|
1749
1749
|
});
|
|
1750
|
-
return
|
|
1750
|
+
return S.cancel = ue(a + " - runid: " + u + " - cancel", function() {
|
|
1751
1751
|
try {
|
|
1752
1752
|
c && $n(c);
|
|
1753
1753
|
var O = d.return(void 0), b = Promise.resolve(O.value);
|
|
1754
|
-
b.then(Ee, Ee), $n(b), f(new
|
|
1754
|
+
b.then(Ee, Ee), $n(b), f(new Xi());
|
|
1755
1755
|
} catch (F) {
|
|
1756
1756
|
f(F);
|
|
1757
1757
|
}
|
|
1758
|
-
}),
|
|
1758
|
+
}), S;
|
|
1759
1759
|
};
|
|
1760
1760
|
return r.isMobXFlow = !0, r;
|
|
1761
|
-
},
|
|
1762
|
-
|
|
1761
|
+
}, zt);
|
|
1762
|
+
Te.bound = /* @__PURE__ */ ae(Vo);
|
|
1763
1763
|
function $n(t) {
|
|
1764
1764
|
Y(t.cancel) && t.cancel();
|
|
1765
1765
|
}
|
|
@@ -1833,7 +1833,7 @@ function W(t, e) {
|
|
|
1833
1833
|
le(n);
|
|
1834
1834
|
}
|
|
1835
1835
|
}
|
|
1836
|
-
function
|
|
1836
|
+
function Q(t) {
|
|
1837
1837
|
return t.changeListeners_ !== void 0 && t.changeListeners_.length > 0;
|
|
1838
1838
|
}
|
|
1839
1839
|
function nt(t, e) {
|
|
@@ -1843,7 +1843,7 @@ function nt(t, e) {
|
|
|
1843
1843
|
i !== -1 && n.splice(i, 1);
|
|
1844
1844
|
});
|
|
1845
1845
|
}
|
|
1846
|
-
function
|
|
1846
|
+
function X(t, e) {
|
|
1847
1847
|
var n = ye(), i = t.changeListeners_;
|
|
1848
1848
|
if (i) {
|
|
1849
1849
|
i = i.slice();
|
|
@@ -1853,9 +1853,9 @@ function Q(t, e) {
|
|
|
1853
1853
|
}
|
|
1854
1854
|
}
|
|
1855
1855
|
function ea(t, e, n) {
|
|
1856
|
-
return
|
|
1856
|
+
return Se(function() {
|
|
1857
1857
|
var i, a = Re(t, n)[C];
|
|
1858
|
-
(i = e) != null || (e = vr(t)),
|
|
1858
|
+
(i = e) != null || (e = vr(t)), Tt(e).forEach(function(r) {
|
|
1859
1859
|
return a.make_(r, e[r]);
|
|
1860
1860
|
});
|
|
1861
1861
|
}), t;
|
|
@@ -1872,7 +1872,7 @@ var Un = "splice", re = "update", Mo = 1e4, Bo = {
|
|
|
1872
1872
|
preventExtensions: function() {
|
|
1873
1873
|
P(15);
|
|
1874
1874
|
}
|
|
1875
|
-
},
|
|
1875
|
+
}, Sn = /* @__PURE__ */ function() {
|
|
1876
1876
|
function t(n, i, a, r) {
|
|
1877
1877
|
n === void 0 && (n = "ObservableArray"), this.owned_ = void 0, this.legacyMode_ = void 0, this.atom_ = void 0, this.values_ = [], this.interceptors_ = void 0, this.changeListeners_ = void 0, this.enhancer_ = void 0, this.dehancer = void 0, this.proxy_ = void 0, this.lastKnownLength_ = 0, this.owned_ = a, this.legacyMode_ = r, this.atom_ = new Ye(n), this.enhancer_ = function(o, s) {
|
|
1878
1878
|
return i(o, s, "ObservableArray[..]");
|
|
@@ -1949,7 +1949,7 @@ var Un = "splice", re = "update", Mo = 1e4, Bo = {
|
|
|
1949
1949
|
return s;
|
|
1950
1950
|
}
|
|
1951
1951
|
}, e.notifyArrayChildUpdate_ = function(i, a, r) {
|
|
1952
|
-
var o = !this.owned_ &&
|
|
1952
|
+
var o = !this.owned_ && Ge(), s = Q(this), l = s || o ? {
|
|
1953
1953
|
observableKind: "array",
|
|
1954
1954
|
object: this.proxy_,
|
|
1955
1955
|
type: re,
|
|
@@ -1958,9 +1958,9 @@ var Un = "splice", re = "update", Mo = 1e4, Bo = {
|
|
|
1958
1958
|
newValue: a,
|
|
1959
1959
|
oldValue: r
|
|
1960
1960
|
} : null;
|
|
1961
|
-
this.atom_.reportChanged(), s &&
|
|
1961
|
+
this.atom_.reportChanged(), s && X(this, l);
|
|
1962
1962
|
}, e.notifyArraySplice_ = function(i, a, r) {
|
|
1963
|
-
var o = !this.owned_ &&
|
|
1963
|
+
var o = !this.owned_ && Ge(), s = Q(this), l = s || o ? {
|
|
1964
1964
|
observableKind: "array",
|
|
1965
1965
|
object: this.proxy_,
|
|
1966
1966
|
debugObjectName: this.atom_.name_,
|
|
@@ -1971,7 +1971,7 @@ var Un = "splice", re = "update", Mo = 1e4, Bo = {
|
|
|
1971
1971
|
removedCount: r.length,
|
|
1972
1972
|
addedCount: a.length
|
|
1973
1973
|
} : null;
|
|
1974
|
-
this.atom_.reportChanged(), s &&
|
|
1974
|
+
this.atom_.reportChanged(), s && X(this, l);
|
|
1975
1975
|
}, e.get_ = function(i) {
|
|
1976
1976
|
if (this.legacyMode_ && i >= this.values_.length) {
|
|
1977
1977
|
console.warn("[mobx] Out of bounds read: " + i);
|
|
@@ -2004,10 +2004,10 @@ var Un = "splice", re = "update", Mo = 1e4, Bo = {
|
|
|
2004
2004
|
}
|
|
2005
2005
|
}, t;
|
|
2006
2006
|
}();
|
|
2007
|
-
function
|
|
2008
|
-
return n === void 0 && (n = "ObservableArray"), i === void 0 && (i = !1), yi(),
|
|
2009
|
-
var a = new
|
|
2010
|
-
|
|
2007
|
+
function Go(t, e, n, i) {
|
|
2008
|
+
return n === void 0 && (n = "ObservableArray"), i === void 0 && (i = !1), yi(), Se(function() {
|
|
2009
|
+
var a = new Sn(n, e, i, !1);
|
|
2010
|
+
_i(a.values_, C, a);
|
|
2011
2011
|
var r = new Proxy(a.values_, Bo);
|
|
2012
2012
|
return a.proxy_ = r, t && t.length && a.spliceWithArray_(0, 0, t), r;
|
|
2013
2013
|
});
|
|
@@ -2133,17 +2133,17 @@ function ta(t) {
|
|
|
2133
2133
|
}, i[t].apply(i, arguments);
|
|
2134
2134
|
};
|
|
2135
2135
|
}
|
|
2136
|
-
var
|
|
2136
|
+
var zo = /* @__PURE__ */ ke("ObservableArrayAdministration", Sn);
|
|
2137
2137
|
function It(t) {
|
|
2138
|
-
return Ct(t) &&
|
|
2138
|
+
return Ct(t) && zo(t[C]);
|
|
2139
2139
|
}
|
|
2140
|
-
var na, ia, Ko = {}, de = "add",
|
|
2140
|
+
var na, ia, Ko = {}, de = "add", St = "delete";
|
|
2141
2141
|
na = Symbol.iterator;
|
|
2142
2142
|
ia = Symbol.toStringTag;
|
|
2143
2143
|
var aa = /* @__PURE__ */ function() {
|
|
2144
2144
|
function t(n, i, a) {
|
|
2145
2145
|
var r = this;
|
|
2146
|
-
i === void 0 && (i = ve), a === void 0 && (a = "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[C] = Ko, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = i, this.name_ = a, Y(Map) || P(18),
|
|
2146
|
+
i === void 0 && (i = ve), a === void 0 && (a = "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[C] = Ko, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = i, this.name_ = a, Y(Map) || P(18), Se(function() {
|
|
2147
2147
|
r.keysAtom_ = wi("ObservableMap.keys()"), r.data_ = /* @__PURE__ */ new Map(), r.hasMap_ = /* @__PURE__ */ new Map(), n && r.merge(n);
|
|
2148
2148
|
});
|
|
2149
2149
|
}
|
|
@@ -2180,7 +2180,7 @@ var aa = /* @__PURE__ */ function() {
|
|
|
2180
2180
|
var a = this;
|
|
2181
2181
|
if (this.keysAtom_, H(this)) {
|
|
2182
2182
|
var r = W(this, {
|
|
2183
|
-
type:
|
|
2183
|
+
type: St,
|
|
2184
2184
|
object: this,
|
|
2185
2185
|
name: i
|
|
2186
2186
|
});
|
|
@@ -2188,10 +2188,10 @@ var aa = /* @__PURE__ */ function() {
|
|
|
2188
2188
|
return !1;
|
|
2189
2189
|
}
|
|
2190
2190
|
if (this.has_(i)) {
|
|
2191
|
-
var o =
|
|
2191
|
+
var o = Ge(), s = Q(this), l = s || o ? {
|
|
2192
2192
|
observableKind: "map",
|
|
2193
2193
|
debugObjectName: this.name_,
|
|
2194
|
-
type:
|
|
2194
|
+
type: St,
|
|
2195
2195
|
object: this,
|
|
2196
2196
|
oldValue: this.data_.get(i).value_,
|
|
2197
2197
|
name: i
|
|
@@ -2201,13 +2201,13 @@ var aa = /* @__PURE__ */ function() {
|
|
|
2201
2201
|
a.keysAtom_.reportChanged(), (u = a.hasMap_.get(i)) == null || u.setNewValue_(!1);
|
|
2202
2202
|
var d = a.data_.get(i);
|
|
2203
2203
|
d.setNewValue_(void 0), a.data_.delete(i);
|
|
2204
|
-
}), s &&
|
|
2204
|
+
}), s && X(this, l), !0;
|
|
2205
2205
|
}
|
|
2206
2206
|
return !1;
|
|
2207
2207
|
}, e.updateValue_ = function(i, a) {
|
|
2208
2208
|
var r = this.data_.get(i);
|
|
2209
2209
|
if (a = r.prepareNewValue_(a), a !== v.UNCHANGED) {
|
|
2210
|
-
var o =
|
|
2210
|
+
var o = Ge(), s = Q(this), l = s || o ? {
|
|
2211
2211
|
observableKind: "map",
|
|
2212
2212
|
debugObjectName: this.name_,
|
|
2213
2213
|
type: re,
|
|
@@ -2216,7 +2216,7 @@ var aa = /* @__PURE__ */ function() {
|
|
|
2216
2216
|
name: i,
|
|
2217
2217
|
newValue: a
|
|
2218
2218
|
} : null;
|
|
2219
|
-
r.setNewValue_(a), s &&
|
|
2219
|
+
r.setNewValue_(a), s && X(this, l);
|
|
2220
2220
|
}
|
|
2221
2221
|
}, e.addValue_ = function(i, a) {
|
|
2222
2222
|
var r = this;
|
|
@@ -2224,7 +2224,7 @@ var aa = /* @__PURE__ */ function() {
|
|
|
2224
2224
|
var u, d = new me(a, r.enhancer_, "ObservableMap.key", !1);
|
|
2225
2225
|
r.data_.set(i, d), a = d.value_, (u = r.hasMap_.get(i)) == null || u.setNewValue_(!0), r.keysAtom_.reportChanged();
|
|
2226
2226
|
});
|
|
2227
|
-
var o =
|
|
2227
|
+
var o = Ge(), s = Q(this), l = s || o ? {
|
|
2228
2228
|
observableKind: "map",
|
|
2229
2229
|
debugObjectName: this.name_,
|
|
2230
2230
|
type: de,
|
|
@@ -2232,7 +2232,7 @@ var aa = /* @__PURE__ */ function() {
|
|
|
2232
2232
|
name: i,
|
|
2233
2233
|
newValue: a
|
|
2234
2234
|
} : null;
|
|
2235
|
-
s &&
|
|
2235
|
+
s && X(this, l);
|
|
2236
2236
|
}, e.get = function(i) {
|
|
2237
2237
|
return this.has(i) ? this.dehanceValue_(this.data_.get(i).get()) : this.dehanceValue_(void 0);
|
|
2238
2238
|
}, e.dehanceValue_ = function(i) {
|
|
@@ -2305,7 +2305,7 @@ var aa = /* @__PURE__ */ function() {
|
|
|
2305
2305
|
}
|
|
2306
2306
|
}
|
|
2307
2307
|
}
|
|
2308
|
-
for (var
|
|
2308
|
+
for (var S = Ce(r.entries()), O; !(O = S()).done; ) {
|
|
2309
2309
|
var b = O.value, F = b[0], y = b[1], L = a.data_.has(F);
|
|
2310
2310
|
if (a.set(F, y), a.data_.has(F)) {
|
|
2311
2311
|
var M = a.data_.get(F);
|
|
@@ -2316,12 +2316,12 @@ var aa = /* @__PURE__ */ function() {
|
|
|
2316
2316
|
if (a.data_.size !== o.size)
|
|
2317
2317
|
a.keysAtom_.reportChanged();
|
|
2318
2318
|
else
|
|
2319
|
-
for (var w = a.data_.keys(),
|
|
2319
|
+
for (var w = a.data_.keys(), T = o.keys(), V = w.next(), j = T.next(); !V.done; ) {
|
|
2320
2320
|
if (V.value !== j.value) {
|
|
2321
2321
|
a.keysAtom_.reportChanged();
|
|
2322
2322
|
break;
|
|
2323
2323
|
}
|
|
2324
|
-
V = w.next(), j =
|
|
2324
|
+
V = w.next(), j = T.next();
|
|
2325
2325
|
}
|
|
2326
2326
|
a.data_ = o;
|
|
2327
2327
|
}), this;
|
|
@@ -2366,7 +2366,7 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2366
2366
|
var r = this;
|
|
2367
2367
|
i === void 0 && (i = ve), a === void 0 && (a = "ObservableSet"), this.name_ = void 0, this[C] = Wo, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = a, Y(Set) || P(22), this.enhancer_ = function(o, s) {
|
|
2368
2368
|
return i(o, s, a);
|
|
2369
|
-
},
|
|
2369
|
+
}, Se(function() {
|
|
2370
2370
|
r.atom_ = wi(r.name_), n && r.replace(n);
|
|
2371
2371
|
});
|
|
2372
2372
|
}
|
|
@@ -2403,21 +2403,21 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2403
2403
|
oe(function() {
|
|
2404
2404
|
a.data_.add(a.enhancer_(i, void 0)), a.atom_.reportChanged();
|
|
2405
2405
|
});
|
|
2406
|
-
var o = !1, s =
|
|
2406
|
+
var o = !1, s = Q(this), l = s || o ? {
|
|
2407
2407
|
observableKind: "set",
|
|
2408
2408
|
debugObjectName: this.name_,
|
|
2409
2409
|
type: de,
|
|
2410
2410
|
object: this,
|
|
2411
2411
|
newValue: i
|
|
2412
2412
|
} : null;
|
|
2413
|
-
s &&
|
|
2413
|
+
s && X(this, l);
|
|
2414
2414
|
}
|
|
2415
2415
|
return this;
|
|
2416
2416
|
}, e.delete = function(i) {
|
|
2417
2417
|
var a = this;
|
|
2418
2418
|
if (H(this)) {
|
|
2419
2419
|
var r = W(this, {
|
|
2420
|
-
type:
|
|
2420
|
+
type: St,
|
|
2421
2421
|
object: this,
|
|
2422
2422
|
oldValue: i
|
|
2423
2423
|
});
|
|
@@ -2425,16 +2425,16 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2425
2425
|
return !1;
|
|
2426
2426
|
}
|
|
2427
2427
|
if (this.has(i)) {
|
|
2428
|
-
var o = !1, s =
|
|
2428
|
+
var o = !1, s = Q(this), l = s || o ? {
|
|
2429
2429
|
observableKind: "set",
|
|
2430
2430
|
debugObjectName: this.name_,
|
|
2431
|
-
type:
|
|
2431
|
+
type: St,
|
|
2432
2432
|
object: this,
|
|
2433
2433
|
oldValue: i
|
|
2434
2434
|
} : null;
|
|
2435
2435
|
return oe(function() {
|
|
2436
2436
|
a.atom_.reportChanged(), a.data_.delete(i);
|
|
2437
|
-
}), s &&
|
|
2437
|
+
}), s && X(this, l), !0;
|
|
2438
2438
|
}
|
|
2439
2439
|
return !1;
|
|
2440
2440
|
}, e.has = function(i) {
|
|
@@ -2472,7 +2472,7 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2472
2472
|
return Pe(i) && (i = new Set(i)), oe(function() {
|
|
2473
2473
|
Array.isArray(i) ? (a.clear(), i.forEach(function(r) {
|
|
2474
2474
|
return a.add(r);
|
|
2475
|
-
})) :
|
|
2475
|
+
})) : Qe(i) ? (a.clear(), i.forEach(function(r) {
|
|
2476
2476
|
return a.add(r);
|
|
2477
2477
|
})) : i != null && P("Cannot initialize set from " + i);
|
|
2478
2478
|
}), this;
|
|
@@ -2506,7 +2506,7 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2506
2506
|
return this.values_.get(i).get();
|
|
2507
2507
|
}, e.setObservablePropValue_ = function(i, a) {
|
|
2508
2508
|
var r = this.values_.get(i);
|
|
2509
|
-
if (r instanceof
|
|
2509
|
+
if (r instanceof xe)
|
|
2510
2510
|
return r.set(a), !0;
|
|
2511
2511
|
if (H(this)) {
|
|
2512
2512
|
var o = W(this, {
|
|
@@ -2520,7 +2520,7 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2520
2520
|
a = o.newValue;
|
|
2521
2521
|
}
|
|
2522
2522
|
if (a = r.prepareNewValue_(a), a !== v.UNCHANGED) {
|
|
2523
|
-
var s =
|
|
2523
|
+
var s = Q(this), l = !1, u = s || l ? {
|
|
2524
2524
|
type: re,
|
|
2525
2525
|
observableKind: "object",
|
|
2526
2526
|
debugObjectName: this.name_,
|
|
@@ -2529,7 +2529,7 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2529
2529
|
name: i,
|
|
2530
2530
|
newValue: a
|
|
2531
2531
|
} : null;
|
|
2532
|
-
r.setNewValue_(a), s &&
|
|
2532
|
+
r.setNewValue_(a), s && X(this, u);
|
|
2533
2533
|
}
|
|
2534
2534
|
return !0;
|
|
2535
2535
|
}, e.get_ = function(i) {
|
|
@@ -2566,13 +2566,13 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2566
2566
|
}
|
|
2567
2567
|
o = Object.getPrototypeOf(o);
|
|
2568
2568
|
}
|
|
2569
|
-
|
|
2569
|
+
zn(this, a, i);
|
|
2570
2570
|
}
|
|
2571
2571
|
}, e.extend_ = function(i, a, r, o) {
|
|
2572
2572
|
if (o === void 0 && (o = !1), r === !0 && (r = this.defaultAnnotation_), r === !1)
|
|
2573
2573
|
return this.defineProperty_(i, a, o);
|
|
2574
2574
|
var s = r.extend_(this, i, a, o);
|
|
2575
|
-
return s &&
|
|
2575
|
+
return s && zn(this, r, i), s;
|
|
2576
2576
|
}, e.defineProperty_ = function(i, a, r) {
|
|
2577
2577
|
r === void 0 && (r = !1), this.keysAtom_;
|
|
2578
2578
|
try {
|
|
@@ -2622,7 +2622,7 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2622
2622
|
return null;
|
|
2623
2623
|
a = l.newValue;
|
|
2624
2624
|
}
|
|
2625
|
-
var u =
|
|
2625
|
+
var u = Gn(i), d = {
|
|
2626
2626
|
configurable: v.safeDescriptors ? this.isPlainObject_ : !0,
|
|
2627
2627
|
enumerable: !0,
|
|
2628
2628
|
get: u.get,
|
|
@@ -2657,7 +2657,7 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2657
2657
|
return null;
|
|
2658
2658
|
}
|
|
2659
2659
|
a.name || (a.name = "ObservableObject.key"), a.context = this.proxy_ || this.target_;
|
|
2660
|
-
var l =
|
|
2660
|
+
var l = Gn(i), u = {
|
|
2661
2661
|
configurable: v.safeDescriptors ? this.isPlainObject_ : !0,
|
|
2662
2662
|
enumerable: !1,
|
|
2663
2663
|
get: l.get,
|
|
@@ -2668,7 +2668,7 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2668
2668
|
return !1;
|
|
2669
2669
|
} else
|
|
2670
2670
|
ie(this.target_, i, u);
|
|
2671
|
-
this.values_.set(i, new
|
|
2671
|
+
this.values_.set(i, new xe(a)), this.notifyPropertyAddition_(i, void 0);
|
|
2672
2672
|
} finally {
|
|
2673
2673
|
J();
|
|
2674
2674
|
}
|
|
@@ -2688,7 +2688,7 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2688
2688
|
try {
|
|
2689
2689
|
var o, s;
|
|
2690
2690
|
q();
|
|
2691
|
-
var l =
|
|
2691
|
+
var l = Q(this), u = !1, d = this.values_.get(i), f = void 0;
|
|
2692
2692
|
if (!d && (l || u)) {
|
|
2693
2693
|
var c;
|
|
2694
2694
|
f = (c = pt(this.target_, i)) == null ? void 0 : c.value;
|
|
@@ -2698,8 +2698,8 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2698
2698
|
return !1;
|
|
2699
2699
|
} else
|
|
2700
2700
|
delete this.target_[i];
|
|
2701
|
-
if (d && (this.values_.delete(i), d instanceof me && (f = d.value_),
|
|
2702
|
-
var
|
|
2701
|
+
if (d && (this.values_.delete(i), d instanceof me && (f = d.value_), zi(d)), this.keysAtom_.reportChanged(), (o = this.pendingKeys_) == null || (s = o.get(i)) == null || s.set(i in this.target_), l || u) {
|
|
2702
|
+
var S = {
|
|
2703
2703
|
type: Bn,
|
|
2704
2704
|
observableKind: "object",
|
|
2705
2705
|
object: this.proxy_ || this.target_,
|
|
@@ -2707,7 +2707,7 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2707
2707
|
oldValue: f,
|
|
2708
2708
|
name: i
|
|
2709
2709
|
};
|
|
2710
|
-
l &&
|
|
2710
|
+
l && X(this, S);
|
|
2711
2711
|
}
|
|
2712
2712
|
} finally {
|
|
2713
2713
|
J();
|
|
@@ -2718,7 +2718,7 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2718
2718
|
}, e.intercept_ = function(i) {
|
|
2719
2719
|
return tt(this, i);
|
|
2720
2720
|
}, e.notifyPropertyAddition_ = function(i, a) {
|
|
2721
|
-
var r, o, s =
|
|
2721
|
+
var r, o, s = Q(this), l = !1;
|
|
2722
2722
|
if (s || l) {
|
|
2723
2723
|
var u = s || l ? {
|
|
2724
2724
|
type: de,
|
|
@@ -2728,11 +2728,11 @@ var sa = /* @__PURE__ */ function() {
|
|
|
2728
2728
|
name: i,
|
|
2729
2729
|
newValue: a
|
|
2730
2730
|
} : null;
|
|
2731
|
-
s &&
|
|
2731
|
+
s && X(this, u);
|
|
2732
2732
|
}
|
|
2733
2733
|
(r = this.pendingKeys_) == null || (o = r.get(i)) == null || o.set(!0), this.keysAtom_.reportChanged();
|
|
2734
2734
|
}, e.ownKeys_ = function() {
|
|
2735
|
-
return this.keysAtom_.reportObserved(),
|
|
2735
|
+
return this.keysAtom_.reportObserved(), Tt(this.target_);
|
|
2736
2736
|
}, e.keys_ = function() {
|
|
2737
2737
|
return this.keysAtom_.reportObserved(), Object.keys(this.target_);
|
|
2738
2738
|
}, t;
|
|
@@ -2742,10 +2742,10 @@ function Re(t, e) {
|
|
|
2742
2742
|
if (se(t, C))
|
|
2743
2743
|
return t;
|
|
2744
2744
|
var i = (n = e == null ? void 0 : e.name) != null ? n : "ObservableObject", a = new la(t, /* @__PURE__ */ new Map(), String(i), Yr(e));
|
|
2745
|
-
return
|
|
2745
|
+
return xt(t, C, a), t;
|
|
2746
2746
|
}
|
|
2747
2747
|
var qo = /* @__PURE__ */ ke("ObservableObjectAdministration", la);
|
|
2748
|
-
function
|
|
2748
|
+
function Gn(t) {
|
|
2749
2749
|
return Mn[t] || (Mn[t] = {
|
|
2750
2750
|
get: function() {
|
|
2751
2751
|
return this[C].getObservablePropValue_(t);
|
|
@@ -2758,7 +2758,7 @@ function zn(t) {
|
|
|
2758
2758
|
function Vt(t) {
|
|
2759
2759
|
return Ct(t) ? qo(t[C]) : !1;
|
|
2760
2760
|
}
|
|
2761
|
-
function
|
|
2761
|
+
function zn(t, e, n) {
|
|
2762
2762
|
var i;
|
|
2763
2763
|
(i = t.target_[te]) == null || delete i[n];
|
|
2764
2764
|
}
|
|
@@ -2771,17 +2771,17 @@ var Jo = /* @__PURE__ */ da(0), Zo = /* @__PURE__ */ function() {
|
|
|
2771
2771
|
}), Object.create(e)[0] = 1, t === !1;
|
|
2772
2772
|
}(), Kt = 0, ua = function() {
|
|
2773
2773
|
};
|
|
2774
|
-
function
|
|
2774
|
+
function Qo(t, e) {
|
|
2775
2775
|
Object.setPrototypeOf ? Object.setPrototypeOf(t.prototype, e) : t.prototype.__proto__ !== void 0 ? t.prototype.__proto__ = e : t.prototype = e;
|
|
2776
2776
|
}
|
|
2777
|
-
|
|
2778
|
-
var
|
|
2777
|
+
Qo(ua, Array.prototype);
|
|
2778
|
+
var _n = /* @__PURE__ */ function(t, e, n) {
|
|
2779
2779
|
Fi(i, t);
|
|
2780
2780
|
function i(r, o, s, l) {
|
|
2781
2781
|
var u;
|
|
2782
|
-
return s === void 0 && (s = "ObservableArray"), l === void 0 && (l = !1), u = t.call(this) || this,
|
|
2783
|
-
var d = new
|
|
2784
|
-
d.proxy_ =
|
|
2782
|
+
return s === void 0 && (s = "ObservableArray"), l === void 0 && (l = !1), u = t.call(this) || this, Se(function() {
|
|
2783
|
+
var d = new Sn(s, o, l, !0);
|
|
2784
|
+
d.proxy_ = Gt(u), _i(Gt(u), C, d), r && r.length && u.spliceWithArray(0, 0, r), Zo && Object.defineProperty(Gt(u), "0", Jo);
|
|
2785
2785
|
}), u;
|
|
2786
2786
|
}
|
|
2787
2787
|
var a = i.prototype;
|
|
@@ -2826,7 +2826,7 @@ var Sn = /* @__PURE__ */ function(t, e, n) {
|
|
|
2826
2826
|
}(ua, Symbol.toStringTag, Symbol.iterator);
|
|
2827
2827
|
Object.entries(bt).forEach(function(t) {
|
|
2828
2828
|
var e = t[0], n = t[1];
|
|
2829
|
-
e !== "concat" &&
|
|
2829
|
+
e !== "concat" && xt(_n.prototype, e, n);
|
|
2830
2830
|
});
|
|
2831
2831
|
function da(t) {
|
|
2832
2832
|
return {
|
|
@@ -2840,21 +2840,21 @@ function da(t) {
|
|
|
2840
2840
|
}
|
|
2841
2841
|
};
|
|
2842
2842
|
}
|
|
2843
|
-
function
|
|
2844
|
-
ie(
|
|
2843
|
+
function Xo(t) {
|
|
2844
|
+
ie(_n.prototype, "" + t, da(t));
|
|
2845
2845
|
}
|
|
2846
2846
|
function ca(t) {
|
|
2847
2847
|
if (t > Kt) {
|
|
2848
2848
|
for (var e = Kt; e < t + 100; e++)
|
|
2849
|
-
|
|
2849
|
+
Xo(e);
|
|
2850
2850
|
Kt = t;
|
|
2851
2851
|
}
|
|
2852
2852
|
}
|
|
2853
2853
|
ca(1e3);
|
|
2854
2854
|
function Yo(t, e, n) {
|
|
2855
|
-
return new
|
|
2855
|
+
return new _n(t, e, n);
|
|
2856
2856
|
}
|
|
2857
|
-
function
|
|
2857
|
+
function _t(t, e) {
|
|
2858
2858
|
if (typeof t == "object" && t !== null) {
|
|
2859
2859
|
if (It(t))
|
|
2860
2860
|
return e !== void 0 && P(23), t[C].atom_;
|
|
@@ -2888,15 +2888,15 @@ function es(t, e) {
|
|
|
2888
2888
|
function on(t, e) {
|
|
2889
2889
|
var n;
|
|
2890
2890
|
if (e !== void 0)
|
|
2891
|
-
n =
|
|
2891
|
+
n = _t(t, e);
|
|
2892
2892
|
else {
|
|
2893
2893
|
if (Rt(t))
|
|
2894
2894
|
return t.name;
|
|
2895
|
-
Vt(t) || be(t) || Pe(t) ? n = es(t) : n =
|
|
2895
|
+
Vt(t) || be(t) || Pe(t) ? n = es(t) : n = _t(t);
|
|
2896
2896
|
}
|
|
2897
2897
|
return n.name_;
|
|
2898
2898
|
}
|
|
2899
|
-
function
|
|
2899
|
+
function Se(t) {
|
|
2900
2900
|
var e = ye(), n = kn(!0);
|
|
2901
2901
|
q();
|
|
2902
2902
|
try {
|
|
@@ -2970,7 +2970,7 @@ function sn(t, e, n, i, a) {
|
|
|
2970
2970
|
return i.pop(), a.pop(), !0;
|
|
2971
2971
|
}
|
|
2972
2972
|
function Hn(t) {
|
|
2973
|
-
return It(t) ? t.slice() : De(t) || be(t) ||
|
|
2973
|
+
return It(t) ? t.slice() : De(t) || be(t) || Qe(t) || Pe(t) ? Array.from(t.entries()) : t;
|
|
2974
2974
|
}
|
|
2975
2975
|
function qe(t) {
|
|
2976
2976
|
return t[Symbol.iterator] = ts, t;
|
|
@@ -3203,33 +3203,33 @@ var pa = { exports: {} };
|
|
|
3203
3203
|
function c(b, F, y) {
|
|
3204
3204
|
return u(b) || f.apply(this, arguments);
|
|
3205
3205
|
}
|
|
3206
|
-
function
|
|
3207
|
-
var y = this, L, M, w,
|
|
3208
|
-
typeof b == "string" ?
|
|
3206
|
+
function S(b, F) {
|
|
3207
|
+
var y = this, L, M, w, T = "loglevel";
|
|
3208
|
+
typeof b == "string" ? T += ":" + b : typeof b == "symbol" && (T = void 0);
|
|
3209
3209
|
function V(p) {
|
|
3210
3210
|
var h = (a[p] || "silent").toUpperCase();
|
|
3211
|
-
if (!(typeof window === n || !
|
|
3211
|
+
if (!(typeof window === n || !T)) {
|
|
3212
3212
|
try {
|
|
3213
|
-
window.localStorage[
|
|
3213
|
+
window.localStorage[T] = h;
|
|
3214
3214
|
return;
|
|
3215
3215
|
} catch {
|
|
3216
3216
|
}
|
|
3217
3217
|
try {
|
|
3218
|
-
window.document.cookie = encodeURIComponent(
|
|
3218
|
+
window.document.cookie = encodeURIComponent(T) + "=" + h + ";";
|
|
3219
3219
|
} catch {
|
|
3220
3220
|
}
|
|
3221
3221
|
}
|
|
3222
3222
|
}
|
|
3223
3223
|
function j() {
|
|
3224
3224
|
var p;
|
|
3225
|
-
if (!(typeof window === n || !
|
|
3225
|
+
if (!(typeof window === n || !T)) {
|
|
3226
3226
|
try {
|
|
3227
|
-
p = window.localStorage[
|
|
3227
|
+
p = window.localStorage[T];
|
|
3228
3228
|
} catch {
|
|
3229
3229
|
}
|
|
3230
3230
|
if (typeof p === n)
|
|
3231
3231
|
try {
|
|
3232
|
-
var h = window.document.cookie, k = encodeURIComponent(
|
|
3232
|
+
var h = window.document.cookie, k = encodeURIComponent(T), g = h.indexOf(k + "=");
|
|
3233
3233
|
g !== -1 && (p = /^([^;]+)/.exec(
|
|
3234
3234
|
h.slice(g + k.length + 1)
|
|
3235
3235
|
)[1]);
|
|
@@ -3239,18 +3239,18 @@ var pa = { exports: {} };
|
|
|
3239
3239
|
}
|
|
3240
3240
|
}
|
|
3241
3241
|
function m() {
|
|
3242
|
-
if (!(typeof window === n || !
|
|
3242
|
+
if (!(typeof window === n || !T)) {
|
|
3243
3243
|
try {
|
|
3244
|
-
window.localStorage.removeItem(
|
|
3244
|
+
window.localStorage.removeItem(T);
|
|
3245
3245
|
} catch {
|
|
3246
3246
|
}
|
|
3247
3247
|
try {
|
|
3248
|
-
window.document.cookie = encodeURIComponent(
|
|
3248
|
+
window.document.cookie = encodeURIComponent(T) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
|
|
3249
3249
|
} catch {
|
|
3250
3250
|
}
|
|
3251
3251
|
}
|
|
3252
3252
|
}
|
|
3253
|
-
function
|
|
3253
|
+
function _(p) {
|
|
3254
3254
|
var h = p;
|
|
3255
3255
|
if (typeof h == "string" && y.levels[h.toUpperCase()] !== void 0 && (h = y.levels[h.toUpperCase()]), typeof h == "number" && h >= 0 && h <= y.levels.SILENT)
|
|
3256
3256
|
return h;
|
|
@@ -3266,9 +3266,9 @@ var pa = { exports: {} };
|
|
|
3266
3266
|
}, y.methodFactory = F || c, y.getLevel = function() {
|
|
3267
3267
|
return w != null ? w : M != null ? M : L;
|
|
3268
3268
|
}, y.setLevel = function(p, h) {
|
|
3269
|
-
return w =
|
|
3269
|
+
return w = _(p), h !== !1 && V(w), d.call(y);
|
|
3270
3270
|
}, y.setDefaultLevel = function(p) {
|
|
3271
|
-
M =
|
|
3271
|
+
M = _(p), j() || y.setLevel(p, !1);
|
|
3272
3272
|
}, y.resetLevel = function() {
|
|
3273
3273
|
w = null, m(), d.call(y);
|
|
3274
3274
|
}, y.enableAll = function(p) {
|
|
@@ -3276,20 +3276,20 @@ var pa = { exports: {} };
|
|
|
3276
3276
|
}, y.disableAll = function(p) {
|
|
3277
3277
|
y.setLevel(y.levels.SILENT, p);
|
|
3278
3278
|
}, y.rebuild = function() {
|
|
3279
|
-
if (o !== y && (L =
|
|
3279
|
+
if (o !== y && (L = _(o.getLevel())), d.call(y), o === y)
|
|
3280
3280
|
for (var p in r)
|
|
3281
3281
|
r[p].rebuild();
|
|
3282
|
-
}, L =
|
|
3282
|
+
}, L = _(
|
|
3283
3283
|
o ? o.getLevel() : "WARN"
|
|
3284
3284
|
);
|
|
3285
3285
|
var N = j();
|
|
3286
|
-
N != null && (w =
|
|
3286
|
+
N != null && (w = _(N)), d.call(y);
|
|
3287
3287
|
}
|
|
3288
|
-
o = new
|
|
3288
|
+
o = new S(), o.getLogger = function(F) {
|
|
3289
3289
|
if (typeof F != "symbol" && typeof F != "string" || F === "")
|
|
3290
3290
|
throw new TypeError("You must supply a name when creating a logger.");
|
|
3291
3291
|
var y = r[F];
|
|
3292
|
-
return y || (y = r[F] = new
|
|
3292
|
+
return y || (y = r[F] = new S(
|
|
3293
3293
|
F,
|
|
3294
3294
|
o.methodFactory
|
|
3295
3295
|
)), y;
|
|
@@ -3310,9 +3310,9 @@ var va = { exports: {} };
|
|
|
3310
3310
|
t.exports ? t.exports = n() : e.prefix = n(e);
|
|
3311
3311
|
})(fa, function(e) {
|
|
3312
3312
|
var n = function(d) {
|
|
3313
|
-
for (var f = 1, c = arguments.length,
|
|
3314
|
-
for (
|
|
3315
|
-
Object.prototype.hasOwnProperty.call(arguments[f],
|
|
3313
|
+
for (var f = 1, c = arguments.length, S; f < c; f++)
|
|
3314
|
+
for (S in arguments[f])
|
|
3315
|
+
Object.prototype.hasOwnProperty.call(arguments[f], S) && (d[S] = arguments[f][S]);
|
|
3316
3316
|
return d;
|
|
3317
3317
|
}, i = {
|
|
3318
3318
|
template: "[%t] %l:",
|
|
@@ -3333,20 +3333,20 @@ var va = { exports: {} };
|
|
|
3333
3333
|
}, s = function(d, f) {
|
|
3334
3334
|
if (!d || !d.setLevel)
|
|
3335
3335
|
throw new TypeError("Argument is not a logger");
|
|
3336
|
-
var c = d.methodFactory,
|
|
3336
|
+
var c = d.methodFactory, S = d.name || "", O = r[S] || r[""] || i;
|
|
3337
3337
|
function b(F, y, L) {
|
|
3338
|
-
var M = c(F, y, L), w = r[L] || r[""],
|
|
3338
|
+
var M = c(F, y, L), w = r[L] || r[""], T = w.template.indexOf("%t") !== -1, V = w.template.indexOf("%l") !== -1, j = w.template.indexOf("%n") !== -1;
|
|
3339
3339
|
return function() {
|
|
3340
|
-
for (var m = "",
|
|
3340
|
+
for (var m = "", _ = arguments.length, N = Array(_), p = 0; p < _; p++)
|
|
3341
3341
|
N[p] = arguments[p];
|
|
3342
|
-
if (
|
|
3342
|
+
if (S || !r[L]) {
|
|
3343
3343
|
var h = w.timestampFormatter(/* @__PURE__ */ new Date()), k = w.levelFormatter(F), g = w.nameFormatter(L);
|
|
3344
|
-
w.format ? m += w.format(k, g, h) : (m += w.template,
|
|
3344
|
+
w.format ? m += w.format(k, g, h) : (m += w.template, T && (m = m.replace(/%t/, h)), V && (m = m.replace(/%l/, k)), j && (m = m.replace(/%n/, g))), N.length && typeof N[0] == "string" ? N[0] = m + " " + N[0] : N.unshift(m);
|
|
3345
3345
|
}
|
|
3346
3346
|
M.apply(void 0, N);
|
|
3347
3347
|
};
|
|
3348
3348
|
}
|
|
3349
|
-
return r[
|
|
3349
|
+
return r[S] || (d.methodFactory = b), f = f || {}, f.template && (f.format = void 0), r[S] = n({}, O, f), d.setLevel(d.getLevel()), a || d.warn(
|
|
3350
3350
|
"It is necessary to call the function reg() of loglevel-plugin-prefix before calling apply. From the next release, it will throw an error. See more: https://github.com/kutuluk/loglevel-plugin-prefix/blob/master/README.md"
|
|
3351
3351
|
), d;
|
|
3352
3352
|
}, l = {
|
|
@@ -3591,7 +3591,7 @@ function ks(t) {
|
|
|
3591
3591
|
function ys(t) {
|
|
3592
3592
|
return Po(t);
|
|
3593
3593
|
}
|
|
3594
|
-
var bs = 1e4,
|
|
3594
|
+
var bs = 1e4, Ss = 1e4, _s = (
|
|
3595
3595
|
/** @class */
|
|
3596
3596
|
function() {
|
|
3597
3597
|
function t(e) {
|
|
@@ -3653,11 +3653,11 @@ var bs = 1e4, _s = 1e4, Ss = (
|
|
|
3653
3653
|
configurable: !0,
|
|
3654
3654
|
writable: !0,
|
|
3655
3655
|
value: function() {
|
|
3656
|
-
this.sweepTimeout === void 0 && (this.sweepTimeout = setTimeout(this.sweep,
|
|
3656
|
+
this.sweepTimeout === void 0 && (this.sweepTimeout = setTimeout(this.sweep, Ss));
|
|
3657
3657
|
}
|
|
3658
3658
|
}), t;
|
|
3659
3659
|
}()
|
|
3660
|
-
), Ns = typeof FinalizationRegistry != "undefined" ? FinalizationRegistry :
|
|
3660
|
+
), Ns = typeof FinalizationRegistry != "undefined" ? FinalizationRegistry : _s, un = new Ns(function(t) {
|
|
3661
3661
|
var e;
|
|
3662
3662
|
(e = t.reaction) === null || e === void 0 || e.dispose(), t.reaction = null;
|
|
3663
3663
|
}), qn = function(t, e) {
|
|
@@ -3729,7 +3729,7 @@ var ga = typeof Symbol == "function" && Symbol.for;
|
|
|
3729
3729
|
ga ? Symbol.for("react.forward_ref") : typeof Cn == "function" && Cn(function(t) {
|
|
3730
3730
|
return null;
|
|
3731
3731
|
}).$$typeof;
|
|
3732
|
-
ga ? Symbol.for("react.memo") : typeof
|
|
3732
|
+
ga ? Symbol.for("react.memo") : typeof xn == "function" && xn(function(t) {
|
|
3733
3733
|
return null;
|
|
3734
3734
|
}).$$typeof;
|
|
3735
3735
|
var Wt;
|
|
@@ -3772,7 +3772,7 @@ function Uu() {
|
|
|
3772
3772
|
label: null
|
|
3773
3773
|
};
|
|
3774
3774
|
}
|
|
3775
|
-
class
|
|
3775
|
+
class xs {
|
|
3776
3776
|
constructor(e) {
|
|
3777
3777
|
E(this, "aggregate");
|
|
3778
3778
|
E(this, "_numSetPropsApplied", 0);
|
|
@@ -3787,8 +3787,8 @@ class Ts {
|
|
|
3787
3787
|
return this._numSetPropsApplied === 1;
|
|
3788
3788
|
}
|
|
3789
3789
|
}
|
|
3790
|
-
function
|
|
3791
|
-
return new
|
|
3790
|
+
function Ts(t) {
|
|
3791
|
+
return new xs(t);
|
|
3792
3792
|
}
|
|
3793
3793
|
class Mu {
|
|
3794
3794
|
}
|
|
@@ -3804,7 +3804,7 @@ class Bu {
|
|
|
3804
3804
|
var ka = /* @__PURE__ */ ((t) => (t.VTEX = "VTEX", t.VTEX_IO = "VTEX-IO", t.VTEX_CMS = "PORTAL-VTEX", t.PLATFORM = "PLATFORM", t.UNKNOWN = "UNKNOWN", t))(ka || {}), Ds = /* @__PURE__ */ ((t) => (t.PLATFORM = "platform_module", t.ADENDA = "subscription_module", t.APP_STORE = "app_store", t))(Ds || {}), ya = /* @__PURE__ */ ((t) => (t.ACTIVE = "active_contract", t.INACTIVE = "inactive_contract", t))(ya || {}), Ls = /* @__PURE__ */ ((t) => (t.LITE = "lite", t.STANDARD = "standard", t.PRO = "pro", t))(Ls || {}), Ps = /* @__PURE__ */ ((t) => (t.LITE = "PLAN_LITE", t.STANDARD = "PLAN_ESTANDAR", t.PRO = "PLAN_PRO", t.NONE = "NO_PLAN", t))(Ps || {}), Rs = /* @__PURE__ */ ((t) => (t.PAST = "past", t.LIVE = "live", t.FUTURE = "future", t))(Rs || {});
|
|
3805
3805
|
class Fn {
|
|
3806
3806
|
constructor(e) {
|
|
3807
|
-
E(this, "root",
|
|
3807
|
+
E(this, "root", Ts(this));
|
|
3808
3808
|
E(this, "id");
|
|
3809
3809
|
E(this, "account");
|
|
3810
3810
|
E(this, "accountType", ka.UNKNOWN);
|
|
@@ -3873,8 +3873,8 @@ class js {
|
|
|
3873
3873
|
}
|
|
3874
3874
|
}
|
|
3875
3875
|
}
|
|
3876
|
-
const $s = new Vs(), ba = new js($s), Us = () => ["account"],
|
|
3877
|
-
const t = Cs((a) => a.accountName), [e, n] = Ya(mn), i =
|
|
3876
|
+
const $s = new Vs(), ba = new js($s), Us = () => ["account"], Gu = () => {
|
|
3877
|
+
const t = Cs((a) => a.accountName), [e, n] = Ya(mn), i = xa(Us(), () => ba.get(t), {
|
|
3878
3878
|
enabled: !!t && !e,
|
|
3879
3879
|
refetchOnWindowFocus: !1,
|
|
3880
3880
|
refetchOnMount: !1
|
|
@@ -3891,8 +3891,8 @@ async function Bs(t) {
|
|
|
3891
3891
|
const e = await ba.get(t);
|
|
3892
3892
|
return Ms.set(mn, e), e;
|
|
3893
3893
|
}
|
|
3894
|
-
var
|
|
3895
|
-
const
|
|
3894
|
+
var Gs = /* @__PURE__ */ ((t) => (t.CREATED = "CREATED", t.STARTING = "STARTING", t.LIVE = "LIVE", t.FINALIZED = "FINALIZED", t))(Gs || {});
|
|
3895
|
+
const zu = {
|
|
3896
3896
|
ALL: "*",
|
|
3897
3897
|
CORE: "core:**",
|
|
3898
3898
|
ADD_TO_CART_HOOKS: "core:addToCartHooks:**",
|
|
@@ -3905,13 +3905,13 @@ const Gu = {
|
|
|
3905
3905
|
SNACK_SIZE_VIDEO_ADMIN: "ssv-admin:**",
|
|
3906
3906
|
UI: "ui:**",
|
|
3907
3907
|
UTILS: "utils:**"
|
|
3908
|
-
},
|
|
3908
|
+
}, zs = {
|
|
3909
3909
|
EVENT_STATUS_CHANGED: "event:statusChanged",
|
|
3910
3910
|
/** AddToCartHook events */
|
|
3911
3911
|
ATCH_ACTION_EXECUTED: "core:addToCartHooks:actionExecuted"
|
|
3912
3912
|
};
|
|
3913
|
-
var Ks = /* @__PURE__ */ ((t) => (t.English = "en", t.Spanish = "es", t.Portuguese = "pt", t))(Ks || {}), Hs = /* @__PURE__ */ ((t) => (t.COMBO = "Combo", t.BADGE = "Badged", t))(Hs || {}), Ws = /* @__PURE__ */ ((t) => (t.VTEX = "VTEX", t.PLATFORM = "platform", t.CACE = "CACE", t.GLOBAL_PAGE = "globalPage", t.DEV_LOCAL = "dev:local", t.CUSTOMIZATION = "customization", t.FAST_STORE = "faststore", t))(Ws || {}),
|
|
3914
|
-
const qs = { 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" } }] } }] } }] } }] }, Js = { 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" } }] } }] } }] } }] }, Zs = { 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" } }] } }] } }] } }] }, Xs = { 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" } }] } }] } }] } }] }, Qs = { 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" } }] } }] } }] } }] }, Ys = { 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" } }] } }] } }] } }] }, el = { 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" } }] } }] } }] } }] }, tl = { 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" } }] } }] } }] } }] }, nl = { 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" } }] } }] } }] } }] }, il = { 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" } }] } }] } }] } }] }, al = { 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" } }] } }] } }] } }] }, rl = { 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" } }] } }] } }] } }] }, ol = { 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" } }] } }] } }] } }] }, sl = { 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" } }] } }] } }] } }] }, ll = { 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" } }] } }] } }] } }] }, ul = { 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" } }] } }] } }] } }] }, dl = { 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" } }] } }] } }] } }] }, cl = { 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" } }] } }] } }] } }] }, fl = { 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" } }] } }] } }] } }] }, ml = { 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" } }] } }] } }] } }] }, pl = { 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" } }] } }] } }] } }] }, hl = { 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" } }] } }] } }] } }] }, vl = { 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" } }] } }] } }] } }] }, gl = { 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" } }] } }] } }] } }] }, kl = { 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" } }] } }] } }] } }] }, yl = { 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" } }] } }] } }] } }] }, bl = { 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" } }] } }] } }] } }] }, _l = { 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" } }] } }] } }] } }] } }] }, Sl = { 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" } }] } }] } }] } }] }, Nl = { 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" } }] } }] } }] } }] }, Ol = { 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" } }] } }] } }] } }] }, Fl = { 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" } }] } }] } }] } }] }, Ku = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3913
|
+
var Ks = /* @__PURE__ */ ((t) => (t.English = "en", t.Spanish = "es", t.Portuguese = "pt", t))(Ks || {}), Hs = /* @__PURE__ */ ((t) => (t.COMBO = "Combo", t.BADGE = "Badged", t))(Hs || {}), Ws = /* @__PURE__ */ ((t) => (t.VTEX = "VTEX", t.PLATFORM = "platform", t.CACE = "CACE", t.GLOBAL_PAGE = "globalPage", t.DEV_LOCAL = "dev:local", t.CUSTOMIZATION = "customization", t.FAST_STORE = "faststore", t))(Ws || {}), Sa = /* @__PURE__ */ ((t) => (t.Created = "CREATED", t.Finalized = "FINALIZED", t.Live = "LIVE", t.Starting = "STARTING", t))(Sa || {}), _a = /* @__PURE__ */ ((t) => (t.Add = "add", t.Remove = "remove", t))(_a || {}), Na = /* @__PURE__ */ ((t) => (t.Active = "active", t.Inactive = "inactive", t))(Na || {});
|
|
3914
|
+
const qs = { 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" } }] } }] } }] } }] }, Js = { 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" } }] } }] } }] } }] }, Zs = { 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" } }] } }] } }] } }] }, Qs = { 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" } }] } }] } }] } }] }, Xs = { 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" } }] } }] } }] } }] }, Ys = { 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" } }] } }] } }] } }] }, el = { 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" } }] } }] } }] } }] }, tl = { 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" } }] } }] } }] } }] }, nl = { 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" } }] } }] } }] } }] }, il = { 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" } }] } }] } }] } }] }, al = { 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" } }] } }] } }] } }] }, rl = { 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" } }] } }] } }] } }] }, ol = { 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" } }] } }] } }] } }] }, sl = { 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" } }] } }] } }] } }] }, ll = { 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" } }] } }] } }] } }] }, ul = { 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" } }] } }] } }] } }] }, dl = { 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" } }] } }] } }] } }] }, cl = { 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" } }] } }] } }] } }] }, fl = { 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" } }] } }] } }] } }] }, ml = { 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" } }] } }] } }] } }] }, pl = { 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" } }] } }] } }] } }] }, hl = { 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" } }] } }] } }] } }] }, vl = { 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" } }] } }] } }] } }] }, gl = { 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" } }] } }] } }] } }] }, kl = { 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" } }] } }] } }] } }] }, yl = { 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" } }] } }] } }] } }] }, bl = { 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" } }] } }] } }] } }] }, Sl = { 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" } }] } }] } }] } }] } }] }, _l = { 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" } }] } }] } }] } }] }, Nl = { 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" } }] } }] } }] } }] }, Ol = { 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" } }] } }] } }] } }] }, Fl = { 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" } }] } }] } }] } }] }, Ku = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3915
3915
|
__proto__: null,
|
|
3916
3916
|
AddCollectionDocument: qs,
|
|
3917
3917
|
AppendProductsToSnackVideoDocument: ml,
|
|
@@ -3924,26 +3924,26 @@ const qs = { kind: "Document", definitions: [{ kind: "OperationDefinition", oper
|
|
|
3924
3924
|
DeleteCollectionDocument: Js,
|
|
3925
3925
|
DeleteRelationshipWithSnackVideoDocument: vl,
|
|
3926
3926
|
DeleteSnackVideoDocument: gl,
|
|
3927
|
-
EventStatus:
|
|
3927
|
+
EventStatus: Sa,
|
|
3928
3928
|
FindByProductSnackVideoDocument: Ol,
|
|
3929
3929
|
FindCollectionDocument: Zs,
|
|
3930
3930
|
FindManySnackVideosDocument: kl,
|
|
3931
3931
|
FindMinimalEventDocument: tl,
|
|
3932
3932
|
GetAllChatMessageDocument: ol,
|
|
3933
|
-
GetAllCollectionsDocument:
|
|
3933
|
+
GetAllCollectionsDocument: Qs,
|
|
3934
3934
|
GetAllCustomizationDocument: dl,
|
|
3935
3935
|
GetAllSnackVideosDocument: yl,
|
|
3936
3936
|
GetChatRoomTokenDocument: sl,
|
|
3937
3937
|
GetPlayListDocument: Fl,
|
|
3938
3938
|
GetPlayListsDocument: bl,
|
|
3939
|
-
GetSnackVideoRelationshipsDocument:
|
|
3939
|
+
GetSnackVideoRelationshipsDocument: Sl,
|
|
3940
3940
|
GetTimeLineDocument: fl,
|
|
3941
|
-
ManageCollectionProductDocument:
|
|
3942
|
-
Methods:
|
|
3941
|
+
ManageCollectionProductDocument: Xs,
|
|
3942
|
+
Methods: _a,
|
|
3943
3943
|
PinChatMessageDocument: ll,
|
|
3944
3944
|
SearchCollectionsDocument: Ys,
|
|
3945
3945
|
SearchMinimalEventsDocument: nl,
|
|
3946
|
-
SearchSnackVideosDocument:
|
|
3946
|
+
SearchSnackVideosDocument: _l,
|
|
3947
3947
|
Status: Na,
|
|
3948
3948
|
UpdateCollectionDocument: el,
|
|
3949
3949
|
UpdateCustomizationDocument: cl,
|
|
@@ -4028,7 +4028,7 @@ async function El(t) {
|
|
|
4028
4028
|
var F;
|
|
4029
4029
|
const { eventBus: e } = it(), { product: n, userAddToCartConfig: i, notifyFactory: a, action: r, actionFactory: o } = t, { isVariationSelectorOpen: s, data: l = {} } = t.context, u = (F = i == null ? void 0 : i.hooks) == null ? void 0 : F.end, d = r.type === wn.ADD_TO_CART;
|
|
4030
4030
|
let f = null, c = !1;
|
|
4031
|
-
const
|
|
4031
|
+
const S = () => {
|
|
4032
4032
|
!d || !s || o.openVariationSelector(!1).exec();
|
|
4033
4033
|
}, O = () => {
|
|
4034
4034
|
!d || c || (f ? a.error(Zn.errorAddingToCart) : a.success(Zn.successAddingToCart));
|
|
@@ -4039,7 +4039,7 @@ async function El(t) {
|
|
|
4039
4039
|
success: !f,
|
|
4040
4040
|
error: f
|
|
4041
4041
|
};
|
|
4042
|
-
e.emit(
|
|
4042
|
+
e.emit(zs.ATCH_ACTION_EXECUTED, y);
|
|
4043
4043
|
};
|
|
4044
4044
|
try {
|
|
4045
4045
|
if (!r.type || !r.exec)
|
|
@@ -4059,7 +4059,7 @@ async function El(t) {
|
|
|
4059
4059
|
} catch (y) {
|
|
4060
4060
|
Nt("end", y);
|
|
4061
4061
|
}
|
|
4062
|
-
|
|
4062
|
+
S(), O(), b();
|
|
4063
4063
|
}
|
|
4064
4064
|
function Cl(t) {
|
|
4065
4065
|
const { actionFactory: e, userAddToCartConfig: n } = t, i = (a) => Object.entries(a != null ? a : {}).reduce(
|
|
@@ -4081,21 +4081,21 @@ function Nt(t, e) {
|
|
|
4081
4081
|
const { coreLogger: n } = it();
|
|
4082
4082
|
n.error(`addToCartHooks error running ${t}: `, e);
|
|
4083
4083
|
}
|
|
4084
|
-
function
|
|
4084
|
+
function xl(t) {
|
|
4085
4085
|
const e = Object.values(t);
|
|
4086
4086
|
return Object.assign({}, ...e);
|
|
4087
4087
|
}
|
|
4088
|
-
function
|
|
4088
|
+
function Tl(t) {
|
|
4089
4089
|
return Object.entries(t).reduce(
|
|
4090
4090
|
(e, [n, i]) => {
|
|
4091
|
-
const a =
|
|
4091
|
+
const a = xl(i);
|
|
4092
4092
|
return { ...e, [n]: a };
|
|
4093
4093
|
},
|
|
4094
4094
|
{}
|
|
4095
4095
|
);
|
|
4096
4096
|
}
|
|
4097
4097
|
function Dl(t, e) {
|
|
4098
|
-
const n =
|
|
4098
|
+
const n = Tl(e);
|
|
4099
4099
|
Object.entries(n).forEach(([i, a]) => {
|
|
4100
4100
|
t.addResourceBundle(i, "translation", a, !0);
|
|
4101
4101
|
});
|
|
@@ -4147,7 +4147,7 @@ function Ul(t) {
|
|
|
4147
4147
|
t[n] === void 0 && (t[n] = e[n]);
|
|
4148
4148
|
}), t;
|
|
4149
4149
|
}
|
|
4150
|
-
var
|
|
4150
|
+
var Qn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ml = function(e, n, i) {
|
|
4151
4151
|
var a = i || {};
|
|
4152
4152
|
a.path = a.path || "/";
|
|
4153
4153
|
var r = encodeURIComponent(n), o = "".concat(e, "=").concat(r);
|
|
@@ -4158,12 +4158,12 @@ var Xn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ml = function(e, n, i) {
|
|
|
4158
4158
|
o += "; Max-Age=".concat(Math.floor(s));
|
|
4159
4159
|
}
|
|
4160
4160
|
if (a.domain) {
|
|
4161
|
-
if (!
|
|
4161
|
+
if (!Qn.test(a.domain))
|
|
4162
4162
|
throw new TypeError("option domain is invalid");
|
|
4163
4163
|
o += "; Domain=".concat(a.domain);
|
|
4164
4164
|
}
|
|
4165
4165
|
if (a.path) {
|
|
4166
|
-
if (!
|
|
4166
|
+
if (!Qn.test(a.path))
|
|
4167
4167
|
throw new TypeError("option path is invalid");
|
|
4168
4168
|
o += "; Path=".concat(a.path);
|
|
4169
4169
|
}
|
|
@@ -4192,7 +4192,7 @@ var Xn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ml = function(e, n, i) {
|
|
|
4192
4192
|
}
|
|
4193
4193
|
}
|
|
4194
4194
|
return o;
|
|
4195
|
-
},
|
|
4195
|
+
}, Xn = {
|
|
4196
4196
|
create: function(e, n, i, a) {
|
|
4197
4197
|
var r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
4198
4198
|
path: "/",
|
|
@@ -4217,15 +4217,15 @@ var Xn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ml = function(e, n, i) {
|
|
|
4217
4217
|
lookup: function(e) {
|
|
4218
4218
|
var n;
|
|
4219
4219
|
if (e.lookupCookie && typeof document != "undefined") {
|
|
4220
|
-
var i =
|
|
4220
|
+
var i = Xn.read(e.lookupCookie);
|
|
4221
4221
|
i && (n = i);
|
|
4222
4222
|
}
|
|
4223
4223
|
return n;
|
|
4224
4224
|
},
|
|
4225
4225
|
cacheUserLanguage: function(e, n) {
|
|
4226
|
-
n.lookupCookie && typeof document != "undefined" &&
|
|
4226
|
+
n.lookupCookie && typeof document != "undefined" && Xn.create(n.lookupCookie, e, n.cookieMinutes, n.cookieDomain, n.cookieOptions);
|
|
4227
4227
|
}
|
|
4228
|
-
},
|
|
4228
|
+
}, Gl = {
|
|
4229
4229
|
name: "querystring",
|
|
4230
4230
|
lookup: function(e) {
|
|
4231
4231
|
var n;
|
|
@@ -4253,7 +4253,7 @@ var Xn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ml = function(e, n, i) {
|
|
|
4253
4253
|
$e = !1;
|
|
4254
4254
|
}
|
|
4255
4255
|
return $e;
|
|
4256
|
-
},
|
|
4256
|
+
}, zl = {
|
|
4257
4257
|
name: "localStorage",
|
|
4258
4258
|
lookup: function(e) {
|
|
4259
4259
|
var n;
|
|
@@ -4362,7 +4362,7 @@ var Fa = /* @__PURE__ */ function() {
|
|
|
4362
4362
|
languageUtils: {}
|
|
4363
4363
|
}, this.options = Ul(i, this.options || {}, Zl()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(r) {
|
|
4364
4364
|
return r.replace("-", "_");
|
|
4365
|
-
}), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(Bl), this.addDetector(
|
|
4365
|
+
}), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(Bl), this.addDetector(Gl), this.addDetector(zl), this.addDetector(Kl), this.addDetector(Hl), this.addDetector(Wl), this.addDetector(ql), this.addDetector(Jl);
|
|
4366
4366
|
}
|
|
4367
4367
|
}, {
|
|
4368
4368
|
key: "addDetector",
|
|
@@ -4395,7 +4395,7 @@ var Fa = /* @__PURE__ */ function() {
|
|
|
4395
4395
|
}]), t;
|
|
4396
4396
|
}();
|
|
4397
4397
|
Fa.type = "languageDetector";
|
|
4398
|
-
function
|
|
4398
|
+
function Ql(t, e) {
|
|
4399
4399
|
t.use(e).use(Fa).init({
|
|
4400
4400
|
resources: {},
|
|
4401
4401
|
fallbackLng: "en",
|
|
@@ -4435,7 +4435,7 @@ function Xl(t, e) {
|
|
|
4435
4435
|
}
|
|
4436
4436
|
});
|
|
4437
4437
|
}
|
|
4438
|
-
const
|
|
4438
|
+
const Xl = {
|
|
4439
4439
|
type: "logger",
|
|
4440
4440
|
log(t) {
|
|
4441
4441
|
this.output("log", t);
|
|
@@ -4457,7 +4457,7 @@ class Ot {
|
|
|
4457
4457
|
}
|
|
4458
4458
|
init(e) {
|
|
4459
4459
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4460
|
-
this.prefix = n.prefix || "i18next:", this.logger = e ||
|
|
4460
|
+
this.prefix = n.prefix || "i18next:", this.logger = e || Xl, this.options = n, this.debug = n.debug;
|
|
4461
4461
|
}
|
|
4462
4462
|
log() {
|
|
4463
4463
|
for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++)
|
|
@@ -4543,7 +4543,7 @@ function Yl(t, e, n) {
|
|
|
4543
4543
|
});
|
|
4544
4544
|
}
|
|
4545
4545
|
const eu = /###/g;
|
|
4546
|
-
function
|
|
4546
|
+
function ze(t, e, n) {
|
|
4547
4547
|
function i(s) {
|
|
4548
4548
|
return s && s.indexOf("###") > -1 ? s.replace(eu, ".") : s;
|
|
4549
4549
|
}
|
|
@@ -4567,28 +4567,28 @@ function ni(t, e, n) {
|
|
|
4567
4567
|
const {
|
|
4568
4568
|
obj: i,
|
|
4569
4569
|
k: a
|
|
4570
|
-
} =
|
|
4570
|
+
} = ze(t, e, Object);
|
|
4571
4571
|
if (i !== void 0 || e.length === 1) {
|
|
4572
4572
|
i[a] = n;
|
|
4573
4573
|
return;
|
|
4574
4574
|
}
|
|
4575
|
-
let r = e[e.length - 1], o = e.slice(0, e.length - 1), s =
|
|
4575
|
+
let r = e[e.length - 1], o = e.slice(0, e.length - 1), s = ze(t, o, Object);
|
|
4576
4576
|
for (; s.obj === void 0 && o.length; )
|
|
4577
|
-
r = `${o[o.length - 1]}.${r}`, o = o.slice(0, o.length - 1), s =
|
|
4577
|
+
r = `${o[o.length - 1]}.${r}`, o = o.slice(0, o.length - 1), s = ze(t, o, Object), s && s.obj && typeof s.obj[`${s.k}.${r}`] != "undefined" && (s.obj = void 0);
|
|
4578
4578
|
s.obj[`${s.k}.${r}`] = n;
|
|
4579
4579
|
}
|
|
4580
4580
|
function tu(t, e, n, i) {
|
|
4581
4581
|
const {
|
|
4582
4582
|
obj: a,
|
|
4583
4583
|
k: r
|
|
4584
|
-
} =
|
|
4584
|
+
} = ze(t, e, Object);
|
|
4585
4585
|
a[r] = a[r] || [], a[r].push(n);
|
|
4586
4586
|
}
|
|
4587
4587
|
function Ft(t, e) {
|
|
4588
4588
|
const {
|
|
4589
4589
|
obj: n,
|
|
4590
4590
|
k: i
|
|
4591
|
-
} =
|
|
4591
|
+
} = ze(t, e);
|
|
4592
4592
|
if (n)
|
|
4593
4593
|
return n[i];
|
|
4594
4594
|
}
|
|
@@ -4825,39 +4825,39 @@ class At extends $t {
|
|
|
4825
4825
|
}
|
|
4826
4826
|
const f = this.resolve(e, n);
|
|
4827
4827
|
let c = f && f.res;
|
|
4828
|
-
const
|
|
4828
|
+
const S = f && f.usedKey || o, O = f && f.exactUsedKey || o, b = Object.prototype.toString.apply(c), F = ["[object Number]", "[object Function]", "[object RegExp]"], y = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, L = !this.i18nFormat || this.i18nFormat.handleAsObject;
|
|
4829
4829
|
if (L && c && (typeof c != "string" && typeof c != "boolean" && typeof c != "number") && F.indexOf(b) < 0 && !(typeof y == "string" && b === "[object Array]")) {
|
|
4830
4830
|
if (!n.returnObjects && !this.options.returnObjects) {
|
|
4831
4831
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
4832
|
-
const w = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(
|
|
4832
|
+
const w = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(S, c, {
|
|
4833
4833
|
...n,
|
|
4834
4834
|
ns: s
|
|
4835
4835
|
}) : `key '${o} (${this.language})' returned an object instead of string.`;
|
|
4836
4836
|
return a ? (f.res = w, f.usedParams = this.getUsedParamsDetails(n), f) : w;
|
|
4837
4837
|
}
|
|
4838
4838
|
if (r) {
|
|
4839
|
-
const w = b === "[object Array]",
|
|
4839
|
+
const w = b === "[object Array]", T = w ? [] : {}, V = w ? O : S;
|
|
4840
4840
|
for (const j in c)
|
|
4841
4841
|
if (Object.prototype.hasOwnProperty.call(c, j)) {
|
|
4842
4842
|
const m = `${V}${r}${j}`;
|
|
4843
|
-
|
|
4843
|
+
T[j] = this.translate(m, {
|
|
4844
4844
|
...n,
|
|
4845
4845
|
joinArrays: !1,
|
|
4846
4846
|
ns: s
|
|
4847
|
-
}),
|
|
4847
|
+
}), T[j] === m && (T[j] = c[j]);
|
|
4848
4848
|
}
|
|
4849
|
-
c =
|
|
4849
|
+
c = T;
|
|
4850
4850
|
}
|
|
4851
4851
|
} else if (L && typeof y == "string" && b === "[object Array]")
|
|
4852
4852
|
c = c.join(y), c && (c = this.extendTranslation(c, e, n, i));
|
|
4853
4853
|
else {
|
|
4854
|
-
let w = !1,
|
|
4855
|
-
const V = n.count !== void 0 && typeof n.count != "string", j = At.hasDefaultValue(n), m = V ? this.pluralResolver.getSuffix(u, n.count, n) : "",
|
|
4854
|
+
let w = !1, T = !1;
|
|
4855
|
+
const V = n.count !== void 0 && typeof n.count != "string", j = At.hasDefaultValue(n), m = V ? this.pluralResolver.getSuffix(u, n.count, n) : "", _ = n.ordinal && V ? this.pluralResolver.getSuffix(u, n.count, {
|
|
4856
4856
|
ordinal: !1
|
|
4857
|
-
}) : "", N = V && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), p = N && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${m}`] || n[`defaultValue${
|
|
4858
|
-
!this.isValidLookup(c) && j && (w = !0, c = p), this.isValidLookup(c) || (
|
|
4859
|
-
const k = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) &&
|
|
4860
|
-
if (
|
|
4857
|
+
}) : "", N = V && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), p = N && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${m}`] || n[`defaultValue${_}`] || n.defaultValue;
|
|
4858
|
+
!this.isValidLookup(c) && j && (w = !0, c = p), this.isValidLookup(c) || (T = !0, c = o);
|
|
4859
|
+
const k = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && T ? void 0 : c, g = j && p !== c && this.options.updateMissing;
|
|
4860
|
+
if (T || w || g) {
|
|
4861
4861
|
if (this.logger.log(g ? "updateKey" : "missingKey", u, l, o, g ? p : c), r) {
|
|
4862
4862
|
const D = this.resolve(o, {
|
|
4863
4863
|
...n,
|
|
@@ -4872,18 +4872,18 @@ class At extends $t {
|
|
|
4872
4872
|
A.push(I[D]);
|
|
4873
4873
|
else
|
|
4874
4874
|
this.options.saveMissingTo === "all" ? A = this.languageUtils.toResolveHierarchy(n.lng || this.language) : A.push(n.lng || this.language);
|
|
4875
|
-
const
|
|
4875
|
+
const x = (D, B, Ie) => {
|
|
4876
4876
|
const En = j && Ie !== c ? Ie : k;
|
|
4877
4877
|
this.options.missingKeyHandler ? this.options.missingKeyHandler(D, l, B, En, g, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(D, l, B, En, g, n), this.emit("missingKey", D, l, B, c);
|
|
4878
4878
|
};
|
|
4879
4879
|
this.options.saveMissing && (this.options.saveMissingPlurals && V ? A.forEach((D) => {
|
|
4880
4880
|
const B = this.pluralResolver.getSuffixes(D, n);
|
|
4881
4881
|
N && n[`defaultValue${this.options.pluralSeparator}zero`] && B.indexOf(`${this.options.pluralSeparator}zero`) < 0 && B.push(`${this.options.pluralSeparator}zero`), B.forEach((Ie) => {
|
|
4882
|
-
|
|
4882
|
+
x([D], o + Ie, n[`defaultValue${Ie}`] || p);
|
|
4883
4883
|
});
|
|
4884
|
-
}) :
|
|
4884
|
+
}) : x(A, o, p));
|
|
4885
4885
|
}
|
|
4886
|
-
c = this.extendTranslation(c, e, n, f, i),
|
|
4886
|
+
c = this.extendTranslation(c, e, n, f, i), T && c === o && this.options.appendNamespaceToMissingKey && (c = `${l}:${o}`), (T || w) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? c = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}:${o}` : o, w ? c : void 0) : c = this.options.parseMissingKeyHandler(c));
|
|
4887
4887
|
}
|
|
4888
4888
|
return a ? (f.res = c, f.usedParams = this.getUsedParamsDetails(n), f) : c;
|
|
4889
4889
|
}
|
|
@@ -4915,13 +4915,13 @@ class At extends $t {
|
|
|
4915
4915
|
...this.options.interpolation.defaultVariables,
|
|
4916
4916
|
...f
|
|
4917
4917
|
}), e = this.interpolator.interpolate(e, f, i.lng || this.language, i), u) {
|
|
4918
|
-
const c = e.match(this.interpolator.nestingRegexp),
|
|
4919
|
-
d <
|
|
4918
|
+
const c = e.match(this.interpolator.nestingRegexp), S = c && c.length;
|
|
4919
|
+
d < S && (i.nest = !1);
|
|
4920
4920
|
}
|
|
4921
4921
|
!i.lng && this.options.compatibilityAPI !== "v1" && a && a.res && (i.lng = a.usedLng), i.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
4922
|
-
for (var c = arguments.length,
|
|
4923
|
-
|
|
4924
|
-
return r && r[0] ===
|
|
4922
|
+
for (var c = arguments.length, S = new Array(c), O = 0; O < c; O++)
|
|
4923
|
+
S[O] = arguments[O];
|
|
4924
|
+
return r && r[0] === S[0] && !i.context ? (o.logger.warn(`It seems you are nesting recursively key: ${S[0]} in key: ${n[0]}`), null) : o.translate(...S, n);
|
|
4925
4925
|
}, i)), i.interpolation && this.interpolator.reset();
|
|
4926
4926
|
}
|
|
4927
4927
|
const s = i.postProcess || this.options.postProcess, l = typeof s == "string" ? [s] : s;
|
|
@@ -4942,7 +4942,7 @@ class At extends $t {
|
|
|
4942
4942
|
a = d;
|
|
4943
4943
|
let f = u.namespaces;
|
|
4944
4944
|
this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
|
|
4945
|
-
const c = n.count !== void 0 && typeof n.count != "string",
|
|
4945
|
+
const c = n.count !== void 0 && typeof n.count != "string", S = c && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), O = n.context !== void 0 && (typeof n.context == "string" || typeof n.context == "number") && n.context !== "", b = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
|
|
4946
4946
|
f.forEach((F) => {
|
|
4947
4947
|
this.isValidLookup(i) || (s = F, !ai[`${b[0]}-${F}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(s) && (ai[`${b[0]}-${F}`] = !0, this.logger.warn(`key "${a}" for languages "${b.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), b.forEach((y) => {
|
|
4948
4948
|
if (this.isValidLookup(i))
|
|
@@ -4954,10 +4954,10 @@ class At extends $t {
|
|
|
4954
4954
|
else {
|
|
4955
4955
|
let w;
|
|
4956
4956
|
c && (w = this.pluralResolver.getSuffix(y, n.count, n));
|
|
4957
|
-
const
|
|
4958
|
-
if (c && (L.push(d + w), n.ordinal && w.indexOf(V) === 0 && L.push(d + w.replace(V, this.options.pluralSeparator)),
|
|
4957
|
+
const T = `${this.options.pluralSeparator}zero`, V = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
4958
|
+
if (c && (L.push(d + w), n.ordinal && w.indexOf(V) === 0 && L.push(d + w.replace(V, this.options.pluralSeparator)), S && L.push(d + T)), O) {
|
|
4959
4959
|
const j = `${d}${this.options.contextSeparator}${n.context}`;
|
|
4960
|
-
L.push(j), c && (L.push(j + w), n.ordinal && w.indexOf(V) === 0 && L.push(j + w.replace(V, this.options.pluralSeparator)),
|
|
4960
|
+
L.push(j), c && (L.push(j + w), n.ordinal && w.indexOf(V) === 0 && L.push(j + w.replace(V, this.options.pluralSeparator)), S && L.push(j + T));
|
|
4961
4961
|
}
|
|
4962
4962
|
}
|
|
4963
4963
|
let M;
|
|
@@ -5390,8 +5390,8 @@ class hu {
|
|
|
5390
5390
|
const f = l.split(new RegExp(`${d}[ ]*{`));
|
|
5391
5391
|
let c = `{${f[1]}`;
|
|
5392
5392
|
l = f[0], c = this.interpolate(c, o);
|
|
5393
|
-
const
|
|
5394
|
-
(
|
|
5393
|
+
const S = c.match(/'/g), O = c.match(/"/g);
|
|
5394
|
+
(S && S.length % 2 === 0 && !O || O.length % 2 !== 0) && (c = c.replace(/'/g, '"'));
|
|
5395
5395
|
try {
|
|
5396
5396
|
o = JSON.parse(c), u && (o = {
|
|
5397
5397
|
...u,
|
|
@@ -5508,8 +5508,8 @@ class gu {
|
|
|
5508
5508
|
if (this.formats[u]) {
|
|
5509
5509
|
let f = s;
|
|
5510
5510
|
try {
|
|
5511
|
-
const c = a && a.formatParams && a.formatParams[a.interpolationkey] || {},
|
|
5512
|
-
f = this.formats[u](s,
|
|
5511
|
+
const c = a && a.formatParams && a.formatParams[a.interpolationkey] || {}, S = c.locale || c.lng || a.locale || a.lng || i;
|
|
5512
|
+
f = this.formats[u](s, S, {
|
|
5513
5513
|
...d,
|
|
5514
5514
|
...a,
|
|
5515
5515
|
...c
|
|
@@ -5774,16 +5774,16 @@ class Ze extends $t {
|
|
|
5774
5774
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
5775
5775
|
}), d && (!this.options.interpolation.format || this.options.interpolation.format === a.interpolation.format) && (c.formatter = r(d), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new hu(this.options), c.utils = {
|
|
5776
5776
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
5777
|
-
}, c.backendConnector = new yu(r(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(
|
|
5777
|
+
}, c.backendConnector = new yu(r(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(S) {
|
|
5778
5778
|
for (var O = arguments.length, b = new Array(O > 1 ? O - 1 : 0), F = 1; F < O; F++)
|
|
5779
5779
|
b[F - 1] = arguments[F];
|
|
5780
|
-
e.emit(
|
|
5781
|
-
}), this.modules.languageDetector && (c.languageDetector = r(this.modules.languageDetector), c.languageDetector.init && c.languageDetector.init(c, this.options.detection, this.options)), this.modules.i18nFormat && (c.i18nFormat = r(this.modules.i18nFormat), c.i18nFormat.init && c.i18nFormat.init(this)), this.translator = new At(this.services, this.options), this.translator.on("*", function(
|
|
5780
|
+
e.emit(S, ...b);
|
|
5781
|
+
}), this.modules.languageDetector && (c.languageDetector = r(this.modules.languageDetector), c.languageDetector.init && c.languageDetector.init(c, this.options.detection, this.options)), this.modules.i18nFormat && (c.i18nFormat = r(this.modules.i18nFormat), c.i18nFormat.init && c.i18nFormat.init(this)), this.translator = new At(this.services, this.options), this.translator.on("*", function(S) {
|
|
5782
5782
|
for (var O = arguments.length, b = new Array(O > 1 ? O - 1 : 0), F = 1; F < O; F++)
|
|
5783
5783
|
b[F - 1] = arguments[F];
|
|
5784
|
-
e.emit(
|
|
5785
|
-
}), this.modules.external.forEach((
|
|
5786
|
-
|
|
5784
|
+
e.emit(S, ...b);
|
|
5785
|
+
}), this.modules.external.forEach((S) => {
|
|
5786
|
+
S.init && S.init(this);
|
|
5787
5787
|
});
|
|
5788
5788
|
}
|
|
5789
5789
|
if (this.format = this.options.interpolation.format, i || (i = lt), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
@@ -5887,8 +5887,8 @@ class Ze extends $t {
|
|
|
5887
5887
|
};
|
|
5888
5888
|
l.lng = l.lng || r.lng, l.lngs = l.lngs || r.lngs, l.ns = l.ns || r.ns, l.keyPrefix = l.keyPrefix || i || r.keyPrefix;
|
|
5889
5889
|
const c = a.options.keySeparator || ".";
|
|
5890
|
-
let
|
|
5891
|
-
return l.keyPrefix && Array.isArray(o) ?
|
|
5890
|
+
let S;
|
|
5891
|
+
return l.keyPrefix && Array.isArray(o) ? S = o.map((O) => `${l.keyPrefix}${c}${O}`) : S = l.keyPrefix ? `${l.keyPrefix}${c}${o}` : o, a.t(S, l);
|
|
5892
5892
|
};
|
|
5893
5893
|
return typeof e == "string" ? r.lng = e : r.lngs = e, r.ns = n, r.keyPrefix = i, r;
|
|
5894
5894
|
}
|
|
@@ -5980,23 +5980,23 @@ class Ze extends $t {
|
|
|
5980
5980
|
};
|
|
5981
5981
|
}
|
|
5982
5982
|
}
|
|
5983
|
-
const
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
const
|
|
5983
|
+
const z = Ze.createInstance();
|
|
5984
|
+
z.createInstance = Ze.createInstance;
|
|
5985
|
+
z.createInstance;
|
|
5986
|
+
z.dir;
|
|
5987
|
+
z.init;
|
|
5988
|
+
z.loadResources;
|
|
5989
|
+
z.reloadResources;
|
|
5990
|
+
z.use;
|
|
5991
|
+
z.changeLanguage;
|
|
5992
|
+
z.getFixedT;
|
|
5993
|
+
z.t;
|
|
5994
|
+
z.exists;
|
|
5995
|
+
z.setDefaultNamespace;
|
|
5996
|
+
z.hasLoadedNamespace;
|
|
5997
|
+
z.loadNamespaces;
|
|
5998
|
+
z.loadLanguages;
|
|
5999
|
+
const Su = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, _u = {
|
|
6000
6000
|
"&": "&",
|
|
6001
6001
|
"&": "&",
|
|
6002
6002
|
"<": "<",
|
|
@@ -6017,7 +6017,7 @@ const _u = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
|
|
|
6017
6017
|
"…": "…",
|
|
6018
6018
|
"/": "/",
|
|
6019
6019
|
"/": "/"
|
|
6020
|
-
}, Nu = (t) =>
|
|
6020
|
+
}, Nu = (t) => _u[t], Ou = (t) => t.replace(Su, Nu);
|
|
6021
6021
|
let di = {
|
|
6022
6022
|
bindI18n: "languageChanged",
|
|
6023
6023
|
bindI18nStore: "",
|
|
@@ -6041,8 +6041,8 @@ const wu = {
|
|
|
6041
6041
|
Fu(t.options.react);
|
|
6042
6042
|
}
|
|
6043
6043
|
};
|
|
6044
|
-
|
|
6045
|
-
const qu = (t) => Dl(
|
|
6044
|
+
Ql(z, wu);
|
|
6045
|
+
const qu = (t) => Dl(z, t);
|
|
6046
6046
|
let An = /* @__PURE__ */ new Map();
|
|
6047
6047
|
const cn = ci(An), Ju = ({ children: t, stores: e }) => {
|
|
6048
6048
|
const n = fn(cn), i = mi(() => {
|
|
@@ -6054,7 +6054,7 @@ const cn = ci(An), Ju = ({ children: t, stores: e }) => {
|
|
|
6054
6054
|
function Zu(t) {
|
|
6055
6055
|
return fn(cn).get(t);
|
|
6056
6056
|
}
|
|
6057
|
-
function
|
|
6057
|
+
function Qu(t) {
|
|
6058
6058
|
return An.get(t);
|
|
6059
6059
|
}
|
|
6060
6060
|
export {
|
|
@@ -6067,19 +6067,19 @@ export {
|
|
|
6067
6067
|
Ls as AccountSubscriptionTypes,
|
|
6068
6068
|
ka as AccountTypes,
|
|
6069
6069
|
wn as AddToCartActionTypes,
|
|
6070
|
-
|
|
6070
|
+
xs as AggregateRoot,
|
|
6071
6071
|
Ku as ApiGraphqlTypes,
|
|
6072
6072
|
Mu as BaseMobxStore,
|
|
6073
6073
|
ns as BroadcastChannelEventBus,
|
|
6074
6074
|
jt as DomainError,
|
|
6075
|
-
|
|
6076
|
-
|
|
6075
|
+
zu as EventBusWildcards,
|
|
6076
|
+
zs as EventNames,
|
|
6077
6077
|
Rs as GlobalPageSectionTypes,
|
|
6078
6078
|
vs as InvalidNizzaGlobalObjectError,
|
|
6079
6079
|
Ks as LanguageTypes,
|
|
6080
6080
|
ss as Logger,
|
|
6081
6081
|
Fn as NizzaAccount,
|
|
6082
|
-
|
|
6082
|
+
Gs as NizzaEventStatus,
|
|
6083
6083
|
Ws as NizzaProductRequestOriginTypes,
|
|
6084
6084
|
ln as NizzaStore,
|
|
6085
6085
|
Hs as NizzaVariationTypes,
|
|
@@ -6091,10 +6091,10 @@ export {
|
|
|
6091
6091
|
ba as accountService,
|
|
6092
6092
|
Zn as addToCartMessages,
|
|
6093
6093
|
Lu as apiCall,
|
|
6094
|
-
|
|
6095
|
-
|
|
6094
|
+
xl as buildLanguageTranslations,
|
|
6095
|
+
Tl as buildTranslations,
|
|
6096
6096
|
Cl as createActionFactory,
|
|
6097
|
-
|
|
6097
|
+
Ts as createAggregateRoot,
|
|
6098
6098
|
Du as createLazyLogger,
|
|
6099
6099
|
Hu as createStore,
|
|
6100
6100
|
vi as customFetch,
|
|
@@ -6103,16 +6103,16 @@ export {
|
|
|
6103
6103
|
Bs as getAccount,
|
|
6104
6104
|
Uu as getClientTimeZone,
|
|
6105
6105
|
it as getNizza,
|
|
6106
|
-
|
|
6106
|
+
Qu as getStore,
|
|
6107
6107
|
Ms as globalAtomStore,
|
|
6108
|
-
|
|
6108
|
+
Ql as i18Init,
|
|
6109
6109
|
or as jsDownload,
|
|
6110
6110
|
qu as registerTranslations,
|
|
6111
6111
|
Dl as registerTranslationsOf,
|
|
6112
6112
|
Wu as runAddToCartHooks,
|
|
6113
6113
|
Ru as searchParams,
|
|
6114
6114
|
rs as shortId,
|
|
6115
|
-
|
|
6115
|
+
Gu as useAccount,
|
|
6116
6116
|
Es as useNZ,
|
|
6117
6117
|
Cs as useNizza,
|
|
6118
6118
|
Zu as useStore,
|