@d0paminedriven/fs 0.1.0

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.
@@ -0,0 +1,568 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
9
+ var __esm = (fn, res) => function __init() {
10
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
11
+ };
12
+ var __commonJS = (cb, mod) => function __require() {
13
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
14
+ };
15
+ var __export = (target, all) => {
16
+ for (var name in all)
17
+ __defProp(target, name, { get: all[name], enumerable: true });
18
+ };
19
+ var __copyProps = (to, from, except, desc) => {
20
+ if (from && typeof from === "object" || typeof from === "function") {
21
+ for (let key of __getOwnPropNames(from))
22
+ if (!__hasOwnProp.call(to, key) && key !== except)
23
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
24
+ }
25
+ return to;
26
+ };
27
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
28
+ // If the importer is in node compatibility mode or this is not an ESM
29
+ // file that has been converted to a CommonJS file using a Babel-
30
+ // compatible transform (i.e. "__esModule" has not been set), then set
31
+ // "default" to the CommonJS "module.exports" for node compatibility.
32
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
33
+ mod
34
+ ));
35
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
36
+
37
+ // ../../node_modules/tsup/assets/cjs_shims.js
38
+ var init_cjs_shims = __esm({
39
+ "../../node_modules/tsup/assets/cjs_shims.js"() {
40
+ "use strict";
41
+ }
42
+ });
43
+
44
+ // ../../node_modules/dotenv-expand/lib/main.js
45
+ var require_main = __commonJS({
46
+ "../../node_modules/dotenv-expand/lib/main.js"(exports2, module2) {
47
+ "use strict";
48
+ init_cjs_shims();
49
+ function _resolveEscapeSequences(value) {
50
+ return value.replace(/\\\$/g, "$");
51
+ }
52
+ __name(_resolveEscapeSequences, "_resolveEscapeSequences");
53
+ function expandValue(value, processEnv, runningParsed) {
54
+ const env = { ...runningParsed, ...processEnv };
55
+ const regex = /(?<!\\)\${([^{}]+)}|(?<!\\)\$([A-Za-z_][A-Za-z0-9_]*)/g;
56
+ let result = value;
57
+ let match;
58
+ const seen = /* @__PURE__ */ new Set();
59
+ while ((match = regex.exec(result)) !== null) {
60
+ seen.add(result);
61
+ const [template, bracedExpression, unbracedExpression] = match;
62
+ const expression = bracedExpression || unbracedExpression;
63
+ const opRegex = /(:\+|\+|:-|-)/;
64
+ const opMatch = expression.match(opRegex);
65
+ const splitter = opMatch ? opMatch[0] : null;
66
+ const r = expression.split(splitter);
67
+ let defaultValue;
68
+ let value2;
69
+ const key = r.shift();
70
+ if ([":+", "+"].includes(splitter)) {
71
+ defaultValue = env[key] ? r.join(splitter) : "";
72
+ value2 = null;
73
+ } else {
74
+ defaultValue = r.join(splitter);
75
+ value2 = env[key];
76
+ }
77
+ if (value2) {
78
+ if (seen.has(value2)) {
79
+ result = result.replace(template, defaultValue);
80
+ } else {
81
+ result = result.replace(template, value2);
82
+ }
83
+ } else {
84
+ result = result.replace(template, defaultValue);
85
+ }
86
+ if (result === runningParsed[key]) {
87
+ break;
88
+ }
89
+ regex.lastIndex = 0;
90
+ }
91
+ return result;
92
+ }
93
+ __name(expandValue, "expandValue");
94
+ function expand2(options) {
95
+ const runningParsed = {};
96
+ let processEnv = process.env;
97
+ if (options && options.processEnv != null) {
98
+ processEnv = options.processEnv;
99
+ }
100
+ for (const key in options.parsed) {
101
+ let value = options.parsed[key];
102
+ if (processEnv[key] && processEnv[key] !== value) {
103
+ value = processEnv[key];
104
+ } else {
105
+ value = expandValue(value, processEnv, runningParsed);
106
+ }
107
+ options.parsed[key] = _resolveEscapeSequences(value);
108
+ runningParsed[key] = _resolveEscapeSequences(value);
109
+ }
110
+ for (const processKey in options.parsed) {
111
+ processEnv[processKey] = options.parsed[processKey];
112
+ }
113
+ return options;
114
+ }
115
+ __name(expand2, "expand");
116
+ module2.exports.expand = expand2;
117
+ }
118
+ });
119
+
120
+ // src/fs/index.ts
121
+ var fs_exports = {};
122
+ __export(fs_exports, {
123
+ default: () => Fs
124
+ });
125
+ module.exports = __toCommonJS(fs_exports);
126
+ init_cjs_shims();
127
+ var import_child_process = require("child_process");
128
+ var import_fs = __toESM(require("fs"), 1);
129
+ var import_promises = __toESM(require("fs/promises"), 1);
130
+ var import_path = require("path");
131
+ var dotenv = __toESM(require("dotenv"), 1);
132
+ var import_dotenv_expand = __toESM(require_main(), 1);
133
+ dotenv.config();
134
+ var Fs = class {
135
+ constructor(cwd) {
136
+ this.cwd = cwd;
137
+ }
138
+ static {
139
+ __name(this, "Fs");
140
+ }
141
+ extractTuple(obj, props) {
142
+ return [props, obj[props]];
143
+ }
144
+ sort(obj, order) {
145
+ return Object.fromEntries(
146
+ Object.entries(obj).sort(
147
+ ([a, _aa], [b, _bb]) => order === "DESC" ? b.localeCompare(a) - a.localeCompare(b) : a.localeCompare(b) - b.localeCompare(a)
148
+ )
149
+ );
150
+ }
151
+ excludeTargeted = /* @__PURE__ */ __name((obj, props, sort) => {
152
+ const resolve = Object.fromEntries(
153
+ Object.entries(obj).map(([key, val]) => {
154
+ if (props.includes(key)) {
155
+ return ["omit", "omit"];
156
+ } else return [key, val];
157
+ }).filter(([t, _v]) => /omit/.test(t) === false)
158
+ );
159
+ return typeof sort !== "undefined" ? this.sort(resolve, sort) : resolve;
160
+ }, "excludeTargeted");
161
+ includeTargeted = /* @__PURE__ */ __name((obj, props, sort) => {
162
+ const resolve = Object.fromEntries(
163
+ props.map((val) => this.extractTuple(obj, val))
164
+ );
165
+ return typeof sort !== "undefined" ? this.sort(resolve, sort) : resolve;
166
+ }, "includeTargeted");
167
+ get myEnv() {
168
+ return dotenv.config({ processEnv: {} });
169
+ }
170
+ parseDotEnv() {
171
+ return import_dotenv_expand.default.expand(this.myEnv);
172
+ }
173
+ omitFields(target, keys) {
174
+ let obj = target;
175
+ keys.forEach((t) => {
176
+ if (t in obj) {
177
+ delete obj[t];
178
+ return obj;
179
+ } else {
180
+ return obj;
181
+ }
182
+ });
183
+ return obj;
184
+ }
185
+ omitTargetedFields(targ, keys) {
186
+ return { ...this.omitFields(targ, keys) };
187
+ }
188
+ exists(target) {
189
+ return import_fs.default.existsSync((0, import_path.relative)(this.cwd ?? process.cwd(), target));
190
+ }
191
+ arrToArrOfArrs = /* @__PURE__ */ __name(({
192
+ arrToFragment = Array.of(),
193
+ arrOfArrsAggregator = Array.of(),
194
+ interval
195
+ }) => new Promise(
196
+ (resolve, _reject) => resolve(
197
+ ((interval2) => {
198
+ for (let i = 0; i <= arrToFragment.length; i++) {
199
+ if ((i % interval2 === 0 || i === 0) && i <= arrToFragment.length) {
200
+ let segment = arrToFragment.slice(i, i + interval2);
201
+ arrOfArrsAggregator.push(segment);
202
+ }
203
+ }
204
+ })(interval)
205
+ )
206
+ ).then((_) => arrOfArrsAggregator), "arrToArrOfArrs");
207
+ wait(ms) {
208
+ return new Promise((resolve) => setTimeout(resolve, ms));
209
+ }
210
+ countsSorter = /* @__PURE__ */ __name(({
211
+ counter,
212
+ keySort,
213
+ valSort
214
+ }) => Object.fromEntries(
215
+ Object.entries(counter).sort(
216
+ ([aStr, _aNum], [bStr, _bNum]) => keySort === "DESC" ? bStr.localeCompare(aStr) - aStr.localeCompare(bStr) : aStr.localeCompare(bStr) - bStr.localeCompare(aStr)
217
+ ).sort(
218
+ ([_aStr, aNum], [_bStr, bNum]) => valSort === "ASC" ? aNum - bNum : bNum - aNum
219
+ )
220
+ ), "countsSorter");
221
+ handleBuffStrArrUnion(arr) {
222
+ return arr.map(
223
+ (v) => Buffer.isBuffer(v) ? Buffer.from(v).toString("utf-8") : v
224
+ );
225
+ }
226
+ readDir(path, options) {
227
+ return this.handleBuffStrArrUnion(
228
+ import_fs.default.readdirSync(
229
+ (0, import_path.relative)(this.cwd ??= process.cwd(), path),
230
+ options
231
+ )
232
+ );
233
+ }
234
+ executeCommand = /* @__PURE__ */ __name(({
235
+ command,
236
+ ...options
237
+ }) => Buffer.from(
238
+ Buffer.from((0, import_child_process.execSync)(command, { ...options }).toJSON().data)
239
+ ).toString("utf-8"), "executeCommand");
240
+ fileGenTimestamp(d) {
241
+ const date = d.toISOString();
242
+ return `/* file-autogenerated by @d0paminedriven/fs on ${date.split(/([T])/gm)?.[0]} at ${date.split(/([T])/gm)[2]?.split(/([Z])/gm)?.[0]} UTC */`;
243
+ }
244
+ configFileGenTimestamp(d) {
245
+ return this.fileGenTimestamp(d).replace("/*", "#").replace("*/", "");
246
+ }
247
+ mdFileGenTimestamp(d) {
248
+ return this.fileGenTimestamp(d).replace("/*", "<!--").replace("*/", "-->");
249
+ }
250
+ existsSync(path) {
251
+ return import_fs.default.existsSync((0, import_path.relative)(this.cwd ?? process.cwd(), path));
252
+ }
253
+ pathHandler(path) {
254
+ return /\//g.test(path) === true ? path.split(/([/])/gim).reverse().slice(2).reverse().join("") : path;
255
+ }
256
+ mkdirSync(path, options) {
257
+ return import_fs.default.mkdirSync((0, import_path.relative)(this.cwd ?? process.cwd(), path), options);
258
+ }
259
+ fileSizeMb(path) {
260
+ return import_fs.default.statSync((0, import_path.relative)(this.cwd ?? process.cwd(), path)).size / (1024 * 1024);
261
+ }
262
+ generateDirIfDNE(path, options) {
263
+ const doesExist = this.existsSync(path);
264
+ if (doesExist === true) return;
265
+ else {
266
+ return this.mkdirSync(path, options);
267
+ }
268
+ }
269
+ withWs(path, data, options) {
270
+ try {
271
+ if (/\//g.test(path) === true) {
272
+ return this.generateDirIfDNE(this.pathHandler(path), {
273
+ recursive: true
274
+ });
275
+ } else return path;
276
+ } catch (error) {
277
+ console.error(
278
+ `[withWs error]: `.concat(
279
+ typeof error === "string" ? error : JSON.stringify(error, null, 2)
280
+ )
281
+ );
282
+ } finally {
283
+ return import_fs.default.createWriteStream(
284
+ (0, import_path.relative)(this.cwd ?? process.cwd(), path),
285
+ typeof options !== "undefined" ? typeof options === "object" ? options : options : { autoClose: true }
286
+ ).write(Buffer.from(Buffer.from(data).toJSON().data));
287
+ }
288
+ }
289
+ writeFileAsync = /* @__PURE__ */ __name(async (path, data, options) => {
290
+ try {
291
+ if (/\//g.test(path) === true)
292
+ return this.generateDirIfDNE(this.pathHandler(path), {
293
+ recursive: true
294
+ });
295
+ else return path;
296
+ } catch (error) {
297
+ console.error(
298
+ `[writeFileAsync error]: `.concat(
299
+ error instanceof Error ? error.message : typeof error === "string" ? error : JSON.stringify(error, null, 2)
300
+ )
301
+ );
302
+ } finally {
303
+ return await import_promises.default.writeFile(
304
+ (0, import_path.relative)(this.cwd ?? process.cwd(), path),
305
+ Buffer.from(
306
+ Buffer.from(data).toJSON().data
307
+ ),
308
+ options
309
+ );
310
+ }
311
+ }, "writeFileAsync");
312
+ fileToBuffer = /* @__PURE__ */ __name((path) => Buffer.from(
313
+ Buffer.from(
314
+ import_fs.default.readFileSync((0, import_path.relative)(this.cwd ?? process.cwd(), path)).toJSON().data
315
+ )
316
+ ), "fileToBuffer");
317
+ dirContainsDir(readDir, targetDir, options) {
318
+ return this.readDir(readDir, options).filter((t) => t.split(".").length === 1).includes(targetDir);
319
+ }
320
+ parseJsonBuffer(p) {
321
+ return JSON.parse(
322
+ Buffer.from(Buffer.from(p).toJSON().data).toString("utf-8")
323
+ );
324
+ }
325
+ /* begin url */
326
+ isServerSide() {
327
+ return typeof window === "undefined";
328
+ }
329
+ isBase64(str) {
330
+ if (!str) {
331
+ return false;
332
+ }
333
+ return /^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?\n?$/.test(
334
+ str.replace(/\n/g, "")
335
+ );
336
+ }
337
+ previewRegex = /\/preview(\/\w|\?)/;
338
+ isPreviewPath(uri) {
339
+ if (typeof uri === "string") {
340
+ return this.previewRegex.test(uri);
341
+ }
342
+ return false;
343
+ }
344
+ // eslint-disable-next-line @typescript-eslint/class-literal-property-style
345
+ get URL_REGEX() {
346
+ return /^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;
347
+ }
348
+ parseUrl(url) {
349
+ const parsed = this.URL_REGEX.exec(url);
350
+ return {
351
+ href: parsed[0],
352
+ protocol: parsed[1] ?? "",
353
+ baseUrl: `${parsed[1]}${parsed[3]}`,
354
+ host: parsed[4] ?? "",
355
+ pathname: parsed[5] ?? "",
356
+ search: parsed[6] ?? "",
357
+ hash: parsed[8] ?? ""
358
+ };
359
+ }
360
+ /* end url */
361
+ get gzVal() {
362
+ return ["application/x-gzip", "application/gzip"].reduce(
363
+ (vals) => vals
364
+ );
365
+ }
366
+ get zipVal() {
367
+ return ["application/zip", "application/x-zip-compressed"].reduce((vals) => vals);
368
+ }
369
+ get mimeTypeObj() {
370
+ return {
371
+ aac: "audio/aac",
372
+ abw: "application/x-abiword",
373
+ apng: "image/apng",
374
+ arc: "application/x-freearc",
375
+ avif: "image/avif",
376
+ avi: "video/x-msvideo",
377
+ azw: "application/vnd.amazon.ebook",
378
+ bin: "application/octet-stream",
379
+ bmp: "image/bmp",
380
+ bz: "application/x-bzip",
381
+ bz2: "application/x-bzip2",
382
+ cda: "application/x-cdf",
383
+ cjs: "application/javascript",
384
+ csh: "application/x-csh",
385
+ css: "text/css",
386
+ csv: "text/csv",
387
+ doc: "application/msword",
388
+ docx: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
389
+ eot: "application/vnd.ms-fontobject",
390
+ epub: "application/epub+zip",
391
+ gif: "image/gif",
392
+ gz: this.gzVal,
393
+ htm: "text/html",
394
+ html: "text/html",
395
+ ico: "image/vnd.microsoft.icon",
396
+ ics: "text/calendar",
397
+ jar: "application/java-archive",
398
+ jpeg: "image/jpeg",
399
+ jpg: "image/jpeg",
400
+ js: "text/javascript",
401
+ json: "application/json",
402
+ jsonld: "application/ld+json",
403
+ m3u8: "application/vnd.apple.mpegurl",
404
+ md: "text/markdown",
405
+ mdx: "application/x-mdx",
406
+ mid: "audio/midi",
407
+ midi: "audio/x-midi",
408
+ mjs: "text/javascript",
409
+ mp3: "audio/mpeg",
410
+ mp4: "video/mp4",
411
+ mpeg: "video/mpeg",
412
+ mpkg: "application/vnd.apple.installer+xml",
413
+ ndjson: "application/x-ndjson",
414
+ odp: "application/vnd.oasis.opendocument.presentation",
415
+ ods: "application/vnd.oasis.opendocument.spreadsheet",
416
+ odt: "application/vnd.oasis.opendocument.text",
417
+ oga: "audio/ogg",
418
+ ogv: "video/ogg",
419
+ ogx: "application/ogg",
420
+ opus: "audio/ogg",
421
+ otf: "font/otf",
422
+ png: "image/png",
423
+ pdf: "application/pdf",
424
+ php: "application/x-httpd-php",
425
+ pkpass: "application/vnd.apple.pkpass",
426
+ ppt: "application/vnd.ms-powerpoint",
427
+ pptx: "application/vnd.openxmlformats-officedocument.presentationml.presentation",
428
+ rar: "application/vnd.rar",
429
+ rtf: "application/rtf",
430
+ sh: "application/x-sh",
431
+ svg: "image/svg+xml",
432
+ tar: "application/x-tar",
433
+ tif: "image/tiff",
434
+ tiff: "image/tiff",
435
+ ts: "video/mp2t",
436
+ ttf: "font/ttf",
437
+ txt: "text/plain",
438
+ vsd: "application/vnd.visio",
439
+ wav: "audio/wav",
440
+ weba: "video/webm",
441
+ webp: "image/webp",
442
+ woff: "font/woff",
443
+ woff2: "font/woff2",
444
+ xhtml: "application/xhtml+xml",
445
+ xls: "application/vnd.ms-excel",
446
+ xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
447
+ xml: "application/xml",
448
+ xul: "application/vnd.mozilla.xul+xml",
449
+ zip: this.zipVal,
450
+ "3gp": "video/3gpp",
451
+ "3g2": "video/3gpp2",
452
+ "7z": "application/x-7z-compressed"
453
+ };
454
+ }
455
+ assetType(url) {
456
+ return this.parseUrl(url).pathname?.split(/([.])/gim)?.reverse()?.[0];
457
+ }
458
+ getMime(input) {
459
+ return this.mimeTypeObj[input];
460
+ }
461
+ async assetToBuffer(path) {
462
+ const [fetcher] = await Promise.all([
463
+ fetch(path).then((t) => t.arrayBuffer())
464
+ ]);
465
+ const b64encodedData = `data:${this.getMime(this.assetType(path))};base64, ${Buffer.from(
466
+ Buffer.from(fetcher).toJSON().data
467
+ ).toString("base64")}`;
468
+ const extension = this.assetType(path);
469
+ return {
470
+ b64encodedData,
471
+ extension
472
+ };
473
+ }
474
+ async assetToBufferView(path) {
475
+ const [fetcher] = await Promise.all([
476
+ fetch(path).then((t) => t.arrayBuffer())
477
+ ]);
478
+ const reader = new ReadableStream({
479
+ type: "bytes",
480
+ async pull(controller) {
481
+ const byobRequest = controller.byobRequest;
482
+ byobRequest?.respond(byobRequest?.view?.byteLength ?? 0);
483
+ }
484
+ });
485
+ const readerByob = new ReadableStreamBYOBReader(reader);
486
+ const readableByteStream = fetcher;
487
+ const data = await readerByob.read(Buffer.from(readableByteStream));
488
+ const b64encodedData = `data:${this.getMime(this.assetType(path))};base64, ${Buffer.from(
489
+ Buffer.from(data.value ?? Buffer.alloc(0)).toJSON().data
490
+ ).toString("base64")}`;
491
+ const extension = this.assetType(path);
492
+ return {
493
+ b64encodedData,
494
+ extension
495
+ };
496
+ }
497
+ formatHelper(f) {
498
+ if (/([A-Za-z]+-[A-Za-z]+)/g.test(f) === true) {
499
+ const formatting = f.split(/-/g).map((v) => v.substring(0, 1).toUpperCase().concat(v.substring(1))).join(" ");
500
+ return formatting;
501
+ } else return f.substring(0, 1).toUpperCase().concat(f.substring(1));
502
+ }
503
+ range(from, to) {
504
+ const values = [];
505
+ for (let i = from; i < to; i++) {
506
+ values.push(i);
507
+ }
508
+ return values;
509
+ }
510
+ isPrimeNumber = /* @__PURE__ */ __name((n) => {
511
+ for (let i = 2; n > i; i++) {
512
+ if (n % i === 0) {
513
+ return false;
514
+ }
515
+ }
516
+ return n > 1;
517
+ }, "isPrimeNumber");
518
+ acceptor = /* @__PURE__ */ __name((num) => [...Array(num !== 0 ? num : this.range(num = -101, num = 101)).keys()].reverse().filter(this.isPrimeNumber), "acceptor");
519
+ chunkArray(arr, maxChunkLength) {
520
+ const chunks = Array.of();
521
+ let currentChunkLength = 0;
522
+ let currentChunk = Array.of();
523
+ for (const [index, val] of arr.entries()) {
524
+ if (val.length + currentChunkLength >= maxChunkLength) {
525
+ if (currentChunk.length) {
526
+ chunks.push(currentChunk);
527
+ }
528
+ currentChunkLength = val.length;
529
+ currentChunk = [val];
530
+ } else {
531
+ currentChunk.push(val);
532
+ currentChunkLength += val.length + 1;
533
+ }
534
+ if (arr.length === index + 1) {
535
+ chunks.push(currentChunk);
536
+ }
537
+ }
538
+ return chunks.length ? chunks : [arr];
539
+ }
540
+ b64ToBlob(b64Data) {
541
+ {
542
+ const sliceSize = 512;
543
+ const typeMatch = b64Data.match(
544
+ /^data:(image|application|video|text|font)\/[A-Za-z0-9+-.]+;base64,/
545
+ );
546
+ const type = typeMatch?.[1];
547
+ console.log(type ?? "");
548
+ if (!typeMatch) {
549
+ throw new Error(`${b64Data} is not a valid data Url`);
550
+ }
551
+ const byteCharacters = Buffer.from(b64Data, "base64").toString("utf-8");
552
+ const byteArrays = Array.of();
553
+ for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {
554
+ const slice = byteCharacters.slice(offset, offset + sliceSize);
555
+ const byteNumbers = Array.of();
556
+ byteNumbers.push(slice.length);
557
+ for (let i = 0; i < slice.length; i++) {
558
+ byteNumbers[i] = slice.charCodeAt(i);
559
+ }
560
+ const byteArray = new Uint8Array(byteNumbers);
561
+ byteArrays.push(byteArray);
562
+ }
563
+ const blob = new Blob(byteArrays, { type });
564
+ return blob;
565
+ }
566
+ }
567
+ };
568
+ //# sourceMappingURL=index.cjs.map