yamlover 0.3.21 → 0.3.23
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 +35 -2
- package/bin/yamlover.js +14 -0
- package/dist/client/assets/{decoded-CY5-anyl.js → decoded-D6QOaoKb.js} +1 -1
- package/dist/client/assets/{djvu-CbL4_9ak.js → djvu-E4zw82nI.js} +1 -1
- package/dist/client/assets/{docx-CCEuxO9n.js → docx-BCPZI9sD.js} +1 -1
- package/dist/client/assets/{heic-BvS6Unla.js → heic-BMjqVVlg.js} +1 -1
- package/dist/client/assets/{imagemap-DBji1qL1.js → imagemap-Dn9snPoS.js} +1 -1
- package/dist/client/assets/{index-1sCxQdj3.css → index-BpjZr9s_.css} +1 -1
- package/dist/client/assets/index-CteLUngZ.js +638 -0
- package/dist/client/assets/{map-BfHrzAqt.js → map-BWtVwabj.js} +1 -1
- package/dist/client/assets/{openable-DIyqYrzm.js → openable-DClR-5sz.js} +1 -1
- package/dist/client/assets/{paged-COP9CRTO.js → paged-BrajMFZP.js} +1 -1
- package/dist/client/assets/{pdf-C-kvASQl.js → pdf-DLY4bQIN.js} +1 -1
- package/dist/client/assets/{psd-KxbPOIwA.js → psd-DpmZVKKr.js} +1 -1
- package/dist/client/assets/{spreadsheet-DkG5umsc.js → spreadsheet-CxTCFdEW.js} +1 -1
- package/dist/client/assets/{tiff-sq_Q9sNj.js → tiff-BB8pmY6L.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server.js +716 -651
- package/package.json +3 -2
- package/dist/client/assets/index-DqdQvRi4.js +0 -632
package/dist/server.js
CHANGED
|
@@ -38,10 +38,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
38
38
|
mod
|
|
39
39
|
));
|
|
40
40
|
|
|
41
|
-
// node_modules/bmp-ts/dist/esm/header-types.js
|
|
41
|
+
// ../../node_modules/bmp-ts/dist/esm/header-types.js
|
|
42
42
|
var HeaderTypes, header_types_default;
|
|
43
43
|
var init_header_types = __esm({
|
|
44
|
-
"node_modules/bmp-ts/dist/esm/header-types.js"() {
|
|
44
|
+
"../../node_modules/bmp-ts/dist/esm/header-types.js"() {
|
|
45
45
|
(function(HeaderTypes2) {
|
|
46
46
|
HeaderTypes2[HeaderTypes2["BITMAP_INFO_HEADER"] = 40] = "BITMAP_INFO_HEADER";
|
|
47
47
|
HeaderTypes2[HeaderTypes2["BITMAP_V2_INFO_HEADER"] = 52] = "BITMAP_V2_INFO_HEADER";
|
|
@@ -53,7 +53,7 @@ var init_header_types = __esm({
|
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
// node_modules/bmp-ts/dist/esm/mask-color.js
|
|
56
|
+
// ../../node_modules/bmp-ts/dist/esm/mask-color.js
|
|
57
57
|
function maskColor(maskRed, maskGreen, maskBlue, maskAlpha) {
|
|
58
58
|
const maskRedR = ~maskRed + 1 & maskRed;
|
|
59
59
|
const maskGreenR = ~maskGreen + 1 & maskGreen;
|
|
@@ -71,14 +71,14 @@ function maskColor(maskRed, maskGreen, maskBlue, maskAlpha) {
|
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
var init_mask_color = __esm({
|
|
74
|
-
"node_modules/bmp-ts/dist/esm/mask-color.js"() {
|
|
74
|
+
"../../node_modules/bmp-ts/dist/esm/mask-color.js"() {
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
|
|
78
|
-
// node_modules/bmp-ts/dist/esm/types.js
|
|
78
|
+
// ../../node_modules/bmp-ts/dist/esm/types.js
|
|
79
79
|
var BmpCompression;
|
|
80
80
|
var init_types = __esm({
|
|
81
|
-
"node_modules/bmp-ts/dist/esm/types.js"() {
|
|
81
|
+
"../../node_modules/bmp-ts/dist/esm/types.js"() {
|
|
82
82
|
(function(BmpCompression2) {
|
|
83
83
|
BmpCompression2[BmpCompression2["NONE"] = 0] = "NONE";
|
|
84
84
|
BmpCompression2[BmpCompression2["BI_RLE8"] = 1] = "BI_RLE8";
|
|
@@ -89,10 +89,10 @@ var init_types = __esm({
|
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
// node_modules/bmp-ts/dist/esm/decoder.js
|
|
92
|
+
// ../../node_modules/bmp-ts/dist/esm/decoder.js
|
|
93
93
|
var BmpDecoder;
|
|
94
94
|
var init_decoder = __esm({
|
|
95
|
-
"node_modules/bmp-ts/dist/esm/decoder.js"() {
|
|
95
|
+
"../../node_modules/bmp-ts/dist/esm/decoder.js"() {
|
|
96
96
|
init_header_types();
|
|
97
97
|
init_mask_color();
|
|
98
98
|
init_types();
|
|
@@ -461,7 +461,7 @@ var init_decoder = __esm({
|
|
|
461
461
|
}
|
|
462
462
|
});
|
|
463
463
|
|
|
464
|
-
// node_modules/bmp-ts/dist/esm/encoder.js
|
|
464
|
+
// ../../node_modules/bmp-ts/dist/esm/encoder.js
|
|
465
465
|
function createInteger(numbers) {
|
|
466
466
|
return numbers.reduce((final, n2) => final << 1 | n2, 0);
|
|
467
467
|
}
|
|
@@ -470,7 +470,7 @@ function createColor(color) {
|
|
|
470
470
|
}
|
|
471
471
|
var BmpEncoder;
|
|
472
472
|
var init_encoder = __esm({
|
|
473
|
-
"node_modules/bmp-ts/dist/esm/encoder.js"() {
|
|
473
|
+
"../../node_modules/bmp-ts/dist/esm/encoder.js"() {
|
|
474
474
|
init_header_types();
|
|
475
475
|
BmpEncoder = class {
|
|
476
476
|
fileSize;
|
|
@@ -721,7 +721,7 @@ var init_encoder = __esm({
|
|
|
721
721
|
}
|
|
722
722
|
});
|
|
723
723
|
|
|
724
|
-
// node_modules/bmp-ts/dist/esm/index.js
|
|
724
|
+
// ../../node_modules/bmp-ts/dist/esm/index.js
|
|
725
725
|
function decode(bmpData, options) {
|
|
726
726
|
return new BmpDecoder(bmpData, options);
|
|
727
727
|
}
|
|
@@ -729,14 +729,14 @@ function encode(imgData) {
|
|
|
729
729
|
return new BmpEncoder(imgData);
|
|
730
730
|
}
|
|
731
731
|
var init_esm = __esm({
|
|
732
|
-
"node_modules/bmp-ts/dist/esm/index.js"() {
|
|
732
|
+
"../../node_modules/bmp-ts/dist/esm/index.js"() {
|
|
733
733
|
init_decoder();
|
|
734
734
|
init_encoder();
|
|
735
735
|
init_types();
|
|
736
736
|
}
|
|
737
737
|
});
|
|
738
738
|
|
|
739
|
-
// node_modules/tinycolor2/esm/tinycolor.js
|
|
739
|
+
// ../../node_modules/tinycolor2/esm/tinycolor.js
|
|
740
740
|
function _typeof(obj) {
|
|
741
741
|
"@babel/helpers - typeof";
|
|
742
742
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
@@ -1216,7 +1216,7 @@ function validateWCAG2Parms(parms) {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
var trimLeft, trimRight, names, hexNames, matchers;
|
|
1218
1218
|
var init_tinycolor = __esm({
|
|
1219
|
-
"node_modules/tinycolor2/esm/tinycolor.js"() {
|
|
1219
|
+
"../../node_modules/tinycolor2/esm/tinycolor.js"() {
|
|
1220
1220
|
trimLeft = /^\s+/;
|
|
1221
1221
|
trimRight = /\s+$/;
|
|
1222
1222
|
tinycolor.prototype = {
|
|
@@ -1706,7 +1706,7 @@ var init_tinycolor = __esm({
|
|
|
1706
1706
|
}
|
|
1707
1707
|
});
|
|
1708
1708
|
|
|
1709
|
-
// node_modules/@jimp/utils/dist/esm/index.js
|
|
1709
|
+
// ../../node_modules/@jimp/utils/dist/esm/index.js
|
|
1710
1710
|
function clone2(image2) {
|
|
1711
1711
|
const newBitmap = {
|
|
1712
1712
|
width: image2.bitmap.width,
|
|
@@ -1829,12 +1829,12 @@ function cssColorToHex(cssColor) {
|
|
|
1829
1829
|
return parseInt(tinycolor(cssColor).toHex8(), 16);
|
|
1830
1830
|
}
|
|
1831
1831
|
var init_esm2 = __esm({
|
|
1832
|
-
"node_modules/@jimp/utils/dist/esm/index.js"() {
|
|
1832
|
+
"../../node_modules/@jimp/utils/dist/esm/index.js"() {
|
|
1833
1833
|
init_tinycolor();
|
|
1834
1834
|
}
|
|
1835
1835
|
});
|
|
1836
1836
|
|
|
1837
|
-
// node_modules/@jimp/js-bmp/dist/esm/index.js
|
|
1837
|
+
// ../../node_modules/@jimp/js-bmp/dist/esm/index.js
|
|
1838
1838
|
function encode2(image2, options = {}) {
|
|
1839
1839
|
scan({ bitmap: image2 }, 0, 0, image2.width, image2.height, function(_, __, index) {
|
|
1840
1840
|
const red = image2.data[index + 0];
|
|
@@ -1876,16 +1876,16 @@ function bmp() {
|
|
|
1876
1876
|
};
|
|
1877
1877
|
}
|
|
1878
1878
|
var init_esm3 = __esm({
|
|
1879
|
-
"node_modules/@jimp/js-bmp/dist/esm/index.js"() {
|
|
1879
|
+
"../../node_modules/@jimp/js-bmp/dist/esm/index.js"() {
|
|
1880
1880
|
init_esm();
|
|
1881
1881
|
init_esm2();
|
|
1882
1882
|
init_esm();
|
|
1883
1883
|
}
|
|
1884
1884
|
});
|
|
1885
1885
|
|
|
1886
|
-
// node_modules/omggif/omggif.js
|
|
1886
|
+
// ../../node_modules/omggif/omggif.js
|
|
1887
1887
|
var require_omggif = __commonJS({
|
|
1888
|
-
"node_modules/omggif/omggif.js"(exports) {
|
|
1888
|
+
"../../node_modules/omggif/omggif.js"(exports) {
|
|
1889
1889
|
"use strict";
|
|
1890
1890
|
function GifWriter(buf, width, height, gopts) {
|
|
1891
1891
|
var p2 = 0;
|
|
@@ -2445,9 +2445,9 @@ var require_omggif = __commonJS({
|
|
|
2445
2445
|
}
|
|
2446
2446
|
});
|
|
2447
2447
|
|
|
2448
|
-
// node_modules/gifwrap/src/bitmapimage.js
|
|
2448
|
+
// ../../node_modules/gifwrap/src/bitmapimage.js
|
|
2449
2449
|
var require_bitmapimage = __commonJS({
|
|
2450
|
-
"node_modules/gifwrap/src/bitmapimage.js"(exports, module) {
|
|
2450
|
+
"../../node_modules/gifwrap/src/bitmapimage.js"(exports, module) {
|
|
2451
2451
|
"use strict";
|
|
2452
2452
|
var BitmapImage2 = class _BitmapImage {
|
|
2453
2453
|
/**
|
|
@@ -2714,9 +2714,9 @@ var require_bitmapimage = __commonJS({
|
|
|
2714
2714
|
}
|
|
2715
2715
|
});
|
|
2716
2716
|
|
|
2717
|
-
// node_modules/gifwrap/src/gif.js
|
|
2717
|
+
// ../../node_modules/gifwrap/src/gif.js
|
|
2718
2718
|
var require_gif = __commonJS({
|
|
2719
|
-
"node_modules/gifwrap/src/gif.js"(exports) {
|
|
2719
|
+
"../../node_modules/gifwrap/src/gif.js"(exports) {
|
|
2720
2720
|
"use strict";
|
|
2721
2721
|
var Gif = class {
|
|
2722
2722
|
// width - width of GIF in pixels
|
|
@@ -2776,9 +2776,9 @@ var require_gif = __commonJS({
|
|
|
2776
2776
|
}
|
|
2777
2777
|
});
|
|
2778
2778
|
|
|
2779
|
-
// node_modules/image-q/dist/cjs/image-q.cjs
|
|
2779
|
+
// ../../node_modules/image-q/dist/cjs/image-q.cjs
|
|
2780
2780
|
var require_image_q = __commonJS({
|
|
2781
|
-
"node_modules/image-q/dist/cjs/image-q.cjs"(exports, module) {
|
|
2781
|
+
"../../node_modules/image-q/dist/cjs/image-q.cjs"(exports, module) {
|
|
2782
2782
|
var __defProp3 = Object.defineProperty;
|
|
2783
2783
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
2784
2784
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -5538,9 +5538,9 @@ var require_image_q = __commonJS({
|
|
|
5538
5538
|
}
|
|
5539
5539
|
});
|
|
5540
5540
|
|
|
5541
|
-
// node_modules/gifwrap/src/gifframe.js
|
|
5541
|
+
// ../../node_modules/gifwrap/src/gifframe.js
|
|
5542
5542
|
var require_gifframe = __commonJS({
|
|
5543
|
-
"node_modules/gifwrap/src/gifframe.js"(exports) {
|
|
5543
|
+
"../../node_modules/gifwrap/src/gifframe.js"(exports) {
|
|
5544
5544
|
"use strict";
|
|
5545
5545
|
var BitmapImage2 = require_bitmapimage();
|
|
5546
5546
|
var { GifError: GifError2 } = require_gif();
|
|
@@ -5641,9 +5641,9 @@ var require_gifframe = __commonJS({
|
|
|
5641
5641
|
}
|
|
5642
5642
|
});
|
|
5643
5643
|
|
|
5644
|
-
// node_modules/gifwrap/src/gifutil.js
|
|
5644
|
+
// ../../node_modules/gifwrap/src/gifutil.js
|
|
5645
5645
|
var require_gifutil = __commonJS({
|
|
5646
|
-
"node_modules/gifwrap/src/gifutil.js"(exports) {
|
|
5646
|
+
"../../node_modules/gifwrap/src/gifutil.js"(exports) {
|
|
5647
5647
|
"use strict";
|
|
5648
5648
|
var fs11 = __require("fs");
|
|
5649
5649
|
var ImageQ = require_image_q();
|
|
@@ -5862,9 +5862,9 @@ var require_gifutil = __commonJS({
|
|
|
5862
5862
|
}
|
|
5863
5863
|
});
|
|
5864
5864
|
|
|
5865
|
-
// node_modules/gifwrap/src/gifcodec.js
|
|
5865
|
+
// ../../node_modules/gifwrap/src/gifcodec.js
|
|
5866
5866
|
var require_gifcodec = __commonJS({
|
|
5867
|
-
"node_modules/gifwrap/src/gifcodec.js"(exports) {
|
|
5867
|
+
"../../node_modules/gifwrap/src/gifcodec.js"(exports) {
|
|
5868
5868
|
"use strict";
|
|
5869
5869
|
var Omggif = require_omggif();
|
|
5870
5870
|
var { Gif, GifError: GifError2 } = require_gif();
|
|
@@ -6227,9 +6227,9 @@ var require_gifcodec = __commonJS({
|
|
|
6227
6227
|
}
|
|
6228
6228
|
});
|
|
6229
6229
|
|
|
6230
|
-
// node_modules/gifwrap/src/index.js
|
|
6230
|
+
// ../../node_modules/gifwrap/src/index.js
|
|
6231
6231
|
var require_src = __commonJS({
|
|
6232
|
-
"node_modules/gifwrap/src/index.js"(exports, module) {
|
|
6232
|
+
"../../node_modules/gifwrap/src/index.js"(exports, module) {
|
|
6233
6233
|
"use strict";
|
|
6234
6234
|
var BitmapImage2 = require_bitmapimage();
|
|
6235
6235
|
var { Gif, GifError: GifError2 } = require_gif();
|
|
@@ -6247,7 +6247,7 @@ var require_src = __commonJS({
|
|
|
6247
6247
|
}
|
|
6248
6248
|
});
|
|
6249
6249
|
|
|
6250
|
-
// node_modules/@jimp/js-gif/dist/esm/index.js
|
|
6250
|
+
// ../../node_modules/@jimp/js-gif/dist/esm/index.js
|
|
6251
6251
|
function gif() {
|
|
6252
6252
|
return {
|
|
6253
6253
|
mime: "image/gif",
|
|
@@ -6273,15 +6273,15 @@ function gif() {
|
|
|
6273
6273
|
}
|
|
6274
6274
|
var import_omggif, import_gifwrap;
|
|
6275
6275
|
var init_esm4 = __esm({
|
|
6276
|
-
"node_modules/@jimp/js-gif/dist/esm/index.js"() {
|
|
6276
|
+
"../../node_modules/@jimp/js-gif/dist/esm/index.js"() {
|
|
6277
6277
|
import_omggif = __toESM(require_omggif(), 1);
|
|
6278
6278
|
import_gifwrap = __toESM(require_src(), 1);
|
|
6279
6279
|
}
|
|
6280
6280
|
});
|
|
6281
6281
|
|
|
6282
|
-
// node_modules/jpeg-js/lib/encoder.js
|
|
6282
|
+
// ../../node_modules/jpeg-js/lib/encoder.js
|
|
6283
6283
|
var require_encoder = __commonJS({
|
|
6284
|
-
"node_modules/jpeg-js/lib/encoder.js"(exports, module) {
|
|
6284
|
+
"../../node_modules/jpeg-js/lib/encoder.js"(exports, module) {
|
|
6285
6285
|
var btoa = btoa || function(buf) {
|
|
6286
6286
|
return Buffer.from(buf).toString("base64");
|
|
6287
6287
|
};
|
|
@@ -7356,9 +7356,9 @@ var require_encoder = __commonJS({
|
|
|
7356
7356
|
}
|
|
7357
7357
|
});
|
|
7358
7358
|
|
|
7359
|
-
// node_modules/jpeg-js/lib/decoder.js
|
|
7359
|
+
// ../../node_modules/jpeg-js/lib/decoder.js
|
|
7360
7360
|
var require_decoder = __commonJS({
|
|
7361
|
-
"node_modules/jpeg-js/lib/decoder.js"(exports, module) {
|
|
7361
|
+
"../../node_modules/jpeg-js/lib/decoder.js"(exports, module) {
|
|
7362
7362
|
var JpegImage = function jpegImage() {
|
|
7363
7363
|
"use strict";
|
|
7364
7364
|
var dctZigZag = new Int32Array([
|
|
@@ -8399,9 +8399,9 @@ var require_decoder = __commonJS({
|
|
|
8399
8399
|
}
|
|
8400
8400
|
});
|
|
8401
8401
|
|
|
8402
|
-
// node_modules/jpeg-js/index.js
|
|
8402
|
+
// ../../node_modules/jpeg-js/index.js
|
|
8403
8403
|
var require_jpeg_js = __commonJS({
|
|
8404
|
-
"node_modules/jpeg-js/index.js"(exports, module) {
|
|
8404
|
+
"../../node_modules/jpeg-js/index.js"(exports, module) {
|
|
8405
8405
|
var encode3 = require_encoder();
|
|
8406
8406
|
var decode5 = require_decoder();
|
|
8407
8407
|
module.exports = {
|
|
@@ -8411,7 +8411,7 @@ var require_jpeg_js = __commonJS({
|
|
|
8411
8411
|
}
|
|
8412
8412
|
});
|
|
8413
8413
|
|
|
8414
|
-
// node_modules/@jimp/js-jpeg/dist/esm/index.js
|
|
8414
|
+
// ../../node_modules/@jimp/js-jpeg/dist/esm/index.js
|
|
8415
8415
|
function jpeg() {
|
|
8416
8416
|
return {
|
|
8417
8417
|
mime: "image/jpeg",
|
|
@@ -8421,14 +8421,14 @@ function jpeg() {
|
|
|
8421
8421
|
}
|
|
8422
8422
|
var import_jpeg_js;
|
|
8423
8423
|
var init_esm5 = __esm({
|
|
8424
|
-
"node_modules/@jimp/js-jpeg/dist/esm/index.js"() {
|
|
8424
|
+
"../../node_modules/@jimp/js-jpeg/dist/esm/index.js"() {
|
|
8425
8425
|
import_jpeg_js = __toESM(require_jpeg_js(), 1);
|
|
8426
8426
|
}
|
|
8427
8427
|
});
|
|
8428
8428
|
|
|
8429
|
-
// node_modules/pngjs/lib/chunkstream.js
|
|
8429
|
+
// ../../node_modules/pngjs/lib/chunkstream.js
|
|
8430
8430
|
var require_chunkstream = __commonJS({
|
|
8431
|
-
"node_modules/pngjs/lib/chunkstream.js"(exports, module) {
|
|
8431
|
+
"../../node_modules/pngjs/lib/chunkstream.js"(exports, module) {
|
|
8432
8432
|
"use strict";
|
|
8433
8433
|
var util2 = __require("util");
|
|
8434
8434
|
var Stream = __require("stream");
|
|
@@ -8564,9 +8564,9 @@ var require_chunkstream = __commonJS({
|
|
|
8564
8564
|
}
|
|
8565
8565
|
});
|
|
8566
8566
|
|
|
8567
|
-
// node_modules/pngjs/lib/interlace.js
|
|
8567
|
+
// ../../node_modules/pngjs/lib/interlace.js
|
|
8568
8568
|
var require_interlace = __commonJS({
|
|
8569
|
-
"node_modules/pngjs/lib/interlace.js"(exports) {
|
|
8569
|
+
"../../node_modules/pngjs/lib/interlace.js"(exports) {
|
|
8570
8570
|
"use strict";
|
|
8571
8571
|
var imagePasses = [
|
|
8572
8572
|
{
|
|
@@ -8647,9 +8647,9 @@ var require_interlace = __commonJS({
|
|
|
8647
8647
|
}
|
|
8648
8648
|
});
|
|
8649
8649
|
|
|
8650
|
-
// node_modules/pngjs/lib/paeth-predictor.js
|
|
8650
|
+
// ../../node_modules/pngjs/lib/paeth-predictor.js
|
|
8651
8651
|
var require_paeth_predictor = __commonJS({
|
|
8652
|
-
"node_modules/pngjs/lib/paeth-predictor.js"(exports, module) {
|
|
8652
|
+
"../../node_modules/pngjs/lib/paeth-predictor.js"(exports, module) {
|
|
8653
8653
|
"use strict";
|
|
8654
8654
|
module.exports = function paethPredictor(left, above, upLeft) {
|
|
8655
8655
|
let paeth = left + above - upLeft;
|
|
@@ -8667,9 +8667,9 @@ var require_paeth_predictor = __commonJS({
|
|
|
8667
8667
|
}
|
|
8668
8668
|
});
|
|
8669
8669
|
|
|
8670
|
-
// node_modules/pngjs/lib/filter-parse.js
|
|
8670
|
+
// ../../node_modules/pngjs/lib/filter-parse.js
|
|
8671
8671
|
var require_filter_parse = __commonJS({
|
|
8672
|
-
"node_modules/pngjs/lib/filter-parse.js"(exports, module) {
|
|
8672
|
+
"../../node_modules/pngjs/lib/filter-parse.js"(exports, module) {
|
|
8673
8673
|
"use strict";
|
|
8674
8674
|
var interlaceUtils = require_interlace();
|
|
8675
8675
|
var paethPredictor = require_paeth_predictor();
|
|
@@ -8808,9 +8808,9 @@ var require_filter_parse = __commonJS({
|
|
|
8808
8808
|
}
|
|
8809
8809
|
});
|
|
8810
8810
|
|
|
8811
|
-
// node_modules/pngjs/lib/filter-parse-async.js
|
|
8811
|
+
// ../../node_modules/pngjs/lib/filter-parse-async.js
|
|
8812
8812
|
var require_filter_parse_async = __commonJS({
|
|
8813
|
-
"node_modules/pngjs/lib/filter-parse-async.js"(exports, module) {
|
|
8813
|
+
"../../node_modules/pngjs/lib/filter-parse-async.js"(exports, module) {
|
|
8814
8814
|
"use strict";
|
|
8815
8815
|
var util2 = __require("util");
|
|
8816
8816
|
var ChunkStream = require_chunkstream();
|
|
@@ -8834,9 +8834,9 @@ var require_filter_parse_async = __commonJS({
|
|
|
8834
8834
|
}
|
|
8835
8835
|
});
|
|
8836
8836
|
|
|
8837
|
-
// node_modules/pngjs/lib/constants.js
|
|
8837
|
+
// ../../node_modules/pngjs/lib/constants.js
|
|
8838
8838
|
var require_constants = __commonJS({
|
|
8839
|
-
"node_modules/pngjs/lib/constants.js"(exports, module) {
|
|
8839
|
+
"../../node_modules/pngjs/lib/constants.js"(exports, module) {
|
|
8840
8840
|
"use strict";
|
|
8841
8841
|
module.exports = {
|
|
8842
8842
|
PNG_SIGNATURE: [137, 80, 78, 71, 13, 10, 26, 10],
|
|
@@ -8869,9 +8869,9 @@ var require_constants = __commonJS({
|
|
|
8869
8869
|
}
|
|
8870
8870
|
});
|
|
8871
8871
|
|
|
8872
|
-
// node_modules/pngjs/lib/crc.js
|
|
8872
|
+
// ../../node_modules/pngjs/lib/crc.js
|
|
8873
8873
|
var require_crc = __commonJS({
|
|
8874
|
-
"node_modules/pngjs/lib/crc.js"(exports, module) {
|
|
8874
|
+
"../../node_modules/pngjs/lib/crc.js"(exports, module) {
|
|
8875
8875
|
"use strict";
|
|
8876
8876
|
var crcTable = [];
|
|
8877
8877
|
(function() {
|
|
@@ -8909,9 +8909,9 @@ var require_crc = __commonJS({
|
|
|
8909
8909
|
}
|
|
8910
8910
|
});
|
|
8911
8911
|
|
|
8912
|
-
// node_modules/pngjs/lib/parser.js
|
|
8912
|
+
// ../../node_modules/pngjs/lib/parser.js
|
|
8913
8913
|
var require_parser = __commonJS({
|
|
8914
|
-
"node_modules/pngjs/lib/parser.js"(exports, module) {
|
|
8914
|
+
"../../node_modules/pngjs/lib/parser.js"(exports, module) {
|
|
8915
8915
|
"use strict";
|
|
8916
8916
|
var constants2 = require_constants();
|
|
8917
8917
|
var CrcCalculator = require_crc();
|
|
@@ -9130,9 +9130,9 @@ var require_parser = __commonJS({
|
|
|
9130
9130
|
}
|
|
9131
9131
|
});
|
|
9132
9132
|
|
|
9133
|
-
// node_modules/pngjs/lib/bitmapper.js
|
|
9133
|
+
// ../../node_modules/pngjs/lib/bitmapper.js
|
|
9134
9134
|
var require_bitmapper = __commonJS({
|
|
9135
|
-
"node_modules/pngjs/lib/bitmapper.js"(exports) {
|
|
9135
|
+
"../../node_modules/pngjs/lib/bitmapper.js"(exports) {
|
|
9136
9136
|
"use strict";
|
|
9137
9137
|
var interlaceUtils = require_interlace();
|
|
9138
9138
|
var pixelBppMapper = [
|
|
@@ -9378,9 +9378,9 @@ var require_bitmapper = __commonJS({
|
|
|
9378
9378
|
}
|
|
9379
9379
|
});
|
|
9380
9380
|
|
|
9381
|
-
// node_modules/pngjs/lib/format-normaliser.js
|
|
9381
|
+
// ../../node_modules/pngjs/lib/format-normaliser.js
|
|
9382
9382
|
var require_format_normaliser = __commonJS({
|
|
9383
|
-
"node_modules/pngjs/lib/format-normaliser.js"(exports, module) {
|
|
9383
|
+
"../../node_modules/pngjs/lib/format-normaliser.js"(exports, module) {
|
|
9384
9384
|
"use strict";
|
|
9385
9385
|
function dePalette(indata, outdata, width, height, palette2) {
|
|
9386
9386
|
let pxPos = 0;
|
|
@@ -9459,9 +9459,9 @@ var require_format_normaliser = __commonJS({
|
|
|
9459
9459
|
}
|
|
9460
9460
|
});
|
|
9461
9461
|
|
|
9462
|
-
// node_modules/pngjs/lib/parser-async.js
|
|
9462
|
+
// ../../node_modules/pngjs/lib/parser-async.js
|
|
9463
9463
|
var require_parser_async = __commonJS({
|
|
9464
|
-
"node_modules/pngjs/lib/parser-async.js"(exports, module) {
|
|
9464
|
+
"../../node_modules/pngjs/lib/parser-async.js"(exports, module) {
|
|
9465
9465
|
"use strict";
|
|
9466
9466
|
var util2 = __require("util");
|
|
9467
9467
|
var zlib = __require("zlib");
|
|
@@ -9589,9 +9589,9 @@ var require_parser_async = __commonJS({
|
|
|
9589
9589
|
}
|
|
9590
9590
|
});
|
|
9591
9591
|
|
|
9592
|
-
// node_modules/pngjs/lib/bitpacker.js
|
|
9592
|
+
// ../../node_modules/pngjs/lib/bitpacker.js
|
|
9593
9593
|
var require_bitpacker = __commonJS({
|
|
9594
|
-
"node_modules/pngjs/lib/bitpacker.js"(exports, module) {
|
|
9594
|
+
"../../node_modules/pngjs/lib/bitpacker.js"(exports, module) {
|
|
9595
9595
|
"use strict";
|
|
9596
9596
|
var constants2 = require_constants();
|
|
9597
9597
|
module.exports = function(dataIn, width, height, options) {
|
|
@@ -9739,9 +9739,9 @@ var require_bitpacker = __commonJS({
|
|
|
9739
9739
|
}
|
|
9740
9740
|
});
|
|
9741
9741
|
|
|
9742
|
-
// node_modules/pngjs/lib/filter-pack.js
|
|
9742
|
+
// ../../node_modules/pngjs/lib/filter-pack.js
|
|
9743
9743
|
var require_filter_pack = __commonJS({
|
|
9744
|
-
"node_modules/pngjs/lib/filter-pack.js"(exports, module) {
|
|
9744
|
+
"../../node_modules/pngjs/lib/filter-pack.js"(exports, module) {
|
|
9745
9745
|
"use strict";
|
|
9746
9746
|
var paethPredictor = require_paeth_predictor();
|
|
9747
9747
|
function filterNone(pxData, pxPos, byteWidth, rawData, rawPos) {
|
|
@@ -9881,9 +9881,9 @@ var require_filter_pack = __commonJS({
|
|
|
9881
9881
|
}
|
|
9882
9882
|
});
|
|
9883
9883
|
|
|
9884
|
-
// node_modules/pngjs/lib/packer.js
|
|
9884
|
+
// ../../node_modules/pngjs/lib/packer.js
|
|
9885
9885
|
var require_packer = __commonJS({
|
|
9886
|
-
"node_modules/pngjs/lib/packer.js"(exports, module) {
|
|
9886
|
+
"../../node_modules/pngjs/lib/packer.js"(exports, module) {
|
|
9887
9887
|
"use strict";
|
|
9888
9888
|
var constants2 = require_constants();
|
|
9889
9889
|
var CrcStream = require_crc();
|
|
@@ -9981,9 +9981,9 @@ var require_packer = __commonJS({
|
|
|
9981
9981
|
}
|
|
9982
9982
|
});
|
|
9983
9983
|
|
|
9984
|
-
// node_modules/pngjs/lib/packer-async.js
|
|
9984
|
+
// ../../node_modules/pngjs/lib/packer-async.js
|
|
9985
9985
|
var require_packer_async = __commonJS({
|
|
9986
|
-
"node_modules/pngjs/lib/packer-async.js"(exports, module) {
|
|
9986
|
+
"../../node_modules/pngjs/lib/packer-async.js"(exports, module) {
|
|
9987
9987
|
"use strict";
|
|
9988
9988
|
var util2 = __require("util");
|
|
9989
9989
|
var Stream = __require("stream");
|
|
@@ -10023,9 +10023,9 @@ var require_packer_async = __commonJS({
|
|
|
10023
10023
|
}
|
|
10024
10024
|
});
|
|
10025
10025
|
|
|
10026
|
-
// node_modules/pngjs/lib/sync-inflate.js
|
|
10026
|
+
// ../../node_modules/pngjs/lib/sync-inflate.js
|
|
10027
10027
|
var require_sync_inflate = __commonJS({
|
|
10028
|
-
"node_modules/pngjs/lib/sync-inflate.js"(exports, module) {
|
|
10028
|
+
"../../node_modules/pngjs/lib/sync-inflate.js"(exports, module) {
|
|
10029
10029
|
"use strict";
|
|
10030
10030
|
var assert = __require("assert").ok;
|
|
10031
10031
|
var zlib = __require("zlib");
|
|
@@ -10160,9 +10160,9 @@ var require_sync_inflate = __commonJS({
|
|
|
10160
10160
|
}
|
|
10161
10161
|
});
|
|
10162
10162
|
|
|
10163
|
-
// node_modules/pngjs/lib/sync-reader.js
|
|
10163
|
+
// ../../node_modules/pngjs/lib/sync-reader.js
|
|
10164
10164
|
var require_sync_reader = __commonJS({
|
|
10165
|
-
"node_modules/pngjs/lib/sync-reader.js"(exports, module) {
|
|
10165
|
+
"../../node_modules/pngjs/lib/sync-reader.js"(exports, module) {
|
|
10166
10166
|
"use strict";
|
|
10167
10167
|
var SyncReader = module.exports = function(buffer) {
|
|
10168
10168
|
this._buffer = buffer;
|
|
@@ -10198,9 +10198,9 @@ var require_sync_reader = __commonJS({
|
|
|
10198
10198
|
}
|
|
10199
10199
|
});
|
|
10200
10200
|
|
|
10201
|
-
// node_modules/pngjs/lib/filter-parse-sync.js
|
|
10201
|
+
// ../../node_modules/pngjs/lib/filter-parse-sync.js
|
|
10202
10202
|
var require_filter_parse_sync = __commonJS({
|
|
10203
|
-
"node_modules/pngjs/lib/filter-parse-sync.js"(exports) {
|
|
10203
|
+
"../../node_modules/pngjs/lib/filter-parse-sync.js"(exports) {
|
|
10204
10204
|
"use strict";
|
|
10205
10205
|
var SyncReader = require_sync_reader();
|
|
10206
10206
|
var Filter = require_filter_parse();
|
|
@@ -10222,9 +10222,9 @@ var require_filter_parse_sync = __commonJS({
|
|
|
10222
10222
|
}
|
|
10223
10223
|
});
|
|
10224
10224
|
|
|
10225
|
-
// node_modules/pngjs/lib/parser-sync.js
|
|
10225
|
+
// ../../node_modules/pngjs/lib/parser-sync.js
|
|
10226
10226
|
var require_parser_sync = __commonJS({
|
|
10227
|
-
"node_modules/pngjs/lib/parser-sync.js"(exports, module) {
|
|
10227
|
+
"../../node_modules/pngjs/lib/parser-sync.js"(exports, module) {
|
|
10228
10228
|
"use strict";
|
|
10229
10229
|
var hasSyncZlib = true;
|
|
10230
10230
|
var zlib = __require("zlib");
|
|
@@ -10317,9 +10317,9 @@ var require_parser_sync = __commonJS({
|
|
|
10317
10317
|
}
|
|
10318
10318
|
});
|
|
10319
10319
|
|
|
10320
|
-
// node_modules/pngjs/lib/packer-sync.js
|
|
10320
|
+
// ../../node_modules/pngjs/lib/packer-sync.js
|
|
10321
10321
|
var require_packer_sync = __commonJS({
|
|
10322
|
-
"node_modules/pngjs/lib/packer-sync.js"(exports, module) {
|
|
10322
|
+
"../../node_modules/pngjs/lib/packer-sync.js"(exports, module) {
|
|
10323
10323
|
"use strict";
|
|
10324
10324
|
var hasSyncZlib = true;
|
|
10325
10325
|
var zlib = __require("zlib");
|
|
@@ -10362,9 +10362,9 @@ var require_packer_sync = __commonJS({
|
|
|
10362
10362
|
}
|
|
10363
10363
|
});
|
|
10364
10364
|
|
|
10365
|
-
// node_modules/pngjs/lib/png-sync.js
|
|
10365
|
+
// ../../node_modules/pngjs/lib/png-sync.js
|
|
10366
10366
|
var require_png_sync = __commonJS({
|
|
10367
|
-
"node_modules/pngjs/lib/png-sync.js"(exports) {
|
|
10367
|
+
"../../node_modules/pngjs/lib/png-sync.js"(exports) {
|
|
10368
10368
|
"use strict";
|
|
10369
10369
|
var parse = require_parser_sync();
|
|
10370
10370
|
var pack = require_packer_sync();
|
|
@@ -10377,9 +10377,9 @@ var require_png_sync = __commonJS({
|
|
|
10377
10377
|
}
|
|
10378
10378
|
});
|
|
10379
10379
|
|
|
10380
|
-
// node_modules/pngjs/lib/png.js
|
|
10380
|
+
// ../../node_modules/pngjs/lib/png.js
|
|
10381
10381
|
var require_png = __commonJS({
|
|
10382
|
-
"node_modules/pngjs/lib/png.js"(exports) {
|
|
10382
|
+
"../../node_modules/pngjs/lib/png.js"(exports) {
|
|
10383
10383
|
"use strict";
|
|
10384
10384
|
var util2 = __require("util");
|
|
10385
10385
|
var Stream = __require("stream");
|
|
@@ -10514,10 +10514,10 @@ var require_png = __commonJS({
|
|
|
10514
10514
|
}
|
|
10515
10515
|
});
|
|
10516
10516
|
|
|
10517
|
-
// node_modules/@jimp/js-png/dist/esm/constants.js
|
|
10517
|
+
// ../../node_modules/@jimp/js-png/dist/esm/constants.js
|
|
10518
10518
|
var PNGFilterType, PNGColorType;
|
|
10519
10519
|
var init_constants = __esm({
|
|
10520
|
-
"node_modules/@jimp/js-png/dist/esm/constants.js"() {
|
|
10520
|
+
"../../node_modules/@jimp/js-png/dist/esm/constants.js"() {
|
|
10521
10521
|
(function(PNGFilterType2) {
|
|
10522
10522
|
PNGFilterType2[PNGFilterType2["AUTO"] = -1] = "AUTO";
|
|
10523
10523
|
PNGFilterType2[PNGFilterType2["NONE"] = 0] = "NONE";
|
|
@@ -10535,7 +10535,7 @@ var init_constants = __esm({
|
|
|
10535
10535
|
}
|
|
10536
10536
|
});
|
|
10537
10537
|
|
|
10538
|
-
// node_modules/@jimp/js-png/dist/esm/index.js
|
|
10538
|
+
// ../../node_modules/@jimp/js-png/dist/esm/index.js
|
|
10539
10539
|
function png() {
|
|
10540
10540
|
return {
|
|
10541
10541
|
mime: "image/png",
|
|
@@ -10567,16 +10567,16 @@ function png() {
|
|
|
10567
10567
|
}
|
|
10568
10568
|
var import_pngjs;
|
|
10569
10569
|
var init_esm6 = __esm({
|
|
10570
|
-
"node_modules/@jimp/js-png/dist/esm/index.js"() {
|
|
10570
|
+
"../../node_modules/@jimp/js-png/dist/esm/index.js"() {
|
|
10571
10571
|
import_pngjs = __toESM(require_png(), 1);
|
|
10572
10572
|
init_constants();
|
|
10573
10573
|
init_constants();
|
|
10574
10574
|
}
|
|
10575
10575
|
});
|
|
10576
10576
|
|
|
10577
|
-
// node_modules/utif2/node_modules/pako/lib/utils/common.js
|
|
10577
|
+
// ../../node_modules/utif2/node_modules/pako/lib/utils/common.js
|
|
10578
10578
|
var require_common = __commonJS({
|
|
10579
|
-
"node_modules/utif2/node_modules/pako/lib/utils/common.js"(exports) {
|
|
10579
|
+
"../../node_modules/utif2/node_modules/pako/lib/utils/common.js"(exports) {
|
|
10580
10580
|
"use strict";
|
|
10581
10581
|
var TYPED_OK = typeof Uint8Array !== "undefined" && typeof Uint16Array !== "undefined" && typeof Int32Array !== "undefined";
|
|
10582
10582
|
function _has(obj, key) {
|
|
@@ -10665,9 +10665,9 @@ var require_common = __commonJS({
|
|
|
10665
10665
|
}
|
|
10666
10666
|
});
|
|
10667
10667
|
|
|
10668
|
-
// node_modules/utif2/node_modules/pako/lib/zlib/trees.js
|
|
10668
|
+
// ../../node_modules/utif2/node_modules/pako/lib/zlib/trees.js
|
|
10669
10669
|
var require_trees = __commonJS({
|
|
10670
|
-
"node_modules/utif2/node_modules/pako/lib/zlib/trees.js"(exports) {
|
|
10670
|
+
"../../node_modules/utif2/node_modules/pako/lib/zlib/trees.js"(exports) {
|
|
10671
10671
|
"use strict";
|
|
10672
10672
|
var utils2 = require_common();
|
|
10673
10673
|
var Z_FIXED = 4;
|
|
@@ -11307,9 +11307,9 @@ var require_trees = __commonJS({
|
|
|
11307
11307
|
}
|
|
11308
11308
|
});
|
|
11309
11309
|
|
|
11310
|
-
// node_modules/utif2/node_modules/pako/lib/zlib/adler32.js
|
|
11310
|
+
// ../../node_modules/utif2/node_modules/pako/lib/zlib/adler32.js
|
|
11311
11311
|
var require_adler32 = __commonJS({
|
|
11312
|
-
"node_modules/utif2/node_modules/pako/lib/zlib/adler32.js"(exports, module) {
|
|
11312
|
+
"../../node_modules/utif2/node_modules/pako/lib/zlib/adler32.js"(exports, module) {
|
|
11313
11313
|
"use strict";
|
|
11314
11314
|
function adler32(adler, buf, len, pos) {
|
|
11315
11315
|
var s1 = adler & 65535 | 0, s2 = adler >>> 16 & 65535 | 0, n2 = 0;
|
|
@@ -11329,9 +11329,9 @@ var require_adler32 = __commonJS({
|
|
|
11329
11329
|
}
|
|
11330
11330
|
});
|
|
11331
11331
|
|
|
11332
|
-
// node_modules/utif2/node_modules/pako/lib/zlib/crc32.js
|
|
11332
|
+
// ../../node_modules/utif2/node_modules/pako/lib/zlib/crc32.js
|
|
11333
11333
|
var require_crc32 = __commonJS({
|
|
11334
|
-
"node_modules/utif2/node_modules/pako/lib/zlib/crc32.js"(exports, module) {
|
|
11334
|
+
"../../node_modules/utif2/node_modules/pako/lib/zlib/crc32.js"(exports, module) {
|
|
11335
11335
|
"use strict";
|
|
11336
11336
|
function makeTable() {
|
|
11337
11337
|
var c3, table = [];
|
|
@@ -11357,9 +11357,9 @@ var require_crc32 = __commonJS({
|
|
|
11357
11357
|
}
|
|
11358
11358
|
});
|
|
11359
11359
|
|
|
11360
|
-
// node_modules/utif2/node_modules/pako/lib/zlib/messages.js
|
|
11360
|
+
// ../../node_modules/utif2/node_modules/pako/lib/zlib/messages.js
|
|
11361
11361
|
var require_messages = __commonJS({
|
|
11362
|
-
"node_modules/utif2/node_modules/pako/lib/zlib/messages.js"(exports, module) {
|
|
11362
|
+
"../../node_modules/utif2/node_modules/pako/lib/zlib/messages.js"(exports, module) {
|
|
11363
11363
|
"use strict";
|
|
11364
11364
|
module.exports = {
|
|
11365
11365
|
2: "need dictionary",
|
|
@@ -11384,9 +11384,9 @@ var require_messages = __commonJS({
|
|
|
11384
11384
|
}
|
|
11385
11385
|
});
|
|
11386
11386
|
|
|
11387
|
-
// node_modules/utif2/node_modules/pako/lib/zlib/deflate.js
|
|
11387
|
+
// ../../node_modules/utif2/node_modules/pako/lib/zlib/deflate.js
|
|
11388
11388
|
var require_deflate = __commonJS({
|
|
11389
|
-
"node_modules/utif2/node_modules/pako/lib/zlib/deflate.js"(exports) {
|
|
11389
|
+
"../../node_modules/utif2/node_modules/pako/lib/zlib/deflate.js"(exports) {
|
|
11390
11390
|
"use strict";
|
|
11391
11391
|
var utils2 = require_common();
|
|
11392
11392
|
var trees = require_trees();
|
|
@@ -12433,9 +12433,9 @@ var require_deflate = __commonJS({
|
|
|
12433
12433
|
}
|
|
12434
12434
|
});
|
|
12435
12435
|
|
|
12436
|
-
// node_modules/utif2/node_modules/pako/lib/utils/strings.js
|
|
12436
|
+
// ../../node_modules/utif2/node_modules/pako/lib/utils/strings.js
|
|
12437
12437
|
var require_strings = __commonJS({
|
|
12438
|
-
"node_modules/utif2/node_modules/pako/lib/utils/strings.js"(exports) {
|
|
12438
|
+
"../../node_modules/utif2/node_modules/pako/lib/utils/strings.js"(exports) {
|
|
12439
12439
|
"use strict";
|
|
12440
12440
|
var utils2 = require_common();
|
|
12441
12441
|
var STR_APPLY_OK = true;
|
|
@@ -12575,9 +12575,9 @@ var require_strings = __commonJS({
|
|
|
12575
12575
|
}
|
|
12576
12576
|
});
|
|
12577
12577
|
|
|
12578
|
-
// node_modules/utif2/node_modules/pako/lib/zlib/zstream.js
|
|
12578
|
+
// ../../node_modules/utif2/node_modules/pako/lib/zlib/zstream.js
|
|
12579
12579
|
var require_zstream = __commonJS({
|
|
12580
|
-
"node_modules/utif2/node_modules/pako/lib/zlib/zstream.js"(exports, module) {
|
|
12580
|
+
"../../node_modules/utif2/node_modules/pako/lib/zlib/zstream.js"(exports, module) {
|
|
12581
12581
|
"use strict";
|
|
12582
12582
|
function ZStream() {
|
|
12583
12583
|
this.input = null;
|
|
@@ -12597,9 +12597,9 @@ var require_zstream = __commonJS({
|
|
|
12597
12597
|
}
|
|
12598
12598
|
});
|
|
12599
12599
|
|
|
12600
|
-
// node_modules/utif2/node_modules/pako/lib/deflate.js
|
|
12600
|
+
// ../../node_modules/utif2/node_modules/pako/lib/deflate.js
|
|
12601
12601
|
var require_deflate2 = __commonJS({
|
|
12602
|
-
"node_modules/utif2/node_modules/pako/lib/deflate.js"(exports) {
|
|
12602
|
+
"../../node_modules/utif2/node_modules/pako/lib/deflate.js"(exports) {
|
|
12603
12603
|
"use strict";
|
|
12604
12604
|
var zlib_deflate = require_deflate();
|
|
12605
12605
|
var utils2 = require_common();
|
|
@@ -12758,9 +12758,9 @@ var require_deflate2 = __commonJS({
|
|
|
12758
12758
|
}
|
|
12759
12759
|
});
|
|
12760
12760
|
|
|
12761
|
-
// node_modules/utif2/node_modules/pako/lib/zlib/inffast.js
|
|
12761
|
+
// ../../node_modules/utif2/node_modules/pako/lib/zlib/inffast.js
|
|
12762
12762
|
var require_inffast = __commonJS({
|
|
12763
|
-
"node_modules/utif2/node_modules/pako/lib/zlib/inffast.js"(exports, module) {
|
|
12763
|
+
"../../node_modules/utif2/node_modules/pako/lib/zlib/inffast.js"(exports, module) {
|
|
12764
12764
|
"use strict";
|
|
12765
12765
|
var BAD = 30;
|
|
12766
12766
|
var TYPE = 12;
|
|
@@ -12987,9 +12987,9 @@ var require_inffast = __commonJS({
|
|
|
12987
12987
|
}
|
|
12988
12988
|
});
|
|
12989
12989
|
|
|
12990
|
-
// node_modules/utif2/node_modules/pako/lib/zlib/inftrees.js
|
|
12990
|
+
// ../../node_modules/utif2/node_modules/pako/lib/zlib/inftrees.js
|
|
12991
12991
|
var require_inftrees = __commonJS({
|
|
12992
|
-
"node_modules/utif2/node_modules/pako/lib/zlib/inftrees.js"(exports, module) {
|
|
12992
|
+
"../../node_modules/utif2/node_modules/pako/lib/zlib/inftrees.js"(exports, module) {
|
|
12993
12993
|
"use strict";
|
|
12994
12994
|
var utils2 = require_common();
|
|
12995
12995
|
var MAXBITS = 15;
|
|
@@ -13303,9 +13303,9 @@ var require_inftrees = __commonJS({
|
|
|
13303
13303
|
}
|
|
13304
13304
|
});
|
|
13305
13305
|
|
|
13306
|
-
// node_modules/utif2/node_modules/pako/lib/zlib/inflate.js
|
|
13306
|
+
// ../../node_modules/utif2/node_modules/pako/lib/zlib/inflate.js
|
|
13307
13307
|
var require_inflate = __commonJS({
|
|
13308
|
-
"node_modules/utif2/node_modules/pako/lib/zlib/inflate.js"(exports) {
|
|
13308
|
+
"../../node_modules/utif2/node_modules/pako/lib/zlib/inflate.js"(exports) {
|
|
13309
13309
|
"use strict";
|
|
13310
13310
|
var utils2 = require_common();
|
|
13311
13311
|
var adler32 = require_adler32();
|
|
@@ -14519,9 +14519,9 @@ var require_inflate = __commonJS({
|
|
|
14519
14519
|
}
|
|
14520
14520
|
});
|
|
14521
14521
|
|
|
14522
|
-
// node_modules/utif2/node_modules/pako/lib/zlib/constants.js
|
|
14522
|
+
// ../../node_modules/utif2/node_modules/pako/lib/zlib/constants.js
|
|
14523
14523
|
var require_constants2 = __commonJS({
|
|
14524
|
-
"node_modules/utif2/node_modules/pako/lib/zlib/constants.js"(exports, module) {
|
|
14524
|
+
"../../node_modules/utif2/node_modules/pako/lib/zlib/constants.js"(exports, module) {
|
|
14525
14525
|
"use strict";
|
|
14526
14526
|
module.exports = {
|
|
14527
14527
|
/* Allowed flush values; see deflate() and inflate() below for details */
|
|
@@ -14566,9 +14566,9 @@ var require_constants2 = __commonJS({
|
|
|
14566
14566
|
}
|
|
14567
14567
|
});
|
|
14568
14568
|
|
|
14569
|
-
// node_modules/utif2/node_modules/pako/lib/zlib/gzheader.js
|
|
14569
|
+
// ../../node_modules/utif2/node_modules/pako/lib/zlib/gzheader.js
|
|
14570
14570
|
var require_gzheader = __commonJS({
|
|
14571
|
-
"node_modules/utif2/node_modules/pako/lib/zlib/gzheader.js"(exports, module) {
|
|
14571
|
+
"../../node_modules/utif2/node_modules/pako/lib/zlib/gzheader.js"(exports, module) {
|
|
14572
14572
|
"use strict";
|
|
14573
14573
|
function GZheader() {
|
|
14574
14574
|
this.text = 0;
|
|
@@ -14586,9 +14586,9 @@ var require_gzheader = __commonJS({
|
|
|
14586
14586
|
}
|
|
14587
14587
|
});
|
|
14588
14588
|
|
|
14589
|
-
// node_modules/utif2/node_modules/pako/lib/inflate.js
|
|
14589
|
+
// ../../node_modules/utif2/node_modules/pako/lib/inflate.js
|
|
14590
14590
|
var require_inflate2 = __commonJS({
|
|
14591
|
-
"node_modules/utif2/node_modules/pako/lib/inflate.js"(exports) {
|
|
14591
|
+
"../../node_modules/utif2/node_modules/pako/lib/inflate.js"(exports) {
|
|
14592
14592
|
"use strict";
|
|
14593
14593
|
var zlib_inflate = require_inflate();
|
|
14594
14594
|
var utils2 = require_common();
|
|
@@ -14760,9 +14760,9 @@ var require_inflate2 = __commonJS({
|
|
|
14760
14760
|
}
|
|
14761
14761
|
});
|
|
14762
14762
|
|
|
14763
|
-
// node_modules/utif2/node_modules/pako/index.js
|
|
14763
|
+
// ../../node_modules/utif2/node_modules/pako/index.js
|
|
14764
14764
|
var require_pako = __commonJS({
|
|
14765
|
-
"node_modules/utif2/node_modules/pako/index.js"(exports, module) {
|
|
14765
|
+
"../../node_modules/utif2/node_modules/pako/index.js"(exports, module) {
|
|
14766
14766
|
"use strict";
|
|
14767
14767
|
var assign = require_common().assign;
|
|
14768
14768
|
var deflate = require_deflate2();
|
|
@@ -14774,9 +14774,9 @@ var require_pako = __commonJS({
|
|
|
14774
14774
|
}
|
|
14775
14775
|
});
|
|
14776
14776
|
|
|
14777
|
-
// node_modules/utif2/UTIF.js
|
|
14777
|
+
// ../../node_modules/utif2/UTIF.js
|
|
14778
14778
|
var require_UTIF = __commonJS({
|
|
14779
|
-
"node_modules/utif2/UTIF.js"(exports, module) {
|
|
14779
|
+
"../../node_modules/utif2/UTIF.js"(exports, module) {
|
|
14780
14780
|
(function() {
|
|
14781
14781
|
var UTIF = {};
|
|
14782
14782
|
if (typeof module == "object") {
|
|
@@ -18262,7 +18262,7 @@ var require_UTIF = __commonJS({
|
|
|
18262
18262
|
}
|
|
18263
18263
|
});
|
|
18264
18264
|
|
|
18265
|
-
// node_modules/@jimp/js-tiff/dist/esm/index.js
|
|
18265
|
+
// ../../node_modules/@jimp/js-tiff/dist/esm/index.js
|
|
18266
18266
|
function getDimensionValue(dimension) {
|
|
18267
18267
|
if (typeof dimension === "number") {
|
|
18268
18268
|
return dimension;
|
|
@@ -18308,15 +18308,15 @@ function tiff() {
|
|
|
18308
18308
|
}
|
|
18309
18309
|
var import_utif2;
|
|
18310
18310
|
var init_esm7 = __esm({
|
|
18311
|
-
"node_modules/@jimp/js-tiff/dist/esm/index.js"() {
|
|
18311
|
+
"../../node_modules/@jimp/js-tiff/dist/esm/index.js"() {
|
|
18312
18312
|
import_utif2 = __toESM(require_UTIF(), 1);
|
|
18313
18313
|
}
|
|
18314
18314
|
});
|
|
18315
18315
|
|
|
18316
|
-
// node_modules/zod/v3/helpers/util.js
|
|
18316
|
+
// ../../node_modules/zod/v3/helpers/util.js
|
|
18317
18317
|
var util, objectUtil, ZodParsedType, getParsedType;
|
|
18318
18318
|
var init_util = __esm({
|
|
18319
|
-
"node_modules/zod/v3/helpers/util.js"() {
|
|
18319
|
+
"../../node_modules/zod/v3/helpers/util.js"() {
|
|
18320
18320
|
(function(util2) {
|
|
18321
18321
|
util2.assertEqual = (_) => {
|
|
18322
18322
|
};
|
|
@@ -18450,10 +18450,10 @@ var init_util = __esm({
|
|
|
18450
18450
|
}
|
|
18451
18451
|
});
|
|
18452
18452
|
|
|
18453
|
-
// node_modules/zod/v3/ZodError.js
|
|
18453
|
+
// ../../node_modules/zod/v3/ZodError.js
|
|
18454
18454
|
var ZodIssueCode, quotelessJson, ZodError;
|
|
18455
18455
|
var init_ZodError = __esm({
|
|
18456
|
-
"node_modules/zod/v3/ZodError.js"() {
|
|
18456
|
+
"../../node_modules/zod/v3/ZodError.js"() {
|
|
18457
18457
|
init_util();
|
|
18458
18458
|
ZodIssueCode = util.arrayToEnum([
|
|
18459
18459
|
"invalid_type",
|
|
@@ -18574,10 +18574,10 @@ var init_ZodError = __esm({
|
|
|
18574
18574
|
}
|
|
18575
18575
|
});
|
|
18576
18576
|
|
|
18577
|
-
// node_modules/zod/v3/locales/en.js
|
|
18577
|
+
// ../../node_modules/zod/v3/locales/en.js
|
|
18578
18578
|
var errorMap, en_default;
|
|
18579
18579
|
var init_en = __esm({
|
|
18580
|
-
"node_modules/zod/v3/locales/en.js"() {
|
|
18580
|
+
"../../node_modules/zod/v3/locales/en.js"() {
|
|
18581
18581
|
init_ZodError();
|
|
18582
18582
|
init_util();
|
|
18583
18583
|
errorMap = (issue, _ctx) => {
|
|
@@ -18684,7 +18684,7 @@ var init_en = __esm({
|
|
|
18684
18684
|
}
|
|
18685
18685
|
});
|
|
18686
18686
|
|
|
18687
|
-
// node_modules/zod/v3/errors.js
|
|
18687
|
+
// ../../node_modules/zod/v3/errors.js
|
|
18688
18688
|
function setErrorMap(map) {
|
|
18689
18689
|
overrideErrorMap = map;
|
|
18690
18690
|
}
|
|
@@ -18693,13 +18693,13 @@ function getErrorMap() {
|
|
|
18693
18693
|
}
|
|
18694
18694
|
var overrideErrorMap;
|
|
18695
18695
|
var init_errors = __esm({
|
|
18696
|
-
"node_modules/zod/v3/errors.js"() {
|
|
18696
|
+
"../../node_modules/zod/v3/errors.js"() {
|
|
18697
18697
|
init_en();
|
|
18698
18698
|
overrideErrorMap = en_default;
|
|
18699
18699
|
}
|
|
18700
18700
|
});
|
|
18701
18701
|
|
|
18702
|
-
// node_modules/zod/v3/helpers/parseUtil.js
|
|
18702
|
+
// ../../node_modules/zod/v3/helpers/parseUtil.js
|
|
18703
18703
|
function addIssueToContext(ctx, issueData) {
|
|
18704
18704
|
const overrideMap = getErrorMap();
|
|
18705
18705
|
const issue = makeIssue({
|
|
@@ -18721,7 +18721,7 @@ function addIssueToContext(ctx, issueData) {
|
|
|
18721
18721
|
}
|
|
18722
18722
|
var makeIssue, EMPTY_PATH, ParseStatus, INVALID, DIRTY, OK, isAborted, isDirty, isValid2, isAsync;
|
|
18723
18723
|
var init_parseUtil = __esm({
|
|
18724
|
-
"node_modules/zod/v3/helpers/parseUtil.js"() {
|
|
18724
|
+
"../../node_modules/zod/v3/helpers/parseUtil.js"() {
|
|
18725
18725
|
init_errors();
|
|
18726
18726
|
init_en();
|
|
18727
18727
|
makeIssue = (params) => {
|
|
@@ -18816,16 +18816,16 @@ var init_parseUtil = __esm({
|
|
|
18816
18816
|
}
|
|
18817
18817
|
});
|
|
18818
18818
|
|
|
18819
|
-
// node_modules/zod/v3/helpers/typeAliases.js
|
|
18819
|
+
// ../../node_modules/zod/v3/helpers/typeAliases.js
|
|
18820
18820
|
var init_typeAliases = __esm({
|
|
18821
|
-
"node_modules/zod/v3/helpers/typeAliases.js"() {
|
|
18821
|
+
"../../node_modules/zod/v3/helpers/typeAliases.js"() {
|
|
18822
18822
|
}
|
|
18823
18823
|
});
|
|
18824
18824
|
|
|
18825
|
-
// node_modules/zod/v3/helpers/errorUtil.js
|
|
18825
|
+
// ../../node_modules/zod/v3/helpers/errorUtil.js
|
|
18826
18826
|
var errorUtil;
|
|
18827
18827
|
var init_errorUtil = __esm({
|
|
18828
|
-
"node_modules/zod/v3/helpers/errorUtil.js"() {
|
|
18828
|
+
"../../node_modules/zod/v3/helpers/errorUtil.js"() {
|
|
18829
18829
|
(function(errorUtil2) {
|
|
18830
18830
|
errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
|
|
18831
18831
|
errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
|
|
@@ -18833,7 +18833,7 @@ var init_errorUtil = __esm({
|
|
|
18833
18833
|
}
|
|
18834
18834
|
});
|
|
18835
18835
|
|
|
18836
|
-
// node_modules/zod/v3/types.js
|
|
18836
|
+
// ../../node_modules/zod/v3/types.js
|
|
18837
18837
|
function processCreateParams(params) {
|
|
18838
18838
|
if (!params)
|
|
18839
18839
|
return {};
|
|
@@ -19027,7 +19027,7 @@ function custom(check, _params = {}, fatal) {
|
|
|
19027
19027
|
}
|
|
19028
19028
|
var ParseInputLazyPath, handleResult, ZodType, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, jwtRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv4CidrRegex, ipv6Regex, ipv6CidrRegex, base64Regex, base64urlRegex, dateRegexSource, dateRegex, ZodString, ZodNumber, ZodBigInt, ZodBoolean, ZodDate, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodArray, ZodObject, ZodUnion, getDiscriminator, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral, ZodEnum, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodCatch, ZodNaN, BRAND, ZodBranded, ZodPipeline, ZodReadonly, late, ZodFirstPartyTypeKind, instanceOfType, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType, ostring, onumber, oboolean, coerce, NEVER;
|
|
19029
19029
|
var init_types2 = __esm({
|
|
19030
|
-
"node_modules/zod/v3/types.js"() {
|
|
19030
|
+
"../../node_modules/zod/v3/types.js"() {
|
|
19031
19031
|
init_ZodError();
|
|
19032
19032
|
init_errors();
|
|
19033
19033
|
init_errorUtil();
|
|
@@ -22289,7 +22289,7 @@ var init_types2 = __esm({
|
|
|
22289
22289
|
}
|
|
22290
22290
|
});
|
|
22291
22291
|
|
|
22292
|
-
// node_modules/zod/v3/external.js
|
|
22292
|
+
// ../../node_modules/zod/v3/external.js
|
|
22293
22293
|
var external_exports = {};
|
|
22294
22294
|
__export(external_exports, {
|
|
22295
22295
|
BRAND: () => BRAND,
|
|
@@ -22401,7 +22401,7 @@ __export(external_exports, {
|
|
|
22401
22401
|
void: () => voidType
|
|
22402
22402
|
});
|
|
22403
22403
|
var init_external = __esm({
|
|
22404
|
-
"node_modules/zod/v3/external.js"() {
|
|
22404
|
+
"../../node_modules/zod/v3/external.js"() {
|
|
22405
22405
|
init_errors();
|
|
22406
22406
|
init_parseUtil();
|
|
22407
22407
|
init_typeAliases();
|
|
@@ -22411,20 +22411,20 @@ var init_external = __esm({
|
|
|
22411
22411
|
}
|
|
22412
22412
|
});
|
|
22413
22413
|
|
|
22414
|
-
// node_modules/zod/index.js
|
|
22414
|
+
// ../../node_modules/zod/index.js
|
|
22415
22415
|
var zod_default;
|
|
22416
22416
|
var init_zod = __esm({
|
|
22417
|
-
"node_modules/zod/index.js"() {
|
|
22417
|
+
"../../node_modules/zod/index.js"() {
|
|
22418
22418
|
init_external();
|
|
22419
22419
|
init_external();
|
|
22420
22420
|
zod_default = external_exports;
|
|
22421
22421
|
}
|
|
22422
22422
|
});
|
|
22423
22423
|
|
|
22424
|
-
// node_modules/@jimp/types/dist/esm/index.js
|
|
22424
|
+
// ../../node_modules/@jimp/types/dist/esm/index.js
|
|
22425
22425
|
var Edge, JimpClassSchema;
|
|
22426
22426
|
var init_esm8 = __esm({
|
|
22427
|
-
"node_modules/@jimp/types/dist/esm/index.js"() {
|
|
22427
|
+
"../../node_modules/@jimp/types/dist/esm/index.js"() {
|
|
22428
22428
|
init_zod();
|
|
22429
22429
|
(function(Edge2) {
|
|
22430
22430
|
Edge2[Edge2["EXTEND"] = 1] = "EXTEND";
|
|
@@ -22441,10 +22441,10 @@ var init_esm8 = __esm({
|
|
|
22441
22441
|
}
|
|
22442
22442
|
});
|
|
22443
22443
|
|
|
22444
|
-
// node_modules/@jimp/plugin-blit/dist/esm/index.js
|
|
22444
|
+
// ../../node_modules/@jimp/plugin-blit/dist/esm/index.js
|
|
22445
22445
|
var BlitOptionsSchemaComplex, BlitOptionsSchema, methods;
|
|
22446
22446
|
var init_esm9 = __esm({
|
|
22447
|
-
"node_modules/@jimp/plugin-blit/dist/esm/index.js"() {
|
|
22447
|
+
"../../node_modules/@jimp/plugin-blit/dist/esm/index.js"() {
|
|
22448
22448
|
init_esm8();
|
|
22449
22449
|
init_esm2();
|
|
22450
22450
|
init_zod();
|
|
@@ -22535,10 +22535,10 @@ var init_esm9 = __esm({
|
|
|
22535
22535
|
}
|
|
22536
22536
|
});
|
|
22537
22537
|
|
|
22538
|
-
// node_modules/@jimp/plugin-blur/dist/esm/blur-tables.js
|
|
22538
|
+
// ../../node_modules/@jimp/plugin-blur/dist/esm/blur-tables.js
|
|
22539
22539
|
var mulTable, shgTable;
|
|
22540
22540
|
var init_blur_tables = __esm({
|
|
22541
|
-
"node_modules/@jimp/plugin-blur/dist/esm/blur-tables.js"() {
|
|
22541
|
+
"../../node_modules/@jimp/plugin-blur/dist/esm/blur-tables.js"() {
|
|
22542
22542
|
mulTable = [
|
|
22543
22543
|
1,
|
|
22544
22544
|
57,
|
|
@@ -23060,10 +23060,10 @@ var init_blur_tables = __esm({
|
|
|
23060
23060
|
}
|
|
23061
23061
|
});
|
|
23062
23062
|
|
|
23063
|
-
// node_modules/@jimp/plugin-blur/dist/esm/index.js
|
|
23063
|
+
// ../../node_modules/@jimp/plugin-blur/dist/esm/index.js
|
|
23064
23064
|
var methods2;
|
|
23065
23065
|
var init_esm10 = __esm({
|
|
23066
|
-
"node_modules/@jimp/plugin-blur/dist/esm/index.js"() {
|
|
23066
|
+
"../../node_modules/@jimp/plugin-blur/dist/esm/index.js"() {
|
|
23067
23067
|
init_blur_tables();
|
|
23068
23068
|
init_esm2();
|
|
23069
23069
|
methods2 = {
|
|
@@ -23246,10 +23246,10 @@ var init_esm10 = __esm({
|
|
|
23246
23246
|
}
|
|
23247
23247
|
});
|
|
23248
23248
|
|
|
23249
|
-
// node_modules/@jimp/plugin-circle/dist/esm/index.js
|
|
23249
|
+
// ../../node_modules/@jimp/plugin-circle/dist/esm/index.js
|
|
23250
23250
|
var CircleOptionsSchema, methods3;
|
|
23251
23251
|
var init_esm11 = __esm({
|
|
23252
|
-
"node_modules/@jimp/plugin-circle/dist/esm/index.js"() {
|
|
23252
|
+
"../../node_modules/@jimp/plugin-circle/dist/esm/index.js"() {
|
|
23253
23253
|
init_zod();
|
|
23254
23254
|
CircleOptionsSchema = external_exports.object({
|
|
23255
23255
|
/** the x position to draw the circle */
|
|
@@ -23294,7 +23294,7 @@ var init_esm11 = __esm({
|
|
|
23294
23294
|
}
|
|
23295
23295
|
});
|
|
23296
23296
|
|
|
23297
|
-
// node_modules/@jimp/plugin-color/dist/esm/index.js
|
|
23297
|
+
// ../../node_modules/@jimp/plugin-color/dist/esm/index.js
|
|
23298
23298
|
function applyKernel(image2, kernel, x2, y2) {
|
|
23299
23299
|
const value = [0, 0, 0, 0];
|
|
23300
23300
|
const size = (kernel.length - 1) / 2;
|
|
@@ -23331,7 +23331,7 @@ function histogram(image2) {
|
|
|
23331
23331
|
}
|
|
23332
23332
|
var ConvolutionMatrixSchema, ConvolutionComplexOptionsSchema, ConvolutionOptionsSchema, ConvoluteComplexOptionsSchema, ConvoluteOptionsSchema, PixelateSize, PixelateComplexOptionsSchema, PixelateOptionsSchema, HueActionSchema, SpinActionSchema, LightenActionSchema, RGBColorSchema, MixActionSchema, TintActionSchema, ShadeActionSchema, XorActionSchema, RedActionSchema, GreenActionSchema, BlueActionSchema, BrightenActionSchema, DarkenActionSchema, DesaturateActionSchema, SaturateActionSchema, GrayscaleActionSchema, ColorActionNameSchema, ColorActionName, normalizeValue, getBounds, methods4;
|
|
23333
23333
|
var init_esm12 = __esm({
|
|
23334
|
-
"node_modules/@jimp/plugin-color/dist/esm/index.js"() {
|
|
23334
|
+
"../../node_modules/@jimp/plugin-color/dist/esm/index.js"() {
|
|
23335
23335
|
init_tinycolor();
|
|
23336
23336
|
init_esm2();
|
|
23337
23337
|
init_esm8();
|
|
@@ -23963,9 +23963,9 @@ var init_esm12 = __esm({
|
|
|
23963
23963
|
}
|
|
23964
23964
|
});
|
|
23965
23965
|
|
|
23966
|
-
// node_modules/await-to-js/dist/await-to-js.umd.js
|
|
23966
|
+
// ../../node_modules/await-to-js/dist/await-to-js.umd.js
|
|
23967
23967
|
var require_await_to_js_umd = __commonJS({
|
|
23968
|
-
"node_modules/await-to-js/dist/await-to-js.umd.js"(exports, module) {
|
|
23968
|
+
"../../node_modules/await-to-js/dist/await-to-js.umd.js"(exports, module) {
|
|
23969
23969
|
(function(global2, factory) {
|
|
23970
23970
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global2.awaitToJs = {});
|
|
23971
23971
|
})(exports, function(exports2) {
|
|
@@ -23987,20 +23987,20 @@ var require_await_to_js_umd = __commonJS({
|
|
|
23987
23987
|
}
|
|
23988
23988
|
});
|
|
23989
23989
|
|
|
23990
|
-
// node_modules/@jimp/file-ops/dist/esm/index.js
|
|
23990
|
+
// ../../node_modules/@jimp/file-ops/dist/esm/index.js
|
|
23991
23991
|
import { promises as fs6 } from "fs";
|
|
23992
23992
|
import { existsSync as existsSync2 } from "fs";
|
|
23993
23993
|
var readFile, writeFile;
|
|
23994
23994
|
var init_esm13 = __esm({
|
|
23995
|
-
"node_modules/@jimp/file-ops/dist/esm/index.js"() {
|
|
23995
|
+
"../../node_modules/@jimp/file-ops/dist/esm/index.js"() {
|
|
23996
23996
|
readFile = fs6.readFile;
|
|
23997
23997
|
writeFile = fs6.writeFile;
|
|
23998
23998
|
}
|
|
23999
23999
|
});
|
|
24000
24000
|
|
|
24001
|
-
// node_modules/mime/Mime.js
|
|
24001
|
+
// ../../node_modules/mime/Mime.js
|
|
24002
24002
|
var require_Mime = __commonJS({
|
|
24003
|
-
"node_modules/mime/Mime.js"(exports, module) {
|
|
24003
|
+
"../../node_modules/mime/Mime.js"(exports, module) {
|
|
24004
24004
|
"use strict";
|
|
24005
24005
|
function Mime() {
|
|
24006
24006
|
this._types = /* @__PURE__ */ Object.create(null);
|
|
@@ -24052,26 +24052,26 @@ var require_Mime = __commonJS({
|
|
|
24052
24052
|
}
|
|
24053
24053
|
});
|
|
24054
24054
|
|
|
24055
|
-
// node_modules/mime/types/standard.js
|
|
24055
|
+
// ../../node_modules/mime/types/standard.js
|
|
24056
24056
|
var require_standard = __commonJS({
|
|
24057
|
-
"node_modules/mime/types/standard.js"(exports, module) {
|
|
24057
|
+
"../../node_modules/mime/types/standard.js"(exports, module) {
|
|
24058
24058
|
module.exports = { "application/andrew-inset": ["ez"], "application/applixware": ["aw"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomdeleted+xml": ["atomdeleted"], "application/atomsvc+xml": ["atomsvc"], "application/atsc-dwd+xml": ["dwd"], "application/atsc-held+xml": ["held"], "application/atsc-rsat+xml": ["rsat"], "application/bdoc": ["bdoc"], "application/calendar+xml": ["xcs"], "application/ccxml+xml": ["ccxml"], "application/cdfx+xml": ["cdfx"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cu-seeme": ["cu"], "application/dash+xml": ["mpd"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["es", "ecma"], "application/emma+xml": ["emma"], "application/emotionml+xml": ["emotionml"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/express": ["exp"], "application/fdt+xml": ["fdt"], "application/font-tdpfr": ["pfr"], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hjson": ["hjson"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/its+xml": ["its"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["js", "mjs"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lgr+xml": ["lgr"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mmt-aei+xml": ["maei"], "application/mmt-usd+xml": ["musd"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["mp4s", "m4p"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/n-quads": ["nq"], "application/n-triples": ["nt"], "application/node": ["cjs"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/p2p-overlay+xml": ["relo"], "application/patch-ops-error+xml": ["xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-signature": ["asc", "sig"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/provenance+xml": ["provx"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf", "owl"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/route-apd+xml": ["rapd"], "application/route-s-tsid+xml": ["sls"], "application/route-usd+xml": ["rusd"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/senml+xml": ["senmlx"], "application/sensml+xml": ["sensmlx"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/sieve": ["siv", "sieve"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/swid+xml": ["swidtag"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/toml": ["toml"], "application/trig": ["trig"], "application/ttml+xml": ["ttml"], "application/ubjson": ["ubj"], "application/urc-ressheet+xml": ["rsheet"], "application/urc-targetdesc+xml": ["td"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/xaml+xml": ["xaml"], "application/xcap-att+xml": ["xav"], "application/xcap-caps+xml": ["xca"], "application/xcap-diff+xml": ["xdf"], "application/xcap-el+xml": ["xel"], "application/xcap-ns+xml": ["xns"], "application/xenc+xml": ["xenc"], "application/xhtml+xml": ["xhtml", "xht"], "application/xliff+xml": ["xlf"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["*xsl", "xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": ["*3gpp"], "audio/adpcm": ["adp"], "audio/amr": ["amr"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mobile-xmf": ["mxmf"], "audio/mp3": ["*mp3"], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx", "opus"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/wav": ["wav"], "audio/wave": ["*wav"], "audio/webm": ["weba"], "audio/xm": ["xm"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/aces": ["exr"], "image/apng": ["apng"], "image/avif": ["avif"], "image/bmp": ["bmp"], "image/cgm": ["cgm"], "image/dicom-rle": ["drle"], "image/emf": ["emf"], "image/fits": ["fits"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/heic": ["heic"], "image/heic-sequence": ["heics"], "image/heif": ["heif"], "image/heif-sequence": ["heifs"], "image/hej2k": ["hej2"], "image/hsj2": ["hsj2"], "image/ief": ["ief"], "image/jls": ["jls"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jph": ["jph"], "image/jphc": ["jhc"], "image/jpm": ["jpm"], "image/jpx": ["jpx", "jpf"], "image/jxr": ["jxr"], "image/jxra": ["jxra"], "image/jxrs": ["jxrs"], "image/jxs": ["jxs"], "image/jxsc": ["jxsc"], "image/jxsi": ["jxsi"], "image/jxss": ["jxss"], "image/ktx": ["ktx"], "image/ktx2": ["ktx2"], "image/png": ["png"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/t38": ["t38"], "image/tiff": ["tif", "tiff"], "image/tiff-fx": ["tfx"], "image/webp": ["webp"], "image/wmf": ["wmf"], "message/disposition-notification": ["disposition-notification"], "message/global": ["u8msg"], "message/global-delivery-status": ["u8dsn"], "message/global-disposition-notification": ["u8mdn"], "message/global-headers": ["u8hdr"], "message/rfc822": ["eml", "mime"], "model/3mf": ["3mf"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/mesh": ["msh", "mesh", "silo"], "model/mtl": ["mtl"], "model/obj": ["obj"], "model/step+xml": ["stpx"], "model/step+zip": ["stpz"], "model/step-xml+zip": ["stpxz"], "model/stl": ["stl"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["*x3db", "x3dbz"], "model/x3d+fastinfoset": ["x3db"], "model/x3d+vrml": ["*x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "model/x3d-vrml": ["x3dv"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["markdown", "md"], "text/mathml": ["mml"], "text/mdx": ["mdx"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/richtext": ["rtx"], "text/rtf": ["*rtf"], "text/sgml": ["sgml", "sgm"], "text/shex": ["shex"], "text/slim": ["slim", "slm"], "text/spdx": ["spdx"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vtt": ["vtt"], "text/xml": ["*xml"], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/iso.segment": ["m4s"], "video/jpeg": ["jpgv"], "video/jpm": ["*jpm", "jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/webm": ["webm"] };
|
|
24059
24059
|
}
|
|
24060
24060
|
});
|
|
24061
24061
|
|
|
24062
|
-
// node_modules/mime/lite.js
|
|
24062
|
+
// ../../node_modules/mime/lite.js
|
|
24063
24063
|
var require_lite = __commonJS({
|
|
24064
|
-
"node_modules/mime/lite.js"(exports, module) {
|
|
24064
|
+
"../../node_modules/mime/lite.js"(exports, module) {
|
|
24065
24065
|
"use strict";
|
|
24066
24066
|
var Mime = require_Mime();
|
|
24067
24067
|
module.exports = new Mime(require_standard());
|
|
24068
24068
|
}
|
|
24069
24069
|
});
|
|
24070
24070
|
|
|
24071
|
-
// node_modules/@jimp/core/dist/esm/utils/constants.js
|
|
24071
|
+
// ../../node_modules/@jimp/core/dist/esm/utils/constants.js
|
|
24072
24072
|
var HorizontalAlign, VerticalAlign, BlendMode;
|
|
24073
24073
|
var init_constants2 = __esm({
|
|
24074
|
-
"node_modules/@jimp/core/dist/esm/utils/constants.js"() {
|
|
24074
|
+
"../../node_modules/@jimp/core/dist/esm/utils/constants.js"() {
|
|
24075
24075
|
(function(HorizontalAlign2) {
|
|
24076
24076
|
HorizontalAlign2[HorizontalAlign2["LEFT"] = 1] = "LEFT";
|
|
24077
24077
|
HorizontalAlign2[HorizontalAlign2["CENTER"] = 2] = "CENTER";
|
|
@@ -24098,7 +24098,7 @@ var init_constants2 = __esm({
|
|
|
24098
24098
|
}
|
|
24099
24099
|
});
|
|
24100
24100
|
|
|
24101
|
-
// node_modules/@jimp/core/dist/esm/utils/composite-modes.js
|
|
24101
|
+
// ../../node_modules/@jimp/core/dist/esm/utils/composite-modes.js
|
|
24102
24102
|
var composite_modes_exports = {};
|
|
24103
24103
|
__export(composite_modes_exports, {
|
|
24104
24104
|
add: () => add,
|
|
@@ -24258,7 +24258,7 @@ function exclusion(src, dst, ops = 1) {
|
|
|
24258
24258
|
}
|
|
24259
24259
|
var names2;
|
|
24260
24260
|
var init_composite_modes = __esm({
|
|
24261
|
-
"node_modules/@jimp/core/dist/esm/utils/composite-modes.js"() {
|
|
24261
|
+
"../../node_modules/@jimp/core/dist/esm/utils/composite-modes.js"() {
|
|
24262
24262
|
names2 = [
|
|
24263
24263
|
srcOver,
|
|
24264
24264
|
dstOver,
|
|
@@ -24275,7 +24275,7 @@ var init_composite_modes = __esm({
|
|
|
24275
24275
|
}
|
|
24276
24276
|
});
|
|
24277
24277
|
|
|
24278
|
-
// node_modules/@jimp/core/dist/esm/utils/composite.js
|
|
24278
|
+
// ../../node_modules/@jimp/core/dist/esm/utils/composite.js
|
|
24279
24279
|
function composite(baseImage, src, x2 = 0, y2 = 0, options = {}) {
|
|
24280
24280
|
if (!(src instanceof baseImage.constructor)) {
|
|
24281
24281
|
throw new Error("The source must be a Jimp image");
|
|
@@ -24324,7 +24324,7 @@ function composite(baseImage, src, x2 = 0, y2 = 0, options = {}) {
|
|
|
24324
24324
|
return baseImage;
|
|
24325
24325
|
}
|
|
24326
24326
|
var init_composite = __esm({
|
|
24327
|
-
"node_modules/@jimp/core/dist/esm/utils/composite.js"() {
|
|
24327
|
+
"../../node_modules/@jimp/core/dist/esm/utils/composite.js"() {
|
|
24328
24328
|
init_esm8();
|
|
24329
24329
|
init_constants2();
|
|
24330
24330
|
init_composite_modes();
|
|
@@ -24332,9 +24332,9 @@ var init_composite = __esm({
|
|
|
24332
24332
|
}
|
|
24333
24333
|
});
|
|
24334
24334
|
|
|
24335
|
-
// node_modules/exif-parser/lib/jpeg.js
|
|
24335
|
+
// ../../node_modules/exif-parser/lib/jpeg.js
|
|
24336
24336
|
var require_jpeg = __commonJS({
|
|
24337
|
-
"node_modules/exif-parser/lib/jpeg.js"(exports, module) {
|
|
24337
|
+
"../../node_modules/exif-parser/lib/jpeg.js"(exports, module) {
|
|
24338
24338
|
module.exports = {
|
|
24339
24339
|
parseSections: function(stream, iterator) {
|
|
24340
24340
|
var len, markerType;
|
|
@@ -24410,9 +24410,9 @@ var require_jpeg = __commonJS({
|
|
|
24410
24410
|
}
|
|
24411
24411
|
});
|
|
24412
24412
|
|
|
24413
|
-
// node_modules/exif-parser/lib/exif.js
|
|
24413
|
+
// ../../node_modules/exif-parser/lib/exif.js
|
|
24414
24414
|
var require_exif = __commonJS({
|
|
24415
|
-
"node_modules/exif-parser/lib/exif.js"(exports, module) {
|
|
24415
|
+
"../../node_modules/exif-parser/lib/exif.js"(exports, module) {
|
|
24416
24416
|
function readExifValue(format, stream) {
|
|
24417
24417
|
switch (format) {
|
|
24418
24418
|
case 1:
|
|
@@ -24568,9 +24568,9 @@ var require_exif = __commonJS({
|
|
|
24568
24568
|
}
|
|
24569
24569
|
});
|
|
24570
24570
|
|
|
24571
|
-
// node_modules/exif-parser/lib/date.js
|
|
24571
|
+
// ../../node_modules/exif-parser/lib/date.js
|
|
24572
24572
|
var require_date = __commonJS({
|
|
24573
|
-
"node_modules/exif-parser/lib/date.js"(exports, module) {
|
|
24573
|
+
"../../node_modules/exif-parser/lib/date.js"(exports, module) {
|
|
24574
24574
|
function parseNumber(s2) {
|
|
24575
24575
|
return parseInt(s2, 10);
|
|
24576
24576
|
}
|
|
@@ -24626,9 +24626,9 @@ var require_date = __commonJS({
|
|
|
24626
24626
|
}
|
|
24627
24627
|
});
|
|
24628
24628
|
|
|
24629
|
-
// node_modules/exif-parser/lib/simplify.js
|
|
24629
|
+
// ../../node_modules/exif-parser/lib/simplify.js
|
|
24630
24630
|
var require_simplify = __commonJS({
|
|
24631
|
-
"node_modules/exif-parser/lib/simplify.js"(exports, module) {
|
|
24631
|
+
"../../node_modules/exif-parser/lib/simplify.js"(exports, module) {
|
|
24632
24632
|
var exif = require_exif();
|
|
24633
24633
|
var date = require_date();
|
|
24634
24634
|
var degreeTags = [
|
|
@@ -24712,9 +24712,9 @@ var require_simplify = __commonJS({
|
|
|
24712
24712
|
}
|
|
24713
24713
|
});
|
|
24714
24714
|
|
|
24715
|
-
// node_modules/exif-parser/lib/exif-tags.js
|
|
24715
|
+
// ../../node_modules/exif-parser/lib/exif-tags.js
|
|
24716
24716
|
var require_exif_tags = __commonJS({
|
|
24717
|
-
"node_modules/exif-parser/lib/exif-tags.js"(exports, module) {
|
|
24717
|
+
"../../node_modules/exif-parser/lib/exif-tags.js"(exports, module) {
|
|
24718
24718
|
module.exports = {
|
|
24719
24719
|
exif: {
|
|
24720
24720
|
1: "InteropIndex",
|
|
@@ -25185,9 +25185,9 @@ var require_exif_tags = __commonJS({
|
|
|
25185
25185
|
}
|
|
25186
25186
|
});
|
|
25187
25187
|
|
|
25188
|
-
// node_modules/exif-parser/lib/parser.js
|
|
25188
|
+
// ../../node_modules/exif-parser/lib/parser.js
|
|
25189
25189
|
var require_parser2 = __commonJS({
|
|
25190
|
-
"node_modules/exif-parser/lib/parser.js"(exports, module) {
|
|
25190
|
+
"../../node_modules/exif-parser/lib/parser.js"(exports, module) {
|
|
25191
25191
|
var jpeg2 = require_jpeg();
|
|
25192
25192
|
var exif = require_exif();
|
|
25193
25193
|
var simplify = require_simplify();
|
|
@@ -25374,9 +25374,9 @@ var require_parser2 = __commonJS({
|
|
|
25374
25374
|
}
|
|
25375
25375
|
});
|
|
25376
25376
|
|
|
25377
|
-
// node_modules/exif-parser/lib/dom-bufferstream.js
|
|
25377
|
+
// ../../node_modules/exif-parser/lib/dom-bufferstream.js
|
|
25378
25378
|
var require_dom_bufferstream = __commonJS({
|
|
25379
|
-
"node_modules/exif-parser/lib/dom-bufferstream.js"(exports, module) {
|
|
25379
|
+
"../../node_modules/exif-parser/lib/dom-bufferstream.js"(exports, module) {
|
|
25380
25380
|
function DOMBufferStream(arrayBuffer, offset, length, bigEndian, global2, parentOffset) {
|
|
25381
25381
|
this.global = global2;
|
|
25382
25382
|
offset = offset || 0;
|
|
@@ -25473,9 +25473,9 @@ var require_dom_bufferstream = __commonJS({
|
|
|
25473
25473
|
}
|
|
25474
25474
|
});
|
|
25475
25475
|
|
|
25476
|
-
// node_modules/exif-parser/lib/bufferstream.js
|
|
25476
|
+
// ../../node_modules/exif-parser/lib/bufferstream.js
|
|
25477
25477
|
var require_bufferstream = __commonJS({
|
|
25478
|
-
"node_modules/exif-parser/lib/bufferstream.js"(exports, module) {
|
|
25478
|
+
"../../node_modules/exif-parser/lib/bufferstream.js"(exports, module) {
|
|
25479
25479
|
function BufferStream(buffer, offset, length, bigEndian) {
|
|
25480
25480
|
this.buffer = buffer;
|
|
25481
25481
|
this.offset = offset || 0;
|
|
@@ -25565,9 +25565,9 @@ var require_bufferstream = __commonJS({
|
|
|
25565
25565
|
}
|
|
25566
25566
|
});
|
|
25567
25567
|
|
|
25568
|
-
// node_modules/exif-parser/index.js
|
|
25568
|
+
// ../../node_modules/exif-parser/index.js
|
|
25569
25569
|
var require_exif_parser = __commonJS({
|
|
25570
|
-
"node_modules/exif-parser/index.js"(exports, module) {
|
|
25570
|
+
"../../node_modules/exif-parser/index.js"(exports, module) {
|
|
25571
25571
|
var Parser2 = require_parser2();
|
|
25572
25572
|
function getGlobal() {
|
|
25573
25573
|
return (1, eval)("this");
|
|
@@ -25587,7 +25587,7 @@ var require_exif_parser = __commonJS({
|
|
|
25587
25587
|
}
|
|
25588
25588
|
});
|
|
25589
25589
|
|
|
25590
|
-
// node_modules/@jimp/core/dist/esm/utils/image-bitmap.js
|
|
25590
|
+
// ../../node_modules/@jimp/core/dist/esm/utils/image-bitmap.js
|
|
25591
25591
|
function getExifOrientation(img) {
|
|
25592
25592
|
const _exif = img._exif;
|
|
25593
25593
|
return _exif && _exif.tags && _exif.tags.Orientation || 1;
|
|
@@ -25669,15 +25669,15 @@ async function attemptExifRotate(image2, buffer) {
|
|
|
25669
25669
|
}
|
|
25670
25670
|
var import_exif_parser;
|
|
25671
25671
|
var init_image_bitmap = __esm({
|
|
25672
|
-
"node_modules/@jimp/core/dist/esm/utils/image-bitmap.js"() {
|
|
25672
|
+
"../../node_modules/@jimp/core/dist/esm/utils/image-bitmap.js"() {
|
|
25673
25673
|
import_exif_parser = __toESM(require_exif_parser(), 1);
|
|
25674
25674
|
}
|
|
25675
25675
|
});
|
|
25676
25676
|
|
|
25677
|
-
// node_modules/strtok3/lib/stream/Errors.js
|
|
25677
|
+
// ../../node_modules/strtok3/lib/stream/Errors.js
|
|
25678
25678
|
var defaultMessages, EndOfStreamError, AbortError;
|
|
25679
25679
|
var init_Errors = __esm({
|
|
25680
|
-
"node_modules/strtok3/lib/stream/Errors.js"() {
|
|
25680
|
+
"../../node_modules/strtok3/lib/stream/Errors.js"() {
|
|
25681
25681
|
defaultMessages = "End-Of-Stream";
|
|
25682
25682
|
EndOfStreamError = class extends Error {
|
|
25683
25683
|
constructor() {
|
|
@@ -25694,10 +25694,10 @@ var init_Errors = __esm({
|
|
|
25694
25694
|
}
|
|
25695
25695
|
});
|
|
25696
25696
|
|
|
25697
|
-
// node_modules/strtok3/lib/stream/Deferred.js
|
|
25697
|
+
// ../../node_modules/strtok3/lib/stream/Deferred.js
|
|
25698
25698
|
var Deferred;
|
|
25699
25699
|
var init_Deferred = __esm({
|
|
25700
|
-
"node_modules/strtok3/lib/stream/Deferred.js"() {
|
|
25700
|
+
"../../node_modules/strtok3/lib/stream/Deferred.js"() {
|
|
25701
25701
|
Deferred = class {
|
|
25702
25702
|
constructor() {
|
|
25703
25703
|
this.resolve = () => null;
|
|
@@ -25711,10 +25711,10 @@ var init_Deferred = __esm({
|
|
|
25711
25711
|
}
|
|
25712
25712
|
});
|
|
25713
25713
|
|
|
25714
|
-
// node_modules/strtok3/lib/stream/AbstractStreamReader.js
|
|
25714
|
+
// ../../node_modules/strtok3/lib/stream/AbstractStreamReader.js
|
|
25715
25715
|
var AbstractStreamReader;
|
|
25716
25716
|
var init_AbstractStreamReader = __esm({
|
|
25717
|
-
"node_modules/strtok3/lib/stream/AbstractStreamReader.js"() {
|
|
25717
|
+
"../../node_modules/strtok3/lib/stream/AbstractStreamReader.js"() {
|
|
25718
25718
|
init_Errors();
|
|
25719
25719
|
AbstractStreamReader = class {
|
|
25720
25720
|
constructor() {
|
|
@@ -25782,10 +25782,10 @@ var init_AbstractStreamReader = __esm({
|
|
|
25782
25782
|
}
|
|
25783
25783
|
});
|
|
25784
25784
|
|
|
25785
|
-
// node_modules/strtok3/lib/stream/StreamReader.js
|
|
25785
|
+
// ../../node_modules/strtok3/lib/stream/StreamReader.js
|
|
25786
25786
|
var StreamReader;
|
|
25787
25787
|
var init_StreamReader = __esm({
|
|
25788
|
-
"node_modules/strtok3/lib/stream/StreamReader.js"() {
|
|
25788
|
+
"../../node_modules/strtok3/lib/stream/StreamReader.js"() {
|
|
25789
25789
|
init_Errors();
|
|
25790
25790
|
init_Deferred();
|
|
25791
25791
|
init_AbstractStreamReader();
|
|
@@ -25864,10 +25864,10 @@ var init_StreamReader = __esm({
|
|
|
25864
25864
|
}
|
|
25865
25865
|
});
|
|
25866
25866
|
|
|
25867
|
-
// node_modules/strtok3/lib/stream/WebStreamReader.js
|
|
25867
|
+
// ../../node_modules/strtok3/lib/stream/WebStreamReader.js
|
|
25868
25868
|
var WebStreamReader;
|
|
25869
25869
|
var init_WebStreamReader = __esm({
|
|
25870
|
-
"node_modules/strtok3/lib/stream/WebStreamReader.js"() {
|
|
25870
|
+
"../../node_modules/strtok3/lib/stream/WebStreamReader.js"() {
|
|
25871
25871
|
init_AbstractStreamReader();
|
|
25872
25872
|
WebStreamReader = class extends AbstractStreamReader {
|
|
25873
25873
|
constructor(reader) {
|
|
@@ -25884,10 +25884,10 @@ var init_WebStreamReader = __esm({
|
|
|
25884
25884
|
}
|
|
25885
25885
|
});
|
|
25886
25886
|
|
|
25887
|
-
// node_modules/strtok3/lib/stream/WebStreamByobReader.js
|
|
25887
|
+
// ../../node_modules/strtok3/lib/stream/WebStreamByobReader.js
|
|
25888
25888
|
var WebStreamByobReader;
|
|
25889
25889
|
var init_WebStreamByobReader = __esm({
|
|
25890
|
-
"node_modules/strtok3/lib/stream/WebStreamByobReader.js"() {
|
|
25890
|
+
"../../node_modules/strtok3/lib/stream/WebStreamByobReader.js"() {
|
|
25891
25891
|
init_WebStreamReader();
|
|
25892
25892
|
WebStreamByobReader = class extends WebStreamReader {
|
|
25893
25893
|
/**
|
|
@@ -25913,10 +25913,10 @@ var init_WebStreamByobReader = __esm({
|
|
|
25913
25913
|
}
|
|
25914
25914
|
});
|
|
25915
25915
|
|
|
25916
|
-
// node_modules/strtok3/lib/stream/WebStreamDefaultReader.js
|
|
25916
|
+
// ../../node_modules/strtok3/lib/stream/WebStreamDefaultReader.js
|
|
25917
25917
|
var WebStreamDefaultReader;
|
|
25918
25918
|
var init_WebStreamDefaultReader = __esm({
|
|
25919
|
-
"node_modules/strtok3/lib/stream/WebStreamDefaultReader.js"() {
|
|
25919
|
+
"../../node_modules/strtok3/lib/stream/WebStreamDefaultReader.js"() {
|
|
25920
25920
|
init_Errors();
|
|
25921
25921
|
init_AbstractStreamReader();
|
|
25922
25922
|
WebStreamDefaultReader = class extends AbstractStreamReader {
|
|
@@ -25978,7 +25978,7 @@ var init_WebStreamDefaultReader = __esm({
|
|
|
25978
25978
|
}
|
|
25979
25979
|
});
|
|
25980
25980
|
|
|
25981
|
-
// node_modules/strtok3/lib/stream/WebStreamReaderFactory.js
|
|
25981
|
+
// ../../node_modules/strtok3/lib/stream/WebStreamReaderFactory.js
|
|
25982
25982
|
function makeWebStreamReader(stream) {
|
|
25983
25983
|
try {
|
|
25984
25984
|
const reader = stream.getReader({ mode: "byob" });
|
|
@@ -25994,15 +25994,15 @@ function makeWebStreamReader(stream) {
|
|
|
25994
25994
|
}
|
|
25995
25995
|
}
|
|
25996
25996
|
var init_WebStreamReaderFactory = __esm({
|
|
25997
|
-
"node_modules/strtok3/lib/stream/WebStreamReaderFactory.js"() {
|
|
25997
|
+
"../../node_modules/strtok3/lib/stream/WebStreamReaderFactory.js"() {
|
|
25998
25998
|
init_WebStreamByobReader();
|
|
25999
25999
|
init_WebStreamDefaultReader();
|
|
26000
26000
|
}
|
|
26001
26001
|
});
|
|
26002
26002
|
|
|
26003
|
-
// node_modules/strtok3/lib/stream/index.js
|
|
26003
|
+
// ../../node_modules/strtok3/lib/stream/index.js
|
|
26004
26004
|
var init_stream = __esm({
|
|
26005
|
-
"node_modules/strtok3/lib/stream/index.js"() {
|
|
26005
|
+
"../../node_modules/strtok3/lib/stream/index.js"() {
|
|
26006
26006
|
init_Errors();
|
|
26007
26007
|
init_StreamReader();
|
|
26008
26008
|
init_WebStreamByobReader();
|
|
@@ -26011,10 +26011,10 @@ var init_stream = __esm({
|
|
|
26011
26011
|
}
|
|
26012
26012
|
});
|
|
26013
26013
|
|
|
26014
|
-
// node_modules/strtok3/lib/AbstractTokenizer.js
|
|
26014
|
+
// ../../node_modules/strtok3/lib/AbstractTokenizer.js
|
|
26015
26015
|
var AbstractTokenizer;
|
|
26016
26016
|
var init_AbstractTokenizer = __esm({
|
|
26017
|
-
"node_modules/strtok3/lib/AbstractTokenizer.js"() {
|
|
26017
|
+
"../../node_modules/strtok3/lib/AbstractTokenizer.js"() {
|
|
26018
26018
|
init_stream();
|
|
26019
26019
|
AbstractTokenizer = class {
|
|
26020
26020
|
/**
|
|
@@ -26124,10 +26124,10 @@ var init_AbstractTokenizer = __esm({
|
|
|
26124
26124
|
}
|
|
26125
26125
|
});
|
|
26126
26126
|
|
|
26127
|
-
// node_modules/strtok3/lib/ReadStreamTokenizer.js
|
|
26127
|
+
// ../../node_modules/strtok3/lib/ReadStreamTokenizer.js
|
|
26128
26128
|
var maxBufferSize, ReadStreamTokenizer;
|
|
26129
26129
|
var init_ReadStreamTokenizer = __esm({
|
|
26130
|
-
"node_modules/strtok3/lib/ReadStreamTokenizer.js"() {
|
|
26130
|
+
"../../node_modules/strtok3/lib/ReadStreamTokenizer.js"() {
|
|
26131
26131
|
init_AbstractTokenizer();
|
|
26132
26132
|
init_stream();
|
|
26133
26133
|
maxBufferSize = 256e3;
|
|
@@ -26237,10 +26237,10 @@ var init_ReadStreamTokenizer = __esm({
|
|
|
26237
26237
|
}
|
|
26238
26238
|
});
|
|
26239
26239
|
|
|
26240
|
-
// node_modules/strtok3/lib/BufferTokenizer.js
|
|
26240
|
+
// ../../node_modules/strtok3/lib/BufferTokenizer.js
|
|
26241
26241
|
var BufferTokenizer;
|
|
26242
26242
|
var init_BufferTokenizer = __esm({
|
|
26243
|
-
"node_modules/strtok3/lib/BufferTokenizer.js"() {
|
|
26243
|
+
"../../node_modules/strtok3/lib/BufferTokenizer.js"() {
|
|
26244
26244
|
init_stream();
|
|
26245
26245
|
init_AbstractTokenizer();
|
|
26246
26246
|
BufferTokenizer = class extends AbstractTokenizer {
|
|
@@ -26296,10 +26296,10 @@ var init_BufferTokenizer = __esm({
|
|
|
26296
26296
|
}
|
|
26297
26297
|
});
|
|
26298
26298
|
|
|
26299
|
-
// node_modules/strtok3/lib/BlobTokenizer.js
|
|
26299
|
+
// ../../node_modules/strtok3/lib/BlobTokenizer.js
|
|
26300
26300
|
var BlobTokenizer;
|
|
26301
26301
|
var init_BlobTokenizer = __esm({
|
|
26302
|
-
"node_modules/strtok3/lib/BlobTokenizer.js"() {
|
|
26302
|
+
"../../node_modules/strtok3/lib/BlobTokenizer.js"() {
|
|
26303
26303
|
init_stream();
|
|
26304
26304
|
init_AbstractTokenizer();
|
|
26305
26305
|
BlobTokenizer = class extends AbstractTokenizer {
|
|
@@ -26356,7 +26356,7 @@ var init_BlobTokenizer = __esm({
|
|
|
26356
26356
|
}
|
|
26357
26357
|
});
|
|
26358
26358
|
|
|
26359
|
-
// node_modules/strtok3/lib/core.js
|
|
26359
|
+
// ../../node_modules/strtok3/lib/core.js
|
|
26360
26360
|
function fromStream(stream, options) {
|
|
26361
26361
|
const streamReader = new StreamReader(stream);
|
|
26362
26362
|
const _options = options ?? {};
|
|
@@ -26388,7 +26388,7 @@ function fromBlob(blob2, options) {
|
|
|
26388
26388
|
return new BlobTokenizer(blob2, options);
|
|
26389
26389
|
}
|
|
26390
26390
|
var init_core = __esm({
|
|
26391
|
-
"node_modules/strtok3/lib/core.js"() {
|
|
26391
|
+
"../../node_modules/strtok3/lib/core.js"() {
|
|
26392
26392
|
init_stream();
|
|
26393
26393
|
init_ReadStreamTokenizer();
|
|
26394
26394
|
init_BufferTokenizer();
|
|
@@ -26398,11 +26398,11 @@ var init_core = __esm({
|
|
|
26398
26398
|
}
|
|
26399
26399
|
});
|
|
26400
26400
|
|
|
26401
|
-
// node_modules/strtok3/lib/FileTokenizer.js
|
|
26401
|
+
// ../../node_modules/strtok3/lib/FileTokenizer.js
|
|
26402
26402
|
import { open as fsOpen } from "node:fs/promises";
|
|
26403
26403
|
var FileTokenizer;
|
|
26404
26404
|
var init_FileTokenizer = __esm({
|
|
26405
|
-
"node_modules/strtok3/lib/FileTokenizer.js"() {
|
|
26405
|
+
"../../node_modules/strtok3/lib/FileTokenizer.js"() {
|
|
26406
26406
|
init_AbstractTokenizer();
|
|
26407
26407
|
init_stream();
|
|
26408
26408
|
FileTokenizer = class _FileTokenizer extends AbstractTokenizer {
|
|
@@ -26466,7 +26466,7 @@ var init_FileTokenizer = __esm({
|
|
|
26466
26466
|
}
|
|
26467
26467
|
});
|
|
26468
26468
|
|
|
26469
|
-
// node_modules/strtok3/lib/index.js
|
|
26469
|
+
// ../../node_modules/strtok3/lib/index.js
|
|
26470
26470
|
import { stat as fsStat } from "node:fs/promises";
|
|
26471
26471
|
async function fromStream2(stream, options) {
|
|
26472
26472
|
const rst = fromStream(stream, options);
|
|
@@ -26479,7 +26479,7 @@ async function fromStream2(stream, options) {
|
|
|
26479
26479
|
}
|
|
26480
26480
|
var fromFile;
|
|
26481
26481
|
var init_lib = __esm({
|
|
26482
|
-
"node_modules/strtok3/lib/index.js"() {
|
|
26482
|
+
"../../node_modules/strtok3/lib/index.js"() {
|
|
26483
26483
|
init_core();
|
|
26484
26484
|
init_FileTokenizer();
|
|
26485
26485
|
init_FileTokenizer();
|
|
@@ -26488,9 +26488,9 @@ var init_lib = __esm({
|
|
|
26488
26488
|
}
|
|
26489
26489
|
});
|
|
26490
26490
|
|
|
26491
|
-
// node_modules/ieee754/index.js
|
|
26491
|
+
// ../../node_modules/ieee754/index.js
|
|
26492
26492
|
var require_ieee754 = __commonJS({
|
|
26493
|
-
"node_modules/ieee754/index.js"(exports) {
|
|
26493
|
+
"../../node_modules/ieee754/index.js"(exports) {
|
|
26494
26494
|
exports.read = function(buffer, offset, isLE, mLen, nBytes) {
|
|
26495
26495
|
var e3, m;
|
|
26496
26496
|
var eLen = nBytes * 8 - mLen - 1;
|
|
@@ -26571,7 +26571,7 @@ var require_ieee754 = __commonJS({
|
|
|
26571
26571
|
}
|
|
26572
26572
|
});
|
|
26573
26573
|
|
|
26574
|
-
// node_modules/@borewit/text-codec/lib/index.js
|
|
26574
|
+
// ../../node_modules/@borewit/text-codec/lib/index.js
|
|
26575
26575
|
function utf8Decoder() {
|
|
26576
26576
|
if (typeof globalThis.TextDecoder === "undefined")
|
|
26577
26577
|
return void 0;
|
|
@@ -26773,7 +26773,7 @@ function decodeWindows1252(bytes) {
|
|
|
26773
26773
|
}
|
|
26774
26774
|
var WINDOWS_1252_EXTRA, WINDOWS_1252_REVERSE, _utf8Decoder, CHUNK, REPLACEMENT;
|
|
26775
26775
|
var init_lib2 = __esm({
|
|
26776
|
-
"node_modules/@borewit/text-codec/lib/index.js"() {
|
|
26776
|
+
"../../node_modules/@borewit/text-codec/lib/index.js"() {
|
|
26777
26777
|
WINDOWS_1252_EXTRA = {
|
|
26778
26778
|
128: "\u20AC",
|
|
26779
26779
|
130: "\u201A",
|
|
@@ -26812,13 +26812,13 @@ var init_lib2 = __esm({
|
|
|
26812
26812
|
}
|
|
26813
26813
|
});
|
|
26814
26814
|
|
|
26815
|
-
// node_modules/token-types/lib/index.js
|
|
26815
|
+
// ../../node_modules/token-types/lib/index.js
|
|
26816
26816
|
function dv(array) {
|
|
26817
26817
|
return new DataView(array.buffer, array.byteOffset);
|
|
26818
26818
|
}
|
|
26819
26819
|
var ieee754, UINT8, UINT16_LE, UINT16_BE, UINT32_LE, UINT32_BE, INT32_BE, UINT64_LE, StringType;
|
|
26820
26820
|
var init_lib3 = __esm({
|
|
26821
|
-
"node_modules/token-types/lib/index.js"() {
|
|
26821
|
+
"../../node_modules/token-types/lib/index.js"() {
|
|
26822
26822
|
ieee754 = __toESM(require_ieee754(), 1);
|
|
26823
26823
|
init_lib2();
|
|
26824
26824
|
UINT8 = {
|
|
@@ -26904,9 +26904,9 @@ var init_lib3 = __esm({
|
|
|
26904
26904
|
}
|
|
26905
26905
|
});
|
|
26906
26906
|
|
|
26907
|
-
// node_modules/ms/index.js
|
|
26907
|
+
// ../../node_modules/ms/index.js
|
|
26908
26908
|
var require_ms = __commonJS({
|
|
26909
|
-
"node_modules/ms/index.js"(exports, module) {
|
|
26909
|
+
"../../node_modules/ms/index.js"(exports, module) {
|
|
26910
26910
|
var s2 = 1e3;
|
|
26911
26911
|
var m = s2 * 60;
|
|
26912
26912
|
var h = m * 60;
|
|
@@ -27020,9 +27020,9 @@ var require_ms = __commonJS({
|
|
|
27020
27020
|
}
|
|
27021
27021
|
});
|
|
27022
27022
|
|
|
27023
|
-
// node_modules/debug/src/common.js
|
|
27023
|
+
// ../../node_modules/debug/src/common.js
|
|
27024
27024
|
var require_common2 = __commonJS({
|
|
27025
|
-
"node_modules/debug/src/common.js"(exports, module) {
|
|
27025
|
+
"../../node_modules/debug/src/common.js"(exports, module) {
|
|
27026
27026
|
function setup(env) {
|
|
27027
27027
|
createDebug.debug = createDebug;
|
|
27028
27028
|
createDebug.default = createDebug;
|
|
@@ -27197,9 +27197,9 @@ var require_common2 = __commonJS({
|
|
|
27197
27197
|
}
|
|
27198
27198
|
});
|
|
27199
27199
|
|
|
27200
|
-
// node_modules/debug/src/browser.js
|
|
27200
|
+
// ../../node_modules/debug/src/browser.js
|
|
27201
27201
|
var require_browser = __commonJS({
|
|
27202
|
-
"node_modules/debug/src/browser.js"(exports, module) {
|
|
27202
|
+
"../../node_modules/debug/src/browser.js"(exports, module) {
|
|
27203
27203
|
exports.formatArgs = formatArgs;
|
|
27204
27204
|
exports.save = save;
|
|
27205
27205
|
exports.load = load;
|
|
@@ -27367,9 +27367,9 @@ var require_browser = __commonJS({
|
|
|
27367
27367
|
}
|
|
27368
27368
|
});
|
|
27369
27369
|
|
|
27370
|
-
// node_modules/debug/src/node.js
|
|
27370
|
+
// ../../node_modules/debug/src/node.js
|
|
27371
27371
|
var require_node = __commonJS({
|
|
27372
|
-
"node_modules/debug/src/node.js"(exports, module) {
|
|
27372
|
+
"../../node_modules/debug/src/node.js"(exports, module) {
|
|
27373
27373
|
var tty = __require("tty");
|
|
27374
27374
|
var util2 = __require("util");
|
|
27375
27375
|
exports.init = init3;
|
|
@@ -27541,9 +27541,9 @@ var require_node = __commonJS({
|
|
|
27541
27541
|
}
|
|
27542
27542
|
});
|
|
27543
27543
|
|
|
27544
|
-
// node_modules/debug/src/index.js
|
|
27544
|
+
// ../../node_modules/debug/src/index.js
|
|
27545
27545
|
var require_src2 = __commonJS({
|
|
27546
|
-
"node_modules/debug/src/index.js"(exports, module) {
|
|
27546
|
+
"../../node_modules/debug/src/index.js"(exports, module) {
|
|
27547
27547
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
27548
27548
|
module.exports = require_browser();
|
|
27549
27549
|
} else {
|
|
@@ -27552,10 +27552,10 @@ var require_src2 = __commonJS({
|
|
|
27552
27552
|
}
|
|
27553
27553
|
});
|
|
27554
27554
|
|
|
27555
|
-
// node_modules/@tokenizer/inflate/lib/ZipToken.js
|
|
27555
|
+
// ../../node_modules/@tokenizer/inflate/lib/ZipToken.js
|
|
27556
27556
|
var Signature, DataDescriptor, LocalFileHeaderToken, EndOfCentralDirectoryRecordToken, FileHeader;
|
|
27557
27557
|
var init_ZipToken = __esm({
|
|
27558
|
-
"node_modules/@tokenizer/inflate/lib/ZipToken.js"() {
|
|
27558
|
+
"../../node_modules/@tokenizer/inflate/lib/ZipToken.js"() {
|
|
27559
27559
|
init_lib3();
|
|
27560
27560
|
Signature = {
|
|
27561
27561
|
LocalFileHeader: 67324752,
|
|
@@ -27627,7 +27627,7 @@ var init_ZipToken = __esm({
|
|
|
27627
27627
|
}
|
|
27628
27628
|
});
|
|
27629
27629
|
|
|
27630
|
-
// node_modules/@tokenizer/inflate/lib/ZipHandler.js
|
|
27630
|
+
// ../../node_modules/@tokenizer/inflate/lib/ZipHandler.js
|
|
27631
27631
|
function signatureToArray(signature) {
|
|
27632
27632
|
const signatureBytes = new Uint8Array(UINT32_LE.len);
|
|
27633
27633
|
UINT32_LE.put(signatureBytes, 0, signature);
|
|
@@ -27664,7 +27664,7 @@ function mergeArrays(chunks) {
|
|
|
27664
27664
|
}
|
|
27665
27665
|
var import_debug, debug, syncBufferSize, ddSignatureArray, eocdSignatureBytes, ZipHandler;
|
|
27666
27666
|
var init_ZipHandler = __esm({
|
|
27667
|
-
"node_modules/@tokenizer/inflate/lib/ZipHandler.js"() {
|
|
27667
|
+
"../../node_modules/@tokenizer/inflate/lib/ZipHandler.js"() {
|
|
27668
27668
|
init_lib3();
|
|
27669
27669
|
import_debug = __toESM(require_src2(), 1);
|
|
27670
27670
|
init_ZipToken();
|
|
@@ -27844,10 +27844,10 @@ var init_ZipHandler = __esm({
|
|
|
27844
27844
|
}
|
|
27845
27845
|
});
|
|
27846
27846
|
|
|
27847
|
-
// node_modules/@tokenizer/inflate/lib/GzipHandler.js
|
|
27847
|
+
// ../../node_modules/@tokenizer/inflate/lib/GzipHandler.js
|
|
27848
27848
|
var GzipHandler;
|
|
27849
27849
|
var init_GzipHandler = __esm({
|
|
27850
|
-
"node_modules/@tokenizer/inflate/lib/GzipHandler.js"() {
|
|
27850
|
+
"../../node_modules/@tokenizer/inflate/lib/GzipHandler.js"() {
|
|
27851
27851
|
GzipHandler = class {
|
|
27852
27852
|
constructor(tokenizer) {
|
|
27853
27853
|
this.tokenizer = tokenizer;
|
|
@@ -27870,15 +27870,15 @@ var init_GzipHandler = __esm({
|
|
|
27870
27870
|
}
|
|
27871
27871
|
});
|
|
27872
27872
|
|
|
27873
|
-
// node_modules/@tokenizer/inflate/lib/index.js
|
|
27873
|
+
// ../../node_modules/@tokenizer/inflate/lib/index.js
|
|
27874
27874
|
var init_lib4 = __esm({
|
|
27875
|
-
"node_modules/@tokenizer/inflate/lib/index.js"() {
|
|
27875
|
+
"../../node_modules/@tokenizer/inflate/lib/index.js"() {
|
|
27876
27876
|
init_ZipHandler();
|
|
27877
27877
|
init_GzipHandler();
|
|
27878
27878
|
}
|
|
27879
27879
|
});
|
|
27880
27880
|
|
|
27881
|
-
// node_modules/uint8array-extras/index.js
|
|
27881
|
+
// ../../node_modules/uint8array-extras/index.js
|
|
27882
27882
|
function getUintBE(view) {
|
|
27883
27883
|
const { byteLength } = view;
|
|
27884
27884
|
if (byteLength === 6) {
|
|
@@ -27902,7 +27902,7 @@ function getUintBE(view) {
|
|
|
27902
27902
|
}
|
|
27903
27903
|
var cachedDecoders, cachedEncoder, byteToHexLookupTable;
|
|
27904
27904
|
var init_uint8array_extras = __esm({
|
|
27905
|
-
"node_modules/uint8array-extras/index.js"() {
|
|
27905
|
+
"../../node_modules/uint8array-extras/index.js"() {
|
|
27906
27906
|
cachedDecoders = {
|
|
27907
27907
|
utf8: new globalThis.TextDecoder("utf8")
|
|
27908
27908
|
};
|
|
@@ -27911,7 +27911,7 @@ var init_uint8array_extras = __esm({
|
|
|
27911
27911
|
}
|
|
27912
27912
|
});
|
|
27913
27913
|
|
|
27914
|
-
// node_modules/file-type/util.js
|
|
27914
|
+
// ../../node_modules/file-type/util.js
|
|
27915
27915
|
function stringToBytes(string, encoding) {
|
|
27916
27916
|
if (encoding === "utf-16le") {
|
|
27917
27917
|
const bytes = [];
|
|
@@ -27947,7 +27947,7 @@ function tarHeaderChecksumMatches(arrayBuffer, offset = 0) {
|
|
|
27947
27947
|
}
|
|
27948
27948
|
var uint32SyncSafeToken;
|
|
27949
27949
|
var init_util2 = __esm({
|
|
27950
|
-
"node_modules/file-type/util.js"() {
|
|
27950
|
+
"../../node_modules/file-type/util.js"() {
|
|
27951
27951
|
init_lib3();
|
|
27952
27952
|
uint32SyncSafeToken = {
|
|
27953
27953
|
get: (buffer, offset) => buffer[offset + 3] & 127 | buffer[offset + 2] << 7 | buffer[offset + 1] << 14 | buffer[offset] << 21,
|
|
@@ -27956,10 +27956,10 @@ var init_util2 = __esm({
|
|
|
27956
27956
|
}
|
|
27957
27957
|
});
|
|
27958
27958
|
|
|
27959
|
-
// node_modules/file-type/supported.js
|
|
27959
|
+
// ../../node_modules/file-type/supported.js
|
|
27960
27960
|
var extensions, mimeTypes;
|
|
27961
27961
|
var init_supported = __esm({
|
|
27962
|
-
"node_modules/file-type/supported.js"() {
|
|
27962
|
+
"../../node_modules/file-type/supported.js"() {
|
|
27963
27963
|
extensions = [
|
|
27964
27964
|
"jpg",
|
|
27965
27965
|
"png",
|
|
@@ -28329,7 +28329,7 @@ var init_supported = __esm({
|
|
|
28329
28329
|
}
|
|
28330
28330
|
});
|
|
28331
28331
|
|
|
28332
|
-
// node_modules/file-type/core.js
|
|
28332
|
+
// ../../node_modules/file-type/core.js
|
|
28333
28333
|
function patchWebByobTokenizerClose(tokenizer) {
|
|
28334
28334
|
const streamReader = tokenizer?.streamReader;
|
|
28335
28335
|
if (streamReader?.constructor?.name !== "WebStreamByobReader") {
|
|
@@ -28850,7 +28850,7 @@ async function fileTypeFromTokenizer(tokenizer, options) {
|
|
|
28850
28850
|
}
|
|
28851
28851
|
var reasonableDetectionSizeInBytes, maximumMpegOffsetTolerance, maximumZipEntrySizeInBytes, maximumZipEntryCount, maximumZipBufferedReadSizeInBytes, maximumUntrustedSkipSizeInBytes, maximumUnknownSizePayloadProbeSizeInBytes, maximumZipTextEntrySizeInBytes, maximumNestedGzipDetectionSizeInBytes, maximumNestedGzipProbeDepth, unknownSizeGzipProbeTimeoutInMilliseconds, maximumId3HeaderSizeInBytes, maximumEbmlDocumentTypeSizeInBytes, maximumEbmlElementPayloadSizeInBytes, maximumEbmlElementCount, maximumPngChunkCount, maximumPngStreamScanBudgetInBytes, maximumAsfHeaderObjectCount, maximumTiffTagCount, maximumDetectionReentryCount, maximumPngChunkSizeInBytes, maximumAsfHeaderPayloadSizeInBytes, maximumTiffStreamIfdOffsetInBytes, maximumTiffIfdOffsetInBytes, recoverableZipErrorMessages, recoverableZipErrorMessagePrefixes, recoverableZipErrorCodes, ParserHardLimitError, zipDataDescriptorSignature, zipDataDescriptorLengthInBytes, zipDataDescriptorOverlapLengthInBytes, FileTypeParser, supportedExtensions, supportedMimeTypes;
|
|
28852
28852
|
var init_core2 = __esm({
|
|
28853
|
-
"node_modules/file-type/core.js"() {
|
|
28853
|
+
"../../node_modules/file-type/core.js"() {
|
|
28854
28854
|
init_lib3();
|
|
28855
28855
|
init_core();
|
|
28856
28856
|
init_lib4();
|
|
@@ -30554,7 +30554,7 @@ var init_core2 = __esm({
|
|
|
30554
30554
|
}
|
|
30555
30555
|
});
|
|
30556
30556
|
|
|
30557
|
-
// node_modules/file-type/index.js
|
|
30557
|
+
// ../../node_modules/file-type/index.js
|
|
30558
30558
|
var file_type_exports = {};
|
|
30559
30559
|
__export(file_type_exports, {
|
|
30560
30560
|
FileTypeParser: () => FileTypeParser2,
|
|
@@ -30588,7 +30588,7 @@ async function fileTypeStream(readableStream, options = {}) {
|
|
|
30588
30588
|
}
|
|
30589
30589
|
var FileTypeParser2;
|
|
30590
30590
|
var init_file_type = __esm({
|
|
30591
|
-
"node_modules/file-type/index.js"() {
|
|
30591
|
+
"../../node_modules/file-type/index.js"() {
|
|
30592
30592
|
init_lib();
|
|
30593
30593
|
init_core2();
|
|
30594
30594
|
init_core2();
|
|
@@ -30689,7 +30689,7 @@ var init_file_type = __esm({
|
|
|
30689
30689
|
}
|
|
30690
30690
|
});
|
|
30691
30691
|
|
|
30692
|
-
// node_modules/@jimp/core/dist/esm/index.js
|
|
30692
|
+
// ../../node_modules/@jimp/core/dist/esm/index.js
|
|
30693
30693
|
function bufferFromArrayBuffer(arrayBuffer) {
|
|
30694
30694
|
const buffer = Buffer.alloc(arrayBuffer.byteLength);
|
|
30695
30695
|
const view = new Uint8Array(arrayBuffer);
|
|
@@ -31161,7 +31161,7 @@ function createJimp({ plugins: pluginsArg, formats: formatsArg } = {}) {
|
|
|
31161
31161
|
}
|
|
31162
31162
|
var import_await_to_js, import_lite, emptyBitmap;
|
|
31163
31163
|
var init_esm14 = __esm({
|
|
31164
|
-
"node_modules/@jimp/core/dist/esm/index.js"() {
|
|
31164
|
+
"../../node_modules/@jimp/core/dist/esm/index.js"() {
|
|
31165
31165
|
init_esm8();
|
|
31166
31166
|
init_esm2();
|
|
31167
31167
|
import_await_to_js = __toESM(require_await_to_js_umd(), 1);
|
|
@@ -31180,10 +31180,10 @@ var init_esm14 = __esm({
|
|
|
31180
31180
|
}
|
|
31181
31181
|
});
|
|
31182
31182
|
|
|
31183
|
-
// node_modules/@jimp/plugin-resize/dist/esm/constants.js
|
|
31183
|
+
// ../../node_modules/@jimp/plugin-resize/dist/esm/constants.js
|
|
31184
31184
|
var ResizeStrategy;
|
|
31185
31185
|
var init_constants3 = __esm({
|
|
31186
|
-
"node_modules/@jimp/plugin-resize/dist/esm/constants.js"() {
|
|
31186
|
+
"../../node_modules/@jimp/plugin-resize/dist/esm/constants.js"() {
|
|
31187
31187
|
(function(ResizeStrategy2) {
|
|
31188
31188
|
ResizeStrategy2["NEAREST_NEIGHBOR"] = "nearestNeighbor";
|
|
31189
31189
|
ResizeStrategy2["BILINEAR"] = "bilinearInterpolation";
|
|
@@ -31194,7 +31194,7 @@ var init_constants3 = __esm({
|
|
|
31194
31194
|
}
|
|
31195
31195
|
});
|
|
31196
31196
|
|
|
31197
|
-
// node_modules/@jimp/plugin-resize/dist/esm/modules/resize.js
|
|
31197
|
+
// ../../node_modules/@jimp/plugin-resize/dist/esm/modules/resize.js
|
|
31198
31198
|
function Resize(widthOriginal, heightOriginal, targetWidth, targetHeight, blendAlpha, interpolationPass, resizeCallback) {
|
|
31199
31199
|
this.widthOriginal = Math.abs(Math.floor(widthOriginal) || 0);
|
|
31200
31200
|
this.heightOriginal = Math.abs(Math.floor(heightOriginal) || 0);
|
|
@@ -31213,7 +31213,7 @@ function Resize(widthOriginal, heightOriginal, targetWidth, targetHeight, blendA
|
|
|
31213
31213
|
}
|
|
31214
31214
|
var resize_default;
|
|
31215
31215
|
var init_resize = __esm({
|
|
31216
|
-
"node_modules/@jimp/plugin-resize/dist/esm/modules/resize.js"() {
|
|
31216
|
+
"../../node_modules/@jimp/plugin-resize/dist/esm/modules/resize.js"() {
|
|
31217
31217
|
Resize.prototype.initialize = function() {
|
|
31218
31218
|
if (this.widthOriginal > 0 && this.heightOriginal > 0 && this.targetWidth > 0 && this.targetHeight > 0) {
|
|
31219
31219
|
this.configurePasses();
|
|
@@ -31532,10 +31532,10 @@ var init_resize = __esm({
|
|
|
31532
31532
|
}
|
|
31533
31533
|
});
|
|
31534
31534
|
|
|
31535
|
-
// node_modules/@jimp/plugin-resize/dist/esm/modules/resize2.js
|
|
31535
|
+
// ../../node_modules/@jimp/plugin-resize/dist/esm/modules/resize2.js
|
|
31536
31536
|
var operations;
|
|
31537
31537
|
var init_resize2 = __esm({
|
|
31538
|
-
"node_modules/@jimp/plugin-resize/dist/esm/modules/resize2.js"() {
|
|
31538
|
+
"../../node_modules/@jimp/plugin-resize/dist/esm/modules/resize2.js"() {
|
|
31539
31539
|
operations = {
|
|
31540
31540
|
nearestNeighbor(src, dst) {
|
|
31541
31541
|
const wSrc = src.width;
|
|
@@ -31718,10 +31718,10 @@ var init_resize2 = __esm({
|
|
|
31718
31718
|
}
|
|
31719
31719
|
});
|
|
31720
31720
|
|
|
31721
|
-
// node_modules/@jimp/plugin-resize/dist/esm/index.js
|
|
31721
|
+
// ../../node_modules/@jimp/plugin-resize/dist/esm/index.js
|
|
31722
31722
|
var ResizeOptionsSchema, ScaleToFitOptionsSchema, ScaleComplexOptionsSchema, methods5;
|
|
31723
31723
|
var init_esm15 = __esm({
|
|
31724
|
-
"node_modules/@jimp/plugin-resize/dist/esm/index.js"() {
|
|
31724
|
+
"../../node_modules/@jimp/plugin-resize/dist/esm/index.js"() {
|
|
31725
31725
|
init_constants3();
|
|
31726
31726
|
init_zod();
|
|
31727
31727
|
init_resize();
|
|
@@ -31846,10 +31846,10 @@ var init_esm15 = __esm({
|
|
|
31846
31846
|
}
|
|
31847
31847
|
});
|
|
31848
31848
|
|
|
31849
|
-
// node_modules/@jimp/plugin-contain/dist/esm/index.js
|
|
31849
|
+
// ../../node_modules/@jimp/plugin-contain/dist/esm/index.js
|
|
31850
31850
|
var ContainOptionsSchema, methods6;
|
|
31851
31851
|
var init_esm16 = __esm({
|
|
31852
|
-
"node_modules/@jimp/plugin-contain/dist/esm/index.js"() {
|
|
31852
|
+
"../../node_modules/@jimp/plugin-contain/dist/esm/index.js"() {
|
|
31853
31853
|
init_esm14();
|
|
31854
31854
|
init_esm2();
|
|
31855
31855
|
init_esm15();
|
|
@@ -31907,10 +31907,10 @@ var init_esm16 = __esm({
|
|
|
31907
31907
|
}
|
|
31908
31908
|
});
|
|
31909
31909
|
|
|
31910
|
-
// node_modules/@jimp/plugin-crop/dist/esm/index.js
|
|
31910
|
+
// ../../node_modules/@jimp/plugin-crop/dist/esm/index.js
|
|
31911
31911
|
var CropOptionsSchema, AutocropComplexOptionsSchema, methods7;
|
|
31912
31912
|
var init_esm17 = __esm({
|
|
31913
|
-
"node_modules/@jimp/plugin-crop/dist/esm/index.js"() {
|
|
31913
|
+
"../../node_modules/@jimp/plugin-crop/dist/esm/index.js"() {
|
|
31914
31914
|
init_esm2();
|
|
31915
31915
|
init_zod();
|
|
31916
31916
|
CropOptionsSchema = external_exports.object({
|
|
@@ -32095,10 +32095,10 @@ var init_esm17 = __esm({
|
|
|
32095
32095
|
}
|
|
32096
32096
|
});
|
|
32097
32097
|
|
|
32098
|
-
// node_modules/@jimp/plugin-cover/dist/esm/index.js
|
|
32098
|
+
// ../../node_modules/@jimp/plugin-cover/dist/esm/index.js
|
|
32099
32099
|
var CoverOptionsSchema, methods8;
|
|
32100
32100
|
var init_esm18 = __esm({
|
|
32101
|
-
"node_modules/@jimp/plugin-cover/dist/esm/index.js"() {
|
|
32101
|
+
"../../node_modules/@jimp/plugin-cover/dist/esm/index.js"() {
|
|
32102
32102
|
init_esm14();
|
|
32103
32103
|
init_esm15();
|
|
32104
32104
|
init_esm17();
|
|
@@ -32151,10 +32151,10 @@ var init_esm18 = __esm({
|
|
|
32151
32151
|
}
|
|
32152
32152
|
});
|
|
32153
32153
|
|
|
32154
|
-
// node_modules/@jimp/plugin-displace/dist/esm/index.js
|
|
32154
|
+
// ../../node_modules/@jimp/plugin-displace/dist/esm/index.js
|
|
32155
32155
|
var DisplaceOptionsSchema, methods9;
|
|
32156
32156
|
var init_esm19 = __esm({
|
|
32157
|
-
"node_modules/@jimp/plugin-displace/dist/esm/index.js"() {
|
|
32157
|
+
"../../node_modules/@jimp/plugin-displace/dist/esm/index.js"() {
|
|
32158
32158
|
init_esm8();
|
|
32159
32159
|
init_esm2();
|
|
32160
32160
|
init_zod();
|
|
@@ -32196,10 +32196,10 @@ var init_esm19 = __esm({
|
|
|
32196
32196
|
}
|
|
32197
32197
|
});
|
|
32198
32198
|
|
|
32199
|
-
// node_modules/@jimp/plugin-dither/dist/esm/index.js
|
|
32199
|
+
// ../../node_modules/@jimp/plugin-dither/dist/esm/index.js
|
|
32200
32200
|
var methods10;
|
|
32201
32201
|
var init_esm20 = __esm({
|
|
32202
|
-
"node_modules/@jimp/plugin-dither/dist/esm/index.js"() {
|
|
32202
|
+
"../../node_modules/@jimp/plugin-dither/dist/esm/index.js"() {
|
|
32203
32203
|
methods10 = {
|
|
32204
32204
|
/**
|
|
32205
32205
|
* Apply a ordered dithering effect.
|
|
@@ -32244,10 +32244,10 @@ var init_esm20 = __esm({
|
|
|
32244
32244
|
}
|
|
32245
32245
|
});
|
|
32246
32246
|
|
|
32247
|
-
// node_modules/@jimp/plugin-fisheye/dist/esm/index.js
|
|
32247
|
+
// ../../node_modules/@jimp/plugin-fisheye/dist/esm/index.js
|
|
32248
32248
|
var FisheyeOptionsSchema, methods11;
|
|
32249
32249
|
var init_esm21 = __esm({
|
|
32250
|
-
"node_modules/@jimp/plugin-fisheye/dist/esm/index.js"() {
|
|
32250
|
+
"../../node_modules/@jimp/plugin-fisheye/dist/esm/index.js"() {
|
|
32251
32251
|
init_esm2();
|
|
32252
32252
|
init_zod();
|
|
32253
32253
|
FisheyeOptionsSchema = external_exports.object({
|
|
@@ -32289,10 +32289,10 @@ var init_esm21 = __esm({
|
|
|
32289
32289
|
}
|
|
32290
32290
|
});
|
|
32291
32291
|
|
|
32292
|
-
// node_modules/@jimp/plugin-flip/dist/esm/index.js
|
|
32292
|
+
// ../../node_modules/@jimp/plugin-flip/dist/esm/index.js
|
|
32293
32293
|
var FlipOptionsSchema, methods12;
|
|
32294
32294
|
var init_esm22 = __esm({
|
|
32295
|
-
"node_modules/@jimp/plugin-flip/dist/esm/index.js"() {
|
|
32295
|
+
"../../node_modules/@jimp/plugin-flip/dist/esm/index.js"() {
|
|
32296
32296
|
init_zod();
|
|
32297
32297
|
FlipOptionsSchema = external_exports.object({
|
|
32298
32298
|
/** if true the image will be flipped horizontally */
|
|
@@ -32331,9 +32331,9 @@ var init_esm22 = __esm({
|
|
|
32331
32331
|
}
|
|
32332
32332
|
});
|
|
32333
32333
|
|
|
32334
|
-
// node_modules/any-base/src/converter.js
|
|
32334
|
+
// ../../node_modules/any-base/src/converter.js
|
|
32335
32335
|
var require_converter = __commonJS({
|
|
32336
|
-
"node_modules/any-base/src/converter.js"(exports, module) {
|
|
32336
|
+
"../../node_modules/any-base/src/converter.js"(exports, module) {
|
|
32337
32337
|
"use strict";
|
|
32338
32338
|
function Converter(srcAlphabet, dstAlphabet) {
|
|
32339
32339
|
if (!srcAlphabet || !dstAlphabet || !srcAlphabet.length || !dstAlphabet.length) {
|
|
@@ -32383,9 +32383,9 @@ var require_converter = __commonJS({
|
|
|
32383
32383
|
}
|
|
32384
32384
|
});
|
|
32385
32385
|
|
|
32386
|
-
// node_modules/any-base/index.js
|
|
32386
|
+
// ../../node_modules/any-base/index.js
|
|
32387
32387
|
var require_any_base = __commonJS({
|
|
32388
|
-
"node_modules/any-base/index.js"(exports, module) {
|
|
32388
|
+
"../../node_modules/any-base/index.js"(exports, module) {
|
|
32389
32389
|
var Converter = require_converter();
|
|
32390
32390
|
function anyBase2(srcAlphabet, dstAlphabet) {
|
|
32391
32391
|
var converter = new Converter(srcAlphabet, dstAlphabet);
|
|
@@ -32401,7 +32401,7 @@ var require_any_base = __commonJS({
|
|
|
32401
32401
|
}
|
|
32402
32402
|
});
|
|
32403
32403
|
|
|
32404
|
-
// node_modules/@jimp/plugin-hash/dist/esm/phash.js
|
|
32404
|
+
// ../../node_modules/@jimp/plugin-hash/dist/esm/phash.js
|
|
32405
32405
|
function intToRGBA2(i2) {
|
|
32406
32406
|
const a2 = i2 & 255;
|
|
32407
32407
|
i2 >>>= 8;
|
|
@@ -32439,7 +32439,7 @@ function applyDCT(f2, size) {
|
|
|
32439
32439
|
}
|
|
32440
32440
|
var ImagePHash, c, phash_default;
|
|
32441
32441
|
var init_phash = __esm({
|
|
32442
|
-
"node_modules/@jimp/plugin-hash/dist/esm/phash.js"() {
|
|
32442
|
+
"../../node_modules/@jimp/plugin-hash/dist/esm/phash.js"() {
|
|
32443
32443
|
init_esm12();
|
|
32444
32444
|
init_esm15();
|
|
32445
32445
|
init_esm2();
|
|
@@ -32496,7 +32496,7 @@ var init_phash = __esm({
|
|
|
32496
32496
|
}
|
|
32497
32497
|
});
|
|
32498
32498
|
|
|
32499
|
-
// node_modules/@jimp/plugin-hash/dist/esm/index.js
|
|
32499
|
+
// ../../node_modules/@jimp/plugin-hash/dist/esm/index.js
|
|
32500
32500
|
function distance2(img1, img2) {
|
|
32501
32501
|
const phash = new phash_default();
|
|
32502
32502
|
const hash1 = phash.getHash(img1);
|
|
@@ -32509,7 +32509,7 @@ function compareHashes(hash1, hash2) {
|
|
|
32509
32509
|
}
|
|
32510
32510
|
var import_any_base, alphabet, maxHashLength, methods13;
|
|
32511
32511
|
var init_esm23 = __esm({
|
|
32512
|
-
"node_modules/@jimp/plugin-hash/dist/esm/index.js"() {
|
|
32512
|
+
"../../node_modules/@jimp/plugin-hash/dist/esm/index.js"() {
|
|
32513
32513
|
import_any_base = __toESM(require_any_base(), 1);
|
|
32514
32514
|
init_phash();
|
|
32515
32515
|
alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_";
|
|
@@ -32579,10 +32579,10 @@ var init_esm23 = __esm({
|
|
|
32579
32579
|
}
|
|
32580
32580
|
});
|
|
32581
32581
|
|
|
32582
|
-
// node_modules/@jimp/plugin-mask/dist/esm/index.js
|
|
32582
|
+
// ../../node_modules/@jimp/plugin-mask/dist/esm/index.js
|
|
32583
32583
|
var MaskOptionsObjectSchema, MaskOptionsSchema, methods14;
|
|
32584
32584
|
var init_esm24 = __esm({
|
|
32585
|
-
"node_modules/@jimp/plugin-mask/dist/esm/index.js"() {
|
|
32585
|
+
"../../node_modules/@jimp/plugin-mask/dist/esm/index.js"() {
|
|
32586
32586
|
init_esm8();
|
|
32587
32587
|
init_zod();
|
|
32588
32588
|
MaskOptionsObjectSchema = external_exports.object({
|
|
@@ -32643,7 +32643,7 @@ var init_esm24 = __esm({
|
|
|
32643
32643
|
}
|
|
32644
32644
|
});
|
|
32645
32645
|
|
|
32646
|
-
// node_modules/@jimp/plugin-print/dist/esm/measure-text.js
|
|
32646
|
+
// ../../node_modules/@jimp/plugin-print/dist/esm/measure-text.js
|
|
32647
32647
|
function measureText(font, text) {
|
|
32648
32648
|
let x2 = 0;
|
|
32649
32649
|
for (let i2 = 0; i2 < text.length; i2++) {
|
|
@@ -32708,17 +32708,17 @@ function measureTextHeight(font, text, maxWidth) {
|
|
|
32708
32708
|
return lines.length * font.common.lineHeight;
|
|
32709
32709
|
}
|
|
32710
32710
|
var init_measure_text = __esm({
|
|
32711
|
-
"node_modules/@jimp/plugin-print/dist/esm/measure-text.js"() {
|
|
32711
|
+
"../../node_modules/@jimp/plugin-print/dist/esm/measure-text.js"() {
|
|
32712
32712
|
}
|
|
32713
32713
|
});
|
|
32714
32714
|
|
|
32715
|
-
// node_modules/@jimp/plugin-print/dist/esm/types.js
|
|
32715
|
+
// ../../node_modules/@jimp/plugin-print/dist/esm/types.js
|
|
32716
32716
|
var init_types3 = __esm({
|
|
32717
|
-
"node_modules/@jimp/plugin-print/dist/esm/types.js"() {
|
|
32717
|
+
"../../node_modules/@jimp/plugin-print/dist/esm/types.js"() {
|
|
32718
32718
|
}
|
|
32719
32719
|
});
|
|
32720
32720
|
|
|
32721
|
-
// node_modules/@jimp/plugin-print/dist/esm/index.js
|
|
32721
|
+
// ../../node_modules/@jimp/plugin-print/dist/esm/index.js
|
|
32722
32722
|
function xOffsetBasedOnAlignment(font, line, maxWidth, alignment) {
|
|
32723
32723
|
if (alignment === HorizontalAlign.LEFT) {
|
|
32724
32724
|
return 0;
|
|
@@ -32768,7 +32768,7 @@ function printText(image2, font, x2, y2, text, defaultCharWidth) {
|
|
|
32768
32768
|
}
|
|
32769
32769
|
var PrintOptionsSchema, methods15;
|
|
32770
32770
|
var init_esm25 = __esm({
|
|
32771
|
-
"node_modules/@jimp/plugin-print/dist/esm/index.js"() {
|
|
32771
|
+
"../../node_modules/@jimp/plugin-print/dist/esm/index.js"() {
|
|
32772
32772
|
init_esm14();
|
|
32773
32773
|
init_esm9();
|
|
32774
32774
|
init_zod();
|
|
@@ -32864,7 +32864,7 @@ var init_esm25 = __esm({
|
|
|
32864
32864
|
}
|
|
32865
32865
|
});
|
|
32866
32866
|
|
|
32867
|
-
// node_modules/@jimp/plugin-rotate/dist/esm/index.js
|
|
32867
|
+
// ../../node_modules/@jimp/plugin-rotate/dist/esm/index.js
|
|
32868
32868
|
function createIdxTranslationFunction(w) {
|
|
32869
32869
|
return function(x2, y2) {
|
|
32870
32870
|
return y2 * w + x2 << 2;
|
|
@@ -32986,7 +32986,7 @@ function advancedRotate(image2, deg, mode) {
|
|
|
32986
32986
|
}
|
|
32987
32987
|
var RotateOptionsSchema, methods16;
|
|
32988
32988
|
var init_esm26 = __esm({
|
|
32989
|
-
"node_modules/@jimp/plugin-rotate/dist/esm/index.js"() {
|
|
32989
|
+
"../../node_modules/@jimp/plugin-rotate/dist/esm/index.js"() {
|
|
32990
32990
|
init_esm15();
|
|
32991
32991
|
init_esm2();
|
|
32992
32992
|
init_esm14();
|
|
@@ -33034,10 +33034,10 @@ var init_esm26 = __esm({
|
|
|
33034
33034
|
}
|
|
33035
33035
|
});
|
|
33036
33036
|
|
|
33037
|
-
// node_modules/@jimp/plugin-threshold/dist/esm/index.js
|
|
33037
|
+
// ../../node_modules/@jimp/plugin-threshold/dist/esm/index.js
|
|
33038
33038
|
var ThresholdOptionsSchema, methods17;
|
|
33039
33039
|
var init_esm27 = __esm({
|
|
33040
|
-
"node_modules/@jimp/plugin-threshold/dist/esm/index.js"() {
|
|
33040
|
+
"../../node_modules/@jimp/plugin-threshold/dist/esm/index.js"() {
|
|
33041
33041
|
init_esm2();
|
|
33042
33042
|
init_esm12();
|
|
33043
33043
|
init_zod();
|
|
@@ -33086,7 +33086,7 @@ var init_esm27 = __esm({
|
|
|
33086
33086
|
}
|
|
33087
33087
|
});
|
|
33088
33088
|
|
|
33089
|
-
// node_modules/image-q/dist/esm/image-q.mjs
|
|
33089
|
+
// ../../node_modules/image-q/dist/esm/image-q.mjs
|
|
33090
33090
|
function correctGamma(n2) {
|
|
33091
33091
|
return n2 > 0.04045 ? ((n2 + 0.055) / 1.055) ** 2.4 : n2 / 12.92;
|
|
33092
33092
|
}
|
|
@@ -33690,7 +33690,7 @@ function paletteQuantizationToPaletteQuantizer(distanceCalculator, paletteQuanti
|
|
|
33690
33690
|
}
|
|
33691
33691
|
var __defProp2, __defNormalProp, __export2, __publicField, constants_exports, bt709_exports, Y, x, y, conversion_exports, arithmetic_exports, refX, refY, refZ, refX2, refY2, refZ2, distance_exports, AbstractDistanceCalculator, AbstractCIE94, CIE94Textiles, CIE94GraphicArts, _CIEDE2000, CIEDE2000, CMetric, AbstractEuclidean, Euclidean, EuclideanBT709, EuclideanBT709NoAlpha, AbstractManhattan, Manhattan, ManhattanNommyde, ManhattanBT709, PNGQuant, palette_exports, AbstractPaletteQuantizer, Point, PointContainer, hueGroups, Palette, utils_exports, HueGroup, HueStatistics, _ProgressTracker, ProgressTracker, networkBiasShift, Neuron, _NeuQuant, NeuQuant, networkBiasShift2, NeuronFloat, _NeuQuantFloat, NeuQuantFloat, _ColorHistogram, ColorHistogram, RemovedColor, RGBQuant, WuColorCube, _WuQuant, WuQuant, image_exports, AbstractImageQuantizer, NearestColor, ErrorDiffusionArrayKernel, ErrorDiffusionArray, ErrorDiffusionRiemersma, quality_exports, K1, K2, setImmediateImpl;
|
|
33692
33692
|
var init_image_q = __esm({
|
|
33693
|
-
"node_modules/image-q/dist/esm/image-q.mjs"() {
|
|
33693
|
+
"../../node_modules/image-q/dist/esm/image-q.mjs"() {
|
|
33694
33694
|
__defProp2 = Object.defineProperty;
|
|
33695
33695
|
__defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
33696
33696
|
__export2 = (target, all) => {
|
|
@@ -35756,10 +35756,10 @@ var init_image_q = __esm({
|
|
|
35756
35756
|
}
|
|
35757
35757
|
});
|
|
35758
35758
|
|
|
35759
|
-
// node_modules/@jimp/plugin-quantize/dist/esm/index.js
|
|
35759
|
+
// ../../node_modules/@jimp/plugin-quantize/dist/esm/index.js
|
|
35760
35760
|
var QuantizeOptionsSchema, methods18;
|
|
35761
35761
|
var init_esm28 = __esm({
|
|
35762
|
-
"node_modules/@jimp/plugin-quantize/dist/esm/index.js"() {
|
|
35762
|
+
"../../node_modules/@jimp/plugin-quantize/dist/esm/index.js"() {
|
|
35763
35763
|
init_image_q();
|
|
35764
35764
|
init_zod();
|
|
35765
35765
|
QuantizeOptionsSchema = zod_default.object({
|
|
@@ -35820,9 +35820,9 @@ var init_esm28 = __esm({
|
|
|
35820
35820
|
}
|
|
35821
35821
|
});
|
|
35822
35822
|
|
|
35823
|
-
// node_modules/parse-bmfont-ascii/index.js
|
|
35823
|
+
// ../../node_modules/parse-bmfont-ascii/index.js
|
|
35824
35824
|
var require_parse_bmfont_ascii = __commonJS({
|
|
35825
|
-
"node_modules/parse-bmfont-ascii/index.js"(exports, module) {
|
|
35825
|
+
"../../node_modules/parse-bmfont-ascii/index.js"(exports, module) {
|
|
35826
35826
|
module.exports = function parseBMFontAscii(data) {
|
|
35827
35827
|
if (!data)
|
|
35828
35828
|
throw new Error("no data provided");
|
|
@@ -35914,9 +35914,9 @@ var require_parse_bmfont_ascii = __commonJS({
|
|
|
35914
35914
|
}
|
|
35915
35915
|
});
|
|
35916
35916
|
|
|
35917
|
-
// node_modules/xml2js/lib/defaults.js
|
|
35917
|
+
// ../../node_modules/xml2js/lib/defaults.js
|
|
35918
35918
|
var require_defaults = __commonJS({
|
|
35919
|
-
"node_modules/xml2js/lib/defaults.js"(exports) {
|
|
35919
|
+
"../../node_modules/xml2js/lib/defaults.js"(exports) {
|
|
35920
35920
|
(function() {
|
|
35921
35921
|
exports.defaults = {
|
|
35922
35922
|
"0.1": {
|
|
@@ -35990,9 +35990,9 @@ var require_defaults = __commonJS({
|
|
|
35990
35990
|
}
|
|
35991
35991
|
});
|
|
35992
35992
|
|
|
35993
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js
|
|
35993
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js
|
|
35994
35994
|
var require_Utility = __commonJS({
|
|
35995
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js"(exports, module) {
|
|
35995
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js"(exports, module) {
|
|
35996
35996
|
(function() {
|
|
35997
35997
|
var assign, getValue, isArray, isEmpty, isFunction, isObject, isPlainObject, slice = [].slice, hasProp = {}.hasOwnProperty;
|
|
35998
35998
|
assign = function() {
|
|
@@ -36061,9 +36061,9 @@ var require_Utility = __commonJS({
|
|
|
36061
36061
|
}
|
|
36062
36062
|
});
|
|
36063
36063
|
|
|
36064
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js
|
|
36064
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js
|
|
36065
36065
|
var require_XMLDOMImplementation = __commonJS({
|
|
36066
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js"(exports, module) {
|
|
36066
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js"(exports, module) {
|
|
36067
36067
|
(function() {
|
|
36068
36068
|
var XMLDOMImplementation;
|
|
36069
36069
|
module.exports = XMLDOMImplementation = function() {
|
|
@@ -36090,9 +36090,9 @@ var require_XMLDOMImplementation = __commonJS({
|
|
|
36090
36090
|
}
|
|
36091
36091
|
});
|
|
36092
36092
|
|
|
36093
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js
|
|
36093
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js
|
|
36094
36094
|
var require_XMLDOMErrorHandler = __commonJS({
|
|
36095
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js"(exports, module) {
|
|
36095
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js"(exports, module) {
|
|
36096
36096
|
(function() {
|
|
36097
36097
|
var XMLDOMErrorHandler;
|
|
36098
36098
|
module.exports = XMLDOMErrorHandler = function() {
|
|
@@ -36107,9 +36107,9 @@ var require_XMLDOMErrorHandler = __commonJS({
|
|
|
36107
36107
|
}
|
|
36108
36108
|
});
|
|
36109
36109
|
|
|
36110
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js
|
|
36110
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js
|
|
36111
36111
|
var require_XMLDOMStringList = __commonJS({
|
|
36112
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js"(exports, module) {
|
|
36112
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js"(exports, module) {
|
|
36113
36113
|
(function() {
|
|
36114
36114
|
var XMLDOMStringList;
|
|
36115
36115
|
module.exports = XMLDOMStringList = function() {
|
|
@@ -36133,9 +36133,9 @@ var require_XMLDOMStringList = __commonJS({
|
|
|
36133
36133
|
}
|
|
36134
36134
|
});
|
|
36135
36135
|
|
|
36136
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js
|
|
36136
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js
|
|
36137
36137
|
var require_XMLDOMConfiguration = __commonJS({
|
|
36138
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js"(exports, module) {
|
|
36138
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js"(exports, module) {
|
|
36139
36139
|
(function() {
|
|
36140
36140
|
var XMLDOMConfiguration, XMLDOMErrorHandler, XMLDOMStringList;
|
|
36141
36141
|
XMLDOMErrorHandler = require_XMLDOMErrorHandler();
|
|
@@ -36192,9 +36192,9 @@ var require_XMLDOMConfiguration = __commonJS({
|
|
|
36192
36192
|
}
|
|
36193
36193
|
});
|
|
36194
36194
|
|
|
36195
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js
|
|
36195
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js
|
|
36196
36196
|
var require_NodeType = __commonJS({
|
|
36197
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js"(exports, module) {
|
|
36197
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js"(exports, module) {
|
|
36198
36198
|
(function() {
|
|
36199
36199
|
module.exports = {
|
|
36200
36200
|
Element: 1,
|
|
@@ -36219,9 +36219,9 @@ var require_NodeType = __commonJS({
|
|
|
36219
36219
|
}
|
|
36220
36220
|
});
|
|
36221
36221
|
|
|
36222
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js
|
|
36222
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js
|
|
36223
36223
|
var require_XMLAttribute = __commonJS({
|
|
36224
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js"(exports, module) {
|
|
36224
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js"(exports, module) {
|
|
36225
36225
|
(function() {
|
|
36226
36226
|
var NodeType, XMLAttribute, XMLNode;
|
|
36227
36227
|
NodeType = require_NodeType();
|
|
@@ -36315,9 +36315,9 @@ var require_XMLAttribute = __commonJS({
|
|
|
36315
36315
|
}
|
|
36316
36316
|
});
|
|
36317
36317
|
|
|
36318
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js
|
|
36318
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js
|
|
36319
36319
|
var require_XMLNamedNodeMap = __commonJS({
|
|
36320
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js"(exports, module) {
|
|
36320
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js"(exports, module) {
|
|
36321
36321
|
(function() {
|
|
36322
36322
|
var XMLNamedNodeMap;
|
|
36323
36323
|
module.exports = XMLNamedNodeMap = function() {
|
|
@@ -36365,9 +36365,9 @@ var require_XMLNamedNodeMap = __commonJS({
|
|
|
36365
36365
|
}
|
|
36366
36366
|
});
|
|
36367
36367
|
|
|
36368
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js
|
|
36368
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js
|
|
36369
36369
|
var require_XMLElement = __commonJS({
|
|
36370
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js"(exports, module) {
|
|
36370
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js"(exports, module) {
|
|
36371
36371
|
(function() {
|
|
36372
36372
|
var NodeType, XMLAttribute, XMLElement, XMLNamedNodeMap, XMLNode, getValue, isFunction, isObject, ref, extend = function(child, parent) {
|
|
36373
36373
|
for (var key in parent) {
|
|
@@ -36632,9 +36632,9 @@ var require_XMLElement = __commonJS({
|
|
|
36632
36632
|
}
|
|
36633
36633
|
});
|
|
36634
36634
|
|
|
36635
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js
|
|
36635
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js
|
|
36636
36636
|
var require_XMLCharacterData = __commonJS({
|
|
36637
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js"(exports, module) {
|
|
36637
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js"(exports, module) {
|
|
36638
36638
|
(function() {
|
|
36639
36639
|
var XMLCharacterData, XMLNode, extend = function(child, parent) {
|
|
36640
36640
|
for (var key in parent) {
|
|
@@ -36709,9 +36709,9 @@ var require_XMLCharacterData = __commonJS({
|
|
|
36709
36709
|
}
|
|
36710
36710
|
});
|
|
36711
36711
|
|
|
36712
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js
|
|
36712
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js
|
|
36713
36713
|
var require_XMLCData = __commonJS({
|
|
36714
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js"(exports, module) {
|
|
36714
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js"(exports, module) {
|
|
36715
36715
|
(function() {
|
|
36716
36716
|
var NodeType, XMLCData, XMLCharacterData, extend = function(child, parent) {
|
|
36717
36717
|
for (var key in parent) {
|
|
@@ -36750,9 +36750,9 @@ var require_XMLCData = __commonJS({
|
|
|
36750
36750
|
}
|
|
36751
36751
|
});
|
|
36752
36752
|
|
|
36753
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js
|
|
36753
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js
|
|
36754
36754
|
var require_XMLComment = __commonJS({
|
|
36755
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js"(exports, module) {
|
|
36755
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js"(exports, module) {
|
|
36756
36756
|
(function() {
|
|
36757
36757
|
var NodeType, XMLCharacterData, XMLComment, extend = function(child, parent) {
|
|
36758
36758
|
for (var key in parent) {
|
|
@@ -36791,9 +36791,9 @@ var require_XMLComment = __commonJS({
|
|
|
36791
36791
|
}
|
|
36792
36792
|
});
|
|
36793
36793
|
|
|
36794
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js
|
|
36794
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js
|
|
36795
36795
|
var require_XMLDeclaration = __commonJS({
|
|
36796
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js"(exports, module) {
|
|
36796
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js"(exports, module) {
|
|
36797
36797
|
(function() {
|
|
36798
36798
|
var NodeType, XMLDeclaration, XMLNode, isObject, extend = function(child, parent) {
|
|
36799
36799
|
for (var key in parent) {
|
|
@@ -36839,9 +36839,9 @@ var require_XMLDeclaration = __commonJS({
|
|
|
36839
36839
|
}
|
|
36840
36840
|
});
|
|
36841
36841
|
|
|
36842
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js
|
|
36842
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js
|
|
36843
36843
|
var require_XMLDTDAttList = __commonJS({
|
|
36844
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js"(exports, module) {
|
|
36844
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js"(exports, module) {
|
|
36845
36845
|
(function() {
|
|
36846
36846
|
var NodeType, XMLDTDAttList, XMLNode, extend = function(child, parent) {
|
|
36847
36847
|
for (var key in parent) {
|
|
@@ -36900,9 +36900,9 @@ var require_XMLDTDAttList = __commonJS({
|
|
|
36900
36900
|
}
|
|
36901
36901
|
});
|
|
36902
36902
|
|
|
36903
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js
|
|
36903
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js
|
|
36904
36904
|
var require_XMLDTDEntity = __commonJS({
|
|
36905
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js"(exports, module) {
|
|
36905
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js"(exports, module) {
|
|
36906
36906
|
(function() {
|
|
36907
36907
|
var NodeType, XMLDTDEntity, XMLNode, isObject, extend = function(child, parent) {
|
|
36908
36908
|
for (var key in parent) {
|
|
@@ -36996,9 +36996,9 @@ var require_XMLDTDEntity = __commonJS({
|
|
|
36996
36996
|
}
|
|
36997
36997
|
});
|
|
36998
36998
|
|
|
36999
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js
|
|
36999
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js
|
|
37000
37000
|
var require_XMLDTDElement = __commonJS({
|
|
37001
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js"(exports, module) {
|
|
37001
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js"(exports, module) {
|
|
37002
37002
|
(function() {
|
|
37003
37003
|
var NodeType, XMLDTDElement, XMLNode, extend = function(child, parent) {
|
|
37004
37004
|
for (var key in parent) {
|
|
@@ -37040,9 +37040,9 @@ var require_XMLDTDElement = __commonJS({
|
|
|
37040
37040
|
}
|
|
37041
37041
|
});
|
|
37042
37042
|
|
|
37043
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js
|
|
37043
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js
|
|
37044
37044
|
var require_XMLDTDNotation = __commonJS({
|
|
37045
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js"(exports, module) {
|
|
37045
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js"(exports, module) {
|
|
37046
37046
|
(function() {
|
|
37047
37047
|
var NodeType, XMLDTDNotation, XMLNode, extend = function(child, parent) {
|
|
37048
37048
|
for (var key in parent) {
|
|
@@ -37096,9 +37096,9 @@ var require_XMLDTDNotation = __commonJS({
|
|
|
37096
37096
|
}
|
|
37097
37097
|
});
|
|
37098
37098
|
|
|
37099
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js
|
|
37099
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js
|
|
37100
37100
|
var require_XMLDocType = __commonJS({
|
|
37101
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js"(exports, module) {
|
|
37101
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js"(exports, module) {
|
|
37102
37102
|
(function() {
|
|
37103
37103
|
var NodeType, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDocType, XMLNamedNodeMap, XMLNode, isObject, extend = function(child, parent) {
|
|
37104
37104
|
for (var key in parent) {
|
|
@@ -37265,9 +37265,9 @@ var require_XMLDocType = __commonJS({
|
|
|
37265
37265
|
}
|
|
37266
37266
|
});
|
|
37267
37267
|
|
|
37268
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js
|
|
37268
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js
|
|
37269
37269
|
var require_XMLRaw = __commonJS({
|
|
37270
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js"(exports, module) {
|
|
37270
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js"(exports, module) {
|
|
37271
37271
|
(function() {
|
|
37272
37272
|
var NodeType, XMLNode, XMLRaw, extend = function(child, parent) {
|
|
37273
37273
|
for (var key in parent) {
|
|
@@ -37305,9 +37305,9 @@ var require_XMLRaw = __commonJS({
|
|
|
37305
37305
|
}
|
|
37306
37306
|
});
|
|
37307
37307
|
|
|
37308
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js
|
|
37308
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js
|
|
37309
37309
|
var require_XMLText = __commonJS({
|
|
37310
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js"(exports, module) {
|
|
37310
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js"(exports, module) {
|
|
37311
37311
|
(function() {
|
|
37312
37312
|
var NodeType, XMLCharacterData, XMLText, extend = function(child, parent) {
|
|
37313
37313
|
for (var key in parent) {
|
|
@@ -37375,9 +37375,9 @@ var require_XMLText = __commonJS({
|
|
|
37375
37375
|
}
|
|
37376
37376
|
});
|
|
37377
37377
|
|
|
37378
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js
|
|
37378
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js
|
|
37379
37379
|
var require_XMLProcessingInstruction = __commonJS({
|
|
37380
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js"(exports, module) {
|
|
37380
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js"(exports, module) {
|
|
37381
37381
|
(function() {
|
|
37382
37382
|
var NodeType, XMLCharacterData, XMLProcessingInstruction, extend = function(child, parent) {
|
|
37383
37383
|
for (var key in parent) {
|
|
@@ -37428,9 +37428,9 @@ var require_XMLProcessingInstruction = __commonJS({
|
|
|
37428
37428
|
}
|
|
37429
37429
|
});
|
|
37430
37430
|
|
|
37431
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js
|
|
37431
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js
|
|
37432
37432
|
var require_XMLDummy = __commonJS({
|
|
37433
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js"(exports, module) {
|
|
37433
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js"(exports, module) {
|
|
37434
37434
|
(function() {
|
|
37435
37435
|
var NodeType, XMLDummy, XMLNode, extend = function(child, parent) {
|
|
37436
37436
|
for (var key in parent) {
|
|
@@ -37464,9 +37464,9 @@ var require_XMLDummy = __commonJS({
|
|
|
37464
37464
|
}
|
|
37465
37465
|
});
|
|
37466
37466
|
|
|
37467
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js
|
|
37467
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js
|
|
37468
37468
|
var require_XMLNodeList = __commonJS({
|
|
37469
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js"(exports, module) {
|
|
37469
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js"(exports, module) {
|
|
37470
37470
|
(function() {
|
|
37471
37471
|
var XMLNodeList;
|
|
37472
37472
|
module.exports = XMLNodeList = function() {
|
|
@@ -37490,9 +37490,9 @@ var require_XMLNodeList = __commonJS({
|
|
|
37490
37490
|
}
|
|
37491
37491
|
});
|
|
37492
37492
|
|
|
37493
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js
|
|
37493
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js
|
|
37494
37494
|
var require_DocumentPosition = __commonJS({
|
|
37495
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js"(exports, module) {
|
|
37495
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js"(exports, module) {
|
|
37496
37496
|
(function() {
|
|
37497
37497
|
module.exports = {
|
|
37498
37498
|
Disconnected: 1,
|
|
@@ -37506,9 +37506,9 @@ var require_DocumentPosition = __commonJS({
|
|
|
37506
37506
|
}
|
|
37507
37507
|
});
|
|
37508
37508
|
|
|
37509
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js
|
|
37509
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js
|
|
37510
37510
|
var require_XMLNode = __commonJS({
|
|
37511
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"(exports, module) {
|
|
37511
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"(exports, module) {
|
|
37512
37512
|
(function() {
|
|
37513
37513
|
var DocumentPosition, NodeType, XMLCData, XMLComment, XMLDeclaration, XMLDocType, XMLDummy, XMLElement, XMLNamedNodeMap, XMLNode, XMLNodeList, XMLProcessingInstruction, XMLRaw, XMLText, getValue, isEmpty, isFunction, isObject, ref1, hasProp = {}.hasOwnProperty;
|
|
37514
37514
|
ref1 = require_Utility(), isObject = ref1.isObject, isFunction = ref1.isFunction, isEmpty = ref1.isEmpty, getValue = ref1.getValue;
|
|
@@ -38199,9 +38199,9 @@ var require_XMLNode = __commonJS({
|
|
|
38199
38199
|
}
|
|
38200
38200
|
});
|
|
38201
38201
|
|
|
38202
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js
|
|
38202
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js
|
|
38203
38203
|
var require_XMLStringifier = __commonJS({
|
|
38204
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js"(exports, module) {
|
|
38204
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js"(exports, module) {
|
|
38205
38205
|
(function() {
|
|
38206
38206
|
var XMLStringifier, bind = function(fn, me) {
|
|
38207
38207
|
return function() {
|
|
@@ -38414,9 +38414,9 @@ var require_XMLStringifier = __commonJS({
|
|
|
38414
38414
|
}
|
|
38415
38415
|
});
|
|
38416
38416
|
|
|
38417
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js
|
|
38417
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js
|
|
38418
38418
|
var require_WriterState = __commonJS({
|
|
38419
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js"(exports, module) {
|
|
38419
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js"(exports, module) {
|
|
38420
38420
|
(function() {
|
|
38421
38421
|
module.exports = {
|
|
38422
38422
|
None: 0,
|
|
@@ -38428,9 +38428,9 @@ var require_WriterState = __commonJS({
|
|
|
38428
38428
|
}
|
|
38429
38429
|
});
|
|
38430
38430
|
|
|
38431
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js
|
|
38431
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js
|
|
38432
38432
|
var require_XMLWriterBase = __commonJS({
|
|
38433
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js"(exports, module) {
|
|
38433
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js"(exports, module) {
|
|
38434
38434
|
(function() {
|
|
38435
38435
|
var NodeType, WriterState, XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLDummy, XMLElement, XMLProcessingInstruction, XMLRaw, XMLText, XMLWriterBase, assign, hasProp = {}.hasOwnProperty;
|
|
38436
38436
|
assign = require_Utility().assign;
|
|
@@ -38823,9 +38823,9 @@ var require_XMLWriterBase = __commonJS({
|
|
|
38823
38823
|
}
|
|
38824
38824
|
});
|
|
38825
38825
|
|
|
38826
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js
|
|
38826
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js
|
|
38827
38827
|
var require_XMLStringWriter = __commonJS({
|
|
38828
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js"(exports, module) {
|
|
38828
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js"(exports, module) {
|
|
38829
38829
|
(function() {
|
|
38830
38830
|
var XMLStringWriter, XMLWriterBase, extend = function(child, parent) {
|
|
38831
38831
|
for (var key in parent) {
|
|
@@ -38865,9 +38865,9 @@ var require_XMLStringWriter = __commonJS({
|
|
|
38865
38865
|
}
|
|
38866
38866
|
});
|
|
38867
38867
|
|
|
38868
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js
|
|
38868
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js
|
|
38869
38869
|
var require_XMLDocument = __commonJS({
|
|
38870
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js"(exports, module) {
|
|
38870
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js"(exports, module) {
|
|
38871
38871
|
(function() {
|
|
38872
38872
|
var NodeType, XMLDOMConfiguration, XMLDOMImplementation, XMLDocument, XMLNode, XMLStringWriter, XMLStringifier, isPlainObject, extend = function(child, parent) {
|
|
38873
38873
|
for (var key in parent) {
|
|
@@ -39072,9 +39072,9 @@ var require_XMLDocument = __commonJS({
|
|
|
39072
39072
|
}
|
|
39073
39073
|
});
|
|
39074
39074
|
|
|
39075
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js
|
|
39075
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js
|
|
39076
39076
|
var require_XMLDocumentCB = __commonJS({
|
|
39077
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js"(exports, module) {
|
|
39077
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js"(exports, module) {
|
|
39078
39078
|
(function() {
|
|
39079
39079
|
var NodeType, WriterState, XMLAttribute, XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLDocument, XMLDocumentCB, XMLElement, XMLProcessingInstruction, XMLRaw, XMLStringWriter, XMLStringifier, XMLText, getValue, isFunction, isObject, isPlainObject, ref, hasProp = {}.hasOwnProperty;
|
|
39080
39080
|
ref = require_Utility(), isObject = ref.isObject, isFunction = ref.isFunction, isPlainObject = ref.isPlainObject, getValue = ref.getValue;
|
|
@@ -39538,9 +39538,9 @@ var require_XMLDocumentCB = __commonJS({
|
|
|
39538
39538
|
}
|
|
39539
39539
|
});
|
|
39540
39540
|
|
|
39541
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js
|
|
39541
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js
|
|
39542
39542
|
var require_XMLStreamWriter = __commonJS({
|
|
39543
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js"(exports, module) {
|
|
39543
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js"(exports, module) {
|
|
39544
39544
|
(function() {
|
|
39545
39545
|
var NodeType, WriterState, XMLStreamWriter, XMLWriterBase, extend = function(child, parent) {
|
|
39546
39546
|
for (var key in parent) {
|
|
@@ -39705,9 +39705,9 @@ var require_XMLStreamWriter = __commonJS({
|
|
|
39705
39705
|
}
|
|
39706
39706
|
});
|
|
39707
39707
|
|
|
39708
|
-
// node_modules/xml2js/node_modules/xmlbuilder/lib/index.js
|
|
39708
|
+
// ../../node_modules/xml2js/node_modules/xmlbuilder/lib/index.js
|
|
39709
39709
|
var require_lib = __commonJS({
|
|
39710
|
-
"node_modules/xml2js/node_modules/xmlbuilder/lib/index.js"(exports, module) {
|
|
39710
|
+
"../../node_modules/xml2js/node_modules/xmlbuilder/lib/index.js"(exports, module) {
|
|
39711
39711
|
(function() {
|
|
39712
39712
|
var NodeType, WriterState, XMLDOMImplementation, XMLDocument, XMLDocumentCB, XMLStreamWriter, XMLStringWriter, assign, isFunction, ref;
|
|
39713
39713
|
ref = require_Utility(), assign = ref.assign, isFunction = ref.isFunction;
|
|
@@ -39759,9 +39759,9 @@ var require_lib = __commonJS({
|
|
|
39759
39759
|
}
|
|
39760
39760
|
});
|
|
39761
39761
|
|
|
39762
|
-
// node_modules/xml2js/lib/builder.js
|
|
39762
|
+
// ../../node_modules/xml2js/lib/builder.js
|
|
39763
39763
|
var require_builder = __commonJS({
|
|
39764
|
-
"node_modules/xml2js/lib/builder.js"(exports) {
|
|
39764
|
+
"../../node_modules/xml2js/lib/builder.js"(exports) {
|
|
39765
39765
|
(function() {
|
|
39766
39766
|
"use strict";
|
|
39767
39767
|
var builder, defaults, escapeCDATA, requiresCDATA, wrapCDATA, hasProp = {}.hasOwnProperty;
|
|
@@ -39880,9 +39880,9 @@ var require_builder = __commonJS({
|
|
|
39880
39880
|
}
|
|
39881
39881
|
});
|
|
39882
39882
|
|
|
39883
|
-
// node_modules/sax/lib/sax.js
|
|
39883
|
+
// ../../node_modules/sax/lib/sax.js
|
|
39884
39884
|
var require_sax = __commonJS({
|
|
39885
|
-
"node_modules/sax/lib/sax.js"(exports) {
|
|
39885
|
+
"../../node_modules/sax/lib/sax.js"(exports) {
|
|
39886
39886
|
(function(sax) {
|
|
39887
39887
|
sax.parser = function(strict, opt) {
|
|
39888
39888
|
return new SAXParser(strict, opt);
|
|
@@ -41471,9 +41471,9 @@ var require_sax = __commonJS({
|
|
|
41471
41471
|
}
|
|
41472
41472
|
});
|
|
41473
41473
|
|
|
41474
|
-
// node_modules/xml2js/lib/bom.js
|
|
41474
|
+
// ../../node_modules/xml2js/lib/bom.js
|
|
41475
41475
|
var require_bom = __commonJS({
|
|
41476
|
-
"node_modules/xml2js/lib/bom.js"(exports) {
|
|
41476
|
+
"../../node_modules/xml2js/lib/bom.js"(exports) {
|
|
41477
41477
|
(function() {
|
|
41478
41478
|
"use strict";
|
|
41479
41479
|
exports.stripBOM = function(str) {
|
|
@@ -41487,9 +41487,9 @@ var require_bom = __commonJS({
|
|
|
41487
41487
|
}
|
|
41488
41488
|
});
|
|
41489
41489
|
|
|
41490
|
-
// node_modules/xml2js/lib/processors.js
|
|
41490
|
+
// ../../node_modules/xml2js/lib/processors.js
|
|
41491
41491
|
var require_processors = __commonJS({
|
|
41492
|
-
"node_modules/xml2js/lib/processors.js"(exports) {
|
|
41492
|
+
"../../node_modules/xml2js/lib/processors.js"(exports) {
|
|
41493
41493
|
(function() {
|
|
41494
41494
|
"use strict";
|
|
41495
41495
|
var prefixMatch;
|
|
@@ -41519,9 +41519,9 @@ var require_processors = __commonJS({
|
|
|
41519
41519
|
}
|
|
41520
41520
|
});
|
|
41521
41521
|
|
|
41522
|
-
// node_modules/xml2js/lib/parser.js
|
|
41522
|
+
// ../../node_modules/xml2js/lib/parser.js
|
|
41523
41523
|
var require_parser3 = __commonJS({
|
|
41524
|
-
"node_modules/xml2js/lib/parser.js"(exports) {
|
|
41524
|
+
"../../node_modules/xml2js/lib/parser.js"(exports) {
|
|
41525
41525
|
(function() {
|
|
41526
41526
|
"use strict";
|
|
41527
41527
|
var bom, defaults, events, isEmpty, processItem, processors, sax, setImmediate2, bind = function(fn, me) {
|
|
@@ -41901,9 +41901,9 @@ var require_parser3 = __commonJS({
|
|
|
41901
41901
|
}
|
|
41902
41902
|
});
|
|
41903
41903
|
|
|
41904
|
-
// node_modules/xml2js/lib/xml2js.js
|
|
41904
|
+
// ../../node_modules/xml2js/lib/xml2js.js
|
|
41905
41905
|
var require_xml2js = __commonJS({
|
|
41906
|
-
"node_modules/xml2js/lib/xml2js.js"(exports) {
|
|
41906
|
+
"../../node_modules/xml2js/lib/xml2js.js"(exports) {
|
|
41907
41907
|
(function() {
|
|
41908
41908
|
"use strict";
|
|
41909
41909
|
var builder, defaults, parser, processors, extend = function(child, parent) {
|
|
@@ -41939,9 +41939,9 @@ var require_xml2js = __commonJS({
|
|
|
41939
41939
|
}
|
|
41940
41940
|
});
|
|
41941
41941
|
|
|
41942
|
-
// node_modules/parse-bmfont-xml/lib/parse-attribs.js
|
|
41942
|
+
// ../../node_modules/parse-bmfont-xml/lib/parse-attribs.js
|
|
41943
41943
|
var require_parse_attribs = __commonJS({
|
|
41944
|
-
"node_modules/parse-bmfont-xml/lib/parse-attribs.js"(exports, module) {
|
|
41944
|
+
"../../node_modules/parse-bmfont-xml/lib/parse-attribs.js"(exports, module) {
|
|
41945
41945
|
var GLYPH_DESIGNER_ERROR = "chasrset";
|
|
41946
41946
|
module.exports = function parseAttributes(obj) {
|
|
41947
41947
|
obj = Object.assign({}, obj);
|
|
@@ -41967,9 +41967,9 @@ var require_parse_attribs = __commonJS({
|
|
|
41967
41967
|
}
|
|
41968
41968
|
});
|
|
41969
41969
|
|
|
41970
|
-
// node_modules/parse-bmfont-xml/lib/index.js
|
|
41970
|
+
// ../../node_modules/parse-bmfont-xml/lib/index.js
|
|
41971
41971
|
var require_lib2 = __commonJS({
|
|
41972
|
-
"node_modules/parse-bmfont-xml/lib/index.js"(exports, module) {
|
|
41972
|
+
"../../node_modules/parse-bmfont-xml/lib/index.js"(exports, module) {
|
|
41973
41973
|
var xml2js = require_xml2js();
|
|
41974
41974
|
var parseAttributes = require_parse_attribs();
|
|
41975
41975
|
module.exports = function parseBMFontXML(data) {
|
|
@@ -42013,9 +42013,9 @@ var require_lib2 = __commonJS({
|
|
|
42013
42013
|
}
|
|
42014
42014
|
});
|
|
42015
42015
|
|
|
42016
|
-
// node_modules/parse-bmfont-binary/index.js
|
|
42016
|
+
// ../../node_modules/parse-bmfont-binary/index.js
|
|
42017
42017
|
var require_parse_bmfont_binary = __commonJS({
|
|
42018
|
-
"node_modules/parse-bmfont-binary/index.js"(exports, module) {
|
|
42018
|
+
"../../node_modules/parse-bmfont-binary/index.js"(exports, module) {
|
|
42019
42019
|
var HEADER2 = [66, 77, 70];
|
|
42020
42020
|
module.exports = function readBMFontBinary(buf) {
|
|
42021
42021
|
if (buf.length < 6)
|
|
@@ -42159,7 +42159,7 @@ var require_parse_bmfont_binary = __commonJS({
|
|
|
42159
42159
|
}
|
|
42160
42160
|
});
|
|
42161
42161
|
|
|
42162
|
-
// node_modules/simple-xml-to-json/lib/simpleXmlToJson.min.mjs
|
|
42162
|
+
// ../../node_modules/simple-xml-to-json/lib/simpleXmlToJson.min.mjs
|
|
42163
42163
|
function e2(e3) {
|
|
42164
42164
|
return e3 && e3.__esModule && Object.prototype.hasOwnProperty.call(e3, "default") ? e3.default : e3;
|
|
42165
42165
|
}
|
|
@@ -42334,7 +42334,7 @@ function p() {
|
|
|
42334
42334
|
}
|
|
42335
42335
|
var t2, n, r, E, T, u, a, s, c2, o, l, N, A, C, L;
|
|
42336
42336
|
var init_simpleXmlToJson_min = __esm({
|
|
42337
|
-
"node_modules/simple-xml-to-json/lib/simpleXmlToJson.min.mjs"() {
|
|
42337
|
+
"../../node_modules/simple-xml-to-json/lib/simpleXmlToJson.min.mjs"() {
|
|
42338
42338
|
A = e2(function() {
|
|
42339
42339
|
if (N) return l;
|
|
42340
42340
|
N = 1;
|
|
@@ -42378,7 +42378,7 @@ var init_simpleXmlToJson_min = __esm({
|
|
|
42378
42378
|
}
|
|
42379
42379
|
});
|
|
42380
42380
|
|
|
42381
|
-
// node_modules/@jimp/plugin-print/dist/esm/load-bitmap-font.js
|
|
42381
|
+
// ../../node_modules/@jimp/plugin-print/dist/esm/load-bitmap-font.js
|
|
42382
42382
|
import path7 from "path";
|
|
42383
42383
|
function isBinary(buf) {
|
|
42384
42384
|
if (typeof buf === "string") {
|
|
@@ -42475,7 +42475,7 @@ async function processBitmapFont(file, font) {
|
|
|
42475
42475
|
}
|
|
42476
42476
|
var import_parse_bmfont_ascii, import_parse_bmfont_xml, import_parse_bmfont_binary, convertXML, isWebWorker, CharacterJimp, HEADER;
|
|
42477
42477
|
var init_load_bitmap_font = __esm({
|
|
42478
|
-
"node_modules/@jimp/plugin-print/dist/esm/load-bitmap-font.js"() {
|
|
42478
|
+
"../../node_modules/@jimp/plugin-print/dist/esm/load-bitmap-font.js"() {
|
|
42479
42479
|
import_parse_bmfont_ascii = __toESM(require_parse_bmfont_ascii(), 1);
|
|
42480
42480
|
import_parse_bmfont_xml = __toESM(require_lib2(), 1);
|
|
42481
42481
|
import_parse_bmfont_binary = __toESM(require_parse_bmfont_binary(), 1);
|
|
@@ -42489,7 +42489,7 @@ var init_load_bitmap_font = __esm({
|
|
|
42489
42489
|
}
|
|
42490
42490
|
});
|
|
42491
42491
|
|
|
42492
|
-
// node_modules/@jimp/plugin-print/dist/esm/load-font.js
|
|
42492
|
+
// ../../node_modules/@jimp/plugin-print/dist/esm/load-font.js
|
|
42493
42493
|
async function loadFont(file) {
|
|
42494
42494
|
let fileOrBuffer = file;
|
|
42495
42495
|
if (typeof window === "undefined" && !isWebWorker) {
|
|
@@ -42502,14 +42502,14 @@ async function loadFont(file) {
|
|
|
42502
42502
|
return processBitmapFont(file, data);
|
|
42503
42503
|
}
|
|
42504
42504
|
var init_load_font = __esm({
|
|
42505
|
-
"node_modules/@jimp/plugin-print/dist/esm/load-font.js"() {
|
|
42505
|
+
"../../node_modules/@jimp/plugin-print/dist/esm/load-font.js"() {
|
|
42506
42506
|
init_load_bitmap_font();
|
|
42507
42507
|
}
|
|
42508
42508
|
});
|
|
42509
42509
|
|
|
42510
|
-
// node_modules/pixelmatch/index.js
|
|
42510
|
+
// ../../node_modules/pixelmatch/index.js
|
|
42511
42511
|
var require_pixelmatch = __commonJS({
|
|
42512
|
-
"node_modules/pixelmatch/index.js"(exports, module) {
|
|
42512
|
+
"../../node_modules/pixelmatch/index.js"(exports, module) {
|
|
42513
42513
|
"use strict";
|
|
42514
42514
|
module.exports = pixelmatch;
|
|
42515
42515
|
var defaultOptions = {
|
|
@@ -42683,7 +42683,7 @@ var require_pixelmatch = __commonJS({
|
|
|
42683
42683
|
}
|
|
42684
42684
|
});
|
|
42685
42685
|
|
|
42686
|
-
// node_modules/@jimp/diff/dist/esm/index.js
|
|
42686
|
+
// ../../node_modules/@jimp/diff/dist/esm/index.js
|
|
42687
42687
|
function diff(img1, img2, threshold = 0.1) {
|
|
42688
42688
|
let bmp1 = img1.bitmap;
|
|
42689
42689
|
let bmp2 = img2.bitmap;
|
|
@@ -42716,14 +42716,14 @@ function diff(img1, img2, threshold = 0.1) {
|
|
|
42716
42716
|
}
|
|
42717
42717
|
var import_pixelmatch;
|
|
42718
42718
|
var init_esm29 = __esm({
|
|
42719
|
-
"node_modules/@jimp/diff/dist/esm/index.js"() {
|
|
42719
|
+
"../../node_modules/@jimp/diff/dist/esm/index.js"() {
|
|
42720
42720
|
init_esm15();
|
|
42721
42721
|
init_esm2();
|
|
42722
42722
|
import_pixelmatch = __toESM(require_pixelmatch(), 1);
|
|
42723
42723
|
}
|
|
42724
42724
|
});
|
|
42725
42725
|
|
|
42726
|
-
// node_modules/jimp/dist/esm/index.js
|
|
42726
|
+
// ../../node_modules/jimp/dist/esm/index.js
|
|
42727
42727
|
var esm_exports2 = {};
|
|
42728
42728
|
__export(esm_exports2, {
|
|
42729
42729
|
BlendMode: () => BlendMode,
|
|
@@ -42751,7 +42751,7 @@ __export(esm_exports2, {
|
|
|
42751
42751
|
});
|
|
42752
42752
|
var defaultPlugins, defaultFormats, JimpMime, Jimp;
|
|
42753
42753
|
var init_esm30 = __esm({
|
|
42754
|
-
"node_modules/jimp/dist/esm/index.js"() {
|
|
42754
|
+
"../../node_modules/jimp/dist/esm/index.js"() {
|
|
42755
42755
|
init_esm3();
|
|
42756
42756
|
init_esm4();
|
|
42757
42757
|
init_esm5();
|
|
@@ -42820,9 +42820,9 @@ var init_esm30 = __esm({
|
|
|
42820
42820
|
}
|
|
42821
42821
|
});
|
|
42822
42822
|
|
|
42823
|
-
// node_modules/base64-js/index.js
|
|
42823
|
+
// ../../node_modules/base64-js/index.js
|
|
42824
42824
|
var require_base64_js = __commonJS({
|
|
42825
|
-
"node_modules/base64-js/index.js"(exports) {
|
|
42825
|
+
"../../node_modules/base64-js/index.js"(exports) {
|
|
42826
42826
|
"use strict";
|
|
42827
42827
|
exports.byteLength = byteLength;
|
|
42828
42828
|
exports.toByteArray = toByteArray;
|
|
@@ -42921,9 +42921,9 @@ var require_base64_js = __commonJS({
|
|
|
42921
42921
|
}
|
|
42922
42922
|
});
|
|
42923
42923
|
|
|
42924
|
-
// node_modules/pako/lib/zlib/trees.js
|
|
42924
|
+
// ../../node_modules/pako/lib/zlib/trees.js
|
|
42925
42925
|
var require_trees2 = __commonJS({
|
|
42926
|
-
"node_modules/pako/lib/zlib/trees.js"(exports, module) {
|
|
42926
|
+
"../../node_modules/pako/lib/zlib/trees.js"(exports, module) {
|
|
42927
42927
|
"use strict";
|
|
42928
42928
|
var Z_FIXED = 4;
|
|
42929
42929
|
var Z_BINARY = 0;
|
|
@@ -43559,9 +43559,9 @@ var require_trees2 = __commonJS({
|
|
|
43559
43559
|
}
|
|
43560
43560
|
});
|
|
43561
43561
|
|
|
43562
|
-
// node_modules/pako/lib/zlib/adler32.js
|
|
43562
|
+
// ../../node_modules/pako/lib/zlib/adler32.js
|
|
43563
43563
|
var require_adler322 = __commonJS({
|
|
43564
|
-
"node_modules/pako/lib/zlib/adler32.js"(exports, module) {
|
|
43564
|
+
"../../node_modules/pako/lib/zlib/adler32.js"(exports, module) {
|
|
43565
43565
|
"use strict";
|
|
43566
43566
|
var adler32 = (adler, buf, len, pos) => {
|
|
43567
43567
|
let s1 = adler & 65535 | 0, s2 = adler >>> 16 & 65535 | 0, n2 = 0;
|
|
@@ -43581,9 +43581,9 @@ var require_adler322 = __commonJS({
|
|
|
43581
43581
|
}
|
|
43582
43582
|
});
|
|
43583
43583
|
|
|
43584
|
-
// node_modules/pako/lib/zlib/crc32.js
|
|
43584
|
+
// ../../node_modules/pako/lib/zlib/crc32.js
|
|
43585
43585
|
var require_crc322 = __commonJS({
|
|
43586
|
-
"node_modules/pako/lib/zlib/crc32.js"(exports, module) {
|
|
43586
|
+
"../../node_modules/pako/lib/zlib/crc32.js"(exports, module) {
|
|
43587
43587
|
"use strict";
|
|
43588
43588
|
var makeTable = () => {
|
|
43589
43589
|
let c3, table = [];
|
|
@@ -43610,9 +43610,9 @@ var require_crc322 = __commonJS({
|
|
|
43610
43610
|
}
|
|
43611
43611
|
});
|
|
43612
43612
|
|
|
43613
|
-
// node_modules/pako/lib/zlib/messages.js
|
|
43613
|
+
// ../../node_modules/pako/lib/zlib/messages.js
|
|
43614
43614
|
var require_messages2 = __commonJS({
|
|
43615
|
-
"node_modules/pako/lib/zlib/messages.js"(exports, module) {
|
|
43615
|
+
"../../node_modules/pako/lib/zlib/messages.js"(exports, module) {
|
|
43616
43616
|
"use strict";
|
|
43617
43617
|
module.exports = {
|
|
43618
43618
|
2: "need dictionary",
|
|
@@ -43637,9 +43637,9 @@ var require_messages2 = __commonJS({
|
|
|
43637
43637
|
}
|
|
43638
43638
|
});
|
|
43639
43639
|
|
|
43640
|
-
// node_modules/pako/lib/zlib/constants.js
|
|
43640
|
+
// ../../node_modules/pako/lib/zlib/constants.js
|
|
43641
43641
|
var require_constants3 = __commonJS({
|
|
43642
|
-
"node_modules/pako/lib/zlib/constants.js"(exports, module) {
|
|
43642
|
+
"../../node_modules/pako/lib/zlib/constants.js"(exports, module) {
|
|
43643
43643
|
"use strict";
|
|
43644
43644
|
module.exports = {
|
|
43645
43645
|
/* Allowed flush values; see deflate() and inflate() below for details */
|
|
@@ -43684,9 +43684,9 @@ var require_constants3 = __commonJS({
|
|
|
43684
43684
|
}
|
|
43685
43685
|
});
|
|
43686
43686
|
|
|
43687
|
-
// node_modules/pako/lib/zlib/deflate.js
|
|
43687
|
+
// ../../node_modules/pako/lib/zlib/deflate.js
|
|
43688
43688
|
var require_deflate3 = __commonJS({
|
|
43689
|
-
"node_modules/pako/lib/zlib/deflate.js"(exports, module) {
|
|
43689
|
+
"../../node_modules/pako/lib/zlib/deflate.js"(exports, module) {
|
|
43690
43690
|
"use strict";
|
|
43691
43691
|
var { _tr_init, _tr_stored_block, _tr_flush_block, _tr_tally, _tr_align } = require_trees2();
|
|
43692
43692
|
var adler32 = require_adler322();
|
|
@@ -44824,9 +44824,9 @@ var require_deflate3 = __commonJS({
|
|
|
44824
44824
|
}
|
|
44825
44825
|
});
|
|
44826
44826
|
|
|
44827
|
-
// node_modules/pako/lib/utils/common.js
|
|
44827
|
+
// ../../node_modules/pako/lib/utils/common.js
|
|
44828
44828
|
var require_common3 = __commonJS({
|
|
44829
|
-
"node_modules/pako/lib/utils/common.js"(exports, module) {
|
|
44829
|
+
"../../node_modules/pako/lib/utils/common.js"(exports, module) {
|
|
44830
44830
|
"use strict";
|
|
44831
44831
|
var _has = (obj, key) => {
|
|
44832
44832
|
return Object.prototype.hasOwnProperty.call(obj, key);
|
|
@@ -44865,9 +44865,9 @@ var require_common3 = __commonJS({
|
|
|
44865
44865
|
}
|
|
44866
44866
|
});
|
|
44867
44867
|
|
|
44868
|
-
// node_modules/pako/lib/utils/strings.js
|
|
44868
|
+
// ../../node_modules/pako/lib/utils/strings.js
|
|
44869
44869
|
var require_strings2 = __commonJS({
|
|
44870
|
-
"node_modules/pako/lib/utils/strings.js"(exports, module) {
|
|
44870
|
+
"../../node_modules/pako/lib/utils/strings.js"(exports, module) {
|
|
44871
44871
|
"use strict";
|
|
44872
44872
|
var STR_APPLY_UIA_OK = true;
|
|
44873
44873
|
try {
|
|
@@ -44994,9 +44994,9 @@ var require_strings2 = __commonJS({
|
|
|
44994
44994
|
}
|
|
44995
44995
|
});
|
|
44996
44996
|
|
|
44997
|
-
// node_modules/pako/lib/zlib/zstream.js
|
|
44997
|
+
// ../../node_modules/pako/lib/zlib/zstream.js
|
|
44998
44998
|
var require_zstream2 = __commonJS({
|
|
44999
|
-
"node_modules/pako/lib/zlib/zstream.js"(exports, module) {
|
|
44999
|
+
"../../node_modules/pako/lib/zlib/zstream.js"(exports, module) {
|
|
45000
45000
|
"use strict";
|
|
45001
45001
|
function ZStream() {
|
|
45002
45002
|
this.input = null;
|
|
@@ -45016,9 +45016,9 @@ var require_zstream2 = __commonJS({
|
|
|
45016
45016
|
}
|
|
45017
45017
|
});
|
|
45018
45018
|
|
|
45019
|
-
// node_modules/pako/lib/deflate.js
|
|
45019
|
+
// ../../node_modules/pako/lib/deflate.js
|
|
45020
45020
|
var require_deflate4 = __commonJS({
|
|
45021
|
-
"node_modules/pako/lib/deflate.js"(exports, module) {
|
|
45021
|
+
"../../node_modules/pako/lib/deflate.js"(exports, module) {
|
|
45022
45022
|
"use strict";
|
|
45023
45023
|
var zlib_deflate = require_deflate3();
|
|
45024
45024
|
var utils2 = require_common3();
|
|
@@ -45177,9 +45177,9 @@ var require_deflate4 = __commonJS({
|
|
|
45177
45177
|
}
|
|
45178
45178
|
});
|
|
45179
45179
|
|
|
45180
|
-
// node_modules/pako/lib/zlib/inffast.js
|
|
45180
|
+
// ../../node_modules/pako/lib/zlib/inffast.js
|
|
45181
45181
|
var require_inffast2 = __commonJS({
|
|
45182
|
-
"node_modules/pako/lib/zlib/inffast.js"(exports, module) {
|
|
45182
|
+
"../../node_modules/pako/lib/zlib/inffast.js"(exports, module) {
|
|
45183
45183
|
"use strict";
|
|
45184
45184
|
var BAD = 16209;
|
|
45185
45185
|
var TYPE = 16191;
|
|
@@ -45405,9 +45405,9 @@ var require_inffast2 = __commonJS({
|
|
|
45405
45405
|
}
|
|
45406
45406
|
});
|
|
45407
45407
|
|
|
45408
|
-
// node_modules/pako/lib/zlib/inftrees.js
|
|
45408
|
+
// ../../node_modules/pako/lib/zlib/inftrees.js
|
|
45409
45409
|
var require_inftrees2 = __commonJS({
|
|
45410
|
-
"node_modules/pako/lib/zlib/inftrees.js"(exports, module) {
|
|
45410
|
+
"../../node_modules/pako/lib/zlib/inftrees.js"(exports, module) {
|
|
45411
45411
|
"use strict";
|
|
45412
45412
|
var MAXBITS = 15;
|
|
45413
45413
|
var ENOUGH_LENS = 852;
|
|
@@ -45717,9 +45717,9 @@ var require_inftrees2 = __commonJS({
|
|
|
45717
45717
|
}
|
|
45718
45718
|
});
|
|
45719
45719
|
|
|
45720
|
-
// node_modules/pako/lib/zlib/inflate.js
|
|
45720
|
+
// ../../node_modules/pako/lib/zlib/inflate.js
|
|
45721
45721
|
var require_inflate3 = __commonJS({
|
|
45722
|
-
"node_modules/pako/lib/zlib/inflate.js"(exports, module) {
|
|
45722
|
+
"../../node_modules/pako/lib/zlib/inflate.js"(exports, module) {
|
|
45723
45723
|
"use strict";
|
|
45724
45724
|
var adler32 = require_adler322();
|
|
45725
45725
|
var crc32 = require_crc322();
|
|
@@ -46945,9 +46945,9 @@ var require_inflate3 = __commonJS({
|
|
|
46945
46945
|
}
|
|
46946
46946
|
});
|
|
46947
46947
|
|
|
46948
|
-
// node_modules/pako/lib/zlib/gzheader.js
|
|
46948
|
+
// ../../node_modules/pako/lib/zlib/gzheader.js
|
|
46949
46949
|
var require_gzheader2 = __commonJS({
|
|
46950
|
-
"node_modules/pako/lib/zlib/gzheader.js"(exports, module) {
|
|
46950
|
+
"../../node_modules/pako/lib/zlib/gzheader.js"(exports, module) {
|
|
46951
46951
|
"use strict";
|
|
46952
46952
|
function GZheader() {
|
|
46953
46953
|
this.text = 0;
|
|
@@ -46965,9 +46965,9 @@ var require_gzheader2 = __commonJS({
|
|
|
46965
46965
|
}
|
|
46966
46966
|
});
|
|
46967
46967
|
|
|
46968
|
-
// node_modules/pako/lib/inflate.js
|
|
46968
|
+
// ../../node_modules/pako/lib/inflate.js
|
|
46969
46969
|
var require_inflate4 = __commonJS({
|
|
46970
|
-
"node_modules/pako/lib/inflate.js"(exports, module) {
|
|
46970
|
+
"../../node_modules/pako/lib/inflate.js"(exports, module) {
|
|
46971
46971
|
"use strict";
|
|
46972
46972
|
var zlib_inflate = require_inflate3();
|
|
46973
46973
|
var utils2 = require_common3();
|
|
@@ -47140,9 +47140,9 @@ var require_inflate4 = __commonJS({
|
|
|
47140
47140
|
}
|
|
47141
47141
|
});
|
|
47142
47142
|
|
|
47143
|
-
// node_modules/pako/index.js
|
|
47143
|
+
// ../../node_modules/pako/index.js
|
|
47144
47144
|
var require_pako2 = __commonJS({
|
|
47145
|
-
"node_modules/pako/index.js"(exports, module) {
|
|
47145
|
+
"../../node_modules/pako/index.js"(exports, module) {
|
|
47146
47146
|
"use strict";
|
|
47147
47147
|
var { Deflate, deflate, deflateRaw, gzip } = require_deflate4();
|
|
47148
47148
|
var { Inflate, inflate, inflateRaw, ungzip } = require_inflate4();
|
|
@@ -47159,9 +47159,9 @@ var require_pako2 = __commonJS({
|
|
|
47159
47159
|
}
|
|
47160
47160
|
});
|
|
47161
47161
|
|
|
47162
|
-
// node_modules/ag-psd/dist/helpers.js
|
|
47162
|
+
// ../../node_modules/ag-psd/dist/helpers.js
|
|
47163
47163
|
var require_helpers = __commonJS({
|
|
47164
|
-
"node_modules/ag-psd/dist/helpers.js"(exports) {
|
|
47164
|
+
"../../node_modules/ag-psd/dist/helpers.js"(exports) {
|
|
47165
47165
|
"use strict";
|
|
47166
47166
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47167
47167
|
exports.initializeCanvas = exports.createImageData = exports.createCanvasFromData = exports.createCanvas = exports.writeDataZipWithoutPrediction = exports.writeDataRLE = exports.writeDataRaw = exports.decodeBitmap = exports.imageDataToCanvas = exports.resetImageData = exports.hasAlpha = exports.clamp = exports.offsetForChannel = exports.Compression = exports.ChannelID = exports.MaskParams = exports.LayerMaskFlags = exports.ColorSpace = exports.createEnum = exports.revMap = exports.largeAdditionalInfoKeys = exports.layerColors = exports.toBlendMode = exports.fromBlendMode = exports.RAW_IMAGE_DATA = exports.MOCK_HANDLERS = void 0;
|
|
@@ -47549,9 +47549,9 @@ var require_helpers = __commonJS({
|
|
|
47549
47549
|
}
|
|
47550
47550
|
});
|
|
47551
47551
|
|
|
47552
|
-
// node_modules/ag-psd/dist/utf8.js
|
|
47552
|
+
// ../../node_modules/ag-psd/dist/utf8.js
|
|
47553
47553
|
var require_utf8 = __commonJS({
|
|
47554
|
-
"node_modules/ag-psd/dist/utf8.js"(exports) {
|
|
47554
|
+
"../../node_modules/ag-psd/dist/utf8.js"(exports) {
|
|
47555
47555
|
"use strict";
|
|
47556
47556
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47557
47557
|
exports.decodeString = exports.encodeString = exports.encodeStringTo = exports.stringLengthInBytes = void 0;
|
|
@@ -47698,9 +47698,9 @@ var require_utf8 = __commonJS({
|
|
|
47698
47698
|
}
|
|
47699
47699
|
});
|
|
47700
47700
|
|
|
47701
|
-
// node_modules/ag-psd/dist/descriptor.js
|
|
47701
|
+
// ../../node_modules/ag-psd/dist/descriptor.js
|
|
47702
47702
|
var require_descriptor = __commonJS({
|
|
47703
|
-
"node_modules/ag-psd/dist/descriptor.js"(exports) {
|
|
47703
|
+
"../../node_modules/ag-psd/dist/descriptor.js"(exports) {
|
|
47704
47704
|
"use strict";
|
|
47705
47705
|
var __assign = exports && exports.__assign || function() {
|
|
47706
47706
|
__assign = Object.assign || function(t3) {
|
|
@@ -50051,9 +50051,9 @@ var require_descriptor = __commonJS({
|
|
|
50051
50051
|
}
|
|
50052
50052
|
});
|
|
50053
50053
|
|
|
50054
|
-
// node_modules/ag-psd/dist/imageResources.js
|
|
50054
|
+
// ../../node_modules/ag-psd/dist/imageResources.js
|
|
50055
50055
|
var require_imageResources = __commonJS({
|
|
50056
|
-
"node_modules/ag-psd/dist/imageResources.js"(exports) {
|
|
50056
|
+
"../../node_modules/ag-psd/dist/imageResources.js"(exports) {
|
|
50057
50057
|
"use strict";
|
|
50058
50058
|
var __assign = exports && exports.__assign || function() {
|
|
50059
50059
|
__assign = Object.assign || function(t3) {
|
|
@@ -51347,9 +51347,9 @@ var require_imageResources = __commonJS({
|
|
|
51347
51347
|
}
|
|
51348
51348
|
});
|
|
51349
51349
|
|
|
51350
|
-
// node_modules/ag-psd/dist/psdReader.js
|
|
51350
|
+
// ../../node_modules/ag-psd/dist/psdReader.js
|
|
51351
51351
|
var require_psdReader = __commonJS({
|
|
51352
|
-
"node_modules/ag-psd/dist/psdReader.js"(exports) {
|
|
51352
|
+
"../../node_modules/ag-psd/dist/psdReader.js"(exports) {
|
|
51353
51353
|
"use strict";
|
|
51354
51354
|
var __rest = exports && exports.__rest || function(s2, e3) {
|
|
51355
51355
|
var t3 = {};
|
|
@@ -52504,9 +52504,9 @@ var require_psdReader = __commonJS({
|
|
|
52504
52504
|
}
|
|
52505
52505
|
});
|
|
52506
52506
|
|
|
52507
|
-
// node_modules/ag-psd/dist/effectsHelpers.js
|
|
52507
|
+
// ../../node_modules/ag-psd/dist/effectsHelpers.js
|
|
52508
52508
|
var require_effectsHelpers = __commonJS({
|
|
52509
|
-
"node_modules/ag-psd/dist/effectsHelpers.js"(exports) {
|
|
52509
|
+
"../../node_modules/ag-psd/dist/effectsHelpers.js"(exports) {
|
|
52510
52510
|
"use strict";
|
|
52511
52511
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
52512
52512
|
exports.writeEffects = exports.readEffects = void 0;
|
|
@@ -52822,9 +52822,9 @@ var require_effectsHelpers = __commonJS({
|
|
|
52822
52822
|
}
|
|
52823
52823
|
});
|
|
52824
52824
|
|
|
52825
|
-
// node_modules/ag-psd/dist/engineData.js
|
|
52825
|
+
// ../../node_modules/ag-psd/dist/engineData.js
|
|
52826
52826
|
var require_engineData = __commonJS({
|
|
52827
|
-
"node_modules/ag-psd/dist/engineData.js"(exports) {
|
|
52827
|
+
"../../node_modules/ag-psd/dist/engineData.js"(exports) {
|
|
52828
52828
|
"use strict";
|
|
52829
52829
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
52830
52830
|
exports.serializeEngineData = exports.parseEngineData = void 0;
|
|
@@ -53163,9 +53163,9 @@ var require_engineData = __commonJS({
|
|
|
53163
53163
|
}
|
|
53164
53164
|
});
|
|
53165
53165
|
|
|
53166
|
-
// node_modules/ag-psd/dist/text.js
|
|
53166
|
+
// ../../node_modules/ag-psd/dist/text.js
|
|
53167
53167
|
var require_text = __commonJS({
|
|
53168
|
-
"node_modules/ag-psd/dist/text.js"(exports) {
|
|
53168
|
+
"../../node_modules/ag-psd/dist/text.js"(exports) {
|
|
53169
53169
|
"use strict";
|
|
53170
53170
|
var __assign = exports && exports.__assign || function() {
|
|
53171
53171
|
__assign = Object.assign || function(t3) {
|
|
@@ -53780,9 +53780,9 @@ var require_text = __commonJS({
|
|
|
53780
53780
|
}
|
|
53781
53781
|
});
|
|
53782
53782
|
|
|
53783
|
-
// node_modules/ag-psd/dist/engineData2.js
|
|
53783
|
+
// ../../node_modules/ag-psd/dist/engineData2.js
|
|
53784
53784
|
var require_engineData2 = __commonJS({
|
|
53785
|
-
"node_modules/ag-psd/dist/engineData2.js"(exports) {
|
|
53785
|
+
"../../node_modules/ag-psd/dist/engineData2.js"(exports) {
|
|
53786
53786
|
"use strict";
|
|
53787
53787
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53788
53788
|
exports.decodeEngineData2 = void 0;
|
|
@@ -54194,9 +54194,9 @@ var require_engineData2 = __commonJS({
|
|
|
54194
54194
|
}
|
|
54195
54195
|
});
|
|
54196
54196
|
|
|
54197
|
-
// node_modules/ag-psd/dist/additionalInfo.js
|
|
54197
|
+
// ../../node_modules/ag-psd/dist/additionalInfo.js
|
|
54198
54198
|
var require_additionalInfo = __commonJS({
|
|
54199
|
-
"node_modules/ag-psd/dist/additionalInfo.js"(exports) {
|
|
54199
|
+
"../../node_modules/ag-psd/dist/additionalInfo.js"(exports) {
|
|
54200
54200
|
"use strict";
|
|
54201
54201
|
var __assign = exports && exports.__assign || function() {
|
|
54202
54202
|
__assign = Object.assign || function(t3) {
|
|
@@ -57817,9 +57817,9 @@ var require_additionalInfo = __commonJS({
|
|
|
57817
57817
|
}
|
|
57818
57818
|
});
|
|
57819
57819
|
|
|
57820
|
-
// node_modules/ag-psd/dist/psdWriter.js
|
|
57820
|
+
// ../../node_modules/ag-psd/dist/psdWriter.js
|
|
57821
57821
|
var require_psdWriter = __commonJS({
|
|
57822
|
-
"node_modules/ag-psd/dist/psdWriter.js"(exports) {
|
|
57822
|
+
"../../node_modules/ag-psd/dist/psdWriter.js"(exports) {
|
|
57823
57823
|
"use strict";
|
|
57824
57824
|
var __assign = exports && exports.__assign || function() {
|
|
57825
57825
|
__assign = Object.assign || function(t3) {
|
|
@@ -58648,9 +58648,9 @@ var require_psdWriter = __commonJS({
|
|
|
58648
58648
|
}
|
|
58649
58649
|
});
|
|
58650
58650
|
|
|
58651
|
-
// node_modules/ag-psd/dist/abr.js
|
|
58651
|
+
// ../../node_modules/ag-psd/dist/abr.js
|
|
58652
58652
|
var require_abr = __commonJS({
|
|
58653
|
-
"node_modules/ag-psd/dist/abr.js"(exports) {
|
|
58653
|
+
"../../node_modules/ag-psd/dist/abr.js"(exports) {
|
|
58654
58654
|
"use strict";
|
|
58655
58655
|
var __assign = exports && exports.__assign || function() {
|
|
58656
58656
|
__assign = Object.assign || function(t3) {
|
|
@@ -59021,9 +59021,9 @@ var require_abr = __commonJS({
|
|
|
59021
59021
|
}
|
|
59022
59022
|
});
|
|
59023
59023
|
|
|
59024
|
-
// node_modules/ag-psd/dist/csh.js
|
|
59024
|
+
// ../../node_modules/ag-psd/dist/csh.js
|
|
59025
59025
|
var require_csh = __commonJS({
|
|
59026
|
-
"node_modules/ag-psd/dist/csh.js"(exports) {
|
|
59026
|
+
"../../node_modules/ag-psd/dist/csh.js"(exports) {
|
|
59027
59027
|
"use strict";
|
|
59028
59028
|
var __assign = exports && exports.__assign || function() {
|
|
59029
59029
|
__assign = Object.assign || function(t3) {
|
|
@@ -59073,9 +59073,9 @@ var require_csh = __commonJS({
|
|
|
59073
59073
|
}
|
|
59074
59074
|
});
|
|
59075
59075
|
|
|
59076
|
-
// node_modules/ag-psd/dist/psd.js
|
|
59076
|
+
// ../../node_modules/ag-psd/dist/psd.js
|
|
59077
59077
|
var require_psd = __commonJS({
|
|
59078
|
-
"node_modules/ag-psd/dist/psd.js"(exports) {
|
|
59078
|
+
"../../node_modules/ag-psd/dist/psd.js"(exports) {
|
|
59079
59079
|
"use strict";
|
|
59080
59080
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59081
59081
|
exports.LayerCompCapturedInfo = exports.SectionDividerType = exports.ColorMode = void 0;
|
|
@@ -59107,9 +59107,9 @@ var require_psd = __commonJS({
|
|
|
59107
59107
|
}
|
|
59108
59108
|
});
|
|
59109
59109
|
|
|
59110
|
-
// node_modules/ag-psd/dist/index.js
|
|
59110
|
+
// ../../node_modules/ag-psd/dist/index.js
|
|
59111
59111
|
var require_dist = __commonJS({
|
|
59112
|
-
"node_modules/ag-psd/dist/index.js"(exports) {
|
|
59112
|
+
"../../node_modules/ag-psd/dist/index.js"(exports) {
|
|
59113
59113
|
"use strict";
|
|
59114
59114
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o2, m, k, k2) {
|
|
59115
59115
|
if (k2 === void 0) k2 = k;
|
|
@@ -59167,10 +59167,10 @@ var require_dist = __commonJS({
|
|
|
59167
59167
|
}
|
|
59168
59168
|
});
|
|
59169
59169
|
|
|
59170
|
-
// node_modules/@jsquash/webp/codec/dec/webp_dec.js
|
|
59170
|
+
// ../../node_modules/@jsquash/webp/codec/dec/webp_dec.js
|
|
59171
59171
|
var Module, webp_dec_default;
|
|
59172
59172
|
var init_webp_dec = __esm({
|
|
59173
|
-
"node_modules/@jsquash/webp/codec/dec/webp_dec.js"() {
|
|
59173
|
+
"../../node_modules/@jsquash/webp/codec/dec/webp_dec.js"() {
|
|
59174
59174
|
Module = (() => {
|
|
59175
59175
|
var _scriptDir = import.meta.url;
|
|
59176
59176
|
return function(Module3 = {}) {
|
|
@@ -60531,7 +60531,7 @@ var init_webp_dec = __esm({
|
|
|
60531
60531
|
}
|
|
60532
60532
|
});
|
|
60533
60533
|
|
|
60534
|
-
// node_modules/@jsquash/webp/utils.js
|
|
60534
|
+
// ../../node_modules/@jsquash/webp/utils.js
|
|
60535
60535
|
function initEmscriptenModule(moduleFactory, wasmModule, moduleOptionOverrides = {}) {
|
|
60536
60536
|
let instantiateWasm;
|
|
60537
60537
|
if (wasmModule) {
|
|
@@ -60549,11 +60549,11 @@ function initEmscriptenModule(moduleFactory, wasmModule, moduleOptionOverrides =
|
|
|
60549
60549
|
});
|
|
60550
60550
|
}
|
|
60551
60551
|
var init_utils = __esm({
|
|
60552
|
-
"node_modules/@jsquash/webp/utils.js"() {
|
|
60552
|
+
"../../node_modules/@jsquash/webp/utils.js"() {
|
|
60553
60553
|
}
|
|
60554
60554
|
});
|
|
60555
60555
|
|
|
60556
|
-
// node_modules/@jsquash/webp/decode.js
|
|
60556
|
+
// ../../node_modules/@jsquash/webp/decode.js
|
|
60557
60557
|
var decode_exports = {};
|
|
60558
60558
|
__export(decode_exports, {
|
|
60559
60559
|
default: () => decode3,
|
|
@@ -60579,13 +60579,13 @@ async function decode3(buffer) {
|
|
|
60579
60579
|
}
|
|
60580
60580
|
var emscriptenModule;
|
|
60581
60581
|
var init_decode = __esm({
|
|
60582
|
-
"node_modules/@jsquash/webp/decode.js"() {
|
|
60582
|
+
"../../node_modules/@jsquash/webp/decode.js"() {
|
|
60583
60583
|
init_webp_dec();
|
|
60584
60584
|
init_utils();
|
|
60585
60585
|
}
|
|
60586
60586
|
});
|
|
60587
60587
|
|
|
60588
|
-
// node_modules/@jsquash/avif/utils.js
|
|
60588
|
+
// ../../node_modules/@jsquash/avif/utils.js
|
|
60589
60589
|
function initEmscriptenModule2(moduleFactory, wasmModule, moduleOptionOverrides = {}) {
|
|
60590
60590
|
let instantiateWasm;
|
|
60591
60591
|
if (wasmModule) {
|
|
@@ -60603,14 +60603,14 @@ function initEmscriptenModule2(moduleFactory, wasmModule, moduleOptionOverrides
|
|
|
60603
60603
|
});
|
|
60604
60604
|
}
|
|
60605
60605
|
var init_utils2 = __esm({
|
|
60606
|
-
"node_modules/@jsquash/avif/utils.js"() {
|
|
60606
|
+
"../../node_modules/@jsquash/avif/utils.js"() {
|
|
60607
60607
|
}
|
|
60608
60608
|
});
|
|
60609
60609
|
|
|
60610
|
-
// node_modules/@jsquash/avif/codec/dec/avif_dec.js
|
|
60610
|
+
// ../../node_modules/@jsquash/avif/codec/dec/avif_dec.js
|
|
60611
60611
|
var Module2, avif_dec_default;
|
|
60612
60612
|
var init_avif_dec = __esm({
|
|
60613
|
-
"node_modules/@jsquash/avif/codec/dec/avif_dec.js"() {
|
|
60613
|
+
"../../node_modules/@jsquash/avif/codec/dec/avif_dec.js"() {
|
|
60614
60614
|
Module2 = (() => {
|
|
60615
60615
|
var _scriptDir = import.meta.url;
|
|
60616
60616
|
return function(moduleArg = {}) {
|
|
@@ -61906,7 +61906,7 @@ var init_avif_dec = __esm({
|
|
|
61906
61906
|
}
|
|
61907
61907
|
});
|
|
61908
61908
|
|
|
61909
|
-
// node_modules/@jsquash/avif/decode.js
|
|
61909
|
+
// ../../node_modules/@jsquash/avif/decode.js
|
|
61910
61910
|
var decode_exports2 = {};
|
|
61911
61911
|
__export(decode_exports2, {
|
|
61912
61912
|
default: () => decode4,
|
|
@@ -61935,15 +61935,15 @@ async function decode4(buffer, options) {
|
|
|
61935
61935
|
}
|
|
61936
61936
|
var emscriptenModule2;
|
|
61937
61937
|
var init_decode2 = __esm({
|
|
61938
|
-
"node_modules/@jsquash/avif/decode.js"() {
|
|
61938
|
+
"../../node_modules/@jsquash/avif/decode.js"() {
|
|
61939
61939
|
init_utils2();
|
|
61940
61940
|
init_avif_dec();
|
|
61941
61941
|
}
|
|
61942
61942
|
});
|
|
61943
61943
|
|
|
61944
|
-
// node_modules/ignore/index.js
|
|
61944
|
+
// ../../node_modules/ignore/index.js
|
|
61945
61945
|
var require_ignore = __commonJS({
|
|
61946
|
-
"node_modules/ignore/index.js"(exports, module) {
|
|
61946
|
+
"../../node_modules/ignore/index.js"(exports, module) {
|
|
61947
61947
|
function makeArray(subject) {
|
|
61948
61948
|
return Array.isArray(subject) ? subject : [subject];
|
|
61949
61949
|
}
|
|
@@ -66856,64 +66856,17 @@ function createHandlers(dataRoot, opts = {}) {
|
|
|
66856
66856
|
(data) => enqueue(async () => {
|
|
66857
66857
|
const d = data;
|
|
66858
66858
|
const edits = Array.isArray(d.edits) ? d.edits : [d];
|
|
66859
|
-
const touched = applyEdits2(dataRoot, s2, edits);
|
|
66860
|
-
|
|
66859
|
+
const { touched, created, appended } = applyEdits2(dataRoot, s2, edits);
|
|
66860
|
+
if (created.length) broadcast(await doReindex());
|
|
66861
|
+
else for (const f2 of touched) broadcast(await doReindexFile(f2));
|
|
66861
66862
|
scheduleHasher();
|
|
66863
|
+
if (created.length) return { ok: true, path: created[created.length - 1] };
|
|
66864
|
+
if (appended.length) return { ok: true, path: lastBodyChildPath(s2, appended[appended.length - 1]) };
|
|
66862
66865
|
return { ok: true };
|
|
66863
66866
|
})
|
|
66864
66867
|
).then((body) => sendJson(res, 200, body)).catch((e3) => sendJson(res, 400, { error: String(e3.message || e3) }));
|
|
66865
66868
|
return;
|
|
66866
66869
|
}
|
|
66867
|
-
if (req.method === "POST" && url.pathname === "/api/create") {
|
|
66868
|
-
readBody(req).then(
|
|
66869
|
-
(data) => enqueue(async () => {
|
|
66870
|
-
const b = data;
|
|
66871
|
-
const reg = CREATABLE[String(b.schema ?? "")];
|
|
66872
|
-
if (!reg) throw new Error(`unknown schema: ${b.schema}`);
|
|
66873
|
-
const concrete = String(b.concrete ?? "");
|
|
66874
|
-
const parentSegs = strToSegs(b.parent ?? ":");
|
|
66875
|
-
const row2 = s2.node(storePath(parentSegs));
|
|
66876
|
-
if (!row2) throw new Error(`no such node: ${b.parent}`);
|
|
66877
|
-
const title = String(b.title ?? "").trim() || defaultTitle(String(b.schema));
|
|
66878
|
-
const body = reg.body(title);
|
|
66879
|
-
const objSrc = objectFileSource(reg.tag, body);
|
|
66880
|
-
if (reg.childOf.includes(row2.format ?? "")) {
|
|
66881
|
-
const { docSegs, bodyFile, dirBacked } = chapterSource(dataRoot, s2, parentSegs);
|
|
66882
|
-
const within = parentSegs.slice(docSegs.length);
|
|
66883
|
-
if (concrete === "yamlover") {
|
|
66884
|
-
const src = fs10.readFileSync(bodyFile, "utf8");
|
|
66885
|
-
fs10.writeFileSync(bodyFile, appendBody(src, within, (indent) => inlineChildLines(body, indent)));
|
|
66886
|
-
broadcast(await doReindexFile(bodyFile));
|
|
66887
|
-
scheduleHasher();
|
|
66888
|
-
return { path: lastBodyChildPath(s2, parentSegs) };
|
|
66889
|
-
}
|
|
66890
|
-
if (concrete === "file/yamlover" || concrete === "dir/yamlover") {
|
|
66891
|
-
const writeDirSegs = dirBacked ? docSegs : docSegs.slice(0, -1);
|
|
66892
|
-
const writeDir = path10.resolve(dataRoot, ...writeDirSegs.map(String));
|
|
66893
|
-
const final = writeObject(dataRoot, writeDir, sanitizeName(title), concrete, objSrc);
|
|
66894
|
-
const targetSegs = [...writeDirSegs, final];
|
|
66895
|
-
const pointer = dirBacked ? `*/${final}` : `*/${segsToStr(targetSegs)}`;
|
|
66896
|
-
const src = fs10.readFileSync(bodyFile, "utf8");
|
|
66897
|
-
fs10.writeFileSync(bodyFile, appendBody(src, within, (indent) => [`${" ".repeat(indent)}- ${pointer}`]));
|
|
66898
|
-
broadcast(await doReindex());
|
|
66899
|
-
scheduleHasher();
|
|
66900
|
-
return { path: segsToStr(targetSegs) };
|
|
66901
|
-
}
|
|
66902
|
-
throw new Error(`invalid concrete for a child: ${concrete}`);
|
|
66903
|
-
}
|
|
66904
|
-
const abs = path10.resolve(dataRoot, ...parentSegs.map(String));
|
|
66905
|
-
if (parentSegs.every((g) => typeof g === "string") && fs10.existsSync(abs) && fs10.statSync(abs).isDirectory()) {
|
|
66906
|
-
if (concrete !== "file/yamlover" && concrete !== "dir/yamlover") throw new Error(`invalid concrete for a directory member: ${concrete}`);
|
|
66907
|
-
const final = writeObject(dataRoot, abs, objectBaseName(title), concrete, objSrc);
|
|
66908
|
-
broadcast(await doReindex());
|
|
66909
|
-
scheduleHasher();
|
|
66910
|
-
return { path: segsToStr([...parentSegs, final]) };
|
|
66911
|
-
}
|
|
66912
|
-
throw new Error("this schema can be created only inside a directory or a compatible parent");
|
|
66913
|
-
})
|
|
66914
|
-
).then((body) => sendJson(res, 201, body)).catch((e3) => sendJson(res, 400, { error: String(e3.message || e3) }));
|
|
66915
|
-
return;
|
|
66916
|
-
}
|
|
66917
66870
|
if (req.method === "POST" && url.pathname === "/api/mv") {
|
|
66918
66871
|
readBody(req).then(
|
|
66919
66872
|
(data) => enqueue(async () => {
|
|
@@ -67694,13 +67647,13 @@ function handlePaste(dataRoot, s2, input) {
|
|
|
67694
67647
|
const bytes = Buffer.from(input.contentBase64 || "", "base64");
|
|
67695
67648
|
if (bytes.length === 0) throw new Error("empty paste (no file bytes)");
|
|
67696
67649
|
const name = sanitizeName(input.filename ?? "");
|
|
67697
|
-
if (row.format === "x-yamlover-chapter") return pasteIntoChapter(dataRoot, s2, segs, name, bytes);
|
|
67650
|
+
if (row.format === "x-yamlover-chapter" && !input.inline) return pasteIntoChapter(dataRoot, s2, segs, name, bytes);
|
|
67698
67651
|
const dirSegs = nearestDirSegs(dataRoot, segs);
|
|
67699
67652
|
if (!dirSegs) throw new Error("no enclosing directory to paste into");
|
|
67700
67653
|
const dir = path10.resolve(dataRoot, ...dirSegs.map(String));
|
|
67701
67654
|
const final = uniqueName(dir, name);
|
|
67702
67655
|
writeInside(dataRoot, dir, final, bytes);
|
|
67703
|
-
return { path: segsToStr([...dirSegs, final]), dir: segsToStr(dirSegs), open: dirSegs.length !== segs.length };
|
|
67656
|
+
return { path: segsToStr([...dirSegs, final]), dir: segsToStr(dirSegs), open: !input.inline && dirSegs.length !== segs.length };
|
|
67704
67657
|
}
|
|
67705
67658
|
function nearestDirSegs(dataRoot, segs) {
|
|
67706
67659
|
for (let i2 = segs.length; i2 >= 0; i2--) {
|
|
@@ -67850,32 +67803,11 @@ function titleFromText(text) {
|
|
|
67850
67803
|
const t3 = first.replace(/^#{1,6}\s+/, "").trim();
|
|
67851
67804
|
return (t3.length > 80 ? t3.slice(0, 79).trimEnd() + "\u2026" : t3) || "Pasted text";
|
|
67852
67805
|
}
|
|
67853
|
-
var CREATABLE = {
|
|
67854
|
-
"::yamlover:$defs:chapter": {
|
|
67855
|
-
tag: "*::yamlover:$defs:chapter",
|
|
67856
|
-
childOf: ["x-yamlover-chapter", "x-yamlover-task"],
|
|
67857
|
-
// a chapter with one empty prose chunk (a positional body item), so it is immediately editable
|
|
67858
|
-
body: (title) => [`title: ${JSON.stringify(title)}`, `- ""`]
|
|
67859
|
-
}
|
|
67860
|
-
};
|
|
67861
67806
|
function lastBodyChildPath(s2, parentSegs) {
|
|
67862
67807
|
const positional = s2.entries(storePath(parentSegs)).filter((e3) => e3.kind === "contain" && e3.label == null);
|
|
67863
67808
|
const last = positional[positional.length - 1];
|
|
67864
67809
|
return last ? segsToStr(storePathToSegs(last.to)) : segsToStr([...parentSegs, 0]);
|
|
67865
67810
|
}
|
|
67866
|
-
function defaultTitle(schema) {
|
|
67867
|
-
const segs = strToSegs(schema);
|
|
67868
|
-
return "New " + String(segs[segs.length - 1] ?? "object");
|
|
67869
|
-
}
|
|
67870
|
-
function objectFileSource(tag, body) {
|
|
67871
|
-
return `!!<${tag}>
|
|
67872
|
-
${body.join("\n")}
|
|
67873
|
-
`;
|
|
67874
|
-
}
|
|
67875
|
-
function inlineChildLines(body, indent) {
|
|
67876
|
-
const pad = " ".repeat(indent);
|
|
67877
|
-
return body.map((line, i2) => i2 === 0 ? `${pad}- ${line}` : `${pad} ${line}`);
|
|
67878
|
-
}
|
|
67879
67811
|
function objectBaseName(title) {
|
|
67880
67812
|
const base = title.replace(/[^\p{L}\p{N} ._-]+/gu, " ").replace(/\s+/g, " ").trim().slice(0, 60).trim().replace(/^\.+/, "");
|
|
67881
67813
|
return base || "new";
|
|
@@ -67952,13 +67884,20 @@ var isContentLine2 = (line) => {
|
|
|
67952
67884
|
const t3 = line.trim();
|
|
67953
67885
|
return t3.length > 0 && !t3.startsWith("#");
|
|
67954
67886
|
};
|
|
67955
|
-
function
|
|
67956
|
-
const pad = " ".repeat(indent);
|
|
67887
|
+
function escapeScalarSrc(text) {
|
|
67957
67888
|
const first = text.split("\n").find((l2) => l2.trim().length > 0);
|
|
67958
|
-
if (!first || /^\s/.test(first)) return
|
|
67889
|
+
if (!first || /^\s/.test(first)) return JSON.stringify(text);
|
|
67959
67890
|
const body = text.endsWith("\n") ? text.slice(0, -1) : text;
|
|
67960
67891
|
const head = text.endsWith("\n") ? "|" : "|-";
|
|
67961
|
-
return [
|
|
67892
|
+
return [head, ...body.split("\n").map((l2) => l2.trim().length ? " " + l2 : "")].join("\n");
|
|
67893
|
+
}
|
|
67894
|
+
function renderEntry(valueSrc, indent, marker, tag, deeper = false) {
|
|
67895
|
+
const pad = " ".repeat(indent + (deeper ? 2 : 0));
|
|
67896
|
+
const [first, ...rest] = valueSrc.split("\n");
|
|
67897
|
+
return [`${" ".repeat(indent)}${marker}${tag ? tag + " " : ""}${first}`, ...rest.map((l2) => l2.trim().length ? pad + l2 : "")];
|
|
67898
|
+
}
|
|
67899
|
+
function textChunkLines(text, indent) {
|
|
67900
|
+
return renderEntry(escapeScalarSrc(text), indent, "- ");
|
|
67962
67901
|
}
|
|
67963
67902
|
function chapterEntries(lines, r2) {
|
|
67964
67903
|
const starts = [];
|
|
@@ -67983,16 +67922,36 @@ function chapterEntries(lines, r2) {
|
|
|
67983
67922
|
inline: s2.inline
|
|
67984
67923
|
}));
|
|
67985
67924
|
}
|
|
67986
|
-
function
|
|
67987
|
-
|
|
67925
|
+
function findEntry(lines, r2, seg) {
|
|
67926
|
+
const entries = chapterEntries(lines, r2);
|
|
67927
|
+
return typeof seg === "number" ? entries[seg] : entries.find((e3) => e3.key === seg);
|
|
67928
|
+
}
|
|
67929
|
+
function entryHead(lines, e3) {
|
|
67930
|
+
let t3 = lines[e3.start].trim().replace(/^-\s*/, "").replace(/^!!<[^>]*>\s*/, "");
|
|
67931
|
+
if (e3.key) t3 = t3.slice(t3.indexOf(":") + 1).trim();
|
|
67932
|
+
return t3;
|
|
67933
|
+
}
|
|
67934
|
+
function isContainerEntry(lines, e3, childIndent) {
|
|
67935
|
+
const head = entryHead(lines, e3);
|
|
67936
|
+
if (/^[|>][+-]?\d*$/.test(head.trim())) return itemHasFields(lines, e3, childIndent);
|
|
67937
|
+
if (/^[^\s"'*|>#-][^:]*:(\s|$)/.test(head)) return true;
|
|
67938
|
+
for (let i2 = e3.start + 1; i2 < e3.end; i2++) {
|
|
67939
|
+
if (!isContentLine2(lines[i2])) continue;
|
|
67940
|
+
const ind = indentOf2(lines[i2]);
|
|
67941
|
+
if (ind < childIndent) break;
|
|
67942
|
+
if (ind === childIndent) return true;
|
|
67943
|
+
}
|
|
67944
|
+
return false;
|
|
67988
67945
|
}
|
|
67989
|
-
function reachChapter(lines,
|
|
67946
|
+
function reachChapter(lines, within) {
|
|
67990
67947
|
let r2 = { lo: 0, hi: lines.length, indent: firstContentIndent2(lines), marker: -1 };
|
|
67991
|
-
for (const seg of
|
|
67992
|
-
const
|
|
67993
|
-
|
|
67994
|
-
if (!
|
|
67995
|
-
|
|
67948
|
+
for (const seg of within) {
|
|
67949
|
+
const entry = findEntry(lines, r2, seg);
|
|
67950
|
+
if (!entry) throw new Error(`no entry at ${typeof seg === "number" ? `[${seg}]` : seg}`);
|
|
67951
|
+
if (!isContainerEntry(lines, entry, r2.indent + 2)) {
|
|
67952
|
+
throw new Error(`cannot descend into a scalar element at ${typeof seg === "number" ? `[${seg}]` : seg}`);
|
|
67953
|
+
}
|
|
67954
|
+
r2 = { lo: entry.start + 1, hi: entry.end, indent: r2.indent + 2, marker: entry.start };
|
|
67996
67955
|
}
|
|
67997
67956
|
return r2;
|
|
67998
67957
|
}
|
|
@@ -68009,60 +67968,106 @@ function appendBody(text, chapterPath, renderItems) {
|
|
|
68009
67968
|
lines.splice(bodyAppendPoint(lines, r2), 0, ...renderItems(r2.indent));
|
|
68010
67969
|
return lines.join("\n");
|
|
68011
67970
|
}
|
|
68012
|
-
|
|
68013
|
-
|
|
68014
|
-
|
|
68015
|
-
|
|
67971
|
+
var opensEntry = (t3) => t3 === "-" || t3.startsWith("- ") || /^[^\s"'*|>#-][^:]*:(\s|$)/.test(t3);
|
|
67972
|
+
var isBlockHeader = (head) => /^[|>][+-]?\d*$/.test(head.trim());
|
|
67973
|
+
function groupEntries(lines, at) {
|
|
67974
|
+
const starts = lines.map((l2, i2) => i2).filter((i2) => isContentLine2(lines[i2]) && indentOf2(lines[i2]) === at);
|
|
67975
|
+
const keyed = [];
|
|
67976
|
+
const ordinal = [];
|
|
67977
|
+
starts.forEach((s2, k) => {
|
|
67978
|
+
const group = lines.slice(s2, k + 1 < starts.length ? starts[k + 1] : lines.length).map((l2) => l2.slice(at));
|
|
67979
|
+
(lines[s2].trim() === "-" || lines[s2].trim().startsWith("- ") ? ordinal : keyed).push(group);
|
|
67980
|
+
});
|
|
67981
|
+
return { keyed, ordinal };
|
|
67982
|
+
}
|
|
67983
|
+
function payloadFacets(src) {
|
|
67984
|
+
const lines = src.split("\n");
|
|
67985
|
+
const first = lines.find(isContentLine2);
|
|
67986
|
+
if (first === void 0) return { keyed: [], ordinal: [] };
|
|
67987
|
+
if (!opensEntry(first.trim())) return { scalar: src, keyed: [], ordinal: [] };
|
|
67988
|
+
return { scalar: void 0, ...groupEntries(lines, 0) };
|
|
67989
|
+
}
|
|
67990
|
+
function entryFacets(lines, e3, indent) {
|
|
67991
|
+
const marked = lines[e3.start].trim().replace(/^-\s*/, "");
|
|
67992
|
+
const tag = marked.match(/^(!!<[^>]*>)/)?.[1];
|
|
67993
|
+
const head = entryHead(lines, e3);
|
|
67994
|
+
const childIndent = indent + 2;
|
|
67995
|
+
const value = (from, to2, at) => [head, ...lines.slice(from, to2).map((l2) => l2.trim().length ? " " + l2.slice(at) : "")].join("\n").replace(/\n+$/, "");
|
|
67996
|
+
if (!isContainerEntry(lines, e3, childIndent)) {
|
|
67997
|
+
return { tag, scalar: value(e3.start + 1, e3.end, childIndent), keyed: [], ordinal: [] };
|
|
67998
|
+
}
|
|
67999
|
+
const blockValue = isBlockHeader(head);
|
|
68000
|
+
let firstChild = e3.end;
|
|
68001
|
+
for (let i2 = e3.start + 1; i2 < e3.end; i2++) {
|
|
68002
|
+
if (isContentLine2(lines[i2]) && indentOf2(lines[i2]) === childIndent) {
|
|
68003
|
+
firstChild = i2;
|
|
68004
|
+
break;
|
|
68005
|
+
}
|
|
68006
|
+
}
|
|
68007
|
+
const scalar2 = blockValue ? value(e3.start + 1, firstChild, childIndent + 2) : void 0;
|
|
68008
|
+
const groups = groupEntries(lines.slice(firstChild, e3.end), childIndent);
|
|
68009
|
+
if (!blockValue && head) groups.keyed.unshift([head]);
|
|
68010
|
+
return { tag, scalar: scalar2, ...groups };
|
|
68016
68011
|
}
|
|
68017
|
-
function
|
|
68018
|
-
const
|
|
68019
|
-
|
|
68020
|
-
|
|
68021
|
-
|
|
68012
|
+
function renderNode(f2, indent, marker, tag) {
|
|
68013
|
+
const pad = " ".repeat(indent);
|
|
68014
|
+
const childPad = " ".repeat(indent + 2);
|
|
68015
|
+
const groups = [...f2.keyed, ...f2.ordinal];
|
|
68016
|
+
const child = (g) => g.map((l2) => l2.trim().length ? childPad + l2 : "");
|
|
68017
|
+
if (f2.scalar !== void 0) {
|
|
68018
|
+
return [...renderEntry(f2.scalar, indent, marker, tag, groups.length > 0), ...groups.flatMap(child)];
|
|
68019
|
+
}
|
|
68020
|
+
if (!groups.length) return [`${pad}${marker.trimEnd()}${tag ? " " + tag : ""}`];
|
|
68021
|
+
if (marker.startsWith("-") && !tag) {
|
|
68022
|
+
const [g0, ...rest] = groups;
|
|
68023
|
+
return [`${pad}${marker}${g0[0]}`, ...child(g0.slice(1)), ...rest.flatMap(child)];
|
|
68024
|
+
}
|
|
68025
|
+
return [`${pad}${marker.trimEnd()}${tag ? " " + tag : ""}`, ...groups.flatMap(child)];
|
|
68026
|
+
}
|
|
68027
|
+
function metaTag(meta, existing, preserve) {
|
|
68028
|
+
if (meta === null) return void 0;
|
|
68029
|
+
if (meta !== void 0) return `!!<${meta}>`;
|
|
68030
|
+
return preserve ? existing : void 0;
|
|
68031
|
+
}
|
|
68032
|
+
function assignAt(lines, r2, seg, op, valueSrc, meta) {
|
|
68033
|
+
const marker = (s2) => typeof s2 === "string" ? `${s2}: ` : "- ";
|
|
68034
|
+
if (op === "insert") {
|
|
68035
|
+
if (typeof seg === "string") throw new Error("`insert` needs a positional target (a path ending `[i]`, or the node itself)");
|
|
68036
|
+
const entry2 = seg === void 0 ? void 0 : findEntry(lines, r2, seg);
|
|
68037
|
+
const at = entry2 ? entry2.start : bodyAppendPoint(lines, r2);
|
|
68038
|
+
lines.splice(at, 0, ...renderNode(payloadFacets(valueSrc), r2.indent, "- ", metaTag(meta, void 0, false)));
|
|
68022
68039
|
return;
|
|
68023
68040
|
}
|
|
68024
|
-
|
|
68025
|
-
|
|
68026
|
-
|
|
68041
|
+
if (seg === void 0) throw new Error(`\`${op}\` needs a key or index target`);
|
|
68042
|
+
const entry = findEntry(lines, r2, seg);
|
|
68043
|
+
if (op === "remove") {
|
|
68044
|
+
if (!entry) throw new Error(`no entry at ${typeof seg === "number" ? `[${seg}]` : seg}`);
|
|
68045
|
+
lines.splice(entry.start, entry.end - entry.start);
|
|
68027
68046
|
return;
|
|
68028
68047
|
}
|
|
68029
|
-
|
|
68030
|
-
if (entry)
|
|
68031
|
-
|
|
68032
|
-
|
|
68033
|
-
|
|
68034
|
-
|
|
68035
|
-
|
|
68036
|
-
|
|
68037
|
-
const
|
|
68038
|
-
const
|
|
68039
|
-
const
|
|
68040
|
-
|
|
68041
|
-
|
|
68042
|
-
|
|
68043
|
-
|
|
68044
|
-
|
|
68045
|
-
|
|
68046
|
-
|
|
68047
|
-
|
|
68048
|
-
|
|
68049
|
-
|
|
68050
|
-
|
|
68051
|
-
lines.splice(start, end - start);
|
|
68052
|
-
}
|
|
68053
|
-
function taggedChunkLines(text, indent, tag) {
|
|
68054
|
-
const pad = " ".repeat(indent);
|
|
68055
|
-
const first = text.split("\n").find((l2) => l2.trim().length > 0);
|
|
68056
|
-
if (!first || /^\s/.test(first)) return [`${pad}- ${tag} ${JSON.stringify(text)}`];
|
|
68057
|
-
const body = text.endsWith("\n") ? text.slice(0, -1) : text;
|
|
68058
|
-
const head = text.endsWith("\n") ? "|" : "|-";
|
|
68059
|
-
return [`${pad}- ${tag} ${head}`, ...body.split("\n").map((l2) => l2.trim().length ? `${pad} ${l2}` : "")];
|
|
68060
|
-
}
|
|
68061
|
-
function assertProseBodyItem(lines, r2, rank) {
|
|
68062
|
-
const head = bodyItemHead(lines, r2, rank);
|
|
68063
|
-
if (head.startsWith("*")) throw new Error("cannot edit a file/pointer chunk as text");
|
|
68064
|
-
const tag = head.match(/^!!<([^>]*)>/)?.[1];
|
|
68065
|
-
if (tag && !/text\/(markdown|marklower|x-latex)/.test(tag)) throw new Error("cannot edit a non-text chunk as text");
|
|
68048
|
+
if (op !== "emplace" && op !== "replace") throw new Error(`unknown edit op: ${op}`);
|
|
68049
|
+
if (!entry) {
|
|
68050
|
+
if (op === "replace") throw new Error(`no entry at ${typeof seg === "number" ? `[${seg}]` : seg}`);
|
|
68051
|
+
const rendered = renderNode(payloadFacets(valueSrc), r2.indent, marker(seg), metaTag(meta, void 0, false));
|
|
68052
|
+
const at = typeof seg === "string" ? r2.marker >= 0 ? r2.marker + 1 : trimBack2(lines, r2.lo - 1, r2.hi) : bodyAppendPoint(lines, r2);
|
|
68053
|
+
lines.splice(at, 0, ...rendered);
|
|
68054
|
+
return;
|
|
68055
|
+
}
|
|
68056
|
+
const had = entryFacets(lines, entry, r2.indent);
|
|
68057
|
+
const payload = payloadFacets(valueSrc);
|
|
68058
|
+
const inlineKey = entry.inline ? entry.key : null;
|
|
68059
|
+
const next = op === "replace" ? payload : {
|
|
68060
|
+
scalar: payload.scalar ?? had.scalar,
|
|
68061
|
+
keyed: payload.keyed.length ? payload.keyed : had.keyed,
|
|
68062
|
+
ordinal: payload.ordinal.length ? payload.ordinal : had.ordinal
|
|
68063
|
+
};
|
|
68064
|
+
const tag = metaTag(meta, had.tag, op === "emplace");
|
|
68065
|
+
if (inlineKey) {
|
|
68066
|
+
const pad = " ".repeat(indentOf2(lines[entry.start]));
|
|
68067
|
+
lines[entry.start] = `${pad}- ${tag ? tag + " " : ""}${inlineKey}: ${next.scalar ?? '""'}`;
|
|
68068
|
+
return;
|
|
68069
|
+
}
|
|
68070
|
+
lines.splice(entry.start, entry.end - entry.start, ...renderNode(next, r2.indent, marker(seg), tag));
|
|
68066
68071
|
}
|
|
68067
68072
|
function reachChapterItem(lines, indices) {
|
|
68068
68073
|
const parent = reachChapter(lines, indices.slice(0, -1));
|
|
@@ -68125,49 +68130,109 @@ function splitChunkWithin(within) {
|
|
|
68125
68130
|
while (i2 < within.length && typeof within[i2] === "number") i2++;
|
|
68126
68131
|
return { indices: within.slice(0, i2).map(Number), keys: within.slice(i2).map(String) };
|
|
68127
68132
|
}
|
|
68128
|
-
function
|
|
68129
|
-
const
|
|
68130
|
-
|
|
68131
|
-
|
|
68132
|
-
if (
|
|
68133
|
-
|
|
68134
|
-
return lines.join("\n");
|
|
68133
|
+
function setRootTag(lines, meta) {
|
|
68134
|
+
const at = lines.findIndex(isContentLine2);
|
|
68135
|
+
const existing = at >= 0 && lines[at].trim().startsWith("!!<") ? at : -1;
|
|
68136
|
+
if (meta === null) {
|
|
68137
|
+
if (existing >= 0) lines.splice(existing, 1);
|
|
68138
|
+
return;
|
|
68135
68139
|
}
|
|
68136
|
-
if (
|
|
68137
|
-
|
|
68138
|
-
|
|
68139
|
-
|
|
68140
|
-
const
|
|
68141
|
-
if (
|
|
68142
|
-
|
|
68143
|
-
|
|
68144
|
-
|
|
68145
|
-
|
|
68146
|
-
|
|
68147
|
-
|
|
68148
|
-
|
|
68149
|
-
|
|
68140
|
+
if (existing >= 0) lines[existing] = `!!<${meta}>`;
|
|
68141
|
+
else lines.splice(Math.max(at, 0), 0, `!!<${meta}>`);
|
|
68142
|
+
}
|
|
68143
|
+
function editChapterSource(src, within, op, valueSrc, meta) {
|
|
68144
|
+
const lines = src.split("\n");
|
|
68145
|
+
if (within.length === 0) {
|
|
68146
|
+
if (op === "insert") {
|
|
68147
|
+
assignAt(lines, reachChapter(lines, []), void 0, op, valueSrc, meta);
|
|
68148
|
+
return lines.join("\n");
|
|
68149
|
+
}
|
|
68150
|
+
if (op === "emplace" && meta !== void 0 && !valueSrc) {
|
|
68151
|
+
setRootTag(lines, meta);
|
|
68152
|
+
return lines.join("\n");
|
|
68153
|
+
}
|
|
68154
|
+
throw new Error(`\`${op}\` at a document root needs a key or index target`);
|
|
68150
68155
|
}
|
|
68156
|
+
assignAt(lines, reachChapter(lines, within.slice(0, -1)), within[within.length - 1], op, valueSrc, meta);
|
|
68151
68157
|
return lines.join("\n");
|
|
68152
68158
|
}
|
|
68159
|
+
var isPointerValue = (src) => /^\*\S*$/.test(src.trim()) && !src.includes("\n");
|
|
68160
|
+
function isPlainDir(dataRoot, s2, segs) {
|
|
68161
|
+
if (!segs.every((g) => typeof g === "string")) return false;
|
|
68162
|
+
const abs = path10.resolve(dataRoot, ...segs.map(String));
|
|
68163
|
+
if (!fs10.existsSync(abs) || !fs10.statSync(abs).isDirectory()) return false;
|
|
68164
|
+
try {
|
|
68165
|
+
chapterSource(dataRoot, s2, segs);
|
|
68166
|
+
return false;
|
|
68167
|
+
} catch {
|
|
68168
|
+
return true;
|
|
68169
|
+
}
|
|
68170
|
+
}
|
|
68171
|
+
function bornAsDocument(dataRoot, e3, tag) {
|
|
68172
|
+
const writeDirSegs = e3.dirBacked ? e3.docSegs : e3.docSegs.slice(0, -1);
|
|
68173
|
+
const writeDir = path10.resolve(dataRoot, ...writeDirSegs.map(String));
|
|
68174
|
+
const src = [...tag ? [tag] : [], e3.valueSrc, ""].join("\n");
|
|
68175
|
+
const final = writeObject(dataRoot, writeDir, sanitizeName(e3.name || "object"), e3.concrete, src);
|
|
68176
|
+
const targetSegs = [...writeDirSegs, final];
|
|
68177
|
+
return { pointer: e3.dirBacked ? `*/${final}` : `*/${segsToStr(targetSegs)}`, path: segsToStr(targetSegs) };
|
|
68178
|
+
}
|
|
68153
68179
|
function applyEdits2(dataRoot, s2, edits) {
|
|
68154
68180
|
const byFile = /* @__PURE__ */ new Map();
|
|
68181
|
+
const appended = [];
|
|
68182
|
+
const created = [];
|
|
68155
68183
|
for (const e3 of edits) {
|
|
68156
68184
|
const editSegs = strToSegs(e3.path ?? "");
|
|
68157
|
-
const
|
|
68158
|
-
|
|
68185
|
+
const op = String(e3.op ?? "");
|
|
68186
|
+
if (op === "insert" && (e3.concrete === "file/yamlover" || e3.concrete === "dir/yamlover") && isPlainDir(dataRoot, s2, editSegs)) {
|
|
68187
|
+
const dir = path10.resolve(dataRoot, ...editSegs.map(String));
|
|
68188
|
+
const src = [...metaTag(e3.meta, void 0, false) ? [metaTag(e3.meta, void 0, false)] : [], String(e3.yamlover ?? ""), ""].join("\n");
|
|
68189
|
+
if (e3.yamlover) parseYamlover(String(e3.yamlover), "<edit>");
|
|
68190
|
+
const final = writeObject(dataRoot, dir, objectBaseName(String(e3.name || "new")), String(e3.concrete), src);
|
|
68191
|
+
created.push(segsToStr([...editSegs, final]));
|
|
68192
|
+
continue;
|
|
68193
|
+
}
|
|
68194
|
+
const { docSegs, bodyFile, dirBacked } = chapterSource(dataRoot, s2, editSegs);
|
|
68195
|
+
if (op === "insert" && !e3.concrete?.includes("/")) {
|
|
68196
|
+
const last = editSegs[editSegs.length - 1];
|
|
68197
|
+
if (typeof last !== "number") appended.push(editSegs);
|
|
68198
|
+
else if (!s2.node(storePath(editSegs))) appended.push(editSegs.slice(0, -1));
|
|
68199
|
+
}
|
|
68200
|
+
const concrete = e3.concrete ? String(e3.concrete) : void 0;
|
|
68201
|
+
if (concrete && concrete !== "yamlover" && op !== "insert" && !(op === "emplace" && !s2.node(storePath(editSegs)))) {
|
|
68202
|
+
throw new Error("`concrete` is only for content being created \u2014 converting an existing node is a move, not an edit");
|
|
68203
|
+
}
|
|
68159
68204
|
const list = byFile.get(bodyFile) ?? [];
|
|
68160
|
-
list.push({
|
|
68205
|
+
list.push({
|
|
68206
|
+
within: editSegs.slice(docSegs.length),
|
|
68207
|
+
op,
|
|
68208
|
+
valueSrc: String(e3.yamlover ?? ""),
|
|
68209
|
+
meta: e3.meta === void 0 ? void 0 : e3.meta === null ? null : String(e3.meta),
|
|
68210
|
+
concrete,
|
|
68211
|
+
name: e3.name ? String(e3.name) : void 0,
|
|
68212
|
+
docSegs,
|
|
68213
|
+
dirBacked
|
|
68214
|
+
});
|
|
68161
68215
|
byFile.set(bodyFile, list);
|
|
68162
68216
|
}
|
|
68163
68217
|
const touched = [];
|
|
68164
68218
|
for (const [bodyFile, ops] of byFile) {
|
|
68165
68219
|
let src = fs10.readFileSync(bodyFile, "utf8");
|
|
68166
|
-
for (const o2 of ops)
|
|
68220
|
+
for (const o2 of ops) {
|
|
68221
|
+
let { valueSrc, meta } = o2;
|
|
68222
|
+
const tag = metaTag(meta, void 0, false);
|
|
68223
|
+
if (valueSrc && !isPointerValue(valueSrc)) parseYamlover(valueSrc, "<edit>");
|
|
68224
|
+
if (o2.concrete === "file/yamlover" || o2.concrete === "dir/yamlover") {
|
|
68225
|
+
const born = bornAsDocument(dataRoot, o2, tag);
|
|
68226
|
+
created.push(born.path);
|
|
68227
|
+
valueSrc = born.pointer;
|
|
68228
|
+
meta = void 0;
|
|
68229
|
+
}
|
|
68230
|
+
src = editChapterSource(src, o2.within, o2.op, valueSrc, meta);
|
|
68231
|
+
}
|
|
68167
68232
|
fs10.writeFileSync(bodyFile, src);
|
|
68168
68233
|
touched.push(bodyFile);
|
|
68169
68234
|
}
|
|
68170
|
-
return touched;
|
|
68235
|
+
return { touched, created, appended };
|
|
68171
68236
|
}
|
|
68172
68237
|
function firstContentIndent2(lines) {
|
|
68173
68238
|
for (const l2 of lines) if (isContentLine2(l2)) return indentOf2(l2);
|
|
@@ -68211,7 +68276,7 @@ function descriptionOf(s2, p2) {
|
|
|
68211
68276
|
function scalarKeyOf(s2, p2, key) {
|
|
68212
68277
|
const kp = (p2 === ":" ? "" : p2) + ":" + key;
|
|
68213
68278
|
const t3 = s2.node(kp);
|
|
68214
|
-
if (t3 && t3.type === "scalar" &&
|
|
68279
|
+
if (t3 && t3.type === "scalar" && t3.value != null) return String(t3.value);
|
|
68215
68280
|
return null;
|
|
68216
68281
|
}
|
|
68217
68282
|
var PATH_TOKEN = /\[\d+\]|[^:\[\]]+/g;
|