@datapos/datapos-development 0.3.155 → 0.3.157

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.
@@ -131,7 +131,7 @@ var h = {
131
131
  _typeof: V("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
132
132
  _void: V("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
133
133
  _delete: V("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
134
- }, Z = /\r\n?|\n|\u2028|\u2029/, qe = new RegExp(Z.source, "g");
134
+ }, tt = /\r\n?|\n|\u2028|\u2029/, qe = new RegExp(tt.source, "g");
135
135
  function Tt(t) {
136
136
  return t === 10 || t === 13 || t === 8232 || t === 8233;
137
137
  }
@@ -144,7 +144,7 @@ function He(t, e, r) {
144
144
  }
145
145
  return -1;
146
146
  }
147
- var ye = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, X = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ze = Object.prototype, Vi = ze.hasOwnProperty, Fi = ze.toString, wt = Object.hasOwn || (function(t, e) {
147
+ var ye = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Q = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ze = Object.prototype, Vi = ze.hasOwnProperty, Fi = ze.toString, wt = Object.hasOwn || (function(t, e) {
148
148
  return Vi.call(t, e);
149
149
  }), Ee = Array.isArray || (function(t) {
150
150
  return Fi.call(t) === "[object Array]";
@@ -172,7 +172,7 @@ function xe(t, e) {
172
172
  ++r, a = u;
173
173
  }
174
174
  }
175
- var Kt = {
175
+ var Jt = {
176
176
  // `ecmaVersion` indicates the ECMAScript version to parse. Must be
177
177
  // either 3, 5, 6 (or 2015), 7 (2016), 8 (2017), 9 (2018), 10
178
178
  // (2019), 11 (2020), 12 (2021), 13 (2022), 14 (2023), or `"latest"`
@@ -271,8 +271,8 @@ var Kt = {
271
271
  }, _e = !1;
272
272
  function ji(t) {
273
273
  var e = {};
274
- for (var r in Kt)
275
- e[r] = t && wt(t, r) ? t[r] : Kt[r];
274
+ for (var r in Jt)
275
+ e[r] = t && wt(t, r) ? t[r] : Jt[r];
276
276
  if (e.ecmaVersion === "latest" ? e.ecmaVersion = 1e8 : e.ecmaVersion == null ? (!_e && typeof console == "object" && console.warn && (_e = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
277
277
  Defaulting to 2020, but this will stop working in the future.`)), e.ecmaVersion = 11) : e.ecmaVersion >= 2015 && (e.ecmaVersion -= 2009), e.allowReserved == null && (e.allowReserved = e.ecmaVersion < 5), (!t || t.allowHashBang == null) && (e.allowHashBang = e.ecmaVersion >= 14), Ee(e.onToken)) {
278
278
  var a = e.onToken;
@@ -293,19 +293,19 @@ function Ui(t, e) {
293
293
  t.locations && (g.loc = new Ft(this, d, v)), t.ranges && (g.range = [u, f]), e.push(g);
294
294
  };
295
295
  }
296
- var Vt = 1, Et = 2, ve = 4, We = 8, ge = 16, Ke = 32, Yt = 64, Je = 128, Pt = 256, Bt = 512, Zt = Vt | Et | Pt;
296
+ var Vt = 1, Et = 2, ve = 4, We = 8, ge = 16, Ke = 32, Zt = 64, Je = 128, Pt = 256, Bt = 512, te = Vt | Et | Pt;
297
297
  function be(t, e) {
298
298
  return Et | (t ? ve : 0) | (e ? We : 0);
299
299
  }
300
- var Jt = 0, Se = 1, xt = 2, Ge = 3, $e = 4, Xe = 5, K = function(e, r, a) {
300
+ var Gt = 0, Se = 1, xt = 2, Ge = 3, $e = 4, Xe = 5, J = function(e, r, a) {
301
301
  this.options = e = ji(e), this.sourceFile = e.sourceFile, this.keywords = bt(Oi[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
302
302
  var u = "";
303
303
  e.allowReserved !== !0 && (u = oe[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (u += " await")), this.reservedWords = bt(u);
304
304
  var f = (u ? u + " " : "") + oe.strict;
305
305
  this.reservedWordsStrict = bt(f), this.reservedWordsStrictBind = bt(f + " " + oe.strictBind), this.input = String(r), this.containsEsc = !1, a ? (this.pos = a, this.lineStart = this.input.lastIndexOf(`
306
- `, a - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(Z).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = h.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Vt), this.regexpState = null, this.privateNameStack = [];
306
+ `, a - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(tt).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = h.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Vt), this.regexpState = null, this.privateNameStack = [];
307
307
  }, lt = { inFunction: { configurable: !0 }, inGenerator: { configurable: !0 }, inAsync: { configurable: !0 }, canAwait: { configurable: !0 }, allowSuper: { configurable: !0 }, allowDirectSuper: { configurable: !0 }, treatFunctionsAsVar: { configurable: !0 }, allowNewDotTarget: { configurable: !0 }, inClassStaticBlock: { configurable: !0 } };
308
- K.prototype.parse = function() {
308
+ J.prototype.parse = function() {
309
309
  var e = this.options.program || this.startNode();
310
310
  return this.nextToken(), this.parseTopLevel(e);
311
311
  };
@@ -330,7 +330,7 @@ lt.canAwait.get = function() {
330
330
  };
331
331
  lt.allowSuper.get = function() {
332
332
  var t = this.currentThisScope(), e = t.flags;
333
- return (e & Yt) > 0 || this.options.allowSuperOutsideMethod;
333
+ return (e & Zt) > 0 || this.options.allowSuperOutsideMethod;
334
334
  };
335
335
  lt.allowDirectSuper.get = function() {
336
336
  return (this.currentThisScope().flags & Je) > 0;
@@ -349,83 +349,83 @@ lt.allowNewDotTarget.get = function() {
349
349
  lt.inClassStaticBlock.get = function() {
350
350
  return (this.currentVarScope().flags & Pt) > 0;
351
351
  };
352
- K.extend = function() {
352
+ J.extend = function() {
353
353
  for (var e = [], r = arguments.length; r--; ) e[r] = arguments[r];
354
354
  for (var a = this, u = 0; u < e.length; u++)
355
355
  a = e[u](a);
356
356
  return a;
357
357
  };
358
- K.parse = function(e, r) {
358
+ J.parse = function(e, r) {
359
359
  return new this(r, e).parse();
360
360
  };
361
- K.parseExpressionAt = function(e, r, a) {
361
+ J.parseExpressionAt = function(e, r, a) {
362
362
  var u = new this(a, e, r);
363
363
  return u.nextToken(), u.parseExpression();
364
364
  };
365
- K.tokenizer = function(e, r) {
365
+ J.tokenizer = function(e, r) {
366
366
  return new this(r, e);
367
367
  };
368
- Object.defineProperties(K.prototype, lt);
369
- var tt = K.prototype, qi = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
370
- tt.strictDirective = function(t) {
368
+ Object.defineProperties(J.prototype, lt);
369
+ var et = J.prototype, qi = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
370
+ et.strictDirective = function(t) {
371
371
  if (this.options.ecmaVersion < 5)
372
372
  return !1;
373
373
  for (; ; ) {
374
- X.lastIndex = t, t += X.exec(this.input)[0].length;
374
+ Q.lastIndex = t, t += Q.exec(this.input)[0].length;
375
375
  var e = qi.exec(this.input.slice(t));
376
376
  if (!e)
377
377
  return !1;
378
378
  if ((e[1] || e[2]) === "use strict") {
379
- X.lastIndex = t + e[0].length;
380
- var r = X.exec(this.input), a = r.index + r[0].length, u = this.input.charAt(a);
381
- return u === ";" || u === "}" || Z.test(r[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(u) || u === "!" && this.input.charAt(a + 1) === "=");
379
+ Q.lastIndex = t + e[0].length;
380
+ var r = Q.exec(this.input), a = r.index + r[0].length, u = this.input.charAt(a);
381
+ return u === ";" || u === "}" || tt.test(r[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(u) || u === "!" && this.input.charAt(a + 1) === "=");
382
382
  }
383
- t += e[0].length, X.lastIndex = t, t += X.exec(this.input)[0].length, this.input[t] === ";" && t++;
383
+ t += e[0].length, Q.lastIndex = t, t += Q.exec(this.input)[0].length, this.input[t] === ";" && t++;
384
384
  }
385
385
  };
386
- tt.eat = function(t) {
386
+ et.eat = function(t) {
387
387
  return this.type === t ? (this.next(), !0) : !1;
388
388
  };
389
- tt.isContextual = function(t) {
389
+ et.isContextual = function(t) {
390
390
  return this.type === h.name && this.value === t && !this.containsEsc;
391
391
  };
392
- tt.eatContextual = function(t) {
392
+ et.eatContextual = function(t) {
393
393
  return this.isContextual(t) ? (this.next(), !0) : !1;
394
394
  };
395
- tt.expectContextual = function(t) {
395
+ et.expectContextual = function(t) {
396
396
  this.eatContextual(t) || this.unexpected();
397
397
  };
398
- tt.canInsertSemicolon = function() {
399
- return this.type === h.eof || this.type === h.braceR || Z.test(this.input.slice(this.lastTokEnd, this.start));
398
+ et.canInsertSemicolon = function() {
399
+ return this.type === h.eof || this.type === h.braceR || tt.test(this.input.slice(this.lastTokEnd, this.start));
400
400
  };
401
- tt.insertSemicolon = function() {
401
+ et.insertSemicolon = function() {
402
402
  if (this.canInsertSemicolon())
403
403
  return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0;
404
404
  };
405
- tt.semicolon = function() {
405
+ et.semicolon = function() {
406
406
  !this.eat(h.semi) && !this.insertSemicolon() && this.unexpected();
407
407
  };
408
- tt.afterTrailingComma = function(t, e) {
408
+ et.afterTrailingComma = function(t, e) {
409
409
  if (this.type === t)
410
410
  return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), e || this.next(), !0;
411
411
  };
412
- tt.expect = function(t) {
412
+ et.expect = function(t) {
413
413
  this.eat(t) || this.unexpected();
414
414
  };
415
- tt.unexpected = function(t) {
415
+ et.unexpected = function(t) {
416
416
  this.raise(t ?? this.start, "Unexpected token");
417
417
  };
418
- var te = function() {
418
+ var ee = function() {
419
419
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
420
420
  };
421
- tt.checkPatternErrors = function(t, e) {
421
+ et.checkPatternErrors = function(t, e) {
422
422
  if (t) {
423
423
  t.trailingComma > -1 && this.raiseRecoverable(t.trailingComma, "Comma is not permitted after the rest element");
424
424
  var r = e ? t.parenthesizedAssign : t.parenthesizedBind;
425
425
  r > -1 && this.raiseRecoverable(r, e ? "Assigning to rvalue" : "Parenthesized pattern");
426
426
  }
427
427
  };
428
- tt.checkExpressionErrors = function(t, e) {
428
+ et.checkExpressionErrors = function(t, e) {
429
429
  if (!t)
430
430
  return !1;
431
431
  var r = t.shorthandAssign, a = t.doubleProto;
@@ -433,13 +433,13 @@ tt.checkExpressionErrors = function(t, e) {
433
433
  return r >= 0 || a >= 0;
434
434
  r >= 0 && this.raise(r, "Shorthand property assignments are valid only in destructuring patterns"), a >= 0 && this.raiseRecoverable(a, "Redefinition of __proto__ property");
435
435
  };
436
- tt.checkYieldAwaitInDefaultParams = function() {
436
+ et.checkYieldAwaitInDefaultParams = function() {
437
437
  this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
438
438
  };
439
- tt.isSimpleAssignTarget = function(t) {
439
+ et.isSimpleAssignTarget = function(t) {
440
440
  return t.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(t.expression) : t.type === "Identifier" || t.type === "MemberExpression";
441
441
  };
442
- var k = K.prototype;
442
+ var k = J.prototype;
443
443
  k.parseTopLevel = function(t) {
444
444
  var e = /* @__PURE__ */ Object.create(null);
445
445
  for (t.body || (t.body = []); this.type !== h.eof; ) {
@@ -457,8 +457,8 @@ var Te = { kind: "loop" }, Hi = { kind: "switch" };
457
457
  k.isLet = function(t) {
458
458
  if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
459
459
  return !1;
460
- X.lastIndex = this.pos;
461
- var e = X.exec(this.input), r = this.pos + e[0].length, a = this.input.charCodeAt(r);
460
+ Q.lastIndex = this.pos;
461
+ var e = Q.exec(this.input), r = this.pos + e[0].length, a = this.input.charCodeAt(r);
462
462
  if (a === 91 || a === 92)
463
463
  return !0;
464
464
  if (t)
@@ -479,24 +479,24 @@ k.isLet = function(t) {
479
479
  k.isAsyncFunction = function() {
480
480
  if (this.options.ecmaVersion < 8 || !this.isContextual("async"))
481
481
  return !1;
482
- X.lastIndex = this.pos;
483
- var t = X.exec(this.input), e = this.pos + t[0].length, r;
484
- return !Z.test(this.input.slice(this.pos, e)) && this.input.slice(e, e + 8) === "function" && (e + 8 === this.input.length || !(dt(r = this.input.charCodeAt(e + 8)) || r > 55295 && r < 56320));
482
+ Q.lastIndex = this.pos;
483
+ var t = Q.exec(this.input), e = this.pos + t[0].length, r;
484
+ return !tt.test(this.input.slice(this.pos, e)) && this.input.slice(e, e + 8) === "function" && (e + 8 === this.input.length || !(dt(r = this.input.charCodeAt(e + 8)) || r > 55295 && r < 56320));
485
485
  };
486
486
  k.isUsingKeyword = function(t, e) {
487
487
  if (this.options.ecmaVersion < 17 || !this.isContextual(t ? "await" : "using"))
488
488
  return !1;
489
- X.lastIndex = this.pos;
490
- var r = X.exec(this.input), a = this.pos + r[0].length;
491
- if (Z.test(this.input.slice(this.pos, a)))
489
+ Q.lastIndex = this.pos;
490
+ var r = Q.exec(this.input), a = this.pos + r[0].length;
491
+ if (tt.test(this.input.slice(this.pos, a)))
492
492
  return !1;
493
493
  if (t) {
494
494
  var u = a + 5, f;
495
495
  if (this.input.slice(a, u) !== "using" || u === this.input.length || dt(f = this.input.charCodeAt(u)) || f > 55295 && f < 56320)
496
496
  return !1;
497
- X.lastIndex = u;
498
- var d = X.exec(this.input);
499
- if (d && Z.test(this.input.slice(u, u + d[0].length)))
497
+ Q.lastIndex = u;
498
+ var d = Q.exec(this.input);
499
+ if (d && tt.test(this.input.slice(u, u + d[0].length)))
500
500
  return !1;
501
501
  }
502
502
  if (e) {
@@ -553,8 +553,8 @@ k.parseStatement = function(t, e, r) {
553
553
  case h._export:
554
554
  case h._import:
555
555
  if (this.options.ecmaVersion > 10 && a === h._import) {
556
- X.lastIndex = this.pos;
557
- var d = X.exec(this.input), v = this.pos + d[0].length, g = this.input.charCodeAt(v);
556
+ Q.lastIndex = this.pos;
557
+ var d = Q.exec(this.input), v = this.pos + d[0].length, g = this.input.charCodeAt(v);
558
558
  if (g === 40 || g === 46)
559
559
  return this.parseExpressionStatement(u, this.parseExpression());
560
560
  }
@@ -605,7 +605,7 @@ k.parseForStatement = function(t) {
605
605
  var g = this.startNode();
606
606
  return this.next(), v === "await using" && this.next(), this.parseVar(g, !0, v), this.finishNode(g, "VariableDeclaration"), this.parseForAfterInit(t, g, e);
607
607
  }
608
- var o = this.containsEsc, w = new te(), N = this.start, M = e > -1 ? this.parseExprSubscripts(w, "await") : this.parseExpression(!0, w);
608
+ var o = this.containsEsc, w = new ee(), N = this.start, M = e > -1 ? this.parseExprSubscripts(w, "await") : this.parseExpression(!0, w);
609
609
  return this.type === h._in || (d = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (e > -1 ? (this.type === h._in && this.unexpected(e), t.await = !0) : d && this.options.ecmaVersion >= 8 && (M.start === N && !o && M.type === "Identifier" && M.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (t.await = !1)), f && d && this.raise(M.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(M, !1, w), this.checkLValPattern(M), this.parseForIn(t, M)) : (this.checkExpressionErrors(w, !0), e > -1 && this.unexpected(e), this.parseFor(t, M));
610
610
  };
611
611
  k.parseForAfterInit = function(t, e, r) {
@@ -631,7 +631,7 @@ k.parseSwitchStatement = function(t) {
631
631
  return this.exitScope(), e && this.finishNode(e, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(t, "SwitchStatement");
632
632
  };
633
633
  k.parseThrowStatement = function(t) {
634
- return this.next(), Z.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), t.argument = this.parseExpression(), this.semicolon(), this.finishNode(t, "ThrowStatement");
634
+ return this.next(), tt.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), t.argument = this.parseExpression(), this.semicolon(), this.finishNode(t, "ThrowStatement");
635
635
  };
636
636
  var zi = [];
637
637
  k.parseCatchClauseParam = function() {
@@ -736,7 +736,7 @@ k.parseClassElement = function(t) {
736
736
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? d = g : a = g);
737
737
  }
738
738
  if (a ? (r.computed = !1, r.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), r.key.name = a, this.finishNode(r.key, "Identifier")) : this.parseClassElementName(r), e < 13 || this.type === h.parenL || d !== "method" || u || f) {
739
- var o = !r.static && Gt(r, "constructor"), w = o && t;
739
+ var o = !r.static && $t(r, "constructor"), w = o && t;
740
740
  o && d !== "method" && this.raise(r.key.start, "Constructor can't have get/set modifier"), r.kind = o ? "constructor" : d, this.parseClassMethod(r, u, f, w);
741
741
  } else
742
742
  this.parseClassField(r);
@@ -750,17 +750,17 @@ k.parseClassElementName = function(t) {
750
750
  };
751
751
  k.parseClassMethod = function(t, e, r, a) {
752
752
  var u = t.key;
753
- t.kind === "constructor" ? (e && this.raise(u.start, "Constructor can't be a generator"), r && this.raise(u.start, "Constructor can't be an async method")) : t.static && Gt(t, "prototype") && this.raise(u.start, "Classes may not have a static property named prototype");
753
+ t.kind === "constructor" ? (e && this.raise(u.start, "Constructor can't be a generator"), r && this.raise(u.start, "Constructor can't be an async method")) : t.static && $t(t, "prototype") && this.raise(u.start, "Classes may not have a static property named prototype");
754
754
  var f = t.value = this.parseMethod(e, r, a);
755
755
  return t.kind === "get" && f.params.length !== 0 && this.raiseRecoverable(f.start, "getter should have no params"), t.kind === "set" && f.params.length !== 1 && this.raiseRecoverable(f.start, "setter should have exactly one param"), t.kind === "set" && f.params[0].type === "RestElement" && this.raiseRecoverable(f.params[0].start, "Setter cannot use rest params"), this.finishNode(t, "MethodDefinition");
756
756
  };
757
757
  k.parseClassField = function(t) {
758
- return Gt(t, "constructor") ? this.raise(t.key.start, "Classes can't have a field named 'constructor'") : t.static && Gt(t, "prototype") && this.raise(t.key.start, "Classes can't have a static field named 'prototype'"), this.eat(h.eq) ? (this.enterScope(Bt | Yt), t.value = this.parseMaybeAssign(), this.exitScope()) : t.value = null, this.semicolon(), this.finishNode(t, "PropertyDefinition");
758
+ return $t(t, "constructor") ? this.raise(t.key.start, "Classes can't have a field named 'constructor'") : t.static && $t(t, "prototype") && this.raise(t.key.start, "Classes can't have a static field named 'prototype'"), this.eat(h.eq) ? (this.enterScope(Bt | Zt), t.value = this.parseMaybeAssign(), this.exitScope()) : t.value = null, this.semicolon(), this.finishNode(t, "PropertyDefinition");
759
759
  };
760
760
  k.parseClassStaticBlock = function(t) {
761
761
  t.body = [];
762
762
  var e = this.labels;
763
- for (this.labels = [], this.enterScope(Pt | Yt); this.type !== h.braceR; ) {
763
+ for (this.labels = [], this.enterScope(Pt | Zt); this.type !== h.braceR; ) {
764
764
  var r = this.parseStatement(null);
765
765
  t.body.push(r);
766
766
  }
@@ -788,7 +788,7 @@ function Wi(t, e) {
788
788
  var r = e.key.name, a = t[r], u = "true";
789
789
  return e.type === "MethodDefinition" && (e.kind === "get" || e.kind === "set") && (u = (e.static ? "s" : "i") + e.kind), a === "iget" && u === "iset" || a === "iset" && u === "iget" || a === "sget" && u === "sset" || a === "sset" && u === "sget" ? (t[r] = "true", !1) : a ? !0 : (t[r] = u, !1);
790
790
  }
791
- function Gt(t, e) {
791
+ function $t(t, e) {
792
792
  var r = t.computed, a = t.key;
793
793
  return !r && (a.type === "Identifier" && a.name === e || a.type === "Literal" && a.value === e);
794
794
  }
@@ -944,7 +944,7 @@ k.isDirectiveCandidate = function(t) {
944
944
  return this.options.ecmaVersion >= 5 && t.type === "ExpressionStatement" && t.expression.type === "Literal" && typeof t.expression.value == "string" && // Reject parenthesized strings.
945
945
  (this.input[t.start] === '"' || this.input[t.start] === "'");
946
946
  };
947
- var ct = K.prototype;
947
+ var ct = J.prototype;
948
948
  ct.toAssignable = function(t, e, r) {
949
949
  if (this.options.ecmaVersion >= 6 && t)
950
950
  switch (t.type) {
@@ -1050,8 +1050,8 @@ ct.parseMaybeDefault = function(t, e, r) {
1050
1050
  return a.left = r, a.right = this.parseMaybeAssign(), this.finishNode(a, "AssignmentPattern");
1051
1051
  };
1052
1052
  ct.checkLValSimple = function(t, e, r) {
1053
- e === void 0 && (e = Jt);
1054
- var a = e !== Jt;
1053
+ e === void 0 && (e = Gt);
1054
+ var a = e !== Gt;
1055
1055
  switch (t.type) {
1056
1056
  case "Identifier":
1057
1057
  this.strict && this.reservedWordsStrictBind.test(t.name) && this.raiseRecoverable(t.start, (a ? "Binding " : "Assigning to ") + t.name + " in strict mode"), a && (e === xt && t.name === "let" && this.raiseRecoverable(t.start, "let is disallowed as a lexically bound name"), r && (wt(r, t.name) && this.raiseRecoverable(t.start, "Argument name clash"), r[t.name] = !0), e !== Xe && this.declareName(t.name, e, t.start));
@@ -1069,7 +1069,7 @@ ct.checkLValSimple = function(t, e, r) {
1069
1069
  }
1070
1070
  };
1071
1071
  ct.checkLValPattern = function(t, e, r) {
1072
- switch (e === void 0 && (e = Jt), t.type) {
1072
+ switch (e === void 0 && (e = Gt), t.type) {
1073
1073
  case "ObjectPattern":
1074
1074
  for (var a = 0, u = t.properties; a < u.length; a += 1) {
1075
1075
  var f = u[a];
@@ -1087,7 +1087,7 @@ ct.checkLValPattern = function(t, e, r) {
1087
1087
  }
1088
1088
  };
1089
1089
  ct.checkLValInnerPattern = function(t, e, r) {
1090
- switch (e === void 0 && (e = Jt), t.type) {
1090
+ switch (e === void 0 && (e = Gt), t.type) {
1091
1091
  case "Property":
1092
1092
  this.checkLValInnerPattern(t.value, e, r);
1093
1093
  break;
@@ -1101,22 +1101,22 @@ ct.checkLValInnerPattern = function(t, e, r) {
1101
1101
  this.checkLValPattern(t, e, r);
1102
1102
  }
1103
1103
  };
1104
- var Y = function(e, r, a, u, f) {
1104
+ var Z = function(e, r, a, u, f) {
1105
1105
  this.token = e, this.isExpr = !!r, this.preserveSpace = !!a, this.override = u, this.generator = !!f;
1106
1106
  }, q = {
1107
- b_stat: new Y("{", !1),
1108
- b_expr: new Y("{", !0),
1109
- b_tmpl: new Y("${", !1),
1110
- p_stat: new Y("(", !1),
1111
- p_expr: new Y("(", !0),
1112
- q_tmpl: new Y("`", !0, !0, function(t) {
1107
+ b_stat: new Z("{", !1),
1108
+ b_expr: new Z("{", !0),
1109
+ b_tmpl: new Z("${", !1),
1110
+ p_stat: new Z("(", !1),
1111
+ p_expr: new Z("(", !0),
1112
+ q_tmpl: new Z("`", !0, !0, function(t) {
1113
1113
  return t.tryReadTemplateToken();
1114
1114
  }),
1115
- f_stat: new Y("function", !1),
1116
- f_expr: new Y("function", !0),
1117
- f_expr_gen: new Y("function", !0, !1, null, !0),
1118
- f_gen: new Y("function", !1, !1, null, !0)
1119
- }, It = K.prototype;
1115
+ f_stat: new Z("function", !1),
1116
+ f_expr: new Z("function", !0),
1117
+ f_expr_gen: new Z("function", !0, !1, null, !0),
1118
+ f_gen: new Z("function", !1, !1, null, !0)
1119
+ }, It = J.prototype;
1120
1120
  It.initialContext = function() {
1121
1121
  return [q.b_stat];
1122
1122
  };
@@ -1125,7 +1125,7 @@ It.curContext = function() {
1125
1125
  };
1126
1126
  It.braceIsBlock = function(t) {
1127
1127
  var e = this.curContext();
1128
- return e === q.f_expr || e === q.f_stat ? !0 : t === h.colon && (e === q.b_stat || e === q.b_expr) ? !e.isExpr : t === h._return || t === h.name && this.exprAllowed ? Z.test(this.input.slice(this.lastTokEnd, this.start)) : t === h._else || t === h.semi || t === h.eof || t === h.parenR || t === h.arrow ? !0 : t === h.braceL ? e === q.b_stat : t === h._var || t === h._const || t === h.name ? !1 : !this.exprAllowed;
1128
+ return e === q.f_expr || e === q.f_stat ? !0 : t === h.colon && (e === q.b_stat || e === q.b_expr) ? !e.isExpr : t === h._return || t === h.name && this.exprAllowed ? tt.test(this.input.slice(this.lastTokEnd, this.start)) : t === h._else || t === h.semi || t === h.eof || t === h.parenR || t === h.arrow ? !0 : t === h.braceL ? e === q.b_stat : t === h._var || t === h._const || t === h.name ? !1 : !this.exprAllowed;
1129
1129
  };
1130
1130
  It.inGeneratorContext = function() {
1131
1131
  for (var t = this.context.length - 1; t >= 1; t--) {
@@ -1163,7 +1163,7 @@ h.parenL.updateContext = function(t) {
1163
1163
  h.incDec.updateContext = function() {
1164
1164
  };
1165
1165
  h._function.updateContext = h._class.updateContext = function(t) {
1166
- t.beforeExpr && t !== h._else && !(t === h.semi && this.curContext() !== q.p_stat) && !(t === h._return && Z.test(this.input.slice(this.lastTokEnd, this.start))) && !((t === h.colon || t === h.braceL) && this.curContext() === q.b_stat) ? this.context.push(q.f_expr) : this.context.push(q.f_stat), this.exprAllowed = !1;
1166
+ t.beforeExpr && t !== h._else && !(t === h.semi && this.curContext() !== q.p_stat) && !(t === h._return && tt.test(this.input.slice(this.lastTokEnd, this.start))) && !((t === h.colon || t === h.braceL) && this.curContext() === q.b_stat) ? this.context.push(q.f_expr) : this.context.push(q.f_stat), this.exprAllowed = !1;
1167
1167
  };
1168
1168
  h.colon.updateContext = function() {
1169
1169
  this.curContext().token === "function" && this.context.pop(), this.exprAllowed = !0;
@@ -1182,7 +1182,7 @@ h.name.updateContext = function(t) {
1182
1182
  var e = !1;
1183
1183
  this.options.ecmaVersion >= 6 && t !== h.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (e = !0), this.exprAllowed = e;
1184
1184
  };
1185
- var _ = K.prototype;
1185
+ var _ = J.prototype;
1186
1186
  _.checkPropClash = function(t, e, r) {
1187
1187
  if (!(this.options.ecmaVersion >= 9 && t.type === "SpreadElement") && !(this.options.ecmaVersion >= 6 && (t.computed || t.method || t.shorthand))) {
1188
1188
  var a = t.key, u;
@@ -1232,7 +1232,7 @@ _.parseMaybeAssign = function(t, e, r) {
1232
1232
  this.exprAllowed = !1;
1233
1233
  }
1234
1234
  var a = !1, u = -1, f = -1, d = -1;
1235
- e ? (u = e.parenthesizedAssign, f = e.trailingComma, d = e.doubleProto, e.parenthesizedAssign = e.trailingComma = -1) : (e = new te(), a = !0);
1235
+ e ? (u = e.parenthesizedAssign, f = e.trailingComma, d = e.doubleProto, e.parenthesizedAssign = e.trailingComma = -1) : (e = new ee(), a = !0);
1236
1236
  var v = this.start, g = this.startLoc;
1237
1237
  (this.type === h.parenL || this.type === h.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = t === "await");
1238
1238
  var o = this.parseMaybeConditional(t, e);
@@ -1339,18 +1339,18 @@ _.parseSubscript = function(t, e, r, a, u, f, d) {
1339
1339
  var w = this.startNodeAt(e, r);
1340
1340
  w.object = t, o ? (w.property = this.parseExpression(), this.expect(h.bracketR)) : this.type === h.privateId && t.type !== "Super" ? w.property = this.parsePrivateIdent() : w.property = this.parseIdent(this.options.allowReserved !== "never"), w.computed = !!o, v && (w.optional = g), t = this.finishNode(w, "MemberExpression");
1341
1341
  } else if (!a && this.eat(h.parenL)) {
1342
- var N = new te(), M = this.yieldPos, j = this.awaitPos, B = this.awaitIdentPos;
1342
+ var N = new ee(), M = this.yieldPos, j = this.awaitPos, B = this.awaitIdentPos;
1343
1343
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
1344
- var J = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1, N);
1344
+ var z = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1, N);
1345
1345
  if (u && !g && this.shouldParseAsyncArrow())
1346
- return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = M, this.awaitPos = j, this.awaitIdentPos = B, this.parseSubscriptAsyncArrow(e, r, J, d);
1346
+ return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = M, this.awaitPos = j, this.awaitIdentPos = B, this.parseSubscriptAsyncArrow(e, r, z, d);
1347
1347
  this.checkExpressionErrors(N, !0), this.yieldPos = M || this.yieldPos, this.awaitPos = j || this.awaitPos, this.awaitIdentPos = B || this.awaitIdentPos;
1348
1348
  var I = this.startNodeAt(e, r);
1349
- I.callee = t, I.arguments = J, v && (I.optional = g), t = this.finishNode(I, "CallExpression");
1349
+ I.callee = t, I.arguments = z, v && (I.optional = g), t = this.finishNode(I, "CallExpression");
1350
1350
  } else if (this.type === h.backQuote) {
1351
1351
  (g || f) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1352
- var et = this.startNodeAt(e, r);
1353
- et.tag = t, et.quasi = this.parseTemplate({ isTagged: !0 }), t = this.finishNode(et, "TaggedTemplateExpression");
1352
+ var X = this.startNodeAt(e, r);
1353
+ X.tag = t, X.quasi = this.parseTemplate({ isTagged: !0 }), t = this.finishNode(X, "TaggedTemplateExpression");
1354
1354
  }
1355
1355
  return t;
1356
1356
  };
@@ -1447,7 +1447,7 @@ _.parseParenAndDistinguishExpression = function(t, e) {
1447
1447
  var r = this.start, a = this.startLoc, u, f = this.options.ecmaVersion >= 8;
1448
1448
  if (this.options.ecmaVersion >= 6) {
1449
1449
  this.next();
1450
- var d = this.start, v = this.startLoc, g = [], o = !0, w = !1, N = new te(), M = this.yieldPos, j = this.awaitPos, B;
1450
+ var d = this.start, v = this.startLoc, g = [], o = !0, w = !1, N = new ee(), M = this.yieldPos, j = this.awaitPos, B;
1451
1451
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== h.parenR; )
1452
1452
  if (o ? o = !1 : this.expect(h.comma), f && this.afterTrailingComma(h.parenR, !0)) {
1453
1453
  w = !0;
@@ -1460,15 +1460,15 @@ _.parseParenAndDistinguishExpression = function(t, e) {
1460
1460
  break;
1461
1461
  } else
1462
1462
  g.push(this.parseMaybeAssign(!1, N, this.parseParenItem));
1463
- var J = this.lastTokEnd, I = this.lastTokEndLoc;
1463
+ var z = this.lastTokEnd, I = this.lastTokEndLoc;
1464
1464
  if (this.expect(h.parenR), t && this.shouldParseArrow(g) && this.eat(h.arrow))
1465
1465
  return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = M, this.awaitPos = j, this.parseParenArrowList(r, a, g, e);
1466
- (!g.length || w) && this.unexpected(this.lastTokStart), B && this.unexpected(B), this.checkExpressionErrors(N, !0), this.yieldPos = M || this.yieldPos, this.awaitPos = j || this.awaitPos, g.length > 1 ? (u = this.startNodeAt(d, v), u.expressions = g, this.finishNodeAt(u, "SequenceExpression", J, I)) : u = g[0];
1466
+ (!g.length || w) && this.unexpected(this.lastTokStart), B && this.unexpected(B), this.checkExpressionErrors(N, !0), this.yieldPos = M || this.yieldPos, this.awaitPos = j || this.awaitPos, g.length > 1 ? (u = this.startNodeAt(d, v), u.expressions = g, this.finishNodeAt(u, "SequenceExpression", z, I)) : u = g[0];
1467
1467
  } else
1468
1468
  u = this.parseParenExpression();
1469
1469
  if (this.options.preserveParens) {
1470
- var et = this.startNodeAt(r, a);
1471
- return et.expression = u, this.finishNode(et, "ParenthesizedExpression");
1470
+ var X = this.startNodeAt(r, a);
1471
+ return X.expression = u, this.finishNode(X, "ParenthesizedExpression");
1472
1472
  } else
1473
1473
  return u;
1474
1474
  };
@@ -1515,7 +1515,7 @@ _.parseTemplate = function(t) {
1515
1515
  return this.next(), this.finishNode(r, "TemplateLiteral");
1516
1516
  };
1517
1517
  _.isAsyncProp = function(t) {
1518
- return !t.computed && t.key.type === "Identifier" && t.key.name === "async" && (this.type === h.name || this.type === h.num || this.type === h.string || this.type === h.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === h.star) && !Z.test(this.input.slice(this.lastTokEnd, this.start));
1518
+ return !t.computed && t.key.type === "Identifier" && t.key.name === "async" && (this.type === h.name || this.type === h.num || this.type === h.string || this.type === h.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === h.star) && !tt.test(this.input.slice(this.lastTokEnd, this.start));
1519
1519
  };
1520
1520
  _.parseObj = function(t, e) {
1521
1521
  var r = this.startNode(), a = !0, u = {};
@@ -1563,7 +1563,7 @@ _.initFunction = function(t) {
1563
1563
  };
1564
1564
  _.parseMethod = function(t, e, r) {
1565
1565
  var a = this.startNode(), u = this.yieldPos, f = this.awaitPos, d = this.awaitIdentPos;
1566
- return this.initFunction(a), this.options.ecmaVersion >= 6 && (a.generator = t), this.options.ecmaVersion >= 8 && (a.async = !!e), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(be(e, a.generator) | Yt | (r ? Je : 0)), this.expect(h.parenL), a.params = this.parseBindingList(h.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1), this.yieldPos = u, this.awaitPos = f, this.awaitIdentPos = d, this.finishNode(a, "FunctionExpression");
1566
+ return this.initFunction(a), this.options.ecmaVersion >= 6 && (a.generator = t), this.options.ecmaVersion >= 8 && (a.async = !!e), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(be(e, a.generator) | Zt | (r ? Je : 0)), this.expect(h.parenL), a.params = this.parseBindingList(h.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1), this.yieldPos = u, this.awaitPos = f, this.awaitIdentPos = d, this.finishNode(a, "FunctionExpression");
1567
1567
  };
1568
1568
  _.parseArrowExpression = function(t, e, r, a) {
1569
1569
  var u = this.yieldPos, f = this.awaitPos, d = this.awaitIdentPos;
@@ -1608,7 +1608,7 @@ _.parseExprList = function(t, e, r, a) {
1608
1608
  };
1609
1609
  _.checkUnreserved = function(t) {
1610
1610
  var e = t.start, r = t.end, a = t.name;
1611
- if (this.inGenerator && a === "yield" && this.raiseRecoverable(e, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && a === "await" && this.raiseRecoverable(e, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & Zt) && a === "arguments" && this.raiseRecoverable(e, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (a === "arguments" || a === "await") && this.raise(e, "Cannot use " + a + " in class static initialization block"), this.keywords.test(a) && this.raise(e, "Unexpected keyword '" + a + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(e, r).indexOf("\\") !== -1)) {
1611
+ if (this.inGenerator && a === "yield" && this.raiseRecoverable(e, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && a === "await" && this.raiseRecoverable(e, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & te) && a === "arguments" && this.raiseRecoverable(e, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (a === "arguments" || a === "await") && this.raise(e, "Cannot use " + a + " in class static initialization block"), this.keywords.test(a) && this.raise(e, "Unexpected keyword '" + a + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(e, r).indexOf("\\") !== -1)) {
1612
1612
  var u = this.strict ? this.reservedWordsStrict : this.reservedWords;
1613
1613
  u.test(a) && (!this.inAsync && a === "await" && this.raiseRecoverable(e, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(e, "The keyword '" + a + "' is reserved"));
1614
1614
  }
@@ -1635,19 +1635,19 @@ _.parseAwait = function(t) {
1635
1635
  var e = this.startNode();
1636
1636
  return this.next(), e.argument = this.parseMaybeUnary(null, !0, !1, t), this.finishNode(e, "AwaitExpression");
1637
1637
  };
1638
- var $t = K.prototype;
1639
- $t.raise = function(t, e) {
1638
+ var Xt = J.prototype;
1639
+ Xt.raise = function(t, e) {
1640
1640
  var r = xe(this.input, t);
1641
1641
  e += " (" + r.line + ":" + r.column + ")", this.sourceFile && (e += " in " + this.sourceFile);
1642
1642
  var a = new SyntaxError(e);
1643
1643
  throw a.pos = t, a.loc = r, a.raisedAt = this.pos, a;
1644
1644
  };
1645
- $t.raiseRecoverable = $t.raise;
1646
- $t.curPosition = function() {
1645
+ Xt.raiseRecoverable = Xt.raise;
1646
+ Xt.curPosition = function() {
1647
1647
  if (this.options.locations)
1648
1648
  return new At(this.curLine, this.pos - this.lineStart);
1649
1649
  };
1650
- var St = K.prototype, Ji = function(e) {
1650
+ var St = J.prototype, Ji = function(e) {
1651
1651
  this.flags = e, this.var = [], this.lexical = [], this.functions = [];
1652
1652
  };
1653
1653
  St.enterScope = function(t) {
@@ -1677,7 +1677,7 @@ St.declareName = function(t, e, r) {
1677
1677
  a = !0;
1678
1678
  break;
1679
1679
  }
1680
- if (g.var.push(t), this.inModule && g.flags & Vt && delete this.undefinedExports[t], g.flags & Zt)
1680
+ if (g.var.push(t), this.inModule && g.flags & Vt && delete this.undefinedExports[t], g.flags & te)
1681
1681
  break;
1682
1682
  }
1683
1683
  a && this.raiseRecoverable(r, "Identifier '" + t + "' has already been declared");
@@ -1691,20 +1691,20 @@ St.currentScope = function() {
1691
1691
  St.currentVarScope = function() {
1692
1692
  for (var t = this.scopeStack.length - 1; ; t--) {
1693
1693
  var e = this.scopeStack[t];
1694
- if (e.flags & (Zt | Bt | Pt))
1694
+ if (e.flags & (te | Bt | Pt))
1695
1695
  return e;
1696
1696
  }
1697
1697
  };
1698
1698
  St.currentThisScope = function() {
1699
1699
  for (var t = this.scopeStack.length - 1; ; t--) {
1700
1700
  var e = this.scopeStack[t];
1701
- if (e.flags & (Zt | Bt | Pt) && !(e.flags & ge))
1701
+ if (e.flags & (te | Bt | Pt) && !(e.flags & ge))
1702
1702
  return e;
1703
1703
  }
1704
1704
  };
1705
1705
  var jt = function(e, r, a) {
1706
1706
  this.type = "", this.start = r, this.end = 0, e.options.locations && (this.loc = new Ft(e, a)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [r, 0]);
1707
- }, Ut = K.prototype;
1707
+ }, Ut = J.prototype;
1708
1708
  Ut.startNode = function() {
1709
1709
  return new jt(this, this.start, this.startLoc);
1710
1710
  };
@@ -1763,18 +1763,18 @@ for (var ue = 0, Le = [9, 10, 11, 12, 13, 14]; ue < Le.length; ue += 1) {
1763
1763
  var is = Le[ue];
1764
1764
  es(is);
1765
1765
  }
1766
- var P = K.prototype, Xt = function(e, r) {
1766
+ var P = J.prototype, Qt = function(e, r) {
1767
1767
  this.parent = e, this.base = r || this;
1768
1768
  };
1769
- Xt.prototype.separatedFrom = function(e) {
1769
+ Qt.prototype.separatedFrom = function(e) {
1770
1770
  for (var r = this; r; r = r.parent)
1771
1771
  for (var a = e; a; a = a.parent)
1772
1772
  if (r.base === a.base && r !== a)
1773
1773
  return !0;
1774
1774
  return !1;
1775
1775
  };
1776
- Xt.prototype.sibling = function() {
1777
- return new Xt(this.parent, this.base);
1776
+ Qt.prototype.sibling = function() {
1777
+ return new Qt(this.parent, this.base);
1778
1778
  };
1779
1779
  var ft = function(e) {
1780
1780
  this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : "") + (e.options.ecmaVersion >= 13 ? "d" : "") + (e.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = ci[e.options.ecmaVersion >= 14 ? 14 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
@@ -1860,7 +1860,7 @@ P.regexp_pattern = function(t) {
1860
1860
  };
1861
1861
  P.regexp_disjunction = function(t) {
1862
1862
  var e = this.options.ecmaVersion >= 16;
1863
- for (e && (t.branchID = new Xt(t.branchID, null)), this.regexp_alternative(t); t.eat(
1863
+ for (e && (t.branchID = new Qt(t.branchID, null)), this.regexp_alternative(t); t.eat(
1864
1864
  124
1865
1865
  /* | */
1866
1866
  ); )
@@ -2170,7 +2170,7 @@ P.regexp_eatCControlLetter = function(t) {
2170
2170
  return !1;
2171
2171
  };
2172
2172
  P.regexp_eatZero = function(t) {
2173
- return t.current() === 48 && !ee(t.lookahead()) ? (t.lastIntValue = 0, t.advance(), !0) : !1;
2173
+ return t.current() === 48 && !ie(t.lookahead()) ? (t.lastIntValue = 0, t.advance(), !0) : !1;
2174
2174
  };
2175
2175
  P.regexp_eatControlEscape = function(t) {
2176
2176
  var e = t.current();
@@ -2312,7 +2312,7 @@ P.regexp_eatUnicodePropertyValue = function(t) {
2312
2312
  return t.lastStringValue !== "";
2313
2313
  };
2314
2314
  function us(t) {
2315
- return di(t) || ee(t);
2315
+ return di(t) || ie(t);
2316
2316
  }
2317
2317
  P.regexp_eatLoneUnicodePropertyNameOrValue = function(t) {
2318
2318
  return this.regexp_eatUnicodePropertyValue(t);
@@ -2528,7 +2528,7 @@ function ls(t) {
2528
2528
  }
2529
2529
  P.regexp_eatClassControlLetter = function(t) {
2530
2530
  var e = t.current();
2531
- return ee(e) || e === 95 ? (t.lastIntValue = e % 32, t.advance(), !0) : !1;
2531
+ return ie(e) || e === 95 ? (t.lastIntValue = e % 32, t.advance(), !0) : !1;
2532
2532
  };
2533
2533
  P.regexp_eatHexEscapeSequence = function(t) {
2534
2534
  var e = t.pos;
@@ -2544,11 +2544,11 @@ P.regexp_eatHexEscapeSequence = function(t) {
2544
2544
  };
2545
2545
  P.regexp_eatDecimalDigits = function(t) {
2546
2546
  var e = t.pos, r = 0;
2547
- for (t.lastIntValue = 0; ee(r = t.current()); )
2547
+ for (t.lastIntValue = 0; ie(r = t.current()); )
2548
2548
  t.lastIntValue = 10 * t.lastIntValue + (r - 48), t.advance();
2549
2549
  return t.pos !== e;
2550
2550
  };
2551
- function ee(t) {
2551
+ function ie(t) {
2552
2552
  return t >= 48 && t <= 57;
2553
2553
  }
2554
2554
  P.regexp_eatHexDigits = function(t) {
@@ -2593,14 +2593,14 @@ P.regexp_eatFixedHexDigits = function(t, e) {
2593
2593
  }
2594
2594
  return !0;
2595
2595
  };
2596
- var ie = function(e) {
2596
+ var se = function(e) {
2597
2597
  this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new Ft(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2598
- }, D = K.prototype;
2598
+ }, D = J.prototype;
2599
2599
  D.next = function(t) {
2600
- !t && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new ie(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2600
+ !t && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new se(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2601
2601
  };
2602
2602
  D.getToken = function() {
2603
- return this.next(), new ie(this);
2603
+ return this.next(), new se(this);
2604
2604
  };
2605
2605
  typeof Symbol < "u" && (D[Symbol.iterator] = function() {
2606
2606
  var t = this;
@@ -2731,7 +2731,7 @@ D.readToken_caret = function() {
2731
2731
  };
2732
2732
  D.readToken_plus_min = function(t) {
2733
2733
  var e = this.input.charCodeAt(this.pos + 1);
2734
- return e === t ? e === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || Z.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(h.incDec, 2) : e === 61 ? this.finishOp(h.assign, 2) : this.finishOp(h.plusMin, 1);
2734
+ return e === t ? e === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || tt.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(h.incDec, 2) : e === 61 ? this.finishOp(h.assign, 2) : this.finishOp(h.plusMin, 1);
2735
2735
  };
2736
2736
  D.readToken_lt_gt = function(t) {
2737
2737
  var e = this.input.charCodeAt(this.pos + 1), r = 1;
@@ -2862,7 +2862,7 @@ D.readRegexp = function() {
2862
2862
  for (var t, e, r = this.pos; ; ) {
2863
2863
  this.pos >= this.input.length && this.raise(r, "Unterminated regular expression");
2864
2864
  var a = this.input.charAt(this.pos);
2865
- if (Z.test(a) && this.raise(r, "Unterminated regular expression"), t)
2865
+ if (tt.test(a) && this.raise(r, "Unterminated regular expression"), t)
2866
2866
  t = !1;
2867
2867
  else {
2868
2868
  if (a === "[")
@@ -3098,10 +3098,10 @@ D.readWord = function() {
3098
3098
  return this.keywords.test(t) && (e = kt[t]), this.finishToken(e, t);
3099
3099
  };
3100
3100
  var bi = "8.15.0";
3101
- K.acorn = {
3102
- Parser: K,
3101
+ J.acorn = {
3102
+ Parser: J,
3103
3103
  version: bi,
3104
- defaultOptions: Kt,
3104
+ defaultOptions: Jt,
3105
3105
  Position: At,
3106
3106
  SourceLocation: Ft,
3107
3107
  getLineInfo: xe,
@@ -3109,41 +3109,41 @@ K.acorn = {
3109
3109
  TokenType: O,
3110
3110
  tokTypes: h,
3111
3111
  keywordTypes: kt,
3112
- TokContext: Y,
3112
+ TokContext: Z,
3113
3113
  tokContexts: q,
3114
3114
  isIdentifierChar: dt,
3115
3115
  isIdentifierStart: pt,
3116
- Token: ie,
3116
+ Token: se,
3117
3117
  isNewLine: Tt,
3118
- lineBreak: Z,
3118
+ lineBreak: tt,
3119
3119
  lineBreakG: qe,
3120
3120
  nonASCIIwhitespace: ye
3121
3121
  };
3122
3122
  function ds(t, e) {
3123
- return K.parse(t, e);
3123
+ return J.parse(t, e);
3124
3124
  }
3125
3125
  function ms(t, e, r) {
3126
- return K.parseExpressionAt(t, e, r);
3126
+ return J.parseExpressionAt(t, e, r);
3127
3127
  }
3128
3128
  function ys(t, e) {
3129
- return K.tokenizer(t, e);
3129
+ return J.tokenizer(t, e);
3130
3130
  }
3131
3131
  const xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3132
3132
  __proto__: null,
3133
3133
  Node: jt,
3134
- Parser: K,
3134
+ Parser: J,
3135
3135
  Position: At,
3136
3136
  SourceLocation: Ft,
3137
- TokContext: Y,
3138
- Token: ie,
3137
+ TokContext: Z,
3138
+ Token: se,
3139
3139
  TokenType: O,
3140
- defaultOptions: Kt,
3140
+ defaultOptions: Jt,
3141
3141
  getLineInfo: xe,
3142
3142
  isIdentifierChar: dt,
3143
3143
  isIdentifierStart: pt,
3144
3144
  isNewLine: Tt,
3145
3145
  keywordTypes: kt,
3146
- lineBreak: Z,
3146
+ lineBreak: tt,
3147
3147
  lineBreakG: qe,
3148
3148
  nonASCIIwhitespace: ye,
3149
3149
  parse: ds,
@@ -3169,16 +3169,16 @@ function Oe(t, e) {
3169
3169
  }
3170
3170
  var u;
3171
3171
  }
3172
- function Qt() {
3173
- return Qt = Object.assign ? Object.assign.bind() : function(t) {
3172
+ function Yt() {
3173
+ return Yt = Object.assign ? Object.assign.bind() : function(t) {
3174
3174
  for (var e = 1; e < arguments.length; e++) {
3175
3175
  var r = arguments[e];
3176
3176
  for (var a in r) Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
3177
3177
  }
3178
3178
  return t;
3179
- }, Qt.apply(this, arguments);
3179
+ }, Yt.apply(this, arguments);
3180
3180
  }
3181
- function Wt(t, e) {
3181
+ function Kt(t, e) {
3182
3182
  t.prototype = Object.create(e.prototype), t.prototype.constructor = t, me(t, e);
3183
3183
  }
3184
3184
  function me(t, e) {
@@ -3218,13 +3218,13 @@ var vs = /* @__PURE__ */ new WeakMap();
3218
3218
  function gs(t) {
3219
3219
  var e = vs.get(t.Parser.acorn || t);
3220
3220
  if (!e) {
3221
- var r = { assert: nt(0, { startsExpr: at }), asserts: nt(0, { startsExpr: at }), global: nt(0, { startsExpr: at }), keyof: nt(0, { startsExpr: at }), readonly: nt(0, { startsExpr: at }), unique: nt(0, { startsExpr: at }), abstract: nt(0, { startsExpr: at }), declare: nt(0, { startsExpr: at }), enum: nt(0, { startsExpr: at }), module: nt(0, { startsExpr: at }), namespace: nt(0, { startsExpr: at }), interface: nt(0, { startsExpr: at }), type: nt(0, { startsExpr: at }) }, a = { at: new O("@"), jsxName: new O("jsxName"), jsxText: new O("jsxText", { beforeExpr: !0 }), jsxTagStart: new O("jsxTagStart", { startsExpr: !0 }), jsxTagEnd: new O("jsxTagEnd") }, u = { tc_oTag: new Y("<tag", !1, !1), tc_cTag: new Y("</tag", !1, !1), tc_expr: new Y("<tag>...</tag>", !0, !0) }, f = new RegExp("^(?:" + Object.keys(r).join("|") + ")$");
3221
+ var r = { assert: nt(0, { startsExpr: at }), asserts: nt(0, { startsExpr: at }), global: nt(0, { startsExpr: at }), keyof: nt(0, { startsExpr: at }), readonly: nt(0, { startsExpr: at }), unique: nt(0, { startsExpr: at }), abstract: nt(0, { startsExpr: at }), declare: nt(0, { startsExpr: at }), enum: nt(0, { startsExpr: at }), module: nt(0, { startsExpr: at }), namespace: nt(0, { startsExpr: at }), interface: nt(0, { startsExpr: at }), type: nt(0, { startsExpr: at }) }, a = { at: new O("@"), jsxName: new O("jsxName"), jsxText: new O("jsxText", { beforeExpr: !0 }), jsxTagStart: new O("jsxTagStart", { startsExpr: !0 }), jsxTagEnd: new O("jsxTagEnd") }, u = { tc_oTag: new Z("<tag", !1, !1), tc_cTag: new Z("</tag", !1, !1), tc_expr: new Z("<tag>...</tag>", !0, !0) }, f = new RegExp("^(?:" + Object.keys(r).join("|") + ")$");
3222
3222
  a.jsxTagStart.updateContext = function() {
3223
3223
  this.context.push(u.tc_expr), this.context.push(u.tc_oTag), this.exprAllowed = !1;
3224
3224
  }, a.jsxTagEnd.updateContext = function(d) {
3225
3225
  var v = this.context.pop();
3226
3226
  v === u.tc_oTag && d === h.slash || v === u.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === u.tc_expr) : this.exprAllowed = !0;
3227
- }, e = { tokTypes: Qt({}, r, a), tokContexts: Qt({}, u), keywordsRegExp: f, tokenIsLiteralPropertyName: function(d) {
3227
+ }, e = { tokTypes: Yt({}, r, a), tokContexts: Yt({}, u), keywordsRegExp: f, tokenIsLiteralPropertyName: function(d) {
3228
3228
  return [h.name, h.string, h.num].concat(Object.values(kt), Object.values(r)).includes(d);
3229
3229
  }, tokenIsKeywordOrIdentifier: function(d) {
3230
3230
  return [h.name].concat(Object.values(kt), Object.values(r)).includes(d);
@@ -3319,22 +3319,22 @@ function Be(t) {
3319
3319
  function Es(t) {
3320
3320
  var e = {}, r = e.dts, a = r !== void 0 && r, u = e.allowSatisfies, f = u !== void 0 && u;
3321
3321
  return function(d) {
3322
- var v = d.acorn || xs, g = gs(v), o = v.tokTypes, w = v.keywordTypes, N = v.isIdentifierStart, M = v.lineBreak, j = v.isNewLine, B = v.tokContexts, J = v.isIdentifierChar, I = g.tokTypes, et = g.tokContexts, se = g.keywordsRegExp, Ti = g.tokenIsLiteralPropertyName, Pi = g.tokenIsTemplate, Ci = g.tokenIsTSDeclarationStart, U = g.tokenIsIdentifier, qt = g.tokenIsKeywordOrIdentifier, ki = g.tokenIsTSTypeOperator;
3323
- function Ai(T, it, Q) {
3324
- Q === void 0 && (Q = T.length);
3325
- for (var G = it; G < Q; G++) {
3322
+ var v = d.acorn || xs, g = gs(v), o = v.tokTypes, w = v.keywordTypes, N = v.isIdentifierStart, M = v.lineBreak, j = v.isNewLine, B = v.tokContexts, z = v.isIdentifierChar, I = g.tokTypes, X = g.tokContexts, qt = g.keywordsRegExp, Ti = g.tokenIsLiteralPropertyName, Pi = g.tokenIsTemplate, Ci = g.tokenIsTSDeclarationStart, U = g.tokenIsIdentifier, Ht = g.tokenIsKeywordOrIdentifier, ki = g.tokenIsTSTypeOperator;
3323
+ function Ai(T, it, Y) {
3324
+ Y === void 0 && (Y = T.length);
3325
+ for (var G = it; G < Y; G++) {
3326
3326
  var F = T.charCodeAt(G);
3327
- if (j(F)) return G < Q - 1 && F === 13 && T.charCodeAt(G + 1) === 10 ? G + 2 : G + 1;
3327
+ if (j(F)) return G < Y - 1 && F === 13 && T.charCodeAt(G + 1) === 10 ? G + 2 : G + 1;
3328
3328
  }
3329
3329
  return -1;
3330
3330
  }
3331
- d = (function(T, it, Q) {
3332
- var G = Q.tokTypes, F = it.tokTypes;
3331
+ d = (function(T, it, Y) {
3332
+ var G = Y.tokTypes, F = it.tokTypes;
3333
3333
  return (function(p) {
3334
3334
  function i() {
3335
3335
  return p.apply(this, arguments) || this;
3336
3336
  }
3337
- Wt(i, p);
3337
+ Kt(i, p);
3338
3338
  var s = i.prototype;
3339
3339
  return s.takeDecorators = function(n) {
3340
3340
  var c = this.decoratorStack[this.decoratorStack.length - 1];
@@ -3368,13 +3368,13 @@ function Es(t) {
3368
3368
  return n;
3369
3369
  }, i;
3370
3370
  })(T);
3371
- })(d, g, v), d = (function(T, it, Q, G) {
3371
+ })(d, g, v), d = (function(T, it, Y, G) {
3372
3372
  var F = T.tokTypes, p = it.tokTypes, i = T.isNewLine, s = T.isIdentifierChar, n = Object.assign({ allowNamespaces: !0, allowNamespacedObjects: !0 }, {});
3373
3373
  return (function(c) {
3374
3374
  function l() {
3375
3375
  return c.apply(this, arguments) || this;
3376
3376
  }
3377
- Wt(l, c);
3377
+ Kt(l, c);
3378
3378
  var m = l.prototype;
3379
3379
  return m.jsx_readToken = function() {
3380
3380
  for (var y = "", x = this.pos; ; ) {
@@ -3500,14 +3500,14 @@ function Es(t) {
3500
3500
  var y = this.start, x = this.startLoc;
3501
3501
  return this.next(), this.jsx_parseElementAt(y, x);
3502
3502
  }, l;
3503
- })(Q);
3504
- })(v, g, d), d = (function(T, it, Q) {
3505
- var G = it.tokTypes, F = Q.tokTypes;
3503
+ })(Y);
3504
+ })(v, g, d), d = (function(T, it, Y) {
3505
+ var G = it.tokTypes, F = Y.tokTypes;
3506
3506
  return (function(p) {
3507
3507
  function i() {
3508
3508
  return p.apply(this, arguments) || this;
3509
3509
  }
3510
- Wt(i, p);
3510
+ Kt(i, p);
3511
3511
  var s = i.prototype;
3512
3512
  return s.parseMaybeImportAttributes = function(n) {
3513
3513
  if (this.type === F._with || this.type === G.assert) {
@@ -3538,18 +3538,18 @@ function Es(t) {
3538
3538
  return l;
3539
3539
  })(c), { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: A.InvalidModifierOnTypeParameterPositions }), c;
3540
3540
  }
3541
- Wt(it, T);
3542
- var Q, G, F, p = it.prototype;
3541
+ Kt(it, T);
3542
+ var Y, G, F, p = it.prototype;
3543
3543
  return p.getTokenFromCodeInType = function(i) {
3544
3544
  return i === 62 || i === 60 ? this.finishOp(o.relational, 1) : T.prototype.getTokenFromCode.call(this, i);
3545
3545
  }, p.readToken = function(i) {
3546
3546
  if (!this.inType) {
3547
3547
  var s = this.curContext();
3548
- if (s === et.tc_expr) return this.jsx_readToken();
3549
- if (s === et.tc_oTag || s === et.tc_cTag) {
3548
+ if (s === X.tc_expr) return this.jsx_readToken();
3549
+ if (s === X.tc_oTag || s === X.tc_cTag) {
3550
3550
  if (N(i)) return this.jsx_readWord();
3551
3551
  if (i == 62) return ++this.pos, this.finishToken(I.jsxTagEnd);
3552
- if ((i === 34 || i === 39) && s == et.tc_oTag) return this.jsx_readString(i);
3552
+ if ((i === 34 || i === 39) && s == X.tc_oTag) return this.jsx_readString(i);
3553
3553
  }
3554
3554
  if (i === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33) return ++this.pos, this.finishToken(I.jsxTagStart);
3555
3555
  }
@@ -3631,7 +3631,7 @@ function Es(t) {
3631
3631
  var n = i + s.length;
3632
3632
  if (this.input.slice(i, n) === s) {
3633
3633
  var c = this.input.charCodeAt(n);
3634
- return !(J(c) || (64512 & c) == 55296);
3634
+ return !(z(c) || (64512 & c) == 55296);
3635
3635
  }
3636
3636
  return !1;
3637
3637
  }, p.isAbstractConstructorSignature = function() {
@@ -3666,7 +3666,7 @@ function Es(t) {
3666
3666
  return this.setLookaheadState(s), c;
3667
3667
  }, p.readWord = function() {
3668
3668
  var i = this.readWord1(), s = o.name;
3669
- return this.keywords.test(i) ? s = w[i] : new RegExp(se).test(i) && (s = I[i]), this.finishToken(s, i);
3669
+ return this.keywords.test(i) ? s = w[i] : new RegExp(qt).test(i) && (s = I[i]), this.finishToken(s, i);
3670
3670
  }, p.skipBlockComment = function() {
3671
3671
  var i;
3672
3672
  this.isLookahead || (i = this.options.onComment && this.curPosition());
@@ -3737,7 +3737,7 @@ function Es(t) {
3737
3737
  }
3738
3738
  return !1;
3739
3739
  }, p.ts_eatContextualWithState = function(i, s, n) {
3740
- if (se.test(i)) {
3740
+ if (qt.test(i)) {
3741
3741
  if (this.ts_isContextualWithState(n, I[i])) {
3742
3742
  for (var c = 0; c < s; c++) this.next();
3743
3743
  return !0;
@@ -3750,7 +3750,7 @@ function Es(t) {
3750
3750
  }, p.canHaveLeadingDecorator = function() {
3751
3751
  return this.match(o._class);
3752
3752
  }, p.eatContextual = function(i) {
3753
- return se.test(i) ? !!this.ts_isContextual(I[i]) && (this.next(), !0) : T.prototype.eatContextual.call(this, i);
3753
+ return qt.test(i) ? !!this.ts_isContextual(I[i]) && (this.next(), !0) : T.prototype.eatContextual.call(this, i);
3754
3754
  }, p.tsIsExternalModuleReference = function() {
3755
3755
  return this.isContextual("require") && this.lookaheadCharCode() === 40;
3756
3756
  }, p.tsParseExternalModuleReference = function() {
@@ -4178,10 +4178,10 @@ function Es(t) {
4178
4178
  s[m] = n[m];
4179
4179
  }
4180
4180
  }, p.tsParseModifiers = function(i) {
4181
- for (var s = this, n = i.modified, c = i.allowedModifiers, l = i.disallowedModifiers, m = i.stopOnStartOfClassStaticBlock, y = i.errorTemplate, x = y === void 0 ? A.InvalidModifierOnTypeMember : y, b = {}, S = function(z, H, W, $) {
4182
- H === W && n[$] && s.raise(z.column, A.InvalidModifiersOrder({ orderedModifiers: [W, $] }));
4183
- }, E = function(z, H, W, $) {
4184
- (n[W] && H === $ || n[$] && H === W) && s.raise(z.column, A.IncompatibleModifiers({ modifiers: [W, $] }));
4181
+ for (var s = this, n = i.modified, c = i.allowedModifiers, l = i.disallowedModifiers, m = i.stopOnStartOfClassStaticBlock, y = i.errorTemplate, x = y === void 0 ? A.InvalidModifierOnTypeMember : y, b = {}, S = function(W, H, K, $) {
4182
+ H === K && n[$] && s.raise(W.column, A.InvalidModifiersOrder({ orderedModifiers: [K, $] }));
4183
+ }, E = function(W, H, K, $) {
4184
+ (n[K] && H === $ || n[$] && H === K) && s.raise(W.column, A.IncompatibleModifiers({ modifiers: [K, $] }));
4185
4185
  }; ; ) {
4186
4186
  var L = this.startLoc, C = this.tsParseModifier(c.concat(l ?? []), m);
4187
4187
  if (!C) break;
@@ -4521,7 +4521,7 @@ function Es(t) {
4521
4521
  this.unexpected();
4522
4522
  }, p.parseIdentNode = function() {
4523
4523
  var i = this.startNode();
4524
- return qt(this.type) ? (i.name = this.value, i) : T.prototype.parseIdentNode.call(this);
4524
+ return Ht(this.type) ? (i.name = this.value, i) : T.prototype.parseIdentNode.call(this);
4525
4525
  }, p.parseVarStatement = function(i, s, n) {
4526
4526
  n === void 0 && (n = !1);
4527
4527
  var c = this.isAmbientContext;
@@ -4620,12 +4620,12 @@ function Es(t) {
4620
4620
  var C = s.tsTryParseIndexSignature(l);
4621
4621
  if (C) return l.abstract && s.raise(l.start, A.IndexSignatureHasAbstract), l.accessibility && s.raise(l.start, A.IndexSignatureHasAccessibility({ modifier: l.accessibility })), l.declare && s.raise(l.start, A.IndexSignatureHasDeclare), l.override && s.raise(l.start, A.IndexSignatureHasOverride), C;
4622
4622
  if (!s.inAbstractClass && l.abstract && s.raise(l.start, A.NonAbstractClassHasAbstractMethod), l.override && i && s.raise(l.start, A.OverrideNotInSubClass), l.static = n, n && (s.isClassElementNameStart() || s.type === o.star || (m = "static")), !m && c >= 8 && s.eatContextual("async") && (!s.isClassElementNameStart() && s.type !== o.star || s.canInsertSemicolon() ? m = "async" : x = !0), !m && (c >= 9 || !x) && s.eat(o.star) && (y = !0), !m && !x && !y) {
4623
- var z = s.value;
4624
- (s.eatContextual("get") || s.eatContextual("set")) && (s.isClassElementNameStart() ? b = z : m = z);
4623
+ var W = s.value;
4624
+ (s.eatContextual("get") || s.eatContextual("set")) && (s.isClassElementNameStart() ? b = W : m = W);
4625
4625
  }
4626
4626
  if (m ? (l.computed = !1, l.key = s.startNodeAt(s.lastTokStart, s.lastTokStartLoc), l.key.name = m, s.finishNode(l.key, "Identifier")) : s.parseClassElementName(l), s.parsePostMemberNameModifiers(l), s.isClassMethod() || c < 13 || s.type === o.parenL || b !== "method" || y || x) {
4627
- var H = !l.static && Ve(l, "constructor"), W = H && i;
4628
- H && b !== "method" && s.raise(l.key.start, "Constructor can't have get/set modifier"), l.kind = H ? "constructor" : b, s.parseClassMethod(l, y, x, W);
4627
+ var H = !l.static && Ve(l, "constructor"), K = H && i;
4628
+ H && b !== "method" && s.raise(l.key.start, "Constructor can't have get/set modifier"), l.kind = H ? "constructor" : b, s.parseClassMethod(l, y, x, K);
4629
4629
  } else s.parseClassField(l);
4630
4630
  return l;
4631
4631
  }
@@ -4665,28 +4665,28 @@ function Es(t) {
4665
4665
  }
4666
4666
  return c && this.checkExpressionErrors(s, !0), l > -1 && (s.parenthesizedAssign = l), m > -1 && (s.trailingComma = m), S;
4667
4667
  }, p.parseMaybeAssign = function(i, s, n) {
4668
- var c, l, m, y, x, b, S, E, L, C, z, H = this;
4668
+ var c, l, m, y, x, b, S, E, L, C, W, H = this;
4669
4669
  if (this.matchJsx("jsxTagStart") || this.tsMatchLeftRelational()) {
4670
4670
  if (E = this.cloneCurLookaheadState(), !(L = this.tryParse(function() {
4671
4671
  return H.parseMaybeAssignOrigin(i, s, n);
4672
4672
  }, E)).error) return L.node;
4673
- var W = this.context, $ = W[W.length - 1];
4674
- $ === g.tokContexts.tc_oTag && W[W.length - 2] === g.tokContexts.tc_expr ? (W.pop(), W.pop()) : $ !== g.tokContexts.tc_oTag && $ !== g.tokContexts.tc_expr || W.pop();
4673
+ var K = this.context, $ = K[K.length - 1];
4674
+ $ === g.tokContexts.tc_oTag && K[K.length - 2] === g.tokContexts.tc_expr ? (K.pop(), K.pop()) : $ !== g.tokContexts.tc_oTag && $ !== g.tokContexts.tc_expr || K.pop();
4675
4675
  }
4676
4676
  if (!((c = L) != null && c.error || this.tsMatchLeftRelational())) return this.parseMaybeAssignOrigin(i, s, n);
4677
4677
  E && !this.compareLookaheadState(E, this.getCurLookaheadState()) || (E = this.cloneCurLookaheadState());
4678
4678
  var rt = this.tryParse(function(vt) {
4679
4679
  var _t, Nt;
4680
- z = H.tsParseTypeParameters();
4680
+ W = H.tsParseTypeParameters();
4681
4681
  var gt = H.parseMaybeAssignOrigin(i, s, n);
4682
- return (gt.type !== "ArrowFunctionExpression" || (_t = gt.extra) != null && _t.parenthesized) && vt(), ((Nt = z) == null ? void 0 : Nt.params.length) !== 0 && H.resetStartLocationFromNode(gt, z), gt.typeParameters = z, gt;
4682
+ return (gt.type !== "ArrowFunctionExpression" || (_t = gt.extra) != null && _t.parenthesized) && vt(), ((Nt = W) == null ? void 0 : Nt.params.length) !== 0 && H.resetStartLocationFromNode(gt, W), gt.typeParameters = W, gt;
4683
4683
  }, E);
4684
- if (!rt.error && !rt.aborted) return z && this.reportReservedArrowTypeParam(z), rt.node;
4684
+ if (!rt.error && !rt.aborted) return W && this.reportReservedArrowTypeParam(W), rt.node;
4685
4685
  if (!L && (Fe(!0), !(C = this.tryParse(function() {
4686
4686
  return H.parseMaybeAssignOrigin(i, s, n);
4687
4687
  }, E)).error)) return C.node;
4688
4688
  if ((l = L) != null && l.node) return this.setLookaheadState(L.failState), L.node;
4689
- if (rt.node) return this.setLookaheadState(rt.failState), z && this.reportReservedArrowTypeParam(z), rt.node;
4689
+ if (rt.node) return this.setLookaheadState(rt.failState), W && this.reportReservedArrowTypeParam(W), rt.node;
4690
4690
  if ((m = C) != null && m.node) return this.setLookaheadState(C.failState), C.node;
4691
4691
  throw (y = L) != null && y.thrown ? L.error : rt.thrown ? rt.error : (x = C) != null && x.thrown ? C.error : ((b = L) == null ? void 0 : b.error) || rt.error || ((S = C) == null ? void 0 : S.error);
4692
4692
  }, p.parseAssignableListItem = function(i) {
@@ -4812,7 +4812,7 @@ function Es(t) {
4812
4812
  if (this.options.ecmaVersion >= 6) {
4813
4813
  var y = this.maybeInArrowParameters;
4814
4814
  this.maybeInArrowParameters = !0, this.next();
4815
- var x, b = this.start, S = this.startLoc, E = [], L = !0, C = !1, z = new Ot(), H = this.yieldPos, W = this.awaitPos;
4815
+ var x, b = this.start, S = this.startLoc, E = [], L = !0, C = !1, W = new Ot(), H = this.yieldPos, K = this.awaitPos;
4816
4816
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== o.parenR; ) {
4817
4817
  if (L ? L = !1 : this.expect(o.comma), m && this.afterTrailingComma(o.parenR, !0)) {
4818
4818
  C = !0;
@@ -4822,11 +4822,11 @@ function Es(t) {
4822
4822
  x = this.start, E.push(this.parseParenItem(this.parseRestBinding())), this.type === o.comma && this.raise(this.start, "Comma is not permitted after the rest element");
4823
4823
  break;
4824
4824
  }
4825
- E.push(this.parseMaybeAssign(s, z, this.parseParenItem));
4825
+ E.push(this.parseMaybeAssign(s, W, this.parseParenItem));
4826
4826
  }
4827
4827
  var $ = this.lastTokEnd, rt = this.lastTokEndLoc;
4828
- if (this.expect(o.parenR), this.maybeInArrowParameters = y, i && this.shouldParseArrow(E) && this.eat(o.arrow)) return this.checkPatternErrors(z, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = H, this.awaitPos = W, this.parseParenArrowList(c, l, E, s);
4829
- E.length && !C || this.unexpected(this.lastTokStart), x && this.unexpected(x), this.checkExpressionErrors(z, !0), this.yieldPos = H || this.yieldPos, this.awaitPos = W || this.awaitPos, E.length > 1 ? ((n = this.startNodeAt(b, S)).expressions = E, this.finishNodeAt(n, "SequenceExpression", $, rt)) : n = E[0];
4828
+ if (this.expect(o.parenR), this.maybeInArrowParameters = y, i && this.shouldParseArrow(E) && this.eat(o.arrow)) return this.checkPatternErrors(W, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = H, this.awaitPos = K, this.parseParenArrowList(c, l, E, s);
4829
+ E.length && !C || this.unexpected(this.lastTokStart), x && this.unexpected(x), this.checkExpressionErrors(W, !0), this.yieldPos = H || this.yieldPos, this.awaitPos = K || this.awaitPos, E.length > 1 ? ((n = this.startNodeAt(b, S)).expressions = E, this.finishNodeAt(n, "SequenceExpression", $, rt)) : n = E[0];
4830
4830
  } else n = this.parseParenExpression();
4831
4831
  if (this.options.preserveParens) {
4832
4832
  var vt = this.startNodeAt(c, l);
@@ -4873,31 +4873,31 @@ function Es(t) {
4873
4873
  var Ce = x.tsTryParseGenericAsyncArrowFunction(s, n, y);
4874
4874
  if (Ce) return i = Ce;
4875
4875
  }
4876
- var zt = x.tsParseTypeArgumentsInExpression();
4877
- if (!zt) return i;
4876
+ var Wt = x.tsParseTypeArgumentsInExpression();
4877
+ if (!Wt) return i;
4878
4878
  if (E && !x.match(o.parenL)) return L = x.curPosition(), i;
4879
4879
  if (Pi(x.type) || x.type === o.backQuote) {
4880
4880
  var ke = x.parseTaggedTemplateExpression(i, s, n, b);
4881
- return ke.typeParameters = zt, ke;
4881
+ return ke.typeParameters = Wt, ke;
4882
4882
  }
4883
4883
  if (!c && x.eat(o.parenL)) {
4884
4884
  var Ae = new Ot(), Ct = x.startNodeAt(s, n);
4885
- return Ct.callee = i, Ct.arguments = x.parseExprList(o.parenR, x.options.ecmaVersion >= 8, !1, Ae), x.tsCheckForInvalidTypeCasts(Ct.arguments), Ct.typeParameters = zt, b && (Ct.optional = E), x.checkExpressionErrors(Ae, !0), i = x.finishNode(Ct, "CallExpression");
4885
+ return Ct.callee = i, Ct.arguments = x.parseExprList(o.parenR, x.options.ecmaVersion >= 8, !1, Ae), x.tsCheckForInvalidTypeCasts(Ct.arguments), Ct.typeParameters = Wt, b && (Ct.optional = E), x.checkExpressionErrors(Ae, !0), i = x.finishNode(Ct, "CallExpression");
4886
4886
  }
4887
4887
  var ae = x.type;
4888
4888
  if (!(x.tsMatchRightRelational() || ae === o.bitShift || ae !== o.parenL && (we = ae, !!we.startsExpr) && !x.hasPrecedingLineBreak())) {
4889
4889
  var we, ne = x.startNodeAt(s, n);
4890
- return ne.expression = i, ne.typeParameters = zt, x.finishNode(ne, "TSInstantiationExpression");
4890
+ return ne.expression = i, ne.typeParameters = Wt, x.finishNode(ne, "TSInstantiationExpression");
4891
4891
  }
4892
4892
  });
4893
4893
  if (L && this.unexpected(L), C) return C.type === "TSInstantiationExpression" && (this.match(o.dot) || this.match(o.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, A.InvalidPropertyAccessAfterInstantiationExpression), i = C;
4894
4894
  }
4895
- var z = this.options.ecmaVersion >= 11, H = z && this.eat(o.questionDot);
4895
+ var W = this.options.ecmaVersion >= 11, H = W && this.eat(o.questionDot);
4896
4896
  c && H && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
4897
- var W = this.eat(o.bracketL);
4898
- if (W || H && this.type !== o.parenL && this.type !== o.backQuote || this.eat(o.dot)) {
4897
+ var K = this.eat(o.bracketL);
4898
+ if (K || H && this.type !== o.parenL && this.type !== o.backQuote || this.eat(o.dot)) {
4899
4899
  var $ = this.startNodeAt(s, n);
4900
- $.object = i, W ? ($.property = this.parseExpression(), this.expect(o.bracketR)) : $.property = this.type === o.privateId && i.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), $.computed = !!W, z && ($.optional = H), i = this.finishNode($, "MemberExpression");
4900
+ $.object = i, K ? ($.property = this.parseExpression(), this.expect(o.bracketR)) : $.property = this.type === o.privateId && i.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), $.computed = !!K, W && ($.optional = H), i = this.finishNode($, "MemberExpression");
4901
4901
  } else if (!c && this.eat(o.parenL)) {
4902
4902
  var rt = this.maybeInArrowParameters;
4903
4903
  this.maybeInArrowParameters = !0;
@@ -4907,8 +4907,8 @@ function Es(t) {
4907
4907
  if (l && !H && this.shouldParseAsyncArrow()) this.checkPatternErrors(vt, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = _t, this.awaitPos = Nt, this.awaitIdentPos = gt, i = this.parseSubscriptAsyncArrow(s, n, Pe, y);
4908
4908
  else {
4909
4909
  this.checkExpressionErrors(vt, !0), this.yieldPos = _t || this.yieldPos, this.awaitPos = Nt || this.awaitPos, this.awaitIdentPos = gt || this.awaitIdentPos;
4910
- var Ht = this.startNodeAt(s, n);
4911
- Ht.callee = i, Ht.arguments = Pe, z && (Ht.optional = H), i = this.finishNode(Ht, "CallExpression");
4910
+ var zt = this.startNodeAt(s, n);
4911
+ zt.callee = i, zt.arguments = Pe, W && (zt.optional = H), i = this.finishNode(zt, "CallExpression");
4912
4912
  }
4913
4913
  this.maybeInArrowParameters = rt;
4914
4914
  } else if (this.type === o.backQuote) {
@@ -4994,9 +4994,9 @@ function Es(t) {
4994
4994
  var E = this.parseIdent();
4995
4995
  if (this.isContextual("as")) {
4996
4996
  var L = this.parseIdent();
4997
- qt(this.type) ? (x = !0, y = E, c = s ? this.parseIdent() : this.parseModuleExportName(), b = !1) : (c = L, b = !1);
4998
- } else qt(this.type) ? (b = !1, c = s ? this.parseIdent() : this.parseModuleExportName()) : (x = !0, y = E);
4999
- } else qt(this.type) && (x = !0, s ? (y = T.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(y)) : y = this.parseModuleExportName());
4997
+ Ht(this.type) ? (x = !0, y = E, c = s ? this.parseIdent() : this.parseModuleExportName(), b = !1) : (c = L, b = !1);
4998
+ } else Ht(this.type) ? (b = !1, c = s ? this.parseIdent() : this.parseModuleExportName()) : (x = !0, y = E);
4999
+ } else Ht(this.type) && (x = !0, s ? (y = T.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(y)) : y = this.parseModuleExportName());
5000
5000
  x && n && this.raise(S, s ? A.TypeModifierIsUsedInTypeImports : A.TypeModifierIsUsedInTypeExports), i[l] = y, i[m] = c, i[s ? "importKind" : "exportKind"] = x ? "type" : "value", b && this.eatContextual("as") && (i[m] = s ? this.parseIdent() : this.parseModuleExportName()), i[m] || (i[m] = this.copyNode(i[l])), s && this.checkLValSimple(i[m], 2);
5001
5001
  }, p.raiseCommonCheck = function(i, s, n) {
5002
5002
  return s === "Comma is not permitted after the rest element" ? this.isAmbientContext && this.match(o.comma) && this.lookaheadCharCode() === 41 ? void this.next() : T.prototype.raise.call(this, i, s) : n ? T.prototype.raiseRecoverable.call(this, i, s) : T.prototype.raise.call(this, i, s);
@@ -5008,10 +5008,10 @@ function Es(t) {
5008
5008
  var s = this.type;
5009
5009
  if (s == o.braceL) {
5010
5010
  var n = this.curContext();
5011
- n == et.tc_oTag ? this.context.push(B.b_expr) : n == et.tc_expr ? this.context.push(B.b_tmpl) : T.prototype.updateContext.call(this, i), this.exprAllowed = !0;
5011
+ n == X.tc_oTag ? this.context.push(B.b_expr) : n == X.tc_expr ? this.context.push(B.b_tmpl) : T.prototype.updateContext.call(this, i), this.exprAllowed = !0;
5012
5012
  } else {
5013
5013
  if (s !== o.slash || i !== I.jsxTagStart) return T.prototype.updateContext.call(this, i);
5014
- this.context.length -= 2, this.context.push(et.tc_cTag), this.exprAllowed = !1;
5014
+ this.context.length -= 2, this.context.push(X.tc_cTag), this.exprAllowed = !1;
5015
5015
  }
5016
5016
  }, p.jsx_parseOpeningElementAt = function(i, s) {
5017
5017
  var n = this, c = this.startNodeAt(i, s), l = this.jsx_parseElementName();
@@ -5056,11 +5056,11 @@ function Es(t) {
5056
5056
  }
5057
5057
  T.prototype.checkLocalExport.call(this, i);
5058
5058
  }
5059
- }, Q = it, F = [{ key: "acornTypeScript", get: function() {
5059
+ }, Y = it, F = [{ key: "acornTypeScript", get: function() {
5060
5060
  return g;
5061
5061
  } }], (G = [{ key: "acornTypeScript", get: function() {
5062
5062
  return g;
5063
- } }]) && Oe(Q.prototype, G), F && Oe(Q, F), Object.defineProperty(Q, "prototype", { writable: !1 }), it;
5063
+ } }]) && Oe(Y.prototype, G), F && Oe(Y, F), Object.defineProperty(Y, "prototype", { writable: !1 }), it;
5064
5064
  })(d);
5065
5065
  return wi;
5066
5066
  };
@@ -5114,19 +5114,27 @@ async function Vs() {
5114
5114
  let t = function(j) {
5115
5115
  switch (j.type) {
5116
5116
  case "FunctionDeclaration": {
5117
+ d.add(j.id.name);
5118
+ break;
5119
+ }
5120
+ case "MethodDefinition": {
5117
5121
  const B = j;
5118
- B.id?.name != null && d.add(B.id.name);
5122
+ console.log(1111, B);
5123
+ const z = B.key;
5124
+ console.log(2222, z);
5125
+ const I = z.name, X = j.key?.type === "PrivateIdentifier";
5126
+ I && !X && !(I === "constructor") && d.add(I);
5119
5127
  break;
5120
5128
  }
5121
5129
  }
5122
5130
  for (const B in j) {
5123
5131
  if (B === "loc" || B === "range" || B === "start" || B === "end" || B === "comments") continue;
5124
- const J = j[B];
5125
- Array.isArray(J) ? J.forEach(t) : J && typeof J == "object" && typeof J.type == "string" && t(J);
5132
+ const z = j[B];
5133
+ Array.isArray(z) ? z.forEach(t) : z && typeof z == "object" && typeof z.type == "string" && t(z);
5126
5134
  }
5127
5135
  };
5128
5136
  console.info("🚀 Building connector configuration...");
5129
- const e = JSON.parse(await R.readFile("package.json", "utf8")), r = JSON.parse(await R.readFile("config.json", "utf8")), a = await R.readFile("src/index.ts", "utf8"), f = K.extend(Es()).parse(a, { ecmaVersion: "latest", sourceType: "module", locations: !0 }), d = /* @__PURE__ */ new Set();
5137
+ const e = JSON.parse(await R.readFile("package.json", "utf8")), r = JSON.parse(await R.readFile("config.json", "utf8")), a = await R.readFile("src/index.ts", "utf8"), f = J.extend(Es()).parse(a, { ecmaVersion: "latest", sourceType: "module", locations: !0 }), d = /* @__PURE__ */ new Set();
5130
5138
  t(f), console.log(`Extracted ${d.size} functions:`, Array.from(d));
5131
5139
  let v = !1, g = !1;
5132
5140
  const o = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, w = [...a.matchAll(o)].filter((j) => j[1] == null && j[2] !== "constructor"), N = [];
@@ -5196,8 +5204,8 @@ async function Hs() {
5196
5204
  for (const j of r.dependencies)
5197
5205
  if (j.vulnerabilities != null)
5198
5206
  for (const B of j.vulnerabilities) {
5199
- const J = B.severity?.toLowerCase() ?? "unknown";
5200
- J in a ? a[J]++ : a.unknown++;
5207
+ const z = B.severity?.toLowerCase() ?? "unknown";
5208
+ z in a ? a[z]++ : a.unknown++;
5201
5209
  }
5202
5210
  const u = {
5203
5211
  critical: { color: "D32F2F", label: "critical" },
@@ -5210,9 +5218,9 @@ async function Hs() {
5210
5218
  console.info("✅ No vulnerabilities found."), d.push(`[![OWASP](https://img.shields.io/badge/OWASP-passed-4CAF50)](https://data-positioning.github.io/${f.id}/dependency-check-reports/dependency-check-report.html)`);
5211
5219
  else
5212
5220
  for (const [j, B] of Object.entries(a)) {
5213
- const J = u[j];
5214
- if (console.warn(`⚠️ ${B} ${J.label} vulnerability(ies) found.`), B === 0) continue;
5215
- const I = `https://img.shields.io/badge/OWASP-${B}%20${J.label}-${J.color}`;
5221
+ const z = u[j];
5222
+ if (console.warn(`⚠️ ${B} ${z.label} vulnerability(ies) found.`), B === 0) continue;
5223
+ const I = `https://img.shields.io/badge/OWASP-${B}%20${z.label}-${z.color}`;
5216
5224
  d.push(`[![OWASP](${I})](https://data-positioning.github.io/${f.id}/dependency-check-reports/dependency-check-report.html)`);
5217
5225
  }
5218
5226
  const g = await R.readFile("./README.md", "utf8"), o = g.indexOf(t), w = g.indexOf(e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.155",
3
+ "version": "0.3.157",
4
4
  "description": "A library of utilities for managing the Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",