@sourcegraph/amp 0.0.1748751230-ga82eb7 → 0.0.1748779332-gb5cb75

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 (39) hide show
  1. package/dist/amp.js +2 -2
  2. package/dist/{console-BHPG7ghh.js → console-BEoM5C3l.js} +10 -10
  3. package/dist/{console-BHPG7ghh.js.map → console-BEoM5C3l.js.map} +1 -1
  4. package/dist/{create_file.node-BfhNTTlb.js → create_file.node-BFS-uX0h.js} +2 -2
  5. package/dist/{create_file.node-BfhNTTlb.js.map → create_file.node-BFS-uX0h.js.map} +1 -1
  6. package/dist/{edit_file.node-DfNYbY3f.js → edit_file.node-D0utnpOc.js} +3 -3
  7. package/dist/{edit_file.node-DfNYbY3f.js.map → edit_file.node-D0utnpOc.js.map} +1 -1
  8. package/dist/{executable-Bg-Dnv9N.js → executable-Bm7iL2Wr.js} +2 -2
  9. package/dist/{executable-Bg-Dnv9N.js.map → executable-Bm7iL2Wr.js.map} +1 -1
  10. package/dist/{files-Ce5pZkWD.js → files-8V4d25dw.js} +2 -2
  11. package/dist/{files-Ce5pZkWD.js.map → files-8V4d25dw.js.map} +1 -1
  12. package/dist/{glob.node-RxL5iYzN.js → glob.node-CxhUfk73.js} +3 -3
  13. package/dist/{glob.node-RxL5iYzN.js.map → glob.node-CxhUfk73.js.map} +1 -1
  14. package/dist/{list_directory.node-DGhzMMXH.js → list_directory.node-BvKQRegC.js} +2 -2
  15. package/dist/{list_directory.node-DGhzMMXH.js.map → list_directory.node-BvKQRegC.js.map} +1 -1
  16. package/dist/{load-profile-DM9rbkOm.js → load-profile-DRELVkLs.js} +2 -2
  17. package/dist/{load-profile-DM9rbkOm.js.map → load-profile-DRELVkLs.js.map} +1 -1
  18. package/dist/{main-00oKVtTe.js → main-BNsPGXov.js} +501 -501
  19. package/dist/{main-00oKVtTe.js.map → main-BNsPGXov.js.map} +1 -1
  20. package/dist/{node-DmYohWBm.js → node-BuGshbyJ.js} +3 -3
  21. package/dist/{node-DmYohWBm.js.map → node-BuGshbyJ.js.map} +1 -1
  22. package/dist/{node-DO1f17bA.js → node-CcCnjzdp.js} +3 -3
  23. package/dist/{node-DO1f17bA.js.map → node-CcCnjzdp.js.map} +1 -1
  24. package/dist/{node-BHXqdrs5.js → node-DHEAQDoa.js} +2 -2
  25. package/dist/{node-BHXqdrs5.js.map → node-DHEAQDoa.js.map} +1 -1
  26. package/dist/{node-CQtpFy7X.js → node-DLBHbpFn.js} +3 -3
  27. package/dist/{node-CQtpFy7X.js.map → node-DLBHbpFn.js.map} +1 -1
  28. package/dist/{node-OczSPdLb.js → node-Dd5TcLk4.js} +3 -3
  29. package/dist/{node-OczSPdLb.js.map → node-Dd5TcLk4.js.map} +1 -1
  30. package/dist/{node-Cp6INRFE.js → node-xakp4FYv.js} +2 -2
  31. package/dist/{node-Cp6INRFE.js.map → node-xakp4FYv.js.map} +1 -1
  32. package/dist/{read_file.node-2VqMj-ax.js → read_file.node-Bh95y2qD.js} +2 -2
  33. package/dist/{read_file.node-2VqMj-ax.js.map → read_file.node-Bh95y2qD.js.map} +1 -1
  34. package/dist/{stdio-CO70V3Ze.js → stdio-B64CMOKT.js} +3 -3
  35. package/dist/{stdio-CO70V3Ze.js.map → stdio-B64CMOKT.js.map} +1 -1
  36. package/dist/storybook.js +1 -1
  37. package/dist/{undo_edit.node-B6m1Nlh6.js → undo_edit.node-BZBcJgmC.js} +2 -2
  38. package/dist/{undo_edit.node-B6m1Nlh6.js.map → undo_edit.node-BZBcJgmC.js.map} +1 -1
  39. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
- import { B as _i, O as Qt, s as fn, c as UE, a as Jn, b as nc, f as pt, d as ta, p as es, m as Et, e as ha, g as un, h as pa, i as KO, j as qE, k as ic, M as Qn, l as JO, n as ie, N as vu, o as Um, r as Fr, q as qm, t as YO, u as jO, v as Bm, w as ZO, x as QO, y as Jy, z as Ru, A as XO, C as eM, D as tM, E as rM, F as nM, G as iM, H as oM, I as sM, J as aM, K as lM, L as uM, P as cM, Q as fM, R as dM, S as hM, T as pM, U as ku, V as BE, W as mM, X as gM, Y as Sn, Z as vM, _ as yM, $ as vW, a0 as ra, a1 as _M, a2 as wM, a3 as bM, a4 as Zi, a5 as VE, a6 as SM, a7 as wi, a8 as HE, a9 as GE, aa as EM, ab as TM, ac as Yp, ad as CM, ae as AM, af as PM, ag as xM, ah as IM, ai as id, aj as RM, ak as WE, al as Yy, am as kM, an as OM, ao as MM, ap as LM, aq as NM, ar as DM, as as FM, at as $M, au as UM, av as qM, aw as BM, ax as jy, ay as VM, az as HM, aA as GM, aB as zE, aC as jp, aD as Tt, aE as WM, aF as zM, aG as KM, aH as Zy, aI as Qy, aJ as Xy, aK as JM, aL as YM, aM as KE, aN as JE, aO as jM } from "./console-BHPG7ghh.js";
2
+ import { B as _i, O as Qt, s as fn, c as UE, a as Jn, b as nc, f as pt, d as ta, p as es, m as Et, e as ha, g as un, h as pa, i as KO, j as qE, k as ic, M as Qn, l as JO, n as ie, N as vu, o as Um, r as Fr, q as qm, t as YO, u as jO, v as Bm, w as ZO, x as QO, y as Jy, z as Ru, A as XO, C as eM, D as tM, E as rM, F as nM, G as iM, H as oM, I as sM, J as aM, K as lM, L as uM, P as cM, Q as fM, R as dM, S as hM, T as pM, U as ku, V as BE, W as mM, X as gM, Y as Sn, Z as vM, _ as yM, $ as vW, a0 as ra, a1 as _M, a2 as wM, a3 as bM, a4 as Zi, a5 as VE, a6 as SM, a7 as wi, a8 as HE, a9 as GE, aa as EM, ab as TM, ac as Yp, ad as CM, ae as AM, af as PM, ag as xM, ah as IM, ai as id, aj as RM, ak as WE, al as Yy, am as kM, an as OM, ao as MM, ap as LM, aq as NM, ar as DM, as as FM, at as $M, au as UM, av as qM, aw as BM, ax as jy, ay as VM, az as HM, aA as GM, aB as zE, aC as jp, aD as Tt, aE as WM, aF as zM, aG as KM, aH as Zy, aI as Qy, aJ as Xy, aK as JM, aL as YM, aM as KE, aN as JE, aO as jM } from "./console-BEoM5C3l.js";
3
3
  import * as ZM from "node:fs/promises";
4
4
  import Yo, { readdir as QM, stat as YE, readFile as bi, mkdir as Ou, writeFile as na, unlink as XM, open as eL, readlink as tL } from "node:fs/promises";
5
5
  import * as rL from "node:path";
6
- import nt, { join as jE, dirname as e0 } from "node:path";
6
+ import nt, { join as jE, dirname as e_ } from "node:path";
7
7
  import Vm from "node:events";
8
8
  import * as nL from "node:child_process";
9
9
  import iL, { spawn as oc, exec as zi } from "node:child_process";
@@ -17,7 +17,7 @@ import fL from "node:zlib";
17
17
  import dL from "node:string_decoder";
18
18
  import hL, { createServer as QE } from "node:http";
19
19
  import pL from "node:https";
20
- import { r as mL } from "./executable-Bg-Dnv9N.js";
20
+ import { r as mL } from "./executable-Bm7iL2Wr.js";
21
21
  function gL() {
22
22
  const i = /* @__PURE__ */ new Set(), e = new _i(i);
23
23
  return {
@@ -48,7 +48,7 @@ function vL() {
48
48
  };
49
49
  }
50
50
  const Ti = Symbol.for("@@pendingOperation");
51
- function t0(i, e) {
51
+ function t_(i, e) {
52
52
  return (t) => Qt.from(t).pipe(
53
53
  fn(
54
54
  (n) => n === Ti ? Qt.of(Ti) : i(n).pipe(
@@ -203,14 +203,14 @@ var ft;
203
203
  }
204
204
  i.joinValues = n, i.jsonStringifyReplacer = (r, o) => typeof o == "bigint" ? o.toString() : o;
205
205
  })(ft || (ft = {}));
206
- var r0;
206
+ var r_;
207
207
  (function(i) {
208
208
  i.mergeShapes = (e, t) => ({
209
209
  ...e,
210
210
  ...t
211
211
  // second overwrites first
212
212
  });
213
- })(r0 || (r0 = {}));
213
+ })(r_ || (r_ = {}));
214
214
  const Ie = ft.arrayToEnum([
215
215
  "string",
216
216
  "nan",
@@ -473,7 +473,7 @@ class gr {
473
473
  }
474
474
  const Ge = Object.freeze({
475
475
  status: "aborted"
476
- }), Ks = (i) => ({ status: "dirty", value: i }), Xr = (i) => ({ status: "valid", value: i }), n0 = (i) => i.status === "aborted", i0 = (i) => i.status === "dirty", rs = (i) => i.status === "valid", Mu = (i) => typeof Promise < "u" && i instanceof Promise;
476
+ }), Ks = (i) => ({ status: "dirty", value: i }), Xr = (i) => ({ status: "valid", value: i }), n_ = (i) => i.status === "aborted", i_ = (i) => i.status === "dirty", rs = (i) => i.status === "valid", Mu = (i) => typeof Promise < "u" && i instanceof Promise;
477
477
  var Le;
478
478
  (function(i) {
479
479
  i.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, i.toString = (e) => typeof e == "string" ? e : e?.message;
@@ -496,7 +496,7 @@ class Pn {
496
496
  return this._cachedPath.length || (Array.isArray(this._key) ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;
497
497
  }
498
498
  }
499
- const o0 = (i, e) => {
499
+ const o_ = (i, e) => {
500
500
  if (rs(e))
501
501
  return { success: !0, data: e.value };
502
502
  if (!i.common.issues.length)
@@ -581,7 +581,7 @@ class lt {
581
581
  data: e,
582
582
  parsedType: mi(e)
583
583
  }, r = this._parseSync({ data: e, path: n.path, parent: n });
584
- return o0(n, r);
584
+ return o_(n, r);
585
585
  }
586
586
  "~validate"(e) {
587
587
  const t = {
@@ -634,7 +634,7 @@ class lt {
634
634
  data: e,
635
635
  parsedType: mi(e)
636
636
  }, r = this._parse({ data: e, path: n.path, parent: n }), o = await (Mu(r) ? r : Promise.resolve(r));
637
- return o0(n, o);
637
+ return o_(n, o);
638
638
  }
639
639
  refine(e, t) {
640
640
  const n = (r) => typeof t == "string" || typeof t > "u" ? { message: t } : typeof t == "function" ? t(r) : t;
@@ -1561,7 +1561,7 @@ ns.create = (i) => new ns({
1561
1561
  typeName: Ve.ZodDate,
1562
1562
  ...Qe(i)
1563
1563
  });
1564
- class s0 extends lt {
1564
+ class s_ extends lt {
1565
1565
  _parse(e) {
1566
1566
  if (this._getType(e) !== Ie.symbol) {
1567
1567
  const n = this._getOrReturnCtx(e);
@@ -1574,7 +1574,7 @@ class s0 extends lt {
1574
1574
  return Xr(e.data);
1575
1575
  }
1576
1576
  }
1577
- s0.create = (i) => new s0({
1577
+ s_.create = (i) => new s_({
1578
1578
  typeName: Ve.ZodSymbol,
1579
1579
  ...Qe(i)
1580
1580
  });
@@ -1650,7 +1650,7 @@ Pi.create = (i) => new Pi({
1650
1650
  typeName: Ve.ZodNever,
1651
1651
  ...Qe(i)
1652
1652
  });
1653
- class a0 extends lt {
1653
+ class a_ extends lt {
1654
1654
  _parse(e) {
1655
1655
  if (this._getType(e) !== Ie.undefined) {
1656
1656
  const n = this._getOrReturnCtx(e);
@@ -1663,7 +1663,7 @@ class a0 extends lt {
1663
1663
  return Xr(e.data);
1664
1664
  }
1665
1665
  }
1666
- a0.create = (i) => new a0({
1666
+ a_.create = (i) => new a_({
1667
1667
  typeName: Ve.ZodVoid,
1668
1668
  ...Qe(i)
1669
1669
  });
@@ -2208,10 +2208,10 @@ function rm(i, e) {
2208
2208
  class Fu extends lt {
2209
2209
  _parse(e) {
2210
2210
  const { status: t, ctx: n } = this._processInputParams(e), r = (o, s) => {
2211
- if (n0(o) || n0(s))
2211
+ if (n_(o) || n_(s))
2212
2212
  return Ge;
2213
2213
  const a = rm(o.value, s.value);
2214
- return a.valid ? ((i0(o) || i0(s)) && t.dirty(), { status: t.value, value: a.data }) : (Ae(n, {
2214
+ return a.valid ? ((i_(o) || i_(s)) && t.dirty(), { status: t.value, value: a.data }) : (Ae(n, {
2215
2215
  code: Se.invalid_intersection_types
2216
2216
  }), Ge);
2217
2217
  };
@@ -2334,7 +2334,7 @@ class $u extends lt {
2334
2334
  });
2335
2335
  }
2336
2336
  }
2337
- class l0 extends lt {
2337
+ class l_ extends lt {
2338
2338
  get keySchema() {
2339
2339
  return this._def.keyType;
2340
2340
  }
@@ -2376,7 +2376,7 @@ class l0 extends lt {
2376
2376
  }
2377
2377
  }
2378
2378
  }
2379
- l0.create = (i, e, t) => new l0({
2379
+ l_.create = (i, e, t) => new l_({
2380
2380
  valueType: e,
2381
2381
  keyType: i,
2382
2382
  typeName: Ve.ZodMap,
@@ -2786,7 +2786,7 @@ Hu.create = (i, e) => new Hu({
2786
2786
  catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
2787
2787
  ...Qe(e)
2788
2788
  });
2789
- class u0 extends lt {
2789
+ class u_ extends lt {
2790
2790
  _parse(e) {
2791
2791
  if (this._getType(e) !== Ie.nan) {
2792
2792
  const n = this._getOrReturnCtx(e);
@@ -2799,7 +2799,7 @@ class u0 extends lt {
2799
2799
  return { status: "valid", value: e.data };
2800
2800
  }
2801
2801
  }
2802
- u0.create = (i) => new u0({
2802
+ u_.create = (i) => new u_({
2803
2803
  typeName: Ve.ZodNaN,
2804
2804
  ...Qe(i)
2805
2805
  });
@@ -2932,7 +2932,7 @@ const ko = {
2932
2932
  jsonrpc: ut(uc),
2933
2933
  id: cc,
2934
2934
  result: hn
2935
- }).strict(), c0 = (i) => uT.safeParse(i).success;
2935
+ }).strict(), c_ = (i) => uT.safeParse(i).success;
2936
2936
  var bn;
2937
2937
  (function(i) {
2938
2938
  i[i.ConnectionClosed = -32e3] = "ConnectionClosed", i[i.RequestTimeout = -32001] = "RequestTimeout", i[i.ParseError = -32700] = "ParseError", i[i.InvalidRequest = -32600] = "InvalidRequest", i[i.MethodNotFound = -32601] = "MethodNotFound", i[i.InvalidParams = -32602] = "InvalidParams", i[i.InternalError = -32603] = "InternalError";
@@ -3676,7 +3676,7 @@ class HN {
3676
3676
  }, this._transport.onerror = (t) => {
3677
3677
  this._onerror(t);
3678
3678
  }, this._transport.onmessage = (t, n) => {
3679
- c0(t) || rN(t) ? this._onresponse(t) : eN(t) ? this._onrequest(t, n) : tN(t) ? this._onnotification(t) : this._onerror(new Error(`Unknown message type: ${JSON.stringify(t)}`));
3679
+ c_(t) || rN(t) ? this._onresponse(t) : eN(t) ? this._onrequest(t, n) : tN(t) ? this._onnotification(t) : this._onerror(new Error(`Unknown message type: ${JSON.stringify(t)}`));
3680
3680
  }, await this._transport.start();
3681
3681
  }
3682
3682
  _onclose() {
@@ -3766,7 +3766,7 @@ class HN {
3766
3766
  this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));
3767
3767
  return;
3768
3768
  }
3769
- if (this._responseHandlers.delete(t), this._progressHandlers.delete(t), this._cleanupTimeout(t), c0(e))
3769
+ if (this._responseHandlers.delete(t), this._progressHandlers.delete(t), this._cleanupTimeout(t), c_(e))
3770
3770
  n(e);
3771
3771
  else {
3772
3772
  const r = new Si(e.error.code, e.error.message, e.error.data);
@@ -3894,9 +3894,9 @@ function GN(i, e) {
3894
3894
  }
3895
3895
  var js = { exports: {} };
3896
3896
  /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
3897
- var WN = js.exports, f0;
3897
+ var WN = js.exports, f_;
3898
3898
  function zN() {
3899
- return f0 || (f0 = 1, function(i, e) {
3899
+ return f_ || (f_ = 1, function(i, e) {
3900
3900
  (function(t, n) {
3901
3901
  n(e);
3902
3902
  })(WN, function(t) {
@@ -4447,9 +4447,9 @@ function zN() {
4447
4447
  });
4448
4448
  }(js, js.exports)), js.exports;
4449
4449
  }
4450
- var sd, d0;
4450
+ var sd, d_;
4451
4451
  function jm() {
4452
- return d0 || (d0 = 1, sd = function i(e, t) {
4452
+ return d_ || (d_ = 1, sd = function i(e, t) {
4453
4453
  if (e === t) return !0;
4454
4454
  if (e && t && typeof e == "object" && typeof t == "object") {
4455
4455
  if (e.constructor !== t.constructor) return !1;
@@ -4475,18 +4475,18 @@ function jm() {
4475
4475
  return e !== e && t !== t;
4476
4476
  }), sd;
4477
4477
  }
4478
- var ad, h0;
4478
+ var ad, h_;
4479
4479
  function KN() {
4480
- return h0 || (h0 = 1, ad = function(e) {
4480
+ return h_ || (h_ = 1, ad = function(e) {
4481
4481
  for (var t = 0, n = e.length, r = 0, o; r < n; )
4482
4482
  t++, o = e.charCodeAt(r++), o >= 55296 && o <= 56319 && r < n && (o = e.charCodeAt(r), (o & 64512) == 56320 && r++);
4483
4483
  return t;
4484
4484
  }), ad;
4485
4485
  }
4486
- var ld, p0;
4486
+ var ld, p_;
4487
4487
  function us() {
4488
- if (p0) return ld;
4489
- p0 = 1, ld = {
4488
+ if (p_) return ld;
4489
+ p_ = 1, ld = {
4490
4490
  copy: i,
4491
4491
  checkDataType: e,
4492
4492
  checkDataTypes: t,
@@ -4641,10 +4641,10 @@ function us() {
4641
4641
  }
4642
4642
  return ld;
4643
4643
  }
4644
- var ud, m0;
4644
+ var ud, m_;
4645
4645
  function AT() {
4646
- if (m0) return ud;
4647
- m0 = 1;
4646
+ if (m_) return ud;
4647
+ m_ = 1;
4648
4648
  var i = us();
4649
4649
  ud = e;
4650
4650
  function e(t) {
@@ -4652,10 +4652,10 @@ function AT() {
4652
4652
  }
4653
4653
  return ud;
4654
4654
  }
4655
- var cd = { exports: {} }, g0;
4655
+ var cd = { exports: {} }, g_;
4656
4656
  function JN() {
4657
- if (g0) return cd.exports;
4658
- g0 = 1;
4657
+ if (g_) return cd.exports;
4658
+ g_ = 1;
4659
4659
  var i = cd.exports = function(n, r, o) {
4660
4660
  typeof r == "function" && (o = r, r = {}), o = r.cb || o;
4661
4661
  var s = typeof o == "function" ? o : o.pre || function() {
@@ -4723,10 +4723,10 @@ function JN() {
4723
4723
  }
4724
4724
  return cd.exports;
4725
4725
  }
4726
- var fd, v0;
4726
+ var fd, v_;
4727
4727
  function Zm() {
4728
- if (v0) return fd;
4729
- v0 = 1;
4728
+ if (v_) return fd;
4729
+ v_ = 1;
4730
4730
  var i = zN(), e = jm(), t = us(), n = AT(), r = JN();
4731
4731
  fd = o, o.normalizeId = p, o.fullPath = _, o.url = S, o.ids = T, o.inlineRef = h, o.schema = s;
4732
4732
  function o(C, A, M) {
@@ -4871,10 +4871,10 @@ function Zm() {
4871
4871
  }
4872
4872
  return fd;
4873
4873
  }
4874
- var dd, y0;
4874
+ var dd, y_;
4875
4875
  function Qm() {
4876
- if (y0) return dd;
4877
- y0 = 1;
4876
+ if (y_) return dd;
4877
+ y_ = 1;
4878
4878
  var i = Zm();
4879
4879
  dd = {
4880
4880
  Validation: n(e),
@@ -4894,9 +4894,9 @@ function Qm() {
4894
4894
  }
4895
4895
  return dd;
4896
4896
  }
4897
- var hd, _0;
4897
+ var hd, __;
4898
4898
  function PT() {
4899
- return _0 || (_0 = 1, hd = function(i, e) {
4899
+ return __ || (__ = 1, hd = function(i, e) {
4900
4900
  e || (e = {}), typeof e == "function" && (e = { cmp: e });
4901
4901
  var t = typeof e.cycles == "boolean" ? e.cycles : !1, n = e.cmp && /* @__PURE__ */ function(o) {
4902
4902
  return function(s) {
@@ -4931,9 +4931,9 @@ function PT() {
4931
4931
  }(i);
4932
4932
  }), hd;
4933
4933
  }
4934
- var pd, w0;
4934
+ var pd, w_;
4935
4935
  function xT() {
4936
- return w0 || (w0 = 1, pd = function(e, t, n) {
4936
+ return w_ || (w_ = 1, pd = function(e, t, n) {
4937
4937
  var r = "", o = e.schema.$async === !0, s = e.util.schemaHasRulesExcept(e.schema, e.RULES.all, "$ref"), a = e.self._getId(e.schema);
4938
4938
  if (e.opts.strictKeywords) {
4939
4939
  var u = e.util.schemaUnknownRules(e.schema, e.RULES.keywords);
@@ -5081,10 +5081,10 @@ function xT() {
5081
5081
  return r;
5082
5082
  }), pd;
5083
5083
  }
5084
- var md, b0;
5084
+ var md, b_;
5085
5085
  function YN() {
5086
- if (b0) return md;
5087
- b0 = 1;
5086
+ if (b_) return md;
5087
+ b_ = 1;
5088
5088
  var i = Zm(), e = us(), t = Qm(), n = PT(), r = xT(), o = e.ucs2length, s = jm(), a = t.Validation;
5089
5089
  md = u;
5090
5090
  function u(p, S, T, C) {
@@ -5294,10 +5294,10 @@ function YN() {
5294
5294
  }
5295
5295
  return md;
5296
5296
  }
5297
- var gd = { exports: {} }, S0;
5297
+ var gd = { exports: {} }, S_;
5298
5298
  function jN() {
5299
- if (S0) return gd.exports;
5300
- S0 = 1;
5299
+ if (S_) return gd.exports;
5300
+ S_ = 1;
5301
5301
  var i = gd.exports = function() {
5302
5302
  this._cache = {};
5303
5303
  };
@@ -5311,10 +5311,10 @@ function jN() {
5311
5311
  this._cache = {};
5312
5312
  }, gd.exports;
5313
5313
  }
5314
- var vd, E0;
5314
+ var vd, E_;
5315
5315
  function ZN() {
5316
- if (E0) return vd;
5317
- E0 = 1;
5316
+ if (E_) return vd;
5317
+ E_ = 1;
5318
5318
  var i = us(), e = /^(\d\d\d\d)-(\d\d)-(\d\d)$/, t = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], n = /^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i, r = /^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i, o = /^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i, s = /^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i, a = /^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i, u = /^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i, c = /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i, d = /^(?:\/(?:[^~/]|~0|~1)*)*$/, h = /^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i, g = /^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;
5319
5319
  vd = v;
5320
5320
  function v($) {
@@ -5402,9 +5402,9 @@ function ZN() {
5402
5402
  }
5403
5403
  return vd;
5404
5404
  }
5405
- var yd, T0;
5405
+ var yd, T_;
5406
5406
  function QN() {
5407
- return T0 || (T0 = 1, yd = function(e, t, n) {
5407
+ return T_ || (T_ = 1, yd = function(e, t, n) {
5408
5408
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.errSchemaPath + "/" + t, c = !e.opts.allErrors, d = "data" + (s || ""), h = "valid" + o, g, v;
5409
5409
  if (a == "#" || a == "#/")
5410
5410
  e.isRoot ? (g = e.async, v = "validate") : (g = e.root.schema.$async === !0, v = "root.refVal[0]");
@@ -5447,9 +5447,9 @@ function QN() {
5447
5447
  return r;
5448
5448
  }), yd;
5449
5449
  }
5450
- var _d, C0;
5450
+ var _d, C_;
5451
5451
  function XN() {
5452
- return C0 || (C0 = 1, _d = function(e, t, n) {
5452
+ return C_ || (C_ = 1, _d = function(e, t, n) {
5453
5453
  var r = " ", o = e.schema[t], s = e.schemaPath + e.util.getProperty(t), a = e.errSchemaPath + "/" + t, u = !e.opts.allErrors, c = e.util.copy(e), d = "";
5454
5454
  c.level++;
5455
5455
  var h = "valid" + c.level, g = c.baseId, v = !0, _ = o;
@@ -5459,9 +5459,9 @@ function XN() {
5459
5459
  return u && (v ? r += " if (true) { " : r += " " + d.slice(0, -1) + " "), r;
5460
5460
  }), _d;
5461
5461
  }
5462
- var wd, A0;
5462
+ var wd, A_;
5463
5463
  function eD() {
5464
- return A0 || (A0 = 1, wd = function(e, t, n) {
5464
+ return A_ || (A_ = 1, wd = function(e, t, n) {
5465
5465
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = "valid" + o, v = "errs__" + o, _ = e.util.copy(e), w = "";
5466
5466
  _.level++;
5467
5467
  var b = "valid" + _.level, p = a.every(function(x) {
@@ -5482,18 +5482,18 @@ function eD() {
5482
5482
  return r;
5483
5483
  }), wd;
5484
5484
  }
5485
- var bd, P0;
5485
+ var bd, P_;
5486
5486
  function tD() {
5487
- return P0 || (P0 = 1, bd = function(e, t, n) {
5487
+ return P_ || (P_ = 1, bd = function(e, t, n) {
5488
5488
  var r = " ", o = e.schema[t], s = e.errSchemaPath + "/" + t;
5489
5489
  e.opts.allErrors;
5490
5490
  var a = e.util.toQuotedString(o);
5491
5491
  return e.opts.$comment === !0 ? r += " console.log(" + a + ");" : typeof e.opts.$comment == "function" && (r += " self._opts.$comment(" + a + ", " + e.util.toQuotedString(s) + ", validate.root.schema);"), r;
5492
5492
  }), bd;
5493
5493
  }
5494
- var Sd, x0;
5494
+ var Sd, x_;
5495
5495
  function rD() {
5496
- return x0 || (x0 = 1, Sd = function(e, t, n) {
5496
+ return x_ || (x_ = 1, Sd = function(e, t, n) {
5497
5497
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = "valid" + o, v = e.opts.$data && a && a.$data;
5498
5498
  v && (r += " var schema" + o + " = " + e.util.getData(a.$data, s, e.dataPathArr) + "; "), v || (r += " var schema" + o + " = validate.schema" + u + ";"), r += "var " + g + " = equal(" + h + ", schema" + o + "); if (!" + g + ") { ";
5499
5499
  var _ = _ || [];
@@ -5502,9 +5502,9 @@ function rD() {
5502
5502
  return r = _.pop(), !e.compositeRule && d ? e.async ? r += " throw new ValidationError([" + w + "]); " : r += " validate.errors = [" + w + "]; return false; " : r += " var err = " + w + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", r += " }", d && (r += " else { "), r;
5503
5503
  }), Sd;
5504
5504
  }
5505
- var Ed, I0;
5505
+ var Ed, I_;
5506
5506
  function nD() {
5507
- return I0 || (I0 = 1, Ed = function(e, t, n) {
5507
+ return I_ || (I_ = 1, Ed = function(e, t, n) {
5508
5508
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = "valid" + o, v = "errs__" + o, _ = e.util.copy(e), w = "";
5509
5509
  _.level++;
5510
5510
  var b = "valid" + _.level, p = "i" + o, S = _.dataLevel = e.dataLevel + 1, T = "data" + S, C = e.baseId, A = e.opts.strictKeywords ? typeof a == "object" && Object.keys(a).length > 0 || a === !1 : e.util.schemaHasRules(a, e.RULES.all);
@@ -5523,9 +5523,9 @@ function nD() {
5523
5523
  return r = I.pop(), !e.compositeRule && d ? e.async ? r += " throw new ValidationError([" + O + "]); " : r += " validate.errors = [" + O + "]; return false; " : r += " var err = " + O + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", r += " } else { ", A && (r += " errors = " + v + "; if (vErrors !== null) { if (" + v + ") vErrors.length = " + v + "; else vErrors = null; } "), e.opts.allErrors && (r += " } "), r;
5524
5524
  }), Ed;
5525
5525
  }
5526
- var Td, R0;
5526
+ var Td, R_;
5527
5527
  function iD() {
5528
- return R0 || (R0 = 1, Td = function(e, t, n) {
5528
+ return R_ || (R_ = 1, Td = function(e, t, n) {
5529
5529
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = "errs__" + o, v = e.util.copy(e), _ = "";
5530
5530
  v.level++;
5531
5531
  var w = "valid" + v.level, b = {}, p = {}, S = e.opts.ownProperties;
@@ -5576,9 +5576,9 @@ function iD() {
5576
5576
  return d && (r += " " + _ + " if (" + g + " == errors) {"), r;
5577
5577
  }), Td;
5578
5578
  }
5579
- var Cd, k0;
5579
+ var Cd, k_;
5580
5580
  function oD() {
5581
- return k0 || (k0 = 1, Cd = function(e, t, n) {
5581
+ return k_ || (k_ = 1, Cd = function(e, t, n) {
5582
5582
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = "valid" + o, v = e.opts.$data && a && a.$data;
5583
5583
  v && (r += " var schema" + o + " = " + e.util.getData(a.$data, s, e.dataPathArr) + "; ");
5584
5584
  var _ = "i" + o, w = "schema" + o;
@@ -5589,9 +5589,9 @@ function oD() {
5589
5589
  return r = b.pop(), !e.compositeRule && d ? e.async ? r += " throw new ValidationError([" + p + "]); " : r += " validate.errors = [" + p + "]; return false; " : r += " var err = " + p + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", r += " }", d && (r += " else { "), r;
5590
5590
  }), Cd;
5591
5591
  }
5592
- var Ad, O0;
5592
+ var Ad, O_;
5593
5593
  function sD() {
5594
- return O0 || (O0 = 1, Ad = function(e, t, n) {
5594
+ return O_ || (O_ = 1, Ad = function(e, t, n) {
5595
5595
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || "");
5596
5596
  if (e.opts.format === !1)
5597
5597
  return d && (r += " if (true) { "), r;
@@ -5633,9 +5633,9 @@ function sD() {
5633
5633
  return r = A.pop(), !e.compositeRule && d ? e.async ? r += " throw new ValidationError([" + M + "]); " : r += " validate.errors = [" + M + "]; return false; " : r += " var err = " + M + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", r += " } ", d && (r += " else { "), r;
5634
5634
  }), Ad;
5635
5635
  }
5636
- var Pd, M0;
5636
+ var Pd, M_;
5637
5637
  function aD() {
5638
- return M0 || (M0 = 1, Pd = function(e, t, n) {
5638
+ return M_ || (M_ = 1, Pd = function(e, t, n) {
5639
5639
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = "valid" + o, v = "errs__" + o, _ = e.util.copy(e);
5640
5640
  _.level++;
5641
5641
  var w = "valid" + _.level, b = e.schema.then, p = e.schema.else, S = b !== void 0 && (e.opts.strictKeywords ? typeof b == "object" && Object.keys(b).length > 0 || b === !1 : e.util.schemaHasRules(b, e.RULES.all)), T = p !== void 0 && (e.opts.strictKeywords ? typeof p == "object" && Object.keys(p).length > 0 || p === !1 : e.util.schemaHasRules(p, e.RULES.all)), C = _.baseId;
@@ -5649,9 +5649,9 @@ function aD() {
5649
5649
  return r;
5650
5650
  }), Pd;
5651
5651
  }
5652
- var xd, L0;
5652
+ var xd, L_;
5653
5653
  function lD() {
5654
- return L0 || (L0 = 1, xd = function(e, t, n) {
5654
+ return L_ || (L_ = 1, xd = function(e, t, n) {
5655
5655
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = "valid" + o, v = "errs__" + o, _ = e.util.copy(e), w = "";
5656
5656
  _.level++;
5657
5657
  var b = "valid" + _.level, p = "i" + o, S = _.dataLevel = e.dataLevel + 1, T = "data" + S, C = e.baseId;
@@ -5694,9 +5694,9 @@ function lD() {
5694
5694
  return d && (r += " " + w + " if (" + v + " == errors) {"), r;
5695
5695
  }), xd;
5696
5696
  }
5697
- var Id, N0;
5698
- function D0() {
5699
- return N0 || (N0 = 1, Id = function(e, t, n) {
5697
+ var Id, N_;
5698
+ function D_() {
5699
+ return N_ || (N_ = 1, Id = function(e, t, n) {
5700
5700
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, C, h = "data" + (s || ""), g = e.opts.$data && a && a.$data, v;
5701
5701
  g ? (r += " var schema" + o + " = " + e.util.getData(a.$data, s, e.dataPathArr) + "; ", v = "schema" + o) : v = a;
5702
5702
  var _ = t == "maximum", w = _ ? "exclusiveMaximum" : "exclusiveMinimum", b = e.schema[w], p = e.opts.$data && b && b.$data, S = _ ? "<" : ">", T = _ ? ">" : "<", C = void 0;
@@ -5729,9 +5729,9 @@ function D0() {
5729
5729
  return r = N.pop(), !e.compositeRule && d ? e.async ? r += " throw new ValidationError([" + k + "]); " : r += " validate.errors = [" + k + "]; return false; " : r += " var err = " + k + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", r += " } ", d && (r += " else { "), r;
5730
5730
  }), Id;
5731
5731
  }
5732
- var Rd, F0;
5733
- function $0() {
5734
- return F0 || (F0 = 1, Rd = function(e, t, n) {
5732
+ var Rd, F_;
5733
+ function $_() {
5734
+ return F_ || (F_ = 1, Rd = function(e, t, n) {
5735
5735
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, w, h = "data" + (s || ""), g = e.opts.$data && a && a.$data, v;
5736
5736
  if (g ? (r += " var schema" + o + " = " + e.util.getData(a.$data, s, e.dataPathArr) + "; ", v = "schema" + o) : v = a, !(g || typeof a == "number"))
5737
5737
  throw new Error(t + " must be number");
@@ -5743,9 +5743,9 @@ function $0() {
5743
5743
  return r = b.pop(), !e.compositeRule && d ? e.async ? r += " throw new ValidationError([" + p + "]); " : r += " validate.errors = [" + p + "]; return false; " : r += " var err = " + p + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", r += "} ", d && (r += " else { "), r;
5744
5744
  }), Rd;
5745
5745
  }
5746
- var kd, U0;
5747
- function q0() {
5748
- return U0 || (U0 = 1, kd = function(e, t, n) {
5746
+ var kd, U_;
5747
+ function q_() {
5748
+ return U_ || (U_ = 1, kd = function(e, t, n) {
5749
5749
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, w, h = "data" + (s || ""), g = e.opts.$data && a && a.$data, v;
5750
5750
  if (g ? (r += " var schema" + o + " = " + e.util.getData(a.$data, s, e.dataPathArr) + "; ", v = "schema" + o) : v = a, !(g || typeof a == "number"))
5751
5751
  throw new Error(t + " must be number");
@@ -5757,9 +5757,9 @@ function q0() {
5757
5757
  return r = b.pop(), !e.compositeRule && d ? e.async ? r += " throw new ValidationError([" + p + "]); " : r += " validate.errors = [" + p + "]; return false; " : r += " var err = " + p + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", r += "} ", d && (r += " else { "), r;
5758
5758
  }), kd;
5759
5759
  }
5760
- var Od, B0;
5761
- function V0() {
5762
- return B0 || (B0 = 1, Od = function(e, t, n) {
5760
+ var Od, B_;
5761
+ function V_() {
5762
+ return B_ || (B_ = 1, Od = function(e, t, n) {
5763
5763
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, w, h = "data" + (s || ""), g = e.opts.$data && a && a.$data, v;
5764
5764
  if (g ? (r += " var schema" + o + " = " + e.util.getData(a.$data, s, e.dataPathArr) + "; ", v = "schema" + o) : v = a, !(g || typeof a == "number"))
5765
5765
  throw new Error(t + " must be number");
@@ -5771,9 +5771,9 @@ function V0() {
5771
5771
  return r = b.pop(), !e.compositeRule && d ? e.async ? r += " throw new ValidationError([" + p + "]); " : r += " validate.errors = [" + p + "]; return false; " : r += " var err = " + p + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", r += "} ", d && (r += " else { "), r;
5772
5772
  }), Od;
5773
5773
  }
5774
- var Md, H0;
5774
+ var Md, H_;
5775
5775
  function uD() {
5776
- return H0 || (H0 = 1, Md = function(e, t, n) {
5776
+ return H_ || (H_ = 1, Md = function(e, t, n) {
5777
5777
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = e.opts.$data && a && a.$data, v;
5778
5778
  if (g ? (r += " var schema" + o + " = " + e.util.getData(a.$data, s, e.dataPathArr) + "; ", v = "schema" + o) : v = a, !(g || typeof a == "number"))
5779
5779
  throw new Error(t + " must be number");
@@ -5784,9 +5784,9 @@ function uD() {
5784
5784
  return r = _.pop(), !e.compositeRule && d ? e.async ? r += " throw new ValidationError([" + w + "]); " : r += " validate.errors = [" + w + "]; return false; " : r += " var err = " + w + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", r += "} ", d && (r += " else { "), r;
5785
5785
  }), Md;
5786
5786
  }
5787
- var Ld, G0;
5787
+ var Ld, G_;
5788
5788
  function cD() {
5789
- return G0 || (G0 = 1, Ld = function(e, t, n) {
5789
+ return G_ || (G_ = 1, Ld = function(e, t, n) {
5790
5790
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = "errs__" + o, v = e.util.copy(e);
5791
5791
  v.level++;
5792
5792
  var _ = "valid" + v.level;
@@ -5805,9 +5805,9 @@ function cD() {
5805
5805
  return r;
5806
5806
  }), Ld;
5807
5807
  }
5808
- var Nd, W0;
5808
+ var Nd, W_;
5809
5809
  function fD() {
5810
- return W0 || (W0 = 1, Nd = function(e, t, n) {
5810
+ return W_ || (W_ = 1, Nd = function(e, t, n) {
5811
5811
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = "valid" + o, v = "errs__" + o, _ = e.util.copy(e), w = "";
5812
5812
  _.level++;
5813
5813
  var b = "valid" + _.level, p = _.baseId, S = "prevValid" + o, T = "passingSchemas" + o;
@@ -5821,9 +5821,9 @@ function fD() {
5821
5821
  return e.compositeRule = _.compositeRule = C, r += "" + w + "if (!" + g + ") { var err = ", e.createErrors !== !1 ? (r += " { keyword: 'oneOf' , dataPath: (dataPath || '') + " + e.errorPath + " , schemaPath: " + e.util.toQuotedString(c) + " , params: { passingSchemas: " + T + " } ", e.opts.messages !== !1 && (r += " , message: 'should match exactly one schema in oneOf' "), e.opts.verbose && (r += " , schema: validate.schema" + u + " , parentSchema: validate.schema" + e.schemaPath + " , data: " + h + " "), r += " } ") : r += " {} ", r += "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", !e.compositeRule && d && (e.async ? r += " throw new ValidationError(vErrors); " : r += " validate.errors = vErrors; return false; "), r += "} else { errors = " + v + "; if (vErrors !== null) { if (" + v + ") vErrors.length = " + v + "; else vErrors = null; }", e.opts.allErrors && (r += " } "), r;
5822
5822
  }), Nd;
5823
5823
  }
5824
- var Dd, z0;
5824
+ var Dd, z_;
5825
5825
  function dD() {
5826
- return z0 || (z0 = 1, Dd = function(e, t, n) {
5826
+ return z_ || (z_ = 1, Dd = function(e, t, n) {
5827
5827
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = e.opts.$data && a && a.$data, v;
5828
5828
  g ? (r += " var schema" + o + " = " + e.util.getData(a.$data, s, e.dataPathArr) + "; ", v = "schema" + o) : v = a;
5829
5829
  var _ = g ? "(new RegExp(" + v + "))" : e.usePattern(a);
@@ -5834,9 +5834,9 @@ function dD() {
5834
5834
  return r = w.pop(), !e.compositeRule && d ? e.async ? r += " throw new ValidationError([" + b + "]); " : r += " validate.errors = [" + b + "]; return false; " : r += " var err = " + b + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", r += "} ", d && (r += " else { "), r;
5835
5835
  }), Dd;
5836
5836
  }
5837
- var Fd, K0;
5837
+ var Fd, K_;
5838
5838
  function hD() {
5839
- return K0 || (K0 = 1, Fd = function(e, t, n) {
5839
+ return K_ || (K_ = 1, Fd = function(e, t, n) {
5840
5840
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = "errs__" + o, v = e.util.copy(e), _ = "";
5841
5841
  v.level++;
5842
5842
  var w = "valid" + v.level, b = "key" + o, p = "idx" + o, S = v.dataLevel = e.dataLevel + 1, T = "data" + S, C = "dataProperties" + o, A = Object.keys(a || {}).filter(F), M = e.schema.patternProperties || {}, $ = Object.keys(M).filter(F), x = e.schema.additionalProperties, I = A.length || $.length, O = x === !1, N = typeof x == "object" && Object.keys(x).length, k = e.opts.removeAdditional, q = O || N || k, K = e.opts.ownProperties, J = e.baseId, U = e.schema.required;
@@ -5955,9 +5955,9 @@ function hD() {
5955
5955
  return d && (r += " " + _ + " if (" + g + " == errors) {"), r;
5956
5956
  }), Fd;
5957
5957
  }
5958
- var $d, J0;
5958
+ var $d, J_;
5959
5959
  function pD() {
5960
- return J0 || (J0 = 1, $d = function(e, t, n) {
5960
+ return J_ || (J_ = 1, $d = function(e, t, n) {
5961
5961
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = "errs__" + o, v = e.util.copy(e), _ = "";
5962
5962
  v.level++;
5963
5963
  var w = "valid" + v.level;
@@ -5973,9 +5973,9 @@ function pD() {
5973
5973
  return d && (r += " " + _ + " if (" + g + " == errors) {"), r;
5974
5974
  }), $d;
5975
5975
  }
5976
- var Ud, Y0;
5976
+ var Ud, Y_;
5977
5977
  function mD() {
5978
- return Y0 || (Y0 = 1, Ud = function(e, t, n) {
5978
+ return Y_ || (Y_ = 1, Ud = function(e, t, n) {
5979
5979
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = "valid" + o, v = e.opts.$data && a && a.$data;
5980
5980
  v && (r += " var schema" + o + " = " + e.util.getData(a.$data, s, e.dataPathArr) + "; ");
5981
5981
  var _ = "schema" + o;
@@ -6036,9 +6036,9 @@ function mD() {
6036
6036
  return r;
6037
6037
  }), Ud;
6038
6038
  }
6039
- var qd, j0;
6039
+ var qd, j_;
6040
6040
  function gD() {
6041
- return j0 || (j0 = 1, qd = function(e, t, n) {
6041
+ return j_ || (j_ = 1, qd = function(e, t, n) {
6042
6042
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h = "data" + (s || ""), g = "valid" + o, v = e.opts.$data && a && a.$data, _;
6043
6043
  if (v ? (r += " var schema" + o + " = " + e.util.getData(a.$data, s, e.dataPathArr) + "; ", _ = "schema" + o) : _ = a, (a || v) && e.opts.uniqueItems !== !1) {
6044
6044
  v && (r += " var " + g + "; if (" + _ + " === false || " + _ + " === undefined) " + g + " = true; else if (typeof " + _ + " != 'boolean') " + g + " = false; else { "), r += " var i = " + h + ".length , " + g + " = true , j; if (i > 1) { ";
@@ -6060,9 +6060,9 @@ function gD() {
6060
6060
  return r;
6061
6061
  }), qd;
6062
6062
  }
6063
- var Bd, Z0;
6063
+ var Bd, Z_;
6064
6064
  function vD() {
6065
- return Z0 || (Z0 = 1, Bd = {
6065
+ return Z_ || (Z_ = 1, Bd = {
6066
6066
  $ref: QN(),
6067
6067
  allOf: XN(),
6068
6068
  anyOf: eD(),
@@ -6074,14 +6074,14 @@ function vD() {
6074
6074
  format: sD(),
6075
6075
  if: aD(),
6076
6076
  items: lD(),
6077
- maximum: D0(),
6078
- minimum: D0(),
6079
- maxItems: $0(),
6080
- minItems: $0(),
6081
- maxLength: q0(),
6082
- minLength: q0(),
6083
- maxProperties: V0(),
6084
- minProperties: V0(),
6077
+ maximum: D_(),
6078
+ minimum: D_(),
6079
+ maxItems: $_(),
6080
+ minItems: $_(),
6081
+ maxLength: q_(),
6082
+ minLength: q_(),
6083
+ maxProperties: V_(),
6084
+ minProperties: V_(),
6085
6085
  multipleOf: uD(),
6086
6086
  not: cD(),
6087
6087
  oneOf: fD(),
@@ -6093,10 +6093,10 @@ function vD() {
6093
6093
  validate: xT()
6094
6094
  }), Bd;
6095
6095
  }
6096
- var Vd, Q0;
6096
+ var Vd, Q_;
6097
6097
  function yD() {
6098
- if (Q0) return Vd;
6099
- Q0 = 1;
6098
+ if (Q_) return Vd;
6099
+ Q_ = 1;
6100
6100
  var i = vD(), e = us().toHash;
6101
6101
  return Vd = function() {
6102
6102
  var n = [
@@ -6171,10 +6171,10 @@ function yD() {
6171
6171
  }), n.keywords = e(r.concat(o)), n.custom = {}, n;
6172
6172
  }, Vd;
6173
6173
  }
6174
- var Hd, X0;
6174
+ var Hd, X_;
6175
6175
  function _D() {
6176
- if (X0) return Hd;
6177
- X0 = 1;
6176
+ if (X_) return Hd;
6177
+ X_ = 1;
6178
6178
  var i = [
6179
6179
  "multipleOf",
6180
6180
  "maximum",
@@ -6215,10 +6215,10 @@ function _D() {
6215
6215
  return e;
6216
6216
  }, Hd;
6217
6217
  }
6218
- var Gd, e_;
6218
+ var Gd, e0;
6219
6219
  function wD() {
6220
- if (e_) return Gd;
6221
- e_ = 1;
6220
+ if (e0) return Gd;
6221
+ e0 = 1;
6222
6222
  var i = Qm().MissingRef;
6223
6223
  Gd = e;
6224
6224
  function e(t, n, r) {
@@ -6270,9 +6270,9 @@ function wD() {
6270
6270
  }
6271
6271
  return Gd;
6272
6272
  }
6273
- var Wd, t_;
6273
+ var Wd, t0;
6274
6274
  function bD() {
6275
- return t_ || (t_ = 1, Wd = function(e, t, n) {
6275
+ return t0 || (t0 = 1, Wd = function(e, t, n) {
6276
6276
  var r = " ", o = e.level, s = e.dataLevel, a = e.schema[t], u = e.schemaPath + e.util.getProperty(t), c = e.errSchemaPath + "/" + t, d = !e.opts.allErrors, h, g = "data" + (s || ""), v = "valid" + o, _ = "errs__" + o, w = e.opts.$data && a && a.$data, b;
6277
6277
  w ? (r += " var schema" + o + " = " + e.util.getData(a.$data, s, e.dataPathArr) + "; ", b = "schema" + o) : b = a;
6278
6278
  var p = this, S = "definition" + o, T = p.definition, C = "", A, M, $, x, I;
@@ -6330,10 +6330,10 @@ const SD = "http://json-schema.org/draft-07/schema#", ED = "http://json-schema.o
6330
6330
  properties: PD,
6331
6331
  default: !0
6332
6332
  };
6333
- var zd, r_;
6333
+ var zd, r0;
6334
6334
  function xD() {
6335
- if (r_) return zd;
6336
- r_ = 1;
6335
+ if (r0) return zd;
6336
+ r0 = 1;
6337
6337
  var i = IT;
6338
6338
  return zd = {
6339
6339
  $id: "https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",
@@ -6369,10 +6369,10 @@ function xD() {
6369
6369
  }
6370
6370
  }, zd;
6371
6371
  }
6372
- var Kd, n_;
6372
+ var Kd, n0;
6373
6373
  function ID() {
6374
- if (n_) return Kd;
6375
- n_ = 1;
6374
+ if (n0) return Kd;
6375
+ n0 = 1;
6376
6376
  var i = /^[a-z_$][a-z0-9_$-]*$/i, e = bD(), t = xD();
6377
6377
  Kd = {
6378
6378
  add: n,
@@ -6457,10 +6457,10 @@ const RD = "http://json-schema.org/draft-07/schema#", kD = "https://raw.githubus
6457
6457
  properties: ND,
6458
6458
  additionalProperties: DD
6459
6459
  };
6460
- var Jd, i_;
6460
+ var Jd, i0;
6461
6461
  function $D() {
6462
- if (i_) return Jd;
6463
- i_ = 1;
6462
+ if (i0) return Jd;
6463
+ i0 = 1;
6464
6464
  var i = YN(), e = Zm(), t = jN(), n = AT(), r = PT(), o = ZN(), s = yD(), a = _D(), u = us();
6465
6465
  Jd = _, _.prototype.validate = w, _.prototype.compile = b, _.prototype.addSchema = p, _.prototype.addMetaSchema = S, _.prototype.validateSchema = T, _.prototype.getSchema = A, _.prototype.removeSchema = x, _.prototype.addFormat = W, _.prototype.errorsText = U, _.prototype._addSchema = O, _.prototype._compile = N, _.prototype.compileAsync = wD();
6466
6466
  var c = ID();
@@ -6691,7 +6691,7 @@ function $D() {
6691
6691
  }
6692
6692
  var UD = $D();
6693
6693
  const qD = /* @__PURE__ */ ic(UD);
6694
- class o_ extends HN {
6694
+ class o0 extends HN {
6695
6695
  /**
6696
6696
  * Initializes this client with the given name and version information.
6697
6697
  */
@@ -6876,7 +6876,7 @@ class o_ extends HN {
6876
6876
  }
6877
6877
  }
6878
6878
  var BD = Object.defineProperty, VD = (i, e, t) => e in i ? BD(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, bl = (i, e, t) => VD(i, typeof e != "symbol" ? e + "" : e, t);
6879
- class s_ extends Error {
6879
+ class s0 extends Error {
6880
6880
  constructor(e, t) {
6881
6881
  super(e), bl(this, "type"), bl(this, "field"), bl(this, "value"), bl(this, "line"), this.name = "ParseError", this.type = t.type, this.field = t.field, this.value = t.value, this.line = t.line;
6882
6882
  }
@@ -6923,7 +6923,7 @@ function HD(i) {
6923
6923
  break;
6924
6924
  case "retry":
6925
6925
  /^\d+$/.test(b) ? n(parseInt(b, 10)) : t(
6926
- new s_(`Invalid \`retry\` value: "${b}"`, {
6926
+ new s0(`Invalid \`retry\` value: "${b}"`, {
6927
6927
  type: "invalid-retry",
6928
6928
  value: b,
6929
6929
  line: p
@@ -6932,7 +6932,7 @@ function HD(i) {
6932
6932
  break;
6933
6933
  default:
6934
6934
  t(
6935
- new s_(
6935
+ new s0(
6936
6936
  `Unknown field "${w.length > 20 ? `${w.slice(0, 20)}…` : w}"`,
6937
6937
  { type: "unknown-field", field: w, value: b, line: p }
6938
6938
  )
@@ -6967,7 +6967,7 @@ function GD(i) {
6967
6967
  }
6968
6968
  return [e, t];
6969
6969
  }
6970
- class a_ extends Event {
6970
+ class a0 extends Event {
6971
6971
  /**
6972
6972
  * Constructs a new `ErrorEvent` instance. This is typically not called directly,
6973
6973
  * but rather emitted by the `EventSource` object when an error occurs.
@@ -6992,7 +6992,7 @@ class a_ extends Event {
6992
6992
  * @returns A string representation of the error
6993
6993
  */
6994
6994
  [Symbol.for("nodejs.util.inspect.custom")](e, t, n) {
6995
- return n(l_(this), t);
6995
+ return n(l0(this), t);
6996
6996
  }
6997
6997
  /**
6998
6998
  * Deno "hides" the `message` and `code` properties of the `ErrorEvent` instance,
@@ -7006,7 +7006,7 @@ class a_ extends Event {
7006
7006
  * @returns A string representation of the error
7007
7007
  */
7008
7008
  [Symbol.for("Deno.customInspect")](e, t) {
7009
- return e(l_(this), t);
7009
+ return e(l0(this), t);
7010
7010
  }
7011
7011
  }
7012
7012
  function WD(i) {
@@ -7016,7 +7016,7 @@ function WD(i) {
7016
7016
  function im(i) {
7017
7017
  return i instanceof Error ? "errors" in i && Array.isArray(i.errors) ? i.errors.map(im).join(", ") : "cause" in i && i.cause instanceof Error ? `${i}: ${im(i.cause)}` : i.message : `${i}`;
7018
7018
  }
7019
- function l_(i) {
7019
+ function l0(i) {
7020
7020
  return {
7021
7021
  type: i.type,
7022
7022
  message: i.message,
@@ -7028,7 +7028,7 @@ function l_(i) {
7028
7028
  }
7029
7029
  var RT = (i) => {
7030
7030
  throw TypeError(i);
7031
- }, Xm = (i, e, t) => e.has(i) || RT("Cannot " + t), ot = (i, e, t) => (Xm(i, e, "read from private field"), t ? t.call(i) : e.get(i)), Zt = (i, e, t) => e.has(i) ? RT("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t), Lt = (i, e, t, n) => (Xm(i, e, "write to private field"), e.set(i, t), t), Wn = (i, e, t) => (Xm(i, e, "access private method"), t), Cr, Ki, Fo, yu, Wu, ia, Bo, oa, yi, $o, jo, Uo, Zs, ln, om, sm, am, u_, lm, um, Qs, cm, fm;
7031
+ }, Xm = (i, e, t) => e.has(i) || RT("Cannot " + t), ot = (i, e, t) => (Xm(i, e, "read from private field"), t ? t.call(i) : e.get(i)), Zt = (i, e, t) => e.has(i) ? RT("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t), Lt = (i, e, t, n) => (Xm(i, e, "write to private field"), e.set(i, t), t), Wn = (i, e, t) => (Xm(i, e, "access private method"), t), Cr, Ki, Fo, yu, Wu, ia, Bo, oa, yi, $o, jo, Uo, Zs, ln, om, sm, am, u0, lm, um, Qs, cm, fm;
7032
7032
  class _u extends EventTarget {
7033
7033
  constructor(e, t) {
7034
7034
  var n, r;
@@ -7169,14 +7169,14 @@ Cr = /* @__PURE__ */ new WeakMap(), Ki = /* @__PURE__ */ new WeakMap(), Fo = /*
7169
7169
  * @internal
7170
7170
  */
7171
7171
  om = function() {
7172
- Lt(this, Cr, this.CONNECTING), Lt(this, yi, new AbortController()), ot(this, Wu)(ot(this, Ki), Wn(this, ln, u_).call(this)).then(ot(this, sm)).catch(ot(this, am));
7172
+ Lt(this, Cr, this.CONNECTING), Lt(this, yi, new AbortController()), ot(this, Wu)(ot(this, Ki), Wn(this, ln, u0).call(this)).then(ot(this, sm)).catch(ot(this, am));
7173
7173
  }, sm = /* @__PURE__ */ new WeakMap(), am = /* @__PURE__ */ new WeakMap(), /**
7174
7174
  * Get request options for the `fetch()` request
7175
7175
  *
7176
7176
  * @returns The request options
7177
7177
  * @internal
7178
7178
  */
7179
- u_ = function() {
7179
+ u0 = function() {
7180
7180
  var i;
7181
7181
  const e = {
7182
7182
  // [spec] Let `corsAttributeState` be `Anonymous`…
@@ -7198,7 +7198,7 @@ u_ = function() {
7198
7198
  Qs = function(i, e) {
7199
7199
  var t;
7200
7200
  ot(this, Cr) !== this.CLOSED && Lt(this, Cr, this.CLOSED);
7201
- const n = new a_("error", { code: e, message: i });
7201
+ const n = new a0("error", { code: e, message: i });
7202
7202
  (t = ot(this, jo)) == null || t.call(this, n), this.dispatchEvent(n);
7203
7203
  }, /**
7204
7204
  * Schedules a reconnection attempt against the EventSource endpoint.
@@ -7212,7 +7212,7 @@ cm = function(i, e) {
7212
7212
  if (ot(this, Cr) === this.CLOSED)
7213
7213
  return;
7214
7214
  Lt(this, Cr, this.CONNECTING);
7215
- const n = new a_("error", { code: e, message: i });
7215
+ const n = new a0("error", { code: e, message: i });
7216
7216
  (t = ot(this, jo)) == null || t.call(this, n), this.dispatchEvent(n), Lt(this, Bo, setTimeout(ot(this, fm), ot(this, ia)));
7217
7217
  }, fm = /* @__PURE__ */ new WeakMap(), /**
7218
7218
  * ReadyState representing an EventSource currently trying to connect
@@ -7669,14 +7669,14 @@ class f2 {
7669
7669
  }
7670
7670
  const Vo = Symbol.for("disabled-client");
7671
7671
  function d2(i, e, t) {
7672
- const n = new o_({ name: "amp-mcp-client", version: "0.0.0-dev" }), r = Qt.of(void 0).pipe(
7673
- t0(
7672
+ const n = new o0({ name: "amp-mcp-client", version: "0.0.0-dev" }), r = Qt.of(void 0).pipe(
7673
+ t_(
7674
7674
  () => qE(
7675
7675
  es(async () => (await n.close(), await new Promise((c) => setTimeout(c, 100)), h2(i, n, e))),
7676
7676
  vu
7677
7677
  ).pipe(
7678
7678
  Um((c) => {
7679
- c instanceof o_ && c?.close();
7679
+ c instanceof o0 && c?.close();
7680
7680
  })
7681
7681
  ),
7682
7682
  {
@@ -7712,7 +7712,7 @@ function d2(i, e, t) {
7712
7712
  }
7713
7713
  )
7714
7714
  ).pipe(
7715
- t0((c) => c instanceof Error ? Qt.of(c) : c === Vo ? Qt.of([]) : es(async (d) => (await c.listTools({ signal: d })).tools))
7715
+ t_((c) => c instanceof Error ? Qt.of(c) : c === Vo ? Qt.of([]) : es(async (d) => (await c.listTools({ signal: d })).tools))
7716
7716
  );
7717
7717
  return {
7718
7718
  status: s,
@@ -7746,10 +7746,10 @@ async function h2(i, e, t) {
7746
7746
  if ("url" in i)
7747
7747
  n = new f2(new URL(i.url));
7748
7748
  else {
7749
- const { loadProfileEnvironmentVariables: r } = await import("./load-profile-DM9rbkOm.js"), o = t.loadProfile === "never" || !t.workingDirectory ? process.env : await pt(
7749
+ const { loadProfileEnvironmentVariables: r } = await import("./load-profile-DRELVkLs.js"), o = t.loadProfile === "never" || !t.workingDirectory ? process.env : await pt(
7750
7750
  r(t.workingDirectory, t.loadProfile)
7751
7751
  );
7752
- n = await import("./stdio-CO70V3Ze.js").then(
7752
+ n = await import("./stdio-B64CMOKT.js").then(
7753
7753
  ({ StdioClientTransport: s }) => new s({
7754
7754
  ...i,
7755
7755
  stderr: "pipe",
@@ -8128,7 +8128,7 @@ class E2 {
8128
8128
  ha(),
8129
8129
  fn((t) => t ? this.exclusiveThreads.get(e) : es(async (n) => {
8130
8130
  let r = await this.storage.get(e);
8131
- return n?.throwIfAborted(), r || (r = c_(e), await this.storage.set(e, r), n?.throwIfAborted()), r;
8131
+ return n?.throwIfAborted(), r || (r = c0(e), await this.storage.set(e, r), n?.throwIfAborted()), r;
8132
8132
  })),
8133
8133
  // Throttle to avoid passing very large objects (~1MB+ often) across the RPC boundary,
8134
8134
  // which causes GC pressure.
@@ -8148,7 +8148,7 @@ class E2 {
8148
8148
  let t = this.exclusiveThreads.get(e);
8149
8149
  if (!t) {
8150
8150
  let o = await this.storage.get(e);
8151
- o || (o = c_(e), await this.storage.set(e, o)), t = new _i(o), this.exclusiveThreads.set(e, t), this.exclusiveThreadsChanged.next(), await OT();
8151
+ o || (o = c0(e), await this.storage.set(e, o)), t = new _i(o), this.exclusiveThreads.set(e, t), this.exclusiveThreadsChanged.next(), await OT();
8152
8152
  }
8153
8153
  let n = !1;
8154
8154
  return {
@@ -8205,7 +8205,7 @@ class E2 {
8205
8205
  this.flusher.unsubscribe(), this.exclusiveThreads.clear();
8206
8206
  }
8207
8207
  }
8208
- function c_(i) {
8208
+ function c0(i) {
8209
8209
  return {
8210
8210
  v: 0,
8211
8211
  id: i,
@@ -8526,7 +8526,7 @@ This tool converts web content to markdown format for better readability.`,
8526
8526
  requiresNetwork: !0
8527
8527
  }
8528
8528
  },
8529
- fn: import("./node-Cp6INRFE.js").then(({ nodeReadWebPageTool: i }) => i)
8529
+ fn: import("./node-xakp4FYv.js").then(({ nodeReadWebPageTool: i }) => i)
8530
8530
  }, x2 = "web_search", I2 = `Search the web for information.
8531
8531
 
8532
8532
  Returns search result titles, associated URLs, and a small summary of the
@@ -8574,7 +8574,7 @@ the \`${dm}\` with the url.
8574
8574
  requiresNetwork: !0
8575
8575
  }
8576
8576
  },
8577
- fn: import("./node-CQtpFy7X.js").then(({ nodeWebSearchTool: i }) => i)
8577
+ fn: import("./node-DLBHbpFn.js").then(({ nodeWebSearchTool: i }) => i)
8578
8578
  }, k2 = `Execute a routine from your routines.amp.yaml file.
8579
8579
 
8580
8580
  This tool allows you to run predefined routines that automate common tasks. You can optionally provide a userInput argument that describes what input should be passed to the routine.
@@ -8604,12 +8604,12 @@ IMPORTANT: The result of this tool (if any) should be displayed directly to the
8604
8604
  },
8605
8605
  source: "builtin"
8606
8606
  },
8607
- fn: import("./node-OczSPdLb.js").then(({ runRoutine: i }) => i)
8607
+ fn: import("./node-Dd5TcLk4.js").then(({ runRoutine: i }) => i)
8608
8608
  };
8609
- let f_ = !1;
8609
+ let f0 = !1;
8610
8610
  async function MT(i, e = !1) {
8611
- return f_ ? { dispose() {
8612
- } } : (f_ = !0, await M2(i, e));
8611
+ return f0 ? { dispose() {
8612
+ } } : (f0 = !0, await M2(i, e));
8613
8613
  }
8614
8614
  async function M2(i, e = !1) {
8615
8615
  const t = [
@@ -8638,10 +8638,10 @@ async function M2(i, e = !1) {
8638
8638
  }
8639
8639
  };
8640
8640
  }
8641
- var Sl = { exports: {} }, El = {}, Tl = {}, d_;
8641
+ var Sl = { exports: {} }, El = {}, Tl = {}, d0;
8642
8642
  function gc() {
8643
- if (d_) return Tl;
8644
- d_ = 1;
8643
+ if (d0) return Tl;
8644
+ d0 = 1;
8645
8645
  class i extends Error {
8646
8646
  /**
8647
8647
  * Constructs the CommanderError class
@@ -8666,10 +8666,10 @@ function gc() {
8666
8666
  }
8667
8667
  return Tl.CommanderError = i, Tl.InvalidArgumentError = e, Tl;
8668
8668
  }
8669
- var h_;
8669
+ var h0;
8670
8670
  function tg() {
8671
- if (h_) return El;
8672
- h_ = 1;
8671
+ if (h0) return El;
8672
+ h0 = 1;
8673
8673
  const { InvalidArgumentError: i } = gc();
8674
8674
  class e {
8675
8675
  /**
@@ -8759,10 +8759,10 @@ function tg() {
8759
8759
  }
8760
8760
  return El.Argument = e, El.humanReadableArgName = t, El;
8761
8761
  }
8762
- var Zd = {}, Qd = {}, p_;
8762
+ var Zd = {}, Qd = {}, p0;
8763
8763
  function LT() {
8764
- if (p_) return Qd;
8765
- p_ = 1;
8764
+ if (p0) return Qd;
8765
+ p0 = 1;
8766
8766
  const { humanReadableArgName: i } = tg();
8767
8767
  class e {
8768
8768
  constructor() {
@@ -9041,10 +9041,10 @@ function LT() {
9041
9041
  }
9042
9042
  return Qd.Help = e, Qd;
9043
9043
  }
9044
- var qs = {}, m_;
9044
+ var qs = {}, m0;
9045
9045
  function NT() {
9046
- if (m_) return qs;
9047
- m_ = 1;
9046
+ if (m0) return qs;
9047
+ m0 = 1;
9048
9048
  const { InvalidArgumentError: i } = gc();
9049
9049
  class e {
9050
9050
  /**
@@ -9246,10 +9246,10 @@ function NT() {
9246
9246
  }
9247
9247
  return qs.Option = e, qs.splitOptionFlags = r, qs.DualOptions = t, qs;
9248
9248
  }
9249
- var Xd = {}, g_;
9249
+ var Xd = {}, g0;
9250
9250
  function L2() {
9251
- if (g_) return Xd;
9252
- g_ = 1;
9251
+ if (g0) return Xd;
9252
+ g0 = 1;
9253
9253
  const i = 3;
9254
9254
  function e(n, r) {
9255
9255
  if (Math.abs(n.length - r.length) > i) return Math.max(n.length, r.length);
@@ -9289,10 +9289,10 @@ function L2() {
9289
9289
  }
9290
9290
  return Xd.suggestSimilar = t, Xd;
9291
9291
  }
9292
- var v_;
9292
+ var v0;
9293
9293
  function N2() {
9294
- if (v_) return Zd;
9295
- v_ = 1;
9294
+ if (v0) return Zd;
9295
+ v0 = 1;
9296
9296
  const i = Vm.EventEmitter, e = iL, t = nt, n = ts, r = aL, { Argument: o, humanReadableArgName: s } = tg(), { CommanderError: a } = gc(), { Help: u } = LT(), { Option: c, splitOptionFlags: d, DualOptions: h } = NT(), { suggestSimilar: g } = L2();
9297
9297
  class v extends i {
9298
9298
  /**
@@ -10622,9 +10622,9 @@ Expecting one of '${T.join("', '")}'`);
10622
10622
  }
10623
10623
  return Zd.Command = v, Zd;
10624
10624
  }
10625
- var y_;
10625
+ var y0;
10626
10626
  function D2() {
10627
- return y_ || (y_ = 1, function(i, e) {
10627
+ return y0 || (y0 = 1, function(i, e) {
10628
10628
  const { Argument: t } = tg(), { Command: n } = N2(), { CommanderError: r, InvalidArgumentError: o } = gc(), { Help: s } = LT(), { Option: a } = NT();
10629
10629
  e = i.exports = new n(), e.program = e, e.Command = n, e.Option = a, e.Argument = t, e.Help = s, e.CommanderError = r, e.InvalidArgumentError = o, e.InvalidOptionArgumentError = o;
10630
10630
  }(Sl, Sl.exports)), Sl.exports;
@@ -11262,14 +11262,14 @@ function j2(i) {
11262
11262
  if (i.length > 0 && typeof i[0] == "object") {
11263
11263
  const e = [];
11264
11264
  for (const t of i)
11265
- typeof t == "object" && t !== null && e.push(__(t));
11265
+ typeof t == "object" && t !== null && e.push(_0(t));
11266
11266
  return e;
11267
11267
  }
11268
11268
  }
11269
- return typeof i == "object" && i !== null ? __(i) : i;
11269
+ return typeof i == "object" && i !== null ? _0(i) : i;
11270
11270
  }
11271
11271
  }
11272
- function __(i) {
11272
+ function _0(i) {
11273
11273
  const e = JSON.parse(JSON.stringify(i));
11274
11274
  for (const t of qT)
11275
11275
  t in e && typeof e[t] == "string" && (e[t] = Zo(e[t]));
@@ -11298,10 +11298,10 @@ async function vm(i) {
11298
11298
 
11299
11299
  `).trimEnd(), usage: n["~debugUsage"] };
11300
11300
  }
11301
- var eh = {}, Cl = {}, th, w_;
11301
+ var eh = {}, Cl = {}, th, w0;
11302
11302
  function qr() {
11303
- if (w_) return th;
11304
- w_ = 1;
11303
+ if (w0) return th;
11304
+ w0 = 1;
11305
11305
  function i(_) {
11306
11306
  "@babel/helpers - typeof";
11307
11307
  return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(w) {
@@ -11405,9 +11405,9 @@ Found: `.concat(b.toString().split(`
11405
11405
  return b.Format = w, b;
11406
11406
  }, th;
11407
11407
  }
11408
- var Bs = { exports: {} }, rh = { exports: {} }, nh = { exports: {} }, ih = { exports: {} }, b_;
11408
+ var Bs = { exports: {} }, rh = { exports: {} }, nh = { exports: {} }, ih = { exports: {} }, b0;
11409
11409
  function Q2() {
11410
- return b_ || (b_ = 1, function(i) {
11410
+ return b0 || (b0 = 1, function(i) {
11411
11411
  var e = {};
11412
11412
  i.exports = e;
11413
11413
  var t = {
@@ -11469,18 +11469,18 @@ function Q2() {
11469
11469
  });
11470
11470
  }(ih)), ih.exports;
11471
11471
  }
11472
- var oh, S_;
11472
+ var oh, S0;
11473
11473
  function X2() {
11474
- return S_ || (S_ = 1, oh = function(i, e) {
11474
+ return S0 || (S0 = 1, oh = function(i, e) {
11475
11475
  e = e || process.argv || [];
11476
11476
  var t = e.indexOf("--"), n = /^-{1,2}/.test(i) ? "" : "--", r = e.indexOf(n + i);
11477
11477
  return r !== -1 && (t === -1 ? !0 : r < t);
11478
11478
  }), oh;
11479
11479
  }
11480
- var sh, E_;
11480
+ var sh, E0;
11481
11481
  function eF() {
11482
- if (E_) return sh;
11483
- E_ = 1;
11482
+ if (E0) return sh;
11483
+ E0 = 1;
11484
11484
  var i = ei, e = X2(), t = process.env, n = void 0;
11485
11485
  e("no-color") || e("no-colors") || e("color=false") ? n = !1 : (e("color") || e("colors") || e("color=true") || e("color=always")) && (n = !0), "FORCE_COLOR" in t && (n = t.FORCE_COLOR.length === 0 || parseInt(t.FORCE_COLOR, 10) !== 0);
11486
11486
  function r(a) {
@@ -11534,9 +11534,9 @@ function eF() {
11534
11534
  stderr: s(process.stderr)
11535
11535
  }, sh;
11536
11536
  }
11537
- var ah = { exports: {} }, T_;
11537
+ var ah = { exports: {} }, T0;
11538
11538
  function tF() {
11539
- return T_ || (T_ = 1, function(i) {
11539
+ return T0 || (T0 = 1, function(i) {
11540
11540
  i.exports = function(t, n) {
11541
11541
  var r = "";
11542
11542
  t = t || "Run the trap, drop the bass", t = t.split("");
@@ -11595,9 +11595,9 @@ function tF() {
11595
11595
  };
11596
11596
  }(ah)), ah.exports;
11597
11597
  }
11598
- var lh = { exports: {} }, C_;
11598
+ var lh = { exports: {} }, C0;
11599
11599
  function rF() {
11600
- return C_ || (C_ = 1, function(i) {
11600
+ return C0 || (C0 = 1, function(i) {
11601
11601
  i.exports = function(t, n) {
11602
11602
  t = t || " he is here ";
11603
11603
  var r = {
@@ -11757,9 +11757,9 @@ function rF() {
11757
11757
  };
11758
11758
  }(lh)), lh.exports;
11759
11759
  }
11760
- var uh = { exports: {} }, A_;
11760
+ var uh = { exports: {} }, A0;
11761
11761
  function nF() {
11762
- return A_ || (A_ = 1, function(i) {
11762
+ return A0 || (A0 = 1, function(i) {
11763
11763
  i.exports = function(e) {
11764
11764
  return function(t, n, r) {
11765
11765
  if (t === " ") return t;
@@ -11775,9 +11775,9 @@ function nF() {
11775
11775
  };
11776
11776
  }(uh)), uh.exports;
11777
11777
  }
11778
- var ch = { exports: {} }, P_;
11778
+ var ch = { exports: {} }, P0;
11779
11779
  function iF() {
11780
- return P_ || (P_ = 1, function(i) {
11780
+ return P0 || (P0 = 1, function(i) {
11781
11781
  i.exports = function(e) {
11782
11782
  return function(t, n, r) {
11783
11783
  return n % 2 === 0 ? t : e.inverse(t);
@@ -11785,9 +11785,9 @@ function iF() {
11785
11785
  };
11786
11786
  }(ch)), ch.exports;
11787
11787
  }
11788
- var fh = { exports: {} }, x_;
11788
+ var fh = { exports: {} }, x0;
11789
11789
  function oF() {
11790
- return x_ || (x_ = 1, function(i) {
11790
+ return x0 || (x0 = 1, function(i) {
11791
11791
  i.exports = function(e) {
11792
11792
  var t = ["red", "yellow", "green", "blue", "magenta"];
11793
11793
  return function(n, r, o) {
@@ -11796,9 +11796,9 @@ function oF() {
11796
11796
  };
11797
11797
  }(fh)), fh.exports;
11798
11798
  }
11799
- var dh = { exports: {} }, I_;
11799
+ var dh = { exports: {} }, I0;
11800
11800
  function sF() {
11801
- return I_ || (I_ = 1, function(i) {
11801
+ return I0 || (I0 = 1, function(i) {
11802
11802
  i.exports = function(e) {
11803
11803
  var t = [
11804
11804
  "underline",
@@ -11825,9 +11825,9 @@ function sF() {
11825
11825
  };
11826
11826
  }(dh)), dh.exports;
11827
11827
  }
11828
- var R_;
11828
+ var R0;
11829
11829
  function aF() {
11830
- return R_ || (R_ = 1, function(i) {
11830
+ return R0 || (R0 = 1, function(i) {
11831
11831
  var e = {};
11832
11832
  i.exports = e, e.themes = {};
11833
11833
  var t = In, n = e.styles = Q2(), r = Object.defineProperties, o = new RegExp(/[\r\n]+/g);
@@ -11922,16 +11922,16 @@ function aF() {
11922
11922
  r(e, g());
11923
11923
  }(nh)), nh.exports;
11924
11924
  }
11925
- var k_;
11925
+ var k0;
11926
11926
  function BT() {
11927
- return k_ || (k_ = 1, function(i) {
11927
+ return k0 || (k0 = 1, function(i) {
11928
11928
  var e = aF();
11929
11929
  i.exports = e;
11930
11930
  }(rh)), rh.exports;
11931
11931
  }
11932
- var hh = {}, ph = {}, Al = {}, O_;
11932
+ var hh = {}, ph = {}, Al = {}, O0;
11933
11933
  function lF() {
11934
- return O_ || (O_ = 1, Al.levels = {
11934
+ return O0 || (O0 = 1, Al.levels = {
11935
11935
  error: 0,
11936
11936
  warn: 1,
11937
11937
  help: 2,
@@ -11955,9 +11955,9 @@ function lF() {
11955
11955
  silly: "magenta"
11956
11956
  }), Al;
11957
11957
  }
11958
- var Pl = {}, M_;
11958
+ var Pl = {}, M0;
11959
11959
  function uF() {
11960
- return M_ || (M_ = 1, Pl.levels = {
11960
+ return M0 || (M0 = 1, Pl.levels = {
11961
11961
  error: 0,
11962
11962
  warn: 1,
11963
11963
  info: 2,
@@ -11975,9 +11975,9 @@ function uF() {
11975
11975
  silly: "magenta"
11976
11976
  }), Pl;
11977
11977
  }
11978
- var xl = {}, L_;
11978
+ var xl = {}, L0;
11979
11979
  function cF() {
11980
- return L_ || (L_ = 1, xl.levels = {
11980
+ return L0 || (L0 = 1, xl.levels = {
11981
11981
  emerg: 0,
11982
11982
  alert: 1,
11983
11983
  crit: 2,
@@ -11997,9 +11997,9 @@ function cF() {
11997
11997
  debug: "blue"
11998
11998
  }), xl;
11999
11999
  }
12000
- var N_;
12000
+ var N0;
12001
12001
  function fF() {
12002
- return N_ || (N_ = 1, function(i) {
12002
+ return N0 || (N0 = 1, function(i) {
12003
12003
  Object.defineProperty(i, "cli", {
12004
12004
  value: lF()
12005
12005
  }), Object.defineProperty(i, "npm", {
@@ -12009,9 +12009,9 @@ function fF() {
12009
12009
  });
12010
12010
  }(ph)), ph;
12011
12011
  }
12012
- var D_;
12012
+ var D0;
12013
12013
  function Ht() {
12014
- return D_ || (D_ = 1, function(i) {
12014
+ return D0 || (D0 = 1, function(i) {
12015
12015
  Object.defineProperty(i, "LEVEL", {
12016
12016
  value: Symbol.for("level")
12017
12017
  }), Object.defineProperty(i, "MESSAGE", {
@@ -12023,10 +12023,10 @@ function Ht() {
12023
12023
  });
12024
12024
  }(hh)), hh;
12025
12025
  }
12026
- var F_;
12026
+ var F0;
12027
12027
  function rg() {
12028
- if (F_) return Bs.exports;
12029
- F_ = 1;
12028
+ if (F0) return Bs.exports;
12029
+ F0 = 1;
12030
12030
  function i(g) {
12031
12031
  "@babel/helpers - typeof";
12032
12032
  return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(v) {
@@ -12118,28 +12118,28 @@ function rg() {
12118
12118
  return new h(g);
12119
12119
  }, Bs.exports.Colorizer = Bs.exports.Format = h, Bs.exports;
12120
12120
  }
12121
- var mh, $_;
12121
+ var mh, $0;
12122
12122
  function dF() {
12123
- if ($_) return mh;
12124
- $_ = 1;
12123
+ if ($0) return mh;
12124
+ $0 = 1;
12125
12125
  var i = rg(), e = i.Colorizer;
12126
12126
  return mh = function(t) {
12127
12127
  return e.addColors(t.colors || t), t;
12128
12128
  }, mh;
12129
12129
  }
12130
- var gh, U_;
12130
+ var gh, U0;
12131
12131
  function hF() {
12132
- if (U_) return gh;
12133
- U_ = 1;
12132
+ if (U0) return gh;
12133
+ U0 = 1;
12134
12134
  var i = qr();
12135
12135
  return gh = i(function(e) {
12136
12136
  return e.message = " ".concat(e.message), e;
12137
12137
  }), gh;
12138
12138
  }
12139
- var Il = { exports: {} }, Vs = { exports: {} }, q_;
12139
+ var Il = { exports: {} }, Vs = { exports: {} }, q0;
12140
12140
  function VT() {
12141
- if (q_) return Vs.exports;
12142
- q_ = 1;
12141
+ if (q0) return Vs.exports;
12142
+ q0 = 1;
12143
12143
  function i(p) {
12144
12144
  "@babel/helpers - typeof";
12145
12145
  return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(S) {
@@ -12267,10 +12267,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12267
12267
  return new b(p);
12268
12268
  }, Vs.exports.Padder = Vs.exports.Format = b, Vs.exports;
12269
12269
  }
12270
- var B_;
12270
+ var B0;
12271
12271
  function pF() {
12272
- if (B_) return Il.exports;
12273
- B_ = 1;
12272
+ if (B0) return Il.exports;
12273
+ B0 = 1;
12274
12274
  function i(_) {
12275
12275
  "@babel/helpers - typeof";
12276
12276
  return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(w) {
@@ -12321,10 +12321,10 @@ function pF() {
12321
12321
  return new v(_);
12322
12322
  }, Il.exports.Format = v, Il.exports;
12323
12323
  }
12324
- var Rl = { exports: {} }, V_;
12324
+ var Rl = { exports: {} }, V0;
12325
12325
  function mF() {
12326
- if (V_) return Rl.exports;
12327
- V_ = 1;
12326
+ if (V0) return Rl.exports;
12327
+ V0 = 1;
12328
12328
  var i = qr();
12329
12329
  function e(n) {
12330
12330
  if (n.every(t))
@@ -12348,10 +12348,10 @@ function mF() {
12348
12348
  return a.Format = s.Format, a;
12349
12349
  }, Rl.exports.cascade = e, Rl.exports;
12350
12350
  }
12351
- var vh, H_;
12351
+ var vh, H0;
12352
12352
  function gF() {
12353
- if (H_) return vh;
12354
- H_ = 1;
12353
+ if (H0) return vh;
12354
+ H0 = 1;
12355
12355
  function i(u) {
12356
12356
  "@babel/helpers - typeof";
12357
12357
  return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(c) {
@@ -12391,9 +12391,9 @@ function gF() {
12391
12391
  return Object.assign(u, v), u.message = v.message, u[a] = v.message, d && (u.stack = v.stack), h && (u.cause = v.cause), u;
12392
12392
  }), vh;
12393
12393
  }
12394
- var kl = { exports: {} }, G_;
12394
+ var kl = { exports: {} }, G0;
12395
12395
  function ba() {
12396
- return G_ || (G_ = 1, function(i, e) {
12396
+ return G0 || (G0 = 1, function(i, e) {
12397
12397
  const { hasOwnProperty: t } = Object.prototype, n = p();
12398
12398
  n.configure = p, n.stringify = n, n.default = n, e.stringify = n, e.configure = p, i.exports = n;
12399
12399
  const r = /[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;
@@ -12791,10 +12791,10 @@ ${Z}`), W.pop(), `{${ee}}`;
12791
12791
  }
12792
12792
  }(kl, kl.exports)), kl.exports;
12793
12793
  }
12794
- var yh, W_;
12794
+ var yh, W0;
12795
12795
  function vF() {
12796
- if (W_) return yh;
12797
- W_ = 1;
12796
+ if (W0) return yh;
12797
+ W0 = 1;
12798
12798
  var i = qr(), e = Ht(), t = e.MESSAGE, n = ba();
12799
12799
  function r(o, s) {
12800
12800
  return typeof s == "bigint" ? s.toString() : s;
@@ -12804,29 +12804,29 @@ function vF() {
12804
12804
  return o[t] = a(o, s.replacer || r, s.space), o;
12805
12805
  }), yh;
12806
12806
  }
12807
- var _h, z_;
12807
+ var _h, z0;
12808
12808
  function yF() {
12809
- if (z_) return _h;
12810
- z_ = 1;
12809
+ if (z0) return _h;
12810
+ z0 = 1;
12811
12811
  var i = qr();
12812
12812
  return _h = i(function(e, t) {
12813
12813
  return t.message ? (e.message = "[".concat(t.label, "] ").concat(e.message), e) : (e.label = t.label, e);
12814
12814
  }), _h;
12815
12815
  }
12816
- var wh, K_;
12816
+ var wh, K0;
12817
12817
  function _F() {
12818
- if (K_) return wh;
12819
- K_ = 1;
12818
+ if (K0) return wh;
12819
+ K0 = 1;
12820
12820
  var i = qr(), e = Ht(), t = e.MESSAGE, n = ba();
12821
12821
  return wh = i(function(r) {
12822
12822
  var o = {};
12823
12823
  return r.message && (o["@message"] = r.message, delete r.message), r.timestamp && (o["@timestamp"] = r.timestamp, delete r.timestamp), o["@fields"] = r, r[t] = n(o), r;
12824
12824
  }), wh;
12825
12825
  }
12826
- var bh, J_;
12826
+ var bh, J0;
12827
12827
  function wF() {
12828
- if (J_) return bh;
12829
- J_ = 1;
12828
+ if (J0) return bh;
12829
+ J0 = 1;
12830
12830
  function i(a) {
12831
12831
  "@babel/helpers - typeof";
12832
12832
  return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
@@ -12873,10 +12873,10 @@ function wF() {
12873
12873
  return !u.fillExcept && !u.fillWith && (d.push("level"), d.push("message")), u.fillExcept && (d = u.fillExcept), d.length > 0 ? o(a, d, c) : u.fillWith ? s(a, u.fillWith, c) : a;
12874
12874
  }), bh;
12875
12875
  }
12876
- var Sh, Y_;
12876
+ var Sh, Y0;
12877
12877
  function bF() {
12878
- if (Y_) return Sh;
12879
- Y_ = 1;
12878
+ if (Y0) return Sh;
12879
+ Y0 = 1;
12880
12880
  var i = 1e3, e = i * 60, t = e * 60, n = t * 24, r = n * 7, o = n * 365.25;
12881
12881
  Sh = function(d, h) {
12882
12882
  h = h || {};
@@ -12955,30 +12955,30 @@ function bF() {
12955
12955
  }
12956
12956
  return Sh;
12957
12957
  }
12958
- var Eh, j_;
12958
+ var Eh, j0;
12959
12959
  function SF() {
12960
- if (j_) return Eh;
12961
- j_ = 1;
12960
+ if (j0) return Eh;
12961
+ j0 = 1;
12962
12962
  var i = void 0, e = qr(), t = bF();
12963
12963
  return Eh = e(function(n) {
12964
12964
  var r = +/* @__PURE__ */ new Date();
12965
12965
  return i.diff = r - (i.prevTime || r), i.prevTime = r, n.ms = "+".concat(t(i.diff)), n;
12966
12966
  }), Eh;
12967
12967
  }
12968
- var Th, Z_;
12968
+ var Th, Z0;
12969
12969
  function EF() {
12970
- if (Z_) return Th;
12971
- Z_ = 1;
12970
+ if (Z0) return Th;
12971
+ Z0 = 1;
12972
12972
  var i = In.inspect, e = qr(), t = Ht(), n = t.LEVEL, r = t.MESSAGE, o = t.SPLAT;
12973
12973
  return Th = e(function(s) {
12974
12974
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, u = Object.assign({}, s);
12975
12975
  return delete u[n], delete u[r], delete u[o], s[r] = i(u, !1, a.depth || null, a.colorize), s;
12976
12976
  }), Th;
12977
12977
  }
12978
- var Hs = { exports: {} }, Q_;
12978
+ var Hs = { exports: {} }, Q0;
12979
12979
  function TF() {
12980
- if (Q_) return Hs.exports;
12981
- Q_ = 1;
12980
+ if (Q0) return Hs.exports;
12981
+ Q0 = 1;
12982
12982
  function i(c) {
12983
12983
  "@babel/helpers - typeof";
12984
12984
  return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
@@ -13028,10 +13028,10 @@ function TF() {
13028
13028
  return new u(c);
13029
13029
  }, Hs.exports.Printf = Hs.exports.Format = u, Hs.exports;
13030
13030
  }
13031
- var Ch, X_;
13031
+ var Ch, X0;
13032
13032
  function CF() {
13033
- if (X_) return Ch;
13034
- X_ = 1;
13033
+ if (X0) return Ch;
13034
+ X0 = 1;
13035
13035
  var i = qr(), e = Ht(), t = e.MESSAGE, n = ba();
13036
13036
  return Ch = i(function(r) {
13037
13037
  var o = n(Object.assign({}, r, {
@@ -22485,10 +22485,10 @@ function X5(i, e) {
22485
22485
  const t = {}, n = m(e, ["authConfig"]);
22486
22486
  return n != null && y(t, ["authConfig"], Q5(i, n)), t;
22487
22487
  }
22488
- function eB() {
22488
+ function e9() {
22489
22489
  return {};
22490
22490
  }
22491
- function tB(i, e) {
22491
+ function t9(i, e) {
22492
22492
  const t = {}, n = m(e, [
22493
22493
  "functionDeclarations"
22494
22494
  ]);
@@ -22507,13 +22507,13 @@ function tB(i, e) {
22507
22507
  throw new Error("enterpriseWebSearch parameter is not supported in Gemini API.");
22508
22508
  if (m(e, ["googleMaps"]) !== void 0)
22509
22509
  throw new Error("googleMaps parameter is not supported in Gemini API.");
22510
- m(e, ["urlContext"]) != null && y(t, ["urlContext"], eB());
22510
+ m(e, ["urlContext"]) != null && y(t, ["urlContext"], e9());
22511
22511
  const a = m(e, [
22512
22512
  "codeExecution"
22513
22513
  ]);
22514
22514
  return a != null && y(t, ["codeExecution"], a), t;
22515
22515
  }
22516
- function rB(i, e) {
22516
+ function r9(i, e) {
22517
22517
  const t = {}, n = m(e, [
22518
22518
  "functionDeclarations"
22519
22519
  ]);
@@ -22539,13 +22539,13 @@ function rB(i, e) {
22539
22539
  ]);
22540
22540
  return c != null && y(t, ["codeExecution"], c), t;
22541
22541
  }
22542
- function nB(i, e) {
22542
+ function n9(i, e) {
22543
22543
  const t = {}, n = m(e, ["handle"]);
22544
22544
  if (n != null && y(t, ["handle"], n), m(e, ["transparent"]) !== void 0)
22545
22545
  throw new Error("transparent parameter is not supported in Gemini API.");
22546
22546
  return t;
22547
22547
  }
22548
- function iB(i, e) {
22548
+ function i9(i, e) {
22549
22549
  const t = {}, n = m(e, ["handle"]);
22550
22550
  n != null && y(t, ["handle"], n);
22551
22551
  const r = m(e, ["transparent"]);
@@ -22557,7 +22557,7 @@ function WS() {
22557
22557
  function zS() {
22558
22558
  return {};
22559
22559
  }
22560
- function oB(i, e) {
22560
+ function o9(i, e) {
22561
22561
  const t = {}, n = m(e, ["disabled"]);
22562
22562
  n != null && y(t, ["disabled"], n);
22563
22563
  const r = m(e, [
@@ -22577,7 +22577,7 @@ function oB(i, e) {
22577
22577
  ]);
22578
22578
  return a != null && y(t, ["silenceDurationMs"], a), t;
22579
22579
  }
22580
- function sB(i, e) {
22580
+ function s9(i, e) {
22581
22581
  const t = {}, n = m(e, ["disabled"]);
22582
22582
  n != null && y(t, ["disabled"], n);
22583
22583
  const r = m(e, [
@@ -22597,11 +22597,11 @@ function sB(i, e) {
22597
22597
  ]);
22598
22598
  return a != null && y(t, ["silenceDurationMs"], a), t;
22599
22599
  }
22600
- function aB(i, e) {
22600
+ function a9(i, e) {
22601
22601
  const t = {}, n = m(e, [
22602
22602
  "automaticActivityDetection"
22603
22603
  ]);
22604
- n != null && y(t, ["automaticActivityDetection"], oB(i, n));
22604
+ n != null && y(t, ["automaticActivityDetection"], o9(i, n));
22605
22605
  const r = m(e, [
22606
22606
  "activityHandling"
22607
22607
  ]);
@@ -22609,11 +22609,11 @@ function aB(i, e) {
22609
22609
  const o = m(e, ["turnCoverage"]);
22610
22610
  return o != null && y(t, ["turnCoverage"], o), t;
22611
22611
  }
22612
- function lB(i, e) {
22612
+ function l9(i, e) {
22613
22613
  const t = {}, n = m(e, [
22614
22614
  "automaticActivityDetection"
22615
22615
  ]);
22616
- n != null && y(t, ["automaticActivityDetection"], sB(i, n));
22616
+ n != null && y(t, ["automaticActivityDetection"], s9(i, n));
22617
22617
  const r = m(e, [
22618
22618
  "activityHandling"
22619
22619
  ]);
@@ -22621,15 +22621,15 @@ function lB(i, e) {
22621
22621
  const o = m(e, ["turnCoverage"]);
22622
22622
  return o != null && y(t, ["turnCoverage"], o), t;
22623
22623
  }
22624
- function uB(i, e) {
22624
+ function u9(i, e) {
22625
22625
  const t = {}, n = m(e, ["targetTokens"]);
22626
22626
  return n != null && y(t, ["targetTokens"], n), t;
22627
22627
  }
22628
- function cB(i, e) {
22628
+ function c9(i, e) {
22629
22629
  const t = {}, n = m(e, ["targetTokens"]);
22630
22630
  return n != null && y(t, ["targetTokens"], n), t;
22631
22631
  }
22632
- function fB(i, e) {
22632
+ function f9(i, e) {
22633
22633
  const t = {}, n = m(e, [
22634
22634
  "triggerTokens"
22635
22635
  ]);
@@ -22637,9 +22637,9 @@ function fB(i, e) {
22637
22637
  const r = m(e, [
22638
22638
  "slidingWindow"
22639
22639
  ]);
22640
- return r != null && y(t, ["slidingWindow"], uB(i, r)), t;
22640
+ return r != null && y(t, ["slidingWindow"], u9(i, r)), t;
22641
22641
  }
22642
- function dB(i, e) {
22642
+ function d9(i, e) {
22643
22643
  const t = {}, n = m(e, [
22644
22644
  "triggerTokens"
22645
22645
  ]);
@@ -22647,21 +22647,21 @@ function dB(i, e) {
22647
22647
  const r = m(e, [
22648
22648
  "slidingWindow"
22649
22649
  ]);
22650
- return r != null && y(t, ["slidingWindow"], cB(i, r)), t;
22650
+ return r != null && y(t, ["slidingWindow"], c9(i, r)), t;
22651
22651
  }
22652
- function hB(i, e) {
22652
+ function h9(i, e) {
22653
22653
  const t = {}, n = m(e, [
22654
22654
  "proactiveAudio"
22655
22655
  ]);
22656
22656
  return n != null && y(t, ["proactiveAudio"], n), t;
22657
22657
  }
22658
- function pB(i, e) {
22658
+ function p9(i, e) {
22659
22659
  const t = {}, n = m(e, [
22660
22660
  "proactiveAudio"
22661
22661
  ]);
22662
22662
  return n != null && y(t, ["proactiveAudio"], n), t;
22663
22663
  }
22664
- function mB(i, e, t) {
22664
+ function m9(i, e, t) {
22665
22665
  const n = {}, r = m(e, [
22666
22666
  "generationConfig"
22667
22667
  ]);
@@ -22699,12 +22699,12 @@ function mB(i, e, t) {
22699
22699
  const w = m(e, ["tools"]);
22700
22700
  if (t !== void 0 && w != null) {
22701
22701
  let M = bc(i, w);
22702
- Array.isArray(M) && (M = M.map(($) => tB(i, wc(i, $)))), y(t, ["setup", "tools"], M);
22702
+ Array.isArray(M) && (M = M.map(($) => t9(i, wc(i, $)))), y(t, ["setup", "tools"], M);
22703
22703
  }
22704
22704
  const b = m(e, [
22705
22705
  "sessionResumption"
22706
22706
  ]);
22707
- t !== void 0 && b != null && y(t, ["setup", "sessionResumption"], nB(i, b));
22707
+ t !== void 0 && b != null && y(t, ["setup", "sessionResumption"], n9(i, b));
22708
22708
  const p = m(e, [
22709
22709
  "inputAudioTranscription"
22710
22710
  ]);
@@ -22716,15 +22716,15 @@ function mB(i, e, t) {
22716
22716
  const T = m(e, [
22717
22717
  "realtimeInputConfig"
22718
22718
  ]);
22719
- t !== void 0 && T != null && y(t, ["setup", "realtimeInputConfig"], aB(i, T));
22719
+ t !== void 0 && T != null && y(t, ["setup", "realtimeInputConfig"], a9(i, T));
22720
22720
  const C = m(e, [
22721
22721
  "contextWindowCompression"
22722
22722
  ]);
22723
- t !== void 0 && C != null && y(t, ["setup", "contextWindowCompression"], fB(i, C));
22723
+ t !== void 0 && C != null && y(t, ["setup", "contextWindowCompression"], f9(i, C));
22724
22724
  const A = m(e, ["proactivity"]);
22725
- return t !== void 0 && A != null && y(t, ["setup", "proactivity"], hB(i, A)), n;
22725
+ return t !== void 0 && A != null && y(t, ["setup", "proactivity"], h9(i, A)), n;
22726
22726
  }
22727
- function gB(i, e, t) {
22727
+ function g9(i, e, t) {
22728
22728
  const n = {}, r = m(e, [
22729
22729
  "generationConfig"
22730
22730
  ]);
@@ -22762,12 +22762,12 @@ function gB(i, e, t) {
22762
22762
  const w = m(e, ["tools"]);
22763
22763
  if (t !== void 0 && w != null) {
22764
22764
  let M = bc(i, w);
22765
- Array.isArray(M) && (M = M.map(($) => rB(i, wc(i, $)))), y(t, ["setup", "tools"], M);
22765
+ Array.isArray(M) && (M = M.map(($) => r9(i, wc(i, $)))), y(t, ["setup", "tools"], M);
22766
22766
  }
22767
22767
  const b = m(e, [
22768
22768
  "sessionResumption"
22769
22769
  ]);
22770
- t !== void 0 && b != null && y(t, ["setup", "sessionResumption"], iB(i, b));
22770
+ t !== void 0 && b != null && y(t, ["setup", "sessionResumption"], i9(i, b));
22771
22771
  const p = m(e, [
22772
22772
  "inputAudioTranscription"
22773
22773
  ]);
@@ -22779,39 +22779,39 @@ function gB(i, e, t) {
22779
22779
  const T = m(e, [
22780
22780
  "realtimeInputConfig"
22781
22781
  ]);
22782
- t !== void 0 && T != null && y(t, ["setup", "realtimeInputConfig"], lB(i, T));
22782
+ t !== void 0 && T != null && y(t, ["setup", "realtimeInputConfig"], l9(i, T));
22783
22783
  const C = m(e, [
22784
22784
  "contextWindowCompression"
22785
22785
  ]);
22786
- t !== void 0 && C != null && y(t, ["setup", "contextWindowCompression"], dB(i, C));
22786
+ t !== void 0 && C != null && y(t, ["setup", "contextWindowCompression"], d9(i, C));
22787
22787
  const A = m(e, ["proactivity"]);
22788
- return t !== void 0 && A != null && y(t, ["setup", "proactivity"], pB(i, A)), n;
22788
+ return t !== void 0 && A != null && y(t, ["setup", "proactivity"], p9(i, A)), n;
22789
22789
  }
22790
- function vB(i, e) {
22790
+ function v9(i, e) {
22791
22791
  const t = {}, n = m(e, ["model"]);
22792
22792
  n != null && y(t, ["setup", "model"], Ot(i, n));
22793
22793
  const r = m(e, ["config"]);
22794
- return r != null && y(t, ["config"], mB(i, r, t)), t;
22794
+ return r != null && y(t, ["config"], m9(i, r, t)), t;
22795
22795
  }
22796
- function yB(i, e) {
22796
+ function y9(i, e) {
22797
22797
  const t = {}, n = m(e, ["model"]);
22798
22798
  n != null && y(t, ["setup", "model"], Ot(i, n));
22799
22799
  const r = m(e, ["config"]);
22800
- return r != null && y(t, ["config"], gB(i, r, t)), t;
22800
+ return r != null && y(t, ["config"], g9(i, r, t)), t;
22801
22801
  }
22802
- function _B() {
22802
+ function _9() {
22803
22803
  return {};
22804
22804
  }
22805
- function wB() {
22805
+ function w9() {
22806
22806
  return {};
22807
22807
  }
22808
- function bB() {
22808
+ function b9() {
22809
22809
  return {};
22810
22810
  }
22811
- function SB() {
22811
+ function S9() {
22812
22812
  return {};
22813
22813
  }
22814
- function EB(i, e) {
22814
+ function E9(i, e) {
22815
22815
  const t = {}, n = m(e, ["media"]);
22816
22816
  n != null && y(t, ["mediaChunks"], CC(i, n));
22817
22817
  const r = m(e, ["audio"]);
@@ -22825,9 +22825,9 @@ function EB(i, e) {
22825
22825
  const a = m(e, ["text"]);
22826
22826
  return a != null && y(t, ["text"], a), m(e, [
22827
22827
  "activityStart"
22828
- ]) != null && y(t, ["activityStart"], _B()), m(e, ["activityEnd"]) != null && y(t, ["activityEnd"], bB()), t;
22828
+ ]) != null && y(t, ["activityStart"], _9()), m(e, ["activityEnd"]) != null && y(t, ["activityEnd"], b9()), t;
22829
22829
  }
22830
- function TB(i, e) {
22830
+ function T9(i, e) {
22831
22831
  const t = {}, n = m(e, ["media"]);
22832
22832
  if (n != null && y(t, ["mediaChunks"], CC(i, n)), m(e, ["audio"]) !== void 0)
22833
22833
  throw new Error("audio parameter is not supported in Vertex AI.");
@@ -22840,7 +22840,7 @@ function TB(i, e) {
22840
22840
  throw new Error("text parameter is not supported in Vertex AI.");
22841
22841
  return m(e, [
22842
22842
  "activityStart"
22843
- ]) != null && y(t, ["activityStart"], wB()), m(e, ["activityEnd"]) != null && y(t, ["activityEnd"], SB()), t;
22843
+ ]) != null && y(t, ["activityStart"], w9()), m(e, ["activityEnd"]) != null && y(t, ["activityEnd"], S9()), t;
22844
22844
  }
22845
22845
  function DC(i, e) {
22846
22846
  const t = {}, n = m(e, ["text"]);
@@ -22848,7 +22848,7 @@ function DC(i, e) {
22848
22848
  const r = m(e, ["weight"]);
22849
22849
  return r != null && y(t, ["weight"], r), t;
22850
22850
  }
22851
- function CB(i, e) {
22851
+ function C9(i, e) {
22852
22852
  const t = {}, n = m(e, [
22853
22853
  "weightedPrompts"
22854
22854
  ]);
@@ -22888,7 +22888,7 @@ function FC(i, e) {
22888
22888
  ]);
22889
22889
  return _ != null && y(t, ["musicGenerationMode"], _), t;
22890
22890
  }
22891
- function AB(i, e) {
22891
+ function A9(i, e) {
22892
22892
  const t = {}, n = m(e, [
22893
22893
  "musicGenerationConfig"
22894
22894
  ]);
@@ -22924,13 +22924,13 @@ function Em(i, e) {
22924
22924
  ]);
22925
22925
  return s != null && y(t, ["playbackControl"], s), t;
22926
22926
  }
22927
- function PB() {
22927
+ function P9() {
22928
22928
  return {};
22929
22929
  }
22930
- function xB() {
22930
+ function x9() {
22931
22931
  return {};
22932
22932
  }
22933
- function IB(i, e) {
22933
+ function I9(i, e) {
22934
22934
  const t = {}, n = m(e, ["fps"]);
22935
22935
  n != null && y(t, ["fps"], n);
22936
22936
  const r = m(e, ["endOffset"]);
@@ -22938,7 +22938,7 @@ function IB(i, e) {
22938
22938
  const o = m(e, ["startOffset"]);
22939
22939
  return o != null && y(t, ["startOffset"], o), t;
22940
22940
  }
22941
- function RB(i, e) {
22941
+ function R9(i, e) {
22942
22942
  const t = {}, n = m(e, ["fps"]);
22943
22943
  n != null && y(t, ["fps"], n);
22944
22944
  const r = m(e, ["endOffset"]);
@@ -22946,13 +22946,13 @@ function RB(i, e) {
22946
22946
  const o = m(e, ["startOffset"]);
22947
22947
  return o != null && y(t, ["startOffset"], o), t;
22948
22948
  }
22949
- function kB(i, e) {
22949
+ function k9(i, e) {
22950
22950
  const t = {}, n = m(e, ["data"]);
22951
22951
  n != null && y(t, ["data"], n);
22952
22952
  const r = m(e, ["mimeType"]);
22953
22953
  return r != null && y(t, ["mimeType"], r), t;
22954
22954
  }
22955
- function OB(i, e) {
22955
+ function O9(i, e) {
22956
22956
  const t = {}, n = m(e, ["displayName"]);
22957
22957
  n != null && y(t, ["displayName"], n);
22958
22958
  const r = m(e, ["data"]);
@@ -22960,15 +22960,15 @@ function OB(i, e) {
22960
22960
  const o = m(e, ["mimeType"]);
22961
22961
  return o != null && y(t, ["mimeType"], o), t;
22962
22962
  }
22963
- function MB(i, e) {
22963
+ function M9(i, e) {
22964
22964
  const t = {}, n = m(e, [
22965
22965
  "videoMetadata"
22966
22966
  ]);
22967
- n != null && y(t, ["videoMetadata"], IB(i, n));
22967
+ n != null && y(t, ["videoMetadata"], I9(i, n));
22968
22968
  const r = m(e, ["thought"]);
22969
22969
  r != null && y(t, ["thought"], r);
22970
22970
  const o = m(e, ["inlineData"]);
22971
- o != null && y(t, ["inlineData"], kB(i, o));
22971
+ o != null && y(t, ["inlineData"], k9(i, o));
22972
22972
  const s = m(e, [
22973
22973
  "codeExecutionResult"
22974
22974
  ]);
@@ -22988,15 +22988,15 @@ function MB(i, e) {
22988
22988
  const h = m(e, ["text"]);
22989
22989
  return h != null && y(t, ["text"], h), t;
22990
22990
  }
22991
- function LB(i, e) {
22991
+ function L9(i, e) {
22992
22992
  const t = {}, n = m(e, [
22993
22993
  "videoMetadata"
22994
22994
  ]);
22995
- n != null && y(t, ["videoMetadata"], RB(i, n));
22995
+ n != null && y(t, ["videoMetadata"], R9(i, n));
22996
22996
  const r = m(e, ["thought"]);
22997
22997
  r != null && y(t, ["thought"], r);
22998
22998
  const o = m(e, ["inlineData"]);
22999
- o != null && y(t, ["inlineData"], OB(i, o));
22999
+ o != null && y(t, ["inlineData"], O9(i, o));
23000
23000
  const s = m(e, [
23001
23001
  "codeExecutionResult"
23002
23002
  ]);
@@ -23016,20 +23016,20 @@ function LB(i, e) {
23016
23016
  const h = m(e, ["text"]);
23017
23017
  return h != null && y(t, ["text"], h), t;
23018
23018
  }
23019
- function NB(i, e) {
23019
+ function N9(i, e) {
23020
23020
  const t = {}, n = m(e, ["parts"]);
23021
23021
  if (n != null) {
23022
23022
  let o = n;
23023
- Array.isArray(o) && (o = o.map((s) => MB(i, s))), y(t, ["parts"], o);
23023
+ Array.isArray(o) && (o = o.map((s) => M9(i, s))), y(t, ["parts"], o);
23024
23024
  }
23025
23025
  const r = m(e, ["role"]);
23026
23026
  return r != null && y(t, ["role"], r), t;
23027
23027
  }
23028
- function DB(i, e) {
23028
+ function D9(i, e) {
23029
23029
  const t = {}, n = m(e, ["parts"]);
23030
23030
  if (n != null) {
23031
23031
  let o = n;
23032
- Array.isArray(o) && (o = o.map((s) => LB(i, s))), y(t, ["parts"], o);
23032
+ Array.isArray(o) && (o = o.map((s) => L9(i, s))), y(t, ["parts"], o);
23033
23033
  }
23034
23034
  const r = m(e, ["role"]);
23035
23035
  return r != null && y(t, ["role"], r), t;
@@ -23046,7 +23046,7 @@ function JS(i, e) {
23046
23046
  const r = m(e, ["finished"]);
23047
23047
  return r != null && y(t, ["finished"], r), t;
23048
23048
  }
23049
- function FB(i, e) {
23049
+ function F9(i, e) {
23050
23050
  const t = {}, n = m(e, ["retrievedUrl"]);
23051
23051
  n != null && y(t, ["retrievedUrl"], n);
23052
23052
  const r = m(e, [
@@ -23054,17 +23054,17 @@ function FB(i, e) {
23054
23054
  ]);
23055
23055
  return r != null && y(t, ["urlRetrievalStatus"], r), t;
23056
23056
  }
23057
- function $B(i, e) {
23057
+ function $9(i, e) {
23058
23058
  const t = {}, n = m(e, ["urlMetadata"]);
23059
23059
  if (n != null) {
23060
23060
  let r = n;
23061
- Array.isArray(r) && (r = r.map((o) => FB(i, o))), y(t, ["urlMetadata"], r);
23061
+ Array.isArray(r) && (r = r.map((o) => F9(i, o))), y(t, ["urlMetadata"], r);
23062
23062
  }
23063
23063
  return t;
23064
23064
  }
23065
- function UB(i, e) {
23065
+ function U9(i, e) {
23066
23066
  const t = {}, n = m(e, ["modelTurn"]);
23067
- n != null && y(t, ["modelTurn"], NB(i, n));
23067
+ n != null && y(t, ["modelTurn"], N9(i, n));
23068
23068
  const r = m(e, ["turnComplete"]);
23069
23069
  r != null && y(t, ["turnComplete"], r);
23070
23070
  const o = m(e, ["interrupted"]);
@@ -23088,11 +23088,11 @@ function UB(i, e) {
23088
23088
  const d = m(e, [
23089
23089
  "urlContextMetadata"
23090
23090
  ]);
23091
- return d != null && y(t, ["urlContextMetadata"], $B(i, d)), t;
23091
+ return d != null && y(t, ["urlContextMetadata"], $9(i, d)), t;
23092
23092
  }
23093
- function qB(i, e) {
23093
+ function q9(i, e) {
23094
23094
  const t = {}, n = m(e, ["modelTurn"]);
23095
- n != null && y(t, ["modelTurn"], DB(i, n));
23095
+ n != null && y(t, ["modelTurn"], D9(i, n));
23096
23096
  const r = m(e, ["turnComplete"]);
23097
23097
  r != null && y(t, ["turnComplete"], r);
23098
23098
  const o = m(e, ["interrupted"]);
@@ -23114,7 +23114,7 @@ function qB(i, e) {
23114
23114
  ]);
23115
23115
  return c != null && y(t, ["outputTranscription"], JS(i, c)), t;
23116
23116
  }
23117
- function BB(i, e) {
23117
+ function B9(i, e) {
23118
23118
  const t = {}, n = m(e, ["id"]);
23119
23119
  n != null && y(t, ["id"], n);
23120
23120
  const r = m(e, ["args"]);
@@ -23122,37 +23122,37 @@ function BB(i, e) {
23122
23122
  const o = m(e, ["name"]);
23123
23123
  return o != null && y(t, ["name"], o), t;
23124
23124
  }
23125
- function VB(i, e) {
23125
+ function V9(i, e) {
23126
23126
  const t = {}, n = m(e, ["args"]);
23127
23127
  n != null && y(t, ["args"], n);
23128
23128
  const r = m(e, ["name"]);
23129
23129
  return r != null && y(t, ["name"], r), t;
23130
23130
  }
23131
- function HB(i, e) {
23131
+ function H9(i, e) {
23132
23132
  const t = {}, n = m(e, [
23133
23133
  "functionCalls"
23134
23134
  ]);
23135
23135
  if (n != null) {
23136
23136
  let r = n;
23137
- Array.isArray(r) && (r = r.map((o) => BB(i, o))), y(t, ["functionCalls"], r);
23137
+ Array.isArray(r) && (r = r.map((o) => B9(i, o))), y(t, ["functionCalls"], r);
23138
23138
  }
23139
23139
  return t;
23140
23140
  }
23141
- function GB(i, e) {
23141
+ function G9(i, e) {
23142
23142
  const t = {}, n = m(e, [
23143
23143
  "functionCalls"
23144
23144
  ]);
23145
23145
  if (n != null) {
23146
23146
  let r = n;
23147
- Array.isArray(r) && (r = r.map((o) => VB(i, o))), y(t, ["functionCalls"], r);
23147
+ Array.isArray(r) && (r = r.map((o) => V9(i, o))), y(t, ["functionCalls"], r);
23148
23148
  }
23149
23149
  return t;
23150
23150
  }
23151
- function WB(i, e) {
23151
+ function W9(i, e) {
23152
23152
  const t = {}, n = m(e, ["ids"]);
23153
23153
  return n != null && y(t, ["ids"], n), t;
23154
23154
  }
23155
- function zB(i, e) {
23155
+ function z9(i, e) {
23156
23156
  const t = {}, n = m(e, ["ids"]);
23157
23157
  return n != null && y(t, ["ids"], n), t;
23158
23158
  }
@@ -23168,7 +23168,7 @@ function nu(i, e) {
23168
23168
  const r = m(e, ["tokenCount"]);
23169
23169
  return r != null && y(t, ["tokenCount"], r), t;
23170
23170
  }
23171
- function KB(i, e) {
23171
+ function K9(i, e) {
23172
23172
  const t = {}, n = m(e, [
23173
23173
  "promptTokenCount"
23174
23174
  ]);
@@ -23223,7 +23223,7 @@ function KB(i, e) {
23223
23223
  }
23224
23224
  return t;
23225
23225
  }
23226
- function JB(i, e) {
23226
+ function J9(i, e) {
23227
23227
  const t = {}, n = m(e, [
23228
23228
  "promptTokenCount"
23229
23229
  ]);
@@ -23279,15 +23279,15 @@ function JB(i, e) {
23279
23279
  const v = m(e, ["trafficType"]);
23280
23280
  return v != null && y(t, ["trafficType"], v), t;
23281
23281
  }
23282
- function YB(i, e) {
23282
+ function Y9(i, e) {
23283
23283
  const t = {}, n = m(e, ["timeLeft"]);
23284
23284
  return n != null && y(t, ["timeLeft"], n), t;
23285
23285
  }
23286
- function jB(i, e) {
23286
+ function j9(i, e) {
23287
23287
  const t = {}, n = m(e, ["timeLeft"]);
23288
23288
  return n != null && y(t, ["timeLeft"], n), t;
23289
23289
  }
23290
- function ZB(i, e) {
23290
+ function Z9(i, e) {
23291
23291
  const t = {}, n = m(e, ["newHandle"]);
23292
23292
  n != null && y(t, ["newHandle"], n);
23293
23293
  const r = m(e, ["resumable"]);
@@ -23297,7 +23297,7 @@ function ZB(i, e) {
23297
23297
  ]);
23298
23298
  return o != null && y(t, ["lastConsumedClientMessageIndex"], o), t;
23299
23299
  }
23300
- function QB(i, e) {
23300
+ function Q9(i, e) {
23301
23301
  const t = {}, n = m(e, ["newHandle"]);
23302
23302
  n != null && y(t, ["newHandle"], n);
23303
23303
  const r = m(e, ["resumable"]);
@@ -23307,78 +23307,78 @@ function QB(i, e) {
23307
23307
  ]);
23308
23308
  return o != null && y(t, ["lastConsumedClientMessageIndex"], o), t;
23309
23309
  }
23310
- function XB(i, e) {
23310
+ function X9(i, e) {
23311
23311
  const t = {};
23312
23312
  m(e, [
23313
23313
  "setupComplete"
23314
- ]) != null && y(t, ["setupComplete"], PB());
23314
+ ]) != null && y(t, ["setupComplete"], P9());
23315
23315
  const r = m(e, [
23316
23316
  "serverContent"
23317
23317
  ]);
23318
- r != null && y(t, ["serverContent"], UB(i, r));
23318
+ r != null && y(t, ["serverContent"], U9(i, r));
23319
23319
  const o = m(e, ["toolCall"]);
23320
- o != null && y(t, ["toolCall"], HB(i, o));
23320
+ o != null && y(t, ["toolCall"], H9(i, o));
23321
23321
  const s = m(e, [
23322
23322
  "toolCallCancellation"
23323
23323
  ]);
23324
- s != null && y(t, ["toolCallCancellation"], WB(i, s));
23324
+ s != null && y(t, ["toolCallCancellation"], W9(i, s));
23325
23325
  const a = m(e, [
23326
23326
  "usageMetadata"
23327
23327
  ]);
23328
- a != null && y(t, ["usageMetadata"], KB(i, a));
23328
+ a != null && y(t, ["usageMetadata"], K9(i, a));
23329
23329
  const u = m(e, ["goAway"]);
23330
- u != null && y(t, ["goAway"], YB(i, u));
23330
+ u != null && y(t, ["goAway"], Y9(i, u));
23331
23331
  const c = m(e, [
23332
23332
  "sessionResumptionUpdate"
23333
23333
  ]);
23334
- return c != null && y(t, ["sessionResumptionUpdate"], ZB(i, c)), t;
23334
+ return c != null && y(t, ["sessionResumptionUpdate"], Z9(i, c)), t;
23335
23335
  }
23336
- function e9(i, e) {
23336
+ function eB(i, e) {
23337
23337
  const t = {};
23338
23338
  m(e, [
23339
23339
  "setupComplete"
23340
- ]) != null && y(t, ["setupComplete"], xB());
23340
+ ]) != null && y(t, ["setupComplete"], x9());
23341
23341
  const r = m(e, [
23342
23342
  "serverContent"
23343
23343
  ]);
23344
- r != null && y(t, ["serverContent"], qB(i, r));
23344
+ r != null && y(t, ["serverContent"], q9(i, r));
23345
23345
  const o = m(e, ["toolCall"]);
23346
- o != null && y(t, ["toolCall"], GB(i, o));
23346
+ o != null && y(t, ["toolCall"], G9(i, o));
23347
23347
  const s = m(e, [
23348
23348
  "toolCallCancellation"
23349
23349
  ]);
23350
- s != null && y(t, ["toolCallCancellation"], zB(i, s));
23350
+ s != null && y(t, ["toolCallCancellation"], z9(i, s));
23351
23351
  const a = m(e, [
23352
23352
  "usageMetadata"
23353
23353
  ]);
23354
- a != null && y(t, ["usageMetadata"], JB(i, a));
23354
+ a != null && y(t, ["usageMetadata"], J9(i, a));
23355
23355
  const u = m(e, ["goAway"]);
23356
- u != null && y(t, ["goAway"], jB(i, u));
23356
+ u != null && y(t, ["goAway"], j9(i, u));
23357
23357
  const c = m(e, [
23358
23358
  "sessionResumptionUpdate"
23359
23359
  ]);
23360
- return c != null && y(t, ["sessionResumptionUpdate"], QB(i, c)), t;
23360
+ return c != null && y(t, ["sessionResumptionUpdate"], Q9(i, c)), t;
23361
23361
  }
23362
- function t9() {
23362
+ function tB() {
23363
23363
  return {};
23364
23364
  }
23365
- function r9(i, e) {
23365
+ function rB(i, e) {
23366
23366
  const t = {}, n = m(e, ["text"]);
23367
23367
  n != null && y(t, ["text"], n);
23368
23368
  const r = m(e, ["weight"]);
23369
23369
  return r != null && y(t, ["weight"], r), t;
23370
23370
  }
23371
- function n9(i, e) {
23371
+ function nB(i, e) {
23372
23372
  const t = {}, n = m(e, [
23373
23373
  "weightedPrompts"
23374
23374
  ]);
23375
23375
  if (n != null) {
23376
23376
  let r = n;
23377
- Array.isArray(r) && (r = r.map((o) => r9(i, o))), y(t, ["weightedPrompts"], r);
23377
+ Array.isArray(r) && (r = r.map((o) => rB(i, o))), y(t, ["weightedPrompts"], r);
23378
23378
  }
23379
23379
  return t;
23380
23380
  }
23381
- function i9(i, e) {
23381
+ function iB(i, e) {
23382
23382
  const t = {}, n = m(e, ["temperature"]);
23383
23383
  n != null && y(t, ["temperature"], n);
23384
23384
  const r = m(e, ["topK"]);
@@ -23408,17 +23408,17 @@ function i9(i, e) {
23408
23408
  ]);
23409
23409
  return _ != null && y(t, ["musicGenerationMode"], _), t;
23410
23410
  }
23411
- function o9(i, e) {
23411
+ function oB(i, e) {
23412
23412
  const t = {}, n = m(e, [
23413
23413
  "clientContent"
23414
23414
  ]);
23415
- n != null && y(t, ["clientContent"], n9(i, n));
23415
+ n != null && y(t, ["clientContent"], nB(i, n));
23416
23416
  const r = m(e, [
23417
23417
  "musicGenerationConfig"
23418
23418
  ]);
23419
- return r != null && y(t, ["musicGenerationConfig"], i9(i, r)), t;
23419
+ return r != null && y(t, ["musicGenerationConfig"], iB(i, r)), t;
23420
23420
  }
23421
- function s9(i, e) {
23421
+ function sB(i, e) {
23422
23422
  const t = {}, n = m(e, ["data"]);
23423
23423
  n != null && y(t, ["data"], n);
23424
23424
  const r = m(e, ["mimeType"]);
@@ -23426,17 +23426,17 @@ function s9(i, e) {
23426
23426
  const o = m(e, [
23427
23427
  "sourceMetadata"
23428
23428
  ]);
23429
- return o != null && y(t, ["sourceMetadata"], o9(i, o)), t;
23429
+ return o != null && y(t, ["sourceMetadata"], oB(i, o)), t;
23430
23430
  }
23431
- function a9(i, e) {
23431
+ function aB(i, e) {
23432
23432
  const t = {}, n = m(e, ["audioChunks"]);
23433
23433
  if (n != null) {
23434
23434
  let r = n;
23435
- Array.isArray(r) && (r = r.map((o) => s9(i, o))), y(t, ["audioChunks"], r);
23435
+ Array.isArray(r) && (r = r.map((o) => sB(i, o))), y(t, ["audioChunks"], r);
23436
23436
  }
23437
23437
  return t;
23438
23438
  }
23439
- function l9(i, e) {
23439
+ function lB(i, e) {
23440
23440
  const t = {}, n = m(e, ["text"]);
23441
23441
  n != null && y(t, ["text"], n);
23442
23442
  const r = m(e, [
@@ -23444,26 +23444,26 @@ function l9(i, e) {
23444
23444
  ]);
23445
23445
  return r != null && y(t, ["filteredReason"], r), t;
23446
23446
  }
23447
- function u9(i, e) {
23447
+ function uB(i, e) {
23448
23448
  const t = {};
23449
23449
  m(e, [
23450
23450
  "setupComplete"
23451
- ]) != null && y(t, ["setupComplete"], t9());
23451
+ ]) != null && y(t, ["setupComplete"], tB());
23452
23452
  const r = m(e, [
23453
23453
  "serverContent"
23454
23454
  ]);
23455
- r != null && y(t, ["serverContent"], a9(i, r));
23455
+ r != null && y(t, ["serverContent"], aB(i, r));
23456
23456
  const o = m(e, [
23457
23457
  "filteredPrompt"
23458
23458
  ]);
23459
- return o != null && y(t, ["filteredPrompt"], l9(i, o)), t;
23459
+ return o != null && y(t, ["filteredPrompt"], lB(i, o)), t;
23460
23460
  }
23461
23461
  /**
23462
23462
  * @license
23463
23463
  * Copyright 2025 Google LLC
23464
23464
  * SPDX-License-Identifier: Apache-2.0
23465
23465
  */
23466
- function c9(i, e) {
23466
+ function cB(i, e) {
23467
23467
  const t = {}, n = m(e, ["fps"]);
23468
23468
  n != null && y(t, ["fps"], n);
23469
23469
  const r = m(e, ["endOffset"]);
@@ -23471,7 +23471,7 @@ function c9(i, e) {
23471
23471
  const o = m(e, ["startOffset"]);
23472
23472
  return o != null && y(t, ["startOffset"], o), t;
23473
23473
  }
23474
- function f9(i, e) {
23474
+ function fB(i, e) {
23475
23475
  const t = {};
23476
23476
  if (m(e, ["displayName"]) !== void 0)
23477
23477
  throw new Error("displayName parameter is not supported in Gemini API.");
@@ -23480,15 +23480,15 @@ function f9(i, e) {
23480
23480
  const r = m(e, ["mimeType"]);
23481
23481
  return r != null && y(t, ["mimeType"], r), t;
23482
23482
  }
23483
- function d9(i, e) {
23483
+ function dB(i, e) {
23484
23484
  const t = {}, n = m(e, [
23485
23485
  "videoMetadata"
23486
23486
  ]);
23487
- n != null && y(t, ["videoMetadata"], c9(i, n));
23487
+ n != null && y(t, ["videoMetadata"], cB(i, n));
23488
23488
  const r = m(e, ["thought"]);
23489
23489
  r != null && y(t, ["thought"], r);
23490
23490
  const o = m(e, ["inlineData"]);
23491
- o != null && y(t, ["inlineData"], f9(i, o));
23491
+ o != null && y(t, ["inlineData"], fB(i, o));
23492
23492
  const s = m(e, [
23493
23493
  "codeExecutionResult"
23494
23494
  ]);
@@ -23512,12 +23512,12 @@ function Ec(i, e) {
23512
23512
  const t = {}, n = m(e, ["parts"]);
23513
23513
  if (n != null) {
23514
23514
  let o = n;
23515
- Array.isArray(o) && (o = o.map((s) => d9(i, s))), y(t, ["parts"], o);
23515
+ Array.isArray(o) && (o = o.map((s) => dB(i, s))), y(t, ["parts"], o);
23516
23516
  }
23517
23517
  const r = m(e, ["role"]);
23518
23518
  return r != null && y(t, ["role"], r), t;
23519
23519
  }
23520
- function h9(i, e) {
23520
+ function hB(i, e) {
23521
23521
  const t = {};
23522
23522
  if (m(e, ["method"]) !== void 0)
23523
23523
  throw new Error("method parameter is not supported in Gemini API.");
@@ -23526,7 +23526,7 @@ function h9(i, e) {
23526
23526
  const r = m(e, ["threshold"]);
23527
23527
  return r != null && y(t, ["threshold"], r), t;
23528
23528
  }
23529
- function p9(i, e) {
23529
+ function pB(i, e) {
23530
23530
  const t = {}, n = m(e, ["behavior"]);
23531
23531
  n != null && y(t, ["behavior"], n);
23532
23532
  const r = m(e, ["description"]);
@@ -23538,19 +23538,19 @@ function p9(i, e) {
23538
23538
  const a = m(e, ["response"]);
23539
23539
  return a != null && y(t, ["response"], a), t;
23540
23540
  }
23541
- function m9(i, e) {
23541
+ function mB(i, e) {
23542
23542
  const t = {}, n = m(e, ["startTime"]);
23543
23543
  n != null && y(t, ["startTime"], n);
23544
23544
  const r = m(e, ["endTime"]);
23545
23545
  return r != null && y(t, ["endTime"], r), t;
23546
23546
  }
23547
- function g9(i, e) {
23547
+ function gB(i, e) {
23548
23548
  const t = {}, n = m(e, [
23549
23549
  "timeRangeFilter"
23550
23550
  ]);
23551
- return n != null && y(t, ["timeRangeFilter"], m9(i, n)), t;
23551
+ return n != null && y(t, ["timeRangeFilter"], mB(i, n)), t;
23552
23552
  }
23553
- function v9(i, e) {
23553
+ function vB(i, e) {
23554
23554
  const t = {}, n = m(e, ["mode"]);
23555
23555
  n != null && y(t, ["mode"], n);
23556
23556
  const r = m(e, [
@@ -23558,41 +23558,41 @@ function v9(i, e) {
23558
23558
  ]);
23559
23559
  return r != null && y(t, ["dynamicThreshold"], r), t;
23560
23560
  }
23561
- function y9(i, e) {
23561
+ function yB(i, e) {
23562
23562
  const t = {}, n = m(e, [
23563
23563
  "dynamicRetrievalConfig"
23564
23564
  ]);
23565
- return n != null && y(t, ["dynamicRetrievalConfig"], v9(i, n)), t;
23565
+ return n != null && y(t, ["dynamicRetrievalConfig"], vB(i, n)), t;
23566
23566
  }
23567
- function _9() {
23567
+ function _B() {
23568
23568
  return {};
23569
23569
  }
23570
- function w9(i, e) {
23570
+ function wB(i, e) {
23571
23571
  const t = {}, n = m(e, [
23572
23572
  "functionDeclarations"
23573
23573
  ]);
23574
23574
  if (n != null) {
23575
23575
  let u = n;
23576
- Array.isArray(u) && (u = u.map((c) => p9(i, c))), y(t, ["functionDeclarations"], u);
23576
+ Array.isArray(u) && (u = u.map((c) => pB(i, c))), y(t, ["functionDeclarations"], u);
23577
23577
  }
23578
23578
  if (m(e, ["retrieval"]) !== void 0)
23579
23579
  throw new Error("retrieval parameter is not supported in Gemini API.");
23580
23580
  const r = m(e, ["googleSearch"]);
23581
- r != null && y(t, ["googleSearch"], g9(i, r));
23581
+ r != null && y(t, ["googleSearch"], gB(i, r));
23582
23582
  const o = m(e, [
23583
23583
  "googleSearchRetrieval"
23584
23584
  ]);
23585
- if (o != null && y(t, ["googleSearchRetrieval"], y9(i, o)), m(e, ["enterpriseWebSearch"]) !== void 0)
23585
+ if (o != null && y(t, ["googleSearchRetrieval"], yB(i, o)), m(e, ["enterpriseWebSearch"]) !== void 0)
23586
23586
  throw new Error("enterpriseWebSearch parameter is not supported in Gemini API.");
23587
23587
  if (m(e, ["googleMaps"]) !== void 0)
23588
23588
  throw new Error("googleMaps parameter is not supported in Gemini API.");
23589
- m(e, ["urlContext"]) != null && y(t, ["urlContext"], _9());
23589
+ m(e, ["urlContext"]) != null && y(t, ["urlContext"], _B());
23590
23590
  const a = m(e, [
23591
23591
  "codeExecution"
23592
23592
  ]);
23593
23593
  return a != null && y(t, ["codeExecution"], a), t;
23594
23594
  }
23595
- function b9(i, e) {
23595
+ function bB(i, e) {
23596
23596
  const t = {}, n = m(e, ["mode"]);
23597
23597
  n != null && y(t, ["mode"], n);
23598
23598
  const r = m(e, [
@@ -23600,27 +23600,27 @@ function b9(i, e) {
23600
23600
  ]);
23601
23601
  return r != null && y(t, ["allowedFunctionNames"], r), t;
23602
23602
  }
23603
- function S9(i, e) {
23603
+ function SB(i, e) {
23604
23604
  const t = {}, n = m(e, ["latitude"]);
23605
23605
  n != null && y(t, ["latitude"], n);
23606
23606
  const r = m(e, ["longitude"]);
23607
23607
  return r != null && y(t, ["longitude"], r), t;
23608
23608
  }
23609
- function E9(i, e) {
23609
+ function EB(i, e) {
23610
23610
  const t = {}, n = m(e, ["latLng"]);
23611
- return n != null && y(t, ["latLng"], S9(i, n)), t;
23611
+ return n != null && y(t, ["latLng"], SB(i, n)), t;
23612
23612
  }
23613
- function T9(i, e) {
23613
+ function TB(i, e) {
23614
23614
  const t = {}, n = m(e, [
23615
23615
  "functionCallingConfig"
23616
23616
  ]);
23617
- n != null && y(t, ["functionCallingConfig"], b9(i, n));
23617
+ n != null && y(t, ["functionCallingConfig"], bB(i, n));
23618
23618
  const r = m(e, [
23619
23619
  "retrievalConfig"
23620
23620
  ]);
23621
- return r != null && y(t, ["retrievalConfig"], E9(i, r)), t;
23621
+ return r != null && y(t, ["retrievalConfig"], EB(i, r)), t;
23622
23622
  }
23623
- function C9(i, e) {
23623
+ function CB(i, e) {
23624
23624
  const t = {}, n = m(e, ["voiceName"]);
23625
23625
  return n != null && y(t, ["voiceName"], n), t;
23626
23626
  }
@@ -23628,35 +23628,35 @@ function qC(i, e) {
23628
23628
  const t = {}, n = m(e, [
23629
23629
  "prebuiltVoiceConfig"
23630
23630
  ]);
23631
- return n != null && y(t, ["prebuiltVoiceConfig"], C9(i, n)), t;
23631
+ return n != null && y(t, ["prebuiltVoiceConfig"], CB(i, n)), t;
23632
23632
  }
23633
- function A9(i, e) {
23633
+ function AB(i, e) {
23634
23634
  const t = {}, n = m(e, ["speaker"]);
23635
23635
  n != null && y(t, ["speaker"], n);
23636
23636
  const r = m(e, ["voiceConfig"]);
23637
23637
  return r != null && y(t, ["voiceConfig"], qC(i, r)), t;
23638
23638
  }
23639
- function P9(i, e) {
23639
+ function PB(i, e) {
23640
23640
  const t = {}, n = m(e, [
23641
23641
  "speakerVoiceConfigs"
23642
23642
  ]);
23643
23643
  if (n != null) {
23644
23644
  let r = n;
23645
- Array.isArray(r) && (r = r.map((o) => A9(i, o))), y(t, ["speakerVoiceConfigs"], r);
23645
+ Array.isArray(r) && (r = r.map((o) => AB(i, o))), y(t, ["speakerVoiceConfigs"], r);
23646
23646
  }
23647
23647
  return t;
23648
23648
  }
23649
- function x9(i, e) {
23649
+ function xB(i, e) {
23650
23650
  const t = {}, n = m(e, ["voiceConfig"]);
23651
23651
  n != null && y(t, ["voiceConfig"], qC(i, n));
23652
23652
  const r = m(e, [
23653
23653
  "multiSpeakerVoiceConfig"
23654
23654
  ]);
23655
- r != null && y(t, ["multiSpeakerVoiceConfig"], P9(i, r));
23655
+ r != null && y(t, ["multiSpeakerVoiceConfig"], PB(i, r));
23656
23656
  const o = m(e, ["languageCode"]);
23657
23657
  return o != null && y(t, ["languageCode"], o), t;
23658
23658
  }
23659
- function I9(i, e) {
23659
+ function IB(i, e) {
23660
23660
  const t = {}, n = m(e, [
23661
23661
  "includeThoughts"
23662
23662
  ]);
@@ -23666,7 +23666,7 @@ function I9(i, e) {
23666
23666
  ]);
23667
23667
  return r != null && y(t, ["thinkingBudget"], r), t;
23668
23668
  }
23669
- function R9(i, e, t) {
23669
+ function RB(i, e, t) {
23670
23670
  const n = {}, r = m(e, [
23671
23671
  "systemInstruction"
23672
23672
  ]);
@@ -23721,15 +23721,15 @@ function R9(i, e, t) {
23721
23721
  ]);
23722
23722
  if (t !== void 0 && S != null) {
23723
23723
  let O = S;
23724
- Array.isArray(O) && (O = O.map((N) => h9(i, N))), y(t, ["safetySettings"], O);
23724
+ Array.isArray(O) && (O = O.map((N) => hB(i, N))), y(t, ["safetySettings"], O);
23725
23725
  }
23726
23726
  const T = m(e, ["tools"]);
23727
23727
  if (t !== void 0 && T != null) {
23728
23728
  let O = bc(i, T);
23729
- Array.isArray(O) && (O = O.map((N) => w9(i, wc(i, N)))), y(t, ["tools"], O);
23729
+ Array.isArray(O) && (O = O.map((N) => wB(i, wc(i, N)))), y(t, ["tools"], O);
23730
23730
  }
23731
23731
  const C = m(e, ["toolConfig"]);
23732
- if (t !== void 0 && C != null && y(t, ["toolConfig"], T9(i, C)), m(e, ["labels"]) !== void 0)
23732
+ if (t !== void 0 && C != null && y(t, ["toolConfig"], TB(i, C)), m(e, ["labels"]) !== void 0)
23733
23733
  throw new Error("labels parameter is not supported in Gemini API.");
23734
23734
  const A = m(e, [
23735
23735
  "cachedContent"
@@ -23744,12 +23744,12 @@ function R9(i, e, t) {
23744
23744
  ]);
23745
23745
  $ != null && y(n, ["mediaResolution"], $);
23746
23746
  const x = m(e, ["speechConfig"]);
23747
- if (x != null && y(n, ["speechConfig"], x9(i, xC(i, x))), m(e, ["audioTimestamp"]) !== void 0)
23747
+ if (x != null && y(n, ["speechConfig"], xB(i, xC(i, x))), m(e, ["audioTimestamp"]) !== void 0)
23748
23748
  throw new Error("audioTimestamp parameter is not supported in Gemini API.");
23749
23749
  const I = m(e, [
23750
23750
  "thinkingConfig"
23751
23751
  ]);
23752
- return I != null && y(n, ["thinkingConfig"], I9(i, I)), n;
23752
+ return I != null && y(n, ["thinkingConfig"], IB(i, I)), n;
23753
23753
  }
23754
23754
  function YS(i, e) {
23755
23755
  const t = {}, n = m(e, ["model"]);
@@ -23760,9 +23760,9 @@ function YS(i, e) {
23760
23760
  Array.isArray(s) && (s = s.map((a) => Ec(i, a))), y(t, ["contents"], s);
23761
23761
  }
23762
23762
  const o = m(e, ["config"]);
23763
- return o != null && y(t, ["generationConfig"], R9(i, o, t)), t;
23763
+ return o != null && y(t, ["generationConfig"], RB(i, o, t)), t;
23764
23764
  }
23765
- function k9(i, e, t) {
23765
+ function kB(i, e, t) {
23766
23766
  const n = {}, r = m(e, ["taskType"]);
23767
23767
  t !== void 0 && r != null && y(t, ["requests[]", "taskType"], r);
23768
23768
  const o = m(e, ["title"]);
@@ -23776,17 +23776,17 @@ function k9(i, e, t) {
23776
23776
  throw new Error("autoTruncate parameter is not supported in Gemini API.");
23777
23777
  return n;
23778
23778
  }
23779
- function O9(i, e) {
23779
+ function OB(i, e) {
23780
23780
  const t = {}, n = m(e, ["model"]);
23781
23781
  n != null && y(t, ["_url", "model"], Ot(i, n));
23782
23782
  const r = m(e, ["contents"]);
23783
23783
  r != null && y(t, ["requests[]", "content"], PC(i, r));
23784
23784
  const o = m(e, ["config"]);
23785
- o != null && y(t, ["config"], k9(i, o, t));
23785
+ o != null && y(t, ["config"], kB(i, o, t));
23786
23786
  const s = m(e, ["model"]);
23787
23787
  return s !== void 0 && y(t, ["requests[]", "model"], Ot(i, s)), t;
23788
23788
  }
23789
- function M9(i, e, t) {
23789
+ function MB(i, e, t) {
23790
23790
  const n = {};
23791
23791
  if (m(e, ["outputGcsUri"]) !== void 0)
23792
23792
  throw new Error("outputGcsUri parameter is not supported in Gemini API.");
@@ -23834,21 +23834,21 @@ function M9(i, e, t) {
23834
23834
  throw new Error("enhancePrompt parameter is not supported in Gemini API.");
23835
23835
  return n;
23836
23836
  }
23837
- function L9(i, e) {
23837
+ function LB(i, e) {
23838
23838
  const t = {}, n = m(e, ["model"]);
23839
23839
  n != null && y(t, ["_url", "model"], Ot(i, n));
23840
23840
  const r = m(e, ["prompt"]);
23841
23841
  r != null && y(t, ["instances[0]", "prompt"], r);
23842
23842
  const o = m(e, ["config"]);
23843
- return o != null && y(t, ["config"], M9(i, o, t)), t;
23843
+ return o != null && y(t, ["config"], MB(i, o, t)), t;
23844
23844
  }
23845
- function N9(i, e) {
23845
+ function NB(i, e) {
23846
23846
  const t = {}, n = m(e, ["model"]);
23847
23847
  n != null && y(t, ["_url", "name"], Ot(i, n));
23848
23848
  const r = m(e, ["config"]);
23849
23849
  return r != null && y(t, ["config"], r), t;
23850
23850
  }
23851
- function D9(i, e, t) {
23851
+ function DB(i, e, t) {
23852
23852
  const n = {}, r = m(e, ["pageSize"]);
23853
23853
  t !== void 0 && r != null && y(t, ["_query", "pageSize"], r);
23854
23854
  const o = m(e, ["pageToken"]);
@@ -23858,11 +23858,11 @@ function D9(i, e, t) {
23858
23858
  const a = m(e, ["queryBase"]);
23859
23859
  return t !== void 0 && a != null && y(t, ["_url", "models_url"], OC(i, a)), n;
23860
23860
  }
23861
- function F9(i, e) {
23861
+ function FB(i, e) {
23862
23862
  const t = {}, n = m(e, ["config"]);
23863
- return n != null && y(t, ["config"], D9(i, n, t)), t;
23863
+ return n != null && y(t, ["config"], DB(i, n, t)), t;
23864
23864
  }
23865
- function $9(i, e, t) {
23865
+ function $B(i, e, t) {
23866
23866
  const n = {}, r = m(e, ["displayName"]);
23867
23867
  t !== void 0 && r != null && y(t, ["displayName"], r);
23868
23868
  const o = m(e, ["description"]);
@@ -23872,19 +23872,19 @@ function $9(i, e, t) {
23872
23872
  ]);
23873
23873
  return t !== void 0 && s != null && y(t, ["defaultCheckpointId"], s), n;
23874
23874
  }
23875
- function U9(i, e) {
23875
+ function UB(i, e) {
23876
23876
  const t = {}, n = m(e, ["model"]);
23877
23877
  n != null && y(t, ["_url", "name"], Ot(i, n));
23878
23878
  const r = m(e, ["config"]);
23879
- return r != null && y(t, ["config"], $9(i, r, t)), t;
23879
+ return r != null && y(t, ["config"], $B(i, r, t)), t;
23880
23880
  }
23881
- function q9(i, e) {
23881
+ function qB(i, e) {
23882
23882
  const t = {}, n = m(e, ["model"]);
23883
23883
  n != null && y(t, ["_url", "name"], Ot(i, n));
23884
23884
  const r = m(e, ["config"]);
23885
23885
  return r != null && y(t, ["config"], r), t;
23886
23886
  }
23887
- function B9(i, e) {
23887
+ function BB(i, e) {
23888
23888
  const t = {};
23889
23889
  if (m(e, ["systemInstruction"]) !== void 0)
23890
23890
  throw new Error("systemInstruction parameter is not supported in Gemini API.");
@@ -23894,7 +23894,7 @@ function B9(i, e) {
23894
23894
  throw new Error("generationConfig parameter is not supported in Gemini API.");
23895
23895
  return t;
23896
23896
  }
23897
- function V9(i, e) {
23897
+ function VB(i, e) {
23898
23898
  const t = {}, n = m(e, ["model"]);
23899
23899
  n != null && y(t, ["_url", "model"], Ot(i, n));
23900
23900
  const r = m(e, ["contents"]);
@@ -23903,9 +23903,9 @@ function V9(i, e) {
23903
23903
  Array.isArray(s) && (s = s.map((a) => Ec(i, a))), y(t, ["contents"], s);
23904
23904
  }
23905
23905
  const o = m(e, ["config"]);
23906
- return o != null && y(t, ["config"], B9(i, o)), t;
23906
+ return o != null && y(t, ["config"], BB(i, o)), t;
23907
23907
  }
23908
- function H9(i, e) {
23908
+ function HB(i, e) {
23909
23909
  const t = {};
23910
23910
  if (m(e, ["gcsUri"]) !== void 0)
23911
23911
  throw new Error("gcsUri parameter is not supported in Gemini API.");
@@ -23914,7 +23914,7 @@ function H9(i, e) {
23914
23914
  const r = m(e, ["mimeType"]);
23915
23915
  return r != null && y(t, ["mimeType"], r), t;
23916
23916
  }
23917
- function G9(i, e, t) {
23917
+ function GB(i, e, t) {
23918
23918
  const n = {}, r = m(e, [
23919
23919
  "numberOfVideos"
23920
23920
  ]);
@@ -23942,17 +23942,17 @@ function G9(i, e, t) {
23942
23942
  throw new Error("enhancePrompt parameter is not supported in Gemini API.");
23943
23943
  return n;
23944
23944
  }
23945
- function W9(i, e) {
23945
+ function WB(i, e) {
23946
23946
  const t = {}, n = m(e, ["model"]);
23947
23947
  n != null && y(t, ["_url", "model"], Ot(i, n));
23948
23948
  const r = m(e, ["prompt"]);
23949
23949
  r != null && y(t, ["instances[0]", "prompt"], r);
23950
23950
  const o = m(e, ["image"]);
23951
- o != null && y(t, ["instances[0]", "image"], H9(i, o));
23951
+ o != null && y(t, ["instances[0]", "image"], HB(i, o));
23952
23952
  const s = m(e, ["config"]);
23953
- return s != null && y(t, ["config"], G9(i, s, t)), t;
23953
+ return s != null && y(t, ["config"], GB(i, s, t)), t;
23954
23954
  }
23955
- function z9(i, e) {
23955
+ function zB(i, e) {
23956
23956
  const t = {}, n = m(e, ["fps"]);
23957
23957
  n != null && y(t, ["fps"], n);
23958
23958
  const r = m(e, ["endOffset"]);
@@ -23960,7 +23960,7 @@ function z9(i, e) {
23960
23960
  const o = m(e, ["startOffset"]);
23961
23961
  return o != null && y(t, ["startOffset"], o), t;
23962
23962
  }
23963
- function K9(i, e) {
23963
+ function KB(i, e) {
23964
23964
  const t = {}, n = m(e, ["displayName"]);
23965
23965
  n != null && y(t, ["displayName"], n);
23966
23966
  const r = m(e, ["data"]);
@@ -23968,15 +23968,15 @@ function K9(i, e) {
23968
23968
  const o = m(e, ["mimeType"]);
23969
23969
  return o != null && y(t, ["mimeType"], o), t;
23970
23970
  }
23971
- function J9(i, e) {
23971
+ function JB(i, e) {
23972
23972
  const t = {}, n = m(e, [
23973
23973
  "videoMetadata"
23974
23974
  ]);
23975
- n != null && y(t, ["videoMetadata"], z9(i, n));
23975
+ n != null && y(t, ["videoMetadata"], zB(i, n));
23976
23976
  const r = m(e, ["thought"]);
23977
23977
  r != null && y(t, ["thought"], r);
23978
23978
  const o = m(e, ["inlineData"]);
23979
- o != null && y(t, ["inlineData"], K9(i, o));
23979
+ o != null && y(t, ["inlineData"], KB(i, o));
23980
23980
  const s = m(e, [
23981
23981
  "codeExecutionResult"
23982
23982
  ]);
@@ -24000,18 +24000,18 @@ function hs(i, e) {
24000
24000
  const t = {}, n = m(e, ["parts"]);
24001
24001
  if (n != null) {
24002
24002
  let o = n;
24003
- Array.isArray(o) && (o = o.map((s) => J9(i, s))), y(t, ["parts"], o);
24003
+ Array.isArray(o) && (o = o.map((s) => JB(i, s))), y(t, ["parts"], o);
24004
24004
  }
24005
24005
  const r = m(e, ["role"]);
24006
24006
  return r != null && y(t, ["role"], r), t;
24007
24007
  }
24008
- function Y9(i, e) {
24008
+ function YB(i, e) {
24009
24009
  const t = {}, n = m(e, [
24010
24010
  "featureSelectionPreference"
24011
24011
  ]);
24012
24012
  return n != null && y(t, ["featureSelectionPreference"], n), t;
24013
24013
  }
24014
- function j9(i, e) {
24014
+ function jB(i, e) {
24015
24015
  const t = {}, n = m(e, ["method"]);
24016
24016
  n != null && y(t, ["method"], n);
24017
24017
  const r = m(e, ["category"]);
@@ -24019,7 +24019,7 @@ function j9(i, e) {
24019
24019
  const o = m(e, ["threshold"]);
24020
24020
  return o != null && y(t, ["threshold"], o), t;
24021
24021
  }
24022
- function Z9(i, e) {
24022
+ function ZB(i, e) {
24023
24023
  const t = {};
24024
24024
  if (m(e, ["behavior"]) !== void 0)
24025
24025
  throw new Error("behavior parameter is not supported in Vertex AI.");
@@ -24032,17 +24032,17 @@ function Z9(i, e) {
24032
24032
  const s = m(e, ["response"]);
24033
24033
  return s != null && y(t, ["response"], s), t;
24034
24034
  }
24035
- function Q9(i, e) {
24035
+ function QB(i, e) {
24036
24036
  const t = {}, n = m(e, ["startTime"]);
24037
24037
  n != null && y(t, ["startTime"], n);
24038
24038
  const r = m(e, ["endTime"]);
24039
24039
  return r != null && y(t, ["endTime"], r), t;
24040
24040
  }
24041
- function X9(i, e) {
24041
+ function XB(i, e) {
24042
24042
  const t = {}, n = m(e, [
24043
24043
  "timeRangeFilter"
24044
24044
  ]);
24045
- return n != null && y(t, ["timeRangeFilter"], Q9(i, n)), t;
24045
+ return n != null && y(t, ["timeRangeFilter"], QB(i, n)), t;
24046
24046
  }
24047
24047
  function eV(i, e) {
24048
24048
  const t = {}, n = m(e, ["mode"]);
@@ -24093,12 +24093,12 @@ function BC(i, e) {
24093
24093
  ]);
24094
24094
  if (n != null) {
24095
24095
  let d = n;
24096
- Array.isArray(d) && (d = d.map((h) => Z9(i, h))), y(t, ["functionDeclarations"], d);
24096
+ Array.isArray(d) && (d = d.map((h) => ZB(i, h))), y(t, ["functionDeclarations"], d);
24097
24097
  }
24098
24098
  const r = m(e, ["retrieval"]);
24099
24099
  r != null && y(t, ["retrieval"], r);
24100
24100
  const o = m(e, ["googleSearch"]);
24101
- o != null && y(t, ["googleSearch"], X9(i, o));
24101
+ o != null && y(t, ["googleSearch"], XB(i, o));
24102
24102
  const s = m(e, [
24103
24103
  "googleSearchRetrieval"
24104
24104
  ]);
@@ -24222,13 +24222,13 @@ function pV(i, e, t) {
24222
24222
  const T = m(e, [
24223
24223
  "modelSelectionConfig"
24224
24224
  ]);
24225
- T != null && y(n, ["modelConfig"], Y9(i, T));
24225
+ T != null && y(n, ["modelConfig"], YB(i, T));
24226
24226
  const C = m(e, [
24227
24227
  "safetySettings"
24228
24228
  ]);
24229
24229
  if (t !== void 0 && C != null) {
24230
24230
  let K = C;
24231
- Array.isArray(K) && (K = K.map((J) => j9(i, J))), y(t, ["safetySettings"], K);
24231
+ Array.isArray(K) && (K = K.map((J) => jB(i, J))), y(t, ["safetySettings"], K);
24232
24232
  }
24233
24233
  const A = m(e, ["tools"]);
24234
24234
  if (t !== void 0 && A != null) {
@@ -25589,7 +25589,7 @@ async function V4(i, e, t) {
25589
25589
  const n = new eq();
25590
25590
  let r;
25591
25591
  t.data instanceof Blob ? r = JSON.parse(await t.data.text()) : r = JSON.parse(t.data);
25592
- const o = u9(i, r);
25592
+ const o = uB(i, r);
25593
25593
  Object.assign(n, o), e(n);
25594
25594
  }
25595
25595
  class H4 {
@@ -25673,7 +25673,7 @@ class G4 {
25673
25673
  async setWeightedPrompts(e) {
25674
25674
  if (!e.weightedPrompts || Object.keys(e.weightedPrompts).length === 0)
25675
25675
  throw new Error("Weighted prompts must be set and contain at least one entry.");
25676
- const t = CB(this.apiClient, e), n = UC(this.apiClient, t);
25676
+ const t = C9(this.apiClient, e), n = UC(this.apiClient, t);
25677
25677
  this.conn.send(JSON.stringify({ clientContent: n }));
25678
25678
  }
25679
25679
  /**
@@ -25689,7 +25689,7 @@ class G4 {
25689
25689
  */
25690
25690
  async setMusicGenerationConfig(e) {
25691
25691
  e.musicGenerationConfig || (e.musicGenerationConfig = {});
25692
- const t = AB(this.apiClient, e), n = Em(this.apiClient, t);
25692
+ const t = A9(this.apiClient, e), n = Em(this.apiClient, t);
25693
25693
  this.conn.send(JSON.stringify(n));
25694
25694
  }
25695
25695
  sendPlaybackControl(e) {
@@ -25764,10 +25764,10 @@ async function J4(i, e, t) {
25764
25764
  const n = new XU();
25765
25765
  let r;
25766
25766
  if (t.data instanceof Blob ? r = JSON.parse(await t.data.text()) : r = JSON.parse(t.data), i.isVertexAI()) {
25767
- const o = e9(i, r);
25767
+ const o = eB(i, r);
25768
25768
  Object.assign(n, o);
25769
25769
  } else {
25770
- const o = XB(i, r);
25770
+ const o = X9(i, r);
25771
25771
  Object.assign(n, o);
25772
25772
  }
25773
25773
  e(n);
@@ -25869,7 +25869,7 @@ class Y4 {
25869
25869
  config: e.config,
25870
25870
  callbacks: e.callbacks
25871
25871
  };
25872
- return this.apiClient.isVertexAI() ? A = yB(this.apiClient, x) : A = vB(this.apiClient, x), delete A.config, T.send(JSON.stringify(A)), new Z4(T, this.apiClient);
25872
+ return this.apiClient.isVertexAI() ? A = y9(this.apiClient, x) : A = v9(this.apiClient, x), delete A.config, T.send(JSON.stringify(A)), new Z4(T, this.apiClient);
25873
25873
  }
25874
25874
  // TODO: b/416041229 - Abstract this method to a common place.
25875
25875
  isCallableTool(e) {
@@ -25994,9 +25994,9 @@ class Z4 {
25994
25994
  sendRealtimeInput(e) {
25995
25995
  let t = {};
25996
25996
  this.apiClient.isVertexAI() ? t = {
25997
- realtimeInput: TB(this.apiClient, e)
25997
+ realtimeInput: T9(this.apiClient, e)
25998
25998
  } : t = {
25999
- realtimeInput: EB(this.apiClient, e)
25999
+ realtimeInput: E9(this.apiClient, e)
26000
26000
  }, this.conn.send(JSON.stringify(t));
26001
26001
  }
26002
26002
  /**
@@ -26409,7 +26409,7 @@ class eH extends Ca {
26409
26409
  return Object.assign(g, h), g;
26410
26410
  });
26411
26411
  } else {
26412
- const c = O9(this.apiClient, e);
26412
+ const c = OB(this.apiClient, e);
26413
26413
  return a = Be("{model}:batchEmbedContents", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26414
26414
  path: a,
26415
26415
  queryParams: u,
@@ -26459,7 +26459,7 @@ class eH extends Ca {
26459
26459
  return Object.assign(g, h), g;
26460
26460
  });
26461
26461
  } else {
26462
- const c = L9(this.apiClient, e);
26462
+ const c = LB(this.apiClient, e);
26463
26463
  return a = Be("{model}:predict", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26464
26464
  path: a,
26465
26465
  queryParams: u,
@@ -26533,7 +26533,7 @@ class eH extends Ca {
26533
26533
  abortSignal: (n = e.config) === null || n === void 0 ? void 0 : n.abortSignal
26534
26534
  }).then((d) => d.json()), s.then((d) => Cm(this.apiClient, d));
26535
26535
  } else {
26536
- const c = N9(this.apiClient, e);
26536
+ const c = NB(this.apiClient, e);
26537
26537
  return a = Be("{name}", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26538
26538
  path: a,
26539
26539
  queryParams: u,
@@ -26561,7 +26561,7 @@ class eH extends Ca {
26561
26561
  return Object.assign(g, h), g;
26562
26562
  });
26563
26563
  } else {
26564
- const c = F9(this.apiClient, e);
26564
+ const c = FB(this.apiClient, e);
26565
26565
  return a = Be("{models_url}", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26566
26566
  path: a,
26567
26567
  queryParams: u,
@@ -26606,7 +26606,7 @@ class eH extends Ca {
26606
26606
  abortSignal: (n = e.config) === null || n === void 0 ? void 0 : n.abortSignal
26607
26607
  }).then((d) => d.json()), s.then((d) => Cm(this.apiClient, d));
26608
26608
  } else {
26609
- const c = U9(this.apiClient, e);
26609
+ const c = UB(this.apiClient, e);
26610
26610
  return a = Be("{name}", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26611
26611
  path: a,
26612
26612
  queryParams: u,
@@ -26645,7 +26645,7 @@ class eH extends Ca {
26645
26645
  return Object.assign(h, d), h;
26646
26646
  });
26647
26647
  } else {
26648
- const c = q9(this.apiClient, e);
26648
+ const c = qB(this.apiClient, e);
26649
26649
  return a = Be("{name}", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26650
26650
  path: a,
26651
26651
  queryParams: u,
@@ -26692,7 +26692,7 @@ class eH extends Ca {
26692
26692
  return Object.assign(g, h), g;
26693
26693
  });
26694
26694
  } else {
26695
- const c = V9(this.apiClient, e);
26695
+ const c = VB(this.apiClient, e);
26696
26696
  return a = Be("{model}:countTokens", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26697
26697
  path: a,
26698
26698
  queryParams: u,
@@ -26780,7 +26780,7 @@ class eH extends Ca {
26780
26780
  abortSignal: (n = e.config) === null || n === void 0 ? void 0 : n.abortSignal
26781
26781
  }).then((d) => d.json()), s.then((d) => k4(this.apiClient, d));
26782
26782
  } else {
26783
- const c = W9(this.apiClient, e);
26783
+ const c = WB(this.apiClient, e);
26784
26784
  return a = Be("{model}:predictLongRunning", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26785
26785
  path: a,
26786
26786
  queryParams: u,
@@ -36212,7 +36212,7 @@ async function yG(i, e) {
36212
36212
  }
36213
36213
  }
36214
36214
  async function _G(i, e) {
36215
- return (await import("./list_directory.node-DGhzMMXH.js")).resolveArgumentDirectoryNode(i, e);
36215
+ return (await import("./list_directory.node-BvKQRegC.js")).resolveArgumentDirectoryNode(i, e);
36216
36216
  }
36217
36217
  function wG(i) {
36218
36218
  if (!i._regex)
@@ -37386,7 +37386,7 @@ async function xG({
37386
37386
  fileMentions: void 0,
37387
37387
  userState: void 0
37388
37388
  };
37389
- const o = (await import("./files-Ce5pZkWD.js").then(
37389
+ const o = (await import("./files-8V4d25dw.js").then(
37390
37390
  ({ getFileMentions: a }) => a(
37391
37391
  GE(t.content),
37392
37392
  r,
@@ -38197,7 +38197,7 @@ function zs(i = "idle") {
38197
38197
  ie.error(`Failed to play notification sound (${i}):`, e);
38198
38198
  }
38199
38199
  }
38200
- const RG = import("./node-BHXqdrs5.js").then(
38200
+ const RG = import("./node-DHEAQDoa.js").then(
38201
38201
  ({ nodeFileSystem: i }) => i
38202
38202
  );
38203
38203
  async function kG() {
@@ -39230,7 +39230,7 @@ async function XG() {
39230
39230
  if (e.includes("/node_modules/@sourcegraph/amp/"))
39231
39231
  return ie.debug("Found generic node_modules path, checking for specific patterns"), e.includes("/.local/share/pnpm/") ? (ie.debug("Detected pnpm from node_modules with pnpm-specific path"), "pnpm") : e.includes("/.config/yarn/") ? (ie.debug("Detected yarn from node_modules with yarn-specific path"), "yarn") : e.includes("/.bun/") ? (ie.debug("Detected bun from node_modules with bun-specific path"), "bun") : (ie.debug("Defaulting to npm for generic node_modules path"), "npm");
39232
39232
  ie.debug("No path pattern matched, checking installation directory for lockfiles");
39233
- const t = e0(e0(e));
39233
+ const t = e_(e_(e));
39234
39234
  ie.debug("Checking installation directory", { installDir: t });
39235
39235
  const n = [
39236
39236
  { file: "pnpm-lock.yaml", manager: "pnpm" },
@@ -40203,7 +40203,7 @@ function Tr() {
40203
40203
  }
40204
40204
  async function sW(i, e) {
40205
40205
  try {
40206
- const t = await ZG("0.0.1748751230-ga82eb7");
40206
+ const t = await ZG("0.0.1748779332-gb5cb75");
40207
40207
  t.hasUpdate && t.latestVersion ? e ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
40208
40208
  try {
40209
40209
  await tW(t.latestVersion), i.next({
@@ -40218,7 +40218,7 @@ async function sW(i, e) {
40218
40218
  version: t.latestVersion
40219
40219
  });
40220
40220
  }
40221
- }, 100)) : ie.info(`New version available: 0.0.1748751230-ga82eb7 → ${t.latestVersion}`) : ie.info("No update available");
40221
+ }, 100)) : ie.info(`New version available: 0.0.1748779332-gb5cb75 → ${t.latestVersion}`) : ie.info("No update available");
40222
40222
  } catch (t) {
40223
40223
  ie.debug("Update check failed", t);
40224
40224
  }
@@ -40316,7 +40316,7 @@ async function Iu(i, e) {
40316
40316
  cg({
40317
40317
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
40318
40318
  logFile: e.logFile || process.env.AMP_LOG_FILE
40319
- }), jM("0.0.1748751230-ga82eb7");
40319
+ }), jM("0.0.1748779332-gb5cb75");
40320
40320
  const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
40321
40321
  ie.info("Using settings file", { settingsFile: t });
40322
40322
  const n = wu(), r = $T({ settingsFile: t }), o = process.env.AMP_API_KEY;
@@ -40416,7 +40416,7 @@ function dW(i) {
40416
40416
  const e = new U2().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
40417
40417
  e.option("-V, --version", "output the version number", () => {
40418
40418
  if (i.isTTY) {
40419
- const r = "0.0.1748751230-ga82eb7".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
40419
+ const r = "0.0.1748779332-gb5cb75".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
40420
40420
  if (r) {
40421
40421
  const [, , o] = r;
40422
40422
  try {
@@ -40427,21 +40427,21 @@ function dW(i) {
40427
40427
  day: "numeric"
40428
40428
  });
40429
40429
  tt.write(
40430
- `0.0.1748751230-ga82eb7 ${i.printer.print(`(released ${a})`, { foreground: "gray" })}
40430
+ `0.0.1748779332-gb5cb75 ${i.printer.print(`(released ${a})`, { foreground: "gray" })}
40431
40431
  `
40432
40432
  );
40433
40433
  } else
40434
- tt.write(`0.0.1748751230-ga82eb7
40434
+ tt.write(`0.0.1748779332-gb5cb75
40435
40435
  `);
40436
40436
  } catch {
40437
- tt.write(`0.0.1748751230-ga82eb7
40437
+ tt.write(`0.0.1748779332-gb5cb75
40438
40438
  `);
40439
40439
  }
40440
40440
  } else
40441
- tt.write(`0.0.1748751230-ga82eb7
40441
+ tt.write(`0.0.1748779332-gb5cb75
40442
40442
  `);
40443
40443
  } else
40444
- tt.write(`0.0.1748751230-ga82eb7
40444
+ tt.write(`0.0.1748779332-gb5cb75
40445
40445
  `);
40446
40446
  process.exit(0);
40447
40447
  }), e.addHelpText(
@@ -40839,4 +40839,4 @@ export {
40839
40839
  ge as s,
40840
40840
  lr as u
40841
40841
  };
40842
- //# sourceMappingURL=main-00oKVtTe.js.map
40842
+ //# sourceMappingURL=main-BNsPGXov.js.map