@nizza/core 0.4.5-alpha.8 → 0.5.0-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.mjs CHANGED
@@ -450,8 +450,8 @@ async function It(n) {
450
450
  throw console.error("[CustomFetch] ", l), l;
451
451
  }
452
452
  }
453
- const Us = (n) => It({ ...n, contentTypeJson: !1, raw: !1 });
454
- function Ms(n, e, t) {
453
+ const js = (n) => It({ ...n, contentTypeJson: !1, raw: !1 });
454
+ function $s(n, e, t) {
455
455
  fetch(e).then((i) => i.blob()).then((i) => On(i, `${n}.${t}`));
456
456
  }
457
457
  const On = (n, e, t) => {
@@ -977,11 +977,11 @@ class Xn {
977
977
  }
978
978
  }
979
979
  let Yn = (n = 21) => crypto.getRandomValues(new Uint8Array(n)).reduce((e, t) => (t &= 63, t < 36 ? e += t.toString(36) : t < 62 ? e += (t - 26).toString(36).toUpperCase() : t > 62 ? e += "-" : e += "_", e), "");
980
- const ei = (n = 8) => Yn(n), js = (n) => {
980
+ const ei = (n = 8) => Yn(n), zs = (n) => {
981
981
  const e = Object.entries(n).reduce((t, [i, a]) => a !== void 0 ? `${t}${t ? "&" : ""}${i}=${a}` : t, "");
982
982
  return e ? `?${e}` : "";
983
983
  };
984
- function $s() {
984
+ function Bs() {
985
985
  const n = new Error().stack.split(`
986
986
  `);
987
987
  return n.length < 3 ? "" : n[2].trim().substring(3);
@@ -1251,7 +1251,7 @@ const z = Pn({
1251
1251
  return window.nizza;
1252
1252
  }
1253
1253
  return tt();
1254
- }, je = si(), Bs = je.log.createLogger("main"), ee = je.log.createLogger("core");
1254
+ }, je = si(), Ks = je.log.createLogger("main"), ee = je.log.createLogger("core");
1255
1255
  function G(n) {
1256
1256
  return n != null && typeof n == "object" && n["@@functional/placeholder"] === !0;
1257
1257
  }
@@ -1339,7 +1339,7 @@ class ki extends ye {
1339
1339
  );
1340
1340
  }
1341
1341
  }
1342
- class Qs extends ye {
1342
+ class Gs extends ye {
1343
1343
  constructor() {
1344
1344
  super("APP_ACCOUNT_INVALID_ERROR", "Account not defined");
1345
1345
  }
@@ -1372,13 +1372,13 @@ class vi extends ye {
1372
1372
  );
1373
1373
  }
1374
1374
  }
1375
- function Ks(n, e) {
1375
+ function Ws(n, e) {
1376
1376
  e.forEach((t) => {
1377
1377
  if (ci(hi(t.split("."), n)))
1378
1378
  throw new vi(t);
1379
1379
  });
1380
1380
  }
1381
- function Gs() {
1381
+ function Js() {
1382
1382
  var i, a, s;
1383
1383
  let n = null, e = null, t = null;
1384
1384
  try {
@@ -1422,9 +1422,9 @@ class Si {
1422
1422
  function yi(n) {
1423
1423
  return new Si(n);
1424
1424
  }
1425
- class Ws {
1425
+ class qs {
1426
1426
  }
1427
- class Js {
1427
+ class Hs {
1428
1428
  constructor(e) {
1429
1429
  x(this, "_value");
1430
1430
  e !== void 0 && (this._value = e);
@@ -2077,7 +2077,7 @@ function la(n, e, t) {
2077
2077
  const i = Di(n, e, t);
2078
2078
  return oa(i, zi);
2079
2079
  }
2080
- const da = () => ["account"], qs = () => {
2080
+ const da = () => ["account"], Zs = () => {
2081
2081
  const { accountName: n } = Zn(je.state), [e, t] = yn(Ve), i = la(da(), () => Wt.get(n), {
2082
2082
  enabled: !!n && !e,
2083
2083
  refetchOnWindowFocus: !1,
@@ -2096,7 +2096,7 @@ async function ca(n) {
2096
2096
  return ua.set(Ve, e), e;
2097
2097
  }
2098
2098
  var ma = /* @__PURE__ */ ((n) => (n.CREATED = "CREATED", n.STARTING = "STARTING", n.LIVE = "LIVE", n.FINALIZED = "FINALIZED", n))(ma || {});
2099
- const Hs = {
2099
+ const Xs = {
2100
2100
  ALL: "*",
2101
2101
  CORE: "core:**",
2102
2102
  LIVE_STREAMING_EVENT: "event:**",
@@ -2108,11 +2108,365 @@ const Hs = {
2108
2108
  SNACK_SIZE_VIDEO_ADMIN: "ssv-admin:**",
2109
2109
  UI: "ui:**",
2110
2110
  UTILS: "utils:**"
2111
- }, Zs = {
2111
+ }, Ys = {
2112
2112
  EVENT_STATUS_CHANGED: "event:statusChanged"
2113
2113
  };
2114
- var fa = /* @__PURE__ */ ((n) => (n.English = "en", n.Spanish = "es", n.Portuguese = "pt", n))(fa || {}), pa = /* @__PURE__ */ ((n) => (n.COMBO = "Combo", n))(pa || {}), ha = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.PLATFORM = "platform", n.CACE = "CACE", n.GLOBAL_PAGE = "globalPage", n.DEV_LOCAL = "dev:local", n.CUSTOMIZATION = "customization", n))(ha || {});
2115
- const ga = {
2114
+ var fa = /* @__PURE__ */ ((n) => (n.English = "en", n.Spanish = "es", n.Portuguese = "pt", n))(fa || {}), pa = /* @__PURE__ */ ((n) => (n.COMBO = "Combo", n))(pa || {}), ha = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.PLATFORM = "platform", n.CACE = "CACE", n.GLOBAL_PAGE = "globalPage", n.DEV_LOCAL = "dev:local", n.CUSTOMIZATION = "customization", n.FAST_STORE = "faststore", n))(ha || {});
2115
+ function ga(n) {
2116
+ const e = Object.values(n);
2117
+ return Object.assign({}, ...e);
2118
+ }
2119
+ function ka(n) {
2120
+ return Object.entries(n).reduce(
2121
+ (e, [t, i]) => {
2122
+ const a = ga(i);
2123
+ return { ...e, [t]: a };
2124
+ },
2125
+ {}
2126
+ );
2127
+ }
2128
+ function va(n, e) {
2129
+ const t = ka(e);
2130
+ Object.entries(t).forEach(([i, a]) => {
2131
+ n.addResourceBundle(i, "translation", a, !0);
2132
+ });
2133
+ }
2134
+ function Sa(n, e) {
2135
+ if (!(n instanceof e))
2136
+ throw new TypeError("Cannot call a class as a function");
2137
+ }
2138
+ function ie(n) {
2139
+ "@babel/helpers - typeof";
2140
+ return ie = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2141
+ return typeof e;
2142
+ } : function(e) {
2143
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2144
+ }, ie(n);
2145
+ }
2146
+ function ya(n, e) {
2147
+ if (ie(n) !== "object" || n === null)
2148
+ return n;
2149
+ var t = n[Symbol.toPrimitive];
2150
+ if (t !== void 0) {
2151
+ var i = t.call(n, e || "default");
2152
+ if (ie(i) !== "object")
2153
+ return i;
2154
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2155
+ }
2156
+ return (e === "string" ? String : Number)(n);
2157
+ }
2158
+ function Na(n) {
2159
+ var e = ya(n, "string");
2160
+ return ie(e) === "symbol" ? e : String(e);
2161
+ }
2162
+ function mt(n, e) {
2163
+ for (var t = 0; t < e.length; t++) {
2164
+ var i = e[t];
2165
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(n, Na(i.key), i);
2166
+ }
2167
+ }
2168
+ function ba(n, e, t) {
2169
+ return e && mt(n.prototype, e), t && mt(n, t), Object.defineProperty(n, "prototype", {
2170
+ writable: !1
2171
+ }), n;
2172
+ }
2173
+ var Ht = [], Fa = Ht.forEach, wa = Ht.slice;
2174
+ function Ca(n) {
2175
+ return Fa.call(wa.call(arguments, 1), function(e) {
2176
+ if (e)
2177
+ for (var t in e)
2178
+ n[t] === void 0 && (n[t] = e[t]);
2179
+ }), n;
2180
+ }
2181
+ var ft = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ea = function(e, t, i) {
2182
+ var a = i || {};
2183
+ a.path = a.path || "/";
2184
+ var s = encodeURIComponent(t), r = "".concat(e, "=").concat(s);
2185
+ if (a.maxAge > 0) {
2186
+ var o = a.maxAge - 0;
2187
+ if (Number.isNaN(o))
2188
+ throw new Error("maxAge should be a Number");
2189
+ r += "; Max-Age=".concat(Math.floor(o));
2190
+ }
2191
+ if (a.domain) {
2192
+ if (!ft.test(a.domain))
2193
+ throw new TypeError("option domain is invalid");
2194
+ r += "; Domain=".concat(a.domain);
2195
+ }
2196
+ if (a.path) {
2197
+ if (!ft.test(a.path))
2198
+ throw new TypeError("option path is invalid");
2199
+ r += "; Path=".concat(a.path);
2200
+ }
2201
+ if (a.expires) {
2202
+ if (typeof a.expires.toUTCString != "function")
2203
+ throw new TypeError("option expires is invalid");
2204
+ r += "; Expires=".concat(a.expires.toUTCString());
2205
+ }
2206
+ if (a.httpOnly && (r += "; HttpOnly"), a.secure && (r += "; Secure"), a.sameSite) {
2207
+ var d = typeof a.sameSite == "string" ? a.sameSite.toLowerCase() : a.sameSite;
2208
+ switch (d) {
2209
+ case !0:
2210
+ r += "; SameSite=Strict";
2211
+ break;
2212
+ case "lax":
2213
+ r += "; SameSite=Lax";
2214
+ break;
2215
+ case "strict":
2216
+ r += "; SameSite=Strict";
2217
+ break;
2218
+ case "none":
2219
+ r += "; SameSite=None";
2220
+ break;
2221
+ default:
2222
+ throw new TypeError("option sameSite is invalid");
2223
+ }
2224
+ }
2225
+ return r;
2226
+ }, pt = {
2227
+ create: function(e, t, i, a) {
2228
+ var s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
2229
+ path: "/",
2230
+ sameSite: "strict"
2231
+ };
2232
+ i && (s.expires = /* @__PURE__ */ new Date(), s.expires.setTime(s.expires.getTime() + i * 60 * 1e3)), a && (s.domain = a), document.cookie = Ea(e, encodeURIComponent(t), s);
2233
+ },
2234
+ read: function(e) {
2235
+ for (var t = "".concat(e, "="), i = document.cookie.split(";"), a = 0; a < i.length; a++) {
2236
+ for (var s = i[a]; s.charAt(0) === " "; )
2237
+ s = s.substring(1, s.length);
2238
+ if (s.indexOf(t) === 0)
2239
+ return s.substring(t.length, s.length);
2240
+ }
2241
+ return null;
2242
+ },
2243
+ remove: function(e) {
2244
+ this.create(e, "", -1);
2245
+ }
2246
+ }, Oa = {
2247
+ name: "cookie",
2248
+ lookup: function(e) {
2249
+ var t;
2250
+ if (e.lookupCookie && typeof document != "undefined") {
2251
+ var i = pt.read(e.lookupCookie);
2252
+ i && (t = i);
2253
+ }
2254
+ return t;
2255
+ },
2256
+ cacheUserLanguage: function(e, t) {
2257
+ t.lookupCookie && typeof document != "undefined" && pt.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
2258
+ }
2259
+ }, Ra = {
2260
+ name: "querystring",
2261
+ lookup: function(e) {
2262
+ var t;
2263
+ if (typeof window != "undefined") {
2264
+ var i = window.location.search;
2265
+ !window.location.search && window.location.hash && window.location.hash.indexOf("?") > -1 && (i = window.location.hash.substring(window.location.hash.indexOf("?")));
2266
+ for (var a = i.substring(1), s = a.split("&"), r = 0; r < s.length; r++) {
2267
+ var o = s[r].indexOf("=");
2268
+ if (o > 0) {
2269
+ var d = s[r].substring(0, o);
2270
+ d === e.lookupQuerystring && (t = s[r].substring(o + 1));
2271
+ }
2272
+ }
2273
+ }
2274
+ return t;
2275
+ }
2276
+ }, H = null, ht = function() {
2277
+ if (H !== null)
2278
+ return H;
2279
+ try {
2280
+ H = window !== "undefined" && window.localStorage !== null;
2281
+ var e = "i18next.translate.boo";
2282
+ window.localStorage.setItem(e, "foo"), window.localStorage.removeItem(e);
2283
+ } catch {
2284
+ H = !1;
2285
+ }
2286
+ return H;
2287
+ }, xa = {
2288
+ name: "localStorage",
2289
+ lookup: function(e) {
2290
+ var t;
2291
+ if (e.lookupLocalStorage && ht()) {
2292
+ var i = window.localStorage.getItem(e.lookupLocalStorage);
2293
+ i && (t = i);
2294
+ }
2295
+ return t;
2296
+ },
2297
+ cacheUserLanguage: function(e, t) {
2298
+ t.lookupLocalStorage && ht() && window.localStorage.setItem(t.lookupLocalStorage, e);
2299
+ }
2300
+ }, Z = null, gt = function() {
2301
+ if (Z !== null)
2302
+ return Z;
2303
+ try {
2304
+ Z = window !== "undefined" && window.sessionStorage !== null;
2305
+ var e = "i18next.translate.boo";
2306
+ window.sessionStorage.setItem(e, "foo"), window.sessionStorage.removeItem(e);
2307
+ } catch {
2308
+ Z = !1;
2309
+ }
2310
+ return Z;
2311
+ }, Ta = {
2312
+ name: "sessionStorage",
2313
+ lookup: function(e) {
2314
+ var t;
2315
+ if (e.lookupSessionStorage && gt()) {
2316
+ var i = window.sessionStorage.getItem(e.lookupSessionStorage);
2317
+ i && (t = i);
2318
+ }
2319
+ return t;
2320
+ },
2321
+ cacheUserLanguage: function(e, t) {
2322
+ t.lookupSessionStorage && gt() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
2323
+ }
2324
+ }, Da = {
2325
+ name: "navigator",
2326
+ lookup: function(e) {
2327
+ var t = [];
2328
+ if (typeof navigator != "undefined") {
2329
+ if (navigator.languages)
2330
+ for (var i = 0; i < navigator.languages.length; i++)
2331
+ t.push(navigator.languages[i]);
2332
+ navigator.userLanguage && t.push(navigator.userLanguage), navigator.language && t.push(navigator.language);
2333
+ }
2334
+ return t.length > 0 ? t : void 0;
2335
+ }
2336
+ }, La = {
2337
+ name: "htmlTag",
2338
+ lookup: function(e) {
2339
+ var t, i = e.htmlTag || (typeof document != "undefined" ? document.documentElement : null);
2340
+ return i && typeof i.getAttribute == "function" && (t = i.getAttribute("lang")), t;
2341
+ }
2342
+ }, Ia = {
2343
+ name: "path",
2344
+ lookup: function(e) {
2345
+ var t;
2346
+ if (typeof window != "undefined") {
2347
+ var i = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
2348
+ if (i instanceof Array)
2349
+ if (typeof e.lookupFromPathIndex == "number") {
2350
+ if (typeof i[e.lookupFromPathIndex] != "string")
2351
+ return;
2352
+ t = i[e.lookupFromPathIndex].replace("/", "");
2353
+ } else
2354
+ t = i[0].replace("/", "");
2355
+ }
2356
+ return t;
2357
+ }
2358
+ }, Aa = {
2359
+ name: "subdomain",
2360
+ lookup: function(e) {
2361
+ var t = typeof e.lookupFromSubdomainIndex == "number" ? e.lookupFromSubdomainIndex + 1 : 1, i = typeof window != "undefined" && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
2362
+ if (i)
2363
+ return i[t];
2364
+ }
2365
+ };
2366
+ function Pa() {
2367
+ return {
2368
+ order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
2369
+ lookupQuerystring: "lng",
2370
+ lookupCookie: "i18next",
2371
+ lookupLocalStorage: "i18nextLng",
2372
+ lookupSessionStorage: "i18nextLng",
2373
+ // cache user language
2374
+ caches: ["localStorage"],
2375
+ excludeCacheFor: ["cimode"],
2376
+ // cookieMinutes: 10,
2377
+ // cookieDomain: 'myDomain'
2378
+ convertDetectedLanguage: function(e) {
2379
+ return e;
2380
+ }
2381
+ };
2382
+ }
2383
+ var Zt = /* @__PURE__ */ function() {
2384
+ function n(e) {
2385
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2386
+ Sa(this, n), this.type = "languageDetector", this.detectors = {}, this.init(e, t);
2387
+ }
2388
+ return ba(n, [{
2389
+ key: "init",
2390
+ value: function(t) {
2391
+ var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2392
+ this.services = t || {
2393
+ languageUtils: {}
2394
+ }, this.options = Ca(i, this.options || {}, Pa()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(s) {
2395
+ return s.replace("-", "_");
2396
+ }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(Oa), this.addDetector(Ra), this.addDetector(xa), this.addDetector(Ta), this.addDetector(Da), this.addDetector(La), this.addDetector(Ia), this.addDetector(Aa);
2397
+ }
2398
+ }, {
2399
+ key: "addDetector",
2400
+ value: function(t) {
2401
+ this.detectors[t.name] = t;
2402
+ }
2403
+ }, {
2404
+ key: "detect",
2405
+ value: function(t) {
2406
+ var i = this;
2407
+ t || (t = this.options.order);
2408
+ var a = [];
2409
+ return t.forEach(function(s) {
2410
+ if (i.detectors[s]) {
2411
+ var r = i.detectors[s].lookup(i.options);
2412
+ r && typeof r == "string" && (r = [r]), r && (a = a.concat(r));
2413
+ }
2414
+ }), a = a.map(function(s) {
2415
+ return i.options.convertDetectedLanguage(s);
2416
+ }), this.services.languageUtils.getBestMatchFromCodes ? a : a.length > 0 ? a[0] : null;
2417
+ }
2418
+ }, {
2419
+ key: "cacheUserLanguage",
2420
+ value: function(t, i) {
2421
+ var a = this;
2422
+ i || (i = this.options.caches), i && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(t) > -1 || i.forEach(function(s) {
2423
+ a.detectors[s] && a.detectors[s].cacheUserLanguage(t, a.options);
2424
+ }));
2425
+ }
2426
+ }]), n;
2427
+ }();
2428
+ Zt.type = "languageDetector";
2429
+ function Va(n, e) {
2430
+ n.use(e).use(Zt).init({
2431
+ resources: {},
2432
+ fallbackLng: "en",
2433
+ debug: !1,
2434
+ interpolation: {
2435
+ escapeValue: !1,
2436
+ // not needed for react as it escapes by default
2437
+ format: (t, i, a) => {
2438
+ if (i) {
2439
+ const [s, ...r] = i.split(",").map((o) => o.trim());
2440
+ if (s === "number")
2441
+ return new Intl.NumberFormat(a).format(t);
2442
+ if (s === "date")
2443
+ return new Intl.DateTimeFormat(a).format(t);
2444
+ if (s === "currency")
2445
+ return new Intl.NumberFormat(a, {
2446
+ style: "currency",
2447
+ currency: r[0] || "USD",
2448
+ currencyDisplay: "narrowSymbol"
2449
+ }).format(t).replace("$", "").trim();
2450
+ }
2451
+ return t;
2452
+ }
2453
+ },
2454
+ detection: {
2455
+ // order and from where user language should be detected
2456
+ order: [
2457
+ "navigator",
2458
+ "cookie",
2459
+ "localStorage",
2460
+ "sessionStorage",
2461
+ "querystring",
2462
+ "htmlTag",
2463
+ "path",
2464
+ "subdomain"
2465
+ ]
2466
+ }
2467
+ });
2468
+ }
2469
+ const _a = {
2116
2470
  type: "logger",
2117
2471
  log(n) {
2118
2472
  this.output("log", n);
@@ -2134,7 +2488,7 @@ class pe {
2134
2488
  }
2135
2489
  init(e) {
2136
2490
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2137
- this.prefix = t.prefix || "i18next:", this.logger = e || ga, this.options = t, this.debug = t.debug;
2491
+ this.prefix = t.prefix || "i18next:", this.logger = e || _a, this.options = t, this.debug = t.debug;
2138
2492
  }
2139
2493
  log() {
2140
2494
  for (var e = arguments.length, t = new Array(e), i = 0; i < e; i++)
@@ -2198,17 +2552,17 @@ class Ne {
2198
2552
  });
2199
2553
  }
2200
2554
  }
2201
- function H() {
2555
+ function X() {
2202
2556
  let n, e;
2203
2557
  const t = new Promise((i, a) => {
2204
2558
  n = i, e = a;
2205
2559
  });
2206
2560
  return t.resolve = n, t.reject = e, t;
2207
2561
  }
2208
- function mt(n) {
2562
+ function kt(n) {
2209
2563
  return n == null ? "" : "" + n;
2210
2564
  }
2211
- function ka(n, e, t) {
2565
+ function Ua(n, e, t) {
2212
2566
  n.forEach((i) => {
2213
2567
  e[i] && (t[i] = e[i]);
2214
2568
  });
@@ -2232,14 +2586,14 @@ function Ke(n, e, t) {
2232
2586
  k: i(s.shift())
2233
2587
  };
2234
2588
  }
2235
- function ft(n, e, t) {
2589
+ function vt(n, e, t) {
2236
2590
  const {
2237
2591
  obj: i,
2238
2592
  k: a
2239
2593
  } = Ke(n, e, Object);
2240
2594
  i[a] = t;
2241
2595
  }
2242
- function va(n, e, t, i) {
2596
+ function Ma(n, e, t, i) {
2243
2597
  const {
2244
2598
  obj: a,
2245
2599
  k: s
@@ -2254,19 +2608,19 @@ function he(n, e) {
2254
2608
  if (t)
2255
2609
  return t[i];
2256
2610
  }
2257
- function Sa(n, e, t) {
2611
+ function ja(n, e, t) {
2258
2612
  const i = he(n, t);
2259
2613
  return i !== void 0 ? i : he(e, t);
2260
2614
  }
2261
- function Ht(n, e, t) {
2615
+ function Xt(n, e, t) {
2262
2616
  for (const i in e)
2263
- i !== "__proto__" && i !== "constructor" && (i in n ? typeof n[i] == "string" || n[i] instanceof String || typeof e[i] == "string" || e[i] instanceof String ? t && (n[i] = e[i]) : Ht(n[i], e[i], t) : n[i] = e[i]);
2617
+ i !== "__proto__" && i !== "constructor" && (i in n ? typeof n[i] == "string" || n[i] instanceof String || typeof e[i] == "string" || e[i] instanceof String ? t && (n[i] = e[i]) : Xt(n[i], e[i], t) : n[i] = e[i]);
2264
2618
  return n;
2265
2619
  }
2266
2620
  function Q(n) {
2267
2621
  return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
2268
2622
  }
2269
- var ya = {
2623
+ var $a = {
2270
2624
  "&": "&amp;",
2271
2625
  "<": "&lt;",
2272
2626
  ">": "&gt;",
@@ -2274,13 +2628,13 @@ var ya = {
2274
2628
  "'": "&#39;",
2275
2629
  "/": "&#x2F;"
2276
2630
  };
2277
- function Na(n) {
2278
- return typeof n == "string" ? n.replace(/[&<>"'\/]/g, (e) => ya[e]) : n;
2631
+ function za(n) {
2632
+ return typeof n == "string" ? n.replace(/[&<>"'\/]/g, (e) => $a[e]) : n;
2279
2633
  }
2280
- const ba = [" ", ",", "?", "!", ";"];
2281
- function Fa(n, e, t) {
2634
+ const Ba = [" ", ",", "?", "!", ";"];
2635
+ function Qa(n, e, t) {
2282
2636
  e = e || "", t = t || "";
2283
- const i = ba.filter((r) => e.indexOf(r) < 0 && t.indexOf(r) < 0);
2637
+ const i = Ba.filter((r) => e.indexOf(r) < 0 && t.indexOf(r) < 0);
2284
2638
  if (i.length === 0)
2285
2639
  return !0;
2286
2640
  const a = new RegExp(`(${i.map((r) => r === "?" ? "\\?" : r).join("|")})`);
@@ -2326,7 +2680,7 @@ function ge(n, e) {
2326
2680
  function ke(n) {
2327
2681
  return n && n.indexOf("_") > 0 ? n.replace("_", "-") : n;
2328
2682
  }
2329
- class pt extends Ne {
2683
+ class St extends Ne {
2330
2684
  constructor(e) {
2331
2685
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2332
2686
  ns: ["translation"],
@@ -2355,7 +2709,7 @@ class pt extends Ne {
2355
2709
  };
2356
2710
  const r = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator;
2357
2711
  let o = [e, t];
2358
- i && (o = o.concat(r ? i.split(r) : i)), e.indexOf(".") > -1 && (o = e.split("."), a = t, t = o[1]), this.addNamespaces(t), ft(this.data, o, a), s.silent || this.emit("added", e, t, i, a);
2712
+ i && (o = o.concat(r ? i.split(r) : i)), e.indexOf(".") > -1 && (o = e.split("."), a = t, t = o[1]), this.addNamespaces(t), vt(this.data, o, a), s.silent || this.emit("added", e, t, i, a);
2359
2713
  }
2360
2714
  addResources(e, t, i) {
2361
2715
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -2373,10 +2727,10 @@ class pt extends Ne {
2373
2727
  }, o = [e, t];
2374
2728
  e.indexOf(".") > -1 && (o = e.split("."), a = i, i = t, t = o[1]), this.addNamespaces(t);
2375
2729
  let d = he(this.data, o) || {};
2376
- a ? Ht(d, i, s) : d = {
2730
+ a ? Xt(d, i, s) : d = {
2377
2731
  ...d,
2378
2732
  ...i
2379
- }, ft(this.data, o, d), r.silent || this.emit("added", e, t, i);
2733
+ }, vt(this.data, o, d), r.silent || this.emit("added", e, t, i);
2380
2734
  }
2381
2735
  removeResourceBundle(e, t) {
2382
2736
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -2400,7 +2754,7 @@ class pt extends Ne {
2400
2754
  return this.data;
2401
2755
  }
2402
2756
  }
2403
- var Zt = {
2757
+ var Yt = {
2404
2758
  processors: {},
2405
2759
  addPostProcessor(n) {
2406
2760
  this.processors[n.name] = n;
@@ -2411,11 +2765,11 @@ var Zt = {
2411
2765
  }), e;
2412
2766
  }
2413
2767
  };
2414
- const ht = {};
2768
+ const yt = {};
2415
2769
  class ve extends Ne {
2416
2770
  constructor(e) {
2417
2771
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2418
- super(), ka(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = j.create("translator");
2772
+ super(), Ua(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = j.create("translator");
2419
2773
  }
2420
2774
  changeLanguage(e) {
2421
2775
  e && (this.language = e);
@@ -2434,7 +2788,7 @@ class ve extends Ne {
2434
2788
  i === void 0 && (i = ":");
2435
2789
  const a = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
2436
2790
  let s = t.ns || this.options.defaultNS || [];
2437
- const r = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Fa(e, i, a);
2791
+ const r = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Qa(e, i, a);
2438
2792
  if (r && !o) {
2439
2793
  const d = e.match(this.interpolator.nestingRegexp);
2440
2794
  if (d && d.length > 0)
@@ -2582,7 +2936,7 @@ class ve extends Ne {
2582
2936
  }, i)), i.interpolation && this.interpolator.reset();
2583
2937
  }
2584
2938
  const o = i.postProcess || this.options.postProcess, d = typeof o == "string" ? [o] : o;
2585
- return e != null && d && d.length && i.applyPostProcessor !== !1 && (e = Zt.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
2939
+ return e != null && d && d.length && i.applyPostProcessor !== !1 && (e = Yt.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
2586
2940
  i18nResolved: {
2587
2941
  ...a,
2588
2942
  usedParams: this.getUsedParamsDetails(i)
@@ -2601,7 +2955,7 @@ class ve extends Ne {
2601
2955
  this.options.fallbackNS && (p = p.concat(this.options.fallbackNS));
2602
2956
  const c = t.count !== void 0 && typeof t.count != "string", v = c && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), S = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", k = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
2603
2957
  p.forEach((y) => {
2604
- this.isValidLookup(i) || (o = y, !ht[`${k[0]}-${y}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (ht[`${k[0]}-${y}`] = !0, this.logger.warn(`key "${a}" for languages "${k.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), k.forEach((F) => {
2958
+ this.isValidLookup(i) || (o = y, !yt[`${k[0]}-${y}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (yt[`${k[0]}-${y}`] = !0, this.logger.warn(`key "${a}" for languages "${k.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), k.forEach((F) => {
2605
2959
  if (this.isValidLookup(i))
2606
2960
  return;
2607
2961
  r = F;
@@ -2664,7 +3018,7 @@ class ve extends Ne {
2664
3018
  function Oe(n) {
2665
3019
  return n.charAt(0).toUpperCase() + n.slice(1);
2666
3020
  }
2667
- class gt {
3021
+ class Nt {
2668
3022
  constructor(e) {
2669
3023
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = j.create("languageUtils");
2670
3024
  }
@@ -2733,7 +3087,7 @@ class gt {
2733
3087
  }), a;
2734
3088
  }
2735
3089
  }
2736
- let wa = [{
3090
+ let Ka = [{
2737
3091
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
2738
3092
  nr: [1, 2],
2739
3093
  fc: 1
@@ -2825,7 +3179,7 @@ let wa = [{
2825
3179
  lngs: ["he", "iw"],
2826
3180
  nr: [1, 2, 20, 21],
2827
3181
  fc: 22
2828
- }], Ca = {
3182
+ }], Ga = {
2829
3183
  1: function(n) {
2830
3184
  return +(n > 1);
2831
3185
  },
@@ -2893,7 +3247,7 @@ let wa = [{
2893
3247
  return n == 1 ? 0 : n == 2 ? 1 : (n < 0 || n > 10) && n % 10 == 0 ? 2 : 3;
2894
3248
  }
2895
3249
  };
2896
- const Ea = ["v1", "v2", "v3"], Oa = ["v4"], kt = {
3250
+ const Wa = ["v1", "v2", "v3"], Ja = ["v4"], bt = {
2897
3251
  zero: 0,
2898
3252
  one: 1,
2899
3253
  two: 2,
@@ -2901,21 +3255,21 @@ const Ea = ["v1", "v2", "v3"], Oa = ["v4"], kt = {
2901
3255
  many: 4,
2902
3256
  other: 5
2903
3257
  };
2904
- function Ra() {
3258
+ function qa() {
2905
3259
  const n = {};
2906
- return wa.forEach((e) => {
3260
+ return Ka.forEach((e) => {
2907
3261
  e.lngs.forEach((t) => {
2908
3262
  n[t] = {
2909
3263
  numbers: e.nr,
2910
- plurals: Ca[e.fc]
3264
+ plurals: Ga[e.fc]
2911
3265
  };
2912
3266
  });
2913
3267
  }), n;
2914
3268
  }
2915
- class xa {
3269
+ class Ha {
2916
3270
  constructor(e) {
2917
3271
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2918
- this.languageUtils = e, this.options = t, this.logger = j.create("pluralResolver"), (!this.options.compatibilityJSON || Oa.includes(this.options.compatibilityJSON)) && (typeof Intl == "undefined" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Ra();
3272
+ this.languageUtils = e, this.options = t, this.logger = j.create("pluralResolver"), (!this.options.compatibilityJSON || Ja.includes(this.options.compatibilityJSON)) && (typeof Intl == "undefined" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = qa();
2919
3273
  }
2920
3274
  addRule(e, t) {
2921
3275
  this.rules[e] = t;
@@ -2944,7 +3298,7 @@ class xa {
2944
3298
  getSuffixes(e) {
2945
3299
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2946
3300
  const i = this.getRule(e, t);
2947
- return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((a, s) => kt[a] - kt[s]).map((a) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : i.numbers.map((a) => this.getSuffix(e, a, t)) : [];
3301
+ return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((a, s) => bt[a] - bt[s]).map((a) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : i.numbers.map((a) => this.getSuffix(e, a, t)) : [];
2948
3302
  }
2949
3303
  getSuffix(e, t) {
2950
3304
  let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -2959,14 +3313,14 @@ class xa {
2959
3313
  return this.options.compatibilityJSON === "v1" ? a === 1 ? "" : typeof a == "number" ? `_plural_${a.toString()}` : s() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? s() : this.options.prepend && i.toString() ? this.options.prepend + i.toString() : i.toString();
2960
3314
  }
2961
3315
  shouldUseIntlApi() {
2962
- return !Ea.includes(this.options.compatibilityJSON);
3316
+ return !Wa.includes(this.options.compatibilityJSON);
2963
3317
  }
2964
3318
  }
2965
- function vt(n, e, t) {
2966
- let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = Sa(n, e, t);
3319
+ function Ft(n, e, t) {
3320
+ let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = ja(n, e, t);
2967
3321
  return !s && a && typeof t == "string" && (s = ge(n, t, i), s === void 0 && (s = ge(e, t, i))), s;
2968
3322
  }
2969
- class Ta {
3323
+ class Za {
2970
3324
  constructor() {
2971
3325
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2972
3326
  this.logger = j.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
@@ -2977,7 +3331,7 @@ class Ta {
2977
3331
  escapeValue: !0
2978
3332
  });
2979
3333
  const t = e.interpolation;
2980
- this.escape = t.escape !== void 0 ? t.escape : Na, this.escapeValue = t.escapeValue !== void 0 ? t.escapeValue : !0, this.useRawValueToEscape = t.useRawValueToEscape !== void 0 ? t.useRawValueToEscape : !1, this.prefix = t.prefix ? Q(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? Q(t.suffix) : t.suffixEscaped || "}}", this.formatSeparator = t.formatSeparator ? t.formatSeparator : t.formatSeparator || ",", this.unescapePrefix = t.unescapeSuffix ? "" : t.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : t.unescapeSuffix || "", this.nestingPrefix = t.nestingPrefix ? Q(t.nestingPrefix) : t.nestingPrefixEscaped || Q("$t("), this.nestingSuffix = t.nestingSuffix ? Q(t.nestingSuffix) : t.nestingSuffixEscaped || Q(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat !== void 0 ? t.alwaysFormat : !1, this.resetRegExp();
3334
+ this.escape = t.escape !== void 0 ? t.escape : za, this.escapeValue = t.escapeValue !== void 0 ? t.escapeValue : !0, this.useRawValueToEscape = t.useRawValueToEscape !== void 0 ? t.useRawValueToEscape : !1, this.prefix = t.prefix ? Q(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? Q(t.suffix) : t.suffixEscaped || "}}", this.formatSeparator = t.formatSeparator ? t.formatSeparator : t.formatSeparator || ",", this.unescapePrefix = t.unescapeSuffix ? "" : t.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : t.unescapeSuffix || "", this.nestingPrefix = t.nestingPrefix ? Q(t.nestingPrefix) : t.nestingPrefixEscaped || Q("$t("), this.nestingSuffix = t.nestingSuffix ? Q(t.nestingSuffix) : t.nestingSuffixEscaped || Q(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat !== void 0 ? t.alwaysFormat : !1, this.resetRegExp();
2981
3335
  }
2982
3336
  reset() {
2983
3337
  this.options && this.init(this.options);
@@ -2998,7 +3352,7 @@ class Ta {
2998
3352
  }
2999
3353
  const u = (S) => {
3000
3354
  if (S.indexOf(this.formatSeparator) < 0) {
3001
- const w = vt(t, d, S, this.options.keySeparator, this.options.ignoreJSONStructure);
3355
+ const w = Ft(t, d, S, this.options.keySeparator, this.options.ignoreJSONStructure);
3002
3356
  return this.alwaysFormat ? this.format(w, void 0, i, {
3003
3357
  ...a,
3004
3358
  ...t,
@@ -3006,7 +3360,7 @@ class Ta {
3006
3360
  }) : w;
3007
3361
  }
3008
3362
  const k = S.split(this.formatSeparator), y = k.shift().trim(), F = k.join(this.formatSeparator).trim();
3009
- return this.format(vt(t, d, y, this.options.keySeparator, this.options.ignoreJSONStructure), F, i, {
3363
+ return this.format(Ft(t, d, y, this.options.keySeparator, this.options.ignoreJSONStructure), F, i, {
3010
3364
  ...a,
3011
3365
  ...t,
3012
3366
  interpolationkey: y
@@ -3035,7 +3389,7 @@ class Ta {
3035
3389
  } else
3036
3390
  this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), r = "";
3037
3391
  else
3038
- typeof r != "string" && !this.useRawValueToEscape && (r = mt(r));
3392
+ typeof r != "string" && !this.useRawValueToEscape && (r = kt(r));
3039
3393
  const y = S.safeValue(r);
3040
3394
  if (e = e.replace(s[0], y), c ? (S.regex.lastIndex += r.length, S.regex.lastIndex -= s[0].length) : S.regex.lastIndex = 0, o++, o >= this.maxReplaces)
3041
3395
  break;
@@ -3075,7 +3429,7 @@ class Ta {
3075
3429
  }
3076
3430
  if (s = t(o.call(this, a[1].trim(), r), r), s && a[0] === e && typeof s != "string")
3077
3431
  return s;
3078
- typeof s != "string" && (s = mt(s)), s || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`), s = ""), l && (s = d.reduce((u, p) => this.format(u, p, i.lng, {
3432
+ typeof s != "string" && (s = kt(s)), s || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`), s = ""), l && (s = d.reduce((u, p) => this.format(u, p, i.lng, {
3079
3433
  ...i,
3080
3434
  interpolationkey: a[1].trim()
3081
3435
  }), s.trim())), e = e.replace(a[0], s), this.regexp.lastIndex = 0;
@@ -3083,7 +3437,7 @@ class Ta {
3083
3437
  return e;
3084
3438
  }
3085
3439
  }
3086
- function Da(n) {
3440
+ function Xa(n) {
3087
3441
  let e = n.toLowerCase().trim();
3088
3442
  const t = {};
3089
3443
  if (n.indexOf("(") > -1) {
@@ -3110,7 +3464,7 @@ function K(n) {
3110
3464
  return o || (o = n(ke(a), s), e[r] = o), o(i);
3111
3465
  };
3112
3466
  }
3113
- class La {
3467
+ class Ya {
3114
3468
  constructor() {
3115
3469
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3116
3470
  this.logger = j.create("formatter"), this.options = e, this.formats = {
@@ -3165,7 +3519,7 @@ class La {
3165
3519
  const {
3166
3520
  formatName: l,
3167
3521
  formatOptions: u
3168
- } = Da(d);
3522
+ } = Xa(d);
3169
3523
  if (this.formats[l]) {
3170
3524
  let p = o;
3171
3525
  try {
@@ -3185,10 +3539,10 @@ class La {
3185
3539
  }, e);
3186
3540
  }
3187
3541
  }
3188
- function Ia(n, e) {
3542
+ function es(n, e) {
3189
3543
  n.pending[e] !== void 0 && (delete n.pending[e], n.pendingCount--);
3190
3544
  }
3191
- class Aa extends Ne {
3545
+ class ts extends Ne {
3192
3546
  constructor(e, t, i) {
3193
3547
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
3194
3548
  super(), this.backend = e, this.store = t, this.services = i, this.languageUtils = i.languageUtils, this.options = a, this.logger = j.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = a.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = a.maxRetries >= 0 ? a.maxRetries : 5, this.retryTimeout = a.retryTimeout >= 1 ? a.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(i, a.backend, a);
@@ -3219,7 +3573,7 @@ class Aa extends Ne {
3219
3573
  t && this.emit("failedLoading", s, r, t), i && this.store.addResourceBundle(s, r, i), this.state[e] = t ? -1 : 2;
3220
3574
  const o = {};
3221
3575
  this.queue.forEach((d) => {
3222
- va(d.loaded, [s], r), Ia(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((l) => {
3576
+ Ma(d.loaded, [s], r), es(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((l) => {
3223
3577
  o[l] || (o[l] = {});
3224
3578
  const u = d.loaded[l];
3225
3579
  u.length && u.forEach((p) => {
@@ -3322,7 +3676,7 @@ class Aa extends Ne {
3322
3676
  }
3323
3677
  }
3324
3678
  }
3325
- function St() {
3679
+ function wt() {
3326
3680
  return {
3327
3681
  debug: !1,
3328
3682
  initImmediate: !0,
@@ -3381,22 +3735,22 @@ function St() {
3381
3735
  }
3382
3736
  };
3383
3737
  }
3384
- function yt(n) {
3738
+ function Ct(n) {
3385
3739
  return typeof n.ns == "string" && (n.ns = [n.ns]), typeof n.fallbackLng == "string" && (n.fallbackLng = [n.fallbackLng]), typeof n.fallbackNS == "string" && (n.fallbackNS = [n.fallbackNS]), n.supportedLngs && n.supportedLngs.indexOf("cimode") < 0 && (n.supportedLngs = n.supportedLngs.concat(["cimode"])), n;
3386
3740
  }
3387
3741
  function le() {
3388
3742
  }
3389
- function Pa(n) {
3743
+ function ns(n) {
3390
3744
  Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((t) => {
3391
3745
  typeof n[t] == "function" && (n[t] = n[t].bind(n));
3392
3746
  });
3393
3747
  }
3394
- class ie extends Ne {
3748
+ class ae extends Ne {
3395
3749
  constructor() {
3396
3750
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
3397
- if (super(), this.options = yt(e), this.services = {}, this.logger = j, this.modules = {
3751
+ if (super(), this.options = Ct(e), this.services = {}, this.logger = j, this.modules = {
3398
3752
  external: []
3399
- }, Pa(this), t && !this.isInitialized && !e.isClone) {
3753
+ }, ns(this), t && !this.isInitialized && !e.isClone) {
3400
3754
  if (!this.options.initImmediate)
3401
3755
  return this.init(e, t), this;
3402
3756
  setTimeout(() => {
@@ -3408,11 +3762,11 @@ class ie extends Ne {
3408
3762
  var e = this;
3409
3763
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
3410
3764
  typeof t == "function" && (i = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (typeof t.ns == "string" ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
3411
- const a = St();
3765
+ const a = wt();
3412
3766
  this.options = {
3413
3767
  ...a,
3414
3768
  ...this.options,
3415
- ...yt(t)
3769
+ ...Ct(t)
3416
3770
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
3417
3771
  ...a.interpolation,
3418
3772
  ...this.options.interpolation
@@ -3423,17 +3777,17 @@ class ie extends Ne {
3423
3777
  if (!this.options.isClone) {
3424
3778
  this.modules.logger ? j.init(s(this.modules.logger), this.options) : j.init(null, this.options);
3425
3779
  let u;
3426
- this.modules.formatter ? u = this.modules.formatter : typeof Intl != "undefined" && (u = La);
3427
- const p = new gt(this.options);
3428
- this.store = new pt(this.options.resources, this.options);
3780
+ this.modules.formatter ? u = this.modules.formatter : typeof Intl != "undefined" && (u = Ya);
3781
+ const p = new Nt(this.options);
3782
+ this.store = new St(this.options.resources, this.options);
3429
3783
  const c = this.services;
3430
- c.logger = j, c.resourceStore = this.store, c.languageUtils = p, c.pluralResolver = new xa(p, {
3784
+ c.logger = j, c.resourceStore = this.store, c.languageUtils = p, c.pluralResolver = new Ha(p, {
3431
3785
  prepend: this.options.pluralSeparator,
3432
3786
  compatibilityJSON: this.options.compatibilityJSON,
3433
3787
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
3434
- }), u && (!this.options.interpolation.format || this.options.interpolation.format === a.interpolation.format) && (c.formatter = s(u), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new Ta(this.options), c.utils = {
3788
+ }), u && (!this.options.interpolation.format || this.options.interpolation.format === a.interpolation.format) && (c.formatter = s(u), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new Za(this.options), c.utils = {
3435
3789
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
3436
- }, c.backendConnector = new Aa(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(v) {
3790
+ }, c.backendConnector = new ts(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(v) {
3437
3791
  for (var S = arguments.length, k = new Array(S > 1 ? S - 1 : 0), y = 1; y < S; y++)
3438
3792
  k[y - 1] = arguments[y];
3439
3793
  e.emit(v, ...k);
@@ -3458,7 +3812,7 @@ class ie extends Ne {
3458
3812
  return e.store[u](...arguments), e;
3459
3813
  };
3460
3814
  });
3461
- const d = H(), l = () => {
3815
+ const d = X(), l = () => {
3462
3816
  const u = (p, c) => {
3463
3817
  this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), d.resolve(c), i(p, c);
3464
3818
  };
@@ -3488,7 +3842,7 @@ class ie extends Ne {
3488
3842
  i(null);
3489
3843
  }
3490
3844
  reloadResources(e, t, i) {
3491
- const a = H();
3845
+ const a = X();
3492
3846
  return e || (e = this.languages), t || (t = this.options.ns), i || (i = le), this.services.backendConnector.reload(e, t, (s) => {
3493
3847
  a.resolve(), i(s);
3494
3848
  }), a;
@@ -3498,7 +3852,7 @@ class ie extends Ne {
3498
3852
  throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
3499
3853
  if (!e.type)
3500
3854
  throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
3501
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Zt.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3855
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Yt.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3502
3856
  }
3503
3857
  setResolvedLanguage(e) {
3504
3858
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
@@ -3513,7 +3867,7 @@ class ie extends Ne {
3513
3867
  changeLanguage(e, t) {
3514
3868
  var i = this;
3515
3869
  this.isLanguageChangingTo = e;
3516
- const a = H();
3870
+ const a = X();
3517
3871
  this.emit("languageChanging", e);
3518
3872
  const s = (d) => {
3519
3873
  this.language = d, this.languages = this.services.languageUtils.toResolveHierarchy(d), this.resolvedLanguage = void 0, this.setResolvedLanguage(d);
@@ -3538,438 +3892,124 @@ class ie extends Ne {
3538
3892
  let d;
3539
3893
  if (typeof o != "object") {
3540
3894
  for (var l = arguments.length, u = new Array(l > 2 ? l - 2 : 0), p = 2; p < l; p++)
3541
- u[p - 2] = arguments[p];
3542
- d = a.options.overloadTranslationOptionHandler([r, o].concat(u));
3543
- } else
3544
- d = {
3545
- ...o
3546
- };
3547
- d.lng = d.lng || s.lng, d.lngs = d.lngs || s.lngs, d.ns = d.ns || s.ns, d.keyPrefix = d.keyPrefix || i || s.keyPrefix;
3548
- const c = a.options.keySeparator || ".";
3549
- let v;
3550
- return d.keyPrefix && Array.isArray(r) ? v = r.map((S) => `${d.keyPrefix}${c}${S}`) : v = d.keyPrefix ? `${d.keyPrefix}${c}${r}` : r, a.t(v, d);
3551
- };
3552
- return typeof e == "string" ? s.lng = e : s.lngs = e, s.ns = t, s.keyPrefix = i, s;
3553
- }
3554
- t() {
3555
- return this.translator && this.translator.translate(...arguments);
3556
- }
3557
- exists() {
3558
- return this.translator && this.translator.exists(...arguments);
3559
- }
3560
- setDefaultNamespace(e) {
3561
- this.options.defaultNS = e;
3562
- }
3563
- hasLoadedNamespace(e) {
3564
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3565
- if (!this.isInitialized)
3566
- return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
3567
- if (!this.languages || !this.languages.length)
3568
- return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
3569
- const i = t.lng || this.resolvedLanguage || this.languages[0], a = this.options ? this.options.fallbackLng : !1, s = this.languages[this.languages.length - 1];
3570
- if (i.toLowerCase() === "cimode")
3571
- return !0;
3572
- const r = (o, d) => {
3573
- const l = this.services.backendConnector.state[`${o}|${d}`];
3574
- return l === -1 || l === 2;
3575
- };
3576
- if (t.precheck) {
3577
- const o = t.precheck(this, r);
3578
- if (o !== void 0)
3579
- return o;
3580
- }
3581
- return !!(this.hasResourceBundle(i, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || r(i, e) && (!a || r(s, e)));
3582
- }
3583
- loadNamespaces(e, t) {
3584
- const i = H();
3585
- return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach((a) => {
3586
- this.options.ns.indexOf(a) < 0 && this.options.ns.push(a);
3587
- }), this.loadResources((a) => {
3588
- i.resolve(), t && t(a);
3589
- }), i) : (t && t(), Promise.resolve());
3590
- }
3591
- loadLanguages(e, t) {
3592
- const i = H();
3593
- typeof e == "string" && (e = [e]);
3594
- const a = this.options.preload || [], s = e.filter((r) => a.indexOf(r) < 0);
3595
- return s.length ? (this.options.preload = a.concat(s), this.loadResources((r) => {
3596
- i.resolve(), t && t(r);
3597
- }), i) : (t && t(), Promise.resolve());
3598
- }
3599
- dir(e) {
3600
- if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e)
3601
- return "rtl";
3602
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = this.services && this.services.languageUtils || new gt(St());
3603
- return t.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
3604
- }
3605
- static createInstance() {
3606
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
3607
- return new ie(e, t);
3608
- }
3609
- cloneInstance() {
3610
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : le;
3611
- const i = e.forkResourceStore;
3612
- i && delete e.forkResourceStore;
3613
- const a = {
3614
- ...this.options,
3615
- ...e,
3616
- isClone: !0
3617
- }, s = new ie(a);
3618
- return (e.debug !== void 0 || e.prefix !== void 0) && (s.logger = s.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
3619
- s[o] = this[o];
3620
- }), s.services = {
3621
- ...this.services
3622
- }, s.services.utils = {
3623
- hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
3624
- }, i && (s.store = new pt(this.store.data, a), s.services.resourceStore = s.store), s.translator = new ve(s.services, a), s.translator.on("*", function(o) {
3625
- for (var d = arguments.length, l = new Array(d > 1 ? d - 1 : 0), u = 1; u < d; u++)
3626
- l[u - 1] = arguments[u];
3627
- s.emit(o, ...l);
3628
- }), s.init(a, t), s.translator.options = a, s.translator.backendConnector.services.utils = {
3629
- hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
3630
- }, s;
3631
- }
3632
- toJSON() {
3633
- return {
3634
- options: this.options,
3635
- store: this.store,
3636
- language: this.language,
3637
- languages: this.languages,
3638
- resolvedLanguage: this.resolvedLanguage
3639
- };
3640
- }
3641
- }
3642
- const U = ie.createInstance();
3643
- U.createInstance = ie.createInstance;
3644
- U.createInstance;
3645
- U.dir;
3646
- U.init;
3647
- U.loadResources;
3648
- U.reloadResources;
3649
- U.use;
3650
- U.changeLanguage;
3651
- U.getFixedT;
3652
- U.t;
3653
- U.exists;
3654
- U.setDefaultNamespace;
3655
- U.hasLoadedNamespace;
3656
- U.loadNamespaces;
3657
- U.loadLanguages;
3658
- function Va(n) {
3659
- const e = Object.values(n);
3660
- return Object.assign({}, ...e);
3661
- }
3662
- function _a(n) {
3663
- return Object.entries(n).reduce(
3664
- (e, [t, i]) => {
3665
- const a = Va(i);
3666
- return { ...e, [t]: a };
3667
- },
3668
- {}
3669
- );
3670
- }
3671
- function Xs(n) {
3672
- const e = _a(n);
3673
- Object.entries(e).forEach(([t, i]) => {
3674
- U.addResourceBundle(t, "translation", i, !0);
3675
- });
3676
- }
3677
- function Ua(n, e) {
3678
- if (!(n instanceof e))
3679
- throw new TypeError("Cannot call a class as a function");
3680
- }
3681
- function ae(n) {
3682
- "@babel/helpers - typeof";
3683
- return ae = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
3684
- return typeof e;
3685
- } : function(e) {
3686
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
3687
- }, ae(n);
3688
- }
3689
- function Ma(n, e) {
3690
- if (ae(n) !== "object" || n === null)
3691
- return n;
3692
- var t = n[Symbol.toPrimitive];
3693
- if (t !== void 0) {
3694
- var i = t.call(n, e || "default");
3695
- if (ae(i) !== "object")
3696
- return i;
3697
- throw new TypeError("@@toPrimitive must return a primitive value.");
3698
- }
3699
- return (e === "string" ? String : Number)(n);
3700
- }
3701
- function ja(n) {
3702
- var e = Ma(n, "string");
3703
- return ae(e) === "symbol" ? e : String(e);
3704
- }
3705
- function Nt(n, e) {
3706
- for (var t = 0; t < e.length; t++) {
3707
- var i = e[t];
3708
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(n, ja(i.key), i);
3709
- }
3710
- }
3711
- function $a(n, e, t) {
3712
- return e && Nt(n.prototype, e), t && Nt(n, t), Object.defineProperty(n, "prototype", {
3713
- writable: !1
3714
- }), n;
3715
- }
3716
- var Xt = [], za = Xt.forEach, Ba = Xt.slice;
3717
- function Qa(n) {
3718
- return za.call(Ba.call(arguments, 1), function(e) {
3719
- if (e)
3720
- for (var t in e)
3721
- n[t] === void 0 && (n[t] = e[t]);
3722
- }), n;
3723
- }
3724
- var bt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ka = function(e, t, i) {
3725
- var a = i || {};
3726
- a.path = a.path || "/";
3727
- var s = encodeURIComponent(t), r = "".concat(e, "=").concat(s);
3728
- if (a.maxAge > 0) {
3729
- var o = a.maxAge - 0;
3730
- if (Number.isNaN(o))
3731
- throw new Error("maxAge should be a Number");
3732
- r += "; Max-Age=".concat(Math.floor(o));
3733
- }
3734
- if (a.domain) {
3735
- if (!bt.test(a.domain))
3736
- throw new TypeError("option domain is invalid");
3737
- r += "; Domain=".concat(a.domain);
3738
- }
3739
- if (a.path) {
3740
- if (!bt.test(a.path))
3741
- throw new TypeError("option path is invalid");
3742
- r += "; Path=".concat(a.path);
3743
- }
3744
- if (a.expires) {
3745
- if (typeof a.expires.toUTCString != "function")
3746
- throw new TypeError("option expires is invalid");
3747
- r += "; Expires=".concat(a.expires.toUTCString());
3748
- }
3749
- if (a.httpOnly && (r += "; HttpOnly"), a.secure && (r += "; Secure"), a.sameSite) {
3750
- var d = typeof a.sameSite == "string" ? a.sameSite.toLowerCase() : a.sameSite;
3751
- switch (d) {
3752
- case !0:
3753
- r += "; SameSite=Strict";
3754
- break;
3755
- case "lax":
3756
- r += "; SameSite=Lax";
3757
- break;
3758
- case "strict":
3759
- r += "; SameSite=Strict";
3760
- break;
3761
- case "none":
3762
- r += "; SameSite=None";
3763
- break;
3764
- default:
3765
- throw new TypeError("option sameSite is invalid");
3766
- }
3767
- }
3768
- return r;
3769
- }, Ft = {
3770
- create: function(e, t, i, a) {
3771
- var s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
3772
- path: "/",
3773
- sameSite: "strict"
3895
+ u[p - 2] = arguments[p];
3896
+ d = a.options.overloadTranslationOptionHandler([r, o].concat(u));
3897
+ } else
3898
+ d = {
3899
+ ...o
3900
+ };
3901
+ d.lng = d.lng || s.lng, d.lngs = d.lngs || s.lngs, d.ns = d.ns || s.ns, d.keyPrefix = d.keyPrefix || i || s.keyPrefix;
3902
+ const c = a.options.keySeparator || ".";
3903
+ let v;
3904
+ return d.keyPrefix && Array.isArray(r) ? v = r.map((S) => `${d.keyPrefix}${c}${S}`) : v = d.keyPrefix ? `${d.keyPrefix}${c}${r}` : r, a.t(v, d);
3774
3905
  };
3775
- i && (s.expires = /* @__PURE__ */ new Date(), s.expires.setTime(s.expires.getTime() + i * 60 * 1e3)), a && (s.domain = a), document.cookie = Ka(e, encodeURIComponent(t), s);
3776
- },
3777
- read: function(e) {
3778
- for (var t = "".concat(e, "="), i = document.cookie.split(";"), a = 0; a < i.length; a++) {
3779
- for (var s = i[a]; s.charAt(0) === " "; )
3780
- s = s.substring(1, s.length);
3781
- if (s.indexOf(t) === 0)
3782
- return s.substring(t.length, s.length);
3783
- }
3784
- return null;
3785
- },
3786
- remove: function(e) {
3787
- this.create(e, "", -1);
3906
+ return typeof e == "string" ? s.lng = e : s.lngs = e, s.ns = t, s.keyPrefix = i, s;
3788
3907
  }
3789
- }, Ga = {
3790
- name: "cookie",
3791
- lookup: function(e) {
3792
- var t;
3793
- if (e.lookupCookie && typeof document != "undefined") {
3794
- var i = Ft.read(e.lookupCookie);
3795
- i && (t = i);
3796
- }
3797
- return t;
3798
- },
3799
- cacheUserLanguage: function(e, t) {
3800
- t.lookupCookie && typeof document != "undefined" && Ft.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
3908
+ t() {
3909
+ return this.translator && this.translator.translate(...arguments);
3801
3910
  }
3802
- }, Wa = {
3803
- name: "querystring",
3804
- lookup: function(e) {
3805
- var t;
3806
- if (typeof window != "undefined") {
3807
- var i = window.location.search;
3808
- !window.location.search && window.location.hash && window.location.hash.indexOf("?") > -1 && (i = window.location.hash.substring(window.location.hash.indexOf("?")));
3809
- for (var a = i.substring(1), s = a.split("&"), r = 0; r < s.length; r++) {
3810
- var o = s[r].indexOf("=");
3811
- if (o > 0) {
3812
- var d = s[r].substring(0, o);
3813
- d === e.lookupQuerystring && (t = s[r].substring(o + 1));
3814
- }
3815
- }
3816
- }
3817
- return t;
3911
+ exists() {
3912
+ return this.translator && this.translator.exists(...arguments);
3818
3913
  }
3819
- }, Z = null, wt = function() {
3820
- if (Z !== null)
3821
- return Z;
3822
- try {
3823
- Z = window !== "undefined" && window.localStorage !== null;
3824
- var e = "i18next.translate.boo";
3825
- window.localStorage.setItem(e, "foo"), window.localStorage.removeItem(e);
3826
- } catch {
3827
- Z = !1;
3914
+ setDefaultNamespace(e) {
3915
+ this.options.defaultNS = e;
3828
3916
  }
3829
- return Z;
3830
- }, Ja = {
3831
- name: "localStorage",
3832
- lookup: function(e) {
3833
- var t;
3834
- if (e.lookupLocalStorage && wt()) {
3835
- var i = window.localStorage.getItem(e.lookupLocalStorage);
3836
- i && (t = i);
3917
+ hasLoadedNamespace(e) {
3918
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3919
+ if (!this.isInitialized)
3920
+ return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
3921
+ if (!this.languages || !this.languages.length)
3922
+ return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
3923
+ const i = t.lng || this.resolvedLanguage || this.languages[0], a = this.options ? this.options.fallbackLng : !1, s = this.languages[this.languages.length - 1];
3924
+ if (i.toLowerCase() === "cimode")
3925
+ return !0;
3926
+ const r = (o, d) => {
3927
+ const l = this.services.backendConnector.state[`${o}|${d}`];
3928
+ return l === -1 || l === 2;
3929
+ };
3930
+ if (t.precheck) {
3931
+ const o = t.precheck(this, r);
3932
+ if (o !== void 0)
3933
+ return o;
3837
3934
  }
3838
- return t;
3839
- },
3840
- cacheUserLanguage: function(e, t) {
3841
- t.lookupLocalStorage && wt() && window.localStorage.setItem(t.lookupLocalStorage, e);
3935
+ return !!(this.hasResourceBundle(i, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || r(i, e) && (!a || r(s, e)));
3842
3936
  }
3843
- }, X = null, Ct = function() {
3844
- if (X !== null)
3845
- return X;
3846
- try {
3847
- X = window !== "undefined" && window.sessionStorage !== null;
3848
- var e = "i18next.translate.boo";
3849
- window.sessionStorage.setItem(e, "foo"), window.sessionStorage.removeItem(e);
3850
- } catch {
3851
- X = !1;
3937
+ loadNamespaces(e, t) {
3938
+ const i = X();
3939
+ return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach((a) => {
3940
+ this.options.ns.indexOf(a) < 0 && this.options.ns.push(a);
3941
+ }), this.loadResources((a) => {
3942
+ i.resolve(), t && t(a);
3943
+ }), i) : (t && t(), Promise.resolve());
3852
3944
  }
3853
- return X;
3854
- }, qa = {
3855
- name: "sessionStorage",
3856
- lookup: function(e) {
3857
- var t;
3858
- if (e.lookupSessionStorage && Ct()) {
3859
- var i = window.sessionStorage.getItem(e.lookupSessionStorage);
3860
- i && (t = i);
3861
- }
3862
- return t;
3863
- },
3864
- cacheUserLanguage: function(e, t) {
3865
- t.lookupSessionStorage && Ct() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
3945
+ loadLanguages(e, t) {
3946
+ const i = X();
3947
+ typeof e == "string" && (e = [e]);
3948
+ const a = this.options.preload || [], s = e.filter((r) => a.indexOf(r) < 0);
3949
+ return s.length ? (this.options.preload = a.concat(s), this.loadResources((r) => {
3950
+ i.resolve(), t && t(r);
3951
+ }), i) : (t && t(), Promise.resolve());
3866
3952
  }
3867
- }, Ha = {
3868
- name: "navigator",
3869
- lookup: function(e) {
3870
- var t = [];
3871
- if (typeof navigator != "undefined") {
3872
- if (navigator.languages)
3873
- for (var i = 0; i < navigator.languages.length; i++)
3874
- t.push(navigator.languages[i]);
3875
- navigator.userLanguage && t.push(navigator.userLanguage), navigator.language && t.push(navigator.language);
3876
- }
3877
- return t.length > 0 ? t : void 0;
3953
+ dir(e) {
3954
+ if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e)
3955
+ return "rtl";
3956
+ const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = this.services && this.services.languageUtils || new Nt(wt());
3957
+ return t.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
3878
3958
  }
3879
- }, Za = {
3880
- name: "htmlTag",
3881
- lookup: function(e) {
3882
- var t, i = e.htmlTag || (typeof document != "undefined" ? document.documentElement : null);
3883
- return i && typeof i.getAttribute == "function" && (t = i.getAttribute("lang")), t;
3959
+ static createInstance() {
3960
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
3961
+ return new ae(e, t);
3884
3962
  }
3885
- }, Xa = {
3886
- name: "path",
3887
- lookup: function(e) {
3888
- var t;
3889
- if (typeof window != "undefined") {
3890
- var i = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
3891
- if (i instanceof Array)
3892
- if (typeof e.lookupFromPathIndex == "number") {
3893
- if (typeof i[e.lookupFromPathIndex] != "string")
3894
- return;
3895
- t = i[e.lookupFromPathIndex].replace("/", "");
3896
- } else
3897
- t = i[0].replace("/", "");
3898
- }
3899
- return t;
3963
+ cloneInstance() {
3964
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : le;
3965
+ const i = e.forkResourceStore;
3966
+ i && delete e.forkResourceStore;
3967
+ const a = {
3968
+ ...this.options,
3969
+ ...e,
3970
+ isClone: !0
3971
+ }, s = new ae(a);
3972
+ return (e.debug !== void 0 || e.prefix !== void 0) && (s.logger = s.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
3973
+ s[o] = this[o];
3974
+ }), s.services = {
3975
+ ...this.services
3976
+ }, s.services.utils = {
3977
+ hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
3978
+ }, i && (s.store = new St(this.store.data, a), s.services.resourceStore = s.store), s.translator = new ve(s.services, a), s.translator.on("*", function(o) {
3979
+ for (var d = arguments.length, l = new Array(d > 1 ? d - 1 : 0), u = 1; u < d; u++)
3980
+ l[u - 1] = arguments[u];
3981
+ s.emit(o, ...l);
3982
+ }), s.init(a, t), s.translator.options = a, s.translator.backendConnector.services.utils = {
3983
+ hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
3984
+ }, s;
3900
3985
  }
3901
- }, Ya = {
3902
- name: "subdomain",
3903
- lookup: function(e) {
3904
- var t = typeof e.lookupFromSubdomainIndex == "number" ? e.lookupFromSubdomainIndex + 1 : 1, i = typeof window != "undefined" && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
3905
- if (i)
3906
- return i[t];
3986
+ toJSON() {
3987
+ return {
3988
+ options: this.options,
3989
+ store: this.store,
3990
+ language: this.language,
3991
+ languages: this.languages,
3992
+ resolvedLanguage: this.resolvedLanguage
3993
+ };
3907
3994
  }
3908
- };
3909
- function es() {
3910
- return {
3911
- order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
3912
- lookupQuerystring: "lng",
3913
- lookupCookie: "i18next",
3914
- lookupLocalStorage: "i18nextLng",
3915
- lookupSessionStorage: "i18nextLng",
3916
- // cache user language
3917
- caches: ["localStorage"],
3918
- excludeCacheFor: ["cimode"],
3919
- // cookieMinutes: 10,
3920
- // cookieDomain: 'myDomain'
3921
- convertDetectedLanguage: function(e) {
3922
- return e;
3923
- }
3924
- };
3925
3995
  }
3926
- var Yt = /* @__PURE__ */ function() {
3927
- function n(e) {
3928
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3929
- Ua(this, n), this.type = "languageDetector", this.detectors = {}, this.init(e, t);
3930
- }
3931
- return $a(n, [{
3932
- key: "init",
3933
- value: function(t) {
3934
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3935
- this.services = t || {
3936
- languageUtils: {}
3937
- }, this.options = Qa(i, this.options || {}, es()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(s) {
3938
- return s.replace("-", "_");
3939
- }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(Ga), this.addDetector(Wa), this.addDetector(Ja), this.addDetector(qa), this.addDetector(Ha), this.addDetector(Za), this.addDetector(Xa), this.addDetector(Ya);
3940
- }
3941
- }, {
3942
- key: "addDetector",
3943
- value: function(t) {
3944
- this.detectors[t.name] = t;
3945
- }
3946
- }, {
3947
- key: "detect",
3948
- value: function(t) {
3949
- var i = this;
3950
- t || (t = this.options.order);
3951
- var a = [];
3952
- return t.forEach(function(s) {
3953
- if (i.detectors[s]) {
3954
- var r = i.detectors[s].lookup(i.options);
3955
- r && typeof r == "string" && (r = [r]), r && (a = a.concat(r));
3956
- }
3957
- }), a = a.map(function(s) {
3958
- return i.options.convertDetectedLanguage(s);
3959
- }), this.services.languageUtils.getBestMatchFromCodes ? a : a.length > 0 ? a[0] : null;
3960
- }
3961
- }, {
3962
- key: "cacheUserLanguage",
3963
- value: function(t, i) {
3964
- var a = this;
3965
- i || (i = this.options.caches), i && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(t) > -1 || i.forEach(function(s) {
3966
- a.detectors[s] && a.detectors[s].cacheUserLanguage(t, a.options);
3967
- }));
3968
- }
3969
- }]), n;
3970
- }();
3971
- Yt.type = "languageDetector";
3972
- const ts = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, ns = {
3996
+ const U = ae.createInstance();
3997
+ U.createInstance = ae.createInstance;
3998
+ U.createInstance;
3999
+ U.dir;
4000
+ U.init;
4001
+ U.loadResources;
4002
+ U.reloadResources;
4003
+ U.use;
4004
+ U.changeLanguage;
4005
+ U.getFixedT;
4006
+ U.t;
4007
+ U.exists;
4008
+ U.setDefaultNamespace;
4009
+ U.hasLoadedNamespace;
4010
+ U.loadNamespaces;
4011
+ U.loadLanguages;
4012
+ const is = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, as = {
3973
4013
  "&amp;": "&",
3974
4014
  "&#38;": "&",
3975
4015
  "&lt;": "<",
@@ -3990,7 +4030,7 @@ const ts = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
3990
4030
  "&#8230;": "…",
3991
4031
  "&#x2F;": "/",
3992
4032
  "&#47;": "/"
3993
- }, is = (n) => ns[n], as = (n) => n.replace(ts, is);
4033
+ }, ss = (n) => as[n], rs = (n) => n.replace(is, ss);
3994
4034
  let Et = {
3995
4035
  bindI18n: "languageChanged",
3996
4036
  bindI18nStore: "",
@@ -3999,108 +4039,73 @@ let Et = {
3999
4039
  transWrapTextNodes: "",
4000
4040
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
4001
4041
  useSuspense: !0,
4002
- unescape: as
4042
+ unescape: rs
4003
4043
  };
4004
- function ss() {
4044
+ function os() {
4005
4045
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4006
4046
  Et = {
4007
4047
  ...Et,
4008
4048
  ...n
4009
4049
  };
4010
4050
  }
4011
- const rs = {
4051
+ const ls = {
4012
4052
  type: "3rdParty",
4013
4053
  init(n) {
4014
- ss(n.options.react);
4015
- }
4016
- }, Ys = U.use(rs).use(Yt).init({
4017
- resources: {},
4018
- fallbackLng: "en",
4019
- debug: !1,
4020
- interpolation: {
4021
- escapeValue: !1,
4022
- // not needed for react as it escapes by default
4023
- format: (n, e, t) => {
4024
- if (e) {
4025
- const [i, ...a] = e.split(",").map((s) => s.trim());
4026
- if (i === "number")
4027
- return new Intl.NumberFormat(t).format(n);
4028
- if (i === "date")
4029
- return new Intl.DateTimeFormat(t).format(n);
4030
- if (i === "currency")
4031
- return new Intl.NumberFormat(t, {
4032
- style: "currency",
4033
- currency: a[0] || "USD",
4034
- currencyDisplay: "narrowSymbol"
4035
- }).format(n).replace("$", "").trim();
4036
- }
4037
- return n;
4038
- }
4039
- },
4040
- detection: {
4041
- // order and from where user language should be detected
4042
- order: [
4043
- "navigator",
4044
- "cookie",
4045
- "localStorage",
4046
- "sessionStorage",
4047
- "querystring",
4048
- "htmlTag",
4049
- "path",
4050
- "subdomain"
4051
- ]
4054
+ os(n.options.react);
4052
4055
  }
4053
- });
4056
+ };
4057
+ Va(U, ls);
4058
+ const er = (n) => va(U, n);
4054
4059
  let Ge = /* @__PURE__ */ new Map();
4055
- const Ie = Ot(Ge), er = ({ children: n, stores: e }) => {
4060
+ const Ie = Ot(Ge), tr = ({ children: n, stores: e }) => {
4056
4061
  const t = Pe(Ie), i = Tt(() => {
4057
4062
  const a = /* @__PURE__ */ new Map();
4058
4063
  return e.forEach((s) => a.set(s.class, s.value)), Ge = new Map([...t, ...a]);
4059
4064
  }, []);
4060
4065
  return /* @__PURE__ */ on(Ie.Provider, { value: i, children: n });
4061
4066
  };
4062
- function tr(n) {
4067
+ function nr(n) {
4063
4068
  return Pe(Ie).get(n);
4064
4069
  }
4065
- function nr(n) {
4070
+ function ir(n) {
4066
4071
  return Ge.get(n);
4067
4072
  }
4068
4073
  var en = /* @__PURE__ */ ((n) => (n.Created = "CREATED", n.Finalized = "FINALIZED", n.Live = "LIVE", n.Starting = "STARTING", n))(en || {}), tn = /* @__PURE__ */ ((n) => (n.Add = "add", n.Remove = "remove", n))(tn || {}), nn = /* @__PURE__ */ ((n) => (n.Active = "active", n.Inactive = "inactive", n))(nn || {});
4069
- const os = { 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" } }] } }] } }] } }] }, ls = { 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" } }] } }] } }] } }] }, ds = { 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" } }] } }] } }] } }] }, us = { 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" } }] } }] } }] } }] }, cs = { 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" } }] } }] } }] } }] }, ms = { 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" } }] } }] } }] } }] }, fs = { 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" } }] } }] } }] } }] }, ps = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindMinimalEvent" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindEventInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findEvent" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailsPath" } }, { kind: "Field", name: { kind: "Name", value: "recordVideoPath" } }, { kind: "Field", name: { kind: "Name", value: "createdAt" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "thumbnails" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, hs = { 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" } }] } }] } }] } }] }, gs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "BlockUser" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "BlockUserInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "blockUser" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "BlockUserSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, ks = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ChangeAccountUsername" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "changeAccountUsername" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, vs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, Ss = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetAllChatMessageInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatMessageArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "connectionId" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "email" } }, { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "idEvent" } }, { kind: "Field", name: { kind: "Name", value: "sendDate" } }, { kind: "Field", name: { kind: "Name", value: "sessionId" } }, { kind: "Field", name: { kind: "Name", value: "type" } }, { kind: "Field", name: { kind: "Name", value: "username" } }, { kind: "Field", name: { kind: "Name", value: "isAdmin" } }, { kind: "Field", name: { kind: "Name", value: "urlGif" } }, { kind: "Field", name: { kind: "Name", value: "second" } }, { kind: "Field", name: { kind: "Name", value: "ip" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ys = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetChatRoomToken" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetChatRoomInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getChatRoomToken" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatRoomTokenData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "token" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Ns = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "PinChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "PinChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "pinChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PinChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, bs = { 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" } }] } }] } }] } }] }, Fs = { 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" } }] } }] } }] } }] }, ws = { 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" } }] } }] } }] } }] }, Cs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetTimeLine" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetTimeLineInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getTimeLine" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TimeLineArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "time" } }, { kind: "Field", name: { kind: "Name", value: "likes" } }, { kind: "Field", name: { kind: "Name", value: "comments" } }, { kind: "Field", name: { kind: "Name", value: "viewers" } }, { kind: "Field", name: { kind: "Name", value: "orders" } }, { kind: "Field", name: { kind: "Name", value: "minute" } }, { kind: "Field", name: { kind: "Name", value: "hour" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Es = { 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" } }] } }] } }] } }] }, Os = { 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" } }] } }] } }] } }] }, Rs = { 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" } }] } }] } }] } }] }, xs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, Ts = { 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" } }] } }] } }] } }] }, Ds = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Ls = { 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" } }] } }] } }] } }] } }] }, Is = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SearchInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, As = { 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" } }] } }] } }] } }] }, ir = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4074
+ const ds = { 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" } }] } }] } }] } }] }, us = { 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" } }] } }] } }] } }] }, cs = { 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" } }] } }] } }] } }] }, ms = { 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" } }] } }] } }] } }] }, fs = { 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" } }] } }] } }] } }] }, ps = { 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" } }] } }] } }] } }] }, hs = { 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" } }] } }] } }] } }] }, gs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindMinimalEvent" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindEventInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findEvent" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailsPath" } }, { kind: "Field", name: { kind: "Name", value: "recordVideoPath" } }, { kind: "Field", name: { kind: "Name", value: "createdAt" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "thumbnails" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ks = { 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" } }] } }] } }] } }] }, vs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "BlockUser" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "BlockUserInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "blockUser" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "BlockUserSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, Ss = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ChangeAccountUsername" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "changeAccountUsername" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, ys = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, Ns = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetAllChatMessageInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatMessageArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "connectionId" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "email" } }, { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "idEvent" } }, { kind: "Field", name: { kind: "Name", value: "sendDate" } }, { kind: "Field", name: { kind: "Name", value: "sessionId" } }, { kind: "Field", name: { kind: "Name", value: "type" } }, { kind: "Field", name: { kind: "Name", value: "username" } }, { kind: "Field", name: { kind: "Name", value: "isAdmin" } }, { kind: "Field", name: { kind: "Name", value: "urlGif" } }, { kind: "Field", name: { kind: "Name", value: "second" } }, { kind: "Field", name: { kind: "Name", value: "ip" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, bs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetChatRoomToken" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetChatRoomInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getChatRoomToken" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatRoomTokenData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "token" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Fs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "PinChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "PinChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "pinChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PinChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, ws = { 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" } }] } }] } }] } }] }, Cs = { 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" } }] } }] } }] } }] }, Es = { 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" } }] } }] } }] } }] }, Os = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetTimeLine" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetTimeLineInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getTimeLine" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TimeLineArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "time" } }, { kind: "Field", name: { kind: "Name", value: "likes" } }, { kind: "Field", name: { kind: "Name", value: "comments" } }, { kind: "Field", name: { kind: "Name", value: "viewers" } }, { kind: "Field", name: { kind: "Name", value: "orders" } }, { kind: "Field", name: { kind: "Name", value: "minute" } }, { kind: "Field", name: { kind: "Name", value: "hour" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Rs = { 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" } }] } }] } }] } }] }, xs = { 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" } }] } }] } }] } }] }, Ts = { 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" } }] } }] } }] } }] }, Ds = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, Ls = { 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" } }] } }] } }] } }] }, Is = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, As = { 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" } }] } }] } }] } }] } }] }, Ps = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SearchInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Vs = { 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" } }] } }] } }] } }] }, ar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4070
4075
  __proto__: null,
4071
- AddCollectionDocument: os,
4072
- AppendProductsToSnackVideoDocument: Es,
4073
- BlockUserDocument: gs,
4074
- ChangeAccountUsernameDocument: ks,
4075
- CreateSnackVideoBatchDocument: Os,
4076
- DeleteAllCustomizationDocument: bs,
4077
- DeleteChatMessageDocument: vs,
4078
- DeleteCollectionDocument: ls,
4079
- DeleteRelationshipWithSnackVideoDocument: Rs,
4080
- DeleteSnackVideoDocument: xs,
4076
+ AddCollectionDocument: ds,
4077
+ AppendProductsToSnackVideoDocument: Rs,
4078
+ BlockUserDocument: vs,
4079
+ ChangeAccountUsernameDocument: Ss,
4080
+ CreateSnackVideoBatchDocument: xs,
4081
+ DeleteAllCustomizationDocument: ws,
4082
+ DeleteChatMessageDocument: ys,
4083
+ DeleteCollectionDocument: us,
4084
+ DeleteRelationshipWithSnackVideoDocument: Ts,
4085
+ DeleteSnackVideoDocument: Ds,
4081
4086
  EventStatus: en,
4082
- FindByProductSnackVideoDocument: As,
4083
- FindCollectionDocument: ds,
4084
- FindManySnackVideosDocument: Ts,
4085
- FindMinimalEventDocument: ps,
4086
- GetAllChatMessageDocument: Ss,
4087
- GetAllCollectionsDocument: us,
4088
- GetAllCustomizationDocument: Fs,
4089
- GetAllSnackVideosDocument: Ds,
4090
- GetChatRoomTokenDocument: ys,
4091
- GetSnackVideoRelationshipsDocument: Ls,
4092
- GetTimeLineDocument: Cs,
4093
- ManageCollectionProductDocument: cs,
4087
+ FindByProductSnackVideoDocument: Vs,
4088
+ FindCollectionDocument: cs,
4089
+ FindManySnackVideosDocument: Ls,
4090
+ FindMinimalEventDocument: gs,
4091
+ GetAllChatMessageDocument: Ns,
4092
+ GetAllCollectionsDocument: ms,
4093
+ GetAllCustomizationDocument: Cs,
4094
+ GetAllSnackVideosDocument: Is,
4095
+ GetChatRoomTokenDocument: bs,
4096
+ GetSnackVideoRelationshipsDocument: As,
4097
+ GetTimeLineDocument: Os,
4098
+ ManageCollectionProductDocument: fs,
4094
4099
  Methods: tn,
4095
- PinChatMessageDocument: Ns,
4096
- SearchCollectionsDocument: ms,
4097
- SearchMinimalEventsDocument: hs,
4098
- SearchSnackVideosDocument: Is,
4100
+ PinChatMessageDocument: Fs,
4101
+ SearchCollectionsDocument: ps,
4102
+ SearchMinimalEventsDocument: ks,
4103
+ SearchSnackVideosDocument: Ps,
4099
4104
  Status: nn,
4100
- UpdateCollectionDocument: fs,
4101
- UpdateCustomizationDocument: ws
4105
+ UpdateCollectionDocument: hs,
4106
+ UpdateCustomizationDocument: Es
4102
4107
  }, Symbol.toStringTag, { value: "Module" }));
4103
- function ar(n) {
4108
+ function sr(n) {
4104
4109
  return {
4105
4110
  class: n,
4106
4111
  _value: null,
@@ -4112,19 +4117,19 @@ function ar(n) {
4112
4117
  export {
4113
4118
  Gt as AccountContractStatusTypes,
4114
4119
  Ni as AccountContractTypes,
4115
- Qs as AccountInvalidError,
4120
+ Gs as AccountInvalidError,
4116
4121
  Fi as AccountPlanDescriptionTypes,
4117
4122
  Ei as AccountRestRepository,
4118
4123
  Oi as AccountService,
4119
4124
  bi as AccountSubscriptionTypes,
4120
4125
  Kt as AccountTypes,
4121
4126
  Si as AggregateRoot,
4122
- ir as ApiGraphqlTypes,
4123
- Ws as BaseMobxStore,
4127
+ ar as ApiGraphqlTypes,
4128
+ qs as BaseMobxStore,
4124
4129
  Xn as BroadcastChannelEventBus,
4125
4130
  ye as DomainError,
4126
- Hs as EventBusWildcards,
4127
- Zs as EventNames,
4131
+ Xs as EventBusWildcards,
4132
+ Ys as EventNames,
4128
4133
  wi as GlobalPageSectionTypes,
4129
4134
  vi as InvalidNizzaGlobalObjectError,
4130
4135
  fa as LanguageTypes,
@@ -4134,31 +4139,34 @@ export {
4134
4139
  ha as NizzaProductRequestOriginTypes,
4135
4140
  pa as NizzaVariationTypes,
4136
4141
  gi as ResourceNotFoundError,
4137
- er as StoreProvider,
4142
+ tr as StoreProvider,
4138
4143
  ki as UnexpectedError,
4139
- Js as ValueObject,
4144
+ Hs as ValueObject,
4140
4145
  Ve as accountAtom,
4141
4146
  Wt as accountService,
4142
- Us as apiCall,
4147
+ js as apiCall,
4148
+ ga as buildLanguageTranslations,
4149
+ ka as buildTranslations,
4143
4150
  ee as coreLogger,
4144
4151
  yi as createAggregateRoot,
4145
- ar as createStore,
4152
+ sr as createStore,
4146
4153
  It as customFetch,
4147
- Ms as downloadFile,
4148
- $s as fileOrigin,
4154
+ $s as downloadFile,
4155
+ Bs as fileOrigin,
4149
4156
  ca as getAccount,
4150
- Gs as getClientTimeZone,
4151
- nr as getStore,
4157
+ Js as getClientTimeZone,
4158
+ ir as getStore,
4152
4159
  ua as globalAtomStore,
4153
- Ys as i18n,
4160
+ Va as i18Init,
4154
4161
  On as jsDownload,
4155
- Bs as logger,
4162
+ Ks as logger,
4156
4163
  je as nizza,
4157
- Xs as registerTranslations,
4158
- js as searchParams,
4164
+ er as registerTranslations,
4165
+ va as registerTranslationsOf,
4166
+ zs as searchParams,
4159
4167
  ei as shortId,
4160
- qs as useAccount,
4161
- tr as useStore,
4162
- Ks as validateRequiredProps
4168
+ Zs as useAccount,
4169
+ nr as useStore,
4170
+ Ws as validateRequiredProps
4163
4171
  };
4164
4172
  //# sourceMappingURL=index.mjs.map