Leon4gr45 commited on
Commit
0f0eef3
·
verified ·
1 Parent(s): e24377d

Upload folder using huggingface_hub (part 13)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. node_modules/@jimp/plugin-displace/node_modules/zod/v4-mini/index.cjs +17 -0
  2. node_modules/@jimp/plugin-displace/node_modules/zod/v4-mini/index.d.cts +1 -0
  3. node_modules/@jimp/plugin-displace/node_modules/zod/v4-mini/index.d.ts +1 -0
  4. node_modules/@jimp/plugin-displace/node_modules/zod/v4-mini/index.js +1 -0
  5. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/pl.js +117 -0
  6. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ps.cjs +148 -0
  7. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ps.d.cts +4 -0
  8. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ps.d.ts +4 -0
  9. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ps.js +122 -0
  10. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/pt.cjs +142 -0
  11. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/pt.d.cts +4 -0
  12. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/pt.d.ts +4 -0
  13. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/pt.js +116 -0
  14. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ru.cjs +190 -0
  15. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ru.d.cts +4 -0
  16. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ru.d.ts +4 -0
  17. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ru.js +164 -0
  18. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sl.cjs +143 -0
  19. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sl.d.cts +4 -0
  20. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sl.d.ts +4 -0
  21. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sl.js +117 -0
  22. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sv.cjs +144 -0
  23. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sv.d.cts +4 -0
  24. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sv.d.ts +4 -0
  25. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sv.js +118 -0
  26. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ta.cjs +143 -0
  27. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ta.d.cts +4 -0
  28. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ta.d.ts +4 -0
  29. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ta.js +117 -0
  30. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/th.cjs +143 -0
  31. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/th.d.cts +4 -0
  32. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/th.d.ts +4 -0
  33. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/th.js +117 -0
  34. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/tr.cjs +143 -0
  35. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/tr.d.cts +5 -0
  36. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/tr.d.ts +5 -0
  37. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/tr.js +115 -0
  38. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ua.cjs +143 -0
  39. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ua.d.cts +4 -0
  40. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ua.d.ts +4 -0
  41. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ua.js +117 -0
  42. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ur.cjs +143 -0
  43. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ur.d.cts +4 -0
  44. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ur.d.ts +4 -0
  45. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ur.js +117 -0
  46. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/vi.cjs +142 -0
  47. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/vi.d.cts +4 -0
  48. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/vi.d.ts +4 -0
  49. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/vi.js +116 -0
  50. node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
node_modules/@jimp/plugin-displace/node_modules/zod/v4-mini/index.cjs ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("../v4/mini/index.cjs"), exports);
node_modules/@jimp/plugin-displace/node_modules/zod/v4-mini/index.d.cts ADDED
@@ -0,0 +1 @@
 
 
1
+ export * from "../v4/mini/index.cjs";
node_modules/@jimp/plugin-displace/node_modules/zod/v4-mini/index.d.ts ADDED
@@ -0,0 +1 @@
 
 
1
+ export * from "../v4/mini/index.js";
node_modules/@jimp/plugin-displace/node_modules/zod/v4-mini/index.js ADDED
@@ -0,0 +1 @@
 
 
1
+ export * from "../v4/mini/index.js";
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/pl.js ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as util from "../core/util.js";
2
+ const error = () => {
3
+ const Sizable = {
4
+ string: { unit: "znaków", verb: "mieć" },
5
+ file: { unit: "bajtów", verb: "mieć" },
6
+ array: { unit: "elementów", verb: "mieć" },
7
+ set: { unit: "elementów", verb: "mieć" },
8
+ };
9
+ function getSizing(origin) {
10
+ return Sizable[origin] ?? null;
11
+ }
12
+ const parsedType = (data) => {
13
+ const t = typeof data;
14
+ switch (t) {
15
+ case "number": {
16
+ return Number.isNaN(data) ? "NaN" : "liczba";
17
+ }
18
+ case "object": {
19
+ if (Array.isArray(data)) {
20
+ return "tablica";
21
+ }
22
+ if (data === null) {
23
+ return "null";
24
+ }
25
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
26
+ return data.constructor.name;
27
+ }
28
+ }
29
+ }
30
+ return t;
31
+ };
32
+ const Nouns = {
33
+ regex: "wyrażenie",
34
+ email: "adres email",
35
+ url: "URL",
36
+ emoji: "emoji",
37
+ uuid: "UUID",
38
+ uuidv4: "UUIDv4",
39
+ uuidv6: "UUIDv6",
40
+ nanoid: "nanoid",
41
+ guid: "GUID",
42
+ cuid: "cuid",
43
+ cuid2: "cuid2",
44
+ ulid: "ULID",
45
+ xid: "XID",
46
+ ksuid: "KSUID",
47
+ datetime: "data i godzina w formacie ISO",
48
+ date: "data w formacie ISO",
49
+ time: "godzina w formacie ISO",
50
+ duration: "czas trwania ISO",
51
+ ipv4: "adres IPv4",
52
+ ipv6: "adres IPv6",
53
+ cidrv4: "zakres IPv4",
54
+ cidrv6: "zakres IPv6",
55
+ base64: "ciąg znaków zakodowany w formacie base64",
56
+ base64url: "ciąg znaków zakodowany w formacie base64url",
57
+ json_string: "ciąg znaków w formacie JSON",
58
+ e164: "liczba E.164",
59
+ jwt: "JWT",
60
+ template_literal: "wejście",
61
+ };
62
+ return (issue) => {
63
+ switch (issue.code) {
64
+ case "invalid_type":
65
+ return `Nieprawidłowe dane wejściowe: oczekiwano ${issue.expected}, otrzymano ${parsedType(issue.input)}`;
66
+ case "invalid_value":
67
+ if (issue.values.length === 1)
68
+ return `Nieprawidłowe dane wejściowe: oczekiwano ${util.stringifyPrimitive(issue.values[0])}`;
69
+ return `Nieprawidłowa opcja: oczekiwano jednej z wartości ${util.joinValues(issue.values, "|")}`;
70
+ case "too_big": {
71
+ const adj = issue.inclusive ? "<=" : "<";
72
+ const sizing = getSizing(issue.origin);
73
+ if (sizing) {
74
+ return `Za duża wartość: oczekiwano, że ${issue.origin ?? "wartość"} będzie mieć ${adj}${issue.maximum.toString()} ${sizing.unit ?? "elementów"}`;
75
+ }
76
+ return `Zbyt duż(y/a/e): oczekiwano, że ${issue.origin ?? "wartość"} będzie wynosić ${adj}${issue.maximum.toString()}`;
77
+ }
78
+ case "too_small": {
79
+ const adj = issue.inclusive ? ">=" : ">";
80
+ const sizing = getSizing(issue.origin);
81
+ if (sizing) {
82
+ return `Za mała wartość: oczekiwano, że ${issue.origin ?? "wartość"} będzie mieć ${adj}${issue.minimum.toString()} ${sizing.unit ?? "elementów"}`;
83
+ }
84
+ return `Zbyt mał(y/a/e): oczekiwano, że ${issue.origin ?? "wartość"} będzie wynosić ${adj}${issue.minimum.toString()}`;
85
+ }
86
+ case "invalid_format": {
87
+ const _issue = issue;
88
+ if (_issue.format === "starts_with")
89
+ return `Nieprawidłowy ciąg znaków: musi zaczynać się od "${_issue.prefix}"`;
90
+ if (_issue.format === "ends_with")
91
+ return `Nieprawidłowy ciąg znaków: musi kończyć się na "${_issue.suffix}"`;
92
+ if (_issue.format === "includes")
93
+ return `Nieprawidłowy ciąg znaków: musi zawierać "${_issue.includes}"`;
94
+ if (_issue.format === "regex")
95
+ return `Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${_issue.pattern}`;
96
+ return `Nieprawidłow(y/a/e) ${Nouns[_issue.format] ?? issue.format}`;
97
+ }
98
+ case "not_multiple_of":
99
+ return `Nieprawidłowa liczba: musi być wielokrotnością ${issue.divisor}`;
100
+ case "unrecognized_keys":
101
+ return `Nierozpoznane klucze${issue.keys.length > 1 ? "s" : ""}: ${util.joinValues(issue.keys, ", ")}`;
102
+ case "invalid_key":
103
+ return `Nieprawidłowy klucz w ${issue.origin}`;
104
+ case "invalid_union":
105
+ return "Nieprawidłowe dane wejściowe";
106
+ case "invalid_element":
107
+ return `Nieprawidłowa wartość w ${issue.origin}`;
108
+ default:
109
+ return `Nieprawidłowe dane wejściowe`;
110
+ }
111
+ };
112
+ };
113
+ export default function () {
114
+ return {
115
+ localeError: error(),
116
+ };
117
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ps.cjs ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.default = default_1;
27
+ const util = __importStar(require("../core/util.cjs"));
28
+ const error = () => {
29
+ const Sizable = {
30
+ string: { unit: "توکي", verb: "ولري" },
31
+ file: { unit: "بایټس", verb: "ولري" },
32
+ array: { unit: "توکي", verb: "ولري" },
33
+ set: { unit: "توکي", verb: "ولري" },
34
+ };
35
+ function getSizing(origin) {
36
+ return Sizable[origin] ?? null;
37
+ }
38
+ const parsedType = (data) => {
39
+ const t = typeof data;
40
+ switch (t) {
41
+ case "number": {
42
+ return Number.isNaN(data) ? "NaN" : "عدد";
43
+ }
44
+ case "object": {
45
+ if (Array.isArray(data)) {
46
+ return "ارې";
47
+ }
48
+ if (data === null) {
49
+ return "null";
50
+ }
51
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
52
+ return data.constructor.name;
53
+ }
54
+ }
55
+ }
56
+ return t;
57
+ };
58
+ const Nouns = {
59
+ regex: "ورودي",
60
+ email: "بریښنالیک",
61
+ url: "یو آر ال",
62
+ emoji: "ایموجي",
63
+ uuid: "UUID",
64
+ uuidv4: "UUIDv4",
65
+ uuidv6: "UUIDv6",
66
+ nanoid: "nanoid",
67
+ guid: "GUID",
68
+ cuid: "cuid",
69
+ cuid2: "cuid2",
70
+ ulid: "ULID",
71
+ xid: "XID",
72
+ ksuid: "KSUID",
73
+ datetime: "نیټه او وخت",
74
+ date: "نېټه",
75
+ time: "وخت",
76
+ duration: "موده",
77
+ ipv4: "د IPv4 پته",
78
+ ipv6: "د IPv6 پته",
79
+ cidrv4: "د IPv4 ساحه",
80
+ cidrv6: "د IPv6 ساحه",
81
+ base64: "base64-encoded متن",
82
+ base64url: "base64url-encoded متن",
83
+ json_string: "JSON متن",
84
+ e164: "د E.164 شمېره",
85
+ jwt: "JWT",
86
+ template_literal: "ورودي",
87
+ };
88
+ return (issue) => {
89
+ switch (issue.code) {
90
+ case "invalid_type":
91
+ return `ناسم ورودي: باید ${issue.expected} وای, مګر ${parsedType(issue.input)} ترلاسه شو`;
92
+ case "invalid_value":
93
+ if (issue.values.length === 1) {
94
+ return `ناسم ورودي: باید ${util.stringifyPrimitive(issue.values[0])} وای`;
95
+ }
96
+ return `ناسم انتخاب: باید یو له ${util.joinValues(issue.values, "|")} څخه وای`;
97
+ case "too_big": {
98
+ const adj = issue.inclusive ? "<=" : "<";
99
+ const sizing = getSizing(issue.origin);
100
+ if (sizing) {
101
+ return `ډیر لوی: ${issue.origin ?? "ارزښت"} باید ${adj}${issue.maximum.toString()} ${sizing.unit ?? "عنصرونه"} ولري`;
102
+ }
103
+ return `ډیر لوی: ${issue.origin ?? "ارزښت"} باید ${adj}${issue.maximum.toString()} وي`;
104
+ }
105
+ case "too_small": {
106
+ const adj = issue.inclusive ? ">=" : ">";
107
+ const sizing = getSizing(issue.origin);
108
+ if (sizing) {
109
+ return `ډیر کوچنی: ${issue.origin} باید ${adj}${issue.minimum.toString()} ${sizing.unit} ولري`;
110
+ }
111
+ return `ډیر کوچنی: ${issue.origin} باید ${adj}${issue.minimum.toString()} وي`;
112
+ }
113
+ case "invalid_format": {
114
+ const _issue = issue;
115
+ if (_issue.format === "starts_with") {
116
+ return `ناسم متن: باید د "${_issue.prefix}" سره پیل شي`;
117
+ }
118
+ if (_issue.format === "ends_with") {
119
+ return `ناسم متن: باید د "${_issue.suffix}" سره پای ته ورسيږي`;
120
+ }
121
+ if (_issue.format === "includes") {
122
+ return `ناسم متن: باید "${_issue.includes}" ولري`;
123
+ }
124
+ if (_issue.format === "regex") {
125
+ return `ناسم متن: باید د ${_issue.pattern} سره مطابقت ولري`;
126
+ }
127
+ return `${Nouns[_issue.format] ?? issue.format} ناسم دی`;
128
+ }
129
+ case "not_multiple_of":
130
+ return `ناسم عدد: باید د ${issue.divisor} مضرب وي`;
131
+ case "unrecognized_keys":
132
+ return `ناسم ${issue.keys.length > 1 ? "کلیډونه" : "کلیډ"}: ${util.joinValues(issue.keys, ", ")}`;
133
+ case "invalid_key":
134
+ return `ناسم کلیډ په ${issue.origin} کې`;
135
+ case "invalid_union":
136
+ return `ناسمه ورودي`;
137
+ case "invalid_element":
138
+ return `ناسم عنصر په ${issue.origin} کې`;
139
+ default:
140
+ return `ناسمه ورودي`;
141
+ }
142
+ };
143
+ };
144
+ function default_1() {
145
+ return {
146
+ localeError: error(),
147
+ };
148
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ps.d.cts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ps.d.ts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.js";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ps.js ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as util from "../core/util.js";
2
+ const error = () => {
3
+ const Sizable = {
4
+ string: { unit: "توکي", verb: "ولري" },
5
+ file: { unit: "بایټس", verb: "ولري" },
6
+ array: { unit: "توکي", verb: "ولري" },
7
+ set: { unit: "توکي", verb: "ولري" },
8
+ };
9
+ function getSizing(origin) {
10
+ return Sizable[origin] ?? null;
11
+ }
12
+ const parsedType = (data) => {
13
+ const t = typeof data;
14
+ switch (t) {
15
+ case "number": {
16
+ return Number.isNaN(data) ? "NaN" : "عدد";
17
+ }
18
+ case "object": {
19
+ if (Array.isArray(data)) {
20
+ return "ارې";
21
+ }
22
+ if (data === null) {
23
+ return "null";
24
+ }
25
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
26
+ return data.constructor.name;
27
+ }
28
+ }
29
+ }
30
+ return t;
31
+ };
32
+ const Nouns = {
33
+ regex: "ورودي",
34
+ email: "بریښنالیک",
35
+ url: "یو آر ال",
36
+ emoji: "ایموجي",
37
+ uuid: "UUID",
38
+ uuidv4: "UUIDv4",
39
+ uuidv6: "UUIDv6",
40
+ nanoid: "nanoid",
41
+ guid: "GUID",
42
+ cuid: "cuid",
43
+ cuid2: "cuid2",
44
+ ulid: "ULID",
45
+ xid: "XID",
46
+ ksuid: "KSUID",
47
+ datetime: "نیټه او وخت",
48
+ date: "نېټه",
49
+ time: "وخت",
50
+ duration: "موده",
51
+ ipv4: "د IPv4 پته",
52
+ ipv6: "د IPv6 پته",
53
+ cidrv4: "د IPv4 ساحه",
54
+ cidrv6: "د IPv6 ساحه",
55
+ base64: "base64-encoded متن",
56
+ base64url: "base64url-encoded متن",
57
+ json_string: "JSON متن",
58
+ e164: "د E.164 شمېره",
59
+ jwt: "JWT",
60
+ template_literal: "ورودي",
61
+ };
62
+ return (issue) => {
63
+ switch (issue.code) {
64
+ case "invalid_type":
65
+ return `ناسم ورودي: باید ${issue.expected} وای, مګر ${parsedType(issue.input)} ترلاسه شو`;
66
+ case "invalid_value":
67
+ if (issue.values.length === 1) {
68
+ return `ناسم ورودي: باید ${util.stringifyPrimitive(issue.values[0])} وای`;
69
+ }
70
+ return `ناسم انتخاب: باید یو له ${util.joinValues(issue.values, "|")} څخه وای`;
71
+ case "too_big": {
72
+ const adj = issue.inclusive ? "<=" : "<";
73
+ const sizing = getSizing(issue.origin);
74
+ if (sizing) {
75
+ return `ډیر لوی: ${issue.origin ?? "ارزښت"} باید ${adj}${issue.maximum.toString()} ${sizing.unit ?? "عنصرونه"} ولري`;
76
+ }
77
+ return `ډیر لوی: ${issue.origin ?? "ارزښت"} باید ${adj}${issue.maximum.toString()} وي`;
78
+ }
79
+ case "too_small": {
80
+ const adj = issue.inclusive ? ">=" : ">";
81
+ const sizing = getSizing(issue.origin);
82
+ if (sizing) {
83
+ return `ډیر کوچنی: ${issue.origin} باید ${adj}${issue.minimum.toString()} ${sizing.unit} ولري`;
84
+ }
85
+ return `ډیر کوچنی: ${issue.origin} باید ${adj}${issue.minimum.toString()} وي`;
86
+ }
87
+ case "invalid_format": {
88
+ const _issue = issue;
89
+ if (_issue.format === "starts_with") {
90
+ return `ناسم متن: باید د "${_issue.prefix}" سره پیل شي`;
91
+ }
92
+ if (_issue.format === "ends_with") {
93
+ return `ناسم متن: باید د "${_issue.suffix}" سره پای ته ورسيږي`;
94
+ }
95
+ if (_issue.format === "includes") {
96
+ return `ناسم متن: باید "${_issue.includes}" ولري`;
97
+ }
98
+ if (_issue.format === "regex") {
99
+ return `ناسم متن: باید د ${_issue.pattern} سره مطابقت ولري`;
100
+ }
101
+ return `${Nouns[_issue.format] ?? issue.format} ناسم دی`;
102
+ }
103
+ case "not_multiple_of":
104
+ return `ناسم عدد: باید د ${issue.divisor} مضرب وي`;
105
+ case "unrecognized_keys":
106
+ return `ناسم ${issue.keys.length > 1 ? "کلیډونه" : "کلیډ"}: ${util.joinValues(issue.keys, ", ")}`;
107
+ case "invalid_key":
108
+ return `ناسم کلیډ په ${issue.origin} کې`;
109
+ case "invalid_union":
110
+ return `ناسمه ورودي`;
111
+ case "invalid_element":
112
+ return `ناسم عنصر په ${issue.origin} کې`;
113
+ default:
114
+ return `ناسمه ورودي`;
115
+ }
116
+ };
117
+ };
118
+ export default function () {
119
+ return {
120
+ localeError: error(),
121
+ };
122
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/pt.cjs ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.default = default_1;
27
+ const util = __importStar(require("../core/util.cjs"));
28
+ const error = () => {
29
+ const Sizable = {
30
+ string: { unit: "caracteres", verb: "ter" },
31
+ file: { unit: "bytes", verb: "ter" },
32
+ array: { unit: "itens", verb: "ter" },
33
+ set: { unit: "itens", verb: "ter" },
34
+ };
35
+ function getSizing(origin) {
36
+ return Sizable[origin] ?? null;
37
+ }
38
+ const parsedType = (data) => {
39
+ const t = typeof data;
40
+ switch (t) {
41
+ case "number": {
42
+ return Number.isNaN(data) ? "NaN" : "número";
43
+ }
44
+ case "object": {
45
+ if (Array.isArray(data)) {
46
+ return "array";
47
+ }
48
+ if (data === null) {
49
+ return "nulo";
50
+ }
51
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
52
+ return data.constructor.name;
53
+ }
54
+ }
55
+ }
56
+ return t;
57
+ };
58
+ const Nouns = {
59
+ regex: "padrão",
60
+ email: "endereço de e-mail",
61
+ url: "URL",
62
+ emoji: "emoji",
63
+ uuid: "UUID",
64
+ uuidv4: "UUIDv4",
65
+ uuidv6: "UUIDv6",
66
+ nanoid: "nanoid",
67
+ guid: "GUID",
68
+ cuid: "cuid",
69
+ cuid2: "cuid2",
70
+ ulid: "ULID",
71
+ xid: "XID",
72
+ ksuid: "KSUID",
73
+ datetime: "data e hora ISO",
74
+ date: "data ISO",
75
+ time: "hora ISO",
76
+ duration: "duração ISO",
77
+ ipv4: "endereço IPv4",
78
+ ipv6: "endereço IPv6",
79
+ cidrv4: "faixa de IPv4",
80
+ cidrv6: "faixa de IPv6",
81
+ base64: "texto codificado em base64",
82
+ base64url: "URL codificada em base64",
83
+ json_string: "texto JSON",
84
+ e164: "número E.164",
85
+ jwt: "JWT",
86
+ template_literal: "entrada",
87
+ };
88
+ return (issue) => {
89
+ switch (issue.code) {
90
+ case "invalid_type":
91
+ return `Tipo inválido: esperado ${issue.expected}, recebido ${parsedType(issue.input)}`;
92
+ case "invalid_value":
93
+ if (issue.values.length === 1)
94
+ return `Entrada inválida: esperado ${util.stringifyPrimitive(issue.values[0])}`;
95
+ return `Opção inválida: esperada uma das ${util.joinValues(issue.values, "|")}`;
96
+ case "too_big": {
97
+ const adj = issue.inclusive ? "<=" : "<";
98
+ const sizing = getSizing(issue.origin);
99
+ if (sizing)
100
+ return `Muito grande: esperado que ${issue.origin ?? "valor"} tivesse ${adj}${issue.maximum.toString()} ${sizing.unit ?? "elementos"}`;
101
+ return `Muito grande: esperado que ${issue.origin ?? "valor"} fosse ${adj}${issue.maximum.toString()}`;
102
+ }
103
+ case "too_small": {
104
+ const adj = issue.inclusive ? ">=" : ">";
105
+ const sizing = getSizing(issue.origin);
106
+ if (sizing) {
107
+ return `Muito pequeno: esperado que ${issue.origin} tivesse ${adj}${issue.minimum.toString()} ${sizing.unit}`;
108
+ }
109
+ return `Muito pequeno: esperado que ${issue.origin} fosse ${adj}${issue.minimum.toString()}`;
110
+ }
111
+ case "invalid_format": {
112
+ const _issue = issue;
113
+ if (_issue.format === "starts_with")
114
+ return `Texto inválido: deve começar com "${_issue.prefix}"`;
115
+ if (_issue.format === "ends_with")
116
+ return `Texto inválido: deve terminar com "${_issue.suffix}"`;
117
+ if (_issue.format === "includes")
118
+ return `Texto inválido: deve incluir "${_issue.includes}"`;
119
+ if (_issue.format === "regex")
120
+ return `Texto inválido: deve corresponder ao padrão ${_issue.pattern}`;
121
+ return `${Nouns[_issue.format] ?? issue.format} inválido`;
122
+ }
123
+ case "not_multiple_of":
124
+ return `Número inválido: deve ser múltiplo de ${issue.divisor}`;
125
+ case "unrecognized_keys":
126
+ return `Chave${issue.keys.length > 1 ? "s" : ""} desconhecida${issue.keys.length > 1 ? "s" : ""}: ${util.joinValues(issue.keys, ", ")}`;
127
+ case "invalid_key":
128
+ return `Chave inválida em ${issue.origin}`;
129
+ case "invalid_union":
130
+ return "Entrada inválida";
131
+ case "invalid_element":
132
+ return `Valor inválido em ${issue.origin}`;
133
+ default:
134
+ return `Campo inválido`;
135
+ }
136
+ };
137
+ };
138
+ function default_1() {
139
+ return {
140
+ localeError: error(),
141
+ };
142
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/pt.d.cts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/pt.d.ts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.js";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/pt.js ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as util from "../core/util.js";
2
+ const error = () => {
3
+ const Sizable = {
4
+ string: { unit: "caracteres", verb: "ter" },
5
+ file: { unit: "bytes", verb: "ter" },
6
+ array: { unit: "itens", verb: "ter" },
7
+ set: { unit: "itens", verb: "ter" },
8
+ };
9
+ function getSizing(origin) {
10
+ return Sizable[origin] ?? null;
11
+ }
12
+ const parsedType = (data) => {
13
+ const t = typeof data;
14
+ switch (t) {
15
+ case "number": {
16
+ return Number.isNaN(data) ? "NaN" : "número";
17
+ }
18
+ case "object": {
19
+ if (Array.isArray(data)) {
20
+ return "array";
21
+ }
22
+ if (data === null) {
23
+ return "nulo";
24
+ }
25
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
26
+ return data.constructor.name;
27
+ }
28
+ }
29
+ }
30
+ return t;
31
+ };
32
+ const Nouns = {
33
+ regex: "padrão",
34
+ email: "endereço de e-mail",
35
+ url: "URL",
36
+ emoji: "emoji",
37
+ uuid: "UUID",
38
+ uuidv4: "UUIDv4",
39
+ uuidv6: "UUIDv6",
40
+ nanoid: "nanoid",
41
+ guid: "GUID",
42
+ cuid: "cuid",
43
+ cuid2: "cuid2",
44
+ ulid: "ULID",
45
+ xid: "XID",
46
+ ksuid: "KSUID",
47
+ datetime: "data e hora ISO",
48
+ date: "data ISO",
49
+ time: "hora ISO",
50
+ duration: "duração ISO",
51
+ ipv4: "endereço IPv4",
52
+ ipv6: "endereço IPv6",
53
+ cidrv4: "faixa de IPv4",
54
+ cidrv6: "faixa de IPv6",
55
+ base64: "texto codificado em base64",
56
+ base64url: "URL codificada em base64",
57
+ json_string: "texto JSON",
58
+ e164: "número E.164",
59
+ jwt: "JWT",
60
+ template_literal: "entrada",
61
+ };
62
+ return (issue) => {
63
+ switch (issue.code) {
64
+ case "invalid_type":
65
+ return `Tipo inválido: esperado ${issue.expected}, recebido ${parsedType(issue.input)}`;
66
+ case "invalid_value":
67
+ if (issue.values.length === 1)
68
+ return `Entrada inválida: esperado ${util.stringifyPrimitive(issue.values[0])}`;
69
+ return `Opção inválida: esperada uma das ${util.joinValues(issue.values, "|")}`;
70
+ case "too_big": {
71
+ const adj = issue.inclusive ? "<=" : "<";
72
+ const sizing = getSizing(issue.origin);
73
+ if (sizing)
74
+ return `Muito grande: esperado que ${issue.origin ?? "valor"} tivesse ${adj}${issue.maximum.toString()} ${sizing.unit ?? "elementos"}`;
75
+ return `Muito grande: esperado que ${issue.origin ?? "valor"} fosse ${adj}${issue.maximum.toString()}`;
76
+ }
77
+ case "too_small": {
78
+ const adj = issue.inclusive ? ">=" : ">";
79
+ const sizing = getSizing(issue.origin);
80
+ if (sizing) {
81
+ return `Muito pequeno: esperado que ${issue.origin} tivesse ${adj}${issue.minimum.toString()} ${sizing.unit}`;
82
+ }
83
+ return `Muito pequeno: esperado que ${issue.origin} fosse ${adj}${issue.minimum.toString()}`;
84
+ }
85
+ case "invalid_format": {
86
+ const _issue = issue;
87
+ if (_issue.format === "starts_with")
88
+ return `Texto inválido: deve começar com "${_issue.prefix}"`;
89
+ if (_issue.format === "ends_with")
90
+ return `Texto inválido: deve terminar com "${_issue.suffix}"`;
91
+ if (_issue.format === "includes")
92
+ return `Texto inválido: deve incluir "${_issue.includes}"`;
93
+ if (_issue.format === "regex")
94
+ return `Texto inválido: deve corresponder ao padrão ${_issue.pattern}`;
95
+ return `${Nouns[_issue.format] ?? issue.format} inválido`;
96
+ }
97
+ case "not_multiple_of":
98
+ return `Número inválido: deve ser múltiplo de ${issue.divisor}`;
99
+ case "unrecognized_keys":
100
+ return `Chave${issue.keys.length > 1 ? "s" : ""} desconhecida${issue.keys.length > 1 ? "s" : ""}: ${util.joinValues(issue.keys, ", ")}`;
101
+ case "invalid_key":
102
+ return `Chave inválida em ${issue.origin}`;
103
+ case "invalid_union":
104
+ return "Entrada inválida";
105
+ case "invalid_element":
106
+ return `Valor inválido em ${issue.origin}`;
107
+ default:
108
+ return `Campo inválido`;
109
+ }
110
+ };
111
+ };
112
+ export default function () {
113
+ return {
114
+ localeError: error(),
115
+ };
116
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ru.cjs ADDED
@@ -0,0 +1,190 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.default = default_1;
27
+ const util = __importStar(require("../core/util.cjs"));
28
+ function getRussianPlural(count, one, few, many) {
29
+ const absCount = Math.abs(count);
30
+ const lastDigit = absCount % 10;
31
+ const lastTwoDigits = absCount % 100;
32
+ if (lastTwoDigits >= 11 && lastTwoDigits <= 19) {
33
+ return many;
34
+ }
35
+ if (lastDigit === 1) {
36
+ return one;
37
+ }
38
+ if (lastDigit >= 2 && lastDigit <= 4) {
39
+ return few;
40
+ }
41
+ return many;
42
+ }
43
+ const error = () => {
44
+ const Sizable = {
45
+ string: {
46
+ unit: {
47
+ one: "символ",
48
+ few: "символа",
49
+ many: "символов",
50
+ },
51
+ verb: "иметь",
52
+ },
53
+ file: {
54
+ unit: {
55
+ one: "байт",
56
+ few: "байта",
57
+ many: "байт",
58
+ },
59
+ verb: "иметь",
60
+ },
61
+ array: {
62
+ unit: {
63
+ one: "элемент",
64
+ few: "элемента",
65
+ many: "элементов",
66
+ },
67
+ verb: "иметь",
68
+ },
69
+ set: {
70
+ unit: {
71
+ one: "элемент",
72
+ few: "элемента",
73
+ many: "элементов",
74
+ },
75
+ verb: "иметь",
76
+ },
77
+ };
78
+ function getSizing(origin) {
79
+ return Sizable[origin] ?? null;
80
+ }
81
+ const parsedType = (data) => {
82
+ const t = typeof data;
83
+ switch (t) {
84
+ case "number": {
85
+ return Number.isNaN(data) ? "NaN" : "число";
86
+ }
87
+ case "object": {
88
+ if (Array.isArray(data)) {
89
+ return "массив";
90
+ }
91
+ if (data === null) {
92
+ return "null";
93
+ }
94
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
95
+ return data.constructor.name;
96
+ }
97
+ }
98
+ }
99
+ return t;
100
+ };
101
+ const Nouns = {
102
+ regex: "ввод",
103
+ email: "email адрес",
104
+ url: "URL",
105
+ emoji: "эмодзи",
106
+ uuid: "UUID",
107
+ uuidv4: "UUIDv4",
108
+ uuidv6: "UUIDv6",
109
+ nanoid: "nanoid",
110
+ guid: "GUID",
111
+ cuid: "cuid",
112
+ cuid2: "cuid2",
113
+ ulid: "ULID",
114
+ xid: "XID",
115
+ ksuid: "KSUID",
116
+ datetime: "ISO дата и время",
117
+ date: "ISO дата",
118
+ time: "ISO время",
119
+ duration: "ISO длительность",
120
+ ipv4: "IPv4 адрес",
121
+ ipv6: "IPv6 адрес",
122
+ cidrv4: "IPv4 диапазон",
123
+ cidrv6: "IPv6 диапазон",
124
+ base64: "строка в формате base64",
125
+ base64url: "строка в формате base64url",
126
+ json_string: "JSON строка",
127
+ e164: "номер E.164",
128
+ jwt: "JWT",
129
+ template_literal: "ввод",
130
+ };
131
+ return (issue) => {
132
+ switch (issue.code) {
133
+ case "invalid_type":
134
+ return `Неверный ввод: ожидалось ${issue.expected}, получено ${parsedType(issue.input)}`;
135
+ case "invalid_value":
136
+ if (issue.values.length === 1)
137
+ return `Неверный ввод: ожидалось ${util.stringifyPrimitive(issue.values[0])}`;
138
+ return `Неверный вариант: ожидалось одно из ${util.joinValues(issue.values, "|")}`;
139
+ case "too_big": {
140
+ const adj = issue.inclusive ? "<=" : "<";
141
+ const sizing = getSizing(issue.origin);
142
+ if (sizing) {
143
+ const maxValue = Number(issue.maximum);
144
+ const unit = getRussianPlural(maxValue, sizing.unit.one, sizing.unit.few, sizing.unit.many);
145
+ return `Слишком большое значение: ожидалось, что ${issue.origin ?? "значение"} будет иметь ${adj}${issue.maximum.toString()} ${unit}`;
146
+ }
147
+ return `Слишком большое значение: ожидалось, что ${issue.origin ?? "значение"} будет ${adj}${issue.maximum.toString()}`;
148
+ }
149
+ case "too_small": {
150
+ const adj = issue.inclusive ? ">=" : ">";
151
+ const sizing = getSizing(issue.origin);
152
+ if (sizing) {
153
+ const minValue = Number(issue.minimum);
154
+ const unit = getRussianPlural(minValue, sizing.unit.one, sizing.unit.few, sizing.unit.many);
155
+ return `Слишком маленькое значение: ожидалось, что ${issue.origin} будет иметь ${adj}${issue.minimum.toString()} ${unit}`;
156
+ }
157
+ return `Слишком маленькое значение: ожидалось, что ${issue.origin} будет ${adj}${issue.minimum.toString()}`;
158
+ }
159
+ case "invalid_format": {
160
+ const _issue = issue;
161
+ if (_issue.format === "starts_with")
162
+ return `Неверная строка: должна начинаться с "${_issue.prefix}"`;
163
+ if (_issue.format === "ends_with")
164
+ return `Неверная строка: должна заканчиваться на "${_issue.suffix}"`;
165
+ if (_issue.format === "includes")
166
+ return `Неверная строка: должна содержать "${_issue.includes}"`;
167
+ if (_issue.format === "regex")
168
+ return `Неверная строка: должна соответствовать шаблону ${_issue.pattern}`;
169
+ return `Неверный ${Nouns[_issue.format] ?? issue.format}`;
170
+ }
171
+ case "not_multiple_of":
172
+ return `Неверное число: должно быть кратным ${issue.divisor}`;
173
+ case "unrecognized_keys":
174
+ return `Нераспознанн${issue.keys.length > 1 ? "ые" : "ый"} ключ${issue.keys.length > 1 ? "и" : ""}: ${util.joinValues(issue.keys, ", ")}`;
175
+ case "invalid_key":
176
+ return `Неверный ключ в ${issue.origin}`;
177
+ case "invalid_union":
178
+ return "Неверные входные данные";
179
+ case "invalid_element":
180
+ return `Неверное значение в ${issue.origin}`;
181
+ default:
182
+ return `Неверные входные данные`;
183
+ }
184
+ };
185
+ };
186
+ function default_1() {
187
+ return {
188
+ localeError: error(),
189
+ };
190
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ru.d.cts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ru.d.ts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.js";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ru.js ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as util from "../core/util.js";
2
+ function getRussianPlural(count, one, few, many) {
3
+ const absCount = Math.abs(count);
4
+ const lastDigit = absCount % 10;
5
+ const lastTwoDigits = absCount % 100;
6
+ if (lastTwoDigits >= 11 && lastTwoDigits <= 19) {
7
+ return many;
8
+ }
9
+ if (lastDigit === 1) {
10
+ return one;
11
+ }
12
+ if (lastDigit >= 2 && lastDigit <= 4) {
13
+ return few;
14
+ }
15
+ return many;
16
+ }
17
+ const error = () => {
18
+ const Sizable = {
19
+ string: {
20
+ unit: {
21
+ one: "символ",
22
+ few: "символа",
23
+ many: "символов",
24
+ },
25
+ verb: "иметь",
26
+ },
27
+ file: {
28
+ unit: {
29
+ one: "байт",
30
+ few: "байта",
31
+ many: "байт",
32
+ },
33
+ verb: "иметь",
34
+ },
35
+ array: {
36
+ unit: {
37
+ one: "элемент",
38
+ few: "элемента",
39
+ many: "элементов",
40
+ },
41
+ verb: "иметь",
42
+ },
43
+ set: {
44
+ unit: {
45
+ one: "элемент",
46
+ few: "элемента",
47
+ many: "элементов",
48
+ },
49
+ verb: "иметь",
50
+ },
51
+ };
52
+ function getSizing(origin) {
53
+ return Sizable[origin] ?? null;
54
+ }
55
+ const parsedType = (data) => {
56
+ const t = typeof data;
57
+ switch (t) {
58
+ case "number": {
59
+ return Number.isNaN(data) ? "NaN" : "число";
60
+ }
61
+ case "object": {
62
+ if (Array.isArray(data)) {
63
+ return "массив";
64
+ }
65
+ if (data === null) {
66
+ return "null";
67
+ }
68
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
69
+ return data.constructor.name;
70
+ }
71
+ }
72
+ }
73
+ return t;
74
+ };
75
+ const Nouns = {
76
+ regex: "ввод",
77
+ email: "email адрес",
78
+ url: "URL",
79
+ emoji: "эмодзи",
80
+ uuid: "UUID",
81
+ uuidv4: "UUIDv4",
82
+ uuidv6: "UUIDv6",
83
+ nanoid: "nanoid",
84
+ guid: "GUID",
85
+ cuid: "cuid",
86
+ cuid2: "cuid2",
87
+ ulid: "ULID",
88
+ xid: "XID",
89
+ ksuid: "KSUID",
90
+ datetime: "ISO дата и время",
91
+ date: "ISO дата",
92
+ time: "ISO время",
93
+ duration: "ISO длительность",
94
+ ipv4: "IPv4 адрес",
95
+ ipv6: "IPv6 адрес",
96
+ cidrv4: "IPv4 диапазон",
97
+ cidrv6: "IPv6 диапазон",
98
+ base64: "строка в формате base64",
99
+ base64url: "строка в формате base64url",
100
+ json_string: "JSON строка",
101
+ e164: "номер E.164",
102
+ jwt: "JWT",
103
+ template_literal: "ввод",
104
+ };
105
+ return (issue) => {
106
+ switch (issue.code) {
107
+ case "invalid_type":
108
+ return `Неверный ввод: ожидалось ${issue.expected}, получено ${parsedType(issue.input)}`;
109
+ case "invalid_value":
110
+ if (issue.values.length === 1)
111
+ return `Неверный ввод: ожидалось ${util.stringifyPrimitive(issue.values[0])}`;
112
+ return `Неверный вариант: ожидалось одно из ${util.joinValues(issue.values, "|")}`;
113
+ case "too_big": {
114
+ const adj = issue.inclusive ? "<=" : "<";
115
+ const sizing = getSizing(issue.origin);
116
+ if (sizing) {
117
+ const maxValue = Number(issue.maximum);
118
+ const unit = getRussianPlural(maxValue, sizing.unit.one, sizing.unit.few, sizing.unit.many);
119
+ return `Слишком большое значение: ожидалось, что ${issue.origin ?? "значение"} будет иметь ${adj}${issue.maximum.toString()} ${unit}`;
120
+ }
121
+ return `Слишком большое значение: ожидалось, что ${issue.origin ?? "значение"} будет ${adj}${issue.maximum.toString()}`;
122
+ }
123
+ case "too_small": {
124
+ const adj = issue.inclusive ? ">=" : ">";
125
+ const sizing = getSizing(issue.origin);
126
+ if (sizing) {
127
+ const minValue = Number(issue.minimum);
128
+ const unit = getRussianPlural(minValue, sizing.unit.one, sizing.unit.few, sizing.unit.many);
129
+ return `Слишком маленькое значение: ожидалось, что ${issue.origin} будет иметь ${adj}${issue.minimum.toString()} ${unit}`;
130
+ }
131
+ return `Слишком маленькое значение: ожидалось, что ${issue.origin} ��удет ${adj}${issue.minimum.toString()}`;
132
+ }
133
+ case "invalid_format": {
134
+ const _issue = issue;
135
+ if (_issue.format === "starts_with")
136
+ return `Неверная строка: должна начинаться с "${_issue.prefix}"`;
137
+ if (_issue.format === "ends_with")
138
+ return `Неверная строка: должна заканчиваться на "${_issue.suffix}"`;
139
+ if (_issue.format === "includes")
140
+ return `Неверная строка: должна содержать "${_issue.includes}"`;
141
+ if (_issue.format === "regex")
142
+ return `Неверная строка: должна соответствовать шаблону ${_issue.pattern}`;
143
+ return `Неверный ${Nouns[_issue.format] ?? issue.format}`;
144
+ }
145
+ case "not_multiple_of":
146
+ return `Неверное число: должно быть кратным ${issue.divisor}`;
147
+ case "unrecognized_keys":
148
+ return `Нераспознанн${issue.keys.length > 1 ? "ые" : "ый"} ключ${issue.keys.length > 1 ? "и" : ""}: ${util.joinValues(issue.keys, ", ")}`;
149
+ case "invalid_key":
150
+ return `Неверный ключ в ${issue.origin}`;
151
+ case "invalid_union":
152
+ return "Неверные входные данные";
153
+ case "invalid_element":
154
+ return `Неверное значение в ${issue.origin}`;
155
+ default:
156
+ return `Неверные входные данные`;
157
+ }
158
+ };
159
+ };
160
+ export default function () {
161
+ return {
162
+ localeError: error(),
163
+ };
164
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sl.cjs ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.default = default_1;
27
+ const util = __importStar(require("../core/util.cjs"));
28
+ const error = () => {
29
+ const Sizable = {
30
+ string: { unit: "znakov", verb: "imeti" },
31
+ file: { unit: "bajtov", verb: "imeti" },
32
+ array: { unit: "elementov", verb: "imeti" },
33
+ set: { unit: "elementov", verb: "imeti" },
34
+ };
35
+ function getSizing(origin) {
36
+ return Sizable[origin] ?? null;
37
+ }
38
+ const parsedType = (data) => {
39
+ const t = typeof data;
40
+ switch (t) {
41
+ case "number": {
42
+ return Number.isNaN(data) ? "NaN" : "število";
43
+ }
44
+ case "object": {
45
+ if (Array.isArray(data)) {
46
+ return "tabela";
47
+ }
48
+ if (data === null) {
49
+ return "null";
50
+ }
51
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
52
+ return data.constructor.name;
53
+ }
54
+ }
55
+ }
56
+ return t;
57
+ };
58
+ const Nouns = {
59
+ regex: "vnos",
60
+ email: "e-poštni naslov",
61
+ url: "URL",
62
+ emoji: "emoji",
63
+ uuid: "UUID",
64
+ uuidv4: "UUIDv4",
65
+ uuidv6: "UUIDv6",
66
+ nanoid: "nanoid",
67
+ guid: "GUID",
68
+ cuid: "cuid",
69
+ cuid2: "cuid2",
70
+ ulid: "ULID",
71
+ xid: "XID",
72
+ ksuid: "KSUID",
73
+ datetime: "ISO datum in čas",
74
+ date: "ISO datum",
75
+ time: "ISO čas",
76
+ duration: "ISO trajanje",
77
+ ipv4: "IPv4 naslov",
78
+ ipv6: "IPv6 naslov",
79
+ cidrv4: "obseg IPv4",
80
+ cidrv6: "obseg IPv6",
81
+ base64: "base64 kodiran niz",
82
+ base64url: "base64url kodiran niz",
83
+ json_string: "JSON niz",
84
+ e164: "E.164 številka",
85
+ jwt: "JWT",
86
+ template_literal: "vnos",
87
+ };
88
+ return (issue) => {
89
+ switch (issue.code) {
90
+ case "invalid_type":
91
+ return `Neveljaven vnos: pričakovano ${issue.expected}, prejeto ${parsedType(issue.input)}`;
92
+ case "invalid_value":
93
+ if (issue.values.length === 1)
94
+ return `Neveljaven vnos: pričakovano ${util.stringifyPrimitive(issue.values[0])}`;
95
+ return `Neveljavna možnost: pričakovano eno izmed ${util.joinValues(issue.values, "|")}`;
96
+ case "too_big": {
97
+ const adj = issue.inclusive ? "<=" : "<";
98
+ const sizing = getSizing(issue.origin);
99
+ if (sizing)
100
+ return `Preveliko: pričakovano, da bo ${issue.origin ?? "vrednost"} imelo ${adj}${issue.maximum.toString()} ${sizing.unit ?? "elementov"}`;
101
+ return `Preveliko: pričakovano, da bo ${issue.origin ?? "vrednost"} ${adj}${issue.maximum.toString()}`;
102
+ }
103
+ case "too_small": {
104
+ const adj = issue.inclusive ? ">=" : ">";
105
+ const sizing = getSizing(issue.origin);
106
+ if (sizing) {
107
+ return `Premajhno: pričakovano, da bo ${issue.origin} imelo ${adj}${issue.minimum.toString()} ${sizing.unit}`;
108
+ }
109
+ return `Premajhno: pričakovano, da bo ${issue.origin} ${adj}${issue.minimum.toString()}`;
110
+ }
111
+ case "invalid_format": {
112
+ const _issue = issue;
113
+ if (_issue.format === "starts_with") {
114
+ return `Neveljaven niz: mora se začeti z "${_issue.prefix}"`;
115
+ }
116
+ if (_issue.format === "ends_with")
117
+ return `Neveljaven niz: mora se končati z "${_issue.suffix}"`;
118
+ if (_issue.format === "includes")
119
+ return `Neveljaven niz: mora vsebovati "${_issue.includes}"`;
120
+ if (_issue.format === "regex")
121
+ return `Neveljaven niz: mora ustrezati vzorcu ${_issue.pattern}`;
122
+ return `Neveljaven ${Nouns[_issue.format] ?? issue.format}`;
123
+ }
124
+ case "not_multiple_of":
125
+ return `Neveljavno število: mora biti večkratnik ${issue.divisor}`;
126
+ case "unrecognized_keys":
127
+ return `Neprepoznan${issue.keys.length > 1 ? "i ključi" : " ključ"}: ${util.joinValues(issue.keys, ", ")}`;
128
+ case "invalid_key":
129
+ return `Neveljaven ključ v ${issue.origin}`;
130
+ case "invalid_union":
131
+ return "Neveljaven vnos";
132
+ case "invalid_element":
133
+ return `Neveljavna vrednost v ${issue.origin}`;
134
+ default:
135
+ return "Neveljaven vnos";
136
+ }
137
+ };
138
+ };
139
+ function default_1() {
140
+ return {
141
+ localeError: error(),
142
+ };
143
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sl.d.cts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sl.d.ts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.js";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sl.js ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as util from "../core/util.js";
2
+ const error = () => {
3
+ const Sizable = {
4
+ string: { unit: "znakov", verb: "imeti" },
5
+ file: { unit: "bajtov", verb: "imeti" },
6
+ array: { unit: "elementov", verb: "imeti" },
7
+ set: { unit: "elementov", verb: "imeti" },
8
+ };
9
+ function getSizing(origin) {
10
+ return Sizable[origin] ?? null;
11
+ }
12
+ const parsedType = (data) => {
13
+ const t = typeof data;
14
+ switch (t) {
15
+ case "number": {
16
+ return Number.isNaN(data) ? "NaN" : "število";
17
+ }
18
+ case "object": {
19
+ if (Array.isArray(data)) {
20
+ return "tabela";
21
+ }
22
+ if (data === null) {
23
+ return "null";
24
+ }
25
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
26
+ return data.constructor.name;
27
+ }
28
+ }
29
+ }
30
+ return t;
31
+ };
32
+ const Nouns = {
33
+ regex: "vnos",
34
+ email: "e-poštni naslov",
35
+ url: "URL",
36
+ emoji: "emoji",
37
+ uuid: "UUID",
38
+ uuidv4: "UUIDv4",
39
+ uuidv6: "UUIDv6",
40
+ nanoid: "nanoid",
41
+ guid: "GUID",
42
+ cuid: "cuid",
43
+ cuid2: "cuid2",
44
+ ulid: "ULID",
45
+ xid: "XID",
46
+ ksuid: "KSUID",
47
+ datetime: "ISO datum in čas",
48
+ date: "ISO datum",
49
+ time: "ISO čas",
50
+ duration: "ISO trajanje",
51
+ ipv4: "IPv4 naslov",
52
+ ipv6: "IPv6 naslov",
53
+ cidrv4: "obseg IPv4",
54
+ cidrv6: "obseg IPv6",
55
+ base64: "base64 kodiran niz",
56
+ base64url: "base64url kodiran niz",
57
+ json_string: "JSON niz",
58
+ e164: "E.164 številka",
59
+ jwt: "JWT",
60
+ template_literal: "vnos",
61
+ };
62
+ return (issue) => {
63
+ switch (issue.code) {
64
+ case "invalid_type":
65
+ return `Neveljaven vnos: pričakovano ${issue.expected}, prejeto ${parsedType(issue.input)}`;
66
+ case "invalid_value":
67
+ if (issue.values.length === 1)
68
+ return `Neveljaven vnos: pričakovano ${util.stringifyPrimitive(issue.values[0])}`;
69
+ return `Neveljavna možnost: pričakovano eno izmed ${util.joinValues(issue.values, "|")}`;
70
+ case "too_big": {
71
+ const adj = issue.inclusive ? "<=" : "<";
72
+ const sizing = getSizing(issue.origin);
73
+ if (sizing)
74
+ return `Preveliko: pričakovano, da bo ${issue.origin ?? "vrednost"} imelo ${adj}${issue.maximum.toString()} ${sizing.unit ?? "elementov"}`;
75
+ return `Preveliko: pričakovano, da bo ${issue.origin ?? "vrednost"} ${adj}${issue.maximum.toString()}`;
76
+ }
77
+ case "too_small": {
78
+ const adj = issue.inclusive ? ">=" : ">";
79
+ const sizing = getSizing(issue.origin);
80
+ if (sizing) {
81
+ return `Premajhno: pričakovano, da bo ${issue.origin} imelo ${adj}${issue.minimum.toString()} ${sizing.unit}`;
82
+ }
83
+ return `Premajhno: pričakovano, da bo ${issue.origin} ${adj}${issue.minimum.toString()}`;
84
+ }
85
+ case "invalid_format": {
86
+ const _issue = issue;
87
+ if (_issue.format === "starts_with") {
88
+ return `Neveljaven niz: mora se začeti z "${_issue.prefix}"`;
89
+ }
90
+ if (_issue.format === "ends_with")
91
+ return `Neveljaven niz: mora se končati z "${_issue.suffix}"`;
92
+ if (_issue.format === "includes")
93
+ return `Neveljaven niz: mora vsebovati "${_issue.includes}"`;
94
+ if (_issue.format === "regex")
95
+ return `Neveljaven niz: mora ustrezati vzorcu ${_issue.pattern}`;
96
+ return `Neveljaven ${Nouns[_issue.format] ?? issue.format}`;
97
+ }
98
+ case "not_multiple_of":
99
+ return `Neveljavno število: mora biti večkratnik ${issue.divisor}`;
100
+ case "unrecognized_keys":
101
+ return `Neprepoznan${issue.keys.length > 1 ? "i ključi" : " ključ"}: ${util.joinValues(issue.keys, ", ")}`;
102
+ case "invalid_key":
103
+ return `Neveljaven ključ v ${issue.origin}`;
104
+ case "invalid_union":
105
+ return "Neveljaven vnos";
106
+ case "invalid_element":
107
+ return `Neveljavna vrednost v ${issue.origin}`;
108
+ default:
109
+ return "Neveljaven vnos";
110
+ }
111
+ };
112
+ };
113
+ export default function () {
114
+ return {
115
+ localeError: error(),
116
+ };
117
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sv.cjs ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.default = default_1;
27
+ const util = __importStar(require("../core/util.cjs"));
28
+ const error = () => {
29
+ const Sizable = {
30
+ string: { unit: "tecken", verb: "att ha" },
31
+ file: { unit: "bytes", verb: "att ha" },
32
+ array: { unit: "objekt", verb: "att innehålla" },
33
+ set: { unit: "objekt", verb: "att innehålla" },
34
+ };
35
+ function getSizing(origin) {
36
+ return Sizable[origin] ?? null;
37
+ }
38
+ const parsedType = (data) => {
39
+ const t = typeof data;
40
+ switch (t) {
41
+ case "number": {
42
+ return Number.isNaN(data) ? "NaN" : "antal";
43
+ }
44
+ case "object": {
45
+ if (Array.isArray(data)) {
46
+ return "lista";
47
+ }
48
+ if (data === null) {
49
+ return "null";
50
+ }
51
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
52
+ return data.constructor.name;
53
+ }
54
+ }
55
+ }
56
+ return t;
57
+ };
58
+ const Nouns = {
59
+ regex: "reguljärt uttryck",
60
+ email: "e-postadress",
61
+ url: "URL",
62
+ emoji: "emoji",
63
+ uuid: "UUID",
64
+ uuidv4: "UUIDv4",
65
+ uuidv6: "UUIDv6",
66
+ nanoid: "nanoid",
67
+ guid: "GUID",
68
+ cuid: "cuid",
69
+ cuid2: "cuid2",
70
+ ulid: "ULID",
71
+ xid: "XID",
72
+ ksuid: "KSUID",
73
+ datetime: "ISO-datum och tid",
74
+ date: "ISO-datum",
75
+ time: "ISO-tid",
76
+ duration: "ISO-varaktighet",
77
+ ipv4: "IPv4-intervall",
78
+ ipv6: "IPv6-intervall",
79
+ cidrv4: "IPv4-spektrum",
80
+ cidrv6: "IPv6-spektrum",
81
+ base64: "base64-kodad sträng",
82
+ base64url: "base64url-kodad sträng",
83
+ json_string: "JSON-sträng",
84
+ e164: "E.164-nummer",
85
+ jwt: "JWT",
86
+ template_literal: "mall-literal",
87
+ };
88
+ return (issue) => {
89
+ switch (issue.code) {
90
+ case "invalid_type":
91
+ return `Ogiltig inmatning: förväntat ${issue.expected}, fick ${parsedType(issue.input)}`;
92
+ case "invalid_value":
93
+ if (issue.values.length === 1)
94
+ return `Ogiltig inmatning: förväntat ${util.stringifyPrimitive(issue.values[0])}`;
95
+ return `Ogiltigt val: förväntade en av ${util.joinValues(issue.values, "|")}`;
96
+ case "too_big": {
97
+ const adj = issue.inclusive ? "<=" : "<";
98
+ const sizing = getSizing(issue.origin);
99
+ if (sizing) {
100
+ return `För stor(t): förväntade ${issue.origin ?? "värdet"} att ha ${adj}${issue.maximum.toString()} ${sizing.unit ?? "element"}`;
101
+ }
102
+ return `För stor(t): förväntat ${issue.origin ?? "värdet"} att ha ${adj}${issue.maximum.toString()}`;
103
+ }
104
+ case "too_small": {
105
+ const adj = issue.inclusive ? ">=" : ">";
106
+ const sizing = getSizing(issue.origin);
107
+ if (sizing) {
108
+ return `För lite(t): förväntade ${issue.origin ?? "värdet"} att ha ${adj}${issue.minimum.toString()} ${sizing.unit}`;
109
+ }
110
+ return `För lite(t): förväntade ${issue.origin ?? "värdet"} att ha ${adj}${issue.minimum.toString()}`;
111
+ }
112
+ case "invalid_format": {
113
+ const _issue = issue;
114
+ if (_issue.format === "starts_with") {
115
+ return `Ogiltig sträng: måste börja med "${_issue.prefix}"`;
116
+ }
117
+ if (_issue.format === "ends_with")
118
+ return `Ogiltig sträng: måste sluta med "${_issue.suffix}"`;
119
+ if (_issue.format === "includes")
120
+ return `Ogiltig sträng: måste innehålla "${_issue.includes}"`;
121
+ if (_issue.format === "regex")
122
+ return `Ogiltig sträng: måste matcha mönstret "${_issue.pattern}"`;
123
+ return `Ogiltig(t) ${Nouns[_issue.format] ?? issue.format}`;
124
+ }
125
+ case "not_multiple_of":
126
+ return `Ogiltigt tal: måste vara en multipel av ${issue.divisor}`;
127
+ case "unrecognized_keys":
128
+ return `${issue.keys.length > 1 ? "Okända nycklar" : "Okänd nyckel"}: ${util.joinValues(issue.keys, ", ")}`;
129
+ case "invalid_key":
130
+ return `Ogiltig nyckel i ${issue.origin ?? "värdet"}`;
131
+ case "invalid_union":
132
+ return "Ogiltig input";
133
+ case "invalid_element":
134
+ return `Ogiltigt värde i ${issue.origin ?? "värdet"}`;
135
+ default:
136
+ return `Ogiltig input`;
137
+ }
138
+ };
139
+ };
140
+ function default_1() {
141
+ return {
142
+ localeError: error(),
143
+ };
144
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sv.d.cts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sv.d.ts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.js";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/sv.js ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as util from "../core/util.js";
2
+ const error = () => {
3
+ const Sizable = {
4
+ string: { unit: "tecken", verb: "att ha" },
5
+ file: { unit: "bytes", verb: "att ha" },
6
+ array: { unit: "objekt", verb: "att innehålla" },
7
+ set: { unit: "objekt", verb: "att innehålla" },
8
+ };
9
+ function getSizing(origin) {
10
+ return Sizable[origin] ?? null;
11
+ }
12
+ const parsedType = (data) => {
13
+ const t = typeof data;
14
+ switch (t) {
15
+ case "number": {
16
+ return Number.isNaN(data) ? "NaN" : "antal";
17
+ }
18
+ case "object": {
19
+ if (Array.isArray(data)) {
20
+ return "lista";
21
+ }
22
+ if (data === null) {
23
+ return "null";
24
+ }
25
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
26
+ return data.constructor.name;
27
+ }
28
+ }
29
+ }
30
+ return t;
31
+ };
32
+ const Nouns = {
33
+ regex: "reguljärt uttryck",
34
+ email: "e-postadress",
35
+ url: "URL",
36
+ emoji: "emoji",
37
+ uuid: "UUID",
38
+ uuidv4: "UUIDv4",
39
+ uuidv6: "UUIDv6",
40
+ nanoid: "nanoid",
41
+ guid: "GUID",
42
+ cuid: "cuid",
43
+ cuid2: "cuid2",
44
+ ulid: "ULID",
45
+ xid: "XID",
46
+ ksuid: "KSUID",
47
+ datetime: "ISO-datum och tid",
48
+ date: "ISO-datum",
49
+ time: "ISO-tid",
50
+ duration: "ISO-varaktighet",
51
+ ipv4: "IPv4-intervall",
52
+ ipv6: "IPv6-intervall",
53
+ cidrv4: "IPv4-spektrum",
54
+ cidrv6: "IPv6-spektrum",
55
+ base64: "base64-kodad sträng",
56
+ base64url: "base64url-kodad sträng",
57
+ json_string: "JSON-sträng",
58
+ e164: "E.164-nummer",
59
+ jwt: "JWT",
60
+ template_literal: "mall-literal",
61
+ };
62
+ return (issue) => {
63
+ switch (issue.code) {
64
+ case "invalid_type":
65
+ return `Ogiltig inmatning: förväntat ${issue.expected}, fick ${parsedType(issue.input)}`;
66
+ case "invalid_value":
67
+ if (issue.values.length === 1)
68
+ return `Ogiltig inmatning: förväntat ${util.stringifyPrimitive(issue.values[0])}`;
69
+ return `Ogiltigt val: förväntade en av ${util.joinValues(issue.values, "|")}`;
70
+ case "too_big": {
71
+ const adj = issue.inclusive ? "<=" : "<";
72
+ const sizing = getSizing(issue.origin);
73
+ if (sizing) {
74
+ return `För stor(t): förväntade ${issue.origin ?? "värdet"} att ha ${adj}${issue.maximum.toString()} ${sizing.unit ?? "element"}`;
75
+ }
76
+ return `För stor(t): förväntat ${issue.origin ?? "värdet"} att ha ${adj}${issue.maximum.toString()}`;
77
+ }
78
+ case "too_small": {
79
+ const adj = issue.inclusive ? ">=" : ">";
80
+ const sizing = getSizing(issue.origin);
81
+ if (sizing) {
82
+ return `För lite(t): förväntade ${issue.origin ?? "värdet"} att ha ${adj}${issue.minimum.toString()} ${sizing.unit}`;
83
+ }
84
+ return `För lite(t): förväntade ${issue.origin ?? "värdet"} att ha ${adj}${issue.minimum.toString()}`;
85
+ }
86
+ case "invalid_format": {
87
+ const _issue = issue;
88
+ if (_issue.format === "starts_with") {
89
+ return `Ogiltig sträng: måste börja med "${_issue.prefix}"`;
90
+ }
91
+ if (_issue.format === "ends_with")
92
+ return `Ogiltig sträng: måste sluta med "${_issue.suffix}"`;
93
+ if (_issue.format === "includes")
94
+ return `Ogiltig sträng: måste innehålla "${_issue.includes}"`;
95
+ if (_issue.format === "regex")
96
+ return `Ogiltig sträng: måste matcha mönstret "${_issue.pattern}"`;
97
+ return `Ogiltig(t) ${Nouns[_issue.format] ?? issue.format}`;
98
+ }
99
+ case "not_multiple_of":
100
+ return `Ogiltigt tal: måste vara en multipel av ${issue.divisor}`;
101
+ case "unrecognized_keys":
102
+ return `${issue.keys.length > 1 ? "Okända nycklar" : "Okänd nyckel"}: ${util.joinValues(issue.keys, ", ")}`;
103
+ case "invalid_key":
104
+ return `Ogiltig nyckel i ${issue.origin ?? "värdet"}`;
105
+ case "invalid_union":
106
+ return "Ogiltig input";
107
+ case "invalid_element":
108
+ return `Ogiltigt värde i ${issue.origin ?? "värdet"}`;
109
+ default:
110
+ return `Ogiltig input`;
111
+ }
112
+ };
113
+ };
114
+ export default function () {
115
+ return {
116
+ localeError: error(),
117
+ };
118
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ta.cjs ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.default = default_1;
27
+ const util = __importStar(require("../core/util.cjs"));
28
+ const error = () => {
29
+ const Sizable = {
30
+ string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" },
31
+ file: { unit: "பைட்டுகள்", verb: "கொண்டிருக்க வேண்டும்" },
32
+ array: { unit: "உறுப்புகள்", verb: "கொண்டிருக்க வேண்டும்" },
33
+ set: { unit: "உறுப்புகள்", verb: "கொண்டிருக்க வேண்டும்" },
34
+ };
35
+ function getSizing(origin) {
36
+ return Sizable[origin] ?? null;
37
+ }
38
+ const parsedType = (data) => {
39
+ const t = typeof data;
40
+ switch (t) {
41
+ case "number": {
42
+ return Number.isNaN(data) ? "எண் அல்லாதது" : "எண்";
43
+ }
44
+ case "object": {
45
+ if (Array.isArray(data)) {
46
+ return "அணி";
47
+ }
48
+ if (data === null) {
49
+ return "வெறுமை";
50
+ }
51
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
52
+ return data.constructor.name;
53
+ }
54
+ }
55
+ }
56
+ return t;
57
+ };
58
+ const Nouns = {
59
+ regex: "உள்ளீடு",
60
+ email: "மின்னஞ்சல் முகவரி",
61
+ url: "URL",
62
+ emoji: "emoji",
63
+ uuid: "UUID",
64
+ uuidv4: "UUIDv4",
65
+ uuidv6: "UUIDv6",
66
+ nanoid: "nanoid",
67
+ guid: "GUID",
68
+ cuid: "cuid",
69
+ cuid2: "cuid2",
70
+ ulid: "ULID",
71
+ xid: "XID",
72
+ ksuid: "KSUID",
73
+ datetime: "ISO தேதி நேரம்",
74
+ date: "ISO தேதி",
75
+ time: "ISO நேரம்",
76
+ duration: "ISO கால அளவு",
77
+ ipv4: "IPv4 முகவரி",
78
+ ipv6: "IPv6 முகவரி",
79
+ cidrv4: "IPv4 வரம்பு",
80
+ cidrv6: "IPv6 வரம்பு",
81
+ base64: "base64-encoded சரம்",
82
+ base64url: "base64url-encoded சரம்",
83
+ json_string: "JSON சரம்",
84
+ e164: "E.164 எண்",
85
+ jwt: "JWT",
86
+ template_literal: "input",
87
+ };
88
+ return (issue) => {
89
+ switch (issue.code) {
90
+ case "invalid_type":
91
+ return `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${issue.expected}, பெறப்பட்டது ${parsedType(issue.input)}`;
92
+ case "invalid_value":
93
+ if (issue.values.length === 1)
94
+ return `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${util.stringifyPrimitive(issue.values[0])}`;
95
+ return `தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${util.joinValues(issue.values, "|")} இல் ஒன்று`;
96
+ case "too_big": {
97
+ const adj = issue.inclusive ? "<=" : "<";
98
+ const sizing = getSizing(issue.origin);
99
+ if (sizing) {
100
+ return `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${issue.origin ?? "மதிப்பு"} ${adj}${issue.maximum.toString()} ${sizing.unit ?? "உறுப்புகள்"} ஆக இருக்க வேண்டும்`;
101
+ }
102
+ return `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${issue.origin ?? "மதிப்பு"} ${adj}${issue.maximum.toString()} ஆக இருக்க வேண்டும்`;
103
+ }
104
+ case "too_small": {
105
+ const adj = issue.inclusive ? ">=" : ">";
106
+ const sizing = getSizing(issue.origin);
107
+ if (sizing) {
108
+ return `மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${issue.origin} ${adj}${issue.minimum.toString()} ${sizing.unit} ஆக இருக்க வேண்டும்`; //
109
+ }
110
+ return `மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${issue.origin} ${adj}${issue.minimum.toString()} ஆக இருக்க வேண்டும்`;
111
+ }
112
+ case "invalid_format": {
113
+ const _issue = issue;
114
+ if (_issue.format === "starts_with")
115
+ return `தவறான சரம்: "${_issue.prefix}" இல் தொடங்க வேண்டும்`;
116
+ if (_issue.format === "ends_with")
117
+ return `தவறான சரம்: "${_issue.suffix}" இல் முடிவடைய வேண்டும்`;
118
+ if (_issue.format === "includes")
119
+ return `தவறான சரம்: "${_issue.includes}" ஐ உள்ளடக்க வேண்டும்`;
120
+ if (_issue.format === "regex")
121
+ return `தவறான சரம்: ${_issue.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;
122
+ return `தவறான ${Nouns[_issue.format] ?? issue.format}`;
123
+ }
124
+ case "not_multiple_of":
125
+ return `தவறான எண்: ${issue.divisor} இன் பலமாக இருக்க வேண்டும்`;
126
+ case "unrecognized_keys":
127
+ return `அடையாளம் தெரியாத விசை${issue.keys.length > 1 ? "கள்" : ""}: ${util.joinValues(issue.keys, ", ")}`;
128
+ case "invalid_key":
129
+ return `${issue.origin} இல் தவறான விசை`;
130
+ case "invalid_union":
131
+ return "தவறான உள்ளீடு";
132
+ case "invalid_element":
133
+ return `${issue.origin} இல் தவறான மதிப்பு`;
134
+ default:
135
+ return `தவறான உள்ளீடு`;
136
+ }
137
+ };
138
+ };
139
+ function default_1() {
140
+ return {
141
+ localeError: error(),
142
+ };
143
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ta.d.cts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ta.d.ts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.js";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ta.js ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as util from "../core/util.js";
2
+ const error = () => {
3
+ const Sizable = {
4
+ string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" },
5
+ file: { unit: "பைட்டுகள்", verb: "கொண்டிருக்க வேண்டும்" },
6
+ array: { unit: "உறுப்புகள்", verb: "கொண்டிருக்க வேண்டும்" },
7
+ set: { unit: "உறுப்புகள்", verb: "கொண்டிருக்க வேண்டும்" },
8
+ };
9
+ function getSizing(origin) {
10
+ return Sizable[origin] ?? null;
11
+ }
12
+ const parsedType = (data) => {
13
+ const t = typeof data;
14
+ switch (t) {
15
+ case "number": {
16
+ return Number.isNaN(data) ? "எண் அல்லாதது" : "எண்";
17
+ }
18
+ case "object": {
19
+ if (Array.isArray(data)) {
20
+ return "அணி";
21
+ }
22
+ if (data === null) {
23
+ return "வெறுமை";
24
+ }
25
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
26
+ return data.constructor.name;
27
+ }
28
+ }
29
+ }
30
+ return t;
31
+ };
32
+ const Nouns = {
33
+ regex: "உள்ளீடு",
34
+ email: "மின்னஞ்சல் முகவரி",
35
+ url: "URL",
36
+ emoji: "emoji",
37
+ uuid: "UUID",
38
+ uuidv4: "UUIDv4",
39
+ uuidv6: "UUIDv6",
40
+ nanoid: "nanoid",
41
+ guid: "GUID",
42
+ cuid: "cuid",
43
+ cuid2: "cuid2",
44
+ ulid: "ULID",
45
+ xid: "XID",
46
+ ksuid: "KSUID",
47
+ datetime: "ISO தேதி நேரம்",
48
+ date: "ISO தேதி",
49
+ time: "ISO நேரம்",
50
+ duration: "ISO கால அளவு",
51
+ ipv4: "IPv4 முகவரி",
52
+ ipv6: "IPv6 முகவரி",
53
+ cidrv4: "IPv4 வரம்பு",
54
+ cidrv6: "IPv6 வரம்பு",
55
+ base64: "base64-encoded சரம்",
56
+ base64url: "base64url-encoded சரம்",
57
+ json_string: "JSON சரம்",
58
+ e164: "E.164 எண்",
59
+ jwt: "JWT",
60
+ template_literal: "input",
61
+ };
62
+ return (issue) => {
63
+ switch (issue.code) {
64
+ case "invalid_type":
65
+ return `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${issue.expected}, பெறப்பட்டது ${parsedType(issue.input)}`;
66
+ case "invalid_value":
67
+ if (issue.values.length === 1)
68
+ return `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${util.stringifyPrimitive(issue.values[0])}`;
69
+ return `தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${util.joinValues(issue.values, "|")} இல் ஒன்று`;
70
+ case "too_big": {
71
+ const adj = issue.inclusive ? "<=" : "<";
72
+ const sizing = getSizing(issue.origin);
73
+ if (sizing) {
74
+ return `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${issue.origin ?? "மதிப்பு"} ${adj}${issue.maximum.toString()} ${sizing.unit ?? "உறுப்புகள்"} ஆக இருக்க வேண்டும்`;
75
+ }
76
+ return `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${issue.origin ?? "மதிப்பு"} ${adj}${issue.maximum.toString()} ஆக இருக்க வேண்டும்`;
77
+ }
78
+ case "too_small": {
79
+ const adj = issue.inclusive ? ">=" : ">";
80
+ const sizing = getSizing(issue.origin);
81
+ if (sizing) {
82
+ return `மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${issue.origin} ${adj}${issue.minimum.toString()} ${sizing.unit} ஆக இருக்க வேண்டும்`; //
83
+ }
84
+ return `மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${issue.origin} ${adj}${issue.minimum.toString()} ஆக இருக்க வேண்டும்`;
85
+ }
86
+ case "invalid_format": {
87
+ const _issue = issue;
88
+ if (_issue.format === "starts_with")
89
+ return `தவறான சரம்: "${_issue.prefix}" இல் தொடங்க வேண்டும்`;
90
+ if (_issue.format === "ends_with")
91
+ return `தவறான சரம்: "${_issue.suffix}" இல் முடிவடைய வேண்டும்`;
92
+ if (_issue.format === "includes")
93
+ return `தவறான சரம்: "${_issue.includes}" ஐ உள்ளடக்க வேண்டும்`;
94
+ if (_issue.format === "regex")
95
+ return `தவறான சரம்: ${_issue.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;
96
+ return `தவறான ${Nouns[_issue.format] ?? issue.format}`;
97
+ }
98
+ case "not_multiple_of":
99
+ return `தவறான எண்: ${issue.divisor} இன் பலமாக இருக்க வேண்டும்`;
100
+ case "unrecognized_keys":
101
+ return `அடையாளம் தெரியாத விசை${issue.keys.length > 1 ? "கள்" : ""}: ${util.joinValues(issue.keys, ", ")}`;
102
+ case "invalid_key":
103
+ return `${issue.origin} இல் தவறான விசை`;
104
+ case "invalid_union":
105
+ return "தவறான உள்ளீடு";
106
+ case "invalid_element":
107
+ return `${issue.origin} இல் தவறான மதிப்பு`;
108
+ default:
109
+ return `தவறான உள்ளீடு`;
110
+ }
111
+ };
112
+ };
113
+ export default function () {
114
+ return {
115
+ localeError: error(),
116
+ };
117
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/th.cjs ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.default = default_1;
27
+ const util = __importStar(require("../core/util.cjs"));
28
+ const error = () => {
29
+ const Sizable = {
30
+ string: { unit: "ตัวอักษร", verb: "ควรมี" },
31
+ file: { unit: "ไบต์", verb: "ควรมี" },
32
+ array: { unit: "รายการ", verb: "ควรมี" },
33
+ set: { unit: "รายการ", verb: "ควรมี" },
34
+ };
35
+ function getSizing(origin) {
36
+ return Sizable[origin] ?? null;
37
+ }
38
+ const parsedType = (data) => {
39
+ const t = typeof data;
40
+ switch (t) {
41
+ case "number": {
42
+ return Number.isNaN(data) ? "ไม่ใช่ตัวเลข (NaN)" : "ตัวเลข";
43
+ }
44
+ case "object": {
45
+ if (Array.isArray(data)) {
46
+ return "อาร์เรย์ (Array)";
47
+ }
48
+ if (data === null) {
49
+ return "ไม่มีค่า (null)";
50
+ }
51
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
52
+ return data.constructor.name;
53
+ }
54
+ }
55
+ }
56
+ return t;
57
+ };
58
+ const Nouns = {
59
+ regex: "ข้อมูลที่ป้อน",
60
+ email: "ที่อยู่อีเมล",
61
+ url: "URL",
62
+ emoji: "อิโมจิ",
63
+ uuid: "UUID",
64
+ uuidv4: "UUIDv4",
65
+ uuidv6: "UUIDv6",
66
+ nanoid: "nanoid",
67
+ guid: "GUID",
68
+ cuid: "cuid",
69
+ cuid2: "cuid2",
70
+ ulid: "ULID",
71
+ xid: "XID",
72
+ ksuid: "KSUID",
73
+ datetime: "วันที่เวลาแบบ ISO",
74
+ date: "วันที่แบบ ISO",
75
+ time: "เวลาแบบ ISO",
76
+ duration: "ช่วงเวลาแบบ ISO",
77
+ ipv4: "ที่อยู่ IPv4",
78
+ ipv6: "ที่อยู่ IPv6",
79
+ cidrv4: "ช่วง IP แบบ IPv4",
80
+ cidrv6: "ช่วง IP แบบ IPv6",
81
+ base64: "ข้อความแบบ Base64",
82
+ base64url: "ข้อความแบบ Base64 สำหรับ URL",
83
+ json_string: "ข้อความแบบ JSON",
84
+ e164: "เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",
85
+ jwt: "โทเคน JWT",
86
+ template_literal: "ข้อมูลที่ป้อน",
87
+ };
88
+ return (issue) => {
89
+ switch (issue.code) {
90
+ case "invalid_type":
91
+ return `ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${issue.expected} แต่ได้รับ ${parsedType(issue.input)}`;
92
+ case "invalid_value":
93
+ if (issue.values.length === 1)
94
+ return `ค่าไม่ถูกต้อง: ควรเป็น ${util.stringifyPrimitive(issue.values[0])}`;
95
+ return `ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${util.joinValues(issue.values, "|")}`;
96
+ case "too_big": {
97
+ const adj = issue.inclusive ? "ไม่เกิน" : "น้อยกว่า";
98
+ const sizing = getSizing(issue.origin);
99
+ if (sizing)
100
+ return `เกินกำหนด: ${issue.origin ?? "ค่า"} ควรมี${adj} ${issue.maximum.toString()} ${sizing.unit ?? "รายการ"}`;
101
+ return `เกินกำหนด: ${issue.origin ?? "ค่า"} ควรมี${adj} ${issue.maximum.toString()}`;
102
+ }
103
+ case "too_small": {
104
+ const adj = issue.inclusive ? "อย่างน้อย" : "มากกว่า";
105
+ const sizing = getSizing(issue.origin);
106
+ if (sizing) {
107
+ return `น้อยกว่ากำหนด: ${issue.origin} ควรมี${adj} ${issue.minimum.toString()} ${sizing.unit}`;
108
+ }
109
+ return `น้อยกว่ากำหนด: ${issue.origin} ควรมี${adj} ${issue.minimum.toString()}`;
110
+ }
111
+ case "invalid_format": {
112
+ const _issue = issue;
113
+ if (_issue.format === "starts_with") {
114
+ return `รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${_issue.prefix}"`;
115
+ }
116
+ if (_issue.format === "ends_with")
117
+ return `รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${_issue.suffix}"`;
118
+ if (_issue.format === "includes")
119
+ return `รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${_issue.includes}" อยู่ในข้อความ`;
120
+ if (_issue.format === "regex")
121
+ return `รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${_issue.pattern}`;
122
+ return `รูปแบบไม่ถูกต้อง: ${Nouns[_issue.format] ?? issue.format}`;
123
+ }
124
+ case "not_multiple_of":
125
+ return `ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${issue.divisor} ได้ลงตัว`;
126
+ case "unrecognized_keys":
127
+ return `พบคีย์ที่ไม่รู้จัก: ${util.joinValues(issue.keys, ", ")}`;
128
+ case "invalid_key":
129
+ return `คีย์ไม่ถูกต้องใน ${issue.origin}`;
130
+ case "invalid_union":
131
+ return "ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";
132
+ case "invalid_element":
133
+ return `ข้อมูลไม่ถูกต้องใน ${issue.origin}`;
134
+ default:
135
+ return `ข้อมูลไม่ถูกต้อง`;
136
+ }
137
+ };
138
+ };
139
+ function default_1() {
140
+ return {
141
+ localeError: error(),
142
+ };
143
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/th.d.cts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/th.d.ts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.js";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/th.js ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as util from "../core/util.js";
2
+ const error = () => {
3
+ const Sizable = {
4
+ string: { unit: "ตัวอักษร", verb: "ควรมี" },
5
+ file: { unit: "ไบต์", verb: "ควรมี" },
6
+ array: { unit: "รายการ", verb: "ควรมี" },
7
+ set: { unit: "รายการ", verb: "ควรมี" },
8
+ };
9
+ function getSizing(origin) {
10
+ return Sizable[origin] ?? null;
11
+ }
12
+ const parsedType = (data) => {
13
+ const t = typeof data;
14
+ switch (t) {
15
+ case "number": {
16
+ return Number.isNaN(data) ? "ไม่ใช่ตัวเลข (NaN)" : "ตัวเลข";
17
+ }
18
+ case "object": {
19
+ if (Array.isArray(data)) {
20
+ return "อาร์เรย์ (Array)";
21
+ }
22
+ if (data === null) {
23
+ return "ไม่มีค่า (null)";
24
+ }
25
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
26
+ return data.constructor.name;
27
+ }
28
+ }
29
+ }
30
+ return t;
31
+ };
32
+ const Nouns = {
33
+ regex: "ข้อมูลที่ป้อน",
34
+ email: "ที่อยู่อีเมล",
35
+ url: "URL",
36
+ emoji: "อิโมจิ",
37
+ uuid: "UUID",
38
+ uuidv4: "UUIDv4",
39
+ uuidv6: "UUIDv6",
40
+ nanoid: "nanoid",
41
+ guid: "GUID",
42
+ cuid: "cuid",
43
+ cuid2: "cuid2",
44
+ ulid: "ULID",
45
+ xid: "XID",
46
+ ksuid: "KSUID",
47
+ datetime: "วันที่เวลาแบบ ISO",
48
+ date: "วันที่แบบ ISO",
49
+ time: "เวลาแบบ ISO",
50
+ duration: "ช่วงเวลาแบบ ISO",
51
+ ipv4: "ที่อยู่ IPv4",
52
+ ipv6: "ที่อยู่ IPv6",
53
+ cidrv4: "ช่วง IP แบบ IPv4",
54
+ cidrv6: "ช่วง IP แบบ IPv6",
55
+ base64: "ข้อความแบบ Base64",
56
+ base64url: "ข้อความแบบ Base64 สำหรับ URL",
57
+ json_string: "ข้อความแบบ JSON",
58
+ e164: "เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",
59
+ jwt: "โทเคน JWT",
60
+ template_literal: "ข้อมูลที่ป้อน",
61
+ };
62
+ return (issue) => {
63
+ switch (issue.code) {
64
+ case "invalid_type":
65
+ return `ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${issue.expected} แต่ได้รับ ${parsedType(issue.input)}`;
66
+ case "invalid_value":
67
+ if (issue.values.length === 1)
68
+ return `ค่าไม่ถูกต้อง: ควรเป็น ${util.stringifyPrimitive(issue.values[0])}`;
69
+ return `ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${util.joinValues(issue.values, "|")}`;
70
+ case "too_big": {
71
+ const adj = issue.inclusive ? "ไม่เกิน" : "น้อยกว่า";
72
+ const sizing = getSizing(issue.origin);
73
+ if (sizing)
74
+ return `เกินกำหนด: ${issue.origin ?? "ค่า"} ควรมี${adj} ${issue.maximum.toString()} ${sizing.unit ?? "รายการ"}`;
75
+ return `เกินกำหนด: ${issue.origin ?? "ค่า"} ควรมี${adj} ${issue.maximum.toString()}`;
76
+ }
77
+ case "too_small": {
78
+ const adj = issue.inclusive ? "อย่างน้อย" : "มากกว่า";
79
+ const sizing = getSizing(issue.origin);
80
+ if (sizing) {
81
+ return `น้อยกว่ากำหนด: ${issue.origin} ควรมี${adj} ${issue.minimum.toString()} ${sizing.unit}`;
82
+ }
83
+ return `น้อยกว่ากำหนด: ${issue.origin} ควรมี${adj} ${issue.minimum.toString()}`;
84
+ }
85
+ case "invalid_format": {
86
+ const _issue = issue;
87
+ if (_issue.format === "starts_with") {
88
+ return `รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${_issue.prefix}"`;
89
+ }
90
+ if (_issue.format === "ends_with")
91
+ return `รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${_issue.suffix}"`;
92
+ if (_issue.format === "includes")
93
+ return `รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${_issue.includes}" อยู่ในข้อความ`;
94
+ if (_issue.format === "regex")
95
+ return `รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${_issue.pattern}`;
96
+ return `รูปแบบไม่ถูกต้อง: ${Nouns[_issue.format] ?? issue.format}`;
97
+ }
98
+ case "not_multiple_of":
99
+ return `ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${issue.divisor} ได้ลงตัว`;
100
+ case "unrecognized_keys":
101
+ return `พบคีย์ที่ไม่รู้จัก: ${util.joinValues(issue.keys, ", ")}`;
102
+ case "invalid_key":
103
+ return `คีย์ไม่ถูกต้องใน ${issue.origin}`;
104
+ case "invalid_union":
105
+ return "ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";
106
+ case "invalid_element":
107
+ return `ข้อมูลไม่ถูกต้องใน ${issue.origin}`;
108
+ default:
109
+ return `ข้อมูลไม่ถูกต้อง`;
110
+ }
111
+ };
112
+ };
113
+ export default function () {
114
+ return {
115
+ localeError: error(),
116
+ };
117
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/tr.cjs ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.parsedType = void 0;
27
+ exports.default = default_1;
28
+ const util = __importStar(require("../core/util.cjs"));
29
+ const parsedType = (data) => {
30
+ const t = typeof data;
31
+ switch (t) {
32
+ case "number": {
33
+ return Number.isNaN(data) ? "NaN" : "number";
34
+ }
35
+ case "object": {
36
+ if (Array.isArray(data)) {
37
+ return "array";
38
+ }
39
+ if (data === null) {
40
+ return "null";
41
+ }
42
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
43
+ return data.constructor.name;
44
+ }
45
+ }
46
+ }
47
+ return t;
48
+ };
49
+ exports.parsedType = parsedType;
50
+ const error = () => {
51
+ const Sizable = {
52
+ string: { unit: "karakter", verb: "olmalı" },
53
+ file: { unit: "bayt", verb: "olmalı" },
54
+ array: { unit: "öğe", verb: "olmalı" },
55
+ set: { unit: "öğe", verb: "olmalı" },
56
+ };
57
+ function getSizing(origin) {
58
+ return Sizable[origin] ?? null;
59
+ }
60
+ const Nouns = {
61
+ regex: "girdi",
62
+ email: "e-posta adresi",
63
+ url: "URL",
64
+ emoji: "emoji",
65
+ uuid: "UUID",
66
+ uuidv4: "UUIDv4",
67
+ uuidv6: "UUIDv6",
68
+ nanoid: "nanoid",
69
+ guid: "GUID",
70
+ cuid: "cuid",
71
+ cuid2: "cuid2",
72
+ ulid: "ULID",
73
+ xid: "XID",
74
+ ksuid: "KSUID",
75
+ datetime: "ISO tarih ve saat",
76
+ date: "ISO tarih",
77
+ time: "ISO saat",
78
+ duration: "ISO süre",
79
+ ipv4: "IPv4 adresi",
80
+ ipv6: "IPv6 adresi",
81
+ cidrv4: "IPv4 aralığı",
82
+ cidrv6: "IPv6 aralığı",
83
+ base64: "base64 ile şifrelenmiş metin",
84
+ base64url: "base64url ile şifrelenmiş metin",
85
+ json_string: "JSON dizesi",
86
+ e164: "E.164 sayısı",
87
+ jwt: "JWT",
88
+ template_literal: "Şablon dizesi",
89
+ };
90
+ return (issue) => {
91
+ switch (issue.code) {
92
+ case "invalid_type":
93
+ return `Geçersiz değer: beklenen ${issue.expected}, alınan ${(0, exports.parsedType)(issue.input)}`;
94
+ case "invalid_value":
95
+ if (issue.values.length === 1)
96
+ return `Geçersiz değer: beklenen ${util.stringifyPrimitive(issue.values[0])}`;
97
+ return `Geçersiz seçenek: aşağıdakilerden biri olmalı: ${util.joinValues(issue.values, "|")}`;
98
+ case "too_big": {
99
+ const adj = issue.inclusive ? "<=" : "<";
100
+ const sizing = getSizing(issue.origin);
101
+ if (sizing)
102
+ return `Çok büyük: beklenen ${issue.origin ?? "değer"} ${adj}${issue.maximum.toString()} ${sizing.unit ?? "öğe"}`;
103
+ return `Çok büyük: beklenen ${issue.origin ?? "değer"} ${adj}${issue.maximum.toString()}`;
104
+ }
105
+ case "too_small": {
106
+ const adj = issue.inclusive ? ">=" : ">";
107
+ const sizing = getSizing(issue.origin);
108
+ if (sizing)
109
+ return `Çok küçük: beklenen ${issue.origin} ${adj}${issue.minimum.toString()} ${sizing.unit}`;
110
+ return `Çok küçük: beklenen ${issue.origin} ${adj}${issue.minimum.toString()}`;
111
+ }
112
+ case "invalid_format": {
113
+ const _issue = issue;
114
+ if (_issue.format === "starts_with")
115
+ return `Geçersiz metin: "${_issue.prefix}" ile başlamalı`;
116
+ if (_issue.format === "ends_with")
117
+ return `Geçersiz metin: "${_issue.suffix}" ile bitmeli`;
118
+ if (_issue.format === "includes")
119
+ return `Geçersiz metin: "${_issue.includes}" içermeli`;
120
+ if (_issue.format === "regex")
121
+ return `Geçersiz metin: ${_issue.pattern} desenine uymalı`;
122
+ return `Geçersiz ${Nouns[_issue.format] ?? issue.format}`;
123
+ }
124
+ case "not_multiple_of":
125
+ return `Geçersiz sayı: ${issue.divisor} ile tam bölünebilmeli`;
126
+ case "unrecognized_keys":
127
+ return `Tanınmayan anahtar${issue.keys.length > 1 ? "lar" : ""}: ${util.joinValues(issue.keys, ", ")}`;
128
+ case "invalid_key":
129
+ return `${issue.origin} içinde geçersiz anahtar`;
130
+ case "invalid_union":
131
+ return "Geçersiz değer";
132
+ case "invalid_element":
133
+ return `${issue.origin} içinde geçersiz değer`;
134
+ default:
135
+ return `Geçersiz değer`;
136
+ }
137
+ };
138
+ };
139
+ function default_1() {
140
+ return {
141
+ localeError: error(),
142
+ };
143
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/tr.d.cts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import type * as errors from "../core/errors.cjs";
2
+ export declare const parsedType: (data: any) => string;
3
+ export default function (): {
4
+ localeError: errors.$ZodErrorMap;
5
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/tr.d.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import type * as errors from "../core/errors.js";
2
+ export declare const parsedType: (data: any) => string;
3
+ export default function (): {
4
+ localeError: errors.$ZodErrorMap;
5
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/tr.js ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as util from "../core/util.js";
2
+ export const parsedType = (data) => {
3
+ const t = typeof data;
4
+ switch (t) {
5
+ case "number": {
6
+ return Number.isNaN(data) ? "NaN" : "number";
7
+ }
8
+ case "object": {
9
+ if (Array.isArray(data)) {
10
+ return "array";
11
+ }
12
+ if (data === null) {
13
+ return "null";
14
+ }
15
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
16
+ return data.constructor.name;
17
+ }
18
+ }
19
+ }
20
+ return t;
21
+ };
22
+ const error = () => {
23
+ const Sizable = {
24
+ string: { unit: "karakter", verb: "olmalı" },
25
+ file: { unit: "bayt", verb: "olmalı" },
26
+ array: { unit: "öğe", verb: "olmalı" },
27
+ set: { unit: "öğe", verb: "olmalı" },
28
+ };
29
+ function getSizing(origin) {
30
+ return Sizable[origin] ?? null;
31
+ }
32
+ const Nouns = {
33
+ regex: "girdi",
34
+ email: "e-posta adresi",
35
+ url: "URL",
36
+ emoji: "emoji",
37
+ uuid: "UUID",
38
+ uuidv4: "UUIDv4",
39
+ uuidv6: "UUIDv6",
40
+ nanoid: "nanoid",
41
+ guid: "GUID",
42
+ cuid: "cuid",
43
+ cuid2: "cuid2",
44
+ ulid: "ULID",
45
+ xid: "XID",
46
+ ksuid: "KSUID",
47
+ datetime: "ISO tarih ve saat",
48
+ date: "ISO tarih",
49
+ time: "ISO saat",
50
+ duration: "ISO süre",
51
+ ipv4: "IPv4 adresi",
52
+ ipv6: "IPv6 adresi",
53
+ cidrv4: "IPv4 aralığı",
54
+ cidrv6: "IPv6 aralığı",
55
+ base64: "base64 ile şifrelenmiş metin",
56
+ base64url: "base64url ile şifrelenmiş metin",
57
+ json_string: "JSON dizesi",
58
+ e164: "E.164 sayısı",
59
+ jwt: "JWT",
60
+ template_literal: "Şablon dizesi",
61
+ };
62
+ return (issue) => {
63
+ switch (issue.code) {
64
+ case "invalid_type":
65
+ return `Geçersiz değer: beklenen ${issue.expected}, alınan ${parsedType(issue.input)}`;
66
+ case "invalid_value":
67
+ if (issue.values.length === 1)
68
+ return `Geçersiz değer: beklenen ${util.stringifyPrimitive(issue.values[0])}`;
69
+ return `Geçersiz seçenek: aşağıdakilerden biri olmalı: ${util.joinValues(issue.values, "|")}`;
70
+ case "too_big": {
71
+ const adj = issue.inclusive ? "<=" : "<";
72
+ const sizing = getSizing(issue.origin);
73
+ if (sizing)
74
+ return `Çok büyük: beklenen ${issue.origin ?? "değer"} ${adj}${issue.maximum.toString()} ${sizing.unit ?? "öğe"}`;
75
+ return `Çok büyük: beklenen ${issue.origin ?? "değer"} ${adj}${issue.maximum.toString()}`;
76
+ }
77
+ case "too_small": {
78
+ const adj = issue.inclusive ? ">=" : ">";
79
+ const sizing = getSizing(issue.origin);
80
+ if (sizing)
81
+ return `Çok küçük: beklenen ${issue.origin} ${adj}${issue.minimum.toString()} ${sizing.unit}`;
82
+ return `Çok küçük: beklenen ${issue.origin} ${adj}${issue.minimum.toString()}`;
83
+ }
84
+ case "invalid_format": {
85
+ const _issue = issue;
86
+ if (_issue.format === "starts_with")
87
+ return `Geçersiz metin: "${_issue.prefix}" ile başlamalı`;
88
+ if (_issue.format === "ends_with")
89
+ return `Geçersiz metin: "${_issue.suffix}" ile bitmeli`;
90
+ if (_issue.format === "includes")
91
+ return `Geçersiz metin: "${_issue.includes}" içermeli`;
92
+ if (_issue.format === "regex")
93
+ return `Geçersiz metin: ${_issue.pattern} desenine uymalı`;
94
+ return `Geçersiz ${Nouns[_issue.format] ?? issue.format}`;
95
+ }
96
+ case "not_multiple_of":
97
+ return `Geçersiz sayı: ${issue.divisor} ile tam bölünebilmeli`;
98
+ case "unrecognized_keys":
99
+ return `Tanınmayan anahtar${issue.keys.length > 1 ? "lar" : ""}: ${util.joinValues(issue.keys, ", ")}`;
100
+ case "invalid_key":
101
+ return `${issue.origin} içinde geçersiz anahtar`;
102
+ case "invalid_union":
103
+ return "Geçersiz değer";
104
+ case "invalid_element":
105
+ return `${issue.origin} içinde geçersiz değer`;
106
+ default:
107
+ return `Geçersiz değer`;
108
+ }
109
+ };
110
+ };
111
+ export default function () {
112
+ return {
113
+ localeError: error(),
114
+ };
115
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ua.cjs ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.default = default_1;
27
+ const util = __importStar(require("../core/util.cjs"));
28
+ const error = () => {
29
+ const Sizable = {
30
+ string: { unit: "символів", verb: "матиме" },
31
+ file: { unit: "байтів", verb: "матиме" },
32
+ array: { unit: "елементів", verb: "матиме" },
33
+ set: { unit: "елементів", verb: "матиме" },
34
+ };
35
+ function getSizing(origin) {
36
+ return Sizable[origin] ?? null;
37
+ }
38
+ const parsedType = (data) => {
39
+ const t = typeof data;
40
+ switch (t) {
41
+ case "number": {
42
+ return Number.isNaN(data) ? "NaN" : "число";
43
+ }
44
+ case "object": {
45
+ if (Array.isArray(data)) {
46
+ return "масив";
47
+ }
48
+ if (data === null) {
49
+ return "null";
50
+ }
51
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
52
+ return data.constructor.name;
53
+ }
54
+ }
55
+ }
56
+ return t;
57
+ };
58
+ const Nouns = {
59
+ regex: "вхідні дані",
60
+ email: "адреса електронної пошти",
61
+ url: "URL",
62
+ emoji: "емодзі",
63
+ uuid: "UUID",
64
+ uuidv4: "UUIDv4",
65
+ uuidv6: "UUIDv6",
66
+ nanoid: "nanoid",
67
+ guid: "GUID",
68
+ cuid: "cuid",
69
+ cuid2: "cuid2",
70
+ ulid: "ULID",
71
+ xid: "XID",
72
+ ksuid: "KSUID",
73
+ datetime: "дата та час ISO",
74
+ date: "дата ISO",
75
+ time: "час ISO",
76
+ duration: "тривалість ISO",
77
+ ipv4: "адреса IPv4",
78
+ ipv6: "адреса IPv6",
79
+ cidrv4: "діапазон IPv4",
80
+ cidrv6: "діапазон IPv6",
81
+ base64: "рядок у кодуванні base64",
82
+ base64url: "рядок у кодуванні base64url",
83
+ json_string: "рядок JSON",
84
+ e164: "номер E.164",
85
+ jwt: "JWT",
86
+ template_literal: "вхідні дані",
87
+ };
88
+ return (issue) => {
89
+ switch (issue.code) {
90
+ case "invalid_type":
91
+ return `Неправильні вхідні дані: очікується ${issue.expected}, отримано ${parsedType(issue.input)}`;
92
+ // return `Неправильні вхідні дані: очікується ${issue.expected}, отримано ${util.getParsedType(issue.input)}`;
93
+ case "invalid_value":
94
+ if (issue.values.length === 1)
95
+ return `Неправильні вхідні дані: очікується ${util.stringifyPrimitive(issue.values[0])}`;
96
+ return `Неправильна опція: очікується одне з ${util.joinValues(issue.values, "|")}`;
97
+ case "too_big": {
98
+ const adj = issue.inclusive ? "<=" : "<";
99
+ const sizing = getSizing(issue.origin);
100
+ if (sizing)
101
+ return `Занадто велике: очікується, що ${issue.origin ?? "значення"} ${sizing.verb} ${adj}${issue.maximum.toString()} ${sizing.unit ?? "елементів"}`;
102
+ return `Занадто велике: очікується, що ${issue.origin ?? "значення"} буде ${adj}${issue.maximum.toString()}`;
103
+ }
104
+ case "too_small": {
105
+ const adj = issue.inclusive ? ">=" : ">";
106
+ const sizing = getSizing(issue.origin);
107
+ if (sizing) {
108
+ return `Занадто мале: очікується, що ${issue.origin} ${sizing.verb} ${adj}${issue.minimum.toString()} ${sizing.unit}`;
109
+ }
110
+ return `Занадто мале: очікується, що ${issue.origin} буде ${adj}${issue.minimum.toString()}`;
111
+ }
112
+ case "invalid_format": {
113
+ const _issue = issue;
114
+ if (_issue.format === "starts_with")
115
+ return `Неправильний рядок: повинен починатися з "${_issue.prefix}"`;
116
+ if (_issue.format === "ends_with")
117
+ return `Неправильний рядок: повинен закінчуватися на "${_issue.suffix}"`;
118
+ if (_issue.format === "includes")
119
+ return `Неправильний рядок: повинен містити "${_issue.includes}"`;
120
+ if (_issue.format === "regex")
121
+ return `Неправильний рядок: повинен відповідати шаблону ${_issue.pattern}`;
122
+ return `Неправильний ${Nouns[_issue.format] ?? issue.format}`;
123
+ }
124
+ case "not_multiple_of":
125
+ return `Неправильне число: повинно бути кратним ${issue.divisor}`;
126
+ case "unrecognized_keys":
127
+ return `Нерозпізнаний ключ${issue.keys.length > 1 ? "і" : ""}: ${util.joinValues(issue.keys, ", ")}`;
128
+ case "invalid_key":
129
+ return `Неправильний ключ у ${issue.origin}`;
130
+ case "invalid_union":
131
+ return "Неправильні вхідні дані";
132
+ case "invalid_element":
133
+ return `Неправильне значення у ${issue.origin}`;
134
+ default:
135
+ return `Неправильні вхідні дані`;
136
+ }
137
+ };
138
+ };
139
+ function default_1() {
140
+ return {
141
+ localeError: error(),
142
+ };
143
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ua.d.cts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ua.d.ts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.js";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ua.js ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as util from "../core/util.js";
2
+ const error = () => {
3
+ const Sizable = {
4
+ string: { unit: "символів", verb: "матиме" },
5
+ file: { unit: "байтів", verb: "матиме" },
6
+ array: { unit: "елементів", verb: "матиме" },
7
+ set: { unit: "елементів", verb: "матиме" },
8
+ };
9
+ function getSizing(origin) {
10
+ return Sizable[origin] ?? null;
11
+ }
12
+ const parsedType = (data) => {
13
+ const t = typeof data;
14
+ switch (t) {
15
+ case "number": {
16
+ return Number.isNaN(data) ? "NaN" : "число";
17
+ }
18
+ case "object": {
19
+ if (Array.isArray(data)) {
20
+ return "масив";
21
+ }
22
+ if (data === null) {
23
+ return "null";
24
+ }
25
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
26
+ return data.constructor.name;
27
+ }
28
+ }
29
+ }
30
+ return t;
31
+ };
32
+ const Nouns = {
33
+ regex: "вхідні дані",
34
+ email: "адреса електронної пошти",
35
+ url: "URL",
36
+ emoji: "емодзі",
37
+ uuid: "UUID",
38
+ uuidv4: "UUIDv4",
39
+ uuidv6: "UUIDv6",
40
+ nanoid: "nanoid",
41
+ guid: "GUID",
42
+ cuid: "cuid",
43
+ cuid2: "cuid2",
44
+ ulid: "ULID",
45
+ xid: "XID",
46
+ ksuid: "KSUID",
47
+ datetime: "дата та час ISO",
48
+ date: "дата ISO",
49
+ time: "час ISO",
50
+ duration: "тривалість ISO",
51
+ ipv4: "адреса IPv4",
52
+ ipv6: "адреса IPv6",
53
+ cidrv4: "діапазон IPv4",
54
+ cidrv6: "діапазон IPv6",
55
+ base64: "рядок у кодуванні base64",
56
+ base64url: "рядок у кодуванні base64url",
57
+ json_string: "рядок JSON",
58
+ e164: "номер E.164",
59
+ jwt: "JWT",
60
+ template_literal: "вхідні дані",
61
+ };
62
+ return (issue) => {
63
+ switch (issue.code) {
64
+ case "invalid_type":
65
+ return `Неправильні вхідні дані: очікується ${issue.expected}, отримано ${parsedType(issue.input)}`;
66
+ // return `Неправильні вхідні дані: очікується ${issue.expected}, отримано ${util.getParsedType(issue.input)}`;
67
+ case "invalid_value":
68
+ if (issue.values.length === 1)
69
+ return `Неправильні вхідні дані: очікується ${util.stringifyPrimitive(issue.values[0])}`;
70
+ return `Неправильна опція: очікується одне з ${util.joinValues(issue.values, "|")}`;
71
+ case "too_big": {
72
+ const adj = issue.inclusive ? "<=" : "<";
73
+ const sizing = getSizing(issue.origin);
74
+ if (sizing)
75
+ return `Занадто велике: очікується, що ${issue.origin ?? "значення"} ${sizing.verb} ${adj}${issue.maximum.toString()} ${sizing.unit ?? "елементів"}`;
76
+ return `Занадто велике: очікується, що ${issue.origin ?? "значення"} буде ${adj}${issue.maximum.toString()}`;
77
+ }
78
+ case "too_small": {
79
+ const adj = issue.inclusive ? ">=" : ">";
80
+ const sizing = getSizing(issue.origin);
81
+ if (sizing) {
82
+ return `Занадто мале: очікується, що ${issue.origin} ${sizing.verb} ${adj}${issue.minimum.toString()} ${sizing.unit}`;
83
+ }
84
+ return `Занадто мале: очікується, що ${issue.origin} буде ${adj}${issue.minimum.toString()}`;
85
+ }
86
+ case "invalid_format": {
87
+ const _issue = issue;
88
+ if (_issue.format === "starts_with")
89
+ return `Неправильний рядок: повинен починатися з "${_issue.prefix}"`;
90
+ if (_issue.format === "ends_with")
91
+ return `Неправильний рядок: повинен закінчуватися на "${_issue.suffix}"`;
92
+ if (_issue.format === "includes")
93
+ return `Неправильний рядок: повинен містити "${_issue.includes}"`;
94
+ if (_issue.format === "regex")
95
+ return `Неправильний рядок: повинен відповідати шаблону ${_issue.pattern}`;
96
+ return `Неправильний ${Nouns[_issue.format] ?? issue.format}`;
97
+ }
98
+ case "not_multiple_of":
99
+ return `Неправильне число: повинно бути кратним ${issue.divisor}`;
100
+ case "unrecognized_keys":
101
+ return `Нерозпізнаний ключ${issue.keys.length > 1 ? "і" : ""}: ${util.joinValues(issue.keys, ", ")}`;
102
+ case "invalid_key":
103
+ return `Неправильний ключ у ${issue.origin}`;
104
+ case "invalid_union":
105
+ return "Неправильні вхідні дані";
106
+ case "invalid_element":
107
+ return `Неправильне значення у ${issue.origin}`;
108
+ default:
109
+ return `Неправильні вхідні дані`;
110
+ }
111
+ };
112
+ };
113
+ export default function () {
114
+ return {
115
+ localeError: error(),
116
+ };
117
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ur.cjs ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.default = default_1;
27
+ const util = __importStar(require("../core/util.cjs"));
28
+ const error = () => {
29
+ const Sizable = {
30
+ string: { unit: "حروف", verb: "ہونا" },
31
+ file: { unit: "بائٹس", verb: "ہونا" },
32
+ array: { unit: "آئٹمز", verb: "ہونا" },
33
+ set: { unit: "آئٹمز", verb: "ہونا" },
34
+ };
35
+ function getSizing(origin) {
36
+ return Sizable[origin] ?? null;
37
+ }
38
+ const parsedType = (data) => {
39
+ const t = typeof data;
40
+ switch (t) {
41
+ case "number": {
42
+ return Number.isNaN(data) ? "NaN" : "نمبر";
43
+ }
44
+ case "object": {
45
+ if (Array.isArray(data)) {
46
+ return "آرے";
47
+ }
48
+ if (data === null) {
49
+ return "نل";
50
+ }
51
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
52
+ return data.constructor.name;
53
+ }
54
+ }
55
+ }
56
+ return t;
57
+ };
58
+ const Nouns = {
59
+ regex: "ان پٹ",
60
+ email: "ای میل ایڈریس",
61
+ url: "یو آر ایل",
62
+ emoji: "ایموجی",
63
+ uuid: "یو یو آئی ڈی",
64
+ uuidv4: "یو یو آئی ڈی وی 4",
65
+ uuidv6: "یو یو آئی ڈی وی 6",
66
+ nanoid: "نینو آئی ڈی",
67
+ guid: "جی یو آئی ڈی",
68
+ cuid: "سی یو آئی ڈی",
69
+ cuid2: "سی یو آئی ڈی 2",
70
+ ulid: "یو ایل آئی ڈی",
71
+ xid: "ایکس آئی ڈی",
72
+ ksuid: "کے ایس یو آئی ڈی",
73
+ datetime: "آئی ایس او ڈیٹ ٹائم",
74
+ date: "آئی ایس او تاریخ",
75
+ time: "آئی ایس او وقت",
76
+ duration: "آئی ایس او مدت",
77
+ ipv4: "آئی پی وی 4 ایڈریس",
78
+ ipv6: "آئی پی وی 6 ایڈریس",
79
+ cidrv4: "آئی پی وی 4 رینج",
80
+ cidrv6: "آئی پی وی 6 رینج",
81
+ base64: "بیس 64 ان کوڈڈ سٹرنگ",
82
+ base64url: "بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",
83
+ json_string: "جے ایس او این سٹرنگ",
84
+ e164: "ای 164 نمبر",
85
+ jwt: "جے ڈبلیو ٹی",
86
+ template_literal: "ان پٹ",
87
+ };
88
+ return (issue) => {
89
+ switch (issue.code) {
90
+ case "invalid_type":
91
+ return `غلط ان پٹ: ${issue.expected} متوقع تھا، ${parsedType(issue.input)} موصول ہوا`;
92
+ case "invalid_value":
93
+ if (issue.values.length === 1)
94
+ return `غلط ان پٹ: ${util.stringifyPrimitive(issue.values[0])} متوقع تھا`;
95
+ return `غلط آپشن: ${util.joinValues(issue.values, "|")} میں سے ایک متوقع تھا`;
96
+ case "too_big": {
97
+ const adj = issue.inclusive ? "<=" : "<";
98
+ const sizing = getSizing(issue.origin);
99
+ if (sizing)
100
+ return `بہت بڑا: ${issue.origin ?? "ویلیو"} کے ${adj}${issue.maximum.toString()} ${sizing.unit ?? "عناصر"} ہونے متوقع تھے`;
101
+ return `بہت بڑا: ${issue.origin ?? "ویلیو"} کا ${adj}${issue.maximum.toString()} ہونا متوقع تھا`;
102
+ }
103
+ case "too_small": {
104
+ const adj = issue.inclusive ? ">=" : ">";
105
+ const sizing = getSizing(issue.origin);
106
+ if (sizing) {
107
+ return `بہت چھوٹا: ${issue.origin} کے ${adj}${issue.minimum.toString()} ${sizing.unit} ہونے متوقع تھے`;
108
+ }
109
+ return `بہت چھوٹا: ${issue.origin} کا ${adj}${issue.minimum.toString()} ہونا متوقع تھا`;
110
+ }
111
+ case "invalid_format": {
112
+ const _issue = issue;
113
+ if (_issue.format === "starts_with") {
114
+ return `غلط سٹرنگ: "${_issue.prefix}" سے شروع ہونا چاہیے`;
115
+ }
116
+ if (_issue.format === "ends_with")
117
+ return `غلط سٹرنگ: "${_issue.suffix}" پر ختم ہونا چاہیے`;
118
+ if (_issue.format === "includes")
119
+ return `غلط سٹرنگ: "${_issue.includes}" شامل ہونا چاہیے`;
120
+ if (_issue.format === "regex")
121
+ return `غلط سٹرنگ: پیٹرن ${_issue.pattern} سے میچ ہونا چاہیے`;
122
+ return `غلط ${Nouns[_issue.format] ?? issue.format}`;
123
+ }
124
+ case "not_multiple_of":
125
+ return `غلط نمبر: ${issue.divisor} کا مضاعف ہونا چاہیے`;
126
+ case "unrecognized_keys":
127
+ return `غیر تسلیم شدہ کی${issue.keys.length > 1 ? "ز" : ""}: ${util.joinValues(issue.keys, "، ")}`;
128
+ case "invalid_key":
129
+ return `${issue.origin} میں غلط کی`;
130
+ case "invalid_union":
131
+ return "غلط ان پٹ";
132
+ case "invalid_element":
133
+ return `${issue.origin} میں غلط ویلیو`;
134
+ default:
135
+ return `غلط ان پٹ`;
136
+ }
137
+ };
138
+ };
139
+ function default_1() {
140
+ return {
141
+ localeError: error(),
142
+ };
143
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ur.d.cts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ur.d.ts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.js";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/ur.js ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as util from "../core/util.js";
2
+ const error = () => {
3
+ const Sizable = {
4
+ string: { unit: "حروف", verb: "ہونا" },
5
+ file: { unit: "بائٹس", verb: "ہونا" },
6
+ array: { unit: "آئٹمز", verb: "ہونا" },
7
+ set: { unit: "آئٹمز", verb: "ہونا" },
8
+ };
9
+ function getSizing(origin) {
10
+ return Sizable[origin] ?? null;
11
+ }
12
+ const parsedType = (data) => {
13
+ const t = typeof data;
14
+ switch (t) {
15
+ case "number": {
16
+ return Number.isNaN(data) ? "NaN" : "نمبر";
17
+ }
18
+ case "object": {
19
+ if (Array.isArray(data)) {
20
+ return "آرے";
21
+ }
22
+ if (data === null) {
23
+ return "نل";
24
+ }
25
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
26
+ return data.constructor.name;
27
+ }
28
+ }
29
+ }
30
+ return t;
31
+ };
32
+ const Nouns = {
33
+ regex: "ان پٹ",
34
+ email: "ای میل ایڈریس",
35
+ url: "یو آر ایل",
36
+ emoji: "ایموجی",
37
+ uuid: "یو یو آئی ڈی",
38
+ uuidv4: "یو یو آئی ڈی وی 4",
39
+ uuidv6: "یو یو آئی ڈی وی 6",
40
+ nanoid: "نینو آئی ڈی",
41
+ guid: "جی یو آئی ڈی",
42
+ cuid: "سی یو آئی ڈی",
43
+ cuid2: "سی یو آئی ڈی 2",
44
+ ulid: "یو ایل آئی ڈی",
45
+ xid: "ایکس آئی ڈی",
46
+ ksuid: "کے ایس یو آئی ڈی",
47
+ datetime: "آئی ایس او ڈیٹ ٹائم",
48
+ date: "آئی ایس او تاریخ",
49
+ time: "آئی ایس او وقت",
50
+ duration: "آئی ایس او مدت",
51
+ ipv4: "آئی پی وی 4 ایڈریس",
52
+ ipv6: "آئی پی وی 6 ایڈریس",
53
+ cidrv4: "آئی پی وی 4 رینج",
54
+ cidrv6: "آئی پی وی 6 رینج",
55
+ base64: "بیس 64 ان کوڈڈ سٹرنگ",
56
+ base64url: "بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",
57
+ json_string: "جے ایس او این سٹرنگ",
58
+ e164: "ای 164 نمبر",
59
+ jwt: "جے ڈبلیو ٹی",
60
+ template_literal: "ان پٹ",
61
+ };
62
+ return (issue) => {
63
+ switch (issue.code) {
64
+ case "invalid_type":
65
+ return `غلط ان پٹ: ${issue.expected} متوقع تھا، ${parsedType(issue.input)} موصول ہوا`;
66
+ case "invalid_value":
67
+ if (issue.values.length === 1)
68
+ return `غلط ان پٹ: ${util.stringifyPrimitive(issue.values[0])} متوقع تھا`;
69
+ return `غلط آپشن: ${util.joinValues(issue.values, "|")} میں سے ایک متوقع تھا`;
70
+ case "too_big": {
71
+ const adj = issue.inclusive ? "<=" : "<";
72
+ const sizing = getSizing(issue.origin);
73
+ if (sizing)
74
+ return `بہت بڑا: ${issue.origin ?? "ویلیو"} کے ${adj}${issue.maximum.toString()} ${sizing.unit ?? "عناصر"} ہونے متوقع تھے`;
75
+ return `بہت بڑا: ${issue.origin ?? "ویلیو"} کا ${adj}${issue.maximum.toString()} ہونا متوقع تھا`;
76
+ }
77
+ case "too_small": {
78
+ const adj = issue.inclusive ? ">=" : ">";
79
+ const sizing = getSizing(issue.origin);
80
+ if (sizing) {
81
+ return `بہت چھوٹا: ${issue.origin} کے ${adj}${issue.minimum.toString()} ${sizing.unit} ہونے متوقع تھے`;
82
+ }
83
+ return `بہت چھوٹا: ${issue.origin} کا ${adj}${issue.minimum.toString()} ہونا متوقع تھا`;
84
+ }
85
+ case "invalid_format": {
86
+ const _issue = issue;
87
+ if (_issue.format === "starts_with") {
88
+ return `غلط سٹرنگ: "${_issue.prefix}" سے شروع ہونا چاہیے`;
89
+ }
90
+ if (_issue.format === "ends_with")
91
+ return `غلط سٹرنگ: "${_issue.suffix}" پر ختم ہونا چاہیے`;
92
+ if (_issue.format === "includes")
93
+ return `غلط سٹرنگ: "${_issue.includes}" شامل ہونا چاہیے`;
94
+ if (_issue.format === "regex")
95
+ return `غلط سٹرنگ: پیٹرن ${_issue.pattern} سے میچ ہونا چاہیے`;
96
+ return `غلط ${Nouns[_issue.format] ?? issue.format}`;
97
+ }
98
+ case "not_multiple_of":
99
+ return `غلط نمبر: ${issue.divisor} کا مضاعف ہونا چاہیے`;
100
+ case "unrecognized_keys":
101
+ return `غیر تسلیم شدہ کی${issue.keys.length > 1 ? "ز" : ""}: ${util.joinValues(issue.keys, "، ")}`;
102
+ case "invalid_key":
103
+ return `${issue.origin} میں غلط کی`;
104
+ case "invalid_union":
105
+ return "غلط ان پٹ";
106
+ case "invalid_element":
107
+ return `${issue.origin} میں غلط ویلیو`;
108
+ default:
109
+ return `غلط ان پٹ`;
110
+ }
111
+ };
112
+ };
113
+ export default function () {
114
+ return {
115
+ localeError: error(),
116
+ };
117
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/vi.cjs ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.default = default_1;
27
+ const util = __importStar(require("../core/util.cjs"));
28
+ const error = () => {
29
+ const Sizable = {
30
+ string: { unit: "ký tự", verb: "có" },
31
+ file: { unit: "byte", verb: "có" },
32
+ array: { unit: "phần tử", verb: "có" },
33
+ set: { unit: "phần tử", verb: "có" },
34
+ };
35
+ function getSizing(origin) {
36
+ return Sizable[origin] ?? null;
37
+ }
38
+ const parsedType = (data) => {
39
+ const t = typeof data;
40
+ switch (t) {
41
+ case "number": {
42
+ return Number.isNaN(data) ? "NaN" : "số";
43
+ }
44
+ case "object": {
45
+ if (Array.isArray(data)) {
46
+ return "mảng";
47
+ }
48
+ if (data === null) {
49
+ return "null";
50
+ }
51
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
52
+ return data.constructor.name;
53
+ }
54
+ }
55
+ }
56
+ return t;
57
+ };
58
+ const Nouns = {
59
+ regex: "đầu vào",
60
+ email: "địa chỉ email",
61
+ url: "URL",
62
+ emoji: "emoji",
63
+ uuid: "UUID",
64
+ uuidv4: "UUIDv4",
65
+ uuidv6: "UUIDv6",
66
+ nanoid: "nanoid",
67
+ guid: "GUID",
68
+ cuid: "cuid",
69
+ cuid2: "cuid2",
70
+ ulid: "ULID",
71
+ xid: "XID",
72
+ ksuid: "KSUID",
73
+ datetime: "ngày giờ ISO",
74
+ date: "ngày ISO",
75
+ time: "giờ ISO",
76
+ duration: "khoảng thời gian ISO",
77
+ ipv4: "địa chỉ IPv4",
78
+ ipv6: "địa chỉ IPv6",
79
+ cidrv4: "dải IPv4",
80
+ cidrv6: "dải IPv6",
81
+ base64: "chuỗi mã hóa base64",
82
+ base64url: "chuỗi mã hóa base64url",
83
+ json_string: "chuỗi JSON",
84
+ e164: "số E.164",
85
+ jwt: "JWT",
86
+ template_literal: "đầu vào",
87
+ };
88
+ return (issue) => {
89
+ switch (issue.code) {
90
+ case "invalid_type":
91
+ return `Đầu vào không hợp lệ: mong đợi ${issue.expected}, nhận được ${parsedType(issue.input)}`;
92
+ case "invalid_value":
93
+ if (issue.values.length === 1)
94
+ return `Đầu vào không hợp lệ: mong đợi ${util.stringifyPrimitive(issue.values[0])}`;
95
+ return `Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${util.joinValues(issue.values, "|")}`;
96
+ case "too_big": {
97
+ const adj = issue.inclusive ? "<=" : "<";
98
+ const sizing = getSizing(issue.origin);
99
+ if (sizing)
100
+ return `Quá lớn: mong đợi ${issue.origin ?? "giá trị"} ${sizing.verb} ${adj}${issue.maximum.toString()} ${sizing.unit ?? "phần tử"}`;
101
+ return `Quá lớn: mong đợi ${issue.origin ?? "giá trị"} ${adj}${issue.maximum.toString()}`;
102
+ }
103
+ case "too_small": {
104
+ const adj = issue.inclusive ? ">=" : ">";
105
+ const sizing = getSizing(issue.origin);
106
+ if (sizing) {
107
+ return `Quá nhỏ: mong đợi ${issue.origin} ${sizing.verb} ${adj}${issue.minimum.toString()} ${sizing.unit}`;
108
+ }
109
+ return `Quá nhỏ: mong đợi ${issue.origin} ${adj}${issue.minimum.toString()}`;
110
+ }
111
+ case "invalid_format": {
112
+ const _issue = issue;
113
+ if (_issue.format === "starts_with")
114
+ return `Chuỗi không hợp lệ: phải bắt đầu bằng "${_issue.prefix}"`;
115
+ if (_issue.format === "ends_with")
116
+ return `Chuỗi không hợp lệ: phải kết thúc bằng "${_issue.suffix}"`;
117
+ if (_issue.format === "includes")
118
+ return `Chuỗi không hợp lệ: phải bao gồm "${_issue.includes}"`;
119
+ if (_issue.format === "regex")
120
+ return `Chuỗi không hợp lệ: phải khớp với mẫu ${_issue.pattern}`;
121
+ return `${Nouns[_issue.format] ?? issue.format} không hợp lệ`;
122
+ }
123
+ case "not_multiple_of":
124
+ return `Số không hợp lệ: phải là bội số của ${issue.divisor}`;
125
+ case "unrecognized_keys":
126
+ return `Khóa không được nhận dạng: ${util.joinValues(issue.keys, ", ")}`;
127
+ case "invalid_key":
128
+ return `Khóa không hợp lệ trong ${issue.origin}`;
129
+ case "invalid_union":
130
+ return "Đầu vào không hợp lệ";
131
+ case "invalid_element":
132
+ return `Giá trị không hợp lệ trong ${issue.origin}`;
133
+ default:
134
+ return `Đầu vào không hợp lệ`;
135
+ }
136
+ };
137
+ };
138
+ function default_1() {
139
+ return {
140
+ localeError: error(),
141
+ };
142
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/vi.d.cts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/vi.d.ts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import type * as errors from "../core/errors.js";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/vi.js ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as util from "../core/util.js";
2
+ const error = () => {
3
+ const Sizable = {
4
+ string: { unit: "ký tự", verb: "có" },
5
+ file: { unit: "byte", verb: "có" },
6
+ array: { unit: "phần tử", verb: "có" },
7
+ set: { unit: "phần tử", verb: "có" },
8
+ };
9
+ function getSizing(origin) {
10
+ return Sizable[origin] ?? null;
11
+ }
12
+ const parsedType = (data) => {
13
+ const t = typeof data;
14
+ switch (t) {
15
+ case "number": {
16
+ return Number.isNaN(data) ? "NaN" : "số";
17
+ }
18
+ case "object": {
19
+ if (Array.isArray(data)) {
20
+ return "mảng";
21
+ }
22
+ if (data === null) {
23
+ return "null";
24
+ }
25
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
26
+ return data.constructor.name;
27
+ }
28
+ }
29
+ }
30
+ return t;
31
+ };
32
+ const Nouns = {
33
+ regex: "đầu vào",
34
+ email: "địa chỉ email",
35
+ url: "URL",
36
+ emoji: "emoji",
37
+ uuid: "UUID",
38
+ uuidv4: "UUIDv4",
39
+ uuidv6: "UUIDv6",
40
+ nanoid: "nanoid",
41
+ guid: "GUID",
42
+ cuid: "cuid",
43
+ cuid2: "cuid2",
44
+ ulid: "ULID",
45
+ xid: "XID",
46
+ ksuid: "KSUID",
47
+ datetime: "ngày giờ ISO",
48
+ date: "ngày ISO",
49
+ time: "giờ ISO",
50
+ duration: "khoảng thời gian ISO",
51
+ ipv4: "địa chỉ IPv4",
52
+ ipv6: "địa chỉ IPv6",
53
+ cidrv4: "dải IPv4",
54
+ cidrv6: "dải IPv6",
55
+ base64: "chuỗi mã hóa base64",
56
+ base64url: "chuỗi mã hóa base64url",
57
+ json_string: "chuỗi JSON",
58
+ e164: "số E.164",
59
+ jwt: "JWT",
60
+ template_literal: "đầu vào",
61
+ };
62
+ return (issue) => {
63
+ switch (issue.code) {
64
+ case "invalid_type":
65
+ return `Đầu vào không hợp lệ: mong đợi ${issue.expected}, nhận được ${parsedType(issue.input)}`;
66
+ case "invalid_value":
67
+ if (issue.values.length === 1)
68
+ return `Đầu vào không hợp lệ: mong đợi ${util.stringifyPrimitive(issue.values[0])}`;
69
+ return `Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${util.joinValues(issue.values, "|")}`;
70
+ case "too_big": {
71
+ const adj = issue.inclusive ? "<=" : "<";
72
+ const sizing = getSizing(issue.origin);
73
+ if (sizing)
74
+ return `Quá lớn: mong đợi ${issue.origin ?? "giá trị"} ${sizing.verb} ${adj}${issue.maximum.toString()} ${sizing.unit ?? "phần tử"}`;
75
+ return `Quá lớn: mong đợi ${issue.origin ?? "giá trị"} ${adj}${issue.maximum.toString()}`;
76
+ }
77
+ case "too_small": {
78
+ const adj = issue.inclusive ? ">=" : ">";
79
+ const sizing = getSizing(issue.origin);
80
+ if (sizing) {
81
+ return `Quá nhỏ: mong đợi ${issue.origin} ${sizing.verb} ${adj}${issue.minimum.toString()} ${sizing.unit}`;
82
+ }
83
+ return `Quá nhỏ: mong đợi ${issue.origin} ${adj}${issue.minimum.toString()}`;
84
+ }
85
+ case "invalid_format": {
86
+ const _issue = issue;
87
+ if (_issue.format === "starts_with")
88
+ return `Chuỗi không hợp lệ: phải bắt đầu bằng "${_issue.prefix}"`;
89
+ if (_issue.format === "ends_with")
90
+ return `Chuỗi không hợp lệ: phải kết thúc bằng "${_issue.suffix}"`;
91
+ if (_issue.format === "includes")
92
+ return `Chuỗi không hợp lệ: phải bao gồm "${_issue.includes}"`;
93
+ if (_issue.format === "regex")
94
+ return `Chuỗi không hợp lệ: phải khớp với mẫu ${_issue.pattern}`;
95
+ return `${Nouns[_issue.format] ?? issue.format} không hợp lệ`;
96
+ }
97
+ case "not_multiple_of":
98
+ return `Số không hợp lệ: phải là bội số của ${issue.divisor}`;
99
+ case "unrecognized_keys":
100
+ return `Khóa không được nhận dạng: ${util.joinValues(issue.keys, ", ")}`;
101
+ case "invalid_key":
102
+ return `Khóa không hợp lệ trong ${issue.origin}`;
103
+ case "invalid_union":
104
+ return "Đầu vào không hợp lệ";
105
+ case "invalid_element":
106
+ return `Giá trị không hợp lệ trong ${issue.origin}`;
107
+ default:
108
+ return `Đầu vào không hợp lệ`;
109
+ }
110
+ };
111
+ };
112
+ export default function () {
113
+ return {
114
+ localeError: error(),
115
+ };
116
+ }
node_modules/@jimp/plugin-displace/node_modules/zod/v4/locales/zh-CN.cjs ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.default = default_1;
27
+ const util = __importStar(require("../core/util.cjs"));
28
+ const error = () => {
29
+ const Sizable = {
30
+ string: { unit: "字符", verb: "包含" },
31
+ file: { unit: "字节", verb: "包含" },
32
+ array: { unit: "项", verb: "包含" },
33
+ set: { unit: "项", verb: "包含" },
34
+ };
35
+ function getSizing(origin) {
36
+ return Sizable[origin] ?? null;
37
+ }
38
+ const parsedType = (data) => {
39
+ const t = typeof data;
40
+ switch (t) {
41
+ case "number": {
42
+ return Number.isNaN(data) ? "非数字(NaN)" : "数字";
43
+ }
44
+ case "object": {
45
+ if (Array.isArray(data)) {
46
+ return "数组";
47
+ }
48
+ if (data === null) {
49
+ return "空值(null)";
50
+ }
51
+ if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
52
+ return data.constructor.name;
53
+ }
54
+ }
55
+ }
56
+ return t;
57
+ };
58
+ const Nouns = {
59
+ regex: "输入",
60
+ email: "电子邮件",
61
+ url: "URL",
62
+ emoji: "表情符号",
63
+ uuid: "UUID",
64
+ uuidv4: "UUIDv4",
65
+ uuidv6: "UUIDv6",
66
+ nanoid: "nanoid",
67
+ guid: "GUID",
68
+ cuid: "cuid",
69
+ cuid2: "cuid2",
70
+ ulid: "ULID",
71
+ xid: "XID",
72
+ ksuid: "KSUID",
73
+ datetime: "ISO日期时间",
74
+ date: "ISO日期",
75
+ time: "ISO时间",
76
+ duration: "ISO时长",
77
+ ipv4: "IPv4地址",
78
+ ipv6: "IPv6地址",
79
+ cidrv4: "IPv4网段",
80
+ cidrv6: "IPv6网段",
81
+ base64: "base64编码字符串",
82
+ base64url: "base64url编码字符串",
83
+ json_string: "JSON字符串",
84
+ e164: "E.164号码",
85
+ jwt: "JWT",
86
+ template_literal: "输入",
87
+ };
88
+ return (issue) => {
89
+ switch (issue.code) {
90
+ case "invalid_type":
91
+ return `无效输入:期望 ${issue.expected},实际接收 ${parsedType(issue.input)}`;
92
+ case "invalid_value":
93
+ if (issue.values.length === 1)
94
+ return `无效输入:期望 ${util.stringifyPrimitive(issue.values[0])}`;
95
+ return `无效选项:期望以下之一 ${util.joinValues(issue.values, "|")}`;
96
+ case "too_big": {
97
+ const adj = issue.inclusive ? "<=" : "<";
98
+ const sizing = getSizing(issue.origin);
99
+ if (sizing)
100
+ return `数值过大:期望 ${issue.origin ?? "值"} ${adj}${issue.maximum.toString()} ${sizing.unit ?? "个元素"}`;
101
+ return `数值过大:期望 ${issue.origin ?? "值"} ${adj}${issue.maximum.toString()}`;
102
+ }
103
+ case "too_small": {
104
+ const adj = issue.inclusive ? ">=" : ">";
105
+ const sizing = getSizing(issue.origin);
106
+ if (sizing) {
107
+ return `数值过小:期望 ${issue.origin} ${adj}${issue.minimum.toString()} ${sizing.unit}`;
108
+ }
109
+ return `数值过小:期望 ${issue.origin} ${adj}${issue.minimum.toString()}`;
110
+ }
111
+ case "invalid_format": {
112
+ const _issue = issue;
113
+ if (_issue.format === "starts_with")
114
+ return `无效字符串:必须以 "${_issue.prefix}" 开头`;
115
+ if (_issue.format === "ends_with")
116
+ return `无效字符串:必须以 "${_issue.suffix}" 结尾`;
117
+ if (_issue.format === "includes")
118
+ return `无效字符串:必须包含 "${_issue.includes}"`;
119
+ if (_issue.format === "regex")
120
+ return `无效字符串:必须满足正则表达式 ${_issue.pattern}`;
121
+ return `无效${Nouns[_issue.format] ?? issue.format}`;
122
+ }
123
+ case "not_multiple_of":
124
+ return `无效数字:必须是 ${issue.divisor} 的倍数`;
125
+ case "unrecognized_keys":
126
+ return `出现未知的键(key): ${util.joinValues(issue.keys, ", ")}`;
127
+ case "invalid_key":
128
+ return `${issue.origin} 中的键(key)无效`;
129
+ case "invalid_union":
130
+ return "无效输入";
131
+ case "invalid_element":
132
+ return `${issue.origin} 中包含无效值(value)`;
133
+ default:
134
+ return `无效输入`;
135
+ }
136
+ };
137
+ };
138
+ function default_1() {
139
+ return {
140
+ localeError: error(),
141
+ };
142
+ }