houdini-svelte 2.1.18 → 2.1.20

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.
@@ -808,11 +808,11 @@ var require_types2 = __commonJS({
808
808
  }();
809
809
  exports.Def = Def;
810
810
  var Field = function() {
811
- function Field2(name, type, defaultFn, hidden6) {
811
+ function Field2(name, type, defaultFn, hidden7) {
812
812
  this.name = name;
813
813
  this.type = type;
814
814
  this.defaultFn = defaultFn;
815
- this.hidden = !!hidden6;
815
+ this.hidden = !!hidden7;
816
816
  }
817
817
  Field2.prototype.toString = function() {
818
818
  return JSON.stringify(this.name) + ": " + this.type;
@@ -1061,12 +1061,12 @@ var require_types2 = __commonJS({
1061
1061
  });
1062
1062
  return this;
1063
1063
  };
1064
- DefImpl2.prototype.field = function(name, type, defaultFn, hidden6) {
1064
+ DefImpl2.prototype.field = function(name, type, defaultFn, hidden7) {
1065
1065
  if (this.finalized) {
1066
1066
  console.error("Ignoring attempt to redefine field " + JSON.stringify(name) + " of finalized type " + JSON.stringify(this.typeName));
1067
1067
  return this;
1068
1068
  }
1069
- this.ownFields[name] = new Field(name, Type.from(type), defaultFn, hidden6);
1069
+ this.ownFields[name] = new Field(name, Type.from(type), defaultFn, hidden7);
1070
1070
  return this;
1071
1071
  };
1072
1072
  DefImpl2.prototype.finalize = function() {
@@ -1667,13 +1667,13 @@ var require_scope2 = __commonJS({
1667
1667
  var name = prefix + index;
1668
1668
  return this.bindings[name] = types12.builders.identifier(name);
1669
1669
  };
1670
- Sp.injectTemporary = function(identifier, init) {
1670
+ Sp.injectTemporary = function(identifier, init2) {
1671
1671
  identifier || (identifier = this.declareTemporary());
1672
1672
  var bodyPath = this.path.get("body");
1673
1673
  if (namedTypes.BlockStatement.check(bodyPath.value)) {
1674
1674
  bodyPath = bodyPath.get("body");
1675
1675
  }
1676
- bodyPath.unshift(b.variableDeclaration("var", [b.variableDeclarator(identifier, init || null)]));
1676
+ bodyPath.unshift(b.variableDeclaration("var", [b.variableDeclarator(identifier, init2 || null)]));
1677
1677
  return identifier;
1678
1678
  };
1679
1679
  Sp.scan = function(force) {
@@ -2446,7 +2446,7 @@ var require_path_visitor2 = __commonJS({
2446
2446
  return Context;
2447
2447
  }
2448
2448
  var sharedContextProtoMethods = /* @__PURE__ */ Object.create(null);
2449
- sharedContextProtoMethods.reset = function reset6(path5) {
2449
+ sharedContextProtoMethods.reset = function reset7(path5) {
2450
2450
  if (!(this instanceof this.Context)) {
2451
2451
  throw new Error("");
2452
2452
  }
@@ -7233,9 +7233,9 @@ var require_esprima5 = __commonJS({
7233
7233
  }();
7234
7234
  exports2.ForOfStatement = ForOfStatement;
7235
7235
  var ForStatement = function() {
7236
- function ForStatement2(init, test, update, body) {
7236
+ function ForStatement2(init2, test, update, body) {
7237
7237
  this.type = syntax_1.Syntax.ForStatement;
7238
- this.init = init;
7238
+ this.init = init2;
7239
7239
  this.test = test;
7240
7240
  this.update = update;
7241
7241
  this.body = body;
@@ -7575,10 +7575,10 @@ var require_esprima5 = __commonJS({
7575
7575
  }();
7576
7576
  exports2.VariableDeclaration = VariableDeclaration;
7577
7577
  var VariableDeclarator = function() {
7578
- function VariableDeclarator2(id, init) {
7578
+ function VariableDeclarator2(id, init2) {
7579
7579
  this.type = syntax_1.Syntax.VariableDeclarator;
7580
7580
  this.id = id;
7581
- this.init = init;
7581
+ this.init = init2;
7582
7582
  }
7583
7583
  return VariableDeclarator2;
7584
7584
  }();
@@ -8283,8 +8283,8 @@ var require_esprima5 = __commonJS({
8283
8283
  this.context.firstCoverInitializedNameError = this.lookahead;
8284
8284
  this.nextToken();
8285
8285
  shorthand = true;
8286
- var init = this.isolateCoverGrammar(this.parseAssignmentExpression);
8287
- value = this.finalize(node, new Node.AssignmentPattern(id, init));
8286
+ var init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
8287
+ value = this.finalize(node, new Node.AssignmentPattern(id, init2));
8288
8288
  } else {
8289
8289
  shorthand = true;
8290
8290
  value = id;
@@ -9062,21 +9062,21 @@ var require_esprima5 = __commonJS({
9062
9062
  this.tolerateError(messages_1.Messages.StrictVarName);
9063
9063
  }
9064
9064
  }
9065
- var init = null;
9065
+ var init2 = null;
9066
9066
  if (kind === "const") {
9067
9067
  if (!this.matchKeyword("in") && !this.matchContextualKeyword("of")) {
9068
9068
  if (this.match("=")) {
9069
9069
  this.nextToken();
9070
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
9070
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
9071
9071
  } else {
9072
9072
  this.throwError(messages_1.Messages.DeclarationMissingInitializer, "const");
9073
9073
  }
9074
9074
  }
9075
9075
  } else if (!options.inFor && id.type !== syntax_1.Syntax.Identifier || this.match("=")) {
9076
9076
  this.expect("=");
9077
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
9077
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
9078
9078
  }
9079
- return this.finalize(node, new Node.VariableDeclarator(id, init));
9079
+ return this.finalize(node, new Node.VariableDeclarator(id, init2));
9080
9080
  };
9081
9081
  Parser2.prototype.parseBindingList = function(kind, options) {
9082
9082
  var list = [this.parseLexicalBinding(kind, options)];
@@ -9140,17 +9140,17 @@ var require_esprima5 = __commonJS({
9140
9140
  if (this.lookahead.type === 3) {
9141
9141
  var keyToken = this.lookahead;
9142
9142
  key = this.parseVariableIdentifier();
9143
- var init = this.finalize(node, new Node.Identifier(keyToken.value));
9143
+ var init2 = this.finalize(node, new Node.Identifier(keyToken.value));
9144
9144
  if (this.match("=")) {
9145
9145
  params.push(keyToken);
9146
9146
  shorthand = true;
9147
9147
  this.nextToken();
9148
9148
  var expr = this.parseAssignmentExpression();
9149
- value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init, expr));
9149
+ value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init2, expr));
9150
9150
  } else if (!this.match(":")) {
9151
9151
  params.push(keyToken);
9152
9152
  shorthand = true;
9153
- value = init;
9153
+ value = init2;
9154
9154
  } else {
9155
9155
  this.expect(":");
9156
9156
  value = this.parsePatternWithDefault(params, kind);
@@ -9235,14 +9235,14 @@ var require_esprima5 = __commonJS({
9235
9235
  this.tolerateError(messages_1.Messages.StrictVarName);
9236
9236
  }
9237
9237
  }
9238
- var init = null;
9238
+ var init2 = null;
9239
9239
  if (this.match("=")) {
9240
9240
  this.nextToken();
9241
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
9241
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
9242
9242
  } else if (id.type !== syntax_1.Syntax.Identifier && !options.inFor) {
9243
9243
  this.expect("=");
9244
9244
  }
9245
- return this.finalize(node, new Node.VariableDeclarator(id, init));
9245
+ return this.finalize(node, new Node.VariableDeclarator(id, init2));
9246
9246
  };
9247
9247
  Parser2.prototype.parseVariableDeclarationList = function(options) {
9248
9248
  var opt = { inFor: options.inFor };
@@ -9337,7 +9337,7 @@ var require_esprima5 = __commonJS({
9337
9337
  return this.finalize(node, new Node.WhileStatement(test, body));
9338
9338
  };
9339
9339
  Parser2.prototype.parseForStatement = function() {
9340
- var init = null;
9340
+ var init2 = null;
9341
9341
  var test = null;
9342
9342
  var update = null;
9343
9343
  var forIn = true;
@@ -9349,7 +9349,7 @@ var require_esprima5 = __commonJS({
9349
9349
  this.nextToken();
9350
9350
  } else {
9351
9351
  if (this.matchKeyword("var")) {
9352
- init = this.createNode();
9352
+ init2 = this.createNode();
9353
9353
  this.nextToken();
9354
9354
  var previousAllowIn = this.context.allowIn;
9355
9355
  this.context.allowIn = false;
@@ -9360,87 +9360,87 @@ var require_esprima5 = __commonJS({
9360
9360
  if (decl.init && (decl.id.type === syntax_1.Syntax.ArrayPattern || decl.id.type === syntax_1.Syntax.ObjectPattern || this.context.strict)) {
9361
9361
  this.tolerateError(messages_1.Messages.ForInOfLoopInitializer, "for-in");
9362
9362
  }
9363
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
9363
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
9364
9364
  this.nextToken();
9365
- left = init;
9365
+ left = init2;
9366
9366
  right = this.parseExpression();
9367
- init = null;
9367
+ init2 = null;
9368
9368
  } else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of")) {
9369
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
9369
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
9370
9370
  this.nextToken();
9371
- left = init;
9371
+ left = init2;
9372
9372
  right = this.parseAssignmentExpression();
9373
- init = null;
9373
+ init2 = null;
9374
9374
  forIn = false;
9375
9375
  } else {
9376
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
9376
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
9377
9377
  this.expect(";");
9378
9378
  }
9379
9379
  } else if (this.matchKeyword("const") || this.matchKeyword("let")) {
9380
- init = this.createNode();
9380
+ init2 = this.createNode();
9381
9381
  var kind = this.nextToken().value;
9382
9382
  if (!this.context.strict && this.lookahead.value === "in") {
9383
- init = this.finalize(init, new Node.Identifier(kind));
9383
+ init2 = this.finalize(init2, new Node.Identifier(kind));
9384
9384
  this.nextToken();
9385
- left = init;
9385
+ left = init2;
9386
9386
  right = this.parseExpression();
9387
- init = null;
9387
+ init2 = null;
9388
9388
  } else {
9389
9389
  var previousAllowIn = this.context.allowIn;
9390
9390
  this.context.allowIn = false;
9391
9391
  var declarations = this.parseBindingList(kind, { inFor: true });
9392
9392
  this.context.allowIn = previousAllowIn;
9393
9393
  if (declarations.length === 1 && declarations[0].init === null && this.matchKeyword("in")) {
9394
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
9394
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
9395
9395
  this.nextToken();
9396
- left = init;
9396
+ left = init2;
9397
9397
  right = this.parseExpression();
9398
- init = null;
9398
+ init2 = null;
9399
9399
  } else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of")) {
9400
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
9400
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
9401
9401
  this.nextToken();
9402
- left = init;
9402
+ left = init2;
9403
9403
  right = this.parseAssignmentExpression();
9404
- init = null;
9404
+ init2 = null;
9405
9405
  forIn = false;
9406
9406
  } else {
9407
9407
  this.consumeSemicolon();
9408
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
9408
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
9409
9409
  }
9410
9410
  }
9411
9411
  } else {
9412
9412
  var initStartToken = this.lookahead;
9413
9413
  var previousAllowIn = this.context.allowIn;
9414
9414
  this.context.allowIn = false;
9415
- init = this.inheritCoverGrammar(this.parseAssignmentExpression);
9415
+ init2 = this.inheritCoverGrammar(this.parseAssignmentExpression);
9416
9416
  this.context.allowIn = previousAllowIn;
9417
9417
  if (this.matchKeyword("in")) {
9418
- if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
9418
+ if (!this.context.isAssignmentTarget || init2.type === syntax_1.Syntax.AssignmentExpression) {
9419
9419
  this.tolerateError(messages_1.Messages.InvalidLHSInForIn);
9420
9420
  }
9421
9421
  this.nextToken();
9422
- this.reinterpretExpressionAsPattern(init);
9423
- left = init;
9422
+ this.reinterpretExpressionAsPattern(init2);
9423
+ left = init2;
9424
9424
  right = this.parseExpression();
9425
- init = null;
9425
+ init2 = null;
9426
9426
  } else if (this.matchContextualKeyword("of")) {
9427
- if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
9427
+ if (!this.context.isAssignmentTarget || init2.type === syntax_1.Syntax.AssignmentExpression) {
9428
9428
  this.tolerateError(messages_1.Messages.InvalidLHSInForLoop);
9429
9429
  }
9430
9430
  this.nextToken();
9431
- this.reinterpretExpressionAsPattern(init);
9432
- left = init;
9431
+ this.reinterpretExpressionAsPattern(init2);
9432
+ left = init2;
9433
9433
  right = this.parseAssignmentExpression();
9434
- init = null;
9434
+ init2 = null;
9435
9435
  forIn = false;
9436
9436
  } else {
9437
9437
  if (this.match(",")) {
9438
- var initSeq = [init];
9438
+ var initSeq = [init2];
9439
9439
  while (this.match(",")) {
9440
9440
  this.nextToken();
9441
9441
  initSeq.push(this.isolateCoverGrammar(this.parseAssignmentExpression));
9442
9442
  }
9443
- init = this.finalize(this.startNode(initStartToken), new Node.SequenceExpression(initSeq));
9443
+ init2 = this.finalize(this.startNode(initStartToken), new Node.SequenceExpression(initSeq));
9444
9444
  }
9445
9445
  this.expect(";");
9446
9446
  }
@@ -9466,7 +9466,7 @@ var require_esprima5 = __commonJS({
9466
9466
  body = this.isolateCoverGrammar(this.parseStatement);
9467
9467
  this.context.inIteration = previousInIteration;
9468
9468
  }
9469
- return typeof left === "undefined" ? this.finalize(node, new Node.ForStatement(init, test, update, body)) : forIn ? this.finalize(node, new Node.ForInStatement(left, right, body)) : this.finalize(node, new Node.ForOfStatement(left, right, body));
9469
+ return typeof left === "undefined" ? this.finalize(node, new Node.ForStatement(init2, test, update, body)) : forIn ? this.finalize(node, new Node.ForInStatement(left, right, body)) : this.finalize(node, new Node.ForOfStatement(left, right, body));
9470
9470
  };
9471
9471
  Parser2.prototype.parseContinueStatement = function() {
9472
9472
  var node = this.createNode();
@@ -14857,10 +14857,10 @@ var require_printer2 = __commonJS({
14857
14857
  return (0, lines_1.concat)(parts);
14858
14858
  }
14859
14859
  case "ForStatement": {
14860
- var init = path5.call(print13, "init");
14861
- var sep4 = init.length > 1 ? ";\n" : "; ";
14860
+ var init2 = path5.call(print13, "init");
14861
+ var sep4 = init2.length > 1 ? ";\n" : "; ";
14862
14862
  var forParen = "for (";
14863
- var indented = (0, lines_1.fromString)(sep4).join([init, path5.call(print13, "test"), path5.call(print13, "update")]).indentTail(forParen.length);
14863
+ var indented = (0, lines_1.fromString)(sep4).join([init2, path5.call(print13, "test"), path5.call(print13, "update")]).indentTail(forParen.length);
14864
14864
  var head = (0, lines_1.concat)([forParen, indented, ")"]);
14865
14865
  var clause = adjustClause(path5.call(print13, "body"), options);
14866
14866
  parts.push(head);
@@ -24567,10 +24567,10 @@ var require_ponyfill_es2018 = __commonJS2({
24567
24567
  }
24568
24568
  return size;
24569
24569
  }
24570
- function convertQueuingStrategy(init, context) {
24571
- assertDictionary(init, context);
24572
- const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;
24573
- const size = init === null || init === void 0 ? void 0 : init.size;
24570
+ function convertQueuingStrategy(init2, context) {
24571
+ assertDictionary(init2, context);
24572
+ const highWaterMark = init2 === null || init2 === void 0 ? void 0 : init2.highWaterMark;
24573
+ const size = init2 === null || init2 === void 0 ? void 0 : init2.size;
24574
24574
  return {
24575
24575
  highWaterMark: highWaterMark === void 0 ? void 0 : convertUnrestrictedDouble(highWaterMark),
24576
24576
  size: size === void 0 ? void 0 : convertQueuingStrategySize(size, `${context} has member 'size' that`)
@@ -26422,9 +26422,9 @@ var require_ponyfill_es2018 = __commonJS2({
26422
26422
  function streamBrandCheckException$1(name) {
26423
26423
  return new TypeError(`ReadableStream.prototype.${name} can only be used on a ReadableStream`);
26424
26424
  }
26425
- function convertQueuingStrategyInit(init, context) {
26426
- assertDictionary(init, context);
26427
- const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;
26425
+ function convertQueuingStrategyInit(init2, context) {
26426
+ assertDictionary(init2, context);
26427
+ const highWaterMark = init2 === null || init2 === void 0 ? void 0 : init2.highWaterMark;
26428
26428
  assertRequiredField(highWaterMark, "highWaterMark", "QueuingStrategyInit");
26429
26429
  return {
26430
26430
  highWaterMark: convertUnrestrictedDouble(highWaterMark)
@@ -35592,10 +35592,10 @@ var require_generated2 = __commonJS2({
35592
35592
  body
35593
35593
  });
35594
35594
  }
35595
- function forStatement(init = null, test = null, update = null, body) {
35595
+ function forStatement(init2 = null, test = null, update = null, body) {
35596
35596
  return (0, _validateNode.default)({
35597
35597
  type: "ForStatement",
35598
- init,
35598
+ init: init2,
35599
35599
  test,
35600
35600
  update,
35601
35601
  body
@@ -35813,11 +35813,11 @@ var require_generated2 = __commonJS2({
35813
35813
  declarations
35814
35814
  });
35815
35815
  }
35816
- function variableDeclarator(id, init = null) {
35816
+ function variableDeclarator(id, init2 = null) {
35817
35817
  return (0, _validateNode.default)({
35818
35818
  type: "VariableDeclarator",
35819
35819
  id,
35820
- init
35820
+ init: init2
35821
35821
  });
35822
35822
  }
35823
35823
  function whileStatement(test, body) {
@@ -36519,18 +36519,18 @@ var require_generated2 = __commonJS2({
36519
36519
  init: null
36520
36520
  });
36521
36521
  }
36522
- function enumNumberMember(id, init) {
36522
+ function enumNumberMember(id, init2) {
36523
36523
  return (0, _validateNode.default)({
36524
36524
  type: "EnumNumberMember",
36525
36525
  id,
36526
- init
36526
+ init: init2
36527
36527
  });
36528
36528
  }
36529
- function enumStringMember(id, init) {
36529
+ function enumStringMember(id, init2) {
36530
36530
  return (0, _validateNode.default)({
36531
36531
  type: "EnumStringMember",
36532
36532
  id,
36533
- init
36533
+ init: init2
36534
36534
  });
36535
36535
  }
36536
36536
  function enumDefaultedMember(id) {
@@ -48236,13 +48236,13 @@ var require_lib6 = __commonJS2({
48236
48236
  flowEnumMemberRaw() {
48237
48237
  const loc = this.state.startLoc;
48238
48238
  const id = this.parseIdentifier(true);
48239
- const init = this.eat(29) ? this.flowEnumMemberInit() : {
48239
+ const init2 = this.eat(29) ? this.flowEnumMemberInit() : {
48240
48240
  type: "none",
48241
48241
  loc
48242
48242
  };
48243
48243
  return {
48244
48244
  id,
48245
- init
48245
+ init: init2
48246
48246
  };
48247
48247
  }
48248
48248
  flowEnumCheckExplicitTypeMismatch(loc, context, expectedType) {
@@ -48276,7 +48276,7 @@ var require_lib6 = __commonJS2({
48276
48276
  const memberNode = this.startNode();
48277
48277
  const {
48278
48278
  id,
48279
- init
48279
+ init: init2
48280
48280
  } = this.flowEnumMemberRaw();
48281
48281
  const memberName = id.name;
48282
48282
  if (memberName === "") {
@@ -48302,35 +48302,35 @@ var require_lib6 = __commonJS2({
48302
48302
  memberName
48303
48303
  };
48304
48304
  memberNode.id = id;
48305
- switch (init.type) {
48305
+ switch (init2.type) {
48306
48306
  case "boolean": {
48307
- this.flowEnumCheckExplicitTypeMismatch(init.loc, context, "boolean");
48308
- memberNode.init = init.value;
48307
+ this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "boolean");
48308
+ memberNode.init = init2.value;
48309
48309
  members.booleanMembers.push(this.finishNode(memberNode, "EnumBooleanMember"));
48310
48310
  break;
48311
48311
  }
48312
48312
  case "number": {
48313
- this.flowEnumCheckExplicitTypeMismatch(init.loc, context, "number");
48314
- memberNode.init = init.value;
48313
+ this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "number");
48314
+ memberNode.init = init2.value;
48315
48315
  members.numberMembers.push(this.finishNode(memberNode, "EnumNumberMember"));
48316
48316
  break;
48317
48317
  }
48318
48318
  case "string": {
48319
- this.flowEnumCheckExplicitTypeMismatch(init.loc, context, "string");
48320
- memberNode.init = init.value;
48319
+ this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "string");
48320
+ memberNode.init = init2.value;
48321
48321
  members.stringMembers.push(this.finishNode(memberNode, "EnumStringMember"));
48322
48322
  break;
48323
48323
  }
48324
48324
  case "invalid": {
48325
- throw this.flowEnumErrorInvalidMemberInitializer(init.loc, context);
48325
+ throw this.flowEnumErrorInvalidMemberInitializer(init2.loc, context);
48326
48326
  }
48327
48327
  case "none": {
48328
48328
  switch (explicitType) {
48329
48329
  case "boolean":
48330
- this.flowEnumErrorBooleanMemberNotInitialized(init.loc, context);
48330
+ this.flowEnumErrorBooleanMemberNotInitialized(init2.loc, context);
48331
48331
  break;
48332
48332
  case "number":
48333
- this.flowEnumErrorNumberMemberNotInitialized(init.loc, context);
48333
+ this.flowEnumErrorNumberMemberNotInitialized(init2.loc, context);
48334
48334
  break;
48335
48335
  default:
48336
48336
  members.defaultedMembers.push(this.finishNode(memberNode, "EnumDefaultedMember"));
@@ -51431,14 +51431,14 @@ var require_lib6 = __commonJS2({
51431
51431
  return declaration;
51432
51432
  for (const {
51433
51433
  id,
51434
- init
51434
+ init: init2
51435
51435
  } of declaration.declarations) {
51436
- if (!init)
51436
+ if (!init2)
51437
51437
  continue;
51438
51438
  if (kind !== "const" || !!id.typeAnnotation) {
51439
- this.raise(TSErrors.InitializerNotAllowedInAmbientContext, init);
51440
- } else if (!isValidAmbientConstInitializer(init, this.hasPlugin("estree"))) {
51441
- this.raise(TSErrors.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, init);
51439
+ this.raise(TSErrors.InitializerNotAllowedInAmbientContext, init2);
51440
+ } else if (!isValidAmbientConstInitializer(init2, this.hasPlugin("estree"))) {
51441
+ this.raise(TSErrors.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, init2);
51442
51442
  }
51443
51443
  }
51444
51444
  return declaration;
@@ -54918,49 +54918,49 @@ var require_lib6 = __commonJS2({
54918
54918
  }
54919
54919
  this.next();
54920
54920
  this.parseVar(initNode, true, kind);
54921
- const init2 = this.finishNode(initNode, "VariableDeclaration");
54921
+ const init22 = this.finishNode(initNode, "VariableDeclaration");
54922
54922
  const isForIn = this.match(58);
54923
54923
  if (isForIn && starsWithUsingDeclaration) {
54924
- this.raise(Errors.ForInUsing, init2);
54924
+ this.raise(Errors.ForInUsing, init22);
54925
54925
  }
54926
- if ((isForIn || this.isContextual(102)) && init2.declarations.length === 1) {
54927
- return this.parseForIn(node, init2, awaitAt);
54926
+ if ((isForIn || this.isContextual(102)) && init22.declarations.length === 1) {
54927
+ return this.parseForIn(node, init22, awaitAt);
54928
54928
  }
54929
54929
  if (awaitAt !== null) {
54930
54930
  this.unexpected(awaitAt);
54931
54931
  }
54932
- return this.parseFor(node, init2);
54932
+ return this.parseFor(node, init22);
54933
54933
  }
54934
54934
  }
54935
54935
  const startsWithAsync = this.isContextual(95);
54936
54936
  const refExpressionErrors = new ExpressionErrors();
54937
- const init = this.parseExpression(true, refExpressionErrors);
54937
+ const init2 = this.parseExpression(true, refExpressionErrors);
54938
54938
  const isForOf = this.isContextual(102);
54939
54939
  if (isForOf) {
54940
54940
  if (startsWithLet) {
54941
- this.raise(Errors.ForOfLet, init);
54941
+ this.raise(Errors.ForOfLet, init2);
54942
54942
  }
54943
- if (awaitAt === null && startsWithAsync && init.type === "Identifier") {
54944
- this.raise(Errors.ForOfAsync, init);
54943
+ if (awaitAt === null && startsWithAsync && init2.type === "Identifier") {
54944
+ this.raise(Errors.ForOfAsync, init2);
54945
54945
  }
54946
54946
  }
54947
54947
  if (isForOf || this.match(58)) {
54948
54948
  this.checkDestructuringPrivate(refExpressionErrors);
54949
- this.toAssignable(init, true);
54949
+ this.toAssignable(init2, true);
54950
54950
  const type = isForOf ? "ForOfStatement" : "ForInStatement";
54951
- this.checkLVal(init, {
54951
+ this.checkLVal(init2, {
54952
54952
  in: {
54953
54953
  type
54954
54954
  }
54955
54955
  });
54956
- return this.parseForIn(node, init, awaitAt);
54956
+ return this.parseForIn(node, init2, awaitAt);
54957
54957
  } else {
54958
54958
  this.checkExpressionErrors(refExpressionErrors, true);
54959
54959
  }
54960
54960
  if (awaitAt !== null) {
54961
54961
  this.unexpected(awaitAt);
54962
54962
  }
54963
- return this.parseFor(node, init);
54963
+ return this.parseFor(node, init2);
54964
54964
  }
54965
54965
  parseFunctionStatement(node, isAsync, isHangingDeclaration) {
54966
54966
  this.next();
@@ -55182,8 +55182,8 @@ var require_lib6 = __commonJS2({
55182
55182
  }
55183
55183
  this.next();
55184
55184
  }
55185
- parseFor(node, init) {
55186
- node.init = init;
55185
+ parseFor(node, init2) {
55186
+ node.init = init2;
55187
55187
  this.semicolon(false);
55188
55188
  node.test = this.match(13) ? null : this.parseExpression();
55189
55189
  this.semicolon(false);
@@ -55194,7 +55194,7 @@ var require_lib6 = __commonJS2({
55194
55194
  this.state.labels.pop();
55195
55195
  return this.finishNode(node, "ForStatement");
55196
55196
  }
55197
- parseForIn(node, init, awaitAt) {
55197
+ parseForIn(node, init2, awaitAt) {
55198
55198
  const isForIn = this.match(58);
55199
55199
  this.next();
55200
55200
  if (isForIn) {
@@ -55203,19 +55203,19 @@ var require_lib6 = __commonJS2({
55203
55203
  } else {
55204
55204
  node.await = awaitAt !== null;
55205
55205
  }
55206
- if (init.type === "VariableDeclaration" && init.declarations[0].init != null && (!isForIn || !this.options.annexB || this.state.strict || init.kind !== "var" || init.declarations[0].id.type !== "Identifier")) {
55207
- this.raise(Errors.ForInOfLoopInitializer, init, {
55206
+ if (init2.type === "VariableDeclaration" && init2.declarations[0].init != null && (!isForIn || !this.options.annexB || this.state.strict || init2.kind !== "var" || init2.declarations[0].id.type !== "Identifier")) {
55207
+ this.raise(Errors.ForInOfLoopInitializer, init2, {
55208
55208
  type: isForIn ? "ForInStatement" : "ForOfStatement"
55209
55209
  });
55210
55210
  }
55211
- if (init.type === "AssignmentPattern") {
55212
- this.raise(Errors.InvalidLhs, init, {
55211
+ if (init2.type === "AssignmentPattern") {
55212
+ this.raise(Errors.InvalidLhs, init2, {
55213
55213
  ancestor: {
55214
55214
  type: "ForStatement"
55215
55215
  }
55216
55216
  });
55217
55217
  }
55218
- node.left = init;
55218
+ node.left = init2;
55219
55219
  node.right = isForIn ? this.parseExpression() : this.parseMaybeAssignAllowIn();
55220
55220
  this.expect(11);
55221
55221
  node.body = this.withSmartMixTopicForbiddingContext(() => this.parseStatement());
@@ -58014,13 +58014,13 @@ var require_scope = __commonJS2({
58014
58014
  var name = prefix + index;
58015
58015
  return this.bindings[name] = types62.builders.identifier(name);
58016
58016
  };
58017
- Sp.injectTemporary = function(identifier, init) {
58017
+ Sp.injectTemporary = function(identifier, init2) {
58018
58018
  identifier || (identifier = this.declareTemporary());
58019
58019
  var bodyPath = this.path.get("body");
58020
58020
  if (namedTypes.BlockStatement.check(bodyPath.value)) {
58021
58021
  bodyPath = bodyPath.get("body");
58022
58022
  }
58023
- bodyPath.unshift(b.variableDeclaration("var", [b.variableDeclarator(identifier, init || null)]));
58023
+ bodyPath.unshift(b.variableDeclaration("var", [b.variableDeclarator(identifier, init2 || null)]));
58024
58024
  return identifier;
58025
58025
  };
58026
58026
  Sp.scan = function(force) {
@@ -63500,9 +63500,9 @@ var require_esprima2 = __commonJS2({
63500
63500
  }();
63501
63501
  exports2.ForOfStatement = ForOfStatement;
63502
63502
  var ForStatement = function() {
63503
- function ForStatement2(init, test, update, body) {
63503
+ function ForStatement2(init2, test, update, body) {
63504
63504
  this.type = syntax_1.Syntax.ForStatement;
63505
- this.init = init;
63505
+ this.init = init2;
63506
63506
  this.test = test;
63507
63507
  this.update = update;
63508
63508
  this.body = body;
@@ -63842,10 +63842,10 @@ var require_esprima2 = __commonJS2({
63842
63842
  }();
63843
63843
  exports2.VariableDeclaration = VariableDeclaration;
63844
63844
  var VariableDeclarator = function() {
63845
- function VariableDeclarator2(id, init) {
63845
+ function VariableDeclarator2(id, init2) {
63846
63846
  this.type = syntax_1.Syntax.VariableDeclarator;
63847
63847
  this.id = id;
63848
- this.init = init;
63848
+ this.init = init2;
63849
63849
  }
63850
63850
  return VariableDeclarator2;
63851
63851
  }();
@@ -64550,8 +64550,8 @@ var require_esprima2 = __commonJS2({
64550
64550
  this.context.firstCoverInitializedNameError = this.lookahead;
64551
64551
  this.nextToken();
64552
64552
  shorthand = true;
64553
- var init = this.isolateCoverGrammar(this.parseAssignmentExpression);
64554
- value = this.finalize(node, new Node.AssignmentPattern(id, init));
64553
+ var init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
64554
+ value = this.finalize(node, new Node.AssignmentPattern(id, init2));
64555
64555
  } else {
64556
64556
  shorthand = true;
64557
64557
  value = id;
@@ -65329,21 +65329,21 @@ var require_esprima2 = __commonJS2({
65329
65329
  this.tolerateError(messages_1.Messages.StrictVarName);
65330
65330
  }
65331
65331
  }
65332
- var init = null;
65332
+ var init2 = null;
65333
65333
  if (kind === "const") {
65334
65334
  if (!this.matchKeyword("in") && !this.matchContextualKeyword("of")) {
65335
65335
  if (this.match("=")) {
65336
65336
  this.nextToken();
65337
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
65337
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
65338
65338
  } else {
65339
65339
  this.throwError(messages_1.Messages.DeclarationMissingInitializer, "const");
65340
65340
  }
65341
65341
  }
65342
65342
  } else if (!options.inFor && id.type !== syntax_1.Syntax.Identifier || this.match("=")) {
65343
65343
  this.expect("=");
65344
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
65344
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
65345
65345
  }
65346
- return this.finalize(node, new Node.VariableDeclarator(id, init));
65346
+ return this.finalize(node, new Node.VariableDeclarator(id, init2));
65347
65347
  };
65348
65348
  Parser2.prototype.parseBindingList = function(kind, options) {
65349
65349
  var list = [this.parseLexicalBinding(kind, options)];
@@ -65407,17 +65407,17 @@ var require_esprima2 = __commonJS2({
65407
65407
  if (this.lookahead.type === 3) {
65408
65408
  var keyToken = this.lookahead;
65409
65409
  key = this.parseVariableIdentifier();
65410
- var init = this.finalize(node, new Node.Identifier(keyToken.value));
65410
+ var init2 = this.finalize(node, new Node.Identifier(keyToken.value));
65411
65411
  if (this.match("=")) {
65412
65412
  params.push(keyToken);
65413
65413
  shorthand = true;
65414
65414
  this.nextToken();
65415
65415
  var expr = this.parseAssignmentExpression();
65416
- value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init, expr));
65416
+ value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init2, expr));
65417
65417
  } else if (!this.match(":")) {
65418
65418
  params.push(keyToken);
65419
65419
  shorthand = true;
65420
- value = init;
65420
+ value = init2;
65421
65421
  } else {
65422
65422
  this.expect(":");
65423
65423
  value = this.parsePatternWithDefault(params, kind);
@@ -65502,14 +65502,14 @@ var require_esprima2 = __commonJS2({
65502
65502
  this.tolerateError(messages_1.Messages.StrictVarName);
65503
65503
  }
65504
65504
  }
65505
- var init = null;
65505
+ var init2 = null;
65506
65506
  if (this.match("=")) {
65507
65507
  this.nextToken();
65508
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
65508
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
65509
65509
  } else if (id.type !== syntax_1.Syntax.Identifier && !options.inFor) {
65510
65510
  this.expect("=");
65511
65511
  }
65512
- return this.finalize(node, new Node.VariableDeclarator(id, init));
65512
+ return this.finalize(node, new Node.VariableDeclarator(id, init2));
65513
65513
  };
65514
65514
  Parser2.prototype.parseVariableDeclarationList = function(options) {
65515
65515
  var opt = { inFor: options.inFor };
@@ -65604,7 +65604,7 @@ var require_esprima2 = __commonJS2({
65604
65604
  return this.finalize(node, new Node.WhileStatement(test, body));
65605
65605
  };
65606
65606
  Parser2.prototype.parseForStatement = function() {
65607
- var init = null;
65607
+ var init2 = null;
65608
65608
  var test = null;
65609
65609
  var update = null;
65610
65610
  var forIn = true;
@@ -65616,7 +65616,7 @@ var require_esprima2 = __commonJS2({
65616
65616
  this.nextToken();
65617
65617
  } else {
65618
65618
  if (this.matchKeyword("var")) {
65619
- init = this.createNode();
65619
+ init2 = this.createNode();
65620
65620
  this.nextToken();
65621
65621
  var previousAllowIn = this.context.allowIn;
65622
65622
  this.context.allowIn = false;
@@ -65627,87 +65627,87 @@ var require_esprima2 = __commonJS2({
65627
65627
  if (decl.init && (decl.id.type === syntax_1.Syntax.ArrayPattern || decl.id.type === syntax_1.Syntax.ObjectPattern || this.context.strict)) {
65628
65628
  this.tolerateError(messages_1.Messages.ForInOfLoopInitializer, "for-in");
65629
65629
  }
65630
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
65630
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
65631
65631
  this.nextToken();
65632
- left = init;
65632
+ left = init2;
65633
65633
  right = this.parseExpression();
65634
- init = null;
65634
+ init2 = null;
65635
65635
  } else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of")) {
65636
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
65636
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
65637
65637
  this.nextToken();
65638
- left = init;
65638
+ left = init2;
65639
65639
  right = this.parseAssignmentExpression();
65640
- init = null;
65640
+ init2 = null;
65641
65641
  forIn = false;
65642
65642
  } else {
65643
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
65643
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
65644
65644
  this.expect(";");
65645
65645
  }
65646
65646
  } else if (this.matchKeyword("const") || this.matchKeyword("let")) {
65647
- init = this.createNode();
65647
+ init2 = this.createNode();
65648
65648
  var kind = this.nextToken().value;
65649
65649
  if (!this.context.strict && this.lookahead.value === "in") {
65650
- init = this.finalize(init, new Node.Identifier(kind));
65650
+ init2 = this.finalize(init2, new Node.Identifier(kind));
65651
65651
  this.nextToken();
65652
- left = init;
65652
+ left = init2;
65653
65653
  right = this.parseExpression();
65654
- init = null;
65654
+ init2 = null;
65655
65655
  } else {
65656
65656
  var previousAllowIn = this.context.allowIn;
65657
65657
  this.context.allowIn = false;
65658
65658
  var declarations = this.parseBindingList(kind, { inFor: true });
65659
65659
  this.context.allowIn = previousAllowIn;
65660
65660
  if (declarations.length === 1 && declarations[0].init === null && this.matchKeyword("in")) {
65661
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
65661
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
65662
65662
  this.nextToken();
65663
- left = init;
65663
+ left = init2;
65664
65664
  right = this.parseExpression();
65665
- init = null;
65665
+ init2 = null;
65666
65666
  } else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of")) {
65667
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
65667
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
65668
65668
  this.nextToken();
65669
- left = init;
65669
+ left = init2;
65670
65670
  right = this.parseAssignmentExpression();
65671
- init = null;
65671
+ init2 = null;
65672
65672
  forIn = false;
65673
65673
  } else {
65674
65674
  this.consumeSemicolon();
65675
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
65675
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
65676
65676
  }
65677
65677
  }
65678
65678
  } else {
65679
65679
  var initStartToken = this.lookahead;
65680
65680
  var previousAllowIn = this.context.allowIn;
65681
65681
  this.context.allowIn = false;
65682
- init = this.inheritCoverGrammar(this.parseAssignmentExpression);
65682
+ init2 = this.inheritCoverGrammar(this.parseAssignmentExpression);
65683
65683
  this.context.allowIn = previousAllowIn;
65684
65684
  if (this.matchKeyword("in")) {
65685
- if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
65685
+ if (!this.context.isAssignmentTarget || init2.type === syntax_1.Syntax.AssignmentExpression) {
65686
65686
  this.tolerateError(messages_1.Messages.InvalidLHSInForIn);
65687
65687
  }
65688
65688
  this.nextToken();
65689
- this.reinterpretExpressionAsPattern(init);
65690
- left = init;
65689
+ this.reinterpretExpressionAsPattern(init2);
65690
+ left = init2;
65691
65691
  right = this.parseExpression();
65692
- init = null;
65692
+ init2 = null;
65693
65693
  } else if (this.matchContextualKeyword("of")) {
65694
- if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
65694
+ if (!this.context.isAssignmentTarget || init2.type === syntax_1.Syntax.AssignmentExpression) {
65695
65695
  this.tolerateError(messages_1.Messages.InvalidLHSInForLoop);
65696
65696
  }
65697
65697
  this.nextToken();
65698
- this.reinterpretExpressionAsPattern(init);
65699
- left = init;
65698
+ this.reinterpretExpressionAsPattern(init2);
65699
+ left = init2;
65700
65700
  right = this.parseAssignmentExpression();
65701
- init = null;
65701
+ init2 = null;
65702
65702
  forIn = false;
65703
65703
  } else {
65704
65704
  if (this.match(",")) {
65705
- var initSeq = [init];
65705
+ var initSeq = [init2];
65706
65706
  while (this.match(",")) {
65707
65707
  this.nextToken();
65708
65708
  initSeq.push(this.isolateCoverGrammar(this.parseAssignmentExpression));
65709
65709
  }
65710
- init = this.finalize(this.startNode(initStartToken), new Node.SequenceExpression(initSeq));
65710
+ init2 = this.finalize(this.startNode(initStartToken), new Node.SequenceExpression(initSeq));
65711
65711
  }
65712
65712
  this.expect(";");
65713
65713
  }
@@ -65733,7 +65733,7 @@ var require_esprima2 = __commonJS2({
65733
65733
  body = this.isolateCoverGrammar(this.parseStatement);
65734
65734
  this.context.inIteration = previousInIteration;
65735
65735
  }
65736
- return typeof left === "undefined" ? this.finalize(node, new Node.ForStatement(init, test, update, body)) : forIn ? this.finalize(node, new Node.ForInStatement(left, right, body)) : this.finalize(node, new Node.ForOfStatement(left, right, body));
65736
+ return typeof left === "undefined" ? this.finalize(node, new Node.ForStatement(init2, test, update, body)) : forIn ? this.finalize(node, new Node.ForInStatement(left, right, body)) : this.finalize(node, new Node.ForOfStatement(left, right, body));
65737
65737
  };
65738
65738
  Parser2.prototype.parseContinueStatement = function() {
65739
65739
  var node = this.createNode();
@@ -71106,10 +71106,10 @@ var require_printer = __commonJS2({
71106
71106
  return (0, lines_1.concat)(parts);
71107
71107
  }
71108
71108
  case "ForStatement": {
71109
- var init = path42.call(print62, "init");
71110
- var sep32 = init.length > 1 ? ";\n" : "; ";
71109
+ var init2 = path42.call(print62, "init");
71110
+ var sep32 = init2.length > 1 ? ";\n" : "; ";
71111
71111
  var forParen = "for (";
71112
- var indented = (0, lines_1.fromString)(sep32).join([init, path42.call(print62, "test"), path42.call(print62, "update")]).indentTail(forParen.length);
71112
+ var indented = (0, lines_1.fromString)(sep32).join([init2, path42.call(print62, "test"), path42.call(print62, "update")]).indentTail(forParen.length);
71113
71113
  var head = (0, lines_1.concat)([forParen, indented, ")"]);
71114
71114
  var clause = adjustClause(path42.call(print62, "body"), options);
71115
71115
  parts.push(head);
@@ -79001,23 +79001,23 @@ var validateHeaderValue = typeof http.validateHeaderValue === "function" ? http.
79001
79001
  }
79002
79002
  };
79003
79003
  var Headers = class extends URLSearchParams {
79004
- constructor(init) {
79004
+ constructor(init2) {
79005
79005
  let result = [];
79006
- if (init instanceof Headers) {
79007
- const raw = init.raw();
79006
+ if (init2 instanceof Headers) {
79007
+ const raw = init2.raw();
79008
79008
  for (const [name, values] of Object.entries(raw)) {
79009
79009
  result.push(...values.map((value) => [name, value]));
79010
79010
  }
79011
- } else if (init == null) {
79012
- } else if (typeof init === "object" && !types3.isBoxedPrimitive(init)) {
79013
- const method = init[Symbol.iterator];
79011
+ } else if (init2 == null) {
79012
+ } else if (typeof init2 === "object" && !types3.isBoxedPrimitive(init2)) {
79013
+ const method = init2[Symbol.iterator];
79014
79014
  if (method == null) {
79015
- result.push(...Object.entries(init));
79015
+ result.push(...Object.entries(init2));
79016
79016
  } else {
79017
79017
  if (typeof method !== "function") {
79018
79018
  throw new TypeError("Header pairs must be iterable");
79019
79019
  }
79020
- result = [...init].map((pair) => {
79020
+ result = [...init2].map((pair) => {
79021
79021
  if (typeof pair !== "object" || types3.isBoxedPrimitive(pair)) {
79022
79022
  throw new TypeError("Each header pair must be an iterable object");
79023
79023
  }
@@ -79212,17 +79212,17 @@ var Response2 = class extends Body {
79212
79212
  response[INTERNALS2].type = "error";
79213
79213
  return response;
79214
79214
  }
79215
- static json(data = void 0, init = {}) {
79215
+ static json(data = void 0, init2 = {}) {
79216
79216
  const body = JSON.stringify(data);
79217
79217
  if (body === void 0) {
79218
79218
  throw new TypeError("data is not JSON serializable");
79219
79219
  }
79220
- const headers = new Headers(init && init.headers);
79220
+ const headers = new Headers(init2 && init2.headers);
79221
79221
  if (!headers.has("content-type")) {
79222
79222
  headers.set("content-type", "application/json");
79223
79223
  }
79224
79224
  return new Response2(body, {
79225
- ...init,
79225
+ ...init2,
79226
79226
  headers
79227
79227
  });
79228
79228
  }
@@ -79268,7 +79268,7 @@ var doBadDataWarn = deprecate2(
79268
79268
  "https://github.com/node-fetch/node-fetch/issues/1000 (request)"
79269
79269
  );
79270
79270
  var Request2 = class extends Body {
79271
- constructor(input, init = {}) {
79271
+ constructor(input, init2 = {}) {
79272
79272
  let parsedURL;
79273
79273
  if (isRequest(input)) {
79274
79274
  parsedURL = new URL(input.url);
@@ -79279,21 +79279,21 @@ var Request2 = class extends Body {
79279
79279
  if (parsedURL.username !== "" || parsedURL.password !== "") {
79280
79280
  throw new TypeError(`${parsedURL} is an url with embedded credentials.`);
79281
79281
  }
79282
- let method = init.method || input.method || "GET";
79282
+ let method = init2.method || input.method || "GET";
79283
79283
  if (/^(delete|get|head|options|post|put)$/i.test(method)) {
79284
79284
  method = method.toUpperCase();
79285
79285
  }
79286
- if (!isRequest(init) && "data" in init) {
79286
+ if (!isRequest(init2) && "data" in init2) {
79287
79287
  doBadDataWarn();
79288
79288
  }
79289
- if ((init.body != null || isRequest(input) && input.body !== null) && (method === "GET" || method === "HEAD")) {
79289
+ if ((init2.body != null || isRequest(input) && input.body !== null) && (method === "GET" || method === "HEAD")) {
79290
79290
  throw new TypeError("Request with GET/HEAD method cannot have body");
79291
79291
  }
79292
- const inputBody = init.body ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;
79292
+ const inputBody = init2.body ? init2.body : isRequest(input) && input.body !== null ? clone(input) : null;
79293
79293
  super(inputBody, {
79294
- size: init.size || input.size || 0
79294
+ size: init2.size || input.size || 0
79295
79295
  });
79296
- const headers = new Headers(init.headers || input.headers || {});
79296
+ const headers = new Headers(init2.headers || input.headers || {});
79297
79297
  if (inputBody !== null && !headers.has("Content-Type")) {
79298
79298
  const contentType = extractContentType(inputBody, this);
79299
79299
  if (contentType) {
@@ -79301,13 +79301,13 @@ var Request2 = class extends Body {
79301
79301
  }
79302
79302
  }
79303
79303
  let signal = isRequest(input) ? input.signal : null;
79304
- if ("signal" in init) {
79305
- signal = init.signal;
79304
+ if ("signal" in init2) {
79305
+ signal = init2.signal;
79306
79306
  }
79307
79307
  if (signal != null && !isAbortSignal(signal)) {
79308
79308
  throw new TypeError("Expected signal to be an instanceof AbortSignal or EventTarget");
79309
79309
  }
79310
- let referrer = init.referrer == null ? input.referrer : init.referrer;
79310
+ let referrer = init2.referrer == null ? input.referrer : init2.referrer;
79311
79311
  if (referrer === "") {
79312
79312
  referrer = "no-referrer";
79313
79313
  } else if (referrer) {
@@ -79318,19 +79318,19 @@ var Request2 = class extends Body {
79318
79318
  }
79319
79319
  this[INTERNALS3] = {
79320
79320
  method,
79321
- redirect: init.redirect || input.redirect || "follow",
79321
+ redirect: init2.redirect || input.redirect || "follow",
79322
79322
  headers,
79323
79323
  parsedURL,
79324
79324
  signal,
79325
79325
  referrer
79326
79326
  };
79327
- this.follow = init.follow === void 0 ? input.follow === void 0 ? 20 : input.follow : init.follow;
79328
- this.compress = init.compress === void 0 ? input.compress === void 0 ? true : input.compress : init.compress;
79329
- this.counter = init.counter || input.counter || 0;
79330
- this.agent = init.agent || input.agent;
79331
- this.highWaterMark = init.highWaterMark || input.highWaterMark || 16384;
79332
- this.insecureHTTPParser = init.insecureHTTPParser || input.insecureHTTPParser || false;
79333
- this.referrerPolicy = init.referrerPolicy || input.referrerPolicy || "";
79327
+ this.follow = init2.follow === void 0 ? input.follow === void 0 ? 20 : input.follow : init2.follow;
79328
+ this.compress = init2.compress === void 0 ? input.compress === void 0 ? true : input.compress : init2.compress;
79329
+ this.counter = init2.counter || input.counter || 0;
79330
+ this.agent = init2.agent || input.agent;
79331
+ this.highWaterMark = init2.highWaterMark || input.highWaterMark || 16384;
79332
+ this.insecureHTTPParser = init2.insecureHTTPParser || input.insecureHTTPParser || false;
79333
+ this.referrerPolicy = init2.referrerPolicy || input.referrerPolicy || "";
79334
79334
  }
79335
79335
  get method() {
79336
79336
  return this[INTERNALS3].method;
@@ -93548,10 +93548,10 @@ var require_ponyfill_es20182 = __commonJS3({
93548
93548
  }
93549
93549
  return size;
93550
93550
  }
93551
- function convertQueuingStrategy(init, context) {
93552
- assertDictionary(init, context);
93553
- const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;
93554
- const size = init === null || init === void 0 ? void 0 : init.size;
93551
+ function convertQueuingStrategy(init2, context) {
93552
+ assertDictionary(init2, context);
93553
+ const highWaterMark = init2 === null || init2 === void 0 ? void 0 : init2.highWaterMark;
93554
+ const size = init2 === null || init2 === void 0 ? void 0 : init2.size;
93555
93555
  return {
93556
93556
  highWaterMark: highWaterMark === void 0 ? void 0 : convertUnrestrictedDouble(highWaterMark),
93557
93557
  size: size === void 0 ? void 0 : convertQueuingStrategySize(size, `${context} has member 'size' that`)
@@ -95403,9 +95403,9 @@ var require_ponyfill_es20182 = __commonJS3({
95403
95403
  function streamBrandCheckException$1(name) {
95404
95404
  return new TypeError(`ReadableStream.prototype.${name} can only be used on a ReadableStream`);
95405
95405
  }
95406
- function convertQueuingStrategyInit(init, context) {
95407
- assertDictionary(init, context);
95408
- const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;
95406
+ function convertQueuingStrategyInit(init2, context) {
95407
+ assertDictionary(init2, context);
95408
+ const highWaterMark = init2 === null || init2 === void 0 ? void 0 : init2.highWaterMark;
95409
95409
  assertRequiredField(highWaterMark, "highWaterMark", "QueuingStrategyInit");
95410
95410
  return {
95411
95411
  highWaterMark: convertUnrestrictedDouble(highWaterMark)
@@ -104573,10 +104573,10 @@ var require_generated22 = __commonJS3({
104573
104573
  body
104574
104574
  });
104575
104575
  }
104576
- function forStatement(init = null, test = null, update = null, body) {
104576
+ function forStatement(init2 = null, test = null, update = null, body) {
104577
104577
  return (0, _validateNode.default)({
104578
104578
  type: "ForStatement",
104579
- init,
104579
+ init: init2,
104580
104580
  test,
104581
104581
  update,
104582
104582
  body
@@ -104794,11 +104794,11 @@ var require_generated22 = __commonJS3({
104794
104794
  declarations
104795
104795
  });
104796
104796
  }
104797
- function variableDeclarator(id, init = null) {
104797
+ function variableDeclarator(id, init2 = null) {
104798
104798
  return (0, _validateNode.default)({
104799
104799
  type: "VariableDeclarator",
104800
104800
  id,
104801
- init
104801
+ init: init2
104802
104802
  });
104803
104803
  }
104804
104804
  function whileStatement(test, body) {
@@ -105500,18 +105500,18 @@ var require_generated22 = __commonJS3({
105500
105500
  init: null
105501
105501
  });
105502
105502
  }
105503
- function enumNumberMember(id, init) {
105503
+ function enumNumberMember(id, init2) {
105504
105504
  return (0, _validateNode.default)({
105505
105505
  type: "EnumNumberMember",
105506
105506
  id,
105507
- init
105507
+ init: init2
105508
105508
  });
105509
105509
  }
105510
- function enumStringMember(id, init) {
105510
+ function enumStringMember(id, init2) {
105511
105511
  return (0, _validateNode.default)({
105512
105512
  type: "EnumStringMember",
105513
105513
  id,
105514
- init
105514
+ init: init2
105515
105515
  });
105516
105516
  }
105517
105517
  function enumDefaultedMember(id) {
@@ -117217,13 +117217,13 @@ var require_lib62 = __commonJS3({
117217
117217
  flowEnumMemberRaw() {
117218
117218
  const loc = this.state.startLoc;
117219
117219
  const id = this.parseIdentifier(true);
117220
- const init = this.eat(29) ? this.flowEnumMemberInit() : {
117220
+ const init2 = this.eat(29) ? this.flowEnumMemberInit() : {
117221
117221
  type: "none",
117222
117222
  loc
117223
117223
  };
117224
117224
  return {
117225
117225
  id,
117226
- init
117226
+ init: init2
117227
117227
  };
117228
117228
  }
117229
117229
  flowEnumCheckExplicitTypeMismatch(loc, context, expectedType) {
@@ -117257,7 +117257,7 @@ var require_lib62 = __commonJS3({
117257
117257
  const memberNode = this.startNode();
117258
117258
  const {
117259
117259
  id,
117260
- init
117260
+ init: init2
117261
117261
  } = this.flowEnumMemberRaw();
117262
117262
  const memberName = id.name;
117263
117263
  if (memberName === "") {
@@ -117283,35 +117283,35 @@ var require_lib62 = __commonJS3({
117283
117283
  memberName
117284
117284
  };
117285
117285
  memberNode.id = id;
117286
- switch (init.type) {
117286
+ switch (init2.type) {
117287
117287
  case "boolean": {
117288
- this.flowEnumCheckExplicitTypeMismatch(init.loc, context, "boolean");
117289
- memberNode.init = init.value;
117288
+ this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "boolean");
117289
+ memberNode.init = init2.value;
117290
117290
  members.booleanMembers.push(this.finishNode(memberNode, "EnumBooleanMember"));
117291
117291
  break;
117292
117292
  }
117293
117293
  case "number": {
117294
- this.flowEnumCheckExplicitTypeMismatch(init.loc, context, "number");
117295
- memberNode.init = init.value;
117294
+ this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "number");
117295
+ memberNode.init = init2.value;
117296
117296
  members.numberMembers.push(this.finishNode(memberNode, "EnumNumberMember"));
117297
117297
  break;
117298
117298
  }
117299
117299
  case "string": {
117300
- this.flowEnumCheckExplicitTypeMismatch(init.loc, context, "string");
117301
- memberNode.init = init.value;
117300
+ this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "string");
117301
+ memberNode.init = init2.value;
117302
117302
  members.stringMembers.push(this.finishNode(memberNode, "EnumStringMember"));
117303
117303
  break;
117304
117304
  }
117305
117305
  case "invalid": {
117306
- throw this.flowEnumErrorInvalidMemberInitializer(init.loc, context);
117306
+ throw this.flowEnumErrorInvalidMemberInitializer(init2.loc, context);
117307
117307
  }
117308
117308
  case "none": {
117309
117309
  switch (explicitType) {
117310
117310
  case "boolean":
117311
- this.flowEnumErrorBooleanMemberNotInitialized(init.loc, context);
117311
+ this.flowEnumErrorBooleanMemberNotInitialized(init2.loc, context);
117312
117312
  break;
117313
117313
  case "number":
117314
- this.flowEnumErrorNumberMemberNotInitialized(init.loc, context);
117314
+ this.flowEnumErrorNumberMemberNotInitialized(init2.loc, context);
117315
117315
  break;
117316
117316
  default:
117317
117317
  members.defaultedMembers.push(this.finishNode(memberNode, "EnumDefaultedMember"));
@@ -120412,14 +120412,14 @@ var require_lib62 = __commonJS3({
120412
120412
  return declaration;
120413
120413
  for (const {
120414
120414
  id,
120415
- init
120415
+ init: init2
120416
120416
  } of declaration.declarations) {
120417
- if (!init)
120417
+ if (!init2)
120418
120418
  continue;
120419
120419
  if (kind !== "const" || !!id.typeAnnotation) {
120420
- this.raise(TSErrors.InitializerNotAllowedInAmbientContext, init);
120421
- } else if (!isValidAmbientConstInitializer(init, this.hasPlugin("estree"))) {
120422
- this.raise(TSErrors.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, init);
120420
+ this.raise(TSErrors.InitializerNotAllowedInAmbientContext, init2);
120421
+ } else if (!isValidAmbientConstInitializer(init2, this.hasPlugin("estree"))) {
120422
+ this.raise(TSErrors.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, init2);
120423
120423
  }
120424
120424
  }
120425
120425
  return declaration;
@@ -123899,49 +123899,49 @@ var require_lib62 = __commonJS3({
123899
123899
  }
123900
123900
  this.next();
123901
123901
  this.parseVar(initNode, true, kind);
123902
- const init2 = this.finishNode(initNode, "VariableDeclaration");
123902
+ const init3 = this.finishNode(initNode, "VariableDeclaration");
123903
123903
  const isForIn = this.match(58);
123904
123904
  if (isForIn && starsWithUsingDeclaration) {
123905
- this.raise(Errors.ForInUsing, init2);
123905
+ this.raise(Errors.ForInUsing, init3);
123906
123906
  }
123907
- if ((isForIn || this.isContextual(102)) && init2.declarations.length === 1) {
123908
- return this.parseForIn(node, init2, awaitAt);
123907
+ if ((isForIn || this.isContextual(102)) && init3.declarations.length === 1) {
123908
+ return this.parseForIn(node, init3, awaitAt);
123909
123909
  }
123910
123910
  if (awaitAt !== null) {
123911
123911
  this.unexpected(awaitAt);
123912
123912
  }
123913
- return this.parseFor(node, init2);
123913
+ return this.parseFor(node, init3);
123914
123914
  }
123915
123915
  }
123916
123916
  const startsWithAsync = this.isContextual(95);
123917
123917
  const refExpressionErrors = new ExpressionErrors();
123918
- const init = this.parseExpression(true, refExpressionErrors);
123918
+ const init2 = this.parseExpression(true, refExpressionErrors);
123919
123919
  const isForOf = this.isContextual(102);
123920
123920
  if (isForOf) {
123921
123921
  if (startsWithLet) {
123922
- this.raise(Errors.ForOfLet, init);
123922
+ this.raise(Errors.ForOfLet, init2);
123923
123923
  }
123924
- if (awaitAt === null && startsWithAsync && init.type === "Identifier") {
123925
- this.raise(Errors.ForOfAsync, init);
123924
+ if (awaitAt === null && startsWithAsync && init2.type === "Identifier") {
123925
+ this.raise(Errors.ForOfAsync, init2);
123926
123926
  }
123927
123927
  }
123928
123928
  if (isForOf || this.match(58)) {
123929
123929
  this.checkDestructuringPrivate(refExpressionErrors);
123930
- this.toAssignable(init, true);
123930
+ this.toAssignable(init2, true);
123931
123931
  const type = isForOf ? "ForOfStatement" : "ForInStatement";
123932
- this.checkLVal(init, {
123932
+ this.checkLVal(init2, {
123933
123933
  in: {
123934
123934
  type
123935
123935
  }
123936
123936
  });
123937
- return this.parseForIn(node, init, awaitAt);
123937
+ return this.parseForIn(node, init2, awaitAt);
123938
123938
  } else {
123939
123939
  this.checkExpressionErrors(refExpressionErrors, true);
123940
123940
  }
123941
123941
  if (awaitAt !== null) {
123942
123942
  this.unexpected(awaitAt);
123943
123943
  }
123944
- return this.parseFor(node, init);
123944
+ return this.parseFor(node, init2);
123945
123945
  }
123946
123946
  parseFunctionStatement(node, isAsync, isHangingDeclaration) {
123947
123947
  this.next();
@@ -124163,8 +124163,8 @@ var require_lib62 = __commonJS3({
124163
124163
  }
124164
124164
  this.next();
124165
124165
  }
124166
- parseFor(node, init) {
124167
- node.init = init;
124166
+ parseFor(node, init2) {
124167
+ node.init = init2;
124168
124168
  this.semicolon(false);
124169
124169
  node.test = this.match(13) ? null : this.parseExpression();
124170
124170
  this.semicolon(false);
@@ -124175,7 +124175,7 @@ var require_lib62 = __commonJS3({
124175
124175
  this.state.labels.pop();
124176
124176
  return this.finishNode(node, "ForStatement");
124177
124177
  }
124178
- parseForIn(node, init, awaitAt) {
124178
+ parseForIn(node, init2, awaitAt) {
124179
124179
  const isForIn = this.match(58);
124180
124180
  this.next();
124181
124181
  if (isForIn) {
@@ -124184,19 +124184,19 @@ var require_lib62 = __commonJS3({
124184
124184
  } else {
124185
124185
  node.await = awaitAt !== null;
124186
124186
  }
124187
- if (init.type === "VariableDeclaration" && init.declarations[0].init != null && (!isForIn || !this.options.annexB || this.state.strict || init.kind !== "var" || init.declarations[0].id.type !== "Identifier")) {
124188
- this.raise(Errors.ForInOfLoopInitializer, init, {
124187
+ if (init2.type === "VariableDeclaration" && init2.declarations[0].init != null && (!isForIn || !this.options.annexB || this.state.strict || init2.kind !== "var" || init2.declarations[0].id.type !== "Identifier")) {
124188
+ this.raise(Errors.ForInOfLoopInitializer, init2, {
124189
124189
  type: isForIn ? "ForInStatement" : "ForOfStatement"
124190
124190
  });
124191
124191
  }
124192
- if (init.type === "AssignmentPattern") {
124193
- this.raise(Errors.InvalidLhs, init, {
124192
+ if (init2.type === "AssignmentPattern") {
124193
+ this.raise(Errors.InvalidLhs, init2, {
124194
124194
  ancestor: {
124195
124195
  type: "ForStatement"
124196
124196
  }
124197
124197
  });
124198
124198
  }
124199
- node.left = init;
124199
+ node.left = init2;
124200
124200
  node.right = isForIn ? this.parseExpression() : this.parseMaybeAssignAllowIn();
124201
124201
  this.expect(11);
124202
124202
  node.body = this.withSmartMixTopicForbiddingContext(() => this.parseStatement());
@@ -126140,11 +126140,11 @@ var require_types3 = __commonJS3({
126140
126140
  }();
126141
126141
  exports.Def = Def;
126142
126142
  var Field = function() {
126143
- function Field2(name, type, defaultFn, hidden6) {
126143
+ function Field2(name, type, defaultFn, hidden7) {
126144
126144
  this.name = name;
126145
126145
  this.type = type;
126146
126146
  this.defaultFn = defaultFn;
126147
- this.hidden = !!hidden6;
126147
+ this.hidden = !!hidden7;
126148
126148
  }
126149
126149
  Field2.prototype.toString = function() {
126150
126150
  return JSON.stringify(this.name) + ": " + this.type;
@@ -126393,12 +126393,12 @@ var require_types3 = __commonJS3({
126393
126393
  });
126394
126394
  return this;
126395
126395
  };
126396
- DefImpl2.prototype.field = function(name, type, defaultFn, hidden6) {
126396
+ DefImpl2.prototype.field = function(name, type, defaultFn, hidden7) {
126397
126397
  if (this.finalized) {
126398
126398
  console.error("Ignoring attempt to redefine field " + JSON.stringify(name) + " of finalized type " + JSON.stringify(this.typeName));
126399
126399
  return this;
126400
126400
  }
126401
- this.ownFields[name] = new Field(name, Type.from(type), defaultFn, hidden6);
126401
+ this.ownFields[name] = new Field(name, Type.from(type), defaultFn, hidden7);
126402
126402
  return this;
126403
126403
  };
126404
126404
  DefImpl2.prototype.finalize = function() {
@@ -126995,13 +126995,13 @@ var require_scope3 = __commonJS3({
126995
126995
  var name = prefix + index;
126996
126996
  return this.bindings[name] = types19.builders.identifier(name);
126997
126997
  };
126998
- Sp.injectTemporary = function(identifier, init) {
126998
+ Sp.injectTemporary = function(identifier, init2) {
126999
126999
  identifier || (identifier = this.declareTemporary());
127000
127000
  var bodyPath = this.path.get("body");
127001
127001
  if (namedTypes.BlockStatement.check(bodyPath.value)) {
127002
127002
  bodyPath = bodyPath.get("body");
127003
127003
  }
127004
- bodyPath.unshift(b.variableDeclaration("var", [b.variableDeclarator(identifier, init || null)]));
127004
+ bodyPath.unshift(b.variableDeclaration("var", [b.variableDeclarator(identifier, init2 || null)]));
127005
127005
  return identifier;
127006
127006
  };
127007
127007
  Sp.scan = function(force) {
@@ -127770,7 +127770,7 @@ var require_path_visitor3 = __commonJS3({
127770
127770
  return Context;
127771
127771
  }
127772
127772
  var sharedContextProtoMethods = /* @__PURE__ */ Object.create(null);
127773
- sharedContextProtoMethods.reset = function reset6(path42) {
127773
+ sharedContextProtoMethods.reset = function reset7(path42) {
127774
127774
  if (!(this instanceof this.Context)) {
127775
127775
  throw new Error("");
127776
127776
  }
@@ -132481,9 +132481,9 @@ var require_esprima22 = __commonJS3({
132481
132481
  }();
132482
132482
  exports2.ForOfStatement = ForOfStatement;
132483
132483
  var ForStatement = function() {
132484
- function ForStatement2(init, test, update, body) {
132484
+ function ForStatement2(init2, test, update, body) {
132485
132485
  this.type = syntax_1.Syntax.ForStatement;
132486
- this.init = init;
132486
+ this.init = init2;
132487
132487
  this.test = test;
132488
132488
  this.update = update;
132489
132489
  this.body = body;
@@ -132823,10 +132823,10 @@ var require_esprima22 = __commonJS3({
132823
132823
  }();
132824
132824
  exports2.VariableDeclaration = VariableDeclaration;
132825
132825
  var VariableDeclarator = function() {
132826
- function VariableDeclarator2(id, init) {
132826
+ function VariableDeclarator2(id, init2) {
132827
132827
  this.type = syntax_1.Syntax.VariableDeclarator;
132828
132828
  this.id = id;
132829
- this.init = init;
132829
+ this.init = init2;
132830
132830
  }
132831
132831
  return VariableDeclarator2;
132832
132832
  }();
@@ -133531,8 +133531,8 @@ var require_esprima22 = __commonJS3({
133531
133531
  this.context.firstCoverInitializedNameError = this.lookahead;
133532
133532
  this.nextToken();
133533
133533
  shorthand = true;
133534
- var init = this.isolateCoverGrammar(this.parseAssignmentExpression);
133535
- value = this.finalize(node, new Node.AssignmentPattern(id, init));
133534
+ var init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
133535
+ value = this.finalize(node, new Node.AssignmentPattern(id, init2));
133536
133536
  } else {
133537
133537
  shorthand = true;
133538
133538
  value = id;
@@ -134310,21 +134310,21 @@ var require_esprima22 = __commonJS3({
134310
134310
  this.tolerateError(messages_1.Messages.StrictVarName);
134311
134311
  }
134312
134312
  }
134313
- var init = null;
134313
+ var init2 = null;
134314
134314
  if (kind === "const") {
134315
134315
  if (!this.matchKeyword("in") && !this.matchContextualKeyword("of")) {
134316
134316
  if (this.match("=")) {
134317
134317
  this.nextToken();
134318
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
134318
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
134319
134319
  } else {
134320
134320
  this.throwError(messages_1.Messages.DeclarationMissingInitializer, "const");
134321
134321
  }
134322
134322
  }
134323
134323
  } else if (!options.inFor && id.type !== syntax_1.Syntax.Identifier || this.match("=")) {
134324
134324
  this.expect("=");
134325
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
134325
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
134326
134326
  }
134327
- return this.finalize(node, new Node.VariableDeclarator(id, init));
134327
+ return this.finalize(node, new Node.VariableDeclarator(id, init2));
134328
134328
  };
134329
134329
  Parser2.prototype.parseBindingList = function(kind, options) {
134330
134330
  var list = [this.parseLexicalBinding(kind, options)];
@@ -134388,17 +134388,17 @@ var require_esprima22 = __commonJS3({
134388
134388
  if (this.lookahead.type === 3) {
134389
134389
  var keyToken = this.lookahead;
134390
134390
  key = this.parseVariableIdentifier();
134391
- var init = this.finalize(node, new Node.Identifier(keyToken.value));
134391
+ var init2 = this.finalize(node, new Node.Identifier(keyToken.value));
134392
134392
  if (this.match("=")) {
134393
134393
  params.push(keyToken);
134394
134394
  shorthand = true;
134395
134395
  this.nextToken();
134396
134396
  var expr = this.parseAssignmentExpression();
134397
- value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init, expr));
134397
+ value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init2, expr));
134398
134398
  } else if (!this.match(":")) {
134399
134399
  params.push(keyToken);
134400
134400
  shorthand = true;
134401
- value = init;
134401
+ value = init2;
134402
134402
  } else {
134403
134403
  this.expect(":");
134404
134404
  value = this.parsePatternWithDefault(params, kind);
@@ -134483,14 +134483,14 @@ var require_esprima22 = __commonJS3({
134483
134483
  this.tolerateError(messages_1.Messages.StrictVarName);
134484
134484
  }
134485
134485
  }
134486
- var init = null;
134486
+ var init2 = null;
134487
134487
  if (this.match("=")) {
134488
134488
  this.nextToken();
134489
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
134489
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
134490
134490
  } else if (id.type !== syntax_1.Syntax.Identifier && !options.inFor) {
134491
134491
  this.expect("=");
134492
134492
  }
134493
- return this.finalize(node, new Node.VariableDeclarator(id, init));
134493
+ return this.finalize(node, new Node.VariableDeclarator(id, init2));
134494
134494
  };
134495
134495
  Parser2.prototype.parseVariableDeclarationList = function(options) {
134496
134496
  var opt = { inFor: options.inFor };
@@ -134585,7 +134585,7 @@ var require_esprima22 = __commonJS3({
134585
134585
  return this.finalize(node, new Node.WhileStatement(test, body));
134586
134586
  };
134587
134587
  Parser2.prototype.parseForStatement = function() {
134588
- var init = null;
134588
+ var init2 = null;
134589
134589
  var test = null;
134590
134590
  var update = null;
134591
134591
  var forIn = true;
@@ -134597,7 +134597,7 @@ var require_esprima22 = __commonJS3({
134597
134597
  this.nextToken();
134598
134598
  } else {
134599
134599
  if (this.matchKeyword("var")) {
134600
- init = this.createNode();
134600
+ init2 = this.createNode();
134601
134601
  this.nextToken();
134602
134602
  var previousAllowIn = this.context.allowIn;
134603
134603
  this.context.allowIn = false;
@@ -134608,87 +134608,87 @@ var require_esprima22 = __commonJS3({
134608
134608
  if (decl.init && (decl.id.type === syntax_1.Syntax.ArrayPattern || decl.id.type === syntax_1.Syntax.ObjectPattern || this.context.strict)) {
134609
134609
  this.tolerateError(messages_1.Messages.ForInOfLoopInitializer, "for-in");
134610
134610
  }
134611
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
134611
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
134612
134612
  this.nextToken();
134613
- left = init;
134613
+ left = init2;
134614
134614
  right = this.parseExpression();
134615
- init = null;
134615
+ init2 = null;
134616
134616
  } else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of")) {
134617
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
134617
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
134618
134618
  this.nextToken();
134619
- left = init;
134619
+ left = init2;
134620
134620
  right = this.parseAssignmentExpression();
134621
- init = null;
134621
+ init2 = null;
134622
134622
  forIn = false;
134623
134623
  } else {
134624
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
134624
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
134625
134625
  this.expect(";");
134626
134626
  }
134627
134627
  } else if (this.matchKeyword("const") || this.matchKeyword("let")) {
134628
- init = this.createNode();
134628
+ init2 = this.createNode();
134629
134629
  var kind = this.nextToken().value;
134630
134630
  if (!this.context.strict && this.lookahead.value === "in") {
134631
- init = this.finalize(init, new Node.Identifier(kind));
134631
+ init2 = this.finalize(init2, new Node.Identifier(kind));
134632
134632
  this.nextToken();
134633
- left = init;
134633
+ left = init2;
134634
134634
  right = this.parseExpression();
134635
- init = null;
134635
+ init2 = null;
134636
134636
  } else {
134637
134637
  var previousAllowIn = this.context.allowIn;
134638
134638
  this.context.allowIn = false;
134639
134639
  var declarations = this.parseBindingList(kind, { inFor: true });
134640
134640
  this.context.allowIn = previousAllowIn;
134641
134641
  if (declarations.length === 1 && declarations[0].init === null && this.matchKeyword("in")) {
134642
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
134642
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
134643
134643
  this.nextToken();
134644
- left = init;
134644
+ left = init2;
134645
134645
  right = this.parseExpression();
134646
- init = null;
134646
+ init2 = null;
134647
134647
  } else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of")) {
134648
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
134648
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
134649
134649
  this.nextToken();
134650
- left = init;
134650
+ left = init2;
134651
134651
  right = this.parseAssignmentExpression();
134652
- init = null;
134652
+ init2 = null;
134653
134653
  forIn = false;
134654
134654
  } else {
134655
134655
  this.consumeSemicolon();
134656
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
134656
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
134657
134657
  }
134658
134658
  }
134659
134659
  } else {
134660
134660
  var initStartToken = this.lookahead;
134661
134661
  var previousAllowIn = this.context.allowIn;
134662
134662
  this.context.allowIn = false;
134663
- init = this.inheritCoverGrammar(this.parseAssignmentExpression);
134663
+ init2 = this.inheritCoverGrammar(this.parseAssignmentExpression);
134664
134664
  this.context.allowIn = previousAllowIn;
134665
134665
  if (this.matchKeyword("in")) {
134666
- if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
134666
+ if (!this.context.isAssignmentTarget || init2.type === syntax_1.Syntax.AssignmentExpression) {
134667
134667
  this.tolerateError(messages_1.Messages.InvalidLHSInForIn);
134668
134668
  }
134669
134669
  this.nextToken();
134670
- this.reinterpretExpressionAsPattern(init);
134671
- left = init;
134670
+ this.reinterpretExpressionAsPattern(init2);
134671
+ left = init2;
134672
134672
  right = this.parseExpression();
134673
- init = null;
134673
+ init2 = null;
134674
134674
  } else if (this.matchContextualKeyword("of")) {
134675
- if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
134675
+ if (!this.context.isAssignmentTarget || init2.type === syntax_1.Syntax.AssignmentExpression) {
134676
134676
  this.tolerateError(messages_1.Messages.InvalidLHSInForLoop);
134677
134677
  }
134678
134678
  this.nextToken();
134679
- this.reinterpretExpressionAsPattern(init);
134680
- left = init;
134679
+ this.reinterpretExpressionAsPattern(init2);
134680
+ left = init2;
134681
134681
  right = this.parseAssignmentExpression();
134682
- init = null;
134682
+ init2 = null;
134683
134683
  forIn = false;
134684
134684
  } else {
134685
134685
  if (this.match(",")) {
134686
- var initSeq = [init];
134686
+ var initSeq = [init2];
134687
134687
  while (this.match(",")) {
134688
134688
  this.nextToken();
134689
134689
  initSeq.push(this.isolateCoverGrammar(this.parseAssignmentExpression));
134690
134690
  }
134691
- init = this.finalize(this.startNode(initStartToken), new Node.SequenceExpression(initSeq));
134691
+ init2 = this.finalize(this.startNode(initStartToken), new Node.SequenceExpression(initSeq));
134692
134692
  }
134693
134693
  this.expect(";");
134694
134694
  }
@@ -134714,7 +134714,7 @@ var require_esprima22 = __commonJS3({
134714
134714
  body = this.isolateCoverGrammar(this.parseStatement);
134715
134715
  this.context.inIteration = previousInIteration;
134716
134716
  }
134717
- return typeof left === "undefined" ? this.finalize(node, new Node.ForStatement(init, test, update, body)) : forIn ? this.finalize(node, new Node.ForInStatement(left, right, body)) : this.finalize(node, new Node.ForOfStatement(left, right, body));
134717
+ return typeof left === "undefined" ? this.finalize(node, new Node.ForStatement(init2, test, update, body)) : forIn ? this.finalize(node, new Node.ForInStatement(left, right, body)) : this.finalize(node, new Node.ForOfStatement(left, right, body));
134718
134718
  };
134719
134719
  Parser2.prototype.parseContinueStatement = function() {
134720
134720
  var node = this.createNode();
@@ -140087,10 +140087,10 @@ var require_printer3 = __commonJS3({
140087
140087
  return (0, lines_1.concat)(parts);
140088
140088
  }
140089
140089
  case "ForStatement": {
140090
- var init = path42.call(print13, "init");
140091
- var sep32 = init.length > 1 ? ";\n" : "; ";
140090
+ var init2 = path42.call(print13, "init");
140091
+ var sep32 = init2.length > 1 ? ";\n" : "; ";
140092
140092
  var forParen = "for (";
140093
- var indented = (0, lines_1.fromString)(sep32).join([init, path42.call(print13, "test"), path42.call(print13, "update")]).indentTail(forParen.length);
140093
+ var indented = (0, lines_1.fromString)(sep32).join([init2, path42.call(print13, "test"), path42.call(print13, "update")]).indentTail(forParen.length);
140094
140094
  var head = (0, lines_1.concat)([forParen, indented, ")"]);
140095
140095
  var clause = adjustClause(path42.call(print13, "body"), options);
140096
140096
  parts.push(head);
@@ -148298,23 +148298,23 @@ var validateHeaderValue2 = typeof http2.validateHeaderValue === "function" ? htt
148298
148298
  }
148299
148299
  };
148300
148300
  var Headers2 = class extends URLSearchParams {
148301
- constructor(init) {
148301
+ constructor(init2) {
148302
148302
  let result = [];
148303
- if (init instanceof Headers2) {
148304
- const raw = init.raw();
148303
+ if (init2 instanceof Headers2) {
148304
+ const raw = init2.raw();
148305
148305
  for (const [name, values] of Object.entries(raw)) {
148306
148306
  result.push(...values.map((value) => [name, value]));
148307
148307
  }
148308
- } else if (init == null) {
148309
- } else if (typeof init === "object" && !types32.isBoxedPrimitive(init)) {
148310
- const method = init[Symbol.iterator];
148308
+ } else if (init2 == null) {
148309
+ } else if (typeof init2 === "object" && !types32.isBoxedPrimitive(init2)) {
148310
+ const method = init2[Symbol.iterator];
148311
148311
  if (method == null) {
148312
- result.push(...Object.entries(init));
148312
+ result.push(...Object.entries(init2));
148313
148313
  } else {
148314
148314
  if (typeof method !== "function") {
148315
148315
  throw new TypeError("Header pairs must be iterable");
148316
148316
  }
148317
- result = [...init].map((pair) => {
148317
+ result = [...init2].map((pair) => {
148318
148318
  if (typeof pair !== "object" || types32.isBoxedPrimitive(pair)) {
148319
148319
  throw new TypeError("Each header pair must be an iterable object");
148320
148320
  }
@@ -148509,17 +148509,17 @@ var Response22 = class extends Body2 {
148509
148509
  response[INTERNALS22].type = "error";
148510
148510
  return response;
148511
148511
  }
148512
- static json(data = void 0, init = {}) {
148512
+ static json(data = void 0, init2 = {}) {
148513
148513
  const body = JSON.stringify(data);
148514
148514
  if (body === void 0) {
148515
148515
  throw new TypeError("data is not JSON serializable");
148516
148516
  }
148517
- const headers = new Headers2(init && init.headers);
148517
+ const headers = new Headers2(init2 && init2.headers);
148518
148518
  if (!headers.has("content-type")) {
148519
148519
  headers.set("content-type", "application/json");
148520
148520
  }
148521
148521
  return new Response22(body, {
148522
- ...init,
148522
+ ...init2,
148523
148523
  headers
148524
148524
  });
148525
148525
  }
@@ -148565,7 +148565,7 @@ var doBadDataWarn2 = deprecate22(
148565
148565
  "https://github.com/node-fetch/node-fetch/issues/1000 (request)"
148566
148566
  );
148567
148567
  var Request22 = class extends Body2 {
148568
- constructor(input, init = {}) {
148568
+ constructor(input, init2 = {}) {
148569
148569
  let parsedURL;
148570
148570
  if (isRequest2(input)) {
148571
148571
  parsedURL = new URL(input.url);
@@ -148576,21 +148576,21 @@ var Request22 = class extends Body2 {
148576
148576
  if (parsedURL.username !== "" || parsedURL.password !== "") {
148577
148577
  throw new TypeError(`${parsedURL} is an url with embedded credentials.`);
148578
148578
  }
148579
- let method = init.method || input.method || "GET";
148579
+ let method = init2.method || input.method || "GET";
148580
148580
  if (/^(delete|get|head|options|post|put)$/i.test(method)) {
148581
148581
  method = method.toUpperCase();
148582
148582
  }
148583
- if (!isRequest2(init) && "data" in init) {
148583
+ if (!isRequest2(init2) && "data" in init2) {
148584
148584
  doBadDataWarn2();
148585
148585
  }
148586
- if ((init.body != null || isRequest2(input) && input.body !== null) && (method === "GET" || method === "HEAD")) {
148586
+ if ((init2.body != null || isRequest2(input) && input.body !== null) && (method === "GET" || method === "HEAD")) {
148587
148587
  throw new TypeError("Request with GET/HEAD method cannot have body");
148588
148588
  }
148589
- const inputBody = init.body ? init.body : isRequest2(input) && input.body !== null ? clone2(input) : null;
148589
+ const inputBody = init2.body ? init2.body : isRequest2(input) && input.body !== null ? clone2(input) : null;
148590
148590
  super(inputBody, {
148591
- size: init.size || input.size || 0
148591
+ size: init2.size || input.size || 0
148592
148592
  });
148593
- const headers = new Headers2(init.headers || input.headers || {});
148593
+ const headers = new Headers2(init2.headers || input.headers || {});
148594
148594
  if (inputBody !== null && !headers.has("Content-Type")) {
148595
148595
  const contentType = extractContentType2(inputBody, this);
148596
148596
  if (contentType) {
@@ -148598,13 +148598,13 @@ var Request22 = class extends Body2 {
148598
148598
  }
148599
148599
  }
148600
148600
  let signal = isRequest2(input) ? input.signal : null;
148601
- if ("signal" in init) {
148602
- signal = init.signal;
148601
+ if ("signal" in init2) {
148602
+ signal = init2.signal;
148603
148603
  }
148604
148604
  if (signal != null && !isAbortSignal2(signal)) {
148605
148605
  throw new TypeError("Expected signal to be an instanceof AbortSignal or EventTarget");
148606
148606
  }
148607
- let referrer = init.referrer == null ? input.referrer : init.referrer;
148607
+ let referrer = init2.referrer == null ? input.referrer : init2.referrer;
148608
148608
  if (referrer === "") {
148609
148609
  referrer = "no-referrer";
148610
148610
  } else if (referrer) {
@@ -148615,19 +148615,19 @@ var Request22 = class extends Body2 {
148615
148615
  }
148616
148616
  this[INTERNALS32] = {
148617
148617
  method,
148618
- redirect: init.redirect || input.redirect || "follow",
148618
+ redirect: init2.redirect || input.redirect || "follow",
148619
148619
  headers,
148620
148620
  parsedURL,
148621
148621
  signal,
148622
148622
  referrer
148623
148623
  };
148624
- this.follow = init.follow === void 0 ? input.follow === void 0 ? 20 : input.follow : init.follow;
148625
- this.compress = init.compress === void 0 ? input.compress === void 0 ? true : input.compress : init.compress;
148626
- this.counter = init.counter || input.counter || 0;
148627
- this.agent = init.agent || input.agent;
148628
- this.highWaterMark = init.highWaterMark || input.highWaterMark || 16384;
148629
- this.insecureHTTPParser = init.insecureHTTPParser || input.insecureHTTPParser || false;
148630
- this.referrerPolicy = init.referrerPolicy || input.referrerPolicy || "";
148624
+ this.follow = init2.follow === void 0 ? input.follow === void 0 ? 20 : input.follow : init2.follow;
148625
+ this.compress = init2.compress === void 0 ? input.compress === void 0 ? true : input.compress : init2.compress;
148626
+ this.counter = init2.counter || input.counter || 0;
148627
+ this.agent = init2.agent || input.agent;
148628
+ this.highWaterMark = init2.highWaterMark || input.highWaterMark || 16384;
148629
+ this.insecureHTTPParser = init2.insecureHTTPParser || input.insecureHTTPParser || false;
148630
+ this.referrerPolicy = init2.referrerPolicy || input.referrerPolicy || "";
148631
148631
  }
148632
148632
  get method() {
148633
148633
  return this[INTERNALS32].method;
@@ -151494,6 +151494,53 @@ For more information, please visit these links:
151494
151494
  - https://graphql.org/learn/global-object-identification/
151495
151495
  - ${siteURL}/guides/caching-data#custom-ids
151496
151496
  `;
151497
+ var FORCE_COLOR;
151498
+ var NODE_DISABLE_COLORS;
151499
+ var NO_COLOR;
151500
+ var TERM;
151501
+ var isTTY = true;
151502
+ if (typeof process !== "undefined") {
151503
+ ({ FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM } = process.env || {});
151504
+ isTTY = process.stdout && process.stdout.isTTY;
151505
+ }
151506
+ var $ = {
151507
+ enabled: !NODE_DISABLE_COLORS && NO_COLOR == null && TERM !== "dumb" && (FORCE_COLOR != null && FORCE_COLOR !== "0" || isTTY)
151508
+ };
151509
+ function init(x22, y) {
151510
+ let rgx = new RegExp(`\\x1b\\[${y}m`, "g");
151511
+ let open = `\x1B[${x22}m`, close = `\x1B[${y}m`;
151512
+ return function(txt) {
151513
+ if (!$.enabled || txt == null)
151514
+ return txt;
151515
+ return open + (!!~("" + txt).indexOf(close) ? txt.replace(rgx, close + open) : txt) + close;
151516
+ };
151517
+ }
151518
+ var reset6 = init(0, 0);
151519
+ var bold6 = init(1, 22);
151520
+ var dim6 = init(2, 22);
151521
+ var italic6 = init(3, 23);
151522
+ var underline6 = init(4, 24);
151523
+ var inverse6 = init(7, 27);
151524
+ var hidden6 = init(8, 28);
151525
+ var strikethrough6 = init(9, 29);
151526
+ var black6 = init(30, 39);
151527
+ var red6 = init(31, 39);
151528
+ var green6 = init(32, 39);
151529
+ var yellow6 = init(33, 39);
151530
+ var blue6 = init(34, 39);
151531
+ var magenta6 = init(35, 39);
151532
+ var cyan6 = init(36, 39);
151533
+ var white6 = init(37, 39);
151534
+ var gray6 = init(90, 39);
151535
+ var grey = init(90, 39);
151536
+ var bgBlack6 = init(40, 49);
151537
+ var bgRed6 = init(41, 49);
151538
+ var bgGreen6 = init(42, 49);
151539
+ var bgYellow6 = init(43, 49);
151540
+ var bgBlue6 = init(44, 49);
151541
+ var bgMagenta6 = init(45, 49);
151542
+ var bgCyan6 = init(46, 49);
151543
+ var bgWhite6 = init(47, 49);
151497
151544
  var recast14 = __toESM3(require_main22(), 1);
151498
151545
  var AST15 = recast14.types.builders;
151499
151546
  function find_insert_index(script) {
@@ -151522,21 +151569,21 @@ function find_exported_fn(body, name) {
151522
151569
  continue;
151523
151570
  }
151524
151571
  const declaration = value.declarations[0];
151525
- let { init } = declaration;
151526
- if (!init) {
151572
+ let { init: init2 } = declaration;
151573
+ if (!init2) {
151527
151574
  continue;
151528
151575
  }
151529
- if (init.type === "TSSatisfiesExpression") {
151530
- init = init.expression;
151576
+ if (init2.type === "TSSatisfiesExpression") {
151577
+ init2 = init2.expression;
151531
151578
  }
151532
- if (init.type === "CallExpression" && init.arguments[0] && (init.arguments[0].type === "FunctionExpression" || init.arguments[0].type === "ArrowFunctionExpression")) {
151533
- init = init.arguments[0];
151579
+ if (init2.type === "CallExpression" && init2.arguments[0] && (init2.arguments[0].type === "FunctionExpression" || init2.arguments[0].type === "ArrowFunctionExpression")) {
151580
+ init2 = init2.arguments[0];
151534
151581
  }
151535
- if (init.type === "FunctionExpression" || init.type === "ArrowFunctionExpression") {
151536
- return { declaration: init, export: exportDeclaration };
151582
+ if (init2.type === "FunctionExpression" || init2.type === "ArrowFunctionExpression") {
151583
+ return { declaration: init2, export: exportDeclaration };
151537
151584
  }
151538
- if (init.type === "Identifier" || init.type === "CallExpression") {
151539
- return { declaration: init, export: exportDeclaration };
151585
+ if (init2.type === "Identifier" || init2.type === "CallExpression") {
151586
+ return { declaration: init2, export: exportDeclaration };
151540
151587
  }
151541
151588
  } else {
151542
151589
  continue;