@charisol/plexo-sdk 1.4.39 → 1.4.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/index.js +13431 -17791
  2. package/dist/plexo-sdk.css +1 -1
  3. package/dist/v2/ai/commands.d.ts +616 -0
  4. package/dist/v2/ai/dispatch.d.ts +24 -0
  5. package/dist/v2/ai/nodeSchema.d.ts +196 -0
  6. package/dist/v2/brand/BrandColorSwatches.d.ts +4 -0
  7. package/dist/v2/brand/BrandPanel.d.ts +4 -0
  8. package/dist/v2/brand/ChangeSetGallery.d.ts +10 -0
  9. package/dist/v2/brand/StyleSetEditor.d.ts +22 -0
  10. package/dist/v2/canvas/CatalogDragContext.d.ts +27 -0
  11. package/dist/v2/canvas/ContextMenuContext.d.ts +16 -0
  12. package/dist/v2/canvas/DeviceModeContext.d.ts +20 -0
  13. package/dist/v2/canvas/DragEngineContext.d.ts +13 -0
  14. package/dist/v2/canvas/LayoutGuideContext.d.ts +22 -0
  15. package/dist/v2/canvas/PreviewModeContext.d.ts +15 -0
  16. package/dist/v2/canvas/SidebarContext.d.ts +21 -0
  17. package/dist/v2/canvas/StylePainterContext.d.ts +19 -0
  18. package/dist/v2/canvas/WorkspaceThemeContext.d.ts +19 -0
  19. package/dist/v2/canvas/aiTextTransforms.d.ts +24 -0
  20. package/dist/v2/canvas/animationPresets.d.ts +12 -0
  21. package/dist/v2/canvas/constants.d.ts +6 -0
  22. package/dist/v2/canvas/modelRect.d.ts +4 -0
  23. package/dist/v2/canvas/rectMath.d.ts +34 -0
  24. package/dist/v2/canvas/reorderMath.d.ts +8 -0
  25. package/dist/v2/canvas/resizeMath.d.ts +16 -0
  26. package/dist/v2/canvas/resolveBoxStyle.d.ts +12 -0
  27. package/dist/v2/canvas/resolveTargetSection.d.ts +10 -0
  28. package/dist/v2/canvas/sectionDividerShapes.d.ts +12 -0
  29. package/dist/v2/canvas/snapping.d.ts +28 -0
  30. package/dist/v2/canvas/useAlignNode.d.ts +10 -0
  31. package/dist/v2/canvas/useClipboardKeyBinding.d.ts +7 -0
  32. package/dist/v2/canvas/useDeleteKeyBinding.d.ts +3 -0
  33. package/dist/v2/canvas/useDragEngine.d.ts +44 -0
  34. package/dist/v2/canvas/useDraggableNode.d.ts +40 -0
  35. package/dist/v2/canvas/useInlineTextEdit.d.ts +29 -0
  36. package/dist/v2/canvas/usePointerEngine.d.ts +22 -0
  37. package/dist/v2/canvas/useResizeHandle.d.ts +12 -0
  38. package/dist/v2/canvas/useResolvedTextStyles.d.ts +13 -0
  39. package/dist/v2/canvas/useSelectionRects.d.ts +13 -0
  40. package/dist/v2/canvas/useUndoRedoKeyBinding.d.ts +8 -0
  41. package/dist/v2/catalog/elementCatalog.d.ts +31 -0
  42. package/dist/v2/catalog/imagePreset.d.ts +7 -0
  43. package/dist/v2/compile/toReact.d.ts +32 -0
  44. package/dist/v2/components/AdornmentLayer.d.ts +20 -0
  45. package/dist/v2/components/AskSolPanel.d.ts +19 -0
  46. package/dist/v2/components/CatalogDragGhost.d.ts +6 -0
  47. package/dist/v2/components/CellBoundary.d.ts +14 -0
  48. package/dist/v2/components/CenterCanvas.d.ts +3 -0
  49. package/dist/v2/components/ContentTabPanel.d.ts +12 -0
  50. package/dist/v2/components/ContextMenu.d.ts +5 -0
  51. package/dist/v2/components/ContextualToolbar.d.ts +25 -0
  52. package/dist/v2/components/ImagesTabPanel.d.ts +15 -0
  53. package/dist/v2/components/LayoutGuidePanel.d.ts +10 -0
  54. package/dist/v2/components/ManageLayersPanel.d.ts +13 -0
  55. package/dist/v2/components/NodeRenderer.d.ts +8 -0
  56. package/dist/v2/components/PreviewOverlay.d.ts +11 -0
  57. package/dist/v2/components/ResizeHandle.d.ts +6 -0
  58. package/dist/v2/components/RightRail.d.ts +13 -0
  59. package/dist/v2/components/SectionDividerOverlay.d.ts +8 -0
  60. package/dist/v2/components/SectionEdgeAddZone.d.ts +17 -0
  61. package/dist/v2/components/SectionGridOverlay.d.ts +10 -0
  62. package/dist/v2/components/SectionNamePill.d.ts +6 -0
  63. package/dist/v2/components/SectionNode.d.ts +5 -0
  64. package/dist/v2/components/SectionSideRail.d.ts +17 -0
  65. package/dist/v2/components/SelectionToolbar.d.ts +11 -0
  66. package/dist/v2/components/StylePainterToast.d.ts +5 -0
  67. package/dist/v2/components/V2Canvas.d.ts +56 -0
  68. package/dist/v2/components/nodes/ButtonNode.d.ts +4 -0
  69. package/dist/v2/components/nodes/ContainerNode.d.ts +11 -0
  70. package/dist/v2/components/nodes/EmbedNode.d.ts +4 -0
  71. package/dist/v2/components/nodes/ImageNode.d.ts +4 -0
  72. package/dist/v2/components/nodes/InputNode.d.ts +4 -0
  73. package/dist/v2/components/nodes/MenuNode.d.ts +18 -0
  74. package/dist/v2/components/nodes/TextNode.d.ts +4 -0
  75. package/dist/v2/index.d.ts +12 -0
  76. package/dist/v2/inspector/AiQuickEditPanel.d.ts +12 -0
  77. package/dist/v2/inspector/AnimationPanel.d.ts +11 -0
  78. package/dist/v2/inspector/DesignAccordions.d.ts +7 -0
  79. package/dist/v2/inspector/FieldRenderer.d.ts +9 -0
  80. package/dist/v2/inspector/IconPopoverButton.d.ts +9 -0
  81. package/dist/v2/inspector/MenuIconPanel.d.ts +7 -0
  82. package/dist/v2/inspector/MenuManagePanel.d.ts +8 -0
  83. package/dist/v2/inspector/Popover.d.ts +21 -0
  84. package/dist/v2/inspector/SectionDividerPanel.d.ts +9 -0
  85. package/dist/v2/inspector/fieldStyles.d.ts +15 -0
  86. package/dist/v2/inspector/fields/ColorField.d.ts +7 -0
  87. package/dist/v2/inspector/fields/NumberField.d.ts +7 -0
  88. package/dist/v2/inspector/fields/SelectField.d.ts +7 -0
  89. package/dist/v2/inspector/fields/TextField.d.ts +7 -0
  90. package/dist/v2/inspector/fields/TextStyleField.d.ts +11 -0
  91. package/dist/v2/inspector/fields/TextareaField.d.ts +7 -0
  92. package/dist/v2/inspector/schema.d.ts +25 -0
  93. package/dist/v2/inspector/useFieldCommit.d.ts +12 -0
  94. package/dist/v2/store/brandTypes.d.ts +40 -0
  95. package/dist/v2/store/cloneSubtree.d.ts +12 -0
  96. package/dist/v2/store/createBrandStore.d.ts +2 -0
  97. package/dist/v2/store/createCanvasStore.d.ts +2 -0
  98. package/dist/v2/store/seed.d.ts +17 -0
  99. package/dist/v2/store/types.d.ts +163 -0
  100. package/dist/v2/ui/theme.d.ts +85 -0
  101. package/dist/v2.js +9093 -0
  102. package/dist/zoom-in-DL4pfiLG.js +4461 -0
  103. package/package.json +6 -1
@@ -0,0 +1,4461 @@
1
+ import { createContext as e, createElement as t, forwardRef as n, useContext as r, useMemo as i } from "react";
2
+ //#region node_modules/zod/v4/core/core.js
3
+ var a;
4
+ function o(e, t, n) {
5
+ function r(n, r) {
6
+ if (n._zod || Object.defineProperty(n, "_zod", {
7
+ value: {
8
+ def: r,
9
+ constr: o,
10
+ traits: /* @__PURE__ */ new Set()
11
+ },
12
+ enumerable: !1
13
+ }), n._zod.traits.has(e)) return;
14
+ n._zod.traits.add(e), t(n, r);
15
+ let i = o.prototype, a = Object.keys(i);
16
+ for (let e = 0; e < a.length; e++) {
17
+ let t = a[e];
18
+ t in n || (n[t] = i[t].bind(n));
19
+ }
20
+ }
21
+ let i = n?.Parent ?? Object;
22
+ class a extends i {}
23
+ Object.defineProperty(a, "name", { value: e });
24
+ function o(e) {
25
+ var t;
26
+ let i = n?.Parent ? new a() : this;
27
+ r(i, e), (t = i._zod).deferred ?? (t.deferred = []);
28
+ for (let e of i._zod.deferred) e();
29
+ return i;
30
+ }
31
+ return Object.defineProperty(o, "init", { value: r }), Object.defineProperty(o, Symbol.hasInstance, { value: (t) => n?.Parent && t instanceof n.Parent ? !0 : t?._zod?.traits?.has(e) }), Object.defineProperty(o, "name", { value: e }), o;
32
+ }
33
+ var s = class extends Error {
34
+ constructor() {
35
+ super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
36
+ }
37
+ }, c = class extends Error {
38
+ constructor(e) {
39
+ super(`Encountered unidirectional transform during encode: ${e}`), this.name = "ZodEncodeError";
40
+ }
41
+ };
42
+ (a = globalThis).__zod_globalConfig ?? (a.__zod_globalConfig = {});
43
+ var l = globalThis.__zod_globalConfig;
44
+ function u(e) {
45
+ return e && Object.assign(l, e), l;
46
+ }
47
+ //#endregion
48
+ //#region node_modules/zod/v4/core/util.js
49
+ function d(e) {
50
+ let t = Object.values(e).filter((e) => typeof e == "number");
51
+ return Object.entries(e).filter(([e, n]) => t.indexOf(+e) === -1).map(([e, t]) => t);
52
+ }
53
+ function f(e, t) {
54
+ return typeof t == "bigint" ? t.toString() : t;
55
+ }
56
+ function p(e) {
57
+ return { get value() {
58
+ {
59
+ let t = e();
60
+ return Object.defineProperty(this, "value", { value: t }), t;
61
+ }
62
+ throw Error("cached value already set");
63
+ } };
64
+ }
65
+ function m(e) {
66
+ return e == null;
67
+ }
68
+ function h(e) {
69
+ let t = +!!e.startsWith("^"), n = e.endsWith("$") ? e.length - 1 : e.length;
70
+ return e.slice(t, n);
71
+ }
72
+ function ee(e, t) {
73
+ let n = e / t, r = Math.round(n), i = 2 ** -52 * Math.max(Math.abs(n), 1);
74
+ return Math.abs(n - r) < i ? 0 : n - r;
75
+ }
76
+ var te = /* @__PURE__*/ Symbol("evaluating");
77
+ function g(e, t, n) {
78
+ let r;
79
+ Object.defineProperty(e, t, {
80
+ get() {
81
+ if (r !== te) return r === void 0 && (r = te, r = n()), r;
82
+ },
83
+ set(n) {
84
+ Object.defineProperty(e, t, { value: n });
85
+ },
86
+ configurable: !0
87
+ });
88
+ }
89
+ function _(e, t, n) {
90
+ Object.defineProperty(e, t, {
91
+ value: n,
92
+ writable: !0,
93
+ enumerable: !0,
94
+ configurable: !0
95
+ });
96
+ }
97
+ function v(...e) {
98
+ let t = {};
99
+ for (let n of e) {
100
+ let e = Object.getOwnPropertyDescriptors(n);
101
+ Object.assign(t, e);
102
+ }
103
+ return Object.defineProperties({}, t);
104
+ }
105
+ function ne(e) {
106
+ return JSON.stringify(e);
107
+ }
108
+ function re(e) {
109
+ return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
110
+ }
111
+ var ie = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
112
+ function y(e) {
113
+ return typeof e == "object" && !!e && !Array.isArray(e);
114
+ }
115
+ var ae = /* @__PURE__*/ p(() => {
116
+ if (l.jitless || typeof navigator < "u" && navigator?.userAgent?.includes("Cloudflare")) return !1;
117
+ try {
118
+ return Function(""), !0;
119
+ } catch {
120
+ return !1;
121
+ }
122
+ });
123
+ function b(e) {
124
+ if (y(e) === !1) return !1;
125
+ let t = e.constructor;
126
+ if (t === void 0 || typeof t != "function") return !0;
127
+ let n = t.prototype;
128
+ return !(y(n) === !1 || Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") === !1);
129
+ }
130
+ function oe(e) {
131
+ return b(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
132
+ }
133
+ var se = /* @__PURE__*/ new Set([
134
+ "string",
135
+ "number",
136
+ "symbol"
137
+ ]);
138
+ function x(e) {
139
+ return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
140
+ }
141
+ function S(e, t, n) {
142
+ let r = new e._zod.constr(t ?? e._zod.def);
143
+ return (!t || n?.parent) && (r._zod.parent = e), r;
144
+ }
145
+ function C(e) {
146
+ let t = e;
147
+ if (!t) return {};
148
+ if (typeof t == "string") return { error: () => t };
149
+ if (t?.message !== void 0) {
150
+ if (t?.error !== void 0) throw Error("Cannot specify both `message` and `error` params");
151
+ t.error = t.message;
152
+ }
153
+ return delete t.message, typeof t.error == "string" ? {
154
+ ...t,
155
+ error: () => t.error
156
+ } : t;
157
+ }
158
+ function ce(e) {
159
+ return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
160
+ }
161
+ var le = {
162
+ safeint: [-(2 ** 53 - 1), 2 ** 53 - 1],
163
+ int32: [-2147483648, 2147483647],
164
+ uint32: [0, 4294967295],
165
+ float32: [-34028234663852886e22, 34028234663852886e22],
166
+ float64: [-Number.MAX_VALUE, Number.MAX_VALUE]
167
+ };
168
+ function ue(e, t) {
169
+ let n = e._zod.def, r = n.checks;
170
+ if (r && r.length > 0) throw Error(".pick() cannot be used on object schemas containing refinements");
171
+ return S(e, v(e._zod.def, {
172
+ get shape() {
173
+ let e = {};
174
+ for (let r in t) {
175
+ if (!(r in n.shape)) throw Error(`Unrecognized key: "${r}"`);
176
+ t[r] && (e[r] = n.shape[r]);
177
+ }
178
+ return _(this, "shape", e), e;
179
+ },
180
+ checks: []
181
+ }));
182
+ }
183
+ function de(e, t) {
184
+ let n = e._zod.def, r = n.checks;
185
+ if (r && r.length > 0) throw Error(".omit() cannot be used on object schemas containing refinements");
186
+ return S(e, v(e._zod.def, {
187
+ get shape() {
188
+ let r = { ...e._zod.def.shape };
189
+ for (let e in t) {
190
+ if (!(e in n.shape)) throw Error(`Unrecognized key: "${e}"`);
191
+ t[e] && delete r[e];
192
+ }
193
+ return _(this, "shape", r), r;
194
+ },
195
+ checks: []
196
+ }));
197
+ }
198
+ function fe(e, t) {
199
+ if (!b(t)) throw Error("Invalid input to extend: expected a plain object");
200
+ let n = e._zod.def.checks;
201
+ if (n && n.length > 0) {
202
+ let n = e._zod.def.shape;
203
+ for (let e in t) if (Object.getOwnPropertyDescriptor(n, e) !== void 0) throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
204
+ }
205
+ return S(e, v(e._zod.def, { get shape() {
206
+ let n = {
207
+ ...e._zod.def.shape,
208
+ ...t
209
+ };
210
+ return _(this, "shape", n), n;
211
+ } }));
212
+ }
213
+ function pe(e, t) {
214
+ if (!b(t)) throw Error("Invalid input to safeExtend: expected a plain object");
215
+ return S(e, v(e._zod.def, { get shape() {
216
+ let n = {
217
+ ...e._zod.def.shape,
218
+ ...t
219
+ };
220
+ return _(this, "shape", n), n;
221
+ } }));
222
+ }
223
+ function me(e, t) {
224
+ if (e._zod.def.checks?.length) throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
225
+ return S(e, v(e._zod.def, {
226
+ get shape() {
227
+ let n = {
228
+ ...e._zod.def.shape,
229
+ ...t._zod.def.shape
230
+ };
231
+ return _(this, "shape", n), n;
232
+ },
233
+ get catchall() {
234
+ return t._zod.def.catchall;
235
+ },
236
+ checks: t._zod.def.checks ?? []
237
+ }));
238
+ }
239
+ function he(e, t, n) {
240
+ let r = t._zod.def.checks;
241
+ if (r && r.length > 0) throw Error(".partial() cannot be used on object schemas containing refinements");
242
+ return S(t, v(t._zod.def, {
243
+ get shape() {
244
+ let r = t._zod.def.shape, i = { ...r };
245
+ if (n) for (let t in n) {
246
+ if (!(t in r)) throw Error(`Unrecognized key: "${t}"`);
247
+ n[t] && (i[t] = e ? new e({
248
+ type: "optional",
249
+ innerType: r[t]
250
+ }) : r[t]);
251
+ }
252
+ else for (let t in r) i[t] = e ? new e({
253
+ type: "optional",
254
+ innerType: r[t]
255
+ }) : r[t];
256
+ return _(this, "shape", i), i;
257
+ },
258
+ checks: []
259
+ }));
260
+ }
261
+ function ge(e, t, n) {
262
+ return S(t, v(t._zod.def, { get shape() {
263
+ let r = t._zod.def.shape, i = { ...r };
264
+ if (n) for (let t in n) {
265
+ if (!(t in i)) throw Error(`Unrecognized key: "${t}"`);
266
+ n[t] && (i[t] = new e({
267
+ type: "nonoptional",
268
+ innerType: r[t]
269
+ }));
270
+ }
271
+ else for (let t in r) i[t] = new e({
272
+ type: "nonoptional",
273
+ innerType: r[t]
274
+ });
275
+ return _(this, "shape", i), i;
276
+ } }));
277
+ }
278
+ function w(e, t = 0) {
279
+ if (e.aborted === !0) return !0;
280
+ for (let n = t; n < e.issues.length; n++) if (e.issues[n]?.continue !== !0) return !0;
281
+ return !1;
282
+ }
283
+ function _e(e, t = 0) {
284
+ if (e.aborted === !0) return !0;
285
+ for (let n = t; n < e.issues.length; n++) if (e.issues[n]?.continue === !1) return !0;
286
+ return !1;
287
+ }
288
+ function T(e, t) {
289
+ return t.map((t) => {
290
+ var n;
291
+ return (n = t).path ?? (n.path = []), t.path.unshift(e), t;
292
+ });
293
+ }
294
+ function E(e) {
295
+ return typeof e == "string" ? e : e?.message;
296
+ }
297
+ function D(e, t, n) {
298
+ let r = e.message ? e.message : E(e.inst?._zod.def?.error?.(e)) ?? E(t?.error?.(e)) ?? E(n.customError?.(e)) ?? E(n.localeError?.(e)) ?? "Invalid input", { inst: i, continue: a, input: o, ...s } = e;
299
+ return s.path ??= [], s.message = r, t?.reportInput && (s.input = o), s;
300
+ }
301
+ function O(e) {
302
+ return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
303
+ }
304
+ function k(...e) {
305
+ let [t, n, r] = e;
306
+ return typeof t == "string" ? {
307
+ message: t,
308
+ code: "custom",
309
+ input: n,
310
+ inst: r
311
+ } : { ...t };
312
+ }
313
+ //#endregion
314
+ //#region node_modules/zod/v4/core/errors.js
315
+ var ve = (e, t) => {
316
+ e.name = "$ZodError", Object.defineProperty(e, "_zod", {
317
+ value: e._zod,
318
+ enumerable: !1
319
+ }), Object.defineProperty(e, "issues", {
320
+ value: t,
321
+ enumerable: !1
322
+ }), e.message = JSON.stringify(t, f, 2), Object.defineProperty(e, "toString", {
323
+ value: () => e.message,
324
+ enumerable: !1
325
+ });
326
+ }, ye = o("$ZodError", ve), be = o("$ZodError", ve, { Parent: Error });
327
+ function xe(e, t = (e) => e.message) {
328
+ let n = {}, r = [];
329
+ for (let i of e.issues) i.path.length > 0 ? (n[i.path[0]] = n[i.path[0]] || [], n[i.path[0]].push(t(i))) : r.push(t(i));
330
+ return {
331
+ formErrors: r,
332
+ fieldErrors: n
333
+ };
334
+ }
335
+ function Se(e, t = (e) => e.message) {
336
+ let n = { _errors: [] }, r = (e, i = []) => {
337
+ for (let a of e.issues) if (a.code === "invalid_union" && a.errors.length) a.errors.map((e) => r({ issues: e }, [...i, ...a.path]));
338
+ else if (a.code === "invalid_key") r({ issues: a.issues }, [...i, ...a.path]);
339
+ else if (a.code === "invalid_element") r({ issues: a.issues }, [...i, ...a.path]);
340
+ else {
341
+ let e = [...i, ...a.path];
342
+ if (e.length === 0) n._errors.push(t(a));
343
+ else {
344
+ let r = n, i = 0;
345
+ for (; i < e.length;) {
346
+ let n = e[i];
347
+ i === e.length - 1 ? (r[n] = r[n] || { _errors: [] }, r[n]._errors.push(t(a))) : r[n] = r[n] || { _errors: [] }, r = r[n], i++;
348
+ }
349
+ }
350
+ }
351
+ };
352
+ return r(e), n;
353
+ }
354
+ //#endregion
355
+ //#region node_modules/zod/v4/core/parse.js
356
+ var Ce = (e) => (t, n, r, i) => {
357
+ let a = r ? {
358
+ ...r,
359
+ async: !1
360
+ } : { async: !1 }, o = t._zod.run({
361
+ value: n,
362
+ issues: []
363
+ }, a);
364
+ if (o instanceof Promise) throw new s();
365
+ if (o.issues.length) {
366
+ let t = new ((i?.Err) ?? e)(o.issues.map((e) => D(e, a, u())));
367
+ throw ie(t, i?.callee), t;
368
+ }
369
+ return o.value;
370
+ }, we = (e) => async (t, n, r, i) => {
371
+ let a = r ? {
372
+ ...r,
373
+ async: !0
374
+ } : { async: !0 }, o = t._zod.run({
375
+ value: n,
376
+ issues: []
377
+ }, a);
378
+ if (o instanceof Promise && (o = await o), o.issues.length) {
379
+ let t = new ((i?.Err) ?? e)(o.issues.map((e) => D(e, a, u())));
380
+ throw ie(t, i?.callee), t;
381
+ }
382
+ return o.value;
383
+ }, A = (e) => (t, n, r) => {
384
+ let i = r ? {
385
+ ...r,
386
+ async: !1
387
+ } : { async: !1 }, a = t._zod.run({
388
+ value: n,
389
+ issues: []
390
+ }, i);
391
+ if (a instanceof Promise) throw new s();
392
+ return a.issues.length ? {
393
+ success: !1,
394
+ error: new (e ?? ye)(a.issues.map((e) => D(e, i, u())))
395
+ } : {
396
+ success: !0,
397
+ data: a.value
398
+ };
399
+ }, Te = /* @__PURE__*/ A(be), j = (e) => async (t, n, r) => {
400
+ let i = r ? {
401
+ ...r,
402
+ async: !0
403
+ } : { async: !0 }, a = t._zod.run({
404
+ value: n,
405
+ issues: []
406
+ }, i);
407
+ return a instanceof Promise && (a = await a), a.issues.length ? {
408
+ success: !1,
409
+ error: new e(a.issues.map((e) => D(e, i, u())))
410
+ } : {
411
+ success: !0,
412
+ data: a.value
413
+ };
414
+ }, Ee = /* @__PURE__*/ j(be), De = (e) => (t, n, r) => {
415
+ let i = r ? {
416
+ ...r,
417
+ direction: "backward"
418
+ } : { direction: "backward" };
419
+ return Ce(e)(t, n, i);
420
+ }, Oe = (e) => (t, n, r) => Ce(e)(t, n, r), ke = (e) => async (t, n, r) => {
421
+ let i = r ? {
422
+ ...r,
423
+ direction: "backward"
424
+ } : { direction: "backward" };
425
+ return we(e)(t, n, i);
426
+ }, Ae = (e) => async (t, n, r) => we(e)(t, n, r), je = (e) => (t, n, r) => {
427
+ let i = r ? {
428
+ ...r,
429
+ direction: "backward"
430
+ } : { direction: "backward" };
431
+ return A(e)(t, n, i);
432
+ }, Me = (e) => (t, n, r) => A(e)(t, n, r), Ne = (e) => async (t, n, r) => {
433
+ let i = r ? {
434
+ ...r,
435
+ direction: "backward"
436
+ } : { direction: "backward" };
437
+ return j(e)(t, n, i);
438
+ }, Pe = (e) => async (t, n, r) => j(e)(t, n, r), Fe = /^[cC][0-9a-z]{6,}$/, Ie = /^[0-9a-z]+$/, Le = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, Re = /^[0-9a-vA-V]{20}$/, ze = /^[A-Za-z0-9]{27}$/, Be = /^[a-zA-Z0-9_-]{21}$/, Ve = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, He = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, Ue = (e) => e ? RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, We = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Ge = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
439
+ function Ke() {
440
+ return new RegExp(Ge, "u");
441
+ }
442
+ var qe = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, Je = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, Ye = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, Xe = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, Ze = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, Qe = /^[A-Za-z0-9_-]*$/, $e = /^https?$/, et = /^\+[1-9]\d{6,14}$/, tt = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", nt = /*@__PURE__*/ RegExp(`^${tt}$`);
443
+ function rt(e) {
444
+ let t = "(?:[01]\\d|2[0-3]):[0-5]\\d";
445
+ return typeof e.precision == "number" ? e.precision === -1 ? `${t}` : e.precision === 0 ? `${t}:[0-5]\\d` : `${t}:[0-5]\\d\\.\\d{${e.precision}}` : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`;
446
+ }
447
+ function it(e) {
448
+ return RegExp(`^${rt(e)}$`);
449
+ }
450
+ function at(e) {
451
+ let t = rt({ precision: e.precision }), n = ["Z"];
452
+ e.local && n.push(""), e.offset && n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");
453
+ let r = `${t}(?:${n.join("|")})`;
454
+ return RegExp(`^${tt}T(?:${r})$`);
455
+ }
456
+ var ot = (e) => {
457
+ let t = e ? `[\\s\\S]{${e?.minimum ?? 0},${e?.maximum ?? ""}}` : "[\\s\\S]*";
458
+ return RegExp(`^${t}$`);
459
+ }, st = /^-?\d+$/, ct = /^-?\d+(?:\.\d+)?$/, lt = /^(?:true|false)$/i, ut = /^[^A-Z]*$/, dt = /^[^a-z]*$/, M = /*@__PURE__*/ o("$ZodCheck", (e, t) => {
460
+ var n;
461
+ e._zod ??= {}, e._zod.def = t, (n = e._zod).onattach ?? (n.onattach = []);
462
+ }), ft = {
463
+ number: "number",
464
+ bigint: "bigint",
465
+ object: "date"
466
+ }, pt = /*@__PURE__*/ o("$ZodCheckLessThan", (e, t) => {
467
+ M.init(e, t);
468
+ let n = ft[typeof t.value];
469
+ e._zod.onattach.push((e) => {
470
+ let n = e._zod.bag, r = (t.inclusive ? n.maximum : n.exclusiveMaximum) ?? Infinity;
471
+ t.value < r && (t.inclusive ? n.maximum = t.value : n.exclusiveMaximum = t.value);
472
+ }), e._zod.check = (r) => {
473
+ (t.inclusive ? r.value <= t.value : r.value < t.value) || r.issues.push({
474
+ origin: n,
475
+ code: "too_big",
476
+ maximum: typeof t.value == "object" ? t.value.getTime() : t.value,
477
+ input: r.value,
478
+ inclusive: t.inclusive,
479
+ inst: e,
480
+ continue: !t.abort
481
+ });
482
+ };
483
+ }), mt = /*@__PURE__*/ o("$ZodCheckGreaterThan", (e, t) => {
484
+ M.init(e, t);
485
+ let n = ft[typeof t.value];
486
+ e._zod.onattach.push((e) => {
487
+ let n = e._zod.bag, r = (t.inclusive ? n.minimum : n.exclusiveMinimum) ?? -Infinity;
488
+ t.value > r && (t.inclusive ? n.minimum = t.value : n.exclusiveMinimum = t.value);
489
+ }), e._zod.check = (r) => {
490
+ (t.inclusive ? r.value >= t.value : r.value > t.value) || r.issues.push({
491
+ origin: n,
492
+ code: "too_small",
493
+ minimum: typeof t.value == "object" ? t.value.getTime() : t.value,
494
+ input: r.value,
495
+ inclusive: t.inclusive,
496
+ inst: e,
497
+ continue: !t.abort
498
+ });
499
+ };
500
+ }), ht = /*@__PURE__*/ o("$ZodCheckMultipleOf", (e, t) => {
501
+ M.init(e, t), e._zod.onattach.push((e) => {
502
+ var n;
503
+ (n = e._zod.bag).multipleOf ?? (n.multipleOf = t.value);
504
+ }), e._zod.check = (n) => {
505
+ if (typeof n.value != typeof t.value) throw Error("Cannot mix number and bigint in multiple_of check.");
506
+ (typeof n.value == "bigint" ? n.value % t.value === BigInt(0) : ee(n.value, t.value) === 0) || n.issues.push({
507
+ origin: typeof n.value,
508
+ code: "not_multiple_of",
509
+ divisor: t.value,
510
+ input: n.value,
511
+ inst: e,
512
+ continue: !t.abort
513
+ });
514
+ };
515
+ }), gt = /*@__PURE__*/ o("$ZodCheckNumberFormat", (e, t) => {
516
+ M.init(e, t), t.format = t.format || "float64";
517
+ let n = t.format?.includes("int"), r = n ? "int" : "number", [i, a] = le[t.format];
518
+ e._zod.onattach.push((e) => {
519
+ let r = e._zod.bag;
520
+ r.format = t.format, r.minimum = i, r.maximum = a, n && (r.pattern = st);
521
+ }), e._zod.check = (o) => {
522
+ let s = o.value;
523
+ if (n) {
524
+ if (!Number.isInteger(s)) {
525
+ o.issues.push({
526
+ expected: r,
527
+ format: t.format,
528
+ code: "invalid_type",
529
+ continue: !1,
530
+ input: s,
531
+ inst: e
532
+ });
533
+ return;
534
+ }
535
+ if (!Number.isSafeInteger(s)) {
536
+ s > 0 ? o.issues.push({
537
+ input: s,
538
+ code: "too_big",
539
+ maximum: 2 ** 53 - 1,
540
+ note: "Integers must be within the safe integer range.",
541
+ inst: e,
542
+ origin: r,
543
+ inclusive: !0,
544
+ continue: !t.abort
545
+ }) : o.issues.push({
546
+ input: s,
547
+ code: "too_small",
548
+ minimum: -(2 ** 53 - 1),
549
+ note: "Integers must be within the safe integer range.",
550
+ inst: e,
551
+ origin: r,
552
+ inclusive: !0,
553
+ continue: !t.abort
554
+ });
555
+ return;
556
+ }
557
+ }
558
+ s < i && o.issues.push({
559
+ origin: "number",
560
+ input: s,
561
+ code: "too_small",
562
+ minimum: i,
563
+ inclusive: !0,
564
+ inst: e,
565
+ continue: !t.abort
566
+ }), s > a && o.issues.push({
567
+ origin: "number",
568
+ input: s,
569
+ code: "too_big",
570
+ maximum: a,
571
+ inclusive: !0,
572
+ inst: e,
573
+ continue: !t.abort
574
+ });
575
+ };
576
+ }), _t = /*@__PURE__*/ o("$ZodCheckMaxLength", (e, t) => {
577
+ var n;
578
+ M.init(e, t), (n = e._zod.def).when ?? (n.when = (e) => {
579
+ let t = e.value;
580
+ return !m(t) && t.length !== void 0;
581
+ }), e._zod.onattach.push((e) => {
582
+ let n = e._zod.bag.maximum ?? Infinity;
583
+ t.maximum < n && (e._zod.bag.maximum = t.maximum);
584
+ }), e._zod.check = (n) => {
585
+ let r = n.value;
586
+ if (r.length <= t.maximum) return;
587
+ let i = O(r);
588
+ n.issues.push({
589
+ origin: i,
590
+ code: "too_big",
591
+ maximum: t.maximum,
592
+ inclusive: !0,
593
+ input: r,
594
+ inst: e,
595
+ continue: !t.abort
596
+ });
597
+ };
598
+ }), vt = /*@__PURE__*/ o("$ZodCheckMinLength", (e, t) => {
599
+ var n;
600
+ M.init(e, t), (n = e._zod.def).when ?? (n.when = (e) => {
601
+ let t = e.value;
602
+ return !m(t) && t.length !== void 0;
603
+ }), e._zod.onattach.push((e) => {
604
+ let n = e._zod.bag.minimum ?? -Infinity;
605
+ t.minimum > n && (e._zod.bag.minimum = t.minimum);
606
+ }), e._zod.check = (n) => {
607
+ let r = n.value;
608
+ if (r.length >= t.minimum) return;
609
+ let i = O(r);
610
+ n.issues.push({
611
+ origin: i,
612
+ code: "too_small",
613
+ minimum: t.minimum,
614
+ inclusive: !0,
615
+ input: r,
616
+ inst: e,
617
+ continue: !t.abort
618
+ });
619
+ };
620
+ }), yt = /*@__PURE__*/ o("$ZodCheckLengthEquals", (e, t) => {
621
+ var n;
622
+ M.init(e, t), (n = e._zod.def).when ?? (n.when = (e) => {
623
+ let t = e.value;
624
+ return !m(t) && t.length !== void 0;
625
+ }), e._zod.onattach.push((e) => {
626
+ let n = e._zod.bag;
627
+ n.minimum = t.length, n.maximum = t.length, n.length = t.length;
628
+ }), e._zod.check = (n) => {
629
+ let r = n.value, i = r.length;
630
+ if (i === t.length) return;
631
+ let a = O(r), o = i > t.length;
632
+ n.issues.push({
633
+ origin: a,
634
+ ...o ? {
635
+ code: "too_big",
636
+ maximum: t.length
637
+ } : {
638
+ code: "too_small",
639
+ minimum: t.length
640
+ },
641
+ inclusive: !0,
642
+ exact: !0,
643
+ input: n.value,
644
+ inst: e,
645
+ continue: !t.abort
646
+ });
647
+ };
648
+ }), N = /*@__PURE__*/ o("$ZodCheckStringFormat", (e, t) => {
649
+ var n, r;
650
+ M.init(e, t), e._zod.onattach.push((e) => {
651
+ let n = e._zod.bag;
652
+ n.format = t.format, t.pattern && (n.patterns ??= /* @__PURE__ */ new Set(), n.patterns.add(t.pattern));
653
+ }), t.pattern ? (n = e._zod).check ?? (n.check = (n) => {
654
+ t.pattern.lastIndex = 0, !t.pattern.test(n.value) && n.issues.push({
655
+ origin: "string",
656
+ code: "invalid_format",
657
+ format: t.format,
658
+ input: n.value,
659
+ ...t.pattern ? { pattern: t.pattern.toString() } : {},
660
+ inst: e,
661
+ continue: !t.abort
662
+ });
663
+ }) : (r = e._zod).check ?? (r.check = () => {});
664
+ }), bt = /*@__PURE__*/ o("$ZodCheckRegex", (e, t) => {
665
+ N.init(e, t), e._zod.check = (n) => {
666
+ t.pattern.lastIndex = 0, !t.pattern.test(n.value) && n.issues.push({
667
+ origin: "string",
668
+ code: "invalid_format",
669
+ format: "regex",
670
+ input: n.value,
671
+ pattern: t.pattern.toString(),
672
+ inst: e,
673
+ continue: !t.abort
674
+ });
675
+ };
676
+ }), xt = /*@__PURE__*/ o("$ZodCheckLowerCase", (e, t) => {
677
+ t.pattern ??= ut, N.init(e, t);
678
+ }), St = /*@__PURE__*/ o("$ZodCheckUpperCase", (e, t) => {
679
+ t.pattern ??= dt, N.init(e, t);
680
+ }), Ct = /*@__PURE__*/ o("$ZodCheckIncludes", (e, t) => {
681
+ M.init(e, t);
682
+ let n = x(t.includes), r = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${n}` : n);
683
+ t.pattern = r, e._zod.onattach.push((e) => {
684
+ let t = e._zod.bag;
685
+ t.patterns ??= /* @__PURE__ */ new Set(), t.patterns.add(r);
686
+ }), e._zod.check = (n) => {
687
+ n.value.includes(t.includes, t.position) || n.issues.push({
688
+ origin: "string",
689
+ code: "invalid_format",
690
+ format: "includes",
691
+ includes: t.includes,
692
+ input: n.value,
693
+ inst: e,
694
+ continue: !t.abort
695
+ });
696
+ };
697
+ }), wt = /*@__PURE__*/ o("$ZodCheckStartsWith", (e, t) => {
698
+ M.init(e, t);
699
+ let n = RegExp(`^${x(t.prefix)}.*`);
700
+ t.pattern ??= n, e._zod.onattach.push((e) => {
701
+ let t = e._zod.bag;
702
+ t.patterns ??= /* @__PURE__ */ new Set(), t.patterns.add(n);
703
+ }), e._zod.check = (n) => {
704
+ n.value.startsWith(t.prefix) || n.issues.push({
705
+ origin: "string",
706
+ code: "invalid_format",
707
+ format: "starts_with",
708
+ prefix: t.prefix,
709
+ input: n.value,
710
+ inst: e,
711
+ continue: !t.abort
712
+ });
713
+ };
714
+ }), Tt = /*@__PURE__*/ o("$ZodCheckEndsWith", (e, t) => {
715
+ M.init(e, t);
716
+ let n = RegExp(`.*${x(t.suffix)}$`);
717
+ t.pattern ??= n, e._zod.onattach.push((e) => {
718
+ let t = e._zod.bag;
719
+ t.patterns ??= /* @__PURE__ */ new Set(), t.patterns.add(n);
720
+ }), e._zod.check = (n) => {
721
+ n.value.endsWith(t.suffix) || n.issues.push({
722
+ origin: "string",
723
+ code: "invalid_format",
724
+ format: "ends_with",
725
+ suffix: t.suffix,
726
+ input: n.value,
727
+ inst: e,
728
+ continue: !t.abort
729
+ });
730
+ };
731
+ }), Et = /*@__PURE__*/ o("$ZodCheckOverwrite", (e, t) => {
732
+ M.init(e, t), e._zod.check = (e) => {
733
+ e.value = t.tx(e.value);
734
+ };
735
+ }), Dt = class {
736
+ constructor(e = []) {
737
+ this.content = [], this.indent = 0, this && (this.args = e);
738
+ }
739
+ indented(e) {
740
+ this.indent += 1, e(this), --this.indent;
741
+ }
742
+ write(e) {
743
+ if (typeof e == "function") {
744
+ e(this, { execution: "sync" }), e(this, { execution: "async" });
745
+ return;
746
+ }
747
+ let t = e.split("\n").filter((e) => e), n = Math.min(...t.map((e) => e.length - e.trimStart().length)), r = t.map((e) => e.slice(n)).map((e) => " ".repeat(this.indent * 2) + e);
748
+ for (let e of r) this.content.push(e);
749
+ }
750
+ compile() {
751
+ let e = Function, t = this?.args, n = [...(this?.content ?? [""]).map((e) => ` ${e}`)];
752
+ return new e(...t, n.join("\n"));
753
+ }
754
+ }, Ot = {
755
+ major: 4,
756
+ minor: 4,
757
+ patch: 3
758
+ }, P = /*@__PURE__*/ o("$ZodType", (e, t) => {
759
+ var n;
760
+ e ??= {}, e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = Ot;
761
+ let r = [...e._zod.def.checks ?? []];
762
+ e._zod.traits.has("$ZodCheck") && r.unshift(e);
763
+ for (let t of r) for (let n of t._zod.onattach) n(e);
764
+ if (r.length === 0) (n = e._zod).deferred ?? (n.deferred = []), e._zod.deferred?.push(() => {
765
+ e._zod.run = e._zod.parse;
766
+ });
767
+ else {
768
+ let t = (e, t, n) => {
769
+ let r = w(e), i;
770
+ for (let a of t) {
771
+ if (a._zod.def.when) {
772
+ if (_e(e) || !a._zod.def.when(e)) continue;
773
+ } else if (r) continue;
774
+ let t = e.issues.length, o = a._zod.check(e);
775
+ if (o instanceof Promise && n?.async === !1) throw new s();
776
+ if (i || o instanceof Promise) i = (i ?? Promise.resolve()).then(async () => {
777
+ await o, e.issues.length !== t && (r ||= w(e, t));
778
+ });
779
+ else {
780
+ if (e.issues.length === t) continue;
781
+ r ||= w(e, t);
782
+ }
783
+ }
784
+ return i ? i.then(() => e) : e;
785
+ }, n = (n, i, a) => {
786
+ if (w(n)) return n.aborted = !0, n;
787
+ let o = t(i, r, a);
788
+ if (o instanceof Promise) {
789
+ if (a.async === !1) throw new s();
790
+ return o.then((t) => e._zod.parse(t, a));
791
+ }
792
+ return e._zod.parse(o, a);
793
+ };
794
+ e._zod.run = (i, a) => {
795
+ if (a.skipChecks) return e._zod.parse(i, a);
796
+ if (a.direction === "backward") {
797
+ let t = e._zod.parse({
798
+ value: i.value,
799
+ issues: []
800
+ }, {
801
+ ...a,
802
+ skipChecks: !0
803
+ });
804
+ return t instanceof Promise ? t.then((e) => n(e, i, a)) : n(t, i, a);
805
+ }
806
+ let o = e._zod.parse(i, a);
807
+ if (o instanceof Promise) {
808
+ if (a.async === !1) throw new s();
809
+ return o.then((e) => t(e, r, a));
810
+ }
811
+ return t(o, r, a);
812
+ };
813
+ }
814
+ g(e, "~standard", () => ({
815
+ validate: (t) => {
816
+ try {
817
+ let n = Te(e, t);
818
+ return n.success ? { value: n.data } : { issues: n.error?.issues };
819
+ } catch {
820
+ return Ee(e, t).then((e) => e.success ? { value: e.data } : { issues: e.error?.issues });
821
+ }
822
+ },
823
+ vendor: "zod",
824
+ version: 1
825
+ }));
826
+ }), F = /*@__PURE__*/ o("$ZodString", (e, t) => {
827
+ P.init(e, t), e._zod.pattern = [...e?._zod.bag?.patterns ?? []].pop() ?? ot(e._zod.bag), e._zod.parse = (n, r) => {
828
+ if (t.coerce) try {
829
+ n.value = String(n.value);
830
+ } catch {}
831
+ return typeof n.value == "string" || n.issues.push({
832
+ expected: "string",
833
+ code: "invalid_type",
834
+ input: n.value,
835
+ inst: e
836
+ }), n;
837
+ };
838
+ }), I = /*@__PURE__*/ o("$ZodStringFormat", (e, t) => {
839
+ N.init(e, t), F.init(e, t);
840
+ }), kt = /*@__PURE__*/ o("$ZodGUID", (e, t) => {
841
+ t.pattern ??= He, I.init(e, t);
842
+ }), At = /*@__PURE__*/ o("$ZodUUID", (e, t) => {
843
+ if (t.version) {
844
+ let e = {
845
+ v1: 1,
846
+ v2: 2,
847
+ v3: 3,
848
+ v4: 4,
849
+ v5: 5,
850
+ v6: 6,
851
+ v7: 7,
852
+ v8: 8
853
+ }[t.version];
854
+ if (e === void 0) throw Error(`Invalid UUID version: "${t.version}"`);
855
+ t.pattern ??= Ue(e);
856
+ } else t.pattern ??= Ue();
857
+ I.init(e, t);
858
+ }), jt = /*@__PURE__*/ o("$ZodEmail", (e, t) => {
859
+ t.pattern ??= We, I.init(e, t);
860
+ }), Mt = /*@__PURE__*/ o("$ZodURL", (e, t) => {
861
+ I.init(e, t), e._zod.check = (n) => {
862
+ try {
863
+ let r = n.value.trim();
864
+ if (!t.normalize && t.protocol?.source === $e.source && !/^https?:\/\//i.test(r)) {
865
+ n.issues.push({
866
+ code: "invalid_format",
867
+ format: "url",
868
+ note: "Invalid URL format",
869
+ input: n.value,
870
+ inst: e,
871
+ continue: !t.abort
872
+ });
873
+ return;
874
+ }
875
+ let i = new URL(r);
876
+ t.hostname && (t.hostname.lastIndex = 0, t.hostname.test(i.hostname) || n.issues.push({
877
+ code: "invalid_format",
878
+ format: "url",
879
+ note: "Invalid hostname",
880
+ pattern: t.hostname.source,
881
+ input: n.value,
882
+ inst: e,
883
+ continue: !t.abort
884
+ })), t.protocol && (t.protocol.lastIndex = 0, t.protocol.test(i.protocol.endsWith(":") ? i.protocol.slice(0, -1) : i.protocol) || n.issues.push({
885
+ code: "invalid_format",
886
+ format: "url",
887
+ note: "Invalid protocol",
888
+ pattern: t.protocol.source,
889
+ input: n.value,
890
+ inst: e,
891
+ continue: !t.abort
892
+ })), t.normalize ? n.value = i.href : n.value = r;
893
+ return;
894
+ } catch {
895
+ n.issues.push({
896
+ code: "invalid_format",
897
+ format: "url",
898
+ input: n.value,
899
+ inst: e,
900
+ continue: !t.abort
901
+ });
902
+ }
903
+ };
904
+ }), Nt = /*@__PURE__*/ o("$ZodEmoji", (e, t) => {
905
+ t.pattern ??= Ke(), I.init(e, t);
906
+ }), Pt = /*@__PURE__*/ o("$ZodNanoID", (e, t) => {
907
+ t.pattern ??= Be, I.init(e, t);
908
+ }), Ft = /*@__PURE__*/ o("$ZodCUID", (e, t) => {
909
+ t.pattern ??= Fe, I.init(e, t);
910
+ }), It = /*@__PURE__*/ o("$ZodCUID2", (e, t) => {
911
+ t.pattern ??= Ie, I.init(e, t);
912
+ }), Lt = /*@__PURE__*/ o("$ZodULID", (e, t) => {
913
+ t.pattern ??= Le, I.init(e, t);
914
+ }), Rt = /*@__PURE__*/ o("$ZodXID", (e, t) => {
915
+ t.pattern ??= Re, I.init(e, t);
916
+ }), zt = /*@__PURE__*/ o("$ZodKSUID", (e, t) => {
917
+ t.pattern ??= ze, I.init(e, t);
918
+ }), Bt = /*@__PURE__*/ o("$ZodISODateTime", (e, t) => {
919
+ t.pattern ??= at(t), I.init(e, t);
920
+ }), Vt = /*@__PURE__*/ o("$ZodISODate", (e, t) => {
921
+ t.pattern ??= nt, I.init(e, t);
922
+ }), Ht = /*@__PURE__*/ o("$ZodISOTime", (e, t) => {
923
+ t.pattern ??= it(t), I.init(e, t);
924
+ }), Ut = /*@__PURE__*/ o("$ZodISODuration", (e, t) => {
925
+ t.pattern ??= Ve, I.init(e, t);
926
+ }), Wt = /*@__PURE__*/ o("$ZodIPv4", (e, t) => {
927
+ t.pattern ??= qe, I.init(e, t), e._zod.bag.format = "ipv4";
928
+ }), Gt = /*@__PURE__*/ o("$ZodIPv6", (e, t) => {
929
+ t.pattern ??= Je, I.init(e, t), e._zod.bag.format = "ipv6", e._zod.check = (n) => {
930
+ try {
931
+ new URL(`http://[${n.value}]`);
932
+ } catch {
933
+ n.issues.push({
934
+ code: "invalid_format",
935
+ format: "ipv6",
936
+ input: n.value,
937
+ inst: e,
938
+ continue: !t.abort
939
+ });
940
+ }
941
+ };
942
+ }), Kt = /*@__PURE__*/ o("$ZodCIDRv4", (e, t) => {
943
+ t.pattern ??= Ye, I.init(e, t);
944
+ }), qt = /*@__PURE__*/ o("$ZodCIDRv6", (e, t) => {
945
+ t.pattern ??= Xe, I.init(e, t), e._zod.check = (n) => {
946
+ let r = n.value.split("/");
947
+ try {
948
+ if (r.length !== 2) throw Error();
949
+ let [e, t] = r;
950
+ if (!t) throw Error();
951
+ let n = Number(t);
952
+ if (`${n}` !== t || n < 0 || n > 128) throw Error();
953
+ new URL(`http://[${e}]`);
954
+ } catch {
955
+ n.issues.push({
956
+ code: "invalid_format",
957
+ format: "cidrv6",
958
+ input: n.value,
959
+ inst: e,
960
+ continue: !t.abort
961
+ });
962
+ }
963
+ };
964
+ });
965
+ function Jt(e) {
966
+ if (e === "") return !0;
967
+ if (/\s/.test(e) || e.length % 4 != 0) return !1;
968
+ try {
969
+ return atob(e), !0;
970
+ } catch {
971
+ return !1;
972
+ }
973
+ }
974
+ var Yt = /*@__PURE__*/ o("$ZodBase64", (e, t) => {
975
+ t.pattern ??= Ze, I.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (n) => {
976
+ Jt(n.value) || n.issues.push({
977
+ code: "invalid_format",
978
+ format: "base64",
979
+ input: n.value,
980
+ inst: e,
981
+ continue: !t.abort
982
+ });
983
+ };
984
+ });
985
+ function Xt(e) {
986
+ if (!Qe.test(e)) return !1;
987
+ let t = e.replace(/[-_]/g, (e) => e === "-" ? "+" : "/");
988
+ return Jt(t.padEnd(Math.ceil(t.length / 4) * 4, "="));
989
+ }
990
+ var Zt = /*@__PURE__*/ o("$ZodBase64URL", (e, t) => {
991
+ t.pattern ??= Qe, I.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (n) => {
992
+ Xt(n.value) || n.issues.push({
993
+ code: "invalid_format",
994
+ format: "base64url",
995
+ input: n.value,
996
+ inst: e,
997
+ continue: !t.abort
998
+ });
999
+ };
1000
+ }), Qt = /*@__PURE__*/ o("$ZodE164", (e, t) => {
1001
+ t.pattern ??= et, I.init(e, t);
1002
+ });
1003
+ function $t(e, t = null) {
1004
+ try {
1005
+ let n = e.split(".");
1006
+ if (n.length !== 3) return !1;
1007
+ let [r] = n;
1008
+ if (!r) return !1;
1009
+ let i = JSON.parse(atob(r));
1010
+ return !("typ" in i && i?.typ !== "JWT" || !i.alg || t && (!("alg" in i) || i.alg !== t));
1011
+ } catch {
1012
+ return !1;
1013
+ }
1014
+ }
1015
+ var en = /*@__PURE__*/ o("$ZodJWT", (e, t) => {
1016
+ I.init(e, t), e._zod.check = (n) => {
1017
+ $t(n.value, t.alg) || n.issues.push({
1018
+ code: "invalid_format",
1019
+ format: "jwt",
1020
+ input: n.value,
1021
+ inst: e,
1022
+ continue: !t.abort
1023
+ });
1024
+ };
1025
+ }), tn = /*@__PURE__*/ o("$ZodNumber", (e, t) => {
1026
+ P.init(e, t), e._zod.pattern = e._zod.bag.pattern ?? ct, e._zod.parse = (n, r) => {
1027
+ if (t.coerce) try {
1028
+ n.value = Number(n.value);
1029
+ } catch {}
1030
+ let i = n.value;
1031
+ if (typeof i == "number" && !Number.isNaN(i) && Number.isFinite(i)) return n;
1032
+ let a = typeof i == "number" ? Number.isNaN(i) ? "NaN" : Number.isFinite(i) ? void 0 : "Infinity" : void 0;
1033
+ return n.issues.push({
1034
+ expected: "number",
1035
+ code: "invalid_type",
1036
+ input: i,
1037
+ inst: e,
1038
+ ...a ? { received: a } : {}
1039
+ }), n;
1040
+ };
1041
+ }), nn = /*@__PURE__*/ o("$ZodNumberFormat", (e, t) => {
1042
+ gt.init(e, t), tn.init(e, t);
1043
+ }), rn = /*@__PURE__*/ o("$ZodBoolean", (e, t) => {
1044
+ P.init(e, t), e._zod.pattern = lt, e._zod.parse = (n, r) => {
1045
+ if (t.coerce) try {
1046
+ n.value = !!n.value;
1047
+ } catch {}
1048
+ let i = n.value;
1049
+ return typeof i == "boolean" || n.issues.push({
1050
+ expected: "boolean",
1051
+ code: "invalid_type",
1052
+ input: i,
1053
+ inst: e
1054
+ }), n;
1055
+ };
1056
+ }), an = /*@__PURE__*/ o("$ZodAny", (e, t) => {
1057
+ P.init(e, t), e._zod.parse = (e) => e;
1058
+ }), on = /*@__PURE__*/ o("$ZodUnknown", (e, t) => {
1059
+ P.init(e, t), e._zod.parse = (e) => e;
1060
+ }), sn = /*@__PURE__*/ o("$ZodNever", (e, t) => {
1061
+ P.init(e, t), e._zod.parse = (t, n) => (t.issues.push({
1062
+ expected: "never",
1063
+ code: "invalid_type",
1064
+ input: t.value,
1065
+ inst: e
1066
+ }), t);
1067
+ });
1068
+ function cn(e, t, n) {
1069
+ e.issues.length && t.issues.push(...T(n, e.issues)), t.value[n] = e.value;
1070
+ }
1071
+ var ln = /*@__PURE__*/ o("$ZodArray", (e, t) => {
1072
+ P.init(e, t), e._zod.parse = (n, r) => {
1073
+ let i = n.value;
1074
+ if (!Array.isArray(i)) return n.issues.push({
1075
+ expected: "array",
1076
+ code: "invalid_type",
1077
+ input: i,
1078
+ inst: e
1079
+ }), n;
1080
+ n.value = Array(i.length);
1081
+ let a = [];
1082
+ for (let e = 0; e < i.length; e++) {
1083
+ let o = i[e], s = t.element._zod.run({
1084
+ value: o,
1085
+ issues: []
1086
+ }, r);
1087
+ s instanceof Promise ? a.push(s.then((t) => cn(t, n, e))) : cn(s, n, e);
1088
+ }
1089
+ return a.length ? Promise.all(a).then(() => n) : n;
1090
+ };
1091
+ });
1092
+ function L(e, t, n, r, i, a) {
1093
+ let o = n in r;
1094
+ if (e.issues.length) {
1095
+ if (i && a && !o) return;
1096
+ t.issues.push(...T(n, e.issues));
1097
+ }
1098
+ if (!o && !i) {
1099
+ e.issues.length || t.issues.push({
1100
+ code: "invalid_type",
1101
+ expected: "nonoptional",
1102
+ input: void 0,
1103
+ path: [n]
1104
+ });
1105
+ return;
1106
+ }
1107
+ e.value === void 0 ? o && (t.value[n] = void 0) : t.value[n] = e.value;
1108
+ }
1109
+ function un(e) {
1110
+ let t = Object.keys(e.shape);
1111
+ for (let n of t) if (!e.shape?.[n]?._zod?.traits?.has("$ZodType")) throw Error(`Invalid element at key "${n}": expected a Zod schema`);
1112
+ let n = ce(e.shape);
1113
+ return {
1114
+ ...e,
1115
+ keys: t,
1116
+ keySet: new Set(t),
1117
+ numKeys: t.length,
1118
+ optionalKeys: new Set(n)
1119
+ };
1120
+ }
1121
+ function dn(e, t, n, r, i, a) {
1122
+ let o = [], s = i.keySet, c = i.catchall._zod, l = c.def.type, u = c.optin === "optional", d = c.optout === "optional";
1123
+ for (let i in t) {
1124
+ if (i === "__proto__" || s.has(i)) continue;
1125
+ if (l === "never") {
1126
+ o.push(i);
1127
+ continue;
1128
+ }
1129
+ let a = c.run({
1130
+ value: t[i],
1131
+ issues: []
1132
+ }, r);
1133
+ a instanceof Promise ? e.push(a.then((e) => L(e, n, i, t, u, d))) : L(a, n, i, t, u, d);
1134
+ }
1135
+ return o.length && n.issues.push({
1136
+ code: "unrecognized_keys",
1137
+ keys: o,
1138
+ input: t,
1139
+ inst: a
1140
+ }), e.length ? Promise.all(e).then(() => n) : n;
1141
+ }
1142
+ var fn = /*@__PURE__*/ o("$ZodObject", (e, t) => {
1143
+ if (P.init(e, t), !Object.getOwnPropertyDescriptor(t, "shape")?.get) {
1144
+ let e = t.shape;
1145
+ Object.defineProperty(t, "shape", { get: () => {
1146
+ let n = { ...e };
1147
+ return Object.defineProperty(t, "shape", { value: n }), n;
1148
+ } });
1149
+ }
1150
+ let n = p(() => un(t));
1151
+ g(e._zod, "propValues", () => {
1152
+ let e = t.shape, n = {};
1153
+ for (let t in e) {
1154
+ let r = e[t]._zod;
1155
+ if (r.values) {
1156
+ n[t] ?? (n[t] = /* @__PURE__ */ new Set());
1157
+ for (let e of r.values) n[t].add(e);
1158
+ }
1159
+ }
1160
+ return n;
1161
+ });
1162
+ let r = y, i = t.catchall, a;
1163
+ e._zod.parse = (t, o) => {
1164
+ a ??= n.value;
1165
+ let s = t.value;
1166
+ if (!r(s)) return t.issues.push({
1167
+ expected: "object",
1168
+ code: "invalid_type",
1169
+ input: s,
1170
+ inst: e
1171
+ }), t;
1172
+ t.value = {};
1173
+ let c = [], l = a.shape;
1174
+ for (let e of a.keys) {
1175
+ let n = l[e], r = n._zod.optin === "optional", i = n._zod.optout === "optional", a = n._zod.run({
1176
+ value: s[e],
1177
+ issues: []
1178
+ }, o);
1179
+ a instanceof Promise ? c.push(a.then((n) => L(n, t, e, s, r, i))) : L(a, t, e, s, r, i);
1180
+ }
1181
+ return i ? dn(c, s, t, o, n.value, e) : c.length ? Promise.all(c).then(() => t) : t;
1182
+ };
1183
+ }), pn = /*@__PURE__*/ o("$ZodObjectJIT", (e, t) => {
1184
+ fn.init(e, t);
1185
+ let n = e._zod.parse, r = p(() => un(t)), i = (e) => {
1186
+ let t = new Dt([
1187
+ "shape",
1188
+ "payload",
1189
+ "ctx"
1190
+ ]), n = r.value, i = (e) => {
1191
+ let t = ne(e);
1192
+ return `shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`;
1193
+ };
1194
+ t.write("const input = payload.value;");
1195
+ let a = Object.create(null), o = 0;
1196
+ for (let e of n.keys) a[e] = `key_${o++}`;
1197
+ t.write("const newResult = {};");
1198
+ for (let r of n.keys) {
1199
+ let n = a[r], o = ne(r), s = e[r], c = s?._zod?.optin === "optional", l = s?._zod?.optout === "optional";
1200
+ t.write(`const ${n} = ${i(r)};`), c && l ? t.write(`
1201
+ if (${n}.issues.length) {
1202
+ if (${o} in input) {
1203
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
1204
+ ...iss,
1205
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
1206
+ })));
1207
+ }
1208
+ }
1209
+
1210
+ if (${n}.value === undefined) {
1211
+ if (${o} in input) {
1212
+ newResult[${o}] = undefined;
1213
+ }
1214
+ } else {
1215
+ newResult[${o}] = ${n}.value;
1216
+ }
1217
+
1218
+ `) : c ? t.write(`
1219
+ if (${n}.issues.length) {
1220
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
1221
+ ...iss,
1222
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
1223
+ })));
1224
+ }
1225
+
1226
+ if (${n}.value === undefined) {
1227
+ if (${o} in input) {
1228
+ newResult[${o}] = undefined;
1229
+ }
1230
+ } else {
1231
+ newResult[${o}] = ${n}.value;
1232
+ }
1233
+
1234
+ `) : t.write(`
1235
+ const ${n}_present = ${o} in input;
1236
+ if (${n}.issues.length) {
1237
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
1238
+ ...iss,
1239
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
1240
+ })));
1241
+ }
1242
+ if (!${n}_present && !${n}.issues.length) {
1243
+ payload.issues.push({
1244
+ code: "invalid_type",
1245
+ expected: "nonoptional",
1246
+ input: undefined,
1247
+ path: [${o}]
1248
+ });
1249
+ }
1250
+
1251
+ if (${n}_present) {
1252
+ if (${n}.value === undefined) {
1253
+ newResult[${o}] = undefined;
1254
+ } else {
1255
+ newResult[${o}] = ${n}.value;
1256
+ }
1257
+ }
1258
+
1259
+ `);
1260
+ }
1261
+ t.write("payload.value = newResult;"), t.write("return payload;");
1262
+ let s = t.compile();
1263
+ return (t, n) => s(e, t, n);
1264
+ }, a, o = y, s = !l.jitless, c = s && ae.value, u = t.catchall, d;
1265
+ e._zod.parse = (l, f) => {
1266
+ d ??= r.value;
1267
+ let p = l.value;
1268
+ return o(p) ? s && c && f?.async === !1 && f.jitless !== !0 ? (a ||= i(t.shape), l = a(l, f), u ? dn([], p, l, f, d, e) : l) : n(l, f) : (l.issues.push({
1269
+ expected: "object",
1270
+ code: "invalid_type",
1271
+ input: p,
1272
+ inst: e
1273
+ }), l);
1274
+ };
1275
+ });
1276
+ function mn(e, t, n, r) {
1277
+ for (let n of e) if (n.issues.length === 0) return t.value = n.value, t;
1278
+ let i = e.filter((e) => !w(e));
1279
+ return i.length === 1 ? (t.value = i[0].value, i[0]) : (t.issues.push({
1280
+ code: "invalid_union",
1281
+ input: t.value,
1282
+ inst: n,
1283
+ errors: e.map((e) => e.issues.map((e) => D(e, r, u())))
1284
+ }), t);
1285
+ }
1286
+ var hn = /*@__PURE__*/ o("$ZodUnion", (e, t) => {
1287
+ P.init(e, t), g(e._zod, "optin", () => t.options.some((e) => e._zod.optin === "optional") ? "optional" : void 0), g(e._zod, "optout", () => t.options.some((e) => e._zod.optout === "optional") ? "optional" : void 0), g(e._zod, "values", () => {
1288
+ if (t.options.every((e) => e._zod.values)) return new Set(t.options.flatMap((e) => Array.from(e._zod.values)));
1289
+ }), g(e._zod, "pattern", () => {
1290
+ if (t.options.every((e) => e._zod.pattern)) {
1291
+ let e = t.options.map((e) => e._zod.pattern);
1292
+ return RegExp(`^(${e.map((e) => h(e.source)).join("|")})$`);
1293
+ }
1294
+ });
1295
+ let n = t.options.length === 1 ? t.options[0]._zod.run : null;
1296
+ e._zod.parse = (r, i) => {
1297
+ if (n) return n(r, i);
1298
+ let a = !1, o = [];
1299
+ for (let e of t.options) {
1300
+ let t = e._zod.run({
1301
+ value: r.value,
1302
+ issues: []
1303
+ }, i);
1304
+ if (t instanceof Promise) o.push(t), a = !0;
1305
+ else {
1306
+ if (t.issues.length === 0) return t;
1307
+ o.push(t);
1308
+ }
1309
+ }
1310
+ return a ? Promise.all(o).then((t) => mn(t, r, e, i)) : mn(o, r, e, i);
1311
+ };
1312
+ }), gn = /*@__PURE__*/ o("$ZodDiscriminatedUnion", (e, t) => {
1313
+ t.inclusive = !1, hn.init(e, t);
1314
+ let n = e._zod.parse;
1315
+ g(e._zod, "propValues", () => {
1316
+ let e = {};
1317
+ for (let n of t.options) {
1318
+ let r = n._zod.propValues;
1319
+ if (!r || Object.keys(r).length === 0) throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);
1320
+ for (let [t, n] of Object.entries(r)) {
1321
+ e[t] || (e[t] = /* @__PURE__ */ new Set());
1322
+ for (let r of n) e[t].add(r);
1323
+ }
1324
+ }
1325
+ return e;
1326
+ });
1327
+ let r = p(() => {
1328
+ let e = t.options, n = /* @__PURE__ */ new Map();
1329
+ for (let r of e) {
1330
+ let e = r._zod.propValues?.[t.discriminator];
1331
+ if (!e || e.size === 0) throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);
1332
+ for (let t of e) {
1333
+ if (n.has(t)) throw Error(`Duplicate discriminator value "${String(t)}"`);
1334
+ n.set(t, r);
1335
+ }
1336
+ }
1337
+ return n;
1338
+ });
1339
+ e._zod.parse = (i, a) => {
1340
+ let o = i.value;
1341
+ if (!y(o)) return i.issues.push({
1342
+ code: "invalid_type",
1343
+ expected: "object",
1344
+ input: o,
1345
+ inst: e
1346
+ }), i;
1347
+ let s = r.value.get(o?.[t.discriminator]);
1348
+ return s ? s._zod.run(i, a) : t.unionFallback || a.direction === "backward" ? n(i, a) : (i.issues.push({
1349
+ code: "invalid_union",
1350
+ errors: [],
1351
+ note: "No matching discriminator",
1352
+ discriminator: t.discriminator,
1353
+ options: Array.from(r.value.keys()),
1354
+ input: o,
1355
+ path: [t.discriminator],
1356
+ inst: e
1357
+ }), i);
1358
+ };
1359
+ }), _n = /*@__PURE__*/ o("$ZodIntersection", (e, t) => {
1360
+ P.init(e, t), e._zod.parse = (e, n) => {
1361
+ let r = e.value, i = t.left._zod.run({
1362
+ value: r,
1363
+ issues: []
1364
+ }, n), a = t.right._zod.run({
1365
+ value: r,
1366
+ issues: []
1367
+ }, n);
1368
+ return i instanceof Promise || a instanceof Promise ? Promise.all([i, a]).then(([t, n]) => vn(e, t, n)) : vn(e, i, a);
1369
+ };
1370
+ });
1371
+ function R(e, t) {
1372
+ if (e === t || e instanceof Date && t instanceof Date && +e == +t) return {
1373
+ valid: !0,
1374
+ data: e
1375
+ };
1376
+ if (b(e) && b(t)) {
1377
+ let n = Object.keys(t), r = Object.keys(e).filter((e) => n.indexOf(e) !== -1), i = {
1378
+ ...e,
1379
+ ...t
1380
+ };
1381
+ for (let n of r) {
1382
+ let r = R(e[n], t[n]);
1383
+ if (!r.valid) return {
1384
+ valid: !1,
1385
+ mergeErrorPath: [n, ...r.mergeErrorPath]
1386
+ };
1387
+ i[n] = r.data;
1388
+ }
1389
+ return {
1390
+ valid: !0,
1391
+ data: i
1392
+ };
1393
+ }
1394
+ if (Array.isArray(e) && Array.isArray(t)) {
1395
+ if (e.length !== t.length) return {
1396
+ valid: !1,
1397
+ mergeErrorPath: []
1398
+ };
1399
+ let n = [];
1400
+ for (let r = 0; r < e.length; r++) {
1401
+ let i = e[r], a = t[r], o = R(i, a);
1402
+ if (!o.valid) return {
1403
+ valid: !1,
1404
+ mergeErrorPath: [r, ...o.mergeErrorPath]
1405
+ };
1406
+ n.push(o.data);
1407
+ }
1408
+ return {
1409
+ valid: !0,
1410
+ data: n
1411
+ };
1412
+ }
1413
+ return {
1414
+ valid: !1,
1415
+ mergeErrorPath: []
1416
+ };
1417
+ }
1418
+ function vn(e, t, n) {
1419
+ let r = /* @__PURE__ */ new Map(), i;
1420
+ for (let n of t.issues) if (n.code === "unrecognized_keys") {
1421
+ i ??= n;
1422
+ for (let e of n.keys) r.has(e) || r.set(e, {}), r.get(e).l = !0;
1423
+ } else e.issues.push(n);
1424
+ for (let t of n.issues) if (t.code === "unrecognized_keys") for (let e of t.keys) r.has(e) || r.set(e, {}), r.get(e).r = !0;
1425
+ else e.issues.push(t);
1426
+ let a = [...r].filter(([, e]) => e.l && e.r).map(([e]) => e);
1427
+ if (a.length && i && e.issues.push({
1428
+ ...i,
1429
+ keys: a
1430
+ }), w(e)) return e;
1431
+ let o = R(t.value, n.value);
1432
+ if (!o.valid) throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);
1433
+ return e.value = o.data, e;
1434
+ }
1435
+ var yn = /*@__PURE__*/ o("$ZodRecord", (e, t) => {
1436
+ P.init(e, t), e._zod.parse = (n, r) => {
1437
+ let i = n.value;
1438
+ if (!b(i)) return n.issues.push({
1439
+ expected: "record",
1440
+ code: "invalid_type",
1441
+ input: i,
1442
+ inst: e
1443
+ }), n;
1444
+ let a = [], o = t.keyType._zod.values;
1445
+ if (o) {
1446
+ n.value = {};
1447
+ let s = /* @__PURE__ */ new Set();
1448
+ for (let c of o) if (typeof c == "string" || typeof c == "number" || typeof c == "symbol") {
1449
+ s.add(typeof c == "number" ? c.toString() : c);
1450
+ let o = t.keyType._zod.run({
1451
+ value: c,
1452
+ issues: []
1453
+ }, r);
1454
+ if (o instanceof Promise) throw Error("Async schemas not supported in object keys currently");
1455
+ if (o.issues.length) {
1456
+ n.issues.push({
1457
+ code: "invalid_key",
1458
+ origin: "record",
1459
+ issues: o.issues.map((e) => D(e, r, u())),
1460
+ input: c,
1461
+ path: [c],
1462
+ inst: e
1463
+ });
1464
+ continue;
1465
+ }
1466
+ let l = o.value, d = t.valueType._zod.run({
1467
+ value: i[c],
1468
+ issues: []
1469
+ }, r);
1470
+ d instanceof Promise ? a.push(d.then((e) => {
1471
+ e.issues.length && n.issues.push(...T(c, e.issues)), n.value[l] = e.value;
1472
+ })) : (d.issues.length && n.issues.push(...T(c, d.issues)), n.value[l] = d.value);
1473
+ }
1474
+ let c;
1475
+ for (let e in i) s.has(e) || (c ??= [], c.push(e));
1476
+ c && c.length > 0 && n.issues.push({
1477
+ code: "unrecognized_keys",
1478
+ input: i,
1479
+ inst: e,
1480
+ keys: c
1481
+ });
1482
+ } else {
1483
+ n.value = {};
1484
+ for (let o of Reflect.ownKeys(i)) {
1485
+ if (o === "__proto__" || !Object.prototype.propertyIsEnumerable.call(i, o)) continue;
1486
+ let s = t.keyType._zod.run({
1487
+ value: o,
1488
+ issues: []
1489
+ }, r);
1490
+ if (s instanceof Promise) throw Error("Async schemas not supported in object keys currently");
1491
+ if (typeof o == "string" && ct.test(o) && s.issues.length) {
1492
+ let e = t.keyType._zod.run({
1493
+ value: Number(o),
1494
+ issues: []
1495
+ }, r);
1496
+ if (e instanceof Promise) throw Error("Async schemas not supported in object keys currently");
1497
+ e.issues.length === 0 && (s = e);
1498
+ }
1499
+ if (s.issues.length) {
1500
+ t.mode === "loose" ? n.value[o] = i[o] : n.issues.push({
1501
+ code: "invalid_key",
1502
+ origin: "record",
1503
+ issues: s.issues.map((e) => D(e, r, u())),
1504
+ input: o,
1505
+ path: [o],
1506
+ inst: e
1507
+ });
1508
+ continue;
1509
+ }
1510
+ let c = t.valueType._zod.run({
1511
+ value: i[o],
1512
+ issues: []
1513
+ }, r);
1514
+ c instanceof Promise ? a.push(c.then((e) => {
1515
+ e.issues.length && n.issues.push(...T(o, e.issues)), n.value[s.value] = e.value;
1516
+ })) : (c.issues.length && n.issues.push(...T(o, c.issues)), n.value[s.value] = c.value);
1517
+ }
1518
+ }
1519
+ return a.length ? Promise.all(a).then(() => n) : n;
1520
+ };
1521
+ }), bn = /*@__PURE__*/ o("$ZodEnum", (e, t) => {
1522
+ P.init(e, t);
1523
+ let n = d(t.entries), r = new Set(n);
1524
+ e._zod.values = r, e._zod.pattern = RegExp(`^(${n.filter((e) => se.has(typeof e)).map((e) => typeof e == "string" ? x(e) : e.toString()).join("|")})$`), e._zod.parse = (t, i) => {
1525
+ let a = t.value;
1526
+ return r.has(a) || t.issues.push({
1527
+ code: "invalid_value",
1528
+ values: n,
1529
+ input: a,
1530
+ inst: e
1531
+ }), t;
1532
+ };
1533
+ }), xn = /*@__PURE__*/ o("$ZodLiteral", (e, t) => {
1534
+ if (P.init(e, t), t.values.length === 0) throw Error("Cannot create literal schema with no valid values");
1535
+ let n = new Set(t.values);
1536
+ e._zod.values = n, e._zod.pattern = RegExp(`^(${t.values.map((e) => typeof e == "string" ? x(e) : e ? x(e.toString()) : String(e)).join("|")})$`), e._zod.parse = (r, i) => {
1537
+ let a = r.value;
1538
+ return n.has(a) || r.issues.push({
1539
+ code: "invalid_value",
1540
+ values: t.values,
1541
+ input: a,
1542
+ inst: e
1543
+ }), r;
1544
+ };
1545
+ }), Sn = /*@__PURE__*/ o("$ZodTransform", (e, t) => {
1546
+ P.init(e, t), e._zod.optin = "optional", e._zod.parse = (n, r) => {
1547
+ if (r.direction === "backward") throw new c(e.constructor.name);
1548
+ let i = t.transform(n.value, n);
1549
+ if (r.async) return (i instanceof Promise ? i : Promise.resolve(i)).then((e) => (n.value = e, n.fallback = !0, n));
1550
+ if (i instanceof Promise) throw new s();
1551
+ return n.value = i, n.fallback = !0, n;
1552
+ };
1553
+ });
1554
+ function Cn(e, t) {
1555
+ return t === void 0 && (e.issues.length || e.fallback) ? {
1556
+ issues: [],
1557
+ value: void 0
1558
+ } : e;
1559
+ }
1560
+ var wn = /*@__PURE__*/ o("$ZodOptional", (e, t) => {
1561
+ P.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", g(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), g(e._zod, "pattern", () => {
1562
+ let e = t.innerType._zod.pattern;
1563
+ return e ? RegExp(`^(${h(e.source)})?$`) : void 0;
1564
+ }), e._zod.parse = (e, n) => {
1565
+ if (t.innerType._zod.optin === "optional") {
1566
+ let r = e.value, i = t.innerType._zod.run(e, n);
1567
+ return i instanceof Promise ? i.then((e) => Cn(e, r)) : Cn(i, r);
1568
+ }
1569
+ return e.value === void 0 ? e : t.innerType._zod.run(e, n);
1570
+ };
1571
+ }), Tn = /*@__PURE__*/ o("$ZodExactOptional", (e, t) => {
1572
+ wn.init(e, t), g(e._zod, "values", () => t.innerType._zod.values), g(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (e, n) => t.innerType._zod.run(e, n);
1573
+ }), En = /*@__PURE__*/ o("$ZodNullable", (e, t) => {
1574
+ P.init(e, t), g(e._zod, "optin", () => t.innerType._zod.optin), g(e._zod, "optout", () => t.innerType._zod.optout), g(e._zod, "pattern", () => {
1575
+ let e = t.innerType._zod.pattern;
1576
+ return e ? RegExp(`^(${h(e.source)}|null)$`) : void 0;
1577
+ }), g(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (e, n) => e.value === null ? e : t.innerType._zod.run(e, n);
1578
+ }), Dn = /*@__PURE__*/ o("$ZodDefault", (e, t) => {
1579
+ P.init(e, t), e._zod.optin = "optional", g(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => {
1580
+ if (n.direction === "backward") return t.innerType._zod.run(e, n);
1581
+ if (e.value === void 0) return e.value = t.defaultValue, e;
1582
+ let r = t.innerType._zod.run(e, n);
1583
+ return r instanceof Promise ? r.then((e) => On(e, t)) : On(r, t);
1584
+ };
1585
+ });
1586
+ function On(e, t) {
1587
+ return e.value === void 0 && (e.value = t.defaultValue), e;
1588
+ }
1589
+ var kn = /*@__PURE__*/ o("$ZodPrefault", (e, t) => {
1590
+ P.init(e, t), e._zod.optin = "optional", g(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => (n.direction === "backward" || e.value === void 0 && (e.value = t.defaultValue), t.innerType._zod.run(e, n));
1591
+ }), An = /*@__PURE__*/ o("$ZodNonOptional", (e, t) => {
1592
+ P.init(e, t), g(e._zod, "values", () => {
1593
+ let e = t.innerType._zod.values;
1594
+ return e ? new Set([...e].filter((e) => e !== void 0)) : void 0;
1595
+ }), e._zod.parse = (n, r) => {
1596
+ let i = t.innerType._zod.run(n, r);
1597
+ return i instanceof Promise ? i.then((t) => jn(t, e)) : jn(i, e);
1598
+ };
1599
+ });
1600
+ function jn(e, t) {
1601
+ return !e.issues.length && e.value === void 0 && e.issues.push({
1602
+ code: "invalid_type",
1603
+ expected: "nonoptional",
1604
+ input: e.value,
1605
+ inst: t
1606
+ }), e;
1607
+ }
1608
+ var Mn = /*@__PURE__*/ o("$ZodCatch", (e, t) => {
1609
+ P.init(e, t), e._zod.optin = "optional", g(e._zod, "optout", () => t.innerType._zod.optout), g(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => {
1610
+ if (n.direction === "backward") return t.innerType._zod.run(e, n);
1611
+ let r = t.innerType._zod.run(e, n);
1612
+ return r instanceof Promise ? r.then((r) => (e.value = r.value, r.issues.length && (e.value = t.catchValue({
1613
+ ...e,
1614
+ error: { issues: r.issues.map((e) => D(e, n, u())) },
1615
+ input: e.value
1616
+ }), e.issues = [], e.fallback = !0), e)) : (e.value = r.value, r.issues.length && (e.value = t.catchValue({
1617
+ ...e,
1618
+ error: { issues: r.issues.map((e) => D(e, n, u())) },
1619
+ input: e.value
1620
+ }), e.issues = [], e.fallback = !0), e);
1621
+ };
1622
+ }), Nn = /*@__PURE__*/ o("$ZodPipe", (e, t) => {
1623
+ P.init(e, t), g(e._zod, "values", () => t.in._zod.values), g(e._zod, "optin", () => t.in._zod.optin), g(e._zod, "optout", () => t.out._zod.optout), g(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (e, n) => {
1624
+ if (n.direction === "backward") {
1625
+ let r = t.out._zod.run(e, n);
1626
+ return r instanceof Promise ? r.then((e) => z(e, t.in, n)) : z(r, t.in, n);
1627
+ }
1628
+ let r = t.in._zod.run(e, n);
1629
+ return r instanceof Promise ? r.then((e) => z(e, t.out, n)) : z(r, t.out, n);
1630
+ };
1631
+ });
1632
+ function z(e, t, n) {
1633
+ return e.issues.length ? (e.aborted = !0, e) : t._zod.run({
1634
+ value: e.value,
1635
+ issues: e.issues,
1636
+ fallback: e.fallback
1637
+ }, n);
1638
+ }
1639
+ var Pn = /*@__PURE__*/ o("$ZodReadonly", (e, t) => {
1640
+ P.init(e, t), g(e._zod, "propValues", () => t.innerType._zod.propValues), g(e._zod, "values", () => t.innerType._zod.values), g(e._zod, "optin", () => t.innerType?._zod?.optin), g(e._zod, "optout", () => t.innerType?._zod?.optout), e._zod.parse = (e, n) => {
1641
+ if (n.direction === "backward") return t.innerType._zod.run(e, n);
1642
+ let r = t.innerType._zod.run(e, n);
1643
+ return r instanceof Promise ? r.then(Fn) : Fn(r);
1644
+ };
1645
+ });
1646
+ function Fn(e) {
1647
+ return e.value = Object.freeze(e.value), e;
1648
+ }
1649
+ var In = /*@__PURE__*/ o("$ZodLazy", (e, t) => {
1650
+ P.init(e, t), g(e._zod, "innerType", () => {
1651
+ let e = t;
1652
+ return e._cachedInner ||= t.getter(), e._cachedInner;
1653
+ }), g(e._zod, "pattern", () => e._zod.innerType?._zod?.pattern), g(e._zod, "propValues", () => e._zod.innerType?._zod?.propValues), g(e._zod, "optin", () => e._zod.innerType?._zod?.optin ?? void 0), g(e._zod, "optout", () => e._zod.innerType?._zod?.optout ?? void 0), e._zod.parse = (t, n) => e._zod.innerType._zod.run(t, n);
1654
+ }), Ln = /*@__PURE__*/ o("$ZodCustom", (e, t) => {
1655
+ M.init(e, t), P.init(e, t), e._zod.parse = (e, t) => e, e._zod.check = (n) => {
1656
+ let r = n.value, i = t.fn(r);
1657
+ if (i instanceof Promise) return i.then((t) => Rn(t, n, r, e));
1658
+ Rn(i, n, r, e);
1659
+ };
1660
+ });
1661
+ function Rn(e, t, n, r) {
1662
+ if (!e) {
1663
+ let e = {
1664
+ code: "custom",
1665
+ input: n,
1666
+ inst: r,
1667
+ path: [...r._zod.def.path ?? []],
1668
+ continue: !r._zod.def.abort
1669
+ };
1670
+ r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(k(e));
1671
+ }
1672
+ }
1673
+ //#endregion
1674
+ //#region node_modules/zod/v4/core/registries.js
1675
+ var zn, Bn = class {
1676
+ constructor() {
1677
+ this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
1678
+ }
1679
+ add(e, ...t) {
1680
+ let n = t[0];
1681
+ return this._map.set(e, n), n && typeof n == "object" && "id" in n && this._idmap.set(n.id, e), this;
1682
+ }
1683
+ clear() {
1684
+ return this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map(), this;
1685
+ }
1686
+ remove(e) {
1687
+ let t = this._map.get(e);
1688
+ return t && typeof t == "object" && "id" in t && this._idmap.delete(t.id), this._map.delete(e), this;
1689
+ }
1690
+ get(e) {
1691
+ let t = e._zod.parent;
1692
+ if (t) {
1693
+ let n = { ...this.get(t) ?? {} };
1694
+ delete n.id;
1695
+ let r = {
1696
+ ...n,
1697
+ ...this._map.get(e)
1698
+ };
1699
+ return Object.keys(r).length ? r : void 0;
1700
+ }
1701
+ return this._map.get(e);
1702
+ }
1703
+ has(e) {
1704
+ return this._map.has(e);
1705
+ }
1706
+ };
1707
+ function Vn() {
1708
+ return new Bn();
1709
+ }
1710
+ (zn = globalThis).__zod_globalRegistry ?? (zn.__zod_globalRegistry = Vn());
1711
+ var B = globalThis.__zod_globalRegistry;
1712
+ //#endregion
1713
+ //#region node_modules/zod/v4/core/api.js
1714
+ // @__NO_SIDE_EFFECTS__
1715
+ function Hn(e, t) {
1716
+ return new e({
1717
+ type: "string",
1718
+ ...C(t)
1719
+ });
1720
+ }
1721
+ // @__NO_SIDE_EFFECTS__
1722
+ function Un(e, t) {
1723
+ return new e({
1724
+ type: "string",
1725
+ format: "email",
1726
+ check: "string_format",
1727
+ abort: !1,
1728
+ ...C(t)
1729
+ });
1730
+ }
1731
+ // @__NO_SIDE_EFFECTS__
1732
+ function Wn(e, t) {
1733
+ return new e({
1734
+ type: "string",
1735
+ format: "guid",
1736
+ check: "string_format",
1737
+ abort: !1,
1738
+ ...C(t)
1739
+ });
1740
+ }
1741
+ // @__NO_SIDE_EFFECTS__
1742
+ function Gn(e, t) {
1743
+ return new e({
1744
+ type: "string",
1745
+ format: "uuid",
1746
+ check: "string_format",
1747
+ abort: !1,
1748
+ ...C(t)
1749
+ });
1750
+ }
1751
+ // @__NO_SIDE_EFFECTS__
1752
+ function Kn(e, t) {
1753
+ return new e({
1754
+ type: "string",
1755
+ format: "uuid",
1756
+ check: "string_format",
1757
+ abort: !1,
1758
+ version: "v4",
1759
+ ...C(t)
1760
+ });
1761
+ }
1762
+ // @__NO_SIDE_EFFECTS__
1763
+ function qn(e, t) {
1764
+ return new e({
1765
+ type: "string",
1766
+ format: "uuid",
1767
+ check: "string_format",
1768
+ abort: !1,
1769
+ version: "v6",
1770
+ ...C(t)
1771
+ });
1772
+ }
1773
+ // @__NO_SIDE_EFFECTS__
1774
+ function Jn(e, t) {
1775
+ return new e({
1776
+ type: "string",
1777
+ format: "uuid",
1778
+ check: "string_format",
1779
+ abort: !1,
1780
+ version: "v7",
1781
+ ...C(t)
1782
+ });
1783
+ }
1784
+ // @__NO_SIDE_EFFECTS__
1785
+ function Yn(e, t) {
1786
+ return new e({
1787
+ type: "string",
1788
+ format: "url",
1789
+ check: "string_format",
1790
+ abort: !1,
1791
+ ...C(t)
1792
+ });
1793
+ }
1794
+ // @__NO_SIDE_EFFECTS__
1795
+ function Xn(e, t) {
1796
+ return new e({
1797
+ type: "string",
1798
+ format: "emoji",
1799
+ check: "string_format",
1800
+ abort: !1,
1801
+ ...C(t)
1802
+ });
1803
+ }
1804
+ // @__NO_SIDE_EFFECTS__
1805
+ function Zn(e, t) {
1806
+ return new e({
1807
+ type: "string",
1808
+ format: "nanoid",
1809
+ check: "string_format",
1810
+ abort: !1,
1811
+ ...C(t)
1812
+ });
1813
+ }
1814
+ // @__NO_SIDE_EFFECTS__
1815
+ function Qn(e, t) {
1816
+ return new e({
1817
+ type: "string",
1818
+ format: "cuid",
1819
+ check: "string_format",
1820
+ abort: !1,
1821
+ ...C(t)
1822
+ });
1823
+ }
1824
+ // @__NO_SIDE_EFFECTS__
1825
+ function $n(e, t) {
1826
+ return new e({
1827
+ type: "string",
1828
+ format: "cuid2",
1829
+ check: "string_format",
1830
+ abort: !1,
1831
+ ...C(t)
1832
+ });
1833
+ }
1834
+ // @__NO_SIDE_EFFECTS__
1835
+ function er(e, t) {
1836
+ return new e({
1837
+ type: "string",
1838
+ format: "ulid",
1839
+ check: "string_format",
1840
+ abort: !1,
1841
+ ...C(t)
1842
+ });
1843
+ }
1844
+ // @__NO_SIDE_EFFECTS__
1845
+ function tr(e, t) {
1846
+ return new e({
1847
+ type: "string",
1848
+ format: "xid",
1849
+ check: "string_format",
1850
+ abort: !1,
1851
+ ...C(t)
1852
+ });
1853
+ }
1854
+ // @__NO_SIDE_EFFECTS__
1855
+ function nr(e, t) {
1856
+ return new e({
1857
+ type: "string",
1858
+ format: "ksuid",
1859
+ check: "string_format",
1860
+ abort: !1,
1861
+ ...C(t)
1862
+ });
1863
+ }
1864
+ // @__NO_SIDE_EFFECTS__
1865
+ function rr(e, t) {
1866
+ return new e({
1867
+ type: "string",
1868
+ format: "ipv4",
1869
+ check: "string_format",
1870
+ abort: !1,
1871
+ ...C(t)
1872
+ });
1873
+ }
1874
+ // @__NO_SIDE_EFFECTS__
1875
+ function ir(e, t) {
1876
+ return new e({
1877
+ type: "string",
1878
+ format: "ipv6",
1879
+ check: "string_format",
1880
+ abort: !1,
1881
+ ...C(t)
1882
+ });
1883
+ }
1884
+ // @__NO_SIDE_EFFECTS__
1885
+ function ar(e, t) {
1886
+ return new e({
1887
+ type: "string",
1888
+ format: "cidrv4",
1889
+ check: "string_format",
1890
+ abort: !1,
1891
+ ...C(t)
1892
+ });
1893
+ }
1894
+ // @__NO_SIDE_EFFECTS__
1895
+ function or(e, t) {
1896
+ return new e({
1897
+ type: "string",
1898
+ format: "cidrv6",
1899
+ check: "string_format",
1900
+ abort: !1,
1901
+ ...C(t)
1902
+ });
1903
+ }
1904
+ // @__NO_SIDE_EFFECTS__
1905
+ function sr(e, t) {
1906
+ return new e({
1907
+ type: "string",
1908
+ format: "base64",
1909
+ check: "string_format",
1910
+ abort: !1,
1911
+ ...C(t)
1912
+ });
1913
+ }
1914
+ // @__NO_SIDE_EFFECTS__
1915
+ function cr(e, t) {
1916
+ return new e({
1917
+ type: "string",
1918
+ format: "base64url",
1919
+ check: "string_format",
1920
+ abort: !1,
1921
+ ...C(t)
1922
+ });
1923
+ }
1924
+ // @__NO_SIDE_EFFECTS__
1925
+ function lr(e, t) {
1926
+ return new e({
1927
+ type: "string",
1928
+ format: "e164",
1929
+ check: "string_format",
1930
+ abort: !1,
1931
+ ...C(t)
1932
+ });
1933
+ }
1934
+ // @__NO_SIDE_EFFECTS__
1935
+ function ur(e, t) {
1936
+ return new e({
1937
+ type: "string",
1938
+ format: "jwt",
1939
+ check: "string_format",
1940
+ abort: !1,
1941
+ ...C(t)
1942
+ });
1943
+ }
1944
+ // @__NO_SIDE_EFFECTS__
1945
+ function dr(e, t) {
1946
+ return new e({
1947
+ type: "string",
1948
+ format: "datetime",
1949
+ check: "string_format",
1950
+ offset: !1,
1951
+ local: !1,
1952
+ precision: null,
1953
+ ...C(t)
1954
+ });
1955
+ }
1956
+ // @__NO_SIDE_EFFECTS__
1957
+ function fr(e, t) {
1958
+ return new e({
1959
+ type: "string",
1960
+ format: "date",
1961
+ check: "string_format",
1962
+ ...C(t)
1963
+ });
1964
+ }
1965
+ // @__NO_SIDE_EFFECTS__
1966
+ function pr(e, t) {
1967
+ return new e({
1968
+ type: "string",
1969
+ format: "time",
1970
+ check: "string_format",
1971
+ precision: null,
1972
+ ...C(t)
1973
+ });
1974
+ }
1975
+ // @__NO_SIDE_EFFECTS__
1976
+ function mr(e, t) {
1977
+ return new e({
1978
+ type: "string",
1979
+ format: "duration",
1980
+ check: "string_format",
1981
+ ...C(t)
1982
+ });
1983
+ }
1984
+ // @__NO_SIDE_EFFECTS__
1985
+ function hr(e, t) {
1986
+ return new e({
1987
+ type: "number",
1988
+ checks: [],
1989
+ ...C(t)
1990
+ });
1991
+ }
1992
+ // @__NO_SIDE_EFFECTS__
1993
+ function gr(e, t) {
1994
+ return new e({
1995
+ type: "number",
1996
+ check: "number_format",
1997
+ abort: !1,
1998
+ format: "safeint",
1999
+ ...C(t)
2000
+ });
2001
+ }
2002
+ // @__NO_SIDE_EFFECTS__
2003
+ function _r(e, t) {
2004
+ return new e({
2005
+ type: "boolean",
2006
+ ...C(t)
2007
+ });
2008
+ }
2009
+ // @__NO_SIDE_EFFECTS__
2010
+ function vr(e) {
2011
+ return new e({ type: "any" });
2012
+ }
2013
+ // @__NO_SIDE_EFFECTS__
2014
+ function yr(e) {
2015
+ return new e({ type: "unknown" });
2016
+ }
2017
+ // @__NO_SIDE_EFFECTS__
2018
+ function br(e, t) {
2019
+ return new e({
2020
+ type: "never",
2021
+ ...C(t)
2022
+ });
2023
+ }
2024
+ // @__NO_SIDE_EFFECTS__
2025
+ function xr(e, t) {
2026
+ return new pt({
2027
+ check: "less_than",
2028
+ ...C(t),
2029
+ value: e,
2030
+ inclusive: !1
2031
+ });
2032
+ }
2033
+ // @__NO_SIDE_EFFECTS__
2034
+ function V(e, t) {
2035
+ return new pt({
2036
+ check: "less_than",
2037
+ ...C(t),
2038
+ value: e,
2039
+ inclusive: !0
2040
+ });
2041
+ }
2042
+ // @__NO_SIDE_EFFECTS__
2043
+ function Sr(e, t) {
2044
+ return new mt({
2045
+ check: "greater_than",
2046
+ ...C(t),
2047
+ value: e,
2048
+ inclusive: !1
2049
+ });
2050
+ }
2051
+ // @__NO_SIDE_EFFECTS__
2052
+ function H(e, t) {
2053
+ return new mt({
2054
+ check: "greater_than",
2055
+ ...C(t),
2056
+ value: e,
2057
+ inclusive: !0
2058
+ });
2059
+ }
2060
+ // @__NO_SIDE_EFFECTS__
2061
+ function Cr(e, t) {
2062
+ return new ht({
2063
+ check: "multiple_of",
2064
+ ...C(t),
2065
+ value: e
2066
+ });
2067
+ }
2068
+ // @__NO_SIDE_EFFECTS__
2069
+ function wr(e, t) {
2070
+ return new _t({
2071
+ check: "max_length",
2072
+ ...C(t),
2073
+ maximum: e
2074
+ });
2075
+ }
2076
+ // @__NO_SIDE_EFFECTS__
2077
+ function U(e, t) {
2078
+ return new vt({
2079
+ check: "min_length",
2080
+ ...C(t),
2081
+ minimum: e
2082
+ });
2083
+ }
2084
+ // @__NO_SIDE_EFFECTS__
2085
+ function Tr(e, t) {
2086
+ return new yt({
2087
+ check: "length_equals",
2088
+ ...C(t),
2089
+ length: e
2090
+ });
2091
+ }
2092
+ // @__NO_SIDE_EFFECTS__
2093
+ function Er(e, t) {
2094
+ return new bt({
2095
+ check: "string_format",
2096
+ format: "regex",
2097
+ ...C(t),
2098
+ pattern: e
2099
+ });
2100
+ }
2101
+ // @__NO_SIDE_EFFECTS__
2102
+ function Dr(e) {
2103
+ return new xt({
2104
+ check: "string_format",
2105
+ format: "lowercase",
2106
+ ...C(e)
2107
+ });
2108
+ }
2109
+ // @__NO_SIDE_EFFECTS__
2110
+ function Or(e) {
2111
+ return new St({
2112
+ check: "string_format",
2113
+ format: "uppercase",
2114
+ ...C(e)
2115
+ });
2116
+ }
2117
+ // @__NO_SIDE_EFFECTS__
2118
+ function kr(e, t) {
2119
+ return new Ct({
2120
+ check: "string_format",
2121
+ format: "includes",
2122
+ ...C(t),
2123
+ includes: e
2124
+ });
2125
+ }
2126
+ // @__NO_SIDE_EFFECTS__
2127
+ function Ar(e, t) {
2128
+ return new wt({
2129
+ check: "string_format",
2130
+ format: "starts_with",
2131
+ ...C(t),
2132
+ prefix: e
2133
+ });
2134
+ }
2135
+ // @__NO_SIDE_EFFECTS__
2136
+ function jr(e, t) {
2137
+ return new Tt({
2138
+ check: "string_format",
2139
+ format: "ends_with",
2140
+ ...C(t),
2141
+ suffix: e
2142
+ });
2143
+ }
2144
+ // @__NO_SIDE_EFFECTS__
2145
+ function W(e) {
2146
+ return new Et({
2147
+ check: "overwrite",
2148
+ tx: e
2149
+ });
2150
+ }
2151
+ // @__NO_SIDE_EFFECTS__
2152
+ function Mr(e) {
2153
+ return /* @__PURE__ */ W((t) => t.normalize(e));
2154
+ }
2155
+ // @__NO_SIDE_EFFECTS__
2156
+ function Nr() {
2157
+ return /* @__PURE__ */ W((e) => e.trim());
2158
+ }
2159
+ // @__NO_SIDE_EFFECTS__
2160
+ function Pr() {
2161
+ return /* @__PURE__ */ W((e) => e.toLowerCase());
2162
+ }
2163
+ // @__NO_SIDE_EFFECTS__
2164
+ function Fr() {
2165
+ return /* @__PURE__ */ W((e) => e.toUpperCase());
2166
+ }
2167
+ // @__NO_SIDE_EFFECTS__
2168
+ function Ir() {
2169
+ return /* @__PURE__ */ W((e) => re(e));
2170
+ }
2171
+ // @__NO_SIDE_EFFECTS__
2172
+ function Lr(e, t, n) {
2173
+ return new e({
2174
+ type: "array",
2175
+ element: t,
2176
+ ...C(n)
2177
+ });
2178
+ }
2179
+ // @__NO_SIDE_EFFECTS__
2180
+ function Rr(e, t, n) {
2181
+ return new e({
2182
+ type: "custom",
2183
+ check: "custom",
2184
+ fn: t,
2185
+ ...C(n)
2186
+ });
2187
+ }
2188
+ // @__NO_SIDE_EFFECTS__
2189
+ function zr(e, t) {
2190
+ let n = /* @__PURE__ */ Br((t) => (t.addIssue = (e) => {
2191
+ if (typeof e == "string") t.issues.push(k(e, t.value, n._zod.def));
2192
+ else {
2193
+ let r = e;
2194
+ r.fatal && (r.continue = !1), r.code ??= "custom", r.input ??= t.value, r.inst ??= n, r.continue ??= !n._zod.def.abort, t.issues.push(k(r));
2195
+ }
2196
+ }, e(t.value, t)), t);
2197
+ return n;
2198
+ }
2199
+ // @__NO_SIDE_EFFECTS__
2200
+ function Br(e, t) {
2201
+ let n = new M({
2202
+ check: "custom",
2203
+ ...C(t)
2204
+ });
2205
+ return n._zod.check = e, n;
2206
+ }
2207
+ //#endregion
2208
+ //#region node_modules/zod/v4/core/to-json-schema.js
2209
+ function Vr(e) {
2210
+ let t = e?.target ?? "draft-2020-12";
2211
+ return t === "draft-4" && (t = "draft-04"), t === "draft-7" && (t = "draft-07"), {
2212
+ processors: e.processors ?? {},
2213
+ metadataRegistry: e?.metadata ?? B,
2214
+ target: t,
2215
+ unrepresentable: e?.unrepresentable ?? "throw",
2216
+ override: e?.override ?? (() => {}),
2217
+ io: e?.io ?? "output",
2218
+ counter: 0,
2219
+ seen: /* @__PURE__ */ new Map(),
2220
+ cycles: e?.cycles ?? "ref",
2221
+ reused: e?.reused ?? "inline",
2222
+ external: e?.external ?? void 0
2223
+ };
2224
+ }
2225
+ function G(e, t, n = {
2226
+ path: [],
2227
+ schemaPath: []
2228
+ }) {
2229
+ var r;
2230
+ let i = e._zod.def, a = t.seen.get(e);
2231
+ if (a) return a.count++, n.schemaPath.includes(e) && (a.cycle = n.path), a.schema;
2232
+ let o = {
2233
+ schema: {},
2234
+ count: 1,
2235
+ cycle: void 0,
2236
+ path: n.path
2237
+ };
2238
+ t.seen.set(e, o);
2239
+ let s = e._zod.toJSONSchema?.();
2240
+ if (s) o.schema = s;
2241
+ else {
2242
+ let r = {
2243
+ ...n,
2244
+ schemaPath: [...n.schemaPath, e],
2245
+ path: n.path
2246
+ };
2247
+ if (e._zod.processJSONSchema) e._zod.processJSONSchema(t, o.schema, r);
2248
+ else {
2249
+ let n = o.schema, a = t.processors[i.type];
2250
+ if (!a) throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);
2251
+ a(e, t, n, r);
2252
+ }
2253
+ let a = e._zod.parent;
2254
+ a && (o.ref ||= a, G(a, t, r), t.seen.get(a).isParent = !0);
2255
+ }
2256
+ let c = t.metadataRegistry.get(e);
2257
+ return c && Object.assign(o.schema, c), t.io === "input" && K(e) && (delete o.schema.examples, delete o.schema.default), t.io === "input" && "_prefault" in o.schema && ((r = o.schema).default ?? (r.default = o.schema._prefault)), delete o.schema._prefault, t.seen.get(e).schema;
2258
+ }
2259
+ function Hr(e, t) {
2260
+ let n = e.seen.get(t);
2261
+ if (!n) throw Error("Unprocessed schema. This is a bug in Zod.");
2262
+ let r = /* @__PURE__ */ new Map();
2263
+ for (let t of e.seen.entries()) {
2264
+ let n = e.metadataRegistry.get(t[0])?.id;
2265
+ if (n) {
2266
+ let e = r.get(n);
2267
+ if (e && e !== t[0]) throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);
2268
+ r.set(n, t[0]);
2269
+ }
2270
+ }
2271
+ let i = (t) => {
2272
+ let r = e.target === "draft-2020-12" ? "$defs" : "definitions";
2273
+ if (e.external) {
2274
+ let n = e.external.registry.get(t[0])?.id, i = e.external.uri ?? ((e) => e);
2275
+ if (n) return { ref: i(n) };
2276
+ let a = t[1].defId ?? t[1].schema.id ?? `schema${e.counter++}`;
2277
+ return t[1].defId = a, {
2278
+ defId: a,
2279
+ ref: `${i("__shared")}#/${r}/${a}`
2280
+ };
2281
+ }
2282
+ if (t[1] === n) return { ref: "#" };
2283
+ let i = `#/${r}/`, a = t[1].schema.id ?? `__schema${e.counter++}`;
2284
+ return {
2285
+ defId: a,
2286
+ ref: i + a
2287
+ };
2288
+ }, a = (e) => {
2289
+ if (e[1].schema.$ref) return;
2290
+ let t = e[1], { ref: n, defId: r } = i(e);
2291
+ t.def = { ...t.schema }, r && (t.defId = r);
2292
+ let a = t.schema;
2293
+ for (let e in a) delete a[e];
2294
+ a.$ref = n;
2295
+ };
2296
+ if (e.cycles === "throw") for (let t of e.seen.entries()) {
2297
+ let e = t[1];
2298
+ if (e.cycle) throw Error(`Cycle detected: #/${e.cycle?.join("/")}/<root>
2299
+
2300
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`);
2301
+ }
2302
+ for (let n of e.seen.entries()) {
2303
+ let r = n[1];
2304
+ if (t === n[0]) {
2305
+ a(n);
2306
+ continue;
2307
+ }
2308
+ if (e.external) {
2309
+ let r = e.external.registry.get(n[0])?.id;
2310
+ if (t !== n[0] && r) {
2311
+ a(n);
2312
+ continue;
2313
+ }
2314
+ }
2315
+ if (e.metadataRegistry.get(n[0])?.id) {
2316
+ a(n);
2317
+ continue;
2318
+ }
2319
+ if (r.cycle) {
2320
+ a(n);
2321
+ continue;
2322
+ }
2323
+ if (r.count > 1 && e.reused === "ref") {
2324
+ a(n);
2325
+ continue;
2326
+ }
2327
+ }
2328
+ }
2329
+ function Ur(e, t) {
2330
+ let n = e.seen.get(t);
2331
+ if (!n) throw Error("Unprocessed schema. This is a bug in Zod.");
2332
+ let r = (t) => {
2333
+ let n = e.seen.get(t);
2334
+ if (n.ref === null) return;
2335
+ let i = n.def ?? n.schema, a = { ...i }, o = n.ref;
2336
+ if (n.ref = null, o) {
2337
+ r(o);
2338
+ let n = e.seen.get(o), s = n.schema;
2339
+ if (s.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (i.allOf = i.allOf ?? [], i.allOf.push(s)) : Object.assign(i, s), Object.assign(i, a), t._zod.parent === o) for (let e in i) e === "$ref" || e === "allOf" || e in a || delete i[e];
2340
+ if (s.$ref && n.def) for (let e in i) e === "$ref" || e === "allOf" || e in n.def && JSON.stringify(i[e]) === JSON.stringify(n.def[e]) && delete i[e];
2341
+ }
2342
+ let s = t._zod.parent;
2343
+ if (s && s !== o) {
2344
+ r(s);
2345
+ let t = e.seen.get(s);
2346
+ if (t?.schema.$ref && (i.$ref = t.schema.$ref, t.def)) for (let e in i) e === "$ref" || e === "allOf" || e in t.def && JSON.stringify(i[e]) === JSON.stringify(t.def[e]) && delete i[e];
2347
+ }
2348
+ e.override({
2349
+ zodSchema: t,
2350
+ jsonSchema: i,
2351
+ path: n.path ?? []
2352
+ });
2353
+ };
2354
+ for (let t of [...e.seen.entries()].reverse()) r(t[0]);
2355
+ let i = {};
2356
+ if (e.target === "draft-2020-12" ? i.$schema = "https://json-schema.org/draft/2020-12/schema" : e.target === "draft-07" ? i.$schema = "http://json-schema.org/draft-07/schema#" : e.target === "draft-04" ? i.$schema = "http://json-schema.org/draft-04/schema#" : e.target, e.external?.uri) {
2357
+ let n = e.external.registry.get(t)?.id;
2358
+ if (!n) throw Error("Schema is missing an `id` property");
2359
+ i.$id = e.external.uri(n);
2360
+ }
2361
+ Object.assign(i, n.def ?? n.schema);
2362
+ let a = e.metadataRegistry.get(t)?.id;
2363
+ a !== void 0 && i.id === a && delete i.id;
2364
+ let o = e.external?.defs ?? {};
2365
+ for (let t of e.seen.entries()) {
2366
+ let e = t[1];
2367
+ e.def && e.defId && (e.def.id === e.defId && delete e.def.id, o[e.defId] = e.def);
2368
+ }
2369
+ e.external || Object.keys(o).length > 0 && (e.target === "draft-2020-12" ? i.$defs = o : i.definitions = o);
2370
+ try {
2371
+ let n = JSON.parse(JSON.stringify(i));
2372
+ return Object.defineProperty(n, "~standard", {
2373
+ value: {
2374
+ ...t["~standard"],
2375
+ jsonSchema: {
2376
+ input: q(t, "input", e.processors),
2377
+ output: q(t, "output", e.processors)
2378
+ }
2379
+ },
2380
+ enumerable: !1,
2381
+ writable: !1
2382
+ }), n;
2383
+ } catch {
2384
+ throw Error("Error converting schema to JSON.");
2385
+ }
2386
+ }
2387
+ function K(e, t) {
2388
+ let n = t ?? { seen: /* @__PURE__ */ new Set() };
2389
+ if (n.seen.has(e)) return !1;
2390
+ n.seen.add(e);
2391
+ let r = e._zod.def;
2392
+ if (r.type === "transform") return !0;
2393
+ if (r.type === "array") return K(r.element, n);
2394
+ if (r.type === "set") return K(r.valueType, n);
2395
+ if (r.type === "lazy") return K(r.getter(), n);
2396
+ if (r.type === "promise" || r.type === "optional" || r.type === "nonoptional" || r.type === "nullable" || r.type === "readonly" || r.type === "default" || r.type === "prefault") return K(r.innerType, n);
2397
+ if (r.type === "intersection") return K(r.left, n) || K(r.right, n);
2398
+ if (r.type === "record" || r.type === "map") return K(r.keyType, n) || K(r.valueType, n);
2399
+ if (r.type === "pipe") return e._zod.traits.has("$ZodCodec") ? !0 : K(r.in, n) || K(r.out, n);
2400
+ if (r.type === "object") {
2401
+ for (let e in r.shape) if (K(r.shape[e], n)) return !0;
2402
+ return !1;
2403
+ }
2404
+ if (r.type === "union") {
2405
+ for (let e of r.options) if (K(e, n)) return !0;
2406
+ return !1;
2407
+ }
2408
+ if (r.type === "tuple") {
2409
+ for (let e of r.items) if (K(e, n)) return !0;
2410
+ return !!(r.rest && K(r.rest, n));
2411
+ }
2412
+ return !1;
2413
+ }
2414
+ var Wr = (e, t = {}) => (n) => {
2415
+ let r = Vr({
2416
+ ...n,
2417
+ processors: t
2418
+ });
2419
+ return G(e, r), Hr(r, e), Ur(r, e);
2420
+ }, q = (e, t, n = {}) => (r) => {
2421
+ let { libraryOptions: i, target: a } = r ?? {}, o = Vr({
2422
+ ...i ?? {},
2423
+ target: a,
2424
+ io: t,
2425
+ processors: n
2426
+ });
2427
+ return G(e, o), Hr(o, e), Ur(o, e);
2428
+ }, Gr = {
2429
+ guid: "uuid",
2430
+ url: "uri",
2431
+ datetime: "date-time",
2432
+ json_string: "json-string",
2433
+ regex: ""
2434
+ }, Kr = (e, t, n, r) => {
2435
+ let i = n;
2436
+ i.type = "string";
2437
+ let { minimum: a, maximum: o, format: s, patterns: c, contentEncoding: l } = e._zod.bag;
2438
+ if (typeof a == "number" && (i.minLength = a), typeof o == "number" && (i.maxLength = o), s && (i.format = Gr[s] ?? s, i.format === "" && delete i.format, s === "time" && delete i.format), l && (i.contentEncoding = l), c && c.size > 0) {
2439
+ let e = [...c];
2440
+ e.length === 1 ? i.pattern = e[0].source : e.length > 1 && (i.allOf = [...e.map((e) => ({
2441
+ ...t.target === "draft-07" || t.target === "draft-04" || t.target === "openapi-3.0" ? { type: "string" } : {},
2442
+ pattern: e.source
2443
+ }))]);
2444
+ }
2445
+ }, qr = (e, t, n, r) => {
2446
+ let i = n, { minimum: a, maximum: o, format: s, multipleOf: c, exclusiveMaximum: l, exclusiveMinimum: u } = e._zod.bag;
2447
+ typeof s == "string" && s.includes("int") ? i.type = "integer" : i.type = "number";
2448
+ let d = typeof u == "number" && u >= (a ?? -Infinity), f = typeof l == "number" && l <= (o ?? Infinity), p = t.target === "draft-04" || t.target === "openapi-3.0";
2449
+ d ? p ? (i.minimum = u, i.exclusiveMinimum = !0) : i.exclusiveMinimum = u : typeof a == "number" && (i.minimum = a), f ? p ? (i.maximum = l, i.exclusiveMaximum = !0) : i.exclusiveMaximum = l : typeof o == "number" && (i.maximum = o), typeof c == "number" && (i.multipleOf = c);
2450
+ }, Jr = (e, t, n, r) => {
2451
+ n.type = "boolean";
2452
+ }, Yr = (e, t, n, r) => {
2453
+ n.not = {};
2454
+ }, Xr = (e, t, n, r) => {
2455
+ let i = e._zod.def, a = d(i.entries);
2456
+ a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), n.enum = a;
2457
+ }, Zr = (e, t, n, r) => {
2458
+ let i = e._zod.def, a = [];
2459
+ for (let e of i.values) if (e === void 0) {
2460
+ if (t.unrepresentable === "throw") throw Error("Literal `undefined` cannot be represented in JSON Schema");
2461
+ } else if (typeof e == "bigint") {
2462
+ if (t.unrepresentable === "throw") throw Error("BigInt literals cannot be represented in JSON Schema");
2463
+ a.push(Number(e));
2464
+ } else a.push(e);
2465
+ if (a.length !== 0) if (a.length === 1) {
2466
+ let e = a[0];
2467
+ n.type = e === null ? "null" : typeof e, t.target === "draft-04" || t.target === "openapi-3.0" ? n.enum = [e] : n.const = e;
2468
+ } else a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), a.every((e) => typeof e == "boolean") && (n.type = "boolean"), a.every((e) => e === null) && (n.type = "null"), n.enum = a;
2469
+ }, Qr = (e, t, n, r) => {
2470
+ if (t.unrepresentable === "throw") throw Error("Custom types cannot be represented in JSON Schema");
2471
+ }, $r = (e, t, n, r) => {
2472
+ if (t.unrepresentable === "throw") throw Error("Transforms cannot be represented in JSON Schema");
2473
+ }, ei = (e, t, n, r) => {
2474
+ let i = n, a = e._zod.def, { minimum: o, maximum: s } = e._zod.bag;
2475
+ typeof o == "number" && (i.minItems = o), typeof s == "number" && (i.maxItems = s), i.type = "array", i.items = G(a.element, t, {
2476
+ ...r,
2477
+ path: [...r.path, "items"]
2478
+ });
2479
+ }, ti = (e, t, n, r) => {
2480
+ let i = n, a = e._zod.def;
2481
+ i.type = "object", i.properties = {};
2482
+ let o = a.shape;
2483
+ for (let e in o) i.properties[e] = G(o[e], t, {
2484
+ ...r,
2485
+ path: [
2486
+ ...r.path,
2487
+ "properties",
2488
+ e
2489
+ ]
2490
+ });
2491
+ let s = new Set(Object.keys(o)), c = new Set([...s].filter((e) => {
2492
+ let n = a.shape[e]._zod;
2493
+ return t.io === "input" ? n.optin === void 0 : n.optout === void 0;
2494
+ }));
2495
+ c.size > 0 && (i.required = Array.from(c)), a.catchall?._zod.def.type === "never" ? i.additionalProperties = !1 : a.catchall ? a.catchall && (i.additionalProperties = G(a.catchall, t, {
2496
+ ...r,
2497
+ path: [...r.path, "additionalProperties"]
2498
+ })) : t.io === "output" && (i.additionalProperties = !1);
2499
+ }, ni = (e, t, n, r) => {
2500
+ let i = e._zod.def, a = i.inclusive === !1, o = i.options.map((e, n) => G(e, t, {
2501
+ ...r,
2502
+ path: [
2503
+ ...r.path,
2504
+ a ? "oneOf" : "anyOf",
2505
+ n
2506
+ ]
2507
+ }));
2508
+ a ? n.oneOf = o : n.anyOf = o;
2509
+ }, ri = (e, t, n, r) => {
2510
+ let i = e._zod.def, a = G(i.left, t, {
2511
+ ...r,
2512
+ path: [
2513
+ ...r.path,
2514
+ "allOf",
2515
+ 0
2516
+ ]
2517
+ }), o = G(i.right, t, {
2518
+ ...r,
2519
+ path: [
2520
+ ...r.path,
2521
+ "allOf",
2522
+ 1
2523
+ ]
2524
+ }), s = (e) => "allOf" in e && Object.keys(e).length === 1;
2525
+ n.allOf = [...s(a) ? a.allOf : [a], ...s(o) ? o.allOf : [o]];
2526
+ }, ii = (e, t, n, r) => {
2527
+ let i = n, a = e._zod.def;
2528
+ i.type = "object";
2529
+ let o = a.keyType, s = o._zod.bag?.patterns;
2530
+ if (a.mode === "loose" && s && s.size > 0) {
2531
+ let e = G(a.valueType, t, {
2532
+ ...r,
2533
+ path: [
2534
+ ...r.path,
2535
+ "patternProperties",
2536
+ "*"
2537
+ ]
2538
+ });
2539
+ i.patternProperties = {};
2540
+ for (let t of s) i.patternProperties[t.source] = e;
2541
+ } else (t.target === "draft-07" || t.target === "draft-2020-12") && (i.propertyNames = G(a.keyType, t, {
2542
+ ...r,
2543
+ path: [...r.path, "propertyNames"]
2544
+ })), i.additionalProperties = G(a.valueType, t, {
2545
+ ...r,
2546
+ path: [...r.path, "additionalProperties"]
2547
+ });
2548
+ let c = o._zod.values;
2549
+ if (c) {
2550
+ let e = [...c].filter((e) => typeof e == "string" || typeof e == "number");
2551
+ e.length > 0 && (i.required = e);
2552
+ }
2553
+ }, ai = (e, t, n, r) => {
2554
+ let i = e._zod.def, a = G(i.innerType, t, r), o = t.seen.get(e);
2555
+ t.target === "openapi-3.0" ? (o.ref = i.innerType, n.nullable = !0) : n.anyOf = [a, { type: "null" }];
2556
+ }, oi = (e, t, n, r) => {
2557
+ let i = e._zod.def;
2558
+ G(i.innerType, t, r);
2559
+ let a = t.seen.get(e);
2560
+ a.ref = i.innerType;
2561
+ }, si = (e, t, n, r) => {
2562
+ let i = e._zod.def;
2563
+ G(i.innerType, t, r);
2564
+ let a = t.seen.get(e);
2565
+ a.ref = i.innerType, n.default = JSON.parse(JSON.stringify(i.defaultValue));
2566
+ }, ci = (e, t, n, r) => {
2567
+ let i = e._zod.def;
2568
+ G(i.innerType, t, r);
2569
+ let a = t.seen.get(e);
2570
+ a.ref = i.innerType, t.io === "input" && (n._prefault = JSON.parse(JSON.stringify(i.defaultValue)));
2571
+ }, li = (e, t, n, r) => {
2572
+ let i = e._zod.def;
2573
+ G(i.innerType, t, r);
2574
+ let a = t.seen.get(e);
2575
+ a.ref = i.innerType;
2576
+ let o;
2577
+ try {
2578
+ o = i.catchValue(void 0);
2579
+ } catch {
2580
+ throw Error("Dynamic catch values are not supported in JSON Schema");
2581
+ }
2582
+ n.default = o;
2583
+ }, ui = (e, t, n, r) => {
2584
+ let i = e._zod.def, a = i.in._zod.traits.has("$ZodTransform"), o = t.io === "input" ? a ? i.out : i.in : i.out;
2585
+ G(o, t, r);
2586
+ let s = t.seen.get(e);
2587
+ s.ref = o;
2588
+ }, di = (e, t, n, r) => {
2589
+ let i = e._zod.def;
2590
+ G(i.innerType, t, r);
2591
+ let a = t.seen.get(e);
2592
+ a.ref = i.innerType, n.readOnly = !0;
2593
+ }, fi = (e, t, n, r) => {
2594
+ let i = e._zod.def;
2595
+ G(i.innerType, t, r);
2596
+ let a = t.seen.get(e);
2597
+ a.ref = i.innerType;
2598
+ }, pi = (e, t, n, r) => {
2599
+ let i = e._zod.innerType;
2600
+ G(i, t, r);
2601
+ let a = t.seen.get(e);
2602
+ a.ref = i;
2603
+ }, mi = /*@__PURE__*/ o("ZodISODateTime", (e, t) => {
2604
+ Bt.init(e, t), Z.init(e, t);
2605
+ });
2606
+ function hi(e) {
2607
+ return /* @__PURE__ */ dr(mi, e);
2608
+ }
2609
+ var gi = /*@__PURE__*/ o("ZodISODate", (e, t) => {
2610
+ Vt.init(e, t), Z.init(e, t);
2611
+ });
2612
+ function _i(e) {
2613
+ return /* @__PURE__ */ fr(gi, e);
2614
+ }
2615
+ var vi = /*@__PURE__*/ o("ZodISOTime", (e, t) => {
2616
+ Ht.init(e, t), Z.init(e, t);
2617
+ });
2618
+ function yi(e) {
2619
+ return /* @__PURE__ */ pr(vi, e);
2620
+ }
2621
+ var bi = /*@__PURE__*/ o("ZodISODuration", (e, t) => {
2622
+ Ut.init(e, t), Z.init(e, t);
2623
+ });
2624
+ function xi(e) {
2625
+ return /* @__PURE__ */ mr(bi, e);
2626
+ }
2627
+ var J = /*@__PURE__*/ o("ZodError", (e, t) => {
2628
+ ye.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
2629
+ format: { value: (t) => Se(e, t) },
2630
+ flatten: { value: (t) => xe(e, t) },
2631
+ addIssue: { value: (t) => {
2632
+ e.issues.push(t), e.message = JSON.stringify(e.issues, f, 2);
2633
+ } },
2634
+ addIssues: { value: (t) => {
2635
+ e.issues.push(...t), e.message = JSON.stringify(e.issues, f, 2);
2636
+ } },
2637
+ isEmpty: { get() {
2638
+ return e.issues.length === 0;
2639
+ } }
2640
+ });
2641
+ }, { Parent: Error }), Si = /* @__PURE__ */ Ce(J), Ci = /* @__PURE__ */ we(J), wi = /* @__PURE__ */ A(J), Ti = /* @__PURE__ */ j(J), Ei = /* @__PURE__ */ De(J), Di = /* @__PURE__ */ Oe(J), Oi = /* @__PURE__ */ ke(J), ki = /* @__PURE__ */ Ae(J), Ai = /* @__PURE__ */ je(J), ji = /* @__PURE__ */ Me(J), Mi = /* @__PURE__ */ Ne(J), Ni = /* @__PURE__ */ Pe(J), Pi = /* @__PURE__ */ new WeakMap();
2642
+ function Y(e, t, n) {
2643
+ let r = Object.getPrototypeOf(e), i = Pi.get(r);
2644
+ if (i || (i = /* @__PURE__ */ new Set(), Pi.set(r, i)), !i.has(t)) {
2645
+ i.add(t);
2646
+ for (let e in n) {
2647
+ let t = n[e];
2648
+ Object.defineProperty(r, e, {
2649
+ configurable: !0,
2650
+ enumerable: !1,
2651
+ get() {
2652
+ let n = t.bind(this);
2653
+ return Object.defineProperty(this, e, {
2654
+ configurable: !0,
2655
+ writable: !0,
2656
+ enumerable: !0,
2657
+ value: n
2658
+ }), n;
2659
+ },
2660
+ set(t) {
2661
+ Object.defineProperty(this, e, {
2662
+ configurable: !0,
2663
+ writable: !0,
2664
+ enumerable: !0,
2665
+ value: t
2666
+ });
2667
+ }
2668
+ });
2669
+ }
2670
+ }
2671
+ }
2672
+ var X = /*@__PURE__*/ o("ZodType", (e, t) => (P.init(e, t), Object.assign(e["~standard"], { jsonSchema: {
2673
+ input: q(e, "input"),
2674
+ output: q(e, "output")
2675
+ } }), e.toJSONSchema = Wr(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.parse = (t, n) => Si(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => wi(e, t, n), e.parseAsync = async (t, n) => Ci(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => Ti(e, t, n), e.spa = e.safeParseAsync, e.encode = (t, n) => Ei(e, t, n), e.decode = (t, n) => Di(e, t, n), e.encodeAsync = async (t, n) => Oi(e, t, n), e.decodeAsync = async (t, n) => ki(e, t, n), e.safeEncode = (t, n) => Ai(e, t, n), e.safeDecode = (t, n) => ji(e, t, n), e.safeEncodeAsync = async (t, n) => Mi(e, t, n), e.safeDecodeAsync = async (t, n) => Ni(e, t, n), Y(e, "ZodType", {
2676
+ check(...e) {
2677
+ let t = this.def;
2678
+ return this.clone(v(t, { checks: [...t.checks ?? [], ...e.map((e) => typeof e == "function" ? { _zod: {
2679
+ check: e,
2680
+ def: { check: "custom" },
2681
+ onattach: []
2682
+ } } : e)] }), { parent: !0 });
2683
+ },
2684
+ with(...e) {
2685
+ return this.check(...e);
2686
+ },
2687
+ clone(e, t) {
2688
+ return S(this, e, t);
2689
+ },
2690
+ brand() {
2691
+ return this;
2692
+ },
2693
+ register(e, t) {
2694
+ return e.add(this, t), this;
2695
+ },
2696
+ refine(e, t) {
2697
+ return this.check($a(e, t));
2698
+ },
2699
+ superRefine(e, t) {
2700
+ return this.check(eo(e, t));
2701
+ },
2702
+ overwrite(e) {
2703
+ return this.check(/* @__PURE__ */ W(e));
2704
+ },
2705
+ optional() {
2706
+ return Na(this);
2707
+ },
2708
+ exactOptional() {
2709
+ return Fa(this);
2710
+ },
2711
+ nullable() {
2712
+ return La(this);
2713
+ },
2714
+ nullish() {
2715
+ return Na(La(this));
2716
+ },
2717
+ nonoptional(e) {
2718
+ return Ua(this, e);
2719
+ },
2720
+ array() {
2721
+ return ha(this);
2722
+ },
2723
+ or(e) {
2724
+ return ya([this, e]);
2725
+ },
2726
+ and(e) {
2727
+ return Ca(this, e);
2728
+ },
2729
+ transform(e) {
2730
+ return qa(this, ja(e));
2731
+ },
2732
+ default(e) {
2733
+ return za(this, e);
2734
+ },
2735
+ prefault(e) {
2736
+ return Va(this, e);
2737
+ },
2738
+ catch(e) {
2739
+ return Ga(this, e);
2740
+ },
2741
+ pipe(e) {
2742
+ return qa(this, e);
2743
+ },
2744
+ readonly() {
2745
+ return Ya(this);
2746
+ },
2747
+ describe(e) {
2748
+ let t = this.clone();
2749
+ return B.add(t, { description: e }), t;
2750
+ },
2751
+ meta(...e) {
2752
+ if (e.length === 0) return B.get(this);
2753
+ let t = this.clone();
2754
+ return B.add(t, e[0]), t;
2755
+ },
2756
+ isOptional() {
2757
+ return this.safeParse(void 0).success;
2758
+ },
2759
+ isNullable() {
2760
+ return this.safeParse(null).success;
2761
+ },
2762
+ apply(e) {
2763
+ return e(this);
2764
+ }
2765
+ }), Object.defineProperty(e, "description", {
2766
+ get() {
2767
+ return B.get(e)?.description;
2768
+ },
2769
+ configurable: !0
2770
+ }), e)), Fi = /*@__PURE__*/ o("_ZodString", (e, t) => {
2771
+ F.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => Kr(e, t, n, r);
2772
+ let n = e._zod.bag;
2773
+ e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, Y(e, "_ZodString", {
2774
+ regex(...e) {
2775
+ return this.check(/* @__PURE__ */ Er(...e));
2776
+ },
2777
+ includes(...e) {
2778
+ return this.check(/* @__PURE__ */ kr(...e));
2779
+ },
2780
+ startsWith(...e) {
2781
+ return this.check(/* @__PURE__ */ Ar(...e));
2782
+ },
2783
+ endsWith(...e) {
2784
+ return this.check(/* @__PURE__ */ jr(...e));
2785
+ },
2786
+ min(...e) {
2787
+ return this.check(/* @__PURE__ */ U(...e));
2788
+ },
2789
+ max(...e) {
2790
+ return this.check(/* @__PURE__ */ wr(...e));
2791
+ },
2792
+ length(...e) {
2793
+ return this.check(/* @__PURE__ */ Tr(...e));
2794
+ },
2795
+ nonempty(...e) {
2796
+ return this.check(/* @__PURE__ */ U(1, ...e));
2797
+ },
2798
+ lowercase(e) {
2799
+ return this.check(/* @__PURE__ */ Dr(e));
2800
+ },
2801
+ uppercase(e) {
2802
+ return this.check(/* @__PURE__ */ Or(e));
2803
+ },
2804
+ trim() {
2805
+ return this.check(/* @__PURE__ */ Nr());
2806
+ },
2807
+ normalize(...e) {
2808
+ return this.check(/* @__PURE__ */ Mr(...e));
2809
+ },
2810
+ toLowerCase() {
2811
+ return this.check(/* @__PURE__ */ Pr());
2812
+ },
2813
+ toUpperCase() {
2814
+ return this.check(/* @__PURE__ */ Fr());
2815
+ },
2816
+ slugify() {
2817
+ return this.check(/* @__PURE__ */ Ir());
2818
+ }
2819
+ });
2820
+ }), Ii = /*@__PURE__*/ o("ZodString", (e, t) => {
2821
+ F.init(e, t), Fi.init(e, t), e.email = (t) => e.check(/* @__PURE__ */ Un(Ri, t)), e.url = (t) => e.check(/* @__PURE__ */ Yn(Bi, t)), e.jwt = (t) => e.check(/* @__PURE__ */ ur(ta, t)), e.emoji = (t) => e.check(/* @__PURE__ */ Xn(Vi, t)), e.guid = (t) => e.check(/* @__PURE__ */ Wn(zi, t)), e.uuid = (t) => e.check(/* @__PURE__ */ Gn(Q, t)), e.uuidv4 = (t) => e.check(/* @__PURE__ */ Kn(Q, t)), e.uuidv6 = (t) => e.check(/* @__PURE__ */ qn(Q, t)), e.uuidv7 = (t) => e.check(/* @__PURE__ */ Jn(Q, t)), e.nanoid = (t) => e.check(/* @__PURE__ */ Zn(Hi, t)), e.guid = (t) => e.check(/* @__PURE__ */ Wn(zi, t)), e.cuid = (t) => e.check(/* @__PURE__ */ Qn(Ui, t)), e.cuid2 = (t) => e.check(/* @__PURE__ */ $n(Wi, t)), e.ulid = (t) => e.check(/* @__PURE__ */ er(Gi, t)), e.base64 = (t) => e.check(/* @__PURE__ */ sr(Qi, t)), e.base64url = (t) => e.check(/* @__PURE__ */ cr($i, t)), e.xid = (t) => e.check(/* @__PURE__ */ tr(Ki, t)), e.ksuid = (t) => e.check(/* @__PURE__ */ nr(qi, t)), e.ipv4 = (t) => e.check(/* @__PURE__ */ rr(Ji, t)), e.ipv6 = (t) => e.check(/* @__PURE__ */ ir(Yi, t)), e.cidrv4 = (t) => e.check(/* @__PURE__ */ ar(Xi, t)), e.cidrv6 = (t) => e.check(/* @__PURE__ */ or(Zi, t)), e.e164 = (t) => e.check(/* @__PURE__ */ lr(ea, t)), e.datetime = (t) => e.check(hi(t)), e.date = (t) => e.check(_i(t)), e.time = (t) => e.check(yi(t)), e.duration = (t) => e.check(xi(t));
2822
+ });
2823
+ function Li(e) {
2824
+ return /* @__PURE__ */ Hn(Ii, e);
2825
+ }
2826
+ var Z = /*@__PURE__*/ o("ZodStringFormat", (e, t) => {
2827
+ I.init(e, t), Fi.init(e, t);
2828
+ }), Ri = /*@__PURE__*/ o("ZodEmail", (e, t) => {
2829
+ jt.init(e, t), Z.init(e, t);
2830
+ }), zi = /*@__PURE__*/ o("ZodGUID", (e, t) => {
2831
+ kt.init(e, t), Z.init(e, t);
2832
+ }), Q = /*@__PURE__*/ o("ZodUUID", (e, t) => {
2833
+ At.init(e, t), Z.init(e, t);
2834
+ }), Bi = /*@__PURE__*/ o("ZodURL", (e, t) => {
2835
+ Mt.init(e, t), Z.init(e, t);
2836
+ }), Vi = /*@__PURE__*/ o("ZodEmoji", (e, t) => {
2837
+ Nt.init(e, t), Z.init(e, t);
2838
+ }), Hi = /*@__PURE__*/ o("ZodNanoID", (e, t) => {
2839
+ Pt.init(e, t), Z.init(e, t);
2840
+ }), Ui = /*@__PURE__*/ o("ZodCUID", (e, t) => {
2841
+ Ft.init(e, t), Z.init(e, t);
2842
+ }), Wi = /*@__PURE__*/ o("ZodCUID2", (e, t) => {
2843
+ It.init(e, t), Z.init(e, t);
2844
+ }), Gi = /*@__PURE__*/ o("ZodULID", (e, t) => {
2845
+ Lt.init(e, t), Z.init(e, t);
2846
+ }), Ki = /*@__PURE__*/ o("ZodXID", (e, t) => {
2847
+ Rt.init(e, t), Z.init(e, t);
2848
+ }), qi = /*@__PURE__*/ o("ZodKSUID", (e, t) => {
2849
+ zt.init(e, t), Z.init(e, t);
2850
+ }), Ji = /*@__PURE__*/ o("ZodIPv4", (e, t) => {
2851
+ Wt.init(e, t), Z.init(e, t);
2852
+ }), Yi = /*@__PURE__*/ o("ZodIPv6", (e, t) => {
2853
+ Gt.init(e, t), Z.init(e, t);
2854
+ }), Xi = /*@__PURE__*/ o("ZodCIDRv4", (e, t) => {
2855
+ Kt.init(e, t), Z.init(e, t);
2856
+ }), Zi = /*@__PURE__*/ o("ZodCIDRv6", (e, t) => {
2857
+ qt.init(e, t), Z.init(e, t);
2858
+ }), Qi = /*@__PURE__*/ o("ZodBase64", (e, t) => {
2859
+ Yt.init(e, t), Z.init(e, t);
2860
+ }), $i = /*@__PURE__*/ o("ZodBase64URL", (e, t) => {
2861
+ Zt.init(e, t), Z.init(e, t);
2862
+ }), ea = /*@__PURE__*/ o("ZodE164", (e, t) => {
2863
+ Qt.init(e, t), Z.init(e, t);
2864
+ }), ta = /*@__PURE__*/ o("ZodJWT", (e, t) => {
2865
+ en.init(e, t), Z.init(e, t);
2866
+ }), na = /*@__PURE__*/ o("ZodNumber", (e, t) => {
2867
+ tn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => qr(e, t, n, r), Y(e, "ZodNumber", {
2868
+ gt(e, t) {
2869
+ return this.check(/* @__PURE__ */ Sr(e, t));
2870
+ },
2871
+ gte(e, t) {
2872
+ return this.check(/* @__PURE__ */ H(e, t));
2873
+ },
2874
+ min(e, t) {
2875
+ return this.check(/* @__PURE__ */ H(e, t));
2876
+ },
2877
+ lt(e, t) {
2878
+ return this.check(/* @__PURE__ */ xr(e, t));
2879
+ },
2880
+ lte(e, t) {
2881
+ return this.check(/* @__PURE__ */ V(e, t));
2882
+ },
2883
+ max(e, t) {
2884
+ return this.check(/* @__PURE__ */ V(e, t));
2885
+ },
2886
+ int(e) {
2887
+ return this.check(aa(e));
2888
+ },
2889
+ safe(e) {
2890
+ return this.check(aa(e));
2891
+ },
2892
+ positive(e) {
2893
+ return this.check(/* @__PURE__ */ Sr(0, e));
2894
+ },
2895
+ nonnegative(e) {
2896
+ return this.check(/* @__PURE__ */ H(0, e));
2897
+ },
2898
+ negative(e) {
2899
+ return this.check(/* @__PURE__ */ xr(0, e));
2900
+ },
2901
+ nonpositive(e) {
2902
+ return this.check(/* @__PURE__ */ V(0, e));
2903
+ },
2904
+ multipleOf(e, t) {
2905
+ return this.check(/* @__PURE__ */ Cr(e, t));
2906
+ },
2907
+ step(e, t) {
2908
+ return this.check(/* @__PURE__ */ Cr(e, t));
2909
+ },
2910
+ finite() {
2911
+ return this;
2912
+ }
2913
+ });
2914
+ let n = e._zod.bag;
2915
+ e.minValue = Math.max(n.minimum ?? -Infinity, n.exclusiveMinimum ?? -Infinity) ?? null, e.maxValue = Math.min(n.maximum ?? Infinity, n.exclusiveMaximum ?? Infinity) ?? null, e.isInt = (n.format ?? "").includes("int") || Number.isSafeInteger(n.multipleOf ?? .5), e.isFinite = !0, e.format = n.format ?? null;
2916
+ });
2917
+ function ra(e) {
2918
+ return /* @__PURE__ */ hr(na, e);
2919
+ }
2920
+ var ia = /*@__PURE__*/ o("ZodNumberFormat", (e, t) => {
2921
+ nn.init(e, t), na.init(e, t);
2922
+ });
2923
+ function aa(e) {
2924
+ return /* @__PURE__ */ gr(ia, e);
2925
+ }
2926
+ var oa = /*@__PURE__*/ o("ZodBoolean", (e, t) => {
2927
+ rn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => Jr(e, t, n, r);
2928
+ });
2929
+ function sa(e) {
2930
+ return /* @__PURE__ */ _r(oa, e);
2931
+ }
2932
+ var ca = /*@__PURE__*/ o("ZodAny", (e, t) => {
2933
+ an.init(e, t), X.init(e, t), e._zod.processJSONSchema = (e, t, n) => void 0;
2934
+ });
2935
+ function la() {
2936
+ return /* @__PURE__ */ vr(ca);
2937
+ }
2938
+ var ua = /*@__PURE__*/ o("ZodUnknown", (e, t) => {
2939
+ on.init(e, t), X.init(e, t), e._zod.processJSONSchema = (e, t, n) => void 0;
2940
+ });
2941
+ function da() {
2942
+ return /* @__PURE__ */ yr(ua);
2943
+ }
2944
+ var fa = /*@__PURE__*/ o("ZodNever", (e, t) => {
2945
+ sn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => Yr(e, t, n, r);
2946
+ });
2947
+ function pa(e) {
2948
+ return /* @__PURE__ */ br(fa, e);
2949
+ }
2950
+ var ma = /*@__PURE__*/ o("ZodArray", (e, t) => {
2951
+ ln.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => ei(e, t, n, r), e.element = t.element, Y(e, "ZodArray", {
2952
+ min(e, t) {
2953
+ return this.check(/* @__PURE__ */ U(e, t));
2954
+ },
2955
+ nonempty(e) {
2956
+ return this.check(/* @__PURE__ */ U(1, e));
2957
+ },
2958
+ max(e, t) {
2959
+ return this.check(/* @__PURE__ */ wr(e, t));
2960
+ },
2961
+ length(e, t) {
2962
+ return this.check(/* @__PURE__ */ Tr(e, t));
2963
+ },
2964
+ unwrap() {
2965
+ return this.element;
2966
+ }
2967
+ });
2968
+ });
2969
+ function ha(e, t) {
2970
+ return /* @__PURE__ */ Lr(ma, e, t);
2971
+ }
2972
+ var ga = /*@__PURE__*/ o("ZodObject", (e, t) => {
2973
+ pn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => ti(e, t, n, r), g(e, "shape", () => t.shape), Y(e, "ZodObject", {
2974
+ keyof() {
2975
+ return Da(Object.keys(this._zod.def.shape));
2976
+ },
2977
+ catchall(e) {
2978
+ return this.clone({
2979
+ ...this._zod.def,
2980
+ catchall: e
2981
+ });
2982
+ },
2983
+ passthrough() {
2984
+ return this.clone({
2985
+ ...this._zod.def,
2986
+ catchall: da()
2987
+ });
2988
+ },
2989
+ loose() {
2990
+ return this.clone({
2991
+ ...this._zod.def,
2992
+ catchall: da()
2993
+ });
2994
+ },
2995
+ strict() {
2996
+ return this.clone({
2997
+ ...this._zod.def,
2998
+ catchall: pa()
2999
+ });
3000
+ },
3001
+ strip() {
3002
+ return this.clone({
3003
+ ...this._zod.def,
3004
+ catchall: void 0
3005
+ });
3006
+ },
3007
+ extend(e) {
3008
+ return fe(this, e);
3009
+ },
3010
+ safeExtend(e) {
3011
+ return pe(this, e);
3012
+ },
3013
+ merge(e) {
3014
+ return me(this, e);
3015
+ },
3016
+ pick(e) {
3017
+ return ue(this, e);
3018
+ },
3019
+ omit(e) {
3020
+ return de(this, e);
3021
+ },
3022
+ partial(...e) {
3023
+ return he(Ma, this, e[0]);
3024
+ },
3025
+ required(...e) {
3026
+ return ge(Ha, this, e[0]);
3027
+ }
3028
+ });
3029
+ });
3030
+ function _a(e, t) {
3031
+ return new ga({
3032
+ type: "object",
3033
+ shape: e ?? {},
3034
+ ...C(t)
3035
+ });
3036
+ }
3037
+ var va = /*@__PURE__*/ o("ZodUnion", (e, t) => {
3038
+ hn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => ni(e, t, n, r), e.options = t.options;
3039
+ });
3040
+ function ya(e, t) {
3041
+ return new va({
3042
+ type: "union",
3043
+ options: e,
3044
+ ...C(t)
3045
+ });
3046
+ }
3047
+ var ba = /*@__PURE__*/ o("ZodDiscriminatedUnion", (e, t) => {
3048
+ va.init(e, t), gn.init(e, t);
3049
+ });
3050
+ function xa(e, t, n) {
3051
+ return new ba({
3052
+ type: "union",
3053
+ options: t,
3054
+ discriminator: e,
3055
+ ...C(n)
3056
+ });
3057
+ }
3058
+ var Sa = /*@__PURE__*/ o("ZodIntersection", (e, t) => {
3059
+ _n.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => ri(e, t, n, r);
3060
+ });
3061
+ function Ca(e, t) {
3062
+ return new Sa({
3063
+ type: "intersection",
3064
+ left: e,
3065
+ right: t
3066
+ });
3067
+ }
3068
+ var wa = /*@__PURE__*/ o("ZodRecord", (e, t) => {
3069
+ yn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => ii(e, t, n, r), e.keyType = t.keyType, e.valueType = t.valueType;
3070
+ });
3071
+ function Ta(e, t, n) {
3072
+ return !t || !t._zod ? new wa({
3073
+ type: "record",
3074
+ keyType: Li(),
3075
+ valueType: e,
3076
+ ...C(t)
3077
+ }) : new wa({
3078
+ type: "record",
3079
+ keyType: e,
3080
+ valueType: t,
3081
+ ...C(n)
3082
+ });
3083
+ }
3084
+ var Ea = /*@__PURE__*/ o("ZodEnum", (e, t) => {
3085
+ bn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => Xr(e, t, n, r), e.enum = t.entries, e.options = Object.values(t.entries);
3086
+ let n = new Set(Object.keys(t.entries));
3087
+ e.extract = (e, r) => {
3088
+ let i = {};
3089
+ for (let r of e) if (n.has(r)) i[r] = t.entries[r];
3090
+ else throw Error(`Key ${r} not found in enum`);
3091
+ return new Ea({
3092
+ ...t,
3093
+ checks: [],
3094
+ ...C(r),
3095
+ entries: i
3096
+ });
3097
+ }, e.exclude = (e, r) => {
3098
+ let i = { ...t.entries };
3099
+ for (let t of e) if (n.has(t)) delete i[t];
3100
+ else throw Error(`Key ${t} not found in enum`);
3101
+ return new Ea({
3102
+ ...t,
3103
+ checks: [],
3104
+ ...C(r),
3105
+ entries: i
3106
+ });
3107
+ };
3108
+ });
3109
+ function Da(e, t) {
3110
+ return new Ea({
3111
+ type: "enum",
3112
+ entries: Array.isArray(e) ? Object.fromEntries(e.map((e) => [e, e])) : e,
3113
+ ...C(t)
3114
+ });
3115
+ }
3116
+ var Oa = /*@__PURE__*/ o("ZodLiteral", (e, t) => {
3117
+ xn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => Zr(e, t, n, r), e.values = new Set(t.values), Object.defineProperty(e, "value", { get() {
3118
+ if (t.values.length > 1) throw Error("This schema contains multiple valid literal values. Use `.values` instead.");
3119
+ return t.values[0];
3120
+ } });
3121
+ });
3122
+ function ka(e, t) {
3123
+ return new Oa({
3124
+ type: "literal",
3125
+ values: Array.isArray(e) ? e : [e],
3126
+ ...C(t)
3127
+ });
3128
+ }
3129
+ var Aa = /*@__PURE__*/ o("ZodTransform", (e, t) => {
3130
+ Sn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => $r(e, t, n, r), e._zod.parse = (n, r) => {
3131
+ if (r.direction === "backward") throw new c(e.constructor.name);
3132
+ n.addIssue = (r) => {
3133
+ if (typeof r == "string") n.issues.push(k(r, n.value, t));
3134
+ else {
3135
+ let t = r;
3136
+ t.fatal && (t.continue = !1), t.code ??= "custom", t.input ??= n.value, t.inst ??= e, n.issues.push(k(t));
3137
+ }
3138
+ };
3139
+ let i = t.transform(n.value, n);
3140
+ return i instanceof Promise ? i.then((e) => (n.value = e, n.fallback = !0, n)) : (n.value = i, n.fallback = !0, n);
3141
+ };
3142
+ });
3143
+ function ja(e) {
3144
+ return new Aa({
3145
+ type: "transform",
3146
+ transform: e
3147
+ });
3148
+ }
3149
+ var Ma = /*@__PURE__*/ o("ZodOptional", (e, t) => {
3150
+ wn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => fi(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
3151
+ });
3152
+ function Na(e) {
3153
+ return new Ma({
3154
+ type: "optional",
3155
+ innerType: e
3156
+ });
3157
+ }
3158
+ var Pa = /*@__PURE__*/ o("ZodExactOptional", (e, t) => {
3159
+ Tn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => fi(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
3160
+ });
3161
+ function Fa(e) {
3162
+ return new Pa({
3163
+ type: "optional",
3164
+ innerType: e
3165
+ });
3166
+ }
3167
+ var Ia = /*@__PURE__*/ o("ZodNullable", (e, t) => {
3168
+ En.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => ai(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
3169
+ });
3170
+ function La(e) {
3171
+ return new Ia({
3172
+ type: "nullable",
3173
+ innerType: e
3174
+ });
3175
+ }
3176
+ var Ra = /*@__PURE__*/ o("ZodDefault", (e, t) => {
3177
+ Dn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => si(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
3178
+ });
3179
+ function za(e, t) {
3180
+ return new Ra({
3181
+ type: "default",
3182
+ innerType: e,
3183
+ get defaultValue() {
3184
+ return typeof t == "function" ? t() : oe(t);
3185
+ }
3186
+ });
3187
+ }
3188
+ var Ba = /*@__PURE__*/ o("ZodPrefault", (e, t) => {
3189
+ kn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => ci(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
3190
+ });
3191
+ function Va(e, t) {
3192
+ return new Ba({
3193
+ type: "prefault",
3194
+ innerType: e,
3195
+ get defaultValue() {
3196
+ return typeof t == "function" ? t() : oe(t);
3197
+ }
3198
+ });
3199
+ }
3200
+ var Ha = /*@__PURE__*/ o("ZodNonOptional", (e, t) => {
3201
+ An.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => oi(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
3202
+ });
3203
+ function Ua(e, t) {
3204
+ return new Ha({
3205
+ type: "nonoptional",
3206
+ innerType: e,
3207
+ ...C(t)
3208
+ });
3209
+ }
3210
+ var Wa = /*@__PURE__*/ o("ZodCatch", (e, t) => {
3211
+ Mn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => li(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
3212
+ });
3213
+ function Ga(e, t) {
3214
+ return new Wa({
3215
+ type: "catch",
3216
+ innerType: e,
3217
+ catchValue: typeof t == "function" ? t : () => t
3218
+ });
3219
+ }
3220
+ var Ka = /*@__PURE__*/ o("ZodPipe", (e, t) => {
3221
+ Nn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => ui(e, t, n, r), e.in = t.in, e.out = t.out;
3222
+ });
3223
+ function qa(e, t) {
3224
+ return new Ka({
3225
+ type: "pipe",
3226
+ in: e,
3227
+ out: t
3228
+ });
3229
+ }
3230
+ var Ja = /*@__PURE__*/ o("ZodReadonly", (e, t) => {
3231
+ Pn.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => di(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
3232
+ });
3233
+ function Ya(e) {
3234
+ return new Ja({
3235
+ type: "readonly",
3236
+ innerType: e
3237
+ });
3238
+ }
3239
+ var Xa = /*@__PURE__*/ o("ZodLazy", (e, t) => {
3240
+ In.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => pi(e, t, n, r), e.unwrap = () => e._zod.def.getter();
3241
+ });
3242
+ function Za(e) {
3243
+ return new Xa({
3244
+ type: "lazy",
3245
+ getter: e
3246
+ });
3247
+ }
3248
+ var Qa = /*@__PURE__*/ o("ZodCustom", (e, t) => {
3249
+ Ln.init(e, t), X.init(e, t), e._zod.processJSONSchema = (t, n, r) => Qr(e, t, n, r);
3250
+ });
3251
+ function $a(e, t = {}) {
3252
+ return /* @__PURE__ */ Rr(Qa, e, t);
3253
+ }
3254
+ function eo(e, t) {
3255
+ return /* @__PURE__ */ zr(e, t);
3256
+ }
3257
+ //#endregion
3258
+ //#region node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs
3259
+ var to = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), no = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), ro = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), io = (e) => {
3260
+ let t = ro(e);
3261
+ return t.charAt(0).toUpperCase() + t.slice(1);
3262
+ }, ao = {
3263
+ xmlns: "http://www.w3.org/2000/svg",
3264
+ width: 24,
3265
+ height: 24,
3266
+ viewBox: "0 0 24 24",
3267
+ fill: "none",
3268
+ stroke: "currentColor",
3269
+ strokeWidth: 2,
3270
+ strokeLinecap: "round",
3271
+ strokeLinejoin: "round"
3272
+ }, oo = (e) => {
3273
+ for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
3274
+ return !1;
3275
+ }, so = e({});
3276
+ function co({ children: e, size: n, color: r, strokeWidth: a, absoluteStrokeWidth: o, className: s }) {
3277
+ let c = i(() => ({
3278
+ size: n,
3279
+ color: r,
3280
+ strokeWidth: a,
3281
+ absoluteStrokeWidth: o,
3282
+ className: s
3283
+ }), [
3284
+ n,
3285
+ r,
3286
+ a,
3287
+ o,
3288
+ s
3289
+ ]);
3290
+ return t(so.Provider, { value: c }, e);
3291
+ }
3292
+ var lo = () => r(so), uo = n(({ color: e, size: n, strokeWidth: r, absoluteStrokeWidth: i, className: a = "", children: o, iconNode: s, ...c }, l) => {
3293
+ let { size: u = 24, strokeWidth: d = 2, absoluteStrokeWidth: f = !1, color: p = "currentColor", className: m = "" } = lo() ?? {}, h = i ?? f ? Number(r ?? d) * 24 / Number(n ?? u) : r ?? d;
3294
+ return t("svg", {
3295
+ ref: l,
3296
+ ...ao,
3297
+ width: n ?? u ?? ao.width,
3298
+ height: n ?? u ?? ao.height,
3299
+ stroke: e ?? p,
3300
+ strokeWidth: h,
3301
+ className: to("lucide", m, a),
3302
+ ...!o && !oo(c) && { "aria-hidden": "true" },
3303
+ ...c
3304
+ }, [...s.map(([e, n]) => t(e, n)), ...Array.isArray(o) ? o : [o]]);
3305
+ }), $ = (e, r) => {
3306
+ let i = n(({ className: n, ...i }, a) => t(uo, {
3307
+ ref: a,
3308
+ iconNode: r,
3309
+ className: to(`lucide-${no(io(e))}`, `lucide-${e}`, n),
3310
+ ...i
3311
+ }));
3312
+ return i.displayName = io(e), i;
3313
+ }, fo = $("align-horizontal-justify-start", [
3314
+ ["rect", {
3315
+ width: "6",
3316
+ height: "14",
3317
+ x: "6",
3318
+ y: "5",
3319
+ rx: "2",
3320
+ key: "hsirpf"
3321
+ }],
3322
+ ["rect", {
3323
+ width: "6",
3324
+ height: "10",
3325
+ x: "16",
3326
+ y: "7",
3327
+ rx: "2",
3328
+ key: "13zkjt"
3329
+ }],
3330
+ ["path", {
3331
+ d: "M2 2v20",
3332
+ key: "1ivd8o"
3333
+ }]
3334
+ ]), po = $("app-window", [
3335
+ ["rect", {
3336
+ x: "2",
3337
+ y: "4",
3338
+ width: "20",
3339
+ height: "16",
3340
+ rx: "2",
3341
+ key: "izxlao"
3342
+ }],
3343
+ ["path", {
3344
+ d: "M10 4v4",
3345
+ key: "pp8u80"
3346
+ }],
3347
+ ["path", {
3348
+ d: "M2 8h20",
3349
+ key: "d11cs7"
3350
+ }],
3351
+ ["path", {
3352
+ d: "M6 4v4",
3353
+ key: "1svtjw"
3354
+ }]
3355
+ ]), mo = $("arrow-down", [["path", {
3356
+ d: "M12 5v14",
3357
+ key: "s699le"
3358
+ }], ["path", {
3359
+ d: "m19 12-7 7-7-7",
3360
+ key: "1idqje"
3361
+ }]]), ho = $("arrow-left", [["path", {
3362
+ d: "m12 19-7-7 7-7",
3363
+ key: "1l729n"
3364
+ }], ["path", {
3365
+ d: "M19 12H5",
3366
+ key: "x3x0zl"
3367
+ }]]), go = $("arrow-right", [["path", {
3368
+ d: "M5 12h14",
3369
+ key: "1ays0h"
3370
+ }], ["path", {
3371
+ d: "m12 5 7 7-7 7",
3372
+ key: "xquz4c"
3373
+ }]]), _o = $("arrow-up-left", [["path", {
3374
+ d: "M7 17V7h10",
3375
+ key: "11bw93"
3376
+ }], ["path", {
3377
+ d: "M17 17 7 7",
3378
+ key: "2786uv"
3379
+ }]]), vo = $("arrow-up", [["path", {
3380
+ d: "m5 12 7-7 7 7",
3381
+ key: "hav0vg"
3382
+ }], ["path", {
3383
+ d: "M12 19V5",
3384
+ key: "x0mq9r"
3385
+ }]]), yo = $("ban", [["circle", {
3386
+ cx: "12",
3387
+ cy: "12",
3388
+ r: "10",
3389
+ key: "1mglay"
3390
+ }], ["path", {
3391
+ d: "M4.929 4.929 19.07 19.071",
3392
+ key: "196cmz"
3393
+ }]]), bo = $("blend", [["circle", {
3394
+ cx: "9",
3395
+ cy: "9",
3396
+ r: "7",
3397
+ key: "p2h5vp"
3398
+ }], ["circle", {
3399
+ cx: "15",
3400
+ cy: "15",
3401
+ r: "7",
3402
+ key: "19ennj"
3403
+ }]]), xo = $("blocks", [["path", {
3404
+ d: "M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2",
3405
+ key: "1ah6g2"
3406
+ }], ["rect", {
3407
+ x: "14",
3408
+ y: "2",
3409
+ width: "8",
3410
+ height: "8",
3411
+ rx: "1",
3412
+ key: "88lufb"
3413
+ }]]), So = $("bold", [["path", {
3414
+ d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",
3415
+ key: "mg9rjx"
3416
+ }]]), Co = $("book-open", [["path", {
3417
+ d: "M12 7v14",
3418
+ key: "1akyts"
3419
+ }], ["path", {
3420
+ d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",
3421
+ key: "ruj8y"
3422
+ }]]), wo = $("box", [
3423
+ ["path", {
3424
+ d: "M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",
3425
+ key: "hh9hay"
3426
+ }],
3427
+ ["path", {
3428
+ d: "m3.3 7 8.7 5 8.7-5",
3429
+ key: "g66t2b"
3430
+ }],
3431
+ ["path", {
3432
+ d: "M12 22V12",
3433
+ key: "d0xqtd"
3434
+ }]
3435
+ ]), To = $("brush", [
3436
+ ["path", {
3437
+ d: "m11 10 3 3",
3438
+ key: "fzmg1i"
3439
+ }],
3440
+ ["path", {
3441
+ d: "M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708 1.792A1 1 0 0 0 3 21z",
3442
+ key: "p4q2r7"
3443
+ }],
3444
+ ["path", {
3445
+ d: "M9.969 17.031 21.378 5.624a1 1 0 0 0-3.002-3.002L6.967 14.031",
3446
+ key: "wy6l02"
3447
+ }]
3448
+ ]), Eo = $("check", [["path", {
3449
+ d: "M20 6 9 17l-5-5",
3450
+ key: "1gmf2c"
3451
+ }]]), Do = $("chevron-down", [["path", {
3452
+ d: "m6 9 6 6 6-6",
3453
+ key: "qrunsl"
3454
+ }]]), Oo = $("chevron-left", [["path", {
3455
+ d: "m15 18-6-6 6-6",
3456
+ key: "1wnfg3"
3457
+ }]]), ko = $("chevron-right", [["path", {
3458
+ d: "m9 18 6-6-6-6",
3459
+ key: "mthhwq"
3460
+ }]]), Ao = $("chevron-up", [["path", {
3461
+ d: "m18 15-6-6-6 6",
3462
+ key: "153udz"
3463
+ }]]), jo = $("circle-question-mark", [
3464
+ ["circle", {
3465
+ cx: "12",
3466
+ cy: "12",
3467
+ r: "10",
3468
+ key: "1mglay"
3469
+ }],
3470
+ ["path", {
3471
+ d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",
3472
+ key: "1u773s"
3473
+ }],
3474
+ ["path", {
3475
+ d: "M12 17h.01",
3476
+ key: "p32p05"
3477
+ }]
3478
+ ]), Mo = $("clipboard-list", [
3479
+ ["rect", {
3480
+ width: "8",
3481
+ height: "4",
3482
+ x: "8",
3483
+ y: "2",
3484
+ rx: "1",
3485
+ ry: "1",
3486
+ key: "tgr4d6"
3487
+ }],
3488
+ ["path", {
3489
+ d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",
3490
+ key: "116196"
3491
+ }],
3492
+ ["path", {
3493
+ d: "M12 11h4",
3494
+ key: "1jrz19"
3495
+ }],
3496
+ ["path", {
3497
+ d: "M12 16h4",
3498
+ key: "n85exb"
3499
+ }],
3500
+ ["path", {
3501
+ d: "M8 11h.01",
3502
+ key: "1dfujw"
3503
+ }],
3504
+ ["path", {
3505
+ d: "M8 16h.01",
3506
+ key: "18s6g9"
3507
+ }]
3508
+ ]), No = $("clipboard-paste", [
3509
+ ["path", {
3510
+ d: "M11 14h10",
3511
+ key: "1w8e9d"
3512
+ }],
3513
+ ["path", {
3514
+ d: "M16 4h2a2 2 0 0 1 2 2v1.344",
3515
+ key: "1e62lh"
3516
+ }],
3517
+ ["path", {
3518
+ d: "m17 18 4-4-4-4",
3519
+ key: "z2g111"
3520
+ }],
3521
+ ["path", {
3522
+ d: "M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113",
3523
+ key: "bjbb7m"
3524
+ }],
3525
+ ["rect", {
3526
+ x: "8",
3527
+ y: "2",
3528
+ width: "8",
3529
+ height: "4",
3530
+ rx: "1",
3531
+ key: "ublpy"
3532
+ }]
3533
+ ]), Po = $("code-xml", [
3534
+ ["path", {
3535
+ d: "m18 16 4-4-4-4",
3536
+ key: "1inbqp"
3537
+ }],
3538
+ ["path", {
3539
+ d: "m6 8-4 4 4 4",
3540
+ key: "15zrgr"
3541
+ }],
3542
+ ["path", {
3543
+ d: "m14.5 4-5 16",
3544
+ key: "e7oirm"
3545
+ }]
3546
+ ]), Fo = $("columns-3", [
3547
+ ["rect", {
3548
+ width: "18",
3549
+ height: "18",
3550
+ x: "3",
3551
+ y: "3",
3552
+ rx: "2",
3553
+ key: "afitv7"
3554
+ }],
3555
+ ["path", {
3556
+ d: "M9 3v18",
3557
+ key: "fh3hqa"
3558
+ }],
3559
+ ["path", {
3560
+ d: "M15 3v18",
3561
+ key: "14nvp0"
3562
+ }]
3563
+ ]), Io = $("compass", [["circle", {
3564
+ cx: "12",
3565
+ cy: "12",
3566
+ r: "10",
3567
+ key: "1mglay"
3568
+ }], ["path", {
3569
+ d: "m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",
3570
+ key: "9ktpf1"
3571
+ }]]), Lo = $("copy-plus", [
3572
+ ["line", {
3573
+ x1: "15",
3574
+ x2: "15",
3575
+ y1: "12",
3576
+ y2: "18",
3577
+ key: "1p7wdc"
3578
+ }],
3579
+ ["line", {
3580
+ x1: "12",
3581
+ x2: "18",
3582
+ y1: "15",
3583
+ y2: "15",
3584
+ key: "1nscbv"
3585
+ }],
3586
+ ["rect", {
3587
+ width: "14",
3588
+ height: "14",
3589
+ x: "8",
3590
+ y: "8",
3591
+ rx: "2",
3592
+ ry: "2",
3593
+ key: "17jyea"
3594
+ }],
3595
+ ["path", {
3596
+ d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",
3597
+ key: "zix9uf"
3598
+ }]
3599
+ ]), Ro = $("copy", [["rect", {
3600
+ width: "14",
3601
+ height: "14",
3602
+ x: "8",
3603
+ y: "8",
3604
+ rx: "2",
3605
+ ry: "2",
3606
+ key: "17jyea"
3607
+ }], ["path", {
3608
+ d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",
3609
+ key: "zix9uf"
3610
+ }]]), zo = $("ellipsis", [
3611
+ ["circle", {
3612
+ cx: "12",
3613
+ cy: "12",
3614
+ r: "1",
3615
+ key: "41hilf"
3616
+ }],
3617
+ ["circle", {
3618
+ cx: "19",
3619
+ cy: "12",
3620
+ r: "1",
3621
+ key: "1wjl8i"
3622
+ }],
3623
+ ["circle", {
3624
+ cx: "5",
3625
+ cy: "12",
3626
+ r: "1",
3627
+ key: "1pcz8c"
3628
+ }]
3629
+ ]), Bo = $("eye", [["path", {
3630
+ d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
3631
+ key: "1nclc0"
3632
+ }], ["circle", {
3633
+ cx: "12",
3634
+ cy: "12",
3635
+ r: "3",
3636
+ key: "1v7zrd"
3637
+ }]]), Vo = $("flip-horizontal-2", [
3638
+ ["path", {
3639
+ d: "m3 7 5 5-5 5V7",
3640
+ key: "couhi7"
3641
+ }],
3642
+ ["path", {
3643
+ d: "m21 7-5 5 5 5V7",
3644
+ key: "6ouia7"
3645
+ }],
3646
+ ["path", {
3647
+ d: "M12 20v2",
3648
+ key: "1lh1kg"
3649
+ }],
3650
+ ["path", {
3651
+ d: "M12 14v2",
3652
+ key: "8jcxud"
3653
+ }],
3654
+ ["path", {
3655
+ d: "M12 8v2",
3656
+ key: "1woqiv"
3657
+ }],
3658
+ ["path", {
3659
+ d: "M12 2v2",
3660
+ key: "tus03m"
3661
+ }]
3662
+ ]), Ho = $("folder-input", [
3663
+ ["path", {
3664
+ d: "M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1",
3665
+ key: "fm4g5t"
3666
+ }],
3667
+ ["path", {
3668
+ d: "M2 13h10",
3669
+ key: "pgb2dq"
3670
+ }],
3671
+ ["path", {
3672
+ d: "m9 16 3-3-3-3",
3673
+ key: "6m91ic"
3674
+ }]
3675
+ ]), Uo = $("gallery-horizontal-end", [
3676
+ ["path", {
3677
+ d: "M2 7v10",
3678
+ key: "a2pl2d"
3679
+ }],
3680
+ ["path", {
3681
+ d: "M6 5v14",
3682
+ key: "1kq3d7"
3683
+ }],
3684
+ ["rect", {
3685
+ width: "12",
3686
+ height: "18",
3687
+ x: "10",
3688
+ y: "3",
3689
+ rx: "2",
3690
+ key: "13i7bc"
3691
+ }]
3692
+ ]), Wo = $("grid-3x3", [
3693
+ ["rect", {
3694
+ width: "18",
3695
+ height: "18",
3696
+ x: "3",
3697
+ y: "3",
3698
+ rx: "2",
3699
+ key: "afitv7"
3700
+ }],
3701
+ ["path", {
3702
+ d: "M3 9h18",
3703
+ key: "1pudct"
3704
+ }],
3705
+ ["path", {
3706
+ d: "M3 15h18",
3707
+ key: "5xshup"
3708
+ }],
3709
+ ["path", {
3710
+ d: "M9 3v18",
3711
+ key: "fh3hqa"
3712
+ }],
3713
+ ["path", {
3714
+ d: "M15 3v18",
3715
+ key: "14nvp0"
3716
+ }]
3717
+ ]), Go = $("grip-vertical", [
3718
+ ["circle", {
3719
+ cx: "9",
3720
+ cy: "12",
3721
+ r: "1",
3722
+ key: "1vctgf"
3723
+ }],
3724
+ ["circle", {
3725
+ cx: "9",
3726
+ cy: "5",
3727
+ r: "1",
3728
+ key: "hp0tcf"
3729
+ }],
3730
+ ["circle", {
3731
+ cx: "9",
3732
+ cy: "19",
3733
+ r: "1",
3734
+ key: "fkjjf6"
3735
+ }],
3736
+ ["circle", {
3737
+ cx: "15",
3738
+ cy: "12",
3739
+ r: "1",
3740
+ key: "1tmaij"
3741
+ }],
3742
+ ["circle", {
3743
+ cx: "15",
3744
+ cy: "5",
3745
+ r: "1",
3746
+ key: "19l28e"
3747
+ }],
3748
+ ["circle", {
3749
+ cx: "15",
3750
+ cy: "19",
3751
+ r: "1",
3752
+ key: "f4zoj3"
3753
+ }]
3754
+ ]), Ko = $("house", [["path", {
3755
+ d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",
3756
+ key: "5wwlr5"
3757
+ }], ["path", {
3758
+ d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",
3759
+ key: "r6nss1"
3760
+ }]]), qo = $("image", [
3761
+ ["rect", {
3762
+ width: "18",
3763
+ height: "18",
3764
+ x: "3",
3765
+ y: "3",
3766
+ rx: "2",
3767
+ ry: "2",
3768
+ key: "1m3agn"
3769
+ }],
3770
+ ["circle", {
3771
+ cx: "9",
3772
+ cy: "9",
3773
+ r: "2",
3774
+ key: "af1f0g"
3775
+ }],
3776
+ ["path", {
3777
+ d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",
3778
+ key: "1xmnt7"
3779
+ }]
3780
+ ]), Jo = $("layers", [
3781
+ ["path", {
3782
+ d: "M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",
3783
+ key: "zw3jo"
3784
+ }],
3785
+ ["path", {
3786
+ d: "M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",
3787
+ key: "1wduqc"
3788
+ }],
3789
+ ["path", {
3790
+ d: "M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",
3791
+ key: "kqbvx6"
3792
+ }]
3793
+ ]), Yo = $("list-tree", [
3794
+ ["path", {
3795
+ d: "M8 5h13",
3796
+ key: "1pao27"
3797
+ }],
3798
+ ["path", {
3799
+ d: "M13 12h8",
3800
+ key: "h98zly"
3801
+ }],
3802
+ ["path", {
3803
+ d: "M13 19h8",
3804
+ key: "c3s6r1"
3805
+ }],
3806
+ ["path", {
3807
+ d: "M3 10a2 2 0 0 0 2 2h3",
3808
+ key: "1npucw"
3809
+ }],
3810
+ ["path", {
3811
+ d: "M3 5v12a2 2 0 0 0 2 2h3",
3812
+ key: "x1gjn2"
3813
+ }]
3814
+ ]), Xo = $("list", [
3815
+ ["path", {
3816
+ d: "M3 5h.01",
3817
+ key: "18ugdj"
3818
+ }],
3819
+ ["path", {
3820
+ d: "M3 12h.01",
3821
+ key: "nlz23k"
3822
+ }],
3823
+ ["path", {
3824
+ d: "M3 19h.01",
3825
+ key: "noohij"
3826
+ }],
3827
+ ["path", {
3828
+ d: "M8 5h13",
3829
+ key: "1pao27"
3830
+ }],
3831
+ ["path", {
3832
+ d: "M8 12h13",
3833
+ key: "1za7za"
3834
+ }],
3835
+ ["path", {
3836
+ d: "M8 19h13",
3837
+ key: "m83p4d"
3838
+ }]
3839
+ ]), Zo = $("loader-circle", [["path", {
3840
+ d: "M21 12a9 9 0 1 1-6.219-8.56",
3841
+ key: "13zald"
3842
+ }]]), Qo = $("maximize-2", [
3843
+ ["path", {
3844
+ d: "M15 3h6v6",
3845
+ key: "1q9fwt"
3846
+ }],
3847
+ ["path", {
3848
+ d: "m21 3-7 7",
3849
+ key: "1l2asr"
3850
+ }],
3851
+ ["path", {
3852
+ d: "m3 21 7-7",
3853
+ key: "tjx5ai"
3854
+ }],
3855
+ ["path", {
3856
+ d: "M9 21H3v-6",
3857
+ key: "wtvkvv"
3858
+ }]
3859
+ ]), $o = $("menu", [
3860
+ ["path", {
3861
+ d: "M4 5h16",
3862
+ key: "1tepv9"
3863
+ }],
3864
+ ["path", {
3865
+ d: "M4 12h16",
3866
+ key: "1lakjw"
3867
+ }],
3868
+ ["path", {
3869
+ d: "M4 19h16",
3870
+ key: "1djgab"
3871
+ }]
3872
+ ]), es = $("mic", [
3873
+ ["path", {
3874
+ d: "M12 19v3",
3875
+ key: "npa21l"
3876
+ }],
3877
+ ["path", {
3878
+ d: "M19 10v2a7 7 0 0 1-14 0v-2",
3879
+ key: "1vc78b"
3880
+ }],
3881
+ ["rect", {
3882
+ x: "9",
3883
+ y: "2",
3884
+ width: "6",
3885
+ height: "13",
3886
+ rx: "3",
3887
+ key: "s6n7sd"
3888
+ }]
3889
+ ]), ts = $("minus", [["path", {
3890
+ d: "M5 12h14",
3891
+ key: "1ays0h"
3892
+ }]]), ns = $("monitor", [
3893
+ ["rect", {
3894
+ width: "20",
3895
+ height: "14",
3896
+ x: "2",
3897
+ y: "3",
3898
+ rx: "2",
3899
+ key: "48i651"
3900
+ }],
3901
+ ["line", {
3902
+ x1: "8",
3903
+ x2: "16",
3904
+ y1: "21",
3905
+ y2: "21",
3906
+ key: "1svkeh"
3907
+ }],
3908
+ ["line", {
3909
+ x1: "12",
3910
+ x2: "12",
3911
+ y1: "17",
3912
+ y2: "21",
3913
+ key: "vw1qmm"
3914
+ }]
3915
+ ]), rs = $("moon", [["path", {
3916
+ d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
3917
+ key: "kfwtm"
3918
+ }]]), is = $("move-vertical", [
3919
+ ["path", {
3920
+ d: "M12 2v20",
3921
+ key: "t6zp3m"
3922
+ }],
3923
+ ["path", {
3924
+ d: "m8 18 4 4 4-4",
3925
+ key: "bh5tu3"
3926
+ }],
3927
+ ["path", {
3928
+ d: "m8 6 4-4 4 4",
3929
+ key: "ybng9g"
3930
+ }]
3931
+ ]), as = $("palette", [
3932
+ ["path", {
3933
+ d: "M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",
3934
+ key: "e79jfc"
3935
+ }],
3936
+ ["circle", {
3937
+ cx: "13.5",
3938
+ cy: "6.5",
3939
+ r: ".5",
3940
+ fill: "currentColor",
3941
+ key: "1okk4w"
3942
+ }],
3943
+ ["circle", {
3944
+ cx: "17.5",
3945
+ cy: "10.5",
3946
+ r: ".5",
3947
+ fill: "currentColor",
3948
+ key: "f64h9f"
3949
+ }],
3950
+ ["circle", {
3951
+ cx: "6.5",
3952
+ cy: "12.5",
3953
+ r: ".5",
3954
+ fill: "currentColor",
3955
+ key: "qy21gx"
3956
+ }],
3957
+ ["circle", {
3958
+ cx: "8.5",
3959
+ cy: "7.5",
3960
+ r: ".5",
3961
+ fill: "currentColor",
3962
+ key: "fotxhn"
3963
+ }]
3964
+ ]), os = $("pencil", [["path", {
3965
+ d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
3966
+ key: "1a8usu"
3967
+ }], ["path", {
3968
+ d: "m15 5 4 4",
3969
+ key: "1mk7zo"
3970
+ }]]), ss = $("pin", [["path", {
3971
+ d: "M12 17v5",
3972
+ key: "bb1du9"
3973
+ }], ["path", {
3974
+ d: "M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",
3975
+ key: "1nkz8b"
3976
+ }]]), cs = $("pin-off", [
3977
+ ["path", {
3978
+ d: "M12 17v5",
3979
+ key: "bb1du9"
3980
+ }],
3981
+ ["path", {
3982
+ d: "M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89",
3983
+ key: "znwnzq"
3984
+ }],
3985
+ ["path", {
3986
+ d: "m2 2 20 20",
3987
+ key: "1ooewy"
3988
+ }],
3989
+ ["path", {
3990
+ d: "M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11",
3991
+ key: "c9qhm2"
3992
+ }]
3993
+ ]), ls = $("play", [["path", {
3994
+ d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",
3995
+ key: "10ikf1"
3996
+ }]]), us = $("plus", [["path", {
3997
+ d: "M5 12h14",
3998
+ key: "1ays0h"
3999
+ }], ["path", {
4000
+ d: "M12 5v14",
4001
+ key: "s699le"
4002
+ }]]), ds = $("rectangle-horizontal", [["rect", {
4003
+ width: "20",
4004
+ height: "12",
4005
+ x: "2",
4006
+ y: "6",
4007
+ rx: "2",
4008
+ key: "9lu3g6"
4009
+ }]]), fs = $("redo-2", [["path", {
4010
+ d: "m15 14 5-5-5-5",
4011
+ key: "12vg1m"
4012
+ }], ["path", {
4013
+ d: "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",
4014
+ key: "6uklza"
4015
+ }]]), ps = $("refresh-cw", [
4016
+ ["path", {
4017
+ d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",
4018
+ key: "v9h5vc"
4019
+ }],
4020
+ ["path", {
4021
+ d: "M21 3v5h-5",
4022
+ key: "1q7to0"
4023
+ }],
4024
+ ["path", {
4025
+ d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",
4026
+ key: "3uifl3"
4027
+ }],
4028
+ ["path", {
4029
+ d: "M8 16H3v5",
4030
+ key: "1cv678"
4031
+ }]
4032
+ ]), ms = $("save", [
4033
+ ["path", {
4034
+ d: "M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",
4035
+ key: "1c8476"
4036
+ }],
4037
+ ["path", {
4038
+ d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",
4039
+ key: "1ydtos"
4040
+ }],
4041
+ ["path", {
4042
+ d: "M7 3v4a1 1 0 0 0 1 1h7",
4043
+ key: "t51u73"
4044
+ }]
4045
+ ]), hs = $("scissors", [
4046
+ ["circle", {
4047
+ cx: "6",
4048
+ cy: "6",
4049
+ r: "3",
4050
+ key: "1lh9wr"
4051
+ }],
4052
+ ["path", {
4053
+ d: "M8.12 8.12 12 12",
4054
+ key: "1alkpv"
4055
+ }],
4056
+ ["path", {
4057
+ d: "M20 4 8.12 15.88",
4058
+ key: "xgtan2"
4059
+ }],
4060
+ ["circle", {
4061
+ cx: "6",
4062
+ cy: "18",
4063
+ r: "3",
4064
+ key: "fqmcym"
4065
+ }],
4066
+ ["path", {
4067
+ d: "M14.8 14.8 20 20",
4068
+ key: "ptml3r"
4069
+ }]
4070
+ ]), gs = $("search", [["path", {
4071
+ d: "m21 21-4.34-4.34",
4072
+ key: "14j7rj"
4073
+ }], ["circle", {
4074
+ cx: "11",
4075
+ cy: "11",
4076
+ r: "8",
4077
+ key: "4ej97u"
4078
+ }]]), _s = $("shapes", [
4079
+ ["path", {
4080
+ d: "M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z",
4081
+ key: "1bo67w"
4082
+ }],
4083
+ ["rect", {
4084
+ x: "3",
4085
+ y: "14",
4086
+ width: "7",
4087
+ height: "7",
4088
+ rx: "1",
4089
+ key: "1bkyp8"
4090
+ }],
4091
+ ["circle", {
4092
+ cx: "17.5",
4093
+ cy: "17.5",
4094
+ r: "3.5",
4095
+ key: "w3z12y"
4096
+ }]
4097
+ ]), vs = $("share-2", [
4098
+ ["circle", {
4099
+ cx: "18",
4100
+ cy: "5",
4101
+ r: "3",
4102
+ key: "gq8acd"
4103
+ }],
4104
+ ["circle", {
4105
+ cx: "6",
4106
+ cy: "12",
4107
+ r: "3",
4108
+ key: "w7nqdw"
4109
+ }],
4110
+ ["circle", {
4111
+ cx: "18",
4112
+ cy: "19",
4113
+ r: "3",
4114
+ key: "1xt0gg"
4115
+ }],
4116
+ ["line", {
4117
+ x1: "8.59",
4118
+ x2: "15.42",
4119
+ y1: "13.51",
4120
+ y2: "17.49",
4121
+ key: "47mynk"
4122
+ }],
4123
+ ["line", {
4124
+ x1: "15.41",
4125
+ x2: "8.59",
4126
+ y1: "6.51",
4127
+ y2: "10.49",
4128
+ key: "1n3mei"
4129
+ }]
4130
+ ]), ys = $("shopping-cart", [
4131
+ ["circle", {
4132
+ cx: "8",
4133
+ cy: "21",
4134
+ r: "1",
4135
+ key: "jimo8o"
4136
+ }],
4137
+ ["circle", {
4138
+ cx: "19",
4139
+ cy: "21",
4140
+ r: "1",
4141
+ key: "13723u"
4142
+ }],
4143
+ ["path", {
4144
+ d: "M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",
4145
+ key: "9zh506"
4146
+ }]
4147
+ ]), bs = $("smartphone", [["rect", {
4148
+ width: "14",
4149
+ height: "20",
4150
+ x: "5",
4151
+ y: "2",
4152
+ rx: "2",
4153
+ ry: "2",
4154
+ key: "1yt0o3"
4155
+ }], ["path", {
4156
+ d: "M12 18h.01",
4157
+ key: "mhygvu"
4158
+ }]]), xs = $("smile-plus", [
4159
+ ["path", {
4160
+ d: "M22 11v1a10 10 0 1 1-9-10",
4161
+ key: "ew0xw9"
4162
+ }],
4163
+ ["path", {
4164
+ d: "M8 14s1.5 2 4 2 4-2 4-2",
4165
+ key: "1y1vjs"
4166
+ }],
4167
+ ["line", {
4168
+ x1: "9",
4169
+ x2: "9.01",
4170
+ y1: "9",
4171
+ y2: "9",
4172
+ key: "yxxnd0"
4173
+ }],
4174
+ ["line", {
4175
+ x1: "15",
4176
+ x2: "15.01",
4177
+ y1: "9",
4178
+ y2: "9",
4179
+ key: "1p4y9e"
4180
+ }],
4181
+ ["path", {
4182
+ d: "M16 5h6",
4183
+ key: "1vod17"
4184
+ }],
4185
+ ["path", {
4186
+ d: "M19 2v6",
4187
+ key: "4bpg5p"
4188
+ }]
4189
+ ]), Ss = $("sparkles", [
4190
+ ["path", {
4191
+ d: "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",
4192
+ key: "1s2grr"
4193
+ }],
4194
+ ["path", {
4195
+ d: "M20 2v4",
4196
+ key: "1rf3ol"
4197
+ }],
4198
+ ["path", {
4199
+ d: "M22 4h-4",
4200
+ key: "gwowj6"
4201
+ }],
4202
+ ["circle", {
4203
+ cx: "4",
4204
+ cy: "20",
4205
+ r: "2",
4206
+ key: "6kqj1y"
4207
+ }]
4208
+ ]), Cs = $("sun", [
4209
+ ["circle", {
4210
+ cx: "12",
4211
+ cy: "12",
4212
+ r: "4",
4213
+ key: "4exip2"
4214
+ }],
4215
+ ["path", {
4216
+ d: "M12 2v2",
4217
+ key: "tus03m"
4218
+ }],
4219
+ ["path", {
4220
+ d: "M12 20v2",
4221
+ key: "1lh1kg"
4222
+ }],
4223
+ ["path", {
4224
+ d: "m4.93 4.93 1.41 1.41",
4225
+ key: "149t6j"
4226
+ }],
4227
+ ["path", {
4228
+ d: "m17.66 17.66 1.41 1.41",
4229
+ key: "ptbguv"
4230
+ }],
4231
+ ["path", {
4232
+ d: "M2 12h2",
4233
+ key: "1t8f8n"
4234
+ }],
4235
+ ["path", {
4236
+ d: "M20 12h2",
4237
+ key: "1q8mjw"
4238
+ }],
4239
+ ["path", {
4240
+ d: "m6.34 17.66-1.41 1.41",
4241
+ key: "1m8zz5"
4242
+ }],
4243
+ ["path", {
4244
+ d: "m19.07 4.93-1.41 1.41",
4245
+ key: "1shlcs"
4246
+ }]
4247
+ ]), ws = $("tablet", [["rect", {
4248
+ width: "16",
4249
+ height: "20",
4250
+ x: "4",
4251
+ y: "2",
4252
+ rx: "2",
4253
+ ry: "2",
4254
+ key: "76otgf"
4255
+ }], ["line", {
4256
+ x1: "12",
4257
+ x2: "12.01",
4258
+ y1: "18",
4259
+ y2: "18",
4260
+ key: "1dp563"
4261
+ }]]), Ts = $("text-align-center", [
4262
+ ["path", {
4263
+ d: "M21 5H3",
4264
+ key: "1fi0y6"
4265
+ }],
4266
+ ["path", {
4267
+ d: "M17 12H7",
4268
+ key: "16if0g"
4269
+ }],
4270
+ ["path", {
4271
+ d: "M19 19H5",
4272
+ key: "vjpgq2"
4273
+ }]
4274
+ ]), Es = $("text-align-end", [
4275
+ ["path", {
4276
+ d: "M21 5H3",
4277
+ key: "1fi0y6"
4278
+ }],
4279
+ ["path", {
4280
+ d: "M21 12H9",
4281
+ key: "dn1m92"
4282
+ }],
4283
+ ["path", {
4284
+ d: "M21 19H7",
4285
+ key: "4cu937"
4286
+ }]
4287
+ ]), Ds = $("text-align-justify", [
4288
+ ["path", {
4289
+ d: "M3 5h18",
4290
+ key: "1u36vt"
4291
+ }],
4292
+ ["path", {
4293
+ d: "M3 12h18",
4294
+ key: "1i2n21"
4295
+ }],
4296
+ ["path", {
4297
+ d: "M3 19h18",
4298
+ key: "awlh7x"
4299
+ }]
4300
+ ]), Os = $("text-align-start", [
4301
+ ["path", {
4302
+ d: "M21 5H3",
4303
+ key: "1fi0y6"
4304
+ }],
4305
+ ["path", {
4306
+ d: "M15 12H3",
4307
+ key: "6jk70r"
4308
+ }],
4309
+ ["path", {
4310
+ d: "M17 19H3",
4311
+ key: "z6ezky"
4312
+ }]
4313
+ ]), ks = $("trash-2", [
4314
+ ["path", {
4315
+ d: "M10 11v6",
4316
+ key: "nco0om"
4317
+ }],
4318
+ ["path", {
4319
+ d: "M14 11v6",
4320
+ key: "outv1u"
4321
+ }],
4322
+ ["path", {
4323
+ d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",
4324
+ key: "miytrc"
4325
+ }],
4326
+ ["path", {
4327
+ d: "M3 6h18",
4328
+ key: "d0wm0j"
4329
+ }],
4330
+ ["path", {
4331
+ d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",
4332
+ key: "e791ji"
4333
+ }]
4334
+ ]), As = $("type", [
4335
+ ["path", {
4336
+ d: "M12 4v16",
4337
+ key: "1654pz"
4338
+ }],
4339
+ ["path", {
4340
+ d: "M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",
4341
+ key: "e0r10z"
4342
+ }],
4343
+ ["path", {
4344
+ d: "M9 20h6",
4345
+ key: "s66wpe"
4346
+ }]
4347
+ ]), js = $("undo-2", [["path", {
4348
+ d: "M9 14 4 9l5-5",
4349
+ key: "102s5s"
4350
+ }], ["path", {
4351
+ d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",
4352
+ key: "f3b9sd"
4353
+ }]]), Ms = $("upload", [
4354
+ ["path", {
4355
+ d: "M12 3v12",
4356
+ key: "1x0j5s"
4357
+ }],
4358
+ ["path", {
4359
+ d: "m17 8-5-5-5 5",
4360
+ key: "7q97r8"
4361
+ }],
4362
+ ["path", {
4363
+ d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",
4364
+ key: "ih7n3h"
4365
+ }]
4366
+ ]), Ns = $("video", [["path", {
4367
+ d: "m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",
4368
+ key: "ftymec"
4369
+ }], ["rect", {
4370
+ x: "2",
4371
+ y: "6",
4372
+ width: "14",
4373
+ height: "12",
4374
+ rx: "2",
4375
+ key: "158x01"
4376
+ }]]), Ps = $("wand-sparkles", [
4377
+ ["path", {
4378
+ d: "m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",
4379
+ key: "ul74o6"
4380
+ }],
4381
+ ["path", {
4382
+ d: "m14 7 3 3",
4383
+ key: "1r5n42"
4384
+ }],
4385
+ ["path", {
4386
+ d: "M5 6v4",
4387
+ key: "ilb8ba"
4388
+ }],
4389
+ ["path", {
4390
+ d: "M19 14v4",
4391
+ key: "blhpug"
4392
+ }],
4393
+ ["path", {
4394
+ d: "M10 2v2",
4395
+ key: "7u0qdc"
4396
+ }],
4397
+ ["path", {
4398
+ d: "M7 8H3",
4399
+ key: "zfb6yr"
4400
+ }],
4401
+ ["path", {
4402
+ d: "M21 16h-4",
4403
+ key: "1cnmox"
4404
+ }],
4405
+ ["path", {
4406
+ d: "M11 3H9",
4407
+ key: "1obp7u"
4408
+ }]
4409
+ ]), Fs = $("waves-horizontal", [
4410
+ ["path", {
4411
+ d: "M2 12q2.5 2 5 0t5 0 5 0 5 0",
4412
+ key: "8ddzzs"
4413
+ }],
4414
+ ["path", {
4415
+ d: "M2 19q2.5 2 5 0t5 0 5 0 5 0",
4416
+ key: "1wj4st"
4417
+ }],
4418
+ ["path", {
4419
+ d: "M2 5q2.5 2 5 0t5 0 5 0 5 0",
4420
+ key: "69x50u"
4421
+ }]
4422
+ ]), Is = $("x", [["path", {
4423
+ d: "M18 6 6 18",
4424
+ key: "1bl5f8"
4425
+ }], ["path", {
4426
+ d: "m6 6 12 12",
4427
+ key: "d8bk6v"
4428
+ }]]), Ls = $("zap", [["path", {
4429
+ d: "M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",
4430
+ key: "1xq2db"
4431
+ }]]), Rs = $("zoom-in", [
4432
+ ["circle", {
4433
+ cx: "11",
4434
+ cy: "11",
4435
+ r: "8",
4436
+ key: "4ej97u"
4437
+ }],
4438
+ ["line", {
4439
+ x1: "21",
4440
+ x2: "16.65",
4441
+ y1: "21",
4442
+ y2: "16.65",
4443
+ key: "13gj7c"
4444
+ }],
4445
+ ["line", {
4446
+ x1: "11",
4447
+ x2: "11",
4448
+ y1: "8",
4449
+ y2: "14",
4450
+ key: "1vmskp"
4451
+ }],
4452
+ ["line", {
4453
+ x1: "8",
4454
+ x2: "14",
4455
+ y1: "11",
4456
+ y2: "11",
4457
+ key: "durymu"
4458
+ }]
4459
+ ]);
4460
+ //#endregion
4461
+ export { Bo as $, ls as A, co as At, $o as B, ra as Bt, gs as C, go as Ct, fs as D, fo as Dt, ps as E, po as Et, is as F, sa as Ft, Jo as G, da as Gt, Zo as H, Ta as Ht, rs as I, xa as It, Go as J, qo as K, ns as L, Za as Lt, ss as M, Da as Mt, os as N, la as Nt, ds as O, $ as Ot, as as P, ha as Pt, Vo as Q, ts as R, ka as Rt, _s as S, _o as St, ms as T, mo as Tt, Xo as U, Li as Ut, Qo as V, _a as Vt, Yo as W, ya as Wt, Uo as X, Wo as Y, Ho as Z, Ss as _, So as _t, Ps as a, Po as at, ys as b, yo as bt, js as c, jo as ct, Os as d, Oo as dt, zo as et, Ds as f, Do as ft, Cs as g, Co as gt, ws as h, wo as ht, Fs as i, Fo as it, cs as j, lo as jt, us as k, uo as kt, As as l, Ao as lt, Ts as m, To as mt, Ls as n, Lo as nt, Ns as o, No as ot, Es as p, Eo as pt, Ko as q, Is as r, Io as rt, Ms as s, Mo as st, Rs as t, Ro as tt, ks as u, ko as ut, xs as v, xo as vt, hs as w, ho as wt, vs as x, vo as xt, bs as y, bo as yt, es as z, pa as zt };