@gram-ai/elements 1.5.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,23 @@
1
+ const Pl = [
2
+ "anthropic/claude-sonnet-4.5",
3
+ "anthropic/claude-haiku-4.5",
4
+ "anthropic/claude-sonnet-4",
5
+ "anthropic/claude-opus-4.5",
6
+ "openai/gpt-4o",
7
+ "openai/gpt-4o-mini",
8
+ "openai/gpt-5.1-codex",
9
+ "openai/gpt-5",
10
+ "openai/gpt-5.1",
11
+ "openai/gpt-4.1",
12
+ "anthropic/claude-3.7-sonnet",
13
+ "anthropic/claude-opus-4",
14
+ "google/gemini-2.5-pro-preview",
15
+ "google/gemini-3-pro-preview",
16
+ "moonshotai/kimi-k2",
17
+ "mistralai/mistral-medium-3",
18
+ "mistralai/mistral-medium-3.1",
19
+ "mistralai/codestral-2501"
20
+ ];
1
21
  var Dt = "vercel.ai.error", Go = Symbol.for(Dt), Ct, qo = class Rt extends Error {
2
22
  /**
3
23
  * Creates an AI SDK Error.
@@ -28,7 +48,7 @@ var Dt = "vercel.ai.error", Go = Symbol.for(Dt), Ct, qo = class Rt extends Error
28
48
  }
29
49
  };
30
50
  Ct = Go;
31
- var T = qo, Mt = "AI_APICallError", Ut = `vercel.ai.error.${Mt}`, Ho = Symbol.for(Ut), Ft, Pl = class extends T {
51
+ var T = qo, Mt = "AI_APICallError", Ut = `vercel.ai.error.${Mt}`, Ho = Symbol.for(Ut), Ft, xl = class extends T {
32
52
  constructor({
33
53
  message: e,
34
54
  url: t,
@@ -51,7 +71,7 @@ var T = qo, Mt = "AI_APICallError", Ut = `vercel.ai.error.${Mt}`, Ho = Symbol.fo
51
71
  }
52
72
  };
53
73
  Ft = Ho;
54
- var Lt = "AI_EmptyResponseBodyError", Vt = `vercel.ai.error.${Lt}`, Yo = Symbol.for(Vt), Bt, xl = class extends T {
74
+ var Lt = "AI_EmptyResponseBodyError", Vt = `vercel.ai.error.${Lt}`, Yo = Symbol.for(Vt), Bt, Tl = class extends T {
55
75
  // used in isInstance
56
76
  constructor({ message: e = "Empty response body" } = {}) {
57
77
  super({ name: Lt, message: e }), this[Bt] = !0;
@@ -77,7 +97,7 @@ var Wt = "AI_InvalidArgumentError", Gt = `vercel.ai.error.${Wt}`, Xo = Symbol.fo
77
97
  }
78
98
  };
79
99
  qt = Xo;
80
- var Ht = "AI_InvalidPromptError", Yt = `vercel.ai.error.${Ht}`, Ko = Symbol.for(Yt), Xt, Tl = class extends T {
100
+ var Ht = "AI_InvalidPromptError", Yt = `vercel.ai.error.${Ht}`, Ko = Symbol.for(Yt), Xt, jl = class extends T {
81
101
  constructor({
82
102
  prompt: e,
83
103
  message: t,
@@ -104,7 +124,7 @@ Error message: ${Jt(t)}`,
104
124
  }
105
125
  };
106
126
  en = es;
107
- var tn = "AI_NoSuchModelError", nn = `vercel.ai.error.${tn}`, ts = Symbol.for(nn), rn, jl = class extends T {
127
+ var tn = "AI_NoSuchModelError", nn = `vercel.ai.error.${tn}`, ts = Symbol.for(nn), rn, Nl = class extends T {
108
128
  constructor({
109
129
  errorName: e = tn,
110
130
  modelId: t,
@@ -272,7 +292,7 @@ class is extends TransformStream {
272
292
  });
273
293
  }
274
294
  }
275
- const Nl = Object.freeze({
295
+ const Dl = Object.freeze({
276
296
  status: "aborted"
277
297
  });
278
298
  function u(e, t, n) {
@@ -309,7 +329,7 @@ function u(e, t, n) {
309
329
  value: (a) => n?.Parent && a instanceof n.Parent ? !0 : a?._zod?.traits?.has(e)
310
330
  }), Object.defineProperty(i, "name", { value: e }), i;
311
331
  }
312
- const Dl = Symbol("zod_brand");
332
+ const Cl = Symbol("zod_brand");
313
333
  class ee extends Error {
314
334
  constructor() {
315
335
  super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
@@ -756,7 +776,7 @@ class Ss {
756
776
  constructor(...t) {
757
777
  }
758
778
  }
759
- const Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
779
+ const Rl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
760
780
  __proto__: null,
761
781
  BIGINT_FORMAT_RANGES: hn,
762
782
  Class: Ss,
@@ -858,7 +878,7 @@ function As(e, t = (n) => n.message) {
858
878
  };
859
879
  return r(e), n;
860
880
  }
861
- function Rl(e, t = (n) => n.message) {
881
+ function Ml(e, t = (n) => n.message) {
862
882
  const n = { errors: [] }, r = (o, s = []) => {
863
883
  var i, a;
864
884
  for (const c of o.issues)
@@ -889,7 +909,7 @@ function Is(e) {
889
909
  typeof r == "number" ? t.push(`[${r}]`) : typeof r == "symbol" ? t.push(`[${JSON.stringify(String(r))}]`) : /[^\w$]/.test(r) ? t.push(`[${JSON.stringify(r)}]`) : (t.length && t.push("."), t.push(r));
890
910
  return t.join("");
891
911
  }
892
- function Ml(e) {
912
+ function Ul(e) {
893
913
  const t = [], n = [...e.issues].sort((r, o) => (r.path ?? []).length - (o.path ?? []).length);
894
914
  for (const r of n)
895
915
  t.push(`✖ ${r.message}`), r.path?.length && t.push(` → at ${Is(r.path)}`);
@@ -931,16 +951,16 @@ const Oe = (e) => (t, n, r, o) => {
931
951
  }, Ps = /* @__PURE__ */ Te(D), En = (e) => (t, n, r) => {
932
952
  const o = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
933
953
  return Oe(e)(t, n, o);
934
- }, Ul = /* @__PURE__ */ En(D), An = (e) => (t, n, r) => Oe(e)(t, n, r), Fl = /* @__PURE__ */ An(D), In = (e) => async (t, n, r) => {
954
+ }, Fl = /* @__PURE__ */ En(D), An = (e) => (t, n, r) => Oe(e)(t, n, r), Ll = /* @__PURE__ */ An(D), In = (e) => async (t, n, r) => {
935
955
  const o = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
936
956
  return Pe(e)(t, n, o);
937
- }, Ll = /* @__PURE__ */ In(D), On = (e) => async (t, n, r) => Pe(e)(t, n, r), Vl = /* @__PURE__ */ On(D), Pn = (e) => (t, n, r) => {
957
+ }, Vl = /* @__PURE__ */ In(D), On = (e) => async (t, n, r) => Pe(e)(t, n, r), Bl = /* @__PURE__ */ On(D), Pn = (e) => (t, n, r) => {
938
958
  const o = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
939
959
  return xe(e)(t, n, o);
940
- }, Bl = /* @__PURE__ */ Pn(D), xn = (e) => (t, n, r) => xe(e)(t, n, r), Jl = /* @__PURE__ */ xn(D), Tn = (e) => async (t, n, r) => {
960
+ }, Jl = /* @__PURE__ */ Pn(D), xn = (e) => (t, n, r) => xe(e)(t, n, r), Wl = /* @__PURE__ */ xn(D), Tn = (e) => async (t, n, r) => {
941
961
  const o = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
942
962
  return Te(e)(t, n, o);
943
- }, Wl = /* @__PURE__ */ Tn(D), jn = (e) => async (t, n, r) => Te(e)(t, n, r), Gl = /* @__PURE__ */ jn(D), Nn = /^[cC][^\s-]{8,}$/, Dn = /^[0-9a-z]+$/, Cn = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, Rn = /^[0-9a-vA-V]{20}$/, Mn = /^[A-Za-z0-9]{27}$/, Un = /^[a-zA-Z0-9_-]{21}$/, Fn = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, xs = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, Ln = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, re = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, Ts = /* @__PURE__ */ re(4), js = /* @__PURE__ */ re(6), Ns = /* @__PURE__ */ re(7), Vn = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Ds = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, Cs = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, Bn = /^[^\s@"]{1,64}@[^\s@]{1,255}$/u, Rs = Bn, Ms = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, Us = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
963
+ }, Gl = /* @__PURE__ */ Tn(D), jn = (e) => async (t, n, r) => Te(e)(t, n, r), ql = /* @__PURE__ */ jn(D), Nn = /^[cC][^\s-]{8,}$/, Dn = /^[0-9a-z]+$/, Cn = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, Rn = /^[0-9a-vA-V]{20}$/, Mn = /^[A-Za-z0-9]{27}$/, Un = /^[a-zA-Z0-9_-]{21}$/, Fn = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, xs = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, Ln = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, re = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, Ts = /* @__PURE__ */ re(4), js = /* @__PURE__ */ re(6), Ns = /* @__PURE__ */ re(7), Vn = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Ds = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, Cs = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, Bn = /^[^\s@"]{1,64}@[^\s@]{1,255}$/u, Rs = Bn, Ms = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, Us = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
944
964
  function Jn() {
945
965
  return new RegExp(Us, "u");
946
966
  }
@@ -2598,7 +2618,7 @@ function $t(e, t, n, r) {
2598
2618
  }
2599
2619
  }
2600
2620
  var St;
2601
- const ql = Symbol("ZodOutput"), Hl = Symbol("ZodInput");
2621
+ const Hl = Symbol("ZodOutput"), Yl = Symbol("ZodInput");
2602
2622
  class Ar {
2603
2623
  constructor() {
2604
2624
  this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
@@ -2644,7 +2664,7 @@ function ja(e, t) {
2644
2664
  ...d(t)
2645
2665
  });
2646
2666
  }
2647
- function Yl(e, t) {
2667
+ function Xl(e, t) {
2648
2668
  return new e({
2649
2669
  type: "string",
2650
2670
  coerce: !0,
@@ -2861,7 +2881,7 @@ function qr(e, t) {
2861
2881
  ...d(t)
2862
2882
  });
2863
2883
  }
2864
- const Xl = {
2884
+ const Ql = {
2865
2885
  Any: null,
2866
2886
  Minute: -1,
2867
2887
  Second: 0,
@@ -2911,7 +2931,7 @@ function Ua(e, t) {
2911
2931
  ...d(t)
2912
2932
  });
2913
2933
  }
2914
- function Ql(e, t) {
2934
+ function Kl(e, t) {
2915
2935
  return new e({
2916
2936
  type: "number",
2917
2937
  coerce: !0,
@@ -2970,7 +2990,7 @@ function Wa(e, t) {
2970
2990
  ...d(t)
2971
2991
  });
2972
2992
  }
2973
- function Kl(e, t) {
2993
+ function ef(e, t) {
2974
2994
  return new e({
2975
2995
  type: "boolean",
2976
2996
  coerce: !0,
@@ -2983,7 +3003,7 @@ function Ga(e, t) {
2983
3003
  ...d(t)
2984
3004
  });
2985
3005
  }
2986
- function ef(e, t) {
3006
+ function tf(e, t) {
2987
3007
  return new e({
2988
3008
  type: "bigint",
2989
3009
  coerce: !0,
@@ -3054,7 +3074,7 @@ function ru(e, t) {
3054
3074
  ...d(t)
3055
3075
  });
3056
3076
  }
3057
- function tf(e, t) {
3077
+ function nf(e, t) {
3058
3078
  return new e({
3059
3079
  type: "date",
3060
3080
  coerce: !0,
@@ -3099,16 +3119,16 @@ function L(e, t) {
3099
3119
  inclusive: !0
3100
3120
  });
3101
3121
  }
3102
- function nf(e) {
3122
+ function rf(e) {
3103
3123
  return ae(0, e);
3104
3124
  }
3105
- function rf(e) {
3125
+ function of(e) {
3106
3126
  return ie(0, e);
3107
3127
  }
3108
- function of(e) {
3128
+ function sf(e) {
3109
3129
  return H(0, e);
3110
3130
  }
3111
- function sf(e) {
3131
+ function af(e) {
3112
3132
  return L(0, e);
3113
3133
  }
3114
3134
  function We(e, t) {
@@ -3206,7 +3226,7 @@ function fu(e, t) {
3206
3226
  suffix: e
3207
3227
  });
3208
3228
  }
3209
- function af(e, t, n) {
3229
+ function uf(e, t, n) {
3210
3230
  return new vi({
3211
3231
  check: "property",
3212
3232
  property: e,
@@ -3252,14 +3272,14 @@ function vu(e, t, n) {
3252
3272
  ...d(n)
3253
3273
  });
3254
3274
  }
3255
- function uf(e, t, n) {
3275
+ function cf(e, t, n) {
3256
3276
  return new e({
3257
3277
  type: "union",
3258
3278
  options: t,
3259
3279
  ...d(n)
3260
3280
  });
3261
3281
  }
3262
- function cf(e, t, n, r) {
3282
+ function lf(e, t, n, r) {
3263
3283
  return new e({
3264
3284
  type: "union",
3265
3285
  options: n,
@@ -3267,14 +3287,14 @@ function cf(e, t, n, r) {
3267
3287
  ...d(r)
3268
3288
  });
3269
3289
  }
3270
- function lf(e, t, n) {
3290
+ function ff(e, t, n) {
3271
3291
  return new e({
3272
3292
  type: "intersection",
3273
3293
  left: t,
3274
3294
  right: n
3275
3295
  });
3276
3296
  }
3277
- function ff(e, t, n, r) {
3297
+ function pf(e, t, n, r) {
3278
3298
  const o = n instanceof y, s = o ? r : n, i = o ? n : null;
3279
3299
  return new e({
3280
3300
  type: "tuple",
@@ -3283,7 +3303,7 @@ function ff(e, t, n, r) {
3283
3303
  ...d(s)
3284
3304
  });
3285
3305
  }
3286
- function pf(e, t, n, r) {
3306
+ function df(e, t, n, r) {
3287
3307
  return new e({
3288
3308
  type: "record",
3289
3309
  keyType: t,
@@ -3291,7 +3311,7 @@ function pf(e, t, n, r) {
3291
3311
  ...d(r)
3292
3312
  });
3293
3313
  }
3294
- function df(e, t, n, r) {
3314
+ function mf(e, t, n, r) {
3295
3315
  return new e({
3296
3316
  type: "map",
3297
3317
  keyType: t,
@@ -3299,14 +3319,14 @@ function df(e, t, n, r) {
3299
3319
  ...d(r)
3300
3320
  });
3301
3321
  }
3302
- function mf(e, t, n) {
3322
+ function hf(e, t, n) {
3303
3323
  return new e({
3304
3324
  type: "set",
3305
3325
  valueType: t,
3306
3326
  ...d(n)
3307
3327
  });
3308
3328
  }
3309
- function hf(e, t, n) {
3329
+ function gf(e, t, n) {
3310
3330
  const r = Array.isArray(t) ? Object.fromEntries(t.map((o) => [o, o])) : t;
3311
3331
  return new e({
3312
3332
  type: "enum",
@@ -3314,14 +3334,14 @@ function hf(e, t, n) {
3314
3334
  ...d(n)
3315
3335
  });
3316
3336
  }
3317
- function gf(e, t, n) {
3337
+ function _f(e, t, n) {
3318
3338
  return new e({
3319
3339
  type: "enum",
3320
3340
  entries: t,
3321
3341
  ...d(n)
3322
3342
  });
3323
3343
  }
3324
- function _f(e, t, n) {
3344
+ function vf(e, t, n) {
3325
3345
  return new e({
3326
3346
  type: "literal",
3327
3347
  values: Array.isArray(t) ? t : [t],
@@ -3334,25 +3354,25 @@ function bu(e, t) {
3334
3354
  ...d(t)
3335
3355
  });
3336
3356
  }
3337
- function vf(e, t) {
3357
+ function bf(e, t) {
3338
3358
  return new e({
3339
3359
  type: "transform",
3340
3360
  transform: t
3341
3361
  });
3342
3362
  }
3343
- function bf(e, t) {
3363
+ function yf(e, t) {
3344
3364
  return new e({
3345
3365
  type: "optional",
3346
3366
  innerType: t
3347
3367
  });
3348
3368
  }
3349
- function yf(e, t) {
3369
+ function wf(e, t) {
3350
3370
  return new e({
3351
3371
  type: "nullable",
3352
3372
  innerType: t
3353
3373
  });
3354
3374
  }
3355
- function wf(e, t, n) {
3375
+ function zf(e, t, n) {
3356
3376
  return new e({
3357
3377
  type: "default",
3358
3378
  innerType: t,
@@ -3361,53 +3381,53 @@ function wf(e, t, n) {
3361
3381
  }
3362
3382
  });
3363
3383
  }
3364
- function zf(e, t, n) {
3384
+ function kf(e, t, n) {
3365
3385
  return new e({
3366
3386
  type: "nonoptional",
3367
3387
  innerType: t,
3368
3388
  ...d(n)
3369
3389
  });
3370
3390
  }
3371
- function kf(e, t) {
3391
+ function Zf(e, t) {
3372
3392
  return new e({
3373
3393
  type: "success",
3374
3394
  innerType: t
3375
3395
  });
3376
3396
  }
3377
- function Zf(e, t, n) {
3397
+ function $f(e, t, n) {
3378
3398
  return new e({
3379
3399
  type: "catch",
3380
3400
  innerType: t,
3381
3401
  catchValue: typeof n == "function" ? n : () => n
3382
3402
  });
3383
3403
  }
3384
- function $f(e, t, n) {
3404
+ function Sf(e, t, n) {
3385
3405
  return new e({
3386
3406
  type: "pipe",
3387
3407
  in: t,
3388
3408
  out: n
3389
3409
  });
3390
3410
  }
3391
- function Sf(e, t) {
3411
+ function Ef(e, t) {
3392
3412
  return new e({
3393
3413
  type: "readonly",
3394
3414
  innerType: t
3395
3415
  });
3396
3416
  }
3397
- function Ef(e, t, n) {
3417
+ function Af(e, t, n) {
3398
3418
  return new e({
3399
3419
  type: "template_literal",
3400
3420
  parts: t,
3401
3421
  ...d(n)
3402
3422
  });
3403
3423
  }
3404
- function Af(e, t) {
3424
+ function If(e, t) {
3405
3425
  return new e({
3406
3426
  type: "lazy",
3407
3427
  getter: t
3408
3428
  });
3409
3429
  }
3410
- function If(e, t) {
3430
+ function Of(e, t) {
3411
3431
  return new e({
3412
3432
  type: "promise",
3413
3433
  innerType: t
@@ -4006,7 +4026,7 @@ const oo = /* @__PURE__ */ u("ZodISODuration", (e, t) => {
4006
4026
  function so(e) {
4007
4027
  return Ma(oo, e);
4008
4028
  }
4009
- const Of = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4029
+ const Pf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4010
4030
  __proto__: null,
4011
4031
  ZodISODate: eo,
4012
4032
  ZodISODateTime: Qr,
@@ -4045,7 +4065,7 @@ const Of = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4045
4065
  // enumerable: false,
4046
4066
  }
4047
4067
  });
4048
- }, Pf = u("ZodError", io), C = u("ZodError", io, {
4068
+ }, xf = u("ZodError", io), C = u("ZodError", io, {
4049
4069
  Parent: Error
4050
4070
  }), Au = /* @__PURE__ */ Oe(C), Iu = /* @__PURE__ */ Pe(C), Ou = /* @__PURE__ */ xe(C), ao = /* @__PURE__ */ Te(C), Pu = /* @__PURE__ */ En(C), xu = /* @__PURE__ */ An(C), Tu = /* @__PURE__ */ In(C), ju = /* @__PURE__ */ On(C), Nu = /* @__PURE__ */ Pn(C), Du = /* @__PURE__ */ xn(C), Cu = /* @__PURE__ */ Tn(C), Ru = /* @__PURE__ */ jn(C), w = /* @__PURE__ */ u("ZodType", (e, t) => (y.init(e, t), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.check = (...n) => e.clone(G(t, {
4051
4071
  checks: [
@@ -4080,37 +4100,37 @@ const I = /* @__PURE__ */ u("ZodStringFormat", (e, t) => {
4080
4100
  }), lo = /* @__PURE__ */ u("ZodEmail", (e, t) => {
4081
4101
  $i.init(e, t), I.init(e, t);
4082
4102
  });
4083
- function xf(e) {
4103
+ function Tf(e) {
4084
4104
  return Ir(lo, e);
4085
4105
  }
4086
4106
  const qe = /* @__PURE__ */ u("ZodGUID", (e, t) => {
4087
4107
  ki.init(e, t), I.init(e, t);
4088
4108
  });
4089
- function Tf(e) {
4109
+ function jf(e) {
4090
4110
  return Je(qe, e);
4091
4111
  }
4092
4112
  const q = /* @__PURE__ */ u("ZodUUID", (e, t) => {
4093
4113
  Zi.init(e, t), I.init(e, t);
4094
4114
  });
4095
- function jf(e) {
4115
+ function Nf(e) {
4096
4116
  return Or(q, e);
4097
4117
  }
4098
- function Nf(e) {
4118
+ function Df(e) {
4099
4119
  return Pr(q, e);
4100
4120
  }
4101
- function Df(e) {
4121
+ function Cf(e) {
4102
4122
  return xr(q, e);
4103
4123
  }
4104
- function Cf(e) {
4124
+ function Rf(e) {
4105
4125
  return Tr(q, e);
4106
4126
  }
4107
4127
  const st = /* @__PURE__ */ u("ZodURL", (e, t) => {
4108
4128
  Si.init(e, t), I.init(e, t);
4109
4129
  });
4110
- function Rf(e) {
4130
+ function Mf(e) {
4111
4131
  return ot(st, e);
4112
4132
  }
4113
- function Mf(e) {
4133
+ function Uf(e) {
4114
4134
  return ot(st, {
4115
4135
  protocol: /^https?$/,
4116
4136
  hostname: Kn,
@@ -4120,112 +4140,112 @@ function Mf(e) {
4120
4140
  const fo = /* @__PURE__ */ u("ZodEmoji", (e, t) => {
4121
4141
  Ei.init(e, t), I.init(e, t);
4122
4142
  });
4123
- function Uf(e) {
4143
+ function Ff(e) {
4124
4144
  return jr(fo, e);
4125
4145
  }
4126
4146
  const po = /* @__PURE__ */ u("ZodNanoID", (e, t) => {
4127
4147
  Ai.init(e, t), I.init(e, t);
4128
4148
  });
4129
- function Ff(e) {
4149
+ function Lf(e) {
4130
4150
  return Nr(po, e);
4131
4151
  }
4132
4152
  const mo = /* @__PURE__ */ u("ZodCUID", (e, t) => {
4133
4153
  Ii.init(e, t), I.init(e, t);
4134
4154
  });
4135
- function Lf(e) {
4155
+ function Vf(e) {
4136
4156
  return Dr(mo, e);
4137
4157
  }
4138
4158
  const ho = /* @__PURE__ */ u("ZodCUID2", (e, t) => {
4139
4159
  Oi.init(e, t), I.init(e, t);
4140
4160
  });
4141
- function Vf(e) {
4161
+ function Bf(e) {
4142
4162
  return Cr(ho, e);
4143
4163
  }
4144
4164
  const go = /* @__PURE__ */ u("ZodULID", (e, t) => {
4145
4165
  Pi.init(e, t), I.init(e, t);
4146
4166
  });
4147
- function Bf(e) {
4167
+ function Jf(e) {
4148
4168
  return Rr(go, e);
4149
4169
  }
4150
4170
  const _o = /* @__PURE__ */ u("ZodXID", (e, t) => {
4151
4171
  xi.init(e, t), I.init(e, t);
4152
4172
  });
4153
- function Jf(e) {
4173
+ function Wf(e) {
4154
4174
  return Mr(_o, e);
4155
4175
  }
4156
4176
  const vo = /* @__PURE__ */ u("ZodKSUID", (e, t) => {
4157
4177
  Ti.init(e, t), I.init(e, t);
4158
4178
  });
4159
- function Wf(e) {
4179
+ function Gf(e) {
4160
4180
  return Ur(vo, e);
4161
4181
  }
4162
4182
  const bo = /* @__PURE__ */ u("ZodIPv4", (e, t) => {
4163
4183
  Ri.init(e, t), I.init(e, t);
4164
4184
  });
4165
- function Gf(e) {
4185
+ function qf(e) {
4166
4186
  return Fr(bo, e);
4167
4187
  }
4168
4188
  const Mu = /* @__PURE__ */ u("ZodMAC", (e, t) => {
4169
4189
  Ui.init(e, t), I.init(e, t);
4170
4190
  });
4171
- function qf(e) {
4191
+ function Hf(e) {
4172
4192
  return Na(Mu, e);
4173
4193
  }
4174
4194
  const yo = /* @__PURE__ */ u("ZodIPv6", (e, t) => {
4175
4195
  Mi.init(e, t), I.init(e, t);
4176
4196
  });
4177
- function Hf(e) {
4197
+ function Yf(e) {
4178
4198
  return Lr(yo, e);
4179
4199
  }
4180
4200
  const wo = /* @__PURE__ */ u("ZodCIDRv4", (e, t) => {
4181
4201
  Fi.init(e, t), I.init(e, t);
4182
4202
  });
4183
- function Yf(e) {
4203
+ function Xf(e) {
4184
4204
  return Vr(wo, e);
4185
4205
  }
4186
4206
  const zo = /* @__PURE__ */ u("ZodCIDRv6", (e, t) => {
4187
4207
  Li.init(e, t), I.init(e, t);
4188
4208
  });
4189
- function Xf(e) {
4209
+ function Qf(e) {
4190
4210
  return Br(zo, e);
4191
4211
  }
4192
4212
  const ko = /* @__PURE__ */ u("ZodBase64", (e, t) => {
4193
4213
  Vi.init(e, t), I.init(e, t);
4194
4214
  });
4195
- function Qf(e) {
4215
+ function Kf(e) {
4196
4216
  return Jr(ko, e);
4197
4217
  }
4198
4218
  const Zo = /* @__PURE__ */ u("ZodBase64URL", (e, t) => {
4199
4219
  Ji.init(e, t), I.init(e, t);
4200
4220
  });
4201
- function Kf(e) {
4221
+ function ep(e) {
4202
4222
  return Wr(Zo, e);
4203
4223
  }
4204
4224
  const $o = /* @__PURE__ */ u("ZodE164", (e, t) => {
4205
4225
  Wi.init(e, t), I.init(e, t);
4206
4226
  });
4207
- function ep(e) {
4227
+ function tp(e) {
4208
4228
  return Gr($o, e);
4209
4229
  }
4210
4230
  const So = /* @__PURE__ */ u("ZodJWT", (e, t) => {
4211
4231
  qi.init(e, t), I.init(e, t);
4212
4232
  });
4213
- function tp(e) {
4233
+ function np(e) {
4214
4234
  return qr(So, e);
4215
4235
  }
4216
4236
  const Ce = /* @__PURE__ */ u("ZodCustomStringFormat", (e, t) => {
4217
4237
  Hi.init(e, t), I.init(e, t);
4218
4238
  });
4219
- function np(e, t, n = {}) {
4239
+ function rp(e, t, n = {}) {
4220
4240
  return De(Ce, e, t, n);
4221
4241
  }
4222
- function rp(e) {
4242
+ function op(e) {
4223
4243
  return De(Ce, "hostname", Qn, e);
4224
4244
  }
4225
- function op(e) {
4245
+ function sp(e) {
4226
4246
  return De(Ce, "hex", hr, e);
4227
4247
  }
4228
- function sp(e, t) {
4248
+ function ip(e, t) {
4229
4249
  const n = t?.enc ?? "hex", r = `${e}_${n}`, o = ni[r];
4230
4250
  if (!o)
4231
4251
  throw new Error(`Unrecognized hash format: ${r}`);
@@ -4245,16 +4265,16 @@ const de = /* @__PURE__ */ u("ZodNumberFormat", (e, t) => {
4245
4265
  function It(e) {
4246
4266
  return Fa(de, e);
4247
4267
  }
4248
- function ip(e) {
4268
+ function ap(e) {
4249
4269
  return La(de, e);
4250
4270
  }
4251
- function ap(e) {
4271
+ function up(e) {
4252
4272
  return Va(de, e);
4253
4273
  }
4254
- function up(e) {
4274
+ function cp(e) {
4255
4275
  return Ba(de, e);
4256
4276
  }
4257
- function cp(e) {
4277
+ function lp(e) {
4258
4278
  return Ja(de, e);
4259
4279
  }
4260
4280
  const Ao = /* @__PURE__ */ u("ZodBoolean", (e, t) => {
@@ -4268,28 +4288,28 @@ const Io = /* @__PURE__ */ u("ZodBigInt", (e, t) => {
4268
4288
  const n = e._zod.bag;
4269
4289
  e.minValue = n.minimum ?? null, e.maxValue = n.maximum ?? null, e.format = n.format ?? null;
4270
4290
  });
4271
- function lp(e) {
4291
+ function fp(e) {
4272
4292
  return Ga(Io, e);
4273
4293
  }
4274
4294
  const Oo = /* @__PURE__ */ u("ZodBigIntFormat", (e, t) => {
4275
4295
  Xi.init(e, t), Io.init(e, t);
4276
4296
  });
4277
- function fp(e) {
4297
+ function pp(e) {
4278
4298
  return qa(Oo, e);
4279
4299
  }
4280
- function pp(e) {
4300
+ function dp(e) {
4281
4301
  return Ha(Oo, e);
4282
4302
  }
4283
4303
  const Lu = /* @__PURE__ */ u("ZodSymbol", (e, t) => {
4284
4304
  Qi.init(e, t), w.init(e, t);
4285
4305
  });
4286
- function dp(e) {
4306
+ function mp(e) {
4287
4307
  return Ya(Lu, e);
4288
4308
  }
4289
4309
  const Vu = /* @__PURE__ */ u("ZodUndefined", (e, t) => {
4290
4310
  Ki.init(e, t), w.init(e, t);
4291
4311
  });
4292
- function mp(e) {
4312
+ function hp(e) {
4293
4313
  return Xa(Vu, e);
4294
4314
  }
4295
4315
  const Bu = /* @__PURE__ */ u("ZodNull", (e, t) => {
@@ -4301,7 +4321,7 @@ function Ju(e) {
4301
4321
  const Wu = /* @__PURE__ */ u("ZodAny", (e, t) => {
4302
4322
  ta.init(e, t), w.init(e, t);
4303
4323
  });
4304
- function hp() {
4324
+ function gp() {
4305
4325
  return Ka(Wu);
4306
4326
  }
4307
4327
  const Gu = /* @__PURE__ */ u("ZodUnknown", (e, t) => {
@@ -4319,7 +4339,7 @@ function Po(e) {
4319
4339
  const Hu = /* @__PURE__ */ u("ZodVoid", (e, t) => {
4320
4340
  oa.init(e, t), w.init(e, t);
4321
4341
  });
4322
- function gp(e) {
4342
+ function _p(e) {
4323
4343
  return nu(Hu, e);
4324
4344
  }
4325
4345
  const Yu = /* @__PURE__ */ u("ZodDate", (e, t) => {
@@ -4327,7 +4347,7 @@ const Yu = /* @__PURE__ */ u("ZodDate", (e, t) => {
4327
4347
  const n = e._zod.bag;
4328
4348
  e.minDate = n.minimum ? new Date(n.minimum) : null, e.maxDate = n.maximum ? new Date(n.maximum) : null;
4329
4349
  });
4330
- function _p(e) {
4350
+ function vp(e) {
4331
4351
  return ru(Yu, e);
4332
4352
  }
4333
4353
  const Xu = /* @__PURE__ */ u("ZodArray", (e, t) => {
@@ -4336,14 +4356,14 @@ const Xu = /* @__PURE__ */ u("ZodArray", (e, t) => {
4336
4356
  function it(e, t) {
4337
4357
  return vu(Xu, e, t);
4338
4358
  }
4339
- function vp(e) {
4359
+ function bp(e) {
4340
4360
  const t = e._zod.def.shape;
4341
4361
  return No(Object.keys(t));
4342
4362
  }
4343
4363
  const at = /* @__PURE__ */ u("ZodObject", (e, t) => {
4344
4364
  ua.init(e, t), w.init(e, t), k(e, "shape", () => t.shape), e.keyof = () => No(Object.keys(e._zod.def.shape)), e.catchall = (n) => e.clone({ ...e._zod.def, catchall: n }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: ue() }), e.loose = () => e.clone({ ...e._zod.def, catchall: ue() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Po() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (n) => vn(e, n), e.safeExtend = (n) => bn(e, n), e.merge = (n) => yn(e, n), e.pick = (n) => gn(e, n), e.omit = (n) => _n(e, n), e.partial = (...n) => wn(Co, e, n[0]), e.required = (...n) => zn(Ro, e, n[0]);
4345
4365
  });
4346
- function bp(e, t) {
4366
+ function yp(e, t) {
4347
4367
  const n = {
4348
4368
  type: "object",
4349
4369
  shape: e ?? {},
@@ -4351,7 +4371,7 @@ function bp(e, t) {
4351
4371
  };
4352
4372
  return new at(n);
4353
4373
  }
4354
- function yp(e, t) {
4374
+ function wp(e, t) {
4355
4375
  return new at({
4356
4376
  type: "object",
4357
4377
  shape: e,
@@ -4359,7 +4379,7 @@ function yp(e, t) {
4359
4379
  ...d(t)
4360
4380
  });
4361
4381
  }
4362
- function wp(e, t) {
4382
+ function zp(e, t) {
4363
4383
  return new at({
4364
4384
  type: "object",
4365
4385
  shape: e,
@@ -4380,7 +4400,7 @@ function To(e, t) {
4380
4400
  const Qu = /* @__PURE__ */ u("ZodDiscriminatedUnion", (e, t) => {
4381
4401
  xo.init(e, t), ca.init(e, t);
4382
4402
  });
4383
- function zp(e, t, n) {
4403
+ function kp(e, t, n) {
4384
4404
  return new Qu({
4385
4405
  type: "union",
4386
4406
  options: t,
@@ -4424,7 +4444,7 @@ function rc(e, t, n) {
4424
4444
  ...d(n)
4425
4445
  });
4426
4446
  }
4427
- function kp(e, t, n) {
4447
+ function Zp(e, t, n) {
4428
4448
  const r = V(e);
4429
4449
  return r._zod.values = void 0, new jo({
4430
4450
  type: "record",
@@ -4436,7 +4456,7 @@ function kp(e, t, n) {
4436
4456
  const oc = /* @__PURE__ */ u("ZodMap", (e, t) => {
4437
4457
  pa.init(e, t), w.init(e, t), e.keyType = t.keyType, e.valueType = t.valueType;
4438
4458
  });
4439
- function Zp(e, t, n) {
4459
+ function $p(e, t, n) {
4440
4460
  return new oc({
4441
4461
  type: "map",
4442
4462
  keyType: e,
@@ -4447,7 +4467,7 @@ function Zp(e, t, n) {
4447
4467
  const sc = /* @__PURE__ */ u("ZodSet", (e, t) => {
4448
4468
  da.init(e, t), w.init(e, t), e.min = (...n) => e.check(Ge(...n)), e.nonempty = (n) => e.check(Ge(1, n)), e.max = (...n) => e.check(Hr(...n)), e.size = (...n) => e.check(su(...n));
4449
4469
  });
4450
- function $p(e, t) {
4470
+ function Sp(e, t) {
4451
4471
  return new sc({
4452
4472
  type: "set",
4453
4473
  valueType: e,
@@ -4493,7 +4513,7 @@ function No(e, t) {
4493
4513
  ...d(t)
4494
4514
  });
4495
4515
  }
4496
- function Sp(e, t) {
4516
+ function Ep(e, t) {
4497
4517
  return new ke({
4498
4518
  type: "enum",
4499
4519
  entries: e,
@@ -4509,7 +4529,7 @@ const ic = /* @__PURE__ */ u("ZodLiteral", (e, t) => {
4509
4529
  }
4510
4530
  });
4511
4531
  });
4512
- function Ep(e, t) {
4532
+ function Ap(e, t) {
4513
4533
  return new ic({
4514
4534
  type: "literal",
4515
4535
  values: Array.isArray(e) ? e : [e],
@@ -4519,7 +4539,7 @@ function Ep(e, t) {
4519
4539
  const ac = /* @__PURE__ */ u("ZodFile", (e, t) => {
4520
4540
  ga.init(e, t), w.init(e, t), e.min = (n, r) => e.check(Ge(n, r)), e.max = (n, r) => e.check(Hr(n, r)), e.mime = (n, r) => e.check(pu(Array.isArray(n) ? n : [n], r));
4521
4541
  });
4522
- function Ap(e) {
4542
+ function Ip(e) {
4523
4543
  return bu(ac, e);
4524
4544
  }
4525
4545
  const uc = /* @__PURE__ */ u("ZodTransform", (e, t) => {
@@ -4562,7 +4582,7 @@ function Ye(e) {
4562
4582
  innerType: e
4563
4583
  });
4564
4584
  }
4565
- function Ip(e) {
4585
+ function Op(e) {
4566
4586
  return He(Ye(e));
4567
4587
  }
4568
4588
  const lc = /* @__PURE__ */ u("ZodDefault", (e, t) => {
@@ -4602,7 +4622,7 @@ function mc(e, t) {
4602
4622
  const hc = /* @__PURE__ */ u("ZodSuccess", (e, t) => {
4603
4623
  ka.init(e, t), w.init(e, t), e.unwrap = () => e._zod.def.innerType;
4604
4624
  });
4605
- function Op(e) {
4625
+ function Pp(e) {
4606
4626
  return new hc({
4607
4627
  type: "success",
4608
4628
  innerType: e
@@ -4621,7 +4641,7 @@ function _c(e, t) {
4621
4641
  const vc = /* @__PURE__ */ u("ZodNaN", (e, t) => {
4622
4642
  $a.init(e, t), w.init(e, t);
4623
4643
  });
4624
- function Pp(e) {
4644
+ function xp(e) {
4625
4645
  return ou(vc, e);
4626
4646
  }
4627
4647
  const Mo = /* @__PURE__ */ u("ZodPipe", (e, t) => {
@@ -4638,7 +4658,7 @@ function Xe(e, t) {
4638
4658
  const Uo = /* @__PURE__ */ u("ZodCodec", (e, t) => {
4639
4659
  Mo.init(e, t), Er.init(e, t);
4640
4660
  });
4641
- function xp(e, t, n) {
4661
+ function Tp(e, t, n) {
4642
4662
  return new Uo({
4643
4663
  type: "pipe",
4644
4664
  in: e,
@@ -4659,7 +4679,7 @@ function yc(e) {
4659
4679
  const wc = /* @__PURE__ */ u("ZodTemplateLiteral", (e, t) => {
4660
4680
  Aa.init(e, t), w.init(e, t);
4661
4681
  });
4662
- function Tp(e, t) {
4682
+ function jp(e, t) {
4663
4683
  return new wc({
4664
4684
  type: "template_literal",
4665
4685
  parts: e,
@@ -4678,7 +4698,7 @@ function kc(e) {
4678
4698
  const Zc = /* @__PURE__ */ u("ZodPromise", (e, t) => {
4679
4699
  Oa.init(e, t), w.init(e, t), e.unwrap = () => e._zod.def.innerType;
4680
4700
  });
4681
- function jp(e) {
4701
+ function Np(e) {
4682
4702
  return new Zc({
4683
4703
  type: "promise",
4684
4704
  innerType: e
@@ -4687,7 +4707,7 @@ function jp(e) {
4687
4707
  const $c = /* @__PURE__ */ u("ZodFunction", (e, t) => {
4688
4708
  Ia.init(e, t), w.init(e, t);
4689
4709
  });
4690
- function Np(e) {
4710
+ function Dp(e) {
4691
4711
  return new $c({
4692
4712
  type: "function",
4693
4713
  input: Array.isArray(e?.input) ? nc(e?.input) : e?.input ?? it(ue()),
@@ -4697,14 +4717,14 @@ function Np(e) {
4697
4717
  const ut = /* @__PURE__ */ u("ZodCustom", (e, t) => {
4698
4718
  xa.init(e, t), w.init(e, t);
4699
4719
  });
4700
- function Dp(e) {
4720
+ function Cp(e) {
4701
4721
  const t = new O({
4702
4722
  check: "custom"
4703
4723
  // ...util.normalizeParams(params),
4704
4724
  });
4705
4725
  return t._zod.check = e, t;
4706
4726
  }
4707
- function Cp(e, t) {
4727
+ function Rp(e, t) {
4708
4728
  return yu(ut, e ?? (() => !0), t);
4709
4729
  }
4710
4730
  function Sc(e, t = {}) {
@@ -4713,8 +4733,8 @@ function Sc(e, t = {}) {
4713
4733
  function Ec(e) {
4714
4734
  return zu(e);
4715
4735
  }
4716
- const Rp = Zu, Mp = $u;
4717
- function Up(e, t = {
4736
+ const Mp = Zu, Up = $u;
4737
+ function Fp(e, t = {
4718
4738
  error: `Input not instance of ${e.name}`
4719
4739
  }) {
4720
4740
  const n = new ut({
@@ -4726,19 +4746,19 @@ function Up(e, t = {
4726
4746
  });
4727
4747
  return n._zod.bag.Class = e, n;
4728
4748
  }
4729
- const Fp = (...e) => Su({
4749
+ const Lp = (...e) => Su({
4730
4750
  Codec: Uo,
4731
4751
  Boolean: Ao,
4732
4752
  String: co
4733
4753
  }, ...e);
4734
- function Lp(e) {
4754
+ function Vp(e) {
4735
4755
  const t = kc(() => To([At(e), Uu(), Fu(), Ju(), it(t), rc(At(), t)]));
4736
4756
  return t;
4737
4757
  }
4738
- function Vp(e, t) {
4758
+ function Bp(e, t) {
4739
4759
  return Xe(Do(e), t);
4740
4760
  }
4741
- const Bp = {
4761
+ const Jp = {
4742
4762
  invalid_type: "invalid_type",
4743
4763
  too_big: "too_big",
4744
4764
  too_small: "too_small",
@@ -4751,12 +4771,12 @@ const Bp = {
4751
4771
  invalid_value: "invalid_value",
4752
4772
  custom: "custom"
4753
4773
  };
4754
- function Jp(e) {
4774
+ function Wp(e) {
4755
4775
  N({
4756
4776
  customError: e
4757
4777
  });
4758
4778
  }
4759
- function Wp() {
4779
+ function Gp() {
4760
4780
  return N().customError;
4761
4781
  }
4762
4782
  var Ot;
@@ -4938,8 +4958,8 @@ var Ac = ({
4938
4958
  message: `The separator "${r}" must not be part of the alphabet "${n}".`
4939
4959
  });
4940
4960
  return () => `${e}${r}${o()}`;
4941
- }, Gp = Ac();
4942
- function qp(e = globalThis) {
4961
+ }, qp = Ac();
4962
+ function Hp(e = globalThis) {
4943
4963
  var t, n, r;
4944
4964
  return e.window ? "runtime/browser" : (t = e.navigator) != null && t.userAgent ? `runtime/${e.navigator.userAgent.toLowerCase()}` : (r = (n = e.process) == null ? void 0 : n.versions) != null && r.node ? `runtime/node.js/${e.process.version.substring(0)}` : e.EdgeRuntime ? "runtime/vercel-edge" : "runtime/unknown";
4945
4965
  }
@@ -4958,7 +4978,7 @@ function Ic(e) {
4958
4978
  }
4959
4979
  return t;
4960
4980
  }
4961
- function Hp(e, ...t) {
4981
+ function Yp(e, ...t) {
4962
4982
  const n = new Headers(Ic(e)), r = n.get("user-agent") || "";
4963
4983
  return n.set(
4964
4984
  "user-agent",
@@ -5008,7 +5028,7 @@ function jc(e) {
5008
5028
  function Nc(e) {
5009
5029
  return typeof e == "object" && e !== null && $e in e && e[$e] === !0 && "validate" in e;
5010
5030
  }
5011
- function Yp(e) {
5031
+ function Xp(e) {
5012
5032
  let t;
5013
5033
  return () => (t == null && (t = e()), t);
5014
5034
  }
@@ -5027,7 +5047,7 @@ function Cc(e) {
5027
5047
  };
5028
5048
  });
5029
5049
  }
5030
- async function Xp({
5050
+ async function Qp({
5031
5051
  value: e,
5032
5052
  schema: t
5033
5053
  }) {
@@ -5073,7 +5093,7 @@ async function Rc({
5073
5093
  };
5074
5094
  }
5075
5095
  }
5076
- function Qp({
5096
+ function Kp({
5077
5097
  stream: e,
5078
5098
  schema: t
5079
5099
  }) {
@@ -5085,13 +5105,13 @@ function Qp({
5085
5105
  })
5086
5106
  );
5087
5107
  }
5088
- function Kp(e) {
5108
+ function ed(e) {
5089
5109
  return e;
5090
5110
  }
5091
- function ed(e) {
5111
+ function td(e) {
5092
5112
  return { ...e, type: "dynamic" };
5093
5113
  }
5094
- async function td(e) {
5114
+ async function nd(e) {
5095
5115
  return typeof e == "function" && (e = e()), Promise.resolve(e);
5096
5116
  }
5097
5117
  var Mc = (e, t) => {
@@ -6059,32 +6079,12 @@ function ct(e, {
6059
6079
  function Ol(e) {
6060
6080
  return typeof e == "object" && e !== null && Ke in e && e[Ke] === !0 && "jsonSchema" in e && "validate" in e;
6061
6081
  }
6062
- function nd(e) {
6082
+ function rd(e) {
6063
6083
  return e == null ? ct({
6064
6084
  properties: {},
6065
6085
  additionalProperties: !1
6066
6086
  }) : Ol(e) ? e : typeof e == "function" ? e() : Il(e);
6067
6087
  }
6068
- const rd = [
6069
- "anthropic/claude-sonnet-4.5",
6070
- "anthropic/claude-haiku-4.5",
6071
- "anthropic/claude-sonnet-4",
6072
- "anthropic/claude-opus-4.5",
6073
- "openai/gpt-4o",
6074
- "openai/gpt-4o-mini",
6075
- "openai/gpt-5.1-codex",
6076
- "openai/gpt-5",
6077
- "openai/gpt-5.1",
6078
- "openai/gpt-4.1",
6079
- "anthropic/claude-3.7-sonnet",
6080
- "anthropic/claude-opus-4",
6081
- "google/gemini-2.5-pro-preview",
6082
- "google/gemini-3-pro-preview",
6083
- "moonshotai/kimi-k2",
6084
- "mistralai/mistral-medium-3",
6085
- "mistralai/mistral-medium-3.1",
6086
- "mistralai/codestral-2501"
6087
- ];
6088
6088
  export {
6089
6089
  ta as $,
6090
6090
  ai as A,
@@ -6136,21 +6136,21 @@ export {
6136
6136
  na as aH,
6137
6137
  oa as aI,
6138
6138
  xi as aJ,
6139
- Dl as aK,
6139
+ Cl as aK,
6140
6140
  u as aL,
6141
- Hl as aM,
6142
- ql as aN,
6141
+ Yl as aM,
6142
+ Hl as aN,
6143
6143
  wi as aO,
6144
6144
  Et as aP,
6145
- Nl as aQ,
6146
- Xl as aR,
6145
+ Dl as aQ,
6146
+ Ql as aR,
6147
6147
  Ka as aS,
6148
6148
  vu as aT,
6149
6149
  Jr as aU,
6150
6150
  Wr as aV,
6151
6151
  Ga as aW,
6152
6152
  Wa as aX,
6153
- Zf as aY,
6153
+ $f as aY,
6154
6154
  ku as aZ,
6155
6155
  Vr as a_,
6156
6156
  pa as aa,
@@ -6180,12 +6180,12 @@ export {
6180
6180
  Aa as ay,
6181
6181
  _a as az,
6182
6182
  ee as b,
6183
- yf as b$,
6184
- ef as b0,
6185
- Kl as b1,
6186
- tf as b2,
6187
- Ql as b3,
6188
- Yl as b4,
6183
+ wf as b$,
6184
+ tf as b0,
6185
+ ef as b1,
6186
+ nf as b2,
6187
+ Kl as b3,
6188
+ Xl as b4,
6189
6189
  Dr as b5,
6190
6190
  Cr as b6,
6191
6191
  yu as b7,
@@ -6194,14 +6194,14 @@ export {
6194
6194
  Ra as bA,
6195
6195
  qr as bB,
6196
6196
  Ur as bC,
6197
- Af as bD,
6197
+ If as bD,
6198
6198
  Xr as bE,
6199
- _f as bF,
6199
+ vf as bF,
6200
6200
  au as bG,
6201
6201
  ie as bH,
6202
6202
  H as bI,
6203
6203
  Na as bJ,
6204
- df as bK,
6204
+ mf as bK,
6205
6205
  Yr as bL,
6206
6206
  Hr as bM,
6207
6207
  pu as bN,
@@ -6210,24 +6210,24 @@ export {
6210
6210
  We as bQ,
6211
6211
  ou as bR,
6212
6212
  Nr as bS,
6213
- gf as bT,
6214
- rf as bU,
6213
+ _f as bT,
6214
+ of as bU,
6215
6215
  tu as bV,
6216
- sf as bW,
6217
- zf as bX,
6218
- of as bY,
6216
+ af as bW,
6217
+ kf as bX,
6218
+ sf as bY,
6219
6219
  du as bZ,
6220
6220
  Qa as b_,
6221
6221
  On as ba,
6222
- wf as bb,
6223
- cf as bc,
6222
+ zf as bb,
6223
+ lf as bc,
6224
6224
  Gr as bd,
6225
6225
  Ir as be,
6226
6226
  jr as bf,
6227
6227
  En as bg,
6228
6228
  In as bh,
6229
6229
  fu as bi,
6230
- hf as bj,
6230
+ gf as bj,
6231
6231
  bu as bk,
6232
6232
  La as bl,
6233
6233
  Va as bm,
@@ -6238,7 +6238,7 @@ export {
6238
6238
  Fa as br,
6239
6239
  Ba as bs,
6240
6240
  qa as bt,
6241
- lf as bu,
6241
+ ff as bu,
6242
6242
  Fr as bv,
6243
6243
  Lr as bw,
6244
6244
  Ca as bx,
@@ -6247,19 +6247,19 @@ export {
6247
6247
  Vi as c,
6248
6248
  $u as c$,
6249
6249
  Ua as c0,
6250
- bf as c1,
6250
+ yf as c1,
6251
6251
  oe as c2,
6252
6252
  Oe as c3,
6253
6253
  Pe as c4,
6254
- $f as c5,
6255
- nf as c6,
6256
- If as c7,
6257
- af as c8,
6258
- Sf as c9,
6254
+ Sf as c5,
6255
+ rf as c6,
6256
+ Of as c7,
6257
+ uf as c8,
6258
+ Ef as c9,
6259
6259
  Ha as cA,
6260
6260
  Rr as cB,
6261
6261
  Xa as cC,
6262
- uf as cD,
6262
+ cf as cD,
6263
6263
  eu as cE,
6264
6264
  uu as cF,
6265
6265
  ot as cG,
@@ -6271,11 +6271,11 @@ export {
6271
6271
  Mr as cM,
6272
6272
  V as cN,
6273
6273
  N as cO,
6274
- Fl as cP,
6275
- Vl as cQ,
6274
+ Ll as cP,
6275
+ Bl as cQ,
6276
6276
  Zu as cR,
6277
- Ul as cS,
6278
- Ll as cT,
6277
+ Fl as cS,
6278
+ Vl as cT,
6279
6279
  Es as cU,
6280
6280
  As as cV,
6281
6281
  Le as cW,
@@ -6283,7 +6283,7 @@ export {
6283
6283
  br as cY,
6284
6284
  Bi as cZ,
6285
6285
  Gi as c_,
6286
- pf as ca,
6286
+ df as ca,
6287
6287
  wu as cb,
6288
6288
  iu as cc,
6289
6289
  xn as cd,
@@ -6292,41 +6292,41 @@ export {
6292
6292
  Tn as cg,
6293
6293
  xe as ch,
6294
6294
  Te as ci,
6295
- mf as cj,
6295
+ hf as cj,
6296
6296
  su as ck,
6297
6297
  _u as cl,
6298
6298
  lu as cm,
6299
6299
  ja as cn,
6300
6300
  De as co,
6301
6301
  Su as cp,
6302
- kf as cq,
6302
+ Zf as cq,
6303
6303
  zu as cr,
6304
6304
  Ya as cs,
6305
- Ef as ct,
6305
+ Af as ct,
6306
6306
  hu as cu,
6307
6307
  gu as cv,
6308
- vf as cw,
6308
+ bf as cw,
6309
6309
  mu as cx,
6310
- ff as cy,
6310
+ pf as cy,
6311
6311
  Ja as cz,
6312
6312
  Ji as d,
6313
6313
  Ro as d$,
6314
6314
  dt as d0,
6315
6315
  mt as d1,
6316
- Ml as d2,
6316
+ Ul as d2,
6317
6317
  ni as d3,
6318
6318
  Ta as d4,
6319
- Jl as d5,
6320
- Gl as d6,
6321
- Bl as d7,
6322
- Wl as d8,
6319
+ Wl as d5,
6320
+ ql as d6,
6321
+ Jl as d7,
6322
+ Gl as d8,
6323
6323
  Os as d9,
6324
6324
  Qu as dA,
6325
6325
  $o as dB,
6326
6326
  lo as dC,
6327
6327
  fo as dD,
6328
6328
  ke as dE,
6329
- Pf as dF,
6329
+ xf as dF,
6330
6330
  ac as dG,
6331
6331
  Ot as dH,
6332
6332
  $c as dI,
@@ -6338,7 +6338,7 @@ export {
6338
6338
  oo as dO,
6339
6339
  no as dP,
6340
6340
  Ku as dQ,
6341
- Bp as dR,
6341
+ Jp as dR,
6342
6342
  So as dS,
6343
6343
  vo as dT,
6344
6344
  zc as dU,
@@ -6351,8 +6351,8 @@ export {
6351
6351
  Ps as da,
6352
6352
  Is as db,
6353
6353
  Eu as dc,
6354
- Rl as dd,
6355
- Cl as de,
6354
+ Ml as dd,
6355
+ Rl as de,
6356
6356
  zi as df,
6357
6357
  co as dg,
6358
6358
  Eo as dh,
@@ -6374,7 +6374,7 @@ export {
6374
6374
  Ce as dy,
6375
6375
  lc as dz,
6376
6376
  zr as e,
6377
- Mf as e$,
6377
+ Uf as e$,
6378
6378
  Bu as e0,
6379
6379
  cc as e1,
6380
6380
  de as e2,
@@ -6386,32 +6386,32 @@ export {
6386
6386
  bc as e8,
6387
6387
  C as e9,
6388
6388
  _c as eA,
6389
- Dp as eB,
6390
- Yf as eC,
6391
- Xf as eD,
6392
- xp as eE,
6393
- Lf as eF,
6394
- Vf as eG,
6395
- Cp as eH,
6396
- _p as eI,
6389
+ Cp as eB,
6390
+ Xf as eC,
6391
+ Qf as eD,
6392
+ Tp as eE,
6393
+ Vf as eF,
6394
+ Bf as eG,
6395
+ Rp as eH,
6396
+ vp as eI,
6397
6397
  xu as eJ,
6398
6398
  ju as eK,
6399
- Rp as eL,
6400
- zp as eM,
6401
- ep as eN,
6402
- xf as eO,
6403
- Uf as eP,
6399
+ Mp as eL,
6400
+ kp as eM,
6401
+ tp as eN,
6402
+ Tf as eO,
6403
+ Ff as eP,
6404
6404
  Pu as eQ,
6405
6405
  Tu as eR,
6406
6406
  No as eS,
6407
- Ap as eT,
6408
- ip as eU,
6409
- ap as eV,
6410
- Wp as eW,
6411
- Tf as eX,
6412
- sp as eY,
6413
- op as eZ,
6414
- rp as e_,
6407
+ Ip as eT,
6408
+ ap as eU,
6409
+ up as eV,
6410
+ Gp as eW,
6411
+ jf as eX,
6412
+ ip as eY,
6413
+ sp as eZ,
6414
+ op as e_,
6415
6415
  jo as ea,
6416
6416
  sc as eb,
6417
6417
  I as ec,
@@ -6431,25 +6431,25 @@ export {
6431
6431
  _o as eq,
6432
6432
  uo as er,
6433
6433
  fc as es,
6434
- Np as et,
6435
- hp as eu,
6434
+ Dp as et,
6435
+ gp as eu,
6436
6436
  it as ev,
6437
- Qf as ew,
6438
- Kf as ex,
6439
- lp as ey,
6437
+ Kf as ew,
6438
+ ep as ex,
6439
+ fp as ey,
6440
6440
  Fu as ez,
6441
6441
  Xi as f,
6442
- Rf as f$,
6443
- Up as f0,
6442
+ Mf as f$,
6443
+ Fp as f0,
6444
6444
  It as f1,
6445
- up as f2,
6446
- fp as f3,
6445
+ cp as f2,
6446
+ pp as f3,
6447
6447
  ec as f4,
6448
- Gf as f5,
6449
- Hf as f6,
6450
- Of as f7,
6451
- Lp as f8,
6452
- tp as f9,
6448
+ qf as f5,
6449
+ Yf as f6,
6450
+ Pf as f7,
6451
+ Vp as f8,
6452
+ np as f9,
6453
6453
  yc as fA,
6454
6454
  rc as fB,
6455
6455
  Sc as fC,
@@ -6459,85 +6459,85 @@ export {
6459
6459
  Cu as fG,
6460
6460
  Ou as fH,
6461
6461
  ao as fI,
6462
- $p as fJ,
6463
- Jp as fK,
6464
- yp as fL,
6462
+ Sp as fJ,
6463
+ Wp as fK,
6464
+ wp as fL,
6465
6465
  At as fM,
6466
- np as fN,
6467
- Fp as fO,
6468
- Op as fP,
6466
+ rp as fN,
6467
+ Lp as fO,
6468
+ Pp as fP,
6469
6469
  Ec as fQ,
6470
- dp as fR,
6471
- Tp as fS,
6470
+ mp as fR,
6471
+ jp as fS,
6472
6472
  Do as fT,
6473
6473
  nc as fU,
6474
- cp as fV,
6475
- pp as fW,
6476
- Bf as fX,
6477
- mp as fY,
6474
+ lp as fV,
6475
+ dp as fW,
6476
+ Jf as fX,
6477
+ hp as fY,
6478
6478
  To as fZ,
6479
6479
  ue as f_,
6480
- vp as fa,
6481
- Wf as fb,
6480
+ bp as fa,
6481
+ Gf as fb,
6482
6482
  kc as fc,
6483
- Ep as fd,
6484
- wp as fe,
6485
- qf as ff,
6486
- Zp as fg,
6487
- Mp as fh,
6488
- Pp as fi,
6489
- Ff as fj,
6490
- Sp as fk,
6483
+ Ap as fd,
6484
+ zp as fe,
6485
+ Hf as ff,
6486
+ $p as fg,
6487
+ Up as fh,
6488
+ xp as fi,
6489
+ Lf as fj,
6490
+ Ep as fk,
6491
6491
  Po as fl,
6492
6492
  mc as fm,
6493
6493
  Ju as fn,
6494
6494
  Ye as fo,
6495
- Ip as fp,
6495
+ Op as fp,
6496
6496
  Uu as fq,
6497
- bp as fr,
6497
+ yp as fr,
6498
6498
  He as fs,
6499
6499
  Au as ft,
6500
6500
  Iu as fu,
6501
- kp as fv,
6501
+ Zp as fv,
6502
6502
  Xe as fw,
6503
6503
  dc as fx,
6504
- Vp as fy,
6505
- jp as fz,
6504
+ Bp as fy,
6505
+ Np as fz,
6506
6506
  wr as g,
6507
- jf as g0,
6508
- Nf as g1,
6509
- Df as g2,
6510
- Cf as g3,
6511
- gp as g4,
6512
- Jf as g5,
6513
- Qp as g6,
6514
- td as g7,
6507
+ Nf as g0,
6508
+ Df as g1,
6509
+ Cf as g2,
6510
+ Rf as g3,
6511
+ _p as g4,
6512
+ Wf as g5,
6513
+ Kp as g6,
6514
+ nd as g7,
6515
6515
  Ic as g8,
6516
- Hp as g9,
6517
- qp as ga,
6518
- Gp as gb,
6519
- Xp as gc,
6516
+ Yp as g9,
6517
+ Hp as ga,
6518
+ qp as gb,
6519
+ Qp as gc,
6520
6520
  Rc as gd,
6521
6521
  Ac as ge,
6522
- Yp as gf,
6522
+ Xp as gf,
6523
6523
  Il as gg,
6524
- nd as gh,
6524
+ rd as gh,
6525
6525
  Fo as gi,
6526
6526
  T as gj,
6527
- rd as gk,
6528
- ed as gl,
6527
+ Pl as gk,
6528
+ td as gl,
6529
6529
  ct as gm,
6530
- Kp as gn,
6530
+ ed as gn,
6531
6531
  is as go,
6532
6532
  Qo as gp,
6533
6533
  ve as gq,
6534
6534
  lt as gr,
6535
- Pl as gs,
6536
- xl as gt,
6535
+ xl as gs,
6536
+ Tl as gt,
6537
6537
  b as gu,
6538
- jl as gv,
6538
+ Nl as gv,
6539
6539
  Jt as gw,
6540
- Tl as gx,
6540
+ jl as gx,
6541
6541
  Fi as h,
6542
6542
  Li as i,
6543
6543
  ps as j,