@learncard/init 2.4.3 → 2.4.4
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/README.md +12 -7
- package/dist/init.cjs.development.cjs +205 -169
- package/dist/init.cjs.development.cjs.map +3 -3
- package/dist/init.cjs.production.min.cjs +7 -7
- package/dist/init.cjs.production.min.cjs.map +4 -4
- package/dist/init.esm.js +205 -169
- package/dist/init.esm.js.map +3 -3
- package/package.json +84 -92
- package/src/defaults.ts +6 -0
- package/src/index.ts +2 -0
- package/src/init.ts +144 -0
- package/src/initializers/apiLearnCard.ts +36 -0
- package/src/initializers/customLearnCard.ts +11 -0
- package/src/initializers/didWebLearnCardFromSeed.ts +96 -0
- package/src/initializers/didWebNetworkLearnCardFromSeed.ts +114 -0
- package/src/initializers/emptyLearnCard.ts +46 -0
- package/src/initializers/learnCardFromSeed.ts +93 -0
- package/src/initializers/networkLearnCardFromApiKey.ts +69 -0
- package/src/initializers/networkLearnCardFromSeed.ts +108 -0
- package/src/types/LearnCard.ts +244 -0
- package/src/types/didkit-plugin-node-ambient.d.ts +6 -0
- package/src/types/helpers.ts +17 -0
- package/dist/node-esm.mjs +0 -32
|
@@ -96,7 +96,7 @@ var import_chapi_plugin2 = require("@learncard/chapi-plugin");
|
|
|
96
96
|
var import_learn_card_plugin2 = require("@learncard/learn-card-plugin");
|
|
97
97
|
var import_openid4vc_plugin = require("@learncard/openid4vc-plugin");
|
|
98
98
|
|
|
99
|
-
// ../../node_modules
|
|
99
|
+
// ../../node_modules/@sd-jwt/types/dist/index.mjs
|
|
100
100
|
var SD_SEPARATOR = "~";
|
|
101
101
|
var SD_LIST_KEY = "...";
|
|
102
102
|
var SD_DIGEST = "_sd";
|
|
@@ -122,11 +122,11 @@ var IANA_HASH_ALGORITHMS = [
|
|
|
122
122
|
"k12-512"
|
|
123
123
|
];
|
|
124
124
|
|
|
125
|
-
// ../../node_modules
|
|
126
|
-
var version = "3.
|
|
125
|
+
// ../../node_modules/js-base64/base64.mjs
|
|
126
|
+
var version = "3.8.0";
|
|
127
127
|
var VERSION = version;
|
|
128
128
|
var _hasBuffer = typeof Buffer === "function";
|
|
129
|
-
var _TD = typeof TextDecoder === "function" ? new TextDecoder() : void 0;
|
|
129
|
+
var _TD = typeof TextDecoder === "function" ? new TextDecoder("utf-8", { ignoreBOM: true }) : void 0;
|
|
130
130
|
var _TE = typeof TextEncoder === "function" ? new TextEncoder() : void 0;
|
|
131
131
|
var b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
132
132
|
var b64chs = Array.prototype.slice.call(b64ch);
|
|
@@ -284,7 +284,7 @@ var gBase64 = {
|
|
|
284
284
|
extendBuiltins
|
|
285
285
|
};
|
|
286
286
|
|
|
287
|
-
// ../../node_modules
|
|
287
|
+
// ../../node_modules/@sd-jwt/utils/dist/index.mjs
|
|
288
288
|
var __async = /* @__PURE__ */ __name((__this, __arguments, generator) => {
|
|
289
289
|
return new Promise((resolve, reject) => {
|
|
290
290
|
var fulfilled = /* @__PURE__ */ __name((value) => {
|
|
@@ -390,7 +390,7 @@ var Disclosure = (_a2 = class {
|
|
|
390
390
|
}
|
|
391
391
|
}, __name(_a2, "_Disclosure"), _a2);
|
|
392
392
|
|
|
393
|
-
// ../../node_modules
|
|
393
|
+
// ../../node_modules/@sd-jwt/decode/dist/index.mjs
|
|
394
394
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
395
395
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
396
396
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -566,7 +566,7 @@ var unpack = /* @__PURE__ */ __name((SdJwtPayload, disclosures, hasher) => __asy
|
|
|
566
566
|
return unpackObj(payload, map2);
|
|
567
567
|
}), "unpack");
|
|
568
568
|
|
|
569
|
-
// ../../node_modules
|
|
569
|
+
// ../../node_modules/@sd-jwt/present/dist/index.mjs
|
|
570
570
|
var transformPresentationFrame = /* @__PURE__ */ __name((obj, prefix = "") => {
|
|
571
571
|
return Object.entries(obj).reduce((acc, [key, value]) => {
|
|
572
572
|
const newPrefix = prefix ? `${prefix}.${key}` : key;
|
|
@@ -587,7 +587,7 @@ var transformPresentationFrame = /* @__PURE__ */ __name((obj, prefix = "") => {
|
|
|
587
587
|
}, []);
|
|
588
588
|
}, "transformPresentationFrame");
|
|
589
589
|
|
|
590
|
-
// ../../node_modules
|
|
590
|
+
// ../../node_modules/@sd-jwt/core/dist/index.mjs
|
|
591
591
|
var __defProp2 = Object.defineProperty;
|
|
592
592
|
var __defProps = Object.defineProperties;
|
|
593
593
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
@@ -1708,7 +1708,7 @@ var SDJwtGeneralJSONInstance = (_a9 = class {
|
|
|
1708
1708
|
}, __name(_a9, "SDJwtGeneralJSONInstance"), _a9);
|
|
1709
1709
|
SDJwtGeneralJSONInstance.DEFAULT_hashAlg = "sha-256";
|
|
1710
1710
|
|
|
1711
|
-
// ../../node_modules
|
|
1711
|
+
// ../../node_modules/@sd-jwt/jwt-status-list/node_modules/pako/dist/pako.esm.mjs
|
|
1712
1712
|
var Z_FIXED$1 = 4;
|
|
1713
1713
|
var Z_BINARY = 0;
|
|
1714
1714
|
var Z_TEXT = 1;
|
|
@@ -2458,7 +2458,7 @@ var {
|
|
|
2458
2458
|
Z_STREAM_END: Z_STREAM_END$3,
|
|
2459
2459
|
Z_STREAM_ERROR: Z_STREAM_ERROR$2,
|
|
2460
2460
|
Z_DATA_ERROR: Z_DATA_ERROR$2,
|
|
2461
|
-
Z_BUF_ERROR: Z_BUF_ERROR$
|
|
2461
|
+
Z_BUF_ERROR: Z_BUF_ERROR$2,
|
|
2462
2462
|
Z_DEFAULT_COMPRESSION: Z_DEFAULT_COMPRESSION$1,
|
|
2463
2463
|
Z_FILTERED,
|
|
2464
2464
|
Z_HUFFMAN_ONLY,
|
|
@@ -2525,8 +2525,20 @@ var slide_hash = /* @__PURE__ */ __name((s) => {
|
|
|
2525
2525
|
s.prev[p] = m >= wsize ? m - wsize : 0;
|
|
2526
2526
|
} while (--n);
|
|
2527
2527
|
}, "slide_hash");
|
|
2528
|
-
var
|
|
2529
|
-
var
|
|
2528
|
+
var HASH = /* @__PURE__ */ __name((s, prev, data) => (prev << s.hash_shift ^ data) & s.hash_mask, "HASH");
|
|
2529
|
+
var INSERT_STRING = /* @__PURE__ */ __name((s, str) => {
|
|
2530
|
+
let h;
|
|
2531
|
+
if (s.legacy_hash) {
|
|
2532
|
+
h = s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]);
|
|
2533
|
+
} else {
|
|
2534
|
+
const w = s.window;
|
|
2535
|
+
const value = w[str] | w[str + 1] << 8 | w[str + 2] << 16 | w[str + 3] << 24;
|
|
2536
|
+
h = s.ins_h = Math.imul(value, 66521) + 66521 >>> 16 & s.hash_mask;
|
|
2537
|
+
}
|
|
2538
|
+
const hash_head = s.prev[str & s.w_mask] = s.head[h];
|
|
2539
|
+
s.head[h] = str;
|
|
2540
|
+
return hash_head;
|
|
2541
|
+
}, "INSERT_STRING");
|
|
2530
2542
|
var flush_pending = /* @__PURE__ */ __name((strm) => {
|
|
2531
2543
|
const s = strm.state;
|
|
2532
2544
|
let len = s.pending;
|
|
@@ -2644,14 +2656,24 @@ var fill_window = /* @__PURE__ */ __name((s) => {
|
|
|
2644
2656
|
}
|
|
2645
2657
|
n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more);
|
|
2646
2658
|
s.lookahead += n;
|
|
2647
|
-
if (s.
|
|
2659
|
+
if (!s.legacy_hash) {
|
|
2660
|
+
if (s.lookahead + s.insert > MIN_MATCH) {
|
|
2661
|
+
str = s.strstart - s.insert;
|
|
2662
|
+
while (s.insert) {
|
|
2663
|
+
INSERT_STRING(s, str);
|
|
2664
|
+
str++;
|
|
2665
|
+
s.insert--;
|
|
2666
|
+
if (s.lookahead + s.insert <= MIN_MATCH) {
|
|
2667
|
+
break;
|
|
2668
|
+
}
|
|
2669
|
+
}
|
|
2670
|
+
}
|
|
2671
|
+
} else if (s.lookahead + s.insert >= MIN_MATCH) {
|
|
2648
2672
|
str = s.strstart - s.insert;
|
|
2649
2673
|
s.ins_h = s.window[str];
|
|
2650
2674
|
s.ins_h = HASH(s, s.ins_h, s.window[str + 1]);
|
|
2651
2675
|
while (s.insert) {
|
|
2652
|
-
|
|
2653
|
-
s.prev[str & s.w_mask] = s.head[s.ins_h];
|
|
2654
|
-
s.head[s.ins_h] = str;
|
|
2676
|
+
INSERT_STRING(s, str);
|
|
2655
2677
|
str++;
|
|
2656
2678
|
s.insert--;
|
|
2657
2679
|
if (s.lookahead + s.insert < MIN_MATCH) {
|
|
@@ -2792,9 +2814,7 @@ var deflate_fast = /* @__PURE__ */ __name((s, flush) => {
|
|
|
2792
2814
|
}
|
|
2793
2815
|
hash_head = 0;
|
|
2794
2816
|
if (s.lookahead >= MIN_MATCH) {
|
|
2795
|
-
|
|
2796
|
-
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
|
2797
|
-
s.head[s.ins_h] = s.strstart;
|
|
2817
|
+
hash_head = INSERT_STRING(s, s.strstart);
|
|
2798
2818
|
}
|
|
2799
2819
|
if (hash_head !== 0 && s.strstart - hash_head <= s.w_size - MIN_LOOKAHEAD) {
|
|
2800
2820
|
s.match_length = longest_match(s, hash_head);
|
|
@@ -2806,16 +2826,16 @@ var deflate_fast = /* @__PURE__ */ __name((s, flush) => {
|
|
|
2806
2826
|
s.match_length--;
|
|
2807
2827
|
do {
|
|
2808
2828
|
s.strstart++;
|
|
2809
|
-
|
|
2810
|
-
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
|
2811
|
-
s.head[s.ins_h] = s.strstart;
|
|
2829
|
+
hash_head = INSERT_STRING(s, s.strstart);
|
|
2812
2830
|
} while (--s.match_length !== 0);
|
|
2813
2831
|
s.strstart++;
|
|
2814
2832
|
} else {
|
|
2815
2833
|
s.strstart += s.match_length;
|
|
2816
2834
|
s.match_length = 0;
|
|
2817
|
-
s.
|
|
2818
|
-
|
|
2835
|
+
if (s.legacy_hash) {
|
|
2836
|
+
s.ins_h = s.window[s.strstart];
|
|
2837
|
+
s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + 1]);
|
|
2838
|
+
}
|
|
2819
2839
|
}
|
|
2820
2840
|
} else {
|
|
2821
2841
|
bflush = _tr_tally(s, 0, s.window[s.strstart]);
|
|
@@ -2861,9 +2881,7 @@ var deflate_slow = /* @__PURE__ */ __name((s, flush) => {
|
|
|
2861
2881
|
}
|
|
2862
2882
|
hash_head = 0;
|
|
2863
2883
|
if (s.lookahead >= MIN_MATCH) {
|
|
2864
|
-
|
|
2865
|
-
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
|
2866
|
-
s.head[s.ins_h] = s.strstart;
|
|
2884
|
+
hash_head = INSERT_STRING(s, s.strstart);
|
|
2867
2885
|
}
|
|
2868
2886
|
s.prev_length = s.match_length;
|
|
2869
2887
|
s.prev_match = s.match_start;
|
|
@@ -2881,9 +2899,7 @@ var deflate_slow = /* @__PURE__ */ __name((s, flush) => {
|
|
|
2881
2899
|
s.prev_length -= 2;
|
|
2882
2900
|
do {
|
|
2883
2901
|
if (++s.strstart <= max_insert) {
|
|
2884
|
-
|
|
2885
|
-
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
|
2886
|
-
s.head[s.ins_h] = s.strstart;
|
|
2902
|
+
hash_head = INSERT_STRING(s, s.strstart);
|
|
2887
2903
|
}
|
|
2888
2904
|
} while (--s.prev_length !== 0);
|
|
2889
2905
|
s.match_available = 0;
|
|
@@ -3098,6 +3114,7 @@ function DeflateState() {
|
|
|
3098
3114
|
this.prev = null;
|
|
3099
3115
|
this.head = null;
|
|
3100
3116
|
this.ins_h = 0;
|
|
3117
|
+
this.legacy_hash = 0;
|
|
3101
3118
|
this.hash_size = 0;
|
|
3102
3119
|
this.hash_bits = 0;
|
|
3103
3120
|
this.hash_mask = 0;
|
|
@@ -3192,7 +3209,7 @@ var deflateSetHeader = /* @__PURE__ */ __name((strm, head) => {
|
|
|
3192
3209
|
strm.state.gzhead = head;
|
|
3193
3210
|
return Z_OK$3;
|
|
3194
3211
|
}, "deflateSetHeader");
|
|
3195
|
-
var deflateInit2 = /* @__PURE__ */ __name((strm, level, method, windowBits, memLevel, strategy) => {
|
|
3212
|
+
var deflateInit2 = /* @__PURE__ */ __name((strm, level, method, windowBits, memLevel, strategy, legacyHash) => {
|
|
3196
3213
|
if (!strm) {
|
|
3197
3214
|
return Z_STREAM_ERROR$2;
|
|
3198
3215
|
}
|
|
@@ -3222,7 +3239,11 @@ var deflateInit2 = /* @__PURE__ */ __name((strm, level, method, windowBits, memL
|
|
|
3222
3239
|
s.w_bits = windowBits;
|
|
3223
3240
|
s.w_size = 1 << s.w_bits;
|
|
3224
3241
|
s.w_mask = s.w_size - 1;
|
|
3242
|
+
s.legacy_hash = legacyHash ? 1 : 0;
|
|
3225
3243
|
s.hash_bits = memLevel + 7;
|
|
3244
|
+
if (!s.legacy_hash && s.hash_bits < 15) {
|
|
3245
|
+
s.hash_bits = 15;
|
|
3246
|
+
}
|
|
3226
3247
|
s.hash_size = 1 << s.hash_bits;
|
|
3227
3248
|
s.hash_mask = s.hash_size - 1;
|
|
3228
3249
|
s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH);
|
|
@@ -3248,7 +3269,7 @@ var deflate$2 = /* @__PURE__ */ __name((strm, flush) => {
|
|
|
3248
3269
|
}
|
|
3249
3270
|
const s = strm.state;
|
|
3250
3271
|
if (!strm.output || strm.avail_in !== 0 && !strm.input || s.status === FINISH_STATE && flush !== Z_FINISH$3) {
|
|
3251
|
-
return err(strm, strm.avail_out === 0 ? Z_BUF_ERROR$
|
|
3272
|
+
return err(strm, strm.avail_out === 0 ? Z_BUF_ERROR$2 : Z_STREAM_ERROR$2);
|
|
3252
3273
|
}
|
|
3253
3274
|
const old_flush = s.last_flush;
|
|
3254
3275
|
s.last_flush = flush;
|
|
@@ -3259,10 +3280,10 @@ var deflate$2 = /* @__PURE__ */ __name((strm, flush) => {
|
|
|
3259
3280
|
return Z_OK$3;
|
|
3260
3281
|
}
|
|
3261
3282
|
} else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) && flush !== Z_FINISH$3) {
|
|
3262
|
-
return err(strm, Z_BUF_ERROR$
|
|
3283
|
+
return err(strm, Z_BUF_ERROR$2);
|
|
3263
3284
|
}
|
|
3264
3285
|
if (s.status === FINISH_STATE && strm.avail_in !== 0) {
|
|
3265
|
-
return err(strm, Z_BUF_ERROR$
|
|
3286
|
+
return err(strm, Z_BUF_ERROR$2);
|
|
3266
3287
|
}
|
|
3267
3288
|
if (s.status === INIT_STATE && s.wrap === 0) {
|
|
3268
3289
|
s.status = BUSY_STATE;
|
|
@@ -3549,9 +3570,7 @@ var deflateSetDictionary = /* @__PURE__ */ __name((strm, dictionary) => {
|
|
|
3549
3570
|
let str = s.strstart;
|
|
3550
3571
|
let n = s.lookahead - (MIN_MATCH - 1);
|
|
3551
3572
|
do {
|
|
3552
|
-
|
|
3553
|
-
s.prev[str & s.w_mask] = s.head[s.ins_h];
|
|
3554
|
-
s.head[s.ins_h] = str;
|
|
3573
|
+
INSERT_STRING(s, str);
|
|
3555
3574
|
str++;
|
|
3556
3575
|
} while (--n);
|
|
3557
3576
|
s.strstart = str;
|
|
@@ -3638,7 +3657,7 @@ var _utf8len = new Uint8Array(256);
|
|
|
3638
3657
|
for (let q = 0; q < 256; q++) {
|
|
3639
3658
|
_utf8len[q] = q >= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1;
|
|
3640
3659
|
}
|
|
3641
|
-
_utf8len[254] = _utf8len[
|
|
3660
|
+
_utf8len[254] = _utf8len[255] = 1;
|
|
3642
3661
|
var string2buf = /* @__PURE__ */ __name((str) => {
|
|
3643
3662
|
if (typeof TextEncoder === "function" && TextEncoder.prototype.encode) {
|
|
3644
3663
|
return new TextEncoder().encode(str);
|
|
@@ -3783,15 +3802,17 @@ var {
|
|
|
3783
3802
|
Z_DEFAULT_STRATEGY,
|
|
3784
3803
|
Z_DEFLATED: Z_DEFLATED$1
|
|
3785
3804
|
} = constants$2;
|
|
3805
|
+
var defaultOptions$1 = {
|
|
3806
|
+
level: Z_DEFAULT_COMPRESSION,
|
|
3807
|
+
method: Z_DEFLATED$1,
|
|
3808
|
+
chunkSize: 16384,
|
|
3809
|
+
windowBits: 15,
|
|
3810
|
+
memLevel: 8,
|
|
3811
|
+
strategy: Z_DEFAULT_STRATEGY,
|
|
3812
|
+
legacyHash: true
|
|
3813
|
+
};
|
|
3786
3814
|
function Deflate$1(options) {
|
|
3787
|
-
this.options = common.assign({
|
|
3788
|
-
level: Z_DEFAULT_COMPRESSION,
|
|
3789
|
-
method: Z_DEFLATED$1,
|
|
3790
|
-
chunkSize: 16384,
|
|
3791
|
-
windowBits: 15,
|
|
3792
|
-
memLevel: 8,
|
|
3793
|
-
strategy: Z_DEFAULT_STRATEGY
|
|
3794
|
-
}, options || {});
|
|
3815
|
+
this.options = common.assign({}, defaultOptions$1, options || {});
|
|
3795
3816
|
let opt = this.options;
|
|
3796
3817
|
if (opt.raw && opt.windowBits > 0) {
|
|
3797
3818
|
opt.windowBits = -opt.windowBits;
|
|
@@ -3810,7 +3831,8 @@ function Deflate$1(options) {
|
|
|
3810
3831
|
opt.method,
|
|
3811
3832
|
opt.windowBits,
|
|
3812
3833
|
opt.memLevel,
|
|
3813
|
-
opt.strategy
|
|
3834
|
+
opt.strategy,
|
|
3835
|
+
opt.legacyHash
|
|
3814
3836
|
);
|
|
3815
3837
|
if (status !== Z_OK$2) {
|
|
3816
3838
|
throw new Error(messages[status]);
|
|
@@ -4223,8 +4245,8 @@ var lext = new Uint8Array([
|
|
|
4223
4245
|
21,
|
|
4224
4246
|
21,
|
|
4225
4247
|
16,
|
|
4226
|
-
|
|
4227
|
-
|
|
4248
|
+
199,
|
|
4249
|
+
75
|
|
4228
4250
|
]);
|
|
4229
4251
|
var dbase = new Uint16Array([
|
|
4230
4252
|
/* Distance codes 0..29 base */
|
|
@@ -4470,7 +4492,7 @@ var {
|
|
|
4470
4492
|
Z_STREAM_ERROR: Z_STREAM_ERROR$1,
|
|
4471
4493
|
Z_DATA_ERROR: Z_DATA_ERROR$1,
|
|
4472
4494
|
Z_MEM_ERROR: Z_MEM_ERROR$1,
|
|
4473
|
-
Z_BUF_ERROR,
|
|
4495
|
+
Z_BUF_ERROR: Z_BUF_ERROR$1,
|
|
4474
4496
|
Z_DEFLATED
|
|
4475
4497
|
} = constants$2;
|
|
4476
4498
|
var HEAD = 16180;
|
|
@@ -4675,10 +4697,12 @@ var updatewindow = /* @__PURE__ */ __name((strm, src, end, copy) => {
|
|
|
4675
4697
|
let dist;
|
|
4676
4698
|
const state = strm.state;
|
|
4677
4699
|
if (state.window === null) {
|
|
4700
|
+
state.window = new Uint8Array(1 << state.wbits);
|
|
4701
|
+
}
|
|
4702
|
+
if (state.wsize === 0) {
|
|
4678
4703
|
state.wsize = 1 << state.wbits;
|
|
4679
4704
|
state.wnext = 0;
|
|
4680
4705
|
state.whave = 0;
|
|
4681
|
-
state.window = new Uint8Array(state.wsize);
|
|
4682
4706
|
}
|
|
4683
4707
|
if (copy >= state.wsize) {
|
|
4684
4708
|
state.window.set(src.subarray(end - state.wsize, end), 0);
|
|
@@ -5631,7 +5655,7 @@ var inflate$2 = /* @__PURE__ */ __name((strm, flush) => {
|
|
|
5631
5655
|
}
|
|
5632
5656
|
strm.data_type = state.bits + (state.last ? 64 : 0) + (state.mode === TYPE ? 128 : 0) + (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);
|
|
5633
5657
|
if ((_in === 0 && _out === 0 || flush === Z_FINISH$1) && ret === Z_OK$1) {
|
|
5634
|
-
ret = Z_BUF_ERROR;
|
|
5658
|
+
ret = Z_BUF_ERROR$1;
|
|
5635
5659
|
}
|
|
5636
5660
|
return ret;
|
|
5637
5661
|
}, "inflate$2");
|
|
@@ -5730,14 +5754,16 @@ var {
|
|
|
5730
5754
|
Z_NEED_DICT,
|
|
5731
5755
|
Z_STREAM_ERROR,
|
|
5732
5756
|
Z_DATA_ERROR,
|
|
5733
|
-
Z_MEM_ERROR
|
|
5757
|
+
Z_MEM_ERROR,
|
|
5758
|
+
Z_BUF_ERROR
|
|
5734
5759
|
} = constants$2;
|
|
5760
|
+
var defaultOptions = {
|
|
5761
|
+
chunkSize: 1024 * 64,
|
|
5762
|
+
windowBits: 15,
|
|
5763
|
+
to: ""
|
|
5764
|
+
};
|
|
5735
5765
|
function Inflate$1(options) {
|
|
5736
|
-
this.options = common.assign({
|
|
5737
|
-
chunkSize: 1024 * 64,
|
|
5738
|
-
windowBits: 15,
|
|
5739
|
-
to: ""
|
|
5740
|
-
}, options || {});
|
|
5766
|
+
this.options = common.assign({}, defaultOptions, options || {});
|
|
5741
5767
|
const opt = this.options;
|
|
5742
5768
|
if (opt.raw && opt.windowBits >= 0 && opt.windowBits < 16) {
|
|
5743
5769
|
opt.windowBits = -opt.windowBits;
|
|
@@ -5813,7 +5839,7 @@ Inflate$1.prototype.push = function(data, flush_mode) {
|
|
|
5813
5839
|
status = Z_NEED_DICT;
|
|
5814
5840
|
}
|
|
5815
5841
|
}
|
|
5816
|
-
while (strm.avail_in > 0 && status === Z_STREAM_END && strm.state.wrap
|
|
5842
|
+
while (strm.avail_in > 0 && status === Z_STREAM_END && strm.state.wrap & 2 && strm.state.flags !== 0 && strm.input[strm.next_in] !== 0) {
|
|
5817
5843
|
inflate_1$2.inflateReset(strm);
|
|
5818
5844
|
status = inflate_1$2.inflate(strm, _flush_mode);
|
|
5819
5845
|
}
|
|
@@ -5828,7 +5854,7 @@ Inflate$1.prototype.push = function(data, flush_mode) {
|
|
|
5828
5854
|
}
|
|
5829
5855
|
last_avail_out = strm.avail_out;
|
|
5830
5856
|
if (strm.next_out) {
|
|
5831
|
-
if (strm.avail_out === 0 || status === Z_STREAM_END) {
|
|
5857
|
+
if (strm.avail_out === 0 || status === Z_STREAM_END || _flush_mode > 0) {
|
|
5832
5858
|
if (this.options.to === "string") {
|
|
5833
5859
|
let next_out_utf8 = strings.utf8border(strm.output, strm.next_out);
|
|
5834
5860
|
let tail = strm.next_out - next_out_utf8;
|
|
@@ -5839,17 +5865,27 @@ Inflate$1.prototype.push = function(data, flush_mode) {
|
|
|
5839
5865
|
this.onData(utf8str);
|
|
5840
5866
|
} else {
|
|
5841
5867
|
this.onData(strm.output.length === strm.next_out ? strm.output : strm.output.subarray(0, strm.next_out));
|
|
5868
|
+
strm.avail_out = 0;
|
|
5869
|
+
strm.next_out = 0;
|
|
5842
5870
|
}
|
|
5843
5871
|
}
|
|
5844
5872
|
}
|
|
5845
|
-
if (status === Z_OK && last_avail_out === 0) continue;
|
|
5873
|
+
if ((status === Z_OK || status === Z_BUF_ERROR) && last_avail_out === 0) continue;
|
|
5846
5874
|
if (status === Z_STREAM_END) {
|
|
5847
5875
|
status = inflate_1$2.inflateEnd(this.strm);
|
|
5848
5876
|
this.onEnd(status);
|
|
5849
5877
|
this.ended = true;
|
|
5850
5878
|
return true;
|
|
5851
5879
|
}
|
|
5852
|
-
if (strm.avail_in === 0)
|
|
5880
|
+
if (strm.avail_in === 0) {
|
|
5881
|
+
if (_flush_mode === Z_FINISH) {
|
|
5882
|
+
status = inflate_1$2.inflateEnd(this.strm);
|
|
5883
|
+
this.onEnd(status === Z_OK ? Z_BUF_ERROR : status);
|
|
5884
|
+
this.ended = true;
|
|
5885
|
+
return false;
|
|
5886
|
+
}
|
|
5887
|
+
break;
|
|
5888
|
+
}
|
|
5853
5889
|
}
|
|
5854
5890
|
return true;
|
|
5855
5891
|
};
|
|
@@ -5870,7 +5906,7 @@ Inflate$1.prototype.onEnd = function(status) {
|
|
|
5870
5906
|
};
|
|
5871
5907
|
function inflate$1(input, options) {
|
|
5872
5908
|
const inflator = new Inflate$1(options);
|
|
5873
|
-
inflator.push(input);
|
|
5909
|
+
inflator.push(input, true);
|
|
5874
5910
|
if (inflator.err) throw inflator.msg || messages[inflator.err];
|
|
5875
5911
|
return inflator.result;
|
|
5876
5912
|
}
|
|
@@ -5898,7 +5934,7 @@ var { Inflate, inflate, inflateRaw, ungzip } = inflate_1$1;
|
|
|
5898
5934
|
var deflate_1 = deflate;
|
|
5899
5935
|
var inflate_1 = inflate;
|
|
5900
5936
|
|
|
5901
|
-
// ../../node_modules
|
|
5937
|
+
// ../../node_modules/@sd-jwt/jwt-status-list/dist/index.mjs
|
|
5902
5938
|
var _a10;
|
|
5903
5939
|
var SLException = (_a10 = class extends Error {
|
|
5904
5940
|
constructor(message2, details) {
|
|
@@ -6059,7 +6095,7 @@ function getListFromStatusListJWT(jwt2) {
|
|
|
6059
6095
|
}
|
|
6060
6096
|
__name(getListFromStatusListJWT, "getListFromStatusListJWT");
|
|
6061
6097
|
|
|
6062
|
-
// ../../node_modules
|
|
6098
|
+
// ../../node_modules/zod/v4/classic/external.js
|
|
6063
6099
|
var external_exports = {};
|
|
6064
6100
|
__export(external_exports, {
|
|
6065
6101
|
$brand: () => $brand,
|
|
@@ -6302,7 +6338,7 @@ __export(external_exports, {
|
|
|
6302
6338
|
xor: () => xor
|
|
6303
6339
|
});
|
|
6304
6340
|
|
|
6305
|
-
// ../../node_modules
|
|
6341
|
+
// ../../node_modules/zod/v4/core/index.js
|
|
6306
6342
|
var core_exports2 = {};
|
|
6307
6343
|
__export(core_exports2, {
|
|
6308
6344
|
$ZodAny: () => $ZodAny,
|
|
@@ -6581,7 +6617,7 @@ __export(core_exports2, {
|
|
|
6581
6617
|
version: () => version2
|
|
6582
6618
|
});
|
|
6583
6619
|
|
|
6584
|
-
// ../../node_modules
|
|
6620
|
+
// ../../node_modules/zod/v4/core/core.js
|
|
6585
6621
|
var _a12;
|
|
6586
6622
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
6587
6623
|
status: "aborted"
|
|
@@ -6668,7 +6704,7 @@ function config(newConfig) {
|
|
|
6668
6704
|
}
|
|
6669
6705
|
__name(config, "config");
|
|
6670
6706
|
|
|
6671
|
-
// ../../node_modules
|
|
6707
|
+
// ../../node_modules/zod/v4/core/util.js
|
|
6672
6708
|
var util_exports = {};
|
|
6673
6709
|
__export(util_exports, {
|
|
6674
6710
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -7421,7 +7457,7 @@ var _Class = class _Class {
|
|
|
7421
7457
|
__name(_Class, "Class");
|
|
7422
7458
|
var Class = _Class;
|
|
7423
7459
|
|
|
7424
|
-
// ../../node_modules
|
|
7460
|
+
// ../../node_modules/zod/v4/core/errors.js
|
|
7425
7461
|
var initializer = /* @__PURE__ */ __name((inst, def) => {
|
|
7426
7462
|
inst.name = "$ZodError";
|
|
7427
7463
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -7565,7 +7601,7 @@ function prettifyError(error51) {
|
|
|
7565
7601
|
}
|
|
7566
7602
|
__name(prettifyError, "prettifyError");
|
|
7567
7603
|
|
|
7568
|
-
// ../../node_modules
|
|
7604
|
+
// ../../node_modules/zod/v4/core/parse.js
|
|
7569
7605
|
var _parse = /* @__PURE__ */ __name((_Err) => (schema, value, _ctx, _params) => {
|
|
7570
7606
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
7571
7607
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -7653,7 +7689,7 @@ var _safeDecodeAsync = /* @__PURE__ */ __name((_Err) => async (schema, value, _c
|
|
|
7653
7689
|
}, "_safeDecodeAsync");
|
|
7654
7690
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
7655
7691
|
|
|
7656
|
-
// ../../node_modules
|
|
7692
|
+
// ../../node_modules/zod/v4/core/regexes.js
|
|
7657
7693
|
var regexes_exports = {};
|
|
7658
7694
|
__export(regexes_exports, {
|
|
7659
7695
|
base64: () => base64,
|
|
@@ -7818,7 +7854,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
7818
7854
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
7819
7855
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
7820
7856
|
|
|
7821
|
-
// ../../node_modules
|
|
7857
|
+
// ../../node_modules/zod/v4/core/checks.js
|
|
7822
7858
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
7823
7859
|
var _a16;
|
|
7824
7860
|
inst._zod ?? (inst._zod = {});
|
|
@@ -8367,7 +8403,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
8367
8403
|
};
|
|
8368
8404
|
});
|
|
8369
8405
|
|
|
8370
|
-
// ../../node_modules
|
|
8406
|
+
// ../../node_modules/zod/v4/core/doc.js
|
|
8371
8407
|
var _Doc = class _Doc {
|
|
8372
8408
|
constructor(args = []) {
|
|
8373
8409
|
this.content = [];
|
|
@@ -8405,14 +8441,14 @@ var _Doc = class _Doc {
|
|
|
8405
8441
|
__name(_Doc, "Doc");
|
|
8406
8442
|
var Doc = _Doc;
|
|
8407
8443
|
|
|
8408
|
-
// ../../node_modules
|
|
8444
|
+
// ../../node_modules/zod/v4/core/versions.js
|
|
8409
8445
|
var version2 = {
|
|
8410
8446
|
major: 4,
|
|
8411
8447
|
minor: 4,
|
|
8412
8448
|
patch: 3
|
|
8413
8449
|
};
|
|
8414
8450
|
|
|
8415
|
-
// ../../node_modules
|
|
8451
|
+
// ../../node_modules/zod/v4/core/schemas.js
|
|
8416
8452
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
8417
8453
|
var _a16;
|
|
8418
8454
|
inst ?? (inst = {});
|
|
@@ -10529,7 +10565,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
10529
10565
|
}
|
|
10530
10566
|
__name(handleRefineResult, "handleRefineResult");
|
|
10531
10567
|
|
|
10532
|
-
// ../../node_modules
|
|
10568
|
+
// ../../node_modules/zod/v4/locales/index.js
|
|
10533
10569
|
var locales_exports = {};
|
|
10534
10570
|
__export(locales_exports, {
|
|
10535
10571
|
ar: () => ar_default,
|
|
@@ -10586,7 +10622,7 @@ __export(locales_exports, {
|
|
|
10586
10622
|
zhTW: () => zh_TW_default
|
|
10587
10623
|
});
|
|
10588
10624
|
|
|
10589
|
-
// ../../node_modules
|
|
10625
|
+
// ../../node_modules/zod/v4/locales/ar.js
|
|
10590
10626
|
var error = /* @__PURE__ */ __name(() => {
|
|
10591
10627
|
const Sizable = {
|
|
10592
10628
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -10695,7 +10731,7 @@ function ar_default() {
|
|
|
10695
10731
|
}
|
|
10696
10732
|
__name(ar_default, "default");
|
|
10697
10733
|
|
|
10698
|
-
// ../../node_modules
|
|
10734
|
+
// ../../node_modules/zod/v4/locales/az.js
|
|
10699
10735
|
var error2 = /* @__PURE__ */ __name(() => {
|
|
10700
10736
|
const Sizable = {
|
|
10701
10737
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -10803,7 +10839,7 @@ function az_default() {
|
|
|
10803
10839
|
}
|
|
10804
10840
|
__name(az_default, "default");
|
|
10805
10841
|
|
|
10806
|
-
// ../../node_modules
|
|
10842
|
+
// ../../node_modules/zod/v4/locales/be.js
|
|
10807
10843
|
function getBelarusianPlural(count, one, few, many) {
|
|
10808
10844
|
const absCount = Math.abs(count);
|
|
10809
10845
|
const lastDigit = absCount % 10;
|
|
@@ -10963,7 +10999,7 @@ function be_default() {
|
|
|
10963
10999
|
}
|
|
10964
11000
|
__name(be_default, "default");
|
|
10965
11001
|
|
|
10966
|
-
// ../../node_modules
|
|
11002
|
+
// ../../node_modules/zod/v4/locales/bg.js
|
|
10967
11003
|
var error4 = /* @__PURE__ */ __name(() => {
|
|
10968
11004
|
const Sizable = {
|
|
10969
11005
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -11086,7 +11122,7 @@ function bg_default() {
|
|
|
11086
11122
|
}
|
|
11087
11123
|
__name(bg_default, "default");
|
|
11088
11124
|
|
|
11089
|
-
// ../../node_modules
|
|
11125
|
+
// ../../node_modules/zod/v4/locales/ca.js
|
|
11090
11126
|
var error5 = /* @__PURE__ */ __name(() => {
|
|
11091
11127
|
const Sizable = {
|
|
11092
11128
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -11197,7 +11233,7 @@ function ca_default() {
|
|
|
11197
11233
|
}
|
|
11198
11234
|
__name(ca_default, "default");
|
|
11199
11235
|
|
|
11200
|
-
// ../../node_modules
|
|
11236
|
+
// ../../node_modules/zod/v4/locales/cs.js
|
|
11201
11237
|
var error6 = /* @__PURE__ */ __name(() => {
|
|
11202
11238
|
const Sizable = {
|
|
11203
11239
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -11311,7 +11347,7 @@ function cs_default() {
|
|
|
11311
11347
|
}
|
|
11312
11348
|
__name(cs_default, "default");
|
|
11313
11349
|
|
|
11314
|
-
// ../../node_modules
|
|
11350
|
+
// ../../node_modules/zod/v4/locales/da.js
|
|
11315
11351
|
var error7 = /* @__PURE__ */ __name(() => {
|
|
11316
11352
|
const Sizable = {
|
|
11317
11353
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -11429,7 +11465,7 @@ function da_default() {
|
|
|
11429
11465
|
}
|
|
11430
11466
|
__name(da_default, "default");
|
|
11431
11467
|
|
|
11432
|
-
// ../../node_modules
|
|
11468
|
+
// ../../node_modules/zod/v4/locales/de.js
|
|
11433
11469
|
var error8 = /* @__PURE__ */ __name(() => {
|
|
11434
11470
|
const Sizable = {
|
|
11435
11471
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -11540,7 +11576,7 @@ function de_default() {
|
|
|
11540
11576
|
}
|
|
11541
11577
|
__name(de_default, "default");
|
|
11542
11578
|
|
|
11543
|
-
// ../../node_modules
|
|
11579
|
+
// ../../node_modules/zod/v4/locales/el.js
|
|
11544
11580
|
var error9 = /* @__PURE__ */ __name(() => {
|
|
11545
11581
|
const Sizable = {
|
|
11546
11582
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -11652,7 +11688,7 @@ function el_default() {
|
|
|
11652
11688
|
}
|
|
11653
11689
|
__name(el_default, "default");
|
|
11654
11690
|
|
|
11655
|
-
// ../../node_modules
|
|
11691
|
+
// ../../node_modules/zod/v4/locales/en.js
|
|
11656
11692
|
var error10 = /* @__PURE__ */ __name(() => {
|
|
11657
11693
|
const Sizable = {
|
|
11658
11694
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -11767,7 +11803,7 @@ function en_default() {
|
|
|
11767
11803
|
}
|
|
11768
11804
|
__name(en_default, "default");
|
|
11769
11805
|
|
|
11770
|
-
// ../../node_modules
|
|
11806
|
+
// ../../node_modules/zod/v4/locales/eo.js
|
|
11771
11807
|
var error11 = /* @__PURE__ */ __name(() => {
|
|
11772
11808
|
const Sizable = {
|
|
11773
11809
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -11879,7 +11915,7 @@ function eo_default() {
|
|
|
11879
11915
|
}
|
|
11880
11916
|
__name(eo_default, "default");
|
|
11881
11917
|
|
|
11882
|
-
// ../../node_modules
|
|
11918
|
+
// ../../node_modules/zod/v4/locales/es.js
|
|
11883
11919
|
var error12 = /* @__PURE__ */ __name(() => {
|
|
11884
11920
|
const Sizable = {
|
|
11885
11921
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -12014,7 +12050,7 @@ function es_default() {
|
|
|
12014
12050
|
}
|
|
12015
12051
|
__name(es_default, "default");
|
|
12016
12052
|
|
|
12017
|
-
// ../../node_modules
|
|
12053
|
+
// ../../node_modules/zod/v4/locales/fa.js
|
|
12018
12054
|
var error13 = /* @__PURE__ */ __name(() => {
|
|
12019
12055
|
const Sizable = {
|
|
12020
12056
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -12131,7 +12167,7 @@ function fa_default() {
|
|
|
12131
12167
|
}
|
|
12132
12168
|
__name(fa_default, "default");
|
|
12133
12169
|
|
|
12134
|
-
// ../../node_modules
|
|
12170
|
+
// ../../node_modules/zod/v4/locales/fi.js
|
|
12135
12171
|
var error14 = /* @__PURE__ */ __name(() => {
|
|
12136
12172
|
const Sizable = {
|
|
12137
12173
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -12246,7 +12282,7 @@ function fi_default() {
|
|
|
12246
12282
|
}
|
|
12247
12283
|
__name(fi_default, "default");
|
|
12248
12284
|
|
|
12249
|
-
// ../../node_modules
|
|
12285
|
+
// ../../node_modules/zod/v4/locales/fr.js
|
|
12250
12286
|
var error15 = /* @__PURE__ */ __name(() => {
|
|
12251
12287
|
const Sizable = {
|
|
12252
12288
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -12374,7 +12410,7 @@ function fr_default() {
|
|
|
12374
12410
|
}
|
|
12375
12411
|
__name(fr_default, "default");
|
|
12376
12412
|
|
|
12377
|
-
// ../../node_modules
|
|
12413
|
+
// ../../node_modules/zod/v4/locales/fr-CA.js
|
|
12378
12414
|
var error16 = /* @__PURE__ */ __name(() => {
|
|
12379
12415
|
const Sizable = {
|
|
12380
12416
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -12484,7 +12520,7 @@ function fr_CA_default() {
|
|
|
12484
12520
|
}
|
|
12485
12521
|
__name(fr_CA_default, "default");
|
|
12486
12522
|
|
|
12487
|
-
// ../../node_modules
|
|
12523
|
+
// ../../node_modules/zod/v4/locales/he.js
|
|
12488
12524
|
var error17 = /* @__PURE__ */ __name(() => {
|
|
12489
12525
|
const TypeNames = {
|
|
12490
12526
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -12680,7 +12716,7 @@ function he_default() {
|
|
|
12680
12716
|
}
|
|
12681
12717
|
__name(he_default, "default");
|
|
12682
12718
|
|
|
12683
|
-
// ../../node_modules
|
|
12719
|
+
// ../../node_modules/zod/v4/locales/hr.js
|
|
12684
12720
|
var error18 = /* @__PURE__ */ __name(() => {
|
|
12685
12721
|
const Sizable = {
|
|
12686
12722
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -12805,7 +12841,7 @@ function hr_default() {
|
|
|
12805
12841
|
}
|
|
12806
12842
|
__name(hr_default, "default");
|
|
12807
12843
|
|
|
12808
|
-
// ../../node_modules
|
|
12844
|
+
// ../../node_modules/zod/v4/locales/hu.js
|
|
12809
12845
|
var error19 = /* @__PURE__ */ __name(() => {
|
|
12810
12846
|
const Sizable = {
|
|
12811
12847
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -12916,7 +12952,7 @@ function hu_default() {
|
|
|
12916
12952
|
}
|
|
12917
12953
|
__name(hu_default, "default");
|
|
12918
12954
|
|
|
12919
|
-
// ../../node_modules
|
|
12955
|
+
// ../../node_modules/zod/v4/locales/hy.js
|
|
12920
12956
|
function getArmenianPlural(count, one, many) {
|
|
12921
12957
|
return Math.abs(count) === 1 ? one : many;
|
|
12922
12958
|
}
|
|
@@ -13068,7 +13104,7 @@ function hy_default() {
|
|
|
13068
13104
|
}
|
|
13069
13105
|
__name(hy_default, "default");
|
|
13070
13106
|
|
|
13071
|
-
// ../../node_modules
|
|
13107
|
+
// ../../node_modules/zod/v4/locales/id.js
|
|
13072
13108
|
var error21 = /* @__PURE__ */ __name(() => {
|
|
13073
13109
|
const Sizable = {
|
|
13074
13110
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -13177,7 +13213,7 @@ function id_default() {
|
|
|
13177
13213
|
}
|
|
13178
13214
|
__name(id_default, "default");
|
|
13179
13215
|
|
|
13180
|
-
// ../../node_modules
|
|
13216
|
+
// ../../node_modules/zod/v4/locales/is.js
|
|
13181
13217
|
var error22 = /* @__PURE__ */ __name(() => {
|
|
13182
13218
|
const Sizable = {
|
|
13183
13219
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -13289,7 +13325,7 @@ function is_default() {
|
|
|
13289
13325
|
}
|
|
13290
13326
|
__name(is_default, "default");
|
|
13291
13327
|
|
|
13292
|
-
// ../../node_modules
|
|
13328
|
+
// ../../node_modules/zod/v4/locales/it.js
|
|
13293
13329
|
var error23 = /* @__PURE__ */ __name(() => {
|
|
13294
13330
|
const Sizable = {
|
|
13295
13331
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -13400,7 +13436,7 @@ function it_default() {
|
|
|
13400
13436
|
}
|
|
13401
13437
|
__name(it_default, "default");
|
|
13402
13438
|
|
|
13403
|
-
// ../../node_modules
|
|
13439
|
+
// ../../node_modules/zod/v4/locales/ja.js
|
|
13404
13440
|
var error24 = /* @__PURE__ */ __name(() => {
|
|
13405
13441
|
const Sizable = {
|
|
13406
13442
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -13510,7 +13546,7 @@ function ja_default() {
|
|
|
13510
13546
|
}
|
|
13511
13547
|
__name(ja_default, "default");
|
|
13512
13548
|
|
|
13513
|
-
// ../../node_modules
|
|
13549
|
+
// ../../node_modules/zod/v4/locales/ka.js
|
|
13514
13550
|
var error25 = /* @__PURE__ */ __name(() => {
|
|
13515
13551
|
const Sizable = {
|
|
13516
13552
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -13625,7 +13661,7 @@ function ka_default() {
|
|
|
13625
13661
|
}
|
|
13626
13662
|
__name(ka_default, "default");
|
|
13627
13663
|
|
|
13628
|
-
// ../../node_modules
|
|
13664
|
+
// ../../node_modules/zod/v4/locales/km.js
|
|
13629
13665
|
var error26 = /* @__PURE__ */ __name(() => {
|
|
13630
13666
|
const Sizable = {
|
|
13631
13667
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -13738,13 +13774,13 @@ function km_default() {
|
|
|
13738
13774
|
}
|
|
13739
13775
|
__name(km_default, "default");
|
|
13740
13776
|
|
|
13741
|
-
// ../../node_modules
|
|
13777
|
+
// ../../node_modules/zod/v4/locales/kh.js
|
|
13742
13778
|
function kh_default() {
|
|
13743
13779
|
return km_default();
|
|
13744
13780
|
}
|
|
13745
13781
|
__name(kh_default, "default");
|
|
13746
13782
|
|
|
13747
|
-
// ../../node_modules
|
|
13783
|
+
// ../../node_modules/zod/v4/locales/ko.js
|
|
13748
13784
|
var error27 = /* @__PURE__ */ __name(() => {
|
|
13749
13785
|
const Sizable = {
|
|
13750
13786
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -13858,7 +13894,7 @@ function ko_default() {
|
|
|
13858
13894
|
}
|
|
13859
13895
|
__name(ko_default, "default");
|
|
13860
13896
|
|
|
13861
|
-
// ../../node_modules
|
|
13897
|
+
// ../../node_modules/zod/v4/locales/lt.js
|
|
13862
13898
|
var capitalizeFirstCharacter = /* @__PURE__ */ __name((text) => {
|
|
13863
13899
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
13864
13900
|
}, "capitalizeFirstCharacter");
|
|
@@ -14065,7 +14101,7 @@ function lt_default() {
|
|
|
14065
14101
|
}
|
|
14066
14102
|
__name(lt_default, "default");
|
|
14067
14103
|
|
|
14068
|
-
// ../../node_modules
|
|
14104
|
+
// ../../node_modules/zod/v4/locales/mk.js
|
|
14069
14105
|
var error29 = /* @__PURE__ */ __name(() => {
|
|
14070
14106
|
const Sizable = {
|
|
14071
14107
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -14177,7 +14213,7 @@ function mk_default() {
|
|
|
14177
14213
|
}
|
|
14178
14214
|
__name(mk_default, "default");
|
|
14179
14215
|
|
|
14180
|
-
// ../../node_modules
|
|
14216
|
+
// ../../node_modules/zod/v4/locales/ms.js
|
|
14181
14217
|
var error30 = /* @__PURE__ */ __name(() => {
|
|
14182
14218
|
const Sizable = {
|
|
14183
14219
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -14287,7 +14323,7 @@ function ms_default() {
|
|
|
14287
14323
|
}
|
|
14288
14324
|
__name(ms_default, "default");
|
|
14289
14325
|
|
|
14290
|
-
// ../../node_modules
|
|
14326
|
+
// ../../node_modules/zod/v4/locales/nl.js
|
|
14291
14327
|
var error31 = /* @__PURE__ */ __name(() => {
|
|
14292
14328
|
const Sizable = {
|
|
14293
14329
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -14400,7 +14436,7 @@ function nl_default() {
|
|
|
14400
14436
|
}
|
|
14401
14437
|
__name(nl_default, "default");
|
|
14402
14438
|
|
|
14403
|
-
// ../../node_modules
|
|
14439
|
+
// ../../node_modules/zod/v4/locales/no.js
|
|
14404
14440
|
var error32 = /* @__PURE__ */ __name(() => {
|
|
14405
14441
|
const Sizable = {
|
|
14406
14442
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -14511,7 +14547,7 @@ function no_default() {
|
|
|
14511
14547
|
}
|
|
14512
14548
|
__name(no_default, "default");
|
|
14513
14549
|
|
|
14514
|
-
// ../../node_modules
|
|
14550
|
+
// ../../node_modules/zod/v4/locales/ota.js
|
|
14515
14551
|
var error33 = /* @__PURE__ */ __name(() => {
|
|
14516
14552
|
const Sizable = {
|
|
14517
14553
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -14623,7 +14659,7 @@ function ota_default() {
|
|
|
14623
14659
|
}
|
|
14624
14660
|
__name(ota_default, "default");
|
|
14625
14661
|
|
|
14626
|
-
// ../../node_modules
|
|
14662
|
+
// ../../node_modules/zod/v4/locales/ps.js
|
|
14627
14663
|
var error34 = /* @__PURE__ */ __name(() => {
|
|
14628
14664
|
const Sizable = {
|
|
14629
14665
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -14740,7 +14776,7 @@ function ps_default() {
|
|
|
14740
14776
|
}
|
|
14741
14777
|
__name(ps_default, "default");
|
|
14742
14778
|
|
|
14743
|
-
// ../../node_modules
|
|
14779
|
+
// ../../node_modules/zod/v4/locales/pl.js
|
|
14744
14780
|
var error35 = /* @__PURE__ */ __name(() => {
|
|
14745
14781
|
const Sizable = {
|
|
14746
14782
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -14852,7 +14888,7 @@ function pl_default() {
|
|
|
14852
14888
|
}
|
|
14853
14889
|
__name(pl_default, "default");
|
|
14854
14890
|
|
|
14855
|
-
// ../../node_modules
|
|
14891
|
+
// ../../node_modules/zod/v4/locales/pt.js
|
|
14856
14892
|
var error36 = /* @__PURE__ */ __name(() => {
|
|
14857
14893
|
const Sizable = {
|
|
14858
14894
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -14963,7 +14999,7 @@ function pt_default() {
|
|
|
14963
14999
|
}
|
|
14964
15000
|
__name(pt_default, "default");
|
|
14965
15001
|
|
|
14966
|
-
// ../../node_modules
|
|
15002
|
+
// ../../node_modules/zod/v4/locales/ro.js
|
|
14967
15003
|
var error37 = /* @__PURE__ */ __name(() => {
|
|
14968
15004
|
const Sizable = {
|
|
14969
15005
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -15085,7 +15121,7 @@ function ro_default() {
|
|
|
15085
15121
|
}
|
|
15086
15122
|
__name(ro_default, "default");
|
|
15087
15123
|
|
|
15088
|
-
// ../../node_modules
|
|
15124
|
+
// ../../node_modules/zod/v4/locales/ru.js
|
|
15089
15125
|
function getRussianPlural(count, one, few, many) {
|
|
15090
15126
|
const absCount = Math.abs(count);
|
|
15091
15127
|
const lastDigit = absCount % 10;
|
|
@@ -15245,7 +15281,7 @@ function ru_default() {
|
|
|
15245
15281
|
}
|
|
15246
15282
|
__name(ru_default, "default");
|
|
15247
15283
|
|
|
15248
|
-
// ../../node_modules
|
|
15284
|
+
// ../../node_modules/zod/v4/locales/sl.js
|
|
15249
15285
|
var error39 = /* @__PURE__ */ __name(() => {
|
|
15250
15286
|
const Sizable = {
|
|
15251
15287
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -15357,7 +15393,7 @@ function sl_default() {
|
|
|
15357
15393
|
}
|
|
15358
15394
|
__name(sl_default, "default");
|
|
15359
15395
|
|
|
15360
|
-
// ../../node_modules
|
|
15396
|
+
// ../../node_modules/zod/v4/locales/sv.js
|
|
15361
15397
|
var error40 = /* @__PURE__ */ __name(() => {
|
|
15362
15398
|
const Sizable = {
|
|
15363
15399
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -15470,7 +15506,7 @@ function sv_default() {
|
|
|
15470
15506
|
}
|
|
15471
15507
|
__name(sv_default, "default");
|
|
15472
15508
|
|
|
15473
|
-
// ../../node_modules
|
|
15509
|
+
// ../../node_modules/zod/v4/locales/ta.js
|
|
15474
15510
|
var error41 = /* @__PURE__ */ __name(() => {
|
|
15475
15511
|
const Sizable = {
|
|
15476
15512
|
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" },
|
|
@@ -15583,7 +15619,7 @@ function ta_default() {
|
|
|
15583
15619
|
}
|
|
15584
15620
|
__name(ta_default, "default");
|
|
15585
15621
|
|
|
15586
|
-
// ../../node_modules
|
|
15622
|
+
// ../../node_modules/zod/v4/locales/th.js
|
|
15587
15623
|
var error42 = /* @__PURE__ */ __name(() => {
|
|
15588
15624
|
const Sizable = {
|
|
15589
15625
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -15696,7 +15732,7 @@ function th_default() {
|
|
|
15696
15732
|
}
|
|
15697
15733
|
__name(th_default, "default");
|
|
15698
15734
|
|
|
15699
|
-
// ../../node_modules
|
|
15735
|
+
// ../../node_modules/zod/v4/locales/tr.js
|
|
15700
15736
|
var error43 = /* @__PURE__ */ __name(() => {
|
|
15701
15737
|
const Sizable = {
|
|
15702
15738
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -15804,7 +15840,7 @@ function tr_default() {
|
|
|
15804
15840
|
}
|
|
15805
15841
|
__name(tr_default, "default");
|
|
15806
15842
|
|
|
15807
|
-
// ../../node_modules
|
|
15843
|
+
// ../../node_modules/zod/v4/locales/uk.js
|
|
15808
15844
|
var error44 = /* @__PURE__ */ __name(() => {
|
|
15809
15845
|
const Sizable = {
|
|
15810
15846
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -15915,13 +15951,13 @@ function uk_default() {
|
|
|
15915
15951
|
}
|
|
15916
15952
|
__name(uk_default, "default");
|
|
15917
15953
|
|
|
15918
|
-
// ../../node_modules
|
|
15954
|
+
// ../../node_modules/zod/v4/locales/ua.js
|
|
15919
15955
|
function ua_default() {
|
|
15920
15956
|
return uk_default();
|
|
15921
15957
|
}
|
|
15922
15958
|
__name(ua_default, "default");
|
|
15923
15959
|
|
|
15924
|
-
// ../../node_modules
|
|
15960
|
+
// ../../node_modules/zod/v4/locales/ur.js
|
|
15925
15961
|
var error45 = /* @__PURE__ */ __name(() => {
|
|
15926
15962
|
const Sizable = {
|
|
15927
15963
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -16034,7 +16070,7 @@ function ur_default() {
|
|
|
16034
16070
|
}
|
|
16035
16071
|
__name(ur_default, "default");
|
|
16036
16072
|
|
|
16037
|
-
// ../../node_modules
|
|
16073
|
+
// ../../node_modules/zod/v4/locales/uz.js
|
|
16038
16074
|
var error46 = /* @__PURE__ */ __name(() => {
|
|
16039
16075
|
const Sizable = {
|
|
16040
16076
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -16147,7 +16183,7 @@ function uz_default() {
|
|
|
16147
16183
|
}
|
|
16148
16184
|
__name(uz_default, "default");
|
|
16149
16185
|
|
|
16150
|
-
// ../../node_modules
|
|
16186
|
+
// ../../node_modules/zod/v4/locales/vi.js
|
|
16151
16187
|
var error47 = /* @__PURE__ */ __name(() => {
|
|
16152
16188
|
const Sizable = {
|
|
16153
16189
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -16258,7 +16294,7 @@ function vi_default() {
|
|
|
16258
16294
|
}
|
|
16259
16295
|
__name(vi_default, "default");
|
|
16260
16296
|
|
|
16261
|
-
// ../../node_modules
|
|
16297
|
+
// ../../node_modules/zod/v4/locales/zh-CN.js
|
|
16262
16298
|
var error48 = /* @__PURE__ */ __name(() => {
|
|
16263
16299
|
const Sizable = {
|
|
16264
16300
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -16370,7 +16406,7 @@ function zh_CN_default() {
|
|
|
16370
16406
|
}
|
|
16371
16407
|
__name(zh_CN_default, "default");
|
|
16372
16408
|
|
|
16373
|
-
// ../../node_modules
|
|
16409
|
+
// ../../node_modules/zod/v4/locales/zh-TW.js
|
|
16374
16410
|
var error49 = /* @__PURE__ */ __name(() => {
|
|
16375
16411
|
const Sizable = {
|
|
16376
16412
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -16480,7 +16516,7 @@ function zh_TW_default() {
|
|
|
16480
16516
|
}
|
|
16481
16517
|
__name(zh_TW_default, "default");
|
|
16482
16518
|
|
|
16483
|
-
// ../../node_modules
|
|
16519
|
+
// ../../node_modules/zod/v4/locales/yo.js
|
|
16484
16520
|
var error50 = /* @__PURE__ */ __name(() => {
|
|
16485
16521
|
const Sizable = {
|
|
16486
16522
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -16590,7 +16626,7 @@ function yo_default() {
|
|
|
16590
16626
|
}
|
|
16591
16627
|
__name(yo_default, "default");
|
|
16592
16628
|
|
|
16593
|
-
// ../../node_modules
|
|
16629
|
+
// ../../node_modules/zod/v4/core/registries.js
|
|
16594
16630
|
var _a13;
|
|
16595
16631
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
16596
16632
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -16643,7 +16679,7 @@ __name(registry, "registry");
|
|
|
16643
16679
|
(_a13 = globalThis).__zod_globalRegistry ?? (_a13.__zod_globalRegistry = registry());
|
|
16644
16680
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
16645
16681
|
|
|
16646
|
-
// ../../node_modules
|
|
16682
|
+
// ../../node_modules/zod/v4/core/api.js
|
|
16647
16683
|
// @__NO_SIDE_EFFECTS__
|
|
16648
16684
|
function _string(Class2, params) {
|
|
16649
16685
|
return new Class2({
|
|
@@ -17796,7 +17832,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
17796
17832
|
}
|
|
17797
17833
|
__name(_stringFormat, "_stringFormat");
|
|
17798
17834
|
|
|
17799
|
-
// ../../node_modules
|
|
17835
|
+
// ../../node_modules/zod/v4/core/to-json-schema.js
|
|
17800
17836
|
function initializeContext(params) {
|
|
17801
17837
|
let target = params?.target ?? "draft-2020-12";
|
|
17802
17838
|
if (target === "draft-4")
|
|
@@ -18160,7 +18196,7 @@ var createStandardJSONSchemaMethod = /* @__PURE__ */ __name((schema, io, process
|
|
|
18160
18196
|
return finalize(ctx, schema);
|
|
18161
18197
|
}, "createStandardJSONSchemaMethod");
|
|
18162
18198
|
|
|
18163
|
-
// ../../node_modules
|
|
18199
|
+
// ../../node_modules/zod/v4/core/json-schema-processors.js
|
|
18164
18200
|
var formatMap = {
|
|
18165
18201
|
guid: "uuid",
|
|
18166
18202
|
url: "uri",
|
|
@@ -18705,7 +18741,7 @@ function toJSONSchema(input, params) {
|
|
|
18705
18741
|
}
|
|
18706
18742
|
__name(toJSONSchema, "toJSONSchema");
|
|
18707
18743
|
|
|
18708
|
-
// ../../node_modules
|
|
18744
|
+
// ../../node_modules/zod/v4/core/json-schema-generator.js
|
|
18709
18745
|
var _JSONSchemaGenerator = class _JSONSchemaGenerator {
|
|
18710
18746
|
/** @deprecated Access via ctx instead */
|
|
18711
18747
|
get metadataRegistry() {
|
|
@@ -18782,10 +18818,10 @@ var _JSONSchemaGenerator = class _JSONSchemaGenerator {
|
|
|
18782
18818
|
__name(_JSONSchemaGenerator, "JSONSchemaGenerator");
|
|
18783
18819
|
var JSONSchemaGenerator = _JSONSchemaGenerator;
|
|
18784
18820
|
|
|
18785
|
-
// ../../node_modules
|
|
18821
|
+
// ../../node_modules/zod/v4/core/json-schema.js
|
|
18786
18822
|
var json_schema_exports = {};
|
|
18787
18823
|
|
|
18788
|
-
// ../../node_modules
|
|
18824
|
+
// ../../node_modules/zod/v4/classic/schemas.js
|
|
18789
18825
|
var schemas_exports2 = {};
|
|
18790
18826
|
__export(schemas_exports2, {
|
|
18791
18827
|
ZodAny: () => ZodAny,
|
|
@@ -18956,7 +18992,7 @@ __export(schemas_exports2, {
|
|
|
18956
18992
|
xor: () => xor
|
|
18957
18993
|
});
|
|
18958
18994
|
|
|
18959
|
-
// ../../node_modules
|
|
18995
|
+
// ../../node_modules/zod/v4/classic/checks.js
|
|
18960
18996
|
var checks_exports2 = {};
|
|
18961
18997
|
__export(checks_exports2, {
|
|
18962
18998
|
endsWith: () => _endsWith,
|
|
@@ -18990,7 +19026,7 @@ __export(checks_exports2, {
|
|
|
18990
19026
|
uppercase: () => _uppercase
|
|
18991
19027
|
});
|
|
18992
19028
|
|
|
18993
|
-
// ../../node_modules
|
|
19029
|
+
// ../../node_modules/zod/v4/classic/iso.js
|
|
18994
19030
|
var iso_exports = {};
|
|
18995
19031
|
__export(iso_exports, {
|
|
18996
19032
|
ZodISODate: () => ZodISODate,
|
|
@@ -19035,7 +19071,7 @@ function duration2(params) {
|
|
|
19035
19071
|
}
|
|
19036
19072
|
__name(duration2, "duration");
|
|
19037
19073
|
|
|
19038
|
-
// ../../node_modules
|
|
19074
|
+
// ../../node_modules/zod/v4/classic/errors.js
|
|
19039
19075
|
var initializer2 = /* @__PURE__ */ __name((inst, issues) => {
|
|
19040
19076
|
$ZodError.init(inst, issues);
|
|
19041
19077
|
inst.name = "ZodError";
|
|
@@ -19075,7 +19111,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
|
19075
19111
|
Parent: Error
|
|
19076
19112
|
});
|
|
19077
19113
|
|
|
19078
|
-
// ../../node_modules
|
|
19114
|
+
// ../../node_modules/zod/v4/classic/parse.js
|
|
19079
19115
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
19080
19116
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
19081
19117
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -19089,7 +19125,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
19089
19125
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
19090
19126
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
19091
19127
|
|
|
19092
|
-
// ../../node_modules
|
|
19128
|
+
// ../../node_modules/zod/v4/classic/schemas.js
|
|
19093
19129
|
var _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
19094
19130
|
function _installLazyMethods(inst, group, methods) {
|
|
19095
19131
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -20472,7 +20508,7 @@ function preprocess(fn, schema) {
|
|
|
20472
20508
|
}
|
|
20473
20509
|
__name(preprocess, "preprocess");
|
|
20474
20510
|
|
|
20475
|
-
// ../../node_modules
|
|
20511
|
+
// ../../node_modules/zod/v4/classic/compat.js
|
|
20476
20512
|
var ZodIssueCode = {
|
|
20477
20513
|
invalid_type: "invalid_type",
|
|
20478
20514
|
too_big: "too_big",
|
|
@@ -20500,7 +20536,7 @@ var ZodFirstPartyTypeKind;
|
|
|
20500
20536
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
20501
20537
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
20502
20538
|
|
|
20503
|
-
// ../../node_modules
|
|
20539
|
+
// ../../node_modules/zod/v4/classic/from-json-schema.js
|
|
20504
20540
|
var z = {
|
|
20505
20541
|
...schemas_exports2,
|
|
20506
20542
|
...checks_exports2,
|
|
@@ -20985,7 +21021,7 @@ function fromJSONSchema(schema, params) {
|
|
|
20985
21021
|
}
|
|
20986
21022
|
__name(fromJSONSchema, "fromJSONSchema");
|
|
20987
21023
|
|
|
20988
|
-
// ../../node_modules
|
|
21024
|
+
// ../../node_modules/zod/v4/classic/coerce.js
|
|
20989
21025
|
var coerce_exports = {};
|
|
20990
21026
|
__export(coerce_exports, {
|
|
20991
21027
|
bigint: () => bigint3,
|
|
@@ -21015,13 +21051,13 @@ function date4(params) {
|
|
|
21015
21051
|
}
|
|
21016
21052
|
__name(date4, "date");
|
|
21017
21053
|
|
|
21018
|
-
// ../../node_modules
|
|
21054
|
+
// ../../node_modules/zod/v4/classic/external.js
|
|
21019
21055
|
config(en_default());
|
|
21020
21056
|
|
|
21021
|
-
// ../../node_modules
|
|
21057
|
+
// ../../node_modules/zod/index.js
|
|
21022
21058
|
var zod_default = external_exports;
|
|
21023
21059
|
|
|
21024
|
-
// ../../node_modules
|
|
21060
|
+
// ../../node_modules/@sd-jwt/sd-jwt-vc/dist/index.mjs
|
|
21025
21061
|
var __defProp3 = Object.defineProperty;
|
|
21026
21062
|
var __defProps2 = Object.defineProperties;
|
|
21027
21063
|
var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
|
|
@@ -21608,11 +21644,11 @@ ${zod_default.prettifyError(validated.error)}`
|
|
|
21608
21644
|
}
|
|
21609
21645
|
}, __name(_a14, "_SDJwtVcInstance"), _a14);
|
|
21610
21646
|
|
|
21611
|
-
// ../../node_modules
|
|
21647
|
+
// ../../node_modules/jose/dist/browser/runtime/webcrypto.js
|
|
21612
21648
|
var webcrypto_default = crypto;
|
|
21613
21649
|
var isCryptoKey = /* @__PURE__ */ __name((key) => key instanceof CryptoKey, "isCryptoKey");
|
|
21614
21650
|
|
|
21615
|
-
// ../../node_modules
|
|
21651
|
+
// ../../node_modules/jose/dist/browser/lib/buffer_utils.js
|
|
21616
21652
|
var encoder = new TextEncoder();
|
|
21617
21653
|
var decoder = new TextDecoder();
|
|
21618
21654
|
var MAX_INT32 = 2 ** 32;
|
|
@@ -21628,7 +21664,7 @@ function concat(...buffers) {
|
|
|
21628
21664
|
}
|
|
21629
21665
|
__name(concat, "concat");
|
|
21630
21666
|
|
|
21631
|
-
// ../../node_modules
|
|
21667
|
+
// ../../node_modules/jose/dist/browser/runtime/base64url.js
|
|
21632
21668
|
var decodeBase64 = /* @__PURE__ */ __name((encoded) => {
|
|
21633
21669
|
const binary = atob(encoded);
|
|
21634
21670
|
const bytes = new Uint8Array(binary.length);
|
|
@@ -21650,7 +21686,7 @@ var decode4 = /* @__PURE__ */ __name((input) => {
|
|
|
21650
21686
|
}
|
|
21651
21687
|
}, "decode");
|
|
21652
21688
|
|
|
21653
|
-
// ../../node_modules
|
|
21689
|
+
// ../../node_modules/jose/dist/browser/util/errors.js
|
|
21654
21690
|
var _JOSEError = class _JOSEError extends Error {
|
|
21655
21691
|
constructor(message2, options) {
|
|
21656
21692
|
super(message2, options);
|
|
@@ -21795,7 +21831,7 @@ __name(_JWSSignatureVerificationFailed, "JWSSignatureVerificationFailed");
|
|
|
21795
21831
|
var JWSSignatureVerificationFailed = _JWSSignatureVerificationFailed;
|
|
21796
21832
|
JWSSignatureVerificationFailed.code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
|
|
21797
21833
|
|
|
21798
|
-
// ../../node_modules
|
|
21834
|
+
// ../../node_modules/jose/dist/browser/lib/crypto_key.js
|
|
21799
21835
|
function unusable(name, prop = "algorithm.name") {
|
|
21800
21836
|
return new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name}`);
|
|
21801
21837
|
}
|
|
@@ -21900,7 +21936,7 @@ function checkSigCryptoKey(key, alg, ...usages) {
|
|
|
21900
21936
|
}
|
|
21901
21937
|
__name(checkSigCryptoKey, "checkSigCryptoKey");
|
|
21902
21938
|
|
|
21903
|
-
// ../../node_modules
|
|
21939
|
+
// ../../node_modules/jose/dist/browser/lib/invalid_key_input.js
|
|
21904
21940
|
function message(msg, actual, ...types2) {
|
|
21905
21941
|
types2 = types2.filter(Boolean);
|
|
21906
21942
|
if (types2.length > 2) {
|
|
@@ -21931,7 +21967,7 @@ function withAlg(alg, actual, ...types2) {
|
|
|
21931
21967
|
}
|
|
21932
21968
|
__name(withAlg, "withAlg");
|
|
21933
21969
|
|
|
21934
|
-
// ../../node_modules
|
|
21970
|
+
// ../../node_modules/jose/dist/browser/runtime/is_key_like.js
|
|
21935
21971
|
var is_key_like_default = /* @__PURE__ */ __name((key) => {
|
|
21936
21972
|
if (isCryptoKey(key)) {
|
|
21937
21973
|
return true;
|
|
@@ -21940,7 +21976,7 @@ var is_key_like_default = /* @__PURE__ */ __name((key) => {
|
|
|
21940
21976
|
}, "default");
|
|
21941
21977
|
var types = ["CryptoKey"];
|
|
21942
21978
|
|
|
21943
|
-
// ../../node_modules
|
|
21979
|
+
// ../../node_modules/jose/dist/browser/lib/is_disjoint.js
|
|
21944
21980
|
var isDisjoint = /* @__PURE__ */ __name((...headers) => {
|
|
21945
21981
|
const sources = headers.filter(Boolean);
|
|
21946
21982
|
if (sources.length === 0 || sources.length === 1) {
|
|
@@ -21964,7 +22000,7 @@ var isDisjoint = /* @__PURE__ */ __name((...headers) => {
|
|
|
21964
22000
|
}, "isDisjoint");
|
|
21965
22001
|
var is_disjoint_default = isDisjoint;
|
|
21966
22002
|
|
|
21967
|
-
// ../../node_modules
|
|
22003
|
+
// ../../node_modules/jose/dist/browser/lib/is_object.js
|
|
21968
22004
|
function isObjectLike(value) {
|
|
21969
22005
|
return typeof value === "object" && value !== null;
|
|
21970
22006
|
}
|
|
@@ -21984,7 +22020,7 @@ function isObject2(input) {
|
|
|
21984
22020
|
}
|
|
21985
22021
|
__name(isObject2, "isObject");
|
|
21986
22022
|
|
|
21987
|
-
// ../../node_modules
|
|
22023
|
+
// ../../node_modules/jose/dist/browser/runtime/check_key_length.js
|
|
21988
22024
|
var check_key_length_default = /* @__PURE__ */ __name((alg, key) => {
|
|
21989
22025
|
if (alg.startsWith("RS") || alg.startsWith("PS")) {
|
|
21990
22026
|
const { modulusLength } = key.algorithm;
|
|
@@ -21994,7 +22030,7 @@ var check_key_length_default = /* @__PURE__ */ __name((alg, key) => {
|
|
|
21994
22030
|
}
|
|
21995
22031
|
}, "default");
|
|
21996
22032
|
|
|
21997
|
-
// ../../node_modules
|
|
22033
|
+
// ../../node_modules/jose/dist/browser/lib/is_jwk.js
|
|
21998
22034
|
function isJWK(key) {
|
|
21999
22035
|
return isObject2(key) && typeof key.kty === "string";
|
|
22000
22036
|
}
|
|
@@ -22012,7 +22048,7 @@ function isSecretJWK(key) {
|
|
|
22012
22048
|
}
|
|
22013
22049
|
__name(isSecretJWK, "isSecretJWK");
|
|
22014
22050
|
|
|
22015
|
-
// ../../node_modules
|
|
22051
|
+
// ../../node_modules/jose/dist/browser/runtime/jwk_to_key.js
|
|
22016
22052
|
function subtleMapping(jwk) {
|
|
22017
22053
|
let algorithm;
|
|
22018
22054
|
let keyUsages;
|
|
@@ -22117,7 +22153,7 @@ var parse3 = /* @__PURE__ */ __name(async (jwk) => {
|
|
|
22117
22153
|
}, "parse");
|
|
22118
22154
|
var jwk_to_key_default = parse3;
|
|
22119
22155
|
|
|
22120
|
-
// ../../node_modules
|
|
22156
|
+
// ../../node_modules/jose/dist/browser/runtime/normalize_key.js
|
|
22121
22157
|
var exportKeyValue = /* @__PURE__ */ __name((k) => decode4(k), "exportKeyValue");
|
|
22122
22158
|
var privCache;
|
|
22123
22159
|
var pubCache;
|
|
@@ -22183,7 +22219,7 @@ var normalizePrivateKey = /* @__PURE__ */ __name((key, alg) => {
|
|
|
22183
22219
|
}, "normalizePrivateKey");
|
|
22184
22220
|
var normalize_key_default = { normalizePublicKey, normalizePrivateKey };
|
|
22185
22221
|
|
|
22186
|
-
// ../../node_modules
|
|
22222
|
+
// ../../node_modules/jose/dist/browser/key/import.js
|
|
22187
22223
|
async function importJWK(jwk, alg) {
|
|
22188
22224
|
if (!isObject2(jwk)) {
|
|
22189
22225
|
throw new TypeError("JWK must be an object");
|
|
@@ -22208,7 +22244,7 @@ async function importJWK(jwk, alg) {
|
|
|
22208
22244
|
}
|
|
22209
22245
|
__name(importJWK, "importJWK");
|
|
22210
22246
|
|
|
22211
|
-
// ../../node_modules
|
|
22247
|
+
// ../../node_modules/jose/dist/browser/lib/check_key_type.js
|
|
22212
22248
|
var tag = /* @__PURE__ */ __name((key) => key?.[Symbol.toStringTag], "tag");
|
|
22213
22249
|
var jwkMatchesOp = /* @__PURE__ */ __name((alg, key, usage) => {
|
|
22214
22250
|
if (key.use !== void 0 && key.use !== "sig") {
|
|
@@ -22281,7 +22317,7 @@ __name(checkKeyType, "checkKeyType");
|
|
|
22281
22317
|
var check_key_type_default = checkKeyType.bind(void 0, false);
|
|
22282
22318
|
var checkKeyTypeWithJwk = checkKeyType.bind(void 0, true);
|
|
22283
22319
|
|
|
22284
|
-
// ../../node_modules
|
|
22320
|
+
// ../../node_modules/jose/dist/browser/lib/validate_crit.js
|
|
22285
22321
|
function validateCrit(Err, recognizedDefault, recognizedOption, protectedHeader, joseHeader) {
|
|
22286
22322
|
if (joseHeader.crit !== void 0 && protectedHeader?.crit === void 0) {
|
|
22287
22323
|
throw new Err('"crit" (Critical) Header Parameter MUST be integrity protected');
|
|
@@ -22314,7 +22350,7 @@ function validateCrit(Err, recognizedDefault, recognizedOption, protectedHeader,
|
|
|
22314
22350
|
__name(validateCrit, "validateCrit");
|
|
22315
22351
|
var validate_crit_default = validateCrit;
|
|
22316
22352
|
|
|
22317
|
-
// ../../node_modules
|
|
22353
|
+
// ../../node_modules/jose/dist/browser/lib/validate_algorithms.js
|
|
22318
22354
|
var validateAlgorithms = /* @__PURE__ */ __name((option, algorithms) => {
|
|
22319
22355
|
if (algorithms !== void 0 && (!Array.isArray(algorithms) || algorithms.some((s) => typeof s !== "string"))) {
|
|
22320
22356
|
throw new TypeError(`"${option}" option must be an array of strings`);
|
|
@@ -22326,7 +22362,7 @@ var validateAlgorithms = /* @__PURE__ */ __name((option, algorithms) => {
|
|
|
22326
22362
|
}, "validateAlgorithms");
|
|
22327
22363
|
var validate_algorithms_default = validateAlgorithms;
|
|
22328
22364
|
|
|
22329
|
-
// ../../node_modules
|
|
22365
|
+
// ../../node_modules/jose/dist/browser/runtime/subtle_dsa.js
|
|
22330
22366
|
function subtleDsa(alg, algorithm) {
|
|
22331
22367
|
const hash2 = `SHA-${alg.slice(-3)}`;
|
|
22332
22368
|
switch (alg) {
|
|
@@ -22356,7 +22392,7 @@ function subtleDsa(alg, algorithm) {
|
|
|
22356
22392
|
}
|
|
22357
22393
|
__name(subtleDsa, "subtleDsa");
|
|
22358
22394
|
|
|
22359
|
-
// ../../node_modules
|
|
22395
|
+
// ../../node_modules/jose/dist/browser/runtime/get_sign_verify_key.js
|
|
22360
22396
|
async function getCryptoKey(alg, key, usage) {
|
|
22361
22397
|
if (usage === "sign") {
|
|
22362
22398
|
key = await normalize_key_default.normalizePrivateKey(key, alg);
|
|
@@ -22378,7 +22414,7 @@ async function getCryptoKey(alg, key, usage) {
|
|
|
22378
22414
|
}
|
|
22379
22415
|
__name(getCryptoKey, "getCryptoKey");
|
|
22380
22416
|
|
|
22381
|
-
// ../../node_modules
|
|
22417
|
+
// ../../node_modules/jose/dist/browser/runtime/verify.js
|
|
22382
22418
|
var verify = /* @__PURE__ */ __name(async (alg, key, signature, data) => {
|
|
22383
22419
|
const cryptoKey = await getCryptoKey(alg, key, "verify");
|
|
22384
22420
|
check_key_length_default(alg, cryptoKey);
|
|
@@ -22391,7 +22427,7 @@ var verify = /* @__PURE__ */ __name(async (alg, key, signature, data) => {
|
|
|
22391
22427
|
}, "verify");
|
|
22392
22428
|
var verify_default = verify;
|
|
22393
22429
|
|
|
22394
|
-
// ../../node_modules
|
|
22430
|
+
// ../../node_modules/jose/dist/browser/jws/flattened/verify.js
|
|
22395
22431
|
async function flattenedVerify(jws, key, options) {
|
|
22396
22432
|
if (!isObject2(jws)) {
|
|
22397
22433
|
throw new JWSInvalid("Flattened JWS must be an object");
|
|
@@ -22498,7 +22534,7 @@ async function flattenedVerify(jws, key, options) {
|
|
|
22498
22534
|
}
|
|
22499
22535
|
__name(flattenedVerify, "flattenedVerify");
|
|
22500
22536
|
|
|
22501
|
-
// ../../node_modules
|
|
22537
|
+
// ../../node_modules/jose/dist/browser/jws/compact/verify.js
|
|
22502
22538
|
async function compactVerify(jws, key, options) {
|
|
22503
22539
|
if (jws instanceof Uint8Array) {
|
|
22504
22540
|
jws = decoder.decode(jws);
|
|
@@ -23465,6 +23501,6 @@ __name(initLearnCard, "initLearnCard");
|
|
|
23465
23501
|
/*! Bundled license information:
|
|
23466
23502
|
|
|
23467
23503
|
pako/dist/pako.esm.mjs:
|
|
23468
|
-
(*! pako 2.
|
|
23504
|
+
(*! pako 2.2.0 https://github.com/nodeca/pako @license (MIT AND Zlib) *)
|
|
23469
23505
|
*/
|
|
23470
23506
|
//# sourceMappingURL=init.cjs.development.cjs.map
|