@learncard/init 2.4.3 → 2.4.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/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
package/dist/init.esm.js
CHANGED
|
@@ -58,7 +58,7 @@ import { getCHAPIPlugin as getCHAPIPlugin2 } from "@learncard/chapi-plugin";
|
|
|
58
58
|
import { getLearnCardPlugin as getLearnCardPlugin2 } from "@learncard/learn-card-plugin";
|
|
59
59
|
import { getOpenID4VCPlugin } from "@learncard/openid4vc-plugin";
|
|
60
60
|
|
|
61
|
-
// ../../node_modules
|
|
61
|
+
// ../../node_modules/@sd-jwt/types/dist/index.mjs
|
|
62
62
|
var SD_SEPARATOR = "~";
|
|
63
63
|
var SD_LIST_KEY = "...";
|
|
64
64
|
var SD_DIGEST = "_sd";
|
|
@@ -84,11 +84,11 @@ var IANA_HASH_ALGORITHMS = [
|
|
|
84
84
|
"k12-512"
|
|
85
85
|
];
|
|
86
86
|
|
|
87
|
-
// ../../node_modules
|
|
88
|
-
var version = "3.
|
|
87
|
+
// ../../node_modules/js-base64/base64.mjs
|
|
88
|
+
var version = "3.8.0";
|
|
89
89
|
var VERSION = version;
|
|
90
90
|
var _hasBuffer = typeof Buffer === "function";
|
|
91
|
-
var _TD = typeof TextDecoder === "function" ? new TextDecoder() : void 0;
|
|
91
|
+
var _TD = typeof TextDecoder === "function" ? new TextDecoder("utf-8", { ignoreBOM: true }) : void 0;
|
|
92
92
|
var _TE = typeof TextEncoder === "function" ? new TextEncoder() : void 0;
|
|
93
93
|
var b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
94
94
|
var b64chs = Array.prototype.slice.call(b64ch);
|
|
@@ -246,7 +246,7 @@ var gBase64 = {
|
|
|
246
246
|
extendBuiltins
|
|
247
247
|
};
|
|
248
248
|
|
|
249
|
-
// ../../node_modules
|
|
249
|
+
// ../../node_modules/@sd-jwt/utils/dist/index.mjs
|
|
250
250
|
var __async = /* @__PURE__ */ __name((__this, __arguments, generator) => {
|
|
251
251
|
return new Promise((resolve, reject) => {
|
|
252
252
|
var fulfilled = /* @__PURE__ */ __name((value) => {
|
|
@@ -352,7 +352,7 @@ var Disclosure = (_a2 = class {
|
|
|
352
352
|
}
|
|
353
353
|
}, __name(_a2, "_Disclosure"), _a2);
|
|
354
354
|
|
|
355
|
-
// ../../node_modules
|
|
355
|
+
// ../../node_modules/@sd-jwt/decode/dist/index.mjs
|
|
356
356
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
357
357
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
358
358
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -528,7 +528,7 @@ var unpack = /* @__PURE__ */ __name((SdJwtPayload, disclosures, hasher) => __asy
|
|
|
528
528
|
return unpackObj(payload, map2);
|
|
529
529
|
}), "unpack");
|
|
530
530
|
|
|
531
|
-
// ../../node_modules
|
|
531
|
+
// ../../node_modules/@sd-jwt/present/dist/index.mjs
|
|
532
532
|
var transformPresentationFrame = /* @__PURE__ */ __name((obj, prefix = "") => {
|
|
533
533
|
return Object.entries(obj).reduce((acc, [key, value]) => {
|
|
534
534
|
const newPrefix = prefix ? `${prefix}.${key}` : key;
|
|
@@ -549,7 +549,7 @@ var transformPresentationFrame = /* @__PURE__ */ __name((obj, prefix = "") => {
|
|
|
549
549
|
}, []);
|
|
550
550
|
}, "transformPresentationFrame");
|
|
551
551
|
|
|
552
|
-
// ../../node_modules
|
|
552
|
+
// ../../node_modules/@sd-jwt/core/dist/index.mjs
|
|
553
553
|
var __defProp2 = Object.defineProperty;
|
|
554
554
|
var __defProps = Object.defineProperties;
|
|
555
555
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
@@ -1670,7 +1670,7 @@ var SDJwtGeneralJSONInstance = (_a9 = class {
|
|
|
1670
1670
|
}, __name(_a9, "SDJwtGeneralJSONInstance"), _a9);
|
|
1671
1671
|
SDJwtGeneralJSONInstance.DEFAULT_hashAlg = "sha-256";
|
|
1672
1672
|
|
|
1673
|
-
// ../../node_modules
|
|
1673
|
+
// ../../node_modules/@sd-jwt/jwt-status-list/node_modules/pako/dist/pako.esm.mjs
|
|
1674
1674
|
var Z_FIXED$1 = 4;
|
|
1675
1675
|
var Z_BINARY = 0;
|
|
1676
1676
|
var Z_TEXT = 1;
|
|
@@ -2420,7 +2420,7 @@ var {
|
|
|
2420
2420
|
Z_STREAM_END: Z_STREAM_END$3,
|
|
2421
2421
|
Z_STREAM_ERROR: Z_STREAM_ERROR$2,
|
|
2422
2422
|
Z_DATA_ERROR: Z_DATA_ERROR$2,
|
|
2423
|
-
Z_BUF_ERROR: Z_BUF_ERROR$
|
|
2423
|
+
Z_BUF_ERROR: Z_BUF_ERROR$2,
|
|
2424
2424
|
Z_DEFAULT_COMPRESSION: Z_DEFAULT_COMPRESSION$1,
|
|
2425
2425
|
Z_FILTERED,
|
|
2426
2426
|
Z_HUFFMAN_ONLY,
|
|
@@ -2487,8 +2487,20 @@ var slide_hash = /* @__PURE__ */ __name((s) => {
|
|
|
2487
2487
|
s.prev[p] = m >= wsize ? m - wsize : 0;
|
|
2488
2488
|
} while (--n);
|
|
2489
2489
|
}, "slide_hash");
|
|
2490
|
-
var
|
|
2491
|
-
var
|
|
2490
|
+
var HASH = /* @__PURE__ */ __name((s, prev, data) => (prev << s.hash_shift ^ data) & s.hash_mask, "HASH");
|
|
2491
|
+
var INSERT_STRING = /* @__PURE__ */ __name((s, str) => {
|
|
2492
|
+
let h;
|
|
2493
|
+
if (s.legacy_hash) {
|
|
2494
|
+
h = s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]);
|
|
2495
|
+
} else {
|
|
2496
|
+
const w = s.window;
|
|
2497
|
+
const value = w[str] | w[str + 1] << 8 | w[str + 2] << 16 | w[str + 3] << 24;
|
|
2498
|
+
h = s.ins_h = Math.imul(value, 66521) + 66521 >>> 16 & s.hash_mask;
|
|
2499
|
+
}
|
|
2500
|
+
const hash_head = s.prev[str & s.w_mask] = s.head[h];
|
|
2501
|
+
s.head[h] = str;
|
|
2502
|
+
return hash_head;
|
|
2503
|
+
}, "INSERT_STRING");
|
|
2492
2504
|
var flush_pending = /* @__PURE__ */ __name((strm) => {
|
|
2493
2505
|
const s = strm.state;
|
|
2494
2506
|
let len = s.pending;
|
|
@@ -2606,14 +2618,24 @@ var fill_window = /* @__PURE__ */ __name((s) => {
|
|
|
2606
2618
|
}
|
|
2607
2619
|
n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more);
|
|
2608
2620
|
s.lookahead += n;
|
|
2609
|
-
if (s.
|
|
2621
|
+
if (!s.legacy_hash) {
|
|
2622
|
+
if (s.lookahead + s.insert > MIN_MATCH) {
|
|
2623
|
+
str = s.strstart - s.insert;
|
|
2624
|
+
while (s.insert) {
|
|
2625
|
+
INSERT_STRING(s, str);
|
|
2626
|
+
str++;
|
|
2627
|
+
s.insert--;
|
|
2628
|
+
if (s.lookahead + s.insert <= MIN_MATCH) {
|
|
2629
|
+
break;
|
|
2630
|
+
}
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
} else if (s.lookahead + s.insert >= MIN_MATCH) {
|
|
2610
2634
|
str = s.strstart - s.insert;
|
|
2611
2635
|
s.ins_h = s.window[str];
|
|
2612
2636
|
s.ins_h = HASH(s, s.ins_h, s.window[str + 1]);
|
|
2613
2637
|
while (s.insert) {
|
|
2614
|
-
|
|
2615
|
-
s.prev[str & s.w_mask] = s.head[s.ins_h];
|
|
2616
|
-
s.head[s.ins_h] = str;
|
|
2638
|
+
INSERT_STRING(s, str);
|
|
2617
2639
|
str++;
|
|
2618
2640
|
s.insert--;
|
|
2619
2641
|
if (s.lookahead + s.insert < MIN_MATCH) {
|
|
@@ -2754,9 +2776,7 @@ var deflate_fast = /* @__PURE__ */ __name((s, flush) => {
|
|
|
2754
2776
|
}
|
|
2755
2777
|
hash_head = 0;
|
|
2756
2778
|
if (s.lookahead >= MIN_MATCH) {
|
|
2757
|
-
|
|
2758
|
-
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
|
2759
|
-
s.head[s.ins_h] = s.strstart;
|
|
2779
|
+
hash_head = INSERT_STRING(s, s.strstart);
|
|
2760
2780
|
}
|
|
2761
2781
|
if (hash_head !== 0 && s.strstart - hash_head <= s.w_size - MIN_LOOKAHEAD) {
|
|
2762
2782
|
s.match_length = longest_match(s, hash_head);
|
|
@@ -2768,16 +2788,16 @@ var deflate_fast = /* @__PURE__ */ __name((s, flush) => {
|
|
|
2768
2788
|
s.match_length--;
|
|
2769
2789
|
do {
|
|
2770
2790
|
s.strstart++;
|
|
2771
|
-
|
|
2772
|
-
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
|
2773
|
-
s.head[s.ins_h] = s.strstart;
|
|
2791
|
+
hash_head = INSERT_STRING(s, s.strstart);
|
|
2774
2792
|
} while (--s.match_length !== 0);
|
|
2775
2793
|
s.strstart++;
|
|
2776
2794
|
} else {
|
|
2777
2795
|
s.strstart += s.match_length;
|
|
2778
2796
|
s.match_length = 0;
|
|
2779
|
-
s.
|
|
2780
|
-
|
|
2797
|
+
if (s.legacy_hash) {
|
|
2798
|
+
s.ins_h = s.window[s.strstart];
|
|
2799
|
+
s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + 1]);
|
|
2800
|
+
}
|
|
2781
2801
|
}
|
|
2782
2802
|
} else {
|
|
2783
2803
|
bflush = _tr_tally(s, 0, s.window[s.strstart]);
|
|
@@ -2823,9 +2843,7 @@ var deflate_slow = /* @__PURE__ */ __name((s, flush) => {
|
|
|
2823
2843
|
}
|
|
2824
2844
|
hash_head = 0;
|
|
2825
2845
|
if (s.lookahead >= MIN_MATCH) {
|
|
2826
|
-
|
|
2827
|
-
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
|
2828
|
-
s.head[s.ins_h] = s.strstart;
|
|
2846
|
+
hash_head = INSERT_STRING(s, s.strstart);
|
|
2829
2847
|
}
|
|
2830
2848
|
s.prev_length = s.match_length;
|
|
2831
2849
|
s.prev_match = s.match_start;
|
|
@@ -2843,9 +2861,7 @@ var deflate_slow = /* @__PURE__ */ __name((s, flush) => {
|
|
|
2843
2861
|
s.prev_length -= 2;
|
|
2844
2862
|
do {
|
|
2845
2863
|
if (++s.strstart <= max_insert) {
|
|
2846
|
-
|
|
2847
|
-
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
|
2848
|
-
s.head[s.ins_h] = s.strstart;
|
|
2864
|
+
hash_head = INSERT_STRING(s, s.strstart);
|
|
2849
2865
|
}
|
|
2850
2866
|
} while (--s.prev_length !== 0);
|
|
2851
2867
|
s.match_available = 0;
|
|
@@ -3060,6 +3076,7 @@ function DeflateState() {
|
|
|
3060
3076
|
this.prev = null;
|
|
3061
3077
|
this.head = null;
|
|
3062
3078
|
this.ins_h = 0;
|
|
3079
|
+
this.legacy_hash = 0;
|
|
3063
3080
|
this.hash_size = 0;
|
|
3064
3081
|
this.hash_bits = 0;
|
|
3065
3082
|
this.hash_mask = 0;
|
|
@@ -3154,7 +3171,7 @@ var deflateSetHeader = /* @__PURE__ */ __name((strm, head) => {
|
|
|
3154
3171
|
strm.state.gzhead = head;
|
|
3155
3172
|
return Z_OK$3;
|
|
3156
3173
|
}, "deflateSetHeader");
|
|
3157
|
-
var deflateInit2 = /* @__PURE__ */ __name((strm, level, method, windowBits, memLevel, strategy) => {
|
|
3174
|
+
var deflateInit2 = /* @__PURE__ */ __name((strm, level, method, windowBits, memLevel, strategy, legacyHash) => {
|
|
3158
3175
|
if (!strm) {
|
|
3159
3176
|
return Z_STREAM_ERROR$2;
|
|
3160
3177
|
}
|
|
@@ -3184,7 +3201,11 @@ var deflateInit2 = /* @__PURE__ */ __name((strm, level, method, windowBits, memL
|
|
|
3184
3201
|
s.w_bits = windowBits;
|
|
3185
3202
|
s.w_size = 1 << s.w_bits;
|
|
3186
3203
|
s.w_mask = s.w_size - 1;
|
|
3204
|
+
s.legacy_hash = legacyHash ? 1 : 0;
|
|
3187
3205
|
s.hash_bits = memLevel + 7;
|
|
3206
|
+
if (!s.legacy_hash && s.hash_bits < 15) {
|
|
3207
|
+
s.hash_bits = 15;
|
|
3208
|
+
}
|
|
3188
3209
|
s.hash_size = 1 << s.hash_bits;
|
|
3189
3210
|
s.hash_mask = s.hash_size - 1;
|
|
3190
3211
|
s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH);
|
|
@@ -3210,7 +3231,7 @@ var deflate$2 = /* @__PURE__ */ __name((strm, flush) => {
|
|
|
3210
3231
|
}
|
|
3211
3232
|
const s = strm.state;
|
|
3212
3233
|
if (!strm.output || strm.avail_in !== 0 && !strm.input || s.status === FINISH_STATE && flush !== Z_FINISH$3) {
|
|
3213
|
-
return err(strm, strm.avail_out === 0 ? Z_BUF_ERROR$
|
|
3234
|
+
return err(strm, strm.avail_out === 0 ? Z_BUF_ERROR$2 : Z_STREAM_ERROR$2);
|
|
3214
3235
|
}
|
|
3215
3236
|
const old_flush = s.last_flush;
|
|
3216
3237
|
s.last_flush = flush;
|
|
@@ -3221,10 +3242,10 @@ var deflate$2 = /* @__PURE__ */ __name((strm, flush) => {
|
|
|
3221
3242
|
return Z_OK$3;
|
|
3222
3243
|
}
|
|
3223
3244
|
} else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) && flush !== Z_FINISH$3) {
|
|
3224
|
-
return err(strm, Z_BUF_ERROR$
|
|
3245
|
+
return err(strm, Z_BUF_ERROR$2);
|
|
3225
3246
|
}
|
|
3226
3247
|
if (s.status === FINISH_STATE && strm.avail_in !== 0) {
|
|
3227
|
-
return err(strm, Z_BUF_ERROR$
|
|
3248
|
+
return err(strm, Z_BUF_ERROR$2);
|
|
3228
3249
|
}
|
|
3229
3250
|
if (s.status === INIT_STATE && s.wrap === 0) {
|
|
3230
3251
|
s.status = BUSY_STATE;
|
|
@@ -3511,9 +3532,7 @@ var deflateSetDictionary = /* @__PURE__ */ __name((strm, dictionary) => {
|
|
|
3511
3532
|
let str = s.strstart;
|
|
3512
3533
|
let n = s.lookahead - (MIN_MATCH - 1);
|
|
3513
3534
|
do {
|
|
3514
|
-
|
|
3515
|
-
s.prev[str & s.w_mask] = s.head[s.ins_h];
|
|
3516
|
-
s.head[s.ins_h] = str;
|
|
3535
|
+
INSERT_STRING(s, str);
|
|
3517
3536
|
str++;
|
|
3518
3537
|
} while (--n);
|
|
3519
3538
|
s.strstart = str;
|
|
@@ -3600,7 +3619,7 @@ var _utf8len = new Uint8Array(256);
|
|
|
3600
3619
|
for (let q = 0; q < 256; q++) {
|
|
3601
3620
|
_utf8len[q] = q >= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1;
|
|
3602
3621
|
}
|
|
3603
|
-
_utf8len[254] = _utf8len[
|
|
3622
|
+
_utf8len[254] = _utf8len[255] = 1;
|
|
3604
3623
|
var string2buf = /* @__PURE__ */ __name((str) => {
|
|
3605
3624
|
if (typeof TextEncoder === "function" && TextEncoder.prototype.encode) {
|
|
3606
3625
|
return new TextEncoder().encode(str);
|
|
@@ -3745,15 +3764,17 @@ var {
|
|
|
3745
3764
|
Z_DEFAULT_STRATEGY,
|
|
3746
3765
|
Z_DEFLATED: Z_DEFLATED$1
|
|
3747
3766
|
} = constants$2;
|
|
3767
|
+
var defaultOptions$1 = {
|
|
3768
|
+
level: Z_DEFAULT_COMPRESSION,
|
|
3769
|
+
method: Z_DEFLATED$1,
|
|
3770
|
+
chunkSize: 16384,
|
|
3771
|
+
windowBits: 15,
|
|
3772
|
+
memLevel: 8,
|
|
3773
|
+
strategy: Z_DEFAULT_STRATEGY,
|
|
3774
|
+
legacyHash: true
|
|
3775
|
+
};
|
|
3748
3776
|
function Deflate$1(options) {
|
|
3749
|
-
this.options = common.assign({
|
|
3750
|
-
level: Z_DEFAULT_COMPRESSION,
|
|
3751
|
-
method: Z_DEFLATED$1,
|
|
3752
|
-
chunkSize: 16384,
|
|
3753
|
-
windowBits: 15,
|
|
3754
|
-
memLevel: 8,
|
|
3755
|
-
strategy: Z_DEFAULT_STRATEGY
|
|
3756
|
-
}, options || {});
|
|
3777
|
+
this.options = common.assign({}, defaultOptions$1, options || {});
|
|
3757
3778
|
let opt = this.options;
|
|
3758
3779
|
if (opt.raw && opt.windowBits > 0) {
|
|
3759
3780
|
opt.windowBits = -opt.windowBits;
|
|
@@ -3772,7 +3793,8 @@ function Deflate$1(options) {
|
|
|
3772
3793
|
opt.method,
|
|
3773
3794
|
opt.windowBits,
|
|
3774
3795
|
opt.memLevel,
|
|
3775
|
-
opt.strategy
|
|
3796
|
+
opt.strategy,
|
|
3797
|
+
opt.legacyHash
|
|
3776
3798
|
);
|
|
3777
3799
|
if (status !== Z_OK$2) {
|
|
3778
3800
|
throw new Error(messages[status]);
|
|
@@ -4185,8 +4207,8 @@ var lext = new Uint8Array([
|
|
|
4185
4207
|
21,
|
|
4186
4208
|
21,
|
|
4187
4209
|
16,
|
|
4188
|
-
|
|
4189
|
-
|
|
4210
|
+
199,
|
|
4211
|
+
75
|
|
4190
4212
|
]);
|
|
4191
4213
|
var dbase = new Uint16Array([
|
|
4192
4214
|
/* Distance codes 0..29 base */
|
|
@@ -4432,7 +4454,7 @@ var {
|
|
|
4432
4454
|
Z_STREAM_ERROR: Z_STREAM_ERROR$1,
|
|
4433
4455
|
Z_DATA_ERROR: Z_DATA_ERROR$1,
|
|
4434
4456
|
Z_MEM_ERROR: Z_MEM_ERROR$1,
|
|
4435
|
-
Z_BUF_ERROR,
|
|
4457
|
+
Z_BUF_ERROR: Z_BUF_ERROR$1,
|
|
4436
4458
|
Z_DEFLATED
|
|
4437
4459
|
} = constants$2;
|
|
4438
4460
|
var HEAD = 16180;
|
|
@@ -4637,10 +4659,12 @@ var updatewindow = /* @__PURE__ */ __name((strm, src, end, copy) => {
|
|
|
4637
4659
|
let dist;
|
|
4638
4660
|
const state = strm.state;
|
|
4639
4661
|
if (state.window === null) {
|
|
4662
|
+
state.window = new Uint8Array(1 << state.wbits);
|
|
4663
|
+
}
|
|
4664
|
+
if (state.wsize === 0) {
|
|
4640
4665
|
state.wsize = 1 << state.wbits;
|
|
4641
4666
|
state.wnext = 0;
|
|
4642
4667
|
state.whave = 0;
|
|
4643
|
-
state.window = new Uint8Array(state.wsize);
|
|
4644
4668
|
}
|
|
4645
4669
|
if (copy >= state.wsize) {
|
|
4646
4670
|
state.window.set(src.subarray(end - state.wsize, end), 0);
|
|
@@ -5593,7 +5617,7 @@ var inflate$2 = /* @__PURE__ */ __name((strm, flush) => {
|
|
|
5593
5617
|
}
|
|
5594
5618
|
strm.data_type = state.bits + (state.last ? 64 : 0) + (state.mode === TYPE ? 128 : 0) + (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);
|
|
5595
5619
|
if ((_in === 0 && _out === 0 || flush === Z_FINISH$1) && ret === Z_OK$1) {
|
|
5596
|
-
ret = Z_BUF_ERROR;
|
|
5620
|
+
ret = Z_BUF_ERROR$1;
|
|
5597
5621
|
}
|
|
5598
5622
|
return ret;
|
|
5599
5623
|
}, "inflate$2");
|
|
@@ -5692,14 +5716,16 @@ var {
|
|
|
5692
5716
|
Z_NEED_DICT,
|
|
5693
5717
|
Z_STREAM_ERROR,
|
|
5694
5718
|
Z_DATA_ERROR,
|
|
5695
|
-
Z_MEM_ERROR
|
|
5719
|
+
Z_MEM_ERROR,
|
|
5720
|
+
Z_BUF_ERROR
|
|
5696
5721
|
} = constants$2;
|
|
5722
|
+
var defaultOptions = {
|
|
5723
|
+
chunkSize: 1024 * 64,
|
|
5724
|
+
windowBits: 15,
|
|
5725
|
+
to: ""
|
|
5726
|
+
};
|
|
5697
5727
|
function Inflate$1(options) {
|
|
5698
|
-
this.options = common.assign({
|
|
5699
|
-
chunkSize: 1024 * 64,
|
|
5700
|
-
windowBits: 15,
|
|
5701
|
-
to: ""
|
|
5702
|
-
}, options || {});
|
|
5728
|
+
this.options = common.assign({}, defaultOptions, options || {});
|
|
5703
5729
|
const opt = this.options;
|
|
5704
5730
|
if (opt.raw && opt.windowBits >= 0 && opt.windowBits < 16) {
|
|
5705
5731
|
opt.windowBits = -opt.windowBits;
|
|
@@ -5775,7 +5801,7 @@ Inflate$1.prototype.push = function(data, flush_mode) {
|
|
|
5775
5801
|
status = Z_NEED_DICT;
|
|
5776
5802
|
}
|
|
5777
5803
|
}
|
|
5778
|
-
while (strm.avail_in > 0 && status === Z_STREAM_END && strm.state.wrap
|
|
5804
|
+
while (strm.avail_in > 0 && status === Z_STREAM_END && strm.state.wrap & 2 && strm.state.flags !== 0 && strm.input[strm.next_in] !== 0) {
|
|
5779
5805
|
inflate_1$2.inflateReset(strm);
|
|
5780
5806
|
status = inflate_1$2.inflate(strm, _flush_mode);
|
|
5781
5807
|
}
|
|
@@ -5790,7 +5816,7 @@ Inflate$1.prototype.push = function(data, flush_mode) {
|
|
|
5790
5816
|
}
|
|
5791
5817
|
last_avail_out = strm.avail_out;
|
|
5792
5818
|
if (strm.next_out) {
|
|
5793
|
-
if (strm.avail_out === 0 || status === Z_STREAM_END) {
|
|
5819
|
+
if (strm.avail_out === 0 || status === Z_STREAM_END || _flush_mode > 0) {
|
|
5794
5820
|
if (this.options.to === "string") {
|
|
5795
5821
|
let next_out_utf8 = strings.utf8border(strm.output, strm.next_out);
|
|
5796
5822
|
let tail = strm.next_out - next_out_utf8;
|
|
@@ -5801,17 +5827,27 @@ Inflate$1.prototype.push = function(data, flush_mode) {
|
|
|
5801
5827
|
this.onData(utf8str);
|
|
5802
5828
|
} else {
|
|
5803
5829
|
this.onData(strm.output.length === strm.next_out ? strm.output : strm.output.subarray(0, strm.next_out));
|
|
5830
|
+
strm.avail_out = 0;
|
|
5831
|
+
strm.next_out = 0;
|
|
5804
5832
|
}
|
|
5805
5833
|
}
|
|
5806
5834
|
}
|
|
5807
|
-
if (status === Z_OK && last_avail_out === 0) continue;
|
|
5835
|
+
if ((status === Z_OK || status === Z_BUF_ERROR) && last_avail_out === 0) continue;
|
|
5808
5836
|
if (status === Z_STREAM_END) {
|
|
5809
5837
|
status = inflate_1$2.inflateEnd(this.strm);
|
|
5810
5838
|
this.onEnd(status);
|
|
5811
5839
|
this.ended = true;
|
|
5812
5840
|
return true;
|
|
5813
5841
|
}
|
|
5814
|
-
if (strm.avail_in === 0)
|
|
5842
|
+
if (strm.avail_in === 0) {
|
|
5843
|
+
if (_flush_mode === Z_FINISH) {
|
|
5844
|
+
status = inflate_1$2.inflateEnd(this.strm);
|
|
5845
|
+
this.onEnd(status === Z_OK ? Z_BUF_ERROR : status);
|
|
5846
|
+
this.ended = true;
|
|
5847
|
+
return false;
|
|
5848
|
+
}
|
|
5849
|
+
break;
|
|
5850
|
+
}
|
|
5815
5851
|
}
|
|
5816
5852
|
return true;
|
|
5817
5853
|
};
|
|
@@ -5832,7 +5868,7 @@ Inflate$1.prototype.onEnd = function(status) {
|
|
|
5832
5868
|
};
|
|
5833
5869
|
function inflate$1(input, options) {
|
|
5834
5870
|
const inflator = new Inflate$1(options);
|
|
5835
|
-
inflator.push(input);
|
|
5871
|
+
inflator.push(input, true);
|
|
5836
5872
|
if (inflator.err) throw inflator.msg || messages[inflator.err];
|
|
5837
5873
|
return inflator.result;
|
|
5838
5874
|
}
|
|
@@ -5860,7 +5896,7 @@ var { Inflate, inflate, inflateRaw, ungzip } = inflate_1$1;
|
|
|
5860
5896
|
var deflate_1 = deflate;
|
|
5861
5897
|
var inflate_1 = inflate;
|
|
5862
5898
|
|
|
5863
|
-
// ../../node_modules
|
|
5899
|
+
// ../../node_modules/@sd-jwt/jwt-status-list/dist/index.mjs
|
|
5864
5900
|
var _a10;
|
|
5865
5901
|
var SLException = (_a10 = class extends Error {
|
|
5866
5902
|
constructor(message2, details) {
|
|
@@ -6021,7 +6057,7 @@ function getListFromStatusListJWT(jwt2) {
|
|
|
6021
6057
|
}
|
|
6022
6058
|
__name(getListFromStatusListJWT, "getListFromStatusListJWT");
|
|
6023
6059
|
|
|
6024
|
-
// ../../node_modules
|
|
6060
|
+
// ../../node_modules/zod/v4/classic/external.js
|
|
6025
6061
|
var external_exports = {};
|
|
6026
6062
|
__export(external_exports, {
|
|
6027
6063
|
$brand: () => $brand,
|
|
@@ -6264,7 +6300,7 @@ __export(external_exports, {
|
|
|
6264
6300
|
xor: () => xor
|
|
6265
6301
|
});
|
|
6266
6302
|
|
|
6267
|
-
// ../../node_modules
|
|
6303
|
+
// ../../node_modules/zod/v4/core/index.js
|
|
6268
6304
|
var core_exports2 = {};
|
|
6269
6305
|
__export(core_exports2, {
|
|
6270
6306
|
$ZodAny: () => $ZodAny,
|
|
@@ -6543,7 +6579,7 @@ __export(core_exports2, {
|
|
|
6543
6579
|
version: () => version2
|
|
6544
6580
|
});
|
|
6545
6581
|
|
|
6546
|
-
// ../../node_modules
|
|
6582
|
+
// ../../node_modules/zod/v4/core/core.js
|
|
6547
6583
|
var _a12;
|
|
6548
6584
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
6549
6585
|
status: "aborted"
|
|
@@ -6630,7 +6666,7 @@ function config(newConfig) {
|
|
|
6630
6666
|
}
|
|
6631
6667
|
__name(config, "config");
|
|
6632
6668
|
|
|
6633
|
-
// ../../node_modules
|
|
6669
|
+
// ../../node_modules/zod/v4/core/util.js
|
|
6634
6670
|
var util_exports = {};
|
|
6635
6671
|
__export(util_exports, {
|
|
6636
6672
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -7383,7 +7419,7 @@ var _Class = class _Class {
|
|
|
7383
7419
|
__name(_Class, "Class");
|
|
7384
7420
|
var Class = _Class;
|
|
7385
7421
|
|
|
7386
|
-
// ../../node_modules
|
|
7422
|
+
// ../../node_modules/zod/v4/core/errors.js
|
|
7387
7423
|
var initializer = /* @__PURE__ */ __name((inst, def) => {
|
|
7388
7424
|
inst.name = "$ZodError";
|
|
7389
7425
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -7527,7 +7563,7 @@ function prettifyError(error51) {
|
|
|
7527
7563
|
}
|
|
7528
7564
|
__name(prettifyError, "prettifyError");
|
|
7529
7565
|
|
|
7530
|
-
// ../../node_modules
|
|
7566
|
+
// ../../node_modules/zod/v4/core/parse.js
|
|
7531
7567
|
var _parse = /* @__PURE__ */ __name((_Err) => (schema, value, _ctx, _params) => {
|
|
7532
7568
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
7533
7569
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -7615,7 +7651,7 @@ var _safeDecodeAsync = /* @__PURE__ */ __name((_Err) => async (schema, value, _c
|
|
|
7615
7651
|
}, "_safeDecodeAsync");
|
|
7616
7652
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
7617
7653
|
|
|
7618
|
-
// ../../node_modules
|
|
7654
|
+
// ../../node_modules/zod/v4/core/regexes.js
|
|
7619
7655
|
var regexes_exports = {};
|
|
7620
7656
|
__export(regexes_exports, {
|
|
7621
7657
|
base64: () => base64,
|
|
@@ -7780,7 +7816,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
7780
7816
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
7781
7817
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
7782
7818
|
|
|
7783
|
-
// ../../node_modules
|
|
7819
|
+
// ../../node_modules/zod/v4/core/checks.js
|
|
7784
7820
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
7785
7821
|
var _a16;
|
|
7786
7822
|
inst._zod ?? (inst._zod = {});
|
|
@@ -8329,7 +8365,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
8329
8365
|
};
|
|
8330
8366
|
});
|
|
8331
8367
|
|
|
8332
|
-
// ../../node_modules
|
|
8368
|
+
// ../../node_modules/zod/v4/core/doc.js
|
|
8333
8369
|
var _Doc = class _Doc {
|
|
8334
8370
|
constructor(args = []) {
|
|
8335
8371
|
this.content = [];
|
|
@@ -8367,14 +8403,14 @@ var _Doc = class _Doc {
|
|
|
8367
8403
|
__name(_Doc, "Doc");
|
|
8368
8404
|
var Doc = _Doc;
|
|
8369
8405
|
|
|
8370
|
-
// ../../node_modules
|
|
8406
|
+
// ../../node_modules/zod/v4/core/versions.js
|
|
8371
8407
|
var version2 = {
|
|
8372
8408
|
major: 4,
|
|
8373
8409
|
minor: 4,
|
|
8374
8410
|
patch: 3
|
|
8375
8411
|
};
|
|
8376
8412
|
|
|
8377
|
-
// ../../node_modules
|
|
8413
|
+
// ../../node_modules/zod/v4/core/schemas.js
|
|
8378
8414
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
8379
8415
|
var _a16;
|
|
8380
8416
|
inst ?? (inst = {});
|
|
@@ -10491,7 +10527,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
10491
10527
|
}
|
|
10492
10528
|
__name(handleRefineResult, "handleRefineResult");
|
|
10493
10529
|
|
|
10494
|
-
// ../../node_modules
|
|
10530
|
+
// ../../node_modules/zod/v4/locales/index.js
|
|
10495
10531
|
var locales_exports = {};
|
|
10496
10532
|
__export(locales_exports, {
|
|
10497
10533
|
ar: () => ar_default,
|
|
@@ -10548,7 +10584,7 @@ __export(locales_exports, {
|
|
|
10548
10584
|
zhTW: () => zh_TW_default
|
|
10549
10585
|
});
|
|
10550
10586
|
|
|
10551
|
-
// ../../node_modules
|
|
10587
|
+
// ../../node_modules/zod/v4/locales/ar.js
|
|
10552
10588
|
var error = /* @__PURE__ */ __name(() => {
|
|
10553
10589
|
const Sizable = {
|
|
10554
10590
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -10657,7 +10693,7 @@ function ar_default() {
|
|
|
10657
10693
|
}
|
|
10658
10694
|
__name(ar_default, "default");
|
|
10659
10695
|
|
|
10660
|
-
// ../../node_modules
|
|
10696
|
+
// ../../node_modules/zod/v4/locales/az.js
|
|
10661
10697
|
var error2 = /* @__PURE__ */ __name(() => {
|
|
10662
10698
|
const Sizable = {
|
|
10663
10699
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -10765,7 +10801,7 @@ function az_default() {
|
|
|
10765
10801
|
}
|
|
10766
10802
|
__name(az_default, "default");
|
|
10767
10803
|
|
|
10768
|
-
// ../../node_modules
|
|
10804
|
+
// ../../node_modules/zod/v4/locales/be.js
|
|
10769
10805
|
function getBelarusianPlural(count, one, few, many) {
|
|
10770
10806
|
const absCount = Math.abs(count);
|
|
10771
10807
|
const lastDigit = absCount % 10;
|
|
@@ -10925,7 +10961,7 @@ function be_default() {
|
|
|
10925
10961
|
}
|
|
10926
10962
|
__name(be_default, "default");
|
|
10927
10963
|
|
|
10928
|
-
// ../../node_modules
|
|
10964
|
+
// ../../node_modules/zod/v4/locales/bg.js
|
|
10929
10965
|
var error4 = /* @__PURE__ */ __name(() => {
|
|
10930
10966
|
const Sizable = {
|
|
10931
10967
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -11048,7 +11084,7 @@ function bg_default() {
|
|
|
11048
11084
|
}
|
|
11049
11085
|
__name(bg_default, "default");
|
|
11050
11086
|
|
|
11051
|
-
// ../../node_modules
|
|
11087
|
+
// ../../node_modules/zod/v4/locales/ca.js
|
|
11052
11088
|
var error5 = /* @__PURE__ */ __name(() => {
|
|
11053
11089
|
const Sizable = {
|
|
11054
11090
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -11159,7 +11195,7 @@ function ca_default() {
|
|
|
11159
11195
|
}
|
|
11160
11196
|
__name(ca_default, "default");
|
|
11161
11197
|
|
|
11162
|
-
// ../../node_modules
|
|
11198
|
+
// ../../node_modules/zod/v4/locales/cs.js
|
|
11163
11199
|
var error6 = /* @__PURE__ */ __name(() => {
|
|
11164
11200
|
const Sizable = {
|
|
11165
11201
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -11273,7 +11309,7 @@ function cs_default() {
|
|
|
11273
11309
|
}
|
|
11274
11310
|
__name(cs_default, "default");
|
|
11275
11311
|
|
|
11276
|
-
// ../../node_modules
|
|
11312
|
+
// ../../node_modules/zod/v4/locales/da.js
|
|
11277
11313
|
var error7 = /* @__PURE__ */ __name(() => {
|
|
11278
11314
|
const Sizable = {
|
|
11279
11315
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -11391,7 +11427,7 @@ function da_default() {
|
|
|
11391
11427
|
}
|
|
11392
11428
|
__name(da_default, "default");
|
|
11393
11429
|
|
|
11394
|
-
// ../../node_modules
|
|
11430
|
+
// ../../node_modules/zod/v4/locales/de.js
|
|
11395
11431
|
var error8 = /* @__PURE__ */ __name(() => {
|
|
11396
11432
|
const Sizable = {
|
|
11397
11433
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -11502,7 +11538,7 @@ function de_default() {
|
|
|
11502
11538
|
}
|
|
11503
11539
|
__name(de_default, "default");
|
|
11504
11540
|
|
|
11505
|
-
// ../../node_modules
|
|
11541
|
+
// ../../node_modules/zod/v4/locales/el.js
|
|
11506
11542
|
var error9 = /* @__PURE__ */ __name(() => {
|
|
11507
11543
|
const Sizable = {
|
|
11508
11544
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -11614,7 +11650,7 @@ function el_default() {
|
|
|
11614
11650
|
}
|
|
11615
11651
|
__name(el_default, "default");
|
|
11616
11652
|
|
|
11617
|
-
// ../../node_modules
|
|
11653
|
+
// ../../node_modules/zod/v4/locales/en.js
|
|
11618
11654
|
var error10 = /* @__PURE__ */ __name(() => {
|
|
11619
11655
|
const Sizable = {
|
|
11620
11656
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -11729,7 +11765,7 @@ function en_default() {
|
|
|
11729
11765
|
}
|
|
11730
11766
|
__name(en_default, "default");
|
|
11731
11767
|
|
|
11732
|
-
// ../../node_modules
|
|
11768
|
+
// ../../node_modules/zod/v4/locales/eo.js
|
|
11733
11769
|
var error11 = /* @__PURE__ */ __name(() => {
|
|
11734
11770
|
const Sizable = {
|
|
11735
11771
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -11841,7 +11877,7 @@ function eo_default() {
|
|
|
11841
11877
|
}
|
|
11842
11878
|
__name(eo_default, "default");
|
|
11843
11879
|
|
|
11844
|
-
// ../../node_modules
|
|
11880
|
+
// ../../node_modules/zod/v4/locales/es.js
|
|
11845
11881
|
var error12 = /* @__PURE__ */ __name(() => {
|
|
11846
11882
|
const Sizable = {
|
|
11847
11883
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -11976,7 +12012,7 @@ function es_default() {
|
|
|
11976
12012
|
}
|
|
11977
12013
|
__name(es_default, "default");
|
|
11978
12014
|
|
|
11979
|
-
// ../../node_modules
|
|
12015
|
+
// ../../node_modules/zod/v4/locales/fa.js
|
|
11980
12016
|
var error13 = /* @__PURE__ */ __name(() => {
|
|
11981
12017
|
const Sizable = {
|
|
11982
12018
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -12093,7 +12129,7 @@ function fa_default() {
|
|
|
12093
12129
|
}
|
|
12094
12130
|
__name(fa_default, "default");
|
|
12095
12131
|
|
|
12096
|
-
// ../../node_modules
|
|
12132
|
+
// ../../node_modules/zod/v4/locales/fi.js
|
|
12097
12133
|
var error14 = /* @__PURE__ */ __name(() => {
|
|
12098
12134
|
const Sizable = {
|
|
12099
12135
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -12208,7 +12244,7 @@ function fi_default() {
|
|
|
12208
12244
|
}
|
|
12209
12245
|
__name(fi_default, "default");
|
|
12210
12246
|
|
|
12211
|
-
// ../../node_modules
|
|
12247
|
+
// ../../node_modules/zod/v4/locales/fr.js
|
|
12212
12248
|
var error15 = /* @__PURE__ */ __name(() => {
|
|
12213
12249
|
const Sizable = {
|
|
12214
12250
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -12336,7 +12372,7 @@ function fr_default() {
|
|
|
12336
12372
|
}
|
|
12337
12373
|
__name(fr_default, "default");
|
|
12338
12374
|
|
|
12339
|
-
// ../../node_modules
|
|
12375
|
+
// ../../node_modules/zod/v4/locales/fr-CA.js
|
|
12340
12376
|
var error16 = /* @__PURE__ */ __name(() => {
|
|
12341
12377
|
const Sizable = {
|
|
12342
12378
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -12446,7 +12482,7 @@ function fr_CA_default() {
|
|
|
12446
12482
|
}
|
|
12447
12483
|
__name(fr_CA_default, "default");
|
|
12448
12484
|
|
|
12449
|
-
// ../../node_modules
|
|
12485
|
+
// ../../node_modules/zod/v4/locales/he.js
|
|
12450
12486
|
var error17 = /* @__PURE__ */ __name(() => {
|
|
12451
12487
|
const TypeNames = {
|
|
12452
12488
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -12642,7 +12678,7 @@ function he_default() {
|
|
|
12642
12678
|
}
|
|
12643
12679
|
__name(he_default, "default");
|
|
12644
12680
|
|
|
12645
|
-
// ../../node_modules
|
|
12681
|
+
// ../../node_modules/zod/v4/locales/hr.js
|
|
12646
12682
|
var error18 = /* @__PURE__ */ __name(() => {
|
|
12647
12683
|
const Sizable = {
|
|
12648
12684
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -12767,7 +12803,7 @@ function hr_default() {
|
|
|
12767
12803
|
}
|
|
12768
12804
|
__name(hr_default, "default");
|
|
12769
12805
|
|
|
12770
|
-
// ../../node_modules
|
|
12806
|
+
// ../../node_modules/zod/v4/locales/hu.js
|
|
12771
12807
|
var error19 = /* @__PURE__ */ __name(() => {
|
|
12772
12808
|
const Sizable = {
|
|
12773
12809
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -12878,7 +12914,7 @@ function hu_default() {
|
|
|
12878
12914
|
}
|
|
12879
12915
|
__name(hu_default, "default");
|
|
12880
12916
|
|
|
12881
|
-
// ../../node_modules
|
|
12917
|
+
// ../../node_modules/zod/v4/locales/hy.js
|
|
12882
12918
|
function getArmenianPlural(count, one, many) {
|
|
12883
12919
|
return Math.abs(count) === 1 ? one : many;
|
|
12884
12920
|
}
|
|
@@ -13030,7 +13066,7 @@ function hy_default() {
|
|
|
13030
13066
|
}
|
|
13031
13067
|
__name(hy_default, "default");
|
|
13032
13068
|
|
|
13033
|
-
// ../../node_modules
|
|
13069
|
+
// ../../node_modules/zod/v4/locales/id.js
|
|
13034
13070
|
var error21 = /* @__PURE__ */ __name(() => {
|
|
13035
13071
|
const Sizable = {
|
|
13036
13072
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -13139,7 +13175,7 @@ function id_default() {
|
|
|
13139
13175
|
}
|
|
13140
13176
|
__name(id_default, "default");
|
|
13141
13177
|
|
|
13142
|
-
// ../../node_modules
|
|
13178
|
+
// ../../node_modules/zod/v4/locales/is.js
|
|
13143
13179
|
var error22 = /* @__PURE__ */ __name(() => {
|
|
13144
13180
|
const Sizable = {
|
|
13145
13181
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -13251,7 +13287,7 @@ function is_default() {
|
|
|
13251
13287
|
}
|
|
13252
13288
|
__name(is_default, "default");
|
|
13253
13289
|
|
|
13254
|
-
// ../../node_modules
|
|
13290
|
+
// ../../node_modules/zod/v4/locales/it.js
|
|
13255
13291
|
var error23 = /* @__PURE__ */ __name(() => {
|
|
13256
13292
|
const Sizable = {
|
|
13257
13293
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -13362,7 +13398,7 @@ function it_default() {
|
|
|
13362
13398
|
}
|
|
13363
13399
|
__name(it_default, "default");
|
|
13364
13400
|
|
|
13365
|
-
// ../../node_modules
|
|
13401
|
+
// ../../node_modules/zod/v4/locales/ja.js
|
|
13366
13402
|
var error24 = /* @__PURE__ */ __name(() => {
|
|
13367
13403
|
const Sizable = {
|
|
13368
13404
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -13472,7 +13508,7 @@ function ja_default() {
|
|
|
13472
13508
|
}
|
|
13473
13509
|
__name(ja_default, "default");
|
|
13474
13510
|
|
|
13475
|
-
// ../../node_modules
|
|
13511
|
+
// ../../node_modules/zod/v4/locales/ka.js
|
|
13476
13512
|
var error25 = /* @__PURE__ */ __name(() => {
|
|
13477
13513
|
const Sizable = {
|
|
13478
13514
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -13587,7 +13623,7 @@ function ka_default() {
|
|
|
13587
13623
|
}
|
|
13588
13624
|
__name(ka_default, "default");
|
|
13589
13625
|
|
|
13590
|
-
// ../../node_modules
|
|
13626
|
+
// ../../node_modules/zod/v4/locales/km.js
|
|
13591
13627
|
var error26 = /* @__PURE__ */ __name(() => {
|
|
13592
13628
|
const Sizable = {
|
|
13593
13629
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -13700,13 +13736,13 @@ function km_default() {
|
|
|
13700
13736
|
}
|
|
13701
13737
|
__name(km_default, "default");
|
|
13702
13738
|
|
|
13703
|
-
// ../../node_modules
|
|
13739
|
+
// ../../node_modules/zod/v4/locales/kh.js
|
|
13704
13740
|
function kh_default() {
|
|
13705
13741
|
return km_default();
|
|
13706
13742
|
}
|
|
13707
13743
|
__name(kh_default, "default");
|
|
13708
13744
|
|
|
13709
|
-
// ../../node_modules
|
|
13745
|
+
// ../../node_modules/zod/v4/locales/ko.js
|
|
13710
13746
|
var error27 = /* @__PURE__ */ __name(() => {
|
|
13711
13747
|
const Sizable = {
|
|
13712
13748
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -13820,7 +13856,7 @@ function ko_default() {
|
|
|
13820
13856
|
}
|
|
13821
13857
|
__name(ko_default, "default");
|
|
13822
13858
|
|
|
13823
|
-
// ../../node_modules
|
|
13859
|
+
// ../../node_modules/zod/v4/locales/lt.js
|
|
13824
13860
|
var capitalizeFirstCharacter = /* @__PURE__ */ __name((text) => {
|
|
13825
13861
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
13826
13862
|
}, "capitalizeFirstCharacter");
|
|
@@ -14027,7 +14063,7 @@ function lt_default() {
|
|
|
14027
14063
|
}
|
|
14028
14064
|
__name(lt_default, "default");
|
|
14029
14065
|
|
|
14030
|
-
// ../../node_modules
|
|
14066
|
+
// ../../node_modules/zod/v4/locales/mk.js
|
|
14031
14067
|
var error29 = /* @__PURE__ */ __name(() => {
|
|
14032
14068
|
const Sizable = {
|
|
14033
14069
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -14139,7 +14175,7 @@ function mk_default() {
|
|
|
14139
14175
|
}
|
|
14140
14176
|
__name(mk_default, "default");
|
|
14141
14177
|
|
|
14142
|
-
// ../../node_modules
|
|
14178
|
+
// ../../node_modules/zod/v4/locales/ms.js
|
|
14143
14179
|
var error30 = /* @__PURE__ */ __name(() => {
|
|
14144
14180
|
const Sizable = {
|
|
14145
14181
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -14249,7 +14285,7 @@ function ms_default() {
|
|
|
14249
14285
|
}
|
|
14250
14286
|
__name(ms_default, "default");
|
|
14251
14287
|
|
|
14252
|
-
// ../../node_modules
|
|
14288
|
+
// ../../node_modules/zod/v4/locales/nl.js
|
|
14253
14289
|
var error31 = /* @__PURE__ */ __name(() => {
|
|
14254
14290
|
const Sizable = {
|
|
14255
14291
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -14362,7 +14398,7 @@ function nl_default() {
|
|
|
14362
14398
|
}
|
|
14363
14399
|
__name(nl_default, "default");
|
|
14364
14400
|
|
|
14365
|
-
// ../../node_modules
|
|
14401
|
+
// ../../node_modules/zod/v4/locales/no.js
|
|
14366
14402
|
var error32 = /* @__PURE__ */ __name(() => {
|
|
14367
14403
|
const Sizable = {
|
|
14368
14404
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -14473,7 +14509,7 @@ function no_default() {
|
|
|
14473
14509
|
}
|
|
14474
14510
|
__name(no_default, "default");
|
|
14475
14511
|
|
|
14476
|
-
// ../../node_modules
|
|
14512
|
+
// ../../node_modules/zod/v4/locales/ota.js
|
|
14477
14513
|
var error33 = /* @__PURE__ */ __name(() => {
|
|
14478
14514
|
const Sizable = {
|
|
14479
14515
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -14585,7 +14621,7 @@ function ota_default() {
|
|
|
14585
14621
|
}
|
|
14586
14622
|
__name(ota_default, "default");
|
|
14587
14623
|
|
|
14588
|
-
// ../../node_modules
|
|
14624
|
+
// ../../node_modules/zod/v4/locales/ps.js
|
|
14589
14625
|
var error34 = /* @__PURE__ */ __name(() => {
|
|
14590
14626
|
const Sizable = {
|
|
14591
14627
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -14702,7 +14738,7 @@ function ps_default() {
|
|
|
14702
14738
|
}
|
|
14703
14739
|
__name(ps_default, "default");
|
|
14704
14740
|
|
|
14705
|
-
// ../../node_modules
|
|
14741
|
+
// ../../node_modules/zod/v4/locales/pl.js
|
|
14706
14742
|
var error35 = /* @__PURE__ */ __name(() => {
|
|
14707
14743
|
const Sizable = {
|
|
14708
14744
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -14814,7 +14850,7 @@ function pl_default() {
|
|
|
14814
14850
|
}
|
|
14815
14851
|
__name(pl_default, "default");
|
|
14816
14852
|
|
|
14817
|
-
// ../../node_modules
|
|
14853
|
+
// ../../node_modules/zod/v4/locales/pt.js
|
|
14818
14854
|
var error36 = /* @__PURE__ */ __name(() => {
|
|
14819
14855
|
const Sizable = {
|
|
14820
14856
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -14925,7 +14961,7 @@ function pt_default() {
|
|
|
14925
14961
|
}
|
|
14926
14962
|
__name(pt_default, "default");
|
|
14927
14963
|
|
|
14928
|
-
// ../../node_modules
|
|
14964
|
+
// ../../node_modules/zod/v4/locales/ro.js
|
|
14929
14965
|
var error37 = /* @__PURE__ */ __name(() => {
|
|
14930
14966
|
const Sizable = {
|
|
14931
14967
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -15047,7 +15083,7 @@ function ro_default() {
|
|
|
15047
15083
|
}
|
|
15048
15084
|
__name(ro_default, "default");
|
|
15049
15085
|
|
|
15050
|
-
// ../../node_modules
|
|
15086
|
+
// ../../node_modules/zod/v4/locales/ru.js
|
|
15051
15087
|
function getRussianPlural(count, one, few, many) {
|
|
15052
15088
|
const absCount = Math.abs(count);
|
|
15053
15089
|
const lastDigit = absCount % 10;
|
|
@@ -15207,7 +15243,7 @@ function ru_default() {
|
|
|
15207
15243
|
}
|
|
15208
15244
|
__name(ru_default, "default");
|
|
15209
15245
|
|
|
15210
|
-
// ../../node_modules
|
|
15246
|
+
// ../../node_modules/zod/v4/locales/sl.js
|
|
15211
15247
|
var error39 = /* @__PURE__ */ __name(() => {
|
|
15212
15248
|
const Sizable = {
|
|
15213
15249
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -15319,7 +15355,7 @@ function sl_default() {
|
|
|
15319
15355
|
}
|
|
15320
15356
|
__name(sl_default, "default");
|
|
15321
15357
|
|
|
15322
|
-
// ../../node_modules
|
|
15358
|
+
// ../../node_modules/zod/v4/locales/sv.js
|
|
15323
15359
|
var error40 = /* @__PURE__ */ __name(() => {
|
|
15324
15360
|
const Sizable = {
|
|
15325
15361
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -15432,7 +15468,7 @@ function sv_default() {
|
|
|
15432
15468
|
}
|
|
15433
15469
|
__name(sv_default, "default");
|
|
15434
15470
|
|
|
15435
|
-
// ../../node_modules
|
|
15471
|
+
// ../../node_modules/zod/v4/locales/ta.js
|
|
15436
15472
|
var error41 = /* @__PURE__ */ __name(() => {
|
|
15437
15473
|
const Sizable = {
|
|
15438
15474
|
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" },
|
|
@@ -15545,7 +15581,7 @@ function ta_default() {
|
|
|
15545
15581
|
}
|
|
15546
15582
|
__name(ta_default, "default");
|
|
15547
15583
|
|
|
15548
|
-
// ../../node_modules
|
|
15584
|
+
// ../../node_modules/zod/v4/locales/th.js
|
|
15549
15585
|
var error42 = /* @__PURE__ */ __name(() => {
|
|
15550
15586
|
const Sizable = {
|
|
15551
15587
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -15658,7 +15694,7 @@ function th_default() {
|
|
|
15658
15694
|
}
|
|
15659
15695
|
__name(th_default, "default");
|
|
15660
15696
|
|
|
15661
|
-
// ../../node_modules
|
|
15697
|
+
// ../../node_modules/zod/v4/locales/tr.js
|
|
15662
15698
|
var error43 = /* @__PURE__ */ __name(() => {
|
|
15663
15699
|
const Sizable = {
|
|
15664
15700
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -15766,7 +15802,7 @@ function tr_default() {
|
|
|
15766
15802
|
}
|
|
15767
15803
|
__name(tr_default, "default");
|
|
15768
15804
|
|
|
15769
|
-
// ../../node_modules
|
|
15805
|
+
// ../../node_modules/zod/v4/locales/uk.js
|
|
15770
15806
|
var error44 = /* @__PURE__ */ __name(() => {
|
|
15771
15807
|
const Sizable = {
|
|
15772
15808
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -15877,13 +15913,13 @@ function uk_default() {
|
|
|
15877
15913
|
}
|
|
15878
15914
|
__name(uk_default, "default");
|
|
15879
15915
|
|
|
15880
|
-
// ../../node_modules
|
|
15916
|
+
// ../../node_modules/zod/v4/locales/ua.js
|
|
15881
15917
|
function ua_default() {
|
|
15882
15918
|
return uk_default();
|
|
15883
15919
|
}
|
|
15884
15920
|
__name(ua_default, "default");
|
|
15885
15921
|
|
|
15886
|
-
// ../../node_modules
|
|
15922
|
+
// ../../node_modules/zod/v4/locales/ur.js
|
|
15887
15923
|
var error45 = /* @__PURE__ */ __name(() => {
|
|
15888
15924
|
const Sizable = {
|
|
15889
15925
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -15996,7 +16032,7 @@ function ur_default() {
|
|
|
15996
16032
|
}
|
|
15997
16033
|
__name(ur_default, "default");
|
|
15998
16034
|
|
|
15999
|
-
// ../../node_modules
|
|
16035
|
+
// ../../node_modules/zod/v4/locales/uz.js
|
|
16000
16036
|
var error46 = /* @__PURE__ */ __name(() => {
|
|
16001
16037
|
const Sizable = {
|
|
16002
16038
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -16109,7 +16145,7 @@ function uz_default() {
|
|
|
16109
16145
|
}
|
|
16110
16146
|
__name(uz_default, "default");
|
|
16111
16147
|
|
|
16112
|
-
// ../../node_modules
|
|
16148
|
+
// ../../node_modules/zod/v4/locales/vi.js
|
|
16113
16149
|
var error47 = /* @__PURE__ */ __name(() => {
|
|
16114
16150
|
const Sizable = {
|
|
16115
16151
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -16220,7 +16256,7 @@ function vi_default() {
|
|
|
16220
16256
|
}
|
|
16221
16257
|
__name(vi_default, "default");
|
|
16222
16258
|
|
|
16223
|
-
// ../../node_modules
|
|
16259
|
+
// ../../node_modules/zod/v4/locales/zh-CN.js
|
|
16224
16260
|
var error48 = /* @__PURE__ */ __name(() => {
|
|
16225
16261
|
const Sizable = {
|
|
16226
16262
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -16332,7 +16368,7 @@ function zh_CN_default() {
|
|
|
16332
16368
|
}
|
|
16333
16369
|
__name(zh_CN_default, "default");
|
|
16334
16370
|
|
|
16335
|
-
// ../../node_modules
|
|
16371
|
+
// ../../node_modules/zod/v4/locales/zh-TW.js
|
|
16336
16372
|
var error49 = /* @__PURE__ */ __name(() => {
|
|
16337
16373
|
const Sizable = {
|
|
16338
16374
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -16442,7 +16478,7 @@ function zh_TW_default() {
|
|
|
16442
16478
|
}
|
|
16443
16479
|
__name(zh_TW_default, "default");
|
|
16444
16480
|
|
|
16445
|
-
// ../../node_modules
|
|
16481
|
+
// ../../node_modules/zod/v4/locales/yo.js
|
|
16446
16482
|
var error50 = /* @__PURE__ */ __name(() => {
|
|
16447
16483
|
const Sizable = {
|
|
16448
16484
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -16552,7 +16588,7 @@ function yo_default() {
|
|
|
16552
16588
|
}
|
|
16553
16589
|
__name(yo_default, "default");
|
|
16554
16590
|
|
|
16555
|
-
// ../../node_modules
|
|
16591
|
+
// ../../node_modules/zod/v4/core/registries.js
|
|
16556
16592
|
var _a13;
|
|
16557
16593
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
16558
16594
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -16605,7 +16641,7 @@ __name(registry, "registry");
|
|
|
16605
16641
|
(_a13 = globalThis).__zod_globalRegistry ?? (_a13.__zod_globalRegistry = registry());
|
|
16606
16642
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
16607
16643
|
|
|
16608
|
-
// ../../node_modules
|
|
16644
|
+
// ../../node_modules/zod/v4/core/api.js
|
|
16609
16645
|
// @__NO_SIDE_EFFECTS__
|
|
16610
16646
|
function _string(Class2, params) {
|
|
16611
16647
|
return new Class2({
|
|
@@ -17758,7 +17794,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
17758
17794
|
}
|
|
17759
17795
|
__name(_stringFormat, "_stringFormat");
|
|
17760
17796
|
|
|
17761
|
-
// ../../node_modules
|
|
17797
|
+
// ../../node_modules/zod/v4/core/to-json-schema.js
|
|
17762
17798
|
function initializeContext(params) {
|
|
17763
17799
|
let target = params?.target ?? "draft-2020-12";
|
|
17764
17800
|
if (target === "draft-4")
|
|
@@ -18122,7 +18158,7 @@ var createStandardJSONSchemaMethod = /* @__PURE__ */ __name((schema, io, process
|
|
|
18122
18158
|
return finalize(ctx, schema);
|
|
18123
18159
|
}, "createStandardJSONSchemaMethod");
|
|
18124
18160
|
|
|
18125
|
-
// ../../node_modules
|
|
18161
|
+
// ../../node_modules/zod/v4/core/json-schema-processors.js
|
|
18126
18162
|
var formatMap = {
|
|
18127
18163
|
guid: "uuid",
|
|
18128
18164
|
url: "uri",
|
|
@@ -18667,7 +18703,7 @@ function toJSONSchema(input, params) {
|
|
|
18667
18703
|
}
|
|
18668
18704
|
__name(toJSONSchema, "toJSONSchema");
|
|
18669
18705
|
|
|
18670
|
-
// ../../node_modules
|
|
18706
|
+
// ../../node_modules/zod/v4/core/json-schema-generator.js
|
|
18671
18707
|
var _JSONSchemaGenerator = class _JSONSchemaGenerator {
|
|
18672
18708
|
/** @deprecated Access via ctx instead */
|
|
18673
18709
|
get metadataRegistry() {
|
|
@@ -18744,10 +18780,10 @@ var _JSONSchemaGenerator = class _JSONSchemaGenerator {
|
|
|
18744
18780
|
__name(_JSONSchemaGenerator, "JSONSchemaGenerator");
|
|
18745
18781
|
var JSONSchemaGenerator = _JSONSchemaGenerator;
|
|
18746
18782
|
|
|
18747
|
-
// ../../node_modules
|
|
18783
|
+
// ../../node_modules/zod/v4/core/json-schema.js
|
|
18748
18784
|
var json_schema_exports = {};
|
|
18749
18785
|
|
|
18750
|
-
// ../../node_modules
|
|
18786
|
+
// ../../node_modules/zod/v4/classic/schemas.js
|
|
18751
18787
|
var schemas_exports2 = {};
|
|
18752
18788
|
__export(schemas_exports2, {
|
|
18753
18789
|
ZodAny: () => ZodAny,
|
|
@@ -18918,7 +18954,7 @@ __export(schemas_exports2, {
|
|
|
18918
18954
|
xor: () => xor
|
|
18919
18955
|
});
|
|
18920
18956
|
|
|
18921
|
-
// ../../node_modules
|
|
18957
|
+
// ../../node_modules/zod/v4/classic/checks.js
|
|
18922
18958
|
var checks_exports2 = {};
|
|
18923
18959
|
__export(checks_exports2, {
|
|
18924
18960
|
endsWith: () => _endsWith,
|
|
@@ -18952,7 +18988,7 @@ __export(checks_exports2, {
|
|
|
18952
18988
|
uppercase: () => _uppercase
|
|
18953
18989
|
});
|
|
18954
18990
|
|
|
18955
|
-
// ../../node_modules
|
|
18991
|
+
// ../../node_modules/zod/v4/classic/iso.js
|
|
18956
18992
|
var iso_exports = {};
|
|
18957
18993
|
__export(iso_exports, {
|
|
18958
18994
|
ZodISODate: () => ZodISODate,
|
|
@@ -18997,7 +19033,7 @@ function duration2(params) {
|
|
|
18997
19033
|
}
|
|
18998
19034
|
__name(duration2, "duration");
|
|
18999
19035
|
|
|
19000
|
-
// ../../node_modules
|
|
19036
|
+
// ../../node_modules/zod/v4/classic/errors.js
|
|
19001
19037
|
var initializer2 = /* @__PURE__ */ __name((inst, issues) => {
|
|
19002
19038
|
$ZodError.init(inst, issues);
|
|
19003
19039
|
inst.name = "ZodError";
|
|
@@ -19037,7 +19073,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
|
19037
19073
|
Parent: Error
|
|
19038
19074
|
});
|
|
19039
19075
|
|
|
19040
|
-
// ../../node_modules
|
|
19076
|
+
// ../../node_modules/zod/v4/classic/parse.js
|
|
19041
19077
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
19042
19078
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
19043
19079
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -19051,7 +19087,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
19051
19087
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
19052
19088
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
19053
19089
|
|
|
19054
|
-
// ../../node_modules
|
|
19090
|
+
// ../../node_modules/zod/v4/classic/schemas.js
|
|
19055
19091
|
var _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
19056
19092
|
function _installLazyMethods(inst, group, methods) {
|
|
19057
19093
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -20434,7 +20470,7 @@ function preprocess(fn, schema) {
|
|
|
20434
20470
|
}
|
|
20435
20471
|
__name(preprocess, "preprocess");
|
|
20436
20472
|
|
|
20437
|
-
// ../../node_modules
|
|
20473
|
+
// ../../node_modules/zod/v4/classic/compat.js
|
|
20438
20474
|
var ZodIssueCode = {
|
|
20439
20475
|
invalid_type: "invalid_type",
|
|
20440
20476
|
too_big: "too_big",
|
|
@@ -20462,7 +20498,7 @@ var ZodFirstPartyTypeKind;
|
|
|
20462
20498
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
20463
20499
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
20464
20500
|
|
|
20465
|
-
// ../../node_modules
|
|
20501
|
+
// ../../node_modules/zod/v4/classic/from-json-schema.js
|
|
20466
20502
|
var z = {
|
|
20467
20503
|
...schemas_exports2,
|
|
20468
20504
|
...checks_exports2,
|
|
@@ -20947,7 +20983,7 @@ function fromJSONSchema(schema, params) {
|
|
|
20947
20983
|
}
|
|
20948
20984
|
__name(fromJSONSchema, "fromJSONSchema");
|
|
20949
20985
|
|
|
20950
|
-
// ../../node_modules
|
|
20986
|
+
// ../../node_modules/zod/v4/classic/coerce.js
|
|
20951
20987
|
var coerce_exports = {};
|
|
20952
20988
|
__export(coerce_exports, {
|
|
20953
20989
|
bigint: () => bigint3,
|
|
@@ -20977,13 +21013,13 @@ function date4(params) {
|
|
|
20977
21013
|
}
|
|
20978
21014
|
__name(date4, "date");
|
|
20979
21015
|
|
|
20980
|
-
// ../../node_modules
|
|
21016
|
+
// ../../node_modules/zod/v4/classic/external.js
|
|
20981
21017
|
config(en_default());
|
|
20982
21018
|
|
|
20983
|
-
// ../../node_modules
|
|
21019
|
+
// ../../node_modules/zod/index.js
|
|
20984
21020
|
var zod_default = external_exports;
|
|
20985
21021
|
|
|
20986
|
-
// ../../node_modules
|
|
21022
|
+
// ../../node_modules/@sd-jwt/sd-jwt-vc/dist/index.mjs
|
|
20987
21023
|
var __defProp3 = Object.defineProperty;
|
|
20988
21024
|
var __defProps2 = Object.defineProperties;
|
|
20989
21025
|
var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
|
|
@@ -21570,11 +21606,11 @@ ${zod_default.prettifyError(validated.error)}`
|
|
|
21570
21606
|
}
|
|
21571
21607
|
}, __name(_a14, "_SDJwtVcInstance"), _a14);
|
|
21572
21608
|
|
|
21573
|
-
// ../../node_modules
|
|
21609
|
+
// ../../node_modules/jose/dist/browser/runtime/webcrypto.js
|
|
21574
21610
|
var webcrypto_default = crypto;
|
|
21575
21611
|
var isCryptoKey = /* @__PURE__ */ __name((key) => key instanceof CryptoKey, "isCryptoKey");
|
|
21576
21612
|
|
|
21577
|
-
// ../../node_modules
|
|
21613
|
+
// ../../node_modules/jose/dist/browser/lib/buffer_utils.js
|
|
21578
21614
|
var encoder = new TextEncoder();
|
|
21579
21615
|
var decoder = new TextDecoder();
|
|
21580
21616
|
var MAX_INT32 = 2 ** 32;
|
|
@@ -21590,7 +21626,7 @@ function concat(...buffers) {
|
|
|
21590
21626
|
}
|
|
21591
21627
|
__name(concat, "concat");
|
|
21592
21628
|
|
|
21593
|
-
// ../../node_modules
|
|
21629
|
+
// ../../node_modules/jose/dist/browser/runtime/base64url.js
|
|
21594
21630
|
var decodeBase64 = /* @__PURE__ */ __name((encoded) => {
|
|
21595
21631
|
const binary = atob(encoded);
|
|
21596
21632
|
const bytes = new Uint8Array(binary.length);
|
|
@@ -21612,7 +21648,7 @@ var decode4 = /* @__PURE__ */ __name((input) => {
|
|
|
21612
21648
|
}
|
|
21613
21649
|
}, "decode");
|
|
21614
21650
|
|
|
21615
|
-
// ../../node_modules
|
|
21651
|
+
// ../../node_modules/jose/dist/browser/util/errors.js
|
|
21616
21652
|
var _JOSEError = class _JOSEError extends Error {
|
|
21617
21653
|
constructor(message2, options) {
|
|
21618
21654
|
super(message2, options);
|
|
@@ -21757,7 +21793,7 @@ __name(_JWSSignatureVerificationFailed, "JWSSignatureVerificationFailed");
|
|
|
21757
21793
|
var JWSSignatureVerificationFailed = _JWSSignatureVerificationFailed;
|
|
21758
21794
|
JWSSignatureVerificationFailed.code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
|
|
21759
21795
|
|
|
21760
|
-
// ../../node_modules
|
|
21796
|
+
// ../../node_modules/jose/dist/browser/lib/crypto_key.js
|
|
21761
21797
|
function unusable(name, prop = "algorithm.name") {
|
|
21762
21798
|
return new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name}`);
|
|
21763
21799
|
}
|
|
@@ -21862,7 +21898,7 @@ function checkSigCryptoKey(key, alg, ...usages) {
|
|
|
21862
21898
|
}
|
|
21863
21899
|
__name(checkSigCryptoKey, "checkSigCryptoKey");
|
|
21864
21900
|
|
|
21865
|
-
// ../../node_modules
|
|
21901
|
+
// ../../node_modules/jose/dist/browser/lib/invalid_key_input.js
|
|
21866
21902
|
function message(msg, actual, ...types2) {
|
|
21867
21903
|
types2 = types2.filter(Boolean);
|
|
21868
21904
|
if (types2.length > 2) {
|
|
@@ -21893,7 +21929,7 @@ function withAlg(alg, actual, ...types2) {
|
|
|
21893
21929
|
}
|
|
21894
21930
|
__name(withAlg, "withAlg");
|
|
21895
21931
|
|
|
21896
|
-
// ../../node_modules
|
|
21932
|
+
// ../../node_modules/jose/dist/browser/runtime/is_key_like.js
|
|
21897
21933
|
var is_key_like_default = /* @__PURE__ */ __name((key) => {
|
|
21898
21934
|
if (isCryptoKey(key)) {
|
|
21899
21935
|
return true;
|
|
@@ -21902,7 +21938,7 @@ var is_key_like_default = /* @__PURE__ */ __name((key) => {
|
|
|
21902
21938
|
}, "default");
|
|
21903
21939
|
var types = ["CryptoKey"];
|
|
21904
21940
|
|
|
21905
|
-
// ../../node_modules
|
|
21941
|
+
// ../../node_modules/jose/dist/browser/lib/is_disjoint.js
|
|
21906
21942
|
var isDisjoint = /* @__PURE__ */ __name((...headers) => {
|
|
21907
21943
|
const sources = headers.filter(Boolean);
|
|
21908
21944
|
if (sources.length === 0 || sources.length === 1) {
|
|
@@ -21926,7 +21962,7 @@ var isDisjoint = /* @__PURE__ */ __name((...headers) => {
|
|
|
21926
21962
|
}, "isDisjoint");
|
|
21927
21963
|
var is_disjoint_default = isDisjoint;
|
|
21928
21964
|
|
|
21929
|
-
// ../../node_modules
|
|
21965
|
+
// ../../node_modules/jose/dist/browser/lib/is_object.js
|
|
21930
21966
|
function isObjectLike(value) {
|
|
21931
21967
|
return typeof value === "object" && value !== null;
|
|
21932
21968
|
}
|
|
@@ -21946,7 +21982,7 @@ function isObject2(input) {
|
|
|
21946
21982
|
}
|
|
21947
21983
|
__name(isObject2, "isObject");
|
|
21948
21984
|
|
|
21949
|
-
// ../../node_modules
|
|
21985
|
+
// ../../node_modules/jose/dist/browser/runtime/check_key_length.js
|
|
21950
21986
|
var check_key_length_default = /* @__PURE__ */ __name((alg, key) => {
|
|
21951
21987
|
if (alg.startsWith("RS") || alg.startsWith("PS")) {
|
|
21952
21988
|
const { modulusLength } = key.algorithm;
|
|
@@ -21956,7 +21992,7 @@ var check_key_length_default = /* @__PURE__ */ __name((alg, key) => {
|
|
|
21956
21992
|
}
|
|
21957
21993
|
}, "default");
|
|
21958
21994
|
|
|
21959
|
-
// ../../node_modules
|
|
21995
|
+
// ../../node_modules/jose/dist/browser/lib/is_jwk.js
|
|
21960
21996
|
function isJWK(key) {
|
|
21961
21997
|
return isObject2(key) && typeof key.kty === "string";
|
|
21962
21998
|
}
|
|
@@ -21974,7 +22010,7 @@ function isSecretJWK(key) {
|
|
|
21974
22010
|
}
|
|
21975
22011
|
__name(isSecretJWK, "isSecretJWK");
|
|
21976
22012
|
|
|
21977
|
-
// ../../node_modules
|
|
22013
|
+
// ../../node_modules/jose/dist/browser/runtime/jwk_to_key.js
|
|
21978
22014
|
function subtleMapping(jwk) {
|
|
21979
22015
|
let algorithm;
|
|
21980
22016
|
let keyUsages;
|
|
@@ -22079,7 +22115,7 @@ var parse3 = /* @__PURE__ */ __name(async (jwk) => {
|
|
|
22079
22115
|
}, "parse");
|
|
22080
22116
|
var jwk_to_key_default = parse3;
|
|
22081
22117
|
|
|
22082
|
-
// ../../node_modules
|
|
22118
|
+
// ../../node_modules/jose/dist/browser/runtime/normalize_key.js
|
|
22083
22119
|
var exportKeyValue = /* @__PURE__ */ __name((k) => decode4(k), "exportKeyValue");
|
|
22084
22120
|
var privCache;
|
|
22085
22121
|
var pubCache;
|
|
@@ -22145,7 +22181,7 @@ var normalizePrivateKey = /* @__PURE__ */ __name((key, alg) => {
|
|
|
22145
22181
|
}, "normalizePrivateKey");
|
|
22146
22182
|
var normalize_key_default = { normalizePublicKey, normalizePrivateKey };
|
|
22147
22183
|
|
|
22148
|
-
// ../../node_modules
|
|
22184
|
+
// ../../node_modules/jose/dist/browser/key/import.js
|
|
22149
22185
|
async function importJWK(jwk, alg) {
|
|
22150
22186
|
if (!isObject2(jwk)) {
|
|
22151
22187
|
throw new TypeError("JWK must be an object");
|
|
@@ -22170,7 +22206,7 @@ async function importJWK(jwk, alg) {
|
|
|
22170
22206
|
}
|
|
22171
22207
|
__name(importJWK, "importJWK");
|
|
22172
22208
|
|
|
22173
|
-
// ../../node_modules
|
|
22209
|
+
// ../../node_modules/jose/dist/browser/lib/check_key_type.js
|
|
22174
22210
|
var tag = /* @__PURE__ */ __name((key) => key?.[Symbol.toStringTag], "tag");
|
|
22175
22211
|
var jwkMatchesOp = /* @__PURE__ */ __name((alg, key, usage) => {
|
|
22176
22212
|
if (key.use !== void 0 && key.use !== "sig") {
|
|
@@ -22243,7 +22279,7 @@ __name(checkKeyType, "checkKeyType");
|
|
|
22243
22279
|
var check_key_type_default = checkKeyType.bind(void 0, false);
|
|
22244
22280
|
var checkKeyTypeWithJwk = checkKeyType.bind(void 0, true);
|
|
22245
22281
|
|
|
22246
|
-
// ../../node_modules
|
|
22282
|
+
// ../../node_modules/jose/dist/browser/lib/validate_crit.js
|
|
22247
22283
|
function validateCrit(Err, recognizedDefault, recognizedOption, protectedHeader, joseHeader) {
|
|
22248
22284
|
if (joseHeader.crit !== void 0 && protectedHeader?.crit === void 0) {
|
|
22249
22285
|
throw new Err('"crit" (Critical) Header Parameter MUST be integrity protected');
|
|
@@ -22276,7 +22312,7 @@ function validateCrit(Err, recognizedDefault, recognizedOption, protectedHeader,
|
|
|
22276
22312
|
__name(validateCrit, "validateCrit");
|
|
22277
22313
|
var validate_crit_default = validateCrit;
|
|
22278
22314
|
|
|
22279
|
-
// ../../node_modules
|
|
22315
|
+
// ../../node_modules/jose/dist/browser/lib/validate_algorithms.js
|
|
22280
22316
|
var validateAlgorithms = /* @__PURE__ */ __name((option, algorithms) => {
|
|
22281
22317
|
if (algorithms !== void 0 && (!Array.isArray(algorithms) || algorithms.some((s) => typeof s !== "string"))) {
|
|
22282
22318
|
throw new TypeError(`"${option}" option must be an array of strings`);
|
|
@@ -22288,7 +22324,7 @@ var validateAlgorithms = /* @__PURE__ */ __name((option, algorithms) => {
|
|
|
22288
22324
|
}, "validateAlgorithms");
|
|
22289
22325
|
var validate_algorithms_default = validateAlgorithms;
|
|
22290
22326
|
|
|
22291
|
-
// ../../node_modules
|
|
22327
|
+
// ../../node_modules/jose/dist/browser/runtime/subtle_dsa.js
|
|
22292
22328
|
function subtleDsa(alg, algorithm) {
|
|
22293
22329
|
const hash2 = `SHA-${alg.slice(-3)}`;
|
|
22294
22330
|
switch (alg) {
|
|
@@ -22318,7 +22354,7 @@ function subtleDsa(alg, algorithm) {
|
|
|
22318
22354
|
}
|
|
22319
22355
|
__name(subtleDsa, "subtleDsa");
|
|
22320
22356
|
|
|
22321
|
-
// ../../node_modules
|
|
22357
|
+
// ../../node_modules/jose/dist/browser/runtime/get_sign_verify_key.js
|
|
22322
22358
|
async function getCryptoKey(alg, key, usage) {
|
|
22323
22359
|
if (usage === "sign") {
|
|
22324
22360
|
key = await normalize_key_default.normalizePrivateKey(key, alg);
|
|
@@ -22340,7 +22376,7 @@ async function getCryptoKey(alg, key, usage) {
|
|
|
22340
22376
|
}
|
|
22341
22377
|
__name(getCryptoKey, "getCryptoKey");
|
|
22342
22378
|
|
|
22343
|
-
// ../../node_modules
|
|
22379
|
+
// ../../node_modules/jose/dist/browser/runtime/verify.js
|
|
22344
22380
|
var verify = /* @__PURE__ */ __name(async (alg, key, signature, data) => {
|
|
22345
22381
|
const cryptoKey = await getCryptoKey(alg, key, "verify");
|
|
22346
22382
|
check_key_length_default(alg, cryptoKey);
|
|
@@ -22353,7 +22389,7 @@ var verify = /* @__PURE__ */ __name(async (alg, key, signature, data) => {
|
|
|
22353
22389
|
}, "verify");
|
|
22354
22390
|
var verify_default = verify;
|
|
22355
22391
|
|
|
22356
|
-
// ../../node_modules
|
|
22392
|
+
// ../../node_modules/jose/dist/browser/jws/flattened/verify.js
|
|
22357
22393
|
async function flattenedVerify(jws, key, options) {
|
|
22358
22394
|
if (!isObject2(jws)) {
|
|
22359
22395
|
throw new JWSInvalid("Flattened JWS must be an object");
|
|
@@ -22460,7 +22496,7 @@ async function flattenedVerify(jws, key, options) {
|
|
|
22460
22496
|
}
|
|
22461
22497
|
__name(flattenedVerify, "flattenedVerify");
|
|
22462
22498
|
|
|
22463
|
-
// ../../node_modules
|
|
22499
|
+
// ../../node_modules/jose/dist/browser/jws/compact/verify.js
|
|
22464
22500
|
async function compactVerify(jws, key, options) {
|
|
22465
22501
|
if (jws instanceof Uint8Array) {
|
|
22466
22502
|
jws = decoder.decode(jws);
|
|
@@ -23438,6 +23474,6 @@ export {
|
|
|
23438
23474
|
/*! Bundled license information:
|
|
23439
23475
|
|
|
23440
23476
|
pako/dist/pako.esm.mjs:
|
|
23441
|
-
(*! pako 2.
|
|
23477
|
+
(*! pako 2.2.0 https://github.com/nodeca/pako @license (MIT AND Zlib) *)
|
|
23442
23478
|
*/
|
|
23443
23479
|
//# sourceMappingURL=init.esm.js.map
|