@putout/bundle 4.9.2 → 4.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bundle/putout.js CHANGED
@@ -2315,9 +2315,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, '__esModule', {
2315
2315
  }), mod);
2316
2316
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== 'symbol' ? key + '' : key, value);
2317
2317
 
2318
- // node_modules/picocolors/picocolors.js
2318
+ // ../babel-babel/node_modules/picocolors/picocolors.js
2319
2319
  var require_picocolors = __commonJS({
2320
- 'node_modules/picocolors/picocolors.js'(exports2, module2) {
2320
+ '../babel-babel/node_modules/picocolors/picocolors.js'(exports2, module2) {
2321
2321
  var p = browser$1$1 || {};
2322
2322
  var argv = p.argv || [];
2323
2323
  var env = p.env || {};
@@ -2400,9 +2400,9 @@ var require_picocolors = __commonJS({
2400
2400
  },
2401
2401
  });
2402
2402
 
2403
- // node_modules/js-tokens/index.js
2404
- var require_js_tokens = __commonJS({
2405
- 'node_modules/js-tokens/index.js'(exports2, module2) {
2403
+ // ../babel-babel/node_modules/js-tokens-BABEL_8_BREAKING-true/index.js
2404
+ var require_js_tokens_BABEL_8_BREAKING_true = __commonJS({
2405
+ '../babel-babel/node_modules/js-tokens-BABEL_8_BREAKING-true/index.js'(exports2, module2) {
2406
2406
  var Identifier3;
2407
2407
  var JSXIdentifier3;
2408
2408
  var JSXPunctuator;
@@ -2423,19 +2423,19 @@ var require_js_tokens = __commonJS({
2423
2423
  var TokensPrecedingExpression;
2424
2424
  var WhiteSpace;
2425
2425
 
2426
- RegularExpressionLiteral = /\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]|[^\/\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;
2426
+ RegularExpressionLiteral = /\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;
2427
2427
  Punctuator = /--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;
2428
- Identifier3 = /(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;
2429
- StringLiteral4 = /(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y;
2428
+ Identifier3 = /(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;
2429
+ StringLiteral4 = /(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y;
2430
2430
  NumericLiteral4 = /(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;
2431
- Template = /[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y;
2431
+ Template = /[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y;
2432
2432
  WhiteSpace = /[\t\v\f\ufeff\p{Zs}]+/yu;
2433
2433
  LineTerminatorSequence = /\r?\n|[\r\u2028\u2029]/y;
2434
- MultiLineComment = /\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y;
2434
+ MultiLineComment = /\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y;
2435
2435
  SingleLineComment = /\/\/.*/y;
2436
2436
  JSXPunctuator = /[<>.:={}]|\/(?![\/*])/y;
2437
2437
  JSXIdentifier3 = /[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;
2438
- JSXString = /(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y;
2438
+ JSXString = /(['"])(?:(?!\1)[^])*(\1)?/y;
2439
2439
  JSXText3 = /[^<>{}]+/y;
2440
2440
  TokensPrecedingExpression = /^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;
2441
2441
  TokensNotPrecedingObjectLiteral = /^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;
@@ -2902,9 +2902,16 @@ var require_js_tokens = __commonJS({
2902
2902
  },
2903
2903
  });
2904
2904
 
2905
- // node_modules/jsesc/jsesc.js
2905
+ // ../babel-babel/node_modules/js-tokens-BABEL_8_BREAKING-false/index.js
2906
+ var require_js_tokens = __commonJS({
2907
+ '../babel-babel/node_modules/js-tokens/index.js'(exports2, module2) {
2908
+ module2.exports = require_js_tokens_BABEL_8_BREAKING_true();
2909
+ },
2910
+ });
2911
+
2912
+ // ../babel-babel/node_modules/jsesc/jsesc.js
2906
2913
  var require_jsesc = __commonJS({
2907
- 'node_modules/jsesc/jsesc.js'(exports2, module2) {
2914
+ '../babel-babel/node_modules/jsesc/jsesc.js'(exports2, module2) {
2908
2915
 
2909
2916
  var object = {};
2910
2917
  var hasOwnProperty = object.hasOwnProperty;
@@ -2968,10 +2975,6 @@ var require_jsesc = __commonJS({
2968
2975
  return typeof value == 'number' || toString.call(value) == '[object Number]';
2969
2976
  };
2970
2977
 
2971
- var isBigInt = (value) => {
2972
- return typeof value == 'bigint';
2973
- };
2974
-
2975
2978
  var isFunction5 = (value) => {
2976
2979
  return typeof value == 'function';
2977
2980
  };
@@ -3120,41 +3123,32 @@ var require_jsesc = __commonJS({
3120
3123
  }
3121
3124
 
3122
3125
  return '[' + newLine + result.join(',' + newLine) + newLine + (compact ? '' : oldIndent) + ']';
3123
- } else if (isNumber2(argument) || isBigInt(argument)) {
3126
+ } else if (isNumber2(argument)) {
3124
3127
  if (json) {
3125
- return JSON.stringify(Number(argument));
3128
+ return JSON.stringify(argument);
3126
3129
  }
3127
3130
 
3128
- let result2;
3129
-
3130
3131
  if (useDecNumbers) {
3131
- result2 = String(argument);
3132
- } else if (useHexNumbers) {
3132
+ return String(argument);
3133
+ }
3134
+
3135
+ if (useHexNumbers) {
3133
3136
  let hexadecimal2 = argument.toString(16);
3134
3137
 
3135
3138
  if (!lowercaseHex) {
3136
3139
  hexadecimal2 = hexadecimal2.toUpperCase();
3137
3140
  }
3138
3141
 
3139
- result2 = '0x' + hexadecimal2;
3140
- } else if (useBinNumbers) {
3141
- result2 = '0b' + argument.toString(2);
3142
- } else if (useOctNumbers) {
3143
- result2 = '0o' + argument.toString(8);
3142
+ return '0x' + hexadecimal2;
3144
3143
  }
3145
-
3146
3144
 
3147
- if (isBigInt(argument)) {
3148
- return result2 + 'n';
3145
+ if (useBinNumbers) {
3146
+ return '0b' + argument.toString(2);
3149
3147
  }
3150
3148
 
3151
- return result2;
3152
- } else if (isBigInt(argument)) {
3153
- if (json) {
3154
- return JSON.stringify(Number(argument));
3149
+ if (useOctNumbers) {
3150
+ return '0o' + argument.toString(8);
3155
3151
  }
3156
-
3157
- return argument + 'n';
3158
3152
  } else if (!isObject(argument)) {
3159
3153
  if (json) {
3160
3154
  return JSON.stringify(argument) || 'null';
@@ -3177,7 +3171,6 @@ var require_jsesc = __commonJS({
3177
3171
  return '{' + newLine + result.join(',' + newLine) + newLine + (compact ? '' : oldIndent) + '}';
3178
3172
  }
3179
3173
 
3180
-
3181
3174
  }
3182
3175
 
3183
3176
  const regex = options.escapeEverything ? escapeEverythingRegex : escapeNonAsciiRegex;
@@ -3264,19 +3257,20 @@ var require_jsesc = __commonJS({
3264
3257
  },
3265
3258
  });
3266
3259
 
3267
- // node_modules/debug/src/browser.js
3260
+ // ../babel-babel/node_modules/ms/index.js
3261
+ // ../babel-babel/node_modules/debug/src/common.js
3268
3262
  var require_browser = () => () => ({
3269
3263
  enabled: false,
3270
3264
  });
3271
3265
 
3272
- // node_modules/debug/src/node.js
3266
+ // ../babel-babel/node_modules/has-flag/index.js
3273
3267
  var require_node = () => () => ({
3274
3268
  enabled: false,
3275
3269
  });
3276
3270
 
3277
- // node_modules/debug/src/index.js
3271
+ // ../babel-babel/node_modules/debug/src/index.js
3278
3272
  var require_src = __commonJS({
3279
- 'node_modules/debug/src/index.js'(exports2, module2) {
3273
+ '../babel-babel/node_modules/debug/src/index.js'(exports2, module2) {
3280
3274
  if (typeof browser$1$1 === 'undefined' || browser$1$1.type === 'renderer' || browser$1$1.browser === true || browser$1$1.__nwjs) {
3281
3275
  module2.exports = require_browser();
3282
3276
  } else {
@@ -3299,7 +3293,7 @@ __export(index_exports, {
3299
3293
  types: () => lib_exports,
3300
3294
  });
3301
3295
  var bundle = __toCommonJS(index_exports);
3302
- // node_modules/@babel/types/lib/index.js
3296
+ // ../babel-babel/packages/babel-types/lib/index.js
3303
3297
  var lib_exports = {};
3304
3298
 
3305
3299
  __export(lib_exports, {
@@ -3467,6 +3461,7 @@ __export(lib_exports, {
3467
3461
  ModuleExpression: () => ModuleExpression,
3468
3462
  NODE_FIELDS: () => NODE_FIELDS$1,
3469
3463
  NODE_PARENT_VALIDATIONS: () => NODE_PARENT_VALIDATIONS,
3464
+ NODE_UNION_SHAPES__PRIVATE: () => NODE_UNION_SHAPES__PRIVATE,
3470
3465
  NUMBER_BINARY_OPERATORS: () => NUMBER_BINARY_OPERATORS,
3471
3466
  NUMBER_UNARY_OPERATORS: () => NUMBER_UNARY_OPERATORS,
3472
3467
  NewExpression: () => NewExpression$1,
@@ -3507,7 +3502,6 @@ __export(lib_exports, {
3507
3502
  PrivateName: () => PrivateName$1,
3508
3503
  Program: () => Program$1,
3509
3504
  QualifiedTypeIdentifier: () => QualifiedTypeIdentifier,
3510
- RecordExpression: () => RecordExpression,
3511
3505
  RegExpLiteral: () => RegExpLiteral,
3512
3506
  RestElement: () => RestElement$1,
3513
3507
  ReturnStatement: () => ReturnStatement$1,
@@ -3609,7 +3603,6 @@ __export(lib_exports, {
3609
3603
  ThrowStatement: () => ThrowStatement,
3610
3604
  TopicReference: () => TopicReference,
3611
3605
  TryStatement: () => TryStatement,
3612
- TupleExpression: () => TupleExpression,
3613
3606
  TupleTypeAnnotation: () => TupleTypeAnnotation,
3614
3607
  TypeAlias: () => TypeAlias,
3615
3608
  TypeAnnotation: () => TypeAnnotation,
@@ -3828,7 +3821,6 @@ __export(lib_exports, {
3828
3821
  assertProperty: () => assertProperty,
3829
3822
  assertPureish: () => assertPureish,
3830
3823
  assertQualifiedTypeIdentifier: () => assertQualifiedTypeIdentifier,
3831
- assertRecordExpression: () => assertRecordExpression,
3832
3824
  assertRegExpLiteral: () => assertRegExpLiteral,
3833
3825
  assertRegexLiteral: () => assertRegexLiteral,
3834
3826
  assertRestElement: () => assertRestElement,
@@ -3929,7 +3921,6 @@ __export(lib_exports, {
3929
3921
  assertThrowStatement: () => assertThrowStatement,
3930
3922
  assertTopicReference: () => assertTopicReference,
3931
3923
  assertTryStatement: () => assertTryStatement,
3932
- assertTupleExpression: () => assertTupleExpression,
3933
3924
  assertTupleTypeAnnotation: () => assertTupleTypeAnnotation,
3934
3925
  assertTypeAlias: () => assertTypeAlias,
3935
3926
  assertTypeAnnotation: () => assertTypeAnnotation,
@@ -4067,7 +4058,7 @@ __export(lib_exports, {
4067
4058
  isArrayExpression: () => isArrayExpression$a,
4068
4059
  isArrayPattern: () => isArrayPattern,
4069
4060
  isArrayTypeAnnotation: () => isArrayTypeAnnotation,
4070
- isArrowFunctionExpression: () => isArrowFunctionExpression$2,
4061
+ isArrowFunctionExpression: () => isArrowFunctionExpression$3,
4071
4062
  isAssignmentExpression: () => isAssignmentExpression$3,
4072
4063
  isAssignmentPattern: () => isAssignmentPattern$3,
4073
4064
  isAwaitExpression: () => isAwaitExpression$1,
@@ -4219,7 +4210,7 @@ __export(lib_exports, {
4219
4210
  isNumberLiteralTypeAnnotation: () => isNumberLiteralTypeAnnotation,
4220
4211
  isNumberTypeAnnotation: () => isNumberTypeAnnotation,
4221
4212
  isNumericLiteral: () => isNumericLiteral,
4222
- isObjectExpression: () => isObjectExpression$9,
4213
+ isObjectExpression: () => isObjectExpression$a,
4223
4214
  isObjectMember: () => isObjectMember,
4224
4215
  isObjectMethod: () => isObjectMethod$1,
4225
4216
  isObjectPattern: () => isObjectPattern$3,
@@ -4248,7 +4239,6 @@ __export(lib_exports, {
4248
4239
  isProperty: () => isProperty$1,
4249
4240
  isPureish: () => isPureish,
4250
4241
  isQualifiedTypeIdentifier: () => isQualifiedTypeIdentifier,
4251
- isRecordExpression: () => isRecordExpression,
4252
4242
  isReferenced: () => isReferenced,
4253
4243
  isRegExpLiteral: () => isRegExpLiteral$2,
4254
4244
  isRegexLiteral: () => isRegexLiteral,
@@ -4352,7 +4342,6 @@ __export(lib_exports, {
4352
4342
  isThrowStatement: () => isThrowStatement,
4353
4343
  isTopicReference: () => isTopicReference,
4354
4344
  isTryStatement: () => isTryStatement,
4355
- isTupleExpression: () => isTupleExpression,
4356
4345
  isTupleTypeAnnotation: () => isTupleTypeAnnotation,
4357
4346
  isType: () => isType,
4358
4347
  isTypeAlias: () => isTypeAlias,
@@ -4435,7 +4424,6 @@ __export(lib_exports, {
4435
4424
  program: () => program$2,
4436
4425
  qualifiedTypeIdentifier: () => qualifiedTypeIdentifier,
4437
4426
  react: () => react,
4438
- recordExpression: () => recordExpression,
4439
4427
  regExpLiteral: () => regExpLiteral,
4440
4428
  regexLiteral: () => RegexLiteral,
4441
4429
  removeComments: () => removeComments,
@@ -4542,7 +4530,6 @@ __export(lib_exports, {
4542
4530
  tsUnionType: () => tsUnionType$1,
4543
4531
  tsUnknownKeyword: () => tsUnknownKeyword,
4544
4532
  tsVoidKeyword: () => tsVoidKeyword,
4545
- tupleExpression: () => tupleExpression,
4546
4533
  tupleTypeAnnotation: () => tupleTypeAnnotation,
4547
4534
  typeAlias: () => typeAlias,
4548
4535
  typeAnnotation: () => typeAnnotation,
@@ -4567,9 +4554,9 @@ __export(lib_exports, {
4567
4554
  yieldExpression: () => yieldExpression,
4568
4555
  });
4569
4556
 
4570
- // node_modules/@babel/helper-validator-identifier/lib/index.js
4571
- var nonASCIIidentifierStartChars = '\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC';
4572
- var nonASCIIidentifierChars = '\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65';
4557
+ // ../babel-babel/packages/babel-helper-validator-identifier/lib/index.js
4558
+ var nonASCIIidentifierStartChars = '\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC';
4559
+ var nonASCIIidentifierChars = '\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65';
4573
4560
  var nonASCIIidentifierStart = new RegExp('[' + nonASCIIidentifierStartChars + ']');
4574
4561
  var nonASCIIidentifier = new RegExp('[' + nonASCIIidentifierStartChars + nonASCIIidentifierChars + ']');
4575
4562
 
@@ -4674,7 +4661,9 @@ var astralIdentifierStartCodes = [
4674
4661
  21,
4675
4662
  11,
4676
4663
  25,
4677
- 71,
4664
+ 7,
4665
+ 25,
4666
+ 39,
4678
4667
  55,
4679
4668
  7,
4680
4669
  1,
@@ -4719,8 +4708,8 @@ var astralIdentifierStartCodes = [
4719
4708
  7,
4720
4709
  1,
4721
4710
  17,
4722
- 2,
4723
- 60,
4711
+ 5,
4712
+ 57,
4724
4713
  28,
4725
4714
  11,
4726
4715
  0,
@@ -4904,7 +4893,9 @@ var astralIdentifierStartCodes = [
4904
4893
  31,
4905
4894
  15,
4906
4895
  0,
4907
- 328,
4896
+ 24,
4897
+ 43,
4898
+ 261,
4908
4899
  18,
4909
4900
  16,
4910
4901
  0,
@@ -4952,7 +4943,11 @@ var astralIdentifierStartCodes = [
4952
4943
  44,
4953
4944
  212,
4954
4945
  63,
4955
- 129,
4946
+ 33,
4947
+ 24,
4948
+ 3,
4949
+ 24,
4950
+ 45,
4956
4951
  74,
4957
4952
  6,
4958
4953
  0,
@@ -4962,13 +4957,15 @@ var astralIdentifierStartCodes = [
4962
4957
  1,
4963
4958
  2,
4964
4959
  0,
4965
- 29,
4966
- 6135,
4967
- 9,
4968
- 1237,
4960
+ 15,
4961
+ 4,
4962
+ 10,
4963
+ 7381,
4969
4964
  42,
4970
- 9,
4971
- 8936,
4965
+ 31,
4966
+ 98,
4967
+ 114,
4968
+ 8702,
4972
4969
  3,
4973
4970
  2,
4974
4971
  6,
@@ -5076,7 +5073,19 @@ var astralIdentifierStartCodes = [
5076
5073
  29,
5077
5074
  3,
5078
5075
  0,
5079
- 496,
5076
+ 208,
5077
+ 30,
5078
+ 2,
5079
+ 2,
5080
+ 2,
5081
+ 1,
5082
+ 2,
5083
+ 6,
5084
+ 3,
5085
+ 4,
5086
+ 10,
5087
+ 1,
5088
+ 225,
5080
5089
  6,
5081
5090
  2,
5082
5091
  3,
@@ -5159,12 +5168,10 @@ var astralIdentifierStartCodes = [
5159
5168
  4421,
5160
5169
  42719,
5161
5170
  33,
5162
- 4153,
5163
- 7,
5164
- 221,
5171
+ 4381,
5172
+ 3,
5173
+ 5773,
5165
5174
  3,
5166
- 5761,
5167
- 15,
5168
5175
  7472,
5169
5176
  16,
5170
5177
  621,
@@ -5173,7 +5180,7 @@ var astralIdentifierStartCodes = [
5173
5180
  1507,
5174
5181
  4938,
5175
5182
  6,
5176
- 4191,
5183
+ 8489,
5177
5184
  ];
5178
5185
  var astralIdentifierCodes = [
5179
5186
  509,
@@ -5206,8 +5213,8 @@ var astralIdentifierCodes = [
5206
5213
  4,
5207
5214
  318,
5208
5215
  1,
5209
- 80,
5210
- 3,
5216
+ 78,
5217
+ 5,
5211
5218
  71,
5212
5219
  10,
5213
5220
  50,
@@ -5352,7 +5359,9 @@ var astralIdentifierCodes = [
5352
5359
  10,
5353
5360
  47,
5354
5361
  15,
5355
- 343,
5362
+ 199,
5363
+ 7,
5364
+ 137,
5356
5365
  9,
5357
5366
  54,
5358
5367
  7,
@@ -5384,7 +5393,9 @@ var astralIdentifierCodes = [
5384
5393
  4,
5385
5394
  9,
5386
5395
  9,
5387
- 330,
5396
+ 55,
5397
+ 9,
5398
+ 266,
5388
5399
  3,
5389
5400
  10,
5390
5401
  1,
@@ -5484,7 +5495,15 @@ var astralIdentifierCodes = [
5484
5495
  1,
5485
5496
  2,
5486
5497
  9,
5487
- 726,
5498
+ 233,
5499
+ 0,
5500
+ 3,
5501
+ 0,
5502
+ 8,
5503
+ 1,
5504
+ 6,
5505
+ 0,
5506
+ 475,
5488
5507
  6,
5489
5508
  110,
5490
5509
  6,
@@ -5636,13 +5655,10 @@ var reservedWords = {
5636
5655
  'public',
5637
5656
  'static',
5638
5657
  'yield',
5639
- ],
5640
- strictBind: ['eval', 'arguments'],
5641
- };
5658
+ ]};
5642
5659
 
5643
5660
  var keywords$1 = new Set(reservedWords.keyword);
5644
5661
  var reservedWordsStrictSet = new Set(reservedWords.strict);
5645
- new Set(reservedWords.strictBind);
5646
5662
 
5647
5663
  function isReservedWord(word, inModule) {
5648
5664
  return inModule && word === 'await' || word === 'enum';
@@ -5656,7 +5672,7 @@ function isKeyword(word) {
5656
5672
  return keywords$1.has(word);
5657
5673
  }
5658
5674
 
5659
- // node_modules/@babel/helper-string-parser/lib/index.js
5675
+ // ../babel-babel/packages/babel-helper-string-parser/lib/index.js
5660
5676
  var _isDigit = function isDigit(code2) {
5661
5677
  return code2 >= 48 && code2 <= 57;
5662
5678
  };
@@ -5957,7 +5973,7 @@ function readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors) {
5957
5973
  };
5958
5974
  }
5959
5975
 
5960
- // node_modules/@babel/types/lib/index.js
5976
+ // ../babel-babel/packages/babel-types/lib/index.js
5961
5977
  function shallowEqual(actual, expected) {
5962
5978
  const keys2 = Object.keys(expected);
5963
5979
 
@@ -6349,7 +6365,7 @@ function isProgram$5(node, opts) {
6349
6365
  return opts == null || shallowEqual(node, opts);
6350
6366
  }
6351
6367
 
6352
- function isObjectExpression$9(node, opts) {
6368
+ function isObjectExpression$a(node, opts) {
6353
6369
  if (!node)
6354
6370
  return false;
6355
6371
 
@@ -6549,7 +6565,7 @@ function isArrayPattern(node, opts) {
6549
6565
  return opts == null || shallowEqual(node, opts);
6550
6566
  }
6551
6567
 
6552
- function isArrowFunctionExpression$2(node, opts) {
6568
+ function isArrowFunctionExpression$3(node, opts) {
6553
6569
  if (!node)
6554
6570
  return false;
6555
6571
 
@@ -7779,26 +7795,6 @@ function isExportDefaultSpecifier(node, opts) {
7779
7795
  return opts == null || shallowEqual(node, opts);
7780
7796
  }
7781
7797
 
7782
- function isRecordExpression(node, opts) {
7783
- if (!node)
7784
- return false;
7785
-
7786
- if (node.type !== 'RecordExpression')
7787
- return false;
7788
-
7789
- return opts == null || shallowEqual(node, opts);
7790
- }
7791
-
7792
- function isTupleExpression(node, opts) {
7793
- if (!node)
7794
- return false;
7795
-
7796
- if (node.type !== 'TupleExpression')
7797
- return false;
7798
-
7799
- return opts == null || shallowEqual(node, opts);
7800
- }
7801
-
7802
7798
  function isModuleExpression(node, opts) {
7803
7799
  if (!node)
7804
7800
  return false;
@@ -8700,8 +8696,6 @@ function isExpression$2(node, opts) {
8700
8696
  case 'JSXFragment':
8701
8697
  case 'BindExpression':
8702
8698
  case 'DoExpression':
8703
- case 'RecordExpression':
8704
- case 'TupleExpression':
8705
8699
  case 'ModuleExpression':
8706
8700
  case 'TopicReference':
8707
8701
  case 'PipelineTopicExpression':
@@ -10127,6 +10121,7 @@ var NODE_FIELDS$1 = {};
10127
10121
  var BUILDER_KEYS = {};
10128
10122
  var DEPRECATED_KEYS = {};
10129
10123
  var NODE_PARENT_VALIDATIONS = {};
10124
+ var NODE_UNION_SHAPES__PRIVATE = {};
10130
10125
 
10131
10126
  function getType$1(val) {
10132
10127
  if (Array.isArray(val)) {
@@ -10365,6 +10360,7 @@ var validTypeOpts = /* @__PURE__ */new Set([
10365
10360
  'inherits',
10366
10361
  'visitor',
10367
10362
  'validate',
10363
+ 'unionShape',
10368
10364
  ]);
10369
10365
  var validFieldKeys = /* @__PURE__ */new Set([
10370
10366
  'default',
@@ -10478,6 +10474,10 @@ function defineType$5(type, opts = {}) {
10478
10474
  NODE_PARENT_VALIDATIONS[type] = opts.validate;
10479
10475
  }
10480
10476
 
10477
+ if (opts.unionShape) {
10478
+ NODE_UNION_SHAPES__PRIVATE[type] = opts.unionShape;
10479
+ }
10480
+
10481
10481
  store$1[type] = opts;
10482
10482
  }
10483
10483
 
@@ -10489,6 +10489,7 @@ var utils$1 = /* @__PURE__ */Object.freeze({
10489
10489
  FLIPPED_ALIAS_KEYS,
10490
10490
  NODE_FIELDS: NODE_FIELDS$1,
10491
10491
  NODE_PARENT_VALIDATIONS,
10492
+ NODE_UNION_SHAPES__PRIVATE,
10492
10493
  VISITOR_KEYS,
10493
10494
  allExpandedTypes,
10494
10495
  arrayOf,
@@ -10510,6 +10511,29 @@ var utils$1 = /* @__PURE__ */Object.freeze({
10510
10511
  validateType,
10511
10512
  });
10512
10513
 
10514
+ var classMethodOrPropertyUnionShapeCommon = (allowPrivateName = false) => ({
10515
+ unionShape: {
10516
+ discriminator: 'computed',
10517
+ shapes: [{
10518
+ name: 'computed',
10519
+ value: [true],
10520
+ properties: {
10521
+ key: {
10522
+ validate: assertNodeType('Expression'),
10523
+ },
10524
+ },
10525
+ }, {
10526
+ name: 'nonComputed',
10527
+ value: [false],
10528
+ properties: {
10529
+ key: {
10530
+ validate: allowPrivateName ? assertNodeType('Identifier', 'StringLiteral', 'NumericLiteral', 'BigIntLiteral', 'PrivateName') : assertNodeType('Identifier', 'StringLiteral', 'NumericLiteral', 'BigIntLiteral'),
10531
+ },
10532
+ },
10533
+ }],
10534
+ },
10535
+ });
10536
+
10513
10537
  var defineType$4 = defineAliasedType('Standardized');
10514
10538
 
10515
10539
  defineType$4('ArrayExpression', {
@@ -11152,6 +11176,26 @@ defineType$4('MemberExpression', {
11152
11176
  'LVal',
11153
11177
  'PatternLike',
11154
11178
  ],
11179
+ unionShape: {
11180
+ discriminator: 'computed',
11181
+ shapes: [{
11182
+ name: 'computed',
11183
+ value: [true],
11184
+ properties: {
11185
+ property: {
11186
+ validate: assertNodeType('Expression'),
11187
+ },
11188
+ },
11189
+ }, {
11190
+ name: 'nonComputed',
11191
+ value: [false],
11192
+ properties: {
11193
+ property: {
11194
+ validate: assertNodeType('Identifier', 'PrivateName'),
11195
+ },
11196
+ },
11197
+ }],
11198
+ },
11155
11199
  fields: Object.assign({
11156
11200
  object: {
11157
11201
  validate: assertNodeType('Expression', 'Super'),
@@ -11218,7 +11262,7 @@ defineType$4('ObjectExpression', {
11218
11262
  properties: validateArrayOfType('ObjectMethod', 'ObjectProperty', 'SpreadElement'),
11219
11263
  },
11220
11264
  });
11221
- defineType$4('ObjectMethod', {
11265
+ defineType$4('ObjectMethod', Object.assign({
11222
11266
  builder: [
11223
11267
  'kind',
11224
11268
  'key',
@@ -11236,6 +11280,7 @@ defineType$4('ObjectMethod', {
11236
11280
  'returnType',
11237
11281
  'body',
11238
11282
  ],
11283
+ }, classMethodOrPropertyUnionShapeCommon(), {
11239
11284
  fields: Object.assign({}, functionCommon(), functionTypeAnnotationCommon(), {
11240
11285
  kind: Object.assign({
11241
11286
  validate: assertOneOf('method', 'get', 'set'),
@@ -11279,7 +11324,7 @@ defineType$4('ObjectMethod', {
11279
11324
  'Method',
11280
11325
  'ObjectMember',
11281
11326
  ],
11282
- });
11327
+ }));
11283
11328
  defineType$4('ObjectProperty', {
11284
11329
  builder: [
11285
11330
  'key',
@@ -11288,6 +11333,26 @@ defineType$4('ObjectProperty', {
11288
11333
  'shorthand',
11289
11334
  ...[],
11290
11335
  ],
11336
+ unionShape: {
11337
+ discriminator: 'computed',
11338
+ shapes: [{
11339
+ name: 'computed',
11340
+ value: [true],
11341
+ properties: {
11342
+ key: {
11343
+ validate: assertNodeType('Expression'),
11344
+ },
11345
+ },
11346
+ }, {
11347
+ name: 'nonComputed',
11348
+ value: [false],
11349
+ properties: {
11350
+ key: {
11351
+ validate: assertNodeType('Identifier', 'StringLiteral', 'NumericLiteral', 'BigIntLiteral', 'PrivateName'),
11352
+ },
11353
+ },
11354
+ }],
11355
+ },
11291
11356
  fields: {
11292
11357
  computed: {
11293
11358
  default: false,
@@ -12151,7 +12216,7 @@ var classMethodOrDeclareMethodCommon = () => Object.assign({}, functionCommon(),
12151
12216
  },
12152
12217
  });
12153
12218
 
12154
- defineType$4('ClassMethod', {
12219
+ defineType$4('ClassMethod', Object.assign({
12155
12220
  aliases: [
12156
12221
  'Function',
12157
12222
  'Scopable',
@@ -12177,12 +12242,13 @@ defineType$4('ClassMethod', {
12177
12242
  'returnType',
12178
12243
  'body',
12179
12244
  ],
12245
+ }, classMethodOrPropertyUnionShapeCommon(), {
12180
12246
  fields: Object.assign({}, classMethodOrDeclareMethodCommon(), functionTypeAnnotationCommon(), {
12181
12247
  body: {
12182
12248
  validate: assertNodeType('BlockStatement'),
12183
12249
  },
12184
12250
  }),
12185
- });
12251
+ }));
12186
12252
  defineType$4('ObjectPattern', {
12187
12253
  visitor: [
12188
12254
  'decorators',
@@ -12410,7 +12476,7 @@ defineType$4('OptionalCallExpression', {
12410
12476
  },
12411
12477
  }, {}),
12412
12478
  });
12413
- defineType$4('ClassProperty', {
12479
+ defineType$4('ClassProperty', Object.assign({
12414
12480
  visitor: [
12415
12481
  'decorators',
12416
12482
  'variance',
@@ -12427,6 +12493,7 @@ defineType$4('ClassProperty', {
12427
12493
  'static',
12428
12494
  ],
12429
12495
  aliases: ['Property'],
12496
+ }, classMethodOrPropertyUnionShapeCommon(), {
12430
12497
  fields: Object.assign({}, classMethodOrPropertyCommon(), {
12431
12498
  value: {
12432
12499
  validate: assertNodeType('Expression'),
@@ -12457,8 +12524,8 @@ defineType$4('ClassProperty', {
12457
12524
  optional: true,
12458
12525
  },
12459
12526
  }),
12460
- });
12461
- defineType$4('ClassAccessorProperty', {
12527
+ }));
12528
+ defineType$4('ClassAccessorProperty', Object.assign({
12462
12529
  visitor: [
12463
12530
  'decorators',
12464
12531
  'key',
@@ -12474,6 +12541,7 @@ defineType$4('ClassAccessorProperty', {
12474
12541
  'static',
12475
12542
  ],
12476
12543
  aliases: ['Property', 'Accessor'],
12544
+ }, classMethodOrPropertyUnionShapeCommon(true), {
12477
12545
  fields: Object.assign({}, classMethodOrPropertyCommon(), {
12478
12546
  key: {
12479
12547
  validate: chain$4((function() {
@@ -12515,7 +12583,7 @@ defineType$4('ClassAccessorProperty', {
12515
12583
  optional: true,
12516
12584
  },
12517
12585
  }),
12518
- });
12586
+ }));
12519
12587
  defineType$4('ClassPrivateProperty', {
12520
12588
  visitor: [
12521
12589
  'decorators',
@@ -13524,23 +13592,6 @@ defineType$5('ExportDefaultSpecifier', {
13524
13592
  },
13525
13593
  },
13526
13594
  });
13527
- defineType$5('RecordExpression', {
13528
- visitor: ['properties'],
13529
- aliases: ['Expression'],
13530
- fields: {
13531
- properties: validateArrayOfType('ObjectProperty', 'SpreadElement'),
13532
- },
13533
- });
13534
- defineType$5('TupleExpression', {
13535
- fields: {
13536
- elements: {
13537
- validate: arrayOfType('Expression', 'SpreadElement'),
13538
- default: [],
13539
- },
13540
- },
13541
- visitor: ['elements'],
13542
- aliases: ['Expression'],
13543
- });
13544
13595
  defineType$5('ModuleExpression', {
13545
13596
  visitor: ['body'],
13546
13597
  fields: {
@@ -13632,7 +13683,7 @@ defineType('TSDeclareFunction', {
13632
13683
  ],
13633
13684
  fields: Object.assign({}, functionDeclarationCommon(), tSFunctionTypeAnnotationCommon()),
13634
13685
  });
13635
- defineType('TSDeclareMethod', {
13686
+ defineType('TSDeclareMethod', Object.assign({
13636
13687
  visitor: [
13637
13688
  'decorators',
13638
13689
  'key',
@@ -13640,8 +13691,9 @@ defineType('TSDeclareMethod', {
13640
13691
  'params',
13641
13692
  'returnType',
13642
13693
  ],
13694
+ }, classMethodOrPropertyUnionShapeCommon(), {
13643
13695
  fields: Object.assign({}, classMethodOrDeclareMethodCommon(), tSFunctionTypeAnnotationCommon()),
13644
- });
13696
+ }));
13645
13697
  defineType('TSQualifiedName', {
13646
13698
  aliases: ['TSEntityName'],
13647
13699
  visitor: ['left', 'right'],
@@ -13952,14 +14004,14 @@ defineType('TSLiteralType', {
13952
14004
  const unaryOperator = assertOneOf('-');
13953
14005
  const literal = assertNodeType('NumericLiteral', 'StringLiteral', 'BooleanLiteral', 'BigIntLiteral', 'TemplateLiteral');
13954
14006
 
13955
- function validator(parent, key, node) {
14007
+ const validator = function validator2(parent, key, node) {
13956
14008
  if (is$4('UnaryExpression', node)) {
13957
14009
  unaryOperator(node, 'operator', node.operator);
13958
14010
  unaryExpression3(node, 'argument', node.argument);
13959
14011
  } else {
13960
14012
  literal(parent, key, node);
13961
14013
  }
13962
- }
14014
+ };
13963
14015
 
13964
14016
  validator.oneOfNodeTypes = [
13965
14017
  'NumericLiteral',
@@ -16521,28 +16573,6 @@ function exportDefaultSpecifier(exported) {
16521
16573
  return node;
16522
16574
  }
16523
16575
 
16524
- function recordExpression(properties) {
16525
- const node = {
16526
- type: 'RecordExpression',
16527
- properties,
16528
- };
16529
-
16530
- const defs = NODE_FIELDS.RecordExpression;
16531
- validate$4(defs.properties, node, 'properties', properties, 1);
16532
- return node;
16533
- }
16534
-
16535
- function tupleExpression(elements = []) {
16536
- const node = {
16537
- type: 'TupleExpression',
16538
- elements,
16539
- };
16540
-
16541
- const defs = NODE_FIELDS.TupleExpression;
16542
- validate$4(defs.elements, node, 'elements', elements, 1);
16543
- return node;
16544
- }
16545
-
16546
16576
  function moduleExpression(body) {
16547
16577
  const node = {
16548
16578
  type: 'ModuleExpression',
@@ -17548,7 +17578,6 @@ var b = /* @__PURE__ */Object.freeze({
17548
17578
  privateName: privateName$1,
17549
17579
  program: program$2,
17550
17580
  qualifiedTypeIdentifier,
17551
- recordExpression,
17552
17581
  regExpLiteral,
17553
17582
  regexLiteral: RegexLiteral,
17554
17583
  restElement: restElement$1,
@@ -17641,7 +17670,6 @@ var b = /* @__PURE__ */Object.freeze({
17641
17670
  tsUnionType: tsUnionType$1,
17642
17671
  tsUnknownKeyword,
17643
17672
  tsVoidKeyword,
17644
- tupleExpression,
17645
17673
  tupleTypeAnnotation,
17646
17674
  typeAlias,
17647
17675
  typeAnnotation,
@@ -17849,8 +17877,6 @@ var BindExpression = alias('bindExpression');
17849
17877
  var Decorator$1 = alias('decorator');
17850
17878
  var DoExpression = alias('doExpression');
17851
17879
  var ExportDefaultSpecifier = alias('exportDefaultSpecifier');
17852
- var RecordExpression = alias('recordExpression');
17853
- var TupleExpression = alias('tupleExpression');
17854
17880
  var ModuleExpression = alias('moduleExpression');
17855
17881
  var TopicReference = alias('topicReference');
17856
17882
  var PipelineTopicExpression = alias('pipelineTopicExpression');
@@ -18710,14 +18736,6 @@ function assertExportDefaultSpecifier(node, opts) {
18710
18736
  assert('ExportDefaultSpecifier', node, opts);
18711
18737
  }
18712
18738
 
18713
- function assertRecordExpression(node, opts) {
18714
- assert('RecordExpression', node, opts);
18715
- }
18716
-
18717
- function assertTupleExpression(node, opts) {
18718
- assert('TupleExpression', node, opts);
18719
- }
18720
-
18721
18739
  function assertModuleExpression(node, opts) {
18722
18740
  assert('ModuleExpression', node, opts);
18723
18741
  }
@@ -19854,7 +19872,7 @@ function removeProperties(node, opts = {}) {
19854
19872
  }
19855
19873
 
19856
19874
  for (const key of Object.keys(node)) {
19857
- if (key[0] === '_' && node[key] != null)
19875
+ if (key.startsWith('_') && node[key] != null)
19858
19876
  node[key] = void 0;
19859
19877
  }
19860
19878
 
@@ -20056,7 +20074,7 @@ function inherits(child, parent) {
20056
20074
  }
20057
20075
 
20058
20076
  for (const key of Object.keys(parent)) {
20059
- if (key[0] === '_' && key !== '__clone') {
20077
+ if (key.startsWith('_') && key !== '__clone') {
20060
20078
  child[key] = parent[key];
20061
20079
  }
20062
20080
  }
@@ -20514,7 +20532,7 @@ function isReferenced(node, parent, grandparent) {
20514
20532
  return !!parent.computed;
20515
20533
  }
20516
20534
 
20517
- return !grandparent || grandparent.type !== 'ObjectPattern';
20535
+ return grandparent?.type !== 'ObjectPattern';
20518
20536
 
20519
20537
  case 'ClassProperty':
20520
20538
  case 'ClassAccessorProperty':
@@ -20661,7 +20679,7 @@ var react = {
20661
20679
  buildChildren,
20662
20680
  };
20663
20681
 
20664
- // node_modules/@babel/parser/lib/index.js
20682
+ // ../babel-babel/packages/babel-parser/lib/index.js
20665
20683
  function _objectWithoutPropertiesLoose(r, e) {
20666
20684
  if (null == r)
20667
20685
  return {};
@@ -21050,7 +21068,7 @@ function createDefaultOptions() {
21050
21068
  allowUndeclaredExports: false,
21051
21069
  allowYieldOutsideFunction: false,
21052
21070
  plugins: [],
21053
- strictMode: null,
21071
+ strictMode: void 0,
21054
21072
  ranges: false,
21055
21073
  tokens: false,
21056
21074
  createImportExpressions: true,
@@ -21139,7 +21157,7 @@ var estree = (superClass) => class ESTreeParserMixin extends superClass {
21139
21157
 
21140
21158
  try {
21141
21159
  regex = new RegExp(pattern, flags);
21142
- } catch(_) {}
21160
+ } catch {}
21143
21161
 
21144
21162
 
21145
21163
  const node = this.estreeParseLiteral(regex);
@@ -21216,7 +21234,7 @@ var estree = (superClass) => class ESTreeParserMixin extends superClass {
21216
21234
  return stmt;
21217
21235
  }
21218
21236
 
21219
- fillOptionalPropertiesForTSESLint(node) {}
21237
+ fillOptionalPropertiesForTSESLint() {}
21220
21238
 
21221
21239
  cloneEstreeStringLiteral(node) {
21222
21240
  const {
@@ -21279,8 +21297,6 @@ var estree = (superClass) => class ESTreeParserMixin extends superClass {
21279
21297
 
21280
21298
  convertPrivateNameToPrivateIdentifier(node) {
21281
21299
  const name = super.getPrivateNameSV(node);
21282
-
21283
- node = node;
21284
21300
  delete node.id;
21285
21301
  node.name = name;
21286
21302
  return this.castNodeTo(node, 'PrivateIdentifier');
@@ -21410,8 +21426,8 @@ var estree = (superClass) => class ESTreeParserMixin extends superClass {
21410
21426
  return this.finishNode(node, 'Property');
21411
21427
  }
21412
21428
 
21413
- isValidLVal(type, isUnparenthesizedInAssign, binding) {
21414
- return type === 'Property' ? 'value' : super.isValidLVal(type, isUnparenthesizedInAssign, binding);
21429
+ isValidLVal(type, disallowCallExpression, isUnparenthesizedInAssign, binding) {
21430
+ return type === 'Property' ? 'value' : super.isValidLVal(type, disallowCallExpression, isUnparenthesizedInAssign, binding);
21415
21431
  }
21416
21432
 
21417
21433
  isAssignable(node, isBinding3) {
@@ -21601,7 +21617,7 @@ var TokContext = class {
21601
21617
  }
21602
21618
  };
21603
21619
 
21604
- var types$18 = {
21620
+ var types$19 = {
21605
21621
  brace: new TokContext('{'),
21606
21622
  j_oTag: new TokContext('<tag'),
21607
21623
  j_cTag: new TokContext('</tag'),
@@ -22159,8 +22175,8 @@ function getExportedToken(token) {
22159
22175
  return tokenTypes[token];
22160
22176
  }
22161
22177
 
22162
- var nonASCIIidentifierStartChars2 = '\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC';
22163
- var nonASCIIidentifierChars2 = '\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65';
22178
+ var nonASCIIidentifierStartChars2 = '\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC';
22179
+ var nonASCIIidentifierChars2 = '\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65';
22164
22180
  var nonASCIIidentifierStart2 = new RegExp('[' + nonASCIIidentifierStartChars2 + ']');
22165
22181
  var nonASCIIidentifier2 = new RegExp('[' + nonASCIIidentifierStartChars2 + nonASCIIidentifierChars2 + ']');
22166
22182
 
@@ -22265,7 +22281,9 @@ var astralIdentifierStartCodes2 = [
22265
22281
  21,
22266
22282
  11,
22267
22283
  25,
22268
- 71,
22284
+ 7,
22285
+ 25,
22286
+ 39,
22269
22287
  55,
22270
22288
  7,
22271
22289
  1,
@@ -22310,8 +22328,8 @@ var astralIdentifierStartCodes2 = [
22310
22328
  7,
22311
22329
  1,
22312
22330
  17,
22313
- 2,
22314
- 60,
22331
+ 5,
22332
+ 57,
22315
22333
  28,
22316
22334
  11,
22317
22335
  0,
@@ -22495,7 +22513,9 @@ var astralIdentifierStartCodes2 = [
22495
22513
  31,
22496
22514
  15,
22497
22515
  0,
22498
- 328,
22516
+ 24,
22517
+ 43,
22518
+ 261,
22499
22519
  18,
22500
22520
  16,
22501
22521
  0,
@@ -22543,7 +22563,11 @@ var astralIdentifierStartCodes2 = [
22543
22563
  44,
22544
22564
  212,
22545
22565
  63,
22546
- 129,
22566
+ 33,
22567
+ 24,
22568
+ 3,
22569
+ 24,
22570
+ 45,
22547
22571
  74,
22548
22572
  6,
22549
22573
  0,
@@ -22553,13 +22577,15 @@ var astralIdentifierStartCodes2 = [
22553
22577
  1,
22554
22578
  2,
22555
22579
  0,
22556
- 29,
22557
- 6135,
22558
- 9,
22559
- 1237,
22580
+ 15,
22581
+ 4,
22582
+ 10,
22583
+ 7381,
22560
22584
  42,
22561
- 9,
22562
- 8936,
22585
+ 31,
22586
+ 98,
22587
+ 114,
22588
+ 8702,
22563
22589
  3,
22564
22590
  2,
22565
22591
  6,
@@ -22667,7 +22693,19 @@ var astralIdentifierStartCodes2 = [
22667
22693
  29,
22668
22694
  3,
22669
22695
  0,
22670
- 496,
22696
+ 208,
22697
+ 30,
22698
+ 2,
22699
+ 2,
22700
+ 2,
22701
+ 1,
22702
+ 2,
22703
+ 6,
22704
+ 3,
22705
+ 4,
22706
+ 10,
22707
+ 1,
22708
+ 225,
22671
22709
  6,
22672
22710
  2,
22673
22711
  3,
@@ -22750,12 +22788,10 @@ var astralIdentifierStartCodes2 = [
22750
22788
  4421,
22751
22789
  42719,
22752
22790
  33,
22753
- 4153,
22754
- 7,
22755
- 221,
22791
+ 4381,
22792
+ 3,
22793
+ 5773,
22756
22794
  3,
22757
- 5761,
22758
- 15,
22759
22795
  7472,
22760
22796
  16,
22761
22797
  621,
@@ -22764,7 +22800,7 @@ var astralIdentifierStartCodes2 = [
22764
22800
  1507,
22765
22801
  4938,
22766
22802
  6,
22767
- 4191,
22803
+ 8489,
22768
22804
  ];
22769
22805
  var astralIdentifierCodes2 = [
22770
22806
  509,
@@ -22797,8 +22833,8 @@ var astralIdentifierCodes2 = [
22797
22833
  4,
22798
22834
  318,
22799
22835
  1,
22800
- 80,
22801
- 3,
22836
+ 78,
22837
+ 5,
22802
22838
  71,
22803
22839
  10,
22804
22840
  50,
@@ -22943,7 +22979,9 @@ var astralIdentifierCodes2 = [
22943
22979
  10,
22944
22980
  47,
22945
22981
  15,
22946
- 343,
22982
+ 199,
22983
+ 7,
22984
+ 137,
22947
22985
  9,
22948
22986
  54,
22949
22987
  7,
@@ -22975,7 +23013,9 @@ var astralIdentifierCodes2 = [
22975
23013
  4,
22976
23014
  9,
22977
23015
  9,
22978
- 330,
23016
+ 55,
23017
+ 9,
23018
+ 266,
22979
23019
  3,
22980
23020
  10,
22981
23021
  1,
@@ -23075,7 +23115,15 @@ var astralIdentifierCodes2 = [
23075
23115
  1,
23076
23116
  2,
23077
23117
  9,
23078
- 726,
23118
+ 233,
23119
+ 0,
23120
+ 3,
23121
+ 0,
23122
+ 8,
23123
+ 1,
23124
+ 6,
23125
+ 0,
23126
+ 475,
23079
23127
  6,
23080
23128
  110,
23081
23129
  6,
@@ -23434,7 +23482,7 @@ var ScopeHandler = class {
23434
23482
  return scope2.names.has(name);
23435
23483
  }
23436
23484
 
23437
- const type = scope2.names.get(name);
23485
+ const type = scope2.names.get(name) || 0;
23438
23486
 
23439
23487
  if (bindingType & 16) {
23440
23488
  return (type & 2) > 0 || !this.treatFunctionsAsVarInScope(scope2) && (type & 1) > 0;
@@ -24035,9 +24083,9 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
24035
24083
  switch(this.state.type) {
24036
24084
  case 5:
24037
24085
  node = this.startNode();
24038
- this.setContext(types$18.brace);
24086
+ this.setContext(types$19.brace);
24039
24087
  this.next();
24040
- node = this.jsxParseExpressionContainer(node, types$18.j_oTag);
24088
+ node = this.jsxParseExpressionContainer(node, types$19.j_oTag);
24041
24089
 
24042
24090
  if (node.expression.type === 'JSXEmptyExpression') {
24043
24091
  this.raise(JsxErrors.AttributeIsEmpty, node);
@@ -24062,7 +24110,7 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
24062
24110
  jsxParseSpreadChild(node) {
24063
24111
  this.next();
24064
24112
  node.expression = this.parseExpression();
24065
- this.setContext(types$18.j_expr);
24113
+ this.setContext(types$19.j_expr);
24066
24114
  this.state.canStartJSXElement = true;
24067
24115
  this.expect(8);
24068
24116
  return this.finishNode(node, 'JSXSpreadChild');
@@ -24092,11 +24140,11 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
24092
24140
  const node = this.startNode();
24093
24141
 
24094
24142
  if (this.match(5)) {
24095
- this.setContext(types$18.brace);
24143
+ this.setContext(types$19.brace);
24096
24144
  this.next();
24097
24145
  this.expect(21);
24098
24146
  node.argument = this.parseMaybeAssignAllowIn();
24099
- this.setContext(types$18.j_oTag);
24147
+ this.setContext(types$19.j_oTag);
24100
24148
  this.state.canStartJSXElement = true;
24101
24149
  this.expect(8);
24102
24150
  return this.finishNode(node, 'JSXSpreadAttribute');
@@ -24150,7 +24198,7 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
24150
24198
  let closingElement = null;
24151
24199
 
24152
24200
  if (!openingElement.selfClosing) {
24153
- contents: for (;;) {
24201
+ contents: for (;;) {
24154
24202
  switch(this.state.type) {
24155
24203
  case 143:
24156
24204
  startLoc = this.state.startLoc;
@@ -24170,13 +24218,13 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
24170
24218
 
24171
24219
  case 5: {
24172
24220
  const node2 = this.startNode();
24173
- this.setContext(types$18.brace);
24221
+ this.setContext(types$19.brace);
24174
24222
  this.next();
24175
24223
 
24176
24224
  if (this.match(21)) {
24177
24225
  children.push(this.jsxParseSpreadChild(node2));
24178
24226
  } else {
24179
- children.push(this.jsxParseExpressionContainer(node2, types$18.j_expr));
24227
+ children.push(this.jsxParseExpressionContainer(node2, types$19.j_expr));
24180
24228
  }
24181
24229
 
24182
24230
  break;
@@ -24252,12 +24300,12 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
24252
24300
  getTokenFromCode(code2) {
24253
24301
  const context = this.curContext();
24254
24302
 
24255
- if (context === types$18.j_expr) {
24303
+ if (context === types$19.j_expr) {
24256
24304
  this.jsxReadToken();
24257
24305
  return;
24258
24306
  }
24259
24307
 
24260
- if (context === types$18.j_oTag || context === types$18.j_cTag) {
24308
+ if (context === types$19.j_oTag || context === types$19.j_cTag) {
24261
24309
  if (isIdentifierStart2(code2)) {
24262
24310
  this.jsxReadWord();
24263
24311
  return;
@@ -24269,7 +24317,7 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
24269
24317
  return;
24270
24318
  }
24271
24319
 
24272
- if ((code2 === 34 || code2 === 39) && context === types$18.j_oTag) {
24320
+ if ((code2 === 34 || code2 === 39) && context === types$19.j_oTag) {
24273
24321
  this.jsxReadString(code2);
24274
24322
  return;
24275
24323
  }
@@ -24288,18 +24336,18 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
24288
24336
  const {context, type} = this.state;
24289
24337
 
24290
24338
  if (type === 56 && prevType === 143) {
24291
- context.splice(-2, 2, types$18.j_cTag);
24339
+ context.splice(-2, 2, types$19.j_cTag);
24292
24340
  this.state.canStartJSXElement = false;
24293
24341
  } else if (type === 143) {
24294
- context.push(types$18.j_oTag);
24342
+ context.push(types$19.j_oTag);
24295
24343
  } else if (type === 144) {
24296
24344
  const out = context[context.length - 1];
24297
24345
 
24298
- if (out === types$18.j_oTag && prevType === 56 || out === types$18.j_cTag) {
24346
+ if (out === types$19.j_oTag && prevType === 56 || out === types$19.j_cTag) {
24299
24347
  context.pop();
24300
- this.state.canStartJSXElement = context[context.length - 1] === types$18.j_expr;
24348
+ this.state.canStartJSXElement = context[context.length - 1] === types$19.j_expr;
24301
24349
  } else {
24302
- this.setContext(types$18.j_expr);
24350
+ this.setContext(types$19.j_expr);
24303
24351
  this.state.canStartJSXElement = true;
24304
24352
  }
24305
24353
  } else {
@@ -24642,7 +24690,8 @@ var CommentsParser = class extends BaseParser {
24642
24690
  setLeadingComments(commentWS.trailingNode, comments);
24643
24691
  }
24644
24692
  } else {
24645
- const {containingNode: node, start: commentStart} = commentWS;
24693
+ const node = commentWS.containingNode;
24694
+ const commentStart = commentWS.start;
24646
24695
 
24647
24696
  if (this.input.charCodeAt(this.offsetToSourcePos(commentStart) - 1) === 44) {
24648
24697
  switch(node.type) {
@@ -24778,7 +24827,7 @@ var State$2 = class _State {
24778
24827
  __publicField(this, 'end', 0);
24779
24828
  __publicField(this, 'lastTokEndLoc', null);
24780
24829
  __publicField(this, 'lastTokStartLoc', null);
24781
- __publicField(this, 'context', [types$18.brace]);
24830
+ __publicField(this, 'context', [types$19.brace]);
24782
24831
  __publicField(this, 'firstInvalidTemplateEscapePos', null);
24783
24832
  __publicField(this, 'strictErrors', /* @__PURE__ */new Map());
24784
24833
  __publicField(this, 'tokensLength', 0);
@@ -26517,7 +26566,7 @@ var Tokenizer = class extends CommentsParser {
26517
26566
  return this.raise(toParseError, at, details);
26518
26567
  }
26519
26568
 
26520
- updateContext(prevType) {}
26569
+ updateContext() {}
26521
26570
 
26522
26571
  unexpected(loc, type) {
26523
26572
  throw this.raise(Errors.UnexpectedToken, loc != null ? loc : this.state.startLoc, {
@@ -27056,6 +27105,11 @@ var UtilParser = class extends Tokenizer {
27056
27105
  scopeFlags |= 512;
27057
27106
  }
27058
27107
 
27108
+ {
27109
+ if (this.optionFlags & 16) {
27110
+ scopeFlags |= 16 | 32;
27111
+ }
27112
+ }
27059
27113
  this.scope.enter(scopeFlags);
27060
27114
  }
27061
27115
 
@@ -27215,7 +27269,7 @@ var LValParser = class extends NodeUtils {
27215
27269
  if (isLHS) {
27216
27270
  if (parenthesized.type === 'Identifier') {
27217
27271
  this.expressionScope.recordArrowParameterBindingError(Errors.InvalidParenthesizedAssignment, node);
27218
- } else if (parenthesized.type !== 'MemberExpression' && !this.isOptionalMemberExpression(parenthesized)) {
27272
+ } else if (parenthesized.type !== 'CallExpression' && parenthesized.type !== 'MemberExpression' && !this.isOptionalMemberExpression(parenthesized)) {
27219
27273
  this.raise(Errors.InvalidParenthesizedAssignment, node);
27220
27274
  }
27221
27275
  } else {
@@ -27383,7 +27437,7 @@ var LValParser = class extends NodeUtils {
27383
27437
  }
27384
27438
  }
27385
27439
 
27386
- toReferencedList(exprList, isParenthesizedExpr) {
27440
+ toReferencedList(exprList) {
27387
27441
  return exprList;
27388
27442
  }
27389
27443
 
@@ -27559,7 +27613,7 @@ var LValParser = class extends NodeUtils {
27559
27613
  return this.finishNode(node, 'AssignmentPattern');
27560
27614
  }
27561
27615
 
27562
- isValidLVal(type, isUnparenthesizedInAssign, binding) {
27616
+ isValidLVal(type, disallowCallExpression) {
27563
27617
  switch(type) {
27564
27618
  case 'AssignmentPattern':
27565
27619
  return 'left';
@@ -27581,6 +27635,11 @@ var LValParser = class extends NodeUtils {
27581
27635
 
27582
27636
  case 'VoidPattern':
27583
27637
  return true;
27638
+
27639
+ case 'CallExpression':
27640
+ if (!disallowCallExpression && !this.state.strict && this.optionFlags & 8192) {
27641
+ return true;
27642
+ }
27584
27643
  }
27585
27644
 
27586
27645
  return false;
@@ -27590,7 +27649,7 @@ var LValParser = class extends NodeUtils {
27590
27649
  return expression2.type === 'OptionalMemberExpression';
27591
27650
  }
27592
27651
 
27593
- checkLVal(expression2, ancestor, binding = 64, checkClashes = false, strictModeChanged = false, hasParenthesizedAncestor = false) {
27652
+ checkLVal(expression2, ancestor, binding = 64, checkClashes = false, strictModeChanged = false, hasParenthesizedAncestor = false, disallowCallExpression = false) {
27594
27653
  const type = expression2.type;
27595
27654
 
27596
27655
  if (this.isObjectMethod(expression2))
@@ -27633,7 +27692,9 @@ var LValParser = class extends NodeUtils {
27633
27692
  this.raise(Errors.VoidPatternCatchClauseParam, expression2);
27634
27693
  }
27635
27694
 
27636
- const validity = this.isValidLVal(type, !(hasParenthesizedAncestor || expression2.extra?.parenthesized) && ancestor.type === 'AssignmentExpression', binding);
27695
+ const unwrappedExpression = unwrapParenthesizedExpression(expression2);
27696
+ disallowCallExpression || (disallowCallExpression = unwrappedExpression.type === 'CallExpression' && (unwrappedExpression.callee.type === 'Import' || unwrappedExpression.callee.type === 'Super'));
27697
+ const validity = this.isValidLVal(type, disallowCallExpression, !(hasParenthesizedAncestor || expression2.extra?.parenthesized) && ancestor.type === 'AssignmentExpression', binding);
27637
27698
 
27638
27699
  if (validity === true)
27639
27700
  return;
@@ -27665,11 +27726,11 @@ var LValParser = class extends NodeUtils {
27665
27726
  if (Array.isArray(val)) {
27666
27727
  for (const child of val) {
27667
27728
  if (child) {
27668
- this.checkLVal(child, nextAncestor, binding, checkClashes, strictModeChanged, isParenthesizedExpression3);
27729
+ this.checkLVal(child, nextAncestor, binding, checkClashes, strictModeChanged, isParenthesizedExpression3, true);
27669
27730
  }
27670
27731
  }
27671
27732
  } else if (val) {
27672
- this.checkLVal(val, nextAncestor, binding, checkClashes, strictModeChanged, isParenthesizedExpression3);
27733
+ this.checkLVal(val, nextAncestor, binding, checkClashes, strictModeChanged, isParenthesizedExpression3, disallowCallExpression);
27673
27734
  }
27674
27735
  }
27675
27736
 
@@ -27730,6 +27791,8 @@ var LValParser = class extends NodeUtils {
27730
27791
  }
27731
27792
  };
27732
27793
 
27794
+ var keywordAndTSRelationalOperator = /in(?:stanceof)?|as|satisfies/y;
27795
+
27733
27796
  function nonNull(x) {
27734
27797
  if (x == null) {
27735
27798
  throw new Error(`Unexpected ${x} value.`);
@@ -28883,7 +28946,7 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
28883
28946
  }
28884
28947
  }
28885
28948
 
28886
- this.unexpected();
28949
+ throw this.unexpected();
28887
28950
  }
28888
28951
 
28889
28952
  tsParseArrayTypeOrHigher() {
@@ -29301,7 +29364,7 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
29301
29364
  }
29302
29365
 
29303
29366
  tsInTopLevelContext(cb) {
29304
- if (this.curContext() !== types$18.brace) {
29367
+ if (this.curContext() !== types$19.brace) {
29305
29368
  const oldContext = this.state.context;
29306
29369
 
29307
29370
  this.state.context = [oldContext[0]];
@@ -29414,7 +29477,7 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
29414
29477
  return this.finishNode(node, 'TSModuleBlock');
29415
29478
  }
29416
29479
 
29417
- tsParseModuleOrNamespaceDeclaration(node, nested = false) {
29480
+ tsParseModuleOrNamespaceDeclaration(node) {
29418
29481
  node.id = this.tsParseEntityName(1);
29419
29482
 
29420
29483
  if (node.id.type === 'Identifier') {
@@ -29456,7 +29519,7 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
29456
29519
  return this.finishNode(node, 'TSModuleDeclaration');
29457
29520
  }
29458
29521
 
29459
- tsParseImportEqualsDeclaration(node, maybeDefaultIdentifier, isExport) {
29522
+ tsParseImportEqualsDeclaration(node, maybeDefaultIdentifier) {
29460
29523
  node.id = maybeDefaultIdentifier || this.parseIdentifier();
29461
29524
  this.checkIdentifier(node.id, 4096);
29462
29525
  this.expect(29);
@@ -29598,59 +29661,26 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
29598
29661
 
29599
29662
  default:
29600
29663
  if (tokenIsIdentifier(startType)) {
29601
- return this.tsParseDeclaration(node, this.state.value, true, null);
29664
+ return this.tsParseDeclaration(node, this.state.type, true, null);
29602
29665
  }
29603
29666
  }
29604
29667
  });
29605
29668
  }
29606
29669
 
29607
29670
  tsTryParseExportDeclaration() {
29608
- return this.tsParseDeclaration(this.startNode(), this.state.value, true, null);
29609
- }
29610
-
29611
- tsParseExpressionStatement(node, expr, decorators) {
29612
- switch(expr.name) {
29613
- case 'declare': {
29614
- const declaration = this.tsTryParseDeclare(node);
29615
-
29616
- if (declaration) {
29617
- declaration.declare = true;
29618
- }
29619
-
29620
- return declaration;
29621
- }
29622
-
29623
- case 'global':
29624
- if (this.match(5)) {
29625
- this.scope.enter(1024);
29626
- this.prodParam.enter(0);
29627
- const mod = node;
29628
-
29629
- mod.kind = 'global';
29630
- mod.id = expr;
29631
- mod.body = this.tsParseModuleBlock();
29632
- this.scope.exit();
29633
- this.prodParam.exit();
29634
- return this.finishNode(mod, 'TSModuleDeclaration');
29635
- }
29636
-
29637
- break;
29638
-
29639
- default:
29640
- return this.tsParseDeclaration(node, expr.name, false, decorators);
29641
- }
29671
+ return this.tsParseDeclaration(this.startNode(), this.state.type, true, null);
29642
29672
  }
29643
29673
 
29644
- tsParseDeclaration(node, value, next, decorators) {
29645
- switch(value) {
29646
- case 'abstract':
29674
+ tsParseDeclaration(node, type, next, decorators) {
29675
+ switch(type) {
29676
+ case 124:
29647
29677
  if (this.tsCheckLineTerminator(next) && (this.match(80) || tokenIsIdentifier(this.state.type))) {
29648
29678
  return this.tsParseAbstractDeclaration(node, decorators);
29649
29679
  }
29650
29680
 
29651
29681
  break;
29652
29682
 
29653
- case 'module':
29683
+ case 127:
29654
29684
  if (this.tsCheckLineTerminator(next)) {
29655
29685
  if (this.match(134)) {
29656
29686
  return this.tsParseAmbientExternalModuleDeclaration(node);
@@ -29662,7 +29692,7 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
29662
29692
 
29663
29693
  break;
29664
29694
 
29665
- case 'namespace':
29695
+ case 128:
29666
29696
  if (this.tsCheckLineTerminator(next) && tokenIsIdentifier(this.state.type)) {
29667
29697
  node.kind = 'namespace';
29668
29698
  return this.tsParseModuleOrNamespaceDeclaration(node);
@@ -29670,7 +29700,7 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
29670
29700
 
29671
29701
  break;
29672
29702
 
29673
- case 'type':
29703
+ case 130:
29674
29704
  if (this.tsCheckLineTerminator(next) && tokenIsIdentifier(this.state.type)) {
29675
29705
  return this.tsParseTypeAliasDeclaration(node);
29676
29706
  }
@@ -29733,7 +29763,7 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
29733
29763
 
29734
29764
  if (node.params.length === 0) {
29735
29765
  this.raise(TSErrors.EmptyTypeArguments, node);
29736
- } else if (!this.state.inType && this.curContext() === types$18.brace) {
29766
+ } else if (!this.state.inType && this.curContext() === types$19.brace) {
29737
29767
  this.reScan_lt_gt();
29738
29768
  }
29739
29769
 
@@ -29868,13 +29898,13 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
29868
29898
  });
29869
29899
  }
29870
29900
 
29871
- toReferencedList(exprList, isInParens) {
29901
+ toReferencedList(exprList) {
29872
29902
  this.tsCheckForInvalidTypeCasts(exprList);
29873
29903
  return exprList;
29874
29904
  }
29875
29905
 
29876
- parseArrayLike(close, canBePattern, isTuple, refExpressionErrors) {
29877
- const node = super.parseArrayLike(close, canBePattern, isTuple, refExpressionErrors);
29906
+ parseArrayLike(close, isTuple, refExpressionErrors) {
29907
+ const node = super.parseArrayLike(close, isTuple, refExpressionErrors);
29878
29908
 
29879
29909
  if (node.type === 'ArrayExpression') {
29880
29910
  this.tsCheckForInvalidTypeCasts(node.elements);
@@ -30193,23 +30223,97 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
30193
30223
  }
30194
30224
 
30195
30225
  parseStatementContent(flags, decorators) {
30196
- if (this.match(75) && this.isLookaheadContextual('enum')) {
30197
- const node = this.startNode();
30198
- this.expect(75);
30199
- return this.tsParseEnumDeclaration(node, {
30200
- const: true,
30201
- });
30202
- }
30203
-
30204
- if (this.isContextual(126)) {
30205
- return this.tsParseEnumDeclaration(this.startNode());
30206
- }
30207
-
30208
- if (this.isContextual(129)) {
30209
- const result = this.tsParseInterfaceDeclaration(this.startNode());
30226
+ if (!this.state.containsEsc) {
30227
+ switch(this.state.type) {
30228
+ case 75: {
30229
+ if (this.isLookaheadContextual('enum')) {
30230
+ const node = this.startNode();
30231
+ this.expect(75);
30232
+ return this.tsParseEnumDeclaration(node, {
30233
+ const: true,
30234
+ });
30235
+ }
30236
+
30237
+ break;
30238
+ }
30210
30239
 
30211
- if (result)
30212
- return result;
30240
+ case 124:
30241
+ case 125: {
30242
+ if (this.nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine()) {
30243
+ const token = this.state.type;
30244
+ const node = this.startNode();
30245
+ this.next();
30246
+ const declaration = token === 125 ? this.tsTryParseDeclare(node) : this.tsParseAbstractDeclaration(node, decorators);
30247
+
30248
+ if (declaration) {
30249
+ if (token === 125) {
30250
+ declaration.declare = true;
30251
+ }
30252
+
30253
+ return declaration;
30254
+ } else {
30255
+ node.expression = this.createIdentifier(this.startNodeAt(node.loc.start), token === 125 ? 'declare' : 'abstract');
30256
+ this.semicolon(false);
30257
+ return this.finishNode(node, 'ExpressionStatement');
30258
+ }
30259
+ }
30260
+
30261
+ break;
30262
+ }
30263
+
30264
+ case 126:
30265
+ return this.tsParseEnumDeclaration(this.startNode());
30266
+
30267
+ case 112: {
30268
+ const nextCh = this.lookaheadCharCode();
30269
+
30270
+ if (nextCh === 123) {
30271
+ const node = this.startNode();
30272
+ return this.tsParseAmbientExternalModuleDeclaration(node);
30273
+ }
30274
+
30275
+ break;
30276
+ }
30277
+
30278
+ case 129: {
30279
+ const result = this.tsParseInterfaceDeclaration(this.startNode());
30280
+
30281
+ if (result)
30282
+ return result;
30283
+
30284
+ break;
30285
+ }
30286
+
30287
+ case 127: {
30288
+ if (this.nextTokenIsIdentifierOrStringLiteralOnSameLine()) {
30289
+ const node = this.startNode();
30290
+ this.next();
30291
+ return this.tsParseDeclaration(node, 127, false, decorators);
30292
+ }
30293
+
30294
+ break;
30295
+ }
30296
+
30297
+ case 128: {
30298
+ if (this.nextTokenIsIdentifierOnSameLine()) {
30299
+ const node = this.startNode();
30300
+ this.next();
30301
+ return this.tsParseDeclaration(node, 128, false, decorators);
30302
+ }
30303
+
30304
+ break;
30305
+ }
30306
+
30307
+ case 130: {
30308
+ if (this.nextTokenIsIdentifierOnSameLine()) {
30309
+ const node = this.startNode();
30310
+ this.next();
30311
+ return this.tsParseTypeAliasDeclaration(node);
30312
+ }
30313
+
30314
+ break;
30315
+ }
30316
+ }
30213
30317
  }
30214
30318
 
30215
30319
  return super.parseStatementContent(flags, decorators);
@@ -30328,11 +30432,6 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
30328
30432
  }
30329
30433
  }
30330
30434
 
30331
- parseExpressionStatement(node, expr, decorators) {
30332
- const decl = expr.type === 'Identifier' ? this.tsParseExpressionStatement(node, expr, decorators) : void 0;
30333
- return decl || super.parseExpressionStatement(node, expr, decorators);
30334
- }
30335
-
30336
30435
  shouldParseExportDeclaration() {
30337
30436
  if (this.tsIsDeclarationStart())
30338
30437
  return true;
@@ -30405,7 +30504,7 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
30405
30504
  return declaration;
30406
30505
  }
30407
30506
 
30408
- parseClassId(node, isStatement5, optionalId, bindingType) {
30507
+ parseClassId(node, isStatement5, optionalId) {
30409
30508
  if ((!isStatement5 || optionalId) && this.isContextual(113)) {
30410
30509
  return;
30411
30510
  }
@@ -30587,7 +30686,7 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
30587
30686
 
30588
30687
  const currentContext = context[context.length - 1];
30589
30688
 
30590
- if (currentContext === types$18.j_oTag || currentContext === types$18.j_expr) {
30689
+ if (currentContext === types$19.j_oTag || currentContext === types$19.j_expr) {
30591
30690
  context.pop();
30592
30691
  }
30593
30692
  }
@@ -30790,7 +30889,7 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
30790
30889
  }
30791
30890
  }
30792
30891
 
30793
- isValidLVal(type, isUnparenthesizedInAssign, binding) {
30892
+ isValidLVal(type, disallowCallExpression, isUnparenthesizedInAssign, binding) {
30794
30893
  switch(type) {
30795
30894
  case 'TSTypeCastExpression':
30796
30895
  return true;
@@ -30810,7 +30909,7 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
30810
30909
  ];
30811
30910
 
30812
30911
  default:
30813
- return super.isValidLVal(type, isUnparenthesizedInAssign, binding);
30912
+ return super.isValidLVal(type, disallowCallExpression, isUnparenthesizedInAssign, binding);
30814
30913
  }
30815
30914
  }
30816
30915
 
@@ -31012,10 +31111,12 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
31012
31111
  node.abstract = true;
31013
31112
  this.raise(TSErrors.NonClassMethodPropertyHasAbstractModifier, node);
31014
31113
  return this.tsParseInterfaceDeclaration(node);
31114
+ } else {
31115
+ return null;
31015
31116
  }
31016
- } else {
31017
- this.unexpected(null, 80);
31018
31117
  }
31118
+
31119
+ throw this.unexpected(null, 80);
31019
31120
  }
31020
31121
 
31021
31122
  parseMethod(node, isGenerator, isAsync, isConstructor, allowDirectSuper, type, inClassScope) {
@@ -31072,7 +31173,7 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
31072
31173
  return super.parseExportSpecifier(node, isString, isInTypeExport, isMaybeTypeOnly);
31073
31174
  }
31074
31175
 
31075
- parseImportSpecifier(specifier, importedIsString, isInTypeOnlyImport, isMaybeTypeOnly, bindingType) {
31176
+ parseImportSpecifier(specifier, importedIsString, isInTypeOnlyImport, isMaybeTypeOnly) {
31076
31177
  if (!importedIsString && isMaybeTypeOnly) {
31077
31178
  this.parseTypeOnlyImportExportSpecifier(specifier, true, isInTypeOnlyImport);
31078
31179
  return this.finishNode(specifier, 'ImportSpecifier');
@@ -31281,6 +31382,40 @@ var typescript$3 = (superClass) => class TypeScriptParserMixin extends superClas
31281
31382
  return;
31282
31383
  }
31283
31384
  }
31385
+
31386
+ chStartsBindingIdentifierAndNotRelationalOperator(ch, pos) {
31387
+ if (isIdentifierStart2(ch)) {
31388
+ keywordAndTSRelationalOperator.lastIndex = pos;
31389
+
31390
+ if (keywordAndTSRelationalOperator.test(this.input)) {
31391
+ const endCh = this.codePointAtPos(keywordAndTSRelationalOperator.lastIndex);
31392
+
31393
+ if (!isIdentifierChar2(endCh) && endCh !== 92) {
31394
+ return false;
31395
+ }
31396
+ }
31397
+
31398
+ return true;
31399
+ } else if (ch === 92) {
31400
+ return true;
31401
+ } else {
31402
+ return false;
31403
+ }
31404
+ }
31405
+
31406
+ nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine() {
31407
+ const next = this.nextTokenInLineStart();
31408
+ const nextCh = this.codePointAtPos(next);
31409
+
31410
+ return this.chStartsBindingIdentifierAndNotRelationalOperator(nextCh, next);
31411
+ }
31412
+
31413
+ nextTokenIsIdentifierOrStringLiteralOnSameLine() {
31414
+ const next = this.nextTokenInLineStart();
31415
+ const nextCh = this.codePointAtPos(next);
31416
+
31417
+ return this.chStartsBindingIdentifier(nextCh, next) || nextCh === 34 || nextCh === 39;
31418
+ }
31284
31419
  };
31285
31420
 
31286
31421
  function isPossiblyLiteralEnum(expression2) {
@@ -31436,8 +31571,8 @@ var placeholders = (superClass) => class PlaceholdersParserMixin extends superCl
31436
31571
  return this.parsePlaceholder('Pattern') || super.parseBindingAtom();
31437
31572
  }
31438
31573
 
31439
- isValidLVal(type, isParenthesized, binding) {
31440
- return type === 'Placeholder' || super.isValidLVal(type, isParenthesized, binding);
31574
+ isValidLVal(type, disallowCallExpression, isParenthesized, binding) {
31575
+ return type === 'Placeholder' || super.isValidLVal(type, disallowCallExpression, isParenthesized, binding);
31441
31576
  }
31442
31577
 
31443
31578
  toAssignable(node, isLHS) {
@@ -31463,7 +31598,7 @@ var placeholders = (superClass) => class PlaceholdersParserMixin extends superCl
31463
31598
  }
31464
31599
 
31465
31600
  verifyBreakContinue(node, isBreak) {
31466
- if (node.label && node.label.type === 'Placeholder')
31601
+ if (node.label?.type === 'Placeholder')
31467
31602
  return;
31468
31603
 
31469
31604
  super.verifyBreakContinue(node, isBreak);
@@ -31951,7 +32086,7 @@ var ExpressionParser = class extends LValParser {
31951
32086
 
31952
32087
  this.next();
31953
32088
  node.right = this.parseMaybeAssign();
31954
- this.checkLVal(left, this.finishNode(node, 'AssignmentExpression'));
32089
+ this.checkLVal(left, this.finishNode(node, 'AssignmentExpression'), void 0, void 0, void 0, void 0, operator === '||=' || operator === '&&=' || operator === '??=');
31955
32090
  return node;
31956
32091
  } else if (ownExpressionErrors) {
31957
32092
  this.checkExpressionErrors(refExpressionErrors, true);
@@ -31983,7 +32118,7 @@ var ExpressionParser = class extends LValParser {
31983
32118
  return this.parseConditional(expr, startLoc, refExpressionErrors);
31984
32119
  }
31985
32120
 
31986
- parseConditional(expr, startLoc, refExpressionErrors) {
32121
+ parseConditional(expr, startLoc) {
31987
32122
  if (this.eat(17)) {
31988
32123
  const node = this.startNodeAt(startLoc);
31989
32124
 
@@ -32540,7 +32675,7 @@ var ExpressionParser = class extends LValParser {
32540
32675
  }
32541
32676
 
32542
32677
  case 0: {
32543
- return this.parseArrayLike(3, true, false, refExpressionErrors);
32678
+ return this.parseArrayLike(3, false, refExpressionErrors);
32544
32679
  }
32545
32680
 
32546
32681
  case 5: {
@@ -32605,20 +32740,17 @@ var ExpressionParser = class extends LValParser {
32605
32740
  return this.parseTopicReference(pipeProposal);
32606
32741
  }
32607
32742
 
32608
- this.unexpected();
32609
- break;
32743
+ throw this.unexpected();
32610
32744
  }
32611
32745
 
32612
32746
  case 47: {
32613
32747
  const lookaheadCh = this.input.codePointAt(this.nextTokenStart());
32614
32748
 
32615
32749
  if (isIdentifierStart2(lookaheadCh) || lookaheadCh === 62) {
32616
- this.expectOnePlugin(['jsx', 'flow', 'typescript']);
32617
- } else {
32618
- this.unexpected();
32750
+ throw this.expectOnePlugin(['jsx', 'flow', 'typescript']);
32619
32751
  }
32620
32752
 
32621
- break;
32753
+ throw this.unexpected();
32622
32754
  }
32623
32755
 
32624
32756
  default:
@@ -32658,7 +32790,7 @@ var ExpressionParser = class extends LValParser {
32658
32790
 
32659
32791
  return id;
32660
32792
  } else {
32661
- this.unexpected();
32793
+ throw this.unexpected();
32662
32794
  }
32663
32795
  }
32664
32796
  }
@@ -32673,9 +32805,9 @@ var ExpressionParser = class extends LValParser {
32673
32805
  this.state.end--;
32674
32806
  this.state.endLoc = createPositionWithColumnOffset(this.state.endLoc, -1);
32675
32807
  return this.parseTopicReference(pipeProposal);
32676
- } else {
32677
- this.unexpected();
32678
32808
  }
32809
+
32810
+ throw this.unexpected();
32679
32811
  }
32680
32812
 
32681
32813
  parseTopicReference(pipeProposal) {
@@ -32764,10 +32896,14 @@ var ExpressionParser = class extends LValParser {
32764
32896
  const node = this.startNode();
32765
32897
  this.next();
32766
32898
 
32767
- if (this.match(10) && !this.scope.allowDirectSuper && !(this.optionFlags & 16)) {
32768
- this.raise(Errors.SuperNotAllowed, node);
32769
- } else if (!this.scope.allowSuper && !(this.optionFlags & 16)) {
32770
- this.raise(Errors.UnexpectedSuper, node);
32899
+ if (this.match(10) && !this.scope.allowDirectSuper) {
32900
+ {
32901
+ this.raise(Errors.SuperNotAllowed, node);
32902
+ }
32903
+ } else if (!this.scope.allowSuper) {
32904
+ {
32905
+ this.raise(Errors.UnexpectedSuper, node);
32906
+ }
32771
32907
  }
32772
32908
 
32773
32909
  if (!this.match(10) && !this.match(0) && !this.match(16)) {
@@ -33017,7 +33153,7 @@ var ExpressionParser = class extends LValParser {
33017
33153
  return this.finishNode(parenExpression, 'ParenthesizedExpression');
33018
33154
  }
33019
33155
 
33020
- shouldParseArrow(params) {
33156
+ shouldParseArrow() {
33021
33157
  return !this.canInsertSemicolon();
33022
33158
  }
33023
33159
 
@@ -33027,7 +33163,7 @@ var ExpressionParser = class extends LValParser {
33027
33163
  }
33028
33164
  }
33029
33165
 
33030
- parseParenItem(node, startLoc) {
33166
+ parseParenItem(node) {
33031
33167
  return node;
33032
33168
  }
33033
33169
 
@@ -33428,7 +33564,7 @@ var ExpressionParser = class extends LValParser {
33428
33564
  return finishedNode;
33429
33565
  }
33430
33566
 
33431
- parseArrayLike(close, canBePattern, isTuple, refExpressionErrors) {
33567
+ parseArrayLike(close, isTuple, refExpressionErrors) {
33432
33568
  if (isTuple) {
33433
33569
  this.expectPlugin('recordAndTuple');
33434
33570
  }
@@ -33978,7 +34114,7 @@ var ExpressionParser = class extends LValParser {
33978
34114
  return this.parseMaybeAssignAllowIn(refExpressionErrors, afterLeftParse);
33979
34115
  }
33980
34116
 
33981
- parsePropertyNamePrefixOperator(prop) {}
34117
+ parsePropertyNamePrefixOperator() {}
33982
34118
  };
33983
34119
 
33984
34120
  var loopLabel = {
@@ -33992,7 +34128,7 @@ var switchLabel = {
33992
34128
  var loneSurrogate = /[\uD800-\uDFFF]/u;
33993
34129
  var keywordRelationalOperator = /in(?:stanceof)?/y;
33994
34130
 
33995
- function babel7CompatTokens(tokens, input, startIndex) {
34131
+ function babel7CompatTokens(tokens) {
33996
34132
  for (let i = 0; i < tokens.length; i++) {
33997
34133
  const token = tokens[i];
33998
34134
  const {type} = token;
@@ -34085,10 +34221,7 @@ var StatementParser = class extends ExpressionParser {
34085
34221
  return false;
34086
34222
  }
34087
34223
 
34088
- const next = this.nextTokenInLineStart();
34089
- const nextCh = this.codePointAtPos(next);
34090
-
34091
- return this.chStartsBindingIdentifier(nextCh, next);
34224
+ return this.nextTokenIsIdentifierOnSameLine();
34092
34225
  }
34093
34226
 
34094
34227
  isForUsing() {
@@ -34114,6 +34247,13 @@ var StatementParser = class extends ExpressionParser {
34114
34247
  return false;
34115
34248
  }
34116
34249
 
34250
+ nextTokenIsIdentifierOnSameLine() {
34251
+ const next = this.nextTokenInLineStart();
34252
+ const nextCh = this.codePointAtPos(next);
34253
+
34254
+ return this.chStartsBindingIdentifier(nextCh, next);
34255
+ }
34256
+
34117
34257
  isAwaitUsing() {
34118
34258
  if (!this.isContextual(96)) {
34119
34259
  return false;
@@ -34865,7 +35005,7 @@ var StatementParser = class extends ExpressionParser {
34865
35005
  return this.finishNode(node, 'LabeledStatement');
34866
35006
  }
34867
35007
 
34868
- parseExpressionStatement(node, expr, decorators) {
35008
+ parseExpressionStatement(node, expr) {
34869
35009
  node.expression = expr;
34870
35010
  this.semicolon();
34871
35011
  return this.finishNode(node, 'ExpressionStatement');
@@ -35450,7 +35590,7 @@ var StatementParser = class extends ExpressionParser {
35450
35590
  this.classScope.declarePrivateName(this.getPrivateNameSV(node.key), kind, node.key.loc.start);
35451
35591
  }
35452
35592
 
35453
- parsePostMemberNameModifiers(methodOrProp) {}
35593
+ parsePostMemberNameModifiers() {}
35454
35594
 
35455
35595
  parseClassPrivateProperty(node) {
35456
35596
  this.parseInitializer(node);
@@ -35577,10 +35717,10 @@ var StatementParser = class extends ExpressionParser {
35577
35717
  return this.finishNode(node2, 'ExportDefaultDeclaration');
35578
35718
  }
35579
35719
 
35580
- this.unexpected(null, 5);
35720
+ throw this.unexpected(null, 5);
35581
35721
  }
35582
35722
 
35583
- eatExportStar(node) {
35723
+ eatExportStar() {
35584
35724
  return this.eat(55);
35585
35725
  }
35586
35726
 
@@ -35689,7 +35829,7 @@ var StatementParser = class extends ExpressionParser {
35689
35829
  return res;
35690
35830
  }
35691
35831
 
35692
- parseExportDeclaration(node) {
35832
+ parseExportDeclaration() {
35693
35833
  if (this.match(80)) {
35694
35834
  const node2 = this.parseClass(this.startNode(), true, false);
35695
35835
  return node2;
@@ -35903,7 +36043,7 @@ var StatementParser = class extends ExpressionParser {
35903
36043
  return nodes2;
35904
36044
  }
35905
36045
 
35906
- parseExportSpecifier(node, isString, isInTypeExport, isMaybeTypeOnly) {
36046
+ parseExportSpecifier(node, isString) {
35907
36047
  if (this.eatContextual(93)) {
35908
36048
  node.exported = this.parseModuleExportName();
35909
36049
  } else if (isString) {
@@ -36043,7 +36183,7 @@ var StatementParser = class extends ExpressionParser {
36043
36183
  }
36044
36184
  }
36045
36185
 
36046
- isPrecedingIdImportPhase(phase) {
36186
+ isPrecedingIdImportPhase() {
36047
36187
  const {type} = this.state;
36048
36188
 
36049
36189
  return tokenIsIdentifier(type) ? type !== 98 || this.lookaheadCharCode() === 102 : type !== 12;
@@ -36287,68 +36427,68 @@ var StatementParser = class extends ExpressionParser {
36287
36427
 
36288
36428
  var Parser = class extends StatementParser {
36289
36429
  constructor(options, input, pluginsMap) {
36290
- options = getOptions(options);
36291
- super(options, input);
36292
- this.options = options;
36430
+ const normalizedOptions = getOptions(options);
36431
+ super(normalizedOptions, input);
36432
+ this.options = normalizedOptions;
36293
36433
  this.initializeScopes();
36294
36434
  this.plugins = pluginsMap;
36295
- this.filename = options.sourceFilename;
36296
- this.startIndex = options.startIndex;
36435
+ this.filename = normalizedOptions.sourceFilename;
36436
+ this.startIndex = normalizedOptions.startIndex;
36297
36437
  let optionFlags = 0;
36298
36438
 
36299
- if (options.allowAwaitOutsideFunction) {
36439
+ if (normalizedOptions.allowAwaitOutsideFunction) {
36300
36440
  optionFlags |= 1;
36301
36441
  }
36302
36442
 
36303
- if (options.allowReturnOutsideFunction) {
36443
+ if (normalizedOptions.allowReturnOutsideFunction) {
36304
36444
  optionFlags |= 2;
36305
36445
  }
36306
36446
 
36307
- if (options.allowImportExportEverywhere) {
36447
+ if (normalizedOptions.allowImportExportEverywhere) {
36308
36448
  optionFlags |= 8;
36309
36449
  }
36310
36450
 
36311
- if (options.allowSuperOutsideMethod) {
36451
+ if (normalizedOptions.allowSuperOutsideMethod) {
36312
36452
  optionFlags |= 16;
36313
36453
  }
36314
36454
 
36315
- if (options.allowUndeclaredExports) {
36455
+ if (normalizedOptions.allowUndeclaredExports) {
36316
36456
  optionFlags |= 64;
36317
36457
  }
36318
36458
 
36319
- if (options.allowNewTargetOutsideFunction) {
36459
+ if (normalizedOptions.allowNewTargetOutsideFunction) {
36320
36460
  optionFlags |= 4;
36321
36461
  }
36322
36462
 
36323
- if (options.allowYieldOutsideFunction) {
36463
+ if (normalizedOptions.allowYieldOutsideFunction) {
36324
36464
  optionFlags |= 32;
36325
36465
  }
36326
36466
 
36327
- if (options.ranges) {
36467
+ if (normalizedOptions.ranges) {
36328
36468
  optionFlags |= 128;
36329
36469
  }
36330
36470
 
36331
- if (options.tokens) {
36471
+ if (normalizedOptions.tokens) {
36332
36472
  optionFlags |= 256;
36333
36473
  }
36334
36474
 
36335
- if (options.createImportExpressions) {
36475
+ if (normalizedOptions.createImportExpressions) {
36336
36476
  optionFlags |= 512;
36337
36477
  }
36338
36478
 
36339
- if (options.createParenthesizedExpressions) {
36479
+ if (normalizedOptions.createParenthesizedExpressions) {
36340
36480
  optionFlags |= 1024;
36341
36481
  }
36342
36482
 
36343
- if (options.errorRecovery) {
36483
+ if (normalizedOptions.errorRecovery) {
36344
36484
  optionFlags |= 2048;
36345
36485
  }
36346
36486
 
36347
- if (options.attachComment) {
36487
+ if (normalizedOptions.attachComment) {
36348
36488
  optionFlags |= 4096;
36349
36489
  }
36350
36490
 
36351
- if (options.annexB) {
36491
+ if (normalizedOptions.annexB) {
36352
36492
  optionFlags |= 8192;
36353
36493
  }
36354
36494
 
@@ -36366,10 +36506,11 @@ var Parser = class extends StatementParser {
36366
36506
 
36367
36507
  this.nextToken();
36368
36508
  file2.errors = null;
36369
- this.parseTopLevel(file2, program3);
36370
- file2.errors = this.state.errors;
36371
- file2.comments.length = this.state.commentsLen;
36372
- return file2;
36509
+ const result = this.parseTopLevel(file2, program3);
36510
+
36511
+ result.errors = this.state.errors;
36512
+ result.comments.length = this.state.commentsLen;
36513
+ return result;
36373
36514
  }
36374
36515
  };
36375
36516
 
@@ -36483,7 +36624,7 @@ function getParserClass(pluginsMap) {
36483
36624
  return cls;
36484
36625
  }
36485
36626
 
36486
- // node_modules/@babel/code-frame/lib/index.js
36627
+ // ../babel-babel/packages/babel-code-frame/lib/index.js
36487
36628
  var import_picocolors = __toESM(require_picocolors());
36488
36629
  var import_js_tokens = __toESM(require_js_tokens());
36489
36630
 
@@ -36533,12 +36674,24 @@ var tokenize$2;
36533
36674
  {
36534
36675
  const getTokenType = function(token) {
36535
36676
  if (token.type === 'IdentifierName') {
36536
- if (isKeyword(token.value) || isStrictReservedWord(token.value, true) || sometimesKeywords.has(token.value)) {
36677
+ const tokenValue = token.value;
36678
+
36679
+ if (isKeyword(tokenValue) || isStrictReservedWord(tokenValue, true) || sometimesKeywords.has(tokenValue)) {
36537
36680
  return 'keyword';
36538
36681
  }
36539
36682
 
36540
- if (token.value[0] !== token.value[0].toLowerCase()) {
36541
- return 'capitalized';
36683
+ const firstChar = tokenValue.charCodeAt(0);
36684
+
36685
+ if (firstChar < 128) {
36686
+ if (firstChar >= 65 && firstChar <= 90) {
36687
+ return 'capitalized';
36688
+ }
36689
+ } else {
36690
+ const firstChar2 = String.fromCodePoint(tokenValue.codePointAt(0));
36691
+
36692
+ if (firstChar2 !== firstChar2.toLowerCase()) {
36693
+ return 'capitalized';
36694
+ }
36542
36695
  }
36543
36696
  }
36544
36697
 
@@ -36796,7 +36949,7 @@ ${frame}`;
36796
36949
  }
36797
36950
  }
36798
36951
 
36799
- // node_modules/@babel/template/lib/index.js
36952
+ // ../babel-babel/packages/babel-template/lib/index.js
36800
36953
  var {assertExpressionStatement: assertExpressionStatement2} = lib_exports;
36801
36954
 
36802
36955
  function makeStatementFormatter(fn) {
@@ -37463,7 +37616,7 @@ var index$1 = Object.assign(smart.bind(void 0), {
37463
37616
  ast: smart.ast,
37464
37617
  });
37465
37618
 
37466
- // node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
37619
+ // ../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
37467
37620
  var comma = ','.charCodeAt(0);
37468
37621
  var semicolon = ';'.charCodeAt(0);
37469
37622
  var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
@@ -37712,7 +37865,7 @@ function encode(decoded) {
37712
37865
  return writer.flush();
37713
37866
  }
37714
37867
 
37715
- // node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs
37868
+ // ../babel-babel/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs
37716
37869
  var schemeRegex = /^[\w+.-]+:\/\//;
37717
37870
  var urlRegex = /^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/;
37718
37871
  var fileRegex = /^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;
@@ -37932,7 +38085,7 @@ case 2:
37932
38085
  }
37933
38086
  }
37934
38087
 
37935
- // node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs
38088
+ // ../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs
37936
38089
  function stripFilename(path) {
37937
38090
  if (!path)
37938
38091
  return '';
@@ -38204,7 +38357,7 @@ function traceSegmentInternal(segments, memo, line, column, bias) {
38204
38357
  return index2;
38205
38358
  }
38206
38359
 
38207
- // node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs
38360
+ // ../babel-babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs
38208
38361
  var SetArray = class {
38209
38362
  constructor() {
38210
38363
  this._indexes = {
@@ -38473,7 +38626,7 @@ function addMappingInternal(skipable, map, mapping) {
38473
38626
  return addSegmentInternal(skipable, map, generated.line - 1, generated.column, source, original.line - 1, original.column, name, content);
38474
38627
  }
38475
38628
 
38476
- // node_modules/@babel/generator/lib/index.js
38629
+ // ../babel-babel/packages/babel-generator/lib/index.js
38477
38630
  var import_jsesc = __toESM(require_jsesc());
38478
38631
 
38479
38632
  var SourceMap = class {
@@ -38484,7 +38637,7 @@ var SourceMap = class {
38484
38637
  __publicField(this, '_lastGenLine', 0);
38485
38638
  __publicField(this, '_lastSourceLine', 0);
38486
38639
  __publicField(this, '_lastSourceColumn', 0);
38487
- __publicField(this, '_inputMap');
38640
+ __publicField(this, '_inputMap', null);
38488
38641
  const map = this._map = new GenMapping({
38489
38642
  sourceRoot: opts.sourceRoot,
38490
38643
  });
@@ -38544,6 +38697,7 @@ var SourceMap = class {
38544
38697
  }
38545
38698
  } else {
38546
38699
  originalMapping = {
38700
+ name: null,
38547
38701
  source: filename?.replace(/\\/g, '/') || this._sourceFileName,
38548
38702
  line,
38549
38703
  column,
@@ -38795,7 +38949,7 @@ var Buffer2 = class {
38795
38949
  last2 = i + 1;
38796
38950
 
38797
38951
  if (last2 < len && line !== void 0) {
38798
- this._mark(++line, 0, null, null, filename);
38952
+ this._mark(++line, 0, void 0, void 0, filename);
38799
38953
  }
38800
38954
 
38801
38955
  i = str.indexOf('\n', last2);
@@ -39038,6 +39192,8 @@ var nodes = {
39038
39192
  if (state.hasCall && state.hasHelper || state.hasFunction) {
39039
39193
  return state.hasFunction ? 1 | 2 : 2;
39040
39194
  }
39195
+
39196
+ return 0;
39041
39197
  },
39042
39198
  SwitchCase(node, parent) {
39043
39199
  return (!!node.consequent.length || parent.cases[0] === node ? 1 : 0) | (!node.consequent.length && parent.cases[parent.cases.length - 1] === node ? 2 : 0);
@@ -39046,21 +39202,29 @@ var nodes = {
39046
39202
  if (isFunction$1$1(node.left) || isFunction$1$1(node.right)) {
39047
39203
  return 2;
39048
39204
  }
39205
+
39206
+ return 0;
39049
39207
  },
39050
39208
  Literal(node) {
39051
39209
  if (isStringLiteral3(node) && node.value === 'use strict') {
39052
39210
  return 2;
39053
39211
  }
39212
+
39213
+ return 0;
39054
39214
  },
39055
39215
  CallExpression(node) {
39056
39216
  if (isFunction$1$1(node.callee) || isHelper(node)) {
39057
39217
  return 1 | 2;
39058
39218
  }
39219
+
39220
+ return 0;
39059
39221
  },
39060
39222
  OptionalCallExpression(node) {
39061
39223
  if (isFunction$1$1(node.callee)) {
39062
39224
  return 1 | 2;
39063
39225
  }
39226
+
39227
+ return 0;
39064
39228
  },
39065
39229
  VariableDeclaration(node) {
39066
39230
  for (let i = 0; i < node.declarations.length; i++) {
@@ -39076,11 +39240,15 @@ var nodes = {
39076
39240
  return 1 | 2;
39077
39241
  }
39078
39242
  }
39243
+
39244
+ return 0;
39079
39245
  },
39080
39246
  IfStatement(node) {
39081
39247
  if (isBlockStatement2(node.consequent)) {
39082
39248
  return 1 | 2;
39083
39249
  }
39250
+
39251
+ return 0;
39084
39252
  },
39085
39253
  };
39086
39254
 
@@ -39090,21 +39258,29 @@ nodes.ObjectMethod = function(node, parent) {
39090
39258
  if (parent.properties[0] === node) {
39091
39259
  return 1;
39092
39260
  }
39261
+
39262
+ return 0;
39093
39263
  };
39094
39264
  nodes.ObjectTypeCallProperty = function(node, parent) {
39095
39265
  if (parent.callProperties[0] === node && !parent.properties?.length) {
39096
39266
  return 1;
39097
39267
  }
39268
+
39269
+ return 0;
39098
39270
  };
39099
39271
  nodes.ObjectTypeIndexer = function(node, parent) {
39100
39272
  if (parent.indexers[0] === node && !parent.properties?.length && !parent.callProperties?.length) {
39101
39273
  return 1;
39102
39274
  }
39275
+
39276
+ return 0;
39103
39277
  };
39104
39278
  nodes.ObjectTypeInternalSlot = function(node, parent) {
39105
39279
  if (parent.internalSlots[0] === node && !parent.properties?.length && !parent.callProperties?.length && !parent.indexers?.length) {
39106
39280
  return 1;
39107
39281
  }
39282
+
39283
+ return 0;
39108
39284
  };
39109
39285
  [
39110
39286
  ['Function', true],
@@ -39248,8 +39424,6 @@ function Binary(node, parent) {
39248
39424
  return true;
39249
39425
  }
39250
39426
  }
39251
-
39252
- return void 0;
39253
39427
  }
39254
39428
 
39255
39429
  function UnionTypeAnnotation$1(node, parent) {
@@ -39636,7 +39810,7 @@ function needsParens$1(node, parent, tokenContext, getRawIdentifier) {
39636
39810
  return !isDecoratorMemberExpression(node) && !(isCallExpression$1$1(node) && isDecoratorMemberExpression(node.callee)) && !isParenthesizedExpression2(node);
39637
39811
  }
39638
39812
 
39639
- return expandedParens.get(node.type)?.(node, parent, tokenContext, getRawIdentifier);
39813
+ return expandedParens.get(node.type)?.(node, parent, tokenContext, getRawIdentifier) || false;
39640
39814
  }
39641
39815
 
39642
39816
  function isDecoratorMemberExpression(node) {
@@ -39702,7 +39876,7 @@ var TokenMap = class {
39702
39876
  if (indexes.length > 0)
39703
39877
  this._nodesToTokenIndexes.set(node, indexes);
39704
39878
  });
39705
- this._tokensCache = null;
39879
+ this._tokensCache.clear();
39706
39880
  }
39707
39881
 
39708
39882
  has(node) {
@@ -39755,7 +39929,7 @@ var TokenMap = class {
39755
39929
  if (count > 1) {
39756
39930
  const cache2 = this._nodesOccurrencesCountCache.get(node);
39757
39931
 
39758
- if (cache2 && cache2.test === test && cache2.count < count) {
39932
+ if (cache2?.test === test && cache2.count < count) {
39759
39933
  i = cache2.i + 1;
39760
39934
  occurrenceCount -= cache2.count + 1;
39761
39935
  }
@@ -39832,7 +40006,7 @@ var TokenMap = class {
39832
40006
  let low = first;
39833
40007
  const children = childrenIterator(node);
39834
40008
 
39835
- if ((node.type === 'ExportNamedDeclaration' || node.type === 'ExportDefaultDeclaration') && node.declaration && node.declaration.type === 'ClassDeclaration') {
40009
+ if ((node.type === 'ExportNamedDeclaration' || node.type === 'ExportDefaultDeclaration') && node.declaration?.type === 'ClassDeclaration') {
39836
40010
  children.next();
39837
40011
  }
39838
40012
 
@@ -40484,10 +40658,7 @@ function SwitchStatement2(node) {
40484
40658
  this.tokenChar(41);
40485
40659
  this.space();
40486
40660
  this.tokenChar(123);
40487
- this.printSequence(node.cases, true, void 0, function addNewlines(leading, cas) {
40488
- if (!leading && node.cases[node.cases.length - 1] === cas)
40489
- return -1;
40490
- });
40661
+ this.printSequence(node.cases, true);
40491
40662
  this.rightBrace(node);
40492
40663
  }
40493
40664
 
@@ -40853,7 +41024,7 @@ function _parameters(parameters, endToken) {
40853
41024
  this._param(parameters[i]);
40854
41025
 
40855
41026
  if (trailingComma || i < paramLength - 1) {
40856
- this.token(',', null, i);
41027
+ this.token(',', void 0, i);
40857
41028
  this.space();
40858
41029
  }
40859
41030
  }
@@ -40905,7 +41076,7 @@ function _methodHead(node) {
40905
41076
  this.tokenChar(63);
40906
41077
  }
40907
41078
 
40908
- this._params(node, node.computed && node.key.type !== 'StringLiteral' ? void 0 : node.key, void 0);
41079
+ this._params(node, node.computed && node.key.type !== 'StringLiteral' ? void 0 : node.key);
40909
41080
  }
40910
41081
 
40911
41082
  function _predicate(node, noLineTerminatorAfter) {
@@ -41128,11 +41299,11 @@ function _printAttributes(node, hasPreviousBrace) {
41128
41299
  this.word(useAssertKeyword ? 'assert' : 'with');
41129
41300
  this.space();
41130
41301
  const occurrenceCount = hasPreviousBrace ? 1 : 0;
41131
- this.token('{', null, occurrenceCount);
41302
+ this.token('{', void 0, occurrenceCount);
41132
41303
  this.space();
41133
41304
  this.printList(attributes || assertions, this.shouldPrintTrailingComma('}'));
41134
41305
  this.space();
41135
- this.token('}', null, occurrenceCount);
41306
+ this.token('}', void 0, occurrenceCount);
41136
41307
  }
41137
41308
 
41138
41309
  function ExportAllDeclaration2(node) {
@@ -41473,54 +41644,8 @@ function ArrayExpression2(node) {
41473
41644
  this.tokenChar(93);
41474
41645
  }
41475
41646
 
41476
- function RecordExpression2(node) {
41477
- const props = node.properties;
41478
- let startToken;
41479
- let endToken;
41480
-
41481
- {
41482
- startToken = '#{';
41483
- endToken = '}';
41484
- }
41485
- this.token(startToken);
41486
-
41487
- if (props.length) {
41488
- this.space();
41489
- this.printList(props, this.shouldPrintTrailingComma(endToken), true, true);
41490
- this.space();
41491
- }
41492
-
41493
- this.token(endToken);
41494
- }
41495
-
41496
- function TupleExpression2(node) {
41497
- const elems = node.elements;
41498
- const len = elems.length;
41499
- let startToken;
41500
- let endToken;
41501
-
41502
- {
41503
- startToken = '#[';
41504
- endToken = ']';
41505
- }
41506
- this.token(startToken);
41507
- for (let i = 0; i < elems.length; i++) {
41508
- const elem = elems[i];
41509
-
41510
- if (elem) {
41511
- if (i > 0)
41512
- this.space();
41513
-
41514
- this.print(elem);
41515
-
41516
- if (i < len - 1 || this.shouldPrintTrailingComma(endToken)) {
41517
- this.token(',', false, i);
41518
- }
41519
- }
41520
- }
41521
-
41522
- this.token(endToken);
41523
- }
41647
+ var RecordExpression;
41648
+ var TupleExpression;
41524
41649
 
41525
41650
  function RegExpLiteral2(node) {
41526
41651
  this.word(`/${node.pattern}/${node.flags}`);
@@ -41611,10 +41736,7 @@ function VoidPattern2() {
41611
41736
  this.word('void');
41612
41737
  }
41613
41738
 
41614
- var {
41615
- isDeclareExportDeclaration: isDeclareExportDeclaration2,
41616
- isStatement: isStatement$12,
41617
- } = lib_exports;
41739
+ var {isDeclareExportDeclaration: isDeclareExportDeclaration2} = lib_exports;
41618
41740
 
41619
41741
  function AnyTypeAnnotation2() {
41620
41742
  this.word('any');
@@ -42109,10 +42231,7 @@ function ObjectTypeAnnotation2(node) {
42109
42231
  if (props.length) {
42110
42232
  this.newline();
42111
42233
  this.space();
42112
- this.printJoin(props, true, true, void 0, void 0, function addNewlines(leading) {
42113
- if (leading && !props[0])
42114
- return 1;
42115
- }, () => {
42234
+ this.printJoin(props, true, true, void 0, void 0, () => {
42116
42235
  if (props.length !== 1 || node.inexact) {
42117
42236
  this.tokenChar(44);
42118
42237
  this.space();
@@ -42847,7 +42966,7 @@ function tsPrintUnionOrIntersectionType(printer, node, sep) {
42847
42966
 
42848
42967
  printer.printJoin(node.types, void 0, void 0, function(i) {
42849
42968
  this.space();
42850
- this.token(sep, null, i + hasLeadingToken);
42969
+ this.token(sep, void 0, i + hasLeadingToken);
42851
42970
  this.space();
42852
42971
  });
42853
42972
  }
@@ -43097,11 +43216,7 @@ function TSEnumMember2(node) {
43097
43216
  }
43098
43217
 
43099
43218
  function TSModuleDeclaration2(node) {
43100
- const {
43101
- declare,
43102
- id,
43103
- kind,
43104
- } = node;
43219
+ const {declare, kind} = node;
43105
43220
 
43106
43221
  if (declare) {
43107
43222
  this.word('declare');
@@ -43255,6 +43370,8 @@ function printModifiersList(printer, node, modifiers) {
43255
43370
 
43256
43371
  return modifiersSet.size === 0;
43257
43372
  }
43373
+
43374
+ return false;
43258
43375
  });
43259
43376
 
43260
43377
  for (const modifier of modifiersSet) {
@@ -43406,7 +43523,7 @@ var generatorFunctions = /* @__PURE__ */Object.freeze({
43406
43523
  PrivateName: PrivateName2,
43407
43524
  Program: Program2,
43408
43525
  QualifiedTypeIdentifier: QualifiedTypeIdentifier2,
43409
- RecordExpression: RecordExpression2,
43526
+ RecordExpression,
43410
43527
  RegExpLiteral: RegExpLiteral2,
43411
43528
  RestElement: RestElement2,
43412
43529
  ReturnStatement: ReturnStatement2,
@@ -43496,7 +43613,7 @@ var generatorFunctions = /* @__PURE__ */Object.freeze({
43496
43613
  ThrowStatement: ThrowStatement2,
43497
43614
  TopicReference: TopicReference2,
43498
43615
  TryStatement: TryStatement2,
43499
- TupleExpression: TupleExpression2,
43616
+ TupleExpression,
43500
43617
  TupleTypeAnnotation: TupleTypeAnnotation2,
43501
43618
  TypeAlias: TypeAlias2,
43502
43619
  TypeAnnotation: TypeAnnotation2,
@@ -43558,7 +43675,7 @@ function commentIsNewline(c) {
43558
43675
  var {needsParens} = n;
43559
43676
 
43560
43677
  var Printer = class {
43561
- constructor(format, map, tokens, originalCode) {
43678
+ constructor(format, map, tokens = null, originalCode = null) {
43562
43679
  __publicField(this, 'tokenContext', TokenContext.normal);
43563
43680
  __publicField(this, '_tokens', null);
43564
43681
  __publicField(this, '_originalCode', null);
@@ -43584,7 +43701,7 @@ var Printer = class {
43584
43701
  this._tokens = tokens;
43585
43702
  this._originalCode = originalCode;
43586
43703
  this._indentRepeat = format.indent.style.length;
43587
- this._inputMap = map?._inputMap;
43704
+ this._inputMap = map?._inputMap || null;
43588
43705
  this._buf = new Buffer2(map, format.indent.style[0]);
43589
43706
  }
43590
43707
 
@@ -43972,7 +44089,7 @@ var Printer = class {
43972
44089
  this.print(node);
43973
44090
  }
43974
44091
 
43975
- print(node, noLineTerminatorAfter, trailingCommentsLineOffset) {
44092
+ print(node, noLineTerminatorAfter = false, trailingCommentsLineOffset) {
43976
44093
  if (!node)
43977
44094
  return;
43978
44095
 
@@ -44043,7 +44160,7 @@ var Printer = class {
44043
44160
  let oldTokenContext;
44044
44161
 
44045
44162
  if (!shouldPrintParens) {
44046
- noLineTerminatorAfter || (noLineTerminatorAfter = parent && this._noLineTerminatorAfterNode === parent && isLastChild(parent, node));
44163
+ noLineTerminatorAfter || (noLineTerminatorAfter = !!parent && this._noLineTerminatorAfterNode === parent && isLastChild(parent, node));
44047
44164
 
44048
44165
  if (noLineTerminatorAfter) {
44049
44166
  if (node.trailingComments?.some(commentIsNewline)) {
@@ -44155,7 +44272,7 @@ var Printer = class {
44155
44272
  }
44156
44273
  }
44157
44274
 
44158
- printJoin(nodes2, statement2, indent, separator, printTrailingSeparator, addNewlines, iterator, trailingCommentsLineOffset) {
44275
+ printJoin(nodes2, statement2, indent, separator, printTrailingSeparator, iterator, trailingCommentsLineOffset) {
44159
44276
  if (!nodes2?.length)
44160
44277
  return;
44161
44278
 
@@ -44171,7 +44288,6 @@ var Printer = class {
44171
44288
  this.indent();
44172
44289
 
44173
44290
  const newlineOpts = {
44174
- addNewlines,
44175
44291
  nextNodeStartLine: 0,
44176
44292
  };
44177
44293
 
@@ -44304,12 +44420,12 @@ var Printer = class {
44304
44420
  this._indentInnerComments = false;
44305
44421
  }
44306
44422
 
44307
- printSequence(nodes2, indent, trailingCommentsLineOffset, addNewlines) {
44308
- this.printJoin(nodes2, true, indent ?? false, void 0, void 0, addNewlines, void 0, trailingCommentsLineOffset);
44423
+ printSequence(nodes2, indent, trailingCommentsLineOffset) {
44424
+ this.printJoin(nodes2, true, indent ?? false, void 0, void 0, void 0, trailingCommentsLineOffset);
44309
44425
  }
44310
44426
 
44311
44427
  printList(items, printTrailingSeparator, statement2, indent, separator, iterator) {
44312
- this.printJoin(items, statement2, indent, separator ?? commaSeparator, printTrailingSeparator, void 0, iterator);
44428
+ this.printJoin(items, statement2, indent, separator ?? commaSeparator, printTrailingSeparator, iterator);
44313
44429
  }
44314
44430
 
44315
44431
  shouldPrintTrailingComma(listEnd) {
@@ -44667,10 +44783,10 @@ function generate$6(ast, opts = {}, code2) {
44667
44783
  return printer.generate(ast);
44668
44784
  }
44669
44785
 
44670
- // node_modules/@babel/traverse/lib/index.js
44786
+ // ../babel-babel/packages/babel-traverse/lib/index.js
44671
44787
  var import_debug = __toESM(require_src());
44672
44788
 
44673
- // node_modules/@babel/helper-globals/data/builtin-lower.json
44789
+ // ../babel-babel/packages/babel-helper-globals/data/builtin-lower.json
44674
44790
  var builtin_lower_default = [
44675
44791
  'decodeURI',
44676
44792
  'decodeURIComponent',
@@ -44687,7 +44803,7 @@ var builtin_lower_default = [
44687
44803
  'unescape',
44688
44804
  ];
44689
44805
 
44690
- // node_modules/@babel/helper-globals/data/builtin-upper.json
44806
+ // ../babel-babel/packages/babel-helper-globals/data/builtin-upper.json
44691
44807
  var builtin_upper_default = [
44692
44808
  'AggregateError',
44693
44809
  'Array',
@@ -44740,7 +44856,7 @@ var builtin_upper_default = [
44740
44856
  'WeakSet',
44741
44857
  ];
44742
44858
 
44743
- // node_modules/@babel/traverse/lib/index.js
44859
+ // ../babel-babel/packages/babel-traverse/lib/index.js
44744
44860
  var ReferencedIdentifier = [
44745
44861
  'Identifier',
44746
44862
  'JSXIdentifier',
@@ -44756,7 +44872,11 @@ var Scope$1 = [
44756
44872
  'Pattern',
44757
44873
  ];
44758
44874
  var Referenced = null;
44759
- var BlockScoped = null;
44875
+ var BlockScoped = [
44876
+ 'FunctionDeclaration',
44877
+ 'ClassDeclaration',
44878
+ 'VariableDeclaration',
44879
+ ];
44760
44880
  var Var = [
44761
44881
  'VariableDeclaration',
44762
44882
  ];
@@ -44836,16 +44956,16 @@ var {isCompatTag: isCompatTag2} = react2;
44836
44956
  function isReferencedIdentifier(opts) {
44837
44957
  const {node, parent} = this;
44838
44958
 
44839
- if (!isIdentifier$6$1(node, opts) && !isJSXMemberExpression2(parent, opts)) {
44840
- if (isJSXIdentifier3(node, opts)) {
44841
- if (isCompatTag2(node.name))
44842
- return false;
44843
- } else {
44959
+ if (isIdentifier$6$1(node, opts)) {
44960
+ return nodeIsReferenced(node, parent, this.parentPath.parent);
44961
+ } else if (isJSXIdentifier3(node, opts)) {
44962
+ if (!isJSXMemberExpression2(parent) && isCompatTag2(node.name))
44844
44963
  return false;
44845
- }
44964
+
44965
+ return nodeIsReferenced(node, parent, this.parentPath.parent);
44966
+ } else {
44967
+ return false;
44846
44968
  }
44847
-
44848
- return nodeIsReferenced(node, parent, this.parentPath.parent);
44849
44969
  }
44850
44970
 
44851
44971
  function isReferencedMemberExpression() {
@@ -44905,7 +45025,7 @@ function isVar2() {
44905
45025
  }
44906
45026
 
44907
45027
  function isUser() {
44908
- return this.node && !!this.node.loc;
45028
+ return !!this.node?.loc;
44909
45029
  }
44910
45030
 
44911
45031
  function isGenerated() {
@@ -45028,11 +45148,8 @@ function explode$1(visitor) {
45028
45148
 
45029
45149
  if (types2 !== null) {
45030
45150
  for (const type of types2) {
45031
- if (visitor[type]) {
45032
- mergePair(visitor[type], fns);
45033
- } else {
45034
- visitor[type] = fns;
45035
- }
45151
+ visitor[type] ?? (visitor[type] = {});
45152
+ mergePair(visitor[type], fns);
45036
45153
  }
45037
45154
  } else {
45038
45155
  mergePair(visitor, fns);
@@ -45098,7 +45215,7 @@ function verify$1(visitor) {
45098
45215
  continue;
45099
45216
 
45100
45217
  if (!TYPES2.includes(nodeType)) {
45101
- throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse ${'8.0.0-beta.2'}`);
45218
+ throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse ${'8.0.0-beta.3'}`);
45102
45219
  }
45103
45220
 
45104
45221
  const visitors2 = visitor[nodeType];
@@ -45232,7 +45349,7 @@ function wrapCheck(nodeType, fn) {
45232
45349
  }
45233
45350
 
45234
45351
  function shouldIgnoreKey(key) {
45235
- if (key[0] === '_')
45352
+ if (key.startsWith('_'))
45236
45353
  return true;
45237
45354
 
45238
45355
  if (key === 'enter' || key === 'exit' || key === 'shouldSkip')
@@ -45415,6 +45532,73 @@ var Renamer = class {
45415
45532
  }
45416
45533
  };
45417
45534
 
45535
+ var {VISITOR_KEYS: VISITOR_KEYS$5} = lib_exports;
45536
+
45537
+ function traverseForScope(path, visitors2, state) {
45538
+ const exploded = explode$1(visitors2);
45539
+
45540
+ if (exploded.enter || exploded.exit) {
45541
+ throw new Error('Should not be used with enter/exit visitors.');
45542
+ }
45543
+
45544
+ _traverse2(path.parentPath, path.parent, path.node, path.container, path.key, path.listKey, path.hub, path);
45545
+ function _traverse2(parentPath, parent, node, container, key, listKey, hub, inPath) {
45546
+ if (!node) {
45547
+ return;
45548
+ }
45549
+
45550
+ const path2 = inPath || NodePath_Final.get({
45551
+ hub,
45552
+ parentPath,
45553
+ parent,
45554
+ container,
45555
+ listKey,
45556
+ key,
45557
+ });
45558
+
45559
+ _forceSetScope.call(path2);
45560
+ const visitor = exploded[node.type];
45561
+
45562
+ if (visitor?.enter) {
45563
+ for (const visit2 of visitor.enter) {
45564
+ visit2.call(state, path2, state);
45565
+ }
45566
+ }
45567
+
45568
+ if (path2.shouldSkip) {
45569
+ return;
45570
+ }
45571
+
45572
+ const keys2 = VISITOR_KEYS$5[node.type];
45573
+
45574
+ if (!keys2?.length) {
45575
+ return;
45576
+ }
45577
+
45578
+ for (const key2 of keys2) {
45579
+ const prop = node[key2];
45580
+
45581
+ if (!prop)
45582
+ continue;
45583
+
45584
+ if (Array.isArray(prop)) {
45585
+ for (let i = 0; i < prop.length; i++) {
45586
+ const value = prop[i];
45587
+ _traverse2(path2, node, value, prop, i, key2);
45588
+ }
45589
+ } else {
45590
+ _traverse2(path2, node, prop, node, key2, null);
45591
+ }
45592
+ }
45593
+
45594
+ if (visitor?.exit) {
45595
+ for (const visit2 of visitor.exit) {
45596
+ visit2.call(state, path2, state);
45597
+ }
45598
+ }
45599
+ }
45600
+ }
45601
+
45418
45602
  var Binding = class {
45419
45603
  constructor({identifier: identifier4, scope: scope2, path, kind}) {
45420
45604
  __publicField(this, 'identifier');
@@ -45553,9 +45737,8 @@ var cache = /* @__PURE__ */Object.freeze({
45553
45737
 
45554
45738
  var {
45555
45739
  assignmentExpression: assignmentExpression$3,
45556
- callExpression: callExpression$3,
45557
45740
  cloneNode: cloneNode$3,
45558
- getBindingIdentifiers: getBindingIdentifiers$3,
45741
+ getBindingIdentifiers: getBindingIdentifiers$2,
45559
45742
  identifier: identifier$3$1,
45560
45743
  isArrayExpression: isArrayExpression3,
45561
45744
  isBinary: isBinary3,
@@ -45586,13 +45769,9 @@ var {
45586
45769
  isVariableDeclaration: isVariableDeclaration$1$1,
45587
45770
  expressionStatement: expressionStatement$3$1,
45588
45771
  matchesPattern: matchesPattern$1$1,
45589
- memberExpression: memberExpression$1,
45590
- numericLiteral: numericLiteral$2,
45591
45772
  toIdentifier: toIdentifier2,
45592
45773
  variableDeclaration: variableDeclaration$1$1,
45593
45774
  variableDeclarator: variableDeclarator$1,
45594
- isRecordExpression: isRecordExpression2,
45595
- isTupleExpression: isTupleExpression2,
45596
45775
  isObjectProperty: isObjectProperty2,
45597
45776
  isTopicReference: isTopicReference2,
45598
45777
  isMetaProperty: isMetaProperty2,
@@ -45757,6 +45936,10 @@ function resetScope(scope2) {
45757
45936
  scope2.globals = /* @__PURE__ */Object.create(null);
45758
45937
  }
45759
45938
 
45939
+ function isAnonymousFunctionExpression(path) {
45940
+ return path.isFunctionExpression() && !path.node.id || path.isArrowFunctionExpression();
45941
+ }
45942
+
45760
45943
  var collectorVisitor = {
45761
45944
  ForStatement(path) {
45762
45945
  const declar = path.get('init');
@@ -45830,7 +46013,7 @@ var collectorVisitor = {
45830
46013
  binding?.reference(path);
45831
46014
  } else if (isVariableDeclaration$1$1(declar)) {
45832
46015
  for (const decl of declar.declarations) {
45833
- for (const name of Object.keys(getBindingIdentifiers$3(decl))) {
46016
+ for (const name of Object.keys(getBindingIdentifiers$2(decl))) {
45834
46017
  const binding = scope2.getBinding(name);
45835
46018
  binding?.reference(path);
45836
46019
  }
@@ -46045,7 +46228,7 @@ var _Scope = class _Scope {
46045
46228
  }
46046
46229
  }
46047
46230
 
46048
- checkBlockScopedCollisions(local, kind, name, id) {
46231
+ checkBlockScopedCollisions(local, kind, name) {
46049
46232
  if (kind === 'param')
46050
46233
  return;
46051
46234
 
@@ -46059,7 +46242,7 @@ var _Scope = class _Scope {
46059
46242
  || local.kind === 'param' && kind === 'const';
46060
46243
 
46061
46244
  if (duplicate) {
46062
- throw this.path.hub.buildError(id, `Duplicate declaration "${name}"`, TypeError);
46245
+ throw Error(`Duplicate declaration '${name}'`, TypeError);
46063
46246
  }
46064
46247
  }
46065
46248
 
@@ -46275,14 +46458,14 @@ var _Scope = class _Scope {
46275
46458
  return true;
46276
46459
  } else if (isBinary3(node)) {
46277
46460
  return this.isPure(node.left, constantsOnly) && this.isPure(node.right, constantsOnly);
46278
- } else if (isArrayExpression3(node) || isTupleExpression2(node)) {
46461
+ } else if (isArrayExpression3(node)) {
46279
46462
  for (const elem of node.elements) {
46280
46463
  if (elem !== null && !this.isPure(elem, constantsOnly))
46281
46464
  return false;
46282
46465
  }
46283
46466
 
46284
46467
  return true;
46285
- } else if (isObjectExpression3(node) || isRecordExpression2(node)) {
46468
+ } else if (isObjectExpression3(node)) {
46286
46469
  for (const prop of node.properties) {
46287
46470
  if (!this.isPure(prop, constantsOnly))
46288
46471
  return false;
@@ -46423,10 +46606,6 @@ var _Scope = class _Scope {
46423
46606
  collectorVisitor]));
46424
46607
 
46425
46608
  if (path.type !== 'Program') {
46426
- for (const visit2 of scopeVisitor.enter) {
46427
- visit2.call(state, path, state);
46428
- }
46429
-
46430
46609
  const typeVisitors = scopeVisitor[path.type];
46431
46610
 
46432
46611
  if (typeVisitors) {
@@ -46436,7 +46615,9 @@ collectorVisitor]));
46436
46615
  }
46437
46616
  }
46438
46617
 
46439
- path.traverse(scopeVisitor, state);
46618
+ {
46619
+ traverseForScope(path, scopeVisitor, state);
46620
+ }
46440
46621
  this.crawling = false;
46441
46622
 
46442
46623
  for (const path2 of state.assignments) {
@@ -46487,7 +46668,7 @@ collectorVisitor]));
46487
46668
  id,
46488
46669
  } = opts;
46489
46670
 
46490
- if (!init && !unique && (kind === 'var' || kind === 'let') && path.isFunction() && !path.node.name && isCallExpression$12(path.parent, {callee: path.node}) && path.parent.arguments.length <= path.node.params.length && isIdentifier$5$1(id)) {
46671
+ if (!init && !unique && (kind === 'var' || kind === 'let') && isAnonymousFunctionExpression(path) && isCallExpression$12(path.parent, {callee: path.node}) && path.parent.arguments.length <= path.node.params.length && isIdentifier$5$1(id)) {
46491
46672
  path.pushContainer('params', id);
46492
46673
  path.scope.registerBinding('param', path.get('params')[path.node.params.length - 1]);
46493
46674
  return;
@@ -46721,14 +46902,14 @@ collectorVisitor]));
46721
46902
  init.push(assignmentExpression$3('=', decl.id, decl.init));
46722
46903
  }
46723
46904
 
46724
- const ids = Object.keys(getBindingIdentifiers$3(decl, false, true, true));
46905
+ const ids = Object.keys(getBindingIdentifiers$2(decl, false, true, true));
46725
46906
 
46726
46907
  for (const name2 of ids) {
46727
46908
  emit(identifier$3$1(name2), decl.init != null);
46728
46909
  }
46729
46910
  }
46730
46911
 
46731
- if (parentPath.parentPath.isFor({left: parent})) {
46912
+ if (parentPath.parentPath.isForXStatement({left: parent})) {
46732
46913
  parentPath.replaceWith(firstId);
46733
46914
  } else if (init.length === 0) {
46734
46915
  parentPath.remove();
@@ -46858,7 +47039,7 @@ function getDeepestCommonAncestorFrom(paths, filter) {
46858
47039
 
46859
47040
  const first = ancestries[0];
46860
47041
 
46861
- depthLoop: for (let i = 0; i < minDepth; i++) {
47042
+ depthLoop: for (let i = 0; i < minDepth; i++) {
46862
47043
  const shouldMatch = first[i];
46863
47044
 
46864
47045
  for (const ancestry of ancestries) {
@@ -46916,7 +47097,6 @@ function inType(...candidateTypes) {
46916
47097
  var {
46917
47098
  createFlowUnionType: createFlowUnionType2,
46918
47099
  createTSUnionType: createTSUnionType2,
46919
- createUnionTypeAnnotation,
46920
47100
  isFlowType: isFlowType2,
46921
47101
  isTSType: isTSType2,
46922
47102
  } = lib_exports;
@@ -47073,7 +47253,7 @@ function getParentConditionalPath(binding, path, name) {
47073
47253
  }
47074
47254
 
47075
47255
  if (parentPath.isFunction()) {
47076
- if (parentPath.parentPath.scope.getBinding(name) !== binding)
47256
+ if (name == null || parentPath.parentPath.scope.getBinding(name) !== binding)
47077
47257
  return;
47078
47258
  }
47079
47259
 
@@ -47590,6 +47770,7 @@ var hooks = [
47590
47770
  if (parent.isIfStatement() && self.key === 'consequent' || self.key === 'body' && (parent.isLoop() || parent.isArrowFunctionExpression())) {
47591
47771
  self.replaceWith({
47592
47772
  type: 'BlockStatement',
47773
+ directives: [],
47593
47774
  body: [],
47594
47775
  });
47595
47776
  return true;
@@ -47597,8 +47778,6 @@ var hooks = [
47597
47778
  },
47598
47779
  ];
47599
47780
 
47600
- var {getBindingIdentifiers: getBindingIdentifiers$2} = lib_exports;
47601
-
47602
47781
  function remove$3() {
47603
47782
  _assertUnremoved.call(this);
47604
47783
  resync.call(this);
@@ -47618,7 +47797,7 @@ function remove$3() {
47618
47797
  }
47619
47798
 
47620
47799
  function _removeFromScope() {
47621
- const bindings = getBindingIdentifiers$2(this.node, false, false, true);
47800
+ const bindings = getBindingIdentifiers(this.node, false, false, true);
47622
47801
  Object
47623
47802
  .keys(bindings)
47624
47803
  .forEach((name) => this.scope.removeBinding(name));
@@ -48058,7 +48237,7 @@ function _replaceWith(node) {
48058
48237
 
48059
48238
  this.debug(`Replace with ${node?.type}`);
48060
48239
  getCachedPaths(this)?.set(node, this).delete(this.node);
48061
- this.node =
48240
+ this.node = node;
48062
48241
  this.container[this.key] = node;
48063
48242
  }
48064
48243
 
@@ -48833,7 +49012,7 @@ function ensureBlock2() {
48833
49012
 
48834
49013
  this.node.body = blockStatement3(statements2);
48835
49014
  const parentPath = this.get(stringPath);
48836
- setup$1.call(body, parentPath, listKey ? parentPath.node[listKey] : parentPath.node, listKey, key);
49015
+ setup.call(body, parentPath, listKey ? parentPath.node[listKey] : parentPath.node, listKey, key);
48837
49016
  return this.node;
48838
49017
  }
48839
49018
 
@@ -49077,8 +49256,7 @@ function standardizeSuperProperty(superProp) {
49077
49256
 
49078
49257
  if (superProp.node.computed) {
49079
49258
  const tmp = superProp.scope.generateDeclaredUidIdentifier('tmp');
49080
- const object = superProp.node.object;
49081
- const property = superProp.node.property;
49259
+ const {object, property} = superProp.node;
49082
49260
 
49083
49261
  assignmentPath.get('left').replaceWith(memberExpression2(object, assignmentExpression2('=', tmp, property), true));
49084
49262
  assignmentPath.get('right').replaceWith(rightExpression(isLogicalAssignment ? '=' : op, memberExpression2(object, identifier3(tmp.name), true), value));
@@ -49538,7 +49716,7 @@ function referencesImport(moduleSource, importName) {
49538
49716
 
49539
49717
  const binding = this.scope.getBinding(this.node.name);
49540
49718
 
49541
- if (!binding || binding.kind !== 'module')
49719
+ if (binding?.kind !== 'module')
49542
49720
  return false;
49543
49721
 
49544
49722
  const path = binding.path;
@@ -49958,6 +50136,8 @@ function isInStrictMode() {
49958
50136
  return true;
49959
50137
  }
49960
50138
  }
50139
+
50140
+ return false;
49961
50141
  });
49962
50142
 
49963
50143
  return !!strictParent;
@@ -50436,7 +50616,6 @@ var NodePath_Final = class NodePath {
50436
50616
  constructor(hub, parent) {
50437
50617
  __publicField(this, 'contexts', []);
50438
50618
  __publicField(this, 'state', null);
50439
- __publicField(this, 'opts', null);
50440
50619
  __publicField(this, '_traverseFlags', 0);
50441
50620
  __publicField(this, 'skipKeys', null);
50442
50621
  __publicField(this, 'parentPath', null);
@@ -50506,7 +50685,7 @@ var NodePath_Final = class NodePath {
50506
50685
  paths.set(targetNode, path);
50507
50686
  }
50508
50687
 
50509
- setup$1.call(path, parentPath, container, listKey, key);
50688
+ setup.call(path, parentPath, container, listKey, key);
50510
50689
  return path;
50511
50690
  }
50512
50691
 
@@ -50686,7 +50865,7 @@ for (const type of TYPES$4) {
50686
50865
 
50687
50866
  Object.assign(NodePath_Final.prototype, NodePath_virtual_types_validator);
50688
50867
  for (const type of Object.keys(virtualTypes)) {
50689
- if (type[0] === '_')
50868
+ if (type.startsWith('_'))
50690
50869
  continue;
50691
50870
 
50692
50871
  if (!TYPES$4.includes(type))
@@ -50785,13 +50964,13 @@ var TraversalContext = class {
50785
50964
  visitIndex++;
50786
50965
  resync.call(path);
50787
50966
 
50967
+ if (path.key === null)
50968
+ continue;
50969
+
50788
50970
  if (path.contexts.length === 0 || path.contexts[path.contexts.length - 1] !== this) {
50789
50971
  pushContext.call(path, this);
50790
50972
  }
50791
50973
 
50792
- if (path.key === null)
50793
- continue;
50794
-
50795
50974
  const {node} = path;
50796
50975
 
50797
50976
  if (visited.has(node))
@@ -50816,6 +50995,9 @@ var TraversalContext = class {
50816
50995
  }
50817
50996
 
50818
50997
  for (let i = 0; i < visitIndex; i++) {
50998
+ if (queue[i].key === null)
50999
+ continue;
51000
+
50819
51001
  popContext.call(queue[i]);
50820
51002
  }
50821
51003
 
@@ -51102,6 +51284,24 @@ function stop() {
51102
51284
  this._traverseFlags |= SHOULD_SKIP | SHOULD_STOP;
51103
51285
  }
51104
51286
 
51287
+ function _forceSetScope() {
51288
+ let path = this.parentPath;
51289
+
51290
+ if ((this.key === 'key' || this.listKey === 'decorators') && path.isMethod() || this.key === 'discriminant' && path.isSwitchStatement()) {
51291
+ path = path.parentPath;
51292
+ }
51293
+
51294
+ let target;
51295
+
51296
+ while (path && !target) {
51297
+ target = path.scope;
51298
+ path = path.parentPath;
51299
+ }
51300
+
51301
+ this.scope = this.getScope(target);
51302
+ this.scope?.init();
51303
+ }
51304
+
51105
51305
  function setScope() {
51106
51306
  if (this.opts?.noScope)
51107
51307
  return;
@@ -51212,7 +51412,7 @@ function pushContext(context) {
51212
51412
  this.setContext(context);
51213
51413
  }
51214
51414
 
51215
- function setup$1(parentPath, container, listKey, key) {
51415
+ function setup(parentPath, container, listKey, key) {
51216
51416
  this.listKey = listKey;
51217
51417
  this.container = container;
51218
51418
  this.parentPath = parentPath || this.parentPath;
@@ -51294,7 +51494,7 @@ function traverse3(parent, opts = {}, scope2, state, parentPath, visitSelf) {
51294
51494
  }
51295
51495
 
51296
51496
  explode$1(opts);
51297
- traverseNode(parent, opts, scope2, state, parentPath, null, visitSelf);
51497
+ traverseNode(parent, opts, scope2, state, parentPath, void 0, visitSelf);
51298
51498
  }
51299
51499
 
51300
51500
  traverse3.visitors = visitors$2;
@@ -51358,9 +51558,9 @@ var fullstore$3 = (value) => {
51358
51558
  };
51359
51559
  };
51360
51560
 
51361
- var types$17 = {};
51561
+ var types$18 = {};
51362
51562
 
51363
- types$17.TYPES = {
51563
+ types$18.TYPES = {
51364
51564
  TOKEN: 'Token',
51365
51565
  NEWLINE: 'Newline',
51366
51566
  LINEBREAK: 'Linebreak',
@@ -51380,7 +51580,7 @@ var arrowFunctionExpression = {};
51380
51580
 
51381
51581
  var is$3 = {};
51382
51582
 
51383
- const {types: types$16} = bundle;
51583
+ const {types: types$17} = bundle;
51384
51584
  const {
51385
51585
  isStringLiteral: isStringLiteral$9,
51386
51586
  isIdentifier: isIdentifier$g,
@@ -51390,9 +51590,9 @@ const {
51390
51590
  isVariableDeclaration: isVariableDeclaration$4,
51391
51591
  isMemberExpression: isMemberExpression$7,
51392
51592
  isArrayExpression: isArrayExpression$9,
51393
- isObjectExpression: isObjectExpression$8,
51593
+ isObjectExpression: isObjectExpression$9,
51394
51594
  isLabeledStatement: isLabeledStatement$1,
51395
- } = types$16;
51595
+ } = types$17;
51396
51596
 
51397
51597
  const isParentProgram$1 = (path) => path.parentPath?.isProgram();
51398
51598
  const isParentBlock$3 = (path) => path.parentPath.isBlockStatement();
@@ -51461,10 +51661,10 @@ function isStringAndIdentifier$2([a, b]) {
51461
51661
  const checkObject = (elements) => {
51462
51662
  let a = elements.at(-1);
51463
51663
 
51464
- if (!isObjectExpression$8(a))
51664
+ if (!isObjectExpression$9(a))
51465
51665
  a = elements.at(-2);
51466
51666
 
51467
- if (!isObjectExpression$8(a))
51667
+ if (!isObjectExpression$9(a))
51468
51668
  return false;
51469
51669
 
51470
51670
  return a.node.properties.length;
@@ -51695,7 +51895,7 @@ commentsPrinter.printTrailingComments = (path, printer, semantics, {currentTrave
51695
51895
  }
51696
51896
  };
51697
51897
 
51698
- const {types: types$15} = bundle;
51898
+ const {types: types$16} = bundle;
51699
51899
  const {
51700
51900
  hasTrailingComment: hasTrailingComment$5,
51701
51901
  satisfy: satisfy$3,
@@ -51711,7 +51911,7 @@ const {
51711
51911
  } = commentsPrinter;
51712
51912
 
51713
51913
  const {
51714
- isArrowFunctionExpression: isArrowFunctionExpression$1,
51914
+ isArrowFunctionExpression: isArrowFunctionExpression$2,
51715
51915
  isObjectProperty: isObjectProperty$2,
51716
51916
  isVariableDeclarator: isVariableDeclarator$3,
51717
51917
  isClassProperty,
@@ -51721,7 +51921,7 @@ const {
51721
51921
  isBinaryExpression: isBinaryExpression$1,
51722
51922
  isClassMethod: isClassMethod$1,
51723
51923
  isDecorator: isDecorator$1,
51724
- } = types$15;
51924
+ } = types$16;
51725
51925
 
51726
51926
  const isProperty = satisfy$3([
51727
51927
  isObjectProperty$2,
@@ -51737,7 +51937,7 @@ const isInsideVar = (path) => {
51737
51937
  if (isVariableDeclarator$3(parentPath) && path === parentPath.get('init'))
51738
51938
  return true;
51739
51939
 
51740
- if (!isArrowFunctionExpression$1(parentPath))
51940
+ if (!isArrowFunctionExpression$2(parentPath))
51741
51941
  return false;
51742
51942
 
51743
51943
  return isVariableDeclarator$3(parentPath.parentPath);
@@ -51973,7 +52173,7 @@ function build(path) {
51973
52173
  return prop;
51974
52174
  }
51975
52175
 
51976
- const {types: types$14} = bundle;
52176
+ const {types: types$15} = bundle;
51977
52177
  const {chain: chain$2} = chain$3;
51978
52178
  const {satisfy: satisfy$2} = is$3;
51979
52179
 
@@ -51982,7 +52182,7 @@ const {
51982
52182
  isIfStatement: isIfStatement$1,
51983
52183
  isCallExpression: isCallExpression$8,
51984
52184
  isIdentifier: isIdentifier$f,
51985
- } = types$14;
52185
+ } = types$15;
51986
52186
 
51987
52187
  const isArgOfCall = (path) => path.parentPath?.isCallExpression() && path.parentPath.get('arguments.0') === path;
51988
52188
  const isCall$1 = (a) => a.type === 'CallExpression';
@@ -52055,7 +52255,7 @@ const isIfUp = (path) => {
52055
52255
  return is;
52056
52256
  };
52057
52257
 
52058
- const {types: types$13} = bundle;
52258
+ const {types: types$14} = bundle;
52059
52259
 
52060
52260
  const {
52061
52261
  isLast: isLast$c,
@@ -52075,7 +52275,7 @@ const {
52075
52275
  isMemberExpression: isMemberExpression$6,
52076
52276
  isExpressionStatement: isExpressionStatement$7,
52077
52277
  isCallExpression: isCallExpression$7,
52078
- } = types$13;
52278
+ } = types$14;
52079
52279
 
52080
52280
  const hasBody$1 = (path) => {
52081
52281
  if (path.isTSModuleDeclaration())
@@ -52434,7 +52634,7 @@ arrowFunctionExpression.ArrowFunctionExpression = maybeParens$d((path, printer,
52434
52634
 
52435
52635
  var functionDeclaration = {};
52436
52636
 
52437
- const {types: types$12} = bundle;
52637
+ const {types: types$13} = bundle;
52438
52638
  const {markAfter: markAfter$b} = mark;
52439
52639
  const {isNext: isNext$n, isNextParent: isNextParent$4} = is$3;
52440
52640
  const {printParams: printParams$b} = params;
@@ -52450,7 +52650,7 @@ const {
52450
52650
  isExpressionStatement: isExpressionStatement$6,
52451
52651
  isFunctionDeclaration: isFunctionDeclaration$2,
52452
52652
  isExportDefaultDeclaration,
52453
- } = types$12;
52653
+ } = types$13;
52454
52654
 
52455
52655
  const isInsideNamedExport$1 = ({parentPath}) => isExportNamedDeclaration$2(parentPath);
52456
52656
 
@@ -52891,38 +53091,46 @@ function printUnary(name, {print}) {
52891
53091
 
52892
53092
  var memberExpressions$1 = {};
52893
53093
 
53094
+ const {types: types$12} = bundle;
52894
53095
  const {maybePrintComputed} = maybePrintComputed$2;
52895
53096
  const {maybeParens: maybeParens$a} = maybeParens$e;
52896
53097
  const {isLooksLikeChain: isLooksLikeChain$2} = isLooksLikeChain$4;
52897
53098
 
52898
- memberExpressions$1.MemberExpression = (path, printer) => {
52899
- const {
52900
- print,
52901
- maybe,
52902
- traverse,
52903
- } = printer;
52904
-
52905
- const object = path.get('object');
52906
- const property = path.get('property');
52907
- const isParens = object.isAssignmentExpression();
52908
- const {computed} = path.node;
52909
-
52910
- const isChain = isLooksLikeChain$2(path);
52911
-
52912
- maybe.print(isParens, '(');
52913
- traverse(object);
52914
- maybe.print(isParens, ')');
52915
-
52916
- if (computed)
52917
- return maybePrintComputed(path, property, printer);
52918
-
52919
- maybe.indent.inc(isChain);
52920
- maybe.print.breakline(isChain);
52921
-
52922
- print('.');
52923
- print('__property');
52924
- maybe.indent.dec(isChain);
52925
- };
53099
+ const {
53100
+ isObjectExpression: isObjectExpression$8,
53101
+ isArrowFunctionExpression: isArrowFunctionExpression$1,
53102
+ } = types$12;
53103
+
53104
+ memberExpressions$1.MemberExpression = maybeParens$a({
53105
+ checkParens: false,
53106
+ condition: (path) => isObjectInsideArrow(path),
53107
+ print: (path, printer) => {
53108
+ const {
53109
+ print,
53110
+ maybe,
53111
+ traverse,
53112
+ } = printer;
53113
+
53114
+ const object = path.get('object');
53115
+ const property = path.get('property');
53116
+
53117
+ const {computed} = path.node;
53118
+
53119
+ const isChain = isLooksLikeChain$2(path);
53120
+
53121
+ traverse(object);
53122
+
53123
+ if (computed)
53124
+ return maybePrintComputed(path, property, printer);
53125
+
53126
+ maybe.indent.inc(isChain);
53127
+ maybe.print.breakline(isChain);
53128
+
53129
+ print('.');
53130
+ print('__property');
53131
+ maybe.indent.dec(isChain);
53132
+ },
53133
+ });
52926
53134
 
52927
53135
  memberExpressions$1.OptionalMemberExpression = maybeParens$a((path, {print, maybe}) => {
52928
53136
  const {computed, optional} = path.node;
@@ -52943,6 +53151,13 @@ memberExpressions$1.OptionalMemberExpression = maybeParens$a((path, {print, mayb
52943
53151
  print('__property');
52944
53152
  });
52945
53153
 
53154
+ const isObjectInsideArrow = ({node, parentPath}) => {
53155
+ if (!isObjectExpression$8(node.object))
53156
+ return false;
53157
+
53158
+ return isArrowFunctionExpression$1(parentPath);
53159
+ };
53160
+
52946
53161
  var _class = {};
52947
53162
 
52948
53163
  var maybeDeclare$6 = {};
@@ -54076,6 +54291,9 @@ maybeParensCondition.condition = (path, printer, semantics) => {
54076
54291
  if (path.node.left.type === 'ObjectPattern')
54077
54292
  return true;
54078
54293
 
54294
+ if (parentPath.type === 'MemberExpression')
54295
+ return true;
54296
+
54079
54297
  if (type === 'LogicalExpression')
54080
54298
  return true;
54081
54299
 
@@ -60056,7 +60274,7 @@ function objectPlugin(plugin, path, printer, semantics) {
60056
60274
 
60057
60275
  var debug$7 = {};
60058
60276
 
60059
- var require$$0$2 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_process);
60277
+ var require$$0$3 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_process);
60060
60278
 
60061
60279
  var justSnakeCase = snakeCase;
60062
60280
 
@@ -60087,10 +60305,10 @@ function snakeCase(str) {
60087
60305
  .join('_');
60088
60306
  }
60089
60307
 
60090
- const process$1 = require$$0$2;
60308
+ const process$1 = require$$0$3;
60091
60309
  const toSnakeCase = justSnakeCase;
60092
60310
  const {codeFrameColumns: codeFrameColumns$1} = bundle;
60093
- const {TYPES: TYPES$2} = types$17;
60311
+ const {TYPES: TYPES$2} = types$18;
60094
60312
 
60095
60313
  const {stringify: stringify$7} = JSON;
60096
60314
  const {
@@ -60277,7 +60495,7 @@ const initSemantics = (format, semantics = {}) => ({
60277
60495
  const fullstore$2 = fullstore$3;
60278
60496
 
60279
60497
  const babelTraverse$2 = bundle.traverse;
60280
- const {TYPES: TYPES$1} = types$17;
60498
+ const {TYPES: TYPES$1} = types$18;
60281
60499
  const baseVisitors = visitors$1;
60282
60500
 
60283
60501
  const {
@@ -60286,7 +60504,7 @@ const {
60286
60504
  maybeThrow,
60287
60505
  } = maybe;
60288
60506
 
60289
- const {createDebug: createDebug$3, createLog} = debug$7;
60507
+ const {createDebug: createDebug$b, createLog} = debug$7;
60290
60508
  const {maybeMarkAfter} = mark;
60291
60509
 
60292
60510
  const {
@@ -60321,7 +60539,7 @@ tokenize$1.tokenize = (ast, overrides) => {
60321
60539
 
60322
60540
  const tokens = [];
60323
60541
  const addToken = createAddToken(tokens);
60324
- const debug = createDebug$3(tokens);
60542
+ const debug = createDebug$b(tokens);
60325
60543
 
60326
60544
  const write = (value) => {
60327
60545
  addToken({
@@ -60811,13 +61029,13 @@ function check$f(str) {
60811
61029
  const {generate: generate$5} = bundle;
60812
61030
  const align = alignSpaces;
60813
61031
 
60814
- const defaultOptions$6 = {
61032
+ const defaultOptions$7 = {
60815
61033
  alignSpaces: true,
60816
61034
  };
60817
61035
 
60818
61036
  babel$2.print = (ast, options) => {
60819
61037
  const {source, alignSpaces} = {
60820
- ...defaultOptions$6,
61038
+ ...defaultOptions$7,
60821
61039
  ...options,
60822
61040
  };
60823
61041
 
@@ -61299,7 +61517,7 @@ const {
61299
61517
  isExportDeclaration,
61300
61518
  } = types$k;
61301
61519
 
61302
- const defaultOptions$5 = {
61520
+ const defaultOptions$6 = {
61303
61521
  convertParens: true,
61304
61522
  };
61305
61523
 
@@ -61307,7 +61525,7 @@ estreeToBabel$1.estreeToBabel = (node, options) => {
61307
61525
  const ast = getAST(node);
61308
61526
 
61309
61527
  const allOptions = {
61310
- ...defaultOptions$5,
61528
+ ...defaultOptions$6,
61311
61529
  ...options,
61312
61530
  };
61313
61531
 
@@ -62151,7 +62369,7 @@ shebang.cutShebang = (source) => {
62151
62369
  ];
62152
62370
  };
62153
62371
 
62154
- var defaultOptions$4 = {};
62372
+ var defaultOptions$5 = {};
62155
62373
 
62156
62374
  var lib$1 = {};
62157
62375
 
@@ -62405,7 +62623,7 @@ var _polyfillNode_path$1 = /*#__PURE__*/Object.freeze({
62405
62623
  sep: sep
62406
62624
  });
62407
62625
 
62408
- var require$$0$1 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_path$1);
62626
+ var require$$0$2 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_path$1);
62409
62627
 
62410
62628
  var tryToCatch$1 = async (fn, ...args) => {
62411
62629
  check$d(fn);
@@ -62430,8 +62648,8 @@ simpleImport$1.simpleImport = async (url) => {
62430
62648
  return result.default || result;
62431
62649
  };
62432
62650
 
62433
- const process = require$$0$2;
62434
- const {join: join$3} = require$$0$1;
62651
+ const process = require$$0$3;
62652
+ const {join: join$3} = require$$0$2;
62435
62653
  const once$1 = onceExports;
62436
62654
  const {nanomemoize} = require$$3;
62437
62655
  const tryToCatch = tryToCatch$1;
@@ -62560,7 +62778,7 @@ const {stringify: stringify$6} = JSON;
62560
62778
  const notSupportedError = (a) => Error(`☝️ Rule format not supported ${a}: ${typeof a}`);
62561
62779
  const rulesUsedInsteadOfMatchError = (a) => Error(`☝️ Looks like you need to change "rules" to "match" for ${stringify$6(a)}`);
62562
62780
  const stateOptionError = ({rule, value}) => Error(`☝️ ${rule}: state option can be "on" or "off" only, when used as string, received: "${value}"`);
62563
- const defaultOptions$3 = () => Object.create(null);
62781
+ const defaultOptions$4 = () => Object.create(null);
62564
62782
 
62565
62783
  const parseState = (rule, value) => {
62566
62784
  validateState(rule, value);
@@ -62588,7 +62806,7 @@ parseRules$2.parseRules = (rules) => {
62588
62806
  state: parseState(rule, value),
62589
62807
  plugin,
62590
62808
  msg,
62591
- options: defaultOptions$3(),
62809
+ options: defaultOptions$4(),
62592
62810
  });
62593
62811
  continue;
62594
62812
  }
@@ -62599,7 +62817,7 @@ parseRules$2.parseRules = (rules) => {
62599
62817
  state: value,
62600
62818
  plugin,
62601
62819
  msg,
62602
- options: defaultOptions$3(),
62820
+ options: defaultOptions$4(),
62603
62821
  });
62604
62822
  continue;
62605
62823
  }
@@ -62688,7 +62906,7 @@ function check$c(rules) {
62688
62906
 
62689
62907
  var mergeRules$2 = {};
62690
62908
 
62691
- const defaultOptions$2 = () => Object.create(null);
62909
+ const defaultOptions$3 = () => Object.create(null);
62692
62910
 
62693
62911
  mergeRules$2.mergeRules = ([rule, plugin], rules) => {
62694
62912
  for (const currentRule of rules) {
@@ -62709,7 +62927,7 @@ mergeRules$2.mergeRules = ([rule, plugin], rules) => {
62709
62927
  rule,
62710
62928
  plugin,
62711
62929
  msg: '',
62712
- options: defaultOptions$2(),
62930
+ options: defaultOptions$3(),
62713
62931
  };
62714
62932
  };
62715
62933
 
@@ -62929,7 +63147,7 @@ function isExactRuleEnabled(name, status, rules) {
62929
63147
  return false;
62930
63148
  }
62931
63149
 
62932
- const {basename: basename$2} = require$$0$1;
63150
+ const {basename: basename$2} = require$$0$2;
62933
63151
 
62934
63152
  const {isEnabled: isEnabled$1} = rules;
62935
63153
 
@@ -63033,7 +63251,7 @@ function parseRuleName(rule) {
63033
63251
 
63034
63252
  var loadPlugins$2 = {};
63035
63253
 
63036
- var load = {};
63254
+ var load$1 = {};
63037
63255
 
63038
63256
  var _polyfillNode_module = {};
63039
63257
 
@@ -63047,19 +63265,19 @@ var require$$1 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_module$1);
63047
63265
  var hasRequiredLoad;
63048
63266
 
63049
63267
  function requireLoad () {
63050
- if (hasRequiredLoad) return load;
63268
+ if (hasRequiredLoad) return load$1;
63051
63269
  hasRequiredLoad = 1;
63052
63270
 
63053
- const process = require$$0$2;
63271
+ const process = require$$0$3;
63054
63272
  const {createRequire} = require$$1;
63055
- const {join} = require$$0$1;
63273
+ const {join} = require$$0$2;
63056
63274
  const tryCatch = tryCatch$7;
63057
63275
  const once = onceExports;
63058
63276
  const {assign} = Object;
63059
63277
 
63060
63278
  const bigFirst = (a) => `${a[0].toUpperCase()}${a.slice(1)}`;
63061
63279
 
63062
- const load$1 = (type) => ({name, namespace}) => {
63280
+ const load = (type) => ({name, namespace}) => {
63063
63281
  const [pluginPath, customRequire] = getPath(namespace, type, name);
63064
63282
 
63065
63283
  if (!pluginPath)
@@ -63081,8 +63299,8 @@ function requireLoad () {
63081
63299
  return result;
63082
63300
  };
63083
63301
 
63084
- load.loadPlugin = load$1('plugin');
63085
- load.loadProcessor = load$1('processor');
63302
+ load$1.loadPlugin = load('plugin');
63303
+ load$1.loadProcessor = load('processor');
63086
63304
 
63087
63305
  function getPath(namespace, type, name) {
63088
63306
  if (name.startsWith('import:'))
@@ -63144,7 +63362,7 @@ function requireLoad () {
63144
63362
 
63145
63363
  return join(dir, name);
63146
63364
  }
63147
- return load;
63365
+ return load$1;
63148
63366
  }
63149
63367
 
63150
63368
  const validatePlugin = validatePlugin$2;
@@ -63323,753 +63541,282 @@ lib$1.validateRulesRelations = validateRulesRelations$1;
63323
63541
 
63324
63542
  var lib = {};
63325
63543
 
63326
- var browser = {exports: {}};
63327
-
63328
- /**
63329
- * Helpers.
63330
- */
63331
-
63332
- var ms;
63333
- var hasRequiredMs;
63334
-
63335
- function requireMs () {
63336
- if (hasRequiredMs) return ms;
63337
- hasRequiredMs = 1;
63338
- var s = 1000;
63339
- var m = s * 60;
63340
- var h = m * 60;
63341
- var d = h * 24;
63342
- var w = d * 7;
63343
- var y = d * 365.25;
63344
-
63345
- /**
63346
- * Parse or format the given `val`.
63347
- *
63348
- * Options:
63349
- *
63350
- * - `long` verbose formatting [false]
63351
- *
63352
- * @param {String|Number} val
63353
- * @param {Object} [options]
63354
- * @throws {Error} throw an error if val is not a non-empty string or a number
63355
- * @return {String|Number}
63356
- * @api public
63357
- */
63358
-
63359
- ms = function (val, options) {
63360
- options = options || {};
63361
- var type = typeof val;
63362
- if (type === 'string' && val.length > 0) {
63363
- return parse(val);
63364
- } else if (type === 'number' && isFinite(val)) {
63365
- return options.long ? fmtLong(val) : fmtShort(val);
63366
- }
63367
- throw new Error(
63368
- 'val is not a non-empty string or a valid number. val=' +
63369
- JSON.stringify(val)
63370
- );
63371
- };
63372
-
63373
- /**
63374
- * Parse the given `str` and return milliseconds.
63375
- *
63376
- * @param {String} str
63377
- * @return {Number}
63378
- * @api private
63379
- */
63380
-
63381
- function parse(str) {
63382
- str = String(str);
63383
- if (str.length > 100) {
63384
- return;
63385
- }
63386
- var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
63387
- str
63388
- );
63389
- if (!match) {
63390
- return;
63391
- }
63392
- var n = parseFloat(match[1]);
63393
- var type = (match[2] || 'ms').toLowerCase();
63394
- switch (type) {
63395
- case 'years':
63396
- case 'year':
63397
- case 'yrs':
63398
- case 'yr':
63399
- case 'y':
63400
- return n * y;
63401
- case 'weeks':
63402
- case 'week':
63403
- case 'w':
63404
- return n * w;
63405
- case 'days':
63406
- case 'day':
63407
- case 'd':
63408
- return n * d;
63409
- case 'hours':
63410
- case 'hour':
63411
- case 'hrs':
63412
- case 'hr':
63413
- case 'h':
63414
- return n * h;
63415
- case 'minutes':
63416
- case 'minute':
63417
- case 'mins':
63418
- case 'min':
63419
- case 'm':
63420
- return n * m;
63421
- case 'seconds':
63422
- case 'second':
63423
- case 'secs':
63424
- case 'sec':
63425
- case 's':
63426
- return n * s;
63427
- case 'milliseconds':
63428
- case 'millisecond':
63429
- case 'msecs':
63430
- case 'msec':
63431
- case 'ms':
63432
- return n;
63433
- default:
63434
- return undefined;
63435
- }
63436
- }
63437
-
63438
- /**
63439
- * Short format for `ms`.
63440
- *
63441
- * @param {Number} ms
63442
- * @return {String}
63443
- * @api private
63444
- */
63445
-
63446
- function fmtShort(ms) {
63447
- var msAbs = Math.abs(ms);
63448
- if (msAbs >= d) {
63449
- return Math.round(ms / d) + 'd';
63450
- }
63451
- if (msAbs >= h) {
63452
- return Math.round(ms / h) + 'h';
63453
- }
63454
- if (msAbs >= m) {
63455
- return Math.round(ms / m) + 'm';
63456
- }
63457
- if (msAbs >= s) {
63458
- return Math.round(ms / s) + 's';
63459
- }
63460
- return ms + 'ms';
63461
- }
63462
-
63463
- /**
63464
- * Long format for `ms`.
63465
- *
63466
- * @param {Number} ms
63467
- * @return {String}
63468
- * @api private
63469
- */
63470
-
63471
- function fmtLong(ms) {
63472
- var msAbs = Math.abs(ms);
63473
- if (msAbs >= d) {
63474
- return plural(ms, msAbs, d, 'day');
63475
- }
63476
- if (msAbs >= h) {
63477
- return plural(ms, msAbs, h, 'hour');
63478
- }
63479
- if (msAbs >= m) {
63480
- return plural(ms, msAbs, m, 'minute');
63481
- }
63482
- if (msAbs >= s) {
63483
- return plural(ms, msAbs, s, 'second');
63484
- }
63485
- return ms + ' ms';
63486
- }
63487
-
63488
- /**
63489
- * Pluralization helper.
63490
- */
63544
+ var debug$6 = {};
63491
63545
 
63492
- function plural(ms, msAbs, n, name) {
63493
- var isPlural = msAbs >= n * 1.5;
63494
- return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
63495
- }
63496
- return ms;
63546
+ function coerce(value) {
63547
+ if (value instanceof Error) return value.stack || value.message;
63548
+ return value;
63497
63549
  }
63498
-
63499
- /**
63500
- * This is the common logic for both the Node.js and web browser
63501
- * implementations of `debug()`.
63502
- */
63503
-
63504
- function setup(env) {
63505
- createDebug.debug = createDebug;
63506
- createDebug.default = createDebug;
63507
- createDebug.coerce = coerce;
63508
- createDebug.disable = disable;
63509
- createDebug.enable = enable;
63510
- createDebug.enabled = enabled;
63511
- createDebug.humanize = requireMs();
63512
- createDebug.destroy = destroy;
63513
-
63514
- Object.keys(env).forEach(key => {
63515
- createDebug[key] = env[key];
63516
- });
63517
-
63518
- /**
63519
- * The currently active debug mode names, and names to skip.
63520
- */
63521
-
63522
- createDebug.names = [];
63523
- createDebug.skips = [];
63524
-
63525
- /**
63526
- * Map of special "%n" handling functions, for the debug "format" argument.
63527
- *
63528
- * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N".
63529
- */
63530
- createDebug.formatters = {};
63531
-
63532
- /**
63533
- * Selects a color for a debug namespace
63534
- * @param {String} namespace The namespace string for the debug instance to be colored
63535
- * @return {Number|String} An ANSI color code for the given namespace
63536
- * @api private
63537
- */
63538
- function selectColor(namespace) {
63539
- let hash = 0;
63540
-
63541
- for (let i = 0; i < namespace.length; i++) {
63542
- hash = ((hash << 5) - hash) + namespace.charCodeAt(i);
63543
- hash |= 0; // Convert to 32bit integer
63544
- }
63545
-
63546
- return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
63547
- }
63548
- createDebug.selectColor = selectColor;
63549
-
63550
- /**
63551
- * Create a debugger with the given `namespace`.
63552
- *
63553
- * @param {String} namespace
63554
- * @return {Function}
63555
- * @api public
63556
- */
63557
- function createDebug(namespace) {
63558
- let prevTime;
63559
- let enableOverride = null;
63560
- let namespacesCache;
63561
- let enabledCache;
63562
-
63563
- function debug(...args) {
63564
- // Disabled?
63565
- if (!debug.enabled) {
63566
- return;
63567
- }
63568
-
63569
- const self = debug;
63570
-
63571
- // Set `diff` timestamp
63572
- const curr = Number(new Date());
63573
- const ms = curr - (prevTime || curr);
63574
- self.diff = ms;
63575
- self.prev = prevTime;
63576
- self.curr = curr;
63577
- prevTime = curr;
63578
-
63579
- args[0] = createDebug.coerce(args[0]);
63580
-
63581
- if (typeof args[0] !== 'string') {
63582
- // Anything else let's inspect with %O
63583
- args.unshift('%O');
63584
- }
63585
-
63586
- // Apply any `formatters` transformations
63587
- let index = 0;
63588
- args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
63589
- // If we encounter an escaped % then don't increase the array index
63590
- if (match === '%%') {
63591
- return '%';
63592
- }
63593
- index++;
63594
- const formatter = createDebug.formatters[format];
63595
- if (typeof formatter === 'function') {
63596
- const val = args[index];
63597
- match = formatter.call(self, val);
63598
-
63599
- // Now we need to remove `args[index]` since it's inlined in the `format`
63600
- args.splice(index, 1);
63601
- index--;
63602
- }
63603
- return match;
63604
- });
63605
-
63606
- // Apply env-specific formatting (colors, etc.)
63607
- createDebug.formatArgs.call(self, args);
63608
-
63609
- const logFn = self.log || createDebug.log;
63610
- logFn.apply(self, args);
63611
- }
63612
-
63613
- debug.namespace = namespace;
63614
- debug.useColors = createDebug.useColors();
63615
- debug.color = createDebug.selectColor(namespace);
63616
- debug.extend = extend;
63617
- debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.
63618
-
63619
- Object.defineProperty(debug, 'enabled', {
63620
- enumerable: true,
63621
- configurable: false,
63622
- get: () => {
63623
- if (enableOverride !== null) {
63624
- return enableOverride;
63625
- }
63626
- if (namespacesCache !== createDebug.namespaces) {
63627
- namespacesCache = createDebug.namespaces;
63628
- enabledCache = createDebug.enabled(namespace);
63629
- }
63630
-
63631
- return enabledCache;
63632
- },
63633
- set: v => {
63634
- enableOverride = v;
63635
- }
63636
- });
63637
-
63638
- // Env-specific initialization logic for debug instances
63639
- if (typeof createDebug.init === 'function') {
63640
- createDebug.init(debug);
63641
- }
63642
-
63643
- return debug;
63644
- }
63645
-
63646
- function extend(namespace, delimiter) {
63647
- const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);
63648
- newDebug.log = this.log;
63649
- return newDebug;
63650
- }
63651
-
63652
- /**
63653
- * Enables a debug mode by namespaces. This can include modes
63654
- * separated by a colon and wildcards.
63655
- *
63656
- * @param {String} namespaces
63657
- * @api public
63658
- */
63659
- function enable(namespaces) {
63660
- createDebug.save(namespaces);
63661
- createDebug.namespaces = namespaces;
63662
-
63663
- createDebug.names = [];
63664
- createDebug.skips = [];
63665
-
63666
- const split = (typeof namespaces === 'string' ? namespaces : '')
63667
- .trim()
63668
- .replace(/\s+/g, ',')
63669
- .split(',')
63670
- .filter(Boolean);
63671
-
63672
- for (const ns of split) {
63673
- if (ns[0] === '-') {
63674
- createDebug.skips.push(ns.slice(1));
63675
- } else {
63676
- createDebug.names.push(ns);
63677
- }
63678
- }
63679
- }
63680
-
63681
- /**
63682
- * Checks if the given string matches a namespace template, honoring
63683
- * asterisks as wildcards.
63684
- *
63685
- * @param {String} search
63686
- * @param {String} template
63687
- * @return {Boolean}
63688
- */
63689
- function matchesTemplate(search, template) {
63690
- let searchIndex = 0;
63691
- let templateIndex = 0;
63692
- let starIndex = -1;
63693
- let matchIndex = 0;
63694
-
63695
- while (searchIndex < search.length) {
63696
- if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) {
63697
- // Match character or proceed with wildcard
63698
- if (template[templateIndex] === '*') {
63699
- starIndex = templateIndex;
63700
- matchIndex = searchIndex;
63701
- templateIndex++; // Skip the '*'
63702
- } else {
63703
- searchIndex++;
63704
- templateIndex++;
63705
- }
63706
- } else if (starIndex !== -1) { // eslint-disable-line no-negated-condition
63707
- // Backtrack to the last '*' and try to match more characters
63708
- templateIndex = starIndex + 1;
63709
- matchIndex++;
63710
- searchIndex = matchIndex;
63711
- } else {
63712
- return false; // No match
63713
- }
63714
- }
63715
-
63716
- // Handle trailing '*' in template
63717
- while (templateIndex < template.length && template[templateIndex] === '*') {
63718
- templateIndex++;
63719
- }
63720
-
63721
- return templateIndex === template.length;
63722
- }
63723
-
63724
- /**
63725
- * Disable debug output.
63726
- *
63727
- * @return {String} namespaces
63728
- * @api public
63729
- */
63730
- function disable() {
63731
- const namespaces = [
63732
- ...createDebug.names,
63733
- ...createDebug.skips.map(namespace => '-' + namespace)
63734
- ].join(',');
63735
- createDebug.enable('');
63736
- return namespaces;
63737
- }
63738
-
63739
- /**
63740
- * Returns true if the given mode name is enabled, false otherwise.
63741
- *
63742
- * @param {String} name
63743
- * @return {Boolean}
63744
- * @api public
63745
- */
63746
- function enabled(name) {
63747
- for (const skip of createDebug.skips) {
63748
- if (matchesTemplate(name, skip)) {
63749
- return false;
63750
- }
63751
- }
63752
-
63753
- for (const ns of createDebug.names) {
63754
- if (matchesTemplate(name, ns)) {
63755
- return true;
63756
- }
63757
- }
63758
-
63759
- return false;
63760
- }
63761
-
63762
- /**
63763
- * Coerce `val`.
63764
- *
63765
- * @param {Mixed} val
63766
- * @return {Mixed}
63767
- * @api private
63768
- */
63769
- function coerce(val) {
63770
- if (val instanceof Error) {
63771
- return val.stack || val.message;
63772
- }
63773
- return val;
63550
+ function selectColor(colors, namespace) {
63551
+ let hash = 0;
63552
+ for (let i = 0; i < namespace.length; i++) {
63553
+ hash = (hash << 5) - hash + namespace.charCodeAt(i);
63554
+ hash |= 0;
63774
63555
  }
63775
-
63776
- /**
63777
- * XXX DO NOT USE. This is a temporary stub function.
63778
- * XXX It WILL be removed in the next major release.
63779
- */
63780
- function destroy() {
63781
- console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
63556
+ return colors[Math.abs(hash) % colors.length];
63557
+ }
63558
+ function matchesTemplate(search, template) {
63559
+ let searchIndex = 0;
63560
+ let templateIndex = 0;
63561
+ let starIndex = -1;
63562
+ let matchIndex = 0;
63563
+ while (searchIndex < search.length) if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) if (template[templateIndex] === "*") {
63564
+ starIndex = templateIndex;
63565
+ matchIndex = searchIndex;
63566
+ templateIndex++;
63567
+ } else {
63568
+ searchIndex++;
63569
+ templateIndex++;
63782
63570
  }
63783
-
63784
- createDebug.enable(createDebug.load());
63785
-
63786
- return createDebug;
63787
- }
63788
-
63789
- var common = setup;
63790
-
63791
- (function (module, exports$1) {
63792
- /**
63793
- * This is the web browser implementation of `debug()`.
63794
- */
63795
-
63796
- exports$1.formatArgs = formatArgs;
63797
- exports$1.save = save;
63798
- exports$1.load = load;
63799
- exports$1.useColors = useColors;
63800
- exports$1.storage = localstorage();
63801
- exports$1.destroy = (() => {
63802
- let warned = false;
63803
-
63804
- return () => {
63805
- if (!warned) {
63806
- warned = true;
63807
- console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
63808
- }
63809
- };
63810
- })();
63811
-
63812
- /**
63813
- * Colors.
63814
- */
63815
-
63816
- exports$1.colors = [
63817
- '#0000CC',
63818
- '#0000FF',
63819
- '#0033CC',
63820
- '#0033FF',
63821
- '#0066CC',
63822
- '#0066FF',
63823
- '#0099CC',
63824
- '#0099FF',
63825
- '#00CC00',
63826
- '#00CC33',
63827
- '#00CC66',
63828
- '#00CC99',
63829
- '#00CCCC',
63830
- '#00CCFF',
63831
- '#3300CC',
63832
- '#3300FF',
63833
- '#3333CC',
63834
- '#3333FF',
63835
- '#3366CC',
63836
- '#3366FF',
63837
- '#3399CC',
63838
- '#3399FF',
63839
- '#33CC00',
63840
- '#33CC33',
63841
- '#33CC66',
63842
- '#33CC99',
63843
- '#33CCCC',
63844
- '#33CCFF',
63845
- '#6600CC',
63846
- '#6600FF',
63847
- '#6633CC',
63848
- '#6633FF',
63849
- '#66CC00',
63850
- '#66CC33',
63851
- '#9900CC',
63852
- '#9900FF',
63853
- '#9933CC',
63854
- '#9933FF',
63855
- '#99CC00',
63856
- '#99CC33',
63857
- '#CC0000',
63858
- '#CC0033',
63859
- '#CC0066',
63860
- '#CC0099',
63861
- '#CC00CC',
63862
- '#CC00FF',
63863
- '#CC3300',
63864
- '#CC3333',
63865
- '#CC3366',
63866
- '#CC3399',
63867
- '#CC33CC',
63868
- '#CC33FF',
63869
- '#CC6600',
63870
- '#CC6633',
63871
- '#CC9900',
63872
- '#CC9933',
63873
- '#CCCC00',
63874
- '#CCCC33',
63875
- '#FF0000',
63876
- '#FF0033',
63877
- '#FF0066',
63878
- '#FF0099',
63879
- '#FF00CC',
63880
- '#FF00FF',
63881
- '#FF3300',
63882
- '#FF3333',
63883
- '#FF3366',
63884
- '#FF3399',
63885
- '#FF33CC',
63886
- '#FF33FF',
63887
- '#FF6600',
63888
- '#FF6633',
63889
- '#FF9900',
63890
- '#FF9933',
63891
- '#FFCC00',
63892
- '#FFCC33'
63893
- ];
63894
-
63895
- /**
63896
- * Currently only WebKit-based Web Inspectors, Firefox >= v31,
63897
- * and the Firebug extension (any Firefox version) are known
63898
- * to support "%c" CSS customizations.
63899
- *
63900
- * TODO: add a `localStorage` variable to explicitly enable/disable colors
63901
- */
63902
-
63903
- // eslint-disable-next-line complexity
63904
- function useColors() {
63905
- // NB: In an Electron preload script, document will be defined but not fully
63906
- // initialized. Since we know we're in Chrome, we'll just detect this case
63907
- // explicitly
63908
- if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {
63909
- return true;
63910
- }
63911
-
63912
- // Internet Explorer and Edge do not support colors.
63913
- if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
63914
- return false;
63915
- }
63916
-
63917
- let m;
63918
-
63919
- // Is webkit? http://stackoverflow.com/a/16459606/376773
63920
- // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
63921
- // eslint-disable-next-line no-return-assign
63922
- return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||
63923
- // Is firebug? http://stackoverflow.com/a/398120/376773
63924
- (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
63925
- // Is firefox >= v31?
63926
- // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
63927
- (typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31) ||
63928
- // Double check webkit in userAgent just in case we are in a worker
63929
- (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));
63930
- }
63931
-
63932
- /**
63933
- * Colorize log arguments if enabled.
63934
- *
63935
- * @api public
63936
- */
63937
-
63938
- function formatArgs(args) {
63939
- args[0] = (this.useColors ? '%c' : '') +
63940
- this.namespace +
63941
- (this.useColors ? ' %c' : ' ') +
63942
- args[0] +
63943
- (this.useColors ? '%c ' : ' ') +
63944
- '+' + module.exports.humanize(this.diff);
63945
-
63946
- if (!this.useColors) {
63947
- return;
63948
- }
63949
-
63950
- const c = 'color: ' + this.color;
63951
- args.splice(1, 0, c, 'color: inherit');
63952
-
63953
- // The final "%c" is somewhat tricky, because there could be other
63954
- // arguments passed either before or after the %c, so we need to
63955
- // figure out the correct index to insert the CSS into
63571
+ else if (starIndex !== -1) {
63572
+ templateIndex = starIndex + 1;
63573
+ matchIndex++;
63574
+ searchIndex = matchIndex;
63575
+ } else return false;
63576
+ while (templateIndex < template.length && template[templateIndex] === "*") templateIndex++;
63577
+ return templateIndex === template.length;
63578
+ }
63579
+ function humanize(value) {
63580
+ if (value >= 1e3) return `${(value / 1e3).toFixed(1)}s`;
63581
+ return `${value}ms`;
63582
+ }
63583
+ let globalNamespaces = "";
63584
+ function namespaces() {
63585
+ return globalNamespaces;
63586
+ }
63587
+ function createDebug$a(namespace, options) {
63588
+ let prevTime;
63589
+ let enableOverride;
63590
+ let namespacesCache;
63591
+ let enabledCache;
63592
+ const debug = (...args) => {
63593
+ if (!debug.enabled) return;
63594
+ const curr = Date.now();
63595
+ const diff = curr - (prevTime || curr);
63596
+ prevTime = curr;
63597
+ args[0] = coerce(args[0]);
63598
+ if (typeof args[0] !== "string") args.unshift("%O");
63956
63599
  let index = 0;
63957
- let lastC = 0;
63958
- args[0].replace(/%[a-zA-Z%]/g, match => {
63959
- if (match === '%%') {
63960
- return;
63961
- }
63600
+ args[0] = args[0].replace(/%([a-z%])/gi, (match, format) => {
63601
+ if (match === "%%") return "%";
63962
63602
  index++;
63963
- if (match === '%c') {
63964
- // We only are interested in the *last* %c
63965
- // (the user may have provided their own)
63966
- lastC = index;
63603
+ const formatter = options.formatters[format];
63604
+ if (typeof formatter === "function") {
63605
+ const value = args[index];
63606
+ match = formatter.call(debug, value);
63607
+ args.splice(index, 1);
63608
+ index--;
63967
63609
  }
63610
+ return match;
63968
63611
  });
63969
-
63970
- args.splice(lastC, 0, c);
63971
- }
63972
-
63973
- /**
63974
- * Invokes `console.debug()` when available.
63975
- * No-op when `console.debug` is not a "function".
63976
- * If `console.debug` is not available, falls back
63977
- * to `console.log`.
63978
- *
63979
- * @api public
63980
- */
63981
- exports$1.log = console.debug || console.log || (() => {});
63982
-
63983
- /**
63984
- * Save `namespaces`.
63985
- *
63986
- * @param {String} namespaces
63987
- * @api private
63988
- */
63989
- function save(namespaces) {
63990
- try {
63991
- if (namespaces) {
63992
- exports$1.storage.setItem('debug', namespaces);
63993
- } else {
63994
- exports$1.storage.removeItem('debug');
63612
+ options.formatArgs.call(debug, diff, args);
63613
+ debug.log(...args);
63614
+ };
63615
+ debug.extend = function(namespace$1, delimiter = ":") {
63616
+ return createDebug$a(this.namespace + delimiter + namespace$1, {
63617
+ useColors: this.useColors,
63618
+ color: this.color,
63619
+ formatArgs: this.formatArgs,
63620
+ formatters: this.formatters,
63621
+ inspectOpts: this.inspectOpts,
63622
+ log: this.log,
63623
+ humanize: this.humanize
63624
+ });
63625
+ };
63626
+ Object.assign(debug, options);
63627
+ debug.namespace = namespace;
63628
+ Object.defineProperty(debug, "enabled", {
63629
+ enumerable: true,
63630
+ configurable: false,
63631
+ get: () => {
63632
+ if (enableOverride != null) return enableOverride;
63633
+ if (namespacesCache !== globalNamespaces) {
63634
+ namespacesCache = globalNamespaces;
63635
+ enabledCache = enabled(namespace);
63995
63636
  }
63996
- } catch (error) {
63997
- // Swallow
63998
- // XXX (@Qix-) should we be logging these?
63999
- }
64000
- }
64001
-
64002
- /**
64003
- * Load `namespaces`.
64004
- *
64005
- * @return {String} returns the previously persisted debug modes
64006
- * @api private
64007
- */
64008
- function load() {
64009
- let r;
64010
- try {
64011
- r = exports$1.storage.getItem('debug') || exports$1.storage.getItem('DEBUG') ;
64012
- } catch (error) {
64013
- // Swallow
64014
- // XXX (@Qix-) should we be logging these?
64015
- }
64016
-
64017
- // If debug isn't set in LS, and we're in Electron, try to load $DEBUG
64018
- if (!r && typeof browser$1$1 !== 'undefined' && 'env' in browser$1$1) {
64019
- r = browser$1$1.env.DEBUG;
64020
- }
64021
-
64022
- return r;
64023
- }
64024
-
64025
- /**
64026
- * Localstorage attempts to return the localstorage.
64027
- *
64028
- * This is necessary because safari throws
64029
- * when a user disables cookies/localstorage
64030
- * and you attempt to access it.
64031
- *
64032
- * @return {LocalStorage}
64033
- * @api private
64034
- */
64035
-
64036
- function localstorage() {
64037
- try {
64038
- // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context
64039
- // The Browser also has localStorage in the global context.
64040
- return localStorage;
64041
- } catch (error) {
64042
- // Swallow
64043
- // XXX (@Qix-) should we be logging these?
63637
+ return enabledCache;
63638
+ },
63639
+ set: (v) => {
63640
+ enableOverride = v;
64044
63641
  }
64045
- }
64046
-
64047
- module.exports = common(exports$1);
64048
-
64049
- const {formatters} = module.exports;
64050
-
64051
- /**
64052
- * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
64053
- */
64054
-
64055
- formatters.j = function (v) {
63642
+ });
63643
+ return debug;
63644
+ }
63645
+ let names = [];
63646
+ let skips = [];
63647
+ function enable$1(namespaces$1) {
63648
+ globalNamespaces = namespaces$1;
63649
+ names = [];
63650
+ skips = [];
63651
+ const split = globalNamespaces.trim().replace(/\s+/g, ",").split(",").filter(Boolean);
63652
+ for (const ns of split) if (ns[0] === "-") skips.push(ns.slice(1));
63653
+ else names.push(ns);
63654
+ }
63655
+ function disable() {
63656
+ const namespaces$1 = [...names, ...skips.map((namespace) => `-${namespace}`)].join(",");
63657
+ enable$1("");
63658
+ return namespaces$1;
63659
+ }
63660
+ function enabled(name) {
63661
+ for (const skip of skips) if (matchesTemplate(name, skip)) return false;
63662
+ for (const ns of names) if (matchesTemplate(name, ns)) return true;
63663
+ return false;
63664
+ }
63665
+
63666
+ const colors = [
63667
+ "#0000CC",
63668
+ "#0000FF",
63669
+ "#0033CC",
63670
+ "#0033FF",
63671
+ "#0066CC",
63672
+ "#0066FF",
63673
+ "#0099CC",
63674
+ "#0099FF",
63675
+ "#00CC00",
63676
+ "#00CC33",
63677
+ "#00CC66",
63678
+ "#00CC99",
63679
+ "#00CCCC",
63680
+ "#00CCFF",
63681
+ "#3300CC",
63682
+ "#3300FF",
63683
+ "#3333CC",
63684
+ "#3333FF",
63685
+ "#3366CC",
63686
+ "#3366FF",
63687
+ "#3399CC",
63688
+ "#3399FF",
63689
+ "#33CC00",
63690
+ "#33CC33",
63691
+ "#33CC66",
63692
+ "#33CC99",
63693
+ "#33CCCC",
63694
+ "#33CCFF",
63695
+ "#6600CC",
63696
+ "#6600FF",
63697
+ "#6633CC",
63698
+ "#6633FF",
63699
+ "#66CC00",
63700
+ "#66CC33",
63701
+ "#9900CC",
63702
+ "#9900FF",
63703
+ "#9933CC",
63704
+ "#9933FF",
63705
+ "#99CC00",
63706
+ "#99CC33",
63707
+ "#CC0000",
63708
+ "#CC0033",
63709
+ "#CC0066",
63710
+ "#CC0099",
63711
+ "#CC00CC",
63712
+ "#CC00FF",
63713
+ "#CC3300",
63714
+ "#CC3333",
63715
+ "#CC3366",
63716
+ "#CC3399",
63717
+ "#CC33CC",
63718
+ "#CC33FF",
63719
+ "#CC6600",
63720
+ "#CC6633",
63721
+ "#CC9900",
63722
+ "#CC9933",
63723
+ "#CCCC00",
63724
+ "#CCCC33",
63725
+ "#FF0000",
63726
+ "#FF0033",
63727
+ "#FF0066",
63728
+ "#FF0099",
63729
+ "#FF00CC",
63730
+ "#FF00FF",
63731
+ "#FF3300",
63732
+ "#FF3333",
63733
+ "#FF3366",
63734
+ "#FF3399",
63735
+ "#FF33CC",
63736
+ "#FF33FF",
63737
+ "#FF6600",
63738
+ "#FF6633",
63739
+ "#FF9900",
63740
+ "#FF9933",
63741
+ "#FFCC00",
63742
+ "#FFCC33"
63743
+ ];
63744
+ function formatArgs(diff, args) {
63745
+ const { useColors } = this;
63746
+ args[0] = `${(useColors ? "%c" : "") + this.namespace + (useColors ? " %c" : " ") + args[0] + (useColors ? "%c " : " ")}+${this.humanize(diff)}`;
63747
+ if (!useColors) return;
63748
+ const c = `color: ${this.color}`;
63749
+ args.splice(1, 0, c, "color: inherit");
63750
+ let index = 0;
63751
+ let lastC = 0;
63752
+ args[0].replace(/%[a-z%]/gi, (match) => {
63753
+ if (match === "%%") return;
63754
+ index++;
63755
+ if (match === "%c") lastC = index;
63756
+ });
63757
+ args.splice(lastC, 0, c);
63758
+ }
63759
+ const log$6 = console.debug || console.log || (() => {});
63760
+ const storage = localstorage();
63761
+ const defaultOptions$2 = {
63762
+ useColors: true,
63763
+ formatArgs,
63764
+ formatters: { j(v) {
64056
63765
  try {
64057
63766
  return JSON.stringify(v);
64058
63767
  } catch (error) {
64059
- return '[UnexpectedJSONParseError]: ' + error.message;
63768
+ return `[UnexpectedJSONParseError]: ${error.message}`;
64060
63769
  }
64061
- };
64062
- } (browser, browser.exports));
64063
-
64064
- var browserExports = browser.exports;
64065
- browserExports.default;
63770
+ } },
63771
+ inspectOpts: {},
63772
+ humanize,
63773
+ log: log$6
63774
+ };
63775
+ function createDebug$9(namespace, options) {
63776
+ var _ref;
63777
+ const color = (_ref = options && options.color) !== null && _ref !== void 0 ? _ref : selectColor(colors, namespace);
63778
+ return createDebug$a(namespace, Object.assign(defaultOptions$2, { color }, options));
63779
+ }
63780
+ function localstorage() {
63781
+ try {
63782
+ return localStorage;
63783
+ } catch (_unused) {}
63784
+ }
63785
+ function load() {
63786
+ let r;
63787
+ try {
63788
+ r = storage.getItem("debug") || storage.getItem("DEBUG");
63789
+ } catch (_unused2) {}
63790
+ if (!r && typeof browser$1$1 !== "undefined" && "env" in browser$1$1) r = browser$1$1.env.DEBUG;
63791
+ return r || "";
63792
+ }
63793
+ function save(namespaces$1) {
63794
+ try {
63795
+ if (namespaces$1) storage.setItem("debug", namespaces$1);
63796
+ else storage.removeItem("debug");
63797
+ } catch (_unused3) {}
63798
+ }
63799
+ function enable(namespaces$1) {
63800
+ save(namespaces$1);
63801
+ enable$1(namespaces$1);
63802
+ }
63803
+ enable$1(load());
63804
+
63805
+ var browser = /*#__PURE__*/Object.freeze({
63806
+ __proto__: null,
63807
+ createDebug: createDebug$9,
63808
+ disable: disable,
63809
+ enable: enable,
63810
+ enabled: enabled,
63811
+ namespaces: namespaces
63812
+ });
64066
63813
 
64067
- var debug$6 = {};
63814
+ var require$$0$1 = /*@__PURE__*/getAugmentedNamespace(browser);
64068
63815
 
64069
- const debug$5 = browserExports;
63816
+ const {createDebug: createDebug$8} = require$$0$1;
64070
63817
 
64071
63818
  debug$6.createDebug = (namespace) => {
64072
- const log = debug$5(namespace);
63819
+ const log = createDebug$8(namespace);
64073
63820
 
64074
63821
  return new Proxy(log, {
64075
63822
  apply(target, thisArg, args) {
@@ -64086,13 +63833,13 @@ debug$6.createDebug = (namespace) => {
64086
63833
  };
64087
63834
 
64088
63835
  const tryCatch$4 = tryCatch$7;
64089
- const {createDebug: createDebug$2} = debug$6;
63836
+ const {createDebug: createDebug$7} = debug$6;
64090
63837
 
64091
63838
  const {stringify: stringify$5} = JSON;
64092
63839
 
64093
63840
  const isFn$4 = (a) => typeof a === 'function';
64094
63841
  const getPath$2 = (path) => path.path || path;
64095
- const debug$4 = createDebug$2('putout:runner:fix');
63842
+ const debug$5 = createDebug$7('putout:runner:fix');
64096
63843
 
64097
63844
  const chooseFixArgs = ({path, pathOptions, options}) => {
64098
63845
  if (pathOptions)
@@ -64137,8 +63884,8 @@ var runFix$3 = (is, fix, {path, pathOptions, rule, position, options}) => {
64137
63884
  if (!is)
64138
63885
  return;
64139
63886
 
64140
- if (debug$4.enabled)
64141
- debug$4(`${rule}:`, position, getPath$2(path).toString());
63887
+ if (debug$5.enabled)
63888
+ debug$5(`${rule}:`, position, getPath$2(path).toString());
64142
63889
 
64143
63890
  validate$3('fix', fix);
64144
63891
 
@@ -65147,7 +64894,29 @@ var runComparators$1 = {};
65147
64894
 
65148
64895
  var log$5 = {exports: {}};
65149
64896
 
65150
- const debug$3 = browserExports('putout:compare');
64897
+ var debug$4 = {};
64898
+
64899
+ const {createDebug: createDebug$6} = require$$0$1;
64900
+
64901
+ debug$4.createDebug = (namespace) => {
64902
+ const log = createDebug$6(namespace);
64903
+
64904
+ return new Proxy(log, {
64905
+ apply(target, thisArg, args) {
64906
+ commonjsGlobal.__putout_debug?.(namespace, ...args);
64907
+ return target(...args);
64908
+ },
64909
+ get(target, prop) {
64910
+ if (commonjsGlobal.__putout_debug?.[prop])
64911
+ return true;
64912
+
64913
+ return target[prop];
64914
+ },
64915
+ });
64916
+ };
64917
+
64918
+ const {createDebug: createDebug$5} = debug$4;
64919
+ const debug$3 = createDebug$5('putout:compare');
65151
64920
 
65152
64921
  const {isArray: isArray$5} = Array;
65153
64922
  const isObject$4 = (a) => a && typeof a === 'object';
@@ -65679,8 +65448,8 @@ const {
65679
65448
  } = compare$5;
65680
65449
 
65681
65450
  const maybeArray$3 = maybeArray_1;
65682
- const {createDebug: createDebug$1} = debug$6;
65683
- const debug$2 = createDebug$1('putout:runner:template');
65451
+ const {createDebug: createDebug$4} = debug$6;
65452
+ const debug$2 = createDebug$4('putout:runner:template');
65684
65453
 
65685
65454
  const {entries: entries$5} = Object;
65686
65455
  const isFn$2 = (a) => typeof a === 'function';
@@ -66329,10 +66098,11 @@ tryThrowWithReason$1.tryThrowWithReason = (fn, ...args) => {
66329
66098
 
66330
66099
  var includer = {};
66331
66100
 
66332
- const log$2 = browserExports('putout:runner:include');
66101
+ const {createDebug: createDebug$3} = debug$6;
66102
+
66333
66103
  const maybeArray$2 = maybeArray_1;
66334
66104
  const {validate} = validate$2;
66335
-
66105
+ const log$2 = createDebug$3('putout:runner:include');
66336
66106
  const stub$1 = () => [];
66337
66107
  const good = () => true;
66338
66108
 
@@ -66535,8 +66305,8 @@ const {
66535
66305
 
66536
66306
  const maybeArray$1 = maybeArray_1;
66537
66307
  const watermark = watermarkExports;
66538
- const {createDebug} = debug$6;
66539
- const debug$1 = createDebug('putout:runner:replace');
66308
+ const {createDebug: createDebug$2} = debug$6;
66309
+ const debug$1 = createDebug$2('putout:runner:replace');
66540
66310
 
66541
66311
  const log$1 = (from, path) => {
66542
66312
  debug$1.enabled && debug$1(`${from} -> ${path}\n`);
@@ -67113,7 +66883,7 @@ const {
67113
66883
  join: join$2,
67114
66884
  basename: basename$1,
67115
66885
  dirname: dirname$1,
67116
- } = require$$0$1;
66886
+ } = require$$0$2;
67117
66887
 
67118
66888
  const {types: types$8} = bundle;
67119
66889
  const tryCatch$1 = tryCatch$7;
@@ -67554,7 +67324,7 @@ filesystem.start = maybeFS.start;
67554
67324
 
67555
67325
  var convertSimpleFilesystemToFilesystem = {};
67556
67326
 
67557
- const {basename, dirname} = require$$0$1;
67327
+ const {basename, dirname} = require$$0$2;
67558
67328
  const {types: types$7} = bundle;
67559
67329
  const {
67560
67330
  createDirectory,
@@ -67774,10 +67544,10 @@ const {
67774
67544
  start,
67775
67545
  } = filesystem;
67776
67546
 
67777
- const log = browserExports('putout:runner:scanner');
67778
-
67779
67547
  const fromSimple = convertSimpleFilesystemToFilesystem;
67780
67548
  const toSimple = convertFilesystemToSimpleFilesystem;
67549
+ const {createDebug: createDebug$1} = debug$6;
67550
+ const log = createDebug$1('putout:runner:scanner');
67781
67551
 
67782
67552
  scanner.scan = ({rule, plugin, msg, options}, {progress}) => {
67783
67553
  const {
@@ -67925,7 +67695,7 @@ function parseVisitor(visitors) {
67925
67695
 
67926
67696
  const {traverse: defaultTraverse} = bundle;
67927
67697
  const once = onceExports;
67928
- const debug = browserExports('putout:runner:find');
67698
+ const {createDebug} = debug$6;
67929
67699
 
67930
67700
  const runFix = runFix$3;
67931
67701
  const mergeVisitors = mergeVisitors$1;
@@ -67940,7 +67710,7 @@ const {declare} = declarator;
67940
67710
  const {scan: scan$1} = scanner;
67941
67711
 
67942
67712
  const {getPath, getPosition} = getPosition$2;
67943
-
67713
+ const debug = createDebug('putout:runner:find');
67944
67714
  const isRemoved = (a) => a?.removed;
67945
67715
 
67946
67716
  lib.runPlugins = ({ast, shebang, fix, fixCount = 2, plugins, progress = createProgress$1(), traverse = defaultTraverse}) => {
@@ -68123,7 +67893,7 @@ const loader = lib$1;
68123
67893
  const runner = lib;
68124
67894
  const {createProgress} = progress;
68125
67895
 
68126
- defaultOptions$4.defaultOptions = (opts = {}) => {
67896
+ defaultOptions$5.defaultOptions = (opts = {}) => {
68127
67897
  const {
68128
67898
  parser = 'babel',
68129
67899
  printer = opts.printer || 'putout',
@@ -68174,7 +67944,7 @@ const cutBrackets = (a) => a.replace(/\s\(\d:\d+\)/, '');
68174
67944
  const tryCatch = tryCatch$7;
68175
67945
 
68176
67946
  const {validateRulesRelations} = lib$1;
68177
- const {defaultOptions: defaultOptions$1} = defaultOptions$4;
67947
+ const {defaultOptions: defaultOptions$1} = defaultOptions$5;
68178
67948
  const {cutShebang: cutShebang$1} = shebang;
68179
67949
  const parseError$1 = parseError$2;
68180
67950
 
@@ -75939,7 +75709,7 @@ keyword.isTSKeyword = (name) => {
75939
75709
 
75940
75710
  var matchFiles = {};
75941
75711
 
75942
- const {relative} = require$$0$1;
75712
+ const {relative} = require$$0$2;
75943
75713
  const ignore$1 = require$$1$1;
75944
75714
 
75945
75715
  const isNegative = (a) => !a.indexOf('!');
@@ -75970,7 +75740,7 @@ function mergeIgnores(ignores) {
75970
75740
 
75971
75741
  ignores$2.default;
75972
75742
 
75973
- const path = require$$0$1;
75743
+ const path = require$$0$2;
75974
75744
 
75975
75745
  const {parse: parse$2, print: print$1} = parser$5;
75976
75746
  const {transform: transform$1} = transform$5;
@@ -76186,7 +75956,7 @@ function parseOptions(inputFilename, rawOptions) {
76186
75956
 
76187
75957
  var renameFiles = {};
76188
75958
 
76189
- const {join} = require$$0$1;
75959
+ const {join} = require$$0$2;
76190
75960
 
76191
75961
  const {
76192
75962
  getParentDirectory,
@@ -76463,7 +76233,7 @@ const {
76463
76233
  } = parser$5;
76464
76234
 
76465
76235
  const {cutShebang, mergeShebang} = shebang;
76466
- const {defaultOptions} = defaultOptions$4;
76236
+ const {defaultOptions} = defaultOptions$5;
76467
76237
  const {transform, transformAsync} = transform$5;
76468
76238
 
76469
76239
  const {