@puckeditor/plugin-ai 0.1.0-canary.f56e596d → 0.1.0-canary.ff322ae0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +107 -27
- package/dist/index.d.ts +107 -27
- package/dist/index.js +538 -411
- package/dist/index.mjs +537 -410
- package/package.json +4 -5
package/dist/index.mjs
CHANGED
|
@@ -186,6 +186,9 @@ var require_classnames = __commonJS({
|
|
|
186
186
|
// index.ts
|
|
187
187
|
init_react_import();
|
|
188
188
|
|
|
189
|
+
// ../ai-types/index.js
|
|
190
|
+
init_react_import();
|
|
191
|
+
|
|
189
192
|
// src/index.tsx
|
|
190
193
|
init_react_import();
|
|
191
194
|
|
|
@@ -329,14 +332,14 @@ var TriangleAlert = createLucideIcon("TriangleAlert", [
|
|
|
329
332
|
// src/components/Chat/index.tsx
|
|
330
333
|
init_react_import();
|
|
331
334
|
|
|
332
|
-
// ../../node_modules/.pnpm/@ai-sdk+react@2.0.29_react@19.1.1_zod@4.1.
|
|
335
|
+
// ../../node_modules/.pnpm/@ai-sdk+react@2.0.29_react@19.1.1_zod@4.1.12/node_modules/@ai-sdk/react/dist/index.mjs
|
|
333
336
|
init_react_import();
|
|
334
337
|
import { useCallback, useEffect, useRef, useSyncExternalStore } from "react";
|
|
335
338
|
|
|
336
|
-
// ../../node_modules/.pnpm/ai@5.0.29_zod@4.1.
|
|
339
|
+
// ../../node_modules/.pnpm/ai@5.0.29_zod@4.1.12/node_modules/ai/dist/index.mjs
|
|
337
340
|
init_react_import();
|
|
338
341
|
|
|
339
|
-
// ../../node_modules/.pnpm/@ai-sdk+provider-utils@3.0.7_zod@4.1.
|
|
342
|
+
// ../../node_modules/.pnpm/@ai-sdk+provider-utils@3.0.7_zod@4.1.12/node_modules/@ai-sdk/provider-utils/dist/index.mjs
|
|
340
343
|
init_react_import();
|
|
341
344
|
|
|
342
345
|
// ../../node_modules/.pnpm/@ai-sdk+provider@2.0.0/node_modules/@ai-sdk/provider/dist/index.mjs
|
|
@@ -368,12 +371,12 @@ var _AISDKError = class _AISDKError2 extends Error {
|
|
|
368
371
|
* @param {unknown} error - The error to check.
|
|
369
372
|
* @returns {boolean} True if the error is an AI SDK Error, false otherwise.
|
|
370
373
|
*/
|
|
371
|
-
static isInstance(
|
|
372
|
-
return _AISDKError2.hasMarker(
|
|
374
|
+
static isInstance(error46) {
|
|
375
|
+
return _AISDKError2.hasMarker(error46, marker);
|
|
373
376
|
}
|
|
374
|
-
static hasMarker(
|
|
377
|
+
static hasMarker(error46, marker153) {
|
|
375
378
|
const markerSymbol = Symbol.for(marker153);
|
|
376
|
-
return
|
|
379
|
+
return error46 != null && typeof error46 === "object" && markerSymbol in error46 && typeof error46[markerSymbol] === "boolean" && error46[markerSymbol] === true;
|
|
377
380
|
}
|
|
378
381
|
};
|
|
379
382
|
_a = symbol;
|
|
@@ -388,17 +391,17 @@ var marker3 = `vercel.ai.error.${name2}`;
|
|
|
388
391
|
var symbol3 = Symbol.for(marker3);
|
|
389
392
|
var _a3;
|
|
390
393
|
_a3 = symbol3;
|
|
391
|
-
function getErrorMessage(
|
|
392
|
-
if (
|
|
394
|
+
function getErrorMessage(error46) {
|
|
395
|
+
if (error46 == null) {
|
|
393
396
|
return "unknown error";
|
|
394
397
|
}
|
|
395
|
-
if (typeof
|
|
396
|
-
return
|
|
398
|
+
if (typeof error46 === "string") {
|
|
399
|
+
return error46;
|
|
397
400
|
}
|
|
398
|
-
if (
|
|
399
|
-
return
|
|
401
|
+
if (error46 instanceof Error) {
|
|
402
|
+
return error46.message;
|
|
400
403
|
}
|
|
401
|
-
return JSON.stringify(
|
|
404
|
+
return JSON.stringify(error46);
|
|
402
405
|
}
|
|
403
406
|
var name3 = "AI_InvalidArgumentError";
|
|
404
407
|
var marker4 = `vercel.ai.error.${name3}`;
|
|
@@ -414,8 +417,8 @@ var InvalidArgumentError = class extends AISDKError {
|
|
|
414
417
|
this[_a4] = true;
|
|
415
418
|
this.argument = argument;
|
|
416
419
|
}
|
|
417
|
-
static isInstance(
|
|
418
|
-
return AISDKError.hasMarker(
|
|
420
|
+
static isInstance(error46) {
|
|
421
|
+
return AISDKError.hasMarker(error46, marker4);
|
|
419
422
|
}
|
|
420
423
|
};
|
|
421
424
|
_a4 = symbol4;
|
|
@@ -444,8 +447,8 @@ Error message: ${getErrorMessage(cause)}`,
|
|
|
444
447
|
this[_a7] = true;
|
|
445
448
|
this.text = text2;
|
|
446
449
|
}
|
|
447
|
-
static isInstance(
|
|
448
|
-
return AISDKError.hasMarker(
|
|
450
|
+
static isInstance(error46) {
|
|
451
|
+
return AISDKError.hasMarker(error46, marker7);
|
|
449
452
|
}
|
|
450
453
|
};
|
|
451
454
|
_a7 = symbol7;
|
|
@@ -489,8 +492,8 @@ Error message: ${getErrorMessage(cause)}`,
|
|
|
489
492
|
this[_a13] = true;
|
|
490
493
|
this.value = value;
|
|
491
494
|
}
|
|
492
|
-
static isInstance(
|
|
493
|
-
return AISDKError.hasMarker(
|
|
495
|
+
static isInstance(error46) {
|
|
496
|
+
return AISDKError.hasMarker(error46, marker13);
|
|
494
497
|
}
|
|
495
498
|
/**
|
|
496
499
|
* Wraps an error into a TypeValidationError.
|
|
@@ -634,8 +637,8 @@ var EventSourceParserStream = class extends TransformStream {
|
|
|
634
637
|
onEvent: (event) => {
|
|
635
638
|
controller.enqueue(event);
|
|
636
639
|
},
|
|
637
|
-
onError(
|
|
638
|
-
onError === "terminate" ? controller.error(
|
|
640
|
+
onError(error46) {
|
|
641
|
+
onError === "terminate" ? controller.error(error46) : typeof onError == "function" && onError(error46);
|
|
639
642
|
},
|
|
640
643
|
onRetry,
|
|
641
644
|
onComment
|
|
@@ -648,13 +651,13 @@ var EventSourceParserStream = class extends TransformStream {
|
|
|
648
651
|
}
|
|
649
652
|
};
|
|
650
653
|
|
|
651
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
654
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/index.js
|
|
652
655
|
init_react_import();
|
|
653
656
|
|
|
654
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
657
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/index.js
|
|
655
658
|
init_react_import();
|
|
656
659
|
|
|
657
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
660
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/external.js
|
|
658
661
|
var external_exports = {};
|
|
659
662
|
__export(external_exports, {
|
|
660
663
|
$brand: () => $brand,
|
|
@@ -885,7 +888,7 @@ __export(external_exports, {
|
|
|
885
888
|
});
|
|
886
889
|
init_react_import();
|
|
887
890
|
|
|
888
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
891
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/index.js
|
|
889
892
|
var core_exports2 = {};
|
|
890
893
|
__export(core_exports2, {
|
|
891
894
|
$ZodAny: () => $ZodAny,
|
|
@@ -1150,7 +1153,7 @@ __export(core_exports2, {
|
|
|
1150
1153
|
});
|
|
1151
1154
|
init_react_import();
|
|
1152
1155
|
|
|
1153
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
1156
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/core.js
|
|
1154
1157
|
init_react_import();
|
|
1155
1158
|
var NEVER = Object.freeze({
|
|
1156
1159
|
status: "aborted"
|
|
@@ -1221,13 +1224,13 @@ function config(newConfig) {
|
|
|
1221
1224
|
return globalConfig;
|
|
1222
1225
|
}
|
|
1223
1226
|
|
|
1224
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
1227
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.js
|
|
1225
1228
|
init_react_import();
|
|
1226
1229
|
|
|
1227
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
1230
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/errors.js
|
|
1228
1231
|
init_react_import();
|
|
1229
1232
|
|
|
1230
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
1233
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/util.js
|
|
1231
1234
|
var util_exports = {};
|
|
1232
1235
|
__export(util_exports, {
|
|
1233
1236
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -1865,7 +1868,7 @@ var Class = class {
|
|
|
1865
1868
|
}
|
|
1866
1869
|
};
|
|
1867
1870
|
|
|
1868
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
1871
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/errors.js
|
|
1869
1872
|
var initializer = (inst, def) => {
|
|
1870
1873
|
inst.name = "$ZodError";
|
|
1871
1874
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -1884,10 +1887,10 @@ var initializer = (inst, def) => {
|
|
|
1884
1887
|
};
|
|
1885
1888
|
var $ZodError = $constructor("$ZodError", initializer);
|
|
1886
1889
|
var $ZodRealError = $constructor("$ZodError", initializer, { Parent: Error });
|
|
1887
|
-
function flattenError(
|
|
1890
|
+
function flattenError(error46, mapper = (issue2) => issue2.message) {
|
|
1888
1891
|
const fieldErrors = {};
|
|
1889
1892
|
const formErrors = [];
|
|
1890
|
-
for (const sub of
|
|
1893
|
+
for (const sub of error46.issues) {
|
|
1891
1894
|
if (sub.path.length > 0) {
|
|
1892
1895
|
fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];
|
|
1893
1896
|
fieldErrors[sub.path[0]].push(mapper(sub));
|
|
@@ -1897,13 +1900,10 @@ function flattenError(error45, mapper = (issue2) => issue2.message) {
|
|
|
1897
1900
|
}
|
|
1898
1901
|
return { formErrors, fieldErrors };
|
|
1899
1902
|
}
|
|
1900
|
-
function formatError(
|
|
1901
|
-
const mapper = _mapper || function(issue2) {
|
|
1902
|
-
return issue2.message;
|
|
1903
|
-
};
|
|
1903
|
+
function formatError(error46, mapper = (issue2) => issue2.message) {
|
|
1904
1904
|
const fieldErrors = { _errors: [] };
|
|
1905
|
-
const processError = (
|
|
1906
|
-
for (const issue2 of
|
|
1905
|
+
const processError = (error47) => {
|
|
1906
|
+
for (const issue2 of error47.issues) {
|
|
1907
1907
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
1908
1908
|
issue2.errors.map((issues) => processError({ issues }));
|
|
1909
1909
|
} else if (issue2.code === "invalid_key") {
|
|
@@ -1930,18 +1930,15 @@ function formatError(error45, _mapper) {
|
|
|
1930
1930
|
}
|
|
1931
1931
|
}
|
|
1932
1932
|
};
|
|
1933
|
-
processError(
|
|
1933
|
+
processError(error46);
|
|
1934
1934
|
return fieldErrors;
|
|
1935
1935
|
}
|
|
1936
|
-
function treeifyError(
|
|
1937
|
-
const mapper = _mapper || function(issue2) {
|
|
1938
|
-
return issue2.message;
|
|
1939
|
-
};
|
|
1936
|
+
function treeifyError(error46, mapper = (issue2) => issue2.message) {
|
|
1940
1937
|
const result = { errors: [] };
|
|
1941
|
-
const processError = (
|
|
1938
|
+
const processError = (error47, path = []) => {
|
|
1942
1939
|
var _a18, _b2, _c, _d;
|
|
1943
1940
|
var _a17, _b;
|
|
1944
|
-
for (const issue2 of
|
|
1941
|
+
for (const issue2 of error47.issues) {
|
|
1945
1942
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
1946
1943
|
issue2.errors.map((issues) => processError({ issues }, issue2.path));
|
|
1947
1944
|
} else if (issue2.code === "invalid_key") {
|
|
@@ -1976,7 +1973,7 @@ function treeifyError(error45, _mapper) {
|
|
|
1976
1973
|
}
|
|
1977
1974
|
}
|
|
1978
1975
|
};
|
|
1979
|
-
processError(
|
|
1976
|
+
processError(error46);
|
|
1980
1977
|
return result;
|
|
1981
1978
|
}
|
|
1982
1979
|
function toDotPath(_path) {
|
|
@@ -1997,10 +1994,10 @@ function toDotPath(_path) {
|
|
|
1997
1994
|
}
|
|
1998
1995
|
return segs.join("");
|
|
1999
1996
|
}
|
|
2000
|
-
function prettifyError(
|
|
1997
|
+
function prettifyError(error46) {
|
|
2001
1998
|
var _a17;
|
|
2002
1999
|
const lines = [];
|
|
2003
|
-
const issues = [...
|
|
2000
|
+
const issues = [...error46.issues].sort((a, b) => {
|
|
2004
2001
|
var _a18, _b;
|
|
2005
2002
|
return ((_a18 = a.path) != null ? _a18 : []).length - ((_b = b.path) != null ? _b : []).length;
|
|
2006
2003
|
});
|
|
@@ -2012,7 +2009,7 @@ function prettifyError(error45) {
|
|
|
2012
2009
|
return lines.join("\n");
|
|
2013
2010
|
}
|
|
2014
2011
|
|
|
2015
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2012
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.js
|
|
2016
2013
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
2017
2014
|
var _a17;
|
|
2018
2015
|
const ctx2 = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
@@ -2102,13 +2099,13 @@ var _safeDecodeAsync = (_Err) => (schema, value, _ctx) => __async(null, null, fu
|
|
|
2102
2099
|
});
|
|
2103
2100
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
2104
2101
|
|
|
2105
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2102
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js
|
|
2106
2103
|
init_react_import();
|
|
2107
2104
|
|
|
2108
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2105
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/checks.js
|
|
2109
2106
|
init_react_import();
|
|
2110
2107
|
|
|
2111
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2108
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/regexes.js
|
|
2112
2109
|
var regexes_exports = {};
|
|
2113
2110
|
__export(regexes_exports, {
|
|
2114
2111
|
base64: () => base64,
|
|
@@ -2262,7 +2259,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
2262
2259
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
2263
2260
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
2264
2261
|
|
|
2265
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2262
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/checks.js
|
|
2266
2263
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2267
2264
|
var _a18, _b;
|
|
2268
2265
|
var _a17;
|
|
@@ -2828,7 +2825,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2828
2825
|
};
|
|
2829
2826
|
});
|
|
2830
2827
|
|
|
2831
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2828
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/doc.js
|
|
2832
2829
|
init_react_import();
|
|
2833
2830
|
var Doc = class {
|
|
2834
2831
|
constructor(args = []) {
|
|
@@ -2866,15 +2863,15 @@ var Doc = class {
|
|
|
2866
2863
|
}
|
|
2867
2864
|
};
|
|
2868
2865
|
|
|
2869
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2866
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/versions.js
|
|
2870
2867
|
init_react_import();
|
|
2871
2868
|
var version = {
|
|
2872
2869
|
major: 4,
|
|
2873
2870
|
minor: 1,
|
|
2874
|
-
patch:
|
|
2871
|
+
patch: 12
|
|
2875
2872
|
};
|
|
2876
2873
|
|
|
2877
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2874
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js
|
|
2878
2875
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2879
2876
|
var _a18, _b, _c;
|
|
2880
2877
|
var _a17;
|
|
@@ -3611,6 +3608,19 @@ function handleCatchall(proms, input, payload, ctx2, def, inst) {
|
|
|
3611
3608
|
}
|
|
3612
3609
|
var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
3613
3610
|
$ZodType.init(inst, def);
|
|
3611
|
+
const desc = Object.getOwnPropertyDescriptor(def, "shape");
|
|
3612
|
+
if (!(desc == null ? void 0 : desc.get)) {
|
|
3613
|
+
const sh = def.shape;
|
|
3614
|
+
Object.defineProperty(def, "shape", {
|
|
3615
|
+
get: () => {
|
|
3616
|
+
const newSh = __spreadValues({}, sh);
|
|
3617
|
+
Object.defineProperty(def, "shape", {
|
|
3618
|
+
value: newSh
|
|
3619
|
+
});
|
|
3620
|
+
return newSh;
|
|
3621
|
+
}
|
|
3622
|
+
});
|
|
3623
|
+
}
|
|
3614
3624
|
const _normalized = cached(() => normalizeDef(def));
|
|
3615
3625
|
defineLazy(inst._zod, "propValues", () => {
|
|
3616
3626
|
var _a17;
|
|
@@ -4742,12 +4752,13 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
4742
4752
|
}
|
|
4743
4753
|
}
|
|
4744
4754
|
|
|
4745
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4755
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/index.js
|
|
4746
4756
|
var locales_exports = {};
|
|
4747
4757
|
__export(locales_exports, {
|
|
4748
4758
|
ar: () => ar_default,
|
|
4749
4759
|
az: () => az_default,
|
|
4750
4760
|
be: () => be_default,
|
|
4761
|
+
bg: () => bg_default,
|
|
4751
4762
|
ca: () => ca_default,
|
|
4752
4763
|
cs: () => cs_default,
|
|
4753
4764
|
da: () => da_default,
|
|
@@ -4794,7 +4805,7 @@ __export(locales_exports, {
|
|
|
4794
4805
|
});
|
|
4795
4806
|
init_react_import();
|
|
4796
4807
|
|
|
4797
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4808
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ar.js
|
|
4798
4809
|
init_react_import();
|
|
4799
4810
|
var error = () => {
|
|
4800
4811
|
const Sizable = {
|
|
@@ -4807,7 +4818,7 @@ var error = () => {
|
|
|
4807
4818
|
var _a17;
|
|
4808
4819
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
4809
4820
|
}
|
|
4810
|
-
const
|
|
4821
|
+
const parsedType8 = (data) => {
|
|
4811
4822
|
const t = typeof data;
|
|
4812
4823
|
switch (t) {
|
|
4813
4824
|
case "number": {
|
|
@@ -4861,7 +4872,7 @@ var error = () => {
|
|
|
4861
4872
|
var _a17, _b, _c, _d;
|
|
4862
4873
|
switch (issue2.code) {
|
|
4863
4874
|
case "invalid_type":
|
|
4864
|
-
return `\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${issue2.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${
|
|
4875
|
+
return `\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${issue2.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${parsedType8(issue2.input)}`;
|
|
4865
4876
|
case "invalid_value":
|
|
4866
4877
|
if (issue2.values.length === 1)
|
|
4867
4878
|
return `\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -4914,7 +4925,7 @@ function ar_default() {
|
|
|
4914
4925
|
};
|
|
4915
4926
|
}
|
|
4916
4927
|
|
|
4917
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4928
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/az.js
|
|
4918
4929
|
init_react_import();
|
|
4919
4930
|
var error2 = () => {
|
|
4920
4931
|
const Sizable = {
|
|
@@ -4927,7 +4938,7 @@ var error2 = () => {
|
|
|
4927
4938
|
var _a17;
|
|
4928
4939
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
4929
4940
|
}
|
|
4930
|
-
const
|
|
4941
|
+
const parsedType8 = (data) => {
|
|
4931
4942
|
const t = typeof data;
|
|
4932
4943
|
switch (t) {
|
|
4933
4944
|
case "number": {
|
|
@@ -4981,7 +4992,7 @@ var error2 = () => {
|
|
|
4981
4992
|
var _a17, _b, _c, _d;
|
|
4982
4993
|
switch (issue2.code) {
|
|
4983
4994
|
case "invalid_type":
|
|
4984
|
-
return `Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${issue2.expected}, daxil olan ${
|
|
4995
|
+
return `Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${issue2.expected}, daxil olan ${parsedType8(issue2.input)}`;
|
|
4985
4996
|
case "invalid_value":
|
|
4986
4997
|
if (issue2.values.length === 1)
|
|
4987
4998
|
return `Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5033,7 +5044,7 @@ function az_default() {
|
|
|
5033
5044
|
};
|
|
5034
5045
|
}
|
|
5035
5046
|
|
|
5036
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5047
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/be.js
|
|
5037
5048
|
init_react_import();
|
|
5038
5049
|
function getBelarusianPlural(count, one, few, many) {
|
|
5039
5050
|
const absCount = Math.abs(count);
|
|
@@ -5089,7 +5100,7 @@ var error3 = () => {
|
|
|
5089
5100
|
var _a17;
|
|
5090
5101
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
5091
5102
|
}
|
|
5092
|
-
const
|
|
5103
|
+
const parsedType8 = (data) => {
|
|
5093
5104
|
const t = typeof data;
|
|
5094
5105
|
switch (t) {
|
|
5095
5106
|
case "number": {
|
|
@@ -5143,7 +5154,7 @@ var error3 = () => {
|
|
|
5143
5154
|
var _a17, _b, _c;
|
|
5144
5155
|
switch (issue2.code) {
|
|
5145
5156
|
case "invalid_type":
|
|
5146
|
-
return `\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${issue2.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${
|
|
5157
|
+
return `\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${issue2.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${parsedType8(issue2.input)}`;
|
|
5147
5158
|
case "invalid_value":
|
|
5148
5159
|
if (issue2.values.length === 1)
|
|
5149
5160
|
return `\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5201,9 +5212,141 @@ function be_default() {
|
|
|
5201
5212
|
};
|
|
5202
5213
|
}
|
|
5203
5214
|
|
|
5204
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5215
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/bg.js
|
|
5205
5216
|
init_react_import();
|
|
5217
|
+
var parsedType = (data) => {
|
|
5218
|
+
const t = typeof data;
|
|
5219
|
+
switch (t) {
|
|
5220
|
+
case "number": {
|
|
5221
|
+
return Number.isNaN(data) ? "NaN" : "\u0447\u0438\u0441\u043B\u043E";
|
|
5222
|
+
}
|
|
5223
|
+
case "object": {
|
|
5224
|
+
if (Array.isArray(data)) {
|
|
5225
|
+
return "\u043C\u0430\u0441\u0438\u0432";
|
|
5226
|
+
}
|
|
5227
|
+
if (data === null) {
|
|
5228
|
+
return "null";
|
|
5229
|
+
}
|
|
5230
|
+
if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
|
|
5231
|
+
return data.constructor.name;
|
|
5232
|
+
}
|
|
5233
|
+
}
|
|
5234
|
+
}
|
|
5235
|
+
return t;
|
|
5236
|
+
};
|
|
5206
5237
|
var error4 = () => {
|
|
5238
|
+
const Sizable = {
|
|
5239
|
+
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
5240
|
+
file: { unit: "\u0431\u0430\u0439\u0442\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
5241
|
+
array: { unit: "\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
5242
|
+
set: { unit: "\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" }
|
|
5243
|
+
};
|
|
5244
|
+
function getSizing(origin) {
|
|
5245
|
+
var _a17;
|
|
5246
|
+
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
5247
|
+
}
|
|
5248
|
+
const Nouns = {
|
|
5249
|
+
regex: "\u0432\u0445\u043E\u0434",
|
|
5250
|
+
email: "\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",
|
|
5251
|
+
url: "URL",
|
|
5252
|
+
emoji: "\u0435\u043C\u043E\u0434\u0436\u0438",
|
|
5253
|
+
uuid: "UUID",
|
|
5254
|
+
uuidv4: "UUIDv4",
|
|
5255
|
+
uuidv6: "UUIDv6",
|
|
5256
|
+
nanoid: "nanoid",
|
|
5257
|
+
guid: "GUID",
|
|
5258
|
+
cuid: "cuid",
|
|
5259
|
+
cuid2: "cuid2",
|
|
5260
|
+
ulid: "ULID",
|
|
5261
|
+
xid: "XID",
|
|
5262
|
+
ksuid: "KSUID",
|
|
5263
|
+
datetime: "ISO \u0432\u0440\u0435\u043C\u0435",
|
|
5264
|
+
date: "ISO \u0434\u0430\u0442\u0430",
|
|
5265
|
+
time: "ISO \u0432\u0440\u0435\u043C\u0435",
|
|
5266
|
+
duration: "ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",
|
|
5267
|
+
ipv4: "IPv4 \u0430\u0434\u0440\u0435\u0441",
|
|
5268
|
+
ipv6: "IPv6 \u0430\u0434\u0440\u0435\u0441",
|
|
5269
|
+
cidrv4: "IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",
|
|
5270
|
+
cidrv6: "IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",
|
|
5271
|
+
base64: "base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",
|
|
5272
|
+
base64url: "base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",
|
|
5273
|
+
json_string: "JSON \u043D\u0438\u0437",
|
|
5274
|
+
e164: "E.164 \u043D\u043E\u043C\u0435\u0440",
|
|
5275
|
+
jwt: "JWT",
|
|
5276
|
+
template_literal: "\u0432\u0445\u043E\u0434"
|
|
5277
|
+
};
|
|
5278
|
+
return (issue2) => {
|
|
5279
|
+
var _a17, _b, _c, _d;
|
|
5280
|
+
switch (issue2.code) {
|
|
5281
|
+
case "invalid_type":
|
|
5282
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${issue2.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${parsedType(issue2.input)}`;
|
|
5283
|
+
case "invalid_value":
|
|
5284
|
+
if (issue2.values.length === 1)
|
|
5285
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${stringifyPrimitive(issue2.values[0])}`;
|
|
5286
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043E\u043F\u0446\u0438\u044F: \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u043E \u0435\u0434\u043D\u043E \u043E\u0442 ${joinValues(issue2.values, "|")}`;
|
|
5287
|
+
case "too_big": {
|
|
5288
|
+
const adj = issue2.inclusive ? "<=" : "<";
|
|
5289
|
+
const sizing = getSizing(issue2.origin);
|
|
5290
|
+
if (sizing)
|
|
5291
|
+
return `\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${(_a17 = issue2.origin) != null ? _a17 : "\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${adj}${issue2.maximum.toString()} ${(_b = sizing.unit) != null ? _b : "\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`;
|
|
5292
|
+
return `\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${(_c = issue2.origin) != null ? _c : "\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${adj}${issue2.maximum.toString()}`;
|
|
5293
|
+
}
|
|
5294
|
+
case "too_small": {
|
|
5295
|
+
const adj = issue2.inclusive ? ">=" : ">";
|
|
5296
|
+
const sizing = getSizing(issue2.origin);
|
|
5297
|
+
if (sizing) {
|
|
5298
|
+
return `\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${issue2.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
5299
|
+
}
|
|
5300
|
+
return `\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${issue2.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${adj}${issue2.minimum.toString()}`;
|
|
5301
|
+
}
|
|
5302
|
+
case "invalid_format": {
|
|
5303
|
+
const _issue = issue2;
|
|
5304
|
+
if (_issue.format === "starts_with") {
|
|
5305
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430 \u0441 "${_issue.prefix}"`;
|
|
5306
|
+
}
|
|
5307
|
+
if (_issue.format === "ends_with")
|
|
5308
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u0432\u044A\u0440\u0448\u0432\u0430 \u0441 "${_issue.suffix}"`;
|
|
5309
|
+
if (_issue.format === "includes")
|
|
5310
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0432\u0430 "${_issue.includes}"`;
|
|
5311
|
+
if (_issue.format === "regex")
|
|
5312
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0430 \u0441 ${_issue.pattern}`;
|
|
5313
|
+
let invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";
|
|
5314
|
+
if (_issue.format === "emoji")
|
|
5315
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E";
|
|
5316
|
+
if (_issue.format === "datetime")
|
|
5317
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E";
|
|
5318
|
+
if (_issue.format === "date")
|
|
5319
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430";
|
|
5320
|
+
if (_issue.format === "time")
|
|
5321
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E";
|
|
5322
|
+
if (_issue.format === "duration")
|
|
5323
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430";
|
|
5324
|
+
return `${invalid_adj} ${(_d = Nouns[_issue.format]) != null ? _d : issue2.format}`;
|
|
5325
|
+
}
|
|
5326
|
+
case "not_multiple_of":
|
|
5327
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E \u0447\u0438\u0441\u043B\u043E: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u0440\u0430\u0442\u043D\u043E \u043D\u0430 ${issue2.divisor}`;
|
|
5328
|
+
case "unrecognized_keys":
|
|
5329
|
+
return `\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${issue2.keys.length > 1 ? "\u0438" : ""} \u043A\u043B\u044E\u0447${issue2.keys.length > 1 ? "\u043E\u0432\u0435" : ""}: ${joinValues(issue2.keys, ", ")}`;
|
|
5330
|
+
case "invalid_key":
|
|
5331
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${issue2.origin}`;
|
|
5332
|
+
case "invalid_union":
|
|
5333
|
+
return "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";
|
|
5334
|
+
case "invalid_element":
|
|
5335
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${issue2.origin}`;
|
|
5336
|
+
default:
|
|
5337
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434`;
|
|
5338
|
+
}
|
|
5339
|
+
};
|
|
5340
|
+
};
|
|
5341
|
+
function bg_default() {
|
|
5342
|
+
return {
|
|
5343
|
+
localeError: error4()
|
|
5344
|
+
};
|
|
5345
|
+
}
|
|
5346
|
+
|
|
5347
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ca.js
|
|
5348
|
+
init_react_import();
|
|
5349
|
+
var error5 = () => {
|
|
5207
5350
|
const Sizable = {
|
|
5208
5351
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
5209
5352
|
file: { unit: "bytes", verb: "contenir" },
|
|
@@ -5214,7 +5357,7 @@ var error4 = () => {
|
|
|
5214
5357
|
var _a17;
|
|
5215
5358
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
5216
5359
|
}
|
|
5217
|
-
const
|
|
5360
|
+
const parsedType8 = (data) => {
|
|
5218
5361
|
const t = typeof data;
|
|
5219
5362
|
switch (t) {
|
|
5220
5363
|
case "number": {
|
|
@@ -5268,7 +5411,7 @@ var error4 = () => {
|
|
|
5268
5411
|
var _a17, _b, _c, _d;
|
|
5269
5412
|
switch (issue2.code) {
|
|
5270
5413
|
case "invalid_type":
|
|
5271
|
-
return `Tipus inv\xE0lid: s'esperava ${issue2.expected}, s'ha rebut ${
|
|
5414
|
+
return `Tipus inv\xE0lid: s'esperava ${issue2.expected}, s'ha rebut ${parsedType8(issue2.input)}`;
|
|
5272
5415
|
// return `Tipus invàlid: s'esperava ${issue.expected}, s'ha rebut ${util.getParsedType(issue.input)}`;
|
|
5273
5416
|
case "invalid_value":
|
|
5274
5417
|
if (issue2.values.length === 1)
|
|
@@ -5320,13 +5463,13 @@ var error4 = () => {
|
|
|
5320
5463
|
};
|
|
5321
5464
|
function ca_default() {
|
|
5322
5465
|
return {
|
|
5323
|
-
localeError:
|
|
5466
|
+
localeError: error5()
|
|
5324
5467
|
};
|
|
5325
5468
|
}
|
|
5326
5469
|
|
|
5327
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5470
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/cs.js
|
|
5328
5471
|
init_react_import();
|
|
5329
|
-
var
|
|
5472
|
+
var error6 = () => {
|
|
5330
5473
|
const Sizable = {
|
|
5331
5474
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
5332
5475
|
file: { unit: "bajt\u016F", verb: "m\xEDt" },
|
|
@@ -5337,7 +5480,7 @@ var error5 = () => {
|
|
|
5337
5480
|
var _a17;
|
|
5338
5481
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
5339
5482
|
}
|
|
5340
|
-
const
|
|
5483
|
+
const parsedType8 = (data) => {
|
|
5341
5484
|
const t = typeof data;
|
|
5342
5485
|
switch (t) {
|
|
5343
5486
|
case "number": {
|
|
@@ -5409,7 +5552,7 @@ var error5 = () => {
|
|
|
5409
5552
|
var _a17, _b, _c, _d, _e, _f, _g;
|
|
5410
5553
|
switch (issue2.code) {
|
|
5411
5554
|
case "invalid_type":
|
|
5412
|
-
return `Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${issue2.expected}, obdr\u017Eeno ${
|
|
5555
|
+
return `Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${issue2.expected}, obdr\u017Eeno ${parsedType8(issue2.input)}`;
|
|
5413
5556
|
case "invalid_value":
|
|
5414
5557
|
if (issue2.values.length === 1)
|
|
5415
5558
|
return `Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5459,13 +5602,13 @@ var error5 = () => {
|
|
|
5459
5602
|
};
|
|
5460
5603
|
function cs_default() {
|
|
5461
5604
|
return {
|
|
5462
|
-
localeError:
|
|
5605
|
+
localeError: error6()
|
|
5463
5606
|
};
|
|
5464
5607
|
}
|
|
5465
5608
|
|
|
5466
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5609
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/da.js
|
|
5467
5610
|
init_react_import();
|
|
5468
|
-
var
|
|
5611
|
+
var error7 = () => {
|
|
5469
5612
|
const Sizable = {
|
|
5470
5613
|
string: { unit: "tegn", verb: "havde" },
|
|
5471
5614
|
file: { unit: "bytes", verb: "havde" },
|
|
@@ -5489,7 +5632,7 @@ var error6 = () => {
|
|
|
5489
5632
|
var _a17;
|
|
5490
5633
|
return (_a17 = TypeNames[type]) != null ? _a17 : type;
|
|
5491
5634
|
}
|
|
5492
|
-
const
|
|
5635
|
+
const parsedType8 = (data) => {
|
|
5493
5636
|
const t = typeof data;
|
|
5494
5637
|
switch (t) {
|
|
5495
5638
|
case "number": {
|
|
@@ -5544,7 +5687,7 @@ var error6 = () => {
|
|
|
5544
5687
|
var _a17, _b;
|
|
5545
5688
|
switch (issue2.code) {
|
|
5546
5689
|
case "invalid_type":
|
|
5547
|
-
return `Ugyldigt input: forventede ${getTypeName(issue2.expected)}, fik ${getTypeName(
|
|
5690
|
+
return `Ugyldigt input: forventede ${getTypeName(issue2.expected)}, fik ${getTypeName(parsedType8(issue2.input))}`;
|
|
5548
5691
|
case "invalid_value":
|
|
5549
5692
|
if (issue2.values.length === 1)
|
|
5550
5693
|
return `Ugyldig v\xE6rdi: forventede ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5595,13 +5738,13 @@ var error6 = () => {
|
|
|
5595
5738
|
};
|
|
5596
5739
|
function da_default() {
|
|
5597
5740
|
return {
|
|
5598
|
-
localeError:
|
|
5741
|
+
localeError: error7()
|
|
5599
5742
|
};
|
|
5600
5743
|
}
|
|
5601
5744
|
|
|
5602
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5745
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/de.js
|
|
5603
5746
|
init_react_import();
|
|
5604
|
-
var
|
|
5747
|
+
var error8 = () => {
|
|
5605
5748
|
const Sizable = {
|
|
5606
5749
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
5607
5750
|
file: { unit: "Bytes", verb: "zu haben" },
|
|
@@ -5612,7 +5755,7 @@ var error7 = () => {
|
|
|
5612
5755
|
var _a17;
|
|
5613
5756
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
5614
5757
|
}
|
|
5615
|
-
const
|
|
5758
|
+
const parsedType8 = (data) => {
|
|
5616
5759
|
const t = typeof data;
|
|
5617
5760
|
switch (t) {
|
|
5618
5761
|
case "number": {
|
|
@@ -5666,7 +5809,7 @@ var error7 = () => {
|
|
|
5666
5809
|
var _a17, _b, _c, _d;
|
|
5667
5810
|
switch (issue2.code) {
|
|
5668
5811
|
case "invalid_type":
|
|
5669
|
-
return `Ung\xFCltige Eingabe: erwartet ${issue2.expected}, erhalten ${
|
|
5812
|
+
return `Ung\xFCltige Eingabe: erwartet ${issue2.expected}, erhalten ${parsedType8(issue2.input)}`;
|
|
5670
5813
|
case "invalid_value":
|
|
5671
5814
|
if (issue2.values.length === 1)
|
|
5672
5815
|
return `Ung\xFCltige Eingabe: erwartet ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5715,13 +5858,13 @@ var error7 = () => {
|
|
|
5715
5858
|
};
|
|
5716
5859
|
function de_default() {
|
|
5717
5860
|
return {
|
|
5718
|
-
localeError:
|
|
5861
|
+
localeError: error8()
|
|
5719
5862
|
};
|
|
5720
5863
|
}
|
|
5721
5864
|
|
|
5722
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5865
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/en.js
|
|
5723
5866
|
init_react_import();
|
|
5724
|
-
var
|
|
5867
|
+
var parsedType2 = (data) => {
|
|
5725
5868
|
const t = typeof data;
|
|
5726
5869
|
switch (t) {
|
|
5727
5870
|
case "number": {
|
|
@@ -5741,7 +5884,7 @@ var parsedType = (data) => {
|
|
|
5741
5884
|
}
|
|
5742
5885
|
return t;
|
|
5743
5886
|
};
|
|
5744
|
-
var
|
|
5887
|
+
var error9 = () => {
|
|
5745
5888
|
const Sizable = {
|
|
5746
5889
|
string: { unit: "characters", verb: "to have" },
|
|
5747
5890
|
file: { unit: "bytes", verb: "to have" },
|
|
@@ -5786,7 +5929,7 @@ var error8 = () => {
|
|
|
5786
5929
|
var _a17, _b, _c, _d;
|
|
5787
5930
|
switch (issue2.code) {
|
|
5788
5931
|
case "invalid_type":
|
|
5789
|
-
return `Invalid input: expected ${issue2.expected}, received ${
|
|
5932
|
+
return `Invalid input: expected ${issue2.expected}, received ${parsedType2(issue2.input)}`;
|
|
5790
5933
|
case "invalid_value":
|
|
5791
5934
|
if (issue2.values.length === 1)
|
|
5792
5935
|
return `Invalid input: expected ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5836,13 +5979,13 @@ var error8 = () => {
|
|
|
5836
5979
|
};
|
|
5837
5980
|
function en_default() {
|
|
5838
5981
|
return {
|
|
5839
|
-
localeError:
|
|
5982
|
+
localeError: error9()
|
|
5840
5983
|
};
|
|
5841
5984
|
}
|
|
5842
5985
|
|
|
5843
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5986
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/eo.js
|
|
5844
5987
|
init_react_import();
|
|
5845
|
-
var
|
|
5988
|
+
var parsedType3 = (data) => {
|
|
5846
5989
|
const t = typeof data;
|
|
5847
5990
|
switch (t) {
|
|
5848
5991
|
case "number": {
|
|
@@ -5862,7 +6005,7 @@ var parsedType2 = (data) => {
|
|
|
5862
6005
|
}
|
|
5863
6006
|
return t;
|
|
5864
6007
|
};
|
|
5865
|
-
var
|
|
6008
|
+
var error10 = () => {
|
|
5866
6009
|
const Sizable = {
|
|
5867
6010
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
5868
6011
|
file: { unit: "bajtojn", verb: "havi" },
|
|
@@ -5907,7 +6050,7 @@ var error9 = () => {
|
|
|
5907
6050
|
var _a17, _b, _c, _d;
|
|
5908
6051
|
switch (issue2.code) {
|
|
5909
6052
|
case "invalid_type":
|
|
5910
|
-
return `Nevalida enigo: atendi\u011Dis ${issue2.expected}, ricevi\u011Dis ${
|
|
6053
|
+
return `Nevalida enigo: atendi\u011Dis ${issue2.expected}, ricevi\u011Dis ${parsedType3(issue2.input)}`;
|
|
5911
6054
|
case "invalid_value":
|
|
5912
6055
|
if (issue2.values.length === 1)
|
|
5913
6056
|
return `Nevalida enigo: atendi\u011Dis ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5956,13 +6099,13 @@ var error9 = () => {
|
|
|
5956
6099
|
};
|
|
5957
6100
|
function eo_default() {
|
|
5958
6101
|
return {
|
|
5959
|
-
localeError:
|
|
6102
|
+
localeError: error10()
|
|
5960
6103
|
};
|
|
5961
6104
|
}
|
|
5962
6105
|
|
|
5963
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6106
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/es.js
|
|
5964
6107
|
init_react_import();
|
|
5965
|
-
var
|
|
6108
|
+
var error11 = () => {
|
|
5966
6109
|
const Sizable = {
|
|
5967
6110
|
string: { unit: "caracteres", verb: "tener" },
|
|
5968
6111
|
file: { unit: "bytes", verb: "tener" },
|
|
@@ -6003,7 +6146,7 @@ var error10 = () => {
|
|
|
6003
6146
|
var _a17;
|
|
6004
6147
|
return (_a17 = TypeNames[type]) != null ? _a17 : type;
|
|
6005
6148
|
}
|
|
6006
|
-
const
|
|
6149
|
+
const parsedType8 = (data) => {
|
|
6007
6150
|
const t = typeof data;
|
|
6008
6151
|
switch (t) {
|
|
6009
6152
|
case "number": {
|
|
@@ -6058,7 +6201,7 @@ var error10 = () => {
|
|
|
6058
6201
|
var _a17, _b;
|
|
6059
6202
|
switch (issue2.code) {
|
|
6060
6203
|
case "invalid_type":
|
|
6061
|
-
return `Entrada inv\xE1lida: se esperaba ${getTypeName(issue2.expected)}, recibido ${getTypeName(
|
|
6204
|
+
return `Entrada inv\xE1lida: se esperaba ${getTypeName(issue2.expected)}, recibido ${getTypeName(parsedType8(issue2.input))}`;
|
|
6062
6205
|
// return `Entrada inválida: se esperaba ${issue.expected}, recibido ${util.getParsedType(issue.input)}`;
|
|
6063
6206
|
case "invalid_value":
|
|
6064
6207
|
if (issue2.values.length === 1)
|
|
@@ -6110,13 +6253,13 @@ var error10 = () => {
|
|
|
6110
6253
|
};
|
|
6111
6254
|
function es_default() {
|
|
6112
6255
|
return {
|
|
6113
|
-
localeError:
|
|
6256
|
+
localeError: error11()
|
|
6114
6257
|
};
|
|
6115
6258
|
}
|
|
6116
6259
|
|
|
6117
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6260
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/fa.js
|
|
6118
6261
|
init_react_import();
|
|
6119
|
-
var
|
|
6262
|
+
var error12 = () => {
|
|
6120
6263
|
const Sizable = {
|
|
6121
6264
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
6122
6265
|
file: { unit: "\u0628\u0627\u06CC\u062A", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -6127,7 +6270,7 @@ var error11 = () => {
|
|
|
6127
6270
|
var _a17;
|
|
6128
6271
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6129
6272
|
}
|
|
6130
|
-
const
|
|
6273
|
+
const parsedType8 = (data) => {
|
|
6131
6274
|
const t = typeof data;
|
|
6132
6275
|
switch (t) {
|
|
6133
6276
|
case "number": {
|
|
@@ -6181,7 +6324,7 @@ var error11 = () => {
|
|
|
6181
6324
|
var _a17, _b, _c, _d;
|
|
6182
6325
|
switch (issue2.code) {
|
|
6183
6326
|
case "invalid_type":
|
|
6184
|
-
return `\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${issue2.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${
|
|
6327
|
+
return `\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${issue2.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${parsedType8(issue2.input)} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`;
|
|
6185
6328
|
case "invalid_value":
|
|
6186
6329
|
if (issue2.values.length === 1) {
|
|
6187
6330
|
return `\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${stringifyPrimitive(issue2.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`;
|
|
@@ -6236,13 +6379,13 @@ var error11 = () => {
|
|
|
6236
6379
|
};
|
|
6237
6380
|
function fa_default() {
|
|
6238
6381
|
return {
|
|
6239
|
-
localeError:
|
|
6382
|
+
localeError: error12()
|
|
6240
6383
|
};
|
|
6241
6384
|
}
|
|
6242
6385
|
|
|
6243
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6386
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/fi.js
|
|
6244
6387
|
init_react_import();
|
|
6245
|
-
var
|
|
6388
|
+
var error13 = () => {
|
|
6246
6389
|
const Sizable = {
|
|
6247
6390
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
6248
6391
|
file: { unit: "tavua", subject: "tiedoston" },
|
|
@@ -6257,7 +6400,7 @@ var error12 = () => {
|
|
|
6257
6400
|
var _a17;
|
|
6258
6401
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6259
6402
|
}
|
|
6260
|
-
const
|
|
6403
|
+
const parsedType8 = (data) => {
|
|
6261
6404
|
const t = typeof data;
|
|
6262
6405
|
switch (t) {
|
|
6263
6406
|
case "number": {
|
|
@@ -6311,7 +6454,7 @@ var error12 = () => {
|
|
|
6311
6454
|
var _a17;
|
|
6312
6455
|
switch (issue2.code) {
|
|
6313
6456
|
case "invalid_type":
|
|
6314
|
-
return `Virheellinen tyyppi: odotettiin ${issue2.expected}, oli ${
|
|
6457
|
+
return `Virheellinen tyyppi: odotettiin ${issue2.expected}, oli ${parsedType8(issue2.input)}`;
|
|
6315
6458
|
case "invalid_value":
|
|
6316
6459
|
if (issue2.values.length === 1)
|
|
6317
6460
|
return `Virheellinen sy\xF6te: t\xE4ytyy olla ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -6362,13 +6505,13 @@ var error12 = () => {
|
|
|
6362
6505
|
};
|
|
6363
6506
|
function fi_default() {
|
|
6364
6507
|
return {
|
|
6365
|
-
localeError:
|
|
6508
|
+
localeError: error13()
|
|
6366
6509
|
};
|
|
6367
6510
|
}
|
|
6368
6511
|
|
|
6369
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6512
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/fr.js
|
|
6370
6513
|
init_react_import();
|
|
6371
|
-
var
|
|
6514
|
+
var error14 = () => {
|
|
6372
6515
|
const Sizable = {
|
|
6373
6516
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
6374
6517
|
file: { unit: "octets", verb: "avoir" },
|
|
@@ -6379,7 +6522,7 @@ var error13 = () => {
|
|
|
6379
6522
|
var _a17;
|
|
6380
6523
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6381
6524
|
}
|
|
6382
|
-
const
|
|
6525
|
+
const parsedType8 = (data) => {
|
|
6383
6526
|
const t = typeof data;
|
|
6384
6527
|
switch (t) {
|
|
6385
6528
|
case "number": {
|
|
@@ -6433,7 +6576,7 @@ var error13 = () => {
|
|
|
6433
6576
|
var _a17, _b, _c, _d;
|
|
6434
6577
|
switch (issue2.code) {
|
|
6435
6578
|
case "invalid_type":
|
|
6436
|
-
return `Entr\xE9e invalide : ${issue2.expected} attendu, ${
|
|
6579
|
+
return `Entr\xE9e invalide : ${issue2.expected} attendu, ${parsedType8(issue2.input)} re\xE7u`;
|
|
6437
6580
|
case "invalid_value":
|
|
6438
6581
|
if (issue2.values.length === 1)
|
|
6439
6582
|
return `Entr\xE9e invalide : ${stringifyPrimitive(issue2.values[0])} attendu`;
|
|
@@ -6482,13 +6625,13 @@ var error13 = () => {
|
|
|
6482
6625
|
};
|
|
6483
6626
|
function fr_default() {
|
|
6484
6627
|
return {
|
|
6485
|
-
localeError:
|
|
6628
|
+
localeError: error14()
|
|
6486
6629
|
};
|
|
6487
6630
|
}
|
|
6488
6631
|
|
|
6489
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6632
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/fr-CA.js
|
|
6490
6633
|
init_react_import();
|
|
6491
|
-
var
|
|
6634
|
+
var error15 = () => {
|
|
6492
6635
|
const Sizable = {
|
|
6493
6636
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
6494
6637
|
file: { unit: "octets", verb: "avoir" },
|
|
@@ -6499,7 +6642,7 @@ var error14 = () => {
|
|
|
6499
6642
|
var _a17;
|
|
6500
6643
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6501
6644
|
}
|
|
6502
|
-
const
|
|
6645
|
+
const parsedType8 = (data) => {
|
|
6503
6646
|
const t = typeof data;
|
|
6504
6647
|
switch (t) {
|
|
6505
6648
|
case "number": {
|
|
@@ -6553,7 +6696,7 @@ var error14 = () => {
|
|
|
6553
6696
|
var _a17, _b, _c;
|
|
6554
6697
|
switch (issue2.code) {
|
|
6555
6698
|
case "invalid_type":
|
|
6556
|
-
return `Entr\xE9e invalide : attendu ${issue2.expected}, re\xE7u ${
|
|
6699
|
+
return `Entr\xE9e invalide : attendu ${issue2.expected}, re\xE7u ${parsedType8(issue2.input)}`;
|
|
6557
6700
|
case "invalid_value":
|
|
6558
6701
|
if (issue2.values.length === 1)
|
|
6559
6702
|
return `Entr\xE9e invalide : attendu ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -6603,13 +6746,13 @@ var error14 = () => {
|
|
|
6603
6746
|
};
|
|
6604
6747
|
function fr_CA_default() {
|
|
6605
6748
|
return {
|
|
6606
|
-
localeError:
|
|
6749
|
+
localeError: error15()
|
|
6607
6750
|
};
|
|
6608
6751
|
}
|
|
6609
6752
|
|
|
6610
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6753
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/he.js
|
|
6611
6754
|
init_react_import();
|
|
6612
|
-
var
|
|
6755
|
+
var error16 = () => {
|
|
6613
6756
|
const Sizable = {
|
|
6614
6757
|
string: { unit: "\u05D0\u05D5\u05EA\u05D9\u05D5\u05EA", verb: "\u05DC\u05DB\u05DC\u05D5\u05DC" },
|
|
6615
6758
|
file: { unit: "\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD", verb: "\u05DC\u05DB\u05DC\u05D5\u05DC" },
|
|
@@ -6620,7 +6763,7 @@ var error15 = () => {
|
|
|
6620
6763
|
var _a17;
|
|
6621
6764
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6622
6765
|
}
|
|
6623
|
-
const
|
|
6766
|
+
const parsedType8 = (data) => {
|
|
6624
6767
|
const t = typeof data;
|
|
6625
6768
|
switch (t) {
|
|
6626
6769
|
case "number": {
|
|
@@ -6674,7 +6817,7 @@ var error15 = () => {
|
|
|
6674
6817
|
var _a17, _b, _c, _d;
|
|
6675
6818
|
switch (issue2.code) {
|
|
6676
6819
|
case "invalid_type":
|
|
6677
|
-
return `\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA ${issue2.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${
|
|
6820
|
+
return `\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA ${issue2.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${parsedType8(issue2.input)}`;
|
|
6678
6821
|
// return `Invalid input: expected ${issue.expected}, received ${util.getParsedType(issue.input)}`;
|
|
6679
6822
|
case "invalid_value":
|
|
6680
6823
|
if (issue2.values.length === 1)
|
|
@@ -6724,13 +6867,13 @@ var error15 = () => {
|
|
|
6724
6867
|
};
|
|
6725
6868
|
function he_default() {
|
|
6726
6869
|
return {
|
|
6727
|
-
localeError:
|
|
6870
|
+
localeError: error16()
|
|
6728
6871
|
};
|
|
6729
6872
|
}
|
|
6730
6873
|
|
|
6731
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6874
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/hu.js
|
|
6732
6875
|
init_react_import();
|
|
6733
|
-
var
|
|
6876
|
+
var error17 = () => {
|
|
6734
6877
|
const Sizable = {
|
|
6735
6878
|
string: { unit: "karakter", verb: "legyen" },
|
|
6736
6879
|
file: { unit: "byte", verb: "legyen" },
|
|
@@ -6741,7 +6884,7 @@ var error16 = () => {
|
|
|
6741
6884
|
var _a17;
|
|
6742
6885
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6743
6886
|
}
|
|
6744
|
-
const
|
|
6887
|
+
const parsedType8 = (data) => {
|
|
6745
6888
|
const t = typeof data;
|
|
6746
6889
|
switch (t) {
|
|
6747
6890
|
case "number": {
|
|
@@ -6795,7 +6938,7 @@ var error16 = () => {
|
|
|
6795
6938
|
var _a17, _b, _c, _d;
|
|
6796
6939
|
switch (issue2.code) {
|
|
6797
6940
|
case "invalid_type":
|
|
6798
|
-
return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${issue2.expected}, a kapott \xE9rt\xE9k ${
|
|
6941
|
+
return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${issue2.expected}, a kapott \xE9rt\xE9k ${parsedType8(issue2.input)}`;
|
|
6799
6942
|
// return `Invalid input: expected ${issue.expected}, received ${util.getParsedType(issue.input)}`;
|
|
6800
6943
|
case "invalid_value":
|
|
6801
6944
|
if (issue2.values.length === 1)
|
|
@@ -6845,13 +6988,13 @@ var error16 = () => {
|
|
|
6845
6988
|
};
|
|
6846
6989
|
function hu_default() {
|
|
6847
6990
|
return {
|
|
6848
|
-
localeError:
|
|
6991
|
+
localeError: error17()
|
|
6849
6992
|
};
|
|
6850
6993
|
}
|
|
6851
6994
|
|
|
6852
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6995
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/id.js
|
|
6853
6996
|
init_react_import();
|
|
6854
|
-
var
|
|
6997
|
+
var error18 = () => {
|
|
6855
6998
|
const Sizable = {
|
|
6856
6999
|
string: { unit: "karakter", verb: "memiliki" },
|
|
6857
7000
|
file: { unit: "byte", verb: "memiliki" },
|
|
@@ -6862,7 +7005,7 @@ var error17 = () => {
|
|
|
6862
7005
|
var _a17;
|
|
6863
7006
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6864
7007
|
}
|
|
6865
|
-
const
|
|
7008
|
+
const parsedType8 = (data) => {
|
|
6866
7009
|
const t = typeof data;
|
|
6867
7010
|
switch (t) {
|
|
6868
7011
|
case "number": {
|
|
@@ -6916,7 +7059,7 @@ var error17 = () => {
|
|
|
6916
7059
|
var _a17, _b, _c, _d;
|
|
6917
7060
|
switch (issue2.code) {
|
|
6918
7061
|
case "invalid_type":
|
|
6919
|
-
return `Input tidak valid: diharapkan ${issue2.expected}, diterima ${
|
|
7062
|
+
return `Input tidak valid: diharapkan ${issue2.expected}, diterima ${parsedType8(issue2.input)}`;
|
|
6920
7063
|
case "invalid_value":
|
|
6921
7064
|
if (issue2.values.length === 1)
|
|
6922
7065
|
return `Input tidak valid: diharapkan ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -6965,13 +7108,13 @@ var error17 = () => {
|
|
|
6965
7108
|
};
|
|
6966
7109
|
function id_default() {
|
|
6967
7110
|
return {
|
|
6968
|
-
localeError:
|
|
7111
|
+
localeError: error18()
|
|
6969
7112
|
};
|
|
6970
7113
|
}
|
|
6971
7114
|
|
|
6972
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7115
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/is.js
|
|
6973
7116
|
init_react_import();
|
|
6974
|
-
var
|
|
7117
|
+
var parsedType4 = (data) => {
|
|
6975
7118
|
const t = typeof data;
|
|
6976
7119
|
switch (t) {
|
|
6977
7120
|
case "number": {
|
|
@@ -6991,7 +7134,7 @@ var parsedType3 = (data) => {
|
|
|
6991
7134
|
}
|
|
6992
7135
|
return t;
|
|
6993
7136
|
};
|
|
6994
|
-
var
|
|
7137
|
+
var error19 = () => {
|
|
6995
7138
|
const Sizable = {
|
|
6996
7139
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
6997
7140
|
file: { unit: "b\xE6ti", verb: "a\xF0 hafa" },
|
|
@@ -7036,7 +7179,7 @@ var error18 = () => {
|
|
|
7036
7179
|
var _a17, _b, _c, _d;
|
|
7037
7180
|
switch (issue2.code) {
|
|
7038
7181
|
case "invalid_type":
|
|
7039
|
-
return `Rangt gildi: \xDE\xFA sl\xF3st inn ${
|
|
7182
|
+
return `Rangt gildi: \xDE\xFA sl\xF3st inn ${parsedType4(issue2.input)} \xFEar sem \xE1 a\xF0 vera ${issue2.expected}`;
|
|
7040
7183
|
case "invalid_value":
|
|
7041
7184
|
if (issue2.values.length === 1)
|
|
7042
7185
|
return `Rangt gildi: gert r\xE1\xF0 fyrir ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -7086,13 +7229,13 @@ var error18 = () => {
|
|
|
7086
7229
|
};
|
|
7087
7230
|
function is_default() {
|
|
7088
7231
|
return {
|
|
7089
|
-
localeError:
|
|
7232
|
+
localeError: error19()
|
|
7090
7233
|
};
|
|
7091
7234
|
}
|
|
7092
7235
|
|
|
7093
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7236
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/it.js
|
|
7094
7237
|
init_react_import();
|
|
7095
|
-
var
|
|
7238
|
+
var error20 = () => {
|
|
7096
7239
|
const Sizable = {
|
|
7097
7240
|
string: { unit: "caratteri", verb: "avere" },
|
|
7098
7241
|
file: { unit: "byte", verb: "avere" },
|
|
@@ -7103,7 +7246,7 @@ var error19 = () => {
|
|
|
7103
7246
|
var _a17;
|
|
7104
7247
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
7105
7248
|
}
|
|
7106
|
-
const
|
|
7249
|
+
const parsedType8 = (data) => {
|
|
7107
7250
|
const t = typeof data;
|
|
7108
7251
|
switch (t) {
|
|
7109
7252
|
case "number": {
|
|
@@ -7157,7 +7300,7 @@ var error19 = () => {
|
|
|
7157
7300
|
var _a17, _b, _c, _d;
|
|
7158
7301
|
switch (issue2.code) {
|
|
7159
7302
|
case "invalid_type":
|
|
7160
|
-
return `Input non valido: atteso ${issue2.expected}, ricevuto ${
|
|
7303
|
+
return `Input non valido: atteso ${issue2.expected}, ricevuto ${parsedType8(issue2.input)}`;
|
|
7161
7304
|
// return `Input non valido: atteso ${issue.expected}, ricevuto ${util.getParsedType(issue.input)}`;
|
|
7162
7305
|
case "invalid_value":
|
|
7163
7306
|
if (issue2.values.length === 1)
|
|
@@ -7207,13 +7350,13 @@ var error19 = () => {
|
|
|
7207
7350
|
};
|
|
7208
7351
|
function it_default() {
|
|
7209
7352
|
return {
|
|
7210
|
-
localeError:
|
|
7353
|
+
localeError: error20()
|
|
7211
7354
|
};
|
|
7212
7355
|
}
|
|
7213
7356
|
|
|
7214
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7357
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ja.js
|
|
7215
7358
|
init_react_import();
|
|
7216
|
-
var
|
|
7359
|
+
var error21 = () => {
|
|
7217
7360
|
const Sizable = {
|
|
7218
7361
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
7219
7362
|
file: { unit: "\u30D0\u30A4\u30C8", verb: "\u3067\u3042\u308B" },
|
|
@@ -7224,7 +7367,7 @@ var error20 = () => {
|
|
|
7224
7367
|
var _a17;
|
|
7225
7368
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
7226
7369
|
}
|
|
7227
|
-
const
|
|
7370
|
+
const parsedType8 = (data) => {
|
|
7228
7371
|
const t = typeof data;
|
|
7229
7372
|
switch (t) {
|
|
7230
7373
|
case "number": {
|
|
@@ -7278,7 +7421,7 @@ var error20 = () => {
|
|
|
7278
7421
|
var _a17, _b, _c, _d;
|
|
7279
7422
|
switch (issue2.code) {
|
|
7280
7423
|
case "invalid_type":
|
|
7281
|
-
return `\u7121\u52B9\u306A\u5165\u529B: ${issue2.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${
|
|
7424
|
+
return `\u7121\u52B9\u306A\u5165\u529B: ${issue2.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${parsedType8(issue2.input)}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`;
|
|
7282
7425
|
case "invalid_value":
|
|
7283
7426
|
if (issue2.values.length === 1)
|
|
7284
7427
|
return `\u7121\u52B9\u306A\u5165\u529B: ${stringifyPrimitive(issue2.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`;
|
|
@@ -7326,13 +7469,13 @@ var error20 = () => {
|
|
|
7326
7469
|
};
|
|
7327
7470
|
function ja_default() {
|
|
7328
7471
|
return {
|
|
7329
|
-
localeError:
|
|
7472
|
+
localeError: error21()
|
|
7330
7473
|
};
|
|
7331
7474
|
}
|
|
7332
7475
|
|
|
7333
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7476
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ka.js
|
|
7334
7477
|
init_react_import();
|
|
7335
|
-
var
|
|
7478
|
+
var parsedType5 = (data) => {
|
|
7336
7479
|
var _a17;
|
|
7337
7480
|
const t = typeof data;
|
|
7338
7481
|
switch (t) {
|
|
@@ -7361,7 +7504,7 @@ var parsedType4 = (data) => {
|
|
|
7361
7504
|
};
|
|
7362
7505
|
return (_a17 = typeMap[t]) != null ? _a17 : t;
|
|
7363
7506
|
};
|
|
7364
|
-
var
|
|
7507
|
+
var error22 = () => {
|
|
7365
7508
|
const Sizable = {
|
|
7366
7509
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
7367
7510
|
file: { unit: "\u10D1\u10D0\u10D8\u10E2\u10D8", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -7406,7 +7549,7 @@ var error21 = () => {
|
|
|
7406
7549
|
var _a17, _b, _c;
|
|
7407
7550
|
switch (issue2.code) {
|
|
7408
7551
|
case "invalid_type":
|
|
7409
|
-
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${issue2.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${
|
|
7552
|
+
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${issue2.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${parsedType5(issue2.input)}`;
|
|
7410
7553
|
case "invalid_value":
|
|
7411
7554
|
if (issue2.values.length === 1)
|
|
7412
7555
|
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -7456,16 +7599,16 @@ var error21 = () => {
|
|
|
7456
7599
|
};
|
|
7457
7600
|
function ka_default() {
|
|
7458
7601
|
return {
|
|
7459
|
-
localeError:
|
|
7602
|
+
localeError: error22()
|
|
7460
7603
|
};
|
|
7461
7604
|
}
|
|
7462
7605
|
|
|
7463
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7606
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/kh.js
|
|
7464
7607
|
init_react_import();
|
|
7465
7608
|
|
|
7466
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7609
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/km.js
|
|
7467
7610
|
init_react_import();
|
|
7468
|
-
var
|
|
7611
|
+
var error23 = () => {
|
|
7469
7612
|
const Sizable = {
|
|
7470
7613
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
7471
7614
|
file: { unit: "\u1794\u17C3", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -7476,7 +7619,7 @@ var error22 = () => {
|
|
|
7476
7619
|
var _a17;
|
|
7477
7620
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
7478
7621
|
}
|
|
7479
|
-
const
|
|
7622
|
+
const parsedType8 = (data) => {
|
|
7480
7623
|
const t = typeof data;
|
|
7481
7624
|
switch (t) {
|
|
7482
7625
|
case "number": {
|
|
@@ -7530,7 +7673,7 @@ var error22 = () => {
|
|
|
7530
7673
|
var _a17, _b, _c, _d;
|
|
7531
7674
|
switch (issue2.code) {
|
|
7532
7675
|
case "invalid_type":
|
|
7533
|
-
return `\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${issue2.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${
|
|
7676
|
+
return `\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${issue2.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${parsedType8(issue2.input)}`;
|
|
7534
7677
|
case "invalid_value":
|
|
7535
7678
|
if (issue2.values.length === 1)
|
|
7536
7679
|
return `\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -7580,18 +7723,18 @@ var error22 = () => {
|
|
|
7580
7723
|
};
|
|
7581
7724
|
function km_default() {
|
|
7582
7725
|
return {
|
|
7583
|
-
localeError:
|
|
7726
|
+
localeError: error23()
|
|
7584
7727
|
};
|
|
7585
7728
|
}
|
|
7586
7729
|
|
|
7587
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7730
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/kh.js
|
|
7588
7731
|
function kh_default() {
|
|
7589
7732
|
return km_default();
|
|
7590
7733
|
}
|
|
7591
7734
|
|
|
7592
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7735
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ko.js
|
|
7593
7736
|
init_react_import();
|
|
7594
|
-
var
|
|
7737
|
+
var error24 = () => {
|
|
7595
7738
|
const Sizable = {
|
|
7596
7739
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
7597
7740
|
file: { unit: "\uBC14\uC774\uD2B8", verb: "to have" },
|
|
@@ -7602,7 +7745,7 @@ var error23 = () => {
|
|
|
7602
7745
|
var _a17;
|
|
7603
7746
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
7604
7747
|
}
|
|
7605
|
-
const
|
|
7748
|
+
const parsedType8 = (data) => {
|
|
7606
7749
|
const t = typeof data;
|
|
7607
7750
|
switch (t) {
|
|
7608
7751
|
case "number": {
|
|
@@ -7656,7 +7799,7 @@ var error23 = () => {
|
|
|
7656
7799
|
var _a17, _b, _c, _d, _e, _f, _g;
|
|
7657
7800
|
switch (issue2.code) {
|
|
7658
7801
|
case "invalid_type":
|
|
7659
|
-
return `\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${issue2.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${
|
|
7802
|
+
return `\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${issue2.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${parsedType8(issue2.input)}\uC785\uB2C8\uB2E4`;
|
|
7660
7803
|
case "invalid_value":
|
|
7661
7804
|
if (issue2.values.length === 1)
|
|
7662
7805
|
return `\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${stringifyPrimitive(issue2.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`;
|
|
@@ -7710,13 +7853,13 @@ var error23 = () => {
|
|
|
7710
7853
|
};
|
|
7711
7854
|
function ko_default() {
|
|
7712
7855
|
return {
|
|
7713
|
-
localeError:
|
|
7856
|
+
localeError: error24()
|
|
7714
7857
|
};
|
|
7715
7858
|
}
|
|
7716
7859
|
|
|
7717
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7860
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/lt.js
|
|
7718
7861
|
init_react_import();
|
|
7719
|
-
var
|
|
7862
|
+
var parsedType6 = (data) => {
|
|
7720
7863
|
const t = typeof data;
|
|
7721
7864
|
return parsedTypeFromType(t, data);
|
|
7722
7865
|
};
|
|
@@ -7776,7 +7919,7 @@ function getUnitTypeFromNumber(number4) {
|
|
|
7776
7919
|
return "one";
|
|
7777
7920
|
return "few";
|
|
7778
7921
|
}
|
|
7779
|
-
var
|
|
7922
|
+
var error25 = () => {
|
|
7780
7923
|
const Sizable = {
|
|
7781
7924
|
string: {
|
|
7782
7925
|
unit: {
|
|
@@ -7891,7 +8034,7 @@ var error24 = () => {
|
|
|
7891
8034
|
var _a17, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
7892
8035
|
switch (issue2.code) {
|
|
7893
8036
|
case "invalid_type":
|
|
7894
|
-
return `Gautas tipas ${
|
|
8037
|
+
return `Gautas tipas ${parsedType6(issue2.input)}, o tik\u0117tasi - ${parsedTypeFromType(issue2.expected)}`;
|
|
7895
8038
|
case "invalid_value":
|
|
7896
8039
|
if (issue2.values.length === 1)
|
|
7897
8040
|
return `Privalo b\u016Bti ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -7944,13 +8087,13 @@ var error24 = () => {
|
|
|
7944
8087
|
};
|
|
7945
8088
|
function lt_default() {
|
|
7946
8089
|
return {
|
|
7947
|
-
localeError:
|
|
8090
|
+
localeError: error25()
|
|
7948
8091
|
};
|
|
7949
8092
|
}
|
|
7950
8093
|
|
|
7951
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8094
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/mk.js
|
|
7952
8095
|
init_react_import();
|
|
7953
|
-
var
|
|
8096
|
+
var error26 = () => {
|
|
7954
8097
|
const Sizable = {
|
|
7955
8098
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
7956
8099
|
file: { unit: "\u0431\u0430\u0458\u0442\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -7961,7 +8104,7 @@ var error25 = () => {
|
|
|
7961
8104
|
var _a17;
|
|
7962
8105
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
7963
8106
|
}
|
|
7964
|
-
const
|
|
8107
|
+
const parsedType8 = (data) => {
|
|
7965
8108
|
const t = typeof data;
|
|
7966
8109
|
switch (t) {
|
|
7967
8110
|
case "number": {
|
|
@@ -8015,7 +8158,7 @@ var error25 = () => {
|
|
|
8015
8158
|
var _a17, _b, _c, _d;
|
|
8016
8159
|
switch (issue2.code) {
|
|
8017
8160
|
case "invalid_type":
|
|
8018
|
-
return `\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${issue2.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${
|
|
8161
|
+
return `\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${issue2.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${parsedType8(issue2.input)}`;
|
|
8019
8162
|
// return `Invalid input: expected ${issue.expected}, received ${util.getParsedType(issue.input)}`;
|
|
8020
8163
|
case "invalid_value":
|
|
8021
8164
|
if (issue2.values.length === 1)
|
|
@@ -8066,13 +8209,13 @@ var error25 = () => {
|
|
|
8066
8209
|
};
|
|
8067
8210
|
function mk_default() {
|
|
8068
8211
|
return {
|
|
8069
|
-
localeError:
|
|
8212
|
+
localeError: error26()
|
|
8070
8213
|
};
|
|
8071
8214
|
}
|
|
8072
8215
|
|
|
8073
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8216
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ms.js
|
|
8074
8217
|
init_react_import();
|
|
8075
|
-
var
|
|
8218
|
+
var error27 = () => {
|
|
8076
8219
|
const Sizable = {
|
|
8077
8220
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
8078
8221
|
file: { unit: "bait", verb: "mempunyai" },
|
|
@@ -8083,7 +8226,7 @@ var error26 = () => {
|
|
|
8083
8226
|
var _a17;
|
|
8084
8227
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8085
8228
|
}
|
|
8086
|
-
const
|
|
8229
|
+
const parsedType8 = (data) => {
|
|
8087
8230
|
const t = typeof data;
|
|
8088
8231
|
switch (t) {
|
|
8089
8232
|
case "number": {
|
|
@@ -8137,7 +8280,7 @@ var error26 = () => {
|
|
|
8137
8280
|
var _a17, _b, _c, _d;
|
|
8138
8281
|
switch (issue2.code) {
|
|
8139
8282
|
case "invalid_type":
|
|
8140
|
-
return `Input tidak sah: dijangka ${issue2.expected}, diterima ${
|
|
8283
|
+
return `Input tidak sah: dijangka ${issue2.expected}, diterima ${parsedType8(issue2.input)}`;
|
|
8141
8284
|
case "invalid_value":
|
|
8142
8285
|
if (issue2.values.length === 1)
|
|
8143
8286
|
return `Input tidak sah: dijangka ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -8186,13 +8329,13 @@ var error26 = () => {
|
|
|
8186
8329
|
};
|
|
8187
8330
|
function ms_default() {
|
|
8188
8331
|
return {
|
|
8189
|
-
localeError:
|
|
8332
|
+
localeError: error27()
|
|
8190
8333
|
};
|
|
8191
8334
|
}
|
|
8192
8335
|
|
|
8193
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8336
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/nl.js
|
|
8194
8337
|
init_react_import();
|
|
8195
|
-
var
|
|
8338
|
+
var error28 = () => {
|
|
8196
8339
|
const Sizable = {
|
|
8197
8340
|
string: { unit: "tekens" },
|
|
8198
8341
|
file: { unit: "bytes" },
|
|
@@ -8203,7 +8346,7 @@ var error27 = () => {
|
|
|
8203
8346
|
var _a17;
|
|
8204
8347
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8205
8348
|
}
|
|
8206
|
-
const
|
|
8349
|
+
const parsedType8 = (data) => {
|
|
8207
8350
|
const t = typeof data;
|
|
8208
8351
|
switch (t) {
|
|
8209
8352
|
case "number": {
|
|
@@ -8257,7 +8400,7 @@ var error27 = () => {
|
|
|
8257
8400
|
var _a17, _b, _c, _d;
|
|
8258
8401
|
switch (issue2.code) {
|
|
8259
8402
|
case "invalid_type":
|
|
8260
|
-
return `Ongeldige invoer: verwacht ${issue2.expected}, ontving ${
|
|
8403
|
+
return `Ongeldige invoer: verwacht ${issue2.expected}, ontving ${parsedType8(issue2.input)}`;
|
|
8261
8404
|
case "invalid_value":
|
|
8262
8405
|
if (issue2.values.length === 1)
|
|
8263
8406
|
return `Ongeldige invoer: verwacht ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -8307,13 +8450,13 @@ var error27 = () => {
|
|
|
8307
8450
|
};
|
|
8308
8451
|
function nl_default() {
|
|
8309
8452
|
return {
|
|
8310
|
-
localeError:
|
|
8453
|
+
localeError: error28()
|
|
8311
8454
|
};
|
|
8312
8455
|
}
|
|
8313
8456
|
|
|
8314
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8457
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/no.js
|
|
8315
8458
|
init_react_import();
|
|
8316
|
-
var
|
|
8459
|
+
var error29 = () => {
|
|
8317
8460
|
const Sizable = {
|
|
8318
8461
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
8319
8462
|
file: { unit: "bytes", verb: "\xE5 ha" },
|
|
@@ -8324,7 +8467,7 @@ var error28 = () => {
|
|
|
8324
8467
|
var _a17;
|
|
8325
8468
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8326
8469
|
}
|
|
8327
|
-
const
|
|
8470
|
+
const parsedType8 = (data) => {
|
|
8328
8471
|
const t = typeof data;
|
|
8329
8472
|
switch (t) {
|
|
8330
8473
|
case "number": {
|
|
@@ -8378,7 +8521,7 @@ var error28 = () => {
|
|
|
8378
8521
|
var _a17, _b, _c, _d;
|
|
8379
8522
|
switch (issue2.code) {
|
|
8380
8523
|
case "invalid_type":
|
|
8381
|
-
return `Ugyldig input: forventet ${issue2.expected}, fikk ${
|
|
8524
|
+
return `Ugyldig input: forventet ${issue2.expected}, fikk ${parsedType8(issue2.input)}`;
|
|
8382
8525
|
case "invalid_value":
|
|
8383
8526
|
if (issue2.values.length === 1)
|
|
8384
8527
|
return `Ugyldig verdi: forventet ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -8427,13 +8570,13 @@ var error28 = () => {
|
|
|
8427
8570
|
};
|
|
8428
8571
|
function no_default() {
|
|
8429
8572
|
return {
|
|
8430
|
-
localeError:
|
|
8573
|
+
localeError: error29()
|
|
8431
8574
|
};
|
|
8432
8575
|
}
|
|
8433
8576
|
|
|
8434
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8577
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ota.js
|
|
8435
8578
|
init_react_import();
|
|
8436
|
-
var
|
|
8579
|
+
var error30 = () => {
|
|
8437
8580
|
const Sizable = {
|
|
8438
8581
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
8439
8582
|
file: { unit: "bayt", verb: "olmal\u0131d\u0131r" },
|
|
@@ -8444,7 +8587,7 @@ var error29 = () => {
|
|
|
8444
8587
|
var _a17;
|
|
8445
8588
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8446
8589
|
}
|
|
8447
|
-
const
|
|
8590
|
+
const parsedType8 = (data) => {
|
|
8448
8591
|
const t = typeof data;
|
|
8449
8592
|
switch (t) {
|
|
8450
8593
|
case "number": {
|
|
@@ -8498,7 +8641,7 @@ var error29 = () => {
|
|
|
8498
8641
|
var _a17, _b, _c, _d;
|
|
8499
8642
|
switch (issue2.code) {
|
|
8500
8643
|
case "invalid_type":
|
|
8501
|
-
return `F\xE2sit giren: umulan ${issue2.expected}, al\u0131nan ${
|
|
8644
|
+
return `F\xE2sit giren: umulan ${issue2.expected}, al\u0131nan ${parsedType8(issue2.input)}`;
|
|
8502
8645
|
// return `Fâsit giren: umulan ${issue.expected}, alınan ${util.getParsedType(issue.input)}`;
|
|
8503
8646
|
case "invalid_value":
|
|
8504
8647
|
if (issue2.values.length === 1)
|
|
@@ -8548,13 +8691,13 @@ var error29 = () => {
|
|
|
8548
8691
|
};
|
|
8549
8692
|
function ota_default() {
|
|
8550
8693
|
return {
|
|
8551
|
-
localeError:
|
|
8694
|
+
localeError: error30()
|
|
8552
8695
|
};
|
|
8553
8696
|
}
|
|
8554
8697
|
|
|
8555
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8698
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ps.js
|
|
8556
8699
|
init_react_import();
|
|
8557
|
-
var
|
|
8700
|
+
var error31 = () => {
|
|
8558
8701
|
const Sizable = {
|
|
8559
8702
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
8560
8703
|
file: { unit: "\u0628\u0627\u06CC\u067C\u0633", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -8565,7 +8708,7 @@ var error30 = () => {
|
|
|
8565
8708
|
var _a17;
|
|
8566
8709
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8567
8710
|
}
|
|
8568
|
-
const
|
|
8711
|
+
const parsedType8 = (data) => {
|
|
8569
8712
|
const t = typeof data;
|
|
8570
8713
|
switch (t) {
|
|
8571
8714
|
case "number": {
|
|
@@ -8619,7 +8762,7 @@ var error30 = () => {
|
|
|
8619
8762
|
var _a17, _b, _c, _d;
|
|
8620
8763
|
switch (issue2.code) {
|
|
8621
8764
|
case "invalid_type":
|
|
8622
|
-
return `\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${issue2.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${
|
|
8765
|
+
return `\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${issue2.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${parsedType8(issue2.input)} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`;
|
|
8623
8766
|
case "invalid_value":
|
|
8624
8767
|
if (issue2.values.length === 1) {
|
|
8625
8768
|
return `\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${stringifyPrimitive(issue2.values[0])} \u0648\u0627\u06CC`;
|
|
@@ -8674,13 +8817,13 @@ var error30 = () => {
|
|
|
8674
8817
|
};
|
|
8675
8818
|
function ps_default() {
|
|
8676
8819
|
return {
|
|
8677
|
-
localeError:
|
|
8820
|
+
localeError: error31()
|
|
8678
8821
|
};
|
|
8679
8822
|
}
|
|
8680
8823
|
|
|
8681
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8824
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/pl.js
|
|
8682
8825
|
init_react_import();
|
|
8683
|
-
var
|
|
8826
|
+
var error32 = () => {
|
|
8684
8827
|
const Sizable = {
|
|
8685
8828
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
8686
8829
|
file: { unit: "bajt\xF3w", verb: "mie\u0107" },
|
|
@@ -8691,7 +8834,7 @@ var error31 = () => {
|
|
|
8691
8834
|
var _a17;
|
|
8692
8835
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8693
8836
|
}
|
|
8694
|
-
const
|
|
8837
|
+
const parsedType8 = (data) => {
|
|
8695
8838
|
const t = typeof data;
|
|
8696
8839
|
switch (t) {
|
|
8697
8840
|
case "number": {
|
|
@@ -8745,7 +8888,7 @@ var error31 = () => {
|
|
|
8745
8888
|
var _a17, _b, _c, _d, _e, _f, _g;
|
|
8746
8889
|
switch (issue2.code) {
|
|
8747
8890
|
case "invalid_type":
|
|
8748
|
-
return `Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${issue2.expected}, otrzymano ${
|
|
8891
|
+
return `Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${issue2.expected}, otrzymano ${parsedType8(issue2.input)}`;
|
|
8749
8892
|
case "invalid_value":
|
|
8750
8893
|
if (issue2.values.length === 1)
|
|
8751
8894
|
return `Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -8795,13 +8938,13 @@ var error31 = () => {
|
|
|
8795
8938
|
};
|
|
8796
8939
|
function pl_default() {
|
|
8797
8940
|
return {
|
|
8798
|
-
localeError:
|
|
8941
|
+
localeError: error32()
|
|
8799
8942
|
};
|
|
8800
8943
|
}
|
|
8801
8944
|
|
|
8802
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8945
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/pt.js
|
|
8803
8946
|
init_react_import();
|
|
8804
|
-
var
|
|
8947
|
+
var error33 = () => {
|
|
8805
8948
|
const Sizable = {
|
|
8806
8949
|
string: { unit: "caracteres", verb: "ter" },
|
|
8807
8950
|
file: { unit: "bytes", verb: "ter" },
|
|
@@ -8812,7 +8955,7 @@ var error32 = () => {
|
|
|
8812
8955
|
var _a17;
|
|
8813
8956
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8814
8957
|
}
|
|
8815
|
-
const
|
|
8958
|
+
const parsedType8 = (data) => {
|
|
8816
8959
|
const t = typeof data;
|
|
8817
8960
|
switch (t) {
|
|
8818
8961
|
case "number": {
|
|
@@ -8866,7 +9009,7 @@ var error32 = () => {
|
|
|
8866
9009
|
var _a17, _b, _c, _d;
|
|
8867
9010
|
switch (issue2.code) {
|
|
8868
9011
|
case "invalid_type":
|
|
8869
|
-
return `Tipo inv\xE1lido: esperado ${issue2.expected}, recebido ${
|
|
9012
|
+
return `Tipo inv\xE1lido: esperado ${issue2.expected}, recebido ${parsedType8(issue2.input)}`;
|
|
8870
9013
|
case "invalid_value":
|
|
8871
9014
|
if (issue2.values.length === 1)
|
|
8872
9015
|
return `Entrada inv\xE1lida: esperado ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -8915,11 +9058,11 @@ var error32 = () => {
|
|
|
8915
9058
|
};
|
|
8916
9059
|
function pt_default() {
|
|
8917
9060
|
return {
|
|
8918
|
-
localeError:
|
|
9061
|
+
localeError: error33()
|
|
8919
9062
|
};
|
|
8920
9063
|
}
|
|
8921
9064
|
|
|
8922
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9065
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ru.js
|
|
8923
9066
|
init_react_import();
|
|
8924
9067
|
function getRussianPlural(count, one, few, many) {
|
|
8925
9068
|
const absCount = Math.abs(count);
|
|
@@ -8936,7 +9079,7 @@ function getRussianPlural(count, one, few, many) {
|
|
|
8936
9079
|
}
|
|
8937
9080
|
return many;
|
|
8938
9081
|
}
|
|
8939
|
-
var
|
|
9082
|
+
var error34 = () => {
|
|
8940
9083
|
const Sizable = {
|
|
8941
9084
|
string: {
|
|
8942
9085
|
unit: {
|
|
@@ -8975,7 +9118,7 @@ var error33 = () => {
|
|
|
8975
9118
|
var _a17;
|
|
8976
9119
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8977
9120
|
}
|
|
8978
|
-
const
|
|
9121
|
+
const parsedType8 = (data) => {
|
|
8979
9122
|
const t = typeof data;
|
|
8980
9123
|
switch (t) {
|
|
8981
9124
|
case "number": {
|
|
@@ -9029,7 +9172,7 @@ var error33 = () => {
|
|
|
9029
9172
|
var _a17, _b, _c;
|
|
9030
9173
|
switch (issue2.code) {
|
|
9031
9174
|
case "invalid_type":
|
|
9032
|
-
return `\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${issue2.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${
|
|
9175
|
+
return `\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${issue2.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${parsedType8(issue2.input)}`;
|
|
9033
9176
|
case "invalid_value":
|
|
9034
9177
|
if (issue2.values.length === 1)
|
|
9035
9178
|
return `\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -9083,13 +9226,13 @@ var error33 = () => {
|
|
|
9083
9226
|
};
|
|
9084
9227
|
function ru_default() {
|
|
9085
9228
|
return {
|
|
9086
|
-
localeError:
|
|
9229
|
+
localeError: error34()
|
|
9087
9230
|
};
|
|
9088
9231
|
}
|
|
9089
9232
|
|
|
9090
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9233
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/sl.js
|
|
9091
9234
|
init_react_import();
|
|
9092
|
-
var
|
|
9235
|
+
var error35 = () => {
|
|
9093
9236
|
const Sizable = {
|
|
9094
9237
|
string: { unit: "znakov", verb: "imeti" },
|
|
9095
9238
|
file: { unit: "bajtov", verb: "imeti" },
|
|
@@ -9100,7 +9243,7 @@ var error34 = () => {
|
|
|
9100
9243
|
var _a17;
|
|
9101
9244
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9102
9245
|
}
|
|
9103
|
-
const
|
|
9246
|
+
const parsedType8 = (data) => {
|
|
9104
9247
|
const t = typeof data;
|
|
9105
9248
|
switch (t) {
|
|
9106
9249
|
case "number": {
|
|
@@ -9154,7 +9297,7 @@ var error34 = () => {
|
|
|
9154
9297
|
var _a17, _b, _c, _d;
|
|
9155
9298
|
switch (issue2.code) {
|
|
9156
9299
|
case "invalid_type":
|
|
9157
|
-
return `Neveljaven vnos: pri\u010Dakovano ${issue2.expected}, prejeto ${
|
|
9300
|
+
return `Neveljaven vnos: pri\u010Dakovano ${issue2.expected}, prejeto ${parsedType8(issue2.input)}`;
|
|
9158
9301
|
case "invalid_value":
|
|
9159
9302
|
if (issue2.values.length === 1)
|
|
9160
9303
|
return `Neveljaven vnos: pri\u010Dakovano ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -9204,13 +9347,13 @@ var error34 = () => {
|
|
|
9204
9347
|
};
|
|
9205
9348
|
function sl_default() {
|
|
9206
9349
|
return {
|
|
9207
|
-
localeError:
|
|
9350
|
+
localeError: error35()
|
|
9208
9351
|
};
|
|
9209
9352
|
}
|
|
9210
9353
|
|
|
9211
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9354
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/sv.js
|
|
9212
9355
|
init_react_import();
|
|
9213
|
-
var
|
|
9356
|
+
var error36 = () => {
|
|
9214
9357
|
const Sizable = {
|
|
9215
9358
|
string: { unit: "tecken", verb: "att ha" },
|
|
9216
9359
|
file: { unit: "bytes", verb: "att ha" },
|
|
@@ -9221,7 +9364,7 @@ var error35 = () => {
|
|
|
9221
9364
|
var _a17;
|
|
9222
9365
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9223
9366
|
}
|
|
9224
|
-
const
|
|
9367
|
+
const parsedType8 = (data) => {
|
|
9225
9368
|
const t = typeof data;
|
|
9226
9369
|
switch (t) {
|
|
9227
9370
|
case "number": {
|
|
@@ -9275,7 +9418,7 @@ var error35 = () => {
|
|
|
9275
9418
|
var _a17, _b, _c, _d, _e, _f, _g, _h;
|
|
9276
9419
|
switch (issue2.code) {
|
|
9277
9420
|
case "invalid_type":
|
|
9278
|
-
return `Ogiltig inmatning: f\xF6rv\xE4ntat ${issue2.expected}, fick ${
|
|
9421
|
+
return `Ogiltig inmatning: f\xF6rv\xE4ntat ${issue2.expected}, fick ${parsedType8(issue2.input)}`;
|
|
9279
9422
|
case "invalid_value":
|
|
9280
9423
|
if (issue2.values.length === 1)
|
|
9281
9424
|
return `Ogiltig inmatning: f\xF6rv\xE4ntat ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -9326,13 +9469,13 @@ var error35 = () => {
|
|
|
9326
9469
|
};
|
|
9327
9470
|
function sv_default() {
|
|
9328
9471
|
return {
|
|
9329
|
-
localeError:
|
|
9472
|
+
localeError: error36()
|
|
9330
9473
|
};
|
|
9331
9474
|
}
|
|
9332
9475
|
|
|
9333
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9476
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ta.js
|
|
9334
9477
|
init_react_import();
|
|
9335
|
-
var
|
|
9478
|
+
var error37 = () => {
|
|
9336
9479
|
const Sizable = {
|
|
9337
9480
|
string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
9338
9481
|
file: { unit: "\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -9343,7 +9486,7 @@ var error36 = () => {
|
|
|
9343
9486
|
var _a17;
|
|
9344
9487
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9345
9488
|
}
|
|
9346
|
-
const
|
|
9489
|
+
const parsedType8 = (data) => {
|
|
9347
9490
|
const t = typeof data;
|
|
9348
9491
|
switch (t) {
|
|
9349
9492
|
case "number": {
|
|
@@ -9397,7 +9540,7 @@ var error36 = () => {
|
|
|
9397
9540
|
var _a17, _b, _c, _d;
|
|
9398
9541
|
switch (issue2.code) {
|
|
9399
9542
|
case "invalid_type":
|
|
9400
|
-
return `\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${issue2.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${
|
|
9543
|
+
return `\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${issue2.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${parsedType8(issue2.input)}`;
|
|
9401
9544
|
case "invalid_value":
|
|
9402
9545
|
if (issue2.values.length === 1)
|
|
9403
9546
|
return `\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -9447,13 +9590,13 @@ var error36 = () => {
|
|
|
9447
9590
|
};
|
|
9448
9591
|
function ta_default() {
|
|
9449
9592
|
return {
|
|
9450
|
-
localeError:
|
|
9593
|
+
localeError: error37()
|
|
9451
9594
|
};
|
|
9452
9595
|
}
|
|
9453
9596
|
|
|
9454
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9597
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/th.js
|
|
9455
9598
|
init_react_import();
|
|
9456
|
-
var
|
|
9599
|
+
var error38 = () => {
|
|
9457
9600
|
const Sizable = {
|
|
9458
9601
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
9459
9602
|
file: { unit: "\u0E44\u0E1A\u0E15\u0E4C", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -9464,7 +9607,7 @@ var error37 = () => {
|
|
|
9464
9607
|
var _a17;
|
|
9465
9608
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9466
9609
|
}
|
|
9467
|
-
const
|
|
9610
|
+
const parsedType8 = (data) => {
|
|
9468
9611
|
const t = typeof data;
|
|
9469
9612
|
switch (t) {
|
|
9470
9613
|
case "number": {
|
|
@@ -9518,7 +9661,7 @@ var error37 = () => {
|
|
|
9518
9661
|
var _a17, _b, _c, _d;
|
|
9519
9662
|
switch (issue2.code) {
|
|
9520
9663
|
case "invalid_type":
|
|
9521
|
-
return `\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${issue2.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${
|
|
9664
|
+
return `\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${issue2.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${parsedType8(issue2.input)}`;
|
|
9522
9665
|
case "invalid_value":
|
|
9523
9666
|
if (issue2.values.length === 1)
|
|
9524
9667
|
return `\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -9568,13 +9711,13 @@ var error37 = () => {
|
|
|
9568
9711
|
};
|
|
9569
9712
|
function th_default() {
|
|
9570
9713
|
return {
|
|
9571
|
-
localeError:
|
|
9714
|
+
localeError: error38()
|
|
9572
9715
|
};
|
|
9573
9716
|
}
|
|
9574
9717
|
|
|
9575
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9718
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/tr.js
|
|
9576
9719
|
init_react_import();
|
|
9577
|
-
var
|
|
9720
|
+
var parsedType7 = (data) => {
|
|
9578
9721
|
const t = typeof data;
|
|
9579
9722
|
switch (t) {
|
|
9580
9723
|
case "number": {
|
|
@@ -9594,7 +9737,7 @@ var parsedType6 = (data) => {
|
|
|
9594
9737
|
}
|
|
9595
9738
|
return t;
|
|
9596
9739
|
};
|
|
9597
|
-
var
|
|
9740
|
+
var error39 = () => {
|
|
9598
9741
|
const Sizable = {
|
|
9599
9742
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
9600
9743
|
file: { unit: "bayt", verb: "olmal\u0131" },
|
|
@@ -9639,7 +9782,7 @@ var error38 = () => {
|
|
|
9639
9782
|
var _a17, _b, _c, _d;
|
|
9640
9783
|
switch (issue2.code) {
|
|
9641
9784
|
case "invalid_type":
|
|
9642
|
-
return `Ge\xE7ersiz de\u011Fer: beklenen ${issue2.expected}, al\u0131nan ${
|
|
9785
|
+
return `Ge\xE7ersiz de\u011Fer: beklenen ${issue2.expected}, al\u0131nan ${parsedType7(issue2.input)}`;
|
|
9643
9786
|
case "invalid_value":
|
|
9644
9787
|
if (issue2.values.length === 1)
|
|
9645
9788
|
return `Ge\xE7ersiz de\u011Fer: beklenen ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -9687,16 +9830,16 @@ var error38 = () => {
|
|
|
9687
9830
|
};
|
|
9688
9831
|
function tr_default() {
|
|
9689
9832
|
return {
|
|
9690
|
-
localeError:
|
|
9833
|
+
localeError: error39()
|
|
9691
9834
|
};
|
|
9692
9835
|
}
|
|
9693
9836
|
|
|
9694
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9837
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ua.js
|
|
9695
9838
|
init_react_import();
|
|
9696
9839
|
|
|
9697
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9840
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/uk.js
|
|
9698
9841
|
init_react_import();
|
|
9699
|
-
var
|
|
9842
|
+
var error40 = () => {
|
|
9700
9843
|
const Sizable = {
|
|
9701
9844
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
9702
9845
|
file: { unit: "\u0431\u0430\u0439\u0442\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -9707,7 +9850,7 @@ var error39 = () => {
|
|
|
9707
9850
|
var _a17;
|
|
9708
9851
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9709
9852
|
}
|
|
9710
|
-
const
|
|
9853
|
+
const parsedType8 = (data) => {
|
|
9711
9854
|
const t = typeof data;
|
|
9712
9855
|
switch (t) {
|
|
9713
9856
|
case "number": {
|
|
@@ -9761,7 +9904,7 @@ var error39 = () => {
|
|
|
9761
9904
|
var _a17, _b, _c, _d;
|
|
9762
9905
|
switch (issue2.code) {
|
|
9763
9906
|
case "invalid_type":
|
|
9764
|
-
return `\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${issue2.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${
|
|
9907
|
+
return `\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${issue2.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${parsedType8(issue2.input)}`;
|
|
9765
9908
|
// return `Неправильні вхідні дані: очікується ${issue.expected}, отримано ${util.getParsedType(issue.input)}`;
|
|
9766
9909
|
case "invalid_value":
|
|
9767
9910
|
if (issue2.values.length === 1)
|
|
@@ -9811,18 +9954,18 @@ var error39 = () => {
|
|
|
9811
9954
|
};
|
|
9812
9955
|
function uk_default() {
|
|
9813
9956
|
return {
|
|
9814
|
-
localeError:
|
|
9957
|
+
localeError: error40()
|
|
9815
9958
|
};
|
|
9816
9959
|
}
|
|
9817
9960
|
|
|
9818
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9961
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ua.js
|
|
9819
9962
|
function ua_default() {
|
|
9820
9963
|
return uk_default();
|
|
9821
9964
|
}
|
|
9822
9965
|
|
|
9823
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9966
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ur.js
|
|
9824
9967
|
init_react_import();
|
|
9825
|
-
var
|
|
9968
|
+
var error41 = () => {
|
|
9826
9969
|
const Sizable = {
|
|
9827
9970
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
9828
9971
|
file: { unit: "\u0628\u0627\u0626\u0679\u0633", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -9833,7 +9976,7 @@ var error40 = () => {
|
|
|
9833
9976
|
var _a17;
|
|
9834
9977
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9835
9978
|
}
|
|
9836
|
-
const
|
|
9979
|
+
const parsedType8 = (data) => {
|
|
9837
9980
|
const t = typeof data;
|
|
9838
9981
|
switch (t) {
|
|
9839
9982
|
case "number": {
|
|
@@ -9887,7 +10030,7 @@ var error40 = () => {
|
|
|
9887
10030
|
var _a17, _b, _c, _d;
|
|
9888
10031
|
switch (issue2.code) {
|
|
9889
10032
|
case "invalid_type":
|
|
9890
|
-
return `\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${issue2.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${
|
|
10033
|
+
return `\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${issue2.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${parsedType8(issue2.input)} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`;
|
|
9891
10034
|
case "invalid_value":
|
|
9892
10035
|
if (issue2.values.length === 1)
|
|
9893
10036
|
return `\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${stringifyPrimitive(issue2.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;
|
|
@@ -9937,13 +10080,13 @@ var error40 = () => {
|
|
|
9937
10080
|
};
|
|
9938
10081
|
function ur_default() {
|
|
9939
10082
|
return {
|
|
9940
|
-
localeError:
|
|
10083
|
+
localeError: error41()
|
|
9941
10084
|
};
|
|
9942
10085
|
}
|
|
9943
10086
|
|
|
9944
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
10087
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/vi.js
|
|
9945
10088
|
init_react_import();
|
|
9946
|
-
var
|
|
10089
|
+
var error42 = () => {
|
|
9947
10090
|
const Sizable = {
|
|
9948
10091
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
9949
10092
|
file: { unit: "byte", verb: "c\xF3" },
|
|
@@ -9954,7 +10097,7 @@ var error41 = () => {
|
|
|
9954
10097
|
var _a17;
|
|
9955
10098
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9956
10099
|
}
|
|
9957
|
-
const
|
|
10100
|
+
const parsedType8 = (data) => {
|
|
9958
10101
|
const t = typeof data;
|
|
9959
10102
|
switch (t) {
|
|
9960
10103
|
case "number": {
|
|
@@ -10008,7 +10151,7 @@ var error41 = () => {
|
|
|
10008
10151
|
var _a17, _b, _c, _d;
|
|
10009
10152
|
switch (issue2.code) {
|
|
10010
10153
|
case "invalid_type":
|
|
10011
|
-
return `\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${issue2.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${
|
|
10154
|
+
return `\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${issue2.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${parsedType8(issue2.input)}`;
|
|
10012
10155
|
case "invalid_value":
|
|
10013
10156
|
if (issue2.values.length === 1)
|
|
10014
10157
|
return `\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -10057,13 +10200,13 @@ var error41 = () => {
|
|
|
10057
10200
|
};
|
|
10058
10201
|
function vi_default() {
|
|
10059
10202
|
return {
|
|
10060
|
-
localeError:
|
|
10203
|
+
localeError: error42()
|
|
10061
10204
|
};
|
|
10062
10205
|
}
|
|
10063
10206
|
|
|
10064
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
10207
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/zh-CN.js
|
|
10065
10208
|
init_react_import();
|
|
10066
|
-
var
|
|
10209
|
+
var error43 = () => {
|
|
10067
10210
|
const Sizable = {
|
|
10068
10211
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
10069
10212
|
file: { unit: "\u5B57\u8282", verb: "\u5305\u542B" },
|
|
@@ -10074,7 +10217,7 @@ var error42 = () => {
|
|
|
10074
10217
|
var _a17;
|
|
10075
10218
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
10076
10219
|
}
|
|
10077
|
-
const
|
|
10220
|
+
const parsedType8 = (data) => {
|
|
10078
10221
|
const t = typeof data;
|
|
10079
10222
|
switch (t) {
|
|
10080
10223
|
case "number": {
|
|
@@ -10128,7 +10271,7 @@ var error42 = () => {
|
|
|
10128
10271
|
var _a17, _b, _c, _d;
|
|
10129
10272
|
switch (issue2.code) {
|
|
10130
10273
|
case "invalid_type":
|
|
10131
|
-
return `\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${issue2.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${
|
|
10274
|
+
return `\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${issue2.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${parsedType8(issue2.input)}`;
|
|
10132
10275
|
case "invalid_value":
|
|
10133
10276
|
if (issue2.values.length === 1)
|
|
10134
10277
|
return `\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -10177,13 +10320,13 @@ var error42 = () => {
|
|
|
10177
10320
|
};
|
|
10178
10321
|
function zh_CN_default() {
|
|
10179
10322
|
return {
|
|
10180
|
-
localeError:
|
|
10323
|
+
localeError: error43()
|
|
10181
10324
|
};
|
|
10182
10325
|
}
|
|
10183
10326
|
|
|
10184
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
10327
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/zh-TW.js
|
|
10185
10328
|
init_react_import();
|
|
10186
|
-
var
|
|
10329
|
+
var error44 = () => {
|
|
10187
10330
|
const Sizable = {
|
|
10188
10331
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
10189
10332
|
file: { unit: "\u4F4D\u5143\u7D44", verb: "\u64C1\u6709" },
|
|
@@ -10194,7 +10337,7 @@ var error43 = () => {
|
|
|
10194
10337
|
var _a17;
|
|
10195
10338
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
10196
10339
|
}
|
|
10197
|
-
const
|
|
10340
|
+
const parsedType8 = (data) => {
|
|
10198
10341
|
const t = typeof data;
|
|
10199
10342
|
switch (t) {
|
|
10200
10343
|
case "number": {
|
|
@@ -10248,7 +10391,7 @@ var error43 = () => {
|
|
|
10248
10391
|
var _a17, _b, _c, _d;
|
|
10249
10392
|
switch (issue2.code) {
|
|
10250
10393
|
case "invalid_type":
|
|
10251
|
-
return `\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${issue2.expected}\uFF0C\u4F46\u6536\u5230 ${
|
|
10394
|
+
return `\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${issue2.expected}\uFF0C\u4F46\u6536\u5230 ${parsedType8(issue2.input)}`;
|
|
10252
10395
|
case "invalid_value":
|
|
10253
10396
|
if (issue2.values.length === 1)
|
|
10254
10397
|
return `\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -10298,13 +10441,13 @@ var error43 = () => {
|
|
|
10298
10441
|
};
|
|
10299
10442
|
function zh_TW_default() {
|
|
10300
10443
|
return {
|
|
10301
|
-
localeError:
|
|
10444
|
+
localeError: error44()
|
|
10302
10445
|
};
|
|
10303
10446
|
}
|
|
10304
10447
|
|
|
10305
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
10448
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/yo.js
|
|
10306
10449
|
init_react_import();
|
|
10307
|
-
var
|
|
10450
|
+
var error45 = () => {
|
|
10308
10451
|
const Sizable = {
|
|
10309
10452
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
10310
10453
|
file: { unit: "bytes", verb: "n\xED" },
|
|
@@ -10315,7 +10458,7 @@ var error44 = () => {
|
|
|
10315
10458
|
var _a17;
|
|
10316
10459
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
10317
10460
|
}
|
|
10318
|
-
const
|
|
10461
|
+
const parsedType8 = (data) => {
|
|
10319
10462
|
const t = typeof data;
|
|
10320
10463
|
switch (t) {
|
|
10321
10464
|
case "number": {
|
|
@@ -10369,7 +10512,7 @@ var error44 = () => {
|
|
|
10369
10512
|
var _a17, _b;
|
|
10370
10513
|
switch (issue2.code) {
|
|
10371
10514
|
case "invalid_type":
|
|
10372
|
-
return `\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${issue2.expected}, \xE0m\u1ECD\u0300 a r\xED ${
|
|
10515
|
+
return `\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${issue2.expected}, \xE0m\u1ECD\u0300 a r\xED ${parsedType8(issue2.input)}`;
|
|
10373
10516
|
case "invalid_value":
|
|
10374
10517
|
if (issue2.values.length === 1)
|
|
10375
10518
|
return `\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -10417,11 +10560,11 @@ var error44 = () => {
|
|
|
10417
10560
|
};
|
|
10418
10561
|
function yo_default() {
|
|
10419
10562
|
return {
|
|
10420
|
-
localeError:
|
|
10563
|
+
localeError: error45()
|
|
10421
10564
|
};
|
|
10422
10565
|
}
|
|
10423
10566
|
|
|
10424
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
10567
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/registries.js
|
|
10425
10568
|
init_react_import();
|
|
10426
10569
|
var $output = Symbol("ZodOutput");
|
|
10427
10570
|
var $input = Symbol("ZodInput");
|
|
@@ -10474,7 +10617,7 @@ function registry() {
|
|
|
10474
10617
|
}
|
|
10475
10618
|
var globalRegistry = /* @__PURE__ */ registry();
|
|
10476
10619
|
|
|
10477
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
10620
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/api.js
|
|
10478
10621
|
init_react_import();
|
|
10479
10622
|
function _string(Class2, params) {
|
|
10480
10623
|
return new Class2(__spreadValues({
|
|
@@ -11286,7 +11429,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
11286
11429
|
return inst;
|
|
11287
11430
|
}
|
|
11288
11431
|
|
|
11289
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
11432
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/to-json-schema.js
|
|
11290
11433
|
init_react_import();
|
|
11291
11434
|
var JSONSchemaGenerator = class {
|
|
11292
11435
|
constructor(params) {
|
|
@@ -12100,17 +12243,17 @@ function isTransforming(_schema, _ctx) {
|
|
|
12100
12243
|
throw new Error(`Unknown schema type: ${def.type}`);
|
|
12101
12244
|
}
|
|
12102
12245
|
|
|
12103
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12246
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/json-schema.js
|
|
12104
12247
|
var json_schema_exports = {};
|
|
12105
12248
|
init_react_import();
|
|
12106
12249
|
|
|
12107
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12250
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.js
|
|
12108
12251
|
init_react_import();
|
|
12109
12252
|
|
|
12110
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12253
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/checks.js
|
|
12111
12254
|
init_react_import();
|
|
12112
12255
|
|
|
12113
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12256
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/iso.js
|
|
12114
12257
|
var iso_exports = {};
|
|
12115
12258
|
__export(iso_exports, {
|
|
12116
12259
|
ZodISODate: () => ZodISODate,
|
|
@@ -12152,10 +12295,10 @@ function duration2(params) {
|
|
|
12152
12295
|
return _isoDuration(ZodISODuration, params);
|
|
12153
12296
|
}
|
|
12154
12297
|
|
|
12155
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12298
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/parse.js
|
|
12156
12299
|
init_react_import();
|
|
12157
12300
|
|
|
12158
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12301
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/errors.js
|
|
12159
12302
|
init_react_import();
|
|
12160
12303
|
var initializer2 = (inst, issues) => {
|
|
12161
12304
|
$ZodError.init(inst, issues);
|
|
@@ -12196,7 +12339,7 @@ var ZodRealError = $constructor("ZodError", initializer2, {
|
|
|
12196
12339
|
Parent: Error
|
|
12197
12340
|
});
|
|
12198
12341
|
|
|
12199
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12342
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/parse.js
|
|
12200
12343
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
12201
12344
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
12202
12345
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -12210,7 +12353,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
12210
12353
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
12211
12354
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
12212
12355
|
|
|
12213
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12356
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.js
|
|
12214
12357
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
12215
12358
|
$ZodType.init(inst, def);
|
|
12216
12359
|
inst.def = def;
|
|
@@ -12218,15 +12361,12 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
12218
12361
|
Object.defineProperty(inst, "_def", { value: def });
|
|
12219
12362
|
inst.check = (...checks) => {
|
|
12220
12363
|
var _a17;
|
|
12221
|
-
return inst.clone(
|
|
12222
|
-
|
|
12223
|
-
checks: [
|
|
12224
|
-
|
|
12225
|
-
|
|
12226
|
-
|
|
12227
|
-
})
|
|
12228
|
-
// { parent: true }
|
|
12229
|
-
);
|
|
12364
|
+
return inst.clone(util_exports.mergeDefs(def, {
|
|
12365
|
+
checks: [
|
|
12366
|
+
...(_a17 = def.checks) != null ? _a17 : [],
|
|
12367
|
+
...checks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
|
|
12368
|
+
]
|
|
12369
|
+
}));
|
|
12230
12370
|
};
|
|
12231
12371
|
inst.clone = (def2, params) => clone(inst, def2, params);
|
|
12232
12372
|
inst.brand = () => inst;
|
|
@@ -12701,7 +12841,9 @@ function keyof(schema) {
|
|
|
12701
12841
|
var ZodObject = /* @__PURE__ */ $constructor("ZodObject", (inst, def) => {
|
|
12702
12842
|
$ZodObjectJIT.init(inst, def);
|
|
12703
12843
|
ZodType.init(inst, def);
|
|
12704
|
-
util_exports.defineLazy(inst, "shape", () =>
|
|
12844
|
+
util_exports.defineLazy(inst, "shape", () => {
|
|
12845
|
+
return def.shape;
|
|
12846
|
+
});
|
|
12705
12847
|
inst.keyof = () => _enum2(Object.keys(inst._zod.def.shape));
|
|
12706
12848
|
inst.catchall = (catchall) => inst.clone(__spreadProps(__spreadValues({}, inst._zod.def), { catchall }));
|
|
12707
12849
|
inst.passthrough = () => inst.clone(__spreadProps(__spreadValues({}, inst._zod.def), { catchall: unknown() }));
|
|
@@ -12723,30 +12865,21 @@ var ZodObject = /* @__PURE__ */ $constructor("ZodObject", (inst, def) => {
|
|
|
12723
12865
|
function object(shape, params) {
|
|
12724
12866
|
const def = __spreadValues({
|
|
12725
12867
|
type: "object",
|
|
12726
|
-
|
|
12727
|
-
util_exports.assignProp(this, "shape", shape ? util_exports.objectClone(shape) : {});
|
|
12728
|
-
return this.shape;
|
|
12729
|
-
}
|
|
12868
|
+
shape: shape != null ? shape : {}
|
|
12730
12869
|
}, util_exports.normalizeParams(params));
|
|
12731
12870
|
return new ZodObject(def);
|
|
12732
12871
|
}
|
|
12733
12872
|
function strictObject(shape, params) {
|
|
12734
12873
|
return new ZodObject(__spreadValues({
|
|
12735
12874
|
type: "object",
|
|
12736
|
-
|
|
12737
|
-
util_exports.assignProp(this, "shape", util_exports.objectClone(shape));
|
|
12738
|
-
return this.shape;
|
|
12739
|
-
},
|
|
12875
|
+
shape,
|
|
12740
12876
|
catchall: never()
|
|
12741
12877
|
}, util_exports.normalizeParams(params)));
|
|
12742
12878
|
}
|
|
12743
12879
|
function looseObject(shape, params) {
|
|
12744
12880
|
return new ZodObject(__spreadValues({
|
|
12745
12881
|
type: "object",
|
|
12746
|
-
|
|
12747
|
-
util_exports.assignProp(this, "shape", util_exports.objectClone(shape));
|
|
12748
|
-
return this.shape;
|
|
12749
|
-
},
|
|
12882
|
+
shape,
|
|
12750
12883
|
catchall: unknown()
|
|
12751
12884
|
}, util_exports.normalizeParams(params)));
|
|
12752
12885
|
}
|
|
@@ -13190,7 +13323,7 @@ function preprocess(fn, schema) {
|
|
|
13190
13323
|
return pipe(transform(fn), schema);
|
|
13191
13324
|
}
|
|
13192
13325
|
|
|
13193
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13326
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/compat.js
|
|
13194
13327
|
init_react_import();
|
|
13195
13328
|
var ZodIssueCode = {
|
|
13196
13329
|
invalid_type: "invalid_type",
|
|
@@ -13217,7 +13350,7 @@ var ZodFirstPartyTypeKind;
|
|
|
13217
13350
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind3) {
|
|
13218
13351
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
13219
13352
|
|
|
13220
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13353
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/coerce.js
|
|
13221
13354
|
var coerce_exports = {};
|
|
13222
13355
|
__export(coerce_exports, {
|
|
13223
13356
|
bigint: () => bigint3,
|
|
@@ -13243,25 +13376,25 @@ function date4(params) {
|
|
|
13243
13376
|
return _coercedDate(ZodDate, params);
|
|
13244
13377
|
}
|
|
13245
13378
|
|
|
13246
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13379
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/external.js
|
|
13247
13380
|
config(en_default());
|
|
13248
13381
|
|
|
13249
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13382
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/index.js
|
|
13250
13383
|
init_react_import();
|
|
13251
13384
|
|
|
13252
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13385
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/external.js
|
|
13253
13386
|
init_react_import();
|
|
13254
13387
|
|
|
13255
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13388
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/errors.js
|
|
13256
13389
|
init_react_import();
|
|
13257
13390
|
|
|
13258
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13391
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/locales/en.js
|
|
13259
13392
|
init_react_import();
|
|
13260
13393
|
|
|
13261
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13394
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/ZodError.js
|
|
13262
13395
|
init_react_import();
|
|
13263
13396
|
|
|
13264
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13397
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/helpers/util.js
|
|
13265
13398
|
init_react_import();
|
|
13266
13399
|
var util;
|
|
13267
13400
|
(function(util2) {
|
|
@@ -13392,7 +13525,7 @@ var getParsedType2 = (data) => {
|
|
|
13392
13525
|
}
|
|
13393
13526
|
};
|
|
13394
13527
|
|
|
13395
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13528
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/ZodError.js
|
|
13396
13529
|
var ZodIssueCode2 = util.arrayToEnum([
|
|
13397
13530
|
"invalid_type",
|
|
13398
13531
|
"invalid_literal",
|
|
@@ -13438,8 +13571,8 @@ var ZodError2 = class _ZodError extends Error {
|
|
|
13438
13571
|
return issue2.message;
|
|
13439
13572
|
};
|
|
13440
13573
|
const fieldErrors = { _errors: [] };
|
|
13441
|
-
const processError = (
|
|
13442
|
-
for (const issue2 of
|
|
13574
|
+
const processError = (error46) => {
|
|
13575
|
+
for (const issue2 of error46.issues) {
|
|
13443
13576
|
if (issue2.code === "invalid_union") {
|
|
13444
13577
|
issue2.unionErrors.map(processError);
|
|
13445
13578
|
} else if (issue2.code === "invalid_return_type") {
|
|
@@ -13484,7 +13617,7 @@ var ZodError2 = class _ZodError extends Error {
|
|
|
13484
13617
|
return this.issues.length === 0;
|
|
13485
13618
|
}
|
|
13486
13619
|
flatten(mapper = (issue2) => issue2.message) {
|
|
13487
|
-
const fieldErrors =
|
|
13620
|
+
const fieldErrors = /* @__PURE__ */ Object.create(null);
|
|
13488
13621
|
const formErrors = [];
|
|
13489
13622
|
for (const sub of this.issues) {
|
|
13490
13623
|
if (sub.path.length > 0) {
|
|
@@ -13502,11 +13635,11 @@ var ZodError2 = class _ZodError extends Error {
|
|
|
13502
13635
|
}
|
|
13503
13636
|
};
|
|
13504
13637
|
ZodError2.create = (issues) => {
|
|
13505
|
-
const
|
|
13506
|
-
return
|
|
13638
|
+
const error46 = new ZodError2(issues);
|
|
13639
|
+
return error46;
|
|
13507
13640
|
};
|
|
13508
13641
|
|
|
13509
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13642
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/locales/en.js
|
|
13510
13643
|
var errorMap = (issue2, _ctx) => {
|
|
13511
13644
|
let message;
|
|
13512
13645
|
switch (issue2.code) {
|
|
@@ -13609,13 +13742,13 @@ var errorMap = (issue2, _ctx) => {
|
|
|
13609
13742
|
};
|
|
13610
13743
|
var en_default2 = errorMap;
|
|
13611
13744
|
|
|
13612
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13745
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/errors.js
|
|
13613
13746
|
var overrideErrorMap = en_default2;
|
|
13614
13747
|
function getErrorMap2() {
|
|
13615
13748
|
return overrideErrorMap;
|
|
13616
13749
|
}
|
|
13617
13750
|
|
|
13618
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13751
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/helpers/parseUtil.js
|
|
13619
13752
|
init_react_import();
|
|
13620
13753
|
var makeIssue = (params) => {
|
|
13621
13754
|
const { data, path, errorMaps, issueData } = params;
|
|
@@ -13724,13 +13857,13 @@ var isDirty = (x) => x.status === "dirty";
|
|
|
13724
13857
|
var isValid = (x) => x.status === "valid";
|
|
13725
13858
|
var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
|
|
13726
13859
|
|
|
13727
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13860
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/helpers/typeAliases.js
|
|
13728
13861
|
init_react_import();
|
|
13729
13862
|
|
|
13730
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13863
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/types.js
|
|
13731
13864
|
init_react_import();
|
|
13732
13865
|
|
|
13733
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13866
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/helpers/errorUtil.js
|
|
13734
13867
|
init_react_import();
|
|
13735
13868
|
var errorUtil;
|
|
13736
13869
|
(function(errorUtil2) {
|
|
@@ -13738,7 +13871,7 @@ var errorUtil;
|
|
|
13738
13871
|
errorUtil2.toString = (message) => typeof message === "string" ? message : message == null ? void 0 : message.message;
|
|
13739
13872
|
})(errorUtil || (errorUtil = {}));
|
|
13740
13873
|
|
|
13741
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13874
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/types.js
|
|
13742
13875
|
var ParseInputLazyPath = class {
|
|
13743
13876
|
constructor(parent, value, path, key) {
|
|
13744
13877
|
this._cachedPath = [];
|
|
@@ -13770,8 +13903,8 @@ var handleResult = (ctx2, result) => {
|
|
|
13770
13903
|
get error() {
|
|
13771
13904
|
if (this._error)
|
|
13772
13905
|
return this._error;
|
|
13773
|
-
const
|
|
13774
|
-
this._error =
|
|
13906
|
+
const error46 = new ZodError2(ctx2.common.issues);
|
|
13907
|
+
this._error = error46;
|
|
13775
13908
|
return this._error;
|
|
13776
13909
|
}
|
|
13777
13910
|
};
|
|
@@ -14169,8 +14302,8 @@ var ZodString2 = class _ZodString2 extends ZodType2 {
|
|
|
14169
14302
|
if (this._def.coerce) {
|
|
14170
14303
|
input.data = String(input.data);
|
|
14171
14304
|
}
|
|
14172
|
-
const
|
|
14173
|
-
if (
|
|
14305
|
+
const parsedType8 = this._getType(input);
|
|
14306
|
+
if (parsedType8 !== ZodParsedType.string) {
|
|
14174
14307
|
const ctx3 = this._getOrReturnCtx(input);
|
|
14175
14308
|
addIssueToContext(ctx3, {
|
|
14176
14309
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -14715,8 +14848,8 @@ var ZodNumber2 = class _ZodNumber extends ZodType2 {
|
|
|
14715
14848
|
if (this._def.coerce) {
|
|
14716
14849
|
input.data = Number(input.data);
|
|
14717
14850
|
}
|
|
14718
|
-
const
|
|
14719
|
-
if (
|
|
14851
|
+
const parsedType8 = this._getType(input);
|
|
14852
|
+
if (parsedType8 !== ZodParsedType.number) {
|
|
14720
14853
|
const ctx3 = this._getOrReturnCtx(input);
|
|
14721
14854
|
addIssueToContext(ctx3, {
|
|
14722
14855
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -14947,8 +15080,8 @@ var ZodBigInt2 = class _ZodBigInt extends ZodType2 {
|
|
|
14947
15080
|
return this._getInvalidInput(input);
|
|
14948
15081
|
}
|
|
14949
15082
|
}
|
|
14950
|
-
const
|
|
14951
|
-
if (
|
|
15083
|
+
const parsedType8 = this._getType(input);
|
|
15084
|
+
if (parsedType8 !== ZodParsedType.bigint) {
|
|
14952
15085
|
return this._getInvalidInput(input);
|
|
14953
15086
|
}
|
|
14954
15087
|
let ctx2 = void 0;
|
|
@@ -15108,8 +15241,8 @@ var ZodBoolean2 = class extends ZodType2 {
|
|
|
15108
15241
|
if (this._def.coerce) {
|
|
15109
15242
|
input.data = Boolean(input.data);
|
|
15110
15243
|
}
|
|
15111
|
-
const
|
|
15112
|
-
if (
|
|
15244
|
+
const parsedType8 = this._getType(input);
|
|
15245
|
+
if (parsedType8 !== ZodParsedType.boolean) {
|
|
15113
15246
|
const ctx2 = this._getOrReturnCtx(input);
|
|
15114
15247
|
addIssueToContext(ctx2, {
|
|
15115
15248
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -15132,8 +15265,8 @@ var ZodDate2 = class _ZodDate extends ZodType2 {
|
|
|
15132
15265
|
if (this._def.coerce) {
|
|
15133
15266
|
input.data = new Date(input.data);
|
|
15134
15267
|
}
|
|
15135
|
-
const
|
|
15136
|
-
if (
|
|
15268
|
+
const parsedType8 = this._getType(input);
|
|
15269
|
+
if (parsedType8 !== ZodParsedType.date) {
|
|
15137
15270
|
const ctx3 = this._getOrReturnCtx(input);
|
|
15138
15271
|
addIssueToContext(ctx3, {
|
|
15139
15272
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -15236,8 +15369,8 @@ ZodDate2.create = (params) => {
|
|
|
15236
15369
|
};
|
|
15237
15370
|
var ZodSymbol2 = class extends ZodType2 {
|
|
15238
15371
|
_parse(input) {
|
|
15239
|
-
const
|
|
15240
|
-
if (
|
|
15372
|
+
const parsedType8 = this._getType(input);
|
|
15373
|
+
if (parsedType8 !== ZodParsedType.symbol) {
|
|
15241
15374
|
const ctx2 = this._getOrReturnCtx(input);
|
|
15242
15375
|
addIssueToContext(ctx2, {
|
|
15243
15376
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -15256,8 +15389,8 @@ ZodSymbol2.create = (params) => {
|
|
|
15256
15389
|
};
|
|
15257
15390
|
var ZodUndefined2 = class extends ZodType2 {
|
|
15258
15391
|
_parse(input) {
|
|
15259
|
-
const
|
|
15260
|
-
if (
|
|
15392
|
+
const parsedType8 = this._getType(input);
|
|
15393
|
+
if (parsedType8 !== ZodParsedType.undefined) {
|
|
15261
15394
|
const ctx2 = this._getOrReturnCtx(input);
|
|
15262
15395
|
addIssueToContext(ctx2, {
|
|
15263
15396
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -15276,8 +15409,8 @@ ZodUndefined2.create = (params) => {
|
|
|
15276
15409
|
};
|
|
15277
15410
|
var ZodNull2 = class extends ZodType2 {
|
|
15278
15411
|
_parse(input) {
|
|
15279
|
-
const
|
|
15280
|
-
if (
|
|
15412
|
+
const parsedType8 = this._getType(input);
|
|
15413
|
+
if (parsedType8 !== ZodParsedType.null) {
|
|
15281
15414
|
const ctx2 = this._getOrReturnCtx(input);
|
|
15282
15415
|
addIssueToContext(ctx2, {
|
|
15283
15416
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -15340,8 +15473,8 @@ ZodNever2.create = (params) => {
|
|
|
15340
15473
|
};
|
|
15341
15474
|
var ZodVoid2 = class extends ZodType2 {
|
|
15342
15475
|
_parse(input) {
|
|
15343
|
-
const
|
|
15344
|
-
if (
|
|
15476
|
+
const parsedType8 = this._getType(input);
|
|
15477
|
+
if (parsedType8 !== ZodParsedType.undefined) {
|
|
15345
15478
|
const ctx2 = this._getOrReturnCtx(input);
|
|
15346
15479
|
addIssueToContext(ctx2, {
|
|
15347
15480
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -15495,8 +15628,8 @@ var ZodObject2 = class _ZodObject extends ZodType2 {
|
|
|
15495
15628
|
return this._cached;
|
|
15496
15629
|
}
|
|
15497
15630
|
_parse(input) {
|
|
15498
|
-
const
|
|
15499
|
-
if (
|
|
15631
|
+
const parsedType8 = this._getType(input);
|
|
15632
|
+
if (parsedType8 !== ZodParsedType.object) {
|
|
15500
15633
|
const ctx3 = this._getOrReturnCtx(input);
|
|
15501
15634
|
addIssueToContext(ctx3, {
|
|
15502
15635
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -16359,25 +16492,25 @@ var ZodFunction2 = class _ZodFunction extends ZodType2 {
|
|
|
16359
16492
|
});
|
|
16360
16493
|
return INVALID;
|
|
16361
16494
|
}
|
|
16362
|
-
function makeArgsIssue(args,
|
|
16495
|
+
function makeArgsIssue(args, error46) {
|
|
16363
16496
|
return makeIssue({
|
|
16364
16497
|
data: args,
|
|
16365
16498
|
path: ctx2.path,
|
|
16366
16499
|
errorMaps: [ctx2.common.contextualErrorMap, ctx2.schemaErrorMap, getErrorMap2(), en_default2].filter((x) => !!x),
|
|
16367
16500
|
issueData: {
|
|
16368
16501
|
code: ZodIssueCode2.invalid_arguments,
|
|
16369
|
-
argumentsError:
|
|
16502
|
+
argumentsError: error46
|
|
16370
16503
|
}
|
|
16371
16504
|
});
|
|
16372
16505
|
}
|
|
16373
|
-
function makeReturnsIssue(returns,
|
|
16506
|
+
function makeReturnsIssue(returns, error46) {
|
|
16374
16507
|
return makeIssue({
|
|
16375
16508
|
data: returns,
|
|
16376
16509
|
path: ctx2.path,
|
|
16377
16510
|
errorMaps: [ctx2.common.contextualErrorMap, ctx2.schemaErrorMap, getErrorMap2(), en_default2].filter((x) => !!x),
|
|
16378
16511
|
issueData: {
|
|
16379
16512
|
code: ZodIssueCode2.invalid_return_type,
|
|
16380
|
-
returnTypeError:
|
|
16513
|
+
returnTypeError: error46
|
|
16381
16514
|
}
|
|
16382
16515
|
});
|
|
16383
16516
|
}
|
|
@@ -16387,15 +16520,15 @@ var ZodFunction2 = class _ZodFunction extends ZodType2 {
|
|
|
16387
16520
|
const me = this;
|
|
16388
16521
|
return OK(function(...args) {
|
|
16389
16522
|
return __async(this, null, function* () {
|
|
16390
|
-
const
|
|
16523
|
+
const error46 = new ZodError2([]);
|
|
16391
16524
|
const parsedArgs = yield me._def.args.parseAsync(args, params).catch((e) => {
|
|
16392
|
-
|
|
16393
|
-
throw
|
|
16525
|
+
error46.addIssue(makeArgsIssue(args, e));
|
|
16526
|
+
throw error46;
|
|
16394
16527
|
});
|
|
16395
16528
|
const result = yield Reflect.apply(fn, this, parsedArgs);
|
|
16396
16529
|
const parsedReturns = yield me._def.returns._def.type.parseAsync(result, params).catch((e) => {
|
|
16397
|
-
|
|
16398
|
-
throw
|
|
16530
|
+
error46.addIssue(makeReturnsIssue(result, e));
|
|
16531
|
+
throw error46;
|
|
16399
16532
|
});
|
|
16400
16533
|
return parsedReturns;
|
|
16401
16534
|
});
|
|
@@ -16757,8 +16890,8 @@ ZodEffects.createWithPreprocess = (preprocess2, schema, params) => {
|
|
|
16757
16890
|
};
|
|
16758
16891
|
var ZodOptional2 = class extends ZodType2 {
|
|
16759
16892
|
_parse(input) {
|
|
16760
|
-
const
|
|
16761
|
-
if (
|
|
16893
|
+
const parsedType8 = this._getType(input);
|
|
16894
|
+
if (parsedType8 === ZodParsedType.undefined) {
|
|
16762
16895
|
return OK(void 0);
|
|
16763
16896
|
}
|
|
16764
16897
|
return this._def.innerType._parse(input);
|
|
@@ -16775,8 +16908,8 @@ ZodOptional2.create = (type, params) => {
|
|
|
16775
16908
|
};
|
|
16776
16909
|
var ZodNullable2 = class extends ZodType2 {
|
|
16777
16910
|
_parse(input) {
|
|
16778
|
-
const
|
|
16779
|
-
if (
|
|
16911
|
+
const parsedType8 = this._getType(input);
|
|
16912
|
+
if (parsedType8 === ZodParsedType.null) {
|
|
16780
16913
|
return OK(null);
|
|
16781
16914
|
}
|
|
16782
16915
|
return this._def.innerType._parse(input);
|
|
@@ -16865,8 +16998,8 @@ ZodCatch2.create = (type, params) => {
|
|
|
16865
16998
|
};
|
|
16866
16999
|
var ZodNaN2 = class extends ZodType2 {
|
|
16867
17000
|
_parse(input) {
|
|
16868
|
-
const
|
|
16869
|
-
if (
|
|
17001
|
+
const parsedType8 = this._getType(input);
|
|
17002
|
+
if (parsedType8 !== ZodParsedType.nan) {
|
|
16870
17003
|
const ctx2 = this._getOrReturnCtx(input);
|
|
16871
17004
|
addIssueToContext(ctx2, {
|
|
16872
17005
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -17051,7 +17184,7 @@ var nullableType = ZodNullable2.create;
|
|
|
17051
17184
|
var preprocessType = ZodEffects.createWithPreprocess;
|
|
17052
17185
|
var pipelineType = ZodPipeline.create;
|
|
17053
17186
|
|
|
17054
|
-
// ../../node_modules/.pnpm/@ai-sdk+provider-utils@3.0.7_zod@4.1.
|
|
17187
|
+
// ../../node_modules/.pnpm/@ai-sdk+provider-utils@3.0.7_zod@4.1.12/node_modules/@ai-sdk/provider-utils/dist/index.mjs
|
|
17055
17188
|
var createIdGenerator = ({
|
|
17056
17189
|
prefix,
|
|
17057
17190
|
size = 16,
|
|
@@ -17174,10 +17307,10 @@ function safeValidateTypes(_0) {
|
|
|
17174
17307
|
error: TypeValidationError.wrap({ value, cause: result.error }),
|
|
17175
17308
|
rawValue: value
|
|
17176
17309
|
};
|
|
17177
|
-
} catch (
|
|
17310
|
+
} catch (error46) {
|
|
17178
17311
|
return {
|
|
17179
17312
|
success: false,
|
|
17180
|
-
error: TypeValidationError.wrap({ value, cause:
|
|
17313
|
+
error: TypeValidationError.wrap({ value, cause: error46 }),
|
|
17181
17314
|
rawValue: value
|
|
17182
17315
|
};
|
|
17183
17316
|
}
|
|
@@ -17194,10 +17327,10 @@ function safeParseJSON(_0) {
|
|
|
17194
17327
|
return { success: true, value, rawValue: value };
|
|
17195
17328
|
}
|
|
17196
17329
|
return yield safeValidateTypes({ value, schema });
|
|
17197
|
-
} catch (
|
|
17330
|
+
} catch (error46) {
|
|
17198
17331
|
return {
|
|
17199
17332
|
success: false,
|
|
17200
|
-
error: JSONParseError.isInstance(
|
|
17333
|
+
error: JSONParseError.isInstance(error46) ? error46 : new JSONParseError({ text: text2, cause: error46 }),
|
|
17201
17334
|
rawValue: void 0
|
|
17202
17335
|
};
|
|
17203
17336
|
}
|
|
@@ -17411,14 +17544,14 @@ function parseIntersectionDef(def, refs) {
|
|
|
17411
17544
|
return mergedAllOf.length ? { allOf: mergedAllOf } : void 0;
|
|
17412
17545
|
}
|
|
17413
17546
|
function parseLiteralDef(def) {
|
|
17414
|
-
const
|
|
17415
|
-
if (
|
|
17547
|
+
const parsedType8 = typeof def.value;
|
|
17548
|
+
if (parsedType8 !== "bigint" && parsedType8 !== "number" && parsedType8 !== "boolean" && parsedType8 !== "string") {
|
|
17416
17549
|
return {
|
|
17417
17550
|
type: Array.isArray(def.value) ? "array" : "object"
|
|
17418
17551
|
};
|
|
17419
17552
|
}
|
|
17420
17553
|
return {
|
|
17421
|
-
type:
|
|
17554
|
+
type: parsedType8 === "bigint" ? "integer" : parsedType8,
|
|
17422
17555
|
const: def.value
|
|
17423
17556
|
};
|
|
17424
17557
|
}
|
|
@@ -18364,7 +18497,7 @@ function asSchema(schema) {
|
|
|
18364
18497
|
}
|
|
18365
18498
|
var { btoa: btoa2, atob: atob2 } = globalThis;
|
|
18366
18499
|
|
|
18367
|
-
// ../../node_modules/.pnpm/ai@5.0.29_zod@4.1.
|
|
18500
|
+
// ../../node_modules/.pnpm/ai@5.0.29_zod@4.1.12/node_modules/ai/dist/index.mjs
|
|
18368
18501
|
var __defProp2 = Object.defineProperty;
|
|
18369
18502
|
var __export2 = (target, all) => {
|
|
18370
18503
|
for (var name17 in all)
|
|
@@ -18420,8 +18553,8 @@ var NoObjectGeneratedError = class extends AISDKError {
|
|
|
18420
18553
|
this.usage = usage;
|
|
18421
18554
|
this.finishReason = finishReason;
|
|
18422
18555
|
}
|
|
18423
|
-
static isInstance(
|
|
18424
|
-
return AISDKError.hasMarker(
|
|
18556
|
+
static isInstance(error46) {
|
|
18557
|
+
return AISDKError.hasMarker(error46, marker72);
|
|
18425
18558
|
}
|
|
18426
18559
|
};
|
|
18427
18560
|
_a72 = symbol72;
|
|
@@ -19603,8 +19736,8 @@ function consumeStream(_0) {
|
|
|
19603
19736
|
if (done)
|
|
19604
19737
|
break;
|
|
19605
19738
|
}
|
|
19606
|
-
} catch (
|
|
19607
|
-
onError == null ? void 0 : onError(
|
|
19739
|
+
} catch (error46) {
|
|
19740
|
+
onError == null ? void 0 : onError(error46);
|
|
19608
19741
|
} finally {
|
|
19609
19742
|
reader.releaseLock();
|
|
19610
19743
|
}
|
|
@@ -19640,8 +19773,8 @@ var SerialJobExecutor = class {
|
|
|
19640
19773
|
try {
|
|
19641
19774
|
yield job();
|
|
19642
19775
|
resolve2();
|
|
19643
|
-
} catch (
|
|
19644
|
-
reject(
|
|
19776
|
+
} catch (error46) {
|
|
19777
|
+
reject(error46);
|
|
19645
19778
|
}
|
|
19646
19779
|
}));
|
|
19647
19780
|
void this.processQueue();
|
|
@@ -19877,7 +20010,7 @@ function convertFileListToFileUIParts(files) {
|
|
|
19877
20010
|
var _a17;
|
|
19878
20011
|
resolve2((_a17 = readerEvent.target) == null ? void 0 : _a17.result);
|
|
19879
20012
|
};
|
|
19880
|
-
reader.onerror = (
|
|
20013
|
+
reader.onerror = (error46) => reject(error46);
|
|
19881
20014
|
reader.readAsDataURL(file2);
|
|
19882
20015
|
});
|
|
19883
20016
|
return {
|
|
@@ -20180,12 +20313,12 @@ var AbstractChat = class {
|
|
|
20180
20313
|
}
|
|
20181
20314
|
setStatus({
|
|
20182
20315
|
status,
|
|
20183
|
-
error:
|
|
20316
|
+
error: error46
|
|
20184
20317
|
}) {
|
|
20185
20318
|
if (this.status === status)
|
|
20186
20319
|
return;
|
|
20187
20320
|
this.state.status = status;
|
|
20188
|
-
this.state.error =
|
|
20321
|
+
this.state.error = error46;
|
|
20189
20322
|
}
|
|
20190
20323
|
get error() {
|
|
20191
20324
|
return this.state.error;
|
|
@@ -20279,12 +20412,12 @@ var AbstractChat = class {
|
|
|
20279
20412
|
messageMetadataSchema: this.messageMetadataSchema,
|
|
20280
20413
|
dataPartSchemas: this.dataPartSchemas,
|
|
20281
20414
|
runUpdateMessageJob,
|
|
20282
|
-
onError: (
|
|
20283
|
-
throw
|
|
20415
|
+
onError: (error46) => {
|
|
20416
|
+
throw error46;
|
|
20284
20417
|
}
|
|
20285
20418
|
}),
|
|
20286
|
-
onError: (
|
|
20287
|
-
throw
|
|
20419
|
+
onError: (error46) => {
|
|
20420
|
+
throw error46;
|
|
20288
20421
|
}
|
|
20289
20422
|
});
|
|
20290
20423
|
this.setStatus({ status: "ready" });
|
|
@@ -20469,7 +20602,7 @@ var uiMessageSchema = external_exports.object({
|
|
|
20469
20602
|
)
|
|
20470
20603
|
});
|
|
20471
20604
|
|
|
20472
|
-
// ../../node_modules/.pnpm/@ai-sdk+react@2.0.29_react@19.1.1_zod@4.1.
|
|
20605
|
+
// ../../node_modules/.pnpm/@ai-sdk+react@2.0.29_react@19.1.1_zod@4.1.12/node_modules/@ai-sdk/react/dist/index.mjs
|
|
20473
20606
|
var import_throttleit = __toESM(require_throttleit(), 1);
|
|
20474
20607
|
import { useCallback as useCallback2, useEffect as useEffect2, useId, useRef as useRef2, useState } from "react";
|
|
20475
20608
|
import { useCallback as useCallback3, useId as useId2, useRef as useRef3, useState as useState2 } from "react";
|
|
@@ -20636,7 +20769,7 @@ function useChat(_a17 = {}) {
|
|
|
20636
20769
|
() => chatRef.current.status,
|
|
20637
20770
|
() => chatRef.current.status
|
|
20638
20771
|
);
|
|
20639
|
-
const
|
|
20772
|
+
const error46 = useSyncExternalStore(
|
|
20640
20773
|
chatRef.current["~registerErrorCallback"],
|
|
20641
20774
|
() => chatRef.current.error,
|
|
20642
20775
|
() => chatRef.current.error
|
|
@@ -20663,7 +20796,7 @@ function useChat(_a17 = {}) {
|
|
|
20663
20796
|
regenerate: chatRef.current.regenerate,
|
|
20664
20797
|
clearError: chatRef.current.clearError,
|
|
20665
20798
|
stop: chatRef.current.stop,
|
|
20666
|
-
error:
|
|
20799
|
+
error: error46,
|
|
20667
20800
|
resumeStream: chatRef.current.resumeStream,
|
|
20668
20801
|
status,
|
|
20669
20802
|
addToolResult: chatRef.current.addToolResult
|
|
@@ -21413,7 +21546,7 @@ function ChatBody({
|
|
|
21413
21546
|
inputRef,
|
|
21414
21547
|
messages = [],
|
|
21415
21548
|
status,
|
|
21416
|
-
error:
|
|
21549
|
+
error: error46,
|
|
21417
21550
|
handleRetry
|
|
21418
21551
|
}) {
|
|
21419
21552
|
const { scrollRef, contentRef } = useStickToBottom();
|
|
@@ -21423,7 +21556,7 @@ function ChatBody({
|
|
|
21423
21556
|
/* @__PURE__ */ jsxs12("div", { className: cx6("inner"), ref: scrollRef, children: [
|
|
21424
21557
|
/* @__PURE__ */ jsx24("div", { className: cx6("messages"), ref: contentRef, children: messages.toReversed().map((message) => /* @__PURE__ */ jsx24(ChatMessage, { message }, message.id)) }),
|
|
21425
21558
|
status === "submitted" && /* @__PURE__ */ jsx24("div", { className: cx6("loader"), children: /* @__PURE__ */ jsx24(Loader, { size: 14 }) }),
|
|
21426
|
-
|
|
21559
|
+
error46 && /* @__PURE__ */ jsxs12("div", { className: cx6("error"), children: [
|
|
21427
21560
|
/* @__PURE__ */ jsx24("div", { className: cx6("errorLabel"), children: "Something went wrong." }),
|
|
21428
21561
|
handleRetry && /* @__PURE__ */ jsx24("div", { className: cx6("errorAction"), children: /* @__PURE__ */ jsx24(IconButton, { title: "Retry", onClick: handleRetry, children: /* @__PURE__ */ jsx24(RotateCcw, { size: "14" }) }) })
|
|
21429
21562
|
] }),
|
|
@@ -21522,22 +21655,18 @@ var BENCHMARK = false;
|
|
|
21522
21655
|
var prefixedUlid = (prefix = "") => `${prefix ? `${prefix}_` : ""}${ulid3()}`;
|
|
21523
21656
|
var getClassName16 = getClassNameFactory("Chat", styles_module_default);
|
|
21524
21657
|
var usePuck = createUsePuck();
|
|
21525
|
-
function Chat2({
|
|
21526
|
-
|
|
21527
|
-
examplePrompts,
|
|
21528
|
-
host = "/api/puck/chat",
|
|
21529
|
-
initialMessages = []
|
|
21530
|
-
}) {
|
|
21658
|
+
function Chat2({ chat, host = "/api/puck/chat" }) {
|
|
21659
|
+
const { examplePrompts } = chat != null ? chat : {};
|
|
21531
21660
|
const puckDispatch = usePuck((s) => s.dispatch);
|
|
21532
21661
|
const getPuck = useGetPuck();
|
|
21533
|
-
const localChatId = useRef7(
|
|
21662
|
+
const localChatId = useRef7("");
|
|
21534
21663
|
const inputRef = useRef7(null);
|
|
21535
21664
|
const pluginRef = useRef7(null);
|
|
21536
|
-
const [
|
|
21665
|
+
const [error46, setError] = useState10();
|
|
21537
21666
|
const [toolStatus, setToolStatus] = useState10({});
|
|
21538
21667
|
const { messages, status, sendMessage, regenerate } = useChat({
|
|
21539
21668
|
generateId: () => prefixedUlid("msg"),
|
|
21540
|
-
messages:
|
|
21669
|
+
messages: [],
|
|
21541
21670
|
transport: new DefaultChatTransport({
|
|
21542
21671
|
api: host,
|
|
21543
21672
|
prepareSendMessagesRequest: (opts) => {
|
|
@@ -21550,7 +21679,7 @@ function Chat2({
|
|
|
21550
21679
|
fields: {
|
|
21551
21680
|
title: {
|
|
21552
21681
|
type: "text",
|
|
21553
|
-
|
|
21682
|
+
ai: { instructions: "The title for the page" }
|
|
21554
21683
|
}
|
|
21555
21684
|
}
|
|
21556
21685
|
};
|
|
@@ -21766,7 +21895,7 @@ function Chat2({
|
|
|
21766
21895
|
inputRef,
|
|
21767
21896
|
status,
|
|
21768
21897
|
examplePrompts: examplePrompts == null ? void 0 : examplePrompts.map(({ label, href }) => /* @__PURE__ */ jsx25(ExamplePrompt, { label, href }, label)),
|
|
21769
|
-
error:
|
|
21898
|
+
error: error46,
|
|
21770
21899
|
handleRetry: () => {
|
|
21771
21900
|
setError("");
|
|
21772
21901
|
regenerate();
|
|
@@ -21839,7 +21968,7 @@ function isScrolledIntoView(el) {
|
|
|
21839
21968
|
|
|
21840
21969
|
// src/index.tsx
|
|
21841
21970
|
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
21842
|
-
function
|
|
21971
|
+
function createAiPlugin(opts) {
|
|
21843
21972
|
return {
|
|
21844
21973
|
label: "AI",
|
|
21845
21974
|
name: "ai",
|
|
@@ -21848,10 +21977,8 @@ function createAIPlugin(opts) {
|
|
|
21848
21977
|
mobilePanelHeight: "min-content"
|
|
21849
21978
|
};
|
|
21850
21979
|
}
|
|
21851
|
-
var src_default = createAIPlugin;
|
|
21852
21980
|
export {
|
|
21853
|
-
|
|
21854
|
-
src_default as default
|
|
21981
|
+
createAiPlugin
|
|
21855
21982
|
};
|
|
21856
21983
|
/*! Bundled license information:
|
|
21857
21984
|
|