lakutata 2.0.2 → 2.0.3

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.
Files changed (124) hide show
  1. package/com/database.cjs +2 -2
  2. package/com/database.mjs +2 -2
  3. package/com/docker.cjs +1 -1
  4. package/com/docker.mjs +1 -1
  5. package/decorator/orm.cjs +2 -2
  6. package/decorator/orm.mjs +2 -2
  7. package/helper.cjs +42 -26
  8. package/helper.d.ts +22 -1
  9. package/helper.mjs +11 -1
  10. package/orm.cjs +2 -2
  11. package/orm.mjs +2 -2
  12. package/package.json +1 -1
  13. package/src/components/Database.cjs +2 -2
  14. package/src/components/Database.mjs +2 -2
  15. package/src/components/docker/ConnectionOptionsBuilder.cjs +1 -1
  16. package/src/components/docker/ConnectionOptionsBuilder.mjs +1 -1
  17. package/src/components/docker/Docker.cjs +1 -1
  18. package/src/components/docker/Docker.mjs +1 -1
  19. package/src/components/docker/lib/DockerContainer.cjs +1 -1
  20. package/src/components/docker/lib/DockerContainer.mjs +1 -1
  21. package/src/components/docker/lib/DockerContainerTTY.cjs +1 -1
  22. package/src/components/docker/lib/DockerContainerTTY.mjs +1 -1
  23. package/src/decorators/orm/AfterInsert.cjs +2 -2
  24. package/src/decorators/orm/AfterInsert.mjs +2 -2
  25. package/src/decorators/orm/AfterLoad.cjs +2 -2
  26. package/src/decorators/orm/AfterLoad.mjs +2 -2
  27. package/src/decorators/orm/AfterRecover.cjs +2 -2
  28. package/src/decorators/orm/AfterRecover.mjs +2 -2
  29. package/src/decorators/orm/AfterRemove.cjs +2 -2
  30. package/src/decorators/orm/AfterRemove.mjs +2 -2
  31. package/src/decorators/orm/AfterSoftRemove.cjs +2 -2
  32. package/src/decorators/orm/AfterSoftRemove.mjs +2 -2
  33. package/src/decorators/orm/AfterUpdate.cjs +2 -2
  34. package/src/decorators/orm/AfterUpdate.mjs +2 -2
  35. package/src/decorators/orm/BeforeInsert.cjs +2 -2
  36. package/src/decorators/orm/BeforeInsert.mjs +2 -2
  37. package/src/decorators/orm/BeforeRecover.cjs +2 -2
  38. package/src/decorators/orm/BeforeRecover.mjs +2 -2
  39. package/src/decorators/orm/BeforeRemove.cjs +2 -2
  40. package/src/decorators/orm/BeforeRemove.mjs +2 -2
  41. package/src/decorators/orm/BeforeSoftRemove.cjs +2 -2
  42. package/src/decorators/orm/BeforeSoftRemove.mjs +2 -2
  43. package/src/decorators/orm/BeforeUpdate.cjs +2 -2
  44. package/src/decorators/orm/BeforeUpdate.mjs +2 -2
  45. package/src/decorators/orm/Check.cjs +2 -2
  46. package/src/decorators/orm/Check.mjs +2 -2
  47. package/src/decorators/orm/ChildEntity.cjs +2 -2
  48. package/src/decorators/orm/ChildEntity.mjs +2 -2
  49. package/src/decorators/orm/Column.cjs +16 -16
  50. package/src/decorators/orm/Column.mjs +2 -2
  51. package/src/decorators/orm/CreateDateColumn.cjs +2 -2
  52. package/src/decorators/orm/CreateDateColumn.mjs +2 -2
  53. package/src/decorators/orm/DeleteDateColumn.cjs +2 -2
  54. package/src/decorators/orm/DeleteDateColumn.mjs +2 -2
  55. package/src/decorators/orm/Entity.cjs +2 -2
  56. package/src/decorators/orm/Entity.mjs +2 -2
  57. package/src/decorators/orm/EventSubscriber.cjs +2 -2
  58. package/src/decorators/orm/EventSubscriber.mjs +2 -2
  59. package/src/decorators/orm/Exclusion.cjs +2 -2
  60. package/src/decorators/orm/Exclusion.mjs +2 -2
  61. package/src/decorators/orm/Generated.cjs +2 -2
  62. package/src/decorators/orm/Generated.mjs +2 -2
  63. package/src/decorators/orm/Index.cjs +2 -2
  64. package/src/decorators/orm/Index.mjs +2 -2
  65. package/src/decorators/orm/JoinColumn.cjs +2 -2
  66. package/src/decorators/orm/JoinColumn.mjs +2 -2
  67. package/src/decorators/orm/JoinTable.cjs +2 -2
  68. package/src/decorators/orm/JoinTable.mjs +2 -2
  69. package/src/decorators/orm/ManyToMany.cjs +2 -2
  70. package/src/decorators/orm/ManyToMany.mjs +2 -2
  71. package/src/decorators/orm/ManyToOne.cjs +2 -2
  72. package/src/decorators/orm/ManyToOne.mjs +2 -2
  73. package/src/decorators/orm/ObjectIdColumn.cjs +2 -2
  74. package/src/decorators/orm/ObjectIdColumn.mjs +2 -2
  75. package/src/decorators/orm/OneToMany.cjs +2 -2
  76. package/src/decorators/orm/OneToMany.mjs +2 -2
  77. package/src/decorators/orm/OneToOne.cjs +2 -2
  78. package/src/decorators/orm/OneToOne.mjs +2 -2
  79. package/src/decorators/orm/PrimaryColumn.cjs +3 -3
  80. package/src/decorators/orm/PrimaryColumn.mjs +2 -2
  81. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +2 -2
  82. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +2 -2
  83. package/src/decorators/orm/RelationId.cjs +2 -2
  84. package/src/decorators/orm/RelationId.mjs +2 -2
  85. package/src/decorators/orm/TableInheritance.cjs +2 -2
  86. package/src/decorators/orm/TableInheritance.mjs +2 -2
  87. package/src/decorators/orm/Tree.cjs +2 -2
  88. package/src/decorators/orm/Tree.mjs +2 -2
  89. package/src/decorators/orm/TreeChildren.cjs +2 -2
  90. package/src/decorators/orm/TreeChildren.mjs +2 -2
  91. package/src/decorators/orm/TreeLevelColumn.cjs +2 -2
  92. package/src/decorators/orm/TreeLevelColumn.mjs +2 -2
  93. package/src/decorators/orm/TreeParent.cjs +2 -2
  94. package/src/decorators/orm/TreeParent.mjs +2 -2
  95. package/src/decorators/orm/Unique.cjs +2 -2
  96. package/src/decorators/orm/Unique.mjs +2 -2
  97. package/src/decorators/orm/UpdateDateColumn.cjs +2 -2
  98. package/src/decorators/orm/UpdateDateColumn.mjs +2 -2
  99. package/src/decorators/orm/VersionColumn.cjs +2 -2
  100. package/src/decorators/orm/VersionColumn.mjs +2 -2
  101. package/src/decorators/orm/ViewColumn.cjs +2 -2
  102. package/src/decorators/orm/ViewColumn.mjs +2 -2
  103. package/src/decorators/orm/ViewEntity.cjs +2 -2
  104. package/src/decorators/orm/ViewEntity.mjs +2 -2
  105. package/src/decorators/orm/VirtualColumn.cjs +2 -2
  106. package/src/decorators/orm/VirtualColumn.mjs +2 -2
  107. package/src/lib/helpers/Glob.cjs +1 -1
  108. package/src/lib/helpers/Glob.mjs +1 -1
  109. package/src/lib/helpers/MD5.cjs +22 -0
  110. package/src/lib/helpers/MD5.mjs +16 -0
  111. package/src/lib/helpers/SHA1.cjs +22 -0
  112. package/src/lib/helpers/SHA1.mjs +16 -0
  113. package/src/lib/helpers/SHA256.cjs +22 -0
  114. package/src/lib/helpers/SHA256.mjs +16 -0
  115. package/vendor/Package.14.cjs +20 -22
  116. package/vendor/Package.14.mjs +2 -2
  117. package/vendor/Package.16.cjs +1 -1
  118. package/vendor/Package.16.mjs +1 -1
  119. package/vendor/Package.72.cjs +4118 -174
  120. package/vendor/Package.72.mjs +4128 -174
  121. package/vendor/Package.73.cjs +173 -735
  122. package/vendor/Package.73.mjs +174 -728
  123. package/vendor/Package.74.cjs +784 -0
  124. package/vendor/Package.74.mjs +772 -0
@@ -0,0 +1,772 @@
1
+ import { g as e } from "./Package.5.mjs";
2
+
3
+ import "./Package.13.mjs";
4
+
5
+ import r from "buffer";
6
+
7
+ import "./Package.6.mjs";
8
+
9
+ import "./Package.10.mjs";
10
+
11
+ import t from "os";
12
+
13
+ import n from "tty";
14
+
15
+ import s from "util";
16
+
17
+
18
+ // -- Shims --
19
+ import cjsUrl from 'node:url';
20
+ import cjsPath from 'node:path';
21
+ import cjsModule from 'node:module';
22
+ const __filename = cjsUrl.fileURLToPath(import.meta.url);
23
+ const __dirname = cjsPath.dirname(__filename);
24
+ const require = cjsModule.createRequire(import.meta.url);
25
+ var o;
26
+
27
+ var i;
28
+
29
+ function c() {
30
+ if (i) return o;
31
+ i = 1;
32
+ "use strict";
33
+ o = (e, r = process.argv) => {
34
+ const t = e.startsWith("-") ? "" : e.length === 1 ? "-" : "--";
35
+ const n = r.indexOf(t + e);
36
+ const s = r.indexOf("--");
37
+ return n !== -1 && (s === -1 || n < s);
38
+ };
39
+ return o;
40
+ }
41
+
42
+ var a;
43
+
44
+ var u;
45
+
46
+ function f() {
47
+ if (u) return a;
48
+ u = 1;
49
+ "use strict";
50
+ const e = t;
51
+ const r = n;
52
+ const s = c();
53
+ const {env: o} = process;
54
+ let i;
55
+ if (s("no-color") || s("no-colors") || s("color=false") || s("color=never")) {
56
+ i = 0;
57
+ } else if (s("color") || s("colors") || s("color=true") || s("color=always")) {
58
+ i = 1;
59
+ }
60
+ if ("FORCE_COLOR" in o) {
61
+ if (o.FORCE_COLOR === "true") {
62
+ i = 1;
63
+ } else if (o.FORCE_COLOR === "false") {
64
+ i = 0;
65
+ } else {
66
+ i = o.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(o.FORCE_COLOR, 10), 3);
67
+ }
68
+ }
69
+ function f(e) {
70
+ if (e === 0) {
71
+ return false;
72
+ }
73
+ return {
74
+ level: e,
75
+ hasBasic: true,
76
+ has256: e >= 2,
77
+ has16m: e >= 3
78
+ };
79
+ }
80
+ function l(r, t) {
81
+ if (i === 0) {
82
+ return 0;
83
+ }
84
+ if (s("color=16m") || s("color=full") || s("color=truecolor")) {
85
+ return 3;
86
+ }
87
+ if (s("color=256")) {
88
+ return 2;
89
+ }
90
+ if (r && !t && i === undefined) {
91
+ return 0;
92
+ }
93
+ const n = i || 0;
94
+ if (o.TERM === "dumb") {
95
+ return n;
96
+ }
97
+ if (process.platform === "win32") {
98
+ const r = e.release().split(".");
99
+ if (Number(r[0]) >= 10 && Number(r[2]) >= 10586) {
100
+ return Number(r[2]) >= 14931 ? 3 : 2;
101
+ }
102
+ return 1;
103
+ }
104
+ if ("CI" in o) {
105
+ if ([ "TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE" ].some((e => e in o)) || o.CI_NAME === "codeship") {
106
+ return 1;
107
+ }
108
+ return n;
109
+ }
110
+ if ("TEAMCITY_VERSION" in o) {
111
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION) ? 1 : 0;
112
+ }
113
+ if (o.COLORTERM === "truecolor") {
114
+ return 3;
115
+ }
116
+ if ("TERM_PROGRAM" in o) {
117
+ const e = parseInt((o.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
118
+ switch (o.TERM_PROGRAM) {
119
+ case "iTerm.app":
120
+ return e >= 3 ? 3 : 2;
121
+
122
+ case "Apple_Terminal":
123
+ return 2;
124
+ }
125
+ }
126
+ if (/-256(color)?$/i.test(o.TERM)) {
127
+ return 2;
128
+ }
129
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)) {
130
+ return 1;
131
+ }
132
+ if ("COLORTERM" in o) {
133
+ return 1;
134
+ }
135
+ return n;
136
+ }
137
+ function p(e) {
138
+ const r = l(e, e && e.isTTY);
139
+ return f(r);
140
+ }
141
+ a = {
142
+ supportsColor: p,
143
+ stdout: f(l(true, r.isatty(1))),
144
+ stderr: f(l(true, r.isatty(2)))
145
+ };
146
+ return a;
147
+ }
148
+
149
+ var l = {
150
+ exports: {}
151
+ };
152
+
153
+ var p = {
154
+ exports: {}
155
+ };
156
+
157
+ var C = p.exports;
158
+
159
+ var d;
160
+
161
+ function m() {
162
+ if (d) return p.exports;
163
+ d = 1;
164
+ if (typeof Object.create === "function") {
165
+ p.exports = function e(r, t) {
166
+ if (t) {
167
+ r.super_ = t;
168
+ r.prototype = Object.create(t.prototype, {
169
+ constructor: {
170
+ value: r,
171
+ enumerable: false,
172
+ writable: true,
173
+ configurable: true
174
+ }
175
+ });
176
+ }
177
+ };
178
+ } else {
179
+ p.exports = function e(r, t) {
180
+ if (t) {
181
+ r.super_ = t;
182
+ var n = function() {};
183
+ n.prototype = t.prototype;
184
+ r.prototype = new n;
185
+ r.prototype.constructor = r;
186
+ }
187
+ };
188
+ }
189
+ return p.exports;
190
+ }
191
+
192
+ var g = l.exports;
193
+
194
+ var h;
195
+
196
+ function v() {
197
+ if (h) return l.exports;
198
+ h = 1;
199
+ try {
200
+ var e = require("util");
201
+ if (typeof e.inherits !== "function") throw "";
202
+ l.exports = e.inherits;
203
+ } catch (e) {
204
+ l.exports = m();
205
+ }
206
+ return l.exports;
207
+ }
208
+
209
+ var y = {
210
+ exports: {}
211
+ };
212
+
213
+ var F = y.exports;
214
+
215
+ var b;
216
+
217
+ function w() {
218
+ if (b) return y.exports;
219
+ b = 1;
220
+ (function(e, t) {
221
+ var n = r;
222
+ var s = n.Buffer;
223
+ function o(e, r) {
224
+ for (var t in e) {
225
+ r[t] = e[t];
226
+ }
227
+ }
228
+ if (s.from && s.alloc && s.allocUnsafe && s.allocUnsafeSlow) {
229
+ e.exports = n;
230
+ } else {
231
+ o(n, t);
232
+ t.Buffer = i;
233
+ }
234
+ function i(e, r, t) {
235
+ return s(e, r, t);
236
+ }
237
+ i.prototype = Object.create(s.prototype);
238
+ o(s, i);
239
+ i.from = function(e, r, t) {
240
+ if (typeof e === "number") {
241
+ throw new TypeError("Argument must not be a number");
242
+ }
243
+ return s(e, r, t);
244
+ };
245
+ i.alloc = function(e, r, t) {
246
+ if (typeof e !== "number") {
247
+ throw new TypeError("Argument must be a number");
248
+ }
249
+ var n = s(e);
250
+ if (r !== undefined) {
251
+ if (typeof t === "string") {
252
+ n.fill(r, t);
253
+ } else {
254
+ n.fill(r);
255
+ }
256
+ } else {
257
+ n.fill(0);
258
+ }
259
+ return n;
260
+ };
261
+ i.allocUnsafe = function(e) {
262
+ if (typeof e !== "number") {
263
+ throw new TypeError("Argument must be a number");
264
+ }
265
+ return s(e);
266
+ };
267
+ i.allocUnsafeSlow = function(e) {
268
+ if (typeof e !== "number") {
269
+ throw new TypeError("Argument must be a number");
270
+ }
271
+ return n.SlowBuffer(e);
272
+ };
273
+ })(y, y.exports);
274
+ return y.exports;
275
+ }
276
+
277
+ var x = {
278
+ exports: {}
279
+ };
280
+
281
+ var O = {
282
+ exports: {}
283
+ };
284
+
285
+ var E;
286
+
287
+ var R;
288
+
289
+ function I() {
290
+ if (R) return E;
291
+ R = 1;
292
+ var e = 1e3;
293
+ var r = e * 60;
294
+ var t = r * 60;
295
+ var n = t * 24;
296
+ var s = n * 7;
297
+ var o = n * 365.25;
298
+ E = function(e, r) {
299
+ r = r || {};
300
+ var t = typeof e;
301
+ if (t === "string" && e.length > 0) {
302
+ return i(e);
303
+ } else if (t === "number" && isFinite(e)) {
304
+ return r.long ? a(e) : c(e);
305
+ }
306
+ throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e));
307
+ };
308
+ function i(i) {
309
+ i = String(i);
310
+ if (i.length > 100) {
311
+ return;
312
+ }
313
+ var c = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);
314
+ if (!c) {
315
+ return;
316
+ }
317
+ var a = parseFloat(c[1]);
318
+ var u = (c[2] || "ms").toLowerCase();
319
+ switch (u) {
320
+ case "years":
321
+ case "year":
322
+ case "yrs":
323
+ case "yr":
324
+ case "y":
325
+ return a * o;
326
+
327
+ case "weeks":
328
+ case "week":
329
+ case "w":
330
+ return a * s;
331
+
332
+ case "days":
333
+ case "day":
334
+ case "d":
335
+ return a * n;
336
+
337
+ case "hours":
338
+ case "hour":
339
+ case "hrs":
340
+ case "hr":
341
+ case "h":
342
+ return a * t;
343
+
344
+ case "minutes":
345
+ case "minute":
346
+ case "mins":
347
+ case "min":
348
+ case "m":
349
+ return a * r;
350
+
351
+ case "seconds":
352
+ case "second":
353
+ case "secs":
354
+ case "sec":
355
+ case "s":
356
+ return a * e;
357
+
358
+ case "milliseconds":
359
+ case "millisecond":
360
+ case "msecs":
361
+ case "msec":
362
+ case "ms":
363
+ return a;
364
+
365
+ default:
366
+ return undefined;
367
+ }
368
+ }
369
+ function c(s) {
370
+ var o = Math.abs(s);
371
+ if (o >= n) {
372
+ return Math.round(s / n) + "d";
373
+ }
374
+ if (o >= t) {
375
+ return Math.round(s / t) + "h";
376
+ }
377
+ if (o >= r) {
378
+ return Math.round(s / r) + "m";
379
+ }
380
+ if (o >= e) {
381
+ return Math.round(s / e) + "s";
382
+ }
383
+ return s + "ms";
384
+ }
385
+ function a(s) {
386
+ var o = Math.abs(s);
387
+ if (o >= n) {
388
+ return u(s, o, n, "day");
389
+ }
390
+ if (o >= t) {
391
+ return u(s, o, t, "hour");
392
+ }
393
+ if (o >= r) {
394
+ return u(s, o, r, "minute");
395
+ }
396
+ if (o >= e) {
397
+ return u(s, o, e, "second");
398
+ }
399
+ return s + " ms";
400
+ }
401
+ function u(e, r, t, n) {
402
+ var s = r >= t * 1.5;
403
+ return Math.round(e / t) + " " + n + (s ? "s" : "");
404
+ }
405
+ return E;
406
+ }
407
+
408
+ var A;
409
+
410
+ var T;
411
+
412
+ function M() {
413
+ if (T) return A;
414
+ T = 1;
415
+ function e(e) {
416
+ t.debug = t;
417
+ t.default = t;
418
+ t.coerce = a;
419
+ t.disable = o;
420
+ t.enable = s;
421
+ t.enabled = i;
422
+ t.humanize = I();
423
+ t.destroy = u;
424
+ Object.keys(e).forEach((r => {
425
+ t[r] = e[r];
426
+ }));
427
+ t.names = [];
428
+ t.skips = [];
429
+ t.formatters = {};
430
+ function r(e) {
431
+ let r = 0;
432
+ for (let t = 0; t < e.length; t++) {
433
+ r = (r << 5) - r + e.charCodeAt(t);
434
+ r |= 0;
435
+ }
436
+ return t.colors[Math.abs(r) % t.colors.length];
437
+ }
438
+ t.selectColor = r;
439
+ function t(e) {
440
+ let r;
441
+ let s = null;
442
+ let o;
443
+ let i;
444
+ function c(...e) {
445
+ if (!c.enabled) {
446
+ return;
447
+ }
448
+ const n = c;
449
+ const s = Number(new Date);
450
+ const o = s - (r || s);
451
+ n.diff = o;
452
+ n.prev = r;
453
+ n.curr = s;
454
+ r = s;
455
+ e[0] = t.coerce(e[0]);
456
+ if (typeof e[0] !== "string") {
457
+ e.unshift("%O");
458
+ }
459
+ let i = 0;
460
+ e[0] = e[0].replace(/%([a-zA-Z%])/g, ((r, s) => {
461
+ if (r === "%%") {
462
+ return "%";
463
+ }
464
+ i++;
465
+ const o = t.formatters[s];
466
+ if (typeof o === "function") {
467
+ const t = e[i];
468
+ r = o.call(n, t);
469
+ e.splice(i, 1);
470
+ i--;
471
+ }
472
+ return r;
473
+ }));
474
+ t.formatArgs.call(n, e);
475
+ const a = n.log || t.log;
476
+ a.apply(n, e);
477
+ }
478
+ c.namespace = e;
479
+ c.useColors = t.useColors();
480
+ c.color = t.selectColor(e);
481
+ c.extend = n;
482
+ c.destroy = t.destroy;
483
+ Object.defineProperty(c, "enabled", {
484
+ enumerable: true,
485
+ configurable: false,
486
+ get: () => {
487
+ if (s !== null) {
488
+ return s;
489
+ }
490
+ if (o !== t.namespaces) {
491
+ o = t.namespaces;
492
+ i = t.enabled(e);
493
+ }
494
+ return i;
495
+ },
496
+ set: e => {
497
+ s = e;
498
+ }
499
+ });
500
+ if (typeof t.init === "function") {
501
+ t.init(c);
502
+ }
503
+ return c;
504
+ }
505
+ function n(e, r) {
506
+ const n = t(this.namespace + (typeof r === "undefined" ? ":" : r) + e);
507
+ n.log = this.log;
508
+ return n;
509
+ }
510
+ function s(e) {
511
+ t.save(e);
512
+ t.namespaces = e;
513
+ t.names = [];
514
+ t.skips = [];
515
+ let r;
516
+ const n = (typeof e === "string" ? e : "").split(/[\s,]+/);
517
+ const s = n.length;
518
+ for (r = 0; r < s; r++) {
519
+ if (!n[r]) {
520
+ continue;
521
+ }
522
+ e = n[r].replace(/\*/g, ".*?");
523
+ if (e[0] === "-") {
524
+ t.skips.push(new RegExp("^" + e.slice(1) + "$"));
525
+ } else {
526
+ t.names.push(new RegExp("^" + e + "$"));
527
+ }
528
+ }
529
+ }
530
+ function o() {
531
+ const e = [ ...t.names.map(c), ...t.skips.map(c).map((e => "-" + e)) ].join(",");
532
+ t.enable("");
533
+ return e;
534
+ }
535
+ function i(e) {
536
+ if (e[e.length - 1] === "*") {
537
+ return true;
538
+ }
539
+ let r;
540
+ let n;
541
+ for (r = 0, n = t.skips.length; r < n; r++) {
542
+ if (t.skips[r].test(e)) {
543
+ return false;
544
+ }
545
+ }
546
+ for (r = 0, n = t.names.length; r < n; r++) {
547
+ if (t.names[r].test(e)) {
548
+ return true;
549
+ }
550
+ }
551
+ return false;
552
+ }
553
+ function c(e) {
554
+ return e.toString().substring(2, e.toString().length - 2).replace(/\.\*\?$/, "*");
555
+ }
556
+ function a(e) {
557
+ if (e instanceof Error) {
558
+ return e.stack || e.message;
559
+ }
560
+ return e;
561
+ }
562
+ function u() {
563
+ console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
564
+ }
565
+ t.enable(t.load());
566
+ return t;
567
+ }
568
+ A = e;
569
+ return A;
570
+ }
571
+
572
+ var _ = O.exports;
573
+
574
+ var j;
575
+
576
+ function k() {
577
+ if (j) return O.exports;
578
+ j = 1;
579
+ (function(e, r) {
580
+ r.formatArgs = n;
581
+ r.save = s;
582
+ r.load = o;
583
+ r.useColors = t;
584
+ r.storage = i();
585
+ r.destroy = (() => {
586
+ let e = false;
587
+ return () => {
588
+ if (!e) {
589
+ e = true;
590
+ console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
591
+ }
592
+ };
593
+ })();
594
+ r.colors = [ "#0000CC", "#0000FF", "#0033CC", "#0033FF", "#0066CC", "#0066FF", "#0099CC", "#0099FF", "#00CC00", "#00CC33", "#00CC66", "#00CC99", "#00CCCC", "#00CCFF", "#3300CC", "#3300FF", "#3333CC", "#3333FF", "#3366CC", "#3366FF", "#3399CC", "#3399FF", "#33CC00", "#33CC33", "#33CC66", "#33CC99", "#33CCCC", "#33CCFF", "#6600CC", "#6600FF", "#6633CC", "#6633FF", "#66CC00", "#66CC33", "#9900CC", "#9900FF", "#9933CC", "#9933FF", "#99CC00", "#99CC33", "#CC0000", "#CC0033", "#CC0066", "#CC0099", "#CC00CC", "#CC00FF", "#CC3300", "#CC3333", "#CC3366", "#CC3399", "#CC33CC", "#CC33FF", "#CC6600", "#CC6633", "#CC9900", "#CC9933", "#CCCC00", "#CCCC33", "#FF0000", "#FF0033", "#FF0066", "#FF0099", "#FF00CC", "#FF00FF", "#FF3300", "#FF3333", "#FF3366", "#FF3399", "#FF33CC", "#FF33FF", "#FF6600", "#FF6633", "#FF9900", "#FF9933", "#FFCC00", "#FFCC33" ];
595
+ function t() {
596
+ if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
597
+ return true;
598
+ }
599
+ if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
600
+ return false;
601
+ }
602
+ return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
603
+ }
604
+ function n(r) {
605
+ r[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + r[0] + (this.useColors ? "%c " : " ") + "+" + e.exports.humanize(this.diff);
606
+ if (!this.useColors) {
607
+ return;
608
+ }
609
+ const t = "color: " + this.color;
610
+ r.splice(1, 0, t, "color: inherit");
611
+ let n = 0;
612
+ let s = 0;
613
+ r[0].replace(/%[a-zA-Z%]/g, (e => {
614
+ if (e === "%%") {
615
+ return;
616
+ }
617
+ n++;
618
+ if (e === "%c") {
619
+ s = n;
620
+ }
621
+ }));
622
+ r.splice(s, 0, t);
623
+ }
624
+ r.log = console.debug || console.log || (() => {});
625
+ function s(e) {
626
+ try {
627
+ if (e) {
628
+ r.storage.setItem("debug", e);
629
+ } else {
630
+ r.storage.removeItem("debug");
631
+ }
632
+ } catch (e) {}
633
+ }
634
+ function o() {
635
+ let e;
636
+ try {
637
+ e = r.storage.getItem("debug");
638
+ } catch (e) {}
639
+ if (!e && typeof process !== "undefined" && "env" in process) {
640
+ e = process.env.DEBUG;
641
+ }
642
+ return e;
643
+ }
644
+ function i() {
645
+ try {
646
+ return localStorage;
647
+ } catch (e) {}
648
+ }
649
+ e.exports = M()(r);
650
+ const {formatters: c} = e.exports;
651
+ c.j = function(e) {
652
+ try {
653
+ return JSON.stringify(e);
654
+ } catch (e) {
655
+ return "[UnexpectedJSONParseError]: " + e.message;
656
+ }
657
+ };
658
+ })(O, O.exports);
659
+ return O.exports;
660
+ }
661
+
662
+ var S = {
663
+ exports: {}
664
+ };
665
+
666
+ var L = S.exports;
667
+
668
+ var N;
669
+
670
+ function B() {
671
+ if (N) return S.exports;
672
+ N = 1;
673
+ (function(e, r) {
674
+ const t = n;
675
+ const o = s;
676
+ r.init = C;
677
+ r.log = u;
678
+ r.formatArgs = c;
679
+ r.save = l;
680
+ r.load = p;
681
+ r.useColors = i;
682
+ r.destroy = o.deprecate((() => {}), "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
683
+ r.colors = [ 6, 2, 3, 4, 5, 1 ];
684
+ try {
685
+ const e = f();
686
+ if (e && (e.stderr || e).level >= 2) {
687
+ r.colors = [ 20, 21, 26, 27, 32, 33, 38, 39, 40, 41, 42, 43, 44, 45, 56, 57, 62, 63, 68, 69, 74, 75, 76, 77, 78, 79, 80, 81, 92, 93, 98, 99, 112, 113, 128, 129, 134, 135, 148, 149, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 178, 179, 184, 185, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 214, 215, 220, 221 ];
688
+ }
689
+ } catch (e) {}
690
+ r.inspectOpts = Object.keys(process.env).filter((e => /^debug_/i.test(e))).reduce(((e, r) => {
691
+ const t = r.substring(6).toLowerCase().replace(/_([a-z])/g, ((e, r) => r.toUpperCase()));
692
+ let n = process.env[r];
693
+ if (/^(yes|on|true|enabled)$/i.test(n)) {
694
+ n = true;
695
+ } else if (/^(no|off|false|disabled)$/i.test(n)) {
696
+ n = false;
697
+ } else if (n === "null") {
698
+ n = null;
699
+ } else {
700
+ n = Number(n);
701
+ }
702
+ e[t] = n;
703
+ return e;
704
+ }), {});
705
+ function i() {
706
+ return "colors" in r.inspectOpts ? Boolean(r.inspectOpts.colors) : t.isatty(process.stderr.fd);
707
+ }
708
+ function c(r) {
709
+ const {namespace: t, useColors: n} = this;
710
+ if (n) {
711
+ const n = this.color;
712
+ const s = "[3" + (n < 8 ? n : "8;5;" + n);
713
+ const o = ` ${s};1m${t} `;
714
+ r[0] = o + r[0].split("\n").join("\n" + o);
715
+ r.push(s + "m+" + e.exports.humanize(this.diff) + "");
716
+ } else {
717
+ r[0] = a() + t + " " + r[0];
718
+ }
719
+ }
720
+ function a() {
721
+ if (r.inspectOpts.hideDate) {
722
+ return "";
723
+ }
724
+ return (new Date).toISOString() + " ";
725
+ }
726
+ function u(...e) {
727
+ return process.stderr.write(o.format(...e) + "\n");
728
+ }
729
+ function l(e) {
730
+ if (e) {
731
+ process.env.DEBUG = e;
732
+ } else {
733
+ delete process.env.DEBUG;
734
+ }
735
+ }
736
+ function p() {
737
+ return process.env.DEBUG;
738
+ }
739
+ function C(e) {
740
+ e.inspectOpts = {};
741
+ const t = Object.keys(r.inspectOpts);
742
+ for (let n = 0; n < t.length; n++) {
743
+ e.inspectOpts[t[n]] = r.inspectOpts[t[n]];
744
+ }
745
+ }
746
+ e.exports = M()(r);
747
+ const {formatters: d} = e.exports;
748
+ d.o = function(e) {
749
+ this.inspectOpts.colors = this.useColors;
750
+ return o.inspect(e, this.inspectOpts).split("\n").map((e => e.trim())).join(" ");
751
+ };
752
+ d.O = function(e) {
753
+ this.inspectOpts.colors = this.useColors;
754
+ return o.inspect(e, this.inspectOpts);
755
+ };
756
+ })(S, S.exports);
757
+ return S.exports;
758
+ }
759
+
760
+ var U = x.exports;
761
+
762
+ if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
763
+ x.exports = k();
764
+ } else {
765
+ x.exports = B();
766
+ }
767
+
768
+ var P = x.exports;
769
+
770
+ const $ = e(P);
771
+
772
+ export { w as a, v as b, f as r, P as s };