@learncard/render-method-plugin 3.0.4 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/render-method-plugin.cjs.development.cjs +91 -93
- package/dist/render-method-plugin.cjs.development.cjs.map +3 -3
- package/dist/render-method-plugin.cjs.production.min.cjs +2 -2
- package/dist/render-method-plugin.cjs.production.min.cjs.map +4 -4
- package/dist/render-method-plugin.esm.js +91 -93
- package/dist/render-method-plugin.esm.js.map +3 -3
- package/package.json +65 -63
- package/src/index.ts +3 -0
- package/src/plugin.ts +150 -0
- package/src/read.ts +225 -0
- package/src/test/plugin.test.ts +652 -0
- package/src/types.ts +119 -0
- package/LICENSE +0 -21
|
@@ -8,7 +8,7 @@ var __export = (target, all) => {
|
|
|
8
8
|
// src/types.ts
|
|
9
9
|
var RENDER_METHOD_CONTEXT = "https://digitalbazaar.github.io/vc-render-method-context/contexts/v2rc2.jsonld";
|
|
10
10
|
|
|
11
|
-
//
|
|
11
|
+
// ../../learn-card-helpers/node_modules/immer/dist/immer.mjs
|
|
12
12
|
var NOTHING = Symbol.for("immer-nothing");
|
|
13
13
|
var DRAFTABLE = Symbol.for("immer-draftable");
|
|
14
14
|
var DRAFT_STATE = Symbol.for("immer-state");
|
|
@@ -728,7 +728,7 @@ __name(currentImpl, "currentImpl");
|
|
|
728
728
|
var immer = new Immer2();
|
|
729
729
|
var produce = immer.produce;
|
|
730
730
|
|
|
731
|
-
// ../../../node_modules
|
|
731
|
+
// ../../../node_modules/zod/v4/classic/external.js
|
|
732
732
|
var external_exports = {};
|
|
733
733
|
__export(external_exports, {
|
|
734
734
|
$brand: () => $brand,
|
|
@@ -971,7 +971,7 @@ __export(external_exports, {
|
|
|
971
971
|
xor: () => xor
|
|
972
972
|
});
|
|
973
973
|
|
|
974
|
-
// ../../../node_modules
|
|
974
|
+
// ../../../node_modules/zod/v4/core/index.js
|
|
975
975
|
var core_exports2 = {};
|
|
976
976
|
__export(core_exports2, {
|
|
977
977
|
$ZodAny: () => $ZodAny,
|
|
@@ -1250,7 +1250,7 @@ __export(core_exports2, {
|
|
|
1250
1250
|
version: () => version
|
|
1251
1251
|
});
|
|
1252
1252
|
|
|
1253
|
-
// ../../../node_modules
|
|
1253
|
+
// ../../../node_modules/zod/v4/core/core.js
|
|
1254
1254
|
var _a;
|
|
1255
1255
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
1256
1256
|
status: "aborted"
|
|
@@ -1333,7 +1333,7 @@ function config(newConfig) {
|
|
|
1333
1333
|
}
|
|
1334
1334
|
__name(config, "config");
|
|
1335
1335
|
|
|
1336
|
-
// ../../../node_modules
|
|
1336
|
+
// ../../../node_modules/zod/v4/core/util.js
|
|
1337
1337
|
var util_exports = {};
|
|
1338
1338
|
__export(util_exports, {
|
|
1339
1339
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -2084,7 +2084,7 @@ var Class = class {
|
|
|
2084
2084
|
};
|
|
2085
2085
|
__name(Class, "Class");
|
|
2086
2086
|
|
|
2087
|
-
// ../../../node_modules
|
|
2087
|
+
// ../../../node_modules/zod/v4/core/errors.js
|
|
2088
2088
|
var initializer = /* @__PURE__ */ __name((inst, def) => {
|
|
2089
2089
|
inst.name = "$ZodError";
|
|
2090
2090
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -2228,7 +2228,7 @@ function prettifyError(error51) {
|
|
|
2228
2228
|
}
|
|
2229
2229
|
__name(prettifyError, "prettifyError");
|
|
2230
2230
|
|
|
2231
|
-
// ../../../node_modules
|
|
2231
|
+
// ../../../node_modules/zod/v4/core/parse.js
|
|
2232
2232
|
var _parse = /* @__PURE__ */ __name((_Err) => (schema, value, _ctx, _params) => {
|
|
2233
2233
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
2234
2234
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -2316,7 +2316,7 @@ var _safeDecodeAsync = /* @__PURE__ */ __name((_Err) => async (schema, value, _c
|
|
|
2316
2316
|
}, "_safeDecodeAsync");
|
|
2317
2317
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
2318
2318
|
|
|
2319
|
-
// ../../../node_modules
|
|
2319
|
+
// ../../../node_modules/zod/v4/core/regexes.js
|
|
2320
2320
|
var regexes_exports = {};
|
|
2321
2321
|
__export(regexes_exports, {
|
|
2322
2322
|
base64: () => base64,
|
|
@@ -2481,7 +2481,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
2481
2481
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
2482
2482
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
2483
2483
|
|
|
2484
|
-
// ../../../node_modules
|
|
2484
|
+
// ../../../node_modules/zod/v4/core/checks.js
|
|
2485
2485
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2486
2486
|
var _a4;
|
|
2487
2487
|
inst._zod ?? (inst._zod = {});
|
|
@@ -3030,7 +3030,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
3030
3030
|
};
|
|
3031
3031
|
});
|
|
3032
3032
|
|
|
3033
|
-
// ../../../node_modules
|
|
3033
|
+
// ../../../node_modules/zod/v4/core/doc.js
|
|
3034
3034
|
var Doc = class {
|
|
3035
3035
|
constructor(args = []) {
|
|
3036
3036
|
this.content = [];
|
|
@@ -3067,14 +3067,14 @@ var Doc = class {
|
|
|
3067
3067
|
};
|
|
3068
3068
|
__name(Doc, "Doc");
|
|
3069
3069
|
|
|
3070
|
-
// ../../../node_modules
|
|
3070
|
+
// ../../../node_modules/zod/v4/core/versions.js
|
|
3071
3071
|
var version = {
|
|
3072
3072
|
major: 4,
|
|
3073
3073
|
minor: 4,
|
|
3074
3074
|
patch: 3
|
|
3075
3075
|
};
|
|
3076
3076
|
|
|
3077
|
-
// ../../../node_modules
|
|
3077
|
+
// ../../../node_modules/zod/v4/core/schemas.js
|
|
3078
3078
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
3079
3079
|
var _a4;
|
|
3080
3080
|
inst ?? (inst = {});
|
|
@@ -5188,7 +5188,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
5188
5188
|
}
|
|
5189
5189
|
__name(handleRefineResult, "handleRefineResult");
|
|
5190
5190
|
|
|
5191
|
-
// ../../../node_modules
|
|
5191
|
+
// ../../../node_modules/zod/v4/locales/index.js
|
|
5192
5192
|
var locales_exports = {};
|
|
5193
5193
|
__export(locales_exports, {
|
|
5194
5194
|
ar: () => ar_default,
|
|
@@ -5245,7 +5245,7 @@ __export(locales_exports, {
|
|
|
5245
5245
|
zhTW: () => zh_TW_default
|
|
5246
5246
|
});
|
|
5247
5247
|
|
|
5248
|
-
// ../../../node_modules
|
|
5248
|
+
// ../../../node_modules/zod/v4/locales/ar.js
|
|
5249
5249
|
var error = /* @__PURE__ */ __name(() => {
|
|
5250
5250
|
const Sizable = {
|
|
5251
5251
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -5354,7 +5354,7 @@ function ar_default() {
|
|
|
5354
5354
|
}
|
|
5355
5355
|
__name(ar_default, "default");
|
|
5356
5356
|
|
|
5357
|
-
// ../../../node_modules
|
|
5357
|
+
// ../../../node_modules/zod/v4/locales/az.js
|
|
5358
5358
|
var error2 = /* @__PURE__ */ __name(() => {
|
|
5359
5359
|
const Sizable = {
|
|
5360
5360
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -5462,7 +5462,7 @@ function az_default() {
|
|
|
5462
5462
|
}
|
|
5463
5463
|
__name(az_default, "default");
|
|
5464
5464
|
|
|
5465
|
-
// ../../../node_modules
|
|
5465
|
+
// ../../../node_modules/zod/v4/locales/be.js
|
|
5466
5466
|
function getBelarusianPlural(count, one, few, many) {
|
|
5467
5467
|
const absCount = Math.abs(count);
|
|
5468
5468
|
const lastDigit = absCount % 10;
|
|
@@ -5622,7 +5622,7 @@ function be_default() {
|
|
|
5622
5622
|
}
|
|
5623
5623
|
__name(be_default, "default");
|
|
5624
5624
|
|
|
5625
|
-
// ../../../node_modules
|
|
5625
|
+
// ../../../node_modules/zod/v4/locales/bg.js
|
|
5626
5626
|
var error4 = /* @__PURE__ */ __name(() => {
|
|
5627
5627
|
const Sizable = {
|
|
5628
5628
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -5745,7 +5745,7 @@ function bg_default() {
|
|
|
5745
5745
|
}
|
|
5746
5746
|
__name(bg_default, "default");
|
|
5747
5747
|
|
|
5748
|
-
// ../../../node_modules
|
|
5748
|
+
// ../../../node_modules/zod/v4/locales/ca.js
|
|
5749
5749
|
var error5 = /* @__PURE__ */ __name(() => {
|
|
5750
5750
|
const Sizable = {
|
|
5751
5751
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -5855,7 +5855,7 @@ function ca_default() {
|
|
|
5855
5855
|
}
|
|
5856
5856
|
__name(ca_default, "default");
|
|
5857
5857
|
|
|
5858
|
-
// ../../../node_modules
|
|
5858
|
+
// ../../../node_modules/zod/v4/locales/cs.js
|
|
5859
5859
|
var error6 = /* @__PURE__ */ __name(() => {
|
|
5860
5860
|
const Sizable = {
|
|
5861
5861
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -5969,7 +5969,7 @@ function cs_default() {
|
|
|
5969
5969
|
}
|
|
5970
5970
|
__name(cs_default, "default");
|
|
5971
5971
|
|
|
5972
|
-
// ../../../node_modules
|
|
5972
|
+
// ../../../node_modules/zod/v4/locales/da.js
|
|
5973
5973
|
var error7 = /* @__PURE__ */ __name(() => {
|
|
5974
5974
|
const Sizable = {
|
|
5975
5975
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -6087,7 +6087,7 @@ function da_default() {
|
|
|
6087
6087
|
}
|
|
6088
6088
|
__name(da_default, "default");
|
|
6089
6089
|
|
|
6090
|
-
// ../../../node_modules
|
|
6090
|
+
// ../../../node_modules/zod/v4/locales/de.js
|
|
6091
6091
|
var error8 = /* @__PURE__ */ __name(() => {
|
|
6092
6092
|
const Sizable = {
|
|
6093
6093
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -6198,7 +6198,7 @@ function de_default() {
|
|
|
6198
6198
|
}
|
|
6199
6199
|
__name(de_default, "default");
|
|
6200
6200
|
|
|
6201
|
-
// ../../../node_modules
|
|
6201
|
+
// ../../../node_modules/zod/v4/locales/el.js
|
|
6202
6202
|
var error9 = /* @__PURE__ */ __name(() => {
|
|
6203
6203
|
const Sizable = {
|
|
6204
6204
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -6310,7 +6310,7 @@ function el_default() {
|
|
|
6310
6310
|
}
|
|
6311
6311
|
__name(el_default, "default");
|
|
6312
6312
|
|
|
6313
|
-
// ../../../node_modules
|
|
6313
|
+
// ../../../node_modules/zod/v4/locales/en.js
|
|
6314
6314
|
var error10 = /* @__PURE__ */ __name(() => {
|
|
6315
6315
|
const Sizable = {
|
|
6316
6316
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -6423,7 +6423,7 @@ function en_default() {
|
|
|
6423
6423
|
}
|
|
6424
6424
|
__name(en_default, "default");
|
|
6425
6425
|
|
|
6426
|
-
// ../../../node_modules
|
|
6426
|
+
// ../../../node_modules/zod/v4/locales/eo.js
|
|
6427
6427
|
var error11 = /* @__PURE__ */ __name(() => {
|
|
6428
6428
|
const Sizable = {
|
|
6429
6429
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -6535,7 +6535,7 @@ function eo_default() {
|
|
|
6535
6535
|
}
|
|
6536
6536
|
__name(eo_default, "default");
|
|
6537
6537
|
|
|
6538
|
-
// ../../../node_modules
|
|
6538
|
+
// ../../../node_modules/zod/v4/locales/es.js
|
|
6539
6539
|
var error12 = /* @__PURE__ */ __name(() => {
|
|
6540
6540
|
const Sizable = {
|
|
6541
6541
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -6670,7 +6670,7 @@ function es_default() {
|
|
|
6670
6670
|
}
|
|
6671
6671
|
__name(es_default, "default");
|
|
6672
6672
|
|
|
6673
|
-
// ../../../node_modules
|
|
6673
|
+
// ../../../node_modules/zod/v4/locales/fa.js
|
|
6674
6674
|
var error13 = /* @__PURE__ */ __name(() => {
|
|
6675
6675
|
const Sizable = {
|
|
6676
6676
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -6787,7 +6787,7 @@ function fa_default() {
|
|
|
6787
6787
|
}
|
|
6788
6788
|
__name(fa_default, "default");
|
|
6789
6789
|
|
|
6790
|
-
// ../../../node_modules
|
|
6790
|
+
// ../../../node_modules/zod/v4/locales/fi.js
|
|
6791
6791
|
var error14 = /* @__PURE__ */ __name(() => {
|
|
6792
6792
|
const Sizable = {
|
|
6793
6793
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -6902,7 +6902,7 @@ function fi_default() {
|
|
|
6902
6902
|
}
|
|
6903
6903
|
__name(fi_default, "default");
|
|
6904
6904
|
|
|
6905
|
-
// ../../../node_modules
|
|
6905
|
+
// ../../../node_modules/zod/v4/locales/fr.js
|
|
6906
6906
|
var error15 = /* @__PURE__ */ __name(() => {
|
|
6907
6907
|
const Sizable = {
|
|
6908
6908
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -7030,7 +7030,7 @@ function fr_default() {
|
|
|
7030
7030
|
}
|
|
7031
7031
|
__name(fr_default, "default");
|
|
7032
7032
|
|
|
7033
|
-
// ../../../node_modules
|
|
7033
|
+
// ../../../node_modules/zod/v4/locales/fr-CA.js
|
|
7034
7034
|
var error16 = /* @__PURE__ */ __name(() => {
|
|
7035
7035
|
const Sizable = {
|
|
7036
7036
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -7140,7 +7140,7 @@ function fr_CA_default() {
|
|
|
7140
7140
|
}
|
|
7141
7141
|
__name(fr_CA_default, "default");
|
|
7142
7142
|
|
|
7143
|
-
// ../../../node_modules
|
|
7143
|
+
// ../../../node_modules/zod/v4/locales/he.js
|
|
7144
7144
|
var error17 = /* @__PURE__ */ __name(() => {
|
|
7145
7145
|
const TypeNames = {
|
|
7146
7146
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -7335,7 +7335,7 @@ function he_default() {
|
|
|
7335
7335
|
}
|
|
7336
7336
|
__name(he_default, "default");
|
|
7337
7337
|
|
|
7338
|
-
// ../../../node_modules
|
|
7338
|
+
// ../../../node_modules/zod/v4/locales/hr.js
|
|
7339
7339
|
var error18 = /* @__PURE__ */ __name(() => {
|
|
7340
7340
|
const Sizable = {
|
|
7341
7341
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -7460,7 +7460,7 @@ function hr_default() {
|
|
|
7460
7460
|
}
|
|
7461
7461
|
__name(hr_default, "default");
|
|
7462
7462
|
|
|
7463
|
-
// ../../../node_modules
|
|
7463
|
+
// ../../../node_modules/zod/v4/locales/hu.js
|
|
7464
7464
|
var error19 = /* @__PURE__ */ __name(() => {
|
|
7465
7465
|
const Sizable = {
|
|
7466
7466
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -7571,7 +7571,7 @@ function hu_default() {
|
|
|
7571
7571
|
}
|
|
7572
7572
|
__name(hu_default, "default");
|
|
7573
7573
|
|
|
7574
|
-
// ../../../node_modules
|
|
7574
|
+
// ../../../node_modules/zod/v4/locales/hy.js
|
|
7575
7575
|
function getArmenianPlural(count, one, many) {
|
|
7576
7576
|
return Math.abs(count) === 1 ? one : many;
|
|
7577
7577
|
}
|
|
@@ -7723,7 +7723,7 @@ function hy_default() {
|
|
|
7723
7723
|
}
|
|
7724
7724
|
__name(hy_default, "default");
|
|
7725
7725
|
|
|
7726
|
-
// ../../../node_modules
|
|
7726
|
+
// ../../../node_modules/zod/v4/locales/id.js
|
|
7727
7727
|
var error21 = /* @__PURE__ */ __name(() => {
|
|
7728
7728
|
const Sizable = {
|
|
7729
7729
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -7832,7 +7832,7 @@ function id_default() {
|
|
|
7832
7832
|
}
|
|
7833
7833
|
__name(id_default, "default");
|
|
7834
7834
|
|
|
7835
|
-
// ../../../node_modules
|
|
7835
|
+
// ../../../node_modules/zod/v4/locales/is.js
|
|
7836
7836
|
var error22 = /* @__PURE__ */ __name(() => {
|
|
7837
7837
|
const Sizable = {
|
|
7838
7838
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -7944,7 +7944,7 @@ function is_default() {
|
|
|
7944
7944
|
}
|
|
7945
7945
|
__name(is_default, "default");
|
|
7946
7946
|
|
|
7947
|
-
// ../../../node_modules
|
|
7947
|
+
// ../../../node_modules/zod/v4/locales/it.js
|
|
7948
7948
|
var error23 = /* @__PURE__ */ __name(() => {
|
|
7949
7949
|
const Sizable = {
|
|
7950
7950
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -8055,7 +8055,7 @@ function it_default() {
|
|
|
8055
8055
|
}
|
|
8056
8056
|
__name(it_default, "default");
|
|
8057
8057
|
|
|
8058
|
-
// ../../../node_modules
|
|
8058
|
+
// ../../../node_modules/zod/v4/locales/ja.js
|
|
8059
8059
|
var error24 = /* @__PURE__ */ __name(() => {
|
|
8060
8060
|
const Sizable = {
|
|
8061
8061
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -8165,7 +8165,7 @@ function ja_default() {
|
|
|
8165
8165
|
}
|
|
8166
8166
|
__name(ja_default, "default");
|
|
8167
8167
|
|
|
8168
|
-
// ../../../node_modules
|
|
8168
|
+
// ../../../node_modules/zod/v4/locales/ka.js
|
|
8169
8169
|
var error25 = /* @__PURE__ */ __name(() => {
|
|
8170
8170
|
const Sizable = {
|
|
8171
8171
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -8280,7 +8280,7 @@ function ka_default() {
|
|
|
8280
8280
|
}
|
|
8281
8281
|
__name(ka_default, "default");
|
|
8282
8282
|
|
|
8283
|
-
// ../../../node_modules
|
|
8283
|
+
// ../../../node_modules/zod/v4/locales/km.js
|
|
8284
8284
|
var error26 = /* @__PURE__ */ __name(() => {
|
|
8285
8285
|
const Sizable = {
|
|
8286
8286
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -8393,13 +8393,13 @@ function km_default() {
|
|
|
8393
8393
|
}
|
|
8394
8394
|
__name(km_default, "default");
|
|
8395
8395
|
|
|
8396
|
-
// ../../../node_modules
|
|
8396
|
+
// ../../../node_modules/zod/v4/locales/kh.js
|
|
8397
8397
|
function kh_default() {
|
|
8398
8398
|
return km_default();
|
|
8399
8399
|
}
|
|
8400
8400
|
__name(kh_default, "default");
|
|
8401
8401
|
|
|
8402
|
-
// ../../../node_modules
|
|
8402
|
+
// ../../../node_modules/zod/v4/locales/ko.js
|
|
8403
8403
|
var error27 = /* @__PURE__ */ __name(() => {
|
|
8404
8404
|
const Sizable = {
|
|
8405
8405
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -8513,7 +8513,7 @@ function ko_default() {
|
|
|
8513
8513
|
}
|
|
8514
8514
|
__name(ko_default, "default");
|
|
8515
8515
|
|
|
8516
|
-
// ../../../node_modules
|
|
8516
|
+
// ../../../node_modules/zod/v4/locales/lt.js
|
|
8517
8517
|
var capitalizeFirstCharacter = /* @__PURE__ */ __name((text) => {
|
|
8518
8518
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
8519
8519
|
}, "capitalizeFirstCharacter");
|
|
@@ -8720,7 +8720,7 @@ function lt_default() {
|
|
|
8720
8720
|
}
|
|
8721
8721
|
__name(lt_default, "default");
|
|
8722
8722
|
|
|
8723
|
-
// ../../../node_modules
|
|
8723
|
+
// ../../../node_modules/zod/v4/locales/mk.js
|
|
8724
8724
|
var error29 = /* @__PURE__ */ __name(() => {
|
|
8725
8725
|
const Sizable = {
|
|
8726
8726
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -8832,7 +8832,7 @@ function mk_default() {
|
|
|
8832
8832
|
}
|
|
8833
8833
|
__name(mk_default, "default");
|
|
8834
8834
|
|
|
8835
|
-
// ../../../node_modules
|
|
8835
|
+
// ../../../node_modules/zod/v4/locales/ms.js
|
|
8836
8836
|
var error30 = /* @__PURE__ */ __name(() => {
|
|
8837
8837
|
const Sizable = {
|
|
8838
8838
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -8942,7 +8942,7 @@ function ms_default() {
|
|
|
8942
8942
|
}
|
|
8943
8943
|
__name(ms_default, "default");
|
|
8944
8944
|
|
|
8945
|
-
// ../../../node_modules
|
|
8945
|
+
// ../../../node_modules/zod/v4/locales/nl.js
|
|
8946
8946
|
var error31 = /* @__PURE__ */ __name(() => {
|
|
8947
8947
|
const Sizable = {
|
|
8948
8948
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -9055,7 +9055,7 @@ function nl_default() {
|
|
|
9055
9055
|
}
|
|
9056
9056
|
__name(nl_default, "default");
|
|
9057
9057
|
|
|
9058
|
-
// ../../../node_modules
|
|
9058
|
+
// ../../../node_modules/zod/v4/locales/no.js
|
|
9059
9059
|
var error32 = /* @__PURE__ */ __name(() => {
|
|
9060
9060
|
const Sizable = {
|
|
9061
9061
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -9166,7 +9166,7 @@ function no_default() {
|
|
|
9166
9166
|
}
|
|
9167
9167
|
__name(no_default, "default");
|
|
9168
9168
|
|
|
9169
|
-
// ../../../node_modules
|
|
9169
|
+
// ../../../node_modules/zod/v4/locales/ota.js
|
|
9170
9170
|
var error33 = /* @__PURE__ */ __name(() => {
|
|
9171
9171
|
const Sizable = {
|
|
9172
9172
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -9278,7 +9278,7 @@ function ota_default() {
|
|
|
9278
9278
|
}
|
|
9279
9279
|
__name(ota_default, "default");
|
|
9280
9280
|
|
|
9281
|
-
// ../../../node_modules
|
|
9281
|
+
// ../../../node_modules/zod/v4/locales/ps.js
|
|
9282
9282
|
var error34 = /* @__PURE__ */ __name(() => {
|
|
9283
9283
|
const Sizable = {
|
|
9284
9284
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -9395,7 +9395,7 @@ function ps_default() {
|
|
|
9395
9395
|
}
|
|
9396
9396
|
__name(ps_default, "default");
|
|
9397
9397
|
|
|
9398
|
-
// ../../../node_modules
|
|
9398
|
+
// ../../../node_modules/zod/v4/locales/pl.js
|
|
9399
9399
|
var error35 = /* @__PURE__ */ __name(() => {
|
|
9400
9400
|
const Sizable = {
|
|
9401
9401
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -9507,7 +9507,7 @@ function pl_default() {
|
|
|
9507
9507
|
}
|
|
9508
9508
|
__name(pl_default, "default");
|
|
9509
9509
|
|
|
9510
|
-
// ../../../node_modules
|
|
9510
|
+
// ../../../node_modules/zod/v4/locales/pt.js
|
|
9511
9511
|
var error36 = /* @__PURE__ */ __name(() => {
|
|
9512
9512
|
const Sizable = {
|
|
9513
9513
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -9618,7 +9618,7 @@ function pt_default() {
|
|
|
9618
9618
|
}
|
|
9619
9619
|
__name(pt_default, "default");
|
|
9620
9620
|
|
|
9621
|
-
// ../../../node_modules
|
|
9621
|
+
// ../../../node_modules/zod/v4/locales/ro.js
|
|
9622
9622
|
var error37 = /* @__PURE__ */ __name(() => {
|
|
9623
9623
|
const Sizable = {
|
|
9624
9624
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -9740,7 +9740,7 @@ function ro_default() {
|
|
|
9740
9740
|
}
|
|
9741
9741
|
__name(ro_default, "default");
|
|
9742
9742
|
|
|
9743
|
-
// ../../../node_modules
|
|
9743
|
+
// ../../../node_modules/zod/v4/locales/ru.js
|
|
9744
9744
|
function getRussianPlural(count, one, few, many) {
|
|
9745
9745
|
const absCount = Math.abs(count);
|
|
9746
9746
|
const lastDigit = absCount % 10;
|
|
@@ -9900,7 +9900,7 @@ function ru_default() {
|
|
|
9900
9900
|
}
|
|
9901
9901
|
__name(ru_default, "default");
|
|
9902
9902
|
|
|
9903
|
-
// ../../../node_modules
|
|
9903
|
+
// ../../../node_modules/zod/v4/locales/sl.js
|
|
9904
9904
|
var error39 = /* @__PURE__ */ __name(() => {
|
|
9905
9905
|
const Sizable = {
|
|
9906
9906
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -10012,7 +10012,7 @@ function sl_default() {
|
|
|
10012
10012
|
}
|
|
10013
10013
|
__name(sl_default, "default");
|
|
10014
10014
|
|
|
10015
|
-
// ../../../node_modules
|
|
10015
|
+
// ../../../node_modules/zod/v4/locales/sv.js
|
|
10016
10016
|
var error40 = /* @__PURE__ */ __name(() => {
|
|
10017
10017
|
const Sizable = {
|
|
10018
10018
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -10125,7 +10125,7 @@ function sv_default() {
|
|
|
10125
10125
|
}
|
|
10126
10126
|
__name(sv_default, "default");
|
|
10127
10127
|
|
|
10128
|
-
// ../../../node_modules
|
|
10128
|
+
// ../../../node_modules/zod/v4/locales/ta.js
|
|
10129
10129
|
var error41 = /* @__PURE__ */ __name(() => {
|
|
10130
10130
|
const Sizable = {
|
|
10131
10131
|
string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -10238,7 +10238,7 @@ function ta_default() {
|
|
|
10238
10238
|
}
|
|
10239
10239
|
__name(ta_default, "default");
|
|
10240
10240
|
|
|
10241
|
-
// ../../../node_modules
|
|
10241
|
+
// ../../../node_modules/zod/v4/locales/th.js
|
|
10242
10242
|
var error42 = /* @__PURE__ */ __name(() => {
|
|
10243
10243
|
const Sizable = {
|
|
10244
10244
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -10351,7 +10351,7 @@ function th_default() {
|
|
|
10351
10351
|
}
|
|
10352
10352
|
__name(th_default, "default");
|
|
10353
10353
|
|
|
10354
|
-
// ../../../node_modules
|
|
10354
|
+
// ../../../node_modules/zod/v4/locales/tr.js
|
|
10355
10355
|
var error43 = /* @__PURE__ */ __name(() => {
|
|
10356
10356
|
const Sizable = {
|
|
10357
10357
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -10459,7 +10459,7 @@ function tr_default() {
|
|
|
10459
10459
|
}
|
|
10460
10460
|
__name(tr_default, "default");
|
|
10461
10461
|
|
|
10462
|
-
// ../../../node_modules
|
|
10462
|
+
// ../../../node_modules/zod/v4/locales/uk.js
|
|
10463
10463
|
var error44 = /* @__PURE__ */ __name(() => {
|
|
10464
10464
|
const Sizable = {
|
|
10465
10465
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -10570,13 +10570,13 @@ function uk_default() {
|
|
|
10570
10570
|
}
|
|
10571
10571
|
__name(uk_default, "default");
|
|
10572
10572
|
|
|
10573
|
-
// ../../../node_modules
|
|
10573
|
+
// ../../../node_modules/zod/v4/locales/ua.js
|
|
10574
10574
|
function ua_default() {
|
|
10575
10575
|
return uk_default();
|
|
10576
10576
|
}
|
|
10577
10577
|
__name(ua_default, "default");
|
|
10578
10578
|
|
|
10579
|
-
// ../../../node_modules
|
|
10579
|
+
// ../../../node_modules/zod/v4/locales/ur.js
|
|
10580
10580
|
var error45 = /* @__PURE__ */ __name(() => {
|
|
10581
10581
|
const Sizable = {
|
|
10582
10582
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -10689,7 +10689,7 @@ function ur_default() {
|
|
|
10689
10689
|
}
|
|
10690
10690
|
__name(ur_default, "default");
|
|
10691
10691
|
|
|
10692
|
-
// ../../../node_modules
|
|
10692
|
+
// ../../../node_modules/zod/v4/locales/uz.js
|
|
10693
10693
|
var error46 = /* @__PURE__ */ __name(() => {
|
|
10694
10694
|
const Sizable = {
|
|
10695
10695
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -10802,7 +10802,7 @@ function uz_default() {
|
|
|
10802
10802
|
}
|
|
10803
10803
|
__name(uz_default, "default");
|
|
10804
10804
|
|
|
10805
|
-
// ../../../node_modules
|
|
10805
|
+
// ../../../node_modules/zod/v4/locales/vi.js
|
|
10806
10806
|
var error47 = /* @__PURE__ */ __name(() => {
|
|
10807
10807
|
const Sizable = {
|
|
10808
10808
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -10913,7 +10913,7 @@ function vi_default() {
|
|
|
10913
10913
|
}
|
|
10914
10914
|
__name(vi_default, "default");
|
|
10915
10915
|
|
|
10916
|
-
// ../../../node_modules
|
|
10916
|
+
// ../../../node_modules/zod/v4/locales/zh-CN.js
|
|
10917
10917
|
var error48 = /* @__PURE__ */ __name(() => {
|
|
10918
10918
|
const Sizable = {
|
|
10919
10919
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -11025,7 +11025,7 @@ function zh_CN_default() {
|
|
|
11025
11025
|
}
|
|
11026
11026
|
__name(zh_CN_default, "default");
|
|
11027
11027
|
|
|
11028
|
-
// ../../../node_modules
|
|
11028
|
+
// ../../../node_modules/zod/v4/locales/zh-TW.js
|
|
11029
11029
|
var error49 = /* @__PURE__ */ __name(() => {
|
|
11030
11030
|
const Sizable = {
|
|
11031
11031
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -11135,7 +11135,7 @@ function zh_TW_default() {
|
|
|
11135
11135
|
}
|
|
11136
11136
|
__name(zh_TW_default, "default");
|
|
11137
11137
|
|
|
11138
|
-
// ../../../node_modules
|
|
11138
|
+
// ../../../node_modules/zod/v4/locales/yo.js
|
|
11139
11139
|
var error50 = /* @__PURE__ */ __name(() => {
|
|
11140
11140
|
const Sizable = {
|
|
11141
11141
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -11245,7 +11245,7 @@ function yo_default() {
|
|
|
11245
11245
|
}
|
|
11246
11246
|
__name(yo_default, "default");
|
|
11247
11247
|
|
|
11248
|
-
// ../../../node_modules
|
|
11248
|
+
// ../../../node_modules/zod/v4/core/registries.js
|
|
11249
11249
|
var _a2;
|
|
11250
11250
|
var $output = Symbol("ZodOutput");
|
|
11251
11251
|
var $input = Symbol("ZodInput");
|
|
@@ -11297,7 +11297,7 @@ __name(registry, "registry");
|
|
|
11297
11297
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
11298
11298
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
11299
11299
|
|
|
11300
|
-
// ../../../node_modules
|
|
11300
|
+
// ../../../node_modules/zod/v4/core/api.js
|
|
11301
11301
|
function _string(Class2, params) {
|
|
11302
11302
|
return new Class2({
|
|
11303
11303
|
type: "string",
|
|
@@ -12334,7 +12334,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
12334
12334
|
}
|
|
12335
12335
|
__name(_stringFormat, "_stringFormat");
|
|
12336
12336
|
|
|
12337
|
-
// ../../../node_modules
|
|
12337
|
+
// ../../../node_modules/zod/v4/core/to-json-schema.js
|
|
12338
12338
|
function initializeContext(params) {
|
|
12339
12339
|
let target = params?.target ?? "draft-2020-12";
|
|
12340
12340
|
if (target === "draft-4")
|
|
@@ -12698,7 +12698,7 @@ var createStandardJSONSchemaMethod = /* @__PURE__ */ __name((schema, io, process
|
|
|
12698
12698
|
return finalize2(ctx, schema);
|
|
12699
12699
|
}, "createStandardJSONSchemaMethod");
|
|
12700
12700
|
|
|
12701
|
-
// ../../../node_modules
|
|
12701
|
+
// ../../../node_modules/zod/v4/core/json-schema-processors.js
|
|
12702
12702
|
var formatMap = {
|
|
12703
12703
|
guid: "uuid",
|
|
12704
12704
|
url: "uri",
|
|
@@ -13242,7 +13242,7 @@ function toJSONSchema(input, params) {
|
|
|
13242
13242
|
}
|
|
13243
13243
|
__name(toJSONSchema, "toJSONSchema");
|
|
13244
13244
|
|
|
13245
|
-
// ../../../node_modules
|
|
13245
|
+
// ../../../node_modules/zod/v4/core/json-schema-generator.js
|
|
13246
13246
|
var JSONSchemaGenerator = class {
|
|
13247
13247
|
get metadataRegistry() {
|
|
13248
13248
|
return this.ctx.metadataRegistry;
|
|
@@ -13303,10 +13303,10 @@ var JSONSchemaGenerator = class {
|
|
|
13303
13303
|
};
|
|
13304
13304
|
__name(JSONSchemaGenerator, "JSONSchemaGenerator");
|
|
13305
13305
|
|
|
13306
|
-
// ../../../node_modules
|
|
13306
|
+
// ../../../node_modules/zod/v4/core/json-schema.js
|
|
13307
13307
|
var json_schema_exports = {};
|
|
13308
13308
|
|
|
13309
|
-
// ../../../node_modules
|
|
13309
|
+
// ../../../node_modules/zod/v4/classic/schemas.js
|
|
13310
13310
|
var schemas_exports2 = {};
|
|
13311
13311
|
__export(schemas_exports2, {
|
|
13312
13312
|
ZodAny: () => ZodAny,
|
|
@@ -13477,7 +13477,7 @@ __export(schemas_exports2, {
|
|
|
13477
13477
|
xor: () => xor
|
|
13478
13478
|
});
|
|
13479
13479
|
|
|
13480
|
-
// ../../../node_modules
|
|
13480
|
+
// ../../../node_modules/zod/v4/classic/checks.js
|
|
13481
13481
|
var checks_exports2 = {};
|
|
13482
13482
|
__export(checks_exports2, {
|
|
13483
13483
|
endsWith: () => _endsWith,
|
|
@@ -13511,7 +13511,7 @@ __export(checks_exports2, {
|
|
|
13511
13511
|
uppercase: () => _uppercase
|
|
13512
13512
|
});
|
|
13513
13513
|
|
|
13514
|
-
// ../../../node_modules
|
|
13514
|
+
// ../../../node_modules/zod/v4/classic/iso.js
|
|
13515
13515
|
var iso_exports = {};
|
|
13516
13516
|
__export(iso_exports, {
|
|
13517
13517
|
ZodISODate: () => ZodISODate,
|
|
@@ -13556,7 +13556,7 @@ function duration2(params) {
|
|
|
13556
13556
|
}
|
|
13557
13557
|
__name(duration2, "duration");
|
|
13558
13558
|
|
|
13559
|
-
// ../../../node_modules
|
|
13559
|
+
// ../../../node_modules/zod/v4/classic/errors.js
|
|
13560
13560
|
var initializer2 = /* @__PURE__ */ __name((inst, issues) => {
|
|
13561
13561
|
$ZodError.init(inst, issues);
|
|
13562
13562
|
inst.name = "ZodError";
|
|
@@ -13591,7 +13591,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
|
13591
13591
|
Parent: Error
|
|
13592
13592
|
});
|
|
13593
13593
|
|
|
13594
|
-
// ../../../node_modules
|
|
13594
|
+
// ../../../node_modules/zod/v4/classic/parse.js
|
|
13595
13595
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
13596
13596
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
13597
13597
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -13605,7 +13605,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
13605
13605
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
13606
13606
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
13607
13607
|
|
|
13608
|
-
// ../../../node_modules
|
|
13608
|
+
// ../../../node_modules/zod/v4/classic/schemas.js
|
|
13609
13609
|
var _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
13610
13610
|
function _installLazyMethods(inst, group, methods) {
|
|
13611
13611
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -14986,7 +14986,7 @@ function preprocess(fn, schema) {
|
|
|
14986
14986
|
}
|
|
14987
14987
|
__name(preprocess, "preprocess");
|
|
14988
14988
|
|
|
14989
|
-
// ../../../node_modules
|
|
14989
|
+
// ../../../node_modules/zod/v4/classic/compat.js
|
|
14990
14990
|
var ZodIssueCode = {
|
|
14991
14991
|
invalid_type: "invalid_type",
|
|
14992
14992
|
too_big: "too_big",
|
|
@@ -15014,7 +15014,7 @@ var ZodFirstPartyTypeKind;
|
|
|
15014
15014
|
(function(ZodFirstPartyTypeKind2) {
|
|
15015
15015
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
15016
15016
|
|
|
15017
|
-
// ../../../node_modules
|
|
15017
|
+
// ../../../node_modules/zod/v4/classic/from-json-schema.js
|
|
15018
15018
|
var z = {
|
|
15019
15019
|
...schemas_exports2,
|
|
15020
15020
|
...checks_exports2,
|
|
@@ -15487,7 +15487,7 @@ function fromJSONSchema(schema, params) {
|
|
|
15487
15487
|
}
|
|
15488
15488
|
__name(fromJSONSchema, "fromJSONSchema");
|
|
15489
15489
|
|
|
15490
|
-
// ../../../node_modules
|
|
15490
|
+
// ../../../node_modules/zod/v4/classic/coerce.js
|
|
15491
15491
|
var coerce_exports = {};
|
|
15492
15492
|
__export(coerce_exports, {
|
|
15493
15493
|
bigint: () => bigint3,
|
|
@@ -15517,14 +15517,14 @@ function date4(params) {
|
|
|
15517
15517
|
}
|
|
15518
15518
|
__name(date4, "date");
|
|
15519
15519
|
|
|
15520
|
-
// ../../../node_modules
|
|
15520
|
+
// ../../../node_modules/zod/v4/classic/external.js
|
|
15521
15521
|
config(en_default());
|
|
15522
15522
|
|
|
15523
|
-
// ../../../node_modules
|
|
15524
|
-
var version2 = "3.
|
|
15523
|
+
// ../../../node_modules/js-base64/base64.mjs
|
|
15524
|
+
var version2 = "3.8.0";
|
|
15525
15525
|
var VERSION = version2;
|
|
15526
15526
|
var _hasBuffer = typeof Buffer === "function";
|
|
15527
|
-
var _TD = typeof TextDecoder === "function" ? new TextDecoder() : void 0;
|
|
15527
|
+
var _TD = typeof TextDecoder === "function" ? new TextDecoder("utf-8", { ignoreBOM: true }) : void 0;
|
|
15528
15528
|
var _TE = typeof TextEncoder === "function" ? new TextEncoder() : void 0;
|
|
15529
15529
|
var b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
15530
15530
|
var b64chs = Array.prototype.slice.call(b64ch);
|
|
@@ -15682,7 +15682,7 @@ var gBase64 = {
|
|
|
15682
15682
|
extendBuiltins
|
|
15683
15683
|
};
|
|
15684
15684
|
|
|
15685
|
-
// ../../../node_modules
|
|
15685
|
+
// ../../../node_modules/@sd-jwt/utils/dist/index.mjs
|
|
15686
15686
|
var base64urlEncode = gBase64.encodeURI;
|
|
15687
15687
|
var base64urlDecode = gBase64.decode;
|
|
15688
15688
|
|
|
@@ -15695,11 +15695,7 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
|
15695
15695
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
15696
15696
|
var __name2 = /* @__PURE__ */ __name((target, value) => __defProp2(target, "name", { value, configurable: true }), "__name");
|
|
15697
15697
|
var __commonJS = /* @__PURE__ */ __name((cb, mod) => /* @__PURE__ */ __name(function __require() {
|
|
15698
|
-
|
|
15699
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15700
|
-
} catch (e) {
|
|
15701
|
-
throw mod = 0, e;
|
|
15702
|
-
}
|
|
15698
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15703
15699
|
}, "__require"), "__commonJS");
|
|
15704
15700
|
var __export2 = /* @__PURE__ */ __name((target, all) => {
|
|
15705
15701
|
for (var name in all)
|
|
@@ -33257,7 +33253,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33257
33253
|
includePersonalData: external_exports2.boolean().optional().default(false),
|
|
33258
33254
|
format: external_exports2.enum(["prompt", "structured"]).optional().default("prompt"),
|
|
33259
33255
|
instructions: external_exports2.string().optional(),
|
|
33260
|
-
detailLevel: external_exports2.enum(["compact", "expanded"]).optional().default("compact")
|
|
33256
|
+
detailLevel: external_exports2.enum(["compact", "expanded"]).optional().default("compact"),
|
|
33257
|
+
waitForSync: external_exports2.boolean().optional().default(false)
|
|
33261
33258
|
});
|
|
33262
33259
|
var SummaryCredentialKeywordValidator2 = external_exports2.object({
|
|
33263
33260
|
occupations: external_exports2.array(external_exports2.string()).nullable(),
|
|
@@ -33466,7 +33463,7 @@ var getFileType = /* @__PURE__ */ __name2(async (url2) => {
|
|
|
33466
33463
|
const handle = getFilestackHandle(url2);
|
|
33467
33464
|
try {
|
|
33468
33465
|
const data = await (await fetch(`https://www.filestackapi.com/api/file/${handle}/metadata`)).json();
|
|
33469
|
-
return data.mimetype;
|
|
33466
|
+
return data.mimetype ?? "";
|
|
33470
33467
|
} catch (error51) {
|
|
33471
33468
|
console.error(error51);
|
|
33472
33469
|
return "";
|
|
@@ -35477,7 +35474,8 @@ var RequestLearnerContextEventValidator = external_exports.object({
|
|
|
35477
35474
|
includePersonalData: external_exports.boolean().optional().default(false),
|
|
35478
35475
|
format: external_exports.enum(["prompt", "structured"]).optional().default("prompt"),
|
|
35479
35476
|
instructions: external_exports.string().optional(),
|
|
35480
|
-
detailLevel: external_exports.enum(["compact", "expanded"]).optional().default("compact")
|
|
35477
|
+
detailLevel: external_exports.enum(["compact", "expanded"]).optional().default("compact"),
|
|
35478
|
+
waitForSync: external_exports.boolean().optional().default(false)
|
|
35481
35479
|
});
|
|
35482
35480
|
var SummaryCredentialKeywordValidator = external_exports.object({
|
|
35483
35481
|
occupations: external_exports.array(external_exports.string()).nullable(),
|