@putout/bundle 3.19.2 → 3.20.1

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
@@ -9008,7 +9008,7 @@ __export(lib_exports, {
9008
9008
  return labeledStatement;
9009
9009
  },
9010
9010
  LogicalExpression: function() {
9011
- return logicalExpression;
9011
+ return logicalExpression$1;
9012
9012
  },
9013
9013
  METHOD_TYPES: function() {
9014
9014
  return METHOD_TYPES;
@@ -11033,7 +11033,7 @@ __export(lib_exports, {
11033
11033
  return isExportAllDeclaration;
11034
11034
  },
11035
11035
  isExportDeclaration: function() {
11036
- return isExportDeclaration$5;
11036
+ return isExportDeclaration$4;
11037
11037
  },
11038
11038
  isExportDefaultDeclaration: function() {
11039
11039
  return isExportDefaultDeclaration;
@@ -11042,7 +11042,7 @@ __export(lib_exports, {
11042
11042
  return isExportDefaultSpecifier;
11043
11043
  },
11044
11044
  isExportNamedDeclaration: function() {
11045
- return isExportNamedDeclaration;
11045
+ return isExportNamedDeclaration$1;
11046
11046
  },
11047
11047
  isExportNamespaceSpecifier: function() {
11048
11048
  return isExportNamespaceSpecifier$1;
@@ -11393,7 +11393,7 @@ __export(lib_exports, {
11393
11393
  return isRestProperty;
11394
11394
  },
11395
11395
  isReturnStatement: function() {
11396
- return isReturnStatement;
11396
+ return isReturnStatement$1;
11397
11397
  },
11398
11398
  isScopable: function() {
11399
11399
  return isScopable;
@@ -11543,7 +11543,7 @@ __export(lib_exports, {
11543
11543
  return isTSMethodSignature;
11544
11544
  },
11545
11545
  isTSModuleBlock: function() {
11546
- return isTSModuleBlock;
11546
+ return isTSModuleBlock$1;
11547
11547
  },
11548
11548
  isTSModuleDeclaration: function() {
11549
11549
  return isTSModuleDeclaration;
@@ -11744,7 +11744,7 @@ __export(lib_exports, {
11744
11744
  return isVariableDeclaration$2;
11745
11745
  },
11746
11746
  isVariableDeclarator: function() {
11747
- return isVariableDeclarator$3;
11747
+ return isVariableDeclarator$4;
11748
11748
  },
11749
11749
  isVariance: function() {
11750
11750
  return isVariance;
@@ -11813,7 +11813,7 @@ __export(lib_exports, {
11813
11813
  return labeledStatement;
11814
11814
  },
11815
11815
  logicalExpression: function() {
11816
- return logicalExpression;
11816
+ return logicalExpression$1;
11817
11817
  },
11818
11818
  matchesPattern: function() {
11819
11819
  return matchesPattern$1;
@@ -13838,7 +13838,7 @@ function isRestElement(node, opts) {
13838
13838
  if (node.type !== "RestElement") return false;
13839
13839
  return opts == null || shallowEqual(node, opts);
13840
13840
  }
13841
- function isReturnStatement(node, opts) {
13841
+ function isReturnStatement$1(node, opts) {
13842
13842
  if (!node) return false;
13843
13843
  if (node.type !== "ReturnStatement") return false;
13844
13844
  return opts == null || shallowEqual(node, opts);
@@ -13893,7 +13893,7 @@ function isVariableDeclaration$2(node, opts) {
13893
13893
  if (node.type !== "VariableDeclaration") return false;
13894
13894
  return opts == null || shallowEqual(node, opts);
13895
13895
  }
13896
- function isVariableDeclarator$3(node, opts) {
13896
+ function isVariableDeclarator$4(node, opts) {
13897
13897
  if (!node) return false;
13898
13898
  if (node.type !== "VariableDeclarator") return false;
13899
13899
  return opts == null || shallowEqual(node, opts);
@@ -13948,7 +13948,7 @@ function isExportDefaultDeclaration(node, opts) {
13948
13948
  if (node.type !== "ExportDefaultDeclaration") return false;
13949
13949
  return opts == null || shallowEqual(node, opts);
13950
13950
  }
13951
- function isExportNamedDeclaration(node, opts) {
13951
+ function isExportNamedDeclaration$1(node, opts) {
13952
13952
  if (!node) return false;
13953
13953
  if (node.type !== "ExportNamedDeclaration") return false;
13954
13954
  return opts == null || shallowEqual(node, opts);
@@ -14843,7 +14843,7 @@ function isTSModuleDeclaration(node, opts) {
14843
14843
  if (node.type !== "TSModuleDeclaration") return false;
14844
14844
  return opts == null || shallowEqual(node, opts);
14845
14845
  }
14846
- function isTSModuleBlock(node, opts) {
14846
+ function isTSModuleBlock$1(node, opts) {
14847
14847
  if (!node) return false;
14848
14848
  if (node.type !== "TSModuleBlock") return false;
14849
14849
  return opts == null || shallowEqual(node, opts);
@@ -15600,7 +15600,7 @@ function isImportOrExportDeclaration(node, opts) {
15600
15600
  }
15601
15601
  return opts == null || shallowEqual(node, opts);
15602
15602
  }
15603
- function isExportDeclaration$5(node, opts) {
15603
+ function isExportDeclaration$4(node, opts) {
15604
15604
  if (!node) return false;
15605
15605
  switch(node.type){
15606
15606
  case "ExportAllDeclaration":
@@ -16319,7 +16319,7 @@ function validateOptionalType() {
16319
16319
  };
16320
16320
  }
16321
16321
  function arrayOf(elementType) {
16322
- return chain$2(assertValueType("array"), assertEach(elementType));
16322
+ return chain$4(assertValueType("array"), assertEach(elementType));
16323
16323
  }
16324
16324
  function arrayOfType() {
16325
16325
  for(var _len = arguments.length, typeNames = new Array(_len), _key = 0; _key < _len; _key++){
@@ -16494,7 +16494,7 @@ function assertOptionalChainStart() {
16494
16494
  }
16495
16495
  return validate4;
16496
16496
  }
16497
- function chain$2() {
16497
+ function chain$4() {
16498
16498
  for(var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++){
16499
16499
  fns[_key] = arguments[_key];
16500
16500
  }
@@ -16735,7 +16735,7 @@ var utils$1 = /* @__PURE__ */ Object.freeze({
16735
16735
  assertOptionalChainStart: assertOptionalChainStart,
16736
16736
  assertShape: assertShape,
16737
16737
  assertValueType: assertValueType,
16738
- chain: chain$2,
16738
+ chain: chain$4,
16739
16739
  default: defineType$5,
16740
16740
  defineAliasedType: defineAliasedType,
16741
16741
  validate: validate$2$1,
@@ -17253,7 +17253,7 @@ defineType$4("Identifier", {
17253
17253
  ],
17254
17254
  fields: Object.assign({}, patternLikeCommon(), {
17255
17255
  name: {
17256
- validate: chain$2(assertValueType("string"), Object.assign(function(node, key, val) {
17256
+ validate: chain$4(assertValueType("string"), Object.assign(function(node, key, val) {
17257
17257
  if (!isValidIdentifier(val, false)) {
17258
17258
  throw new TypeError('"'.concat(val, '" is not a valid identifier name'));
17259
17259
  }
@@ -17354,7 +17354,7 @@ defineType$4("NumericLiteral", {
17354
17354
  deprecatedAlias: "NumberLiteral",
17355
17355
  fields: {
17356
17356
  value: {
17357
- validate: chain$2(assertValueType("number"), Object.assign(function(node, key, val) {
17357
+ validate: chain$4(assertValueType("number"), Object.assign(function(node, key, val) {
17358
17358
  if (1 / val < 0 || !Number.isFinite(val)) {
17359
17359
  var error = new Error("NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(".concat(val, ") instead."));
17360
17360
  {
@@ -17417,7 +17417,7 @@ defineType$4("RegExpLiteral", {
17417
17417
  validate: assertValueType("string")
17418
17418
  },
17419
17419
  flags: {
17420
- validate: chain$2(assertValueType("string"), Object.assign(function(node, key, val) {
17420
+ validate: chain$4(assertValueType("string"), Object.assign(function(node, key, val) {
17421
17421
  var invalid = /[^gimsuy]/.exec(val);
17422
17422
  if (invalid) {
17423
17423
  throw new TypeError('"'.concat(invalid[0], '" is not a valid RegExp flag'));
@@ -17637,7 +17637,7 @@ defineType$4("ObjectProperty", {
17637
17637
  validate: assertNodeType("Expression", "PatternLike")
17638
17638
  },
17639
17639
  shorthand: {
17640
- validate: chain$2(assertValueType("boolean"), Object.assign(function(node, key, shorthand) {
17640
+ validate: chain$4(assertValueType("boolean"), Object.assign(function(node, key, shorthand) {
17641
17641
  if (!shorthand) return;
17642
17642
  if (node.computed) {
17643
17643
  throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");
@@ -17803,7 +17803,7 @@ defineType$4("TryStatement", {
17803
17803
  ],
17804
17804
  fields: {
17805
17805
  block: {
17806
- validate: chain$2(assertNodeType("BlockStatement"), Object.assign(function(node) {
17806
+ validate: chain$4(assertNodeType("BlockStatement"), Object.assign(function(node) {
17807
17807
  if (!node.handler && !node.finalizer) {
17808
17808
  throw new TypeError("TryStatement expects either a handler or finalizer, or both");
17809
17809
  }
@@ -18011,7 +18011,7 @@ defineType$4("ArrayPattern", {
18011
18011
  ],
18012
18012
  fields: Object.assign({}, patternLikeCommon(), {
18013
18013
  elements: {
18014
- validate: chain$2(assertValueType("array"), assertEach(assertNodeOrValueType("null", "PatternLike", "LVal")))
18014
+ validate: chain$4(assertValueType("array"), assertEach(assertNodeOrValueType("null", "PatternLike", "LVal")))
18015
18015
  }
18016
18016
  })
18017
18017
  });
@@ -18237,7 +18237,7 @@ defineType$4("ExportNamedDeclaration", {
18237
18237
  fields: Object.assign({
18238
18238
  declaration: {
18239
18239
  optional: true,
18240
- validate: chain$2(assertNodeType("Declaration"), Object.assign(function(node, key, val) {
18240
+ validate: chain$4(assertNodeType("Declaration"), Object.assign(function(node, key, val) {
18241
18241
  if (val && node.specifiers.length) {
18242
18242
  throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");
18243
18243
  }
@@ -18470,7 +18470,7 @@ defineType$4("MetaProperty", {
18470
18470
  ],
18471
18471
  fields: {
18472
18472
  meta: {
18473
- validate: chain$2(assertNodeType("Identifier"), Object.assign(function(node, key, val) {
18473
+ validate: chain$4(assertNodeType("Identifier"), Object.assign(function(node, key, val) {
18474
18474
  var property;
18475
18475
  switch(val.name){
18476
18476
  case "function":
@@ -18523,7 +18523,7 @@ var classMethodOrPropertyCommon = function() {
18523
18523
  optional: true
18524
18524
  },
18525
18525
  key: {
18526
- validate: chain$2(function() {
18526
+ validate: chain$4(function() {
18527
18527
  var normal = assertNodeType("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral");
18528
18528
  var computed = assertNodeType("Expression");
18529
18529
  return function(node, key, val) {
@@ -18542,7 +18542,7 @@ var classMethodOrDeclareMethodCommon = function() {
18542
18542
  default: "method"
18543
18543
  },
18544
18544
  access: {
18545
- validate: chain$2(assertValueType("string"), assertOneOf("public", "private", "protected")),
18545
+ validate: chain$4(assertValueType("string"), assertOneOf("public", "private", "protected")),
18546
18546
  optional: true
18547
18547
  },
18548
18548
  decorators: {
@@ -18649,7 +18649,7 @@ defineType$4("TemplateElement", {
18649
18649
  ],
18650
18650
  fields: {
18651
18651
  value: {
18652
- validate: chain$2(assertShape({
18652
+ validate: chain$4(assertShape({
18653
18653
  raw: {
18654
18654
  validate: assertValueType("string")
18655
18655
  },
@@ -18695,7 +18695,7 @@ defineType$4("TemplateLiteral", {
18695
18695
  fields: {
18696
18696
  quasis: validateArrayOfType("TemplateElement"),
18697
18697
  expressions: {
18698
- validate: chain$2(assertValueType("array"), assertEach(assertNodeType("Expression", "TSType")), function(node, key, val) {
18698
+ validate: chain$4(assertValueType("array"), assertEach(assertNodeType("Expression", "TSType")), function(node, key, val) {
18699
18699
  if (node.quasis.length !== val.length + 1) {
18700
18700
  throw new TypeError("Number of ".concat(node.type, " quasis should be exactly one more than the number of expressions.\nExpected ").concat(val.length + 1, " quasis but got ").concat(node.quasis.length));
18701
18701
  }
@@ -18717,7 +18717,7 @@ defineType$4("YieldExpression", {
18717
18717
  ],
18718
18718
  fields: {
18719
18719
  delegate: {
18720
- validate: chain$2(assertValueType("boolean"), Object.assign(function(node, key, val) {
18720
+ validate: chain$4(assertValueType("boolean"), Object.assign(function(node, key, val) {
18721
18721
  if (val && !node.argument) {
18722
18722
  throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument");
18723
18723
  }
@@ -18821,7 +18821,7 @@ defineType$4("OptionalMemberExpression", {
18821
18821
  default: false
18822
18822
  },
18823
18823
  optional: {
18824
- validate: chain$2(assertValueType("boolean"), assertOptionalChainStart())
18824
+ validate: chain$4(assertValueType("boolean"), assertOptionalChainStart())
18825
18825
  }
18826
18826
  }
18827
18827
  });
@@ -18846,7 +18846,7 @@ defineType$4("OptionalCallExpression", {
18846
18846
  },
18847
18847
  arguments: validateArrayOfType("Expression", "SpreadElement", "ArgumentPlaceholder"),
18848
18848
  optional: {
18849
- validate: chain$2(assertValueType("boolean"), assertOptionalChainStart())
18849
+ validate: chain$4(assertValueType("boolean"), assertOptionalChainStart())
18850
18850
  },
18851
18851
  typeArguments: {
18852
18852
  validate: assertNodeType("TypeParameterInstantiation"),
@@ -18928,7 +18928,7 @@ defineType$4("ClassAccessorProperty", {
18928
18928
  ],
18929
18929
  fields: Object.assign({}, classMethodOrPropertyCommon(), {
18930
18930
  key: {
18931
- validate: chain$2(function() {
18931
+ validate: chain$4(function() {
18932
18932
  var normal = assertNodeType("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "PrivateName");
18933
18933
  var computed = assertNodeType("Expression");
18934
18934
  return function(node, key, val) {
@@ -21474,7 +21474,7 @@ function regExpLiteral(pattern) {
21474
21474
  validate$4(defs.flags, node, "flags", flags);
21475
21475
  return node;
21476
21476
  }
21477
- function logicalExpression(operator, left, right) {
21477
+ function logicalExpression$1(operator, left, right) {
21478
21478
  var node = {
21479
21479
  type: "LogicalExpression",
21480
21480
  operator: operator,
@@ -25747,7 +25747,7 @@ function getBindingIdentifiers(node, duplicates, outerOnly, newBindingsOnly) {
25747
25747
  }
25748
25748
  continue;
25749
25749
  }
25750
- if (isExportDeclaration$5(id) && !isExportAllDeclaration(id)) {
25750
+ if (isExportDeclaration$4(id) && !isExportAllDeclaration(id)) {
25751
25751
  if (isDeclaration(id.declaration)) {
25752
25752
  search.push(id.declaration);
25753
25753
  }
@@ -25944,7 +25944,7 @@ function getFunctionName(node, parent) {
25944
25944
  id = getObjectMemberKey(node);
25945
25945
  if (node.kind === "get") prefix2 = "get ";
25946
25946
  else if (node.kind === "set") prefix2 = "set ";
25947
- } else if (isVariableDeclarator$3(parent, {
25947
+ } else if (isVariableDeclarator$4(parent, {
25948
25948
  init: node
25949
25949
  })) {
25950
25950
  id = parent.id;
@@ -27206,7 +27206,7 @@ var TokContext = function TokContext(token, preserveSpace) {
27206
27206
  this.token = token;
27207
27207
  this.preserveSpace = !!preserveSpace;
27208
27208
  };
27209
- var types$z = {
27209
+ var types$A = {
27210
27210
  brace: new TokContext("{"),
27211
27211
  j_oTag: new TokContext("<tag"),
27212
27212
  j_cTag: new TokContext("</tag"),
@@ -29368,7 +29368,7 @@ var CommentsParser = /*#__PURE__*/ function(BaseParser) {
29368
29368
  }(BaseParser);
29369
29369
  var lineBreak = /\r\n|[\r\n\u2028\u2029]/;
29370
29370
  var lineBreakG = new RegExp(lineBreak.source, "g");
29371
- function isNewLine(code2) {
29371
+ function isNewLine$1(code2) {
29372
29372
  switch(code2){
29373
29373
  case 10:
29374
29374
  case 13:
@@ -29381,7 +29381,7 @@ function isNewLine(code2) {
29381
29381
  }
29382
29382
  function hasNewLine(input, start, end) {
29383
29383
  for(var i = start; i < end; i++){
29384
- if (isNewLine(input.charCodeAt(i))) {
29384
+ if (isNewLine$1(input.charCodeAt(i))) {
29385
29385
  return true;
29386
29386
  }
29387
29387
  }
@@ -29445,7 +29445,7 @@ var State$2 = /*#__PURE__*/ function() {
29445
29445
  __publicField(this, "lastTokEndLoc", null);
29446
29446
  __publicField(this, "lastTokStartLoc", null);
29447
29447
  __publicField(this, "context", [
29448
- types$z.brace
29448
+ types$A.brace
29449
29449
  ]);
29450
29450
  __publicField(this, "firstInvalidTemplateEscapePos", null);
29451
29451
  __publicField(this, "strictErrors", /* @__PURE__ */ new Map());
@@ -30186,7 +30186,7 @@ var Tokenizer = /*#__PURE__*/ function(CommentsParser) {
30186
30186
  if (!this.isLookahead) startLoc = this.state.curPosition();
30187
30187
  var ch = this.input.charCodeAt(this.state.pos += startSkip);
30188
30188
  if (this.state.pos < this.length) {
30189
- while(!isNewLine(ch) && ++this.state.pos < this.length){
30189
+ while(!isNewLine$1(ch) && ++this.state.pos < this.length){
30190
30190
  ch = this.input.charCodeAt(this.state.pos);
30191
30191
  }
30192
30192
  }
@@ -30382,7 +30382,7 @@ var Tokenizer = /*#__PURE__*/ function(CommentsParser) {
30382
30382
  if (ch !== 33) return false;
30383
30383
  var start = this.state.pos;
30384
30384
  this.state.pos += 1;
30385
- while(!isNewLine(ch) && ++this.state.pos < this.length){
30385
+ while(!isNewLine$1(ch) && ++this.state.pos < this.length){
30386
30386
  ch = this.input.charCodeAt(this.state.pos);
30387
30387
  }
30388
30388
  var value1 = this.input.slice(start + 2, this.state.pos);
@@ -30724,7 +30724,7 @@ var Tokenizer = /*#__PURE__*/ function(CommentsParser) {
30724
30724
  throw this.raise(Errors.UnterminatedRegExp, createPositionWithColumnOffset(startLoc, 1));
30725
30725
  }
30726
30726
  var ch = this.input.charCodeAt(pos);
30727
- if (isNewLine(ch)) {
30727
+ if (isNewLine$1(ch)) {
30728
30728
  throw this.raise(Errors.UnterminatedRegExp, createPositionWithColumnOffset(startLoc, 1));
30729
30729
  }
30730
30730
  if (escaped) {
@@ -33990,7 +33990,7 @@ var flow$1 = function(superClass) {
33990
33990
  if (!jsx2.error) return jsx2.node;
33991
33991
  var context = this.state.context;
33992
33992
  var currentContext = context[context.length - 1];
33993
- if (currentContext === types$z.j_oTag || currentContext === types$z.j_expr) {
33993
+ if (currentContext === types$A.j_oTag || currentContext === types$A.j_expr) {
33994
33994
  context.pop();
33995
33995
  }
33996
33996
  }
@@ -35054,7 +35054,7 @@ var jsx$3 = function(superClass) {
35054
35054
  });
35055
35055
  }
35056
35056
  default:
35057
- if (isNewLine(ch)) {
35057
+ if (isNewLine$1(ch)) {
35058
35058
  out += this.input.slice(chunkStart, this.state.pos);
35059
35059
  out += this.jsxReadNewLine(true);
35060
35060
  chunkStart = this.state.pos;
@@ -35097,7 +35097,7 @@ var jsx$3 = function(superClass) {
35097
35097
  out += this.input.slice(chunkStart, this.state.pos);
35098
35098
  out += this.jsxReadEntity();
35099
35099
  chunkStart = this.state.pos;
35100
- } else if (isNewLine(ch)) {
35100
+ } else if (isNewLine$1(ch)) {
35101
35101
  out += this.input.slice(chunkStart, this.state.pos);
35102
35102
  out += this.jsxReadNewLine(false);
35103
35103
  chunkStart = this.state.pos;
@@ -35206,9 +35206,9 @@ var jsx$3 = function(superClass) {
35206
35206
  switch(this.state.type){
35207
35207
  case 5:
35208
35208
  node = this.startNode();
35209
- this.setContext(types$z.brace);
35209
+ this.setContext(types$A.brace);
35210
35210
  this.next();
35211
- node = this.jsxParseExpressionContainer(node, types$z.j_oTag);
35211
+ node = this.jsxParseExpressionContainer(node, types$A.j_oTag);
35212
35212
  if (node.expression.type === "JSXEmptyExpression") {
35213
35213
  this.raise(JsxErrors.AttributeIsEmpty, node);
35214
35214
  }
@@ -35233,7 +35233,7 @@ var jsx$3 = function(superClass) {
35233
35233
  value: function jsxParseSpreadChild(node) {
35234
35234
  this.next();
35235
35235
  node.expression = this.parseExpression();
35236
- this.setContext(types$z.j_expr);
35236
+ this.setContext(types$A.j_expr);
35237
35237
  this.state.canStartJSXElement = true;
35238
35238
  this.expect(8);
35239
35239
  return this.finishNode(node, "JSXSpreadChild");
@@ -35265,11 +35265,11 @@ var jsx$3 = function(superClass) {
35265
35265
  value: function jsxParseAttribute() {
35266
35266
  var node = this.startNode();
35267
35267
  if (this.match(5)) {
35268
- this.setContext(types$z.brace);
35268
+ this.setContext(types$A.brace);
35269
35269
  this.next();
35270
35270
  this.expect(21);
35271
35271
  node.argument = this.parseMaybeAssignAllowIn();
35272
- this.setContext(types$z.j_oTag);
35272
+ this.setContext(types$A.j_oTag);
35273
35273
  this.state.canStartJSXElement = true;
35274
35274
  this.expect(8);
35275
35275
  return this.finishNode(node, "JSXSpreadAttribute");
@@ -35340,12 +35340,12 @@ var jsx$3 = function(superClass) {
35340
35340
  case 5:
35341
35341
  {
35342
35342
  var node2 = this.startNode();
35343
- this.setContext(types$z.brace);
35343
+ this.setContext(types$A.brace);
35344
35344
  this.next();
35345
35345
  if (this.match(21)) {
35346
35346
  children.push(this.jsxParseSpreadChild(node2));
35347
35347
  } else {
35348
- children.push(this.jsxParseExpressionContainer(node2, types$z.j_expr));
35348
+ children.push(this.jsxParseExpressionContainer(node2, types$A.j_expr));
35349
35349
  }
35350
35350
  break;
35351
35351
  }
@@ -35420,11 +35420,11 @@ var jsx$3 = function(superClass) {
35420
35420
  key: "getTokenFromCode",
35421
35421
  value: function getTokenFromCode(code2) {
35422
35422
  var context = this.curContext();
35423
- if (context === types$z.j_expr) {
35423
+ if (context === types$A.j_expr) {
35424
35424
  this.jsxReadToken();
35425
35425
  return;
35426
35426
  }
35427
- if (context === types$z.j_oTag || context === types$z.j_cTag) {
35427
+ if (context === types$A.j_oTag || context === types$A.j_cTag) {
35428
35428
  if (isIdentifierStart2(code2)) {
35429
35429
  this.jsxReadWord();
35430
35430
  return;
@@ -35434,7 +35434,7 @@ var jsx$3 = function(superClass) {
35434
35434
  this.finishToken(144);
35435
35435
  return;
35436
35436
  }
35437
- if ((code2 === 34 || code2 === 39) && context === types$z.j_oTag) {
35437
+ if ((code2 === 34 || code2 === 39) && context === types$A.j_oTag) {
35438
35438
  this.jsxReadString(code2);
35439
35439
  return;
35440
35440
  }
@@ -35452,17 +35452,17 @@ var jsx$3 = function(superClass) {
35452
35452
  value: function updateContext(prevType) {
35453
35453
  var _this_state = this.state, context = _this_state.context, type = _this_state.type;
35454
35454
  if (type === 56 && prevType === 143) {
35455
- context.splice(-2, 2, types$z.j_cTag);
35455
+ context.splice(-2, 2, types$A.j_cTag);
35456
35456
  this.state.canStartJSXElement = false;
35457
35457
  } else if (type === 143) {
35458
- context.push(types$z.j_oTag);
35458
+ context.push(types$A.j_oTag);
35459
35459
  } else if (type === 144) {
35460
35460
  var out = context[context.length - 1];
35461
- if (out === types$z.j_oTag && prevType === 56 || out === types$z.j_cTag) {
35461
+ if (out === types$A.j_oTag && prevType === 56 || out === types$A.j_cTag) {
35462
35462
  context.pop();
35463
- this.state.canStartJSXElement = context[context.length - 1] === types$z.j_expr;
35463
+ this.state.canStartJSXElement = context[context.length - 1] === types$A.j_expr;
35464
35464
  } else {
35465
- this.setContext(types$z.j_expr);
35465
+ this.setContext(types$A.j_expr);
35466
35466
  this.state.canStartJSXElement = true;
35467
35467
  }
35468
35468
  } else {
@@ -37959,7 +37959,7 @@ var typescript$3 = function(superClass) {
37959
37959
  });
37960
37960
  if (node.params.length === 0) {
37961
37961
  this.raise(TSErrors.EmptyTypeArguments, node);
37962
- } else if (!this.state.inType && this.curContext() === types$z.brace) {
37962
+ } else if (!this.state.inType && this.curContext() === types$A.brace) {
37963
37963
  this.reScan_lt_gt();
37964
37964
  }
37965
37965
  this.expect(48);
@@ -38774,7 +38774,7 @@ var typescript$3 = function(superClass) {
38774
38774
  if (!jsx2.error) return jsx2.node;
38775
38775
  var context = this.state.context;
38776
38776
  var currentContext = context[context.length - 1];
38777
- if (currentContext === types$z.j_oTag || currentContext === types$z.j_expr) {
38777
+ if (currentContext === types$A.j_oTag || currentContext === types$A.j_expr) {
38778
38778
  context.pop();
38779
38779
  }
38780
38780
  }
@@ -46897,7 +46897,7 @@ function TSInstantiationExpression$1(node, parent) {
46897
46897
  var parentType = parent.type;
46898
46898
  return (parentType === "CallExpression" || parentType === "OptionalCallExpression" || parentType === "NewExpression" || parentType === "TSInstantiationExpression") && !!parent.typeParameters;
46899
46899
  }
46900
- function BinaryExpression$2(node, parent, tokenContext, inForStatementInit) {
46900
+ function BinaryExpression$1(node, parent, tokenContext, inForStatementInit) {
46901
46901
  return node.operator === "in" && inForStatementInit;
46902
46902
  }
46903
46903
  function SequenceExpression$1(node, parent) {
@@ -46996,7 +46996,7 @@ var parens = /* @__PURE__ */ Object.freeze({
46996
46996
  AssignmentExpression: AssignmentExpression$1,
46997
46997
  AwaitExpression: YieldExpression$1,
46998
46998
  Binary: Binary,
46999
- BinaryExpression: BinaryExpression$2,
46999
+ BinaryExpression: BinaryExpression$1,
47000
47000
  ClassExpression: ClassExpression$1,
47001
47001
  ConditionalExpression: ConditionalExpression$1,
47002
47002
  DoExpression: DoExpression$1,
@@ -52397,15 +52397,15 @@ var cache = /* @__PURE__ */ Object.freeze({
52397
52397
  return scope$1;
52398
52398
  }
52399
52399
  });
52400
- var NOT_LOCAL_BINDING2 = lib_exports.NOT_LOCAL_BINDING, assignmentExpression$3 = lib_exports.assignmentExpression; lib_exports.callExpression; var cloneNode$3 = lib_exports.cloneNode, getBindingIdentifiers$3 = lib_exports.getBindingIdentifiers, identifier$3 = lib_exports.identifier, isArrayExpression3 = lib_exports.isArrayExpression, isBinary3 = lib_exports.isBinary, isCallExpression$12 = lib_exports.isCallExpression, isClass2 = lib_exports.isClass, isClassBody3 = lib_exports.isClassBody, isClassDeclaration3 = lib_exports.isClassDeclaration, isExportAllDeclaration2 = lib_exports.isExportAllDeclaration, isExportDefaultDeclaration3 = lib_exports.isExportDefaultDeclaration, isExportNamedDeclaration$1 = lib_exports.isExportNamedDeclaration, isFunctionDeclaration2 = lib_exports.isFunctionDeclaration, isIdentifier$5$1 = lib_exports.isIdentifier, isImportDeclaration2 = lib_exports.isImportDeclaration, isLiteral$12 = lib_exports.isLiteral, isMemberExpression3 = lib_exports.isMemberExpression, isMethod2 = lib_exports.isMethod, isModuleSpecifier2 = lib_exports.isModuleSpecifier, isNullLiteral2 = lib_exports.isNullLiteral, isObjectExpression3 = lib_exports.isObjectExpression, isProperty2 = lib_exports.isProperty, isPureish2 = lib_exports.isPureish, isRegExpLiteral2 = lib_exports.isRegExpLiteral, isSuper$1 = lib_exports.isSuper, isTaggedTemplateExpression2 = lib_exports.isTaggedTemplateExpression, isTemplateLiteral2 = lib_exports.isTemplateLiteral, isThisExpression2 = lib_exports.isThisExpression, isUnaryExpression2 = lib_exports.isUnaryExpression, isVariableDeclaration$1$1 = lib_exports.isVariableDeclaration, expressionStatement$3 = lib_exports.expressionStatement, matchesPattern$1$1 = lib_exports.matchesPattern; lib_exports.memberExpression; lib_exports.numericLiteral; var toIdentifier2 = lib_exports.toIdentifier, variableDeclaration$1$1 = lib_exports.variableDeclaration, variableDeclarator$1 = lib_exports.variableDeclarator, isRecordExpression2 = lib_exports.isRecordExpression, isTupleExpression2 = lib_exports.isTupleExpression, isObjectProperty2 = lib_exports.isObjectProperty, isTopicReference2 = lib_exports.isTopicReference, isMetaProperty2 = lib_exports.isMetaProperty, isPrivateName2 = lib_exports.isPrivateName, isExportDeclaration2 = lib_exports.isExportDeclaration, buildUndefinedNode$1 = lib_exports.buildUndefinedNode, sequenceExpression$2 = lib_exports.sequenceExpression;
52400
+ var NOT_LOCAL_BINDING2 = lib_exports.NOT_LOCAL_BINDING, assignmentExpression$3 = lib_exports.assignmentExpression; lib_exports.callExpression; var cloneNode$3 = lib_exports.cloneNode, getBindingIdentifiers$3 = lib_exports.getBindingIdentifiers, identifier$3 = lib_exports.identifier, isArrayExpression3 = lib_exports.isArrayExpression, isBinary3 = lib_exports.isBinary, isCallExpression$12 = lib_exports.isCallExpression, isClass2 = lib_exports.isClass, isClassBody3 = lib_exports.isClassBody, isClassDeclaration3 = lib_exports.isClassDeclaration, isExportAllDeclaration2 = lib_exports.isExportAllDeclaration, isExportDefaultDeclaration3 = lib_exports.isExportDefaultDeclaration, isExportNamedDeclaration$1$1 = lib_exports.isExportNamedDeclaration, isFunctionDeclaration2 = lib_exports.isFunctionDeclaration, isIdentifier$5$1 = lib_exports.isIdentifier, isImportDeclaration2 = lib_exports.isImportDeclaration, isLiteral$12 = lib_exports.isLiteral, isMemberExpression3 = lib_exports.isMemberExpression, isMethod2 = lib_exports.isMethod, isModuleSpecifier2 = lib_exports.isModuleSpecifier, isNullLiteral2 = lib_exports.isNullLiteral, isObjectExpression3 = lib_exports.isObjectExpression, isProperty2 = lib_exports.isProperty, isPureish2 = lib_exports.isPureish, isRegExpLiteral2 = lib_exports.isRegExpLiteral, isSuper$1 = lib_exports.isSuper, isTaggedTemplateExpression2 = lib_exports.isTaggedTemplateExpression, isTemplateLiteral2 = lib_exports.isTemplateLiteral, isThisExpression2 = lib_exports.isThisExpression, isUnaryExpression2 = lib_exports.isUnaryExpression, isVariableDeclaration$1$1 = lib_exports.isVariableDeclaration, expressionStatement$3 = lib_exports.expressionStatement, matchesPattern$1$1 = lib_exports.matchesPattern; lib_exports.memberExpression; lib_exports.numericLiteral; var toIdentifier2 = lib_exports.toIdentifier, variableDeclaration$1$1 = lib_exports.variableDeclaration, variableDeclarator$1 = lib_exports.variableDeclarator, isRecordExpression2 = lib_exports.isRecordExpression, isTupleExpression2 = lib_exports.isTupleExpression, isObjectProperty2 = lib_exports.isObjectProperty, isTopicReference2 = lib_exports.isTopicReference, isMetaProperty2 = lib_exports.isMetaProperty, isPrivateName2 = lib_exports.isPrivateName, isExportDeclaration2 = lib_exports.isExportDeclaration, buildUndefinedNode$1 = lib_exports.buildUndefinedNode, sequenceExpression$2 = lib_exports.sequenceExpression;
52401
52401
  function gatherNodeParts(node, parts) {
52402
52402
  switch(node === null || node === void 0 ? void 0 : node.type){
52403
52403
  default:
52404
52404
  if (isImportDeclaration2(node) || isExportDeclaration2(node)) {
52405
52405
  var _node_specifiers;
52406
- if ((isExportAllDeclaration2(node) || isExportNamedDeclaration$1(node) || isImportDeclaration2(node)) && node.source) {
52406
+ if ((isExportAllDeclaration2(node) || isExportNamedDeclaration$1$1(node) || isImportDeclaration2(node)) && node.source) {
52407
52407
  gatherNodeParts(node.source, parts);
52408
- } else if ((isExportNamedDeclaration$1(node) || isImportDeclaration2(node)) && ((_node_specifiers = node.specifiers) === null || _node_specifiers === void 0 ? void 0 : _node_specifiers.length)) {
52408
+ } else if ((isExportNamedDeclaration$1$1(node) || isImportDeclaration2(node)) && ((_node_specifiers = node.specifiers) === null || _node_specifiers === void 0 ? void 0 : _node_specifiers.length)) {
52409
52409
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
52410
52410
  try {
52411
52411
  for(var _iterator = node.specifiers[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
@@ -52426,7 +52426,7 @@ function gatherNodeParts(node, parts) {
52426
52426
  }
52427
52427
  }
52428
52428
  }
52429
- } else if ((isExportDefaultDeclaration3(node) || isExportNamedDeclaration$1(node)) && node.declaration) {
52429
+ } else if ((isExportDefaultDeclaration3(node) || isExportNamedDeclaration$1$1(node)) && node.declaration) {
52430
52430
  gatherNodeParts(node.declaration, parts);
52431
52431
  }
52432
52432
  } else if (isModuleSpecifier2(node)) {
@@ -58171,7 +58171,7 @@ var main = {};
58171
58171
 
58172
58172
  var fork = {exports: {}};
58173
58173
 
58174
- var types$y = {exports: {}};
58174
+ var types$z = {exports: {}};
58175
58175
 
58176
58176
  var shared = {};
58177
58177
 
@@ -58271,12 +58271,12 @@ function requireShared () {
58271
58271
  return shared;
58272
58272
  }
58273
58273
 
58274
- types$y.exports;
58274
+ types$z.exports;
58275
58275
 
58276
58276
  var hasRequiredTypes;
58277
58277
 
58278
58278
  function requireTypes () {
58279
- if (hasRequiredTypes) return types$y.exports;
58279
+ if (hasRequiredTypes) return types$z.exports;
58280
58280
  hasRequiredTypes = 1;
58281
58281
  (function (module, exports) {
58282
58282
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -59068,8 +59068,8 @@ function requireTypes () {
59068
59068
  exports.default = typesPlugin;
59069
59069
  (0, shared_1.maybeSetModuleExports)(function () { return module; });
59070
59070
 
59071
- } (types$y, types$y.exports));
59072
- return types$y.exports;
59071
+ } (types$z, types$z.exports));
59072
+ return types$z.exports;
59073
59073
  }
59074
59074
 
59075
59075
  var pathVisitor = {exports: {}};
@@ -78417,9 +78417,9 @@ var fullstore$3 = (value) => {
78417
78417
  };
78418
78418
  };
78419
78419
 
78420
- var types$x = {};
78420
+ var types$y = {};
78421
78421
 
78422
- types$x.TYPES = {
78422
+ types$y.TYPES = {
78423
78423
  TOKEN: 'Token',
78424
78424
  NEWLINE: 'Newline',
78425
78425
  LINEBREAK: 'Linebreak',
@@ -78439,7 +78439,7 @@ var arrowFunctionExpression = {};
78439
78439
 
78440
78440
  var is$3 = {};
78441
78441
 
78442
- const {types: types$w} = bundle;
78442
+ const {types: types$x} = bundle;
78443
78443
  const {
78444
78444
  isStringLiteral: isStringLiteral$9,
78445
78445
  isSpreadElement: isSpreadElement$3,
@@ -78451,7 +78451,7 @@ const {
78451
78451
  isMemberExpression: isMemberExpression$5,
78452
78452
  isArrayExpression: isArrayExpression$4,
78453
78453
  isObjectExpression: isObjectExpression$6,
78454
- } = types$w;
78454
+ } = types$x;
78455
78455
 
78456
78456
  const isParentProgram$1 = (path) => path.parentPath?.isProgram();
78457
78457
  const isParentBlock$3 = (path) => path.parentPath.isBlockStatement();
@@ -78471,7 +78471,7 @@ const isPrev$1 = (path) => {
78471
78471
  };
78472
78472
 
78473
78473
  const isNextParent$5 = (path) => isNext$r(path.parentPath);
78474
- const isLast$d = (path) => isParentProgram$1(path) && !isNext$r(path);
78474
+ const isLast$e = (path) => isParentProgram$1(path) && !isNext$r(path);
78475
78475
 
78476
78476
  is$3.isNextObject = (a) => a.getNextSibling().isObjectExpression();
78477
78477
  is$3.isPrevObject = (a) => a.getPrevSibling().isObjectExpression();
@@ -78483,8 +78483,8 @@ is$3.isPrev = isPrev$1;
78483
78483
  is$3.isNextParent = isNextParent$5;
78484
78484
  is$3.isParentProgram = isParentProgram$1;
78485
78485
  is$3.isParentBlock = isParentBlock$3;
78486
- is$3.isLast = isLast$d;
78487
- is$3.isParentLast = (path) => isLast$d(path.parentPath);
78486
+ is$3.isLast = isLast$e;
78487
+ is$3.isParentLast = (path) => isLast$e(path.parentPath);
78488
78488
 
78489
78489
  is$3.isIndented = (path = {}) => {
78490
78490
  const {parentPath, node} = path;
@@ -78600,14 +78600,14 @@ const WATER_MARK_BEFORE = '__putout_newline_before';
78600
78600
  const WATER_MARK_AFTER = '__putout_newline_after';
78601
78601
 
78602
78602
  mark.markBefore = markBefore$2;
78603
- mark.markAfter = markAfter$a;
78604
- mark.maybeMarkAfter = (a, path) => a && markAfter$a(path);
78603
+ mark.markAfter = markAfter$c;
78604
+ mark.maybeMarkAfter = (a, path) => a && markAfter$c(path);
78605
78605
 
78606
78606
  function markBefore$2(path) {
78607
78607
  path[WATER_MARK_BEFORE] = true;
78608
78608
  }
78609
78609
 
78610
- function markAfter$a(path) {
78610
+ function markAfter$c(path) {
78611
78611
  path[WATER_MARK_AFTER] = true;
78612
78612
  }
78613
78613
 
@@ -78634,7 +78634,7 @@ maybeInsideFn$1.maybeInsideFn = (insideFn, {print, indent}) => {
78634
78634
  indent.dec();
78635
78635
  };
78636
78636
 
78637
- const {types: types$v} = bundle;
78637
+ const {types: types$w} = bundle;
78638
78638
  const {
78639
78639
  hasTrailingComment: hasTrailingComment$4,
78640
78640
  satisfy: satisfy$4,
@@ -78646,25 +78646,25 @@ const {maybeInsideFn} = maybeInsideFn$1;
78646
78646
 
78647
78647
  const {
78648
78648
  isObjectProperty: isObjectProperty$1,
78649
- isVariableDeclarator: isVariableDeclarator$2,
78649
+ isVariableDeclarator: isVariableDeclarator$3,
78650
78650
  isClassProperty,
78651
78651
  isTSPropertySignature,
78652
78652
  isSpreadElement: isSpreadElement$2,
78653
- } = types$v;
78653
+ } = types$w;
78654
78654
 
78655
78655
  const isProperty = satisfy$4([
78656
78656
  isObjectProperty$1,
78657
- isVariableDeclarator$2,
78657
+ isVariableDeclarator$3,
78658
78658
  isClassProperty,
78659
78659
  isTSPropertySignature,
78660
78660
  isSpreadElement$2,
78661
78661
  ]);
78662
78662
 
78663
78663
  const isInsideVar = ({parentPath}) => {
78664
- if (isVariableDeclarator$2(parentPath))
78664
+ if (isVariableDeclarator$3(parentPath))
78665
78665
  return true;
78666
78666
 
78667
- return isVariableDeclarator$2(parentPath.parentPath);
78667
+ return isVariableDeclarator$3(parentPath.parentPath);
78668
78668
  };
78669
78669
 
78670
78670
  const hasDecorators = (path) => {
@@ -78785,7 +78785,7 @@ const {
78785
78785
  } = bundle.types;
78786
78786
 
78787
78787
  const {
78788
- isLast: isLast$c,
78788
+ isLast: isLast$d,
78789
78789
  isCoupleLines: isCoupleLines$9,
78790
78790
  isNext: isNext$q,
78791
78791
  } = is$3;
@@ -78820,7 +78820,7 @@ const isNewlineAfter = (path) => {
78820
78820
  if (isMemberExpression$4(parentPath))
78821
78821
  return false;
78822
78822
 
78823
- return !isLast$c(path) && !isDecorator(path);
78823
+ return !isLast$d(path) && !isDecorator(path);
78824
78824
  };
78825
78825
 
78826
78826
  parseTrailingComments$2.isTrailingIsLeading = isTrailingIsLeading;
@@ -79031,13 +79031,21 @@ function isOneArgArrow(path) {
79031
79031
  return param.type === 'Identifier';
79032
79032
  }
79033
79033
 
79034
- var maybeParens$c = {};
79034
+ var maybeParens$e = {};
79035
+
79036
+ const isFn$6 = (a) => typeof a === 'function';
79037
+ const isParens$3 = (path) => path.node.extra?.parenthesized;
79035
79038
 
79036
- const isParens$4 = (path) => path.node.extra?.parenthesized;
79039
+ maybeParens$e.isParens = isParens$3;
79040
+ maybeParens$e.maybeParens = (print) => {
79041
+ if (isFn$6(print))
79042
+ return maybeParensPrint(print);
79043
+
79044
+ return maybeParensCondition(print);
79045
+ };
79037
79046
 
79038
- maybeParens$c.isParens = isParens$4;
79039
- maybeParens$c.maybeParens = (print) => ({
79040
- condition: isParens$4,
79047
+ const maybeParensPrint = (print) => ({
79048
+ condition: isParens$3,
79041
79049
  before(path, {write}) {
79042
79050
  write('(');
79043
79051
  },
@@ -79047,11 +79055,16 @@ maybeParens$c.maybeParens = (print) => ({
79047
79055
  },
79048
79056
  });
79049
79057
 
79058
+ const maybeParensCondition = ({print, condition}) => ({
79059
+ ...maybeParensPrint(print),
79060
+ condition: (path) => condition(path) || isParens$3(path),
79061
+ });
79062
+
79050
79063
  const {exists: exists$e} = is$3;
79051
79064
  const {printParams: printParams$c} = params;
79052
- const {maybeParens: maybeParens$b} = maybeParens$c;
79065
+ const {maybeParens: maybeParens$d} = maybeParens$e;
79053
79066
 
79054
- arrowFunctionExpression.ArrowFunctionExpression = maybeParens$b((path, printer, semantics) => {
79067
+ arrowFunctionExpression.ArrowFunctionExpression = maybeParens$d((path, printer, semantics) => {
79055
79068
  const {
79056
79069
  print,
79057
79070
  maybe,
@@ -79086,7 +79099,7 @@ arrowFunctionExpression.ArrowFunctionExpression = maybeParens$b((path, printer,
79086
79099
 
79087
79100
  var functionDeclaration = {};
79088
79101
 
79089
- const {markAfter: markAfter$9} = mark;
79102
+ const {markAfter: markAfter$b} = mark;
79090
79103
  const {isNext: isNext$o, isNextParent: isNextParent$4} = is$3;
79091
79104
  const {printParams: printParams$b} = params;
79092
79105
 
@@ -79130,7 +79143,7 @@ functionDeclaration.FunctionDeclaration = {
79130
79143
  afterSatisfy: () => [isNext$o, isNextParent$4, isInsideBlockStatement],
79131
79144
  after(path, {write}) {
79132
79145
  write.newline();
79133
- markAfter$9(path);
79146
+ markAfter$b(path);
79134
79147
  },
79135
79148
  };
79136
79149
 
@@ -79307,9 +79320,9 @@ var functionExpression = {};
79307
79320
 
79308
79321
  const {exists: exists$d} = is$3;
79309
79322
  const {printParams: printParams$8} = params;
79310
- const {maybeParens: maybeParens$a} = maybeParens$c;
79323
+ const {maybeParens: maybeParens$c} = maybeParens$e;
79311
79324
 
79312
- functionExpression.FunctionExpression = maybeParens$a((path, printer, semantics) => {
79325
+ functionExpression.FunctionExpression = maybeParens$c((path, printer, semantics) => {
79313
79326
  const {
79314
79327
  print,
79315
79328
  maybe,
@@ -79357,13 +79370,13 @@ functions$1.ObjectMethod = ObjectMethod$1;
79357
79370
 
79358
79371
  var unaryExpressions$1 = {};
79359
79372
 
79360
- const {isLast: isLast$b, isNext: isNext$m} = is$3;
79373
+ const {isLast: isLast$c, isNext: isNext$m} = is$3;
79361
79374
 
79362
- const {maybeParens: maybeParens$9} = maybeParens$c;
79375
+ const {maybeParens: maybeParens$b} = maybeParens$e;
79363
79376
 
79364
79377
  const isWord = (a) => /^(delete|typeof|void|throw)$/.test(a);
79365
79378
 
79366
- const unaryExpression = maybeParens$9((path, printer) => {
79379
+ const unaryExpression = maybeParens$b((path, printer) => {
79367
79380
  const {maybe, traverse} = printer;
79368
79381
  const {prefix, operator} = path.node;
79369
79382
  const argPath = path.get('argument');
@@ -79383,7 +79396,7 @@ unaryExpressions$1.AwaitExpression = (path, {print}) => {
79383
79396
  });
79384
79397
  };
79385
79398
 
79386
- unaryExpressions$1.YieldExpression = maybeParens$9((path, {print, maybe}) => {
79399
+ unaryExpressions$1.YieldExpression = maybeParens$b((path, {print, maybe}) => {
79387
79400
  const {delegate} = path.node;
79388
79401
 
79389
79402
  print(`yield`);
@@ -79400,7 +79413,7 @@ unaryExpressions$1.ThrowStatement = (path, {print, indent, maybe}) => {
79400
79413
  });
79401
79414
 
79402
79415
  print(';');
79403
- maybe.print.newline(!isLast$b(path));
79416
+ maybe.print.newline(!isLast$c(path));
79404
79417
  maybe.print.breakline(isNext$m(path));
79405
79418
  };
79406
79419
 
@@ -79411,14 +79424,14 @@ function printUnary(path, name, {print}) {
79411
79424
 
79412
79425
  var memberExpressions$1 = {};
79413
79426
 
79414
- var chain$1 = {};
79427
+ var chain$3 = {};
79415
79428
 
79416
79429
  const {assign: assign$c} = Object;
79417
79430
 
79418
- chain$1.chain = (path) => {
79431
+ chain$3.chain = (path) => {
79419
79432
  const all = [
79420
- ...down(path),
79421
- ...up(path),
79433
+ ...down$1(path),
79434
+ ...up$1(path),
79422
79435
  ];
79423
79436
 
79424
79437
  const properties = all.slice(0, -1);
@@ -79427,7 +79440,7 @@ chain$1.chain = (path) => {
79427
79440
  return [root, properties];
79428
79441
  };
79429
79442
 
79430
- function down(path) {
79443
+ function down$1(path) {
79431
79444
  const properties = [];
79432
79445
 
79433
79446
  let current = path.get('object');
@@ -79450,7 +79463,7 @@ function down(path) {
79450
79463
  return properties;
79451
79464
  }
79452
79465
 
79453
- function up(current) {
79466
+ function up$1(current) {
79454
79467
  const properties = [];
79455
79468
 
79456
79469
  while (current.isMemberExpression()) {
@@ -79492,11 +79505,11 @@ const {
79492
79505
  isIfStatement,
79493
79506
  } = bundle.types;
79494
79507
 
79495
- const {chain} = chain$1;
79508
+ const {chain: chain$2} = chain$3;
79496
79509
  const {satisfy: satisfy$3} = is$3;
79497
79510
 
79498
79511
  const {maybePrintComputed} = maybePrintComputed$2;
79499
- const {maybeParens: maybeParens$8} = maybeParens$c;
79512
+ const {maybeParens: maybeParens$a} = maybeParens$e;
79500
79513
 
79501
79514
  const isArgOfCall = (path) => path.parentPath.isCallExpression() && path.parentPath.get('arguments.0') === path;
79502
79515
 
@@ -79531,7 +79544,7 @@ memberExpressions$1.MemberExpression = (path, printer) => {
79531
79544
  maybe.indent.dec(isChain);
79532
79545
  };
79533
79546
 
79534
- memberExpressions$1.OptionalMemberExpression = maybeParens$8((path, {print, maybe}) => {
79547
+ memberExpressions$1.OptionalMemberExpression = maybeParens$a((path, {print, maybe}) => {
79535
79548
  const {computed, optional} = path.node;
79536
79549
 
79537
79550
  print('__object');
@@ -79581,7 +79594,7 @@ const isIfUp = (path) => {
79581
79594
 
79582
79595
  memberExpressions$1.likeChain = likeChain$1;
79583
79596
  function likeChain$1(path) {
79584
- const [root, properties] = chain(path);
79597
+ const [root, properties] = chain$2(path);
79585
79598
 
79586
79599
  if (isExcludedFromChain(root))
79587
79600
  return false;
@@ -79615,7 +79628,7 @@ maybeDeclare$6.maybeDeclare = (visit) => (path, printer, semantics) => {
79615
79628
 
79616
79629
  const {isFunction: isFunction$3} = bundle.types;
79617
79630
  const {isNext: isNext$l} = is$3;
79618
- const {markAfter: markAfter$8} = mark;
79631
+ const {markAfter: markAfter$a} = mark;
79619
79632
 
79620
79633
  const {maybeDeclare: maybeDeclare$5} = maybeDeclare$6;
79621
79634
  const {parseComments: parseComments$5} = comment;
@@ -79704,7 +79717,7 @@ _class.ClassDeclaration = {
79704
79717
 
79705
79718
  if (!isFunctionLike(path) && hasBody(path)) {
79706
79719
  write.newline();
79707
- markAfter$8(path);
79720
+ markAfter$a(path);
79708
79721
  }
79709
79722
  },
79710
79723
  };
@@ -79712,7 +79725,7 @@ _class.ClassDeclaration = {
79712
79725
  var callExpression = {};
79713
79726
 
79714
79727
  const {exists: exists$c} = is$3;
79715
- const {maybeParens: maybeParens$7} = maybeParens$c;
79728
+ const {maybeParens: maybeParens$9} = maybeParens$e;
79716
79729
  const {isArray: isArray$e} = Array;
79717
79730
 
79718
79731
  const parseArgs = (path) => {
@@ -79724,7 +79737,7 @@ const parseArgs = (path) => {
79724
79737
  return argsPath;
79725
79738
  };
79726
79739
 
79727
- const CallExpression$1 = maybeParens$7((path, {indent, print, maybe, traverse}) => {
79740
+ const CallExpression$1 = maybeParens$9((path, {indent, print, maybe, traverse}) => {
79728
79741
  const args = parseArgs(path);
79729
79742
  const isParentCall = tooLong$1(args) && path.parentPath.isCallExpression();
79730
79743
 
@@ -79874,8 +79887,8 @@ const {
79874
79887
 
79875
79888
  const {parseComments: parseComments$4} = comment;
79876
79889
  const {likeChain} = memberExpressions$1;
79877
- const {types: types$u} = bundle;
79878
- const {isStringLiteral: isStringLiteral$8} = types$u;
79890
+ const {types: types$v} = bundle;
79891
+ const {isStringLiteral: isStringLiteral$8} = types$v;
79879
79892
 
79880
79893
  const isBodyOfArrow = (path) => path.parentPath.node.body === path.node;
79881
79894
  const isLogical = (path) => path.get('argument').isLogicalExpression();
@@ -79927,7 +79940,7 @@ objectExpression.ObjectExpression = (path, printer, semantics) => {
79927
79940
 
79928
79941
  const properties = path.get('properties');
79929
79942
  const {length} = properties;
79930
- const parens = isParens$3(path);
79943
+ const parens = isParens$2(path);
79931
79944
  const manyLines = !isOneLine$1(path);
79932
79945
 
79933
79946
  maybe.print(parens, '(');
@@ -80032,7 +80045,7 @@ function isOneLine$1(path) {
80032
80045
  return !isValue(path);
80033
80046
  }
80034
80047
 
80035
- function isParens$3(path) {
80048
+ function isParens$2(path) {
80036
80049
  if (isBodyOfArrow(path))
80037
80050
  return true;
80038
80051
 
@@ -80060,6 +80073,9 @@ concatenate$1.isConcatenation = (path) => {
80060
80073
  const {parentPath} = path;
80061
80074
  const {operator} = path.node;
80062
80075
 
80076
+ if (operator !== '+')
80077
+ return false;
80078
+
80063
80079
  const startLine = path.node.loc?.start.line;
80064
80080
  const endLine = path.node.loc?.end.line;
80065
80081
 
@@ -80069,9 +80085,6 @@ concatenate$1.isConcatenation = (path) => {
80069
80085
  const left = path.get('left');
80070
80086
  const right = path.get('right');
80071
80087
 
80072
- if (operator !== '+')
80073
- return false;
80074
-
80075
80088
  if (isStringLike(left) && isStringLike(right) && isBinaryExpression(parentPath))
80076
80089
  return true;
80077
80090
 
@@ -80171,11 +80184,11 @@ function maybePrintTypeAnnotation$3(path, printer) {
80171
80184
 
80172
80185
  var moreThenMaxPropertiesLengthInOneLine$1 = {};
80173
80186
 
80174
- const {types: types$t} = bundle;
80187
+ const {types: types$u} = bundle;
80175
80188
  const {
80176
80189
  isAssignmentPattern: isAssignmentPattern$1,
80177
80190
  isIdentifier: isIdentifier$b,
80178
- } = types$t;
80191
+ } = types$u;
80179
80192
 
80180
80193
  moreThenMaxPropertiesLengthInOneLine$1.moreThenMaxPropertiesLengthInOneLine = (path, {maxPropertiesLengthInOneLine}) => {
80181
80194
  const {properties} = path.node;
@@ -80209,7 +80222,7 @@ const {
80209
80222
  isIdentifier: isIdentifier$a,
80210
80223
  isObjectPattern: isObjectPattern$2,
80211
80224
  isAssignmentPattern,
80212
- isVariableDeclarator: isVariableDeclarator$1,
80225
+ isVariableDeclarator: isVariableDeclarator$2,
80213
80226
  } = bundle.types;
80214
80227
 
80215
80228
  const {wrongShorthand} = wrongShortand;
@@ -80391,7 +80404,7 @@ function shouldAddNewline(path, semantics) {
80391
80404
  if (hasObjectPattern(properties))
80392
80405
  return COUPLE_LINES;
80393
80406
 
80394
- if (moreCount && !moreLength && isVariableDeclarator$1(path.parentPath))
80407
+ if (moreCount && !moreLength && isVariableDeclarator$2(path.parentPath))
80395
80408
  return ONE_LINE$1;
80396
80409
 
80397
80410
  if (!fnParam && n && !isForOf$2(path) && checkLength(properties))
@@ -80476,7 +80489,8 @@ var assignmentExpression = {};
80476
80489
 
80477
80490
  var maybeWriteBrace$3 = {};
80478
80491
 
80479
- const {isParens: isParens$2} = maybeParens$c;
80492
+ const {isParens: isParens$1} = maybeParens$e;
80493
+
80480
80494
  maybeWriteBrace$3.maybePrintLeftBrace = (path, printer, semantics) => {
80481
80495
  maybeWriteBrace$2(path, printer, semantics, {
80482
80496
  brace: '(',
@@ -80513,7 +80527,7 @@ function maybeWriteBrace$2(path, printer, semantics, {brace}) {
80513
80527
  if (!roundBraces.assign)
80514
80528
  return;
80515
80529
 
80516
- if (!isParens$2(path))
80530
+ if (!isParens$1(path))
80517
80531
  return;
80518
80532
 
80519
80533
  write(brace);
@@ -80564,11 +80578,11 @@ var operate = {};
80564
80578
 
80565
80579
  var getBinding$2 = {};
80566
80580
 
80567
- const {types: types$s} = bundle;
80581
+ const {types: types$t} = bundle;
80568
80582
  const {
80569
80583
  isIdentifier: isIdentifier$9,
80570
80584
  isMemberExpression: isMemberExpression$3,
80571
- } = types$s;
80585
+ } = types$t;
80572
80586
 
80573
80587
  const isString$b = (a) => typeof a === 'string';
80574
80588
 
@@ -80595,13 +80609,13 @@ const parseName$1 = (node) => {
80595
80609
 
80596
80610
  var isSimple$2 = {};
80597
80611
 
80598
- const {types: types$r} = bundle;
80612
+ const {types: types$s} = bundle;
80599
80613
  const {
80600
80614
  isOptionalMemberExpression,
80601
80615
  isMemberExpression: isMemberExpression$2,
80602
80616
  isIdentifier: isIdentifier$8,
80603
80617
  isLiteral: isLiteral$3,
80604
- } = types$r;
80618
+ } = types$s;
80605
80619
 
80606
80620
  isSimple$2.isSimple = (a) => {
80607
80621
  if (isLiteral$3(a))
@@ -80618,7 +80632,7 @@ isSimple$2.isSimple = (a) => {
80618
80632
 
80619
80633
  var extract$6 = {};
80620
80634
 
80621
- const {types: types$q} = bundle;
80635
+ const {types: types$r} = bundle;
80622
80636
  const {
80623
80637
  isArrayExpression: isArrayExpression$3,
80624
80638
  isLiteral: isLiteral$2,
@@ -80633,7 +80647,7 @@ const {
80633
80647
  isJSXIdentifier: isJSXIdentifier$2,
80634
80648
  isTSTypeReference: isTSTypeReference$2,
80635
80649
  isTSTypeParameter,
80636
- } = types$q;
80650
+ } = types$r;
80637
80651
 
80638
80652
  extract$6.extract = extract$5;
80639
80653
 
@@ -81022,13 +81036,13 @@ var properties = {};
81022
81036
 
81023
81037
  var traverseProperties$4 = {};
81024
81038
 
81025
- const {traverse: traverse$b, types: types$p} = bundle;
81039
+ const {traverse: traverse$b, types: types$q} = bundle;
81026
81040
  const {extract: extract$3} = extract$6;
81027
81041
 
81028
81042
  const {
81029
81043
  isObjectExpression: isObjectExpression$5,
81030
81044
  isCallExpression: isCallExpression$3,
81031
- } = types$p;
81045
+ } = types$q;
81032
81046
 
81033
81047
  const nodeOrPath = (path) => path.node || path;
81034
81048
 
@@ -81165,13 +81179,13 @@ var replaceWithMultiple$2 = {};
81165
81179
 
81166
81180
  var maybeBody$2 = {};
81167
81181
 
81168
- const {types: types$o} = bundle;
81182
+ const {types: types$p} = bundle;
81169
81183
  const {
81170
81184
  isStatement: isStatement$4,
81171
81185
  isBlockStatement: isBlockStatement$3,
81172
81186
  BlockStatement: BlockStatement$1,
81173
81187
  ExpressionStatement: ExpressionStatement$5,
81174
- } = types$o;
81188
+ } = types$p;
81175
81189
 
81176
81190
  maybeBody$2.maybeBody = (path, node) => {
81177
81191
  const {parentPath} = path;
@@ -81192,12 +81206,12 @@ maybeBody$2.maybeBody = (path, node) => {
81192
81206
 
81193
81207
  var toExpression$3 = {};
81194
81208
 
81195
- const {types: types$n} = bundle;
81209
+ const {types: types$o} = bundle;
81196
81210
  const {
81197
81211
  isExpression: isExpression$1,
81198
81212
  ExpressionStatement: ExpressionStatement$4,
81199
81213
  toStatement,
81200
- } = types$n;
81214
+ } = types$o;
81201
81215
 
81202
81216
  toExpression$3.toExpression = (el) => {
81203
81217
  const {type} = el;
@@ -81274,7 +81288,7 @@ replaceWith$7.replaceWith = replaceWith$5;
81274
81288
  replaceWith$7.replaceWithMultiple = replaceWithMultiple$1;
81275
81289
  replaceWith$7.toExpression = toExpression$1;
81276
81290
 
81277
- const {types: types$m} = bundle;
81291
+ const {types: types$n} = bundle;
81278
81292
 
81279
81293
  const {getBinding, getBindingPath} = getBinding$2;
81280
81294
  const {isSimple: isSimple$1} = isSimple$2;
@@ -81305,9 +81319,9 @@ const {
81305
81319
  ExpressionStatement: ExpressionStatement$3,
81306
81320
  matchesPattern,
81307
81321
  isImportDeclaration: isImportDeclaration$1,
81308
- isExportDeclaration: isExportDeclaration$4,
81322
+ isExportDeclaration: isExportDeclaration$3,
81309
81323
  isStatement: isStatement$3,
81310
- } = types$m;
81324
+ } = types$n;
81311
81325
 
81312
81326
  operate.getBinding = getBinding;
81313
81327
  operate.getBindingPath = getBindingPath;
@@ -81385,7 +81399,7 @@ operate.isESM = (path) => {
81385
81399
  if (isImportDeclaration$1(node))
81386
81400
  return true;
81387
81401
 
81388
- if (isExportDeclaration$4(node))
81402
+ if (isExportDeclaration$3(node))
81389
81403
  return true;
81390
81404
  }
81391
81405
 
@@ -81689,13 +81703,13 @@ newline.isCurrentNewLine = (path) => {
81689
81703
 
81690
81704
  var indent = {};
81691
81705
 
81692
- const {types: types$l} = bundle;
81706
+ const {types: types$m} = bundle;
81693
81707
  const {isIndented} = is$3;
81694
81708
 
81695
81709
  const {
81696
81710
  isStringLiteral: isStringLiteral$5,
81697
81711
  isArrayExpression: isArrayExpression$1,
81698
- } = types$l;
81712
+ } = types$m;
81699
81713
 
81700
81714
  const isInsideArray$1 = (path) => path.parentPath.isArrayExpression();
81701
81715
 
@@ -81758,7 +81772,7 @@ isObjectAfterSimple$1.isObjectAfterSimple = (a) => {
81758
81772
  return SIMPLE_TYPES.includes(type);
81759
81773
  };
81760
81774
 
81761
- const {types: types$k} = bundle;
81775
+ const {types: types$l} = bundle;
81762
81776
  const {
81763
81777
  isCoupleLines: isCoupleLines$5,
81764
81778
  isStringAndIdentifier,
@@ -81788,7 +81802,7 @@ const {
81788
81802
  isStringLiteral: isStringLiteral$4,
81789
81803
  isIdentifier: isIdentifier$6,
81790
81804
  isFunction: isFunction$2,
81791
- } = types$k;
81805
+ } = types$l;
81792
81806
 
81793
81807
  const isNextString = (path) => isStringLiteral$4(path.getNextSibling());
81794
81808
  const isPrevString = (path) => isStringLiteral$4(path.getPrevSibling());
@@ -82145,63 +82159,134 @@ const {
82145
82159
  } = concatenate$1;
82146
82160
 
82147
82161
  const {maybeSpace} = maybeSpace$1;
82148
- const {isParens: isParens$1} = maybeParens$c;
82162
+ const {maybeParens: maybeParens$8} = maybeParens$e;
82149
82163
 
82150
- const BinaryExpression$1 = {
82164
+ binaryExpression.BinaryExpression = maybeParens$8((path, {print, indent, maybe}) => {
82165
+ const {operator} = path.node;
82166
+
82167
+ if (operator === 'in' || operator === 'instanceof') {
82168
+ print('__left');
82169
+ print(' ');
82170
+ print(operator);
82171
+ print(' ');
82172
+ print('__right');
82173
+
82174
+ return;
82175
+ }
82176
+
82177
+ if (isConcatenation$1(path))
82178
+ return concatenate(path, {
82179
+ print,
82180
+ indent,
82181
+ maybe,
82182
+ });
82183
+
82184
+ print('__left');
82185
+ print.space();
82186
+ print(path.node.operator);
82187
+ maybeSpace(path, {
82188
+ print,
82189
+ });
82190
+ print('__right');
82191
+ });
82192
+
82193
+ var logicalExpression = {};
82194
+
82195
+ var chain$1 = {};
82196
+
82197
+ const {
82198
+ isReturnStatement,
82199
+ isVariableDeclarator: isVariableDeclarator$1,
82200
+ } = bundle.types;
82201
+
82202
+ chain$1.isRootOk = (path) => {
82203
+ return isReturnStatement(path) || isVariableDeclarator$1(path);
82204
+ };
82205
+
82206
+ chain$1.chain = (path) => {
82207
+ const [downCount] = down(path);
82208
+ const [upCount, root] = up(path);
82209
+
82210
+ return [
82211
+ root,
82212
+ downCount + upCount,
82213
+ downCount,
82214
+ upCount,
82215
+ ];
82216
+ };
82217
+
82218
+ function down(current) {
82219
+ let count = 0;
82220
+
82221
+ do {
82222
+ ++count;
82223
+ current = current.get('left');
82224
+ const {operator} = current.node;
82225
+
82226
+ if (operator !== '||' && operator !== '&&')
82227
+ break;
82228
+ } while (current.isLogicalExpression());
82229
+
82230
+ return [count];
82231
+ }
82232
+
82233
+ function up(current) {
82234
+ let count = 0;
82235
+
82236
+ do {
82237
+ ++count;
82238
+ current = current.parentPath;
82239
+ } while (current.isLogicalExpression());
82240
+
82241
+ return [
82242
+ count, {
82243
+ type: current.type,
82244
+ },
82245
+ ];
82246
+ }
82247
+
82248
+ const {maybeParens: maybeParens$7} = maybeParens$e;
82249
+ const {chain, isRootOk} = chain$1;
82250
+
82251
+ logicalExpression.LogicalExpression = maybeParens$7({
82151
82252
  condition(path) {
82152
- if (isParens$1(path))
82253
+ if (path.parentPath.isUnaryExpression())
82153
82254
  return true;
82154
82255
 
82155
82256
  return path.parentPath.isAwaitExpression();
82156
82257
  },
82157
- before(path, {print}) {
82158
- print('(');
82159
- },
82160
- print(path, {print, indent, maybe}) {
82161
- const {operator} = path.node;
82258
+ print(path, {print, maybe}, semantics) {
82259
+ print('__left');
82162
82260
 
82163
- if (operator === 'instanceof') {
82164
- print('__left');
82165
- print(' instanceof ');
82166
- print('__right');
82167
-
82168
- return;
82169
- }
82261
+ const needNewLine = isNewLine(path, semantics);
82170
82262
 
82171
- if (operator === 'in') {
82172
- print('__left');
82173
- print(' in ');
82174
- print('__right');
82175
-
82176
- return;
82177
- }
82178
-
82179
- if (isConcatenation$1(path))
82180
- return concatenate(path, {
82181
- print,
82182
- indent,
82183
- maybe,
82184
- });
82263
+ maybe.indent.inc(needNewLine);
82264
+ needNewLine ? print.breakline() : print.space();
82265
+ maybe.indent.dec(needNewLine);
82185
82266
 
82186
- print('__left');
82187
- print.space();
82188
82267
  print(path.node.operator);
82189
- maybeSpace(path, {
82190
- print,
82191
- });
82268
+ print.space();
82192
82269
  print('__right');
82193
82270
  },
82194
- after(path, {print}) {
82195
- print(')');
82196
- },
82197
- };
82271
+ });
82198
82272
 
82199
- binaryExpression.BinaryExpression = BinaryExpression$1;
82200
- binaryExpression.LogicalExpression = BinaryExpression$1;
82273
+ function isNewLine(path, semantics) {
82274
+ const [root, count] = chain(path);
82275
+
82276
+ if (!isRootOk(root))
82277
+ return false;
82278
+
82279
+ if (count <= semantics.maxElementsInOneLine)
82280
+ return false;
82281
+
82282
+ const {operator} = path.node;
82283
+
82284
+ return operator === '||' || operator === '&&';
82285
+ }
82201
82286
 
82202
82287
  var conditionalExpression = {};
82203
82288
 
82204
- const {maybeParens: maybeParens$6} = maybeParens$c;
82289
+ const {maybeParens: maybeParens$6} = maybeParens$e;
82205
82290
 
82206
82291
  conditionalExpression.ConditionalExpression = maybeParens$6((path, {print}) => {
82207
82292
  print('__test');
@@ -82451,12 +82536,8 @@ const {RestElement} = restElement;
82451
82536
  const {SpreadElement} = spreadElement;
82452
82537
  const {SequenceExpression} = sequenceExpression;
82453
82538
  const {TaggedTemplateExpression} = taggedTemplateExpression;
82454
-
82455
- const {
82456
- BinaryExpression,
82457
- LogicalExpression,
82458
- } = binaryExpression;
82459
-
82539
+ const {BinaryExpression} = binaryExpression;
82540
+ const {LogicalExpression} = logicalExpression;
82460
82541
  const {ConditionalExpression} = conditionalExpression;
82461
82542
  const {StaticBlock} = staticBlock;
82462
82543
  const {RecordExpression} = recordExpression;
@@ -82503,7 +82584,7 @@ var expressionStatement = {};
82503
82584
 
82504
82585
  const {
82505
82586
  isNext: isNext$k,
82506
- isLast: isLast$a,
82587
+ isLast: isLast$b,
82507
82588
  isParentBlock: isParentBlock$2,
82508
82589
  isParentLast,
82509
82590
  isNewlineBetweenSiblings: isNewlineBetweenSiblings$2,
@@ -82556,13 +82637,13 @@ expressionStatement.ExpressionStatement = {
82556
82637
  if (satisfyAfter(path))
82557
82638
  return true;
82558
82639
 
82559
- if (hasTrailingComment$1(path) && isLast$a(path))
82640
+ if (hasTrailingComment$1(path) && isLast$b(path))
82560
82641
  return true;
82561
82642
 
82562
82643
  return isBeforeElse(path);
82563
82644
  },
82564
82645
  after(path, {print, maybe, store}) {
82565
- if (hasTrailingComment$1(path) && isLast$a(path) && isCoupleLines$4(path))
82646
+ if (hasTrailingComment$1(path) && isLast$b(path) && isCoupleLines$4(path))
82566
82647
  print.breakline();
82567
82648
 
82568
82649
  if (hasTrailingComment$1(path) && !isCoupleLines$4(path))
@@ -82590,7 +82671,7 @@ function isTopParentLast({parentPath}) {
82590
82671
  if (!nextNext.isIfStatement())
82591
82672
  return false;
82592
82673
 
82593
- return isLast$a(nextNext);
82674
+ return isLast$b(nextNext);
82594
82675
  }
82595
82676
 
82596
82677
  function isNotLastBody(path) {
@@ -82598,7 +82679,7 @@ function isNotLastBody(path) {
82598
82679
  }
82599
82680
 
82600
82681
  function isNotLastOrParentLast(path) {
82601
- return !(isLast$a(path) || isParentLast(path));
82682
+ return !(isLast$b(path) || isParentLast(path));
82602
82683
  }
82603
82684
 
82604
82685
  function isNextUp(path) {
@@ -82639,7 +82720,7 @@ const {
82639
82720
  } = is$3;
82640
82721
 
82641
82722
  const {hasPrevNewline: hasPrevNewline$2} = mark;
82642
- const {isExportDeclaration: isExportDeclaration$3} = bundle.types;
82723
+ const {isExportDeclaration: isExportDeclaration$2} = bundle.types;
82643
82724
  const {maybeSpaceAfterKeyword: maybeSpaceAfterKeyword$2} = maybeSpaceAfterKeyword$3;
82644
82725
 
82645
82726
  const {isConcatenation} = concatenate$1;
@@ -82737,7 +82818,7 @@ variableDeclaration.VariableDeclaration = {
82737
82818
  after(path, {maybe, store}) {
82738
82819
  const wasNewline = store();
82739
82820
 
82740
- if (isLast$9(path.parentPath) && !path.parentPath.isBlockStatement() || !isParentBlock$1(path) && !isParentTSModuleBlock(path))
82821
+ if (isLast$a(path.parentPath) && !path.parentPath.isBlockStatement() || !isParentBlock$1(path) && !isParentTSModuleBlock(path))
82741
82822
  return false;
82742
82823
 
82743
82824
  maybe.print.linebreak(wasNewline);
@@ -82754,14 +82835,14 @@ function noNextParentBlock(path) {
82754
82835
  }
82755
82836
 
82756
82837
  function notLastParentExport(path) {
82757
- if (isLast$9(path.parentPath))
82838
+ if (isLast$a(path.parentPath))
82758
82839
  return false;
82759
82840
 
82760
82841
  return path.parentPath.isExportDeclaration();
82761
82842
  }
82762
82843
 
82763
82844
  function notLastCoupleLines(path) {
82764
- if (isLast$9(path))
82845
+ if (isLast$a(path))
82765
82846
  return false;
82766
82847
 
82767
82848
  return isCoupleLines$3(path);
@@ -82777,7 +82858,7 @@ function notLastPrevVarNotNextVar(path) {
82777
82858
  if (path.node.loc?.start.line === prev.node?.loc?.start.line + 2)
82778
82859
  return false;
82779
82860
 
82780
- return !isLast$9(path) && prev.isVariableDeclaration() && !next.isVariableDeclaration();
82861
+ return !isLast$a(path) && prev.isVariableDeclaration() && !next.isVariableDeclaration();
82781
82862
  }
82782
82863
 
82783
82864
  function isNextCoupleLines(path) {
@@ -82793,7 +82874,7 @@ function isNextCoupleLines(path) {
82793
82874
  return isCoupleLines$3(next);
82794
82875
  }
82795
82876
 
82796
- const isLast$9 = (path) => path.parentPath?.isProgram() && !isNext$j(path);
82877
+ const isLast$a = (path) => path.parentPath?.isProgram() && !isNext$j(path);
82797
82878
 
82798
82879
  function shouldAddNewlineBefore(path) {
82799
82880
  if (isFirst$1(path))
@@ -82810,7 +82891,7 @@ function shouldAddNewlineBefore(path) {
82810
82891
  if (prevPath.isStatement() && !prevPath.isExpressionStatement() && !prevPath.isBlockStatement())
82811
82892
  return false;
82812
82893
 
82813
- return !isExportDeclaration$3(path.parentPath) && isCoupleLines$3(path);
82894
+ return !isExportDeclaration$2(path.parentPath) && isCoupleLines$3(path);
82814
82895
  }
82815
82896
 
82816
82897
  function isFirst$1(path) {
@@ -82840,7 +82921,7 @@ const isNextAssign = (path) => {
82840
82921
 
82841
82922
  var ifStatement = {};
82842
82923
 
82843
- const {markAfter: markAfter$7} = mark;
82924
+ const {markAfter: markAfter$9} = mark;
82844
82925
  const {exists: exists$6, isNext: isNext$i} = is$3;
82845
82926
 
82846
82927
  const isInside = ({parentPath}) => !parentPath.parentPath.isProgram();
@@ -82923,7 +83004,7 @@ ifStatement.IfStatement = {
82923
83004
  afterSatisfy: () => [isNext$i],
82924
83005
  after: (path, {print}) => {
82925
83006
  print.linebreak();
82926
- markAfter$7(path);
83007
+ markAfter$9(path);
82927
83008
  },
82928
83009
  };
82929
83010
 
@@ -82931,7 +83012,7 @@ var forOfStatement = {};
82931
83012
 
82932
83013
  const {
82933
83014
  hasPrevNewline: hasPrevNewline$1,
82934
- markAfter: markAfter$6,
83015
+ markAfter: markAfter$8,
82935
83016
  markBefore,
82936
83017
  isMarkedAfter: isMarkedAfter$1,
82937
83018
  } = mark;
@@ -82939,7 +83020,7 @@ const {
82939
83020
  const {
82940
83021
  isFirst,
82941
83022
  isNext: isNext$h,
82942
- isLast: isLast$8,
83023
+ isLast: isLast$9,
82943
83024
  } = is$3;
82944
83025
 
82945
83026
  forOfStatement.ForOfStatement = {
@@ -82975,7 +83056,7 @@ forOfStatement.ForOfStatement = {
82975
83056
  print('__body');
82976
83057
 
82977
83058
  const {length} = bodyPath.node.body;
82978
- maybe.print.newline(!length && !isLast$8(path) && !isNext$h(path));
83059
+ maybe.print.newline(!length && !isLast$9(path) && !isNext$h(path));
82979
83060
 
82980
83061
  return;
82981
83062
  }
@@ -82990,7 +83071,7 @@ forOfStatement.ForOfStatement = {
82990
83071
  afterIf: isNext$h,
82991
83072
  after(path, {print}) {
82992
83073
  print.linebreak();
82993
- markAfter$6(path);
83074
+ markAfter$8(path);
82994
83075
  },
82995
83076
  };
82996
83077
 
@@ -83019,7 +83100,7 @@ getDirectives$2.getDirectives = (path) => !path.node.directives ? [] : path.get(
83019
83100
  const {
83020
83101
  isNext: isNext$g,
83021
83102
  isParentProgram,
83022
- isLast: isLast$7,
83103
+ isLast: isLast$8,
83023
83104
  exists: exists$4,
83024
83105
  satisfy,
83025
83106
  } = is$3;
@@ -83028,12 +83109,12 @@ const {
83028
83109
  isArrowFunctionExpression,
83029
83110
  isObjectMethod,
83030
83111
  isFunctionDeclaration,
83031
- isExportDeclaration: isExportDeclaration$2,
83112
+ isExportDeclaration: isExportDeclaration$1,
83032
83113
  isDoWhileStatement,
83033
83114
  isBlockStatement: isBlockStatement$2,
83034
83115
  } = bundle.types;
83035
83116
 
83036
- const {markAfter: markAfter$5} = mark;
83117
+ const {markAfter: markAfter$7} = mark;
83037
83118
  const {parseComments: parseComments$3} = comment;
83038
83119
  const {insideIfWithNoBody} = insideIfWithNoBody$1;
83039
83120
  const {getDirectives: getDirectives$1} = getDirectives$2;
@@ -83094,7 +83175,7 @@ blockStatement.BlockStatement = {
83094
83175
  },
83095
83176
  after(path, {write}) {
83096
83177
  write.newline();
83097
- markAfter$5(path.parentPath);
83178
+ markAfter$7(path.parentPath);
83098
83179
  },
83099
83180
  };
83100
83181
 
@@ -83149,7 +83230,7 @@ function shouldAddNewlineAfter(path) {
83149
83230
  if (isLooksLikeInsideFn(path))
83150
83231
  return NO_NEWLINE;
83151
83232
 
83152
- if (isLast$7(path))
83233
+ if (isLast$8(path))
83153
83234
  return NO_NEWLINE;
83154
83235
 
83155
83236
  if (isExportFunction(path))
@@ -83163,7 +83244,7 @@ function isExportFunction(path) {
83163
83244
  if (!isFunctionDeclaration(path.parentPath))
83164
83245
  return false;
83165
83246
 
83166
- if (!isExportDeclaration$2(path.parentPath?.parentPath))
83247
+ if (!isExportDeclaration$1(path.parentPath?.parentPath))
83167
83248
  return false;
83168
83249
 
83169
83250
  return !isNext$g(path.parentPath?.parentPath);
@@ -83226,7 +83307,7 @@ const {isJSXElement: isJSXElement$2} = bundle.types;
83226
83307
  const {
83227
83308
  isPrevBody,
83228
83309
  noTrailingComment,
83229
- isLast: isLast$6,
83310
+ isLast: isLast$7,
83230
83311
  } = is$3;
83231
83312
 
83232
83313
  const {hasPrevNewline} = mark;
@@ -83266,10 +83347,10 @@ returnStatement.ReturnStatement = {
83266
83347
  if (isInsideIfWithElse(path))
83267
83348
  return true;
83268
83349
 
83269
- if (isLast$6(path))
83350
+ if (isLast$7(path))
83270
83351
  return false;
83271
83352
 
83272
- if (isLast$6(path.parentPath))
83353
+ if (isLast$7(path.parentPath))
83273
83354
  return false;
83274
83355
 
83275
83356
  return noTrailingComment(path);
@@ -83366,7 +83447,7 @@ var forStatement = {};
83366
83447
 
83367
83448
  const {exists: exists$3} = is$3;
83368
83449
 
83369
- const {markAfter: markAfter$4} = mark;
83450
+ const {markAfter: markAfter$6} = mark;
83370
83451
 
83371
83452
  forStatement.ForStatement = {
83372
83453
  print(path, {print, maybe, indent}) {
@@ -83406,7 +83487,7 @@ forStatement.ForStatement = {
83406
83487
  },
83407
83488
  after(path, {print}) {
83408
83489
  print.linebreak();
83409
- markAfter$4(path);
83490
+ markAfter$6(path);
83410
83491
  },
83411
83492
  };
83412
83493
 
@@ -83493,8 +83574,8 @@ function printAttributes(path, {write, traverse, keyword}) {
83493
83574
 
83494
83575
  const {parseImportSpecifiers} = parseImportSpecifiers$1;
83495
83576
 
83496
- const {markAfter: markAfter$3} = mark;
83497
- const {isLast: isLast$5, isNext: isNext$d} = is$3;
83577
+ const {markAfter: markAfter$5} = mark;
83578
+ const {isLast: isLast$6, isNext: isNext$d} = is$3;
83498
83579
 
83499
83580
  const {
83500
83581
  maybePrintAttributes,
@@ -83598,14 +83679,14 @@ importDeclaration.ImportDeclaration = {
83598
83679
  print.newline();
83599
83680
  },
83600
83681
  afterIf(path) {
83601
- if (isLast$5(path))
83682
+ if (isLast$6(path))
83602
83683
  return false;
83603
83684
 
83604
83685
  return !path.getNextSibling().isImportDeclaration();
83605
83686
  },
83606
83687
  after(path, {print}) {
83607
83688
  print.newline();
83608
- markAfter$3(path);
83689
+ markAfter$5(path);
83609
83690
  },
83610
83691
  };
83611
83692
 
@@ -83628,17 +83709,17 @@ function parseMaxSpecifiers(imports, semantics) {
83628
83709
 
83629
83710
  var exportDeclaration = {};
83630
83711
 
83712
+ const {isExportNamespaceSpecifier} = bundle.types;
83713
+ const {markAfter: markAfter$4, isMarkedAfter} = mark;
83631
83714
  const {
83632
83715
  isNewlineBetweenSiblings,
83633
83716
  exists: exists$2,
83634
83717
  isNext: isNext$c,
83635
- isLast: isLast$4,
83718
+ isLast: isLast$5,
83636
83719
  } = is$3;
83637
83720
 
83638
- const {markAfter: markAfter$2, isMarkedAfter} = mark;
83639
- const {isExportNamespaceSpecifier} = bundle.types;
83640
83721
  const isDeclarationNewline = (path) => isMarkedAfter(path.get('declaration'));
83641
- const isInsideNamespace = (path) => path.parentPath.isTSModuleBlock();
83722
+ const isInsideNamespace$1 = (path) => path.parentPath.isTSModuleBlock();
83642
83723
 
83643
83724
  const options$2 = {
83644
83725
  exports: {
@@ -83681,7 +83762,7 @@ exportDeclaration.ExportNamedDeclaration = {
83681
83762
  print(' from ');
83682
83763
  print('__source');
83683
83764
  print(';');
83684
- maybe.print.newline(!isLast$4(path));
83765
+ maybe.print.newline(!isLast$5(path));
83685
83766
 
83686
83767
  return;
83687
83768
  }
@@ -83721,7 +83802,7 @@ exportDeclaration.ExportNamedDeclaration = {
83721
83802
  }
83722
83803
 
83723
83804
  write(';');
83724
- maybe.write.newline(isNext$c(path) || isInsideNamespace(path));
83805
+ maybe.write.newline(isNext$c(path) || isInsideNamespace$1(path));
83725
83806
 
83726
83807
  return;
83727
83808
  }
@@ -83730,7 +83811,7 @@ exportDeclaration.ExportNamedDeclaration = {
83730
83811
  print('__declaration');
83731
83812
  },
83732
83813
  afterIf(path) {
83733
- if (isLast$4(path))
83814
+ if (isLast$5(path))
83734
83815
  return false;
83735
83816
 
83736
83817
  if (isDeclarationNewline(path))
@@ -83740,7 +83821,7 @@ exportDeclaration.ExportNamedDeclaration = {
83740
83821
  },
83741
83822
  after(path, {print}) {
83742
83823
  print.newline();
83743
- markAfter$2(path);
83824
+ markAfter$4(path);
83744
83825
  },
83745
83826
  };
83746
83827
 
@@ -83762,7 +83843,7 @@ exportAllDeclaration.ExportAllDeclaration = (path, {print}) => {
83762
83843
  var whileStatement = {};
83763
83844
 
83764
83845
  const {isNext: isNext$b} = is$3;
83765
- const {markAfter: markAfter$1} = mark;
83846
+ const {markAfter: markAfter$3} = mark;
83766
83847
 
83767
83848
  whileStatement.WhileStatement = {
83768
83849
  print(path, {print, indent}) {
@@ -83786,7 +83867,7 @@ whileStatement.WhileStatement = {
83786
83867
  },
83787
83868
  after(path, {print}) {
83788
83869
  print.linebreak();
83789
- markAfter$1(path);
83870
+ markAfter$3(path);
83790
83871
  },
83791
83872
  };
83792
83873
 
@@ -83795,7 +83876,7 @@ var switchStatement = {};
83795
83876
  const {
83796
83877
  isNext: isNext$a,
83797
83878
  exists: exists$1,
83798
- isLast: isLast$3,
83879
+ isLast: isLast$4,
83799
83880
  } = is$3;
83800
83881
 
83801
83882
  const {parseLeadingComments: parseLeadingComments$1} = comment;
@@ -83859,7 +83940,7 @@ switchStatement.SwitchStatement = {
83859
83940
  print.indent();
83860
83941
  print('}');
83861
83942
 
83862
- if (!isNext$a(path) && !isLast$3(path))
83943
+ if (!isNext$a(path) && !isLast$4(path))
83863
83944
  print.newline();
83864
83945
  },
83865
83946
  afterSatisfy: () => [isNext$a],
@@ -83946,8 +84027,8 @@ breakStatement.BreakStatement = {
83946
84027
 
83947
84028
  var doWhileStatement = {};
83948
84029
 
83949
- const {isLast: isLast$2} = is$3;
83950
- const notLast = (path) => !isLast$2(path);
84030
+ const {isLast: isLast$3} = is$3;
84031
+ const notLast = (path) => !isLast$3(path);
83951
84032
 
83952
84033
  doWhileStatement.DoWhileStatement = {
83953
84034
  print(path, {print, indent}) {
@@ -84120,7 +84201,7 @@ maybeGet.maybeDecorators = (path) => {
84120
84201
  };
84121
84202
 
84122
84203
  const {maybeDecorators} = maybeGet;
84123
- const {maybeParens: maybeParens$5} = maybeParens$c;
84204
+ const {maybeParens: maybeParens$5} = maybeParens$e;
84124
84205
  const {maybeTypeAnnotation} = maybeTypeAnnotation$4;
84125
84206
 
84126
84207
  identifier.Identifier = maybeParens$5(maybeTypeAnnotation((path, printer) => {
@@ -84281,12 +84362,12 @@ function isNewline(path) {
84281
84362
  var tsTypeAliasDeclaration = {};
84282
84363
 
84283
84364
  const {
84284
- isLast: isLast$1,
84365
+ isLast: isLast$2,
84285
84366
  isNext: isNext$8,
84286
84367
  isNextParent: isNextParent$2,
84287
84368
  } = is$3;
84288
84369
 
84289
- const {markAfter} = mark;
84370
+ const {markAfter: markAfter$2} = mark;
84290
84371
  const {maybeDeclare: maybeDeclare$3} = maybeDeclare$6;
84291
84372
  const isNextType = (a) => a.getNextSibling().isTSTypeAliasDeclaration();
84292
84373
  const isNextExport = (a) => a.getNextSibling().isExportDeclaration();
@@ -84311,7 +84392,7 @@ tsTypeAliasDeclaration.TSTypeAliasDeclaration = {
84311
84392
  print('__typeAnnotation');
84312
84393
  print(';');
84313
84394
 
84314
- const is = store(isLast$1(path) || isLast$1(path.parentPath));
84395
+ const is = store(isLast$2(path) || isLast$2(path.parentPath));
84315
84396
  maybe.print.newline(!is);
84316
84397
  }),
84317
84398
  afterIf(path, {store}) {
@@ -84328,14 +84409,14 @@ tsTypeAliasDeclaration.TSTypeAliasDeclaration = {
84328
84409
  after(path, {print, maybe}) {
84329
84410
  maybe.indent(isNextExport(path));
84330
84411
  print.newline();
84331
- markAfter(path);
84412
+ markAfter$2(path);
84332
84413
  },
84333
84414
  };
84334
84415
 
84335
84416
  var tsMappedType = {};
84336
84417
 
84337
- const {types: types$j} = bundle;
84338
- const {isTSConditionalType} = types$j;
84418
+ const {types: types$k} = bundle;
84419
+ const {isTSConditionalType} = types$k;
84339
84420
 
84340
84421
  tsMappedType.TSMappedType = (path, {print, indent, maybe}) => {
84341
84422
  const {
@@ -84561,19 +84642,23 @@ tsModuleDeclaration.TSModuleBlock = (path, {print, traverse, indent}) => {
84561
84642
 
84562
84643
  var tsInterfaceDeclaration = {};
84563
84644
 
84645
+ const {types: types$j} = bundle;
84564
84646
  const {
84565
84647
  isTSTypeAliasDeclaration,
84566
- isExportDeclaration: isExportDeclaration$1,
84567
- } = bundle.types;
84648
+ isExportNamedDeclaration,
84649
+ isTSModuleBlock,
84650
+ } = types$j;
84568
84651
 
84569
84652
  const {isNext: isNext$5, isNextParent: isNextParent$1} = is$3;
84570
84653
  const {maybeDeclare} = maybeDeclare$6;
84654
+ const {markAfter: markAfter$1} = mark;
84655
+ const isInsideNamespace = (path) => isTSModuleBlock(path.parentPath.parentPath);
84571
84656
 
84572
84657
  tsInterfaceDeclaration.TSInterfaceDeclaration = {
84573
84658
  print: maybeDeclare((path, {print, maybe}) => {
84574
- const {node, parentPath} = path;
84659
+ const {node} = path;
84575
84660
 
84576
- maybe.indent(!isExportDeclaration$1(parentPath));
84661
+ maybe.indent(!isExportNamedDeclaration(path.parentPath));
84577
84662
  print('interface ');
84578
84663
  print('__id');
84579
84664
 
@@ -84589,18 +84674,20 @@ tsInterfaceDeclaration.TSInterfaceDeclaration = {
84589
84674
  }),
84590
84675
  afterSatisfy: () => [isNext$5, isNextParent$1],
84591
84676
  after(path, {print}) {
84592
- print.breakline();
84677
+ print.linebreak();
84678
+ const exportNamed = isExportNamedDeclaration(path.parentPath);
84593
84679
 
84594
- const next = path.parentPath.getNextSibling();
84680
+ if (exportNamed && isInsideNamespace(path))
84681
+ markAfter$1(path);
84595
84682
 
84596
- if (!isTSTypeAliasDeclaration(next) && !isExportDeclaration$1(next))
84597
- print.breakline();
84683
+ if (!exportNamed && !isTSTypeAliasDeclaration(path))
84684
+ print.newline();
84598
84685
  },
84599
84686
  };
84600
84687
 
84601
84688
  var tsAsExpression = {};
84602
84689
 
84603
- const {maybeParens: maybeParens$4} = maybeParens$c;
84690
+ const {maybeParens: maybeParens$4} = maybeParens$e;
84604
84691
  const {
84605
84692
  isVariableDeclarator,
84606
84693
  isObjectExpression: isObjectExpression$1,
@@ -84734,7 +84821,7 @@ printReturnType$5.printReturnType = (path, {traverse}) => {
84734
84821
  const {printParams: printParams$5} = params;
84735
84822
  const {printReturnType: printReturnType$4} = printReturnType$5;
84736
84823
 
84737
- const {maybeParens: maybeParens$3} = maybeParens$c;
84824
+ const {maybeParens: maybeParens$3} = maybeParens$e;
84738
84825
 
84739
84826
  tsFunctionType.TSFunctionType = maybeParens$3((path, printer, semantics) => {
84740
84827
  const {print} = printer;
@@ -84748,7 +84835,13 @@ tsFunctionType.TSFunctionType = maybeParens$3((path, printer, semantics) => {
84748
84835
 
84749
84836
  var tsEnumDeclaration = {};
84750
84837
 
84751
- const {isNext: isNext$3, isNextParent} = is$3;
84838
+ const {
84839
+ isNext: isNext$3,
84840
+ isNextParent,
84841
+ isLast: isLast$1,
84842
+ } = is$3;
84843
+
84844
+ const {markAfter} = mark;
84752
84845
 
84753
84846
  tsEnumDeclaration.TSEnumDeclaration = {
84754
84847
  beforeIf(path) {
@@ -84773,11 +84866,18 @@ tsEnumDeclaration.TSEnumDeclaration = {
84773
84866
  }
84774
84867
 
84775
84868
  indent.dec();
84869
+ indent();
84776
84870
  print('}');
84871
+
84872
+ if (isLast$1(path))
84873
+ return;
84874
+
84875
+ print.newline();
84876
+ markAfter(path);
84777
84877
  },
84778
84878
  afterSatisfy: () => [isNext$3, isNextParent],
84779
84879
  after(path, {print}) {
84780
- print.breakline();
84880
+ print.linebreak();
84781
84881
  },
84782
84882
  };
84783
84883
 
@@ -84931,7 +85031,7 @@ tsMethodSignature.TSMethodSignature = (path, printer, semantics) => {
84931
85031
 
84932
85032
  var tsUnionType = {};
84933
85033
 
84934
- const {maybeParens: maybeParens$2} = maybeParens$c;
85034
+ const {maybeParens: maybeParens$2} = maybeParens$e;
84935
85035
  const insideTypeDeclaration = ({parentPath}) => parentPath.isTSTypeAliasDeclaration();
84936
85036
 
84937
85037
  tsUnionType.TSUnionType = maybeParens$2((path, printer, {maxTypesInOneLine}) => {
@@ -85006,7 +85106,7 @@ tsTypeReference.TSTypeReference = (path, {print}) => {
85006
85106
 
85007
85107
  var tsInferType = {};
85008
85108
 
85009
- const {maybeParens: maybeParens$1} = maybeParens$c;
85109
+ const {maybeParens: maybeParens$1} = maybeParens$e;
85010
85110
 
85011
85111
  tsInferType.TSInferType = maybeParens$1((path, {print}) => {
85012
85112
  print('infer ');
@@ -85052,7 +85152,7 @@ tsParameterProperty.TSParameterProperty = (path, {print, maybe}) => {
85052
85152
 
85053
85153
  var tsTypeQuery = {};
85054
85154
 
85055
- const {maybeParens} = maybeParens$c;
85155
+ const {maybeParens} = maybeParens$e;
85056
85156
 
85057
85157
  tsTypeQuery.TSTypeQuery = maybeParens((path, {print}) => {
85058
85158
  print('typeof ');
@@ -85568,7 +85668,7 @@ function snakeCase(str) {
85568
85668
  }
85569
85669
 
85570
85670
  const {stringify: stringify$8} = JSON;
85571
- const {TYPES: TYPES$2} = types$x;
85671
+ const {TYPES: TYPES$2} = types$y;
85572
85672
  const toSnakeCase = justSnakeCase;
85573
85673
 
85574
85674
  const {codeFrameColumns: codeFrameColumns$1} = bundle;
@@ -85743,7 +85843,7 @@ const {round} = Math;
85743
85843
  const fullstore$2 = fullstore$3;
85744
85844
  const isObject$5 = (a) => a && typeof a === 'object';
85745
85845
  const babelTraverse$2 = bundle.traverse;
85746
- const {TYPES: TYPES$1} = types$x;
85846
+ const {TYPES: TYPES$1} = types$y;
85747
85847
  const baseVisitors = visitors$1;
85748
85848
 
85749
85849
  const {