@wexio/messenger-widget-react 1.0.4 → 1.0.5

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.
Files changed (71) hide show
  1. package/README.md +23 -150
  2. package/dist/{widget-react-BfPdgAQ-.js → widget-react-A2LiLuw0.js} +1151 -1006
  3. package/dist/{widget-react-DwL_rsx_.js → widget-react-B0fjhAJD.js} +72 -56
  4. package/dist/{widget-react-D-QrEVpv.js → widget-react-BC-2nOW4.js} +1 -1
  5. package/dist/{widget-react-CZs0xRrr.js → widget-react-BMpc2uNT2.js} +1 -1
  6. package/dist/widget-react-BNG2P8TD.js +337 -0
  7. package/dist/widget-react-BcPE3ZoY.js +337 -0
  8. package/dist/widget-react-BdgqHrUV.js +337 -0
  9. package/dist/widget-react-BdohGq4s2.js +337 -0
  10. package/dist/widget-react-BthaWcns.js +337 -0
  11. package/dist/widget-react-C-8yYmmX2.js +337 -0
  12. package/dist/widget-react-C2atp9Wc.js +337 -0
  13. package/dist/widget-react-C7J17SWR.js +337 -0
  14. package/dist/{widget-react-BAOIDvhV.js → widget-react-CB6Jxluy.js} +1362 -1328
  15. package/dist/widget-react-CKZ5tNDZ.js +337 -0
  16. package/dist/widget-react-CLRkytx8.js +337 -0
  17. package/dist/widget-react-CMvMg68M.js +337 -0
  18. package/dist/widget-react-COu0Pgwj2.js +337 -0
  19. package/dist/widget-react-CSqqxBrZ2.js +337 -0
  20. package/dist/widget-react-CVLlTbB_2.js +337 -0
  21. package/dist/{widget-react-DtOeNw5z.js → widget-react-CVx50FQP2.js} +18 -9
  22. package/dist/{widget-react-AgErOR36.js → widget-react-CYlAGnu_2.js} +19 -7
  23. package/dist/{widget-react-CPYwD6FR.js → widget-react-CdjAa7d12.js} +2 -2
  24. package/dist/widget-react-Cfgp7JeP.js +337 -0
  25. package/dist/widget-react-CozbWJT5.js +337 -0
  26. package/dist/widget-react-Crxd4qSM.js +337 -0
  27. package/dist/widget-react-D3ZFysG9.js +337 -0
  28. package/dist/widget-react-DAT3UgdW2.js +285 -0
  29. package/dist/widget-react-DRyfg-bL.js +337 -0
  30. package/dist/widget-react-DhC6mv1r.js +337 -0
  31. package/dist/widget-react-DiF8_rWm.js +337 -0
  32. package/dist/widget-react-DjXlAiu5.js +337 -0
  33. package/dist/widget-react-DkhMvmdX2.js +337 -0
  34. package/dist/{widget-react-CUuKGDZN.js → widget-react-DqRO9d652.js} +2 -2
  35. package/dist/widget-react-Dq_sYldT.js +337 -0
  36. package/dist/{widget-react-Cj_zbk_F.js → widget-react-Dr-NACA0.js} +19 -7
  37. package/dist/widget-react-DviuEPoq.js +337 -0
  38. package/dist/{widget-react-CDPzwV1i.js → widget-react-DxkbC0xE.js} +1823 -1833
  39. package/dist/widget-react-JOt2DXbR.js +337 -0
  40. package/dist/widget-react-L8PMkUr7.js +337 -0
  41. package/dist/widget-react-LWisk9g6.js +337 -0
  42. package/dist/{widget-react-DSw03RG7.js → widget-react-_xdGdTzK.js} +1 -1
  43. package/dist/widget-react-fNts-U3I2.js +337 -0
  44. package/dist/widget-react-iKCOmnGh.js +337 -0
  45. package/dist/{widget-react-C5COLy3m.js → widget-react-wTlmXnex2.js} +1 -1
  46. package/dist/widget-react-xzOjEdXk2.js +337 -0
  47. package/dist/widget-react.d.ts +10 -19
  48. package/dist/widget-react.js +4028 -3450
  49. package/package.json +1 -1
  50. package/dist/widget-react-AgErOR36.js.map +0 -1
  51. package/dist/widget-react-BAOIDvhV.js.map +0 -1
  52. package/dist/widget-react-BfPdgAQ-.js.map +0 -1
  53. package/dist/widget-react-BxvW64LH.js.map +0 -1
  54. package/dist/widget-react-C5COLy3m.js.map +0 -1
  55. package/dist/widget-react-CAWxn8I0.js +0 -247
  56. package/dist/widget-react-CAWxn8I0.js.map +0 -1
  57. package/dist/widget-react-CDPzwV1i.js.map +0 -1
  58. package/dist/widget-react-CPYwD6FR.js.map +0 -1
  59. package/dist/widget-react-CUBFPjaV.js.map +0 -1
  60. package/dist/widget-react-CUuKGDZN.js.map +0 -1
  61. package/dist/widget-react-CZs0xRrr.js.map +0 -1
  62. package/dist/widget-react-Cj_zbk_F.js.map +0 -1
  63. package/dist/widget-react-D-QrEVpv.js.map +0 -1
  64. package/dist/widget-react-D8TPnM9r.js.map +0 -1
  65. package/dist/widget-react-DE7AVrCo.js.map +0 -1
  66. package/dist/widget-react-DOX6j7_Q.js.map +0 -1
  67. package/dist/widget-react-DSw03RG7.js.map +0 -1
  68. package/dist/widget-react-Dew7YaLU.js.map +0 -1
  69. package/dist/widget-react-DtOeNw5z.js.map +0 -1
  70. package/dist/widget-react-DwL_rsx_.js.map +0 -1
  71. package/dist/widget-react.js.map +0 -1
@@ -5,21 +5,21 @@ import "react-dom/client";
5
5
  import { S as e, _ as t, d as n, f as r, g as i, h as a, m as o, p as s, v as c, w as l, y as u } from "./widget-react-DE7AVrCo.js";
6
6
  import { i as d, n as f, o as p, t as m } from "./widget-react-BxvW64LH.js";
7
7
  import * as h from "react";
8
- import { Children as g, createContext as _, isValidElement as v, useCallback as y, useContext as ee, useEffect as b, useId as x, useInsertionEffect as te, useMemo as S, useRef as C, useState as ne } from "react";
9
- import { Fragment as re, jsx as w, jsxs as ie } from "react/jsx-runtime";
10
- import * as T from "react-dom";
11
- import { createPortal as ae } from "react-dom";
8
+ import { Children as g, createContext as _, isValidElement as v, useCallback as y, useContext as ee, useEffect as b, useId as x, useInsertionEffect as te, useLayoutEffect as ne, useMemo as S, useRef as re, useState as C } from "react";
9
+ import { Fragment as ie, jsx as w, jsxs as T } from "react/jsx-runtime";
10
+ import * as ae from "react-dom";
11
+ import { createPortal as oe } from "react-dom";
12
12
  //#region node_modules/tslib/tslib.es6.mjs
13
- var oe = function(e, t) {
14
- return oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
13
+ var se = function(e, t) {
14
+ return se = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
15
15
  e.__proto__ = t;
16
16
  } || function(e, t) {
17
17
  for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
18
- }, oe(e, t);
18
+ }, se(e, t);
19
19
  };
20
- function se(e, t) {
20
+ function ce(e, t) {
21
21
  if (typeof t != "function" && t !== null) throw TypeError("Class extends value " + String(t) + " is not a constructor or null");
22
- oe(e, t);
22
+ se(e, t);
23
23
  function n() {
24
24
  this.constructor = e;
25
25
  }
@@ -31,13 +31,13 @@ var E = function() {
31
31
  return e;
32
32
  }, E.apply(this, arguments);
33
33
  };
34
- function ce(e, t) {
34
+ function le(e, t) {
35
35
  var n = {};
36
36
  for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
37
37
  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
38
38
  return n;
39
39
  }
40
- function le(e, t, n, r) {
40
+ function ue(e, t, n, r) {
41
41
  function i(e) {
42
42
  return e instanceof n ? e : new n(function(t) {
43
43
  t(e);
@@ -64,7 +64,7 @@ function le(e, t, n, r) {
64
64
  c((r = r.apply(e, t || [])).next());
65
65
  });
66
66
  }
67
- function ue(e, t) {
67
+ function de(e, t) {
68
68
  var n = {
69
69
  label: 0,
70
70
  sent: function() {
@@ -140,38 +140,38 @@ function D(e, t, n) {
140
140
  }
141
141
  //#endregion
142
142
  //#region node_modules/ts-invariant/lib/invariant.js
143
- var de = "Invariant Violation", fe = Object.setPrototypeOf, pe = fe === void 0 ? function(e, t) {
143
+ var fe = "Invariant Violation", pe = Object.setPrototypeOf, me = pe === void 0 ? function(e, t) {
144
144
  return e.__proto__ = t, e;
145
- } : fe, me = function(e) {
146
- se(t, e);
145
+ } : pe, he = function(e) {
146
+ ce(t, e);
147
147
  function t(n) {
148
- n === void 0 && (n = de);
149
- var r = e.call(this, typeof n == "number" ? de + ": " + n + " (see https://github.com/apollographql/invariant-packages)" : n) || this;
150
- return r.framesToPop = 1, r.name = de, pe(r, t.prototype), r;
148
+ n === void 0 && (n = fe);
149
+ var r = e.call(this, typeof n == "number" ? fe + ": " + n + " (see https://github.com/apollographql/invariant-packages)" : n) || this;
150
+ return r.framesToPop = 1, r.name = fe, me(r, t.prototype), r;
151
151
  }
152
152
  return t;
153
153
  }(Error);
154
154
  function O(e, t) {
155
- if (!e) throw new me(t);
155
+ if (!e) throw new he(t);
156
156
  }
157
- var he = [
157
+ var ge = [
158
158
  "debug",
159
159
  "log",
160
160
  "warn",
161
161
  "error",
162
162
  "silent"
163
- ], ge = he.indexOf("log");
164
- function _e(e) {
163
+ ], _e = ge.indexOf("log");
164
+ function ve(e) {
165
165
  return function() {
166
- if (he.indexOf(e) >= ge) return (console[e] || console.log).apply(console, arguments);
166
+ if (ge.indexOf(e) >= _e) return (console[e] || console.log).apply(console, arguments);
167
167
  };
168
168
  }
169
169
  (function(e) {
170
- e.debug = _e("debug"), e.log = _e("log"), e.warn = _e("warn"), e.error = _e("error");
170
+ e.debug = ve("debug"), e.log = ve("log"), e.warn = ve("warn"), e.error = ve("error");
171
171
  })(O || (O = {}));
172
172
  //#endregion
173
173
  //#region node_modules/@apollo/client/version.js
174
- var ve = "3.14.1";
174
+ var ye = "3.14.1";
175
175
  //#endregion
176
176
  //#region node_modules/@apollo/client/utilities/globals/maybe.js
177
177
  function k(e) {
@@ -181,7 +181,7 @@ function k(e) {
181
181
  }
182
182
  //#endregion
183
183
  //#region node_modules/@apollo/client/utilities/globals/global.js
184
- var ye = k(function() {
184
+ var be = k(function() {
185
185
  return globalThis;
186
186
  }) || k(function() {
187
187
  return window;
@@ -191,91 +191,91 @@ var ye = k(function() {
191
191
  return global;
192
192
  }) || k(function() {
193
193
  return k.constructor("return this")();
194
- }), be = /* @__PURE__ */ new Map();
195
- function xe(e) {
196
- var t = be.get(e) || 1;
197
- return be.set(e, t + 1), `${e}:${t}:${Math.random().toString(36).slice(2)}`;
194
+ }), xe = /* @__PURE__ */ new Map();
195
+ function Se(e) {
196
+ var t = xe.get(e) || 1;
197
+ return xe.set(e, t + 1), `${e}:${t}:${Math.random().toString(36).slice(2)}`;
198
198
  }
199
199
  //#endregion
200
200
  //#region node_modules/@apollo/client/utilities/common/stringifyForDisplay.js
201
- function Se(e, t) {
201
+ function Ce(e, t) {
202
202
  t === void 0 && (t = 0);
203
- var n = xe("stringifyForDisplay");
203
+ var n = Se("stringifyForDisplay");
204
204
  return JSON.stringify(e, function(e, t) {
205
205
  return t === void 0 ? n : t;
206
206
  }, t).split(JSON.stringify(n)).join("<undefined>");
207
207
  }
208
208
  //#endregion
209
209
  //#region node_modules/@apollo/client/utilities/globals/invariantWrappers.js
210
- function Ce(e) {
210
+ function we(e) {
211
211
  return function(t) {
212
212
  var n = [...arguments].slice(1);
213
213
  if (typeof t == "number") {
214
214
  var r = t;
215
- t = De(r), t || (t = Oe(r, n), n = []);
215
+ t = Oe(r), t || (t = ke(r, n), n = []);
216
216
  }
217
217
  e.apply(void 0, [t].concat(n));
218
218
  };
219
219
  }
220
220
  var A = Object.assign(function(e, t) {
221
221
  var n = [...arguments].slice(2);
222
- e || O(e, De(t, n) || Oe(t, n));
222
+ e || O(e, Oe(t, n) || ke(t, n));
223
223
  }, {
224
- debug: Ce(O.debug),
225
- log: Ce(O.log),
226
- warn: Ce(O.warn),
227
- error: Ce(O.error)
224
+ debug: we(O.debug),
225
+ log: we(O.log),
226
+ warn: we(O.warn),
227
+ error: we(O.error)
228
228
  });
229
- function we(e) {
229
+ function Te(e) {
230
230
  var t = [...arguments].slice(1);
231
- return new me(De(e, t) || Oe(e, t));
231
+ return new he(Oe(e, t) || ke(e, t));
232
232
  }
233
- var Te = Symbol.for("ApolloErrorMessageHandler_" + ve);
234
- function Ee(e) {
233
+ var Ee = Symbol.for("ApolloErrorMessageHandler_" + ye);
234
+ function De(e) {
235
235
  if (typeof e == "string") return e;
236
236
  try {
237
- return Se(e, 2).slice(0, 1e3);
237
+ return Ce(e, 2).slice(0, 1e3);
238
238
  } catch {
239
239
  return "<non-serializable>";
240
240
  }
241
241
  }
242
- function De(e, t) {
243
- if (t === void 0 && (t = []), e) return ye[Te] && ye[Te](e, t.map(Ee));
244
- }
245
242
  function Oe(e, t) {
243
+ if (t === void 0 && (t = []), e) return be[Ee] && be[Ee](e, t.map(De));
244
+ }
245
+ function ke(e, t) {
246
246
  if (t === void 0 && (t = []), e) return `An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({
247
- version: ve,
247
+ version: ye,
248
248
  message: e,
249
- args: t.map(Ee)
249
+ args: t.map(De)
250
250
  }))}`;
251
251
  }
252
252
  //#endregion
253
253
  //#region node_modules/rehackt/index.js
254
- var ke = /* @__PURE__ */ u(((t, n) => {
254
+ var Ae = /* @__PURE__ */ u(((t, n) => {
255
255
  n.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = void 0, n.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = void 0, n.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = void 0, Object.assign(n.exports, e("react"));
256
256
  }));
257
257
  //#endregion
258
258
  //#region node_modules/graphql/jsutils/devAssert.mjs
259
- function Ae(e, t) {
259
+ function je(e, t) {
260
260
  if (!e) throw Error(t);
261
261
  }
262
262
  //#endregion
263
263
  //#region node_modules/graphql/jsutils/isObjectLike.mjs
264
- function je(e) {
264
+ function Me(e) {
265
265
  return typeof e == "object" && !!e;
266
266
  }
267
267
  //#endregion
268
268
  //#region node_modules/graphql/jsutils/invariant.mjs
269
- function Me(e, t) {
269
+ function Ne(e, t) {
270
270
  if (!e) throw Error(t ?? "Unexpected invariant triggered.");
271
271
  }
272
272
  //#endregion
273
273
  //#region node_modules/graphql/language/location.mjs
274
- var Ne = /\r\n|[\n\r]/g;
275
- function Pe(e, t) {
274
+ var Pe = /\r\n|[\n\r]/g;
275
+ function Fe(e, t) {
276
276
  let n = 0, r = 1;
277
- for (let i of e.body.matchAll(Ne)) {
278
- if (typeof i.index == "number" || Me(!1), i.index >= t) break;
277
+ for (let i of e.body.matchAll(Pe)) {
278
+ if (typeof i.index == "number" || Ne(!1), i.index >= t) break;
279
279
  n = i.index + i[0].length, r += 1;
280
280
  }
281
281
  return {
@@ -285,35 +285,35 @@ function Pe(e, t) {
285
285
  }
286
286
  //#endregion
287
287
  //#region node_modules/graphql/language/printLocation.mjs
288
- function Fe(e) {
289
- return Ie(e.source, Pe(e.source, e.start));
288
+ function Ie(e) {
289
+ return Le(e.source, Fe(e.source, e.start));
290
290
  }
291
- function Ie(e, t) {
291
+ function Le(e, t) {
292
292
  let n = e.locationOffset.column - 1, r = "".padStart(n) + e.body, i = t.line - 1, a = e.locationOffset.line - 1, o = t.line + a, s = t.line === 1 ? n : 0, c = t.column + s, l = `${e.name}:${o}:${c}\n`, u = r.split(/\r\n|[\n\r]/g), d = u[i];
293
293
  if (d.length > 120) {
294
294
  let e = Math.floor(c / 80), t = c % 80, n = [];
295
295
  for (let e = 0; e < d.length; e += 80) n.push(d.slice(e, e + 80));
296
- return l + Le([
296
+ return l + Re([
297
297
  [`${o} |`, n[0]],
298
298
  ...n.slice(1, e + 1).map((e) => ["|", e]),
299
299
  ["|", "^".padStart(t)],
300
300
  ["|", n[e + 1]]
301
301
  ]);
302
302
  }
303
- return l + Le([
303
+ return l + Re([
304
304
  [`${o - 1} |`, u[i - 1]],
305
305
  [`${o} |`, d],
306
306
  ["|", "^".padStart(c)],
307
307
  [`${o + 1} |`, u[i + 1]]
308
308
  ]);
309
309
  }
310
- function Le(e) {
310
+ function Re(e) {
311
311
  let t = e.filter(([e, t]) => t !== void 0), n = Math.max(...t.map(([e]) => e.length));
312
312
  return t.map(([e, t]) => e.padStart(n) + (t ? " " + t : "")).join("\n");
313
313
  }
314
314
  //#endregion
315
315
  //#region node_modules/graphql/error/GraphQLError.mjs
316
- function Re(e) {
316
+ function ze(e) {
317
317
  let t = e[0];
318
318
  return t == null || "kind" in t || "length" in t ? {
319
319
  nodes: t,
@@ -324,13 +324,13 @@ function Re(e) {
324
324
  extensions: e[5]
325
325
  } : t;
326
326
  }
327
- var ze = class e extends Error {
327
+ var Be = class e extends Error {
328
328
  constructor(t, ...n) {
329
- let { nodes: r, source: i, positions: a, path: o, originalError: s, extensions: c } = Re(n);
330
- super(t), this.name = "GraphQLError", this.path = o ?? void 0, this.originalError = s ?? void 0, this.nodes = Be(Array.isArray(r) ? r : r ? [r] : void 0);
331
- let l = Be(this.nodes?.map((e) => e.loc).filter((e) => e != null));
332
- this.source = i ?? l?.[0]?.source, this.positions = a ?? l?.map((e) => e.start), this.locations = a && i ? a.map((e) => Pe(i, e)) : l?.map((e) => Pe(e.source, e.start));
333
- let u = je(s?.extensions) ? s?.extensions : void 0;
329
+ let { nodes: r, source: i, positions: a, path: o, originalError: s, extensions: c } = ze(n);
330
+ super(t), this.name = "GraphQLError", this.path = o ?? void 0, this.originalError = s ?? void 0, this.nodes = Ve(Array.isArray(r) ? r : r ? [r] : void 0);
331
+ let l = Ve(this.nodes?.map((e) => e.loc).filter((e) => e != null));
332
+ this.source = i ?? l?.[0]?.source, this.positions = a ?? l?.map((e) => e.start), this.locations = a && i ? a.map((e) => Fe(i, e)) : l?.map((e) => Fe(e.source, e.start));
333
+ let u = Me(s?.extensions) ? s?.extensions : void 0;
334
334
  /* c8 ignore start */
335
335
  this.extensions = c ?? u ?? Object.create(null), Object.defineProperties(this, {
336
336
  message: {
@@ -358,8 +358,8 @@ var ze = class e extends Error {
358
358
  }
359
359
  toString() {
360
360
  let e = this.message;
361
- if (this.nodes) for (let t of this.nodes) t.loc && (e += "\n\n" + Fe(t.loc));
362
- else if (this.source && this.locations) for (let t of this.locations) e += "\n\n" + Ie(this.source, t);
361
+ if (this.nodes) for (let t of this.nodes) t.loc && (e += "\n\n" + Ie(t.loc));
362
+ else if (this.source && this.locations) for (let t of this.locations) e += "\n\n" + Le(this.source, t);
363
363
  return e;
364
364
  }
365
365
  toJSON() {
@@ -367,20 +367,20 @@ var ze = class e extends Error {
367
367
  return this.locations != null && (e.locations = this.locations), this.path != null && (e.path = this.path), this.extensions != null && Object.keys(this.extensions).length > 0 && (e.extensions = this.extensions), e;
368
368
  }
369
369
  };
370
- function Be(e) {
370
+ function Ve(e) {
371
371
  return e === void 0 || e.length === 0 ? void 0 : e;
372
372
  }
373
373
  //#endregion
374
374
  //#region node_modules/graphql/error/syntaxError.mjs
375
375
  function j(e, t, n) {
376
- return new ze(`Syntax Error: ${n}`, {
376
+ return new Be(`Syntax Error: ${n}`, {
377
377
  source: e,
378
378
  positions: [t]
379
379
  });
380
380
  }
381
381
  //#endregion
382
382
  //#region node_modules/graphql/language/ast.mjs
383
- var Ve = class {
383
+ var He = class {
384
384
  constructor(e, t, n) {
385
385
  this.start = e.start, this.end = t.end, this.startToken = e, this.endToken = t, this.source = n;
386
386
  }
@@ -393,7 +393,7 @@ var Ve = class {
393
393
  end: this.end
394
394
  };
395
395
  }
396
- }, He = class {
396
+ }, Ue = class {
397
397
  constructor(e, t, n, r, i, a) {
398
398
  this.kind = e, this.start = t, this.end = n, this.line = r, this.column = i, this.value = a, this.prev = null, this.next = null;
399
399
  }
@@ -408,7 +408,7 @@ var Ve = class {
408
408
  column: this.column
409
409
  };
410
410
  }
411
- }, Ue = {
411
+ }, We = {
412
412
  Name: [],
413
413
  Document: ["definitions"],
414
414
  OperationDefinition: [
@@ -570,21 +570,21 @@ var Ve = class {
570
570
  ],
571
571
  DirectiveCoordinate: ["name"],
572
572
  DirectiveArgumentCoordinate: ["name", "argumentName"]
573
- }, We = new Set(Object.keys(Ue));
574
- function Ge(e) {
573
+ }, Ge = new Set(Object.keys(We));
574
+ function Ke(e) {
575
575
  let t = e?.kind;
576
- return typeof t == "string" && We.has(t);
576
+ return typeof t == "string" && Ge.has(t);
577
577
  }
578
- var Ke;
578
+ var qe;
579
579
  (function(e) {
580
580
  e.QUERY = "query", e.MUTATION = "mutation", e.SUBSCRIPTION = "subscription";
581
- })(Ke || (Ke = {}));
581
+ })(qe || (qe = {}));
582
582
  //#endregion
583
583
  //#region node_modules/graphql/language/directiveLocation.mjs
584
- var qe;
584
+ var Je;
585
585
  (function(e) {
586
586
  e.QUERY = "QUERY", e.MUTATION = "MUTATION", e.SUBSCRIPTION = "SUBSCRIPTION", e.FIELD = "FIELD", e.FRAGMENT_DEFINITION = "FRAGMENT_DEFINITION", e.FRAGMENT_SPREAD = "FRAGMENT_SPREAD", e.INLINE_FRAGMENT = "INLINE_FRAGMENT", e.VARIABLE_DEFINITION = "VARIABLE_DEFINITION", e.SCHEMA = "SCHEMA", e.SCALAR = "SCALAR", e.OBJECT = "OBJECT", e.FIELD_DEFINITION = "FIELD_DEFINITION", e.ARGUMENT_DEFINITION = "ARGUMENT_DEFINITION", e.INTERFACE = "INTERFACE", e.UNION = "UNION", e.ENUM = "ENUM", e.ENUM_VALUE = "ENUM_VALUE", e.INPUT_OBJECT = "INPUT_OBJECT", e.INPUT_FIELD_DEFINITION = "INPUT_FIELD_DEFINITION", e.DIRECTIVE_DEFINITION = "DIRECTIVE_DEFINITION";
587
- })(qe || (qe = {}));
587
+ })(Je || (Je = {}));
588
588
  //#endregion
589
589
  //#region node_modules/graphql/language/kinds.mjs
590
590
  var M;
@@ -593,38 +593,38 @@ var M;
593
593
  })(M || (M = {}));
594
594
  //#endregion
595
595
  //#region node_modules/graphql/language/characterClasses.mjs
596
- function Je(e) {
597
- return e === 9 || e === 32;
598
- }
599
596
  function Ye(e) {
600
- return e >= 48 && e <= 57;
597
+ return e === 9 || e === 32;
601
598
  }
602
599
  function Xe(e) {
603
- return e >= 97 && e <= 122 || e >= 65 && e <= 90;
600
+ return e >= 48 && e <= 57;
604
601
  }
605
602
  function Ze(e) {
606
- return Xe(e) || e === 95;
603
+ return e >= 97 && e <= 122 || e >= 65 && e <= 90;
607
604
  }
608
605
  function Qe(e) {
609
- return Xe(e) || Ye(e) || e === 95;
606
+ return Ze(e) || e === 95;
607
+ }
608
+ function $e(e) {
609
+ return Ze(e) || Xe(e) || e === 95;
610
610
  }
611
611
  //#endregion
612
612
  //#region node_modules/graphql/language/blockString.mjs
613
- function $e(e) {
613
+ function et(e) {
614
614
  let t = 2 ** 53 - 1, n = null, r = -1;
615
615
  for (let i = 0; i < e.length; ++i) {
616
- let a = e[i], o = et(a);
616
+ let a = e[i], o = tt(a);
617
617
  o !== a.length && (n = n ?? i, r = i, i !== 0 && o < t && (t = o));
618
618
  }
619
619
  return e.map((e, n) => n === 0 ? e : e.slice(t)).slice(n ?? 0, r + 1);
620
620
  }
621
- function et(e) {
621
+ function tt(e) {
622
622
  let t = 0;
623
- for (; t < e.length && Je(e.charCodeAt(t));) ++t;
623
+ for (; t < e.length && Ye(e.charCodeAt(t));) ++t;
624
624
  return t;
625
625
  }
626
- function tt(e, t) {
627
- let n = e.replace(/"""/g, "\\\"\"\""), r = n.split(/\r\n|[\n\r]/g), i = r.length === 1, a = r.length > 1 && r.slice(1).every((e) => e.length === 0 || Je(e.charCodeAt(0))), o = n.endsWith("\\\"\"\""), s = e.endsWith("\"") && !o, c = e.endsWith("\\"), l = s || c, u = !(t != null && t.minimize) && (!i || e.length > 70 || l || a || o), d = "", f = i && Je(e.charCodeAt(0));
626
+ function nt(e, t) {
627
+ let n = e.replace(/"""/g, "\\\"\"\""), r = n.split(/\r\n|[\n\r]/g), i = r.length === 1, a = r.length > 1 && r.slice(1).every((e) => e.length === 0 || Ye(e.charCodeAt(0))), o = n.endsWith("\\\"\"\""), s = e.endsWith("\"") && !o, c = e.endsWith("\\"), l = s || c, u = !(t != null && t.minimize) && (!i || e.length > 70 || l || a || o), d = "", f = i && Ye(e.charCodeAt(0));
628
628
  return (u && !f || a) && (d += "\n"), d += n, (u || l) && (d += "\n"), "\"\"\"" + d + "\"\"\"";
629
629
  }
630
630
  //#endregion
@@ -635,9 +635,9 @@ var N;
635
635
  })(N || (N = {}));
636
636
  //#endregion
637
637
  //#region node_modules/graphql/language/lexer.mjs
638
- var nt = class {
638
+ var rt = class {
639
639
  constructor(e) {
640
- let t = new He(N.SOF, 0, 0, 0, 0);
640
+ let t = new Ue(N.SOF, 0, 0, 0, 0);
641
641
  this.source = e, this.lastToken = t, this.token = t, this.line = 1, this.lineStart = 0;
642
642
  }
643
643
  get [Symbol.toStringTag]() {
@@ -651,26 +651,26 @@ var nt = class {
651
651
  if (e.kind !== N.EOF) do
652
652
  if (e.next) e = e.next;
653
653
  else {
654
- let t = ct(this, e.end);
654
+ let t = lt(this, e.end);
655
655
  e.next = t, t.prev = e, e = t;
656
656
  }
657
657
  while (e.kind === N.COMMENT);
658
658
  return e;
659
659
  }
660
660
  };
661
- function rt(e) {
661
+ function it(e) {
662
662
  return e === N.BANG || e === N.DOLLAR || e === N.AMP || e === N.PAREN_L || e === N.PAREN_R || e === N.DOT || e === N.SPREAD || e === N.COLON || e === N.EQUALS || e === N.AT || e === N.BRACKET_L || e === N.BRACKET_R || e === N.BRACE_L || e === N.PIPE || e === N.BRACE_R;
663
663
  }
664
- function it(e) {
664
+ function at(e) {
665
665
  return e >= 0 && e <= 55295 || e >= 57344 && e <= 1114111;
666
666
  }
667
- function at(e, t) {
668
- return ot(e.charCodeAt(t)) && st(e.charCodeAt(t + 1));
667
+ function ot(e, t) {
668
+ return st(e.charCodeAt(t)) && ct(e.charCodeAt(t + 1));
669
669
  }
670
- function ot(e) {
670
+ function st(e) {
671
671
  return e >= 55296 && e <= 56319;
672
672
  }
673
- function st(e) {
673
+ function ct(e) {
674
674
  return e >= 56320 && e <= 57343;
675
675
  }
676
676
  function P(e, t) {
@@ -684,9 +684,9 @@ function P(e, t) {
684
684
  }
685
685
  function F(e, t, n, r, i) {
686
686
  let a = e.line;
687
- return new He(t, n, r, a, 1 + n - e.lineStart, i);
687
+ return new Ue(t, n, r, a, 1 + n - e.lineStart, i);
688
688
  }
689
- function ct(e, t) {
689
+ function lt(e, t) {
690
690
  let n = e.source.body, r = n.length, i = t;
691
691
  for (; i < r;) {
692
692
  let t = n.charCodeAt(i);
@@ -703,7 +703,7 @@ function ct(e, t) {
703
703
  case 13:
704
704
  n.charCodeAt(i + 1) === 10 ? i += 2 : ++i, ++e.line, e.lineStart = i;
705
705
  continue;
706
- case 35: return lt(e, i);
706
+ case 35: return ut(e, i);
707
707
  case 33: return F(e, N.BANG, i, i + 1);
708
708
  case 36: return F(e, N.DOLLAR, i, i + 1);
709
709
  case 38: return F(e, N.AMP, i, i + 1);
@@ -720,94 +720,94 @@ function ct(e, t) {
720
720
  case 123: return F(e, N.BRACE_L, i, i + 1);
721
721
  case 124: return F(e, N.PIPE, i, i + 1);
722
722
  case 125: return F(e, N.BRACE_R, i, i + 1);
723
- case 34: return n.charCodeAt(i + 1) === 34 && n.charCodeAt(i + 2) === 34 ? vt(e, i) : ft(e, i);
723
+ case 34: return n.charCodeAt(i + 1) === 34 && n.charCodeAt(i + 2) === 34 ? yt(e, i) : pt(e, i);
724
724
  }
725
- if (Ye(t) || t === 45) return ut(e, i, t);
726
- if (Ze(t)) return yt(e, i);
727
- throw j(e.source, i, t === 39 ? "Unexpected single quote character ('), did you mean to use a double quote (\")?" : it(t) || at(n, i) ? `Unexpected character: ${P(e, i)}.` : `Invalid character: ${P(e, i)}.`);
725
+ if (Xe(t) || t === 45) return dt(e, i, t);
726
+ if (Qe(t)) return bt(e, i);
727
+ throw j(e.source, i, t === 39 ? "Unexpected single quote character ('), did you mean to use a double quote (\")?" : at(t) || ot(n, i) ? `Unexpected character: ${P(e, i)}.` : `Invalid character: ${P(e, i)}.`);
728
728
  }
729
729
  return F(e, N.EOF, r, r);
730
730
  }
731
- function lt(e, t) {
731
+ function ut(e, t) {
732
732
  let n = e.source.body, r = n.length, i = t + 1;
733
733
  for (; i < r;) {
734
734
  let e = n.charCodeAt(i);
735
735
  if (e === 10 || e === 13) break;
736
- if (it(e)) ++i;
737
- else if (at(n, i)) i += 2;
736
+ if (at(e)) ++i;
737
+ else if (ot(n, i)) i += 2;
738
738
  else break;
739
739
  }
740
740
  return F(e, N.COMMENT, t, i, n.slice(t + 1, i));
741
741
  }
742
- function ut(e, t, n) {
742
+ function dt(e, t, n) {
743
743
  let r = e.source.body, i = t, a = n, o = !1;
744
744
  if (a === 45 && (a = r.charCodeAt(++i)), a === 48) {
745
- if (a = r.charCodeAt(++i), Ye(a)) throw j(e.source, i, `Invalid number, unexpected digit after 0: ${P(e, i)}.`);
746
- } else i = dt(e, i, a), a = r.charCodeAt(i);
747
- if (a === 46 && (o = !0, a = r.charCodeAt(++i), i = dt(e, i, a), a = r.charCodeAt(i)), (a === 69 || a === 101) && (o = !0, a = r.charCodeAt(++i), (a === 43 || a === 45) && (a = r.charCodeAt(++i)), i = dt(e, i, a), a = r.charCodeAt(i)), a === 46 || Ze(a)) throw j(e.source, i, `Invalid number, expected digit but got: ${P(e, i)}.`);
745
+ if (a = r.charCodeAt(++i), Xe(a)) throw j(e.source, i, `Invalid number, unexpected digit after 0: ${P(e, i)}.`);
746
+ } else i = ft(e, i, a), a = r.charCodeAt(i);
747
+ if (a === 46 && (o = !0, a = r.charCodeAt(++i), i = ft(e, i, a), a = r.charCodeAt(i)), (a === 69 || a === 101) && (o = !0, a = r.charCodeAt(++i), (a === 43 || a === 45) && (a = r.charCodeAt(++i)), i = ft(e, i, a), a = r.charCodeAt(i)), a === 46 || Qe(a)) throw j(e.source, i, `Invalid number, expected digit but got: ${P(e, i)}.`);
748
748
  return F(e, o ? N.FLOAT : N.INT, t, i, r.slice(t, i));
749
749
  }
750
- function dt(e, t, n) {
751
- if (!Ye(n)) throw j(e.source, t, `Invalid number, expected digit but got: ${P(e, t)}.`);
750
+ function ft(e, t, n) {
751
+ if (!Xe(n)) throw j(e.source, t, `Invalid number, expected digit but got: ${P(e, t)}.`);
752
752
  let r = e.source.body, i = t + 1;
753
- for (; Ye(r.charCodeAt(i));) ++i;
753
+ for (; Xe(r.charCodeAt(i));) ++i;
754
754
  return i;
755
755
  }
756
- function ft(e, t) {
756
+ function pt(e, t) {
757
757
  let n = e.source.body, r = n.length, i = t + 1, a = i, o = "";
758
758
  for (; i < r;) {
759
759
  let r = n.charCodeAt(i);
760
760
  if (r === 34) return o += n.slice(a, i), F(e, N.STRING, t, i + 1, o);
761
761
  if (r === 92) {
762
762
  o += n.slice(a, i);
763
- let t = n.charCodeAt(i + 1) === 117 ? n.charCodeAt(i + 2) === 123 ? pt(e, i) : mt(e, i) : _t(e, i);
763
+ let t = n.charCodeAt(i + 1) === 117 ? n.charCodeAt(i + 2) === 123 ? mt(e, i) : ht(e, i) : vt(e, i);
764
764
  o += t.value, i += t.size, a = i;
765
765
  continue;
766
766
  }
767
767
  if (r === 10 || r === 13) break;
768
- if (it(r)) ++i;
769
- else if (at(n, i)) i += 2;
768
+ if (at(r)) ++i;
769
+ else if (ot(n, i)) i += 2;
770
770
  else throw j(e.source, i, `Invalid character within String: ${P(e, i)}.`);
771
771
  }
772
772
  throw j(e.source, i, "Unterminated string.");
773
773
  }
774
- function pt(e, t) {
774
+ function mt(e, t) {
775
775
  let n = e.source.body, r = 0, i = 3;
776
776
  for (; i < 12;) {
777
777
  let e = n.charCodeAt(t + i++);
778
778
  if (e === 125) {
779
- if (i < 5 || !it(r)) break;
779
+ if (i < 5 || !at(r)) break;
780
780
  return {
781
781
  value: String.fromCodePoint(r),
782
782
  size: i
783
783
  };
784
784
  }
785
- if (r = r << 4 | gt(e), r < 0) break;
785
+ if (r = r << 4 | _t(e), r < 0) break;
786
786
  }
787
787
  throw j(e.source, t, `Invalid Unicode escape sequence: "${n.slice(t, t + i)}".`);
788
788
  }
789
- function mt(e, t) {
790
- let n = e.source.body, r = ht(n, t + 2);
791
- if (it(r)) return {
789
+ function ht(e, t) {
790
+ let n = e.source.body, r = gt(n, t + 2);
791
+ if (at(r)) return {
792
792
  value: String.fromCodePoint(r),
793
793
  size: 6
794
794
  };
795
- if (ot(r) && n.charCodeAt(t + 6) === 92 && n.charCodeAt(t + 7) === 117) {
796
- let e = ht(n, t + 8);
797
- if (st(e)) return {
795
+ if (st(r) && n.charCodeAt(t + 6) === 92 && n.charCodeAt(t + 7) === 117) {
796
+ let e = gt(n, t + 8);
797
+ if (ct(e)) return {
798
798
  value: String.fromCodePoint(r, e),
799
799
  size: 12
800
800
  };
801
801
  }
802
802
  throw j(e.source, t, `Invalid Unicode escape sequence: "${n.slice(t, t + 6)}".`);
803
803
  }
804
- function ht(e, t) {
805
- return gt(e.charCodeAt(t)) << 12 | gt(e.charCodeAt(t + 1)) << 8 | gt(e.charCodeAt(t + 2)) << 4 | gt(e.charCodeAt(t + 3));
804
+ function gt(e, t) {
805
+ return _t(e.charCodeAt(t)) << 12 | _t(e.charCodeAt(t + 1)) << 8 | _t(e.charCodeAt(t + 2)) << 4 | _t(e.charCodeAt(t + 3));
806
806
  }
807
- function gt(e) {
807
+ function _t(e) {
808
808
  return e >= 48 && e <= 57 ? e - 48 : e >= 65 && e <= 70 ? e - 55 : e >= 97 && e <= 102 ? e - 87 : -1;
809
809
  }
810
- function _t(e, t) {
810
+ function vt(e, t) {
811
811
  let n = e.source.body;
812
812
  switch (n.charCodeAt(t + 1)) {
813
813
  case 34: return {
@@ -845,13 +845,13 @@ function _t(e, t) {
845
845
  }
846
846
  throw j(e.source, t, `Invalid character escape sequence: "${n.slice(t, t + 2)}".`);
847
847
  }
848
- function vt(e, t) {
848
+ function yt(e, t) {
849
849
  let n = e.source.body, r = n.length, i = e.lineStart, a = t + 3, o = a, s = "", c = [];
850
850
  for (; a < r;) {
851
851
  let r = n.charCodeAt(a);
852
852
  if (r === 34 && n.charCodeAt(a + 1) === 34 && n.charCodeAt(a + 2) === 34) {
853
853
  s += n.slice(o, a), c.push(s);
854
- let r = F(e, N.BLOCK_STRING, t, a + 3, $e(c).join("\n"));
854
+ let r = F(e, N.BLOCK_STRING, t, a + 3, et(c).join("\n"));
855
855
  return e.line += c.length - 1, e.lineStart = i, r;
856
856
  }
857
857
  if (r === 92 && n.charCodeAt(a + 1) === 34 && n.charCodeAt(a + 2) === 34 && n.charCodeAt(a + 3) === 34) {
@@ -862,56 +862,56 @@ function vt(e, t) {
862
862
  s += n.slice(o, a), c.push(s), r === 13 && n.charCodeAt(a + 1) === 10 ? a += 2 : ++a, s = "", o = a, i = a;
863
863
  continue;
864
864
  }
865
- if (it(r)) ++a;
866
- else if (at(n, a)) a += 2;
865
+ if (at(r)) ++a;
866
+ else if (ot(n, a)) a += 2;
867
867
  else throw j(e.source, a, `Invalid character within String: ${P(e, a)}.`);
868
868
  }
869
869
  throw j(e.source, a, "Unterminated string.");
870
870
  }
871
- function yt(e, t) {
871
+ function bt(e, t) {
872
872
  let n = e.source.body, r = n.length, i = t + 1;
873
- for (; i < r && Qe(n.charCodeAt(i));) ++i;
873
+ for (; i < r && $e(n.charCodeAt(i));) ++i;
874
874
  return F(e, N.NAME, t, i, n.slice(t, i));
875
875
  }
876
876
  //#endregion
877
877
  //#region node_modules/graphql/jsutils/inspect.mjs
878
- var bt = 10, xt = 2;
879
- function St(e) {
880
- return Ct(e, []);
878
+ var xt = 10, St = 2;
879
+ function Ct(e) {
880
+ return wt(e, []);
881
881
  }
882
- function Ct(e, t) {
882
+ function wt(e, t) {
883
883
  switch (typeof e) {
884
884
  case "string": return JSON.stringify(e);
885
885
  case "function": return e.name ? `[function ${e.name}]` : "[function]";
886
- case "object": return wt(e, t);
886
+ case "object": return Tt(e, t);
887
887
  default: return String(e);
888
888
  }
889
889
  }
890
- function wt(e, t) {
890
+ function Tt(e, t) {
891
891
  if (e === null) return "null";
892
892
  if (t.includes(e)) return "[Circular]";
893
893
  let n = [...t, e];
894
- if (Tt(e)) {
894
+ if (Et(e)) {
895
895
  let t = e.toJSON();
896
- if (t !== e) return typeof t == "string" ? t : Ct(t, n);
897
- } else if (Array.isArray(e)) return Dt(e, n);
898
- return Et(e, n);
896
+ if (t !== e) return typeof t == "string" ? t : wt(t, n);
897
+ } else if (Array.isArray(e)) return Ot(e, n);
898
+ return Dt(e, n);
899
899
  }
900
- function Tt(e) {
900
+ function Et(e) {
901
901
  return typeof e.toJSON == "function";
902
902
  }
903
- function Et(e, t) {
903
+ function Dt(e, t) {
904
904
  let n = Object.entries(e);
905
- return n.length === 0 ? "{}" : t.length > xt ? "[" + Ot(e) + "]" : "{ " + n.map(([e, n]) => e + ": " + Ct(n, t)).join(", ") + " }";
905
+ return n.length === 0 ? "{}" : t.length > St ? "[" + kt(e) + "]" : "{ " + n.map(([e, n]) => e + ": " + wt(n, t)).join(", ") + " }";
906
906
  }
907
- function Dt(e, t) {
907
+ function Ot(e, t) {
908
908
  if (e.length === 0) return "[]";
909
- if (t.length > xt) return "[Array]";
910
- let n = Math.min(bt, e.length), r = e.length - n, i = [];
911
- for (let r = 0; r < n; ++r) i.push(Ct(e[r], t));
909
+ if (t.length > St) return "[Array]";
910
+ let n = Math.min(xt, e.length), r = e.length - n, i = [];
911
+ for (let r = 0; r < n; ++r) i.push(wt(e[r], t));
912
912
  return r === 1 ? i.push("... 1 more item") : r > 1 && i.push(`... ${r} more items`), "[" + i.join(", ") + "]";
913
913
  }
914
- function Ot(e) {
914
+ function kt(e) {
915
915
  let t = Object.prototype.toString.call(e).replace(/^\[object /, "").replace(/]$/, "");
916
916
  if (t === "Object" && typeof e.constructor == "function") {
917
917
  let t = e.constructor.name;
@@ -919,14 +919,14 @@ function Ot(e) {
919
919
  }
920
920
  return t;
921
921
  }
922
- var kt = globalThis.process ? function(e, t) {
922
+ var At = globalThis.process ? function(e, t) {
923
923
  return e instanceof t;
924
924
  } : function(e, t) {
925
925
  if (e instanceof t) return !0;
926
926
  if (typeof e == "object" && e) {
927
927
  let n = t.prototype[Symbol.toStringTag];
928
928
  if (n === (Symbol.toStringTag in e ? e[Symbol.toStringTag] : e.constructor?.name)) {
929
- let t = St(e);
929
+ let t = Ct(e);
930
930
  throw Error(`Cannot use ${n} "${t}" from another module or realm.
931
931
 
932
932
  Ensure that there is only one instance of "graphql" in the node_modules
@@ -942,36 +942,36 @@ spurious results.`);
942
942
  }
943
943
  }
944
944
  return !1;
945
- }, At = class {
945
+ }, jt = class {
946
946
  constructor(e, t = "GraphQL request", n = {
947
947
  line: 1,
948
948
  column: 1
949
949
  }) {
950
- typeof e == "string" || Ae(!1, `Body must be a string. Received: ${St(e)}.`), this.body = e, this.name = t, this.locationOffset = n, this.locationOffset.line > 0 || Ae(!1, "line in locationOffset is 1-indexed and must be positive."), this.locationOffset.column > 0 || Ae(!1, "column in locationOffset is 1-indexed and must be positive.");
950
+ typeof e == "string" || je(!1, `Body must be a string. Received: ${Ct(e)}.`), this.body = e, this.name = t, this.locationOffset = n, this.locationOffset.line > 0 || je(!1, "line in locationOffset is 1-indexed and must be positive."), this.locationOffset.column > 0 || je(!1, "column in locationOffset is 1-indexed and must be positive.");
951
951
  }
952
952
  get [Symbol.toStringTag]() {
953
953
  return "Source";
954
954
  }
955
955
  };
956
- function jt(e) {
957
- return kt(e, At);
956
+ function Mt(e) {
957
+ return At(e, jt);
958
958
  }
959
959
  //#endregion
960
960
  //#region node_modules/graphql/language/parser.mjs
961
- function Mt(e, t) {
962
- let n = new Nt(e, t), r = n.parseDocument();
961
+ function Nt(e, t) {
962
+ let n = new Pt(e, t), r = n.parseDocument();
963
963
  return Object.defineProperty(r, "tokenCount", {
964
964
  enumerable: !1,
965
965
  value: n.tokenCount
966
966
  }), r;
967
967
  }
968
- var Nt = class {
968
+ var Pt = class {
969
969
  constructor(e, t = {}) {
970
970
  let { lexer: n, ...r } = t;
971
971
  if (n) this._lexer = n;
972
972
  else {
973
- let t = jt(e) ? e : new At(e);
974
- this._lexer = new nt(t);
973
+ let t = Mt(e) ? e : new jt(e);
974
+ this._lexer = new rt(t);
975
975
  }
976
976
  this._options = r, this._tokenCounter = 0;
977
977
  }
@@ -1023,7 +1023,7 @@ var Nt = class {
1023
1023
  let e = this._lexer.token;
1024
1024
  if (this.peek(N.BRACE_L)) return this.node(e, {
1025
1025
  kind: M.OPERATION_DEFINITION,
1026
- operation: Ke.QUERY,
1026
+ operation: qe.QUERY,
1027
1027
  description: void 0,
1028
1028
  name: void 0,
1029
1029
  variableDefinitions: [],
@@ -1044,9 +1044,9 @@ var Nt = class {
1044
1044
  parseOperationType() {
1045
1045
  let e = this.expectToken(N.NAME);
1046
1046
  switch (e.value) {
1047
- case "query": return Ke.QUERY;
1048
- case "mutation": return Ke.MUTATION;
1049
- case "subscription": return Ke.SUBSCRIPTION;
1047
+ case "query": return qe.QUERY;
1048
+ case "mutation": return qe.MUTATION;
1049
+ case "subscription": return qe.SUBSCRIPTION;
1050
1050
  }
1051
1051
  throw this.unexpected(e);
1052
1052
  }
@@ -1390,7 +1390,7 @@ var Nt = class {
1390
1390
  });
1391
1391
  }
1392
1392
  parseEnumValueName() {
1393
- if (this._lexer.token.value === "true" || this._lexer.token.value === "false" || this._lexer.token.value === "null") throw j(this._lexer.source, this._lexer.token.start, `${Pt(this._lexer.token)} is reserved and cannot be used for an enum value.`);
1393
+ if (this._lexer.token.value === "true" || this._lexer.token.value === "false" || this._lexer.token.value === "null") throw j(this._lexer.source, this._lexer.token.start, `${Ft(this._lexer.token)} is reserved and cannot be used for an enum value.`);
1394
1394
  return this.parseName();
1395
1395
  }
1396
1396
  parseInputObjectTypeDefinition() {
@@ -1540,7 +1540,7 @@ var Nt = class {
1540
1540
  }
1541
1541
  parseDirectiveLocation() {
1542
1542
  let e = this._lexer.token, t = this.parseName();
1543
- if (Object.prototype.hasOwnProperty.call(qe, t.value)) return t;
1543
+ if (Object.prototype.hasOwnProperty.call(Je, t.value)) return t;
1544
1544
  throw this.unexpected(e);
1545
1545
  }
1546
1546
  parseSchemaCoordinate() {
@@ -1569,7 +1569,7 @@ var Nt = class {
1569
1569
  });
1570
1570
  }
1571
1571
  node(e, t) {
1572
- return this._options.noLocation !== !0 && (t.loc = new Ve(e, this._lexer.lastToken, this._lexer.source)), t;
1572
+ return this._options.noLocation !== !0 && (t.loc = new He(e, this._lexer.lastToken, this._lexer.source)), t;
1573
1573
  }
1574
1574
  peek(e) {
1575
1575
  return this._lexer.token.kind === e;
@@ -1577,7 +1577,7 @@ var Nt = class {
1577
1577
  expectToken(e) {
1578
1578
  let t = this._lexer.token;
1579
1579
  if (t.kind === e) return this.advanceLexer(), t;
1580
- throw j(this._lexer.source, t.start, `Expected ${Ft(e)}, found ${Pt(t)}.`);
1580
+ throw j(this._lexer.source, t.start, `Expected ${It(e)}, found ${Ft(t)}.`);
1581
1581
  }
1582
1582
  expectOptionalToken(e) {
1583
1583
  return this._lexer.token.kind === e ? (this.advanceLexer(), !0) : !1;
@@ -1585,7 +1585,7 @@ var Nt = class {
1585
1585
  expectKeyword(e) {
1586
1586
  let t = this._lexer.token;
1587
1587
  if (t.kind === N.NAME && t.value === e) this.advanceLexer();
1588
- else throw j(this._lexer.source, t.start, `Expected "${e}", found ${Pt(t)}.`);
1588
+ else throw j(this._lexer.source, t.start, `Expected "${e}", found ${Ft(t)}.`);
1589
1589
  }
1590
1590
  expectOptionalKeyword(e) {
1591
1591
  let t = this._lexer.token;
@@ -1593,7 +1593,7 @@ var Nt = class {
1593
1593
  }
1594
1594
  unexpected(e) {
1595
1595
  let t = e ?? this._lexer.token;
1596
- return j(this._lexer.source, t.start, `Unexpected ${Pt(t)}.`);
1596
+ return j(this._lexer.source, t.start, `Unexpected ${Ft(t)}.`);
1597
1597
  }
1598
1598
  any(e, t, n) {
1599
1599
  this.expectToken(e);
@@ -1632,19 +1632,19 @@ var Nt = class {
1632
1632
  if (t.kind !== N.EOF && (++this._tokenCounter, e !== void 0 && this._tokenCounter > e)) throw j(this._lexer.source, t.start, `Document contains more that ${e} tokens. Parsing aborted.`);
1633
1633
  }
1634
1634
  };
1635
- function Pt(e) {
1635
+ function Ft(e) {
1636
1636
  let t = e.value;
1637
- return Ft(e.kind) + (t == null ? "" : ` "${t}"`);
1637
+ return It(e.kind) + (t == null ? "" : ` "${t}"`);
1638
1638
  }
1639
- function Ft(e) {
1640
- return rt(e) ? `"${e}"` : e;
1639
+ function It(e) {
1640
+ return it(e) ? `"${e}"` : e;
1641
1641
  }
1642
1642
  //#endregion
1643
1643
  //#region node_modules/graphql/language/visitor.mjs
1644
- var It = Object.freeze({});
1645
- function Lt(e, t, n = Ue) {
1644
+ var Lt = Object.freeze({});
1645
+ function Rt(e, t, n = We) {
1646
1646
  let r = /* @__PURE__ */ new Map();
1647
- for (let e of Object.values(M)) r.set(e, Rt(t, e));
1647
+ for (let e of Object.values(M)) r.set(e, zt(t, e));
1648
1648
  let i, a = Array.isArray(e), o = [e], s = -1, c = [], l = e, u, d, f = [], p = [];
1649
1649
  do {
1650
1650
  s++;
@@ -1668,13 +1668,13 @@ function Lt(e, t, n = Ue) {
1668
1668
  }
1669
1669
  let h;
1670
1670
  if (!Array.isArray(l)) {
1671
- if (Ge(l) || Ae(!1, `Invalid AST Node: ${St(l)}.`), h = (e ? r.get(l.kind)?.leave : r.get(l.kind)?.enter)?.call(t, l, u, d, f, p), h === It) break;
1671
+ if (Ke(l) || je(!1, `Invalid AST Node: ${Ct(l)}.`), h = (e ? r.get(l.kind)?.leave : r.get(l.kind)?.enter)?.call(t, l, u, d, f, p), h === Lt) break;
1672
1672
  if (h === !1) {
1673
1673
  if (!e) {
1674
1674
  f.pop();
1675
1675
  continue;
1676
1676
  }
1677
- } else if (h !== void 0 && (c.push([u, h]), !e)) if (Ge(h)) l = h;
1677
+ } else if (h !== void 0 && (c.push([u, h]), !e)) if (Ke(h)) l = h;
1678
1678
  else {
1679
1679
  f.pop();
1680
1680
  continue;
@@ -1690,7 +1690,7 @@ function Lt(e, t, n = Ue) {
1690
1690
  } while (i !== void 0);
1691
1691
  return c.length === 0 ? e : c[c.length - 1][1];
1692
1692
  }
1693
- function Rt(e, t) {
1693
+ function zt(e, t) {
1694
1694
  let n = e[t];
1695
1695
  return typeof n == "object" ? n : typeof n == "function" ? {
1696
1696
  enter: n,
@@ -1702,30 +1702,30 @@ function Rt(e, t) {
1702
1702
  }
1703
1703
  //#endregion
1704
1704
  //#region node_modules/@apollo/client/utilities/graphql/directives.js
1705
- function zt(e, t) {
1705
+ function Bt(e, t) {
1706
1706
  var n = e.directives;
1707
- return !n || !n.length ? !0 : Ut(n).every(function(e) {
1707
+ return !n || !n.length ? !0 : Wt(n).every(function(e) {
1708
1708
  var n = e.directive, r = e.ifArgument, i = !1;
1709
1709
  return r.value.kind === "Variable" ? (i = t && t[r.value.name.value], A(i !== void 0, 105, n.name.value)) : i = r.value.value, n.name.value === "skip" ? !i : i;
1710
1710
  });
1711
1711
  }
1712
- function Bt(e, t, n) {
1712
+ function Vt(e, t, n) {
1713
1713
  var r = new Set(e), i = r.size;
1714
- return Lt(t, { Directive: function(e) {
1715
- if (r.delete(e.name.value) && (!n || !r.size)) return It;
1714
+ return Rt(t, { Directive: function(e) {
1715
+ if (r.delete(e.name.value) && (!n || !r.size)) return Lt;
1716
1716
  } }), n ? !r.size : r.size < i;
1717
1717
  }
1718
- function Vt(e) {
1719
- return e && Bt(["client", "export"], e, !0);
1720
- }
1721
1718
  function Ht(e) {
1719
+ return e && Vt(["client", "export"], e, !0);
1720
+ }
1721
+ function Ut(e) {
1722
1722
  var t = e.name.value;
1723
1723
  return t === "skip" || t === "include";
1724
1724
  }
1725
- function Ut(e) {
1725
+ function Wt(e) {
1726
1726
  var t = [];
1727
1727
  return e && e.length && e.forEach(function(e) {
1728
- if (Ht(e)) {
1728
+ if (Ut(e)) {
1729
1729
  var n = e.arguments, r = e.name.value;
1730
1730
  A(n && n.length === 1, 106, r);
1731
1731
  var i = n[0];
@@ -1738,7 +1738,7 @@ function Ut(e) {
1738
1738
  }
1739
1739
  }), t;
1740
1740
  }
1741
- function Wt(e) {
1741
+ function Gt(e) {
1742
1742
  var t = e.directives?.find(function(e) {
1743
1743
  return e.name.value === "unmask";
1744
1744
  });
@@ -1750,8 +1750,8 @@ function Wt(e) {
1750
1750
  }
1751
1751
  //#endregion
1752
1752
  //#region node_modules/@wry/trie/lib/index.js
1753
- var Gt = () => Object.create(null), { forEach: Kt, slice: qt } = Array.prototype, { hasOwnProperty: Jt } = Object.prototype, Yt = class e {
1754
- constructor(e = !0, t = Gt) {
1753
+ var Kt = () => Object.create(null), { forEach: qt, slice: Jt } = Array.prototype, { hasOwnProperty: Yt } = Object.prototype, Xt = class e {
1754
+ constructor(e = !0, t = Kt) {
1755
1755
  this.weakness = e, this.makeData = t;
1756
1756
  }
1757
1757
  lookup() {
@@ -1759,7 +1759,7 @@ var Gt = () => Object.create(null), { forEach: Kt, slice: qt } = Array.prototype
1759
1759
  }
1760
1760
  lookupArray(e) {
1761
1761
  let t = this;
1762
- return Kt.call(e, (e) => t = t.getChildTrie(e)), Jt.call(t, "data") ? t.data : t.data = this.makeData(qt.call(e));
1762
+ return qt.call(e, (e) => t = t.getChildTrie(e)), Yt.call(t, "data") ? t.data : t.data = this.makeData(Jt.call(e));
1763
1763
  }
1764
1764
  peek() {
1765
1765
  return this.peekArray(arguments);
@@ -1779,7 +1779,7 @@ var Gt = () => Object.create(null), { forEach: Kt, slice: qt } = Array.prototype
1779
1779
  let t;
1780
1780
  if (e.length) {
1781
1781
  let n = e[0], r = this.mapFor(n, !1), i = r && r.get(n);
1782
- i && (t = i.removeArray(qt.call(e, 1)), !i.data && !i.weak && !(i.strong && i.strong.size) && r.delete(n));
1782
+ i && (t = i.removeArray(Jt.call(e, 1)), !i.data && !i.weak && !(i.strong && i.strong.size) && r.delete(n));
1783
1783
  } else t = this.data, delete this.data;
1784
1784
  return t;
1785
1785
  }
@@ -1788,10 +1788,10 @@ var Gt = () => Object.create(null), { forEach: Kt, slice: qt } = Array.prototype
1788
1788
  return r || n.set(t, r = new e(this.weakness, this.makeData)), r;
1789
1789
  }
1790
1790
  mapFor(e, t) {
1791
- return this.weakness && Xt(e) ? this.weak || (t ? this.weak = /* @__PURE__ */ new WeakMap() : void 0) : this.strong || (t ? this.strong = /* @__PURE__ */ new Map() : void 0);
1791
+ return this.weakness && Zt(e) ? this.weak || (t ? this.weak = /* @__PURE__ */ new WeakMap() : void 0) : this.strong || (t ? this.strong = /* @__PURE__ */ new Map() : void 0);
1792
1792
  }
1793
1793
  };
1794
- function Xt(e) {
1794
+ function Zt(e) {
1795
1795
  switch (typeof e) {
1796
1796
  case "object": if (e === null) break;
1797
1797
  case "function": return !0;
@@ -1800,24 +1800,24 @@ function Xt(e) {
1800
1800
  }
1801
1801
  //#endregion
1802
1802
  //#region node_modules/@apollo/client/utilities/common/canUse.js
1803
- var Zt = k(function() {
1803
+ var Qt = k(function() {
1804
1804
  return navigator.product;
1805
- }) == "ReactNative", Qt = typeof WeakMap == "function" && !(Zt && !global.HermesInternal), $t = typeof WeakSet == "function", en = typeof Symbol == "function" && typeof Symbol.for == "function", tn = en && Symbol.asyncIterator, nn = typeof k(function() {
1805
+ }) == "ReactNative", $t = typeof WeakMap == "function" && !(Qt && !global.HermesInternal), en = typeof WeakSet == "function", tn = typeof Symbol == "function" && typeof Symbol.for == "function", nn = tn && Symbol.asyncIterator, rn = typeof k(function() {
1806
1806
  return window.document.createElement;
1807
- }) == "function", rn = k(function() {
1807
+ }) == "function", an = k(function() {
1808
1808
  return navigator.userAgent.indexOf("jsdom") >= 0;
1809
- }) || !1, an = (nn || Zt) && !rn;
1809
+ }) || !1, on = (rn || Qt) && !an;
1810
1810
  //#endregion
1811
1811
  //#region node_modules/@apollo/client/utilities/common/objects.js
1812
- function on(e) {
1812
+ function sn(e) {
1813
1813
  return typeof e == "object" && !!e;
1814
1814
  }
1815
1815
  //#endregion
1816
1816
  //#region node_modules/@apollo/client/utilities/graphql/fragments.js
1817
- function sn(e, t) {
1817
+ function cn(e, t) {
1818
1818
  var n = t, r = [];
1819
1819
  return e.definitions.forEach(function(e) {
1820
- if (e.kind === "OperationDefinition") throw we(112, e.operation, e.name ? ` named '${e.name.value}'` : "");
1820
+ if (e.kind === "OperationDefinition") throw Te(112, e.operation, e.name ? ` named '${e.name.value}'` : "");
1821
1821
  e.kind === "FragmentDefinition" && r.push(e);
1822
1822
  }), n === void 0 && (A(r.length === 1, 113, r.length), n = r[0].name.value), E(E({}, e), { definitions: D([{
1823
1823
  kind: "OperationDefinition",
@@ -1834,14 +1834,14 @@ function sn(e, t) {
1834
1834
  }
1835
1835
  }], e.definitions, !0) });
1836
1836
  }
1837
- function cn(e) {
1837
+ function ln(e) {
1838
1838
  e === void 0 && (e = []);
1839
1839
  var t = {};
1840
1840
  return e.forEach(function(e) {
1841
1841
  t[e.name.value] = e;
1842
1842
  }), t;
1843
1843
  }
1844
- function ln(e, t) {
1844
+ function un(e, t) {
1845
1845
  switch (e.kind) {
1846
1846
  case "InlineFragment": return e;
1847
1847
  case "FragmentSpread":
@@ -1852,19 +1852,19 @@ function ln(e, t) {
1852
1852
  default: return null;
1853
1853
  }
1854
1854
  }
1855
- function un(e) {
1855
+ function dn(e) {
1856
1856
  var t = !0;
1857
- return Lt(e, { FragmentSpread: function(e) {
1857
+ return Rt(e, { FragmentSpread: function(e) {
1858
1858
  if (t = !!e.directives && e.directives.some(function(e) {
1859
1859
  return e.name.value === "unmask";
1860
- }), !t) return It;
1860
+ }), !t) return Lt;
1861
1861
  } }), t;
1862
1862
  }
1863
1863
  //#endregion
1864
1864
  //#region node_modules/@wry/caches/lib/strong.js
1865
- function dn() {}
1866
- var fn = class {
1867
- constructor(e = Infinity, t = dn) {
1865
+ function fn() {}
1866
+ var pn = class {
1867
+ constructor(e = Infinity, t = fn) {
1868
1868
  this.max = e, this.dispose = t, this.map = /* @__PURE__ */ new Map(), this.newest = null, this.oldest = null;
1869
1869
  }
1870
1870
  has(e) {
@@ -1904,27 +1904,27 @@ var fn = class {
1904
1904
  };
1905
1905
  //#endregion
1906
1906
  //#region node_modules/@wry/caches/lib/weak.js
1907
- function pn() {}
1908
- var mn = pn, hn = typeof WeakRef < "u" ? WeakRef : function(e) {
1907
+ function mn() {}
1908
+ var hn = mn, gn = typeof WeakRef < "u" ? WeakRef : function(e) {
1909
1909
  return { deref: () => e };
1910
- }, gn = typeof WeakMap < "u" ? WeakMap : Map, _n = typeof FinalizationRegistry < "u" ? FinalizationRegistry : function() {
1910
+ }, _n = typeof WeakMap < "u" ? WeakMap : Map, vn = typeof FinalizationRegistry < "u" ? FinalizationRegistry : function() {
1911
1911
  return {
1912
- register: pn,
1913
- unregister: pn
1912
+ register: mn,
1913
+ unregister: mn
1914
1914
  };
1915
- }, vn = 10024, yn = class {
1916
- constructor(e = Infinity, t = mn) {
1917
- this.max = e, this.dispose = t, this.map = new gn(), this.newest = null, this.oldest = null, this.unfinalizedNodes = /* @__PURE__ */ new Set(), this.finalizationScheduled = !1, this.size = 0, this.finalize = () => {
1915
+ }, yn = 10024, bn = class {
1916
+ constructor(e = Infinity, t = hn) {
1917
+ this.max = e, this.dispose = t, this.map = new _n(), this.newest = null, this.oldest = null, this.unfinalizedNodes = /* @__PURE__ */ new Set(), this.finalizationScheduled = !1, this.size = 0, this.finalize = () => {
1918
1918
  let e = this.unfinalizedNodes.values();
1919
- for (let t = 0; t < vn; t++) {
1919
+ for (let t = 0; t < yn; t++) {
1920
1920
  let t = e.next().value;
1921
1921
  if (!t) break;
1922
1922
  this.unfinalizedNodes.delete(t);
1923
1923
  let n = t.key;
1924
- delete t.key, t.keyRef = new hn(n), this.registry.register(n, t, t);
1924
+ delete t.key, t.keyRef = new gn(n), this.registry.register(n, t, t);
1925
1925
  }
1926
1926
  this.unfinalizedNodes.size > 0 ? queueMicrotask(this.finalize) : this.finalizationScheduled = !1;
1927
- }, this.registry = new _n(this.deleteNode.bind(this));
1927
+ }, this.registry = new vn(this.deleteNode.bind(this));
1928
1928
  }
1929
1929
  has(e) {
1930
1930
  return this.map.has(e);
@@ -1965,30 +1965,30 @@ var mn = pn, hn = typeof WeakRef < "u" ? WeakRef : function(e) {
1965
1965
  scheduleFinalization(e) {
1966
1966
  this.unfinalizedNodes.add(e), this.finalizationScheduled || (this.finalizationScheduled = !0, queueMicrotask(this.finalize));
1967
1967
  }
1968
- }, bn = /* @__PURE__ */ new WeakSet();
1969
- function xn(e) {
1970
- e.size <= (e.max || -1) || bn.has(e) || (bn.add(e), setTimeout(function() {
1971
- e.clean(), bn.delete(e);
1968
+ }, xn = /* @__PURE__ */ new WeakSet();
1969
+ function Sn(e) {
1970
+ e.size <= (e.max || -1) || xn.has(e) || (xn.add(e), setTimeout(function() {
1971
+ e.clean(), xn.delete(e);
1972
1972
  }, 100));
1973
1973
  }
1974
- var Sn = function(e, t) {
1975
- var n = new yn(e, t);
1974
+ var Cn = function(e, t) {
1975
+ var n = new bn(e, t);
1976
1976
  return n.set = function(e, t) {
1977
- var n = yn.prototype.set.call(this, e, t);
1978
- return xn(this), n;
1977
+ var n = bn.prototype.set.call(this, e, t);
1978
+ return Sn(this), n;
1979
1979
  }, n;
1980
- }, Cn = function(e, t) {
1981
- var n = new fn(e, t);
1980
+ }, wn = function(e, t) {
1981
+ var n = new pn(e, t);
1982
1982
  return n.set = function(e, t) {
1983
- var n = fn.prototype.set.call(this, e, t);
1984
- return xn(this), n;
1983
+ var n = pn.prototype.set.call(this, e, t);
1984
+ return Sn(this), n;
1985
1985
  }, n;
1986
- }, wn = E({}, ye[Symbol.for("apollo.cacheSize")]), I = {};
1987
- function Tn(e, t) {
1986
+ }, Tn = E({}, be[Symbol.for("apollo.cacheSize")]), I = {};
1987
+ function En(e, t) {
1988
1988
  I[e] = t;
1989
1989
  }
1990
- var En = globalThis.__DEV__ === !1 ? void 0 : An, Dn = globalThis.__DEV__ === !1 ? void 0 : Mn, On = globalThis.__DEV__ === !1 ? void 0 : jn;
1991
- function kn() {
1990
+ var Dn = globalThis.__DEV__ === !1 ? void 0 : jn, On = globalThis.__DEV__ === !1 ? void 0 : Nn, kn = globalThis.__DEV__ === !1 ? void 0 : Mn;
1991
+ function An() {
1992
1992
  return Object.fromEntries(Object.entries({
1993
1993
  parser: 1e3,
1994
1994
  canonicalStringify: 1e3,
@@ -2006,33 +2006,33 @@ function kn() {
2006
2006
  "inMemoryCache.executeSubSelectedArray": 1e4
2007
2007
  }).map(function(e) {
2008
2008
  var t = e[0], n = e[1];
2009
- return [t, wn[t] || n];
2009
+ return [t, Tn[t] || n];
2010
2010
  }));
2011
2011
  }
2012
- function An() {
2012
+ function jn() {
2013
2013
  var e;
2014
2014
  if (globalThis.__DEV__ === !1) throw Error("only supported in development mode");
2015
2015
  return {
2016
- limits: kn(),
2016
+ limits: An(),
2017
2017
  sizes: E({
2018
2018
  print: I.print?.call(I),
2019
2019
  parser: I.parser?.call(I),
2020
2020
  canonicalStringify: I.canonicalStringify?.call(I),
2021
- links: Ln(this.link),
2021
+ links: Rn(this.link),
2022
2022
  queryManager: {
2023
2023
  getDocumentInfo: this.queryManager.transformCache.size,
2024
- documentTransforms: Fn(this.queryManager.documentTransform)
2024
+ documentTransforms: In(this.queryManager.documentTransform)
2025
2025
  }
2026
2026
  }, (e = this.cache).getMemoryInternals?.call(e))
2027
2027
  };
2028
2028
  }
2029
- function jn() {
2029
+ function Mn() {
2030
2030
  return { cache: { fragmentQueryDocuments: L(this.getFragmentDoc) } };
2031
2031
  }
2032
- function Mn() {
2032
+ function Nn() {
2033
2033
  var e = this.config.fragments;
2034
- return E(E({}, jn.apply(this)), {
2035
- addTypenameDocumentTransform: Fn(this.addTypenameTransform),
2034
+ return E(E({}, Mn.apply(this)), {
2035
+ addTypenameDocumentTransform: In(this.addTypenameTransform),
2036
2036
  inMemoryCache: {
2037
2037
  executeSelectionSet: L(this.storeReader.executeSelectionSet),
2038
2038
  executeSubSelectedArray: L(this.storeReader.executeSubSelectedArray),
@@ -2045,49 +2045,49 @@ function Mn() {
2045
2045
  }
2046
2046
  });
2047
2047
  }
2048
- function Nn(e) {
2048
+ function Pn(e) {
2049
2049
  return !!e && "dirtyKey" in e;
2050
2050
  }
2051
2051
  function L(e) {
2052
- return Nn(e) ? e.size : void 0;
2052
+ return Pn(e) ? e.size : void 0;
2053
2053
  }
2054
- function Pn(e) {
2054
+ function Fn(e) {
2055
2055
  return e != null;
2056
2056
  }
2057
- function Fn(e) {
2058
- return In(e).map(function(e) {
2057
+ function In(e) {
2058
+ return Ln(e).map(function(e) {
2059
2059
  return { cache: e };
2060
2060
  });
2061
2061
  }
2062
- function In(e) {
2063
- return e ? D(D([L(e?.performWork)], In(e?.left), !0), In(e?.right), !0).filter(Pn) : [];
2064
- }
2065
2062
  function Ln(e) {
2066
- return e ? D(D([(e?.getMemoryInternals)?.call(e)], Ln(e?.left), !0), Ln(e?.right), !0).filter(Pn) : [];
2063
+ return e ? D(D([L(e?.performWork)], Ln(e?.left), !0), Ln(e?.right), !0).filter(Fn) : [];
2064
+ }
2065
+ function Rn(e) {
2066
+ return e ? D(D([(e?.getMemoryInternals)?.call(e)], Rn(e?.left), !0), Rn(e?.right), !0).filter(Fn) : [];
2067
2067
  }
2068
2068
  //#endregion
2069
2069
  //#region node_modules/@apollo/client/utilities/common/canonicalStringify.js
2070
- var Rn = Object.assign(function(e) {
2071
- return JSON.stringify(e, Bn);
2070
+ var zn = Object.assign(function(e) {
2071
+ return JSON.stringify(e, Vn);
2072
2072
  }, { reset: function() {
2073
- zn = new Cn(wn.canonicalStringify || 1e3);
2073
+ Bn = new wn(Tn.canonicalStringify || 1e3);
2074
2074
  } });
2075
- globalThis.__DEV__ !== !1 && Tn("canonicalStringify", function() {
2076
- return zn.size;
2075
+ globalThis.__DEV__ !== !1 && En("canonicalStringify", function() {
2076
+ return Bn.size;
2077
2077
  });
2078
- var zn;
2079
- Rn.reset();
2080
- function Bn(e, t) {
2078
+ var Bn;
2079
+ zn.reset();
2080
+ function Vn(e, t) {
2081
2081
  if (t && typeof t == "object") {
2082
2082
  var n = Object.getPrototypeOf(t);
2083
2083
  if (n === Object.prototype || n === null) {
2084
2084
  var r = Object.keys(t);
2085
- if (r.every(Vn)) return t;
2086
- var i = JSON.stringify(r), a = zn.get(i);
2085
+ if (r.every(Hn)) return t;
2086
+ var i = JSON.stringify(r), a = Bn.get(i);
2087
2087
  if (!a) {
2088
2088
  r.sort();
2089
2089
  var o = JSON.stringify(r);
2090
- a = zn.get(o) || r, zn.set(i, a), zn.set(o, a);
2090
+ a = Bn.get(o) || r, Bn.set(i, a), Bn.set(o, a);
2091
2091
  }
2092
2092
  var s = Object.create(n);
2093
2093
  return a.forEach(function(e) {
@@ -2097,81 +2097,81 @@ function Bn(e, t) {
2097
2097
  }
2098
2098
  return t;
2099
2099
  }
2100
- function Vn(e, t, n) {
2100
+ function Hn(e, t, n) {
2101
2101
  return t === 0 || n[t - 1] <= e;
2102
2102
  }
2103
2103
  //#endregion
2104
2104
  //#region node_modules/@apollo/client/utilities/graphql/storeUtils.js
2105
- function Hn(e) {
2106
- return { __ref: String(e) };
2107
- }
2108
2105
  function Un(e) {
2109
- return !!(e && typeof e == "object" && typeof e.__ref == "string");
2106
+ return { __ref: String(e) };
2110
2107
  }
2111
2108
  function Wn(e) {
2112
- return on(e) && e.kind === "Document" && Array.isArray(e.definitions);
2109
+ return !!(e && typeof e == "object" && typeof e.__ref == "string");
2113
2110
  }
2114
2111
  function Gn(e) {
2115
- return e.kind === "StringValue";
2112
+ return sn(e) && e.kind === "Document" && Array.isArray(e.definitions);
2116
2113
  }
2117
2114
  function Kn(e) {
2118
- return e.kind === "BooleanValue";
2115
+ return e.kind === "StringValue";
2119
2116
  }
2120
2117
  function qn(e) {
2121
- return e.kind === "IntValue";
2118
+ return e.kind === "BooleanValue";
2122
2119
  }
2123
2120
  function Jn(e) {
2124
- return e.kind === "FloatValue";
2121
+ return e.kind === "IntValue";
2125
2122
  }
2126
2123
  function Yn(e) {
2127
- return e.kind === "Variable";
2124
+ return e.kind === "FloatValue";
2128
2125
  }
2129
2126
  function Xn(e) {
2130
- return e.kind === "ObjectValue";
2127
+ return e.kind === "Variable";
2131
2128
  }
2132
2129
  function Zn(e) {
2133
- return e.kind === "ListValue";
2130
+ return e.kind === "ObjectValue";
2134
2131
  }
2135
2132
  function Qn(e) {
2136
- return e.kind === "EnumValue";
2133
+ return e.kind === "ListValue";
2137
2134
  }
2138
2135
  function $n(e) {
2136
+ return e.kind === "EnumValue";
2137
+ }
2138
+ function er(e) {
2139
2139
  return e.kind === "NullValue";
2140
2140
  }
2141
- function er(e, t, n, r) {
2142
- if (qn(n) || Jn(n)) e[t.value] = Number(n.value);
2143
- else if (Kn(n) || Gn(n)) e[t.value] = n.value;
2144
- else if (Xn(n)) {
2141
+ function tr(e, t, n, r) {
2142
+ if (Jn(n) || Yn(n)) e[t.value] = Number(n.value);
2143
+ else if (qn(n) || Kn(n)) e[t.value] = n.value;
2144
+ else if (Zn(n)) {
2145
2145
  var i = {};
2146
2146
  n.fields.map(function(e) {
2147
- return er(i, e.name, e.value, r);
2147
+ return tr(i, e.name, e.value, r);
2148
2148
  }), e[t.value] = i;
2149
- } else if (Yn(n)) {
2149
+ } else if (Xn(n)) {
2150
2150
  var a = (r || {})[n.name.value];
2151
2151
  e[t.value] = a;
2152
- } else if (Zn(n)) e[t.value] = n.values.map(function(e) {
2152
+ } else if (Qn(n)) e[t.value] = n.values.map(function(e) {
2153
2153
  var n = {};
2154
- return er(n, t, e, r), n[t.value];
2154
+ return tr(n, t, e, r), n[t.value];
2155
2155
  });
2156
- else if (Qn(n)) e[t.value] = n.value;
2157
- else if ($n(n)) e[t.value] = null;
2158
- else throw we(123, t.value, n.kind);
2156
+ else if ($n(n)) e[t.value] = n.value;
2157
+ else if (er(n)) e[t.value] = null;
2158
+ else throw Te(123, t.value, n.kind);
2159
2159
  }
2160
- function tr(e, t) {
2160
+ function nr(e, t) {
2161
2161
  var n = null;
2162
2162
  e.directives && (n = {}, e.directives.forEach(function(e) {
2163
2163
  n[e.name.value] = {}, e.arguments && e.arguments.forEach(function(r) {
2164
2164
  var i = r.name, a = r.value;
2165
- return er(n[e.name.value], i, a, t);
2165
+ return tr(n[e.name.value], i, a, t);
2166
2166
  });
2167
2167
  }));
2168
2168
  var r = null;
2169
2169
  return e.arguments && e.arguments.length && (r = {}, e.arguments.forEach(function(e) {
2170
2170
  var n = e.name, i = e.value;
2171
- return er(r, n, i, t);
2172
- })), ir(e.name.value, r, n);
2171
+ return tr(r, n, i, t);
2172
+ })), ar(e.name.value, r, n);
2173
2173
  }
2174
- var nr = [
2174
+ var rr = [
2175
2175
  "connection",
2176
2176
  "include",
2177
2177
  "skip",
@@ -2179,99 +2179,99 @@ var nr = [
2179
2179
  "rest",
2180
2180
  "export",
2181
2181
  "nonreactive"
2182
- ], rr = Rn, ir = Object.assign(function(e, t, n) {
2182
+ ], ir = zn, ar = Object.assign(function(e, t, n) {
2183
2183
  if (t && n && n.connection && n.connection.key) if (n.connection.filter && n.connection.filter.length > 0) {
2184
2184
  var r = n.connection.filter ? n.connection.filter : [];
2185
2185
  r.sort();
2186
2186
  var i = {};
2187
2187
  return r.forEach(function(e) {
2188
2188
  i[e] = t[e];
2189
- }), `${n.connection.key}(${rr(i)})`;
2189
+ }), `${n.connection.key}(${ir(i)})`;
2190
2190
  } else return n.connection.key;
2191
2191
  var a = e;
2192
2192
  if (t) {
2193
- var o = rr(t);
2193
+ var o = ir(t);
2194
2194
  a += `(${o})`;
2195
2195
  }
2196
2196
  return n && Object.keys(n).forEach(function(e) {
2197
- nr.indexOf(e) === -1 && (n[e] && Object.keys(n[e]).length ? a += `@${e}(${rr(n[e])})` : a += `@${e}`);
2197
+ rr.indexOf(e) === -1 && (n[e] && Object.keys(n[e]).length ? a += `@${e}(${ir(n[e])})` : a += `@${e}`);
2198
2198
  }), a;
2199
2199
  }, { setStringify: function(e) {
2200
- var t = rr;
2201
- return rr = e, t;
2200
+ var t = ir;
2201
+ return ir = e, t;
2202
2202
  } });
2203
- function ar(e, t) {
2203
+ function or(e, t) {
2204
2204
  if (e.arguments && e.arguments.length) {
2205
2205
  var n = {};
2206
2206
  return e.arguments.forEach(function(e) {
2207
2207
  var r = e.name, i = e.value;
2208
- return er(n, r, i, t);
2208
+ return tr(n, r, i, t);
2209
2209
  }), n;
2210
2210
  }
2211
2211
  return null;
2212
2212
  }
2213
- function or(e) {
2213
+ function sr(e) {
2214
2214
  return e.alias ? e.alias.value : e.name.value;
2215
2215
  }
2216
- function sr(e, t, n) {
2216
+ function cr(e, t, n) {
2217
2217
  for (var r, i = 0, a = t.selections; i < a.length; i++) {
2218
2218
  var o = a[i];
2219
- if (cr(o)) {
2220
- if (o.name.value === "__typename") return e[or(o)];
2219
+ if (lr(o)) {
2220
+ if (o.name.value === "__typename") return e[sr(o)];
2221
2221
  } else r ? r.push(o) : r = [o];
2222
2222
  }
2223
2223
  if (typeof e.__typename == "string") return e.__typename;
2224
2224
  if (r) for (var s = 0, c = r; s < c.length; s++) {
2225
- var o = c[s], l = sr(e, ln(o, n).selectionSet, n);
2225
+ var o = c[s], l = cr(e, un(o, n).selectionSet, n);
2226
2226
  if (typeof l == "string") return l;
2227
2227
  }
2228
2228
  }
2229
- function cr(e) {
2229
+ function lr(e) {
2230
2230
  return e.kind === "Field";
2231
2231
  }
2232
- function lr(e) {
2232
+ function ur(e) {
2233
2233
  return e.kind === "InlineFragment";
2234
2234
  }
2235
2235
  //#endregion
2236
2236
  //#region node_modules/@apollo/client/utilities/graphql/getFromAST.js
2237
- function ur(e) {
2237
+ function dr(e) {
2238
2238
  A(e && e.kind === "Document", 115);
2239
2239
  var t = e.definitions.filter(function(e) {
2240
2240
  return e.kind !== "FragmentDefinition";
2241
2241
  }).map(function(e) {
2242
- if (e.kind !== "OperationDefinition") throw we(116, e.kind);
2242
+ if (e.kind !== "OperationDefinition") throw Te(116, e.kind);
2243
2243
  return e;
2244
2244
  });
2245
2245
  return A(t.length <= 1, 117, t.length), e;
2246
2246
  }
2247
- function dr(e) {
2248
- return ur(e), e.definitions.filter(function(e) {
2247
+ function fr(e) {
2248
+ return dr(e), e.definitions.filter(function(e) {
2249
2249
  return e.kind === "OperationDefinition";
2250
2250
  })[0];
2251
2251
  }
2252
- function fr(e) {
2252
+ function pr(e) {
2253
2253
  return e.definitions.filter(function(e) {
2254
2254
  return e.kind === "OperationDefinition" && !!e.name;
2255
2255
  }).map(function(e) {
2256
2256
  return e.name.value;
2257
2257
  })[0] || null;
2258
2258
  }
2259
- function pr(e) {
2259
+ function mr(e) {
2260
2260
  return e.definitions.filter(function(e) {
2261
2261
  return e.kind === "FragmentDefinition";
2262
2262
  });
2263
2263
  }
2264
- function mr(e) {
2265
- var t = dr(e);
2264
+ function hr(e) {
2265
+ var t = fr(e);
2266
2266
  return A(t && t.operation === "query", 118), t;
2267
2267
  }
2268
- function hr(e) {
2268
+ function gr(e) {
2269
2269
  A(e.kind === "Document", 119), A(e.definitions.length <= 1, 120);
2270
2270
  var t = e.definitions[0];
2271
2271
  return A(t.kind === "FragmentDefinition", 121), t;
2272
2272
  }
2273
- function gr(e) {
2274
- ur(e);
2273
+ function _r(e) {
2274
+ dr(e);
2275
2275
  for (var t, n = 0, r = e.definitions; n < r.length; n++) {
2276
2276
  var i = r[n];
2277
2277
  if (i.kind === "OperationDefinition") {
@@ -2281,21 +2281,21 @@ function gr(e) {
2281
2281
  i.kind === "FragmentDefinition" && !t && (t = i);
2282
2282
  }
2283
2283
  if (t) return t;
2284
- throw we(122);
2284
+ throw Te(122);
2285
2285
  }
2286
- function _r(e) {
2286
+ function vr(e) {
2287
2287
  var t = Object.create(null), n = e && e.variableDefinitions;
2288
2288
  return n && n.length && n.forEach(function(e) {
2289
- e.defaultValue && er(t, e.variable.name, e.defaultValue);
2289
+ e.defaultValue && tr(t, e.variable.name, e.defaultValue);
2290
2290
  }), t;
2291
2291
  }
2292
2292
  //#endregion
2293
2293
  //#region node_modules/@wry/context/lib/slot.js
2294
- var R = null, vr = {}, yr = 1, br = () => class {
2294
+ var R = null, yr = {}, br = 1, xr = () => class {
2295
2295
  constructor() {
2296
2296
  this.id = [
2297
2297
  "slot",
2298
- yr++,
2298
+ br++,
2299
2299
  Date.now(),
2300
2300
  Math.random().toString(36).slice(2)
2301
2301
  ].join(":");
@@ -2303,10 +2303,10 @@ var R = null, vr = {}, yr = 1, br = () => class {
2303
2303
  hasValue() {
2304
2304
  for (let e = R; e; e = e.parent) if (this.id in e.slots) {
2305
2305
  let t = e.slots[this.id];
2306
- if (t === vr) break;
2306
+ if (t === yr) break;
2307
2307
  return e !== R && (R.slots[this.id] = t), !0;
2308
2308
  }
2309
- return R && (R.slots[this.id] = vr), !1;
2309
+ return R && (R.slots[this.id] = yr), !1;
2310
2310
  }
2311
2311
  getValue() {
2312
2312
  if (this.hasValue()) return R.slots[this.id];
@@ -2348,14 +2348,14 @@ var R = null, vr = {}, yr = 1, br = () => class {
2348
2348
  } else return e.apply(n, t);
2349
2349
  }
2350
2350
  };
2351
- function xr(e) {
2351
+ function Sr(e) {
2352
2352
  try {
2353
2353
  return e();
2354
2354
  } catch {}
2355
2355
  }
2356
- var Sr = "@wry/context:Slot", Cr = xr(() => globalThis) || xr(() => global) || Object.create(null), wr = Cr[Sr] || Array[Sr] || (function(e) {
2356
+ var Cr = "@wry/context:Slot", wr = Sr(() => globalThis) || Sr(() => global) || Object.create(null), Tr = wr[Cr] || Array[Cr] || (function(e) {
2357
2357
  try {
2358
- Object.defineProperty(Cr, Sr, {
2358
+ Object.defineProperty(wr, Cr, {
2359
2359
  value: e,
2360
2360
  enumerable: !1,
2361
2361
  writable: !1,
@@ -2364,76 +2364,76 @@ var Sr = "@wry/context:Slot", Cr = xr(() => globalThis) || xr(() => global) || O
2364
2364
  } finally {
2365
2365
  return e;
2366
2366
  }
2367
- })(br()), { bind: Tr, noContext: Er } = wr, Dr = new wr(), { hasOwnProperty: Or } = Object.prototype, kr = Array.from || function(e) {
2367
+ })(xr()), { bind: Er, noContext: Dr } = Tr, Or = new Tr(), { hasOwnProperty: kr } = Object.prototype, Ar = Array.from || function(e) {
2368
2368
  let t = [];
2369
2369
  return e.forEach((e) => t.push(e)), t;
2370
2370
  };
2371
- function Ar(e) {
2371
+ function jr(e) {
2372
2372
  let { unsubscribe: t } = e;
2373
2373
  typeof t == "function" && (e.unsubscribe = void 0, t());
2374
2374
  }
2375
2375
  //#endregion
2376
2376
  //#region node_modules/optimism/lib/entry.js
2377
- var jr = [], Mr = 100;
2378
- function Nr(e, t) {
2377
+ var Mr = [], Nr = 100;
2378
+ function Pr(e, t) {
2379
2379
  if (!e) throw Error(t || "assertion failure");
2380
2380
  }
2381
- function Pr(e, t) {
2381
+ function Fr(e, t) {
2382
2382
  let n = e.length;
2383
2383
  return n > 0 && n === t.length && e[n - 1] === t[n - 1];
2384
2384
  }
2385
- function Fr(e) {
2385
+ function Ir(e) {
2386
2386
  switch (e.length) {
2387
2387
  case 0: throw Error("unknown value");
2388
2388
  case 1: return e[0];
2389
2389
  case 2: throw e[1];
2390
2390
  }
2391
2391
  }
2392
- function Ir(e) {
2392
+ function Lr(e) {
2393
2393
  return e.slice(0);
2394
2394
  }
2395
- var Lr = class e {
2395
+ var Rr = class e {
2396
2396
  constructor(t) {
2397
2397
  this.fn = t, this.parents = /* @__PURE__ */ new Set(), this.childValues = /* @__PURE__ */ new Map(), this.dirtyChildren = null, this.dirty = !0, this.recomputing = !1, this.value = [], this.deps = null, ++e.count;
2398
2398
  }
2399
2399
  peek() {
2400
- if (this.value.length === 1 && !z(this)) return Rr(this), this.value[0];
2400
+ if (this.value.length === 1 && !z(this)) return zr(this), this.value[0];
2401
2401
  }
2402
2402
  recompute(e) {
2403
- return Nr(!this.recomputing, "already recomputing"), Rr(this), z(this) ? zr(this, e) : Fr(this.value);
2403
+ return Pr(!this.recomputing, "already recomputing"), zr(this), z(this) ? Br(this, e) : Ir(this.value);
2404
2404
  }
2405
2405
  setDirty() {
2406
- this.dirty || (this.dirty = !0, Hr(this), Ar(this));
2406
+ this.dirty || (this.dirty = !0, Ur(this), jr(this));
2407
2407
  }
2408
2408
  dispose() {
2409
- this.setDirty(), Jr(this), Wr(this, (e, t) => {
2410
- e.setDirty(), Yr(e, this);
2409
+ this.setDirty(), Yr(this), Gr(this, (e, t) => {
2410
+ e.setDirty(), Xr(e, this);
2411
2411
  });
2412
2412
  }
2413
2413
  forget() {
2414
2414
  this.dispose();
2415
2415
  }
2416
2416
  dependOn(e) {
2417
- e.add(this), this.deps || (this.deps = jr.pop() || /* @__PURE__ */ new Set()), this.deps.add(e);
2417
+ e.add(this), this.deps || (this.deps = Mr.pop() || /* @__PURE__ */ new Set()), this.deps.add(e);
2418
2418
  }
2419
2419
  forgetDeps() {
2420
- this.deps && (kr(this.deps).forEach((e) => e.delete(this)), this.deps.clear(), jr.push(this.deps), this.deps = null);
2420
+ this.deps && (Ar(this.deps).forEach((e) => e.delete(this)), this.deps.clear(), Mr.push(this.deps), this.deps = null);
2421
2421
  }
2422
2422
  };
2423
- Lr.count = 0;
2424
- function Rr(e) {
2425
- let t = Dr.getValue();
2426
- if (t) return e.parents.add(t), t.childValues.has(e) || t.childValues.set(e, []), z(e) ? Gr(t, e) : Kr(t, e), t;
2427
- }
2428
- function zr(e, t) {
2429
- return Jr(e), Dr.withValue(e, Br, [e, t]), Xr(e, t) && Vr(e), Fr(e.value);
2423
+ Rr.count = 0;
2424
+ function zr(e) {
2425
+ let t = Or.getValue();
2426
+ if (t) return e.parents.add(t), t.childValues.has(e) || t.childValues.set(e, []), z(e) ? Kr(t, e) : qr(t, e), t;
2430
2427
  }
2431
2428
  function Br(e, t) {
2429
+ return Yr(e), Or.withValue(e, Vr, [e, t]), Zr(e, t) && Hr(e), Ir(e.value);
2430
+ }
2431
+ function Vr(e, t) {
2432
2432
  e.recomputing = !0;
2433
2433
  let { normalizeResult: n } = e, r;
2434
- n && e.value.length === 1 && (r = Ir(e.value)), e.value.length = 0;
2434
+ n && e.value.length === 1 && (r = Lr(e.value)), e.value.length = 0;
2435
2435
  try {
2436
- if (e.value[0] = e.fn.apply(null, t), n && r && !Pr(r, e.value)) try {
2436
+ if (e.value[0] = e.fn.apply(null, t), n && r && !Fr(r, e.value)) try {
2437
2437
  e.value[0] = n(e.value[0], r[0]);
2438
2438
  } catch {}
2439
2439
  } catch (t) {
@@ -2444,49 +2444,49 @@ function Br(e, t) {
2444
2444
  function z(e) {
2445
2445
  return e.dirty || !!(e.dirtyChildren && e.dirtyChildren.size);
2446
2446
  }
2447
- function Vr(e) {
2448
- e.dirty = !1, !z(e) && Ur(e);
2449
- }
2450
2447
  function Hr(e) {
2451
- Wr(e, Gr);
2448
+ e.dirty = !1, !z(e) && Wr(e);
2452
2449
  }
2453
2450
  function Ur(e) {
2454
- Wr(e, Kr);
2451
+ Gr(e, Kr);
2455
2452
  }
2456
- function Wr(e, t) {
2453
+ function Wr(e) {
2454
+ Gr(e, qr);
2455
+ }
2456
+ function Gr(e, t) {
2457
2457
  let n = e.parents.size;
2458
2458
  if (n) {
2459
- let r = kr(e.parents);
2459
+ let r = Ar(e.parents);
2460
2460
  for (let i = 0; i < n; ++i) t(r[i], e);
2461
2461
  }
2462
2462
  }
2463
- function Gr(e, t) {
2464
- Nr(e.childValues.has(t)), Nr(z(t));
2463
+ function Kr(e, t) {
2464
+ Pr(e.childValues.has(t)), Pr(z(t));
2465
2465
  let n = !z(e);
2466
- if (!e.dirtyChildren) e.dirtyChildren = jr.pop() || /* @__PURE__ */ new Set();
2466
+ if (!e.dirtyChildren) e.dirtyChildren = Mr.pop() || /* @__PURE__ */ new Set();
2467
2467
  else if (e.dirtyChildren.has(t)) return;
2468
- e.dirtyChildren.add(t), n && Hr(e);
2468
+ e.dirtyChildren.add(t), n && Ur(e);
2469
2469
  }
2470
- function Kr(e, t) {
2471
- Nr(e.childValues.has(t)), Nr(!z(t));
2470
+ function qr(e, t) {
2471
+ Pr(e.childValues.has(t)), Pr(!z(t));
2472
2472
  let n = e.childValues.get(t);
2473
- n.length === 0 ? e.childValues.set(t, Ir(t.value)) : Pr(n, t.value) || e.setDirty(), qr(e, t), !z(e) && Ur(e);
2473
+ n.length === 0 ? e.childValues.set(t, Lr(t.value)) : Fr(n, t.value) || e.setDirty(), Jr(e, t), !z(e) && Wr(e);
2474
2474
  }
2475
- function qr(e, t) {
2475
+ function Jr(e, t) {
2476
2476
  let n = e.dirtyChildren;
2477
- n && (n.delete(t), n.size === 0 && (jr.length < Mr && jr.push(n), e.dirtyChildren = null));
2477
+ n && (n.delete(t), n.size === 0 && (Mr.length < Nr && Mr.push(n), e.dirtyChildren = null));
2478
2478
  }
2479
- function Jr(e) {
2479
+ function Yr(e) {
2480
2480
  e.childValues.size > 0 && e.childValues.forEach((t, n) => {
2481
- Yr(e, n);
2482
- }), e.forgetDeps(), Nr(e.dirtyChildren === null);
2483
- }
2484
- function Yr(e, t) {
2485
- t.parents.delete(e), e.childValues.delete(t), qr(e, t);
2481
+ Xr(e, n);
2482
+ }), e.forgetDeps(), Pr(e.dirtyChildren === null);
2486
2483
  }
2487
2484
  function Xr(e, t) {
2485
+ t.parents.delete(e), e.childValues.delete(t), Jr(e, t);
2486
+ }
2487
+ function Zr(e, t) {
2488
2488
  if (typeof e.subscribe == "function") try {
2489
- Ar(e), e.unsubscribe = e.subscribe.apply(null, t);
2489
+ jr(e), e.unsubscribe = e.subscribe.apply(null, t);
2490
2490
  } catch {
2491
2491
  return e.setDirty(), !1;
2492
2492
  }
@@ -2494,43 +2494,43 @@ function Xr(e, t) {
2494
2494
  }
2495
2495
  //#endregion
2496
2496
  //#region node_modules/optimism/lib/dep.js
2497
- var Zr = {
2497
+ var Qr = {
2498
2498
  setDirty: !0,
2499
2499
  dispose: !0,
2500
2500
  forget: !0
2501
2501
  };
2502
- function Qr(e) {
2502
+ function $r(e) {
2503
2503
  let t = /* @__PURE__ */ new Map(), n = e && e.subscribe;
2504
2504
  function r(e) {
2505
- let r = Dr.getValue();
2505
+ let r = Or.getValue();
2506
2506
  if (r) {
2507
2507
  let i = t.get(e);
2508
- i || t.set(e, i = /* @__PURE__ */ new Set()), r.dependOn(i), typeof n == "function" && (Ar(i), i.unsubscribe = n(e));
2508
+ i || t.set(e, i = /* @__PURE__ */ new Set()), r.dependOn(i), typeof n == "function" && (jr(i), i.unsubscribe = n(e));
2509
2509
  }
2510
2510
  }
2511
2511
  return r.dirty = function(e, n) {
2512
2512
  let r = t.get(e);
2513
2513
  if (r) {
2514
- let i = n && Or.call(Zr, n) ? n : "setDirty";
2515
- kr(r).forEach((e) => e[i]()), t.delete(e), Ar(r);
2514
+ let i = n && kr.call(Qr, n) ? n : "setDirty";
2515
+ Ar(r).forEach((e) => e[i]()), t.delete(e), jr(r);
2516
2516
  }
2517
2517
  }, r;
2518
2518
  }
2519
2519
  //#endregion
2520
2520
  //#region node_modules/optimism/lib/index.js
2521
- var $r;
2522
- function ei(...e) {
2523
- return ($r || ($r = new Yt(typeof WeakMap == "function"))).lookupArray(e);
2521
+ var ei;
2522
+ function ti(...e) {
2523
+ return (ei || (ei = new Xt(typeof WeakMap == "function"))).lookupArray(e);
2524
2524
  }
2525
- var ti = /* @__PURE__ */ new Set();
2526
- function ni(e, { max: t = 2 ** 16, keyArgs: n, makeCacheKey: r = ei, normalizeResult: i, subscribe: a, cache: o = fn } = Object.create(null)) {
2525
+ var ni = /* @__PURE__ */ new Set();
2526
+ function ri(e, { max: t = 2 ** 16, keyArgs: n, makeCacheKey: r = ti, normalizeResult: i, subscribe: a, cache: o = pn } = Object.create(null)) {
2527
2527
  let s = typeof o == "function" ? new o(t, (e) => e.dispose()) : o, c = function() {
2528
2528
  let t = r.apply(null, n ? n.apply(null, arguments) : arguments);
2529
2529
  if (t === void 0) return e.apply(null, arguments);
2530
2530
  let o = s.get(t);
2531
- o || (s.set(t, o = new Lr(e)), o.normalizeResult = i, o.subscribe = a, o.forget = () => s.delete(t));
2531
+ o || (s.set(t, o = new Rr(e)), o.normalizeResult = i, o.subscribe = a, o.forget = () => s.delete(t));
2532
2532
  let c = o.recompute(Array.prototype.slice.call(arguments));
2533
- return s.set(t, o), ti.add(s), Dr.hasValue() || (ti.forEach((e) => e.clean()), ti.clear()), c;
2533
+ return s.set(t, o), ni.add(s), Or.hasValue() || (ni.forEach((e) => e.clean()), ni.clear()), c;
2534
2534
  };
2535
2535
  Object.defineProperty(c, "size", {
2536
2536
  get: () => s.size,
@@ -2569,16 +2569,16 @@ function ni(e, { max: t = 2 ** 16, keyArgs: n, makeCacheKey: r = ei, normalizeRe
2569
2569
  }
2570
2570
  //#endregion
2571
2571
  //#region node_modules/@apollo/client/utilities/common/arrays.js
2572
- var ri = Array.isArray;
2573
- function ii(e) {
2572
+ var ii = Array.isArray;
2573
+ function ai(e) {
2574
2574
  return Array.isArray(e) && e.length > 0;
2575
2575
  }
2576
2576
  //#endregion
2577
2577
  //#region node_modules/zen-observable-ts/module.js
2578
- function ai(e, t) {
2578
+ function oi(e, t) {
2579
2579
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2580
2580
  if (n) return (n = n.call(e)).next.bind(n);
2581
- if (Array.isArray(e) || (n = oi(e)) || t && e && typeof e.length == "number") {
2581
+ if (Array.isArray(e) || (n = si(e)) || t && e && typeof e.length == "number") {
2582
2582
  n && (e = n);
2583
2583
  var r = 0;
2584
2584
  return function() {
@@ -2590,110 +2590,110 @@ function ai(e, t) {
2590
2590
  }
2591
2591
  throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2592
2592
  }
2593
- function oi(e, t) {
2593
+ function si(e, t) {
2594
2594
  if (e) {
2595
- if (typeof e == "string") return si(e, t);
2595
+ if (typeof e == "string") return ci(e, t);
2596
2596
  var n = Object.prototype.toString.call(e).slice(8, -1);
2597
2597
  if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
2598
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return si(e, t);
2598
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return ci(e, t);
2599
2599
  }
2600
2600
  }
2601
- function si(e, t) {
2601
+ function ci(e, t) {
2602
2602
  (t == null || t > e.length) && (t = e.length);
2603
2603
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
2604
2604
  return r;
2605
2605
  }
2606
- function ci(e, t) {
2606
+ function li(e, t) {
2607
2607
  for (var n = 0; n < t.length; n++) {
2608
2608
  var r = t[n];
2609
2609
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
2610
2610
  }
2611
2611
  }
2612
- function li(e, t, n) {
2613
- return t && ci(e.prototype, t), n && ci(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2612
+ function ui(e, t, n) {
2613
+ return t && li(e.prototype, t), n && li(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2614
2614
  }
2615
- var ui = function() {
2615
+ var di = function() {
2616
2616
  return typeof Symbol == "function";
2617
- }, di = function(e) {
2618
- return ui() && !!Symbol[e];
2619
2617
  }, fi = function(e) {
2620
- return di(e) ? Symbol[e] : "@@" + e;
2618
+ return di() && !!Symbol[e];
2619
+ }, pi = function(e) {
2620
+ return fi(e) ? Symbol[e] : "@@" + e;
2621
2621
  };
2622
- ui() && !di("observable") && (Symbol.observable = Symbol("observable"));
2623
- var pi = fi("iterator"), mi = fi("observable"), hi = fi("species");
2624
- function gi(e, t) {
2622
+ di() && !fi("observable") && (Symbol.observable = Symbol("observable"));
2623
+ var mi = pi("iterator"), hi = pi("observable"), gi = pi("species");
2624
+ function _i(e, t) {
2625
2625
  var n = e[t];
2626
2626
  if (n != null) {
2627
2627
  if (typeof n != "function") throw TypeError(n + " is not a function");
2628
2628
  return n;
2629
2629
  }
2630
2630
  }
2631
- function _i(e) {
2632
- var t = e.constructor;
2633
- return t !== void 0 && (t = t[hi], t === null && (t = void 0)), t === void 0 ? Oi : t;
2634
- }
2635
2631
  function vi(e) {
2636
- return e instanceof Oi;
2632
+ var t = e.constructor;
2633
+ return t !== void 0 && (t = t[gi], t === null && (t = void 0)), t === void 0 ? ki : t;
2637
2634
  }
2638
2635
  function yi(e) {
2639
- yi.log ? yi.log(e) : setTimeout(function() {
2636
+ return e instanceof ki;
2637
+ }
2638
+ function bi(e) {
2639
+ bi.log ? bi.log(e) : setTimeout(function() {
2640
2640
  throw e;
2641
2641
  });
2642
2642
  }
2643
- function bi(e) {
2643
+ function xi(e) {
2644
2644
  Promise.resolve().then(function() {
2645
2645
  try {
2646
2646
  e();
2647
2647
  } catch (e) {
2648
- yi(e);
2648
+ bi(e);
2649
2649
  }
2650
2650
  });
2651
2651
  }
2652
- function xi(e) {
2652
+ function Si(e) {
2653
2653
  var t = e._cleanup;
2654
2654
  if (t !== void 0 && (e._cleanup = void 0, t)) try {
2655
2655
  if (typeof t == "function") t();
2656
2656
  else {
2657
- var n = gi(t, "unsubscribe");
2657
+ var n = _i(t, "unsubscribe");
2658
2658
  n && n.call(t);
2659
2659
  }
2660
2660
  } catch (e) {
2661
- yi(e);
2661
+ bi(e);
2662
2662
  }
2663
2663
  }
2664
- function Si(e) {
2664
+ function Ci(e) {
2665
2665
  e._observer = void 0, e._queue = void 0, e._state = "closed";
2666
2666
  }
2667
- function Ci(e) {
2667
+ function wi(e) {
2668
2668
  var t = e._queue;
2669
2669
  if (t) {
2670
2670
  e._queue = void 0, e._state = "ready";
2671
- for (var n = 0; n < t.length && (wi(e, t[n].type, t[n].value), e._state !== "closed"); ++n);
2671
+ for (var n = 0; n < t.length && (Ti(e, t[n].type, t[n].value), e._state !== "closed"); ++n);
2672
2672
  }
2673
2673
  }
2674
- function wi(e, t, n) {
2674
+ function Ti(e, t, n) {
2675
2675
  e._state = "running";
2676
2676
  var r = e._observer;
2677
2677
  try {
2678
- var i = gi(r, t);
2678
+ var i = _i(r, t);
2679
2679
  switch (t) {
2680
2680
  case "next":
2681
2681
  i && i.call(r, n);
2682
2682
  break;
2683
2683
  case "error":
2684
- if (Si(e), i) i.call(r, n);
2684
+ if (Ci(e), i) i.call(r, n);
2685
2685
  else throw n;
2686
2686
  break;
2687
2687
  case "complete":
2688
- Si(e), i && i.call(r);
2688
+ Ci(e), i && i.call(r);
2689
2689
  break;
2690
2690
  }
2691
2691
  } catch (e) {
2692
- yi(e);
2692
+ bi(e);
2693
2693
  }
2694
- e._state === "closed" ? xi(e) : e._state === "running" && (e._state = "ready");
2694
+ e._state === "closed" ? Si(e) : e._state === "running" && (e._state = "ready");
2695
2695
  }
2696
- function Ti(e, t, n) {
2696
+ function Ei(e, t, n) {
2697
2697
  if (e._state !== "closed") {
2698
2698
  if (e._state === "buffering") {
2699
2699
  e._queue.push({
@@ -2706,18 +2706,18 @@ function Ti(e, t, n) {
2706
2706
  e._state = "buffering", e._queue = [{
2707
2707
  type: t,
2708
2708
  value: n
2709
- }], bi(function() {
2710
- return Ci(e);
2709
+ }], xi(function() {
2710
+ return wi(e);
2711
2711
  });
2712
2712
  return;
2713
2713
  }
2714
- wi(e, t, n);
2714
+ Ti(e, t, n);
2715
2715
  }
2716
2716
  }
2717
- var Ei = /* @__PURE__ */ function() {
2717
+ var Di = /* @__PURE__ */ function() {
2718
2718
  function e(e, t) {
2719
2719
  this._cleanup = void 0, this._observer = e, this._queue = void 0, this._state = "initializing";
2720
- var n = new Di(this);
2720
+ var n = new Oi(this);
2721
2721
  try {
2722
2722
  this._cleanup = t.call(void 0, n);
2723
2723
  } catch (e) {
@@ -2727,31 +2727,31 @@ var Ei = /* @__PURE__ */ function() {
2727
2727
  }
2728
2728
  var t = e.prototype;
2729
2729
  return t.unsubscribe = function() {
2730
- this._state !== "closed" && (Si(this), xi(this));
2731
- }, li(e, [{
2730
+ this._state !== "closed" && (Ci(this), Si(this));
2731
+ }, ui(e, [{
2732
2732
  key: "closed",
2733
2733
  get: function() {
2734
2734
  return this._state === "closed";
2735
2735
  }
2736
2736
  }]), e;
2737
- }(), Di = /* @__PURE__ */ function() {
2737
+ }(), Oi = /* @__PURE__ */ function() {
2738
2738
  function e(e) {
2739
2739
  this._subscription = e;
2740
2740
  }
2741
2741
  var t = e.prototype;
2742
2742
  return t.next = function(e) {
2743
- Ti(this._subscription, "next", e);
2743
+ Ei(this._subscription, "next", e);
2744
2744
  }, t.error = function(e) {
2745
- Ti(this._subscription, "error", e);
2745
+ Ei(this._subscription, "error", e);
2746
2746
  }, t.complete = function() {
2747
- Ti(this._subscription, "complete");
2748
- }, li(e, [{
2747
+ Ei(this._subscription, "complete");
2748
+ }, ui(e, [{
2749
2749
  key: "closed",
2750
2750
  get: function() {
2751
2751
  return this._subscription._state === "closed";
2752
2752
  }
2753
2753
  }]), e;
2754
- }(), Oi = /* @__PURE__ */ function() {
2754
+ }(), ki = /* @__PURE__ */ function() {
2755
2755
  function e(t) {
2756
2756
  if (!(this instanceof e)) throw TypeError("Observable cannot be called as a function");
2757
2757
  if (typeof t != "function") throw TypeError("Observable initializer must be a function");
@@ -2763,7 +2763,7 @@ var Ei = /* @__PURE__ */ function() {
2763
2763
  next: e,
2764
2764
  error: arguments[1],
2765
2765
  complete: arguments[2]
2766
- }), new Ei(e, this._subscriber);
2766
+ }), new Di(e, this._subscriber);
2767
2767
  }, t.forEach = function(e) {
2768
2768
  var t = this;
2769
2769
  return new Promise(function(n, r) {
@@ -2789,7 +2789,7 @@ var Ei = /* @__PURE__ */ function() {
2789
2789
  }, t.map = function(e) {
2790
2790
  var t = this;
2791
2791
  if (typeof e != "function") throw TypeError(e + " is not a function");
2792
- return new (_i(this))(function(n) {
2792
+ return new (vi(this))(function(n) {
2793
2793
  return t.subscribe({
2794
2794
  next: function(t) {
2795
2795
  try {
@@ -2810,7 +2810,7 @@ var Ei = /* @__PURE__ */ function() {
2810
2810
  }, t.filter = function(e) {
2811
2811
  var t = this;
2812
2812
  if (typeof e != "function") throw TypeError(e + " is not a function");
2813
- return new (_i(this))(function(n) {
2813
+ return new (vi(this))(function(n) {
2814
2814
  return t.subscribe({
2815
2815
  next: function(t) {
2816
2816
  try {
@@ -2831,7 +2831,7 @@ var Ei = /* @__PURE__ */ function() {
2831
2831
  }, t.reduce = function(e) {
2832
2832
  var t = this;
2833
2833
  if (typeof e != "function") throw TypeError(e + " is not a function");
2834
- var n = _i(this), r = arguments.length > 1, i = !1, a = arguments[1];
2834
+ var n = vi(this), r = arguments.length > 1, i = !1, a = arguments[1];
2835
2835
  return new n(function(n) {
2836
2836
  return t.subscribe({
2837
2837
  next: function(t) {
@@ -2853,7 +2853,7 @@ var Ei = /* @__PURE__ */ function() {
2853
2853
  });
2854
2854
  });
2855
2855
  }, t.concat = function() {
2856
- var e = this, t = [...arguments], n = _i(this);
2856
+ var e = this, t = [...arguments], n = vi(this);
2857
2857
  return new n(function(r) {
2858
2858
  var i, a = 0;
2859
2859
  function o(e) {
@@ -2876,7 +2876,7 @@ var Ei = /* @__PURE__ */ function() {
2876
2876
  }, t.flatMap = function(e) {
2877
2877
  var t = this;
2878
2878
  if (typeof e != "function") throw TypeError(e + " is not a function");
2879
- var n = _i(this);
2879
+ var n = vi(this);
2880
2880
  return new n(function(r) {
2881
2881
  var i = [], a = t.subscribe({
2882
2882
  next: function(t) {
@@ -2915,23 +2915,23 @@ var Ei = /* @__PURE__ */ function() {
2915
2915
  }), a.unsubscribe();
2916
2916
  };
2917
2917
  });
2918
- }, t[mi] = function() {
2918
+ }, t[hi] = function() {
2919
2919
  return this;
2920
2920
  }, e.from = function(t) {
2921
2921
  var n = typeof this == "function" ? this : e;
2922
2922
  if (t == null) throw TypeError(t + " is not an object");
2923
- var r = gi(t, mi);
2923
+ var r = _i(t, hi);
2924
2924
  if (r) {
2925
2925
  var i = r.call(t);
2926
2926
  if (Object(i) !== i) throw TypeError(i + " is not an object");
2927
- return vi(i) && i.constructor === n ? i : new n(function(e) {
2927
+ return yi(i) && i.constructor === n ? i : new n(function(e) {
2928
2928
  return i.subscribe(e);
2929
2929
  });
2930
2930
  }
2931
- if (di("iterator") && (r = gi(t, pi), r)) return new n(function(e) {
2932
- bi(function() {
2931
+ if (fi("iterator") && (r = _i(t, mi), r)) return new n(function(e) {
2932
+ xi(function() {
2933
2933
  if (!e.closed) {
2934
- for (var n = ai(r.call(t)), i; !(i = n()).done;) {
2934
+ for (var n = oi(r.call(t)), i; !(i = n()).done;) {
2935
2935
  var a = i.value;
2936
2936
  if (e.next(a), e.closed) return;
2937
2937
  }
@@ -2940,7 +2940,7 @@ var Ei = /* @__PURE__ */ function() {
2940
2940
  });
2941
2941
  });
2942
2942
  if (Array.isArray(t)) return new n(function(e) {
2943
- bi(function() {
2943
+ xi(function() {
2944
2944
  if (!e.closed) {
2945
2945
  for (var n = 0; n < t.length; ++n) if (e.next(t[n]), e.closed) return;
2946
2946
  e.complete();
@@ -2951,66 +2951,66 @@ var Ei = /* @__PURE__ */ function() {
2951
2951
  }, e.of = function() {
2952
2952
  var t = [...arguments];
2953
2953
  return new (typeof this == "function" ? this : e)(function(e) {
2954
- bi(function() {
2954
+ xi(function() {
2955
2955
  if (!e.closed) {
2956
2956
  for (var n = 0; n < t.length; ++n) if (e.next(t[n]), e.closed) return;
2957
2957
  e.complete();
2958
2958
  }
2959
2959
  });
2960
2960
  });
2961
- }, li(e, null, [{
2962
- key: hi,
2961
+ }, ui(e, null, [{
2962
+ key: gi,
2963
2963
  get: function() {
2964
2964
  return this;
2965
2965
  }
2966
2966
  }]), e;
2967
2967
  }();
2968
- ui() && Object.defineProperty(Oi, Symbol("extensions"), {
2968
+ di() && Object.defineProperty(ki, Symbol("extensions"), {
2969
2969
  value: {
2970
- symbol: mi,
2971
- hostReportError: yi
2970
+ symbol: hi,
2971
+ hostReportError: bi
2972
2972
  },
2973
2973
  configurable: !0
2974
2974
  });
2975
2975
  //#endregion
2976
2976
  //#region node_modules/@apollo/client/utilities/promises/preventUnhandledRejection.js
2977
- function ki(e) {
2977
+ function Ai(e) {
2978
2978
  return e.catch(function() {}), e;
2979
2979
  }
2980
2980
  //#endregion
2981
2981
  //#region node_modules/@apollo/client/utilities/common/cloneDeep.js
2982
- var Ai = Object.prototype.toString;
2983
- function ji(e) {
2984
- return Mi(e);
2982
+ var ji = Object.prototype.toString;
2983
+ function Mi(e) {
2984
+ return Ni(e);
2985
2985
  }
2986
- function Mi(e, t) {
2987
- switch (Ai.call(e)) {
2986
+ function Ni(e, t) {
2987
+ switch (ji.call(e)) {
2988
2988
  case "[object Array]":
2989
2989
  if (t = t || /* @__PURE__ */ new Map(), t.has(e)) return t.get(e);
2990
2990
  var n = e.slice(0);
2991
2991
  return t.set(e, n), n.forEach(function(e, r) {
2992
- n[r] = Mi(e, t);
2992
+ n[r] = Ni(e, t);
2993
2993
  }), n;
2994
2994
  case "[object Object]":
2995
2995
  if (t = t || /* @__PURE__ */ new Map(), t.has(e)) return t.get(e);
2996
2996
  var r = Object.create(Object.getPrototypeOf(e));
2997
2997
  return t.set(e, r), Object.keys(e).forEach(function(n) {
2998
- r[n] = Mi(e[n], t);
2998
+ r[n] = Ni(e[n], t);
2999
2999
  }), r;
3000
3000
  default: return e;
3001
3001
  }
3002
3002
  }
3003
3003
  //#endregion
3004
3004
  //#region node_modules/@apollo/client/utilities/common/maybeDeepFreeze.js
3005
- function Ni(e) {
3005
+ function Pi(e) {
3006
3006
  var t = new Set([e]);
3007
3007
  return t.forEach(function(e) {
3008
- on(e) && Pi(e) === e && Object.getOwnPropertyNames(e).forEach(function(n) {
3009
- on(e[n]) && t.add(e[n]);
3008
+ sn(e) && Fi(e) === e && Object.getOwnPropertyNames(e).forEach(function(n) {
3009
+ sn(e[n]) && t.add(e[n]);
3010
3010
  });
3011
3011
  }), e;
3012
3012
  }
3013
- function Pi(e) {
3013
+ function Fi(e) {
3014
3014
  if (globalThis.__DEV__ !== !1 && !Object.isFrozen(e)) try {
3015
3015
  Object.freeze(e);
3016
3016
  } catch (e) {
@@ -3019,12 +3019,12 @@ function Pi(e) {
3019
3019
  }
3020
3020
  return e;
3021
3021
  }
3022
- function Fi(e) {
3023
- return globalThis.__DEV__ !== !1 && Ni(e), e;
3022
+ function Ii(e) {
3023
+ return globalThis.__DEV__ !== !1 && Pi(e), e;
3024
3024
  }
3025
3025
  //#endregion
3026
3026
  //#region node_modules/@apollo/client/utilities/observables/iteration.js
3027
- function Ii(e, t, n) {
3027
+ function Li(e, t, n) {
3028
3028
  var r = [];
3029
3029
  e.forEach(function(e) {
3030
3030
  return e[t] && r.push(e);
@@ -3034,15 +3034,15 @@ function Ii(e, t, n) {
3034
3034
  }
3035
3035
  //#endregion
3036
3036
  //#region node_modules/@apollo/client/utilities/observables/subclassing.js
3037
- function Li(e) {
3037
+ function Ri(e) {
3038
3038
  function t(t) {
3039
- Object.defineProperty(e, t, { value: Oi });
3039
+ Object.defineProperty(e, t, { value: ki });
3040
3040
  }
3041
- return en && Symbol.species && t(Symbol.species), t("@@species"), e;
3041
+ return tn && Symbol.species && t(Symbol.species), t("@@species"), e;
3042
3042
  }
3043
3043
  //#endregion
3044
3044
  //#region node_modules/@apollo/client/utilities/common/compact.js
3045
- function Ri() {
3045
+ function zi() {
3046
3046
  var e = [...arguments], t = Object.create(null);
3047
3047
  return e.forEach(function(e) {
3048
3048
  e && Object.keys(e).forEach(function(n) {
@@ -3053,34 +3053,34 @@ function Ri() {
3053
3053
  }
3054
3054
  //#endregion
3055
3055
  //#region node_modules/@apollo/client/utilities/common/mergeOptions.js
3056
- function zi(e, t) {
3057
- return Ri(e, t, t.variables && { variables: Ri(E(E({}, e && e.variables), t.variables)) });
3056
+ function Bi(e, t) {
3057
+ return zi(e, t, t.variables && { variables: zi(E(E({}, e && e.variables), t.variables)) });
3058
3058
  }
3059
3059
  //#endregion
3060
3060
  //#region node_modules/@apollo/client/utilities/deprecation/index.js
3061
- var Bi = Symbol.for("apollo.deprecations"), Vi = Symbol.for("apollo.deprecations.slot"), Hi = ye, Ui = Hi[Vi] ?? (Hi[Vi] = new wr());
3062
- function Wi(e) {
3063
- return Hi[Bi] || (Ui.getValue() || []).includes(e);
3061
+ var Vi = Symbol.for("apollo.deprecations"), Hi = Symbol.for("apollo.deprecations.slot"), Ui = be, Wi = Ui[Hi] ?? (Ui[Hi] = new Tr());
3062
+ function Gi(e) {
3063
+ return Ui[Vi] || (Wi.getValue() || []).includes(e);
3064
3064
  }
3065
3065
  function B(e) {
3066
3066
  var t = [...arguments].slice(1);
3067
- return Ui.withValue.apply(Ui, D([Array.isArray(e) ? e : [e]], t, !1));
3067
+ return Wi.withValue.apply(Wi, D([Array.isArray(e) ? e : [e]], t, !1));
3068
3068
  }
3069
- function Gi(e, t, n, r) {
3069
+ function Ki(e, t, n, r) {
3070
3070
  r === void 0 && (r = "Please remove this option."), V(t, function() {
3071
3071
  t in e && globalThis.__DEV__ !== !1 && A.warn(103, n, t, r);
3072
3072
  });
3073
3073
  }
3074
3074
  function V(e, t) {
3075
- Wi(e) || t();
3075
+ Gi(e) || t();
3076
3076
  }
3077
3077
  //#endregion
3078
3078
  //#region node_modules/@apollo/client/react/context/ApolloContext.js
3079
- var H = /* @__PURE__ */ l(ke(), 1), Ki = en ? Symbol.for("__APOLLO_CONTEXT__") : "__APOLLO_CONTEXT__";
3080
- function qi() {
3079
+ var H = /* @__PURE__ */ l(Ae(), 1), qi = tn ? Symbol.for("__APOLLO_CONTEXT__") : "__APOLLO_CONTEXT__";
3080
+ function Ji() {
3081
3081
  A("createContext" in H, 69);
3082
- var e = H.createContext[Ki];
3083
- return e || (Object.defineProperty(H.createContext, Ki, {
3082
+ var e = H.createContext[qi];
3083
+ return e || (Object.defineProperty(H.createContext, qi, {
3084
3084
  value: e = H.createContext({}),
3085
3085
  enumerable: !1,
3086
3086
  writable: !1,
@@ -3089,24 +3089,24 @@ function qi() {
3089
3089
  }
3090
3090
  //#endregion
3091
3091
  //#region node_modules/@apollo/client/react/hooks/useApolloClient.js
3092
- function Ji(e) {
3093
- var t = H.useContext(qi()), n = e || t.client;
3092
+ function Yi(e) {
3093
+ var t = H.useContext(Ji()), n = e || t.client;
3094
3094
  return A(!!n, 78), n;
3095
3095
  }
3096
3096
  //#endregion
3097
3097
  //#region node_modules/@apollo/client/react/hooks/useSyncExternalStore.js
3098
- var Yi = !1, Xi = H.useSyncExternalStore || (function(e, t, n) {
3098
+ var Xi = !1, Zi = H.useSyncExternalStore || (function(e, t, n) {
3099
3099
  var r = t();
3100
- globalThis.__DEV__ !== !1 && !Yi && r !== t() && (Yi = !0, globalThis.__DEV__ !== !1 && A.error(91));
3100
+ globalThis.__DEV__ !== !1 && !Xi && r !== t() && (Xi = !0, globalThis.__DEV__ !== !1 && A.error(91));
3101
3101
  var i = H.useState({ inst: {
3102
3102
  value: r,
3103
3103
  getSnapshot: t
3104
3104
  } }), a = i[0].inst, o = i[1];
3105
- return an ? H.useLayoutEffect(function() {
3105
+ return on ? H.useLayoutEffect(function() {
3106
3106
  Object.assign(a, {
3107
3107
  value: r,
3108
3108
  getSnapshot: t
3109
- }), Zi(a) && o({ inst: a });
3109
+ }), Qi(a) && o({ inst: a });
3110
3110
  }, [
3111
3111
  e,
3112
3112
  r,
@@ -3115,12 +3115,12 @@ var Yi = !1, Xi = H.useSyncExternalStore || (function(e, t, n) {
3115
3115
  value: r,
3116
3116
  getSnapshot: t
3117
3117
  }), H.useEffect(function() {
3118
- return Zi(a) && o({ inst: a }), e(function() {
3119
- Zi(a) && o({ inst: a });
3118
+ return Qi(a) && o({ inst: a }), e(function() {
3119
+ Qi(a) && o({ inst: a });
3120
3120
  });
3121
3121
  }, [e]), r;
3122
3122
  });
3123
- function Zi(e) {
3123
+ function Qi(e) {
3124
3124
  var t = e.value, n = e.getSnapshot;
3125
3125
  try {
3126
3126
  return t !== n();
@@ -3130,28 +3130,28 @@ function Zi(e) {
3130
3130
  }
3131
3131
  //#endregion
3132
3132
  //#region node_modules/@wry/equality/lib/index.js
3133
- var { toString: Qi, hasOwnProperty: $i } = Object.prototype, ea = Function.prototype.toString, ta = /* @__PURE__ */ new Map();
3133
+ var { toString: $i, hasOwnProperty: ea } = Object.prototype, ta = Function.prototype.toString, na = /* @__PURE__ */ new Map();
3134
3134
  function U(e, t) {
3135
3135
  try {
3136
- return na(e, t);
3136
+ return ra(e, t);
3137
3137
  } finally {
3138
- ta.clear();
3138
+ na.clear();
3139
3139
  }
3140
3140
  }
3141
- function na(e, t) {
3141
+ function ra(e, t) {
3142
3142
  if (e === t) return !0;
3143
- let n = Qi.call(e);
3144
- if (n !== Qi.call(t)) return !1;
3143
+ let n = $i.call(e);
3144
+ if (n !== $i.call(t)) return !1;
3145
3145
  switch (n) {
3146
3146
  case "[object Array]": if (e.length !== t.length) return !1;
3147
3147
  case "[object Object]": {
3148
- if (sa(e, t)) return !0;
3149
- let n = ra(e), r = ra(t), i = n.length;
3148
+ if (ca(e, t)) return !0;
3149
+ let n = ia(e), r = ia(t), i = n.length;
3150
3150
  if (i !== r.length) return !1;
3151
- for (let e = 0; e < i; ++e) if (!$i.call(t, n[e])) return !1;
3151
+ for (let e = 0; e < i; ++e) if (!ea.call(t, n[e])) return !1;
3152
3152
  for (let r = 0; r < i; ++r) {
3153
3153
  let i = n[r];
3154
- if (!na(e[i], t[i])) return !1;
3154
+ if (!ra(e[i], t[i])) return !1;
3155
3155
  }
3156
3156
  return !0;
3157
3157
  }
@@ -3164,13 +3164,13 @@ function na(e, t) {
3164
3164
  case "[object Map]":
3165
3165
  case "[object Set]": {
3166
3166
  if (e.size !== t.size) return !1;
3167
- if (sa(e, t)) return !0;
3167
+ if (ca(e, t)) return !0;
3168
3168
  let r = e.entries(), i = n === "[object Map]";
3169
3169
  for (;;) {
3170
3170
  let e = r.next();
3171
3171
  if (e.done) break;
3172
3172
  let [n, a] = e.value;
3173
- if (!t.has(n) || i && !na(a, t.get(n))) return !1;
3173
+ if (!t.has(n) || i && !ra(a, t.get(n))) return !1;
3174
3174
  }
3175
3175
  return !0;
3176
3176
  }
@@ -3190,49 +3190,49 @@ function na(e, t) {
3190
3190
  case "[object GeneratorFunction]":
3191
3191
  case "[object AsyncGeneratorFunction]":
3192
3192
  case "[object Function]": {
3193
- let n = ea.call(e);
3194
- return n === ea.call(t) ? !oa(n, aa) : !1;
3193
+ let n = ta.call(e);
3194
+ return n === ta.call(t) ? !sa(n, oa) : !1;
3195
3195
  }
3196
3196
  }
3197
3197
  return !1;
3198
3198
  }
3199
- function ra(e) {
3200
- return Object.keys(e).filter(ia, e);
3201
- }
3202
3199
  function ia(e) {
3200
+ return Object.keys(e).filter(aa, e);
3201
+ }
3202
+ function aa(e) {
3203
3203
  return this[e] !== void 0;
3204
3204
  }
3205
- var aa = "{ [native code] }";
3206
- function oa(e, t) {
3205
+ var oa = "{ [native code] }";
3206
+ function sa(e, t) {
3207
3207
  let n = e.length - t.length;
3208
3208
  return n >= 0 && e.indexOf(t, n) === n;
3209
3209
  }
3210
- function sa(e, t) {
3211
- let n = ta.get(e);
3210
+ function ca(e, t) {
3211
+ let n = na.get(e);
3212
3212
  if (n) {
3213
3213
  if (n.has(t)) return !0;
3214
- } else ta.set(e, n = /* @__PURE__ */ new Set());
3214
+ } else na.set(e, n = /* @__PURE__ */ new Set());
3215
3215
  return n.add(t), !1;
3216
3216
  }
3217
3217
  //#endregion
3218
3218
  //#region node_modules/@apollo/client/errors/index.js
3219
- var ca = Symbol();
3220
- function la(e) {
3221
- return e.extensions ? Array.isArray(e.extensions[ca]) : !1;
3222
- }
3219
+ var la = Symbol();
3223
3220
  function ua(e) {
3221
+ return e.extensions ? Array.isArray(e.extensions[la]) : !1;
3222
+ }
3223
+ function da(e) {
3224
3224
  return e.hasOwnProperty("graphQLErrors");
3225
3225
  }
3226
- var da = function(e) {
3226
+ var fa = function(e) {
3227
3227
  var t = D(D(D([], e.graphQLErrors, !0), e.clientErrors, !0), e.protocolErrors, !0);
3228
3228
  return e.networkError && t.push(e.networkError), t.map(function(e) {
3229
- return on(e) && e.message || "Error message not found.";
3229
+ return sn(e) && e.message || "Error message not found.";
3230
3230
  }).join("\n");
3231
- }, fa = function(e) {
3232
- se(t, e);
3231
+ }, pa = function(e) {
3232
+ ce(t, e);
3233
3233
  function t(n) {
3234
3234
  var r = n.graphQLErrors, i = n.protocolErrors, a = n.clientErrors, o = n.networkError, s = n.errorMessage, c = n.extraInfo, l = e.call(this, s) || this;
3235
- return l.name = "ApolloError", l.graphQLErrors = r || [], l.protocolErrors = i || [], l.clientErrors = a || [], l.networkError = o || null, l.message = s || da(l), l.extraInfo = c, l.cause = D(D(D([o], r || [], !0), i || [], !0), a || [], !0).find(function(e) {
3235
+ return l.name = "ApolloError", l.graphQLErrors = r || [], l.protocolErrors = i || [], l.clientErrors = a || [], l.networkError = o || null, l.message = s || fa(l), l.extraInfo = c, l.cause = D(D(D([o], r || [], !0), i || [], !0), a || [], !0).find(function(e) {
3236
3236
  return !!e;
3237
3237
  }) || null, l.__proto__ = t.prototype, l;
3238
3238
  }
@@ -3240,40 +3240,40 @@ var da = function(e) {
3240
3240
  }(Error);
3241
3241
  //#endregion
3242
3242
  //#region node_modules/@apollo/client/core/equalByQuery.js
3243
- function pa(e, t, n, r) {
3244
- var i = t.data, a = ce(t, ["data"]), o = n.data;
3245
- return U(a, ce(n, ["data"])) && ma(gr(e).selectionSet, i, o, {
3246
- fragmentMap: cn(pr(e)),
3243
+ function ma(e, t, n, r) {
3244
+ var i = t.data, a = le(t, ["data"]), o = n.data;
3245
+ return U(a, le(n, ["data"])) && ha(_r(e).selectionSet, i, o, {
3246
+ fragmentMap: ln(mr(e)),
3247
3247
  variables: r
3248
3248
  });
3249
3249
  }
3250
- function ma(e, t, n, r) {
3250
+ function ha(e, t, n, r) {
3251
3251
  if (t === n) return !0;
3252
3252
  var i = /* @__PURE__ */ new Set();
3253
3253
  return e.selections.every(function(e) {
3254
- if (i.has(e) || (i.add(e), !zt(e, r.variables)) || ha(e)) return !0;
3255
- if (cr(e)) {
3256
- var a = or(e), o = t && t[a], s = n && n[a], c = e.selectionSet;
3254
+ if (i.has(e) || (i.add(e), !Bt(e, r.variables)) || ga(e)) return !0;
3255
+ if (lr(e)) {
3256
+ var a = sr(e), o = t && t[a], s = n && n[a], c = e.selectionSet;
3257
3257
  if (!c) return U(o, s);
3258
3258
  var l = Array.isArray(o), u = Array.isArray(s);
3259
3259
  if (l !== u) return !1;
3260
3260
  if (l && u) {
3261
3261
  var d = o.length;
3262
3262
  if (s.length !== d) return !1;
3263
- for (var f = 0; f < d; ++f) if (!ma(c, o[f], s[f], r)) return !1;
3263
+ for (var f = 0; f < d; ++f) if (!ha(c, o[f], s[f], r)) return !1;
3264
3264
  return !0;
3265
3265
  }
3266
- return ma(c, o, s, r);
3266
+ return ha(c, o, s, r);
3267
3267
  } else {
3268
- var p = ln(e, r.fragmentMap);
3269
- if (p) return ha(p) ? !0 : ma(p.selectionSet, t, n, r);
3268
+ var p = un(e, r.fragmentMap);
3269
+ if (p) return ga(p) ? !0 : ha(p.selectionSet, t, n, r);
3270
3270
  }
3271
3271
  });
3272
3272
  }
3273
- function ha(e) {
3274
- return !!e.directives && e.directives.some(ga);
3275
- }
3276
3273
  function ga(e) {
3274
+ return !!e.directives && e.directives.some(_a);
3275
+ }
3276
+ function _a(e) {
3277
3277
  return e.name.value === "nonreactive";
3278
3278
  }
3279
3279
  //#endregion
@@ -3282,20 +3282,20 @@ var W;
3282
3282
  (function(e) {
3283
3283
  e[e.loading = 1] = "loading", e[e.setVariables = 2] = "setVariables", e[e.fetchMore = 3] = "fetchMore", e[e.refetch = 4] = "refetch", e[e.poll = 6] = "poll", e[e.ready = 7] = "ready", e[e.error = 8] = "error";
3284
3284
  })(W || (W = {}));
3285
- function _a(e) {
3285
+ function va(e) {
3286
3286
  return e ? e < 7 : !1;
3287
3287
  }
3288
3288
  //#endregion
3289
3289
  //#region node_modules/@apollo/client/core/ObservableQuery.js
3290
- var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3291
- se(t, e);
3290
+ var ya = Object.assign, ba = Object.hasOwnProperty, xa = function(e) {
3291
+ ce(t, e);
3292
3292
  function t(n) {
3293
3293
  var r = n.queryManager, i = n.queryInfo, a = n.options, o = this, s = t.inactiveOnCreation.getValue();
3294
3294
  o = e.call(this, function(e) {
3295
3295
  o._getOrCreateQuery();
3296
3296
  try {
3297
3297
  var t = e._subscription._observer;
3298
- t && !t.error && (t.error = xa);
3298
+ t && !t.error && (t.error = Sa);
3299
3299
  } catch {}
3300
3300
  var n = !o.observers.size;
3301
3301
  o.observers.add(e);
@@ -3305,13 +3305,13 @@ var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3305
3305
  };
3306
3306
  }) || this, o.observers = /* @__PURE__ */ new Set(), o.subscriptions = /* @__PURE__ */ new Set(), o.dirty = !1, o._getOrCreateQuery = function() {
3307
3307
  return s && (r.queries.set(o.queryId, i), s = !1), o.queryManager.getOrCreateQuery(o.queryId);
3308
- }, o.queryInfo = i, o.queryManager = r, o.waitForOwnResult = Ca(a.fetchPolicy), o.isTornDown = !1, o.subscribeToMore = o.subscribeToMore.bind(o), o.maskResult = o.maskResult.bind(o);
3308
+ }, o.queryInfo = i, o.queryManager = r, o.waitForOwnResult = wa(a.fetchPolicy), o.isTornDown = !1, o.subscribeToMore = o.subscribeToMore.bind(o), o.maskResult = o.maskResult.bind(o);
3309
3309
  var c = r.defaultOptions.watchQuery, l = (c === void 0 ? {} : c).fetchPolicy, u = l === void 0 ? "cache-first" : l, d = a.fetchPolicy, f = d === void 0 ? u : d, p = a.initialFetchPolicy, m = p === void 0 ? f === "standby" ? u : f : p;
3310
3310
  o.options = E(E({}, a), {
3311
3311
  initialFetchPolicy: m,
3312
3312
  fetchPolicy: f
3313
3313
  }), o.queryId = i.queryId || r.generateQueryId();
3314
- var h = dr(o.query);
3314
+ var h = fr(o.query);
3315
3315
  return o.queryName = h && h.name && h.name.value, o;
3316
3316
  }
3317
3317
  return Object.defineProperty(t.prototype, "query", {
@@ -3348,13 +3348,13 @@ var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3348
3348
  var n = B("getLastResult", function() {
3349
3349
  return t.getLastResult(!0);
3350
3350
  }), r = this.queryInfo.networkStatus || n && n.networkStatus || W.ready, i = E(E({}, n), {
3351
- loading: _a(r),
3351
+ loading: va(r),
3352
3352
  networkStatus: r
3353
3353
  }), a = this.options.fetchPolicy, o = a === void 0 ? "cache-first" : a;
3354
- if (!(Ca(o) || this.queryManager.getDocumentInfo(this.query).hasForcedResolvers)) if (this.waitForOwnResult) this.queryInfo.updateWatch();
3354
+ if (!(wa(o) || this.queryManager.getDocumentInfo(this.query).hasForcedResolvers)) if (this.waitForOwnResult) this.queryInfo.updateWatch();
3355
3355
  else {
3356
3356
  var s = this.queryInfo.getDiff();
3357
- (s.complete || this.options.returnPartialData) && (i.data = s.result), U(i.data, {}) && (i.data = void 0), s.complete ? (delete i.partial, s.complete && i.networkStatus === W.loading && (o === "cache-first" || o === "cache-only") && (i.networkStatus = W.ready, i.loading = !1)) : i.partial = !0, i.networkStatus === W.ready && (i.error || i.errors) && (i.networkStatus = W.error), globalThis.__DEV__ !== !1 && !s.complete && !this.options.partialRefetch && !i.loading && !i.data && !i.error && Sa(s.missing);
3357
+ (s.complete || this.options.returnPartialData) && (i.data = s.result), U(i.data, {}) && (i.data = void 0), s.complete ? (delete i.partial, s.complete && i.networkStatus === W.loading && (o === "cache-first" || o === "cache-only") && (i.networkStatus = W.ready, i.loading = !1)) : i.partial = !0, i.networkStatus === W.ready && (i.error || i.errors) && (i.networkStatus = W.error), globalThis.__DEV__ !== !1 && !s.complete && !this.options.partialRefetch && !i.loading && !i.data && !i.error && Ca(s.missing);
3358
3358
  }
3359
3359
  return e && this.updateLastResult(i), i;
3360
3360
  }, t.prototype.getCurrentResult = function(e) {
@@ -3362,7 +3362,7 @@ var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3362
3362
  }, t.prototype.isDifferentFromLastResult = function(e, t) {
3363
3363
  if (!this.last) return !0;
3364
3364
  var n = this.queryManager.getDocumentInfo(this.query), r = this.queryManager.dataMasking, i = r ? n.nonReactiveQuery : this.query;
3365
- return (r || n.hasNonreactiveDirective ? !pa(i, this.last.result, e, this.variables) : !U(this.last.result, e)) || t && !U(this.last.variables, t);
3365
+ return (r || n.hasNonreactiveDirective ? !ma(i, this.last.result, e, this.variables) : !U(this.last.result, e)) || t && !U(this.last.variables, t);
3366
3366
  }, t.prototype.getLast = function(e, t) {
3367
3367
  var n = this.last;
3368
3368
  if (n && n[e] && (!t || U(n.variables, this.variables))) return n[e];
@@ -3382,8 +3382,8 @@ var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3382
3382
  globalThis.__DEV__ !== !1 && globalThis.__DEV__ !== !1 && A.warn(27), this.queryManager.resetErrors(this.queryId);
3383
3383
  }, t.prototype.refetch = function(e) {
3384
3384
  var t = { pollInterval: 0 };
3385
- if (this.options.fetchPolicy === "no-cache" ? t.fetchPolicy = "no-cache" : t.fetchPolicy = "network-only", globalThis.__DEV__ !== !1 && e && ya.call(e, "variables")) {
3386
- var n = mr(this.query), r = n.variableDefinitions;
3385
+ if (this.options.fetchPolicy === "no-cache" ? t.fetchPolicy = "no-cache" : t.fetchPolicy = "network-only", globalThis.__DEV__ !== !1 && e && ba.call(e, "variables")) {
3386
+ var n = hr(this.query), r = n.variableDefinitions;
3387
3387
  (!r || !r.some(function(e) {
3388
3388
  return e.variable.name.value === "variables";
3389
3389
  })) && globalThis.__DEV__ !== !1 && A.warn(28, e, n.name?.value || n);
@@ -3428,7 +3428,7 @@ var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3428
3428
  });
3429
3429
  t.reportResult(E(E({}, u), {
3430
3430
  networkStatus: a,
3431
- loading: _a(a),
3431
+ loading: va(a),
3432
3432
  data: d
3433
3433
  }), t.variables);
3434
3434
  }
@@ -3460,12 +3460,12 @@ var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3460
3460
  t.subscriptions.delete(n) && n.unsubscribe();
3461
3461
  };
3462
3462
  }, t.prototype.setOptions = function(e) {
3463
- return globalThis.__DEV__ !== !1 && (Gi(e, "canonizeResults", "setOptions"), V("setOptions", function() {
3463
+ return globalThis.__DEV__ !== !1 && (Ki(e, "canonizeResults", "setOptions"), V("setOptions", function() {
3464
3464
  globalThis.__DEV__ !== !1 && A.warn(31);
3465
3465
  })), this.reobserve(e);
3466
3466
  }, t.prototype.silentSetOptions = function(e) {
3467
- var t = Ri(this.options, e || {});
3468
- va(this.options, t);
3467
+ var t = zi(this.options, e || {});
3468
+ ya(this.options, t);
3469
3469
  }, t.prototype.setVariables = function(e) {
3470
3470
  var t = this;
3471
3471
  return U(this.variables, e) ? this.observers.size ? B("observableQuery.result", function() {
@@ -3522,7 +3522,7 @@ var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3522
3522
  i.interval = r;
3523
3523
  var a = function() {
3524
3524
  var t;
3525
- e.pollingInfo && (!_a(e.queryInfo.networkStatus) && !(t = e.options).skipPollAttempt?.call(t) ? e.reobserve({ fetchPolicy: e.options.initialFetchPolicy === "no-cache" ? "no-cache" : "network-only" }, W.poll).then(o, o) : o());
3525
+ e.pollingInfo && (!va(e.queryInfo.networkStatus) && !(t = e.options).skipPollAttempt?.call(t) ? e.reobserve({ fetchPolicy: e.options.initialFetchPolicy === "no-cache" ? "no-cache" : "network-only" }, W.poll).then(o, o) : o());
3526
3526
  }, o = function() {
3527
3527
  var t = e.pollingInfo;
3528
3528
  t && (clearTimeout(t.timeout), t.timeout = setTimeout(a, t.interval));
@@ -3537,14 +3537,14 @@ var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3537
3537
  return n.getLastError();
3538
3538
  });
3539
3539
  return r && this.last && !U(t, this.last.variables) && (r = void 0), this.last = E({
3540
- result: this.queryManager.assumeImmutableResults ? e : ji(e),
3540
+ result: this.queryManager.assumeImmutableResults ? e : Mi(e),
3541
3541
  variables: t
3542
3542
  }, r ? { error: r } : null);
3543
3543
  }, t.prototype.reobserveAsConcast = function(e, t) {
3544
3544
  var n = this;
3545
3545
  this.isTornDown = !1;
3546
- var r = t === W.refetch || t === W.fetchMore || t === W.poll, i = this.options.variables, a = this.options.fetchPolicy, o = Ri(this.options, e || {}), s = r ? o : va(this.options, o), c = this.transformDocument(s.query);
3547
- this.lastQuery = c, r || (this.updatePolling(), e && e.variables && !U(e.variables, i) && s.fetchPolicy !== "standby" && (s.fetchPolicy === a || typeof s.nextFetchPolicy == "function") && (this.applyNextFetchPolicy("variables-changed", s), t === void 0 && (t = W.setVariables))), this.waitForOwnResult && (this.waitForOwnResult = Ca(s.fetchPolicy));
3546
+ var r = t === W.refetch || t === W.fetchMore || t === W.poll, i = this.options.variables, a = this.options.fetchPolicy, o = zi(this.options, e || {}), s = r ? o : ya(this.options, o), c = this.transformDocument(s.query);
3547
+ this.lastQuery = c, r || (this.updatePolling(), e && e.variables && !U(e.variables, i) && s.fetchPolicy !== "standby" && (s.fetchPolicy === a || typeof s.nextFetchPolicy == "function") && (this.applyNextFetchPolicy("variables-changed", s), t === void 0 && (t = W.setVariables))), this.waitForOwnResult && (this.waitForOwnResult = wa(s.fetchPolicy));
3548
3548
  var l = function() {
3549
3549
  n.concast === f && (n.waitForOwnResult = !1);
3550
3550
  }, u = s.variables && E({}, s.variables), d = this.fetch(s, t, c), f = d.concast, p = d.fromLink, m = {
@@ -3552,12 +3552,12 @@ var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3552
3552
  U(n.variables, u) && (l(), n.reportResult(e, u));
3553
3553
  },
3554
3554
  error: function(e) {
3555
- U(n.variables, u) && (ua(e) || (e = new fa({ networkError: e })), l(), n.reportError(e, u));
3555
+ U(n.variables, u) && (da(e) || (e = new pa({ networkError: e })), l(), n.reportError(e, u));
3556
3556
  }
3557
3557
  };
3558
3558
  return !r && (p || !this.concast) && (this.concast && this.observer && this.concast.removeObserver(this.observer), this.concast = f, this.observer = m), f.addObserver(m), f;
3559
3559
  }, t.prototype.reobserve = function(e, t) {
3560
- return ki(this.reobserveAsConcast(e, t).promise.then(this.maskResult));
3560
+ return Ai(this.reobserveAsConcast(e, t).promise.then(this.maskResult));
3561
3561
  }, t.prototype.resubscribeAfterError = function() {
3562
3562
  for (var e = this, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n];
3563
3563
  var r = this.last;
@@ -3572,7 +3572,7 @@ var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3572
3572
  var n = this, r = B("getLastError", function() {
3573
3573
  return n.getLastError();
3574
3574
  }), i = this.isDifferentFromLastResult(e, t);
3575
- (r || !e.partial || this.options.returnPartialData) && this.updateLastResult(e, t), (r || i) && Ii(this.observers, "next", this.maskResult(e));
3575
+ (r || !e.partial || this.options.returnPartialData) && this.updateLastResult(e, t), (r || i) && Li(this.observers, "next", this.maskResult(e));
3576
3576
  }, t.prototype.reportError = function(e, t) {
3577
3577
  var n = this, r = E(E({}, B("getLastResult", function() {
3578
3578
  return n.getLastResult();
@@ -3582,7 +3582,7 @@ var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3582
3582
  networkStatus: W.error,
3583
3583
  loading: !1
3584
3584
  });
3585
- this.updateLastResult(r, t), Ii(this.observers, "error", this.last.error = e);
3585
+ this.updateLastResult(r, t), Li(this.observers, "error", this.last.error = e);
3586
3586
  }, t.prototype.hasObservers = function() {
3587
3587
  return this.observers.size > 0;
3588
3588
  }, t.prototype.tearDownQuery = function() {
@@ -3608,7 +3608,7 @@ var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3608
3608
  return e.notify();
3609
3609
  }, 0)));
3610
3610
  }, t.prototype.notify = function() {
3611
- this.cancelNotifyTimeout(), this.dirty && (this.options.fetchPolicy == "cache-only" || this.options.fetchPolicy == "cache-and-network" || !_a(this.queryInfo.networkStatus)) && (this.queryInfo.getDiff().fromOptimisticTransaction ? this.observe() : this.reobserveCacheFirst()), this.dirty = !1;
3611
+ this.cancelNotifyTimeout(), this.dirty && (this.options.fetchPolicy == "cache-only" || this.options.fetchPolicy == "cache-and-network" || !va(this.queryInfo.networkStatus)) && (this.queryInfo.getDiff().fromOptimisticTransaction ? this.observe() : this.reobserveCacheFirst()), this.dirty = !1;
3612
3612
  }, t.prototype.reobserveCacheFirst = function() {
3613
3613
  var e = this.options, t = e.fetchPolicy, n = e.nextFetchPolicy;
3614
3614
  return t === "cache-and-network" || t === "network-only" ? this.reobserve({
@@ -3617,37 +3617,37 @@ var va = Object.assign, ya = Object.hasOwnProperty, ba = function(e) {
3617
3617
  return this.nextFetchPolicy = n, typeof this.nextFetchPolicy == "function" ? this.nextFetchPolicy(e, r) : t;
3618
3618
  }
3619
3619
  }) : this.reobserve();
3620
- }, t.inactiveOnCreation = new wr(), t;
3621
- }(Oi);
3622
- Li(ba);
3623
- function xa(e) {
3620
+ }, t.inactiveOnCreation = new Tr(), t;
3621
+ }(ki);
3622
+ Ri(xa);
3623
+ function Sa(e) {
3624
3624
  globalThis.__DEV__ !== !1 && A.error(33, e.message, e.stack);
3625
3625
  }
3626
- function Sa(e) {
3626
+ function Ca(e) {
3627
3627
  globalThis.__DEV__ !== !1 && e && globalThis.__DEV__ !== !1 && A.debug(34, e);
3628
3628
  }
3629
- function Ca(e) {
3629
+ function wa(e) {
3630
3630
  return e === "network-only" || e === "no-cache" || e === "standby";
3631
3631
  }
3632
3632
  //#endregion
3633
3633
  //#region node_modules/graphql-tag/lib/index.js
3634
- var wa = /* @__PURE__ */ new Map(), Ta = /* @__PURE__ */ new Map(), Ea = !0, Da = !1;
3635
- function Oa(e) {
3636
- return e.replace(/[\s,]+/g, " ").trim();
3637
- }
3634
+ var Ta = /* @__PURE__ */ new Map(), Ea = /* @__PURE__ */ new Map(), Da = !0, Oa = !1;
3638
3635
  function ka(e) {
3639
- return Oa(e.source.body.substring(e.start, e.end));
3636
+ return e.replace(/[\s,]+/g, " ").trim();
3640
3637
  }
3641
3638
  function Aa(e) {
3639
+ return ka(e.source.body.substring(e.start, e.end));
3640
+ }
3641
+ function ja(e) {
3642
3642
  var t = /* @__PURE__ */ new Set(), n = [];
3643
3643
  return e.definitions.forEach(function(e) {
3644
3644
  if (e.kind === "FragmentDefinition") {
3645
- var r = e.name.value, i = ka(e.loc), a = Ta.get(r);
3646
- a && !a.has(i) ? Ea && console.warn("Warning: fragment with name " + r + " already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names") : a || Ta.set(r, a = /* @__PURE__ */ new Set()), a.add(i), t.has(i) || (t.add(i), n.push(e));
3645
+ var r = e.name.value, i = Aa(e.loc), a = Ea.get(r);
3646
+ a && !a.has(i) ? Da && console.warn("Warning: fragment with name " + r + " already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names") : a || Ea.set(r, a = /* @__PURE__ */ new Set()), a.add(i), t.has(i) || (t.add(i), n.push(e));
3647
3647
  } else n.push(e);
3648
3648
  }), E(E({}, e), { definitions: n });
3649
3649
  }
3650
- function ja(e) {
3650
+ function Ma(e) {
3651
3651
  var t = new Set(e.definitions);
3652
3652
  t.forEach(function(e) {
3653
3653
  e.loc && delete e.loc, Object.keys(e).forEach(function(n) {
@@ -3658,75 +3658,75 @@ function ja(e) {
3658
3658
  var n = e.loc;
3659
3659
  return n && (delete n.startToken, delete n.endToken), e;
3660
3660
  }
3661
- function Ma(e) {
3662
- var t = Oa(e);
3663
- if (!wa.has(t)) {
3664
- var n = Mt(e, {
3665
- experimentalFragmentVariables: Da,
3666
- allowLegacyFragmentVariables: Da
3661
+ function Na(e) {
3662
+ var t = ka(e);
3663
+ if (!Ta.has(t)) {
3664
+ var n = Nt(e, {
3665
+ experimentalFragmentVariables: Oa,
3666
+ allowLegacyFragmentVariables: Oa
3667
3667
  });
3668
3668
  if (!n || n.kind !== "Document") throw Error("Not a valid GraphQL document.");
3669
- wa.set(t, ja(Aa(n)));
3669
+ Ta.set(t, Ma(ja(n)));
3670
3670
  }
3671
- return wa.get(t);
3671
+ return Ta.get(t);
3672
3672
  }
3673
- function G(e) {
3673
+ function Pa(e) {
3674
3674
  var t = [...arguments].slice(1);
3675
3675
  typeof e == "string" && (e = [e]);
3676
3676
  var n = e[0];
3677
3677
  return t.forEach(function(t, r) {
3678
3678
  t && t.kind === "Document" ? n += t.loc.source.body : n += t, n += e[r + 1];
3679
- }), Ma(n);
3680
- }
3681
- function Na() {
3682
- wa.clear(), Ta.clear();
3683
- }
3684
- function Pa() {
3685
- Ea = !1;
3679
+ }), Na(n);
3686
3680
  }
3687
3681
  function Fa() {
3688
- Da = !0;
3682
+ Ta.clear(), Ea.clear();
3689
3683
  }
3690
3684
  function Ia() {
3691
3685
  Da = !1;
3692
3686
  }
3693
- var La = {
3694
- gql: G,
3695
- resetCaches: Na,
3696
- disableFragmentWarnings: Pa,
3697
- enableExperimentalFragmentVariables: Fa,
3698
- disableExperimentalFragmentVariables: Ia
3687
+ function La() {
3688
+ Oa = !0;
3689
+ }
3690
+ function Ra() {
3691
+ Oa = !1;
3692
+ }
3693
+ var za = {
3694
+ gql: Pa,
3695
+ resetCaches: Fa,
3696
+ disableFragmentWarnings: Ia,
3697
+ enableExperimentalFragmentVariables: La,
3698
+ disableExperimentalFragmentVariables: Ra
3699
3699
  };
3700
3700
  (function(e) {
3701
- e.gql = La.gql, e.resetCaches = La.resetCaches, e.disableFragmentWarnings = La.disableFragmentWarnings, e.enableExperimentalFragmentVariables = La.enableExperimentalFragmentVariables, e.disableExperimentalFragmentVariables = La.disableExperimentalFragmentVariables;
3702
- })(G || (G = {})), G.default = G;
3701
+ e.gql = za.gql, e.resetCaches = za.resetCaches, e.disableFragmentWarnings = za.disableFragmentWarnings, e.enableExperimentalFragmentVariables = za.enableExperimentalFragmentVariables, e.disableExperimentalFragmentVariables = za.disableExperimentalFragmentVariables;
3702
+ })(Pa || (Pa = {})), Pa.default = Pa;
3703
3703
  //#endregion
3704
3704
  //#region node_modules/@apollo/client/react/parser/index.js
3705
- var K;
3705
+ var G;
3706
3706
  (function(e) {
3707
3707
  e[e.Query = 0] = "Query", e[e.Mutation = 1] = "Mutation", e[e.Subscription = 2] = "Subscription";
3708
- })(K || (K = {}));
3709
- var q;
3710
- function Ra(e) {
3708
+ })(G || (G = {}));
3709
+ var K;
3710
+ function Ba(e) {
3711
3711
  var t;
3712
3712
  switch (e) {
3713
- case K.Query:
3713
+ case G.Query:
3714
3714
  t = "Query";
3715
3715
  break;
3716
- case K.Mutation:
3716
+ case G.Mutation:
3717
3717
  t = "Mutation";
3718
3718
  break;
3719
- case K.Subscription:
3719
+ case G.Subscription:
3720
3720
  t = "Subscription";
3721
3721
  break;
3722
3722
  }
3723
3723
  return t;
3724
3724
  }
3725
- function za(e) {
3725
+ function Va(e) {
3726
3726
  V("parser", function() {
3727
3727
  globalThis.__DEV__ !== !1 && A.warn(93);
3728
- }), q || (q = new Sn(wn.parser || 1e3));
3729
- var t = q.get(e);
3728
+ }), K || (K = new Cn(Tn.parser || 1e3));
3729
+ var t = K.get(e);
3730
3730
  if (t) return t;
3731
3731
  var n, r, i;
3732
3732
  A(!!e && !!e.kind, 94, e);
@@ -3748,7 +3748,7 @@ function za(e) {
3748
3748
  break;
3749
3749
  }
3750
3750
  }
3751
- A(!a.length || o.length || s.length || c.length, 95), A(o.length + s.length + c.length <= 1, 96, e, o.length, c.length, s.length), r = o.length ? K.Query : K.Mutation, !o.length && !s.length && (r = K.Subscription);
3751
+ A(!a.length || o.length || s.length || c.length, 95), A(o.length + s.length + c.length <= 1, 96, e, o.length, c.length, s.length), r = o.length ? G.Query : G.Mutation, !o.length && !s.length && (r = G.Subscription);
3752
3752
  var f = o.length ? o : s.length ? s : c;
3753
3753
  A(f.length === 1, 97, e, f.length);
3754
3754
  var p = f[0];
@@ -3758,58 +3758,58 @@ function za(e) {
3758
3758
  type: r,
3759
3759
  variables: n
3760
3760
  };
3761
- return q.set(e, m), m;
3761
+ return K.set(e, m), m;
3762
3762
  }
3763
- za.resetCache = function() {
3764
- q = void 0;
3765
- }, globalThis.__DEV__ !== !1 && Tn("parser", function() {
3766
- return q ? q.size : 0;
3763
+ Va.resetCache = function() {
3764
+ K = void 0;
3765
+ }, globalThis.__DEV__ !== !1 && En("parser", function() {
3766
+ return K ? K.size : 0;
3767
3767
  });
3768
- function Ba(e, t) {
3769
- var n = B("parser", za, [e]), r = Ra(t), i = Ra(n.type);
3768
+ function Ha(e, t) {
3769
+ var n = B("parser", Va, [e]), r = Ba(t), i = Ba(n.type);
3770
3770
  A(n.type === t, 98, r, r, i);
3771
3771
  }
3772
3772
  //#endregion
3773
3773
  //#region node_modules/@apollo/client/react/hooks/internal/useIsomorphicLayoutEffect.js
3774
- var Va = nn ? H.useLayoutEffect : H.useEffect;
3774
+ var Ua = rn ? H.useLayoutEffect : H.useEffect;
3775
3775
  //#endregion
3776
3776
  //#region node_modules/@apollo/client/react/hooks/internal/useWarnRemovedOption.js
3777
- function J(e, t, n, r) {
3777
+ function q(e, t, n, r) {
3778
3778
  "use no memo";
3779
3779
  r === void 0 && (r = "Please remove this option.");
3780
3780
  var i = H.useRef(!1);
3781
- globalThis.__DEV__ !== !1 && t in e && !i.current && (Gi(e, t, n, r), i.current = !0);
3781
+ globalThis.__DEV__ !== !1 && t in e && !i.current && (Ki(e, t, n, r), i.current = !0);
3782
3782
  }
3783
3783
  //#endregion
3784
3784
  //#region node_modules/@apollo/client/react/hooks/internal/wrapHook.js
3785
- var Ha = Symbol.for("apollo.hook.wrappers");
3786
- function Ua(e, t, n) {
3787
- var r = n.queryManager, i = r && r[Ha], a = i && i[e];
3785
+ var Wa = Symbol.for("apollo.hook.wrappers");
3786
+ function Ga(e, t, n) {
3787
+ var r = n.queryManager, i = r && r[Wa], a = i && i[e];
3788
3788
  return a ? a(t) : t;
3789
3789
  }
3790
3790
  //#endregion
3791
3791
  //#region node_modules/@apollo/client/react/hooks/useQuery.js
3792
- var Wa = Object.prototype.hasOwnProperty;
3793
- function Ga() {}
3794
- var Ka = Symbol();
3795
- function qa(e, t) {
3796
- return t === void 0 && (t = Object.create(null)), Ua("useQuery", Ja, Ji(t && t.client))(e, t);
3797
- }
3798
- function Ja(e, t) {
3799
- globalThis.__DEV__ !== !1 && (J(t, "canonizeResults", "useQuery"), J(t, "partialRefetch", "useQuery"), J(t, "defaultOptions", "useQuery", "Pass the options directly to the hook instead."), J(t, "onCompleted", "useQuery", "If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."), J(t, "onError", "useQuery", "If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."));
3800
- var n = Xa(e, t), r = n.result, i = n.obsQueryFields;
3792
+ var Ka = Object.prototype.hasOwnProperty;
3793
+ function qa() {}
3794
+ var Ja = Symbol();
3795
+ function Ya(e, t) {
3796
+ return t === void 0 && (t = Object.create(null)), Ga("useQuery", Xa, Yi(t && t.client))(e, t);
3797
+ }
3798
+ function Xa(e, t) {
3799
+ globalThis.__DEV__ !== !1 && (q(t, "canonizeResults", "useQuery"), q(t, "partialRefetch", "useQuery"), q(t, "defaultOptions", "useQuery", "Pass the options directly to the hook instead."), q(t, "onCompleted", "useQuery", "If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."), q(t, "onError", "useQuery", "If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."));
3800
+ var n = Qa(e, t), r = n.result, i = n.obsQueryFields;
3801
3801
  return H.useMemo(function() {
3802
3802
  return E(E({}, r), i);
3803
3803
  }, [r, i]);
3804
3804
  }
3805
- function Ya(e, t, n, r, i) {
3805
+ function Za(e, t, n, r, i) {
3806
3806
  function a(a) {
3807
- return Ba(t, K.Query), {
3807
+ return Ha(t, G.Query), {
3808
3808
  client: e,
3809
3809
  query: t,
3810
- observable: r && r.getSSRObservable(i()) || ba.inactiveOnCreation.withValue(!r, function() {
3810
+ observable: r && r.getSSRObservable(i()) || xa.inactiveOnCreation.withValue(!r, function() {
3811
3811
  return B(["canonizeResults", "partialRefetch"], function() {
3812
- return e.watchQuery(to(void 0, e, n, i()));
3812
+ return e.watchQuery(ro(void 0, e, n, i()));
3813
3813
  });
3814
3814
  }),
3815
3815
  resultData: { previousData: a?.resultData.current?.data }
@@ -3818,7 +3818,7 @@ function Ya(e, t, n, r, i) {
3818
3818
  var o = H.useState(a), s = o[0], c = o[1];
3819
3819
  function l(e) {
3820
3820
  var t;
3821
- Object.assign(s.observable, (t = {}, t[Ka] = e, t));
3821
+ Object.assign(s.observable, (t = {}, t[Ja] = e, t));
3822
3822
  var n = s.resultData;
3823
3823
  c(E(E({}, s), {
3824
3824
  query: e.query,
@@ -3834,16 +3834,16 @@ function Ya(e, t, n, r, i) {
3834
3834
  }
3835
3835
  return [s, l];
3836
3836
  }
3837
- function Xa(e, t) {
3838
- var n = Ji(t.client), r = H.useContext(qi()).renderPromises, i = !!r, a = n.disableNetworkFetches, o = t.ssr !== !1 && !t.skip, s = t.partialRefetch, c = eo(n, e, t, i), l = Ya(n, e, t, r, c), u = l[0], d = u.observable, f = u.resultData, p = l[1], m = c(d);
3839
- $a(f, d, n, t, m);
3837
+ function Qa(e, t) {
3838
+ var n = Yi(t.client), r = H.useContext(Ji()).renderPromises, i = !!r, a = n.disableNetworkFetches, o = t.ssr !== !1 && !t.skip, s = t.partialRefetch, c = no(n, e, t, i), l = Za(n, e, t, r, c), u = l[0], d = u.observable, f = u.resultData, p = l[1], m = c(d);
3839
+ to(f, d, n, t, m);
3840
3840
  var h = H.useMemo(function() {
3841
- return fo(d);
3841
+ return mo(d);
3842
3842
  }, [d]);
3843
- return Qa(d, r, o), {
3844
- result: Za(f, d, n, t, m, a, s, i, {
3845
- onCompleted: t.onCompleted || Ga,
3846
- onError: t.onError || Ga
3843
+ return eo(d, r, o), {
3844
+ result: $a(f, d, n, t, m, a, s, i, {
3845
+ onCompleted: t.onCompleted || qa,
3846
+ onError: t.onError || qa
3847
3847
  }),
3848
3848
  obsQueryFields: h,
3849
3849
  observable: d,
@@ -3852,28 +3852,28 @@ function Xa(e, t) {
3852
3852
  onQueryExecuted: p
3853
3853
  };
3854
3854
  }
3855
- function Za(e, t, n, r, i, a, o, s, c) {
3855
+ function $a(e, t, n, r, i, a, o, s, c) {
3856
3856
  var l = H.useRef(c);
3857
3857
  H.useEffect(function() {
3858
3858
  l.current = c;
3859
3859
  });
3860
- var u = (s || a) && r.ssr === !1 && !r.skip ? lo : r.skip || i.fetchPolicy === "standby" ? uo : void 0, d = e.previousData, f = H.useMemo(function() {
3861
- return u && so(u, d, t, n);
3860
+ var u = (s || a) && r.ssr === !1 && !r.skip ? fo : r.skip || i.fetchPolicy === "standby" ? po : void 0, d = e.previousData, f = H.useMemo(function() {
3861
+ return u && lo(u, d, t, n);
3862
3862
  }, [
3863
3863
  n,
3864
3864
  t,
3865
3865
  u,
3866
3866
  d
3867
3867
  ]);
3868
- return Xi(H.useCallback(function(r) {
3868
+ return Zi(H.useCallback(function(r) {
3869
3869
  if (s) return function() {};
3870
3870
  var i = function() {
3871
3871
  var i = e.current, a = t.getCurrentResult();
3872
- i && i.loading === a.loading && i.networkStatus === a.networkStatus && U(i.data, a.data) || no(a, e, t, n, o, r, l.current);
3872
+ i && i.loading === a.loading && i.networkStatus === a.networkStatus && U(i.data, a.data) || io(a, e, t, n, o, r, l.current);
3873
3873
  }, a = function(s) {
3874
- if (c.current.unsubscribe(), c.current = t.resubscribeAfterError(i, a), !Wa.call(s, "graphQLErrors")) throw s;
3874
+ if (c.current.unsubscribe(), c.current = t.resubscribeAfterError(i, a), !Ka.call(s, "graphQLErrors")) throw s;
3875
3875
  var u = e.current;
3876
- (!u || u && u.loading || !U(s, u.error)) && no({
3876
+ (!u || u && u.loading || !U(s, u.error)) && io({
3877
3877
  data: u && u.data,
3878
3878
  error: s,
3879
3879
  loading: !1,
@@ -3893,22 +3893,22 @@ function Za(e, t, n, r, i, a, o, s, c) {
3893
3893
  o,
3894
3894
  n
3895
3895
  ]), function() {
3896
- return f || io(e, t, l.current, o, n);
3896
+ return f || oo(e, t, l.current, o, n);
3897
3897
  }, function() {
3898
- return f || io(e, t, l.current, o, n);
3898
+ return f || oo(e, t, l.current, o, n);
3899
3899
  });
3900
3900
  }
3901
- function Qa(e, t, n) {
3901
+ function eo(e, t, n) {
3902
3902
  t && n && (t.registerSSRObservable(e), e.getCurrentResult().loading && t.addObservableQueryPromise(e));
3903
3903
  }
3904
- function $a(e, t, n, r, i) {
3905
- t[Ka] && !U(t[Ka], i) && (t.reobserve(to(t, n, r, i)), e.previousData = e.current?.data || e.previousData, e.current = void 0), t[Ka] = i;
3904
+ function to(e, t, n, r, i) {
3905
+ t[Ja] && !U(t[Ja], i) && (t.reobserve(ro(t, n, r, i)), e.previousData = e.current?.data || e.previousData, e.current = void 0), t[Ja] = i;
3906
3906
  }
3907
- function eo(e, t, n, r) {
3907
+ function no(e, t, n, r) {
3908
3908
  n === void 0 && (n = {});
3909
3909
  var i = n.skip;
3910
3910
  n.ssr, n.onCompleted, n.onError;
3911
- var a = n.defaultOptions, o = ce(n, [
3911
+ var a = n.defaultOptions, o = le(n, [
3912
3912
  "skip",
3913
3913
  "ssr",
3914
3914
  "onCompleted",
@@ -3917,20 +3917,20 @@ function eo(e, t, n, r) {
3917
3917
  ]);
3918
3918
  return function(n) {
3919
3919
  var s = Object.assign(o, { query: t });
3920
- return r && (s.fetchPolicy === "network-only" || s.fetchPolicy === "cache-and-network") && (s.fetchPolicy = "cache-first"), s.variables || (s.variables = {}), i ? (s.initialFetchPolicy = s.initialFetchPolicy || s.fetchPolicy || ao(a, e.defaultOptions), s.fetchPolicy = "standby") : s.fetchPolicy || (s.fetchPolicy = n?.options.initialFetchPolicy || ao(a, e.defaultOptions)), s;
3920
+ return r && (s.fetchPolicy === "network-only" || s.fetchPolicy === "cache-and-network") && (s.fetchPolicy = "cache-first"), s.variables || (s.variables = {}), i ? (s.initialFetchPolicy = s.initialFetchPolicy || s.fetchPolicy || so(a, e.defaultOptions), s.fetchPolicy = "standby") : s.fetchPolicy || (s.fetchPolicy = n?.options.initialFetchPolicy || so(a, e.defaultOptions)), s;
3921
3921
  };
3922
3922
  }
3923
- function to(e, t, n, r) {
3923
+ function ro(e, t, n, r) {
3924
3924
  var i = [], a = t.defaultOptions.watchQuery;
3925
- return a && i.push(a), n.defaultOptions && i.push(n.defaultOptions), i.push(Ri(e && e.options, r)), i.reduce(zi);
3925
+ return a && i.push(a), n.defaultOptions && i.push(n.defaultOptions), i.push(zi(e && e.options, r)), i.reduce(Bi);
3926
3926
  }
3927
- function no(e, t, n, r, i, a, o) {
3927
+ function io(e, t, n, r, i, a, o) {
3928
3928
  var s = t.current;
3929
- s && s.data && (t.previousData = s.data), !e.error && ii(e.errors) && (e.error = new fa({ graphQLErrors: e.errors })), t.current = so(co(e, n, i), t.previousData, n, r), a(), ro(e, s?.networkStatus, o);
3929
+ s && s.data && (t.previousData = s.data), !e.error && ai(e.errors) && (e.error = new pa({ graphQLErrors: e.errors })), t.current = lo(uo(e, n, i), t.previousData, n, r), a(), ao(e, s?.networkStatus, o);
3930
3930
  }
3931
- function ro(e, t, n) {
3931
+ function ao(e, t, n) {
3932
3932
  if (!e.loading) {
3933
- var r = oo(e);
3933
+ var r = co(e);
3934
3934
  Promise.resolve().then(function() {
3935
3935
  r ? n.onError(r) : e.data && t !== e.networkStatus && e.networkStatus === W.ready && n.onCompleted(e.data);
3936
3936
  }).catch(function(e) {
@@ -3938,45 +3938,45 @@ function ro(e, t, n) {
3938
3938
  });
3939
3939
  }
3940
3940
  }
3941
- function io(e, t, n, r, i) {
3942
- return e.current || no(t.getCurrentResult(), e, t, i, r, function() {}, n), e.current;
3941
+ function oo(e, t, n, r, i) {
3942
+ return e.current || io(t.getCurrentResult(), e, t, i, r, function() {}, n), e.current;
3943
3943
  }
3944
- function ao(e, t) {
3944
+ function so(e, t) {
3945
3945
  return e?.fetchPolicy || t?.watchQuery?.fetchPolicy || "cache-first";
3946
3946
  }
3947
- function oo(e) {
3948
- return ii(e.errors) ? new fa({ graphQLErrors: e.errors }) : e.error;
3947
+ function co(e) {
3948
+ return ai(e.errors) ? new pa({ graphQLErrors: e.errors }) : e.error;
3949
3949
  }
3950
- function so(e, t, n, r) {
3950
+ function lo(e, t, n, r) {
3951
3951
  var i = e.data;
3952
3952
  e.partial;
3953
- var a = ce(e, ["data", "partial"]);
3953
+ var a = le(e, ["data", "partial"]);
3954
3954
  return E(E({ data: i }, a), {
3955
3955
  client: r,
3956
3956
  observable: n,
3957
3957
  variables: n.variables,
3958
- called: e !== lo && e !== uo,
3958
+ called: e !== fo && e !== po,
3959
3959
  previousData: t
3960
3960
  });
3961
3961
  }
3962
- function co(e, t, n) {
3962
+ function uo(e, t, n) {
3963
3963
  return e.partial && n && !e.loading && (!e.data || Object.keys(e.data).length === 0) && t.options.fetchPolicy !== "cache-only" ? (t.refetch(), E(E({}, e), {
3964
3964
  loading: !0,
3965
3965
  networkStatus: W.refetch
3966
3966
  })) : e;
3967
3967
  }
3968
- var lo = Fi({
3968
+ var fo = Ii({
3969
3969
  loading: !0,
3970
3970
  data: void 0,
3971
3971
  error: void 0,
3972
3972
  networkStatus: W.loading
3973
- }), uo = Fi({
3973
+ }), po = Ii({
3974
3974
  loading: !1,
3975
3975
  data: void 0,
3976
3976
  error: void 0,
3977
3977
  networkStatus: W.ready
3978
3978
  });
3979
- function fo(e) {
3979
+ function mo(e) {
3980
3980
  return {
3981
3981
  refetch: e.refetch.bind(e),
3982
3982
  reobserve: function() {
@@ -3992,10 +3992,10 @@ function fo(e) {
3992
3992
  }
3993
3993
  //#endregion
3994
3994
  //#region node_modules/@apollo/client/react/hooks/useMutation.js
3995
- function po(e, t) {
3996
- globalThis.__DEV__ !== !1 && J(t || {}, "ignoreResults", "useMutation", "If you don't want to synchronize component state with the mutation, please use the `useApolloClient` hook to get the client instance and call `client.mutate` directly.");
3997
- var n = Ji(t?.client);
3998
- Ba(e, K.Mutation);
3995
+ function ho(e, t) {
3996
+ globalThis.__DEV__ !== !1 && q(t || {}, "ignoreResults", "useMutation", "If you don't want to synchronize component state with the mutation, please use the `useApolloClient` hook to get the client instance and call `client.mutate` directly.");
3997
+ var n = Yi(t?.client);
3998
+ Ha(e, G.Mutation);
3999
3999
  var r = H.useState({
4000
4000
  called: !1,
4001
4001
  loading: !1,
@@ -4008,7 +4008,7 @@ function po(e, t) {
4008
4008
  mutation: e,
4009
4009
  options: t
4010
4010
  });
4011
- Va(function() {
4011
+ Ua(function() {
4012
4012
  Object.assign(o.current, {
4013
4013
  client: n,
4014
4014
  options: t,
@@ -4025,9 +4025,9 @@ function po(e, t) {
4025
4025
  called: !0,
4026
4026
  client: s
4027
4027
  });
4028
- var c = ++o.current.mutationId, l = zi(i, e);
4028
+ var c = ++o.current.mutationId, l = Bi(i, e);
4029
4029
  return s.mutate(l).then(function(t) {
4030
- var n = t.data, r = t.errors, i = r && r.length > 0 ? new fa({ graphQLErrors: r }) : void 0, u = e.onError || o.current.options?.onError;
4030
+ var n = t.data, r = t.errors, i = r && r.length > 0 ? new pa({ graphQLErrors: r }) : void 0, u = e.onError || o.current.options?.onError;
4031
4031
  if (i && u && u(i, l), c === o.current.mutationId && !l.ignoreResults) {
4032
4032
  var d = {
4033
4033
  called: !0,
@@ -4080,30 +4080,30 @@ function po(e, t) {
4080
4080
  }
4081
4081
  //#endregion
4082
4082
  //#region node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
4083
- function mo(e, t) {
4083
+ function go(e, t) {
4084
4084
  if (typeof e == "function") return e(t);
4085
4085
  e != null && (e.current = t);
4086
4086
  }
4087
- function ho(...e) {
4087
+ function _o(...e) {
4088
4088
  return (t) => {
4089
4089
  let n = !1, r = e.map((e) => {
4090
- let r = mo(e, t);
4090
+ let r = go(e, t);
4091
4091
  return !n && typeof r == "function" && (n = !0), r;
4092
4092
  });
4093
4093
  if (n) return () => {
4094
4094
  for (let t = 0; t < r.length; t++) {
4095
4095
  let n = r[t];
4096
- typeof n == "function" ? n() : mo(e[t], null);
4096
+ typeof n == "function" ? n() : go(e[t], null);
4097
4097
  }
4098
4098
  };
4099
4099
  };
4100
4100
  }
4101
- function go(...e) {
4102
- return h.useCallback(ho(...e), e);
4101
+ function vo(...e) {
4102
+ return h.useCallback(_o(...e), e);
4103
4103
  }
4104
4104
  //#endregion
4105
4105
  //#region node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
4106
- var _o = class extends h.Component {
4106
+ var yo = class extends h.Component {
4107
4107
  getSnapshotBeforeUpdate(e) {
4108
4108
  let t = this.props.childRef.current;
4109
4109
  if (o(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
@@ -4117,15 +4117,15 @@ var _o = class extends h.Component {
4117
4117
  return this.props.children;
4118
4118
  }
4119
4119
  };
4120
- function vo({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
4121
- let o = x(), c = C(null), l = C({
4120
+ function bo({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
4121
+ let o = x(), c = re(null), l = re({
4122
4122
  width: 0,
4123
4123
  height: 0,
4124
4124
  top: 0,
4125
4125
  left: 0,
4126
4126
  right: 0,
4127
4127
  bottom: 0
4128
- }), { nonce: u } = ee(s), d = go(c, e.props?.ref ?? e?.ref);
4128
+ }), { nonce: u } = ee(s), d = vo(c, e.props?.ref ?? e?.ref);
4129
4129
  return te(() => {
4130
4130
  let { width: e, height: s, top: d, left: f, right: p, bottom: m } = l.current;
4131
4131
  if (t || a === !1 || !c.current || !e || !s) return;
@@ -4145,7 +4145,7 @@ function vo({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a
4145
4145
  `), () => {
4146
4146
  c.current?.removeAttribute("data-motion-pop-id"), v.contains(_) && v.removeChild(_);
4147
4147
  };
4148
- }, [t]), w(_o, {
4148
+ }, [t]), w(yo, {
4149
4149
  isPresent: t,
4150
4150
  childRef: c,
4151
4151
  sizeRef: l,
@@ -4155,8 +4155,8 @@ function vo({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a
4155
4155
  }
4156
4156
  //#endregion
4157
4157
  //#region node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
4158
- var yo = ({ children: e, initial: n, isPresent: r, onExitComplete: i, custom: o, presenceAffectsLayout: s, mode: c, anchorX: l, anchorY: u, root: d }) => {
4159
- let f = t(bo), p = x(), m = !0, g = S(() => (m = !1, {
4158
+ var xo = ({ children: e, initial: n, isPresent: r, onExitComplete: i, custom: o, presenceAffectsLayout: s, mode: c, anchorX: l, anchorY: u, root: d }) => {
4159
+ let f = t(So), p = x(), m = !0, g = S(() => (m = !1, {
4160
4160
  id: p,
4161
4161
  initial: n,
4162
4162
  isPresent: r,
@@ -4176,7 +4176,7 @@ var yo = ({ children: e, initial: n, isPresent: r, onExitComplete: i, custom: o,
4176
4176
  f.forEach((e, t) => f.set(t, !1));
4177
4177
  }, [r]), h.useEffect(() => {
4178
4178
  !r && !f.size && i && i();
4179
- }, [r]), e = w(vo, {
4179
+ }, [r]), e = w(bo, {
4180
4180
  pop: c === "popLayout",
4181
4181
  isPresent: r,
4182
4182
  anchorX: l,
@@ -4188,13 +4188,13 @@ var yo = ({ children: e, initial: n, isPresent: r, onExitComplete: i, custom: o,
4188
4188
  children: e
4189
4189
  });
4190
4190
  };
4191
- function bo() {
4191
+ function So() {
4192
4192
  return /* @__PURE__ */ new Map();
4193
4193
  }
4194
4194
  //#endregion
4195
4195
  //#region node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
4196
- var xo = (e) => e.key || "";
4197
- function So(e) {
4196
+ var Co = (e) => e.key || "";
4197
+ function wo(e) {
4198
4198
  let t = [];
4199
4199
  return g.forEach(e, (e) => {
4200
4200
  v(e) && t.push(e);
@@ -4202,12 +4202,12 @@ function So(e) {
4202
4202
  }
4203
4203
  //#endregion
4204
4204
  //#region node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
4205
- var Co = ({ children: e, custom: n, initial: a = !0, onExitComplete: o, presenceAffectsLayout: s = !0, mode: l = "sync", propagate: u = !1, anchorX: d = "left", anchorY: f = "top", root: p }) => {
4206
- let [m, h] = r(u), g = S(() => So(e), [e]), _ = u && !m ? [] : g.map(xo), v = C(!0), y = C(g), b = t(() => /* @__PURE__ */ new Map()), x = C(/* @__PURE__ */ new Set()), [te, ie] = ne(g), [T, ae] = ne(g);
4205
+ var To = ({ children: e, custom: n, initial: a = !0, onExitComplete: o, presenceAffectsLayout: s = !0, mode: l = "sync", propagate: u = !1, anchorX: d = "left", anchorY: f = "top", root: p }) => {
4206
+ let [m, h] = r(u), g = S(() => wo(e), [e]), _ = u && !m ? [] : g.map(Co), v = re(!0), y = re(g), b = t(() => /* @__PURE__ */ new Map()), x = re(/* @__PURE__ */ new Set()), [te, ne] = C(g), [T, ae] = C(g);
4207
4207
  i(() => {
4208
4208
  v.current = !1, y.current = g;
4209
4209
  for (let e = 0; e < T.length; e++) {
4210
- let t = xo(T[e]);
4210
+ let t = Co(T[e]);
4211
4211
  _.includes(t) ? (b.delete(t), x.current.delete(t)) : b.get(t) !== !0 && b.set(t, !1);
4212
4212
  }
4213
4213
  }, [
@@ -4219,15 +4219,15 @@ var Co = ({ children: e, custom: n, initial: a = !0, onExitComplete: o, presence
4219
4219
  if (g !== te) {
4220
4220
  let e = [...g];
4221
4221
  for (let t = 0; t < T.length; t++) {
4222
- let n = T[t], r = xo(n);
4222
+ let n = T[t], r = Co(n);
4223
4223
  _.includes(r) || (e.splice(t, 0, n), oe.push(n));
4224
4224
  }
4225
- return l === "wait" && oe.length && (e = oe), ae(So(e)), ie(g), null;
4225
+ return l === "wait" && oe.length && (e = oe), ae(wo(e)), ne(g), null;
4226
4226
  }
4227
4227
  let { forceRender: se } = ee(c);
4228
- return w(re, { children: T.map((e) => {
4229
- let t = xo(e), r = u && !m ? !1 : g === T || _.includes(t);
4230
- return w(yo, {
4228
+ return w(ie, { children: T.map((e) => {
4229
+ let t = Co(e), r = u && !m ? !1 : g === T || _.includes(t);
4230
+ return w(xo, {
4231
4231
  isPresent: r,
4232
4232
  initial: !v.current || a ? void 0 : !1,
4233
4233
  custom: n,
@@ -4248,13 +4248,13 @@ var Co = ({ children: e, custom: n, initial: a = !0, onExitComplete: o, presence
4248
4248
  children: e
4249
4249
  }, t);
4250
4250
  }) });
4251
- }, wo = "https://cdn.wexio.io";
4252
- function To(e) {
4253
- return /^https?:\/\//.test(e) ? e : wo + (e.startsWith("/") ? e : `/${e}`);
4251
+ }, Eo = "https://cdn.wexio.io";
4252
+ function Do(e) {
4253
+ return /^https?:\/\//.test(e) ? e : Eo + (e.startsWith("/") ? e : `/${e}`);
4254
4254
  }
4255
4255
  //#endregion
4256
4256
  //#region lib/use-widget-env.tsx
4257
- function Eo() {
4257
+ function Oo() {
4258
4258
  let e = (e) => {
4259
4259
  typeof window > "u" || window.parent?.postMessage(e, "*");
4260
4260
  };
@@ -4268,62 +4268,62 @@ function Eo() {
4268
4268
  onClose: () => e({ type: "wexio:widget:close:v1" })
4269
4269
  };
4270
4270
  }
4271
- var Do = _(null);
4272
- function Oo({ env: e, children: t }) {
4273
- return /* @__PURE__ */ w(Do.Provider, {
4271
+ var ko = _(null);
4272
+ function Ao({ env: e, children: t }) {
4273
+ return /* @__PURE__ */ w(ko.Provider, {
4274
4274
  value: e,
4275
4275
  children: t
4276
4276
  });
4277
4277
  }
4278
- function ko() {
4279
- return ee(Do) ?? Eo();
4278
+ function jo() {
4279
+ return ee(ko) ?? Oo();
4280
4280
  }
4281
4281
  //#endregion
4282
4282
  //#region lib/api.ts
4283
- var Ao = "http://localhost:3001", jo = "https://local.api.wexio.io:3443";
4284
- function Mo() {
4283
+ var Mo = "http://localhost:3001", No = "https://local.api.wexio.io:3443";
4284
+ function Po() {
4285
4285
  let e = process.env.NEXT_PUBLIC_WEXIO_API_URL;
4286
4286
  if (e) return e;
4287
4287
  if (typeof window < "u") {
4288
4288
  let { protocol: e, hostname: t } = window.location;
4289
- if (e === "https:" && /^local\.[a-z-]+\.wexio\.io$/i.test(t)) return jo;
4289
+ if (e === "https:" && /^local\.[a-z-]+\.wexio\.io$/i.test(t)) return No;
4290
4290
  if (e === "https:" && /\.wexio\.io$/i.test(t)) {
4291
4291
  let e = t.replace(/^(app|templates)\./i, "api.").replace(/\.(app|templates)\./i, ".api.");
4292
4292
  return e === t ? "https://api.wexio.io" : `https://${e}`;
4293
4293
  }
4294
4294
  }
4295
- return Ao;
4295
+ return Mo;
4296
4296
  }
4297
- var No = /* @__PURE__ */ new Map();
4298
- function Po(e, t) {
4297
+ var Fo = /* @__PURE__ */ new Map();
4298
+ function Io(e, t) {
4299
4299
  if (!e) return Promise.resolve(null);
4300
- let n = `${e}|${t ?? ""}`, r = No.get(n);
4300
+ let n = `${e}|${t ?? ""}`, r = Fo.get(n);
4301
4301
  if (r) return r;
4302
4302
  let i = (async () => {
4303
4303
  try {
4304
- let n = new URL(`${Mo()}/api/web/config/${encodeURIComponent(e)}`);
4304
+ let n = new URL(`${Po()}/api/web/config/${encodeURIComponent(e)}`);
4305
4305
  t && n.searchParams.set("locale", t);
4306
4306
  let r = await fetch(n.toString(), {
4307
4307
  method: "GET",
4308
4308
  headers: { "x-web-public-key": e },
4309
4309
  credentials: "omit"
4310
4310
  });
4311
- return r.ok ? zo(await r.json()) : null;
4311
+ return r.ok ? Vo(await r.json()) : null;
4312
4312
  } catch {
4313
4313
  return null;
4314
4314
  }
4315
4315
  })();
4316
- return No.set(n, i.then((e) => (e === null && No.delete(n), e))), No.get(n) ?? i;
4316
+ return Fo.set(n, i.then((e) => (e === null && Fo.delete(n), e))), Fo.get(n) ?? i;
4317
4317
  }
4318
- var Fo = [
4318
+ var Lo = [
4319
4319
  "NAME",
4320
4320
  "EMAIL",
4321
4321
  "PHONE",
4322
4322
  "CUSTOM_TEXT"
4323
- ], Io = ["HINT", "SYSTEM"];
4324
- function Lo(e) {
4323
+ ], Ro = ["HINT", "SYSTEM"];
4324
+ function zo(e) {
4325
4325
  if (e === null || !e) return null;
4326
- let t = Array.isArray(e.commands) ? e.commands.filter((e) => typeof e == "string" && e.length > 0).slice(0, 20) : [], n = Array.isArray(e.messages) ? e.messages.filter((e) => !!e && typeof e.text == "string" && e.text.length > 0 && typeof e.kind == "string" && Io.includes(e.kind)).map((e) => ({
4326
+ let t = Array.isArray(e.commands) ? e.commands.filter((e) => typeof e == "string" && e.length > 0).slice(0, 20) : [], n = Array.isArray(e.messages) ? e.messages.filter((e) => !!e && typeof e.text == "string" && e.text.length > 0 && typeof e.kind == "string" && Ro.includes(e.kind)).map((e) => ({
4327
4327
  kind: e.kind,
4328
4328
  text: e.text
4329
4329
  })).slice(0, 10) : [];
@@ -4335,12 +4335,13 @@ function Lo(e) {
4335
4335
  messages: n,
4336
4336
  showRelatedNews: e.showRelatedNews ?? !0,
4337
4337
  showRelatedHelpArticles: e.showRelatedHelpArticles ?? !0,
4338
- showReactionCounts: e.showReactionCounts ?? !1
4338
+ showReactionCounts: e.showReactionCounts ?? !1,
4339
+ profile: Array.isArray(e.profile?.fields) && e.profile.fields.length > 0 ? { fields: e.profile.fields.filter((e) => typeof e == "string") } : null
4339
4340
  };
4340
4341
  }
4341
- function Ro(e) {
4342
+ function Bo(e) {
4342
4343
  if (!e) return null;
4343
- let t = (Array.isArray(e.fields) ? e.fields : []).filter((e) => e && Fo.includes(e.kind)).map((e) => ({
4344
+ let t = (Array.isArray(e.fields) ? e.fields : []).filter((e) => e && Lo.includes(e.kind)).map((e) => ({
4344
4345
  kind: e.kind,
4345
4346
  key: String(e.key ?? ""),
4346
4347
  label: String(e.label ?? ""),
@@ -4351,12 +4352,14 @@ function Ro(e) {
4351
4352
  fields: t
4352
4353
  };
4353
4354
  }
4354
- function zo(e) {
4355
+ function Vo(e) {
4355
4356
  return {
4356
4357
  status: e.status,
4357
4358
  defaultTab: e.defaultTab?.toLowerCase() ?? "home",
4358
4359
  localeStrategy: e.localeStrategy ?? "AUTO",
4359
4360
  defaultLocale: e.defaultLocale ?? "en",
4361
+ supportedLocales: Array.isArray(e.supportedLocales) ? e.supportedLocales.filter((e) => typeof e == "string") : [],
4362
+ contentLocaleFallback: e.contentLocaleFallback ?? !0,
4360
4363
  security: {
4361
4364
  requireAuth: e.security?.requireAuth ?? !1,
4362
4365
  google: {
@@ -4374,7 +4377,7 @@ function zo(e) {
4374
4377
  },
4375
4378
  theme: e.theme ?? null,
4376
4379
  themeMode: "auto",
4377
- prechatForm: Ro(e.prechatForm),
4380
+ prechatForm: Bo(e.prechatForm),
4378
4381
  operatorAvatars: Array.isArray(e.operatorAvatars) ? e.operatorAvatars.filter((e) => !!e?.src).map((e) => ({
4379
4382
  src: e.src,
4380
4383
  alt: e.alt ?? ""
@@ -4395,17 +4398,21 @@ function zo(e) {
4395
4398
  outboundSoundId: e.sounds.outboundSoundId ?? null,
4396
4399
  volume: typeof e.sounds.volume == "number" ? Math.max(0, Math.min(1, e.sounds.volume)) : .5
4397
4400
  } : null,
4398
- messenger: Lo(e.messenger)
4401
+ messenger: zo(e.messenger),
4402
+ botProtection: e.botProtection?.turnstile?.enabled && e.botProtection.turnstile.siteKey ? { turnstile: {
4403
+ enabled: !0,
4404
+ siteKey: e.botProtection.turnstile.siteKey
4405
+ } } : null
4399
4406
  };
4400
4407
  }
4401
- var Bo = /* @__PURE__ */ new Map();
4402
- function Vo(e) {
4408
+ var Ho = /* @__PURE__ */ new Map();
4409
+ function Uo(e) {
4403
4410
  if (!e) return Promise.resolve(null);
4404
- let t = Bo.get(e);
4411
+ let t = Ho.get(e);
4405
4412
  if (t) return t;
4406
4413
  let n = (async () => {
4407
4414
  try {
4408
- let t = new URL(`${Mo()}/api/web/config/${encodeURIComponent(e)}`);
4415
+ let t = new URL(`${Po()}/api/web/config/${encodeURIComponent(e)}`);
4409
4416
  t.searchParams.set("view", "gate");
4410
4417
  let n = await fetch(t.toString(), {
4411
4418
  method: "GET",
@@ -4430,11 +4437,11 @@ function Vo(e) {
4430
4437
  return null;
4431
4438
  }
4432
4439
  })();
4433
- return Bo.set(e, n.then((t) => (t === null && Bo.delete(e), t))), Bo.get(e) ?? n;
4440
+ return Ho.set(e, n.then((t) => (t === null && Ho.delete(e), t))), Ho.get(e) ?? n;
4434
4441
  }
4435
4442
  //#endregion
4436
4443
  //#region dummy/authors.ts
4437
- var Ho = {
4444
+ var Wo = {
4438
4445
  maya: {
4439
4446
  _id: "demo-author-maya",
4440
4447
  name: "Maya Chen",
@@ -4456,12 +4463,12 @@ var Ho = {
4456
4463
  photo: { url: "https://i.pravatar.cc/96?img=68" }
4457
4464
  }
4458
4465
  };
4459
- function Uo(e) {
4460
- return e.map((e) => Ho[e]);
4466
+ function Go(e) {
4467
+ return e.map((e) => Wo[e]);
4461
4468
  }
4462
4469
  //#endregion
4463
4470
  //#region lib/theme-font.ts
4464
- var Wo = {
4471
+ var Ko = {
4465
4472
  inter: "Inter:wght@400;500;600;700",
4466
4473
  poppins: "Poppins:wght@400;500;600;700",
4467
4474
  "dm sans": "DM+Sans:wght@400;500;600;700",
@@ -4473,11 +4480,11 @@ var Wo = {
4473
4480
  raleway: "Raleway:wght@400;500;600;700",
4474
4481
  "work sans": "Work+Sans:wght@400;500;600;700"
4475
4482
  };
4476
- function Go(e) {
4483
+ function qo(e) {
4477
4484
  if (!e || typeof document > "u") return;
4478
4485
  let t = e.split(",")[0]?.trim().replace(/^['"]|['"]$/g, "");
4479
4486
  if (!t) return;
4480
- let n = Wo[t.toLowerCase()];
4487
+ let n = Ko[t.toLowerCase()];
4481
4488
  if (!n) return;
4482
4489
  let r = `wexio-font-${t.toLowerCase().replace(/\s+/g, "-")}`;
4483
4490
  if (document.getElementById(r)) return;
@@ -4486,18 +4493,20 @@ function Go(e) {
4486
4493
  }
4487
4494
  //#endregion
4488
4495
  //#region lib/widget-config.ts
4489
- var Ko = {
4496
+ var Jo = {
4490
4497
  status: "active",
4491
4498
  defaultTab: "home",
4492
4499
  localeStrategy: "AUTO",
4493
4500
  defaultLocale: "en",
4501
+ supportedLocales: [],
4502
+ contentLocaleFallback: !0,
4494
4503
  security: {
4495
- requireAuth: !0,
4504
+ requireAuth: !1,
4496
4505
  google: {
4497
- enabled: !0,
4498
- clientId: "771481034494-41m4aop4gbn7k58ahgqgvr3kiv8vmrd3.apps.googleusercontent.com"
4506
+ enabled: !1,
4507
+ clientId: ""
4499
4508
  },
4500
- passkey: { enabled: !0 }
4509
+ passkey: { enabled: !1 }
4501
4510
  },
4502
4511
  features: {
4503
4512
  home: !0,
@@ -4529,18 +4538,8 @@ var Ko = {
4529
4538
  },
4530
4539
  homeLayout: null,
4531
4540
  prechatForm: {
4532
- enabled: !0,
4533
- fields: [{
4534
- kind: "NAME",
4535
- key: "visitor_name",
4536
- label: "",
4537
- required: !0
4538
- }, {
4539
- kind: "EMAIL",
4540
- key: "visitor_email",
4541
- label: "",
4542
- required: !0
4543
- }]
4541
+ enabled: !1,
4542
+ fields: []
4544
4543
  },
4545
4544
  branding: null,
4546
4545
  sounds: {
@@ -4552,7 +4551,7 @@ var Ko = {
4552
4551
  messenger: {
4553
4552
  title: null,
4554
4553
  description: null,
4555
- aiAssistantAvatar: To("/logo-dark.png"),
4554
+ aiAssistantAvatar: Do("/logo-dark.png"),
4556
4555
  commands: [
4557
4556
  "/start",
4558
4557
  "/help",
@@ -4561,9 +4560,11 @@ var Ko = {
4561
4560
  messages: [],
4562
4561
  showRelatedNews: !0,
4563
4562
  showRelatedHelpArticles: !0,
4564
- showReactionCounts: !1
4565
- }
4566
- }, qo = [
4563
+ showReactionCounts: !1,
4564
+ profile: null
4565
+ },
4566
+ botProtection: null
4567
+ }, Yo = [
4567
4568
  { kind: "ask-question" },
4568
4569
  { kind: "recent-message" },
4569
4570
  { kind: "featured-article" },
@@ -4616,18 +4617,18 @@ var Ko = {
4616
4617
  ];
4617
4618
  //#endregion
4618
4619
  //#region lib/use-widget-config.ts
4619
- function Jo() {
4620
- let e = ko(), t = p(), [n, r] = ne({
4620
+ function Xo() {
4621
+ let e = jo(), t = p(), [n, r] = C({
4621
4622
  mode: "demo",
4622
- config: Ko,
4623
+ config: Jo,
4623
4624
  isDummy: !0,
4624
4625
  isLoading: !0
4625
- }), [i, a] = ne(null);
4626
+ }), [i, a] = C(null);
4626
4627
  b(() => {
4627
4628
  let n = new URL(window.location.href), i = n.searchParams.get("pk") ?? void 0, o = process.env.NEXT_PUBLIC_WEXIO_DEMO_PK || void 0, s = n.searchParams.get("mode"), c = e.publicKeyOverride ?? i ?? o, l = e.modeOverride ?? (c ? "production" : s === "preview" ? "preview" : "demo"), u = !1;
4628
4629
  if ((async () => {
4629
4630
  if (e.configBase) {
4630
- let t = c ? await Vo(c) : null;
4631
+ let t = c ? await Uo(c) : null;
4631
4632
  if (u) return;
4632
4633
  let n = e.configBase.security, i = t?.security, a = {
4633
4634
  requireAuth: n?.requireAuth ?? i?.requireAuth ?? !1,
@@ -4653,14 +4654,14 @@ function Jo() {
4653
4654
  if (e.forceDummyData !== void 0) {
4654
4655
  r({
4655
4656
  mode: l,
4656
- config: Ko,
4657
+ config: Jo,
4657
4658
  isDummy: e.forceDummyData,
4658
4659
  isLoading: !1
4659
4660
  });
4660
4661
  return;
4661
4662
  }
4662
4663
  if (c) {
4663
- let e = await Po(c, t);
4664
+ let e = await Io(c, t);
4664
4665
  if (u) return;
4665
4666
  if (e) {
4666
4667
  r({
@@ -4674,7 +4675,7 @@ function Jo() {
4674
4675
  }
4675
4676
  r({
4676
4677
  mode: l,
4677
- config: Ko,
4678
+ config: Jo,
4678
4679
  isDummy: !0,
4679
4680
  isLoading: !1
4680
4681
  });
@@ -4684,7 +4685,7 @@ function Jo() {
4684
4685
  let d = (e) => {
4685
4686
  if (!e.data || typeof e.data != "object" || e.data.type !== "wexio:preview-config:v1") return;
4686
4687
  let t = e.data.config;
4687
- t && a((e) => Yo(e ?? {}, t));
4688
+ t && a((e) => Zo(e ?? {}, t));
4688
4689
  };
4689
4690
  return window.addEventListener("message", d), () => {
4690
4691
  u = !0, window.removeEventListener("message", d);
@@ -4698,9 +4699,9 @@ function Jo() {
4698
4699
  ]);
4699
4700
  let o = n.isDummy || e.forceDummyData === !0, s = S(() => {
4700
4701
  let t = n.config;
4701
- return i && (t = Yo(t, i)), e.configOverride && (t = Yo(t, e.configOverride)), o && t.operatorAvatars.length === 0 && (t = {
4702
+ return i && (t = Zo(t, i)), e.configOverride && (t = Zo(t, e.configOverride)), o && t.operatorAvatars.length === 0 && (t = {
4702
4703
  ...t,
4703
- operatorAvatars: Ko.operatorAvatars
4704
+ operatorAvatars: Jo.operatorAvatars
4704
4705
  }), t;
4705
4706
  }, [
4706
4707
  n.config,
@@ -4708,9 +4709,11 @@ function Jo() {
4708
4709
  e.configOverride,
4709
4710
  o
4710
4711
  ]), c = e.styleRoot;
4711
- b(() => {
4712
- s.theme && (ns(s.theme, c ?? document), Go(s.theme.fontFamily));
4713
- }, [s.theme, c]);
4712
+ ne(() => {
4713
+ s.theme && is(s.theme, c ?? document);
4714
+ }, [s.theme, c]), b(() => {
4715
+ s.theme && qo(s.theme.fontFamily);
4716
+ }, [s.theme]);
4714
4717
  let l = e.onLocaleStrategy;
4715
4718
  return b(() => {
4716
4719
  let e = s.localeStrategy === "DEFAULT" ? s.defaultLocale : s.localeStrategy;
@@ -4726,7 +4729,7 @@ function Jo() {
4726
4729
  isLoading: n.isLoading
4727
4730
  };
4728
4731
  }
4729
- function Yo(e, t) {
4732
+ function Zo(e, t) {
4730
4733
  return {
4731
4734
  ...e,
4732
4735
  ...t,
@@ -4741,7 +4744,7 @@ function Yo(e, t) {
4741
4744
  theme: t.theme === void 0 ? e.theme : t.theme
4742
4745
  };
4743
4746
  }
4744
- var Xo = {
4747
+ var Qo = {
4745
4748
  background: "--wx-bg",
4746
4749
  surface: "--wx-bg-elevated",
4747
4750
  surfaceElevated: "--wx-bg-elevated-2",
@@ -4757,30 +4760,30 @@ var Xo = {
4757
4760
  launcherForeground: "--wx-launcher-fg",
4758
4761
  success: "--wx-success",
4759
4762
  danger: "--wx-danger"
4760
- }, Zo = {
4763
+ }, $o = {
4761
4764
  sm: "--wx-radius-sm",
4762
4765
  md: "--wx-radius",
4763
4766
  lg: "--wx-radius-lg",
4764
4767
  xl: "--wx-radius-xl"
4765
4768
  };
4766
- function Qo(e) {
4767
- return e ? Object.entries(e).filter(([, e]) => typeof e == "string" && e.length > 0).map(([e, t]) => `${Xo[e]}: ${t};`).join(" ") : "";
4768
- }
4769
- function $o(e) {
4770
- return e ? Object.entries(e).filter(([, e]) => typeof e == "number" && Number.isFinite(e)).map(([e, t]) => `${Zo[e]}: ${t}px;`).join(" ") : "";
4769
+ function es(e) {
4770
+ return e ? Object.entries(e).filter(([, e]) => typeof e == "string" && e.length > 0).map(([e, t]) => `${Qo[e]}: ${t};`).join(" ") : "";
4771
4771
  }
4772
- var es = /* @__PURE__ */ new WeakMap();
4773
4772
  function ts(e) {
4774
- let t = [$o(e.radii), typeof e.fontFamily == "string" && e.fontFamily.trim().length > 0 ? `--wx-font: ${e.fontFamily};` : ""].filter(Boolean).join(" "), n = [Qo(e.light), t].filter(Boolean).join(" "), r = [Qo(e.dark), t].filter(Boolean).join(" "), i = [];
4773
+ return e ? Object.entries(e).filter(([, e]) => typeof e == "number" && Number.isFinite(e)).map(([e, t]) => `${$o[e]}: ${t}px;`).join(" ") : "";
4774
+ }
4775
+ var ns = /* @__PURE__ */ new WeakMap();
4776
+ function rs(e) {
4777
+ let t = [ts(e.radii), typeof e.fontFamily == "string" && e.fontFamily.trim().length > 0 ? `--wx-font: ${e.fontFamily};` : ""].filter(Boolean).join(" "), n = [es(e.light), t].filter(Boolean).join(" "), r = [es(e.dark), t].filter(Boolean).join(" "), i = [];
4775
4778
  return n && i.push(`:root, :host { ${n} }`), r && i.push(`[data-theme="dark"] { ${r} }`), i.join(" ");
4776
4779
  }
4777
- function ns(e, t) {
4778
- let n = ts(e);
4780
+ function is(e, t) {
4781
+ let n = rs(e);
4779
4782
  if (!(t instanceof Document)) {
4780
4783
  let e = t;
4781
4784
  if (typeof CSSStyleSheet < "u" && "replaceSync" in CSSStyleSheet.prototype) {
4782
- let t = es.get(e);
4783
- t || (t = new CSSStyleSheet(), es.set(e, t), e.adoptedStyleSheets = [...e.adoptedStyleSheets, t]), t.replaceSync(n);
4785
+ let t = ns.get(e);
4786
+ t || (t = new CSSStyleSheet(), ns.set(e, t), e.adoptedStyleSheets = [...e.adoptedStyleSheets, t]), t.replaceSync(n);
4784
4787
  return;
4785
4788
  }
4786
4789
  let r = e.querySelector("#wexio-theme-vars");
@@ -4790,19 +4793,19 @@ function ns(e, t) {
4790
4793
  let r = t.getElementById("wexio-theme-vars");
4791
4794
  r || (r = document.createElement("style"), r.id = "wexio-theme-vars", t.head.appendChild(r)), r.textContent = n;
4792
4795
  }
4793
- var rs = m("check", [["path", {
4796
+ var as = m("check", [["path", {
4794
4797
  d: "M20 6 9 17l-5-5",
4795
4798
  key: "1gmf2c"
4796
- }]]), is = m("chevron-down", [["path", {
4799
+ }]]), os = m("chevron-down", [["path", {
4797
4800
  d: "m6 9 6 6 6-6",
4798
4801
  key: "qrunsl"
4799
- }]]), as = m("chevron-left", [["path", {
4802
+ }]]), ss = m("chevron-left", [["path", {
4800
4803
  d: "m15 18-6-6 6-6",
4801
4804
  key: "1wnfg3"
4802
- }]]), os = m("chevron-right", [["path", {
4805
+ }]]), cs = m("chevron-right", [["path", {
4803
4806
  d: "m9 18 6-6-6-6",
4804
4807
  key: "mthhwq"
4805
- }]]), ss = m("x", [["path", {
4808
+ }]]), ls = m("x", [["path", {
4806
4809
  d: "M18 6 6 18",
4807
4810
  key: "1bl5f8"
4808
4811
  }], ["path", {
@@ -4811,77 +4814,77 @@ var rs = m("check", [["path", {
4811
4814
  }]]);
4812
4815
  //#endregion
4813
4816
  //#region node_modules/@radix-ui/react-compose-refs/dist/index.mjs
4814
- function cs(e, t) {
4817
+ function us(e, t) {
4815
4818
  if (typeof e == "function") return e(t);
4816
4819
  e != null && (e.current = t);
4817
4820
  }
4818
- function ls(...e) {
4821
+ function ds(...e) {
4819
4822
  return (t) => {
4820
4823
  let n = !1, r = e.map((e) => {
4821
- let r = cs(e, t);
4824
+ let r = us(e, t);
4822
4825
  return !n && typeof r == "function" && (n = !0), r;
4823
4826
  });
4824
4827
  if (n) return () => {
4825
4828
  for (let t = 0; t < r.length; t++) {
4826
4829
  let n = r[t];
4827
- typeof n == "function" ? n() : cs(e[t], null);
4830
+ typeof n == "function" ? n() : us(e[t], null);
4828
4831
  }
4829
4832
  };
4830
4833
  };
4831
4834
  }
4832
- function Y(...e) {
4833
- return h.useCallback(ls(...e), e);
4835
+ function J(...e) {
4836
+ return h.useCallback(ds(...e), e);
4834
4837
  }
4835
4838
  //#endregion
4836
4839
  //#region components/ui/card.tsx
4837
- var us = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("div", {
4840
+ var fs = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("div", {
4838
4841
  ref: n,
4839
4842
  className: f("rounded-wx-lg bg-wx-bg-elevated text-wx-fg", e),
4840
4843
  ...t
4841
4844
  }));
4842
- us.displayName = "Card";
4843
- var ds = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("div", {
4845
+ fs.displayName = "Card";
4846
+ var ps = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("div", {
4844
4847
  ref: n,
4845
4848
  className: f("rounded-wx bg-wx-bg-elevated-2 text-wx-fg", e),
4846
4849
  ...t
4847
4850
  }));
4848
- ds.displayName = "CardNested";
4849
- var fs = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("div", {
4851
+ ps.displayName = "CardNested";
4852
+ var ms = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("div", {
4850
4853
  ref: n,
4851
4854
  className: f("flex flex-col gap-1 px-5 pt-5", e),
4852
4855
  ...t
4853
4856
  }));
4854
- fs.displayName = "CardHeader";
4855
- var ps = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("p", {
4857
+ ms.displayName = "CardHeader";
4858
+ var hs = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("p", {
4856
4859
  ref: n,
4857
4860
  className: f("text-base font-semibold text-wx-fg", e),
4858
4861
  ...t
4859
4862
  }));
4860
- ps.displayName = "CardTitle";
4861
- var ms = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("p", {
4863
+ hs.displayName = "CardTitle";
4864
+ var gs = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("p", {
4862
4865
  ref: n,
4863
4866
  className: f("text-sm text-wx-fg-muted", e),
4864
4867
  ...t
4865
4868
  }));
4866
- ms.displayName = "CardSubtitle";
4867
- var hs = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("div", {
4869
+ gs.displayName = "CardSubtitle";
4870
+ var _s = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("div", {
4868
4871
  ref: n,
4869
4872
  className: f("px-5 py-4", e),
4870
4873
  ...t
4871
4874
  }));
4872
- hs.displayName = "CardBody";
4873
- var gs = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("div", {
4875
+ _s.displayName = "CardBody";
4876
+ var vs = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w("div", {
4874
4877
  ref: n,
4875
4878
  className: f("flex items-center justify-between px-5 py-3 border-t border-wx-border", e),
4876
4879
  ...t
4877
4880
  }));
4878
- gs.displayName = "CardFooter";
4881
+ vs.displayName = "CardFooter";
4879
4882
  //#endregion
4880
4883
  //#region node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs
4881
4884
  /* @__NO_SIDE_EFFECTS__ */
4882
- function _s(e) {
4883
- let t = /* @__PURE__ */ vs(e), n = h.forwardRef((e, n) => {
4884
- let { children: r, ...i } = e, a = h.Children.toArray(r), o = a.find(bs);
4885
+ function ys(e) {
4886
+ let t = /* @__PURE__ */ bs(e), n = h.forwardRef((e, n) => {
4887
+ let { children: r, ...i } = e, a = h.Children.toArray(r), o = a.find(Ss);
4885
4888
  if (o) {
4886
4889
  let e = o.props.children, r = a.map((t) => t === o ? h.Children.count(e) > 1 ? h.Children.only(null) : h.isValidElement(e) ? e.props.children : null : t);
4887
4890
  return /* @__PURE__ */ w(t, {
@@ -4899,22 +4902,22 @@ function _s(e) {
4899
4902
  return n.displayName = `${e}.Slot`, n;
4900
4903
  }
4901
4904
  /* @__NO_SIDE_EFFECTS__ */
4902
- function vs(e) {
4905
+ function bs(e) {
4903
4906
  let t = h.forwardRef((e, t) => {
4904
4907
  let { children: n, ...r } = e;
4905
4908
  if (h.isValidElement(n)) {
4906
- let e = Ss(n), i = xs(r, n.props);
4907
- return n.type !== h.Fragment && (i.ref = t ? ls(t, e) : e), h.cloneElement(n, i);
4909
+ let e = ws(n), i = Cs(r, n.props);
4910
+ return n.type !== h.Fragment && (i.ref = t ? ds(t, e) : e), h.cloneElement(n, i);
4908
4911
  }
4909
4912
  return h.Children.count(n) > 1 ? h.Children.only(null) : null;
4910
4913
  });
4911
4914
  return t.displayName = `${e}.SlotClone`, t;
4912
4915
  }
4913
- var ys = Symbol("radix.slottable");
4914
- function bs(e) {
4915
- return h.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ys;
4916
+ var xs = Symbol("radix.slottable");
4917
+ function Ss(e) {
4918
+ return h.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === xs;
4916
4919
  }
4917
- function xs(e, t) {
4920
+ function Cs(e, t) {
4918
4921
  let n = { ...t };
4919
4922
  for (let r in t) {
4920
4923
  let i = e[r], a = t[r];
@@ -4931,13 +4934,13 @@ function xs(e, t) {
4931
4934
  ...n
4932
4935
  };
4933
4936
  }
4934
- function Ss(e) {
4937
+ function ws(e) {
4935
4938
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
4936
4939
  return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
4937
4940
  }
4938
4941
  //#endregion
4939
4942
  //#region node_modules/@radix-ui/react-primitive/dist/index.mjs
4940
- var Cs = [
4943
+ var Y = [
4941
4944
  "a",
4942
4945
  "button",
4943
4946
  "div",
@@ -4956,7 +4959,7 @@ var Cs = [
4956
4959
  "svg",
4957
4960
  "ul"
4958
4961
  ].reduce((e, t) => {
4959
- let n = /* @__PURE__ */ _s(`Primitive.${t}`), r = h.forwardRef((e, r) => {
4962
+ let n = /* @__PURE__ */ ys(`Primitive.${t}`), r = h.forwardRef((e, r) => {
4960
4963
  let { asChild: i, ...a } = e, o = i ? n : t;
4961
4964
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ w(o, {
4962
4965
  ...a,
@@ -4968,24 +4971,24 @@ var Cs = [
4968
4971
  [t]: r
4969
4972
  };
4970
4973
  }, {});
4971
- function ws(e, t) {
4972
- e && T.flushSync(() => e.dispatchEvent(t));
4974
+ function Ts(e, t) {
4975
+ e && ae.flushSync(() => e.dispatchEvent(t));
4973
4976
  }
4974
4977
  //#endregion
4975
4978
  //#region node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
4976
- var Ts = globalThis?.document ? h.useLayoutEffect : () => {};
4979
+ var Es = globalThis?.document ? h.useLayoutEffect : () => {};
4977
4980
  //#endregion
4978
4981
  //#region node_modules/@radix-ui/react-presence/dist/index.mjs
4979
- function Es(e, t) {
4982
+ function Ds(e, t) {
4980
4983
  return h.useReducer((e, n) => t[e][n] ?? e, e);
4981
4984
  }
4982
- var Ds = (e) => {
4983
- let { present: t, children: n } = e, r = Os(t), i = typeof n == "function" ? n({ present: r.isPresent }) : h.Children.only(n), a = Y(r.ref, As(i));
4985
+ var Os = (e) => {
4986
+ let { present: t, children: n } = e, r = ks(t), i = typeof n == "function" ? n({ present: r.isPresent }) : h.Children.only(n), a = J(r.ref, js(i));
4984
4987
  return typeof n == "function" || r.isPresent ? h.cloneElement(i, { ref: a }) : null;
4985
4988
  };
4986
- Ds.displayName = "Presence";
4987
- function Os(e) {
4988
- let [t, n] = h.useState(), r = h.useRef(null), i = h.useRef(e), a = h.useRef("none"), [o, s] = Es(e ? "mounted" : "unmounted", {
4989
+ Os.displayName = "Presence";
4990
+ function ks(e) {
4991
+ let [t, n] = h.useState(), r = h.useRef(null), i = h.useRef(e), a = h.useRef("none"), [o, s] = Ds(e ? "mounted" : "unmounted", {
4989
4992
  mounted: {
4990
4993
  UNMOUNT: "unmounted",
4991
4994
  ANIMATION_OUT: "unmountSuspended"
@@ -4997,18 +5000,18 @@ function Os(e) {
4997
5000
  unmounted: { MOUNT: "mounted" }
4998
5001
  });
4999
5002
  return h.useEffect(() => {
5000
- let e = ks(r.current);
5003
+ let e = As(r.current);
5001
5004
  a.current = o === "mounted" ? e : "none";
5002
- }, [o]), Ts(() => {
5005
+ }, [o]), Es(() => {
5003
5006
  let t = r.current, n = i.current;
5004
5007
  if (n !== e) {
5005
- let r = a.current, o = ks(t);
5008
+ let r = a.current, o = As(t);
5006
5009
  e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
5007
5010
  }
5008
- }, [e, s]), Ts(() => {
5011
+ }, [e, s]), Es(() => {
5009
5012
  if (t) {
5010
5013
  let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
5011
- let o = ks(r.current).includes(CSS.escape(a.animationName));
5014
+ let o = As(r.current).includes(CSS.escape(a.animationName));
5012
5015
  if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
5013
5016
  let r = t.style.animationFillMode;
5014
5017
  t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
@@ -5016,7 +5019,7 @@ function Os(e) {
5016
5019
  });
5017
5020
  }
5018
5021
  }, c = (e) => {
5019
- e.target === t && (a.current = ks(r.current));
5022
+ e.target === t && (a.current = As(r.current));
5020
5023
  };
5021
5024
  return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
5022
5025
  n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
@@ -5029,16 +5032,16 @@ function Os(e) {
5029
5032
  }, [])
5030
5033
  };
5031
5034
  }
5032
- function ks(e) {
5035
+ function As(e) {
5033
5036
  return e?.animationName || "none";
5034
5037
  }
5035
- function As(e) {
5038
+ function js(e) {
5036
5039
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
5037
5040
  return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
5038
5041
  }
5039
5042
  //#endregion
5040
5043
  //#region node_modules/@radix-ui/react-context/dist/index.mjs
5041
- function js(e, t = []) {
5044
+ function Ms(e, t = []) {
5042
5045
  let n = [];
5043
5046
  function r(t, r) {
5044
5047
  let i = h.createContext(r), a = n.length;
@@ -5069,9 +5072,9 @@ function js(e, t = []) {
5069
5072
  } }), [n, r]);
5070
5073
  };
5071
5074
  };
5072
- return i.scopeName = e, [r, Ms(i, ...t)];
5075
+ return i.scopeName = e, [r, Ns(i, ...t)];
5073
5076
  }
5074
- function Ms(...e) {
5077
+ function Ns(...e) {
5075
5078
  let t = e[0];
5076
5079
  if (e.length === 1) return t;
5077
5080
  let n = () => {
@@ -5102,14 +5105,14 @@ function X(e) {
5102
5105
  }
5103
5106
  //#endregion
5104
5107
  //#region node_modules/@radix-ui/react-direction/dist/index.mjs
5105
- var Ns = h.createContext(void 0);
5106
- function Ps(e) {
5107
- let t = h.useContext(Ns);
5108
+ var Ps = h.createContext(void 0);
5109
+ function Fs(e) {
5110
+ let t = h.useContext(Ps);
5108
5111
  return e || t || "ltr";
5109
5112
  }
5110
5113
  //#endregion
5111
5114
  //#region node_modules/@radix-ui/number/dist/index.mjs
5112
- function Fs(e, [t, n]) {
5115
+ function Is(e, [t, n]) {
5113
5116
  return Math.min(n, Math.max(t, e));
5114
5117
  }
5115
5118
  typeof window < "u" && window.document && window.document.createElement;
@@ -5120,15 +5123,15 @@ function Z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
5120
5123
  }
5121
5124
  //#endregion
5122
5125
  //#region node_modules/@radix-ui/react-scroll-area/dist/index.mjs
5123
- function Is(e, t) {
5126
+ function Ls(e, t) {
5124
5127
  return h.useReducer((e, n) => t[e][n] ?? e, e);
5125
5128
  }
5126
- var Ls = "ScrollArea", [Rs, zs] = js(Ls), [Bs, Q] = Rs(Ls), Vs = h.forwardRef((e, t) => {
5127
- let { __scopeScrollArea: n, type: r = "hover", dir: i, scrollHideDelay: a = 600, ...o } = e, [s, c] = h.useState(null), [l, u] = h.useState(null), [d, f] = h.useState(null), [p, m] = h.useState(null), [g, _] = h.useState(null), [v, y] = h.useState(0), [ee, b] = h.useState(0), [x, te] = h.useState(!1), [S, C] = h.useState(!1), ne = Y(t, (e) => c(e)), re = Ps(i);
5128
- return /* @__PURE__ */ w(Bs, {
5129
+ var Rs = "ScrollArea", [zs, Bs] = Ms(Rs), [Vs, Q] = zs(Rs), Hs = h.forwardRef((e, t) => {
5130
+ let { __scopeScrollArea: n, type: r = "hover", dir: i, scrollHideDelay: a = 600, ...o } = e, [s, c] = h.useState(null), [l, u] = h.useState(null), [d, f] = h.useState(null), [p, m] = h.useState(null), [g, _] = h.useState(null), [v, y] = h.useState(0), [ee, b] = h.useState(0), [x, te] = h.useState(!1), [ne, S] = h.useState(!1), re = J(t, (e) => c(e)), C = Fs(i);
5131
+ return /* @__PURE__ */ w(Vs, {
5129
5132
  scope: n,
5130
5133
  type: r,
5131
- dir: re,
5134
+ dir: C,
5132
5135
  scrollHideDelay: a,
5133
5136
  scrollArea: s,
5134
5137
  viewport: l,
@@ -5141,14 +5144,14 @@ var Ls = "ScrollArea", [Rs, zs] = js(Ls), [Bs, Q] = Rs(Ls), Vs = h.forwardRef((e
5141
5144
  onScrollbarXEnabledChange: te,
5142
5145
  scrollbarY: g,
5143
5146
  onScrollbarYChange: _,
5144
- scrollbarYEnabled: S,
5145
- onScrollbarYEnabledChange: C,
5147
+ scrollbarYEnabled: ne,
5148
+ onScrollbarYEnabledChange: S,
5146
5149
  onCornerWidthChange: y,
5147
5150
  onCornerHeightChange: b,
5148
- children: /* @__PURE__ */ w(Cs.div, {
5149
- dir: re,
5151
+ children: /* @__PURE__ */ w(Y.div, {
5152
+ dir: C,
5150
5153
  ...o,
5151
- ref: ne,
5154
+ ref: re,
5152
5155
  style: {
5153
5156
  position: "relative",
5154
5157
  "--radix-scroll-area-corner-width": v + "px",
@@ -5158,13 +5161,13 @@ var Ls = "ScrollArea", [Rs, zs] = js(Ls), [Bs, Q] = Rs(Ls), Vs = h.forwardRef((e
5158
5161
  })
5159
5162
  });
5160
5163
  });
5161
- Vs.displayName = Ls;
5162
- var Hs = "ScrollAreaViewport", Us = h.forwardRef((e, t) => {
5163
- let { __scopeScrollArea: n, children: r, nonce: i, ...a } = e, o = Q(Hs, n), s = Y(t, h.useRef(null), o.onViewportChange);
5164
- return /* @__PURE__ */ ie(re, { children: [/* @__PURE__ */ w("style", {
5164
+ Hs.displayName = Rs;
5165
+ var Us = "ScrollAreaViewport", Ws = h.forwardRef((e, t) => {
5166
+ let { __scopeScrollArea: n, children: r, nonce: i, ...a } = e, o = Q(Us, n), s = J(t, h.useRef(null), o.onViewportChange);
5167
+ return /* @__PURE__ */ T(ie, { children: [/* @__PURE__ */ w("style", {
5165
5168
  dangerouslySetInnerHTML: { __html: "[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}" },
5166
5169
  nonce: i
5167
- }), /* @__PURE__ */ w(Cs.div, {
5170
+ }), /* @__PURE__ */ w(Y.div, {
5168
5171
  "data-radix-scroll-area-viewport": "",
5169
5172
  ...a,
5170
5173
  ref: s,
@@ -5183,8 +5186,8 @@ var Hs = "ScrollAreaViewport", Us = h.forwardRef((e, t) => {
5183
5186
  })
5184
5187
  })] });
5185
5188
  });
5186
- Us.displayName = Hs;
5187
- var $ = "ScrollAreaScrollbar", Ws = h.forwardRef((e, t) => {
5189
+ Ws.displayName = Us;
5190
+ var $ = "ScrollAreaScrollbar", Gs = h.forwardRef((e, t) => {
5188
5191
  let { forceMount: n, ...r } = e, i = Q($, e.__scopeScrollArea), { onScrollbarXEnabledChange: a, onScrollbarYEnabledChange: o } = i, s = e.orientation === "horizontal";
5189
5192
  return h.useEffect(() => (s ? a(!0) : o(!0), () => {
5190
5193
  s ? a(!1) : o(!1);
@@ -5192,25 +5195,25 @@ var $ = "ScrollAreaScrollbar", Ws = h.forwardRef((e, t) => {
5192
5195
  s,
5193
5196
  a,
5194
5197
  o
5195
- ]), i.type === "hover" ? /* @__PURE__ */ w(Gs, {
5198
+ ]), i.type === "hover" ? /* @__PURE__ */ w(Ks, {
5196
5199
  ...r,
5197
5200
  ref: t,
5198
5201
  forceMount: n
5199
- }) : i.type === "scroll" ? /* @__PURE__ */ w(Ks, {
5202
+ }) : i.type === "scroll" ? /* @__PURE__ */ w(qs, {
5200
5203
  ...r,
5201
5204
  ref: t,
5202
5205
  forceMount: n
5203
- }) : i.type === "auto" ? /* @__PURE__ */ w(qs, {
5206
+ }) : i.type === "auto" ? /* @__PURE__ */ w(Js, {
5204
5207
  ...r,
5205
5208
  ref: t,
5206
5209
  forceMount: n
5207
- }) : i.type === "always" ? /* @__PURE__ */ w(Js, {
5210
+ }) : i.type === "always" ? /* @__PURE__ */ w(Ys, {
5208
5211
  ...r,
5209
5212
  ref: t
5210
5213
  }) : null;
5211
5214
  });
5212
- Ws.displayName = $;
5213
- var Gs = h.forwardRef((e, t) => {
5215
+ Gs.displayName = $;
5216
+ var Ks = h.forwardRef((e, t) => {
5214
5217
  let { forceMount: n, ...r } = e, i = Q($, e.__scopeScrollArea), [a, o] = h.useState(!1);
5215
5218
  return h.useEffect(() => {
5216
5219
  let e = i.scrollArea, t = 0;
@@ -5224,16 +5227,16 @@ var Gs = h.forwardRef((e, t) => {
5224
5227
  window.clearTimeout(t), e.removeEventListener("pointerenter", n), e.removeEventListener("pointerleave", r);
5225
5228
  };
5226
5229
  }
5227
- }, [i.scrollArea, i.scrollHideDelay]), /* @__PURE__ */ w(Ds, {
5230
+ }, [i.scrollArea, i.scrollHideDelay]), /* @__PURE__ */ w(Os, {
5228
5231
  present: n || a,
5229
- children: /* @__PURE__ */ w(qs, {
5232
+ children: /* @__PURE__ */ w(Js, {
5230
5233
  "data-state": a ? "visible" : "hidden",
5231
5234
  ...r,
5232
5235
  ref: t
5233
5236
  })
5234
5237
  });
5235
- }), Ks = h.forwardRef((e, t) => {
5236
- let { forceMount: n, ...r } = e, i = Q($, e.__scopeScrollArea), a = e.orientation === "horizontal", o = mc(() => c("SCROLL_END"), 100), [s, c] = Is("hidden", {
5238
+ }), qs = h.forwardRef((e, t) => {
5239
+ let { forceMount: n, ...r } = e, i = Q($, e.__scopeScrollArea), a = e.orientation === "horizontal", o = hc(() => c("SCROLL_END"), 100), [s, c] = Ls("hidden", {
5237
5240
  hidden: { SCROLL: "scrolling" },
5238
5241
  scrolling: {
5239
5242
  SCROLL_END: "idle",
@@ -5272,9 +5275,9 @@ var Gs = h.forwardRef((e, t) => {
5272
5275
  a,
5273
5276
  c,
5274
5277
  o
5275
- ]), /* @__PURE__ */ w(Ds, {
5278
+ ]), /* @__PURE__ */ w(Os, {
5276
5279
  present: n || s !== "hidden",
5277
- children: /* @__PURE__ */ w(Js, {
5280
+ children: /* @__PURE__ */ w(Ys, {
5278
5281
  "data-state": s === "hidden" ? "hidden" : "visible",
5279
5282
  ...r,
5280
5283
  ref: t,
@@ -5282,22 +5285,22 @@ var Gs = h.forwardRef((e, t) => {
5282
5285
  onPointerLeave: Z(e.onPointerLeave, () => c("POINTER_LEAVE"))
5283
5286
  })
5284
5287
  });
5285
- }), qs = h.forwardRef((e, t) => {
5286
- let n = Q($, e.__scopeScrollArea), { forceMount: r, ...i } = e, [a, o] = h.useState(!1), s = e.orientation === "horizontal", c = mc(() => {
5288
+ }), Js = h.forwardRef((e, t) => {
5289
+ let n = Q($, e.__scopeScrollArea), { forceMount: r, ...i } = e, [a, o] = h.useState(!1), s = e.orientation === "horizontal", c = hc(() => {
5287
5290
  if (n.viewport) {
5288
5291
  let e = n.viewport.offsetWidth < n.viewport.scrollWidth, t = n.viewport.offsetHeight < n.viewport.scrollHeight;
5289
5292
  o(s ? e : t);
5290
5293
  }
5291
5294
  }, 10);
5292
- return hc(n.viewport, c), hc(n.content, c), /* @__PURE__ */ w(Ds, {
5295
+ return gc(n.viewport, c), gc(n.content, c), /* @__PURE__ */ w(Os, {
5293
5296
  present: r || a,
5294
- children: /* @__PURE__ */ w(Js, {
5297
+ children: /* @__PURE__ */ w(Ys, {
5295
5298
  "data-state": a ? "visible" : "hidden",
5296
5299
  ...i,
5297
5300
  ref: t
5298
5301
  })
5299
5302
  });
5300
- }), Js = h.forwardRef((e, t) => {
5303
+ }), Ys = h.forwardRef((e, t) => {
5301
5304
  let { orientation: n = "vertical", ...r } = e, i = Q($, e.__scopeScrollArea), a = h.useRef(null), o = h.useRef(0), [s, c] = h.useState({
5302
5305
  content: 0,
5303
5306
  viewport: 0,
@@ -5306,7 +5309,7 @@ var Gs = h.forwardRef((e, t) => {
5306
5309
  paddingStart: 0,
5307
5310
  paddingEnd: 0
5308
5311
  }
5309
- }), l = sc(s.viewport, s.content), u = {
5312
+ }), l = cc(s.viewport, s.content), u = {
5310
5313
  ...r,
5311
5314
  sizes: s,
5312
5315
  onSizesChange: c,
@@ -5316,14 +5319,14 @@ var Gs = h.forwardRef((e, t) => {
5316
5319
  onThumbPointerDown: (e) => o.current = e
5317
5320
  };
5318
5321
  function d(e, t) {
5319
- return lc(e, o.current, s, t);
5322
+ return uc(e, o.current, s, t);
5320
5323
  }
5321
- return n === "horizontal" ? /* @__PURE__ */ w(Ys, {
5324
+ return n === "horizontal" ? /* @__PURE__ */ w(Xs, {
5322
5325
  ...u,
5323
5326
  ref: t,
5324
5327
  onThumbPositionChange: () => {
5325
5328
  if (i.viewport && a.current) {
5326
- let e = i.viewport.scrollLeft, t = uc(e, s, i.dir);
5329
+ let e = i.viewport.scrollLeft, t = dc(e, s, i.dir);
5327
5330
  a.current.style.transform = `translate3d(${t}px, 0, 0)`;
5328
5331
  }
5329
5332
  },
@@ -5333,12 +5336,12 @@ var Gs = h.forwardRef((e, t) => {
5333
5336
  onDragScroll: (e) => {
5334
5337
  i.viewport && (i.viewport.scrollLeft = d(e, i.dir));
5335
5338
  }
5336
- }) : n === "vertical" ? /* @__PURE__ */ w(Xs, {
5339
+ }) : n === "vertical" ? /* @__PURE__ */ w(Zs, {
5337
5340
  ...u,
5338
5341
  ref: t,
5339
5342
  onThumbPositionChange: () => {
5340
5343
  if (i.viewport && a.current) {
5341
- let e = i.viewport.scrollTop, t = uc(e, s);
5344
+ let e = i.viewport.scrollTop, t = dc(e, s);
5342
5345
  a.current.style.transform = `translate3d(0, ${t}px, 0)`;
5343
5346
  }
5344
5347
  },
@@ -5349,11 +5352,11 @@ var Gs = h.forwardRef((e, t) => {
5349
5352
  i.viewport && (i.viewport.scrollTop = d(e));
5350
5353
  }
5351
5354
  }) : null;
5352
- }), Ys = h.forwardRef((e, t) => {
5353
- let { sizes: n, onSizesChange: r, ...i } = e, a = Q($, e.__scopeScrollArea), [o, s] = h.useState(), c = h.useRef(null), l = Y(t, c, a.onScrollbarXChange);
5355
+ }), Xs = h.forwardRef((e, t) => {
5356
+ let { sizes: n, onSizesChange: r, ...i } = e, a = Q($, e.__scopeScrollArea), [o, s] = h.useState(), c = h.useRef(null), l = J(t, c, a.onScrollbarXChange);
5354
5357
  return h.useEffect(() => {
5355
5358
  c.current && s(getComputedStyle(c.current));
5356
- }, [c]), /* @__PURE__ */ w($s, {
5359
+ }, [c]), /* @__PURE__ */ w(ec, {
5357
5360
  "data-orientation": "horizontal",
5358
5361
  ...i,
5359
5362
  ref: l,
@@ -5362,7 +5365,7 @@ var Gs = h.forwardRef((e, t) => {
5362
5365
  bottom: 0,
5363
5366
  left: a.dir === "rtl" ? "var(--radix-scroll-area-corner-width)" : 0,
5364
5367
  right: a.dir === "ltr" ? "var(--radix-scroll-area-corner-width)" : 0,
5365
- "--radix-scroll-area-thumb-width": cc(n) + "px",
5368
+ "--radix-scroll-area-thumb-width": lc(n) + "px",
5366
5369
  ...e.style
5367
5370
  },
5368
5371
  onThumbPointerDown: (t) => e.onThumbPointerDown(t.x),
@@ -5370,7 +5373,7 @@ var Gs = h.forwardRef((e, t) => {
5370
5373
  onWheelScroll: (t, n) => {
5371
5374
  if (a.viewport) {
5372
5375
  let r = a.viewport.scrollLeft + t.deltaX;
5373
- e.onWheelScroll(r), fc(r, n) && t.preventDefault();
5376
+ e.onWheelScroll(r), pc(r, n) && t.preventDefault();
5374
5377
  }
5375
5378
  },
5376
5379
  onResize: () => {
@@ -5379,17 +5382,17 @@ var Gs = h.forwardRef((e, t) => {
5379
5382
  viewport: a.viewport.offsetWidth,
5380
5383
  scrollbar: {
5381
5384
  size: c.current.clientWidth,
5382
- paddingStart: oc(o.paddingLeft),
5383
- paddingEnd: oc(o.paddingRight)
5385
+ paddingStart: sc(o.paddingLeft),
5386
+ paddingEnd: sc(o.paddingRight)
5384
5387
  }
5385
5388
  });
5386
5389
  }
5387
5390
  });
5388
- }), Xs = h.forwardRef((e, t) => {
5389
- let { sizes: n, onSizesChange: r, ...i } = e, a = Q($, e.__scopeScrollArea), [o, s] = h.useState(), c = h.useRef(null), l = Y(t, c, a.onScrollbarYChange);
5391
+ }), Zs = h.forwardRef((e, t) => {
5392
+ let { sizes: n, onSizesChange: r, ...i } = e, a = Q($, e.__scopeScrollArea), [o, s] = h.useState(), c = h.useRef(null), l = J(t, c, a.onScrollbarYChange);
5390
5393
  return h.useEffect(() => {
5391
5394
  c.current && s(getComputedStyle(c.current));
5392
- }, [c]), /* @__PURE__ */ w($s, {
5395
+ }, [c]), /* @__PURE__ */ w(ec, {
5393
5396
  "data-orientation": "vertical",
5394
5397
  ...i,
5395
5398
  ref: l,
@@ -5399,7 +5402,7 @@ var Gs = h.forwardRef((e, t) => {
5399
5402
  right: a.dir === "ltr" ? 0 : void 0,
5400
5403
  left: a.dir === "rtl" ? 0 : void 0,
5401
5404
  bottom: "var(--radix-scroll-area-corner-height)",
5402
- "--radix-scroll-area-thumb-height": cc(n) + "px",
5405
+ "--radix-scroll-area-thumb-height": lc(n) + "px",
5403
5406
  ...e.style
5404
5407
  },
5405
5408
  onThumbPointerDown: (t) => e.onThumbPointerDown(t.y),
@@ -5407,7 +5410,7 @@ var Gs = h.forwardRef((e, t) => {
5407
5410
  onWheelScroll: (t, n) => {
5408
5411
  if (a.viewport) {
5409
5412
  let r = a.viewport.scrollTop + t.deltaY;
5410
- e.onWheelScroll(r), fc(r, n) && t.preventDefault();
5413
+ e.onWheelScroll(r), pc(r, n) && t.preventDefault();
5411
5414
  }
5412
5415
  },
5413
5416
  onResize: () => {
@@ -5416,15 +5419,15 @@ var Gs = h.forwardRef((e, t) => {
5416
5419
  viewport: a.viewport.offsetHeight,
5417
5420
  scrollbar: {
5418
5421
  size: c.current.clientHeight,
5419
- paddingStart: oc(o.paddingTop),
5420
- paddingEnd: oc(o.paddingBottom)
5422
+ paddingStart: sc(o.paddingTop),
5423
+ paddingEnd: sc(o.paddingBottom)
5421
5424
  }
5422
5425
  });
5423
5426
  }
5424
5427
  });
5425
- }), [Zs, Qs] = Rs($), $s = h.forwardRef((e, t) => {
5426
- let { __scopeScrollArea: n, sizes: r, hasThumb: i, onThumbChange: a, onThumbPointerUp: o, onThumbPointerDown: s, onThumbPositionChange: c, onDragScroll: l, onWheelScroll: u, onResize: d, ...f } = e, p = Q($, n), [m, g] = h.useState(null), _ = Y(t, (e) => g(e)), v = h.useRef(null), y = h.useRef(""), ee = p.viewport, b = r.content - r.viewport, x = X(u), te = X(c), S = mc(d, 10);
5427
- function C(e) {
5428
+ }), [Qs, $s] = zs($), ec = h.forwardRef((e, t) => {
5429
+ let { __scopeScrollArea: n, sizes: r, hasThumb: i, onThumbChange: a, onThumbPointerUp: o, onThumbPointerDown: s, onThumbPositionChange: c, onDragScroll: l, onWheelScroll: u, onResize: d, ...f } = e, p = Q($, n), [m, g] = h.useState(null), _ = J(t, (e) => g(e)), v = h.useRef(null), y = h.useRef(""), ee = p.viewport, b = r.content - r.viewport, x = X(u), te = X(c), ne = hc(d, 10);
5430
+ function S(e) {
5428
5431
  v.current && l({
5429
5432
  x: e.clientX - v.current.left,
5430
5433
  y: e.clientY - v.current.top
@@ -5441,7 +5444,7 @@ var Gs = h.forwardRef((e, t) => {
5441
5444
  m,
5442
5445
  b,
5443
5446
  x
5444
- ]), h.useEffect(te, [r, te]), hc(m, S), hc(p.content, S), /* @__PURE__ */ w(Zs, {
5447
+ ]), h.useEffect(te, [r, te]), gc(m, ne), gc(p.content, ne), /* @__PURE__ */ w(Qs, {
5445
5448
  scope: n,
5446
5449
  scrollbar: m,
5447
5450
  hasThumb: i,
@@ -5449,7 +5452,7 @@ var Gs = h.forwardRef((e, t) => {
5449
5452
  onThumbPointerUp: X(o),
5450
5453
  onThumbPositionChange: te,
5451
5454
  onThumbPointerDown: X(s),
5452
- children: /* @__PURE__ */ w(Cs.div, {
5455
+ children: /* @__PURE__ */ w(Y.div, {
5453
5456
  ...f,
5454
5457
  ref: _,
5455
5458
  style: {
@@ -5457,33 +5460,33 @@ var Gs = h.forwardRef((e, t) => {
5457
5460
  ...f.style
5458
5461
  },
5459
5462
  onPointerDown: Z(e.onPointerDown, (e) => {
5460
- e.button === 0 && (e.target.setPointerCapture(e.pointerId), v.current = m.getBoundingClientRect(), y.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", p.viewport && (p.viewport.style.scrollBehavior = "auto"), C(e));
5463
+ e.button === 0 && (e.target.setPointerCapture(e.pointerId), v.current = m.getBoundingClientRect(), y.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", p.viewport && (p.viewport.style.scrollBehavior = "auto"), S(e));
5461
5464
  }),
5462
- onPointerMove: Z(e.onPointerMove, C),
5465
+ onPointerMove: Z(e.onPointerMove, S),
5463
5466
  onPointerUp: Z(e.onPointerUp, (e) => {
5464
5467
  let t = e.target;
5465
5468
  t.hasPointerCapture(e.pointerId) && t.releasePointerCapture(e.pointerId), document.body.style.webkitUserSelect = y.current, p.viewport && (p.viewport.style.scrollBehavior = ""), v.current = null;
5466
5469
  })
5467
5470
  })
5468
5471
  });
5469
- }), ec = "ScrollAreaThumb", tc = h.forwardRef((e, t) => {
5470
- let { forceMount: n, ...r } = e, i = Qs(ec, e.__scopeScrollArea);
5471
- return /* @__PURE__ */ w(Ds, {
5472
+ }), tc = "ScrollAreaThumb", nc = h.forwardRef((e, t) => {
5473
+ let { forceMount: n, ...r } = e, i = $s(tc, e.__scopeScrollArea);
5474
+ return /* @__PURE__ */ w(Os, {
5472
5475
  present: n || i.hasThumb,
5473
- children: /* @__PURE__ */ w(nc, {
5476
+ children: /* @__PURE__ */ w(rc, {
5474
5477
  ref: t,
5475
5478
  ...r
5476
5479
  })
5477
5480
  });
5478
- }), nc = h.forwardRef((e, t) => {
5479
- let { __scopeScrollArea: n, style: r, ...i } = e, a = Q(ec, n), o = Qs(ec, n), { onThumbPositionChange: s } = o, c = Y(t, (e) => o.onThumbChange(e)), l = h.useRef(void 0), u = mc(() => {
5481
+ }), rc = h.forwardRef((e, t) => {
5482
+ let { __scopeScrollArea: n, style: r, ...i } = e, a = Q(tc, n), o = $s(tc, n), { onThumbPositionChange: s } = o, c = J(t, (e) => o.onThumbChange(e)), l = h.useRef(void 0), u = hc(() => {
5480
5483
  l.current && (l.current(), l.current = void 0);
5481
5484
  }, 100);
5482
5485
  return h.useEffect(() => {
5483
5486
  let e = a.viewport;
5484
5487
  if (e) {
5485
5488
  let t = () => {
5486
- u(), l.current || (l.current = pc(e, s), s());
5489
+ u(), l.current || (l.current = mc(e, s), s());
5487
5490
  };
5488
5491
  return s(), e.addEventListener("scroll", t), () => e.removeEventListener("scroll", t);
5489
5492
  }
@@ -5491,7 +5494,7 @@ var Gs = h.forwardRef((e, t) => {
5491
5494
  a.viewport,
5492
5495
  u,
5493
5496
  s
5494
- ]), /* @__PURE__ */ w(Cs.div, {
5497
+ ]), /* @__PURE__ */ w(Y.div, {
5495
5498
  "data-state": o.hasThumb ? "visible" : "hidden",
5496
5499
  ...i,
5497
5500
  ref: c,
@@ -5510,24 +5513,24 @@ var Gs = h.forwardRef((e, t) => {
5510
5513
  onPointerUp: Z(e.onPointerUp, o.onThumbPointerUp)
5511
5514
  });
5512
5515
  });
5513
- tc.displayName = ec;
5514
- var rc = "ScrollAreaCorner", ic = h.forwardRef((e, t) => {
5515
- let n = Q(rc, e.__scopeScrollArea), r = !!(n.scrollbarX && n.scrollbarY);
5516
- return n.type !== "scroll" && r ? /* @__PURE__ */ w(ac, {
5516
+ nc.displayName = tc;
5517
+ var ic = "ScrollAreaCorner", ac = h.forwardRef((e, t) => {
5518
+ let n = Q(ic, e.__scopeScrollArea), r = !!(n.scrollbarX && n.scrollbarY);
5519
+ return n.type !== "scroll" && r ? /* @__PURE__ */ w(oc, {
5517
5520
  ...e,
5518
5521
  ref: t
5519
5522
  }) : null;
5520
5523
  });
5521
- ic.displayName = rc;
5522
- var ac = h.forwardRef((e, t) => {
5523
- let { __scopeScrollArea: n, ...r } = e, i = Q(rc, n), [a, o] = h.useState(0), [s, c] = h.useState(0), l = !!(a && s);
5524
- return hc(i.scrollbarX, () => {
5524
+ ac.displayName = ic;
5525
+ var oc = h.forwardRef((e, t) => {
5526
+ let { __scopeScrollArea: n, ...r } = e, i = Q(ic, n), [a, o] = h.useState(0), [s, c] = h.useState(0), l = !!(a && s);
5527
+ return gc(i.scrollbarX, () => {
5525
5528
  let e = i.scrollbarX?.offsetHeight || 0;
5526
5529
  i.onCornerHeightChange(e), c(e);
5527
- }), hc(i.scrollbarY, () => {
5530
+ }), gc(i.scrollbarY, () => {
5528
5531
  let e = i.scrollbarY?.offsetWidth || 0;
5529
5532
  i.onCornerWidthChange(e), o(e);
5530
- }), l ? /* @__PURE__ */ w(Cs.div, {
5533
+ }), l ? /* @__PURE__ */ w(Y.div, {
5531
5534
  ...r,
5532
5535
  ref: t,
5533
5536
  style: {
@@ -5541,36 +5544,36 @@ var ac = h.forwardRef((e, t) => {
5541
5544
  }
5542
5545
  }) : null;
5543
5546
  });
5544
- function oc(e) {
5547
+ function sc(e) {
5545
5548
  return e ? parseInt(e, 10) : 0;
5546
5549
  }
5547
- function sc(e, t) {
5550
+ function cc(e, t) {
5548
5551
  let n = e / t;
5549
5552
  return isNaN(n) ? 0 : n;
5550
5553
  }
5551
- function cc(e) {
5552
- let t = sc(e.viewport, e.content), n = e.scrollbar.paddingStart + e.scrollbar.paddingEnd, r = (e.scrollbar.size - n) * t;
5554
+ function lc(e) {
5555
+ let t = cc(e.viewport, e.content), n = e.scrollbar.paddingStart + e.scrollbar.paddingEnd, r = (e.scrollbar.size - n) * t;
5553
5556
  return Math.max(r, 18);
5554
5557
  }
5555
- function lc(e, t, n, r = "ltr") {
5556
- let i = cc(n), a = i / 2, o = t || a, s = i - o, c = n.scrollbar.paddingStart + o, l = n.scrollbar.size - n.scrollbar.paddingEnd - s, u = n.content - n.viewport, d = r === "ltr" ? [0, u] : [u * -1, 0];
5557
- return dc([c, l], d)(e);
5558
+ function uc(e, t, n, r = "ltr") {
5559
+ let i = lc(n), a = i / 2, o = t || a, s = i - o, c = n.scrollbar.paddingStart + o, l = n.scrollbar.size - n.scrollbar.paddingEnd - s, u = n.content - n.viewport, d = r === "ltr" ? [0, u] : [u * -1, 0];
5560
+ return fc([c, l], d)(e);
5558
5561
  }
5559
- function uc(e, t, n = "ltr") {
5560
- let r = cc(t), i = t.scrollbar.paddingStart + t.scrollbar.paddingEnd, a = t.scrollbar.size - i, o = t.content - t.viewport, s = a - r, c = Fs(e, n === "ltr" ? [0, o] : [o * -1, 0]);
5561
- return dc([0, o], [0, s])(c);
5562
+ function dc(e, t, n = "ltr") {
5563
+ let r = lc(t), i = t.scrollbar.paddingStart + t.scrollbar.paddingEnd, a = t.scrollbar.size - i, o = t.content - t.viewport, s = a - r, c = Is(e, n === "ltr" ? [0, o] : [o * -1, 0]);
5564
+ return fc([0, o], [0, s])(c);
5562
5565
  }
5563
- function dc(e, t) {
5566
+ function fc(e, t) {
5564
5567
  return (n) => {
5565
5568
  if (e[0] === e[1] || t[0] === t[1]) return t[0];
5566
5569
  let r = (t[1] - t[0]) / (e[1] - e[0]);
5567
5570
  return t[0] + r * (n - e[0]);
5568
5571
  };
5569
5572
  }
5570
- function fc(e, t) {
5573
+ function pc(e, t) {
5571
5574
  return e > 0 && e < t;
5572
5575
  }
5573
- var pc = (e, t = () => {}) => {
5576
+ var mc = (e, t = () => {}) => {
5574
5577
  let n = {
5575
5578
  left: e.scrollLeft,
5576
5579
  top: e.scrollTop
@@ -5583,15 +5586,15 @@ var pc = (e, t = () => {}) => {
5583
5586
  (o || s) && t(), n = a, r = window.requestAnimationFrame(i);
5584
5587
  })(), () => window.cancelAnimationFrame(r);
5585
5588
  };
5586
- function mc(e, t) {
5589
+ function hc(e, t) {
5587
5590
  let n = X(e), r = h.useRef(0);
5588
5591
  return h.useEffect(() => () => window.clearTimeout(r.current), []), h.useCallback(() => {
5589
5592
  window.clearTimeout(r.current), r.current = window.setTimeout(n, t);
5590
5593
  }, [n, t]);
5591
5594
  }
5592
- function hc(e, t) {
5595
+ function gc(e, t) {
5593
5596
  let n = X(t);
5594
- Ts(() => {
5597
+ Es(() => {
5595
5598
  let t = 0;
5596
5599
  if (e) {
5597
5600
  let r = new ResizeObserver(() => {
@@ -5603,34 +5606,34 @@ function hc(e, t) {
5603
5606
  }
5604
5607
  }, [e, n]);
5605
5608
  }
5606
- var gc = Vs, _c = Us, vc = ic;
5609
+ var _c = Hs, vc = Ws, yc = ac;
5607
5610
  //#endregion
5608
5611
  //#region components/ui/scroll-area.tsx
5609
- function yc({ className: e, viewportRef: t, children: n, onScroll: r, ...i }) {
5610
- return /* @__PURE__ */ ie(gc, {
5612
+ function bc({ className: e, viewportRef: t, children: n, onScroll: r, ...i }) {
5613
+ return /* @__PURE__ */ T(_c, {
5611
5614
  "data-slot": "scroll-area",
5612
5615
  className: f("relative min-h-0 min-w-0 overflow-hidden", e),
5613
5616
  ...i,
5614
5617
  children: [
5615
- /* @__PURE__ */ w(_c, {
5618
+ /* @__PURE__ */ w(vc, {
5616
5619
  ref: t,
5617
5620
  "data-slot": "scroll-area-viewport",
5618
5621
  onScroll: r,
5619
5622
  className: f("h-full w-full rounded-[inherit]", "[&>div]:!block [&>div]:!w-full [&>div]:!max-w-full", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-wx-primary/40"),
5620
5623
  children: n
5621
5624
  }),
5622
- /* @__PURE__ */ w(bc, {}),
5623
- /* @__PURE__ */ w(vc, {})
5625
+ /* @__PURE__ */ w(xc, {}),
5626
+ /* @__PURE__ */ w(yc, {})
5624
5627
  ]
5625
5628
  });
5626
5629
  }
5627
- function bc({ className: e, orientation: t = "vertical", ...n }) {
5628
- return /* @__PURE__ */ w(Ws, {
5630
+ function xc({ className: e, orientation: t = "vertical", ...n }) {
5631
+ return /* @__PURE__ */ w(Gs, {
5629
5632
  "data-slot": "scroll-area-scrollbar",
5630
5633
  orientation: t,
5631
5634
  className: f("flex touch-none select-none transition-opacity duration-150", "opacity-0 data-[state=visible]:opacity-100", "hover:opacity-100", t === "vertical" && "h-full w-1.5 border-l border-l-transparent p-px", t === "horizontal" && "h-1.5 flex-col border-t border-t-transparent p-px", e),
5632
5635
  ...n,
5633
- children: /* @__PURE__ */ w(tc, {
5636
+ children: /* @__PURE__ */ w(nc, {
5634
5637
  "data-slot": "scroll-area-thumb",
5635
5638
  className: f("relative flex-1 rounded-full", "bg-wx-fg-muted/40 hover:bg-wx-fg-muted/60 transition-colors")
5636
5639
  })
@@ -5638,8 +5641,8 @@ function bc({ className: e, orientation: t = "vertical", ...n }) {
5638
5641
  }
5639
5642
  //#endregion
5640
5643
  //#region components/widget/tabs/messages-tab/message/media-lightbox.tsx
5641
- function xc({ items: e, initialIndex: t, open: r, onClose: i }) {
5642
- let a = d("lightbox"), [o, s] = ne(t), c = ko(), l = c.embedded ?? !1, u = !l || (c.lightboxViewport ?? !1);
5644
+ function Sc({ items: e, initialIndex: t, open: r, onClose: i }) {
5645
+ let a = d("lightbox"), [o, s] = C(t), c = jo(), l = c.embedded ?? !1, u = !l || (c.lightboxViewport ?? !0);
5643
5646
  b(() => {
5644
5647
  r && s(t);
5645
5648
  }, [r, t]);
@@ -5666,7 +5669,7 @@ function xc({ items: e, initialIndex: t, open: r, onClose: i }) {
5666
5669
  u
5667
5670
  ]);
5668
5671
  let _ = l ? c.themeRoot ?? null : typeof document < "u" ? document.body : null;
5669
- return _ ? ae(/* @__PURE__ */ w(Co, { children: r && m && /* @__PURE__ */ ie(n.div, {
5672
+ return _ ? oe(/* @__PURE__ */ w(To, { children: r && m && /* @__PURE__ */ T(n.div, {
5670
5673
  initial: { opacity: 0 },
5671
5674
  animate: { opacity: 1 },
5672
5675
  exit: { opacity: 0 },
@@ -5684,16 +5687,16 @@ function xc({ items: e, initialIndex: t, open: r, onClose: i }) {
5684
5687
  },
5685
5688
  "aria-label": a("close"),
5686
5689
  className: f("absolute top-4 right-4 z-10 flex h-9 w-9 items-center justify-center rounded-full", "bg-white/10 text-white transition-colors hover:bg-white/20"),
5687
- children: /* @__PURE__ */ w(ss, { size: 18 })
5690
+ children: /* @__PURE__ */ w(ls, { size: 18 })
5688
5691
  }),
5689
- p > 1 && /* @__PURE__ */ ie(re, { children: [/* @__PURE__ */ w("button", {
5692
+ p > 1 && /* @__PURE__ */ T(ie, { children: [/* @__PURE__ */ w("button", {
5690
5693
  type: "button",
5691
5694
  onClick: (e) => {
5692
5695
  e.stopPropagation(), g();
5693
5696
  },
5694
5697
  "aria-label": a("previous"),
5695
5698
  className: f("absolute left-4 top-1/2 z-10 -translate-y-1/2 flex h-10 w-10 items-center justify-center rounded-full", "bg-white/10 text-white transition-colors hover:bg-white/20"),
5696
- children: /* @__PURE__ */ w(as, { size: 20 })
5699
+ children: /* @__PURE__ */ w(ss, { size: 20 })
5697
5700
  }), /* @__PURE__ */ w("button", {
5698
5701
  type: "button",
5699
5702
  onClick: (e) => {
@@ -5701,7 +5704,7 @@ function xc({ items: e, initialIndex: t, open: r, onClose: i }) {
5701
5704
  },
5702
5705
  "aria-label": a("next"),
5703
5706
  className: f("absolute right-4 top-1/2 z-10 -translate-y-1/2 flex h-10 w-10 items-center justify-center rounded-full", "bg-white/10 text-white transition-colors hover:bg-white/20"),
5704
- children: /* @__PURE__ */ w(os, { size: 20 })
5707
+ children: /* @__PURE__ */ w(cs, { size: 20 })
5705
5708
  })] }),
5706
5709
  /* @__PURE__ */ w(n.div, {
5707
5710
  initial: {
@@ -5750,7 +5753,7 @@ function xc({ items: e, initialIndex: t, open: r, onClose: i }) {
5750
5753
  className: f("pointer-events-auto rounded-wx-lg object-contain", p > 1 && "cursor-grab active:cursor-grabbing", u ? "max-h-[90vh] max-w-[90vw]" : "max-h-full max-w-full")
5751
5754
  })
5752
5755
  }, `${o}-${m.url}`),
5753
- p > 1 && /* @__PURE__ */ ie("div", {
5756
+ p > 1 && /* @__PURE__ */ T("div", {
5754
5757
  className: "absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full bg-white/10 px-3 py-1 text-xs font-medium text-white",
5755
5758
  children: [
5756
5759
  o + 1,
@@ -5762,6 +5765,148 @@ function xc({ items: e, initialIndex: t, open: r, onClose: i }) {
5762
5765
  }, "media-lightbox") }), _) : null;
5763
5766
  }
5764
5767
  //#endregion
5765
- export { Gi as $, tt as $t, eo as A, Rn as At, Sa as B, sn as Bt, Uo as C, Wn as Ct, To as D, Hn as Dt, ko as E, Un as Et, Xa as F, wn as Ft, ca as G, $t as Gt, _a as H, on as Ht, J as I, Sn as It, U as J, Vt as Jt, la as K, Yt as Kt, Va as L, yn as Lt, to as M, En as Mt, so as N, Dn as Nt, Co as O, or as Ot, qa as P, Tn as Pt, V as Q, Lt as Qt, G as R, cn as Rt, qo as S, sr as St, Oo as T, lr as Tt, pa as U, tn as Ut, W as V, un as Vt, fa as W, Qt as Wt, qi as X, zt as Xt, Ji as Y, Bt as Yt, B as Z, It as Zt, ss as _, dr as _t, Ps as a, xe as an, ji as at, rs as b, ar as bt, Ts as c, E as cn, ii as ct, us as d, ue as dn, wr as dt, M as en, zi as et, hs as f, ce as fn, ur as ft, Y as g, gr as gt, ls as h, pr as ht, Fs as i, Se as in, Fi as it, ao as j, On as jt, po as k, tr as kt, Cs as l, le as ln, ni as lt, ps as m, hr as mt, yc as n, A as nn, Li as nt, X as o, k as on, Oi as ot, ms as p, D as pn, _r as pt, ua as q, Wt as qt, Z as r, we as rn, Ii as rt, js as s, ve as sn, ri as st, xc as t, ke as tn, Ri as tt, ws as u, se as un, Qr as ut, os as v, fr as vt, Mo as w, cr as wt, Jo as x, ir as xt, is as y, mr as yt, ba as z, ln as zt };
5768
+ //#region lib/content-languages.ts
5769
+ var Cc = [
5770
+ {
5771
+ value: "en",
5772
+ label: "English"
5773
+ },
5774
+ {
5775
+ value: "en-US",
5776
+ label: "English (US)"
5777
+ },
5778
+ {
5779
+ value: "en-GB",
5780
+ label: "English (UK)"
5781
+ },
5782
+ {
5783
+ value: "uk",
5784
+ label: "Українська"
5785
+ },
5786
+ {
5787
+ value: "de",
5788
+ label: "Deutsch"
5789
+ },
5790
+ {
5791
+ value: "es",
5792
+ label: "Español"
5793
+ },
5794
+ {
5795
+ value: "es-MX",
5796
+ label: "Español (México)"
5797
+ },
5798
+ {
5799
+ value: "fr",
5800
+ label: "Français"
5801
+ },
5802
+ {
5803
+ value: "it",
5804
+ label: "Italiano"
5805
+ },
5806
+ {
5807
+ value: "pt",
5808
+ label: "Português"
5809
+ },
5810
+ {
5811
+ value: "pt-BR",
5812
+ label: "Português (Brasil)"
5813
+ },
5814
+ {
5815
+ value: "nl",
5816
+ label: "Nederlands"
5817
+ },
5818
+ {
5819
+ value: "pl",
5820
+ label: "Polski"
5821
+ },
5822
+ {
5823
+ value: "tr",
5824
+ label: "Türkçe"
5825
+ },
5826
+ {
5827
+ value: "cs",
5828
+ label: "Čeština"
5829
+ },
5830
+ {
5831
+ value: "sk",
5832
+ label: "Slovenčina"
5833
+ },
5834
+ {
5835
+ value: "ro",
5836
+ label: "Română"
5837
+ },
5838
+ {
5839
+ value: "hu",
5840
+ label: "Magyar"
5841
+ },
5842
+ {
5843
+ value: "el",
5844
+ label: "Ελληνικά"
5845
+ },
5846
+ {
5847
+ value: "sv",
5848
+ label: "Svenska"
5849
+ },
5850
+ {
5851
+ value: "da",
5852
+ label: "Dansk"
5853
+ },
5854
+ {
5855
+ value: "no",
5856
+ label: "Norsk"
5857
+ },
5858
+ {
5859
+ value: "fi",
5860
+ label: "Suomi"
5861
+ },
5862
+ {
5863
+ value: "ar",
5864
+ label: "العربية"
5865
+ },
5866
+ {
5867
+ value: "he",
5868
+ label: "עברית"
5869
+ },
5870
+ {
5871
+ value: "hi",
5872
+ label: "हिन्दी"
5873
+ },
5874
+ {
5875
+ value: "th",
5876
+ label: "ไทย"
5877
+ },
5878
+ {
5879
+ value: "vi",
5880
+ label: "Tiếng Việt"
5881
+ },
5882
+ {
5883
+ value: "id",
5884
+ label: "Bahasa Indonesia"
5885
+ },
5886
+ {
5887
+ value: "ja",
5888
+ label: "日本語"
5889
+ },
5890
+ {
5891
+ value: "ko",
5892
+ label: "한국어"
5893
+ },
5894
+ {
5895
+ value: "zh",
5896
+ label: "中文(简体)"
5897
+ },
5898
+ {
5899
+ value: "zh-TW",
5900
+ label: "中文(繁體)"
5901
+ }
5902
+ ];
5903
+ function wc(e) {
5904
+ let t = Cc.find((t) => t.value === e);
5905
+ if (t) return t.label;
5906
+ let n = e.split("-")[0].toLowerCase(), r = Cc.find((e) => e.value === n);
5907
+ return r ? r.label : n.toUpperCase();
5908
+ }
5909
+ //#endregion
5910
+ export { V as $, Rt as $t, ho as A, nr as At, xa as B, un as Bt, Yo as C, cr as Ct, jo as D, Wn as Dt, Ao as E, ur as Et, Ya as F, En as Ft, pa as G, $t as Gt, W as H, dn as Ht, Qa as I, Tn as It, da as J, Gt as Jt, la as K, en as Kt, q as L, Cn as Lt, so as M, kn as Mt, ro as N, Dn as Nt, Do as O, Un as Ot, lo as P, On as Pt, B as Q, Lt as Qt, Ua as R, bn as Rt, Xo as S, ar as St, Po as T, lr as Tt, va as U, sn as Ut, Ca as V, cn as Vt, ma as W, nn as Wt, Yi as X, Vt as Xt, U as Y, Ht as Yt, Ji as Z, Bt as Zt, J as _, _r as _t, Is as a, Ce as an, Ii as at, os as b, hr as bt, Ms as c, ye as cn, ii as ct, Ts as d, ce as dn, $r as dt, nt as en, Ki as et, fs as f, de as fn, Tr as ft, ds as g, mr as gt, hs as h, gr as ht, Z as i, Te as in, Li as it, no as j, zn as jt, To as k, sr as kt, Es as l, E as ln, ai as lt, gs as m, D as mn, vr as mt, Sc as n, Ae as nn, zi as nt, Fs as o, Se as on, Mi as ot, _s as p, le as pn, dr as pt, ua as q, Xt as qt, bc as r, A as rn, Ri as rt, X as s, k as sn, ki as st, wc as t, M as tn, Bi as tt, Y as u, ue as un, ri as ut, ls as v, fr as vt, Go as w, Gn as wt, as as x, or as xt, cs as y, pr as yt, Pa as z, ln as zt };
5766
5911
 
5767
- //# sourceMappingURL=widget-react-BfPdgAQ-.js.map
5912
+ //# sourceMappingURL=widget-react-A2LiLuw0.js.map