@nizza/core 0.3.1 → 0.3.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +446 -432
- package/dist/lib/types/utils.d.ts +1 -0
- package/dist/lib/utils/customFetch.d.ts +9 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/environments/environment.prod.d.ts +0 -21
package/dist/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var Wi = Object.defineProperty, Zi = Object.defineProperties;
|
|
2
|
+
var Xi = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Ze = Object.getOwnPropertySymbols;
|
|
4
4
|
var nn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var gt = (e, t, n) => t in e ?
|
|
5
|
+
var gt = (e, t, n) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, B = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
7
|
nn.call(t, n) && gt(e, n, t[n]);
|
|
8
8
|
if (Ze)
|
|
9
9
|
for (var n of Ze(t))
|
|
10
10
|
an.call(t, n) && gt(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, te = (e, t) => Zi(e, Xi(t));
|
|
13
13
|
var Re = (e, t) => {
|
|
14
14
|
var n = {};
|
|
15
15
|
for (var i in e)
|
|
@@ -19,13 +19,13 @@ var Re = (e, t) => {
|
|
|
19
19
|
t.indexOf(i) < 0 && an.call(e, i) && (n[i] = e[i]);
|
|
20
20
|
return n;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
23
|
-
import * as
|
|
24
|
-
import Pn, { createContext as Vn, useReducer as
|
|
25
|
-
import { jsx as
|
|
26
|
-
let
|
|
27
|
-
function
|
|
28
|
-
const n = `atom${++
|
|
22
|
+
var b = (e, t, n) => (gt(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
23
|
+
import * as Q from "react";
|
|
24
|
+
import Pn, { createContext as Vn, useReducer as Hi, useEffect as Me, useDebugValue as Ji, useCallback as Yi, useContext as Ut, useMemo as ea, useState as ta } from "react";
|
|
25
|
+
import { jsx as na } from "react/jsx-runtime";
|
|
26
|
+
let ia = 0;
|
|
27
|
+
function aa(e, t) {
|
|
28
|
+
const n = `atom${++ia}`, i = {
|
|
29
29
|
toString: () => n
|
|
30
30
|
};
|
|
31
31
|
return typeof e == "function" ? i.read = e : (i.init = e, i.read = (a) => a(i), i.write = (a, r, s) => r(
|
|
@@ -33,7 +33,7 @@ function ia(e, t) {
|
|
|
33
33
|
typeof s == "function" ? s(a(i)) : s
|
|
34
34
|
)), t && (i.write = t), i;
|
|
35
35
|
}
|
|
36
|
-
const Nt = (e) => "init" in e, Ot = (e) => !!e.write, nt = /* @__PURE__ */ new WeakMap(),
|
|
36
|
+
const Nt = (e) => "init" in e, Ot = (e) => !!e.write, nt = /* @__PURE__ */ new WeakMap(), ra = (e, t) => {
|
|
37
37
|
nt.set(e, t), e.catch(() => {
|
|
38
38
|
}).finally(() => nt.delete(e));
|
|
39
39
|
}, rn = (e, t) => {
|
|
@@ -105,7 +105,7 @@ const Nt = (e) => "init" in e, Ot = (e) => !!e.write, nt = /* @__PURE__ */ new W
|
|
|
105
105
|
), O(D));
|
|
106
106
|
};
|
|
107
107
|
});
|
|
108
|
-
return _.status = "pending",
|
|
108
|
+
return _.status = "pending", ra(_, (O) => {
|
|
109
109
|
O && y(O), p == null || p();
|
|
110
110
|
}), u(l, _, h);
|
|
111
111
|
}
|
|
@@ -146,7 +146,7 @@ const Nt = (e) => "init" in e, Ot = (e) => !!e.write, nt = /* @__PURE__ */ new W
|
|
|
146
146
|
get setSelf() {
|
|
147
147
|
return ({ NZ_AWS_REGION: "us-east-1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && !Ot(l) && console.warn("setSelf function cannot be used with read-only atom"), !O && Ot(l) && (O = (...E) => {
|
|
148
148
|
if (({ NZ_AWS_REGION: "us-east-1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" && p && console.warn("setSelf function cannot be called in sync"), !p)
|
|
149
|
-
return
|
|
149
|
+
return K(l, ...E);
|
|
150
150
|
}), O;
|
|
151
151
|
}
|
|
152
152
|
};
|
|
@@ -163,7 +163,7 @@ const Nt = (e) => "init" in e, Ot = (e) => !!e.write, nt = /* @__PURE__ */ new W
|
|
|
163
163
|
} finally {
|
|
164
164
|
p = !1;
|
|
165
165
|
}
|
|
166
|
-
},
|
|
166
|
+
}, S = (l) => He(v(l)), F = (l) => {
|
|
167
167
|
let m = t.get(l);
|
|
168
168
|
return m || (m = C(l)), m;
|
|
169
169
|
}, I = (l, m) => !m.l.size && (!m.t.size || m.t.size === 1 && m.t.has(l)), R = (l) => {
|
|
@@ -191,7 +191,7 @@ const Nt = (e) => "init" in e, Ot = (e) => !!e.write, nt = /* @__PURE__ */ new W
|
|
|
191
191
|
return h || j(), E;
|
|
192
192
|
}, _ = l.write(p, y, ...m);
|
|
193
193
|
return h = !1, _;
|
|
194
|
-
},
|
|
194
|
+
}, K = (l, ...m) => {
|
|
195
195
|
const h = W(l, ...m);
|
|
196
196
|
return j(), h;
|
|
197
197
|
}, C = (l, m) => {
|
|
@@ -203,7 +203,7 @@ const Nt = (e) => "init" in e, Ot = (e) => !!e.write, nt = /* @__PURE__ */ new W
|
|
|
203
203
|
const _ = t.get(y);
|
|
204
204
|
_ ? _.t.add(l) : y !== l && C(y, l);
|
|
205
205
|
}), v(l), Ot(l) && l.onMount) {
|
|
206
|
-
const p = l.onMount((...y) =>
|
|
206
|
+
const p = l.onMount((...y) => K(l, ...y));
|
|
207
207
|
p && (h.u = p);
|
|
208
208
|
}
|
|
209
209
|
return h;
|
|
@@ -256,8 +256,8 @@ const Nt = (e) => "init" in e, Ot = (e) => !!e.write, nt = /* @__PURE__ */ new W
|
|
|
256
256
|
};
|
|
257
257
|
};
|
|
258
258
|
return ({ NZ_AWS_REGION: "us-east-1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 } && "production") !== "production" ? {
|
|
259
|
-
get:
|
|
260
|
-
set:
|
|
259
|
+
get: S,
|
|
260
|
+
set: K,
|
|
261
261
|
sub: me,
|
|
262
262
|
// store dev methods (these are tentative and subject to change without notice)
|
|
263
263
|
dev_subscribe_store: (l) => (i.add(l), () => {
|
|
@@ -272,16 +272,16 @@ const Nt = (e) => "init" in e, Ot = (e) => !!e.write, nt = /* @__PURE__ */ new W
|
|
|
272
272
|
j();
|
|
273
273
|
}
|
|
274
274
|
} : {
|
|
275
|
-
get:
|
|
276
|
-
set:
|
|
275
|
+
get: S,
|
|
276
|
+
set: K,
|
|
277
277
|
sub: me
|
|
278
278
|
};
|
|
279
279
|
};
|
|
280
280
|
let Et;
|
|
281
|
-
const
|
|
282
|
-
const t = Ut(
|
|
283
|
-
return (e == null ? void 0 : e.store) || t ||
|
|
284
|
-
},
|
|
281
|
+
const sa = () => (Et || (Et = In()), Et), oa = Vn(void 0), xn = (e) => {
|
|
282
|
+
const t = Ut(oa);
|
|
283
|
+
return (e == null ? void 0 : e.store) || t || sa();
|
|
284
|
+
}, ua = (e) => e instanceof Promise, la = Pn.use || ((e) => {
|
|
285
285
|
if (e.status === "pending")
|
|
286
286
|
throw e;
|
|
287
287
|
if (e.status === "fulfilled")
|
|
@@ -295,8 +295,8 @@ const ra = () => (Et || (Et = In()), Et), sa = Vn(void 0), xn = (e) => {
|
|
|
295
295
|
}
|
|
296
296
|
), e);
|
|
297
297
|
});
|
|
298
|
-
function
|
|
299
|
-
const n = xn(t), [[i, a, r], s] =
|
|
298
|
+
function da(e, t) {
|
|
299
|
+
const n = xn(t), [[i, a, r], s] = Hi(
|
|
300
300
|
(d) => {
|
|
301
301
|
const c = n.get(e);
|
|
302
302
|
return Object.is(d[0], c) && d[1] === n && d[2] === e ? d : [c, n, e];
|
|
@@ -316,9 +316,9 @@ function la(e, t) {
|
|
|
316
316
|
s();
|
|
317
317
|
});
|
|
318
318
|
return s(), d;
|
|
319
|
-
}, [n, e, u]),
|
|
319
|
+
}, [n, e, u]), Ji(o), ua(o) ? la(o) : o;
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function ca(e, t) {
|
|
322
322
|
const n = xn(t);
|
|
323
323
|
return Yi(
|
|
324
324
|
(...a) => {
|
|
@@ -329,74 +329,87 @@ function da(e, t) {
|
|
|
329
329
|
[n, e]
|
|
330
330
|
);
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function fa(e, t) {
|
|
333
333
|
return [
|
|
334
|
-
|
|
334
|
+
da(e, t),
|
|
335
335
|
// We do wrong type assertion here, which results in throwing an error.
|
|
336
|
-
|
|
336
|
+
ca(e, t)
|
|
337
337
|
];
|
|
338
338
|
}
|
|
339
|
-
const jn =
|
|
340
|
-
NZ_AWS_REGION:
|
|
341
|
-
NZ_BACKOFFICE_BACK_URL:
|
|
342
|
-
NZ_CORE_SERVICES_GRAPHQL_URL:
|
|
343
|
-
NZ_CORE_SERVICES_REST_URL:
|
|
344
|
-
} = { NZ_AWS_REGION: "us-east-1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 },
|
|
339
|
+
const jn = aa(null), {
|
|
340
|
+
NZ_AWS_REGION: ma,
|
|
341
|
+
NZ_BACKOFFICE_BACK_URL: va,
|
|
342
|
+
NZ_CORE_SERVICES_GRAPHQL_URL: ha,
|
|
343
|
+
NZ_CORE_SERVICES_REST_URL: pa
|
|
344
|
+
} = { NZ_AWS_REGION: "us-east-1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 }, ka = {
|
|
345
345
|
AWS: {
|
|
346
|
-
region:
|
|
346
|
+
region: ma,
|
|
347
347
|
cognito: {
|
|
348
|
-
userPoolId: "us-east-
|
|
349
|
-
userPoolWebClientId: "
|
|
348
|
+
userPoolId: "us-east-1_knSlGEmJ0",
|
|
349
|
+
userPoolWebClientId: "3hmbfhf7nl3kq20qr9i5lihf1p"
|
|
350
350
|
}
|
|
351
351
|
},
|
|
352
352
|
// Back services
|
|
353
353
|
apiUrls: {
|
|
354
|
-
restV1:
|
|
355
|
-
restV2:
|
|
356
|
-
graphql:
|
|
357
|
-
corsProxy: "https://
|
|
354
|
+
restV1: va || "https://pabprg32bj.execute-api.us-east-1.amazonaws.com",
|
|
355
|
+
restV2: pa || "https://core-services-dev.nizza.com/api",
|
|
356
|
+
graphql: ha || "https://core-services-dev.nizza.com/graphql",
|
|
357
|
+
corsProxy: "https://1qmd8jteh1.execute-api.us-east-1.amazonaws.com"
|
|
358
358
|
},
|
|
359
359
|
publicUrls: {
|
|
360
360
|
// Public app url
|
|
361
|
-
platformSite: "https://
|
|
361
|
+
platformSite: "https://platformdev.nizza.com",
|
|
362
362
|
// Nizza CDN
|
|
363
363
|
nizzaCdn: "https://cdn.nizza.com",
|
|
364
364
|
// Bundle
|
|
365
|
-
bundleSite: "https://
|
|
365
|
+
bundleSite: "https://bundledev.nizza.com"
|
|
366
366
|
}
|
|
367
367
|
};
|
|
368
|
-
async function
|
|
369
|
-
var
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
368
|
+
async function Ln(e) {
|
|
369
|
+
var d;
|
|
370
|
+
const u = e, {
|
|
371
|
+
url: t,
|
|
372
|
+
method: n = "GET",
|
|
373
|
+
body: i,
|
|
374
|
+
raw: a = !1,
|
|
375
|
+
contentTypeJson: r = !0
|
|
376
|
+
} = u, s = Re(u, [
|
|
375
377
|
"url",
|
|
376
378
|
"method",
|
|
379
|
+
"body",
|
|
377
380
|
"raw",
|
|
378
|
-
"
|
|
379
|
-
])
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
381
|
+
"contentTypeJson"
|
|
382
|
+
]), o = r && !e.headers ? new Headers({
|
|
383
|
+
"content-type": "application/json"
|
|
384
|
+
}) : e.headers;
|
|
385
|
+
try {
|
|
386
|
+
const c = await fetch(t, B({
|
|
387
|
+
method: n,
|
|
388
|
+
headers: o,
|
|
389
|
+
body: i
|
|
390
|
+
}, s));
|
|
391
|
+
if (a)
|
|
392
|
+
return c;
|
|
393
|
+
const v = await c.json();
|
|
394
|
+
if (!c.ok) {
|
|
395
|
+
const S = (d = v == null ? void 0 : v.message) != null ? d : c.statusText;
|
|
396
|
+
throw new Error(S);
|
|
397
|
+
}
|
|
398
|
+
return v;
|
|
399
|
+
} catch (c) {
|
|
400
|
+
throw console.error("[CustomFetch] ", c), c;
|
|
388
401
|
}
|
|
389
|
-
return u;
|
|
390
402
|
}
|
|
403
|
+
const Io = (e) => Ln(te(B({}, e), { contentTypeJson: !1 }));
|
|
391
404
|
let _a = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce((t, n) => (n &= 63, n < 36 ? t += n.toString(36) : n < 62 ? t += (n - 26).toString(36).toUpperCase() : n > 62 ? t += "-" : t += "_", t), "");
|
|
392
|
-
const ya = (e = 8) => _a(e),
|
|
405
|
+
const ya = (e = 8) => _a(e), xo = (e) => {
|
|
393
406
|
const t = Object.entries(e).map(([n, i]) => `${n}=${i}`).join("&");
|
|
394
407
|
return t ? `?${t}` : "";
|
|
395
408
|
};
|
|
396
409
|
class Sa {
|
|
397
410
|
constructor(t) {
|
|
398
|
-
|
|
399
|
-
|
|
411
|
+
b(this, "aggregate");
|
|
412
|
+
b(this, "_numSetPropsApplied", 0);
|
|
400
413
|
this.aggregate = t;
|
|
401
414
|
}
|
|
402
415
|
setProps(t) {
|
|
@@ -411,64 +424,64 @@ class Sa {
|
|
|
411
424
|
function ba(e) {
|
|
412
425
|
return new Sa(e);
|
|
413
426
|
}
|
|
414
|
-
class xo {
|
|
415
|
-
}
|
|
416
427
|
class jo {
|
|
428
|
+
}
|
|
429
|
+
class Lo {
|
|
417
430
|
constructor(t) {
|
|
418
|
-
|
|
431
|
+
b(this, "_value");
|
|
419
432
|
t !== void 0 && (this._value = t);
|
|
420
433
|
}
|
|
421
434
|
get value() {
|
|
422
435
|
return this._value;
|
|
423
436
|
}
|
|
424
437
|
}
|
|
425
|
-
var
|
|
438
|
+
var Mn = /* @__PURE__ */ ((e) => (e.VTEX = "VTEX", e.VTEX_IO = "VTEX-IO", e.VTEX_CMS = "PORTAL-VTEX", e.PLATFORM = "PLATFORM", e.UNKNOWN = "UNKNOWN", e))(Mn || {}), ga = /* @__PURE__ */ ((e) => (e.PLATFORM = "platform_module", e.ADENDA = "subscription_module", e.APP_STORE = "app_store", e))(ga || {}), Bn = /* @__PURE__ */ ((e) => (e.ACTIVE = "active_contract", e.INACTIVE = "inactive_contract", e))(Bn || {}), Na = /* @__PURE__ */ ((e) => (e.LITE = "lite", e.STANDARD = "standard", e.PRO = "pro", e))(Na || {}), Oa = /* @__PURE__ */ ((e) => (e.LITE = "PLAN_LITE", e.STANDARD = "PLAN_ESTANDAR", e.PRO = "PLAN_PRO", e.NONE = "NO_PLAN", e))(Oa || {}), Aa = /* @__PURE__ */ ((e) => (e.PAST = "past", e.LIVE = "live", e.FUTURE = "future", e))(Aa || {});
|
|
426
439
|
class Gt {
|
|
427
440
|
constructor(t) {
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
441
|
+
b(this, "root", ba(this));
|
|
442
|
+
b(this, "id");
|
|
443
|
+
b(this, "account");
|
|
444
|
+
b(this, "accountType", Mn.UNKNOWN);
|
|
445
|
+
b(this, "username");
|
|
446
|
+
b(this, "currencyConfig");
|
|
447
|
+
b(this, "contractType");
|
|
448
|
+
b(this, "nextDateMetricRecord");
|
|
449
|
+
b(this, "spendedMinutes", 0);
|
|
450
|
+
b(this, "unlimitedService", !1);
|
|
451
|
+
b(this, "hoursAvailable", 0);
|
|
452
|
+
b(this, "contractStatus", Bn.ACTIVE);
|
|
453
|
+
b(this, "createdAt");
|
|
454
|
+
b(this, "installationDateApp");
|
|
455
|
+
b(this, "cxAccount");
|
|
456
|
+
b(this, "freeService", !1);
|
|
457
|
+
b(this, "subscriptionType", null);
|
|
458
|
+
b(this, "minutesAvailable", 0);
|
|
459
|
+
b(this, "globalPage");
|
|
460
|
+
b(this, "stripe");
|
|
461
|
+
b(this, "descriptionPlan");
|
|
462
|
+
b(this, "planType");
|
|
463
|
+
b(this, "selectFreeTrial");
|
|
464
|
+
b(this, "exceededFeatures");
|
|
465
|
+
b(this, "host", null);
|
|
453
466
|
this.root.setProps(t);
|
|
454
467
|
}
|
|
455
468
|
static toDomain(t) {
|
|
456
|
-
const r = t, { createdAt: n } = r, i = Re(r, ["createdAt"]), a =
|
|
469
|
+
const r = t, { createdAt: n } = r, i = Re(r, ["createdAt"]), a = te(B({}, i), {
|
|
457
470
|
createdAt: new Date(Number(n))
|
|
458
471
|
});
|
|
459
472
|
return new Gt(a);
|
|
460
473
|
}
|
|
461
474
|
toPrimitives() {
|
|
462
475
|
const a = this, { root: t, createdAt: n } = a, i = Re(a, ["root", "createdAt"]);
|
|
463
|
-
return
|
|
476
|
+
return te(B({}, i), {
|
|
464
477
|
created: n.toISOString()
|
|
465
478
|
});
|
|
466
479
|
}
|
|
467
480
|
}
|
|
468
|
-
const Ea = `${
|
|
481
|
+
const Ea = `${ka.apiUrls.restV1}/accounts/v2`;
|
|
469
482
|
class Fa {
|
|
470
483
|
async get(t) {
|
|
471
|
-
const n = `${Ea}/${t}`, { data: i } = await
|
|
484
|
+
const n = `${Ea}/${t}`, { data: i } = await Ln({
|
|
472
485
|
url: n
|
|
473
486
|
});
|
|
474
487
|
return i ? Gt.toDomain(i) : null;
|
|
@@ -489,7 +502,7 @@ class Ra {
|
|
|
489
502
|
}
|
|
490
503
|
}
|
|
491
504
|
}
|
|
492
|
-
const Ca = new Fa(),
|
|
505
|
+
const Ca = new Fa(), Un = new Ra(Ca);
|
|
493
506
|
class Qt {
|
|
494
507
|
constructor() {
|
|
495
508
|
this.listeners = [], this.subscribe = this.subscribe.bind(this);
|
|
@@ -517,14 +530,14 @@ function Da(e, t) {
|
|
|
517
530
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
|
518
531
|
}
|
|
519
532
|
function Ta(e, t, n) {
|
|
520
|
-
return Pa(e) ? typeof t == "function" ?
|
|
533
|
+
return Pa(e) ? typeof t == "function" ? te(B({}, n), {
|
|
521
534
|
queryKey: e,
|
|
522
535
|
queryFn: t
|
|
523
|
-
}) :
|
|
536
|
+
}) : te(B({}, t), {
|
|
524
537
|
queryKey: e
|
|
525
538
|
}) : e;
|
|
526
539
|
}
|
|
527
|
-
function
|
|
540
|
+
function Gn(e, t) {
|
|
528
541
|
if (e === t)
|
|
529
542
|
return e;
|
|
530
543
|
const n = cn(e) && cn(t);
|
|
@@ -533,7 +546,7 @@ function Un(e, t) {
|
|
|
533
546
|
let o = 0;
|
|
534
547
|
for (let u = 0; u < r; u++) {
|
|
535
548
|
const d = n ? u : a[u];
|
|
536
|
-
s[d] =
|
|
549
|
+
s[d] = Gn(e[d], t[d]), s[d] === e[d] && o++;
|
|
537
550
|
}
|
|
538
551
|
return i === r && o === i ? e : s;
|
|
539
552
|
}
|
|
@@ -574,7 +587,7 @@ function vn(e) {
|
|
|
574
587
|
Va(0).then(e);
|
|
575
588
|
}
|
|
576
589
|
function hn(e, t, n) {
|
|
577
|
-
return n.isDataEqual != null && n.isDataEqual(e, t) ? e : typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing !== !1 ?
|
|
590
|
+
return n.isDataEqual != null && n.isDataEqual(e, t) ? e : typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing !== !1 ? Gn(e, t) : t;
|
|
578
591
|
}
|
|
579
592
|
class Ia extends Qt {
|
|
580
593
|
constructor() {
|
|
@@ -776,7 +789,7 @@ class Qa extends Qt {
|
|
|
776
789
|
} = a, n = Re(a, [
|
|
777
790
|
"refetchPage"
|
|
778
791
|
]);
|
|
779
|
-
return this.fetch(
|
|
792
|
+
return this.fetch(te(B({}, n), {
|
|
780
793
|
meta: {
|
|
781
794
|
refetchPage: t
|
|
782
795
|
}
|
|
@@ -788,7 +801,7 @@ class Qa extends Qt {
|
|
|
788
801
|
}
|
|
789
802
|
fetch(t) {
|
|
790
803
|
var n;
|
|
791
|
-
return this.executeFetch(
|
|
804
|
+
return this.executeFetch(te(B({}, t), {
|
|
792
805
|
cancelRefetch: (n = t.cancelRefetch) != null ? n : !0
|
|
793
806
|
})).then(() => (this.updateResult(), this.currentResult));
|
|
794
807
|
}
|
|
@@ -828,18 +841,18 @@ class Qa extends Qt {
|
|
|
828
841
|
state: v
|
|
829
842
|
} = t;
|
|
830
843
|
let {
|
|
831
|
-
dataUpdatedAt:
|
|
844
|
+
dataUpdatedAt: S,
|
|
832
845
|
error: F,
|
|
833
846
|
errorUpdatedAt: I,
|
|
834
847
|
fetchStatus: R,
|
|
835
848
|
status: A
|
|
836
|
-
} = v, W = !1,
|
|
849
|
+
} = v, W = !1, K = !1, C;
|
|
837
850
|
if (n._optimisticResults) {
|
|
838
851
|
const l = this.hasListeners(), m = !l && pn(t, n), h = l && kn(t, i, n, a);
|
|
839
|
-
(m || h) && (R = Ma(t.options.networkMode) ? "fetching" : "paused",
|
|
852
|
+
(m || h) && (R = Ma(t.options.networkMode) ? "fetching" : "paused", S || (A = "loading")), n._optimisticResults === "isRestoring" && (R = "idle");
|
|
840
853
|
}
|
|
841
854
|
if (n.keepPreviousData && !v.dataUpdatedAt && c != null && c.isSuccess && A !== "error")
|
|
842
|
-
C = c.data,
|
|
855
|
+
C = c.data, S = c.dataUpdatedAt, A = c.status, W = !0;
|
|
843
856
|
else if (n.select && typeof v.data != "undefined")
|
|
844
857
|
if (r && v.data === (s == null ? void 0 : s.data) && n.select === this.selectFn)
|
|
845
858
|
C = this.selectResult;
|
|
@@ -861,7 +874,7 @@ class Qa extends Qt {
|
|
|
861
874
|
} catch (m) {
|
|
862
875
|
this.selectError = m;
|
|
863
876
|
}
|
|
864
|
-
typeof l != "undefined" && (A = "success", C = hn(r == null ? void 0 : r.data, l, n),
|
|
877
|
+
typeof l != "undefined" && (A = "success", C = hn(r == null ? void 0 : r.data, l, n), K = !0);
|
|
865
878
|
}
|
|
866
879
|
this.selectError && (F = this.selectError, C = this.selectResult, I = Date.now(), A = "error");
|
|
867
880
|
const w = R === "fetching", x = A === "loading", j = A === "error";
|
|
@@ -873,7 +886,7 @@ class Qa extends Qt {
|
|
|
873
886
|
isError: j,
|
|
874
887
|
isInitialLoading: x && w,
|
|
875
888
|
data: C,
|
|
876
|
-
dataUpdatedAt:
|
|
889
|
+
dataUpdatedAt: S,
|
|
877
890
|
error: F,
|
|
878
891
|
errorUpdatedAt: I,
|
|
879
892
|
failureCount: v.fetchFailureCount,
|
|
@@ -885,7 +898,7 @@ class Qa extends Qt {
|
|
|
885
898
|
isRefetching: w && !x,
|
|
886
899
|
isLoadingError: j && v.dataUpdatedAt === 0,
|
|
887
900
|
isPaused: R === "paused",
|
|
888
|
-
isPlaceholderData:
|
|
901
|
+
isPlaceholderData: K,
|
|
889
902
|
isPreviousData: W,
|
|
890
903
|
isRefetchError: j && v.dataUpdatedAt !== 0,
|
|
891
904
|
isStale: Kt(t, n),
|
|
@@ -914,7 +927,7 @@ class Qa extends Qt {
|
|
|
914
927
|
return this.currentResult[d] !== n[d] && o.has(d);
|
|
915
928
|
});
|
|
916
929
|
};
|
|
917
|
-
(t == null ? void 0 : t.listeners) !== !1 && r() && (a.listeners = !0), this.notify(
|
|
930
|
+
(t == null ? void 0 : t.listeners) !== !1 && r() && (a.listeners = !0), this.notify(B(B({}, a), t));
|
|
918
931
|
}
|
|
919
932
|
updateQuery() {
|
|
920
933
|
const t = this.client.getQueryCache().build(this.client, this.options);
|
|
@@ -964,7 +977,7 @@ function kn(e, t, n, i) {
|
|
|
964
977
|
function Kt(e, t) {
|
|
965
978
|
return e.isStaleByTime(t.staleTime);
|
|
966
979
|
}
|
|
967
|
-
var
|
|
980
|
+
var Qn = { exports: {} }, Kn = {};
|
|
968
981
|
/**
|
|
969
982
|
* @license React
|
|
970
983
|
* use-sync-external-store-shim.production.min.js
|
|
@@ -999,26 +1012,26 @@ function Ft(e) {
|
|
|
999
1012
|
return !0;
|
|
1000
1013
|
}
|
|
1001
1014
|
}
|
|
1002
|
-
function
|
|
1015
|
+
function Ja(e, t) {
|
|
1003
1016
|
return t();
|
|
1004
1017
|
}
|
|
1005
|
-
var
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
var er =
|
|
1009
|
-
const tr = er.useSyncExternalStore, _n = /* @__PURE__ */
|
|
1018
|
+
var Ya = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? Ja : Ha;
|
|
1019
|
+
Kn.useSyncExternalStore = Se.useSyncExternalStore !== void 0 ? Se.useSyncExternalStore : Ya;
|
|
1020
|
+
Qn.exports = Kn;
|
|
1021
|
+
var er = Qn.exports;
|
|
1022
|
+
const tr = er.useSyncExternalStore, _n = /* @__PURE__ */ Q.createContext(void 0), nr = /* @__PURE__ */ Q.createContext(!1);
|
|
1010
1023
|
function ir(e, t) {
|
|
1011
1024
|
return e || (t && typeof window != "undefined" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = _n), window.ReactQueryClientContext) : _n);
|
|
1012
1025
|
}
|
|
1013
1026
|
const ar = ({
|
|
1014
1027
|
context: e
|
|
1015
1028
|
} = {}) => {
|
|
1016
|
-
const t =
|
|
1029
|
+
const t = Q.useContext(ir(e, Q.useContext(nr)));
|
|
1017
1030
|
if (!t)
|
|
1018
1031
|
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
|
1019
1032
|
return t;
|
|
1020
|
-
},
|
|
1021
|
-
|
|
1033
|
+
}, zn = /* @__PURE__ */ Q.createContext(!1), rr = () => Q.useContext(zn);
|
|
1034
|
+
zn.Provider;
|
|
1022
1035
|
function sr() {
|
|
1023
1036
|
let e = !1;
|
|
1024
1037
|
return {
|
|
@@ -1031,14 +1044,14 @@ function sr() {
|
|
|
1031
1044
|
isReset: () => e
|
|
1032
1045
|
};
|
|
1033
1046
|
}
|
|
1034
|
-
const or = /* @__PURE__ */
|
|
1047
|
+
const or = /* @__PURE__ */ Q.createContext(sr()), ur = () => Q.useContext(or);
|
|
1035
1048
|
function lr(e, t) {
|
|
1036
1049
|
return typeof e == "function" ? e(...t) : !!e;
|
|
1037
1050
|
}
|
|
1038
1051
|
const dr = (e, t) => {
|
|
1039
1052
|
(e.suspense || e.useErrorBoundary) && (t.isReset() || (e.retryOnMount = !1));
|
|
1040
1053
|
}, cr = (e) => {
|
|
1041
|
-
|
|
1054
|
+
Q.useEffect(() => {
|
|
1042
1055
|
e.clearReset();
|
|
1043
1056
|
}, [e]);
|
|
1044
1057
|
}, fr = ({
|
|
@@ -1060,9 +1073,9 @@ function kr(e, t) {
|
|
|
1060
1073
|
context: e.context
|
|
1061
1074
|
}), i = rr(), a = ur(), r = n.defaultQueryOptions(e);
|
|
1062
1075
|
r._optimisticResults = i ? "isRestoring" : "optimistic", r.onError && (r.onError = Ce.batchCalls(r.onError)), r.onSuccess && (r.onSuccess = Ce.batchCalls(r.onSuccess)), r.onSettled && (r.onSettled = Ce.batchCalls(r.onSettled)), mr(r), dr(r, a), cr(a);
|
|
1063
|
-
const [s] =
|
|
1064
|
-
if (tr(
|
|
1065
|
-
} : s.subscribe(Ce.batchCalls(u)), [s, i]), () => s.getCurrentResult(), () => s.getCurrentResult()),
|
|
1076
|
+
const [s] = Q.useState(() => new t(n, r)), o = s.getOptimisticResult(r);
|
|
1077
|
+
if (tr(Q.useCallback((u) => i ? () => {
|
|
1078
|
+
} : s.subscribe(Ce.batchCalls(u)), [s, i]), () => s.getCurrentResult(), () => s.getCurrentResult()), Q.useEffect(() => {
|
|
1066
1079
|
s.setOptions(r, {
|
|
1067
1080
|
listeners: !1
|
|
1068
1081
|
});
|
|
@@ -1081,13 +1094,13 @@ function _r(e, t, n) {
|
|
|
1081
1094
|
const i = Ta(e, t, n);
|
|
1082
1095
|
return kr(i, Qa);
|
|
1083
1096
|
}
|
|
1084
|
-
const yr = () => ["account"],
|
|
1097
|
+
const yr = () => ["account"], Mo = () => {
|
|
1085
1098
|
const e = co(() => {
|
|
1086
1099
|
var a;
|
|
1087
1100
|
return (a = lo.config) == null ? void 0 : a.account;
|
|
1088
|
-
}), [t, n] =
|
|
1101
|
+
}), [t, n] = fa(jn), i = _r(
|
|
1089
1102
|
yr(),
|
|
1090
|
-
() =>
|
|
1103
|
+
() => Un.get(e),
|
|
1091
1104
|
{
|
|
1092
1105
|
enabled: !!e && !t,
|
|
1093
1106
|
refetchOnWindowFocus: !1,
|
|
@@ -1103,7 +1116,7 @@ const yr = () => ["account"], Lo = () => {
|
|
|
1103
1116
|
};
|
|
1104
1117
|
}, Sr = In();
|
|
1105
1118
|
async function br(e) {
|
|
1106
|
-
const t = await
|
|
1119
|
+
const t = await Un.get(e);
|
|
1107
1120
|
return Sr.set(jn, t), t;
|
|
1108
1121
|
}
|
|
1109
1122
|
var gr = /* @__PURE__ */ ((e) => (e.COMBO = "Combo", e))(gr || {}), Nr = /* @__PURE__ */ ((e) => (e.VTEX = "VTEX", e.PLATFORM = "platform", e.CACE = "CACE", e.GLOBAL_PAGE = "globalPage", e.DEV_LOCAL = "dev:local", e.CUSTOMIZATION = "customization", e))(Nr || {});
|
|
@@ -1112,7 +1125,7 @@ class ft extends Error {
|
|
|
1112
1125
|
super(n), this.value = i, this.name = t;
|
|
1113
1126
|
}
|
|
1114
1127
|
toDTO() {
|
|
1115
|
-
return
|
|
1128
|
+
return B({
|
|
1116
1129
|
name: this.name,
|
|
1117
1130
|
message: this.message
|
|
1118
1131
|
}, this.value && { value: this.value });
|
|
@@ -1137,7 +1150,7 @@ class Ar extends ft {
|
|
|
1137
1150
|
);
|
|
1138
1151
|
}
|
|
1139
1152
|
}
|
|
1140
|
-
class
|
|
1153
|
+
class Bo extends ft {
|
|
1141
1154
|
constructor() {
|
|
1142
1155
|
super("APP_ACCOUNT_INVALID_ERROR", "Account not defined");
|
|
1143
1156
|
}
|
|
@@ -1176,18 +1189,18 @@ function N(e) {
|
|
|
1176
1189
|
throw new Error(typeof e == "number" ? "[MobX] minified error nr: " + e + (n.length ? " " + n.map(String).join(",") : "") + ". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts" : "[MobX] " + e);
|
|
1177
1190
|
}
|
|
1178
1191
|
var Fr = {};
|
|
1179
|
-
function
|
|
1192
|
+
function $n() {
|
|
1180
1193
|
return typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : Fr;
|
|
1181
1194
|
}
|
|
1182
|
-
var
|
|
1195
|
+
var qn = Object.assign, at = Object.getOwnPropertyDescriptor, Z = Object.defineProperty, mt = Object.prototype, Vt = [];
|
|
1183
1196
|
Object.freeze(Vt);
|
|
1184
1197
|
var zt = {};
|
|
1185
1198
|
Object.freeze(zt);
|
|
1186
1199
|
var Rr = typeof Proxy != "undefined", Cr = /* @__PURE__ */ Object.toString();
|
|
1187
|
-
function
|
|
1200
|
+
function Wn() {
|
|
1188
1201
|
Rr || N("Proxy not available");
|
|
1189
1202
|
}
|
|
1190
|
-
function
|
|
1203
|
+
function Zn(e) {
|
|
1191
1204
|
var t = !1;
|
|
1192
1205
|
return function() {
|
|
1193
1206
|
if (!t)
|
|
@@ -1212,7 +1225,7 @@ function le(e) {
|
|
|
1212
1225
|
function vt(e) {
|
|
1213
1226
|
return e !== null && typeof e == "object";
|
|
1214
1227
|
}
|
|
1215
|
-
function
|
|
1228
|
+
function Y(e) {
|
|
1216
1229
|
if (!vt(e))
|
|
1217
1230
|
return !1;
|
|
1218
1231
|
var t = Object.getPrototypeOf(e);
|
|
@@ -1221,7 +1234,7 @@ function J(e) {
|
|
|
1221
1234
|
var n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
|
|
1222
1235
|
return typeof n == "function" && n.toString() === Cr;
|
|
1223
1236
|
}
|
|
1224
|
-
function
|
|
1237
|
+
function Xn(e) {
|
|
1225
1238
|
var t = e == null ? void 0 : e.constructor;
|
|
1226
1239
|
return t ? t.name === "GeneratorFunction" || t.displayName === "GeneratorFunction" : !1;
|
|
1227
1240
|
}
|
|
@@ -1233,7 +1246,7 @@ function ht(e, t, n) {
|
|
|
1233
1246
|
value: n
|
|
1234
1247
|
});
|
|
1235
1248
|
}
|
|
1236
|
-
function
|
|
1249
|
+
function Hn(e, t, n) {
|
|
1237
1250
|
Z(e, t, {
|
|
1238
1251
|
enumerable: !1,
|
|
1239
1252
|
writable: !1,
|
|
@@ -1253,17 +1266,17 @@ function Oe(e) {
|
|
|
1253
1266
|
function Be(e) {
|
|
1254
1267
|
return e instanceof Set;
|
|
1255
1268
|
}
|
|
1256
|
-
var
|
|
1269
|
+
var Jn = typeof Object.getOwnPropertySymbols != "undefined";
|
|
1257
1270
|
function wr(e) {
|
|
1258
1271
|
var t = Object.keys(e);
|
|
1259
|
-
if (!
|
|
1272
|
+
if (!Jn)
|
|
1260
1273
|
return t;
|
|
1261
1274
|
var n = Object.getOwnPropertySymbols(e);
|
|
1262
1275
|
return n.length ? [].concat(t, n.filter(function(i) {
|
|
1263
1276
|
return mt.propertyIsEnumerable.call(e, i);
|
|
1264
1277
|
})) : t;
|
|
1265
1278
|
}
|
|
1266
|
-
var Te = typeof Reflect != "undefined" && Reflect.ownKeys ? Reflect.ownKeys :
|
|
1279
|
+
var Te = typeof Reflect != "undefined" && Reflect.ownKeys ? Reflect.ownKeys : Jn ? function(e) {
|
|
1267
1280
|
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
1268
1281
|
} : (
|
|
1269
1282
|
/* istanbul ignore next */
|
|
@@ -1272,7 +1285,7 @@ var Te = typeof Reflect != "undefined" && Reflect.ownKeys ? Reflect.ownKeys : Hn
|
|
|
1272
1285
|
function Yn(e) {
|
|
1273
1286
|
return e === null ? null : typeof e == "object" ? "" + e : e;
|
|
1274
1287
|
}
|
|
1275
|
-
function
|
|
1288
|
+
function ae(e, t) {
|
|
1276
1289
|
return mt.hasOwnProperty.call(e, t);
|
|
1277
1290
|
}
|
|
1278
1291
|
var Dr = Object.getOwnPropertyDescriptors || function(t) {
|
|
@@ -1302,7 +1315,7 @@ function Pe() {
|
|
|
1302
1315
|
return e;
|
|
1303
1316
|
}, Pe.apply(this, arguments);
|
|
1304
1317
|
}
|
|
1305
|
-
function
|
|
1318
|
+
function ei(e, t) {
|
|
1306
1319
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, It(e, t);
|
|
1307
1320
|
}
|
|
1308
1321
|
function It(e, t) {
|
|
@@ -1375,7 +1388,7 @@ function X(e) {
|
|
|
1375
1388
|
return Object.assign(t, e);
|
|
1376
1389
|
}
|
|
1377
1390
|
function Ue(e, t, n) {
|
|
1378
|
-
|
|
1391
|
+
ae(e, _e) || ht(e, _e, Pe({}, e[_e])), Gr(n) || (e[_e][t] = n);
|
|
1379
1392
|
}
|
|
1380
1393
|
var k = /* @__PURE__ */ Symbol("mobx administration"), Ge = /* @__PURE__ */ function() {
|
|
1381
1394
|
function e(n) {
|
|
@@ -1391,17 +1404,17 @@ var k = /* @__PURE__ */ Symbol("mobx administration"), Ge = /* @__PURE__ */ func
|
|
|
1391
1404
|
return i();
|
|
1392
1405
|
});
|
|
1393
1406
|
}, t.reportObserved = function() {
|
|
1394
|
-
return
|
|
1407
|
+
return Si(this);
|
|
1395
1408
|
}, t.reportChanged = function() {
|
|
1396
|
-
L(),
|
|
1409
|
+
L(), bi(this), f.stateVersion = f.stateVersion < Number.MAX_SAFE_INTEGER ? f.stateVersion + 1 : Number.MIN_SAFE_INTEGER, M();
|
|
1397
1410
|
}, t.toString = function() {
|
|
1398
1411
|
return this.name_;
|
|
1399
1412
|
}, e;
|
|
1400
1413
|
}(), qt = /* @__PURE__ */ ce("Atom", Ge);
|
|
1401
|
-
function
|
|
1414
|
+
function ti(e, t, n) {
|
|
1402
1415
|
t === void 0 && (t = pe), n === void 0 && (n = pe);
|
|
1403
1416
|
var i = new Ge(e);
|
|
1404
|
-
return t !== pe && Bs(i, t), n !== pe &&
|
|
1417
|
+
return t !== pe && Bs(i, t), n !== pe && Ci(i, n), i;
|
|
1405
1418
|
}
|
|
1406
1419
|
function Ir(e, t) {
|
|
1407
1420
|
return e === t;
|
|
@@ -1424,13 +1437,13 @@ var be = {
|
|
|
1424
1437
|
function ge(e, t, n) {
|
|
1425
1438
|
return $e(e) ? e : Array.isArray(e) ? V.array(e, {
|
|
1426
1439
|
name: n
|
|
1427
|
-
}) :
|
|
1440
|
+
}) : Y(e) ? V.object(e, void 0, {
|
|
1428
1441
|
name: n
|
|
1429
1442
|
}) : Oe(e) ? V.map(e, {
|
|
1430
1443
|
name: n
|
|
1431
1444
|
}) : Be(e) ? V.set(e, {
|
|
1432
1445
|
name: n
|
|
1433
|
-
}) : typeof e == "function" && !Xt(e) && !lt(e) ?
|
|
1446
|
+
}) : typeof e == "function" && !Xt(e) && !lt(e) ? Xn(e) ? xe(e) : Ie(n, e) : e;
|
|
1434
1447
|
}
|
|
1435
1448
|
function Mr(e, t, n) {
|
|
1436
1449
|
if (e == null || je(e) || St(e) || fe(e) || Ee(e))
|
|
@@ -1440,7 +1453,7 @@ function Mr(e, t, n) {
|
|
|
1440
1453
|
name: n,
|
|
1441
1454
|
deep: !1
|
|
1442
1455
|
});
|
|
1443
|
-
if (
|
|
1456
|
+
if (Y(e))
|
|
1444
1457
|
return V.object(e, void 0, {
|
|
1445
1458
|
name: n,
|
|
1446
1459
|
deep: !1
|
|
@@ -1482,28 +1495,28 @@ function Qr(e, t, n, i) {
|
|
|
1482
1495
|
return this.extend_(e, t, n, !1) === null ? 0 : 2;
|
|
1483
1496
|
if (Xt(n.value))
|
|
1484
1497
|
return 1;
|
|
1485
|
-
var r =
|
|
1498
|
+
var r = ni(e, this, t, n, !1);
|
|
1486
1499
|
return Z(i, t, r), 2;
|
|
1487
1500
|
}
|
|
1488
1501
|
function Kr(e, t, n, i) {
|
|
1489
|
-
var a =
|
|
1502
|
+
var a = ni(e, this, t, n);
|
|
1490
1503
|
return e.defineProperty_(t, a, i);
|
|
1491
1504
|
}
|
|
1492
1505
|
function zr(e, t, n, i) {
|
|
1493
1506
|
t.annotationType_, i.value;
|
|
1494
1507
|
}
|
|
1495
|
-
function
|
|
1508
|
+
function ni(e, t, n, i, a) {
|
|
1496
1509
|
var r, s, o, u, d, c, v;
|
|
1497
1510
|
a === void 0 && (a = f.safeDescriptors), zr(e, t, n, i);
|
|
1498
|
-
var
|
|
1511
|
+
var S = i.value;
|
|
1499
1512
|
if ((r = t.options_) != null && r.bound) {
|
|
1500
1513
|
var F;
|
|
1501
|
-
|
|
1514
|
+
S = S.bind((F = e.proxy_) != null ? F : e.target_);
|
|
1502
1515
|
}
|
|
1503
1516
|
return {
|
|
1504
1517
|
value: Ne(
|
|
1505
1518
|
(s = (o = t.options_) == null ? void 0 : o.name) != null ? s : n.toString(),
|
|
1506
|
-
|
|
1519
|
+
S,
|
|
1507
1520
|
(u = (d = t.options_) == null ? void 0 : d.autoAction) != null ? u : !1,
|
|
1508
1521
|
// https://github.com/mobxjs/mobx/discussions/3140
|
|
1509
1522
|
(c = t.options_) != null && c.bound ? (v = e.proxy_) != null ? v : e.target_ : void 0
|
|
@@ -1518,7 +1531,7 @@ function ti(e, t, n, i, a) {
|
|
|
1518
1531
|
writable: !a
|
|
1519
1532
|
};
|
|
1520
1533
|
}
|
|
1521
|
-
function
|
|
1534
|
+
function ii(e, t) {
|
|
1522
1535
|
return {
|
|
1523
1536
|
annotationType_: e,
|
|
1524
1537
|
options_: t,
|
|
@@ -1530,21 +1543,21 @@ function $r(e, t, n, i) {
|
|
|
1530
1543
|
var a;
|
|
1531
1544
|
if (i === e.target_)
|
|
1532
1545
|
return this.extend_(e, t, n, !1) === null ? 0 : 2;
|
|
1533
|
-
if ((a = this.options_) != null && a.bound && (!
|
|
1546
|
+
if ((a = this.options_) != null && a.bound && (!ae(e.target_, t) || !lt(e.target_[t])) && this.extend_(e, t, n, !1) === null)
|
|
1534
1547
|
return 0;
|
|
1535
1548
|
if (lt(n.value))
|
|
1536
1549
|
return 1;
|
|
1537
|
-
var r =
|
|
1550
|
+
var r = ai(e, this, t, n, !1, !1);
|
|
1538
1551
|
return Z(i, t, r), 2;
|
|
1539
1552
|
}
|
|
1540
1553
|
function qr(e, t, n, i) {
|
|
1541
|
-
var a, r =
|
|
1554
|
+
var a, r = ai(e, this, t, n, (a = this.options_) == null ? void 0 : a.bound);
|
|
1542
1555
|
return e.defineProperty_(t, r, i);
|
|
1543
1556
|
}
|
|
1544
1557
|
function Wr(e, t, n, i) {
|
|
1545
1558
|
t.annotationType_, i.value;
|
|
1546
1559
|
}
|
|
1547
|
-
function
|
|
1560
|
+
function ai(e, t, n, i, a, r) {
|
|
1548
1561
|
r === void 0 && (r = f.safeDescriptors), Wr(e, t, n, i);
|
|
1549
1562
|
var s = i.value;
|
|
1550
1563
|
if (lt(s) || (s = xe(s)), a) {
|
|
@@ -1587,22 +1600,22 @@ function kt(e, t) {
|
|
|
1587
1600
|
return {
|
|
1588
1601
|
annotationType_: e,
|
|
1589
1602
|
options_: t,
|
|
1590
|
-
make_:
|
|
1591
|
-
extend_:
|
|
1603
|
+
make_: Jr,
|
|
1604
|
+
extend_: Yr
|
|
1592
1605
|
};
|
|
1593
1606
|
}
|
|
1594
|
-
function
|
|
1607
|
+
function Jr(e, t, n) {
|
|
1595
1608
|
return this.extend_(e, t, n, !1) === null ? 0 : 1;
|
|
1596
1609
|
}
|
|
1597
|
-
function
|
|
1610
|
+
function Yr(e, t, n, i) {
|
|
1598
1611
|
var a, r;
|
|
1599
1612
|
return es(e, this), e.defineObservableProperty_(t, n.value, (a = (r = this.options_) == null ? void 0 : r.enhancer) != null ? a : ge, i);
|
|
1600
1613
|
}
|
|
1601
1614
|
function es(e, t, n, i) {
|
|
1602
1615
|
t.annotationType_;
|
|
1603
1616
|
}
|
|
1604
|
-
var ts = "true", ns = /* @__PURE__ */
|
|
1605
|
-
function
|
|
1617
|
+
var ts = "true", ns = /* @__PURE__ */ ri();
|
|
1618
|
+
function ri(e) {
|
|
1606
1619
|
return {
|
|
1607
1620
|
annotationType_: ts,
|
|
1608
1621
|
options_: e,
|
|
@@ -1626,7 +1639,7 @@ function is(e, t, n, i) {
|
|
|
1626
1639
|
}
|
|
1627
1640
|
if (i !== e.target_ && typeof n.value == "function") {
|
|
1628
1641
|
var o;
|
|
1629
|
-
if (
|
|
1642
|
+
if (Xn(n.value)) {
|
|
1630
1643
|
var u, d = (u = this.options_) != null && u.autoBind ? xe.bound : xe;
|
|
1631
1644
|
return d.make_(e, t, n, i);
|
|
1632
1645
|
}
|
|
@@ -1635,8 +1648,8 @@ function is(e, t, n, i) {
|
|
|
1635
1648
|
}
|
|
1636
1649
|
var v = ((a = this.options_) == null ? void 0 : a.deep) === !1 ? V.ref : V;
|
|
1637
1650
|
if (typeof n.value == "function" && (r = this.options_) != null && r.autoBind) {
|
|
1638
|
-
var
|
|
1639
|
-
n.value = n.value.bind((
|
|
1651
|
+
var S;
|
|
1652
|
+
n.value = n.value.bind((S = e.proxy_) != null ? S : e.target_);
|
|
1640
1653
|
}
|
|
1641
1654
|
return v.make_(e, t, n, i);
|
|
1642
1655
|
}
|
|
@@ -1656,77 +1669,77 @@ function as(e, t, n, i) {
|
|
|
1656
1669
|
var o = ((r = this.options_) == null ? void 0 : r.deep) === !1 ? V.ref : V;
|
|
1657
1670
|
return o.extend_(e, t, n, i);
|
|
1658
1671
|
}
|
|
1659
|
-
var rs = "observable", ss = "observable.ref", os = "observable.shallow", us = "observable.struct",
|
|
1672
|
+
var rs = "observable", ss = "observable.ref", os = "observable.shallow", us = "observable.struct", si = {
|
|
1660
1673
|
deep: !0,
|
|
1661
1674
|
name: void 0,
|
|
1662
1675
|
defaultDecorator: void 0,
|
|
1663
1676
|
proxy: !0
|
|
1664
1677
|
};
|
|
1665
|
-
Object.freeze(
|
|
1666
|
-
function
|
|
1667
|
-
return e ||
|
|
1678
|
+
Object.freeze(si);
|
|
1679
|
+
function Je(e) {
|
|
1680
|
+
return e || si;
|
|
1668
1681
|
}
|
|
1669
|
-
var
|
|
1682
|
+
var oi = /* @__PURE__ */ kt(rs), ls = /* @__PURE__ */ kt(ss, {
|
|
1670
1683
|
enhancer: pt
|
|
1671
1684
|
}), ds = /* @__PURE__ */ kt(os, {
|
|
1672
1685
|
enhancer: Mr
|
|
1673
1686
|
}), cs = /* @__PURE__ */ kt(us, {
|
|
1674
1687
|
enhancer: Br
|
|
1675
|
-
}),
|
|
1676
|
-
function
|
|
1688
|
+
}), ui = /* @__PURE__ */ X(oi);
|
|
1689
|
+
function Ye(e) {
|
|
1677
1690
|
return e.deep === !0 ? ge : e.deep === !1 ? pt : ms(e.defaultDecorator);
|
|
1678
1691
|
}
|
|
1679
1692
|
function fs(e) {
|
|
1680
1693
|
var t;
|
|
1681
|
-
return e ? (t = e.defaultDecorator) != null ? t :
|
|
1694
|
+
return e ? (t = e.defaultDecorator) != null ? t : ri(e) : void 0;
|
|
1682
1695
|
}
|
|
1683
1696
|
function ms(e) {
|
|
1684
1697
|
var t, n;
|
|
1685
1698
|
return e && (t = (n = e.options_) == null ? void 0 : n.enhancer) != null ? t : ge;
|
|
1686
1699
|
}
|
|
1687
|
-
function
|
|
1700
|
+
function li(e, t, n) {
|
|
1688
1701
|
if (le(t)) {
|
|
1689
|
-
Ue(e, t,
|
|
1702
|
+
Ue(e, t, oi);
|
|
1690
1703
|
return;
|
|
1691
1704
|
}
|
|
1692
|
-
return $e(e) ? e :
|
|
1705
|
+
return $e(e) ? e : Y(e) ? V.object(e, t, n) : Array.isArray(e) ? V.array(e, t) : Oe(e) ? V.map(e, t) : Be(e) ? V.set(e, t) : typeof e == "object" && e !== null ? e : V.box(e, t);
|
|
1693
1706
|
}
|
|
1694
|
-
|
|
1707
|
+
qn(li, ui);
|
|
1695
1708
|
var vs = {
|
|
1696
1709
|
box: function(t, n) {
|
|
1697
|
-
var i =
|
|
1698
|
-
return new ye(t,
|
|
1710
|
+
var i = Je(n);
|
|
1711
|
+
return new ye(t, Ye(i), i.name, !0, i.equals);
|
|
1699
1712
|
},
|
|
1700
1713
|
array: function(t, n) {
|
|
1701
|
-
var i =
|
|
1702
|
-
return (f.useProxies === !1 || i.proxy === !1 ? so : Hs)(t,
|
|
1714
|
+
var i = Je(n);
|
|
1715
|
+
return (f.useProxies === !1 || i.proxy === !1 ? so : Hs)(t, Ye(i), i.name);
|
|
1703
1716
|
},
|
|
1704
1717
|
map: function(t, n) {
|
|
1705
|
-
var i =
|
|
1706
|
-
return new
|
|
1718
|
+
var i = Je(n);
|
|
1719
|
+
return new xi(t, Ye(i), i.name);
|
|
1707
1720
|
},
|
|
1708
1721
|
set: function(t, n) {
|
|
1709
|
-
var i =
|
|
1710
|
-
return new
|
|
1722
|
+
var i = Je(n);
|
|
1723
|
+
return new Mi(t, Ye(i), i.name);
|
|
1711
1724
|
},
|
|
1712
1725
|
object: function(t, n, i) {
|
|
1713
|
-
return
|
|
1726
|
+
return Di(f.useProxies === !1 || (i == null ? void 0 : i.proxy) === !1 ? bt({}, i) : qs({}, i), t, n);
|
|
1714
1727
|
},
|
|
1715
1728
|
ref: /* @__PURE__ */ X(ls),
|
|
1716
1729
|
shallow: /* @__PURE__ */ X(ds),
|
|
1717
|
-
deep:
|
|
1730
|
+
deep: ui,
|
|
1718
1731
|
struct: /* @__PURE__ */ X(cs)
|
|
1719
|
-
}, V = /* @__PURE__ */
|
|
1732
|
+
}, V = /* @__PURE__ */ qn(li, vs), di = "computed", hs = "computed.struct", ci = /* @__PURE__ */ Wt(di), ps = /* @__PURE__ */ Wt(hs, {
|
|
1720
1733
|
equals: be.structural
|
|
1721
1734
|
}), _t = function(t, n) {
|
|
1722
1735
|
if (le(n))
|
|
1723
|
-
return Ue(t, n,
|
|
1724
|
-
if (
|
|
1725
|
-
return X(Wt(
|
|
1726
|
-
var i =
|
|
1736
|
+
return Ue(t, n, ci);
|
|
1737
|
+
if (Y(t))
|
|
1738
|
+
return X(Wt(di, t));
|
|
1739
|
+
var i = Y(n) ? n : {};
|
|
1727
1740
|
return i.get = t, i.name || (i.name = t.name || ""), new Ve(i);
|
|
1728
1741
|
};
|
|
1729
|
-
Object.assign(_t,
|
|
1742
|
+
Object.assign(_t, ci);
|
|
1730
1743
|
_t.struct = /* @__PURE__ */ X(ps);
|
|
1731
1744
|
var bn, gn, rt = 0, ks = 1, _s = (bn = (gn = /* @__PURE__ */ at(function() {
|
|
1732
1745
|
}, "name")) == null ? void 0 : gn.configurable) != null ? bn : !1, Nn = {
|
|
@@ -1770,9 +1783,9 @@ function Ss(e, t, n, i) {
|
|
|
1770
1783
|
return rt = c.actionId_, c;
|
|
1771
1784
|
}
|
|
1772
1785
|
function bs(e) {
|
|
1773
|
-
rt !== e.actionId_ && N(30), rt = e.parentActionId_, e.error_ !== void 0 && (f.suppressReactionErrors = !0), ze(e.prevAllowStateChanges_), we(e.prevAllowStateReads_), M(), e.runAsAction_ &&
|
|
1786
|
+
rt !== e.actionId_ && N(30), rt = e.parentActionId_, e.error_ !== void 0 && (f.suppressReactionErrors = !0), ze(e.prevAllowStateChanges_), we(e.prevAllowStateReads_), M(), e.runAsAction_ && re(e.prevDerivation_), f.suppressReactionErrors = !1;
|
|
1774
1787
|
}
|
|
1775
|
-
function
|
|
1788
|
+
function fi(e, t) {
|
|
1776
1789
|
var n = Ke(e);
|
|
1777
1790
|
try {
|
|
1778
1791
|
return t();
|
|
@@ -1787,10 +1800,10 @@ function Ke(e) {
|
|
|
1787
1800
|
function ze(e) {
|
|
1788
1801
|
f.allowStateChanges = e;
|
|
1789
1802
|
}
|
|
1790
|
-
var
|
|
1791
|
-
|
|
1803
|
+
var mi;
|
|
1804
|
+
mi = Symbol.toPrimitive;
|
|
1792
1805
|
var ye = /* @__PURE__ */ function(e) {
|
|
1793
|
-
|
|
1806
|
+
ei(t, e);
|
|
1794
1807
|
function t(i, a, r, s, o) {
|
|
1795
1808
|
var u;
|
|
1796
1809
|
return r === void 0 && (r = "ObservableValue"), o === void 0 && (o = be.default), u = e.call(this, r) || this, u.enhancer = void 0, u.name_ = void 0, u.equals = void 0, u.hasUnreportedChange_ = !1, u.interceptors_ = void 0, u.changeListeners_ = void 0, u.value_ = void 0, u.dehancer = void 0, u.enhancer = a, u.name_ = r, u.equals = o, u.value_ = a(i, void 0, r), u;
|
|
@@ -1801,8 +1814,8 @@ var ye = /* @__PURE__ */ function(e) {
|
|
|
1801
1814
|
}, n.set = function(a) {
|
|
1802
1815
|
this.value_, a = this.prepareNewValue_(a), a !== f.UNCHANGED && this.setNewValue_(a);
|
|
1803
1816
|
}, n.prepareNewValue_ = function(a) {
|
|
1804
|
-
if (
|
|
1805
|
-
var r =
|
|
1817
|
+
if (U(this)) {
|
|
1818
|
+
var r = G(this, {
|
|
1806
1819
|
object: this,
|
|
1807
1820
|
type: H,
|
|
1808
1821
|
newValue: a
|
|
@@ -1841,11 +1854,11 @@ var ye = /* @__PURE__ */ function(e) {
|
|
|
1841
1854
|
return this.name_ + "[" + this.value_ + "]";
|
|
1842
1855
|
}, n.valueOf = function() {
|
|
1843
1856
|
return Yn(this.get());
|
|
1844
|
-
}, n[
|
|
1857
|
+
}, n[mi] = function() {
|
|
1845
1858
|
return this.valueOf();
|
|
1846
1859
|
}, t;
|
|
1847
|
-
}(Ge),
|
|
1848
|
-
|
|
1860
|
+
}(Ge), vi;
|
|
1861
|
+
vi = Symbol.toPrimitive;
|
|
1849
1862
|
var Ve = /* @__PURE__ */ function() {
|
|
1850
1863
|
function e(n) {
|
|
1851
1864
|
this.dependenciesState_ = g.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.isBeingObserved_ = !1, this.isPendingUnobservation_ = !1, this.observers_ = /* @__PURE__ */ new Set(), this.diffValue_ = 0, this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = g.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new st(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_ = ue.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 || N(31), this.derivation = n.get, this.name_ = n.name || "ComputedValue", n.set && (this.setter_ = Ne("ComputedValue-setter", n.set)), this.equals_ = n.equals || (n.compareStructural || n.struct ? be.structural : be.default), this.scope_ = n.context, this.requiresReaction_ = n.requiresReaction, this.keepAlive_ = !!n.keepAlive;
|
|
@@ -1865,7 +1878,7 @@ var Ve = /* @__PURE__ */ function() {
|
|
|
1865
1878
|
if (this.isComputing_ && N(32, this.name_, this.derivation), f.inBatch === 0 && // !globalState.trackingDerivatpion &&
|
|
1866
1879
|
this.observers_.size === 0 && !this.keepAlive_)
|
|
1867
1880
|
xt(this) && (this.warnAboutUntrackedRead_(), L(), this.value_ = this.computeValue_(!1), M());
|
|
1868
|
-
else if (
|
|
1881
|
+
else if (Si(this), xt(this)) {
|
|
1869
1882
|
var i = f.trackingContext;
|
|
1870
1883
|
this.keepAlive_ && !i && (f.trackingContext = this), this.trackAndCompute() && Os(this), f.trackingContext = i;
|
|
1871
1884
|
}
|
|
@@ -1893,7 +1906,7 @@ var Ve = /* @__PURE__ */ function() {
|
|
|
1893
1906
|
this.isComputing_ = !0;
|
|
1894
1907
|
var a = Ke(!1), r;
|
|
1895
1908
|
if (i)
|
|
1896
|
-
r =
|
|
1909
|
+
r = hi(this, this.derivation, this.scope_);
|
|
1897
1910
|
else if (f.disableErrorBoundaries === !0)
|
|
1898
1911
|
r = this.derivation.call(this.scope_);
|
|
1899
1912
|
else
|
|
@@ -1918,7 +1931,7 @@ var Ve = /* @__PURE__ */ function() {
|
|
|
1918
1931
|
object: r,
|
|
1919
1932
|
newValue: u,
|
|
1920
1933
|
oldValue: o
|
|
1921
|
-
}),
|
|
1934
|
+
}), re(d);
|
|
1922
1935
|
}
|
|
1923
1936
|
s = !1, o = u;
|
|
1924
1937
|
});
|
|
@@ -1927,7 +1940,7 @@ var Ve = /* @__PURE__ */ function() {
|
|
|
1927
1940
|
return this.name_ + "[" + this.derivation.toString() + "]";
|
|
1928
1941
|
}, t.valueOf = function() {
|
|
1929
1942
|
return Yn(this.get());
|
|
1930
|
-
}, t[
|
|
1943
|
+
}, t[vi] = function() {
|
|
1931
1944
|
return this.valueOf();
|
|
1932
1945
|
}, e;
|
|
1933
1946
|
}(), yt = /* @__PURE__ */ ce("ComputedValue", Ve), g;
|
|
@@ -1961,19 +1974,19 @@ function xt(e) {
|
|
|
1961
1974
|
try {
|
|
1962
1975
|
s.get();
|
|
1963
1976
|
} catch (o) {
|
|
1964
|
-
return
|
|
1977
|
+
return re(n), we(t), !0;
|
|
1965
1978
|
}
|
|
1966
1979
|
if (e.dependenciesState_ === g.STALE_)
|
|
1967
|
-
return
|
|
1980
|
+
return re(n), we(t), !0;
|
|
1968
1981
|
}
|
|
1969
1982
|
}
|
|
1970
|
-
return
|
|
1983
|
+
return ki(e), re(n), we(t), !1;
|
|
1971
1984
|
}
|
|
1972
1985
|
}
|
|
1973
1986
|
}
|
|
1974
|
-
function
|
|
1987
|
+
function hi(e, t, n) {
|
|
1975
1988
|
var i = Zt(!0);
|
|
1976
|
-
|
|
1989
|
+
ki(e), e.newObserving_ = new Array(e.observing_.length + 100), e.unboundDepsCount_ = 0, e.runId_ = ++f.runId;
|
|
1977
1990
|
var a = f.trackingDerivation;
|
|
1978
1991
|
f.trackingDerivation = e, f.inBatch++;
|
|
1979
1992
|
var r;
|
|
@@ -1994,7 +2007,7 @@ function gs(e) {
|
|
|
1994
2007
|
}
|
|
1995
2008
|
for (n.length = a, e.newObserving_ = null, r = t.length; r--; ) {
|
|
1996
2009
|
var u = t[r];
|
|
1997
|
-
u.diffValue_ === 0 &&
|
|
2010
|
+
u.diffValue_ === 0 && _i(u, e), u.diffValue_ = 0;
|
|
1998
2011
|
}
|
|
1999
2012
|
for (; a--; ) {
|
|
2000
2013
|
var d = n[a];
|
|
@@ -2006,22 +2019,22 @@ function jt(e) {
|
|
|
2006
2019
|
var t = e.observing_;
|
|
2007
2020
|
e.observing_ = [];
|
|
2008
2021
|
for (var n = t.length; n--; )
|
|
2009
|
-
|
|
2022
|
+
_i(t[n], e);
|
|
2010
2023
|
e.dependenciesState_ = g.NOT_TRACKING_;
|
|
2011
2024
|
}
|
|
2012
|
-
function
|
|
2025
|
+
function pi(e) {
|
|
2013
2026
|
var t = Ae();
|
|
2014
2027
|
try {
|
|
2015
2028
|
return e();
|
|
2016
2029
|
} finally {
|
|
2017
|
-
|
|
2030
|
+
re(t);
|
|
2018
2031
|
}
|
|
2019
2032
|
}
|
|
2020
2033
|
function Ae() {
|
|
2021
2034
|
var e = f.trackingDerivation;
|
|
2022
2035
|
return f.trackingDerivation = null, e;
|
|
2023
2036
|
}
|
|
2024
|
-
function
|
|
2037
|
+
function re(e) {
|
|
2025
2038
|
f.trackingDerivation = e;
|
|
2026
2039
|
}
|
|
2027
2040
|
function Zt(e) {
|
|
@@ -2031,7 +2044,7 @@ function Zt(e) {
|
|
|
2031
2044
|
function we(e) {
|
|
2032
2045
|
f.allowStateReads = e;
|
|
2033
2046
|
}
|
|
2034
|
-
function
|
|
2047
|
+
function ki(e) {
|
|
2035
2048
|
if (e.dependenciesState_ !== g.UP_TO_DATE_) {
|
|
2036
2049
|
e.dependenciesState_ = g.UP_TO_DATE_;
|
|
2037
2050
|
for (var t = e.observing_, n = t.length; n--; )
|
|
@@ -2041,7 +2054,7 @@ function pi(e) {
|
|
|
2041
2054
|
var Ct = function() {
|
|
2042
2055
|
this.version = 6, this.UNCHANGED = {}, this.trackingDerivation = null, this.trackingContext = null, this.runId = 0, this.mobxGuid = 0, this.inBatch = 0, this.pendingUnobservations = [], this.pendingReactions = [], this.isRunningReactions = !1, this.allowStateChanges = !1, this.allowStateReads = !0, this.enforceActions = !0, this.spyListeners = [], this.globalReactionErrorHandlers = [], this.computedRequiresReaction = !1, this.reactionRequiresObservable = !1, this.observableRequiresReaction = !1, this.disableErrorBoundaries = !1, this.suppressReactionErrors = !1, this.useProxies = !0, this.verifyProxies = !1, this.safeDescriptors = !0, this.stateVersion = Number.MIN_SAFE_INTEGER;
|
|
2043
2056
|
}, wt = !0, f = /* @__PURE__ */ function() {
|
|
2044
|
-
var e = /* @__PURE__ */
|
|
2057
|
+
var e = /* @__PURE__ */ $n();
|
|
2045
2058
|
return e.__mobxInstanceCount > 0 && !e.__mobxGlobals && (wt = !1), e.__mobxGlobals && e.__mobxGlobals.version !== new Ct().version && (wt = !1), wt ? e.__mobxGlobals ? (e.__mobxInstanceCount += 1, e.__mobxGlobals.UNCHANGED || (e.__mobxGlobals.UNCHANGED = {}), e.__mobxGlobals) : (e.__mobxInstanceCount = 1, e.__mobxGlobals = /* @__PURE__ */ new Ct()) : (setTimeout(function() {
|
|
2046
2059
|
N(35);
|
|
2047
2060
|
}, 1), new Ct());
|
|
@@ -2049,10 +2062,10 @@ var Ct = function() {
|
|
|
2049
2062
|
function Ns(e, t) {
|
|
2050
2063
|
e.observers_.add(t), e.lowestObserverState_ > t.dependenciesState_ && (e.lowestObserverState_ = t.dependenciesState_);
|
|
2051
2064
|
}
|
|
2052
|
-
function
|
|
2053
|
-
e.observers_.delete(t), e.observers_.size === 0 &&
|
|
2065
|
+
function _i(e, t) {
|
|
2066
|
+
e.observers_.delete(t), e.observers_.size === 0 && yi(e);
|
|
2054
2067
|
}
|
|
2055
|
-
function
|
|
2068
|
+
function yi(e) {
|
|
2056
2069
|
e.isPendingUnobservation_ === !1 && (e.isPendingUnobservation_ = !0, f.pendingUnobservations.push(e));
|
|
2057
2070
|
}
|
|
2058
2071
|
function L() {
|
|
@@ -2060,7 +2073,7 @@ function L() {
|
|
|
2060
2073
|
}
|
|
2061
2074
|
function M() {
|
|
2062
2075
|
if (--f.inBatch === 0) {
|
|
2063
|
-
|
|
2076
|
+
gi();
|
|
2064
2077
|
for (var e = f.pendingUnobservations, t = 0; t < e.length; t++) {
|
|
2065
2078
|
var n = e[t];
|
|
2066
2079
|
n.isPendingUnobservation_ = !1, n.observers_.size === 0 && (n.isBeingObserved_ && (n.isBeingObserved_ = !1, n.onBUO()), n instanceof Ve && n.suspend_());
|
|
@@ -2068,11 +2081,11 @@ function M() {
|
|
|
2068
2081
|
f.pendingUnobservations = [];
|
|
2069
2082
|
}
|
|
2070
2083
|
}
|
|
2071
|
-
function
|
|
2084
|
+
function Si(e) {
|
|
2072
2085
|
var t = f.trackingDerivation;
|
|
2073
|
-
return t !== null ? (t.runId_ !== e.lastAccessedBy_ && (e.lastAccessedBy_ = t.runId_, t.newObserving_[t.unboundDepsCount_++] = e, !e.isBeingObserved_ && f.trackingContext && (e.isBeingObserved_ = !0, e.onBO())), e.isBeingObserved_) : (e.observers_.size === 0 && f.inBatch > 0 &&
|
|
2086
|
+
return t !== null ? (t.runId_ !== e.lastAccessedBy_ && (e.lastAccessedBy_ = t.runId_, t.newObserving_[t.unboundDepsCount_++] = e, !e.isBeingObserved_ && f.trackingContext && (e.isBeingObserved_ = !0, e.onBO())), e.isBeingObserved_) : (e.observers_.size === 0 && f.inBatch > 0 && yi(e), !1);
|
|
2074
2087
|
}
|
|
2075
|
-
function
|
|
2088
|
+
function bi(e) {
|
|
2076
2089
|
e.lowestObserverState_ !== g.STALE_ && (e.lowestObserverState_ = g.STALE_, e.observers_.forEach(function(t) {
|
|
2077
2090
|
t.dependenciesState_ === g.UP_TO_DATE_ && t.onBecomeStale_(), t.dependenciesState_ = g.STALE_;
|
|
2078
2091
|
}));
|
|
@@ -2095,7 +2108,7 @@ var ot = /* @__PURE__ */ function() {
|
|
|
2095
2108
|
return t.onBecomeStale_ = function() {
|
|
2096
2109
|
this.schedule_();
|
|
2097
2110
|
}, t.schedule_ = function() {
|
|
2098
|
-
this.isScheduled_ || (this.isScheduled_ = !0, f.pendingReactions.push(this),
|
|
2111
|
+
this.isScheduled_ || (this.isScheduled_ = !0, f.pendingReactions.push(this), gi());
|
|
2099
2112
|
}, t.isScheduled = function() {
|
|
2100
2113
|
return this.isScheduled_;
|
|
2101
2114
|
}, t.runReaction_ = function() {
|
|
@@ -2117,7 +2130,7 @@ var ot = /* @__PURE__ */ function() {
|
|
|
2117
2130
|
L(), this.isRunning_ = !0;
|
|
2118
2131
|
var a = f.trackingContext;
|
|
2119
2132
|
f.trackingContext = this;
|
|
2120
|
-
var r =
|
|
2133
|
+
var r = hi(this, i, void 0);
|
|
2121
2134
|
f.trackingContext = a, this.isRunning_ = !1, this.isTrackPending_ = !1, this.isDisposed_ && jt(this), et(r) && this.reportExceptionInDerivation_(r.cause), M();
|
|
2122
2135
|
}
|
|
2123
2136
|
}, t.reportExceptionInDerivation_ = function(i) {
|
|
@@ -2145,7 +2158,7 @@ var ot = /* @__PURE__ */ function() {
|
|
|
2145
2158
|
}(), Es = 100, Fs = function(t) {
|
|
2146
2159
|
return t();
|
|
2147
2160
|
};
|
|
2148
|
-
function
|
|
2161
|
+
function gi() {
|
|
2149
2162
|
f.inBatch > 0 || f.isRunningReactions || Fs(Rs);
|
|
2150
2163
|
}
|
|
2151
2164
|
function Rs() {
|
|
@@ -2165,34 +2178,34 @@ function Cs(e) {
|
|
|
2165
2178
|
return console.warn("[mobx.spy] Is a no-op in production builds"), function() {
|
|
2166
2179
|
};
|
|
2167
2180
|
}
|
|
2168
|
-
var
|
|
2181
|
+
var Ni = "action", ws = "action.bound", Oi = "autoAction", Ds = "autoAction.bound", Ts = "<unnamed action>", Ai = /* @__PURE__ */ Qe(Ni), Ps = /* @__PURE__ */ Qe(ws, {
|
|
2169
2182
|
bound: !0
|
|
2170
|
-
}),
|
|
2183
|
+
}), Ei = /* @__PURE__ */ Qe(Oi, {
|
|
2171
2184
|
autoAction: !0
|
|
2172
2185
|
}), Vs = /* @__PURE__ */ Qe(Ds, {
|
|
2173
2186
|
autoAction: !0,
|
|
2174
2187
|
bound: !0
|
|
2175
2188
|
});
|
|
2176
|
-
function
|
|
2189
|
+
function Fi(e) {
|
|
2177
2190
|
var t = function(i, a) {
|
|
2178
2191
|
if (q(i))
|
|
2179
2192
|
return Ne(i.name || Ts, i, e);
|
|
2180
2193
|
if (q(a))
|
|
2181
2194
|
return Ne(i, a, e);
|
|
2182
2195
|
if (le(a))
|
|
2183
|
-
return Ue(i, a, e ?
|
|
2196
|
+
return Ue(i, a, e ? Ei : Ai);
|
|
2184
2197
|
if (le(i))
|
|
2185
|
-
return X(Qe(e ?
|
|
2198
|
+
return X(Qe(e ? Oi : Ni, {
|
|
2186
2199
|
name: i,
|
|
2187
2200
|
autoAction: e
|
|
2188
2201
|
}));
|
|
2189
2202
|
};
|
|
2190
2203
|
return t;
|
|
2191
2204
|
}
|
|
2192
|
-
var oe = /* @__PURE__ */
|
|
2193
|
-
Object.assign(oe,
|
|
2194
|
-
var Ie = /* @__PURE__ */
|
|
2195
|
-
Object.assign(Ie,
|
|
2205
|
+
var oe = /* @__PURE__ */ Fi(!1);
|
|
2206
|
+
Object.assign(oe, Ai);
|
|
2207
|
+
var Ie = /* @__PURE__ */ Fi(!0);
|
|
2208
|
+
Object.assign(Ie, Ei);
|
|
2196
2209
|
oe.bound = /* @__PURE__ */ X(Ps);
|
|
2197
2210
|
Ie.bound = /* @__PURE__ */ X(Vs);
|
|
2198
2211
|
function Xt(e) {
|
|
@@ -2207,7 +2220,7 @@ function Ht(e, t) {
|
|
|
2207
2220
|
this.track(d);
|
|
2208
2221
|
}, t.onError, t.requiresObservable);
|
|
2209
2222
|
else {
|
|
2210
|
-
var o =
|
|
2223
|
+
var o = Ri(t), u = !1;
|
|
2211
2224
|
s = new ot(a, function() {
|
|
2212
2225
|
u || (u = !0, o(function() {
|
|
2213
2226
|
u = !1, s.isDisposed_ || s.track(d);
|
|
@@ -2222,7 +2235,7 @@ function Ht(e, t) {
|
|
|
2222
2235
|
var Is = function(t) {
|
|
2223
2236
|
return t();
|
|
2224
2237
|
};
|
|
2225
|
-
function
|
|
2238
|
+
function Ri(e) {
|
|
2226
2239
|
return e.scheduler ? e.scheduler : e.delay ? function(t) {
|
|
2227
2240
|
return setTimeout(t, e.delay);
|
|
2228
2241
|
} : Is;
|
|
@@ -2230,17 +2243,17 @@ function Fi(e) {
|
|
|
2230
2243
|
function xs(e, t, n) {
|
|
2231
2244
|
var i;
|
|
2232
2245
|
n === void 0 && (n = zt);
|
|
2233
|
-
var a = (i = n.name) != null ? i : "Reaction", r = oe(a, n.onError ? js(n.onError, t) : t), s = !n.scheduler && !n.delay, o =
|
|
2246
|
+
var a = (i = n.name) != null ? i : "Reaction", r = oe(a, n.onError ? js(n.onError, t) : t), s = !n.scheduler && !n.delay, o = Ri(n), u = !0, d = !1, c, v, S = n.compareStructural ? be.structural : n.equals || be.default, F = new ot(a, function() {
|
|
2234
2247
|
u || s ? I() : d || (d = !0, o(I));
|
|
2235
2248
|
}, n.onError, n.requiresObservable);
|
|
2236
2249
|
function I() {
|
|
2237
2250
|
if (d = !1, !F.isDisposed_) {
|
|
2238
2251
|
var R = !1;
|
|
2239
2252
|
F.track(function() {
|
|
2240
|
-
var A =
|
|
2253
|
+
var A = fi(!1, function() {
|
|
2241
2254
|
return e(F);
|
|
2242
2255
|
});
|
|
2243
|
-
R = u || !
|
|
2256
|
+
R = u || !S(c, A), v = c, c = A;
|
|
2244
2257
|
}), (u && n.fireImmediately || !u && R) && r(c, v, F), u = !1;
|
|
2245
2258
|
}
|
|
2246
2259
|
}
|
|
@@ -2257,19 +2270,19 @@ function js(e, t) {
|
|
|
2257
2270
|
}
|
|
2258
2271
|
var Ls = "onBO", Ms = "onBUO";
|
|
2259
2272
|
function Bs(e, t, n) {
|
|
2260
|
-
return
|
|
2273
|
+
return wi(Ls, e, t, n);
|
|
2261
2274
|
}
|
|
2262
|
-
function
|
|
2263
|
-
return
|
|
2275
|
+
function Ci(e, t, n) {
|
|
2276
|
+
return wi(Ms, e, t, n);
|
|
2264
2277
|
}
|
|
2265
|
-
function
|
|
2278
|
+
function wi(e, t, n, i) {
|
|
2266
2279
|
var a = typeof i == "function" ? de(t, n) : de(t), r = q(i) ? i : n, s = e + "L";
|
|
2267
2280
|
return a[s] ? a[s].add(r) : a[s] = /* @__PURE__ */ new Set([r]), function() {
|
|
2268
2281
|
var o = a[s];
|
|
2269
2282
|
o && (o.delete(r), o.size === 0 && delete a[s]);
|
|
2270
2283
|
};
|
|
2271
2284
|
}
|
|
2272
|
-
function
|
|
2285
|
+
function Di(e, t, n, i) {
|
|
2273
2286
|
var a = Dr(t), r = bt(e, i)[k];
|
|
2274
2287
|
L();
|
|
2275
2288
|
try {
|
|
@@ -2287,21 +2300,21 @@ function wi(e, t, n, i) {
|
|
|
2287
2300
|
return e;
|
|
2288
2301
|
}
|
|
2289
2302
|
var Us = 0;
|
|
2290
|
-
function
|
|
2303
|
+
function Ti() {
|
|
2291
2304
|
this.message = "FLOW_CANCELLED";
|
|
2292
2305
|
}
|
|
2293
|
-
|
|
2294
|
-
var On = /* @__PURE__ */
|
|
2306
|
+
Ti.prototype = /* @__PURE__ */ Object.create(Error.prototype);
|
|
2307
|
+
var On = /* @__PURE__ */ ii("flow"), Gs = /* @__PURE__ */ ii("flow.bound", {
|
|
2295
2308
|
bound: !0
|
|
2296
2309
|
}), xe = /* @__PURE__ */ Object.assign(function(t, n) {
|
|
2297
2310
|
if (le(n))
|
|
2298
2311
|
return Ue(t, n, On);
|
|
2299
2312
|
var i = t, a = i.name || "<unnamed flow>", r = function() {
|
|
2300
|
-
var o = this, u = arguments, d = ++Us, c = oe(a + " - runid: " + d + " - init", i).apply(o, u), v,
|
|
2313
|
+
var o = this, u = arguments, d = ++Us, c = oe(a + " - runid: " + d + " - init", i).apply(o, u), v, S = void 0, F = new Promise(function(I, R) {
|
|
2301
2314
|
var A = 0;
|
|
2302
2315
|
v = R;
|
|
2303
2316
|
function W(w) {
|
|
2304
|
-
|
|
2317
|
+
S = void 0;
|
|
2305
2318
|
var x;
|
|
2306
2319
|
try {
|
|
2307
2320
|
x = oe(a + " - runid: " + d + " - yield " + A++, c.next).call(c, w);
|
|
@@ -2310,8 +2323,8 @@ var On = /* @__PURE__ */ ni("flow"), Gs = /* @__PURE__ */ ni("flow.bound", {
|
|
|
2310
2323
|
}
|
|
2311
2324
|
C(x);
|
|
2312
2325
|
}
|
|
2313
|
-
function
|
|
2314
|
-
|
|
2326
|
+
function K(w) {
|
|
2327
|
+
S = void 0;
|
|
2315
2328
|
var x;
|
|
2316
2329
|
try {
|
|
2317
2330
|
x = oe(a + " - runid: " + d + " - yield " + A++, c.throw).call(c, w);
|
|
@@ -2325,15 +2338,15 @@ var On = /* @__PURE__ */ ni("flow"), Gs = /* @__PURE__ */ ni("flow.bound", {
|
|
|
2325
2338
|
w.then(C, R);
|
|
2326
2339
|
return;
|
|
2327
2340
|
}
|
|
2328
|
-
return w.done ? I(w.value) : (
|
|
2341
|
+
return w.done ? I(w.value) : (S = Promise.resolve(w.value), S.then(W, K));
|
|
2329
2342
|
}
|
|
2330
2343
|
W(void 0);
|
|
2331
2344
|
});
|
|
2332
2345
|
return F.cancel = oe(a + " - runid: " + d + " - cancel", function() {
|
|
2333
2346
|
try {
|
|
2334
|
-
|
|
2347
|
+
S && An(S);
|
|
2335
2348
|
var I = c.return(void 0), R = Promise.resolve(I.value);
|
|
2336
|
-
R.then(pe, pe), An(R), v(new
|
|
2349
|
+
R.then(pe, pe), An(R), v(new Ti());
|
|
2337
2350
|
} catch (A) {
|
|
2338
2351
|
v(A);
|
|
2339
2352
|
}
|
|
@@ -2374,7 +2387,7 @@ function zs(e) {
|
|
|
2374
2387
|
return de(e[0], e[1]);
|
|
2375
2388
|
}
|
|
2376
2389
|
}
|
|
2377
|
-
function
|
|
2390
|
+
function J(e, t) {
|
|
2378
2391
|
t === void 0 && (t = void 0), L();
|
|
2379
2392
|
try {
|
|
2380
2393
|
return e.apply(t);
|
|
@@ -2413,26 +2426,26 @@ var $s = {
|
|
|
2413
2426
|
};
|
|
2414
2427
|
function qs(e, t) {
|
|
2415
2428
|
var n, i;
|
|
2416
|
-
return
|
|
2429
|
+
return Wn(), e = bt(e, t), (i = (n = e[k]).proxy_) != null ? i : n.proxy_ = new Proxy(e, $s);
|
|
2417
2430
|
}
|
|
2418
|
-
function
|
|
2431
|
+
function U(e) {
|
|
2419
2432
|
return e.interceptors_ !== void 0 && e.interceptors_.length > 0;
|
|
2420
2433
|
}
|
|
2421
2434
|
function qe(e, t) {
|
|
2422
2435
|
var n = e.interceptors_ || (e.interceptors_ = []);
|
|
2423
|
-
return n.push(t),
|
|
2436
|
+
return n.push(t), Zn(function() {
|
|
2424
2437
|
var i = n.indexOf(t);
|
|
2425
2438
|
i !== -1 && n.splice(i, 1);
|
|
2426
2439
|
});
|
|
2427
2440
|
}
|
|
2428
|
-
function
|
|
2441
|
+
function G(e, t) {
|
|
2429
2442
|
var n = Ae();
|
|
2430
2443
|
try {
|
|
2431
2444
|
for (var i = [].concat(e.interceptors_ || []), a = 0, r = i.length; a < r && (t = i[a](t), t && !t.type && N(14), !!t); a++)
|
|
2432
2445
|
;
|
|
2433
2446
|
return t;
|
|
2434
2447
|
} finally {
|
|
2435
|
-
|
|
2448
|
+
re(n);
|
|
2436
2449
|
}
|
|
2437
2450
|
}
|
|
2438
2451
|
function z(e) {
|
|
@@ -2440,7 +2453,7 @@ function z(e) {
|
|
|
2440
2453
|
}
|
|
2441
2454
|
function We(e, t) {
|
|
2442
2455
|
var n = e.changeListeners_ || (e.changeListeners_ = []);
|
|
2443
|
-
return n.push(t),
|
|
2456
|
+
return n.push(t), Zn(function() {
|
|
2444
2457
|
var i = n.indexOf(t);
|
|
2445
2458
|
i !== -1 && n.splice(i, 1);
|
|
2446
2459
|
});
|
|
@@ -2451,13 +2464,13 @@ function $(e, t) {
|
|
|
2451
2464
|
i = i.slice();
|
|
2452
2465
|
for (var a = 0, r = i.length; a < r; a++)
|
|
2453
2466
|
i[a](t);
|
|
2454
|
-
|
|
2467
|
+
re(n);
|
|
2455
2468
|
}
|
|
2456
2469
|
}
|
|
2457
2470
|
var Dt = /* @__PURE__ */ Symbol("mobx-keys");
|
|
2458
2471
|
function Ws(e, t, n) {
|
|
2459
|
-
if (
|
|
2460
|
-
return
|
|
2472
|
+
if (Y(e))
|
|
2473
|
+
return Di(e, e, t, n);
|
|
2461
2474
|
var i = bt(e, n)[k];
|
|
2462
2475
|
if (!e[Dt]) {
|
|
2463
2476
|
var a = Object.getPrototypeOf(e), r = new Set([].concat(Te(e), Te(a)));
|
|
@@ -2480,7 +2493,7 @@ function Ws(e, t, n) {
|
|
|
2480
2493
|
var En = "splice", H = "update", Zs = 1e4, Xs = {
|
|
2481
2494
|
get: function(t, n) {
|
|
2482
2495
|
var i = t[k];
|
|
2483
|
-
return n === k ? i : n === "length" ? i.getArrayLength_() : typeof n == "string" && !isNaN(n) ? i.get_(parseInt(n)) :
|
|
2496
|
+
return n === k ? i : n === "length" ? i.getArrayLength_() : typeof n == "string" && !isNaN(n) ? i.get_(parseInt(n)) : ae(dt, n) ? dt[n] : t[n];
|
|
2484
2497
|
},
|
|
2485
2498
|
set: function(t, n, i) {
|
|
2486
2499
|
var a = t[k];
|
|
@@ -2489,7 +2502,7 @@ var En = "splice", H = "update", Zs = 1e4, Xs = {
|
|
|
2489
2502
|
preventExtensions: function() {
|
|
2490
2503
|
N(15);
|
|
2491
2504
|
}
|
|
2492
|
-
},
|
|
2505
|
+
}, Jt = /* @__PURE__ */ function() {
|
|
2493
2506
|
function e(n, i, a, r) {
|
|
2494
2507
|
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 Ge(n), this.enhancer_ = function(s, o) {
|
|
2495
2508
|
return i(s, o, "ObservableArray[..]");
|
|
@@ -2527,13 +2540,13 @@ var En = "splice", H = "update", Zs = 1e4, Xs = {
|
|
|
2527
2540
|
} else
|
|
2528
2541
|
this.spliceWithArray_(i, a - i);
|
|
2529
2542
|
}, t.updateArrayLength_ = function(i, a) {
|
|
2530
|
-
i !== this.lastKnownLength_ && N(16), this.lastKnownLength_ += a, this.legacyMode_ && a > 0 &&
|
|
2543
|
+
i !== this.lastKnownLength_ && N(16), this.lastKnownLength_ += a, this.legacyMode_ && a > 0 && Qi(i + a + 1);
|
|
2531
2544
|
}, t.spliceWithArray_ = function(i, a, r) {
|
|
2532
2545
|
var s = this;
|
|
2533
2546
|
this.atom_;
|
|
2534
2547
|
var o = this.values_.length;
|
|
2535
|
-
if (i === void 0 ? i = 0 : i > o ? i = o : i < 0 && (i = Math.max(0, o + i)), arguments.length === 1 ? a = o - i : a == null ? a = 0 : a = Math.max(0, Math.min(a, o - i)), r === void 0 && (r = Vt),
|
|
2536
|
-
var u =
|
|
2548
|
+
if (i === void 0 ? i = 0 : i > o ? i = o : i < 0 && (i = Math.max(0, o + i)), arguments.length === 1 ? a = o - i : a == null ? a = 0 : a = Math.max(0, Math.min(a, o - i)), r === void 0 && (r = Vt), U(this)) {
|
|
2549
|
+
var u = G(this, {
|
|
2537
2550
|
object: this.proxy_,
|
|
2538
2551
|
type: En,
|
|
2539
2552
|
index: i,
|
|
@@ -2600,8 +2613,8 @@ var En = "splice", H = "update", Zs = 1e4, Xs = {
|
|
|
2600
2613
|
if (this.legacyMode_ && i > r.length && N(17, i, r.length), i < r.length) {
|
|
2601
2614
|
this.atom_;
|
|
2602
2615
|
var s = r[i];
|
|
2603
|
-
if (
|
|
2604
|
-
var o =
|
|
2616
|
+
if (U(this)) {
|
|
2617
|
+
var o = G(this, {
|
|
2605
2618
|
type: H,
|
|
2606
2619
|
object: this.proxy_,
|
|
2607
2620
|
index: i,
|
|
@@ -2622,9 +2635,9 @@ var En = "splice", H = "update", Zs = 1e4, Xs = {
|
|
|
2622
2635
|
}, e;
|
|
2623
2636
|
}();
|
|
2624
2637
|
function Hs(e, t, n, i) {
|
|
2625
|
-
n === void 0 && (n = "ObservableArray"), i === void 0 && (i = !1),
|
|
2626
|
-
var a = new
|
|
2627
|
-
|
|
2638
|
+
n === void 0 && (n = "ObservableArray"), i === void 0 && (i = !1), Wn();
|
|
2639
|
+
var a = new Jt(n, t, i, !1);
|
|
2640
|
+
Hn(a.values_, k, a);
|
|
2628
2641
|
var r = new Proxy(a.values_, Xs);
|
|
2629
2642
|
if (a.proxy_ = r, e && e.length) {
|
|
2630
2643
|
var s = Ke(!0);
|
|
@@ -2705,16 +2718,16 @@ P("lastIndexOf", ee);
|
|
|
2705
2718
|
P("slice", ee);
|
|
2706
2719
|
P("toString", ee);
|
|
2707
2720
|
P("toLocaleString", ee);
|
|
2708
|
-
P("every",
|
|
2709
|
-
P("filter",
|
|
2710
|
-
P("find",
|
|
2711
|
-
P("findIndex",
|
|
2712
|
-
P("flatMap",
|
|
2713
|
-
P("forEach",
|
|
2714
|
-
P("map",
|
|
2715
|
-
P("some",
|
|
2716
|
-
P("reduce",
|
|
2717
|
-
P("reduceRight",
|
|
2721
|
+
P("every", se);
|
|
2722
|
+
P("filter", se);
|
|
2723
|
+
P("find", se);
|
|
2724
|
+
P("findIndex", se);
|
|
2725
|
+
P("flatMap", se);
|
|
2726
|
+
P("forEach", se);
|
|
2727
|
+
P("map", se);
|
|
2728
|
+
P("some", se);
|
|
2729
|
+
P("reduce", Pi);
|
|
2730
|
+
P("reduceRight", Pi);
|
|
2718
2731
|
function P(e, t) {
|
|
2719
2732
|
typeof Array.prototype[e] == "function" && (dt[e] = t(e));
|
|
2720
2733
|
}
|
|
@@ -2726,7 +2739,7 @@ function ee(e) {
|
|
|
2726
2739
|
return n[e].apply(n, arguments);
|
|
2727
2740
|
};
|
|
2728
2741
|
}
|
|
2729
|
-
function
|
|
2742
|
+
function se(e) {
|
|
2730
2743
|
return function(t, n) {
|
|
2731
2744
|
var i = this, a = this[k];
|
|
2732
2745
|
a.atom_.reportObserved();
|
|
@@ -2736,7 +2749,7 @@ function re(e) {
|
|
|
2736
2749
|
});
|
|
2737
2750
|
};
|
|
2738
2751
|
}
|
|
2739
|
-
function
|
|
2752
|
+
function Pi(e) {
|
|
2740
2753
|
return function() {
|
|
2741
2754
|
var t = this, n = this[k];
|
|
2742
2755
|
n.atom_.reportObserved();
|
|
@@ -2746,17 +2759,17 @@ function Ti(e) {
|
|
|
2746
2759
|
}, i[e].apply(i, arguments);
|
|
2747
2760
|
};
|
|
2748
2761
|
}
|
|
2749
|
-
var
|
|
2762
|
+
var Js = /* @__PURE__ */ ce("ObservableArrayAdministration", Jt);
|
|
2750
2763
|
function St(e) {
|
|
2751
|
-
return vt(e) &&
|
|
2764
|
+
return vt(e) && Js(e[k]);
|
|
2752
2765
|
}
|
|
2753
|
-
var
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
var
|
|
2766
|
+
var Vi, Ii, Ys = {}, ie = "add", ct = "delete";
|
|
2767
|
+
Vi = Symbol.iterator;
|
|
2768
|
+
Ii = Symbol.toStringTag;
|
|
2769
|
+
var xi = /* @__PURE__ */ function() {
|
|
2757
2770
|
function e(n, i, a) {
|
|
2758
2771
|
var r = this;
|
|
2759
|
-
i === void 0 && (i = ge), a === void 0 && (a = "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[k] =
|
|
2772
|
+
i === void 0 && (i = ge), a === void 0 && (a = "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[k] = Ys, 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, q(Map) || N(18), this.keysAtom_ = ti("ObservableMap.keys()"), this.data_ = /* @__PURE__ */ new Map(), this.hasMap_ = /* @__PURE__ */ new Map(), fi(!0, function() {
|
|
2760
2773
|
r.merge(n);
|
|
2761
2774
|
});
|
|
2762
2775
|
}
|
|
@@ -2770,16 +2783,16 @@ var Ii = /* @__PURE__ */ function() {
|
|
|
2770
2783
|
var r = this.hasMap_.get(i);
|
|
2771
2784
|
if (!r) {
|
|
2772
2785
|
var s = r = new ye(this.has_(i), pt, "ObservableMap.key?", !1);
|
|
2773
|
-
this.hasMap_.set(i, s),
|
|
2786
|
+
this.hasMap_.set(i, s), Ci(s, function() {
|
|
2774
2787
|
return a.hasMap_.delete(i);
|
|
2775
2788
|
});
|
|
2776
2789
|
}
|
|
2777
2790
|
return r.get();
|
|
2778
2791
|
}, t.set = function(i, a) {
|
|
2779
2792
|
var r = this.has_(i);
|
|
2780
|
-
if (
|
|
2781
|
-
var s =
|
|
2782
|
-
type: r ? H :
|
|
2793
|
+
if (U(this)) {
|
|
2794
|
+
var s = G(this, {
|
|
2795
|
+
type: r ? H : ie,
|
|
2783
2796
|
object: this,
|
|
2784
2797
|
newValue: a,
|
|
2785
2798
|
name: i
|
|
@@ -2791,8 +2804,8 @@ var Ii = /* @__PURE__ */ function() {
|
|
|
2791
2804
|
return r ? this.updateValue_(i, a) : this.addValue_(i, a), this;
|
|
2792
2805
|
}, t.delete = function(i) {
|
|
2793
2806
|
var a = this;
|
|
2794
|
-
if (this.keysAtom_,
|
|
2795
|
-
var r =
|
|
2807
|
+
if (this.keysAtom_, U(this)) {
|
|
2808
|
+
var r = G(this, {
|
|
2796
2809
|
type: ct,
|
|
2797
2810
|
object: this,
|
|
2798
2811
|
name: i
|
|
@@ -2809,7 +2822,7 @@ var Ii = /* @__PURE__ */ function() {
|
|
|
2809
2822
|
oldValue: this.data_.get(i).value_,
|
|
2810
2823
|
name: i
|
|
2811
2824
|
} : null;
|
|
2812
|
-
return
|
|
2825
|
+
return J(function() {
|
|
2813
2826
|
var d;
|
|
2814
2827
|
a.keysAtom_.reportChanged(), (d = a.hasMap_.get(i)) == null || d.setNewValue_(!1);
|
|
2815
2828
|
var c = a.data_.get(i);
|
|
@@ -2833,14 +2846,14 @@ var Ii = /* @__PURE__ */ function() {
|
|
|
2833
2846
|
}
|
|
2834
2847
|
}, t.addValue_ = function(i, a) {
|
|
2835
2848
|
var r = this;
|
|
2836
|
-
this.keysAtom_,
|
|
2849
|
+
this.keysAtom_, J(function() {
|
|
2837
2850
|
var d, c = new ye(a, r.enhancer_, "ObservableMap.key", !1);
|
|
2838
2851
|
r.data_.set(i, c), a = c.value_, (d = r.hasMap_.get(i)) == null || d.setNewValue_(!0), r.keysAtom_.reportChanged();
|
|
2839
2852
|
});
|
|
2840
2853
|
var s = De(), o = z(this), u = o || s ? {
|
|
2841
2854
|
observableKind: "map",
|
|
2842
2855
|
debugObjectName: this.name_,
|
|
2843
|
-
type:
|
|
2856
|
+
type: ie,
|
|
2844
2857
|
object: this,
|
|
2845
2858
|
name: i,
|
|
2846
2859
|
newValue: a
|
|
@@ -2874,7 +2887,7 @@ var Ii = /* @__PURE__ */ function() {
|
|
|
2874
2887
|
};
|
|
2875
2888
|
}
|
|
2876
2889
|
});
|
|
2877
|
-
}, t[
|
|
2890
|
+
}, t[Vi] = function() {
|
|
2878
2891
|
return this.entries();
|
|
2879
2892
|
}, t.forEach = function(i, a) {
|
|
2880
2893
|
for (var r = ke(this), s; !(s = r()).done; ) {
|
|
@@ -2883,8 +2896,8 @@ var Ii = /* @__PURE__ */ function() {
|
|
|
2883
2896
|
}
|
|
2884
2897
|
}, t.merge = function(i) {
|
|
2885
2898
|
var a = this;
|
|
2886
|
-
return fe(i) && (i = new Map(i)),
|
|
2887
|
-
|
|
2899
|
+
return fe(i) && (i = new Map(i)), J(function() {
|
|
2900
|
+
Y(i) ? wr(i).forEach(function(r) {
|
|
2888
2901
|
return a.set(r, i[r]);
|
|
2889
2902
|
}) : Array.isArray(i) ? i.forEach(function(r) {
|
|
2890
2903
|
var s = r[0], o = r[1];
|
|
@@ -2895,8 +2908,8 @@ var Ii = /* @__PURE__ */ function() {
|
|
|
2895
2908
|
}), this;
|
|
2896
2909
|
}, t.clear = function() {
|
|
2897
2910
|
var i = this;
|
|
2898
|
-
|
|
2899
|
-
|
|
2911
|
+
J(function() {
|
|
2912
|
+
pi(function() {
|
|
2900
2913
|
for (var a = ke(i.keys()), r; !(r = a()).done; ) {
|
|
2901
2914
|
var s = r.value;
|
|
2902
2915
|
i.delete(s);
|
|
@@ -2905,7 +2918,7 @@ var Ii = /* @__PURE__ */ function() {
|
|
|
2905
2918
|
});
|
|
2906
2919
|
}, t.replace = function(i) {
|
|
2907
2920
|
var a = this;
|
|
2908
|
-
return
|
|
2921
|
+
return J(function() {
|
|
2909
2922
|
for (var r = eo(i), s = /* @__PURE__ */ new Map(), o = !1, u = ke(a.data_.keys()), d; !(d = u()).done; ) {
|
|
2910
2923
|
var c = d.value;
|
|
2911
2924
|
if (!r.has(c)) {
|
|
@@ -2913,16 +2926,16 @@ var Ii = /* @__PURE__ */ function() {
|
|
|
2913
2926
|
if (v)
|
|
2914
2927
|
o = !0;
|
|
2915
2928
|
else {
|
|
2916
|
-
var
|
|
2917
|
-
s.set(c,
|
|
2929
|
+
var S = a.data_.get(c);
|
|
2930
|
+
s.set(c, S);
|
|
2918
2931
|
}
|
|
2919
2932
|
}
|
|
2920
2933
|
}
|
|
2921
2934
|
for (var F = ke(r.entries()), I; !(I = F()).done; ) {
|
|
2922
|
-
var R = I.value, A = R[0], W = R[1],
|
|
2935
|
+
var R = I.value, A = R[0], W = R[1], K = a.data_.has(A);
|
|
2923
2936
|
if (a.set(A, W), a.data_.has(A)) {
|
|
2924
2937
|
var C = a.data_.get(A);
|
|
2925
|
-
s.set(A, C),
|
|
2938
|
+
s.set(A, C), K || (o = !0);
|
|
2926
2939
|
}
|
|
2927
2940
|
}
|
|
2928
2941
|
if (!o)
|
|
@@ -2952,18 +2965,18 @@ var Ii = /* @__PURE__ */ function() {
|
|
|
2952
2965
|
return this.keysAtom_.reportObserved(), this.data_.size;
|
|
2953
2966
|
}
|
|
2954
2967
|
}, {
|
|
2955
|
-
key:
|
|
2968
|
+
key: Ii,
|
|
2956
2969
|
get: function() {
|
|
2957
2970
|
return "Map";
|
|
2958
2971
|
}
|
|
2959
2972
|
}]), e;
|
|
2960
|
-
}(), fe = /* @__PURE__ */ ce("ObservableMap",
|
|
2973
|
+
}(), fe = /* @__PURE__ */ ce("ObservableMap", xi);
|
|
2961
2974
|
function eo(e) {
|
|
2962
2975
|
if (Oe(e) || fe(e))
|
|
2963
2976
|
return e;
|
|
2964
2977
|
if (Array.isArray(e))
|
|
2965
2978
|
return new Map(e);
|
|
2966
|
-
if (
|
|
2979
|
+
if (Y(e)) {
|
|
2967
2980
|
var t = /* @__PURE__ */ new Map();
|
|
2968
2981
|
for (var n in e)
|
|
2969
2982
|
t.set(n, e[n]);
|
|
@@ -2971,12 +2984,12 @@ function eo(e) {
|
|
|
2971
2984
|
} else
|
|
2972
2985
|
return N(21, e);
|
|
2973
2986
|
}
|
|
2974
|
-
var
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
var
|
|
2987
|
+
var ji, Li, to = {};
|
|
2988
|
+
ji = Symbol.iterator;
|
|
2989
|
+
Li = Symbol.toStringTag;
|
|
2990
|
+
var Mi = /* @__PURE__ */ function() {
|
|
2978
2991
|
function e(n, i, a) {
|
|
2979
|
-
i === void 0 && (i = ge), a === void 0 && (a = "ObservableSet"), this.name_ = void 0, this[k] = to, 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, q(Set) || N(22), this.atom_ =
|
|
2992
|
+
i === void 0 && (i = ge), a === void 0 && (a = "ObservableSet"), this.name_ = void 0, this[k] = to, 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, q(Set) || N(22), this.atom_ = ti(this.name_), this.enhancer_ = function(r, s) {
|
|
2980
2993
|
return i(r, s, a);
|
|
2981
2994
|
}, n && this.replace(n);
|
|
2982
2995
|
}
|
|
@@ -2985,8 +2998,8 @@ var Li = /* @__PURE__ */ function() {
|
|
|
2985
2998
|
return this.dehancer !== void 0 ? this.dehancer(i) : i;
|
|
2986
2999
|
}, t.clear = function() {
|
|
2987
3000
|
var i = this;
|
|
2988
|
-
|
|
2989
|
-
|
|
3001
|
+
J(function() {
|
|
3002
|
+
pi(function() {
|
|
2990
3003
|
for (var a = ke(i.data_.values()), r; !(r = a()).done; ) {
|
|
2991
3004
|
var s = r.value;
|
|
2992
3005
|
i.delete(s);
|
|
@@ -3000,9 +3013,9 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3000
3013
|
}
|
|
3001
3014
|
}, t.add = function(i) {
|
|
3002
3015
|
var a = this;
|
|
3003
|
-
if (this.atom_,
|
|
3004
|
-
var r =
|
|
3005
|
-
type:
|
|
3016
|
+
if (this.atom_, U(this)) {
|
|
3017
|
+
var r = G(this, {
|
|
3018
|
+
type: ie,
|
|
3006
3019
|
object: this,
|
|
3007
3020
|
newValue: i
|
|
3008
3021
|
});
|
|
@@ -3010,13 +3023,13 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3010
3023
|
return this;
|
|
3011
3024
|
}
|
|
3012
3025
|
if (!this.has(i)) {
|
|
3013
|
-
|
|
3026
|
+
J(function() {
|
|
3014
3027
|
a.data_.add(a.enhancer_(i, void 0)), a.atom_.reportChanged();
|
|
3015
3028
|
});
|
|
3016
3029
|
var s = !1, o = z(this), u = o || s ? {
|
|
3017
3030
|
observableKind: "set",
|
|
3018
3031
|
debugObjectName: this.name_,
|
|
3019
|
-
type:
|
|
3032
|
+
type: ie,
|
|
3020
3033
|
object: this,
|
|
3021
3034
|
newValue: i
|
|
3022
3035
|
} : null;
|
|
@@ -3025,8 +3038,8 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3025
3038
|
return this;
|
|
3026
3039
|
}, t.delete = function(i) {
|
|
3027
3040
|
var a = this;
|
|
3028
|
-
if (
|
|
3029
|
-
var r =
|
|
3041
|
+
if (U(this)) {
|
|
3042
|
+
var r = G(this, {
|
|
3030
3043
|
type: ct,
|
|
3031
3044
|
object: this,
|
|
3032
3045
|
oldValue: i
|
|
@@ -3042,7 +3055,7 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3042
3055
|
object: this,
|
|
3043
3056
|
oldValue: i
|
|
3044
3057
|
} : null;
|
|
3045
|
-
return
|
|
3058
|
+
return J(function() {
|
|
3046
3059
|
a.atom_.reportChanged(), a.data_.delete(i);
|
|
3047
3060
|
}), o && $(this, u), !0;
|
|
3048
3061
|
}
|
|
@@ -3079,7 +3092,7 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3079
3092
|
});
|
|
3080
3093
|
}, t.replace = function(i) {
|
|
3081
3094
|
var a = this;
|
|
3082
|
-
return Ee(i) && (i = new Set(i)),
|
|
3095
|
+
return Ee(i) && (i = new Set(i)), J(function() {
|
|
3083
3096
|
Array.isArray(i) ? (a.clear(), i.forEach(function(r) {
|
|
3084
3097
|
return a.add(r);
|
|
3085
3098
|
})) : Be(i) ? (a.clear(), i.forEach(function(r) {
|
|
@@ -3094,7 +3107,7 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3094
3107
|
return Array.from(this);
|
|
3095
3108
|
}, t.toString = function() {
|
|
3096
3109
|
return "[object ObservableSet]";
|
|
3097
|
-
}, t[
|
|
3110
|
+
}, t[ji] = function() {
|
|
3098
3111
|
return this.values();
|
|
3099
3112
|
}, $t(e, [{
|
|
3100
3113
|
key: "size",
|
|
@@ -3102,14 +3115,14 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3102
3115
|
return this.atom_.reportObserved(), this.data_.size;
|
|
3103
3116
|
}
|
|
3104
3117
|
}, {
|
|
3105
|
-
key:
|
|
3118
|
+
key: Li,
|
|
3106
3119
|
get: function() {
|
|
3107
3120
|
return "Set";
|
|
3108
3121
|
}
|
|
3109
3122
|
}]), e;
|
|
3110
|
-
}(), Ee = /* @__PURE__ */ ce("ObservableSet",
|
|
3123
|
+
}(), Ee = /* @__PURE__ */ ce("ObservableSet", Mi), Fn = /* @__PURE__ */ Object.create(null), Rn = "remove", Bi = /* @__PURE__ */ function() {
|
|
3111
3124
|
function e(n, i, a, r) {
|
|
3112
|
-
i === void 0 && (i = /* @__PURE__ */ new Map()), r === void 0 && (r = ns), this.target_ = void 0, this.values_ = void 0, this.name_ = void 0, this.defaultAnnotation_ = void 0, this.keysAtom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.proxy_ = void 0, this.isPlainObject_ = void 0, this.appliedAnnotations_ = void 0, this.pendingKeys_ = void 0, this.target_ = n, this.values_ = i, this.name_ = a, this.defaultAnnotation_ = r, this.keysAtom_ = new Ge("ObservableObject.keys"), this.isPlainObject_ =
|
|
3125
|
+
i === void 0 && (i = /* @__PURE__ */ new Map()), r === void 0 && (r = ns), this.target_ = void 0, this.values_ = void 0, this.name_ = void 0, this.defaultAnnotation_ = void 0, this.keysAtom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.proxy_ = void 0, this.isPlainObject_ = void 0, this.appliedAnnotations_ = void 0, this.pendingKeys_ = void 0, this.target_ = n, this.values_ = i, this.name_ = a, this.defaultAnnotation_ = r, this.keysAtom_ = new Ge("ObservableObject.keys"), this.isPlainObject_ = Y(this.target_);
|
|
3113
3126
|
}
|
|
3114
3127
|
var t = e.prototype;
|
|
3115
3128
|
return t.getObservablePropValue_ = function(i) {
|
|
@@ -3118,8 +3131,8 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3118
3131
|
var r = this.values_.get(i);
|
|
3119
3132
|
if (r instanceof Ve)
|
|
3120
3133
|
return r.set(a), !0;
|
|
3121
|
-
if (
|
|
3122
|
-
var s =
|
|
3134
|
+
if (U(this)) {
|
|
3135
|
+
var s = G(this, {
|
|
3123
3136
|
type: H,
|
|
3124
3137
|
object: this.proxy_ || this.target_,
|
|
3125
3138
|
name: i,
|
|
@@ -3143,9 +3156,9 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3143
3156
|
}
|
|
3144
3157
|
return !0;
|
|
3145
3158
|
}, t.get_ = function(i) {
|
|
3146
|
-
return f.trackingDerivation && !
|
|
3159
|
+
return f.trackingDerivation && !ae(this.target_, i) && this.has_(i), this.target_[i];
|
|
3147
3160
|
}, t.set_ = function(i, a, r) {
|
|
3148
|
-
return r === void 0 && (r = !1),
|
|
3161
|
+
return r === void 0 && (r = !1), ae(this.target_, i) ? this.values_.has(i) ? this.setObservablePropValue_(i, a) : r ? Reflect.set(this.target_, i, a) : (this.target_[i] = a, !0) : this.extend_(i, {
|
|
3149
3162
|
value: a,
|
|
3150
3163
|
enumerable: !0,
|
|
3151
3164
|
writable: !0,
|
|
@@ -3190,11 +3203,11 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3190
3203
|
var s = this.delete_(i);
|
|
3191
3204
|
if (!s)
|
|
3192
3205
|
return s;
|
|
3193
|
-
if (
|
|
3194
|
-
var o =
|
|
3206
|
+
if (U(this)) {
|
|
3207
|
+
var o = G(this, {
|
|
3195
3208
|
object: this.proxy_ || this.target_,
|
|
3196
3209
|
name: i,
|
|
3197
|
-
type:
|
|
3210
|
+
type: ie,
|
|
3198
3211
|
newValue: a.value
|
|
3199
3212
|
});
|
|
3200
3213
|
if (!o)
|
|
@@ -3221,11 +3234,11 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3221
3234
|
var o = this.delete_(i);
|
|
3222
3235
|
if (!o)
|
|
3223
3236
|
return o;
|
|
3224
|
-
if (
|
|
3225
|
-
var u =
|
|
3237
|
+
if (U(this)) {
|
|
3238
|
+
var u = G(this, {
|
|
3226
3239
|
object: this.proxy_ || this.target_,
|
|
3227
3240
|
name: i,
|
|
3228
|
-
type:
|
|
3241
|
+
type: ie,
|
|
3229
3242
|
newValue: a
|
|
3230
3243
|
});
|
|
3231
3244
|
if (!u)
|
|
@@ -3256,11 +3269,11 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3256
3269
|
var s = this.delete_(i);
|
|
3257
3270
|
if (!s)
|
|
3258
3271
|
return s;
|
|
3259
|
-
if (
|
|
3260
|
-
var o =
|
|
3272
|
+
if (U(this)) {
|
|
3273
|
+
var o = G(this, {
|
|
3261
3274
|
object: this.proxy_ || this.target_,
|
|
3262
3275
|
name: i,
|
|
3263
|
-
type:
|
|
3276
|
+
type: ie,
|
|
3264
3277
|
newValue: void 0
|
|
3265
3278
|
});
|
|
3266
3279
|
if (!o)
|
|
@@ -3284,10 +3297,10 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3284
3297
|
}
|
|
3285
3298
|
return !0;
|
|
3286
3299
|
}, t.delete_ = function(i, a) {
|
|
3287
|
-
if (a === void 0 && (a = !1), !
|
|
3300
|
+
if (a === void 0 && (a = !1), !ae(this.target_, i))
|
|
3288
3301
|
return !0;
|
|
3289
|
-
if (
|
|
3290
|
-
var r =
|
|
3302
|
+
if (U(this)) {
|
|
3303
|
+
var r = G(this, {
|
|
3291
3304
|
object: this.proxy_ || this.target_,
|
|
3292
3305
|
name: i,
|
|
3293
3306
|
type: Rn
|
|
@@ -3300,15 +3313,15 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3300
3313
|
L();
|
|
3301
3314
|
var u = z(this), d = !1, c = this.values_.get(i), v = void 0;
|
|
3302
3315
|
if (!c && (u || d)) {
|
|
3303
|
-
var
|
|
3304
|
-
v = (
|
|
3316
|
+
var S;
|
|
3317
|
+
v = (S = at(this.target_, i)) == null ? void 0 : S.value;
|
|
3305
3318
|
}
|
|
3306
3319
|
if (a) {
|
|
3307
3320
|
if (!Reflect.deleteProperty(this.target_, i))
|
|
3308
3321
|
return !1;
|
|
3309
3322
|
} else
|
|
3310
3323
|
delete this.target_[i];
|
|
3311
|
-
if (c && (this.values_.delete(i), c instanceof ye && (v = c.value_),
|
|
3324
|
+
if (c && (this.values_.delete(i), c instanceof ye && (v = c.value_), bi(c)), this.keysAtom_.reportChanged(), (s = this.pendingKeys_) == null || (o = s.get(i)) == null || o.set(i in this.target_), u || d) {
|
|
3312
3325
|
var F = {
|
|
3313
3326
|
type: Rn,
|
|
3314
3327
|
observableKind: "object",
|
|
@@ -3331,7 +3344,7 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3331
3344
|
var r, s, o = z(this), u = !1;
|
|
3332
3345
|
if (o || u) {
|
|
3333
3346
|
var d = o || u ? {
|
|
3334
|
-
type:
|
|
3347
|
+
type: ie,
|
|
3335
3348
|
observableKind: "object",
|
|
3336
3349
|
debugObjectName: this.name_,
|
|
3337
3350
|
object: this.proxy_ || this.target_,
|
|
@@ -3349,12 +3362,12 @@ var Li = /* @__PURE__ */ function() {
|
|
|
3349
3362
|
}();
|
|
3350
3363
|
function bt(e, t) {
|
|
3351
3364
|
var n;
|
|
3352
|
-
if (
|
|
3365
|
+
if (ae(e, k))
|
|
3353
3366
|
return e;
|
|
3354
|
-
var i = (n = t == null ? void 0 : t.name) != null ? n : "ObservableObject", a = new
|
|
3367
|
+
var i = (n = t == null ? void 0 : t.name) != null ? n : "ObservableObject", a = new Bi(e, /* @__PURE__ */ new Map(), String(i), fs(t));
|
|
3355
3368
|
return ht(e, k, a), e;
|
|
3356
3369
|
}
|
|
3357
|
-
var no = /* @__PURE__ */ ce("ObservableObjectAdministration",
|
|
3370
|
+
var no = /* @__PURE__ */ ce("ObservableObjectAdministration", Bi);
|
|
3358
3371
|
function Cn(e) {
|
|
3359
3372
|
return Fn[e] || (Fn[e] = {
|
|
3360
3373
|
get: function() {
|
|
@@ -3372,19 +3385,19 @@ function wn(e, t, n) {
|
|
|
3372
3385
|
var i;
|
|
3373
3386
|
(i = e.target_[_e]) == null || delete i[n];
|
|
3374
3387
|
}
|
|
3375
|
-
var io = /* @__PURE__ */
|
|
3388
|
+
var io = /* @__PURE__ */ Gi(0), Tt = 0, Ui = function() {
|
|
3376
3389
|
};
|
|
3377
3390
|
function ao(e, t) {
|
|
3378
3391
|
Object.setPrototypeOf ? Object.setPrototypeOf(e.prototype, t) : e.prototype.__proto__ !== void 0 ? e.prototype.__proto__ = t : e.prototype = t;
|
|
3379
3392
|
}
|
|
3380
|
-
ao(
|
|
3381
|
-
var
|
|
3382
|
-
|
|
3393
|
+
ao(Ui, Array.prototype);
|
|
3394
|
+
var Yt = /* @__PURE__ */ function(e, t, n) {
|
|
3395
|
+
ei(i, e);
|
|
3383
3396
|
function i(r, s, o, u) {
|
|
3384
3397
|
var d;
|
|
3385
3398
|
o === void 0 && (o = "ObservableArray"), u === void 0 && (u = !1), d = e.call(this) || this;
|
|
3386
|
-
var c = new
|
|
3387
|
-
if (c.proxy_ = Rt(d),
|
|
3399
|
+
var c = new Jt(o, s, u, !0);
|
|
3400
|
+
if (c.proxy_ = Rt(d), Hn(Rt(d), k, c), r && r.length) {
|
|
3388
3401
|
var v = Ke(!0);
|
|
3389
3402
|
d.spliceWithArray(0, 0, r), ze(v);
|
|
3390
3403
|
}
|
|
@@ -3429,12 +3442,12 @@ var Jt = /* @__PURE__ */ function(e, t, n) {
|
|
|
3429
3442
|
return "Array";
|
|
3430
3443
|
}
|
|
3431
3444
|
}]), i;
|
|
3432
|
-
}(
|
|
3445
|
+
}(Ui, Symbol.toStringTag, Symbol.iterator);
|
|
3433
3446
|
Object.entries(dt).forEach(function(e) {
|
|
3434
3447
|
var t = e[0], n = e[1];
|
|
3435
|
-
t !== "concat" && ht(
|
|
3448
|
+
t !== "concat" && ht(Yt.prototype, t, n);
|
|
3436
3449
|
});
|
|
3437
|
-
function
|
|
3450
|
+
function Gi(e) {
|
|
3438
3451
|
return {
|
|
3439
3452
|
enumerable: !1,
|
|
3440
3453
|
configurable: !0,
|
|
@@ -3447,18 +3460,18 @@ function Ui(e) {
|
|
|
3447
3460
|
};
|
|
3448
3461
|
}
|
|
3449
3462
|
function ro(e) {
|
|
3450
|
-
Z(
|
|
3463
|
+
Z(Yt.prototype, "" + e, Gi(e));
|
|
3451
3464
|
}
|
|
3452
|
-
function
|
|
3465
|
+
function Qi(e) {
|
|
3453
3466
|
if (e > Tt) {
|
|
3454
3467
|
for (var t = Tt; t < e + 100; t++)
|
|
3455
3468
|
ro(t);
|
|
3456
3469
|
Tt = e;
|
|
3457
3470
|
}
|
|
3458
3471
|
}
|
|
3459
|
-
|
|
3472
|
+
Qi(1e3);
|
|
3460
3473
|
function so(e, t, n) {
|
|
3461
|
-
return new
|
|
3474
|
+
return new Yt(e, t, n);
|
|
3462
3475
|
}
|
|
3463
3476
|
function de(e, t) {
|
|
3464
3477
|
if (typeof e == "object" && e !== null) {
|
|
@@ -3484,9 +3497,9 @@ function de(e, t) {
|
|
|
3484
3497
|
return e[k];
|
|
3485
3498
|
N(28);
|
|
3486
3499
|
}
|
|
3487
|
-
function
|
|
3500
|
+
function Ki(e, t) {
|
|
3488
3501
|
if (e || N(29), t !== void 0)
|
|
3489
|
-
return
|
|
3502
|
+
return Ki(de(e, t));
|
|
3490
3503
|
if (qt(e) || yt(e) || ut(e) || fe(e) || Ee(e))
|
|
3491
3504
|
return e;
|
|
3492
3505
|
if (e[k])
|
|
@@ -3500,7 +3513,7 @@ function Lt(e, t) {
|
|
|
3500
3513
|
else {
|
|
3501
3514
|
if (Xt(e))
|
|
3502
3515
|
return e.name;
|
|
3503
|
-
je(e) || fe(e) || Ee(e) ? n =
|
|
3516
|
+
je(e) || fe(e) || Ee(e) ? n = Ki(e) : n = de(e);
|
|
3504
3517
|
}
|
|
3505
3518
|
return n.name_;
|
|
3506
3519
|
}
|
|
@@ -3559,11 +3572,11 @@ function Mt(e, t, n, i, a) {
|
|
|
3559
3572
|
if (!Mt(e[c], t[c], n - 1, i, a))
|
|
3560
3573
|
return !1;
|
|
3561
3574
|
} else {
|
|
3562
|
-
var v = Object.keys(e),
|
|
3575
|
+
var v = Object.keys(e), S;
|
|
3563
3576
|
if (c = v.length, Object.keys(t).length !== c)
|
|
3564
3577
|
return !1;
|
|
3565
3578
|
for (; c--; )
|
|
3566
|
-
if (
|
|
3579
|
+
if (S = v[c], !(ae(t, S) && Mt(e[S], t[S], n - 1, i, a)))
|
|
3567
3580
|
return !1;
|
|
3568
3581
|
}
|
|
3569
3582
|
return i.pop(), a.pop(), !0;
|
|
@@ -3578,7 +3591,7 @@ function oo() {
|
|
|
3578
3591
|
return this;
|
|
3579
3592
|
}
|
|
3580
3593
|
["Symbol", "Map", "Set"].forEach(function(e) {
|
|
3581
|
-
var t =
|
|
3594
|
+
var t = $n();
|
|
3582
3595
|
typeof t[e] == "undefined" && N("MobX requires global '" + e + "' to be available or polyfilled");
|
|
3583
3596
|
});
|
|
3584
3597
|
typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
|
|
@@ -3588,16 +3601,16 @@ typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK_
|
|
|
3588
3601
|
},
|
|
3589
3602
|
$mobx: k
|
|
3590
3603
|
});
|
|
3591
|
-
const uo = ["account"],
|
|
3604
|
+
const uo = ["account"], ne = class {
|
|
3592
3605
|
constructor() {
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3606
|
+
b(this, "_config", null);
|
|
3607
|
+
b(this, "_account");
|
|
3608
|
+
b(this, "_productDataSource", null);
|
|
3609
|
+
b(this, "instanceId", ya());
|
|
3597
3610
|
Ws(this, {}, { name: "NizzaStore", autoBind: !0 });
|
|
3598
3611
|
}
|
|
3599
3612
|
static instance() {
|
|
3600
|
-
return
|
|
3613
|
+
return ne._instance || (ne._instance = new ne()), window != null && window.nizza ? ne._instance = window == null ? void 0 : window.nizza : window.nizza = ne._instance, ne._instance;
|
|
3601
3614
|
}
|
|
3602
3615
|
async configure(t) {
|
|
3603
3616
|
var n;
|
|
@@ -3630,24 +3643,24 @@ const uo = ["account"], te = class {
|
|
|
3630
3643
|
});
|
|
3631
3644
|
}
|
|
3632
3645
|
};
|
|
3633
|
-
let tt =
|
|
3634
|
-
|
|
3646
|
+
let tt = ne;
|
|
3647
|
+
b(tt, "_instance");
|
|
3635
3648
|
const lo = tt.instance();
|
|
3636
3649
|
let tn = /* @__PURE__ */ new Map();
|
|
3637
|
-
const Bt = Vn(tn),
|
|
3638
|
-
const n = Ut(Bt), i =
|
|
3650
|
+
const Bt = Vn(tn), Uo = ({ children: e, stores: t }) => {
|
|
3651
|
+
const n = Ut(Bt), i = ea(() => {
|
|
3639
3652
|
const a = /* @__PURE__ */ new Map();
|
|
3640
3653
|
return t.forEach((r) => a.set(r.class, r.value)), tn = new Map([...n, ...a]);
|
|
3641
3654
|
}, []);
|
|
3642
|
-
return /* @__PURE__ */
|
|
3655
|
+
return /* @__PURE__ */ na(Bt.Provider, { value: i, children: e });
|
|
3643
3656
|
};
|
|
3644
|
-
function
|
|
3657
|
+
function Go(e) {
|
|
3645
3658
|
return Ut(Bt).get(e);
|
|
3646
3659
|
}
|
|
3647
|
-
function
|
|
3660
|
+
function Qo(e) {
|
|
3648
3661
|
return tn.get(e);
|
|
3649
3662
|
}
|
|
3650
|
-
function
|
|
3663
|
+
function Ko(e, t = []) {
|
|
3651
3664
|
if (Array.isArray(t) && t.some((n) => $e(n)))
|
|
3652
3665
|
throw new Error("useEffect dependencies must not contain observables, ...");
|
|
3653
3666
|
Me(() => Ht(e), t);
|
|
@@ -3655,7 +3668,7 @@ function Qo(e, t = []) {
|
|
|
3655
3668
|
function co(e, t = []) {
|
|
3656
3669
|
if (Array.isArray(t) && t.some((a) => $e(a)))
|
|
3657
3670
|
throw new Error("useEffect dependencies must not contain observables, ...");
|
|
3658
|
-
const [n, i] =
|
|
3671
|
+
const [n, i] = ta();
|
|
3659
3672
|
return Me(
|
|
3660
3673
|
() => Ht(() => {
|
|
3661
3674
|
const a = e();
|
|
@@ -3664,13 +3677,13 @@ function co(e, t = []) {
|
|
|
3664
3677
|
t
|
|
3665
3678
|
), n;
|
|
3666
3679
|
}
|
|
3667
|
-
function
|
|
3680
|
+
function zo(e, t, n = []) {
|
|
3668
3681
|
if (Array.isArray(n) && n.some((i) => $e(i)))
|
|
3669
3682
|
throw new Error("useEffect dependencies must not contain observables, ...");
|
|
3670
3683
|
Me(() => xs(e, t), n);
|
|
3671
3684
|
}
|
|
3672
|
-
var
|
|
3673
|
-
const fo = { 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" } }] } }] } }] } }] }, mo = { 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" } }] } }] } }] } }] }, vo = { 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" } }] } }] } }] } }] }, ho = { 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" } }] } }] } }] } }] }, po = { 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" } }] } }] } }] } }] }, ko = { 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" } }] } }] } }] } }] }, _o = { 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" } }] } }] } }] } }] }, yo = { 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" } }] } }] } }] } }] }, So = { 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" } }] } }] } }] } }] }, bo = { 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" } }] } }] } }] } }] }, go = { 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: "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" } }] } }] } }] } }] }, No = { 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" } }] } }] } }] } }] }, Oo = { 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" } }] } }] } }] } }] }, Ao = { 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" } }] } }] } }] } }] }, Eo = { 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" } }] } }] } }] } }] }, Fo = { 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" } }] } }] } }] } }] }, Ro = { 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: "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" } }] } }] } }] } }] }, Co = { 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" } }] } }] } }] } }] } }] }, wo = { 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: "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" } }] } }] } }] } }] }, Do = { 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" } }] } }] } }] } }] }, zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3685
|
+
var zi = /* @__PURE__ */ ((e) => (e.Created = "CREATED", e.Finalized = "FINALIZED", e.Live = "LIVE", e.Starting = "STARTING", e))(zi || {}), $i = /* @__PURE__ */ ((e) => (e.Add = "add", e.Remove = "remove", e))($i || {}), qi = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(qi || {});
|
|
3686
|
+
const fo = { 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" } }] } }] } }] } }] }, mo = { 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" } }] } }] } }] } }] }, vo = { 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" } }] } }] } }] } }] }, ho = { 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" } }] } }] } }] } }] }, po = { 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" } }] } }] } }] } }] }, ko = { 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" } }] } }] } }] } }] }, _o = { 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" } }] } }] } }] } }] }, yo = { 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" } }] } }] } }] } }] }, So = { 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" } }] } }] } }] } }] }, bo = { 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" } }] } }] } }] } }] }, go = { 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: "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" } }] } }] } }] } }] }, No = { 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" } }] } }] } }] } }] }, Oo = { 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" } }] } }] } }] } }] }, Ao = { 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" } }] } }] } }] } }] }, Eo = { 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" } }] } }] } }] } }] }, Fo = { 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" } }] } }] } }] } }] }, Ro = { 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: "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" } }] } }] } }] } }] }, Co = { 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" } }] } }] } }] } }] } }] }, wo = { 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: "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" } }] } }] } }] } }] }, Do = { 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" } }] } }] } }] } }] }, $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3674
3687
|
__proto__: null,
|
|
3675
3688
|
AddCollectionDocument: ho,
|
|
3676
3689
|
AppendProductsToSnackVideoDocument: Oo,
|
|
@@ -3678,7 +3691,7 @@ const fo = { kind: "Document", definitions: [{ kind: "OperationDefinition", oper
|
|
|
3678
3691
|
DeleteAllCustomizationDocument: fo,
|
|
3679
3692
|
DeleteCollectionDocument: po,
|
|
3680
3693
|
DeleteRelationshipWithSnackVideoDocument: Eo,
|
|
3681
|
-
EventStatus:
|
|
3694
|
+
EventStatus: zi,
|
|
3682
3695
|
FindByProductSnackVideoDocument: Do,
|
|
3683
3696
|
FindCollectionDocument: ko,
|
|
3684
3697
|
FindManySnackVideosDocument: Fo,
|
|
@@ -3688,15 +3701,15 @@ const fo = { kind: "Document", definitions: [{ kind: "OperationDefinition", oper
|
|
|
3688
3701
|
GetAllSnackVideosDocument: Ro,
|
|
3689
3702
|
GetSnackVideoRelationshipsDocument: Co,
|
|
3690
3703
|
ManageCollectionProductDocument: yo,
|
|
3691
|
-
Methods:
|
|
3704
|
+
Methods: $i,
|
|
3692
3705
|
SearchCollectionsDocument: So,
|
|
3693
3706
|
SearchMinimalEventsDocument: No,
|
|
3694
3707
|
SearchSnackVideosDocument: wo,
|
|
3695
|
-
Status:
|
|
3708
|
+
Status: qi,
|
|
3696
3709
|
UpdateCollectionDocument: bo,
|
|
3697
3710
|
UpdateCustomizationDocument: vo
|
|
3698
3711
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3699
|
-
function
|
|
3712
|
+
function qo(e) {
|
|
3700
3713
|
return {
|
|
3701
3714
|
class: e,
|
|
3702
3715
|
_value: null,
|
|
@@ -3706,17 +3719,17 @@ function $o(e) {
|
|
|
3706
3719
|
};
|
|
3707
3720
|
}
|
|
3708
3721
|
export {
|
|
3709
|
-
|
|
3722
|
+
Bn as AccountContractStatusTypes,
|
|
3710
3723
|
ga as AccountContractTypes,
|
|
3711
|
-
|
|
3724
|
+
Bo as AccountInvalidError,
|
|
3712
3725
|
Oa as AccountPlanDescriptionTypes,
|
|
3713
3726
|
Fa as AccountRestRepository,
|
|
3714
3727
|
Ra as AccountService,
|
|
3715
3728
|
Na as AccountSubscriptionTypes,
|
|
3716
|
-
|
|
3729
|
+
Mn as AccountTypes,
|
|
3717
3730
|
Sa as AggregateRoot,
|
|
3718
|
-
|
|
3719
|
-
|
|
3731
|
+
$o as ApiGraphqlTypes,
|
|
3732
|
+
jo as BaseMobxStore,
|
|
3720
3733
|
ft as DomainError,
|
|
3721
3734
|
Aa as GlobalPageSectionTypes,
|
|
3722
3735
|
Er as InvalidNizzaGlobalObjectError,
|
|
@@ -3725,23 +3738,24 @@ export {
|
|
|
3725
3738
|
tt as NizzaStore,
|
|
3726
3739
|
gr as NizzaVariationTypes,
|
|
3727
3740
|
Or as ResourceNotFoundError,
|
|
3728
|
-
|
|
3741
|
+
Uo as StoreProvider,
|
|
3729
3742
|
Ar as UnexpectedError,
|
|
3730
|
-
|
|
3743
|
+
Lo as ValueObject,
|
|
3731
3744
|
jn as accountAtom,
|
|
3732
|
-
|
|
3745
|
+
Un as accountService,
|
|
3746
|
+
Io as apiCall,
|
|
3733
3747
|
ba as createAggregateRoot,
|
|
3734
|
-
|
|
3735
|
-
|
|
3748
|
+
qo as createStore,
|
|
3749
|
+
Ln as customFetch,
|
|
3736
3750
|
br as getAccount,
|
|
3737
|
-
|
|
3751
|
+
Qo as getStore,
|
|
3738
3752
|
Sr as globalAtomStore,
|
|
3739
3753
|
lo as nizza,
|
|
3740
|
-
|
|
3754
|
+
xo as searchParams,
|
|
3741
3755
|
ya as shortId,
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3756
|
+
Mo as useAccount,
|
|
3757
|
+
Ko as useAutorun,
|
|
3758
|
+
zo as useReaction,
|
|
3745
3759
|
co as useSelect,
|
|
3746
|
-
|
|
3760
|
+
Go as useStore
|
|
3747
3761
|
};
|