houdini-svelte 2.1.19 → 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.
@@ -803,11 +803,11 @@ var require_types2 = __commonJS({
803
803
  }();
804
804
  exports.Def = Def;
805
805
  var Field = function() {
806
- function Field2(name, type, defaultFn, hidden6) {
806
+ function Field2(name, type, defaultFn, hidden7) {
807
807
  this.name = name;
808
808
  this.type = type;
809
809
  this.defaultFn = defaultFn;
810
- this.hidden = !!hidden6;
810
+ this.hidden = !!hidden7;
811
811
  }
812
812
  Field2.prototype.toString = function() {
813
813
  return JSON.stringify(this.name) + ": " + this.type;
@@ -1056,12 +1056,12 @@ var require_types2 = __commonJS({
1056
1056
  });
1057
1057
  return this;
1058
1058
  };
1059
- DefImpl2.prototype.field = function(name, type, defaultFn, hidden6) {
1059
+ DefImpl2.prototype.field = function(name, type, defaultFn, hidden7) {
1060
1060
  if (this.finalized) {
1061
1061
  console.error("Ignoring attempt to redefine field " + JSON.stringify(name) + " of finalized type " + JSON.stringify(this.typeName));
1062
1062
  return this;
1063
1063
  }
1064
- this.ownFields[name] = new Field(name, Type.from(type), defaultFn, hidden6);
1064
+ this.ownFields[name] = new Field(name, Type.from(type), defaultFn, hidden7);
1065
1065
  return this;
1066
1066
  };
1067
1067
  DefImpl2.prototype.finalize = function() {
@@ -1662,13 +1662,13 @@ var require_scope2 = __commonJS({
1662
1662
  var name = prefix + index;
1663
1663
  return this.bindings[name] = types12.builders.identifier(name);
1664
1664
  };
1665
- Sp.injectTemporary = function(identifier, init) {
1665
+ Sp.injectTemporary = function(identifier, init2) {
1666
1666
  identifier || (identifier = this.declareTemporary());
1667
1667
  var bodyPath = this.path.get("body");
1668
1668
  if (namedTypes.BlockStatement.check(bodyPath.value)) {
1669
1669
  bodyPath = bodyPath.get("body");
1670
1670
  }
1671
- bodyPath.unshift(b.variableDeclaration("var", [b.variableDeclarator(identifier, init || null)]));
1671
+ bodyPath.unshift(b.variableDeclaration("var", [b.variableDeclarator(identifier, init2 || null)]));
1672
1672
  return identifier;
1673
1673
  };
1674
1674
  Sp.scan = function(force) {
@@ -2441,7 +2441,7 @@ var require_path_visitor2 = __commonJS({
2441
2441
  return Context;
2442
2442
  }
2443
2443
  var sharedContextProtoMethods = /* @__PURE__ */ Object.create(null);
2444
- sharedContextProtoMethods.reset = function reset6(path5) {
2444
+ sharedContextProtoMethods.reset = function reset7(path5) {
2445
2445
  if (!(this instanceof this.Context)) {
2446
2446
  throw new Error("");
2447
2447
  }
@@ -7228,9 +7228,9 @@ var require_esprima5 = __commonJS({
7228
7228
  }();
7229
7229
  exports2.ForOfStatement = ForOfStatement;
7230
7230
  var ForStatement = function() {
7231
- function ForStatement2(init, test, update, body) {
7231
+ function ForStatement2(init2, test, update, body) {
7232
7232
  this.type = syntax_1.Syntax.ForStatement;
7233
- this.init = init;
7233
+ this.init = init2;
7234
7234
  this.test = test;
7235
7235
  this.update = update;
7236
7236
  this.body = body;
@@ -7570,10 +7570,10 @@ var require_esprima5 = __commonJS({
7570
7570
  }();
7571
7571
  exports2.VariableDeclaration = VariableDeclaration;
7572
7572
  var VariableDeclarator = function() {
7573
- function VariableDeclarator2(id, init) {
7573
+ function VariableDeclarator2(id, init2) {
7574
7574
  this.type = syntax_1.Syntax.VariableDeclarator;
7575
7575
  this.id = id;
7576
- this.init = init;
7576
+ this.init = init2;
7577
7577
  }
7578
7578
  return VariableDeclarator2;
7579
7579
  }();
@@ -8278,8 +8278,8 @@ var require_esprima5 = __commonJS({
8278
8278
  this.context.firstCoverInitializedNameError = this.lookahead;
8279
8279
  this.nextToken();
8280
8280
  shorthand = true;
8281
- var init = this.isolateCoverGrammar(this.parseAssignmentExpression);
8282
- value = this.finalize(node, new Node.AssignmentPattern(id, init));
8281
+ var init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
8282
+ value = this.finalize(node, new Node.AssignmentPattern(id, init2));
8283
8283
  } else {
8284
8284
  shorthand = true;
8285
8285
  value = id;
@@ -9057,21 +9057,21 @@ var require_esprima5 = __commonJS({
9057
9057
  this.tolerateError(messages_1.Messages.StrictVarName);
9058
9058
  }
9059
9059
  }
9060
- var init = null;
9060
+ var init2 = null;
9061
9061
  if (kind === "const") {
9062
9062
  if (!this.matchKeyword("in") && !this.matchContextualKeyword("of")) {
9063
9063
  if (this.match("=")) {
9064
9064
  this.nextToken();
9065
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
9065
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
9066
9066
  } else {
9067
9067
  this.throwError(messages_1.Messages.DeclarationMissingInitializer, "const");
9068
9068
  }
9069
9069
  }
9070
9070
  } else if (!options.inFor && id.type !== syntax_1.Syntax.Identifier || this.match("=")) {
9071
9071
  this.expect("=");
9072
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
9072
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
9073
9073
  }
9074
- return this.finalize(node, new Node.VariableDeclarator(id, init));
9074
+ return this.finalize(node, new Node.VariableDeclarator(id, init2));
9075
9075
  };
9076
9076
  Parser2.prototype.parseBindingList = function(kind, options) {
9077
9077
  var list = [this.parseLexicalBinding(kind, options)];
@@ -9135,17 +9135,17 @@ var require_esprima5 = __commonJS({
9135
9135
  if (this.lookahead.type === 3) {
9136
9136
  var keyToken = this.lookahead;
9137
9137
  key = this.parseVariableIdentifier();
9138
- var init = this.finalize(node, new Node.Identifier(keyToken.value));
9138
+ var init2 = this.finalize(node, new Node.Identifier(keyToken.value));
9139
9139
  if (this.match("=")) {
9140
9140
  params.push(keyToken);
9141
9141
  shorthand = true;
9142
9142
  this.nextToken();
9143
9143
  var expr = this.parseAssignmentExpression();
9144
- value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init, expr));
9144
+ value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init2, expr));
9145
9145
  } else if (!this.match(":")) {
9146
9146
  params.push(keyToken);
9147
9147
  shorthand = true;
9148
- value = init;
9148
+ value = init2;
9149
9149
  } else {
9150
9150
  this.expect(":");
9151
9151
  value = this.parsePatternWithDefault(params, kind);
@@ -9230,14 +9230,14 @@ var require_esprima5 = __commonJS({
9230
9230
  this.tolerateError(messages_1.Messages.StrictVarName);
9231
9231
  }
9232
9232
  }
9233
- var init = null;
9233
+ var init2 = null;
9234
9234
  if (this.match("=")) {
9235
9235
  this.nextToken();
9236
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
9236
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
9237
9237
  } else if (id.type !== syntax_1.Syntax.Identifier && !options.inFor) {
9238
9238
  this.expect("=");
9239
9239
  }
9240
- return this.finalize(node, new Node.VariableDeclarator(id, init));
9240
+ return this.finalize(node, new Node.VariableDeclarator(id, init2));
9241
9241
  };
9242
9242
  Parser2.prototype.parseVariableDeclarationList = function(options) {
9243
9243
  var opt = { inFor: options.inFor };
@@ -9332,7 +9332,7 @@ var require_esprima5 = __commonJS({
9332
9332
  return this.finalize(node, new Node.WhileStatement(test, body));
9333
9333
  };
9334
9334
  Parser2.prototype.parseForStatement = function() {
9335
- var init = null;
9335
+ var init2 = null;
9336
9336
  var test = null;
9337
9337
  var update = null;
9338
9338
  var forIn = true;
@@ -9344,7 +9344,7 @@ var require_esprima5 = __commonJS({
9344
9344
  this.nextToken();
9345
9345
  } else {
9346
9346
  if (this.matchKeyword("var")) {
9347
- init = this.createNode();
9347
+ init2 = this.createNode();
9348
9348
  this.nextToken();
9349
9349
  var previousAllowIn = this.context.allowIn;
9350
9350
  this.context.allowIn = false;
@@ -9355,87 +9355,87 @@ var require_esprima5 = __commonJS({
9355
9355
  if (decl.init && (decl.id.type === syntax_1.Syntax.ArrayPattern || decl.id.type === syntax_1.Syntax.ObjectPattern || this.context.strict)) {
9356
9356
  this.tolerateError(messages_1.Messages.ForInOfLoopInitializer, "for-in");
9357
9357
  }
9358
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
9358
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
9359
9359
  this.nextToken();
9360
- left = init;
9360
+ left = init2;
9361
9361
  right = this.parseExpression();
9362
- init = null;
9362
+ init2 = null;
9363
9363
  } else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of")) {
9364
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
9364
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
9365
9365
  this.nextToken();
9366
- left = init;
9366
+ left = init2;
9367
9367
  right = this.parseAssignmentExpression();
9368
- init = null;
9368
+ init2 = null;
9369
9369
  forIn = false;
9370
9370
  } else {
9371
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
9371
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
9372
9372
  this.expect(";");
9373
9373
  }
9374
9374
  } else if (this.matchKeyword("const") || this.matchKeyword("let")) {
9375
- init = this.createNode();
9375
+ init2 = this.createNode();
9376
9376
  var kind = this.nextToken().value;
9377
9377
  if (!this.context.strict && this.lookahead.value === "in") {
9378
- init = this.finalize(init, new Node.Identifier(kind));
9378
+ init2 = this.finalize(init2, new Node.Identifier(kind));
9379
9379
  this.nextToken();
9380
- left = init;
9380
+ left = init2;
9381
9381
  right = this.parseExpression();
9382
- init = null;
9382
+ init2 = null;
9383
9383
  } else {
9384
9384
  var previousAllowIn = this.context.allowIn;
9385
9385
  this.context.allowIn = false;
9386
9386
  var declarations = this.parseBindingList(kind, { inFor: true });
9387
9387
  this.context.allowIn = previousAllowIn;
9388
9388
  if (declarations.length === 1 && declarations[0].init === null && this.matchKeyword("in")) {
9389
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
9389
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
9390
9390
  this.nextToken();
9391
- left = init;
9391
+ left = init2;
9392
9392
  right = this.parseExpression();
9393
- init = null;
9393
+ init2 = null;
9394
9394
  } else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of")) {
9395
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
9395
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
9396
9396
  this.nextToken();
9397
- left = init;
9397
+ left = init2;
9398
9398
  right = this.parseAssignmentExpression();
9399
- init = null;
9399
+ init2 = null;
9400
9400
  forIn = false;
9401
9401
  } else {
9402
9402
  this.consumeSemicolon();
9403
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
9403
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
9404
9404
  }
9405
9405
  }
9406
9406
  } else {
9407
9407
  var initStartToken = this.lookahead;
9408
9408
  var previousAllowIn = this.context.allowIn;
9409
9409
  this.context.allowIn = false;
9410
- init = this.inheritCoverGrammar(this.parseAssignmentExpression);
9410
+ init2 = this.inheritCoverGrammar(this.parseAssignmentExpression);
9411
9411
  this.context.allowIn = previousAllowIn;
9412
9412
  if (this.matchKeyword("in")) {
9413
- if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
9413
+ if (!this.context.isAssignmentTarget || init2.type === syntax_1.Syntax.AssignmentExpression) {
9414
9414
  this.tolerateError(messages_1.Messages.InvalidLHSInForIn);
9415
9415
  }
9416
9416
  this.nextToken();
9417
- this.reinterpretExpressionAsPattern(init);
9418
- left = init;
9417
+ this.reinterpretExpressionAsPattern(init2);
9418
+ left = init2;
9419
9419
  right = this.parseExpression();
9420
- init = null;
9420
+ init2 = null;
9421
9421
  } else if (this.matchContextualKeyword("of")) {
9422
- if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
9422
+ if (!this.context.isAssignmentTarget || init2.type === syntax_1.Syntax.AssignmentExpression) {
9423
9423
  this.tolerateError(messages_1.Messages.InvalidLHSInForLoop);
9424
9424
  }
9425
9425
  this.nextToken();
9426
- this.reinterpretExpressionAsPattern(init);
9427
- left = init;
9426
+ this.reinterpretExpressionAsPattern(init2);
9427
+ left = init2;
9428
9428
  right = this.parseAssignmentExpression();
9429
- init = null;
9429
+ init2 = null;
9430
9430
  forIn = false;
9431
9431
  } else {
9432
9432
  if (this.match(",")) {
9433
- var initSeq = [init];
9433
+ var initSeq = [init2];
9434
9434
  while (this.match(",")) {
9435
9435
  this.nextToken();
9436
9436
  initSeq.push(this.isolateCoverGrammar(this.parseAssignmentExpression));
9437
9437
  }
9438
- init = this.finalize(this.startNode(initStartToken), new Node.SequenceExpression(initSeq));
9438
+ init2 = this.finalize(this.startNode(initStartToken), new Node.SequenceExpression(initSeq));
9439
9439
  }
9440
9440
  this.expect(";");
9441
9441
  }
@@ -9461,7 +9461,7 @@ var require_esprima5 = __commonJS({
9461
9461
  body = this.isolateCoverGrammar(this.parseStatement);
9462
9462
  this.context.inIteration = previousInIteration;
9463
9463
  }
9464
- 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));
9464
+ 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));
9465
9465
  };
9466
9466
  Parser2.prototype.parseContinueStatement = function() {
9467
9467
  var node = this.createNode();
@@ -14852,10 +14852,10 @@ var require_printer2 = __commonJS({
14852
14852
  return (0, lines_1.concat)(parts);
14853
14853
  }
14854
14854
  case "ForStatement": {
14855
- var init = path5.call(print13, "init");
14856
- var sep4 = init.length > 1 ? ";\n" : "; ";
14855
+ var init2 = path5.call(print13, "init");
14856
+ var sep4 = init2.length > 1 ? ";\n" : "; ";
14857
14857
  var forParen = "for (";
14858
- var indented = (0, lines_1.fromString)(sep4).join([init, path5.call(print13, "test"), path5.call(print13, "update")]).indentTail(forParen.length);
14858
+ var indented = (0, lines_1.fromString)(sep4).join([init2, path5.call(print13, "test"), path5.call(print13, "update")]).indentTail(forParen.length);
14859
14859
  var head = (0, lines_1.concat)([forParen, indented, ")"]);
14860
14860
  var clause = adjustClause(path5.call(print13, "body"), options);
14861
14861
  parts.push(head);
@@ -24571,10 +24571,10 @@ var require_ponyfill_es2018 = __commonJS2({
24571
24571
  }
24572
24572
  return size;
24573
24573
  }
24574
- function convertQueuingStrategy(init, context) {
24575
- assertDictionary(init, context);
24576
- const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;
24577
- const size = init === null || init === void 0 ? void 0 : init.size;
24574
+ function convertQueuingStrategy(init2, context) {
24575
+ assertDictionary(init2, context);
24576
+ const highWaterMark = init2 === null || init2 === void 0 ? void 0 : init2.highWaterMark;
24577
+ const size = init2 === null || init2 === void 0 ? void 0 : init2.size;
24578
24578
  return {
24579
24579
  highWaterMark: highWaterMark === void 0 ? void 0 : convertUnrestrictedDouble(highWaterMark),
24580
24580
  size: size === void 0 ? void 0 : convertQueuingStrategySize(size, `${context} has member 'size' that`)
@@ -26426,9 +26426,9 @@ var require_ponyfill_es2018 = __commonJS2({
26426
26426
  function streamBrandCheckException$1(name) {
26427
26427
  return new TypeError(`ReadableStream.prototype.${name} can only be used on a ReadableStream`);
26428
26428
  }
26429
- function convertQueuingStrategyInit(init, context) {
26430
- assertDictionary(init, context);
26431
- const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;
26429
+ function convertQueuingStrategyInit(init2, context) {
26430
+ assertDictionary(init2, context);
26431
+ const highWaterMark = init2 === null || init2 === void 0 ? void 0 : init2.highWaterMark;
26432
26432
  assertRequiredField(highWaterMark, "highWaterMark", "QueuingStrategyInit");
26433
26433
  return {
26434
26434
  highWaterMark: convertUnrestrictedDouble(highWaterMark)
@@ -35596,10 +35596,10 @@ var require_generated2 = __commonJS2({
35596
35596
  body
35597
35597
  });
35598
35598
  }
35599
- function forStatement(init = null, test = null, update = null, body) {
35599
+ function forStatement(init2 = null, test = null, update = null, body) {
35600
35600
  return (0, _validateNode.default)({
35601
35601
  type: "ForStatement",
35602
- init,
35602
+ init: init2,
35603
35603
  test,
35604
35604
  update,
35605
35605
  body
@@ -35817,11 +35817,11 @@ var require_generated2 = __commonJS2({
35817
35817
  declarations
35818
35818
  });
35819
35819
  }
35820
- function variableDeclarator(id, init = null) {
35820
+ function variableDeclarator(id, init2 = null) {
35821
35821
  return (0, _validateNode.default)({
35822
35822
  type: "VariableDeclarator",
35823
35823
  id,
35824
- init
35824
+ init: init2
35825
35825
  });
35826
35826
  }
35827
35827
  function whileStatement(test, body) {
@@ -36523,18 +36523,18 @@ var require_generated2 = __commonJS2({
36523
36523
  init: null
36524
36524
  });
36525
36525
  }
36526
- function enumNumberMember(id, init) {
36526
+ function enumNumberMember(id, init2) {
36527
36527
  return (0, _validateNode.default)({
36528
36528
  type: "EnumNumberMember",
36529
36529
  id,
36530
- init
36530
+ init: init2
36531
36531
  });
36532
36532
  }
36533
- function enumStringMember(id, init) {
36533
+ function enumStringMember(id, init2) {
36534
36534
  return (0, _validateNode.default)({
36535
36535
  type: "EnumStringMember",
36536
36536
  id,
36537
- init
36537
+ init: init2
36538
36538
  });
36539
36539
  }
36540
36540
  function enumDefaultedMember(id) {
@@ -48240,13 +48240,13 @@ var require_lib6 = __commonJS2({
48240
48240
  flowEnumMemberRaw() {
48241
48241
  const loc = this.state.startLoc;
48242
48242
  const id = this.parseIdentifier(true);
48243
- const init = this.eat(29) ? this.flowEnumMemberInit() : {
48243
+ const init2 = this.eat(29) ? this.flowEnumMemberInit() : {
48244
48244
  type: "none",
48245
48245
  loc
48246
48246
  };
48247
48247
  return {
48248
48248
  id,
48249
- init
48249
+ init: init2
48250
48250
  };
48251
48251
  }
48252
48252
  flowEnumCheckExplicitTypeMismatch(loc, context, expectedType) {
@@ -48280,7 +48280,7 @@ var require_lib6 = __commonJS2({
48280
48280
  const memberNode = this.startNode();
48281
48281
  const {
48282
48282
  id,
48283
- init
48283
+ init: init2
48284
48284
  } = this.flowEnumMemberRaw();
48285
48285
  const memberName = id.name;
48286
48286
  if (memberName === "") {
@@ -48306,35 +48306,35 @@ var require_lib6 = __commonJS2({
48306
48306
  memberName
48307
48307
  };
48308
48308
  memberNode.id = id;
48309
- switch (init.type) {
48309
+ switch (init2.type) {
48310
48310
  case "boolean": {
48311
- this.flowEnumCheckExplicitTypeMismatch(init.loc, context, "boolean");
48312
- memberNode.init = init.value;
48311
+ this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "boolean");
48312
+ memberNode.init = init2.value;
48313
48313
  members.booleanMembers.push(this.finishNode(memberNode, "EnumBooleanMember"));
48314
48314
  break;
48315
48315
  }
48316
48316
  case "number": {
48317
- this.flowEnumCheckExplicitTypeMismatch(init.loc, context, "number");
48318
- memberNode.init = init.value;
48317
+ this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "number");
48318
+ memberNode.init = init2.value;
48319
48319
  members.numberMembers.push(this.finishNode(memberNode, "EnumNumberMember"));
48320
48320
  break;
48321
48321
  }
48322
48322
  case "string": {
48323
- this.flowEnumCheckExplicitTypeMismatch(init.loc, context, "string");
48324
- memberNode.init = init.value;
48323
+ this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "string");
48324
+ memberNode.init = init2.value;
48325
48325
  members.stringMembers.push(this.finishNode(memberNode, "EnumStringMember"));
48326
48326
  break;
48327
48327
  }
48328
48328
  case "invalid": {
48329
- throw this.flowEnumErrorInvalidMemberInitializer(init.loc, context);
48329
+ throw this.flowEnumErrorInvalidMemberInitializer(init2.loc, context);
48330
48330
  }
48331
48331
  case "none": {
48332
48332
  switch (explicitType) {
48333
48333
  case "boolean":
48334
- this.flowEnumErrorBooleanMemberNotInitialized(init.loc, context);
48334
+ this.flowEnumErrorBooleanMemberNotInitialized(init2.loc, context);
48335
48335
  break;
48336
48336
  case "number":
48337
- this.flowEnumErrorNumberMemberNotInitialized(init.loc, context);
48337
+ this.flowEnumErrorNumberMemberNotInitialized(init2.loc, context);
48338
48338
  break;
48339
48339
  default:
48340
48340
  members.defaultedMembers.push(this.finishNode(memberNode, "EnumDefaultedMember"));
@@ -51435,14 +51435,14 @@ var require_lib6 = __commonJS2({
51435
51435
  return declaration;
51436
51436
  for (const {
51437
51437
  id,
51438
- init
51438
+ init: init2
51439
51439
  } of declaration.declarations) {
51440
- if (!init)
51440
+ if (!init2)
51441
51441
  continue;
51442
51442
  if (kind !== "const" || !!id.typeAnnotation) {
51443
- this.raise(TSErrors.InitializerNotAllowedInAmbientContext, init);
51444
- } else if (!isValidAmbientConstInitializer(init, this.hasPlugin("estree"))) {
51445
- this.raise(TSErrors.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, init);
51443
+ this.raise(TSErrors.InitializerNotAllowedInAmbientContext, init2);
51444
+ } else if (!isValidAmbientConstInitializer(init2, this.hasPlugin("estree"))) {
51445
+ this.raise(TSErrors.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, init2);
51446
51446
  }
51447
51447
  }
51448
51448
  return declaration;
@@ -54922,49 +54922,49 @@ var require_lib6 = __commonJS2({
54922
54922
  }
54923
54923
  this.next();
54924
54924
  this.parseVar(initNode, true, kind);
54925
- const init2 = this.finishNode(initNode, "VariableDeclaration");
54925
+ const init22 = this.finishNode(initNode, "VariableDeclaration");
54926
54926
  const isForIn = this.match(58);
54927
54927
  if (isForIn && starsWithUsingDeclaration) {
54928
- this.raise(Errors.ForInUsing, init2);
54928
+ this.raise(Errors.ForInUsing, init22);
54929
54929
  }
54930
- if ((isForIn || this.isContextual(102)) && init2.declarations.length === 1) {
54931
- return this.parseForIn(node, init2, awaitAt);
54930
+ if ((isForIn || this.isContextual(102)) && init22.declarations.length === 1) {
54931
+ return this.parseForIn(node, init22, awaitAt);
54932
54932
  }
54933
54933
  if (awaitAt !== null) {
54934
54934
  this.unexpected(awaitAt);
54935
54935
  }
54936
- return this.parseFor(node, init2);
54936
+ return this.parseFor(node, init22);
54937
54937
  }
54938
54938
  }
54939
54939
  const startsWithAsync = this.isContextual(95);
54940
54940
  const refExpressionErrors = new ExpressionErrors();
54941
- const init = this.parseExpression(true, refExpressionErrors);
54941
+ const init2 = this.parseExpression(true, refExpressionErrors);
54942
54942
  const isForOf = this.isContextual(102);
54943
54943
  if (isForOf) {
54944
54944
  if (startsWithLet) {
54945
- this.raise(Errors.ForOfLet, init);
54945
+ this.raise(Errors.ForOfLet, init2);
54946
54946
  }
54947
- if (awaitAt === null && startsWithAsync && init.type === "Identifier") {
54948
- this.raise(Errors.ForOfAsync, init);
54947
+ if (awaitAt === null && startsWithAsync && init2.type === "Identifier") {
54948
+ this.raise(Errors.ForOfAsync, init2);
54949
54949
  }
54950
54950
  }
54951
54951
  if (isForOf || this.match(58)) {
54952
54952
  this.checkDestructuringPrivate(refExpressionErrors);
54953
- this.toAssignable(init, true);
54953
+ this.toAssignable(init2, true);
54954
54954
  const type = isForOf ? "ForOfStatement" : "ForInStatement";
54955
- this.checkLVal(init, {
54955
+ this.checkLVal(init2, {
54956
54956
  in: {
54957
54957
  type
54958
54958
  }
54959
54959
  });
54960
- return this.parseForIn(node, init, awaitAt);
54960
+ return this.parseForIn(node, init2, awaitAt);
54961
54961
  } else {
54962
54962
  this.checkExpressionErrors(refExpressionErrors, true);
54963
54963
  }
54964
54964
  if (awaitAt !== null) {
54965
54965
  this.unexpected(awaitAt);
54966
54966
  }
54967
- return this.parseFor(node, init);
54967
+ return this.parseFor(node, init2);
54968
54968
  }
54969
54969
  parseFunctionStatement(node, isAsync, isHangingDeclaration) {
54970
54970
  this.next();
@@ -55186,8 +55186,8 @@ var require_lib6 = __commonJS2({
55186
55186
  }
55187
55187
  this.next();
55188
55188
  }
55189
- parseFor(node, init) {
55190
- node.init = init;
55189
+ parseFor(node, init2) {
55190
+ node.init = init2;
55191
55191
  this.semicolon(false);
55192
55192
  node.test = this.match(13) ? null : this.parseExpression();
55193
55193
  this.semicolon(false);
@@ -55198,7 +55198,7 @@ var require_lib6 = __commonJS2({
55198
55198
  this.state.labels.pop();
55199
55199
  return this.finishNode(node, "ForStatement");
55200
55200
  }
55201
- parseForIn(node, init, awaitAt) {
55201
+ parseForIn(node, init2, awaitAt) {
55202
55202
  const isForIn = this.match(58);
55203
55203
  this.next();
55204
55204
  if (isForIn) {
@@ -55207,19 +55207,19 @@ var require_lib6 = __commonJS2({
55207
55207
  } else {
55208
55208
  node.await = awaitAt !== null;
55209
55209
  }
55210
- 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")) {
55211
- this.raise(Errors.ForInOfLoopInitializer, init, {
55210
+ 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")) {
55211
+ this.raise(Errors.ForInOfLoopInitializer, init2, {
55212
55212
  type: isForIn ? "ForInStatement" : "ForOfStatement"
55213
55213
  });
55214
55214
  }
55215
- if (init.type === "AssignmentPattern") {
55216
- this.raise(Errors.InvalidLhs, init, {
55215
+ if (init2.type === "AssignmentPattern") {
55216
+ this.raise(Errors.InvalidLhs, init2, {
55217
55217
  ancestor: {
55218
55218
  type: "ForStatement"
55219
55219
  }
55220
55220
  });
55221
55221
  }
55222
- node.left = init;
55222
+ node.left = init2;
55223
55223
  node.right = isForIn ? this.parseExpression() : this.parseMaybeAssignAllowIn();
55224
55224
  this.expect(11);
55225
55225
  node.body = this.withSmartMixTopicForbiddingContext(() => this.parseStatement());
@@ -58018,13 +58018,13 @@ var require_scope = __commonJS2({
58018
58018
  var name = prefix + index;
58019
58019
  return this.bindings[name] = types62.builders.identifier(name);
58020
58020
  };
58021
- Sp.injectTemporary = function(identifier, init) {
58021
+ Sp.injectTemporary = function(identifier, init2) {
58022
58022
  identifier || (identifier = this.declareTemporary());
58023
58023
  var bodyPath = this.path.get("body");
58024
58024
  if (namedTypes.BlockStatement.check(bodyPath.value)) {
58025
58025
  bodyPath = bodyPath.get("body");
58026
58026
  }
58027
- bodyPath.unshift(b.variableDeclaration("var", [b.variableDeclarator(identifier, init || null)]));
58027
+ bodyPath.unshift(b.variableDeclaration("var", [b.variableDeclarator(identifier, init2 || null)]));
58028
58028
  return identifier;
58029
58029
  };
58030
58030
  Sp.scan = function(force) {
@@ -63504,9 +63504,9 @@ var require_esprima2 = __commonJS2({
63504
63504
  }();
63505
63505
  exports2.ForOfStatement = ForOfStatement;
63506
63506
  var ForStatement = function() {
63507
- function ForStatement2(init, test, update, body) {
63507
+ function ForStatement2(init2, test, update, body) {
63508
63508
  this.type = syntax_1.Syntax.ForStatement;
63509
- this.init = init;
63509
+ this.init = init2;
63510
63510
  this.test = test;
63511
63511
  this.update = update;
63512
63512
  this.body = body;
@@ -63846,10 +63846,10 @@ var require_esprima2 = __commonJS2({
63846
63846
  }();
63847
63847
  exports2.VariableDeclaration = VariableDeclaration;
63848
63848
  var VariableDeclarator = function() {
63849
- function VariableDeclarator2(id, init) {
63849
+ function VariableDeclarator2(id, init2) {
63850
63850
  this.type = syntax_1.Syntax.VariableDeclarator;
63851
63851
  this.id = id;
63852
- this.init = init;
63852
+ this.init = init2;
63853
63853
  }
63854
63854
  return VariableDeclarator2;
63855
63855
  }();
@@ -64554,8 +64554,8 @@ var require_esprima2 = __commonJS2({
64554
64554
  this.context.firstCoverInitializedNameError = this.lookahead;
64555
64555
  this.nextToken();
64556
64556
  shorthand = true;
64557
- var init = this.isolateCoverGrammar(this.parseAssignmentExpression);
64558
- value = this.finalize(node, new Node.AssignmentPattern(id, init));
64557
+ var init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
64558
+ value = this.finalize(node, new Node.AssignmentPattern(id, init2));
64559
64559
  } else {
64560
64560
  shorthand = true;
64561
64561
  value = id;
@@ -65333,21 +65333,21 @@ var require_esprima2 = __commonJS2({
65333
65333
  this.tolerateError(messages_1.Messages.StrictVarName);
65334
65334
  }
65335
65335
  }
65336
- var init = null;
65336
+ var init2 = null;
65337
65337
  if (kind === "const") {
65338
65338
  if (!this.matchKeyword("in") && !this.matchContextualKeyword("of")) {
65339
65339
  if (this.match("=")) {
65340
65340
  this.nextToken();
65341
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
65341
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
65342
65342
  } else {
65343
65343
  this.throwError(messages_1.Messages.DeclarationMissingInitializer, "const");
65344
65344
  }
65345
65345
  }
65346
65346
  } else if (!options.inFor && id.type !== syntax_1.Syntax.Identifier || this.match("=")) {
65347
65347
  this.expect("=");
65348
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
65348
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
65349
65349
  }
65350
- return this.finalize(node, new Node.VariableDeclarator(id, init));
65350
+ return this.finalize(node, new Node.VariableDeclarator(id, init2));
65351
65351
  };
65352
65352
  Parser2.prototype.parseBindingList = function(kind, options) {
65353
65353
  var list = [this.parseLexicalBinding(kind, options)];
@@ -65411,17 +65411,17 @@ var require_esprima2 = __commonJS2({
65411
65411
  if (this.lookahead.type === 3) {
65412
65412
  var keyToken = this.lookahead;
65413
65413
  key = this.parseVariableIdentifier();
65414
- var init = this.finalize(node, new Node.Identifier(keyToken.value));
65414
+ var init2 = this.finalize(node, new Node.Identifier(keyToken.value));
65415
65415
  if (this.match("=")) {
65416
65416
  params.push(keyToken);
65417
65417
  shorthand = true;
65418
65418
  this.nextToken();
65419
65419
  var expr = this.parseAssignmentExpression();
65420
- value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init, expr));
65420
+ value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init2, expr));
65421
65421
  } else if (!this.match(":")) {
65422
65422
  params.push(keyToken);
65423
65423
  shorthand = true;
65424
- value = init;
65424
+ value = init2;
65425
65425
  } else {
65426
65426
  this.expect(":");
65427
65427
  value = this.parsePatternWithDefault(params, kind);
@@ -65506,14 +65506,14 @@ var require_esprima2 = __commonJS2({
65506
65506
  this.tolerateError(messages_1.Messages.StrictVarName);
65507
65507
  }
65508
65508
  }
65509
- var init = null;
65509
+ var init2 = null;
65510
65510
  if (this.match("=")) {
65511
65511
  this.nextToken();
65512
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
65512
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
65513
65513
  } else if (id.type !== syntax_1.Syntax.Identifier && !options.inFor) {
65514
65514
  this.expect("=");
65515
65515
  }
65516
- return this.finalize(node, new Node.VariableDeclarator(id, init));
65516
+ return this.finalize(node, new Node.VariableDeclarator(id, init2));
65517
65517
  };
65518
65518
  Parser2.prototype.parseVariableDeclarationList = function(options) {
65519
65519
  var opt = { inFor: options.inFor };
@@ -65608,7 +65608,7 @@ var require_esprima2 = __commonJS2({
65608
65608
  return this.finalize(node, new Node.WhileStatement(test, body));
65609
65609
  };
65610
65610
  Parser2.prototype.parseForStatement = function() {
65611
- var init = null;
65611
+ var init2 = null;
65612
65612
  var test = null;
65613
65613
  var update = null;
65614
65614
  var forIn = true;
@@ -65620,7 +65620,7 @@ var require_esprima2 = __commonJS2({
65620
65620
  this.nextToken();
65621
65621
  } else {
65622
65622
  if (this.matchKeyword("var")) {
65623
- init = this.createNode();
65623
+ init2 = this.createNode();
65624
65624
  this.nextToken();
65625
65625
  var previousAllowIn = this.context.allowIn;
65626
65626
  this.context.allowIn = false;
@@ -65631,87 +65631,87 @@ var require_esprima2 = __commonJS2({
65631
65631
  if (decl.init && (decl.id.type === syntax_1.Syntax.ArrayPattern || decl.id.type === syntax_1.Syntax.ObjectPattern || this.context.strict)) {
65632
65632
  this.tolerateError(messages_1.Messages.ForInOfLoopInitializer, "for-in");
65633
65633
  }
65634
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
65634
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
65635
65635
  this.nextToken();
65636
- left = init;
65636
+ left = init2;
65637
65637
  right = this.parseExpression();
65638
- init = null;
65638
+ init2 = null;
65639
65639
  } else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of")) {
65640
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
65640
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
65641
65641
  this.nextToken();
65642
- left = init;
65642
+ left = init2;
65643
65643
  right = this.parseAssignmentExpression();
65644
- init = null;
65644
+ init2 = null;
65645
65645
  forIn = false;
65646
65646
  } else {
65647
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
65647
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
65648
65648
  this.expect(";");
65649
65649
  }
65650
65650
  } else if (this.matchKeyword("const") || this.matchKeyword("let")) {
65651
- init = this.createNode();
65651
+ init2 = this.createNode();
65652
65652
  var kind = this.nextToken().value;
65653
65653
  if (!this.context.strict && this.lookahead.value === "in") {
65654
- init = this.finalize(init, new Node.Identifier(kind));
65654
+ init2 = this.finalize(init2, new Node.Identifier(kind));
65655
65655
  this.nextToken();
65656
- left = init;
65656
+ left = init2;
65657
65657
  right = this.parseExpression();
65658
- init = null;
65658
+ init2 = null;
65659
65659
  } else {
65660
65660
  var previousAllowIn = this.context.allowIn;
65661
65661
  this.context.allowIn = false;
65662
65662
  var declarations = this.parseBindingList(kind, { inFor: true });
65663
65663
  this.context.allowIn = previousAllowIn;
65664
65664
  if (declarations.length === 1 && declarations[0].init === null && this.matchKeyword("in")) {
65665
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
65665
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
65666
65666
  this.nextToken();
65667
- left = init;
65667
+ left = init2;
65668
65668
  right = this.parseExpression();
65669
- init = null;
65669
+ init2 = null;
65670
65670
  } else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of")) {
65671
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
65671
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
65672
65672
  this.nextToken();
65673
- left = init;
65673
+ left = init2;
65674
65674
  right = this.parseAssignmentExpression();
65675
- init = null;
65675
+ init2 = null;
65676
65676
  forIn = false;
65677
65677
  } else {
65678
65678
  this.consumeSemicolon();
65679
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
65679
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
65680
65680
  }
65681
65681
  }
65682
65682
  } else {
65683
65683
  var initStartToken = this.lookahead;
65684
65684
  var previousAllowIn = this.context.allowIn;
65685
65685
  this.context.allowIn = false;
65686
- init = this.inheritCoverGrammar(this.parseAssignmentExpression);
65686
+ init2 = this.inheritCoverGrammar(this.parseAssignmentExpression);
65687
65687
  this.context.allowIn = previousAllowIn;
65688
65688
  if (this.matchKeyword("in")) {
65689
- if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
65689
+ if (!this.context.isAssignmentTarget || init2.type === syntax_1.Syntax.AssignmentExpression) {
65690
65690
  this.tolerateError(messages_1.Messages.InvalidLHSInForIn);
65691
65691
  }
65692
65692
  this.nextToken();
65693
- this.reinterpretExpressionAsPattern(init);
65694
- left = init;
65693
+ this.reinterpretExpressionAsPattern(init2);
65694
+ left = init2;
65695
65695
  right = this.parseExpression();
65696
- init = null;
65696
+ init2 = null;
65697
65697
  } else if (this.matchContextualKeyword("of")) {
65698
- if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
65698
+ if (!this.context.isAssignmentTarget || init2.type === syntax_1.Syntax.AssignmentExpression) {
65699
65699
  this.tolerateError(messages_1.Messages.InvalidLHSInForLoop);
65700
65700
  }
65701
65701
  this.nextToken();
65702
- this.reinterpretExpressionAsPattern(init);
65703
- left = init;
65702
+ this.reinterpretExpressionAsPattern(init2);
65703
+ left = init2;
65704
65704
  right = this.parseAssignmentExpression();
65705
- init = null;
65705
+ init2 = null;
65706
65706
  forIn = false;
65707
65707
  } else {
65708
65708
  if (this.match(",")) {
65709
- var initSeq = [init];
65709
+ var initSeq = [init2];
65710
65710
  while (this.match(",")) {
65711
65711
  this.nextToken();
65712
65712
  initSeq.push(this.isolateCoverGrammar(this.parseAssignmentExpression));
65713
65713
  }
65714
- init = this.finalize(this.startNode(initStartToken), new Node.SequenceExpression(initSeq));
65714
+ init2 = this.finalize(this.startNode(initStartToken), new Node.SequenceExpression(initSeq));
65715
65715
  }
65716
65716
  this.expect(";");
65717
65717
  }
@@ -65737,7 +65737,7 @@ var require_esprima2 = __commonJS2({
65737
65737
  body = this.isolateCoverGrammar(this.parseStatement);
65738
65738
  this.context.inIteration = previousInIteration;
65739
65739
  }
65740
- 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));
65740
+ 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));
65741
65741
  };
65742
65742
  Parser2.prototype.parseContinueStatement = function() {
65743
65743
  var node = this.createNode();
@@ -71110,10 +71110,10 @@ var require_printer = __commonJS2({
71110
71110
  return (0, lines_1.concat)(parts);
71111
71111
  }
71112
71112
  case "ForStatement": {
71113
- var init = path42.call(print62, "init");
71114
- var sep32 = init.length > 1 ? ";\n" : "; ";
71113
+ var init2 = path42.call(print62, "init");
71114
+ var sep32 = init2.length > 1 ? ";\n" : "; ";
71115
71115
  var forParen = "for (";
71116
- var indented = (0, lines_1.fromString)(sep32).join([init, path42.call(print62, "test"), path42.call(print62, "update")]).indentTail(forParen.length);
71116
+ var indented = (0, lines_1.fromString)(sep32).join([init2, path42.call(print62, "test"), path42.call(print62, "update")]).indentTail(forParen.length);
71117
71117
  var head = (0, lines_1.concat)([forParen, indented, ")"]);
71118
71118
  var clause = adjustClause(path42.call(print62, "body"), options);
71119
71119
  parts.push(head);
@@ -79005,23 +79005,23 @@ var validateHeaderValue = typeof import_node_http.default.validateHeaderValue ==
79005
79005
  }
79006
79006
  };
79007
79007
  var Headers = class extends URLSearchParams {
79008
- constructor(init) {
79008
+ constructor(init2) {
79009
79009
  let result = [];
79010
- if (init instanceof Headers) {
79011
- const raw = init.raw();
79010
+ if (init2 instanceof Headers) {
79011
+ const raw = init2.raw();
79012
79012
  for (const [name, values] of Object.entries(raw)) {
79013
79013
  result.push(...values.map((value) => [name, value]));
79014
79014
  }
79015
- } else if (init == null) {
79016
- } else if (typeof init === "object" && !import_node_util3.types.isBoxedPrimitive(init)) {
79017
- const method = init[Symbol.iterator];
79015
+ } else if (init2 == null) {
79016
+ } else if (typeof init2 === "object" && !import_node_util3.types.isBoxedPrimitive(init2)) {
79017
+ const method = init2[Symbol.iterator];
79018
79018
  if (method == null) {
79019
- result.push(...Object.entries(init));
79019
+ result.push(...Object.entries(init2));
79020
79020
  } else {
79021
79021
  if (typeof method !== "function") {
79022
79022
  throw new TypeError("Header pairs must be iterable");
79023
79023
  }
79024
- result = [...init].map((pair) => {
79024
+ result = [...init2].map((pair) => {
79025
79025
  if (typeof pair !== "object" || import_node_util3.types.isBoxedPrimitive(pair)) {
79026
79026
  throw new TypeError("Each header pair must be an iterable object");
79027
79027
  }
@@ -79216,17 +79216,17 @@ var Response2 = class extends Body {
79216
79216
  response[INTERNALS2].type = "error";
79217
79217
  return response;
79218
79218
  }
79219
- static json(data = void 0, init = {}) {
79219
+ static json(data = void 0, init2 = {}) {
79220
79220
  const body = JSON.stringify(data);
79221
79221
  if (body === void 0) {
79222
79222
  throw new TypeError("data is not JSON serializable");
79223
79223
  }
79224
- const headers = new Headers(init && init.headers);
79224
+ const headers = new Headers(init2 && init2.headers);
79225
79225
  if (!headers.has("content-type")) {
79226
79226
  headers.set("content-type", "application/json");
79227
79227
  }
79228
79228
  return new Response2(body, {
79229
- ...init,
79229
+ ...init2,
79230
79230
  headers
79231
79231
  });
79232
79232
  }
@@ -79272,7 +79272,7 @@ var doBadDataWarn = (0, import_node_util4.deprecate)(
79272
79272
  "https://github.com/node-fetch/node-fetch/issues/1000 (request)"
79273
79273
  );
79274
79274
  var Request2 = class extends Body {
79275
- constructor(input, init = {}) {
79275
+ constructor(input, init2 = {}) {
79276
79276
  let parsedURL;
79277
79277
  if (isRequest(input)) {
79278
79278
  parsedURL = new URL(input.url);
@@ -79283,21 +79283,21 @@ var Request2 = class extends Body {
79283
79283
  if (parsedURL.username !== "" || parsedURL.password !== "") {
79284
79284
  throw new TypeError(`${parsedURL} is an url with embedded credentials.`);
79285
79285
  }
79286
- let method = init.method || input.method || "GET";
79286
+ let method = init2.method || input.method || "GET";
79287
79287
  if (/^(delete|get|head|options|post|put)$/i.test(method)) {
79288
79288
  method = method.toUpperCase();
79289
79289
  }
79290
- if (!isRequest(init) && "data" in init) {
79290
+ if (!isRequest(init2) && "data" in init2) {
79291
79291
  doBadDataWarn();
79292
79292
  }
79293
- if ((init.body != null || isRequest(input) && input.body !== null) && (method === "GET" || method === "HEAD")) {
79293
+ if ((init2.body != null || isRequest(input) && input.body !== null) && (method === "GET" || method === "HEAD")) {
79294
79294
  throw new TypeError("Request with GET/HEAD method cannot have body");
79295
79295
  }
79296
- const inputBody = init.body ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;
79296
+ const inputBody = init2.body ? init2.body : isRequest(input) && input.body !== null ? clone(input) : null;
79297
79297
  super(inputBody, {
79298
- size: init.size || input.size || 0
79298
+ size: init2.size || input.size || 0
79299
79299
  });
79300
- const headers = new Headers(init.headers || input.headers || {});
79300
+ const headers = new Headers(init2.headers || input.headers || {});
79301
79301
  if (inputBody !== null && !headers.has("Content-Type")) {
79302
79302
  const contentType = extractContentType(inputBody, this);
79303
79303
  if (contentType) {
@@ -79305,13 +79305,13 @@ var Request2 = class extends Body {
79305
79305
  }
79306
79306
  }
79307
79307
  let signal = isRequest(input) ? input.signal : null;
79308
- if ("signal" in init) {
79309
- signal = init.signal;
79308
+ if ("signal" in init2) {
79309
+ signal = init2.signal;
79310
79310
  }
79311
79311
  if (signal != null && !isAbortSignal(signal)) {
79312
79312
  throw new TypeError("Expected signal to be an instanceof AbortSignal or EventTarget");
79313
79313
  }
79314
- let referrer = init.referrer == null ? input.referrer : init.referrer;
79314
+ let referrer = init2.referrer == null ? input.referrer : init2.referrer;
79315
79315
  if (referrer === "") {
79316
79316
  referrer = "no-referrer";
79317
79317
  } else if (referrer) {
@@ -79322,19 +79322,19 @@ var Request2 = class extends Body {
79322
79322
  }
79323
79323
  this[INTERNALS3] = {
79324
79324
  method,
79325
- redirect: init.redirect || input.redirect || "follow",
79325
+ redirect: init2.redirect || input.redirect || "follow",
79326
79326
  headers,
79327
79327
  parsedURL,
79328
79328
  signal,
79329
79329
  referrer
79330
79330
  };
79331
- this.follow = init.follow === void 0 ? input.follow === void 0 ? 20 : input.follow : init.follow;
79332
- this.compress = init.compress === void 0 ? input.compress === void 0 ? true : input.compress : init.compress;
79333
- this.counter = init.counter || input.counter || 0;
79334
- this.agent = init.agent || input.agent;
79335
- this.highWaterMark = init.highWaterMark || input.highWaterMark || 16384;
79336
- this.insecureHTTPParser = init.insecureHTTPParser || input.insecureHTTPParser || false;
79337
- this.referrerPolicy = init.referrerPolicy || input.referrerPolicy || "";
79331
+ this.follow = init2.follow === void 0 ? input.follow === void 0 ? 20 : input.follow : init2.follow;
79332
+ this.compress = init2.compress === void 0 ? input.compress === void 0 ? true : input.compress : init2.compress;
79333
+ this.counter = init2.counter || input.counter || 0;
79334
+ this.agent = init2.agent || input.agent;
79335
+ this.highWaterMark = init2.highWaterMark || input.highWaterMark || 16384;
79336
+ this.insecureHTTPParser = init2.insecureHTTPParser || input.insecureHTTPParser || false;
79337
+ this.referrerPolicy = init2.referrerPolicy || input.referrerPolicy || "";
79338
79338
  }
79339
79339
  get method() {
79340
79340
  return this[INTERNALS3].method;
@@ -93553,10 +93553,10 @@ var require_ponyfill_es20182 = __commonJS3({
93553
93553
  }
93554
93554
  return size;
93555
93555
  }
93556
- function convertQueuingStrategy(init, context) {
93557
- assertDictionary(init, context);
93558
- const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;
93559
- const size = init === null || init === void 0 ? void 0 : init.size;
93556
+ function convertQueuingStrategy(init2, context) {
93557
+ assertDictionary(init2, context);
93558
+ const highWaterMark = init2 === null || init2 === void 0 ? void 0 : init2.highWaterMark;
93559
+ const size = init2 === null || init2 === void 0 ? void 0 : init2.size;
93560
93560
  return {
93561
93561
  highWaterMark: highWaterMark === void 0 ? void 0 : convertUnrestrictedDouble(highWaterMark),
93562
93562
  size: size === void 0 ? void 0 : convertQueuingStrategySize(size, `${context} has member 'size' that`)
@@ -95408,9 +95408,9 @@ var require_ponyfill_es20182 = __commonJS3({
95408
95408
  function streamBrandCheckException$1(name) {
95409
95409
  return new TypeError(`ReadableStream.prototype.${name} can only be used on a ReadableStream`);
95410
95410
  }
95411
- function convertQueuingStrategyInit(init, context) {
95412
- assertDictionary(init, context);
95413
- const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;
95411
+ function convertQueuingStrategyInit(init2, context) {
95412
+ assertDictionary(init2, context);
95413
+ const highWaterMark = init2 === null || init2 === void 0 ? void 0 : init2.highWaterMark;
95414
95414
  assertRequiredField(highWaterMark, "highWaterMark", "QueuingStrategyInit");
95415
95415
  return {
95416
95416
  highWaterMark: convertUnrestrictedDouble(highWaterMark)
@@ -104578,10 +104578,10 @@ var require_generated22 = __commonJS3({
104578
104578
  body
104579
104579
  });
104580
104580
  }
104581
- function forStatement(init = null, test = null, update = null, body) {
104581
+ function forStatement(init2 = null, test = null, update = null, body) {
104582
104582
  return (0, _validateNode.default)({
104583
104583
  type: "ForStatement",
104584
- init,
104584
+ init: init2,
104585
104585
  test,
104586
104586
  update,
104587
104587
  body
@@ -104799,11 +104799,11 @@ var require_generated22 = __commonJS3({
104799
104799
  declarations
104800
104800
  });
104801
104801
  }
104802
- function variableDeclarator(id, init = null) {
104802
+ function variableDeclarator(id, init2 = null) {
104803
104803
  return (0, _validateNode.default)({
104804
104804
  type: "VariableDeclarator",
104805
104805
  id,
104806
- init
104806
+ init: init2
104807
104807
  });
104808
104808
  }
104809
104809
  function whileStatement(test, body) {
@@ -105505,18 +105505,18 @@ var require_generated22 = __commonJS3({
105505
105505
  init: null
105506
105506
  });
105507
105507
  }
105508
- function enumNumberMember(id, init) {
105508
+ function enumNumberMember(id, init2) {
105509
105509
  return (0, _validateNode.default)({
105510
105510
  type: "EnumNumberMember",
105511
105511
  id,
105512
- init
105512
+ init: init2
105513
105513
  });
105514
105514
  }
105515
- function enumStringMember(id, init) {
105515
+ function enumStringMember(id, init2) {
105516
105516
  return (0, _validateNode.default)({
105517
105517
  type: "EnumStringMember",
105518
105518
  id,
105519
- init
105519
+ init: init2
105520
105520
  });
105521
105521
  }
105522
105522
  function enumDefaultedMember(id) {
@@ -117222,13 +117222,13 @@ var require_lib62 = __commonJS3({
117222
117222
  flowEnumMemberRaw() {
117223
117223
  const loc = this.state.startLoc;
117224
117224
  const id = this.parseIdentifier(true);
117225
- const init = this.eat(29) ? this.flowEnumMemberInit() : {
117225
+ const init2 = this.eat(29) ? this.flowEnumMemberInit() : {
117226
117226
  type: "none",
117227
117227
  loc
117228
117228
  };
117229
117229
  return {
117230
117230
  id,
117231
- init
117231
+ init: init2
117232
117232
  };
117233
117233
  }
117234
117234
  flowEnumCheckExplicitTypeMismatch(loc, context, expectedType) {
@@ -117262,7 +117262,7 @@ var require_lib62 = __commonJS3({
117262
117262
  const memberNode = this.startNode();
117263
117263
  const {
117264
117264
  id,
117265
- init
117265
+ init: init2
117266
117266
  } = this.flowEnumMemberRaw();
117267
117267
  const memberName = id.name;
117268
117268
  if (memberName === "") {
@@ -117288,35 +117288,35 @@ var require_lib62 = __commonJS3({
117288
117288
  memberName
117289
117289
  };
117290
117290
  memberNode.id = id;
117291
- switch (init.type) {
117291
+ switch (init2.type) {
117292
117292
  case "boolean": {
117293
- this.flowEnumCheckExplicitTypeMismatch(init.loc, context, "boolean");
117294
- memberNode.init = init.value;
117293
+ this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "boolean");
117294
+ memberNode.init = init2.value;
117295
117295
  members.booleanMembers.push(this.finishNode(memberNode, "EnumBooleanMember"));
117296
117296
  break;
117297
117297
  }
117298
117298
  case "number": {
117299
- this.flowEnumCheckExplicitTypeMismatch(init.loc, context, "number");
117300
- memberNode.init = init.value;
117299
+ this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "number");
117300
+ memberNode.init = init2.value;
117301
117301
  members.numberMembers.push(this.finishNode(memberNode, "EnumNumberMember"));
117302
117302
  break;
117303
117303
  }
117304
117304
  case "string": {
117305
- this.flowEnumCheckExplicitTypeMismatch(init.loc, context, "string");
117306
- memberNode.init = init.value;
117305
+ this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "string");
117306
+ memberNode.init = init2.value;
117307
117307
  members.stringMembers.push(this.finishNode(memberNode, "EnumStringMember"));
117308
117308
  break;
117309
117309
  }
117310
117310
  case "invalid": {
117311
- throw this.flowEnumErrorInvalidMemberInitializer(init.loc, context);
117311
+ throw this.flowEnumErrorInvalidMemberInitializer(init2.loc, context);
117312
117312
  }
117313
117313
  case "none": {
117314
117314
  switch (explicitType) {
117315
117315
  case "boolean":
117316
- this.flowEnumErrorBooleanMemberNotInitialized(init.loc, context);
117316
+ this.flowEnumErrorBooleanMemberNotInitialized(init2.loc, context);
117317
117317
  break;
117318
117318
  case "number":
117319
- this.flowEnumErrorNumberMemberNotInitialized(init.loc, context);
117319
+ this.flowEnumErrorNumberMemberNotInitialized(init2.loc, context);
117320
117320
  break;
117321
117321
  default:
117322
117322
  members.defaultedMembers.push(this.finishNode(memberNode, "EnumDefaultedMember"));
@@ -120417,14 +120417,14 @@ var require_lib62 = __commonJS3({
120417
120417
  return declaration;
120418
120418
  for (const {
120419
120419
  id,
120420
- init
120420
+ init: init2
120421
120421
  } of declaration.declarations) {
120422
- if (!init)
120422
+ if (!init2)
120423
120423
  continue;
120424
120424
  if (kind !== "const" || !!id.typeAnnotation) {
120425
- this.raise(TSErrors.InitializerNotAllowedInAmbientContext, init);
120426
- } else if (!isValidAmbientConstInitializer(init, this.hasPlugin("estree"))) {
120427
- this.raise(TSErrors.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, init);
120425
+ this.raise(TSErrors.InitializerNotAllowedInAmbientContext, init2);
120426
+ } else if (!isValidAmbientConstInitializer(init2, this.hasPlugin("estree"))) {
120427
+ this.raise(TSErrors.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, init2);
120428
120428
  }
120429
120429
  }
120430
120430
  return declaration;
@@ -123904,49 +123904,49 @@ var require_lib62 = __commonJS3({
123904
123904
  }
123905
123905
  this.next();
123906
123906
  this.parseVar(initNode, true, kind);
123907
- const init2 = this.finishNode(initNode, "VariableDeclaration");
123907
+ const init3 = this.finishNode(initNode, "VariableDeclaration");
123908
123908
  const isForIn = this.match(58);
123909
123909
  if (isForIn && starsWithUsingDeclaration) {
123910
- this.raise(Errors.ForInUsing, init2);
123910
+ this.raise(Errors.ForInUsing, init3);
123911
123911
  }
123912
- if ((isForIn || this.isContextual(102)) && init2.declarations.length === 1) {
123913
- return this.parseForIn(node, init2, awaitAt);
123912
+ if ((isForIn || this.isContextual(102)) && init3.declarations.length === 1) {
123913
+ return this.parseForIn(node, init3, awaitAt);
123914
123914
  }
123915
123915
  if (awaitAt !== null) {
123916
123916
  this.unexpected(awaitAt);
123917
123917
  }
123918
- return this.parseFor(node, init2);
123918
+ return this.parseFor(node, init3);
123919
123919
  }
123920
123920
  }
123921
123921
  const startsWithAsync = this.isContextual(95);
123922
123922
  const refExpressionErrors = new ExpressionErrors();
123923
- const init = this.parseExpression(true, refExpressionErrors);
123923
+ const init2 = this.parseExpression(true, refExpressionErrors);
123924
123924
  const isForOf = this.isContextual(102);
123925
123925
  if (isForOf) {
123926
123926
  if (startsWithLet) {
123927
- this.raise(Errors.ForOfLet, init);
123927
+ this.raise(Errors.ForOfLet, init2);
123928
123928
  }
123929
- if (awaitAt === null && startsWithAsync && init.type === "Identifier") {
123930
- this.raise(Errors.ForOfAsync, init);
123929
+ if (awaitAt === null && startsWithAsync && init2.type === "Identifier") {
123930
+ this.raise(Errors.ForOfAsync, init2);
123931
123931
  }
123932
123932
  }
123933
123933
  if (isForOf || this.match(58)) {
123934
123934
  this.checkDestructuringPrivate(refExpressionErrors);
123935
- this.toAssignable(init, true);
123935
+ this.toAssignable(init2, true);
123936
123936
  const type = isForOf ? "ForOfStatement" : "ForInStatement";
123937
- this.checkLVal(init, {
123937
+ this.checkLVal(init2, {
123938
123938
  in: {
123939
123939
  type
123940
123940
  }
123941
123941
  });
123942
- return this.parseForIn(node, init, awaitAt);
123942
+ return this.parseForIn(node, init2, awaitAt);
123943
123943
  } else {
123944
123944
  this.checkExpressionErrors(refExpressionErrors, true);
123945
123945
  }
123946
123946
  if (awaitAt !== null) {
123947
123947
  this.unexpected(awaitAt);
123948
123948
  }
123949
- return this.parseFor(node, init);
123949
+ return this.parseFor(node, init2);
123950
123950
  }
123951
123951
  parseFunctionStatement(node, isAsync, isHangingDeclaration) {
123952
123952
  this.next();
@@ -124168,8 +124168,8 @@ var require_lib62 = __commonJS3({
124168
124168
  }
124169
124169
  this.next();
124170
124170
  }
124171
- parseFor(node, init) {
124172
- node.init = init;
124171
+ parseFor(node, init2) {
124172
+ node.init = init2;
124173
124173
  this.semicolon(false);
124174
124174
  node.test = this.match(13) ? null : this.parseExpression();
124175
124175
  this.semicolon(false);
@@ -124180,7 +124180,7 @@ var require_lib62 = __commonJS3({
124180
124180
  this.state.labels.pop();
124181
124181
  return this.finishNode(node, "ForStatement");
124182
124182
  }
124183
- parseForIn(node, init, awaitAt) {
124183
+ parseForIn(node, init2, awaitAt) {
124184
124184
  const isForIn = this.match(58);
124185
124185
  this.next();
124186
124186
  if (isForIn) {
@@ -124189,19 +124189,19 @@ var require_lib62 = __commonJS3({
124189
124189
  } else {
124190
124190
  node.await = awaitAt !== null;
124191
124191
  }
124192
- 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")) {
124193
- this.raise(Errors.ForInOfLoopInitializer, init, {
124192
+ 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")) {
124193
+ this.raise(Errors.ForInOfLoopInitializer, init2, {
124194
124194
  type: isForIn ? "ForInStatement" : "ForOfStatement"
124195
124195
  });
124196
124196
  }
124197
- if (init.type === "AssignmentPattern") {
124198
- this.raise(Errors.InvalidLhs, init, {
124197
+ if (init2.type === "AssignmentPattern") {
124198
+ this.raise(Errors.InvalidLhs, init2, {
124199
124199
  ancestor: {
124200
124200
  type: "ForStatement"
124201
124201
  }
124202
124202
  });
124203
124203
  }
124204
- node.left = init;
124204
+ node.left = init2;
124205
124205
  node.right = isForIn ? this.parseExpression() : this.parseMaybeAssignAllowIn();
124206
124206
  this.expect(11);
124207
124207
  node.body = this.withSmartMixTopicForbiddingContext(() => this.parseStatement());
@@ -126145,11 +126145,11 @@ var require_types3 = __commonJS3({
126145
126145
  }();
126146
126146
  exports.Def = Def;
126147
126147
  var Field = function() {
126148
- function Field2(name, type, defaultFn, hidden6) {
126148
+ function Field2(name, type, defaultFn, hidden7) {
126149
126149
  this.name = name;
126150
126150
  this.type = type;
126151
126151
  this.defaultFn = defaultFn;
126152
- this.hidden = !!hidden6;
126152
+ this.hidden = !!hidden7;
126153
126153
  }
126154
126154
  Field2.prototype.toString = function() {
126155
126155
  return JSON.stringify(this.name) + ": " + this.type;
@@ -126398,12 +126398,12 @@ var require_types3 = __commonJS3({
126398
126398
  });
126399
126399
  return this;
126400
126400
  };
126401
- DefImpl2.prototype.field = function(name, type, defaultFn, hidden6) {
126401
+ DefImpl2.prototype.field = function(name, type, defaultFn, hidden7) {
126402
126402
  if (this.finalized) {
126403
126403
  console.error("Ignoring attempt to redefine field " + JSON.stringify(name) + " of finalized type " + JSON.stringify(this.typeName));
126404
126404
  return this;
126405
126405
  }
126406
- this.ownFields[name] = new Field(name, Type.from(type), defaultFn, hidden6);
126406
+ this.ownFields[name] = new Field(name, Type.from(type), defaultFn, hidden7);
126407
126407
  return this;
126408
126408
  };
126409
126409
  DefImpl2.prototype.finalize = function() {
@@ -127000,13 +127000,13 @@ var require_scope3 = __commonJS3({
127000
127000
  var name = prefix + index;
127001
127001
  return this.bindings[name] = types19.builders.identifier(name);
127002
127002
  };
127003
- Sp.injectTemporary = function(identifier, init) {
127003
+ Sp.injectTemporary = function(identifier, init2) {
127004
127004
  identifier || (identifier = this.declareTemporary());
127005
127005
  var bodyPath = this.path.get("body");
127006
127006
  if (namedTypes.BlockStatement.check(bodyPath.value)) {
127007
127007
  bodyPath = bodyPath.get("body");
127008
127008
  }
127009
- bodyPath.unshift(b.variableDeclaration("var", [b.variableDeclarator(identifier, init || null)]));
127009
+ bodyPath.unshift(b.variableDeclaration("var", [b.variableDeclarator(identifier, init2 || null)]));
127010
127010
  return identifier;
127011
127011
  };
127012
127012
  Sp.scan = function(force) {
@@ -127775,7 +127775,7 @@ var require_path_visitor3 = __commonJS3({
127775
127775
  return Context;
127776
127776
  }
127777
127777
  var sharedContextProtoMethods = /* @__PURE__ */ Object.create(null);
127778
- sharedContextProtoMethods.reset = function reset6(path42) {
127778
+ sharedContextProtoMethods.reset = function reset7(path42) {
127779
127779
  if (!(this instanceof this.Context)) {
127780
127780
  throw new Error("");
127781
127781
  }
@@ -132486,9 +132486,9 @@ var require_esprima22 = __commonJS3({
132486
132486
  }();
132487
132487
  exports2.ForOfStatement = ForOfStatement;
132488
132488
  var ForStatement = function() {
132489
- function ForStatement2(init, test, update, body) {
132489
+ function ForStatement2(init2, test, update, body) {
132490
132490
  this.type = syntax_1.Syntax.ForStatement;
132491
- this.init = init;
132491
+ this.init = init2;
132492
132492
  this.test = test;
132493
132493
  this.update = update;
132494
132494
  this.body = body;
@@ -132828,10 +132828,10 @@ var require_esprima22 = __commonJS3({
132828
132828
  }();
132829
132829
  exports2.VariableDeclaration = VariableDeclaration;
132830
132830
  var VariableDeclarator = function() {
132831
- function VariableDeclarator2(id, init) {
132831
+ function VariableDeclarator2(id, init2) {
132832
132832
  this.type = syntax_1.Syntax.VariableDeclarator;
132833
132833
  this.id = id;
132834
- this.init = init;
132834
+ this.init = init2;
132835
132835
  }
132836
132836
  return VariableDeclarator2;
132837
132837
  }();
@@ -133536,8 +133536,8 @@ var require_esprima22 = __commonJS3({
133536
133536
  this.context.firstCoverInitializedNameError = this.lookahead;
133537
133537
  this.nextToken();
133538
133538
  shorthand = true;
133539
- var init = this.isolateCoverGrammar(this.parseAssignmentExpression);
133540
- value = this.finalize(node, new Node.AssignmentPattern(id, init));
133539
+ var init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
133540
+ value = this.finalize(node, new Node.AssignmentPattern(id, init2));
133541
133541
  } else {
133542
133542
  shorthand = true;
133543
133543
  value = id;
@@ -134315,21 +134315,21 @@ var require_esprima22 = __commonJS3({
134315
134315
  this.tolerateError(messages_1.Messages.StrictVarName);
134316
134316
  }
134317
134317
  }
134318
- var init = null;
134318
+ var init2 = null;
134319
134319
  if (kind === "const") {
134320
134320
  if (!this.matchKeyword("in") && !this.matchContextualKeyword("of")) {
134321
134321
  if (this.match("=")) {
134322
134322
  this.nextToken();
134323
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
134323
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
134324
134324
  } else {
134325
134325
  this.throwError(messages_1.Messages.DeclarationMissingInitializer, "const");
134326
134326
  }
134327
134327
  }
134328
134328
  } else if (!options.inFor && id.type !== syntax_1.Syntax.Identifier || this.match("=")) {
134329
134329
  this.expect("=");
134330
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
134330
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
134331
134331
  }
134332
- return this.finalize(node, new Node.VariableDeclarator(id, init));
134332
+ return this.finalize(node, new Node.VariableDeclarator(id, init2));
134333
134333
  };
134334
134334
  Parser2.prototype.parseBindingList = function(kind, options) {
134335
134335
  var list = [this.parseLexicalBinding(kind, options)];
@@ -134393,17 +134393,17 @@ var require_esprima22 = __commonJS3({
134393
134393
  if (this.lookahead.type === 3) {
134394
134394
  var keyToken = this.lookahead;
134395
134395
  key = this.parseVariableIdentifier();
134396
- var init = this.finalize(node, new Node.Identifier(keyToken.value));
134396
+ var init2 = this.finalize(node, new Node.Identifier(keyToken.value));
134397
134397
  if (this.match("=")) {
134398
134398
  params.push(keyToken);
134399
134399
  shorthand = true;
134400
134400
  this.nextToken();
134401
134401
  var expr = this.parseAssignmentExpression();
134402
- value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init, expr));
134402
+ value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init2, expr));
134403
134403
  } else if (!this.match(":")) {
134404
134404
  params.push(keyToken);
134405
134405
  shorthand = true;
134406
- value = init;
134406
+ value = init2;
134407
134407
  } else {
134408
134408
  this.expect(":");
134409
134409
  value = this.parsePatternWithDefault(params, kind);
@@ -134488,14 +134488,14 @@ var require_esprima22 = __commonJS3({
134488
134488
  this.tolerateError(messages_1.Messages.StrictVarName);
134489
134489
  }
134490
134490
  }
134491
- var init = null;
134491
+ var init2 = null;
134492
134492
  if (this.match("=")) {
134493
134493
  this.nextToken();
134494
- init = this.isolateCoverGrammar(this.parseAssignmentExpression);
134494
+ init2 = this.isolateCoverGrammar(this.parseAssignmentExpression);
134495
134495
  } else if (id.type !== syntax_1.Syntax.Identifier && !options.inFor) {
134496
134496
  this.expect("=");
134497
134497
  }
134498
- return this.finalize(node, new Node.VariableDeclarator(id, init));
134498
+ return this.finalize(node, new Node.VariableDeclarator(id, init2));
134499
134499
  };
134500
134500
  Parser2.prototype.parseVariableDeclarationList = function(options) {
134501
134501
  var opt = { inFor: options.inFor };
@@ -134590,7 +134590,7 @@ var require_esprima22 = __commonJS3({
134590
134590
  return this.finalize(node, new Node.WhileStatement(test, body));
134591
134591
  };
134592
134592
  Parser2.prototype.parseForStatement = function() {
134593
- var init = null;
134593
+ var init2 = null;
134594
134594
  var test = null;
134595
134595
  var update = null;
134596
134596
  var forIn = true;
@@ -134602,7 +134602,7 @@ var require_esprima22 = __commonJS3({
134602
134602
  this.nextToken();
134603
134603
  } else {
134604
134604
  if (this.matchKeyword("var")) {
134605
- init = this.createNode();
134605
+ init2 = this.createNode();
134606
134606
  this.nextToken();
134607
134607
  var previousAllowIn = this.context.allowIn;
134608
134608
  this.context.allowIn = false;
@@ -134613,87 +134613,87 @@ var require_esprima22 = __commonJS3({
134613
134613
  if (decl.init && (decl.id.type === syntax_1.Syntax.ArrayPattern || decl.id.type === syntax_1.Syntax.ObjectPattern || this.context.strict)) {
134614
134614
  this.tolerateError(messages_1.Messages.ForInOfLoopInitializer, "for-in");
134615
134615
  }
134616
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
134616
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
134617
134617
  this.nextToken();
134618
- left = init;
134618
+ left = init2;
134619
134619
  right = this.parseExpression();
134620
- init = null;
134620
+ init2 = null;
134621
134621
  } else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of")) {
134622
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
134622
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
134623
134623
  this.nextToken();
134624
- left = init;
134624
+ left = init2;
134625
134625
  right = this.parseAssignmentExpression();
134626
- init = null;
134626
+ init2 = null;
134627
134627
  forIn = false;
134628
134628
  } else {
134629
- init = this.finalize(init, new Node.VariableDeclaration(declarations, "var"));
134629
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, "var"));
134630
134630
  this.expect(";");
134631
134631
  }
134632
134632
  } else if (this.matchKeyword("const") || this.matchKeyword("let")) {
134633
- init = this.createNode();
134633
+ init2 = this.createNode();
134634
134634
  var kind = this.nextToken().value;
134635
134635
  if (!this.context.strict && this.lookahead.value === "in") {
134636
- init = this.finalize(init, new Node.Identifier(kind));
134636
+ init2 = this.finalize(init2, new Node.Identifier(kind));
134637
134637
  this.nextToken();
134638
- left = init;
134638
+ left = init2;
134639
134639
  right = this.parseExpression();
134640
- init = null;
134640
+ init2 = null;
134641
134641
  } else {
134642
134642
  var previousAllowIn = this.context.allowIn;
134643
134643
  this.context.allowIn = false;
134644
134644
  var declarations = this.parseBindingList(kind, { inFor: true });
134645
134645
  this.context.allowIn = previousAllowIn;
134646
134646
  if (declarations.length === 1 && declarations[0].init === null && this.matchKeyword("in")) {
134647
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
134647
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
134648
134648
  this.nextToken();
134649
- left = init;
134649
+ left = init2;
134650
134650
  right = this.parseExpression();
134651
- init = null;
134651
+ init2 = null;
134652
134652
  } else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of")) {
134653
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
134653
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
134654
134654
  this.nextToken();
134655
- left = init;
134655
+ left = init2;
134656
134656
  right = this.parseAssignmentExpression();
134657
- init = null;
134657
+ init2 = null;
134658
134658
  forIn = false;
134659
134659
  } else {
134660
134660
  this.consumeSemicolon();
134661
- init = this.finalize(init, new Node.VariableDeclaration(declarations, kind));
134661
+ init2 = this.finalize(init2, new Node.VariableDeclaration(declarations, kind));
134662
134662
  }
134663
134663
  }
134664
134664
  } else {
134665
134665
  var initStartToken = this.lookahead;
134666
134666
  var previousAllowIn = this.context.allowIn;
134667
134667
  this.context.allowIn = false;
134668
- init = this.inheritCoverGrammar(this.parseAssignmentExpression);
134668
+ init2 = this.inheritCoverGrammar(this.parseAssignmentExpression);
134669
134669
  this.context.allowIn = previousAllowIn;
134670
134670
  if (this.matchKeyword("in")) {
134671
- if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
134671
+ if (!this.context.isAssignmentTarget || init2.type === syntax_1.Syntax.AssignmentExpression) {
134672
134672
  this.tolerateError(messages_1.Messages.InvalidLHSInForIn);
134673
134673
  }
134674
134674
  this.nextToken();
134675
- this.reinterpretExpressionAsPattern(init);
134676
- left = init;
134675
+ this.reinterpretExpressionAsPattern(init2);
134676
+ left = init2;
134677
134677
  right = this.parseExpression();
134678
- init = null;
134678
+ init2 = null;
134679
134679
  } else if (this.matchContextualKeyword("of")) {
134680
- if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) {
134680
+ if (!this.context.isAssignmentTarget || init2.type === syntax_1.Syntax.AssignmentExpression) {
134681
134681
  this.tolerateError(messages_1.Messages.InvalidLHSInForLoop);
134682
134682
  }
134683
134683
  this.nextToken();
134684
- this.reinterpretExpressionAsPattern(init);
134685
- left = init;
134684
+ this.reinterpretExpressionAsPattern(init2);
134685
+ left = init2;
134686
134686
  right = this.parseAssignmentExpression();
134687
- init = null;
134687
+ init2 = null;
134688
134688
  forIn = false;
134689
134689
  } else {
134690
134690
  if (this.match(",")) {
134691
- var initSeq = [init];
134691
+ var initSeq = [init2];
134692
134692
  while (this.match(",")) {
134693
134693
  this.nextToken();
134694
134694
  initSeq.push(this.isolateCoverGrammar(this.parseAssignmentExpression));
134695
134695
  }
134696
- init = this.finalize(this.startNode(initStartToken), new Node.SequenceExpression(initSeq));
134696
+ init2 = this.finalize(this.startNode(initStartToken), new Node.SequenceExpression(initSeq));
134697
134697
  }
134698
134698
  this.expect(";");
134699
134699
  }
@@ -134719,7 +134719,7 @@ var require_esprima22 = __commonJS3({
134719
134719
  body = this.isolateCoverGrammar(this.parseStatement);
134720
134720
  this.context.inIteration = previousInIteration;
134721
134721
  }
134722
- 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));
134722
+ 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));
134723
134723
  };
134724
134724
  Parser2.prototype.parseContinueStatement = function() {
134725
134725
  var node = this.createNode();
@@ -140092,10 +140092,10 @@ var require_printer3 = __commonJS3({
140092
140092
  return (0, lines_1.concat)(parts);
140093
140093
  }
140094
140094
  case "ForStatement": {
140095
- var init = path42.call(print13, "init");
140096
- var sep32 = init.length > 1 ? ";\n" : "; ";
140095
+ var init2 = path42.call(print13, "init");
140096
+ var sep32 = init2.length > 1 ? ";\n" : "; ";
140097
140097
  var forParen = "for (";
140098
- var indented = (0, lines_1.fromString)(sep32).join([init, path42.call(print13, "test"), path42.call(print13, "update")]).indentTail(forParen.length);
140098
+ var indented = (0, lines_1.fromString)(sep32).join([init2, path42.call(print13, "test"), path42.call(print13, "update")]).indentTail(forParen.length);
140099
140099
  var head = (0, lines_1.concat)([forParen, indented, ")"]);
140100
140100
  var clause = adjustClause(path42.call(print13, "body"), options);
140101
140101
  parts.push(head);
@@ -148303,23 +148303,23 @@ var validateHeaderValue2 = typeof import_node_http2.default.validateHeaderValue
148303
148303
  }
148304
148304
  };
148305
148305
  var Headers2 = class extends URLSearchParams {
148306
- constructor(init) {
148306
+ constructor(init2) {
148307
148307
  let result = [];
148308
- if (init instanceof Headers2) {
148309
- const raw = init.raw();
148308
+ if (init2 instanceof Headers2) {
148309
+ const raw = init2.raw();
148310
148310
  for (const [name, values] of Object.entries(raw)) {
148311
148311
  result.push(...values.map((value) => [name, value]));
148312
148312
  }
148313
- } else if (init == null) {
148314
- } else if (typeof init === "object" && !import_node_util7.types.isBoxedPrimitive(init)) {
148315
- const method = init[Symbol.iterator];
148313
+ } else if (init2 == null) {
148314
+ } else if (typeof init2 === "object" && !import_node_util7.types.isBoxedPrimitive(init2)) {
148315
+ const method = init2[Symbol.iterator];
148316
148316
  if (method == null) {
148317
- result.push(...Object.entries(init));
148317
+ result.push(...Object.entries(init2));
148318
148318
  } else {
148319
148319
  if (typeof method !== "function") {
148320
148320
  throw new TypeError("Header pairs must be iterable");
148321
148321
  }
148322
- result = [...init].map((pair) => {
148322
+ result = [...init2].map((pair) => {
148323
148323
  if (typeof pair !== "object" || import_node_util7.types.isBoxedPrimitive(pair)) {
148324
148324
  throw new TypeError("Each header pair must be an iterable object");
148325
148325
  }
@@ -148514,17 +148514,17 @@ var Response22 = class extends Body2 {
148514
148514
  response[INTERNALS22].type = "error";
148515
148515
  return response;
148516
148516
  }
148517
- static json(data = void 0, init = {}) {
148517
+ static json(data = void 0, init2 = {}) {
148518
148518
  const body = JSON.stringify(data);
148519
148519
  if (body === void 0) {
148520
148520
  throw new TypeError("data is not JSON serializable");
148521
148521
  }
148522
- const headers = new Headers2(init && init.headers);
148522
+ const headers = new Headers2(init2 && init2.headers);
148523
148523
  if (!headers.has("content-type")) {
148524
148524
  headers.set("content-type", "application/json");
148525
148525
  }
148526
148526
  return new Response22(body, {
148527
- ...init,
148527
+ ...init2,
148528
148528
  headers
148529
148529
  });
148530
148530
  }
@@ -148570,7 +148570,7 @@ var doBadDataWarn2 = (0, import_node_util8.deprecate)(
148570
148570
  "https://github.com/node-fetch/node-fetch/issues/1000 (request)"
148571
148571
  );
148572
148572
  var Request22 = class extends Body2 {
148573
- constructor(input, init = {}) {
148573
+ constructor(input, init2 = {}) {
148574
148574
  let parsedURL;
148575
148575
  if (isRequest2(input)) {
148576
148576
  parsedURL = new URL(input.url);
@@ -148581,21 +148581,21 @@ var Request22 = class extends Body2 {
148581
148581
  if (parsedURL.username !== "" || parsedURL.password !== "") {
148582
148582
  throw new TypeError(`${parsedURL} is an url with embedded credentials.`);
148583
148583
  }
148584
- let method = init.method || input.method || "GET";
148584
+ let method = init2.method || input.method || "GET";
148585
148585
  if (/^(delete|get|head|options|post|put)$/i.test(method)) {
148586
148586
  method = method.toUpperCase();
148587
148587
  }
148588
- if (!isRequest2(init) && "data" in init) {
148588
+ if (!isRequest2(init2) && "data" in init2) {
148589
148589
  doBadDataWarn2();
148590
148590
  }
148591
- if ((init.body != null || isRequest2(input) && input.body !== null) && (method === "GET" || method === "HEAD")) {
148591
+ if ((init2.body != null || isRequest2(input) && input.body !== null) && (method === "GET" || method === "HEAD")) {
148592
148592
  throw new TypeError("Request with GET/HEAD method cannot have body");
148593
148593
  }
148594
- const inputBody = init.body ? init.body : isRequest2(input) && input.body !== null ? clone2(input) : null;
148594
+ const inputBody = init2.body ? init2.body : isRequest2(input) && input.body !== null ? clone2(input) : null;
148595
148595
  super(inputBody, {
148596
- size: init.size || input.size || 0
148596
+ size: init2.size || input.size || 0
148597
148597
  });
148598
- const headers = new Headers2(init.headers || input.headers || {});
148598
+ const headers = new Headers2(init2.headers || input.headers || {});
148599
148599
  if (inputBody !== null && !headers.has("Content-Type")) {
148600
148600
  const contentType = extractContentType2(inputBody, this);
148601
148601
  if (contentType) {
@@ -148603,13 +148603,13 @@ var Request22 = class extends Body2 {
148603
148603
  }
148604
148604
  }
148605
148605
  let signal = isRequest2(input) ? input.signal : null;
148606
- if ("signal" in init) {
148607
- signal = init.signal;
148606
+ if ("signal" in init2) {
148607
+ signal = init2.signal;
148608
148608
  }
148609
148609
  if (signal != null && !isAbortSignal2(signal)) {
148610
148610
  throw new TypeError("Expected signal to be an instanceof AbortSignal or EventTarget");
148611
148611
  }
148612
- let referrer = init.referrer == null ? input.referrer : init.referrer;
148612
+ let referrer = init2.referrer == null ? input.referrer : init2.referrer;
148613
148613
  if (referrer === "") {
148614
148614
  referrer = "no-referrer";
148615
148615
  } else if (referrer) {
@@ -148620,19 +148620,19 @@ var Request22 = class extends Body2 {
148620
148620
  }
148621
148621
  this[INTERNALS32] = {
148622
148622
  method,
148623
- redirect: init.redirect || input.redirect || "follow",
148623
+ redirect: init2.redirect || input.redirect || "follow",
148624
148624
  headers,
148625
148625
  parsedURL,
148626
148626
  signal,
148627
148627
  referrer
148628
148628
  };
148629
- this.follow = init.follow === void 0 ? input.follow === void 0 ? 20 : input.follow : init.follow;
148630
- this.compress = init.compress === void 0 ? input.compress === void 0 ? true : input.compress : init.compress;
148631
- this.counter = init.counter || input.counter || 0;
148632
- this.agent = init.agent || input.agent;
148633
- this.highWaterMark = init.highWaterMark || input.highWaterMark || 16384;
148634
- this.insecureHTTPParser = init.insecureHTTPParser || input.insecureHTTPParser || false;
148635
- this.referrerPolicy = init.referrerPolicy || input.referrerPolicy || "";
148629
+ this.follow = init2.follow === void 0 ? input.follow === void 0 ? 20 : input.follow : init2.follow;
148630
+ this.compress = init2.compress === void 0 ? input.compress === void 0 ? true : input.compress : init2.compress;
148631
+ this.counter = init2.counter || input.counter || 0;
148632
+ this.agent = init2.agent || input.agent;
148633
+ this.highWaterMark = init2.highWaterMark || input.highWaterMark || 16384;
148634
+ this.insecureHTTPParser = init2.insecureHTTPParser || input.insecureHTTPParser || false;
148635
+ this.referrerPolicy = init2.referrerPolicy || input.referrerPolicy || "";
148636
148636
  }
148637
148637
  get method() {
148638
148638
  return this[INTERNALS32].method;
@@ -151499,6 +151499,53 @@ For more information, please visit these links:
151499
151499
  - https://graphql.org/learn/global-object-identification/
151500
151500
  - ${siteURL}/guides/caching-data#custom-ids
151501
151501
  `;
151502
+ var FORCE_COLOR;
151503
+ var NODE_DISABLE_COLORS;
151504
+ var NO_COLOR;
151505
+ var TERM;
151506
+ var isTTY = true;
151507
+ if (typeof process !== "undefined") {
151508
+ ({ FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM } = process.env || {});
151509
+ isTTY = process.stdout && process.stdout.isTTY;
151510
+ }
151511
+ var $ = {
151512
+ enabled: !NODE_DISABLE_COLORS && NO_COLOR == null && TERM !== "dumb" && (FORCE_COLOR != null && FORCE_COLOR !== "0" || isTTY)
151513
+ };
151514
+ function init(x22, y) {
151515
+ let rgx = new RegExp(`\\x1b\\[${y}m`, "g");
151516
+ let open = `\x1B[${x22}m`, close = `\x1B[${y}m`;
151517
+ return function(txt) {
151518
+ if (!$.enabled || txt == null)
151519
+ return txt;
151520
+ return open + (!!~("" + txt).indexOf(close) ? txt.replace(rgx, close + open) : txt) + close;
151521
+ };
151522
+ }
151523
+ var reset6 = init(0, 0);
151524
+ var bold6 = init(1, 22);
151525
+ var dim6 = init(2, 22);
151526
+ var italic6 = init(3, 23);
151527
+ var underline6 = init(4, 24);
151528
+ var inverse6 = init(7, 27);
151529
+ var hidden6 = init(8, 28);
151530
+ var strikethrough6 = init(9, 29);
151531
+ var black6 = init(30, 39);
151532
+ var red6 = init(31, 39);
151533
+ var green6 = init(32, 39);
151534
+ var yellow6 = init(33, 39);
151535
+ var blue6 = init(34, 39);
151536
+ var magenta6 = init(35, 39);
151537
+ var cyan6 = init(36, 39);
151538
+ var white6 = init(37, 39);
151539
+ var gray6 = init(90, 39);
151540
+ var grey = init(90, 39);
151541
+ var bgBlack6 = init(40, 49);
151542
+ var bgRed6 = init(41, 49);
151543
+ var bgGreen6 = init(42, 49);
151544
+ var bgYellow6 = init(43, 49);
151545
+ var bgBlue6 = init(44, 49);
151546
+ var bgMagenta6 = init(45, 49);
151547
+ var bgCyan6 = init(46, 49);
151548
+ var bgWhite6 = init(47, 49);
151502
151549
  var recast14 = __toESM3(require_main22(), 1);
151503
151550
  var AST15 = recast14.types.builders;
151504
151551
  function find_insert_index(script) {
@@ -151527,21 +151574,21 @@ function find_exported_fn(body, name) {
151527
151574
  continue;
151528
151575
  }
151529
151576
  const declaration = value.declarations[0];
151530
- let { init } = declaration;
151531
- if (!init) {
151577
+ let { init: init2 } = declaration;
151578
+ if (!init2) {
151532
151579
  continue;
151533
151580
  }
151534
- if (init.type === "TSSatisfiesExpression") {
151535
- init = init.expression;
151581
+ if (init2.type === "TSSatisfiesExpression") {
151582
+ init2 = init2.expression;
151536
151583
  }
151537
- if (init.type === "CallExpression" && init.arguments[0] && (init.arguments[0].type === "FunctionExpression" || init.arguments[0].type === "ArrowFunctionExpression")) {
151538
- init = init.arguments[0];
151584
+ if (init2.type === "CallExpression" && init2.arguments[0] && (init2.arguments[0].type === "FunctionExpression" || init2.arguments[0].type === "ArrowFunctionExpression")) {
151585
+ init2 = init2.arguments[0];
151539
151586
  }
151540
- if (init.type === "FunctionExpression" || init.type === "ArrowFunctionExpression") {
151541
- return { declaration: init, export: exportDeclaration };
151587
+ if (init2.type === "FunctionExpression" || init2.type === "ArrowFunctionExpression") {
151588
+ return { declaration: init2, export: exportDeclaration };
151542
151589
  }
151543
- if (init.type === "Identifier" || init.type === "CallExpression") {
151544
- return { declaration: init, export: exportDeclaration };
151590
+ if (init2.type === "Identifier" || init2.type === "CallExpression") {
151591
+ return { declaration: init2, export: exportDeclaration };
151545
151592
  }
151546
151593
  } else {
151547
151594
  continue;