houdini-svelte 1.0.7 → 1.0.8

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.
Files changed (31) hide show
  1. package/build/plugin/index.d.ts +1 -1
  2. package/build/plugin-cjs/index.js +884 -764
  3. package/build/plugin-esm/index.js +892 -776
  4. package/build/preprocess-cjs/index.js +219 -11
  5. package/build/preprocess-esm/index.js +219 -11
  6. package/build/runtime/adapter.d.ts +1 -0
  7. package/build/runtime/stores/pagination/cursor.d.ts +1 -1
  8. package/build/runtime/stores/pagination/fragment.d.ts +1 -1
  9. package/build/runtime/stores/pagination/offset.d.ts +2 -2
  10. package/build/runtime/types.d.ts +1 -1
  11. package/build/runtime-cjs/adapter.d.ts +1 -0
  12. package/build/runtime-cjs/adapter.js +4 -0
  13. package/build/runtime-cjs/session.js +2 -3
  14. package/build/runtime-cjs/stores/pagination/cursor.d.ts +1 -1
  15. package/build/runtime-cjs/stores/pagination/cursor.js +7 -5
  16. package/build/runtime-cjs/stores/pagination/fragment.d.ts +1 -1
  17. package/build/runtime-cjs/stores/pagination/offset.d.ts +2 -2
  18. package/build/runtime-cjs/stores/pagination/offset.js +11 -9
  19. package/build/runtime-cjs/types.d.ts +1 -1
  20. package/build/runtime-esm/adapter.d.ts +1 -0
  21. package/build/runtime-esm/adapter.js +3 -0
  22. package/build/runtime-esm/session.js +1 -2
  23. package/build/runtime-esm/stores/pagination/cursor.d.ts +1 -1
  24. package/build/runtime-esm/stores/pagination/cursor.js +7 -5
  25. package/build/runtime-esm/stores/pagination/fragment.d.ts +1 -1
  26. package/build/runtime-esm/stores/pagination/offset.d.ts +2 -2
  27. package/build/runtime-esm/stores/pagination/offset.js +11 -9
  28. package/build/runtime-esm/types.d.ts +1 -1
  29. package/build/test-cjs/index.js +1448 -1146
  30. package/build/test-esm/index.js +1462 -1164
  31. package/package.json +3 -3
@@ -12,16 +12,9 @@ var __require = /* @__PURE__ */ ((x4) => typeof require !== "undefined" ? requir
12
12
  return require.apply(this, arguments);
13
13
  throw new Error('Dynamic require of "' + x4 + '" is not supported');
14
14
  });
15
- var __esm = (fn, res) => function __init() {
16
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
17
- };
18
15
  var __commonJS = (cb, mod) => function __require4() {
19
16
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
20
17
  };
21
- var __export = (target, all) => {
22
- for (var name in all)
23
- __defProp(target, name, { get: all[name], enumerable: true });
24
- };
25
18
  var __copyProps = (to, from, except, desc) => {
26
19
  if (from && typeof from === "object" || typeof from === "function") {
27
20
  for (let key of __getOwnPropNames(from))
@@ -494,19 +487,19 @@ var require_GraphQLError2 = __commonJS({
494
487
  function undefinedIfEmpty(array) {
495
488
  return array === void 0 || array.length === 0 ? void 0 : array;
496
489
  }
497
- function printError(error3) {
498
- var output = error3.message;
499
- if (error3.nodes) {
500
- for (var _i4 = 0, _error$nodes2 = error3.nodes; _i4 < _error$nodes2.length; _i4++) {
490
+ function printError(error2) {
491
+ var output = error2.message;
492
+ if (error2.nodes) {
493
+ for (var _i4 = 0, _error$nodes2 = error2.nodes; _i4 < _error$nodes2.length; _i4++) {
501
494
  var node2 = _error$nodes2[_i4];
502
495
  if (node2.loc) {
503
496
  output += "\n\n" + (0, _printLocation.printLocation)(node2.loc);
504
497
  }
505
498
  }
506
- } else if (error3.source && error3.locations) {
507
- for (var _i6 = 0, _error$locations2 = error3.locations; _i6 < _error$locations2.length; _i6++) {
499
+ } else if (error2.source && error2.locations) {
500
+ for (var _i6 = 0, _error$locations2 = error2.locations; _i6 < _error$locations2.length; _i6++) {
508
501
  var location = _error$locations2[_i6];
509
- output += "\n\n" + (0, _printLocation.printSourceLocation)(error3.source, location);
502
+ output += "\n\n" + (0, _printLocation.printSourceLocation)(error2.source, location);
510
503
  }
511
504
  }
512
505
  return output;
@@ -2743,9 +2736,9 @@ var require_assertValidName2 = __commonJS({
2743
2736
  }
2744
2737
  var NAME_RX = /^[_a-zA-Z][_a-zA-Z0-9]*$/;
2745
2738
  function assertValidName(name) {
2746
- var error3 = isValidNameError(name);
2747
- if (error3) {
2748
- throw error3;
2739
+ var error2 = isValidNameError(name);
2740
+ if (error2) {
2741
+ throw error2;
2749
2742
  }
2750
2743
  return name;
2751
2744
  }
@@ -5707,8 +5700,8 @@ var require_validate3 = __commonJS({
5707
5700
  function assertValidSchema(schema) {
5708
5701
  var errors = validateSchema(schema);
5709
5702
  if (errors.length !== 0) {
5710
- throw new Error(errors.map(function(error3) {
5711
- return error3.message;
5703
+ throw new Error(errors.map(function(error2) {
5704
+ return error2.message;
5712
5705
  }).join("\n\n"));
5713
5706
  }
5714
5707
  }
@@ -5722,8 +5715,8 @@ var require_validate3 = __commonJS({
5722
5715
  var _nodes = Array.isArray(nodes) ? nodes.filter(Boolean) : nodes;
5723
5716
  this.addError(new _GraphQLError.GraphQLError(message, _nodes));
5724
5717
  };
5725
- _proto.addError = function addError(error3) {
5726
- this._errors.push(error3);
5718
+ _proto.addError = function addError(error2) {
5719
+ this._errors.push(error2);
5727
5720
  };
5728
5721
  _proto.getErrors = function getErrors() {
5729
5722
  return this._errors;
@@ -5787,9 +5780,9 @@ var require_validate3 = __commonJS({
5787
5780
  }
5788
5781
  }
5789
5782
  function validateName(context, node2) {
5790
- var error3 = (0, _assertValidName.isValidNameError)(node2.name);
5791
- if (error3) {
5792
- context.addError((0, _locatedError.locatedError)(error3, node2.astNode));
5783
+ var error2 = (0, _assertValidName.isValidNameError)(node2.name);
5784
+ if (error2) {
5785
+ context.addError((0, _locatedError.locatedError)(error2, node2.astNode));
5793
5786
  }
5794
5787
  }
5795
5788
  function validateTypes(context) {
@@ -7494,12 +7487,12 @@ var require_ValuesOfCorrectTypeRule2 = __commonJS({
7494
7487
  var _typeStr = (0, _inspect.default)(locationType);
7495
7488
  context.reportError(new _GraphQLError.GraphQLError('Expected value of type "'.concat(_typeStr, '", found ').concat((0, _printer.print)(node2), "."), node2));
7496
7489
  }
7497
- } catch (error3) {
7490
+ } catch (error2) {
7498
7491
  var _typeStr2 = (0, _inspect.default)(locationType);
7499
- if (error3 instanceof _GraphQLError.GraphQLError) {
7500
- context.reportError(error3);
7492
+ if (error2 instanceof _GraphQLError.GraphQLError) {
7493
+ context.reportError(error2);
7501
7494
  } else {
7502
- context.reportError(new _GraphQLError.GraphQLError('Expected value of type "'.concat(_typeStr2, '", found ').concat((0, _printer.print)(node2), "; ") + error3.message, node2, void 0, void 0, void 0, error3));
7495
+ context.reportError(new _GraphQLError.GraphQLError('Expected value of type "'.concat(_typeStr2, '", found ').concat((0, _printer.print)(node2), "; ") + error2.message, node2, void 0, void 0, void 0, error2));
7503
7496
  }
7504
7497
  }
7505
7498
  }
@@ -8481,8 +8474,8 @@ var require_ValidationContext2 = __commonJS({
8481
8474
  this._onError = onError;
8482
8475
  }
8483
8476
  var _proto = ASTValidationContext2.prototype;
8484
- _proto.reportError = function reportError(error3) {
8485
- this._onError(error3);
8477
+ _proto.reportError = function reportError(error2) {
8478
+ this._onError(error2);
8486
8479
  };
8487
8480
  _proto.getDocument = function getDocument() {
8488
8481
  return this._ast;
@@ -8672,12 +8665,12 @@ var require_validate4 = __commonJS({
8672
8665
  (0, _validate.assertValidSchema)(schema);
8673
8666
  var abortObj = Object.freeze({});
8674
8667
  var errors = [];
8675
- var context = new _ValidationContext.ValidationContext(schema, documentAST, typeInfo, function(error3) {
8668
+ var context = new _ValidationContext.ValidationContext(schema, documentAST, typeInfo, function(error2) {
8676
8669
  if (options.maxErrors != null && errors.length >= options.maxErrors) {
8677
8670
  errors.push(new _GraphQLError.GraphQLError("Too many validation errors, error limit reached. Validation aborted."));
8678
8671
  throw abortObj;
8679
8672
  }
8680
- errors.push(error3);
8673
+ errors.push(error2);
8681
8674
  });
8682
8675
  var visitor = (0, _visitor.visitInParallel)(rules.map(function(rule) {
8683
8676
  return rule(context);
@@ -8694,8 +8687,8 @@ var require_validate4 = __commonJS({
8694
8687
  function validateSDL(documentAST, schemaToExtend) {
8695
8688
  var rules = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : _specifiedRules.specifiedSDLRules;
8696
8689
  var errors = [];
8697
- var context = new _ValidationContext.SDLValidationContext(documentAST, schemaToExtend, function(error3) {
8698
- errors.push(error3);
8690
+ var context = new _ValidationContext.SDLValidationContext(documentAST, schemaToExtend, function(error2) {
8691
+ errors.push(error2);
8699
8692
  });
8700
8693
  var visitors = rules.map(function(rule) {
8701
8694
  return rule(context);
@@ -8706,16 +8699,16 @@ var require_validate4 = __commonJS({
8706
8699
  function assertValidSDL(documentAST) {
8707
8700
  var errors = validateSDL(documentAST);
8708
8701
  if (errors.length !== 0) {
8709
- throw new Error(errors.map(function(error3) {
8710
- return error3.message;
8702
+ throw new Error(errors.map(function(error2) {
8703
+ return error2.message;
8711
8704
  }).join("\n\n"));
8712
8705
  }
8713
8706
  }
8714
8707
  function assertValidSDLExtension(documentAST, schema) {
8715
8708
  var errors = validateSDL(documentAST, schema);
8716
8709
  if (errors.length !== 0) {
8717
- throw new Error(errors.map(function(error3) {
8718
- return error3.message;
8710
+ throw new Error(errors.map(function(error2) {
8711
+ return error2.message;
8719
8712
  }).join("\n\n"));
8720
8713
  }
8721
8714
  }
@@ -9028,13 +9021,13 @@ var require_coerceInputValue2 = __commonJS({
9028
9021
  var onError = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : defaultOnError;
9029
9022
  return coerceInputValueImpl(inputValue, type, onError);
9030
9023
  }
9031
- function defaultOnError(path3, invalidValue, error3) {
9024
+ function defaultOnError(path3, invalidValue, error2) {
9032
9025
  var errorPrefix = "Invalid value " + (0, _inspect.default)(invalidValue);
9033
9026
  if (path3.length > 0) {
9034
9027
  errorPrefix += ' at "value'.concat((0, _printPathArray.default)(path3), '"');
9035
9028
  }
9036
- error3.message = errorPrefix + ": " + error3.message;
9037
- throw error3;
9029
+ error2.message = errorPrefix + ": " + error2.message;
9030
+ throw error2;
9038
9031
  }
9039
9032
  function coerceInputValueImpl(inputValue, type, onError, path3) {
9040
9033
  if ((0, _definition.isNonNullType)(type)) {
@@ -9092,11 +9085,11 @@ var require_coerceInputValue2 = __commonJS({
9092
9085
  var parseResult;
9093
9086
  try {
9094
9087
  parseResult = type.parseValue(inputValue);
9095
- } catch (error3) {
9096
- if (error3 instanceof _GraphQLError.GraphQLError) {
9097
- onError((0, _Path.pathToArray)(path3), inputValue, error3);
9088
+ } catch (error2) {
9089
+ if (error2 instanceof _GraphQLError.GraphQLError) {
9090
+ onError((0, _Path.pathToArray)(path3), inputValue, error2);
9098
9091
  } else {
9099
- onError((0, _Path.pathToArray)(path3), inputValue, new _GraphQLError.GraphQLError('Expected type "'.concat(type.name, '". ') + error3.message, void 0, void 0, void 0, void 0, error3));
9092
+ onError((0, _Path.pathToArray)(path3), inputValue, new _GraphQLError.GraphQLError('Expected type "'.concat(type.name, '". ') + error2.message, void 0, void 0, void 0, void 0, error2));
9100
9093
  }
9101
9094
  return;
9102
9095
  }
@@ -9138,19 +9131,19 @@ var require_values2 = __commonJS({
9138
9131
  var errors = [];
9139
9132
  var maxErrors = options === null || options === void 0 ? void 0 : options.maxErrors;
9140
9133
  try {
9141
- var coerced = coerceVariableValues(schema, varDefNodes, inputs, function(error3) {
9134
+ var coerced = coerceVariableValues(schema, varDefNodes, inputs, function(error2) {
9142
9135
  if (maxErrors != null && errors.length >= maxErrors) {
9143
9136
  throw new _GraphQLError.GraphQLError("Too many errors processing variables, error limit reached. Execution aborted.");
9144
9137
  }
9145
- errors.push(error3);
9138
+ errors.push(error2);
9146
9139
  });
9147
9140
  if (errors.length === 0) {
9148
9141
  return {
9149
9142
  coerced
9150
9143
  };
9151
9144
  }
9152
- } catch (error3) {
9153
- errors.push(error3);
9145
+ } catch (error2) {
9146
+ errors.push(error2);
9154
9147
  }
9155
9148
  return {
9156
9149
  errors
@@ -9182,12 +9175,12 @@ var require_values2 = __commonJS({
9182
9175
  onError(new _GraphQLError.GraphQLError('Variable "$'.concat(varName, '" of non-null type "').concat(_varTypeStr2, '" must not be null.'), varDefNode));
9183
9176
  return "continue";
9184
9177
  }
9185
- coercedValues[varName] = (0, _coerceInputValue.coerceInputValue)(value2, varType, function(path3, invalidValue, error3) {
9178
+ coercedValues[varName] = (0, _coerceInputValue.coerceInputValue)(value2, varType, function(path3, invalidValue, error2) {
9186
9179
  var prefix = 'Variable "$'.concat(varName, '" got invalid value ') + (0, _inspect.default)(invalidValue);
9187
9180
  if (path3.length > 0) {
9188
9181
  prefix += ' at "'.concat(varName).concat((0, _printPathArray.default)(path3), '"');
9189
9182
  }
9190
- onError(new _GraphQLError.GraphQLError(prefix + "; " + error3.message, varDefNode, void 0, void 0, void 0, error3.originalError));
9183
+ onError(new _GraphQLError.GraphQLError(prefix + "; " + error2.message, varDefNode, void 0, void 0, void 0, error2.originalError));
9191
9184
  });
9192
9185
  };
9193
9186
  for (var _i2 = 0; _i2 < varDefNodes.length; _i2++) {
@@ -9397,14 +9390,14 @@ var require_execute2 = __commonJS({
9397
9390
  try {
9398
9391
  var result = operation.operation === "mutation" ? executeFieldsSerially(exeContext, type, rootValue, path3, fields) : executeFields(exeContext, type, rootValue, path3, fields);
9399
9392
  if ((0, _isPromise.default)(result)) {
9400
- return result.then(void 0, function(error3) {
9401
- exeContext.errors.push(error3);
9393
+ return result.then(void 0, function(error2) {
9394
+ exeContext.errors.push(error2);
9402
9395
  return Promise.resolve(null);
9403
9396
  });
9404
9397
  }
9405
9398
  return result;
9406
- } catch (error3) {
9407
- exeContext.errors.push(error3);
9399
+ } catch (error2) {
9400
+ exeContext.errors.push(error2);
9408
9401
  return null;
9409
9402
  }
9410
9403
  }
@@ -9538,14 +9531,14 @@ var require_execute2 = __commonJS({
9538
9531
  }
9539
9532
  if ((0, _isPromise.default)(completed)) {
9540
9533
  return completed.then(void 0, function(rawError) {
9541
- var error4 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(path3));
9542
- return handleFieldError(error4, returnType, exeContext);
9534
+ var error3 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(path3));
9535
+ return handleFieldError(error3, returnType, exeContext);
9543
9536
  });
9544
9537
  }
9545
9538
  return completed;
9546
9539
  } catch (rawError) {
9547
- var error3 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(path3));
9548
- return handleFieldError(error3, returnType, exeContext);
9540
+ var error2 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(path3));
9541
+ return handleFieldError(error2, returnType, exeContext);
9549
9542
  }
9550
9543
  }
9551
9544
  function buildResolveInfo(exeContext, fieldDef, fieldNodes, parentType, path3) {
@@ -9562,11 +9555,11 @@ var require_execute2 = __commonJS({
9562
9555
  variableValues: exeContext.variableValues
9563
9556
  };
9564
9557
  }
9565
- function handleFieldError(error3, returnType, exeContext) {
9558
+ function handleFieldError(error2, returnType, exeContext) {
9566
9559
  if ((0, _definition.isNonNullType)(returnType)) {
9567
- throw error3;
9560
+ throw error2;
9568
9561
  }
9569
- exeContext.errors.push(error3);
9562
+ exeContext.errors.push(error2);
9570
9563
  return null;
9571
9564
  }
9572
9565
  function completeValue(exeContext, returnType, fieldNodes, info, path3, result) {
@@ -9614,14 +9607,14 @@ var require_execute2 = __commonJS({
9614
9607
  if ((0, _isPromise.default)(completedItem)) {
9615
9608
  containsPromise = true;
9616
9609
  return completedItem.then(void 0, function(rawError) {
9617
- var error4 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(itemPath));
9618
- return handleFieldError(error4, itemType, exeContext);
9610
+ var error3 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(itemPath));
9611
+ return handleFieldError(error3, itemType, exeContext);
9619
9612
  });
9620
9613
  }
9621
9614
  return completedItem;
9622
9615
  } catch (rawError) {
9623
- var error3 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(itemPath));
9624
- return handleFieldError(error3, itemType, exeContext);
9616
+ var error2 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(itemPath));
9617
+ return handleFieldError(error2, itemType, exeContext);
9625
9618
  }
9626
9619
  });
9627
9620
  if (completedResults == null) {
@@ -10621,9 +10614,9 @@ var require_mapAsyncIterator2 = __commonJS({
10621
10614
  var abruptClose;
10622
10615
  if (typeof iterator.return === "function") {
10623
10616
  $return = iterator.return;
10624
- abruptClose = function abruptClose2(error3) {
10617
+ abruptClose = function abruptClose2(error2) {
10625
10618
  var rethrow = function rethrow2() {
10626
- return Promise.reject(error3);
10619
+ return Promise.reject(error2);
10627
10620
  };
10628
10621
  return $return.call(iterator).then(rethrow, rethrow);
10629
10622
  };
@@ -10634,8 +10627,8 @@ var require_mapAsyncIterator2 = __commonJS({
10634
10627
  var mapReject;
10635
10628
  if (rejectCallback) {
10636
10629
  var reject = rejectCallback;
10637
- mapReject = function mapReject2(error3) {
10638
- return asyncMapValue(error3, reject).then(iteratorResult, abruptClose);
10630
+ mapReject = function mapReject2(error2) {
10631
+ return asyncMapValue(error2, reject).then(iteratorResult, abruptClose);
10639
10632
  };
10640
10633
  }
10641
10634
  return _defineProperty({
@@ -10648,11 +10641,11 @@ var require_mapAsyncIterator2 = __commonJS({
10648
10641
  done: true
10649
10642
  });
10650
10643
  },
10651
- throw: function _throw(error3) {
10644
+ throw: function _throw(error2) {
10652
10645
  if (typeof iterator.throw === "function") {
10653
- return iterator.throw(error3).then(mapResult, mapReject);
10646
+ return iterator.throw(error2).then(mapResult, mapReject);
10654
10647
  }
10655
- return Promise.reject(error3).catch(abruptClose);
10648
+ return Promise.reject(error2).catch(abruptClose);
10656
10649
  }
10657
10650
  }, _symbols.SYMBOL_ASYNC_ITERATOR, function() {
10658
10651
  return this;
@@ -10705,13 +10698,13 @@ var require_subscribe2 = __commonJS({
10705
10698
  subscribeFieldResolver
10706
10699
  });
10707
10700
  }
10708
- function reportGraphQLError(error3) {
10709
- if (error3 instanceof _GraphQLError.GraphQLError) {
10701
+ function reportGraphQLError(error2) {
10702
+ if (error2 instanceof _GraphQLError.GraphQLError) {
10710
10703
  return {
10711
- errors: [error3]
10704
+ errors: [error2]
10712
10705
  };
10713
10706
  }
10714
- throw error3;
10707
+ throw error2;
10715
10708
  }
10716
10709
  function subscribeImpl(args) {
10717
10710
  var schema = args.schema, document2 = args.document, rootValue = args.rootValue, contextValue = args.contextValue, variableValues = args.variableValues, operationName = args.operationName, fieldResolver = args.fieldResolver, subscribeFieldResolver = args.subscribeFieldResolver;
@@ -10771,8 +10764,8 @@ var require_subscribe2 = __commonJS({
10771
10764
  throw new Error("Subscription field must return Async Iterable. " + "Received: ".concat((0, _inspect.default)(eventStream), "."));
10772
10765
  }
10773
10766
  return eventStream;
10774
- }, function(error3) {
10775
- throw (0, _locatedError.locatedError)(error3, fieldNodes, (0, _Path.pathToArray)(path3));
10767
+ }, function(error2) {
10768
+ throw (0, _locatedError.locatedError)(error2, fieldNodes, (0, _Path.pathToArray)(path3));
10776
10769
  });
10777
10770
  }
10778
10771
  }
@@ -11177,13 +11170,13 @@ var require_formatError2 = __commonJS({
11177
11170
  function _interopRequireDefault(obj) {
11178
11171
  return obj && obj.__esModule ? obj : { default: obj };
11179
11172
  }
11180
- function formatError(error3) {
11173
+ function formatError(error2) {
11181
11174
  var _error$message;
11182
- error3 || (0, _devAssert.default)(0, "Received null or undefined error.");
11183
- var message = (_error$message = error3.message) !== null && _error$message !== void 0 ? _error$message : "An unknown error occurred.";
11184
- var locations = error3.locations;
11185
- var path3 = error3.path;
11186
- var extensions = error3.extensions;
11175
+ error2 || (0, _devAssert.default)(0, "Received null or undefined error.");
11176
+ var message = (_error$message = error2.message) !== null && _error$message !== void 0 ? _error$message : "An unknown error occurred.";
11177
+ var locations = error2.locations;
11178
+ var path3 = error2.path;
11179
+ var extensions = error2.extensions;
11187
11180
  return extensions && Object.keys(extensions).length > 0 ? {
11188
11181
  message,
11189
11182
  locations,
@@ -14717,14 +14710,18 @@ var require_graphql4 = __commonJS({
14717
14710
  }
14718
14711
  });
14719
14712
 
14720
- // ../../node_modules/.pnpm/tslib@2.4.1/node_modules/tslib/tslib.js
14713
+ // ../../node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js
14721
14714
  var require_tslib3 = __commonJS({
14722
- "../../node_modules/.pnpm/tslib@2.4.1/node_modules/tslib/tslib.js"(exports, module) {
14715
+ "../../node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js"(exports, module) {
14723
14716
  var __extends;
14724
14717
  var __assign;
14725
14718
  var __rest;
14726
14719
  var __decorate;
14727
14720
  var __param;
14721
+ var __esDecorate;
14722
+ var __runInitializers;
14723
+ var __propKey;
14724
+ var __setFunctionName;
14728
14725
  var __metadata;
14729
14726
  var __awaiter;
14730
14727
  var __generator;
@@ -14821,6 +14818,65 @@ var require_tslib3 = __commonJS({
14821
14818
  decorator(target, key, paramIndex);
14822
14819
  };
14823
14820
  };
14821
+ __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
14822
+ function accept(f4) {
14823
+ if (f4 !== void 0 && typeof f4 !== "function")
14824
+ throw new TypeError("Function expected");
14825
+ return f4;
14826
+ }
14827
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
14828
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
14829
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
14830
+ var _, done = false;
14831
+ for (var i3 = decorators.length - 1; i3 >= 0; i3--) {
14832
+ var context = {};
14833
+ for (var p in contextIn)
14834
+ context[p] = p === "access" ? {} : contextIn[p];
14835
+ for (var p in contextIn.access)
14836
+ context.access[p] = contextIn.access[p];
14837
+ context.addInitializer = function(f4) {
14838
+ if (done)
14839
+ throw new TypeError("Cannot add initializers after decoration has completed");
14840
+ extraInitializers.push(accept(f4 || null));
14841
+ };
14842
+ var result = (0, decorators[i3])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
14843
+ if (kind === "accessor") {
14844
+ if (result === void 0)
14845
+ continue;
14846
+ if (result === null || typeof result !== "object")
14847
+ throw new TypeError("Object expected");
14848
+ if (_ = accept(result.get))
14849
+ descriptor.get = _;
14850
+ if (_ = accept(result.set))
14851
+ descriptor.set = _;
14852
+ if (_ = accept(result.init))
14853
+ initializers.push(_);
14854
+ } else if (_ = accept(result)) {
14855
+ if (kind === "field")
14856
+ initializers.push(_);
14857
+ else
14858
+ descriptor[key] = _;
14859
+ }
14860
+ }
14861
+ if (target)
14862
+ Object.defineProperty(target, contextIn.name, descriptor);
14863
+ done = true;
14864
+ };
14865
+ __runInitializers = function(thisArg, initializers, value2) {
14866
+ var useValue = arguments.length > 2;
14867
+ for (var i3 = 0; i3 < initializers.length; i3++) {
14868
+ value2 = useValue ? initializers[i3].call(thisArg, value2) : initializers[i3].call(thisArg);
14869
+ }
14870
+ return useValue ? value2 : void 0;
14871
+ };
14872
+ __propKey = function(x4) {
14873
+ return typeof x4 === "symbol" ? x4 : "".concat(x4);
14874
+ };
14875
+ __setFunctionName = function(f4, name, prefix) {
14876
+ if (typeof name === "symbol")
14877
+ name = name.description ? "[".concat(name.description, "]") : "";
14878
+ return Object.defineProperty(f4, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
14879
+ };
14824
14880
  __metadata = function(metadataKey, metadataValue) {
14825
14881
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
14826
14882
  return Reflect.metadata(metadataKey, metadataValue);
@@ -14970,8 +15026,8 @@ var require_tslib3 = __commonJS({
14970
15026
  try {
14971
15027
  while ((n2 === void 0 || n2-- > 0) && !(r3 = i3.next()).done)
14972
15028
  ar.push(r3.value);
14973
- } catch (error3) {
14974
- e3 = { error: error3 };
15029
+ } catch (error2) {
15030
+ e3 = { error: error2 };
14975
15031
  } finally {
14976
15032
  try {
14977
15033
  if (r3 && !r3.done && (m3 = i3["return"]))
@@ -15055,7 +15111,7 @@ var require_tslib3 = __commonJS({
15055
15111
  }, i3;
15056
15112
  function verb(n2, f4) {
15057
15113
  i3[n2] = o[n2] ? function(v) {
15058
- return (p = !p) ? { value: __await(o[n2](v)), done: n2 === "return" } : f4 ? f4(v) : v;
15114
+ return (p = !p) ? { value: __await(o[n2](v)), done: false } : f4 ? f4(v) : v;
15059
15115
  } : f4;
15060
15116
  }
15061
15117
  };
@@ -15133,6 +15189,10 @@ var require_tslib3 = __commonJS({
15133
15189
  exporter("__rest", __rest);
15134
15190
  exporter("__decorate", __decorate);
15135
15191
  exporter("__param", __param);
15192
+ exporter("__esDecorate", __esDecorate);
15193
+ exporter("__runInitializers", __runInitializers);
15194
+ exporter("__propKey", __propKey);
15195
+ exporter("__setFunctionName", __setFunctionName);
15136
15196
  exporter("__metadata", __metadata);
15137
15197
  exporter("__awaiter", __awaiter);
15138
15198
  exporter("__generator", __generator);
@@ -21130,14 +21190,14 @@ var require_esprima6 = __commonJS({
21130
21190
  this.startMarker.line = this.scanner.lineNumber;
21131
21191
  this.startMarker.column = this.scanner.index - this.scanner.lineStart;
21132
21192
  var start = this.scanner.index;
21133
- var text3 = "";
21193
+ var text2 = "";
21134
21194
  while (!this.scanner.eof()) {
21135
21195
  var ch = this.scanner.source[this.scanner.index];
21136
21196
  if (ch === "{" || ch === "<") {
21137
21197
  break;
21138
21198
  }
21139
21199
  ++this.scanner.index;
21140
- text3 += ch;
21200
+ text2 += ch;
21141
21201
  if (character_1.Character.isLineTerminator(ch.charCodeAt(0))) {
21142
21202
  ++this.scanner.lineNumber;
21143
21203
  if (ch === "\r" && this.scanner.source[this.scanner.index] === "\n") {
@@ -21151,13 +21211,13 @@ var require_esprima6 = __commonJS({
21151
21211
  this.lastMarker.column = this.scanner.index - this.scanner.lineStart;
21152
21212
  var token = {
21153
21213
  type: 101,
21154
- value: text3,
21214
+ value: text2,
21155
21215
  lineNumber: this.scanner.lineNumber,
21156
21216
  lineStart: this.scanner.lineStart,
21157
21217
  start,
21158
21218
  end: this.scanner.index
21159
21219
  };
21160
- if (text3.length > 0 && this.config.tokens) {
21220
+ if (text2.length > 0 && this.config.tokens) {
21161
21221
  this.tokens.push(this.convertToken(token));
21162
21222
  }
21163
21223
  return token;
@@ -25100,45 +25160,45 @@ var require_esprima6 = __commonJS({
25100
25160
  this.errors = [];
25101
25161
  this.tolerant = false;
25102
25162
  }
25103
- ErrorHandler2.prototype.recordError = function(error3) {
25104
- this.errors.push(error3);
25163
+ ErrorHandler2.prototype.recordError = function(error2) {
25164
+ this.errors.push(error2);
25105
25165
  };
25106
- ErrorHandler2.prototype.tolerate = function(error3) {
25166
+ ErrorHandler2.prototype.tolerate = function(error2) {
25107
25167
  if (this.tolerant) {
25108
- this.recordError(error3);
25168
+ this.recordError(error2);
25109
25169
  } else {
25110
- throw error3;
25170
+ throw error2;
25111
25171
  }
25112
25172
  };
25113
25173
  ErrorHandler2.prototype.constructError = function(msg, column) {
25114
- var error3 = new Error(msg);
25174
+ var error2 = new Error(msg);
25115
25175
  try {
25116
- throw error3;
25176
+ throw error2;
25117
25177
  } catch (base) {
25118
25178
  if (Object.create && Object.defineProperty) {
25119
- error3 = Object.create(base);
25120
- Object.defineProperty(error3, "column", { value: column });
25179
+ error2 = Object.create(base);
25180
+ Object.defineProperty(error2, "column", { value: column });
25121
25181
  }
25122
25182
  }
25123
- return error3;
25183
+ return error2;
25124
25184
  };
25125
25185
  ErrorHandler2.prototype.createError = function(index, line, col, description) {
25126
25186
  var msg = "Line " + line + ": " + description;
25127
- var error3 = this.constructError(msg, col);
25128
- error3.index = index;
25129
- error3.lineNumber = line;
25130
- error3.description = description;
25131
- return error3;
25187
+ var error2 = this.constructError(msg, col);
25188
+ error2.index = index;
25189
+ error2.lineNumber = line;
25190
+ error2.description = description;
25191
+ return error2;
25132
25192
  };
25133
25193
  ErrorHandler2.prototype.throwError = function(index, line, col, description) {
25134
25194
  throw this.createError(index, line, col, description);
25135
25195
  };
25136
25196
  ErrorHandler2.prototype.tolerateError = function(index, line, col, description) {
25137
- var error3 = this.createError(index, line, col, description);
25197
+ var error2 = this.createError(index, line, col, description);
25138
25198
  if (this.tolerant) {
25139
- this.recordError(error3);
25199
+ this.recordError(error2);
25140
25200
  } else {
25141
- throw error3;
25201
+ throw error2;
25142
25202
  }
25143
25203
  };
25144
25204
  return ErrorHandler2;
@@ -27016,13 +27076,13 @@ var require_lines3 = __commonJS({
27016
27076
  return null;
27017
27077
  }
27018
27078
  var targetLines = this;
27019
- function updateJSON(json2) {
27020
- json2 = json2 || {};
27021
- json2.file = sourceMapName;
27079
+ function updateJSON(json) {
27080
+ json = json || {};
27081
+ json.file = sourceMapName;
27022
27082
  if (sourceRoot) {
27023
- json2.sourceRoot = sourceRoot;
27083
+ json.sourceRoot = sourceRoot;
27024
27084
  }
27025
- return json2;
27085
+ return json;
27026
27086
  }
27027
27087
  if (targetLines.cachedSourceMap) {
27028
27088
  return updateJSON(targetLines.cachedSourceMap.toJSON());
@@ -30982,106 +31042,6 @@ var require_main5 = __commonJS({
30982
31042
  }
30983
31043
  });
30984
31044
 
30985
- // ../../node_modules/.pnpm/@sveltejs+kit@1.3.9_svelte@3.55.1+vite@4.1.1/node_modules/@sveltejs/kit/src/runtime/control.js
30986
- var HttpError, Redirect, ActionFailure;
30987
- var init_control = __esm({
30988
- "../../node_modules/.pnpm/@sveltejs+kit@1.3.9_svelte@3.55.1+vite@4.1.1/node_modules/@sveltejs/kit/src/runtime/control.js"() {
30989
- HttpError = class HttpError2 {
30990
- constructor(status, body) {
30991
- this.status = status;
30992
- if (typeof body === "string") {
30993
- this.body = { message: body };
30994
- } else if (body) {
30995
- this.body = body;
30996
- } else {
30997
- this.body = { message: `Error: ${status}` };
30998
- }
30999
- }
31000
- toString() {
31001
- return JSON.stringify(this.body);
31002
- }
31003
- };
31004
- Redirect = class Redirect2 {
31005
- constructor(status, location) {
31006
- this.status = status;
31007
- this.location = location;
31008
- }
31009
- };
31010
- ActionFailure = class ActionFailure2 {
31011
- constructor(status, data2) {
31012
- this.status = status;
31013
- this.data = data2;
31014
- }
31015
- };
31016
- }
31017
- });
31018
-
31019
- // ../../node_modules/.pnpm/esm-env@1.0.0/node_modules/esm-env/prod-ssr.js
31020
- var BROWSER, DEV;
31021
- var init_prod_ssr = __esm({
31022
- "../../node_modules/.pnpm/esm-env@1.0.0/node_modules/esm-env/prod-ssr.js"() {
31023
- BROWSER = false;
31024
- DEV = false;
31025
- }
31026
- });
31027
-
31028
- // ../../node_modules/.pnpm/@sveltejs+kit@1.3.9_svelte@3.55.1+vite@4.1.1/node_modules/@sveltejs/kit/src/exports/index.js
31029
- var exports_exports = {};
31030
- __export(exports_exports, {
31031
- error: () => error2,
31032
- fail: () => fail,
31033
- json: () => json,
31034
- redirect: () => redirect,
31035
- text: () => text2
31036
- });
31037
- function error2(status, message) {
31038
- if ((!BROWSER || DEV) && (isNaN(status) || status < 400 || status > 599)) {
31039
- throw new Error(`HTTP error status codes must be between 400 and 599 \u2014 ${status} is invalid`);
31040
- }
31041
- return new HttpError(status, message);
31042
- }
31043
- function redirect(status, location) {
31044
- if ((!BROWSER || DEV) && (isNaN(status) || status < 300 || status > 308)) {
31045
- throw new Error("Invalid status code");
31046
- }
31047
- return new Redirect(status, location);
31048
- }
31049
- function json(data2, init) {
31050
- const body = JSON.stringify(data2);
31051
- const headers = new Headers(init?.headers);
31052
- if (!headers.has("content-length")) {
31053
- headers.set("content-length", encoder.encode(body).byteLength.toString());
31054
- }
31055
- if (!headers.has("content-type")) {
31056
- headers.set("content-type", "application/json");
31057
- }
31058
- return new Response(body, {
31059
- ...init,
31060
- headers
31061
- });
31062
- }
31063
- function text2(body, init) {
31064
- const headers = new Headers(init?.headers);
31065
- if (!headers.has("content-length")) {
31066
- headers.set("content-length", encoder.encode(body).byteLength.toString());
31067
- }
31068
- return new Response(body, {
31069
- ...init,
31070
- headers
31071
- });
31072
- }
31073
- function fail(status, data2) {
31074
- return new ActionFailure(status, data2);
31075
- }
31076
- var encoder;
31077
- var init_exports = __esm({
31078
- "../../node_modules/.pnpm/@sveltejs+kit@1.3.9_svelte@3.55.1+vite@4.1.1/node_modules/@sveltejs/kit/src/exports/index.js"() {
31079
- init_control();
31080
- init_prod_ssr();
31081
- encoder = new TextEncoder();
31082
- }
31083
- });
31084
-
31085
31045
  // ../houdini/build/lib-esm/index.js
31086
31046
  import { createRequire as conflict_free } from "module";
31087
31047
  import { statSync, createReadStream, promises as fs2 } from "node:fs";
@@ -31111,13 +31071,13 @@ var __require2 = /* @__PURE__ */ ((x22) => typeof require2 !== "undefined" ? req
31111
31071
  return require2.apply(this, arguments);
31112
31072
  throw new Error('Dynamic require of "' + x22 + '" is not supported');
31113
31073
  });
31114
- var __esm2 = (fn, res) => function __init() {
31074
+ var __esm = (fn, res) => function __init() {
31115
31075
  return fn && (res = (0, fn[__getOwnPropNames2(fn)[0]])(fn = 0)), res;
31116
31076
  };
31117
31077
  var __commonJS2 = (cb, mod) => function __require22() {
31118
31078
  return mod || (0, cb[__getOwnPropNames2(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
31119
31079
  };
31120
- var __export2 = (target, all) => {
31080
+ var __export = (target, all) => {
31121
31081
  for (var name in all)
31122
31082
  __defProp2(target, name, { get: all[name], enumerable: true });
31123
31083
  };
@@ -31579,19 +31539,19 @@ var require_GraphQLError = __commonJS2({
31579
31539
  function undefinedIfEmpty(array) {
31580
31540
  return array === void 0 || array.length === 0 ? void 0 : array;
31581
31541
  }
31582
- function printError(error3) {
31583
- var output = error3.message;
31584
- if (error3.nodes) {
31585
- for (var _i4 = 0, _error$nodes2 = error3.nodes; _i4 < _error$nodes2.length; _i4++) {
31542
+ function printError(error2) {
31543
+ var output = error2.message;
31544
+ if (error2.nodes) {
31545
+ for (var _i4 = 0, _error$nodes2 = error2.nodes; _i4 < _error$nodes2.length; _i4++) {
31586
31546
  var node2 = _error$nodes2[_i4];
31587
31547
  if (node2.loc) {
31588
31548
  output += "\n\n" + (0, _printLocation.printLocation)(node2.loc);
31589
31549
  }
31590
31550
  }
31591
- } else if (error3.source && error3.locations) {
31592
- for (var _i6 = 0, _error$locations2 = error3.locations; _i6 < _error$locations2.length; _i6++) {
31551
+ } else if (error2.source && error2.locations) {
31552
+ for (var _i6 = 0, _error$locations2 = error2.locations; _i6 < _error$locations2.length; _i6++) {
31593
31553
  var location = _error$locations2[_i6];
31594
- output += "\n\n" + (0, _printLocation.printSourceLocation)(error3.source, location);
31554
+ output += "\n\n" + (0, _printLocation.printSourceLocation)(error2.source, location);
31595
31555
  }
31596
31556
  }
31597
31557
  return output;
@@ -33788,9 +33748,9 @@ var require_assertValidName = __commonJS2({
33788
33748
  }
33789
33749
  var NAME_RX = /^[_a-zA-Z][_a-zA-Z0-9]*$/;
33790
33750
  function assertValidName(name) {
33791
- var error3 = isValidNameError(name);
33792
- if (error3) {
33793
- throw error3;
33751
+ var error2 = isValidNameError(name);
33752
+ if (error2) {
33753
+ throw error2;
33794
33754
  }
33795
33755
  return name;
33796
33756
  }
@@ -36706,8 +36666,8 @@ var require_validate = __commonJS2({
36706
36666
  function assertValidSchema(schema) {
36707
36667
  var errors = validateSchema(schema);
36708
36668
  if (errors.length !== 0) {
36709
- throw new Error(errors.map(function(error3) {
36710
- return error3.message;
36669
+ throw new Error(errors.map(function(error2) {
36670
+ return error2.message;
36711
36671
  }).join("\n\n"));
36712
36672
  }
36713
36673
  }
@@ -36721,8 +36681,8 @@ var require_validate = __commonJS2({
36721
36681
  var _nodes = Array.isArray(nodes) ? nodes.filter(Boolean) : nodes;
36722
36682
  this.addError(new _GraphQLError.GraphQLError(message, _nodes));
36723
36683
  };
36724
- _proto.addError = function addError(error3) {
36725
- this._errors.push(error3);
36684
+ _proto.addError = function addError(error2) {
36685
+ this._errors.push(error2);
36726
36686
  };
36727
36687
  _proto.getErrors = function getErrors() {
36728
36688
  return this._errors;
@@ -36786,9 +36746,9 @@ var require_validate = __commonJS2({
36786
36746
  }
36787
36747
  }
36788
36748
  function validateName(context, node2) {
36789
- var error3 = (0, _assertValidName.isValidNameError)(node2.name);
36790
- if (error3) {
36791
- context.addError((0, _locatedError.locatedError)(error3, node2.astNode));
36749
+ var error2 = (0, _assertValidName.isValidNameError)(node2.name);
36750
+ if (error2) {
36751
+ context.addError((0, _locatedError.locatedError)(error2, node2.astNode));
36792
36752
  }
36793
36753
  }
36794
36754
  function validateTypes(context) {
@@ -38443,12 +38403,12 @@ var require_ValuesOfCorrectTypeRule = __commonJS2({
38443
38403
  var _typeStr = (0, _inspect.default)(locationType);
38444
38404
  context.reportError(new _GraphQLError.GraphQLError('Expected value of type "'.concat(_typeStr, '", found ').concat((0, _printer.print)(node2), "."), node2));
38445
38405
  }
38446
- } catch (error3) {
38406
+ } catch (error2) {
38447
38407
  var _typeStr2 = (0, _inspect.default)(locationType);
38448
- if (error3 instanceof _GraphQLError.GraphQLError) {
38449
- context.reportError(error3);
38408
+ if (error2 instanceof _GraphQLError.GraphQLError) {
38409
+ context.reportError(error2);
38450
38410
  } else {
38451
- context.reportError(new _GraphQLError.GraphQLError('Expected value of type "'.concat(_typeStr2, '", found ').concat((0, _printer.print)(node2), "; ") + error3.message, node2, void 0, void 0, void 0, error3));
38411
+ context.reportError(new _GraphQLError.GraphQLError('Expected value of type "'.concat(_typeStr2, '", found ').concat((0, _printer.print)(node2), "; ") + error2.message, node2, void 0, void 0, void 0, error2));
38452
38412
  }
38453
38413
  }
38454
38414
  }
@@ -39404,8 +39364,8 @@ var require_ValidationContext = __commonJS2({
39404
39364
  this._onError = onError;
39405
39365
  }
39406
39366
  var _proto = ASTValidationContext2.prototype;
39407
- _proto.reportError = function reportError(error3) {
39408
- this._onError(error3);
39367
+ _proto.reportError = function reportError(error2) {
39368
+ this._onError(error2);
39409
39369
  };
39410
39370
  _proto.getDocument = function getDocument() {
39411
39371
  return this._ast;
@@ -39593,12 +39553,12 @@ var require_validate2 = __commonJS2({
39593
39553
  (0, _validate.assertValidSchema)(schema);
39594
39554
  var abortObj = Object.freeze({});
39595
39555
  var errors = [];
39596
- var context = new _ValidationContext.ValidationContext(schema, documentAST, typeInfo, function(error3) {
39556
+ var context = new _ValidationContext.ValidationContext(schema, documentAST, typeInfo, function(error2) {
39597
39557
  if (options.maxErrors != null && errors.length >= options.maxErrors) {
39598
39558
  errors.push(new _GraphQLError.GraphQLError("Too many validation errors, error limit reached. Validation aborted."));
39599
39559
  throw abortObj;
39600
39560
  }
39601
- errors.push(error3);
39561
+ errors.push(error2);
39602
39562
  });
39603
39563
  var visitor = (0, _visitor.visitInParallel)(rules.map(function(rule) {
39604
39564
  return rule(context);
@@ -39615,8 +39575,8 @@ var require_validate2 = __commonJS2({
39615
39575
  function validateSDL(documentAST, schemaToExtend) {
39616
39576
  var rules = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : _specifiedRules.specifiedSDLRules;
39617
39577
  var errors = [];
39618
- var context = new _ValidationContext.SDLValidationContext(documentAST, schemaToExtend, function(error3) {
39619
- errors.push(error3);
39578
+ var context = new _ValidationContext.SDLValidationContext(documentAST, schemaToExtend, function(error2) {
39579
+ errors.push(error2);
39620
39580
  });
39621
39581
  var visitors = rules.map(function(rule) {
39622
39582
  return rule(context);
@@ -39627,16 +39587,16 @@ var require_validate2 = __commonJS2({
39627
39587
  function assertValidSDL(documentAST) {
39628
39588
  var errors = validateSDL(documentAST);
39629
39589
  if (errors.length !== 0) {
39630
- throw new Error(errors.map(function(error3) {
39631
- return error3.message;
39590
+ throw new Error(errors.map(function(error2) {
39591
+ return error2.message;
39632
39592
  }).join("\n\n"));
39633
39593
  }
39634
39594
  }
39635
39595
  function assertValidSDLExtension(documentAST, schema) {
39636
39596
  var errors = validateSDL(documentAST, schema);
39637
39597
  if (errors.length !== 0) {
39638
- throw new Error(errors.map(function(error3) {
39639
- return error3.message;
39598
+ throw new Error(errors.map(function(error2) {
39599
+ return error2.message;
39640
39600
  }).join("\n\n"));
39641
39601
  }
39642
39602
  }
@@ -39933,13 +39893,13 @@ var require_coerceInputValue = __commonJS2({
39933
39893
  var onError = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : defaultOnError;
39934
39894
  return coerceInputValueImpl(inputValue, type, onError);
39935
39895
  }
39936
- function defaultOnError(path22, invalidValue, error3) {
39896
+ function defaultOnError(path22, invalidValue, error2) {
39937
39897
  var errorPrefix = "Invalid value " + (0, _inspect.default)(invalidValue);
39938
39898
  if (path22.length > 0) {
39939
39899
  errorPrefix += ' at "value'.concat((0, _printPathArray.default)(path22), '"');
39940
39900
  }
39941
- error3.message = errorPrefix + ": " + error3.message;
39942
- throw error3;
39901
+ error2.message = errorPrefix + ": " + error2.message;
39902
+ throw error2;
39943
39903
  }
39944
39904
  function coerceInputValueImpl(inputValue, type, onError, path22) {
39945
39905
  if ((0, _definition.isNonNullType)(type)) {
@@ -39997,11 +39957,11 @@ var require_coerceInputValue = __commonJS2({
39997
39957
  var parseResult;
39998
39958
  try {
39999
39959
  parseResult = type.parseValue(inputValue);
40000
- } catch (error3) {
40001
- if (error3 instanceof _GraphQLError.GraphQLError) {
40002
- onError((0, _Path.pathToArray)(path22), inputValue, error3);
39960
+ } catch (error2) {
39961
+ if (error2 instanceof _GraphQLError.GraphQLError) {
39962
+ onError((0, _Path.pathToArray)(path22), inputValue, error2);
40003
39963
  } else {
40004
- onError((0, _Path.pathToArray)(path22), inputValue, new _GraphQLError.GraphQLError('Expected type "'.concat(type.name, '". ') + error3.message, void 0, void 0, void 0, void 0, error3));
39964
+ onError((0, _Path.pathToArray)(path22), inputValue, new _GraphQLError.GraphQLError('Expected type "'.concat(type.name, '". ') + error2.message, void 0, void 0, void 0, void 0, error2));
40005
39965
  }
40006
39966
  return;
40007
39967
  }
@@ -40041,19 +40001,19 @@ var require_values = __commonJS2({
40041
40001
  var errors = [];
40042
40002
  var maxErrors = options === null || options === void 0 ? void 0 : options.maxErrors;
40043
40003
  try {
40044
- var coerced = coerceVariableValues(schema, varDefNodes, inputs, function(error3) {
40004
+ var coerced = coerceVariableValues(schema, varDefNodes, inputs, function(error2) {
40045
40005
  if (maxErrors != null && errors.length >= maxErrors) {
40046
40006
  throw new _GraphQLError.GraphQLError("Too many errors processing variables, error limit reached. Execution aborted.");
40047
40007
  }
40048
- errors.push(error3);
40008
+ errors.push(error2);
40049
40009
  });
40050
40010
  if (errors.length === 0) {
40051
40011
  return {
40052
40012
  coerced
40053
40013
  };
40054
40014
  }
40055
- } catch (error3) {
40056
- errors.push(error3);
40015
+ } catch (error2) {
40016
+ errors.push(error2);
40057
40017
  }
40058
40018
  return {
40059
40019
  errors
@@ -40085,12 +40045,12 @@ var require_values = __commonJS2({
40085
40045
  onError(new _GraphQLError.GraphQLError('Variable "$'.concat(varName, '" of non-null type "').concat(_varTypeStr2, '" must not be null.'), varDefNode));
40086
40046
  return "continue";
40087
40047
  }
40088
- coercedValues[varName] = (0, _coerceInputValue.coerceInputValue)(value2, varType, function(path22, invalidValue, error3) {
40048
+ coercedValues[varName] = (0, _coerceInputValue.coerceInputValue)(value2, varType, function(path22, invalidValue, error2) {
40089
40049
  var prefix = 'Variable "$'.concat(varName, '" got invalid value ') + (0, _inspect.default)(invalidValue);
40090
40050
  if (path22.length > 0) {
40091
40051
  prefix += ' at "'.concat(varName).concat((0, _printPathArray.default)(path22), '"');
40092
40052
  }
40093
- onError(new _GraphQLError.GraphQLError(prefix + "; " + error3.message, varDefNode, void 0, void 0, void 0, error3.originalError));
40053
+ onError(new _GraphQLError.GraphQLError(prefix + "; " + error2.message, varDefNode, void 0, void 0, void 0, error2.originalError));
40094
40054
  });
40095
40055
  };
40096
40056
  for (var _i2 = 0; _i2 < varDefNodes.length; _i2++) {
@@ -40298,14 +40258,14 @@ var require_execute = __commonJS2({
40298
40258
  try {
40299
40259
  var result = operation.operation === "mutation" ? executeFieldsSerially(exeContext, type, rootValue, path22, fields) : executeFields(exeContext, type, rootValue, path22, fields);
40300
40260
  if ((0, _isPromise.default)(result)) {
40301
- return result.then(void 0, function(error3) {
40302
- exeContext.errors.push(error3);
40261
+ return result.then(void 0, function(error2) {
40262
+ exeContext.errors.push(error2);
40303
40263
  return Promise.resolve(null);
40304
40264
  });
40305
40265
  }
40306
40266
  return result;
40307
- } catch (error3) {
40308
- exeContext.errors.push(error3);
40267
+ } catch (error2) {
40268
+ exeContext.errors.push(error2);
40309
40269
  return null;
40310
40270
  }
40311
40271
  }
@@ -40445,8 +40405,8 @@ var require_execute = __commonJS2({
40445
40405
  }
40446
40406
  return completed;
40447
40407
  } catch (rawError) {
40448
- var error3 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(path22));
40449
- return handleFieldError(error3, returnType, exeContext);
40408
+ var error2 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(path22));
40409
+ return handleFieldError(error2, returnType, exeContext);
40450
40410
  }
40451
40411
  }
40452
40412
  function buildResolveInfo(exeContext, fieldDef, fieldNodes, parentType, path22) {
@@ -40463,11 +40423,11 @@ var require_execute = __commonJS2({
40463
40423
  variableValues: exeContext.variableValues
40464
40424
  };
40465
40425
  }
40466
- function handleFieldError(error3, returnType, exeContext) {
40426
+ function handleFieldError(error2, returnType, exeContext) {
40467
40427
  if ((0, _definition.isNonNullType)(returnType)) {
40468
- throw error3;
40428
+ throw error2;
40469
40429
  }
40470
- exeContext.errors.push(error3);
40430
+ exeContext.errors.push(error2);
40471
40431
  return null;
40472
40432
  }
40473
40433
  function completeValue(exeContext, returnType, fieldNodes, info, path22, result) {
@@ -40521,8 +40481,8 @@ var require_execute = __commonJS2({
40521
40481
  }
40522
40482
  return completedItem;
40523
40483
  } catch (rawError) {
40524
- var error3 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(itemPath));
40525
- return handleFieldError(error3, itemType, exeContext);
40484
+ var error2 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(itemPath));
40485
+ return handleFieldError(error2, itemType, exeContext);
40526
40486
  }
40527
40487
  });
40528
40488
  if (completedResults == null) {
@@ -41510,9 +41470,9 @@ var require_mapAsyncIterator = __commonJS2({
41510
41470
  var abruptClose;
41511
41471
  if (typeof iterator.return === "function") {
41512
41472
  $return = iterator.return;
41513
- abruptClose = function abruptClose2(error3) {
41473
+ abruptClose = function abruptClose2(error2) {
41514
41474
  var rethrow = function rethrow2() {
41515
- return Promise.reject(error3);
41475
+ return Promise.reject(error2);
41516
41476
  };
41517
41477
  return $return.call(iterator).then(rethrow, rethrow);
41518
41478
  };
@@ -41523,8 +41483,8 @@ var require_mapAsyncIterator = __commonJS2({
41523
41483
  var mapReject;
41524
41484
  if (rejectCallback) {
41525
41485
  var reject = rejectCallback;
41526
- mapReject = function mapReject2(error3) {
41527
- return asyncMapValue(error3, reject).then(iteratorResult, abruptClose);
41486
+ mapReject = function mapReject2(error2) {
41487
+ return asyncMapValue(error2, reject).then(iteratorResult, abruptClose);
41528
41488
  };
41529
41489
  }
41530
41490
  return _defineProperty({
@@ -41537,11 +41497,11 @@ var require_mapAsyncIterator = __commonJS2({
41537
41497
  done: true
41538
41498
  });
41539
41499
  },
41540
- throw: function _throw(error3) {
41500
+ throw: function _throw(error2) {
41541
41501
  if (typeof iterator.throw === "function") {
41542
- return iterator.throw(error3).then(mapResult, mapReject);
41502
+ return iterator.throw(error2).then(mapResult, mapReject);
41543
41503
  }
41544
- return Promise.reject(error3).catch(abruptClose);
41504
+ return Promise.reject(error2).catch(abruptClose);
41545
41505
  }
41546
41506
  }, _symbols.SYMBOL_ASYNC_ITERATOR, function() {
41547
41507
  return this;
@@ -41592,13 +41552,13 @@ var require_subscribe = __commonJS2({
41592
41552
  subscribeFieldResolver
41593
41553
  });
41594
41554
  }
41595
- function reportGraphQLError(error3) {
41596
- if (error3 instanceof _GraphQLError.GraphQLError) {
41555
+ function reportGraphQLError(error2) {
41556
+ if (error2 instanceof _GraphQLError.GraphQLError) {
41597
41557
  return {
41598
- errors: [error3]
41558
+ errors: [error2]
41599
41559
  };
41600
41560
  }
41601
- throw error3;
41561
+ throw error2;
41602
41562
  }
41603
41563
  function subscribeImpl(args) {
41604
41564
  var schema = args.schema, document2 = args.document, rootValue = args.rootValue, contextValue = args.contextValue, variableValues = args.variableValues, operationName = args.operationName, fieldResolver = args.fieldResolver, subscribeFieldResolver = args.subscribeFieldResolver;
@@ -41658,8 +41618,8 @@ var require_subscribe = __commonJS2({
41658
41618
  throw new Error("Subscription field must return Async Iterable. " + "Received: ".concat((0, _inspect.default)(eventStream), "."));
41659
41619
  }
41660
41620
  return eventStream;
41661
- }, function(error3) {
41662
- throw (0, _locatedError.locatedError)(error3, fieldNodes, (0, _Path.pathToArray)(path22));
41621
+ }, function(error2) {
41622
+ throw (0, _locatedError.locatedError)(error2, fieldNodes, (0, _Path.pathToArray)(path22));
41663
41623
  });
41664
41624
  }
41665
41625
  }
@@ -42054,13 +42014,13 @@ var require_formatError = __commonJS2({
42054
42014
  function _interopRequireDefault(obj) {
42055
42015
  return obj && obj.__esModule ? obj : { default: obj };
42056
42016
  }
42057
- function formatError2(error3) {
42017
+ function formatError2(error2) {
42058
42018
  var _error$message;
42059
- error3 || (0, _devAssert.default)(0, "Received null or undefined error.");
42060
- var message = (_error$message = error3.message) !== null && _error$message !== void 0 ? _error$message : "An unknown error occurred.";
42061
- var locations = error3.locations;
42062
- var path22 = error3.path;
42063
- var extensions = error3.extensions;
42019
+ error2 || (0, _devAssert.default)(0, "Received null or undefined error.");
42020
+ var message = (_error$message = error2.message) !== null && _error$message !== void 0 ? _error$message : "An unknown error occurred.";
42021
+ var locations = error2.locations;
42022
+ var path22 = error2.path;
42023
+ var extensions = error2.extensions;
42064
42024
  return extensions && Object.keys(extensions).length > 0 ? {
42065
42025
  message,
42066
42026
  locations,
@@ -47257,9 +47217,9 @@ var require_utils = __commonJS2({
47257
47217
  if (process.platform === "win32") {
47258
47218
  const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path22.parse(pth).root, ""));
47259
47219
  if (pathHasInvalidWinCharacters) {
47260
- const error3 = new Error(`Path contains invalid characters: ${pth}`);
47261
- error3.code = "EINVAL";
47262
- throw error3;
47220
+ const error2 = new Error(`Path contains invalid characters: ${pth}`);
47221
+ error2.code = "EINVAL";
47222
+ throw error2;
47263
47223
  }
47264
47224
  }
47265
47225
  };
@@ -47545,7 +47505,7 @@ var require_copy = __commonJS2({
47545
47505
  if (include)
47546
47506
  return onInclude(destStat, src2, dest, opts, cb);
47547
47507
  return cb();
47548
- }, (error3) => cb(error3));
47508
+ }, (error2) => cb(error2));
47549
47509
  }
47550
47510
  function startCopy(destStat, src2, dest, opts, cb) {
47551
47511
  if (opts.filter)
@@ -49594,10 +49554,10 @@ var require_sync = __commonJS2({
49594
49554
  var abs = this._makeAbs(f32);
49595
49555
  this.cache[abs] = "FILE";
49596
49556
  if (abs === this.cwdAbs) {
49597
- var error3 = new Error(er.code + " invalid cwd " + this.cwd);
49598
- error3.path = this.cwd;
49599
- error3.code = er.code;
49600
- throw error3;
49557
+ var error2 = new Error(er.code + " invalid cwd " + this.cwd);
49558
+ error2.path = this.cwd;
49559
+ error2.code = er.code;
49560
+ throw error2;
49601
49561
  }
49602
49562
  break;
49603
49563
  case "ENOENT":
@@ -50238,10 +50198,10 @@ var require_glob = __commonJS2({
50238
50198
  var abs = this._makeAbs(f32);
50239
50199
  this.cache[abs] = "FILE";
50240
50200
  if (abs === this.cwdAbs) {
50241
- var error3 = new Error(er.code + " invalid cwd " + this.cwd);
50242
- error3.path = this.cwd;
50243
- error3.code = er.code;
50244
- this.emit("error", error3);
50201
+ var error2 = new Error(er.code + " invalid cwd " + this.cwd);
50202
+ error2.path = this.cwd;
50203
+ error2.code = er.code;
50204
+ this.emit("error", error2);
50245
50205
  this.abort();
50246
50206
  }
50247
50207
  break;
@@ -51412,9 +51372,9 @@ var require_promises = __commonJS2({
51412
51372
  args[_i] = arguments[_i];
51413
51373
  }
51414
51374
  return new Promise(function(resolve22, reject) {
51415
- vol2[fn].bind(vol2).apply(void 0, __spreadArray(__spreadArray([], args, false), [function(error3, result) {
51416
- if (error3)
51417
- return reject(error3);
51375
+ vol2[fn].bind(vol2).apply(void 0, __spreadArray(__spreadArray([], args, false), [function(error2, result) {
51376
+ if (error2)
51377
+ return reject(error2);
51418
51378
  return resolve22(getResult(result));
51419
51379
  }], false));
51420
51380
  });
@@ -51767,9 +51727,9 @@ var require_volume = __commonJS2({
51767
51727
  if (Constructor === void 0) {
51768
51728
  Constructor = Error;
51769
51729
  }
51770
- var error3 = new Constructor(formatError2(errorCode, func, path22, path222));
51771
- error3.code = errorCode;
51772
- return error3;
51730
+ var error2 = new Constructor(formatError2(errorCode, func, path22, path222));
51731
+ error2.code = errorCode;
51732
+ return error2;
51773
51733
  }
51774
51734
  var FLAGS;
51775
51735
  (function(FLAGS2) {
@@ -52120,14 +52080,14 @@ var require_volume = __commonJS2({
52120
52080
  }(FSWatcher);
52121
52081
  this.root = root;
52122
52082
  }
52123
- Volume2.fromJSON = function(json2, cwd) {
52083
+ Volume2.fromJSON = function(json, cwd) {
52124
52084
  var vol2 = new Volume2();
52125
- vol2.fromJSON(json2, cwd);
52085
+ vol2.fromJSON(json, cwd);
52126
52086
  return vol2;
52127
52087
  };
52128
- Volume2.fromNestedJSON = function(json2, cwd) {
52088
+ Volume2.fromNestedJSON = function(json, cwd) {
52129
52089
  var vol2 = new Volume2();
52130
- vol2.fromNestedJSON(json2, cwd);
52090
+ vol2.fromNestedJSON(json, cwd);
52131
52091
  return vol2;
52132
52092
  };
52133
52093
  Object.defineProperty(Volume2.prototype, "promises", {
@@ -52279,13 +52239,13 @@ var require_volume = __commonJS2({
52279
52239
  callback(null, result);
52280
52240
  });
52281
52241
  };
52282
- Volume2.prototype._toJSON = function(link, json2, path22) {
52242
+ Volume2.prototype._toJSON = function(link, json, path22) {
52283
52243
  var _a2;
52284
52244
  if (link === void 0) {
52285
52245
  link = this.root;
52286
52246
  }
52287
- if (json2 === void 0) {
52288
- json2 = {};
52247
+ if (json === void 0) {
52248
+ json = {};
52289
52249
  }
52290
52250
  var isEmpty2 = true;
52291
52251
  var children = link.children;
@@ -52304,22 +52264,22 @@ var require_volume = __commonJS2({
52304
52264
  var filename = child.getPath();
52305
52265
  if (path22)
52306
52266
  filename = relative22(path22, filename);
52307
- json2[filename] = node2.getString();
52267
+ json[filename] = node2.getString();
52308
52268
  } else if (node2.isDirectory()) {
52309
- this._toJSON(child, json2, path22);
52269
+ this._toJSON(child, json, path22);
52310
52270
  }
52311
52271
  }
52312
52272
  var dirPath = link.getPath();
52313
52273
  if (path22)
52314
52274
  dirPath = relative22(path22, dirPath);
52315
52275
  if (dirPath && isEmpty2) {
52316
- json2[dirPath] = null;
52276
+ json[dirPath] = null;
52317
52277
  }
52318
- return json2;
52278
+ return json;
52319
52279
  };
52320
- Volume2.prototype.toJSON = function(paths, json2, isRelative) {
52321
- if (json2 === void 0) {
52322
- json2 = {};
52280
+ Volume2.prototype.toJSON = function(paths, json, isRelative) {
52281
+ if (json === void 0) {
52282
+ json = {};
52323
52283
  }
52324
52284
  if (isRelative === void 0) {
52325
52285
  isRelative = false;
@@ -52340,19 +52300,19 @@ var require_volume = __commonJS2({
52340
52300
  links.push(this.root);
52341
52301
  }
52342
52302
  if (!links.length)
52343
- return json2;
52303
+ return json;
52344
52304
  for (var _a2 = 0, links_1 = links; _a2 < links_1.length; _a2++) {
52345
52305
  var link = links_1[_a2];
52346
- this._toJSON(link, json2, isRelative ? link.getPath() : "");
52306
+ this._toJSON(link, json, isRelative ? link.getPath() : "");
52347
52307
  }
52348
- return json2;
52308
+ return json;
52349
52309
  };
52350
- Volume2.prototype.fromJSON = function(json2, cwd) {
52310
+ Volume2.prototype.fromJSON = function(json, cwd) {
52351
52311
  if (cwd === void 0) {
52352
52312
  cwd = process_1.default.cwd();
52353
52313
  }
52354
- for (var filename in json2) {
52355
- var data2 = json2[filename];
52314
+ for (var filename in json) {
52315
+ var data2 = json[filename];
52356
52316
  filename = resolve22(filename, cwd);
52357
52317
  if (typeof data2 === "string") {
52358
52318
  var dir = dirname22(filename);
@@ -52363,8 +52323,8 @@ var require_volume = __commonJS2({
52363
52323
  }
52364
52324
  }
52365
52325
  };
52366
- Volume2.prototype.fromNestedJSON = function(json2, cwd) {
52367
- this.fromJSON(flattenJSON(json2), cwd);
52326
+ Volume2.prototype.fromNestedJSON = function(json, cwd) {
52327
+ this.fromJSON(flattenJSON(json), cwd);
52368
52328
  };
52369
52329
  Volume2.prototype.reset = function() {
52370
52330
  this.ino = 0;
@@ -52376,8 +52336,8 @@ var require_volume = __commonJS2({
52376
52336
  this.root = this.createLink();
52377
52337
  this.root.setNode(this.createNode(true));
52378
52338
  };
52379
- Volume2.prototype.mountSync = function(mountpoint, json2) {
52380
- this.fromJSON(json2, mountpoint);
52339
+ Volume2.prototype.mountSync = function(mountpoint, json) {
52340
+ this.fromJSON(json, mountpoint);
52381
52341
  };
52382
52342
  Volume2.prototype.openLink = function(link, flagsNum, resolveSymlinks) {
52383
52343
  if (resolveSymlinks === void 0) {
@@ -53751,10 +53711,10 @@ var require_volume = __commonJS2({
53751
53711
  try {
53752
53712
  this._link = this._vol.getLinkOrThrow(this._filename, "FSWatcher");
53753
53713
  } catch (err) {
53754
- var error3 = new Error("watch ".concat(this._filename, " ").concat(err.code));
53755
- error3.code = err.code;
53756
- error3.errno = err.code;
53757
- throw error3;
53714
+ var error2 = new Error("watch ".concat(this._filename, " ").concat(err.code));
53715
+ error2.code = err.code;
53716
+ error2.errno = err.code;
53717
+ throw error2;
53758
53718
  }
53759
53719
  this._link.getNode().on("change", this._onNodeChange);
53760
53720
  this._link.on("child:add", this._onNodeChange);
@@ -55393,10 +55353,10 @@ var require_ponyfill_es2018 = __commonJS2({
55393
55353
  });
55394
55354
  return promise;
55395
55355
  }
55396
- function WritableStreamDealWithRejection(stream, error3) {
55356
+ function WritableStreamDealWithRejection(stream, error2) {
55397
55357
  const state = stream._state;
55398
55358
  if (state === "writable") {
55399
- WritableStreamStartErroring(stream, error3);
55359
+ WritableStreamStartErroring(stream, error2);
55400
55360
  return;
55401
55361
  }
55402
55362
  WritableStreamFinishErroring(stream);
@@ -55445,10 +55405,10 @@ var require_ponyfill_es2018 = __commonJS2({
55445
55405
  stream._inFlightWriteRequest._resolve(void 0);
55446
55406
  stream._inFlightWriteRequest = void 0;
55447
55407
  }
55448
- function WritableStreamFinishInFlightWriteWithError(stream, error3) {
55449
- stream._inFlightWriteRequest._reject(error3);
55408
+ function WritableStreamFinishInFlightWriteWithError(stream, error2) {
55409
+ stream._inFlightWriteRequest._reject(error2);
55450
55410
  stream._inFlightWriteRequest = void 0;
55451
- WritableStreamDealWithRejection(stream, error3);
55411
+ WritableStreamDealWithRejection(stream, error2);
55452
55412
  }
55453
55413
  function WritableStreamFinishInFlightClose(stream) {
55454
55414
  stream._inFlightCloseRequest._resolve(void 0);
@@ -55467,14 +55427,14 @@ var require_ponyfill_es2018 = __commonJS2({
55467
55427
  defaultWriterClosedPromiseResolve(writer);
55468
55428
  }
55469
55429
  }
55470
- function WritableStreamFinishInFlightCloseWithError(stream, error3) {
55471
- stream._inFlightCloseRequest._reject(error3);
55430
+ function WritableStreamFinishInFlightCloseWithError(stream, error2) {
55431
+ stream._inFlightCloseRequest._reject(error2);
55472
55432
  stream._inFlightCloseRequest = void 0;
55473
55433
  if (stream._pendingAbortRequest !== void 0) {
55474
- stream._pendingAbortRequest._reject(error3);
55434
+ stream._pendingAbortRequest._reject(error2);
55475
55435
  stream._pendingAbortRequest = void 0;
55476
55436
  }
55477
- WritableStreamDealWithRejection(stream, error3);
55437
+ WritableStreamDealWithRejection(stream, error2);
55478
55438
  }
55479
55439
  function WritableStreamCloseQueuedOrInFlight(stream) {
55480
55440
  if (stream._closeRequest === void 0 && stream._inFlightCloseRequest === void 0) {
@@ -55651,18 +55611,18 @@ var require_ponyfill_es2018 = __commonJS2({
55651
55611
  }
55652
55612
  return WritableStreamDefaultWriterClose(writer);
55653
55613
  }
55654
- function WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, error3) {
55614
+ function WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, error2) {
55655
55615
  if (writer._closedPromiseState === "pending") {
55656
- defaultWriterClosedPromiseReject(writer, error3);
55616
+ defaultWriterClosedPromiseReject(writer, error2);
55657
55617
  } else {
55658
- defaultWriterClosedPromiseResetToRejected(writer, error3);
55618
+ defaultWriterClosedPromiseResetToRejected(writer, error2);
55659
55619
  }
55660
55620
  }
55661
- function WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, error3) {
55621
+ function WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, error2) {
55662
55622
  if (writer._readyPromiseState === "pending") {
55663
- defaultWriterReadyPromiseReject(writer, error3);
55623
+ defaultWriterReadyPromiseReject(writer, error2);
55664
55624
  } else {
55665
- defaultWriterReadyPromiseResetToRejected(writer, error3);
55625
+ defaultWriterReadyPromiseResetToRejected(writer, error2);
55666
55626
  }
55667
55627
  }
55668
55628
  function WritableStreamDefaultWriterGetDesiredSize(writer) {
@@ -55868,9 +55828,9 @@ var require_ponyfill_es2018 = __commonJS2({
55868
55828
  WritableStreamDefaultControllerProcessWrite(controller, value2);
55869
55829
  }
55870
55830
  }
55871
- function WritableStreamDefaultControllerErrorIfNeeded(controller, error3) {
55831
+ function WritableStreamDefaultControllerErrorIfNeeded(controller, error2) {
55872
55832
  if (controller._controlledWritableStream._state === "writable") {
55873
- WritableStreamDefaultControllerError(controller, error3);
55833
+ WritableStreamDefaultControllerError(controller, error2);
55874
55834
  }
55875
55835
  }
55876
55836
  function WritableStreamDefaultControllerProcessClose(controller) {
@@ -55909,10 +55869,10 @@ var require_ponyfill_es2018 = __commonJS2({
55909
55869
  const desiredSize = WritableStreamDefaultControllerGetDesiredSize(controller);
55910
55870
  return desiredSize <= 0;
55911
55871
  }
55912
- function WritableStreamDefaultControllerError(controller, error3) {
55872
+ function WritableStreamDefaultControllerError(controller, error2) {
55913
55873
  const stream = controller._controlledWritableStream;
55914
55874
  WritableStreamDefaultControllerClearAlgorithms(controller);
55915
- WritableStreamStartErroring(stream, error3);
55875
+ WritableStreamStartErroring(stream, error2);
55916
55876
  }
55917
55877
  function streamBrandCheckException$2(name) {
55918
55878
  return new TypeError(`WritableStream.prototype.${name} can only be used on a WritableStream`);
@@ -56038,12 +55998,12 @@ var require_ponyfill_es2018 = __commonJS2({
56038
55998
  let abortAlgorithm;
56039
55999
  if (signal !== void 0) {
56040
56000
  abortAlgorithm = () => {
56041
- const error3 = new DOMException$1("Aborted", "AbortError");
56001
+ const error2 = new DOMException$1("Aborted", "AbortError");
56042
56002
  const actions = [];
56043
56003
  if (!preventAbort) {
56044
56004
  actions.push(() => {
56045
56005
  if (dest._state === "writable") {
56046
- return WritableStreamAbort(dest, error3);
56006
+ return WritableStreamAbort(dest, error2);
56047
56007
  }
56048
56008
  return promiseResolvedWith(void 0);
56049
56009
  });
@@ -56051,12 +56011,12 @@ var require_ponyfill_es2018 = __commonJS2({
56051
56011
  if (!preventCancel) {
56052
56012
  actions.push(() => {
56053
56013
  if (source._state === "readable") {
56054
- return ReadableStreamCancel(source, error3);
56014
+ return ReadableStreamCancel(source, error2);
56055
56015
  }
56056
56016
  return promiseResolvedWith(void 0);
56057
56017
  });
56058
56018
  }
56059
- shutdownWithAction(() => Promise.all(actions.map((action) => action())), true, error3);
56019
+ shutdownWithAction(() => Promise.all(actions.map((action) => action())), true, error2);
56060
56020
  };
56061
56021
  if (signal.aborted) {
56062
56022
  abortAlgorithm();
@@ -56155,25 +56115,25 @@ var require_ponyfill_es2018 = __commonJS2({
56155
56115
  uponPromise(action(), () => finalize(originalIsError, originalError), (newError) => finalize(true, newError));
56156
56116
  }
56157
56117
  }
56158
- function shutdown(isError2, error3) {
56118
+ function shutdown(isError2, error2) {
56159
56119
  if (shuttingDown) {
56160
56120
  return;
56161
56121
  }
56162
56122
  shuttingDown = true;
56163
56123
  if (dest._state === "writable" && !WritableStreamCloseQueuedOrInFlight(dest)) {
56164
- uponFulfillment(waitForWritesToFinish(), () => finalize(isError2, error3));
56124
+ uponFulfillment(waitForWritesToFinish(), () => finalize(isError2, error2));
56165
56125
  } else {
56166
- finalize(isError2, error3);
56126
+ finalize(isError2, error2);
56167
56127
  }
56168
56128
  }
56169
- function finalize(isError2, error3) {
56129
+ function finalize(isError2, error2) {
56170
56130
  WritableStreamDefaultWriterRelease(writer);
56171
56131
  ReadableStreamReaderGenericRelease(reader);
56172
56132
  if (signal !== void 0) {
56173
56133
  signal.removeEventListener("abort", abortAlgorithm);
56174
56134
  }
56175
56135
  if (isError2) {
56176
- reject(error3);
56136
+ reject(error2);
56177
56137
  } else {
56178
56138
  resolve22(void 0);
56179
56139
  }
@@ -57376,8 +57336,8 @@ var require_ponyfill_es2018 = __commonJS2({
57376
57336
  const stream = controller._controlledTransformStream;
57377
57337
  const readableController = stream._readable._readableStreamController;
57378
57338
  ReadableStreamDefaultControllerClose(readableController);
57379
- const error3 = new TypeError("TransformStream terminated");
57380
- TransformStreamErrorWritableAndUnblockWrite(stream, error3);
57339
+ const error2 = new TypeError("TransformStream terminated");
57340
+ TransformStreamErrorWritableAndUnblockWrite(stream, error2);
57381
57341
  }
57382
57342
  function TransformStreamDefaultSinkWriteAlgorithm(stream, chunk) {
57383
57343
  const controller = stream._transformStreamController;
@@ -57452,11 +57412,11 @@ var require_streams = __commonJS2({
57452
57412
  };
57453
57413
  Object.assign(globalThis, __require2("node:stream/web"));
57454
57414
  process2.emitWarning = emitWarning;
57455
- } catch (error3) {
57415
+ } catch (error2) {
57456
57416
  process2.emitWarning = emitWarning;
57457
- throw error3;
57417
+ throw error2;
57458
57418
  }
57459
- } catch (error3) {
57419
+ } catch (error2) {
57460
57420
  Object.assign(globalThis, require_ponyfill_es2018());
57461
57421
  }
57462
57422
  }
@@ -57480,7 +57440,7 @@ var require_streams = __commonJS2({
57480
57440
  });
57481
57441
  };
57482
57442
  }
57483
- } catch (error3) {
57443
+ } catch (error2) {
57484
57444
  }
57485
57445
  }
57486
57446
  });
@@ -57517,7 +57477,7 @@ var POOL_SIZE;
57517
57477
  var _Blob;
57518
57478
  var Blob3;
57519
57479
  var fetch_blob_default;
57520
- var init_fetch_blob = __esm2({
57480
+ var init_fetch_blob = __esm({
57521
57481
  "../../node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/index.js"() {
57522
57482
  import_streams = __toESM2(require_streams(), 1);
57523
57483
  POOL_SIZE = 65536;
@@ -57538,7 +57498,7 @@ var init_fetch_blob = __esm2({
57538
57498
  }
57539
57499
  if (options === null)
57540
57500
  options = {};
57541
- const encoder2 = new TextEncoder();
57501
+ const encoder = new TextEncoder();
57542
57502
  for (const element of blobParts) {
57543
57503
  let part;
57544
57504
  if (ArrayBuffer.isView(element)) {
@@ -57548,7 +57508,7 @@ var init_fetch_blob = __esm2({
57548
57508
  } else if (element instanceof Blob2) {
57549
57509
  part = element;
57550
57510
  } else {
57551
- part = encoder2.encode(`${element}`);
57511
+ part = encoder.encode(`${element}`);
57552
57512
  }
57553
57513
  this.#size += ArrayBuffer.isView(part) ? part.byteLength : part.size;
57554
57514
  this.#parts.push(part);
@@ -57648,7 +57608,7 @@ var init_fetch_blob = __esm2({
57648
57608
  var _File;
57649
57609
  var File3;
57650
57610
  var file_default;
57651
- var init_file = __esm2({
57611
+ var init_file = __esm({
57652
57612
  "../../node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/file.js"() {
57653
57613
  init_fetch_blob();
57654
57614
  _File = class File2 extends fetch_blob_default {
@@ -57706,7 +57666,7 @@ var f;
57706
57666
  var e;
57707
57667
  var x;
57708
57668
  var FormData2;
57709
- var init_esm_min = __esm2({
57669
+ var init_esm_min = __esm({
57710
57670
  "../../node_modules/.pnpm/formdata-polyfill@4.0.10/node_modules/formdata-polyfill/esm.min.js"() {
57711
57671
  init_fetch_blob();
57712
57672
  init_file();
@@ -57809,7 +57769,7 @@ var require_node_domexception = __commonJS2({
57809
57769
  var import_node_domexception;
57810
57770
  var stat2;
57811
57771
  var BlobDataItem;
57812
- var init_from = __esm2({
57772
+ var init_from = __esm({
57813
57773
  "../../node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/from.js"() {
57814
57774
  import_node_domexception = __toESM2(require_node_domexception(), 1);
57815
57775
  init_file();
@@ -57849,7 +57809,7 @@ var init_from = __esm2({
57849
57809
  }
57850
57810
  });
57851
57811
  var multipart_parser_exports = {};
57852
- __export2(multipart_parser_exports, {
57812
+ __export(multipart_parser_exports, {
57853
57813
  toFormData: () => toFormData
57854
57814
  });
57855
57815
  function _fileName(headerValue) {
@@ -57953,7 +57913,7 @@ var Z;
57953
57913
  var lower;
57954
57914
  var noop2;
57955
57915
  var MultipartParser;
57956
- var init_multipart_parser = __esm2({
57916
+ var init_multipart_parser = __esm({
57957
57917
  "../../node_modules/.pnpm/node-fetch@3.3.0/node_modules/node-fetch/src/utils/multipart-parser.js"() {
57958
57918
  init_from();
57959
57919
  init_esm_min();
@@ -61553,15 +61513,15 @@ var require_lib3 = __commonJS2({
61553
61513
  at: at2
61554
61514
  } = raiseProperties, details = _objectWithoutPropertiesLoose(raiseProperties, _excluded);
61555
61515
  const loc = at2 instanceof Position3 ? at2 : at2.loc.start;
61556
- const error3 = toParseError({
61516
+ const error2 = toParseError({
61557
61517
  loc,
61558
61518
  details
61559
61519
  });
61560
61520
  if (!this.options.errorRecovery)
61561
- throw error3;
61521
+ throw error2;
61562
61522
  if (!this.isLookahead)
61563
- this.state.errors.push(error3);
61564
- return error3;
61523
+ this.state.errors.push(error2);
61524
+ return error2;
61565
61525
  }
61566
61526
  raiseOverwrite(toParseError, raiseProperties) {
61567
61527
  const {
@@ -61571,14 +61531,14 @@ var require_lib3 = __commonJS2({
61571
61531
  const pos = loc.index;
61572
61532
  const errors = this.state.errors;
61573
61533
  for (let i22 = errors.length - 1; i22 >= 0; i22--) {
61574
- const error3 = errors[i22];
61575
- if (error3.loc.index === pos) {
61534
+ const error2 = errors[i22];
61535
+ if (error2.loc.index === pos) {
61576
61536
  return errors[i22] = toParseError({
61577
61537
  loc,
61578
61538
  details
61579
61539
  });
61580
61540
  }
61581
- if (error3.loc.index < pos)
61541
+ if (error2.loc.index < pos)
61582
61542
  break;
61583
61543
  }
61584
61544
  return this.raise(toParseError, raiseProperties);
@@ -61608,9 +61568,9 @@ var require_lib3 = __commonJS2({
61608
61568
  });
61609
61569
  }
61610
61570
  }
61611
- errorBuilder(error3) {
61571
+ errorBuilder(error2) {
61612
61572
  return (pos, lineStart, curLine) => {
61613
- this.raise(error3, {
61573
+ this.raise(error2, {
61614
61574
  at: buildPosition(pos, lineStart, curLine)
61615
61575
  });
61616
61576
  };
@@ -61765,7 +61725,7 @@ var require_lib3 = __commonJS2({
61765
61725
  }
61766
61726
  this.parser.raise(toParseError, origin);
61767
61727
  }
61768
- recordArrowParameterBindingError(error3, {
61728
+ recordArrowParameterBindingError(error2, {
61769
61729
  at: node2
61770
61730
  }) {
61771
61731
  const {
@@ -61776,9 +61736,9 @@ var require_lib3 = __commonJS2({
61776
61736
  at: node2.loc.start
61777
61737
  };
61778
61738
  if (scope2.isCertainlyParameterDeclaration()) {
61779
- this.parser.raise(error3, origin);
61739
+ this.parser.raise(error2, origin);
61780
61740
  } else if (scope2.canBeArrowParameterDeclaration()) {
61781
- scope2.recordDeclarationError(error3, origin);
61741
+ scope2.recordDeclarationError(error2, origin);
61782
61742
  } else {
61783
61743
  return;
61784
61744
  }
@@ -61963,19 +61923,19 @@ var require_lib3 = __commonJS2({
61963
61923
  aborted: false,
61964
61924
  failState: null
61965
61925
  };
61966
- } catch (error3) {
61926
+ } catch (error2) {
61967
61927
  const failState = this.state;
61968
61928
  this.state = oldState;
61969
- if (error3 instanceof SyntaxError) {
61929
+ if (error2 instanceof SyntaxError) {
61970
61930
  return {
61971
61931
  node: null,
61972
- error: error3,
61932
+ error: error2,
61973
61933
  thrown: true,
61974
61934
  aborted: false,
61975
61935
  failState
61976
61936
  };
61977
61937
  }
61978
- if (error3 === abortSignal) {
61938
+ if (error2 === abortSignal) {
61979
61939
  return {
61980
61940
  node: abortSignal.node,
61981
61941
  error: null,
@@ -61984,7 +61944,7 @@ var require_lib3 = __commonJS2({
61984
61944
  failState
61985
61945
  };
61986
61946
  }
61987
- throw error3;
61947
+ throw error2;
61988
61948
  }
61989
61949
  }
61990
61950
  checkExpressionErrors(refExpressionErrors, andThrow) {
@@ -68406,9 +68366,9 @@ var require_lib3 = __commonJS2({
68406
68366
  throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: " + RECORD_AND_TUPLE_SYNTAX_TYPES.map((p) => `'${p}'`).join(", "));
68407
68367
  }
68408
68368
  if (hasPlugin(plugins2, "asyncDoExpressions") && !hasPlugin(plugins2, "doExpressions")) {
68409
- const error3 = new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");
68410
- error3.missingPlugins = "doExpressions";
68411
- throw error3;
68369
+ const error2 = new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");
68370
+ error2.missingPlugins = "doExpressions";
68371
+ throw error2;
68412
68372
  }
68413
68373
  }
68414
68374
  var mixinPlugins = {
@@ -72749,12 +72709,16 @@ var require_lib3 = __commonJS2({
72749
72709
  }
72750
72710
  });
72751
72711
  var require_tslib = __commonJS2({
72752
- "../../node_modules/.pnpm/tslib@2.4.1/node_modules/tslib/tslib.js"(exports, module) {
72712
+ "../../node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js"(exports, module) {
72753
72713
  var __extends;
72754
72714
  var __assign;
72755
72715
  var __rest;
72756
72716
  var __decorate;
72757
72717
  var __param;
72718
+ var __esDecorate;
72719
+ var __runInitializers;
72720
+ var __propKey;
72721
+ var __setFunctionName;
72758
72722
  var __metadata;
72759
72723
  var __awaiter;
72760
72724
  var __generator;
@@ -72851,6 +72815,65 @@ var require_tslib = __commonJS2({
72851
72815
  decorator(target, key, paramIndex);
72852
72816
  };
72853
72817
  };
72818
+ __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
72819
+ function accept(f32) {
72820
+ if (f32 !== void 0 && typeof f32 !== "function")
72821
+ throw new TypeError("Function expected");
72822
+ return f32;
72823
+ }
72824
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
72825
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
72826
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
72827
+ var _, done = false;
72828
+ for (var i22 = decorators.length - 1; i22 >= 0; i22--) {
72829
+ var context = {};
72830
+ for (var p in contextIn)
72831
+ context[p] = p === "access" ? {} : contextIn[p];
72832
+ for (var p in contextIn.access)
72833
+ context.access[p] = contextIn.access[p];
72834
+ context.addInitializer = function(f32) {
72835
+ if (done)
72836
+ throw new TypeError("Cannot add initializers after decoration has completed");
72837
+ extraInitializers.push(accept(f32 || null));
72838
+ };
72839
+ var result = (0, decorators[i22])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
72840
+ if (kind === "accessor") {
72841
+ if (result === void 0)
72842
+ continue;
72843
+ if (result === null || typeof result !== "object")
72844
+ throw new TypeError("Object expected");
72845
+ if (_ = accept(result.get))
72846
+ descriptor.get = _;
72847
+ if (_ = accept(result.set))
72848
+ descriptor.set = _;
72849
+ if (_ = accept(result.init))
72850
+ initializers.push(_);
72851
+ } else if (_ = accept(result)) {
72852
+ if (kind === "field")
72853
+ initializers.push(_);
72854
+ else
72855
+ descriptor[key] = _;
72856
+ }
72857
+ }
72858
+ if (target)
72859
+ Object.defineProperty(target, contextIn.name, descriptor);
72860
+ done = true;
72861
+ };
72862
+ __runInitializers = function(thisArg, initializers, value2) {
72863
+ var useValue = arguments.length > 2;
72864
+ for (var i22 = 0; i22 < initializers.length; i22++) {
72865
+ value2 = useValue ? initializers[i22].call(thisArg, value2) : initializers[i22].call(thisArg);
72866
+ }
72867
+ return useValue ? value2 : void 0;
72868
+ };
72869
+ __propKey = function(x22) {
72870
+ return typeof x22 === "symbol" ? x22 : "".concat(x22);
72871
+ };
72872
+ __setFunctionName = function(f32, name, prefix) {
72873
+ if (typeof name === "symbol")
72874
+ name = name.description ? "[".concat(name.description, "]") : "";
72875
+ return Object.defineProperty(f32, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
72876
+ };
72854
72877
  __metadata = function(metadataKey, metadataValue) {
72855
72878
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
72856
72879
  return Reflect.metadata(metadataKey, metadataValue);
@@ -73000,8 +73023,8 @@ var require_tslib = __commonJS2({
73000
73023
  try {
73001
73024
  while ((n2 === void 0 || n2-- > 0) && !(r22 = i22.next()).done)
73002
73025
  ar.push(r22.value);
73003
- } catch (error3) {
73004
- e22 = { error: error3 };
73026
+ } catch (error2) {
73027
+ e22 = { error: error2 };
73005
73028
  } finally {
73006
73029
  try {
73007
73030
  if (r22 && !r22.done && (m22 = i22["return"]))
@@ -73085,7 +73108,7 @@ var require_tslib = __commonJS2({
73085
73108
  }, i22;
73086
73109
  function verb(n2, f32) {
73087
73110
  i22[n2] = o[n2] ? function(v) {
73088
- return (p = !p) ? { value: __await(o[n2](v)), done: n2 === "return" } : f32 ? f32(v) : v;
73111
+ return (p = !p) ? { value: __await(o[n2](v)), done: false } : f32 ? f32(v) : v;
73089
73112
  } : f32;
73090
73113
  }
73091
73114
  };
@@ -73163,6 +73186,10 @@ var require_tslib = __commonJS2({
73163
73186
  exporter("__rest", __rest);
73164
73187
  exporter("__decorate", __decorate);
73165
73188
  exporter("__param", __param);
73189
+ exporter("__esDecorate", __esDecorate);
73190
+ exporter("__runInitializers", __runInitializers);
73191
+ exporter("__propKey", __propKey);
73192
+ exporter("__setFunctionName", __setFunctionName);
73166
73193
  exporter("__metadata", __metadata);
73167
73194
  exporter("__awaiter", __awaiter);
73168
73195
  exporter("__generator", __generator);
@@ -79072,14 +79099,14 @@ var require_esprima2 = __commonJS2({
79072
79099
  this.startMarker.line = this.scanner.lineNumber;
79073
79100
  this.startMarker.column = this.scanner.index - this.scanner.lineStart;
79074
79101
  var start = this.scanner.index;
79075
- var text3 = "";
79102
+ var text2 = "";
79076
79103
  while (!this.scanner.eof()) {
79077
79104
  var ch = this.scanner.source[this.scanner.index];
79078
79105
  if (ch === "{" || ch === "<") {
79079
79106
  break;
79080
79107
  }
79081
79108
  ++this.scanner.index;
79082
- text3 += ch;
79109
+ text2 += ch;
79083
79110
  if (character_1.Character.isLineTerminator(ch.charCodeAt(0))) {
79084
79111
  ++this.scanner.lineNumber;
79085
79112
  if (ch === "\r" && this.scanner.source[this.scanner.index] === "\n") {
@@ -79093,13 +79120,13 @@ var require_esprima2 = __commonJS2({
79093
79120
  this.lastMarker.column = this.scanner.index - this.scanner.lineStart;
79094
79121
  var token = {
79095
79122
  type: 101,
79096
- value: text3,
79123
+ value: text2,
79097
79124
  lineNumber: this.scanner.lineNumber,
79098
79125
  lineStart: this.scanner.lineStart,
79099
79126
  start,
79100
79127
  end: this.scanner.index
79101
79128
  };
79102
- if (text3.length > 0 && this.config.tokens) {
79129
+ if (text2.length > 0 && this.config.tokens) {
79103
79130
  this.tokens.push(this.convertToken(token));
79104
79131
  }
79105
79132
  return token;
@@ -83042,45 +83069,45 @@ var require_esprima2 = __commonJS2({
83042
83069
  this.errors = [];
83043
83070
  this.tolerant = false;
83044
83071
  }
83045
- ErrorHandler2.prototype.recordError = function(error3) {
83046
- this.errors.push(error3);
83072
+ ErrorHandler2.prototype.recordError = function(error2) {
83073
+ this.errors.push(error2);
83047
83074
  };
83048
- ErrorHandler2.prototype.tolerate = function(error3) {
83075
+ ErrorHandler2.prototype.tolerate = function(error2) {
83049
83076
  if (this.tolerant) {
83050
- this.recordError(error3);
83077
+ this.recordError(error2);
83051
83078
  } else {
83052
- throw error3;
83079
+ throw error2;
83053
83080
  }
83054
83081
  };
83055
83082
  ErrorHandler2.prototype.constructError = function(msg, column) {
83056
- var error3 = new Error(msg);
83083
+ var error2 = new Error(msg);
83057
83084
  try {
83058
- throw error3;
83085
+ throw error2;
83059
83086
  } catch (base) {
83060
83087
  if (Object.create && Object.defineProperty) {
83061
- error3 = Object.create(base);
83062
- Object.defineProperty(error3, "column", { value: column });
83088
+ error2 = Object.create(base);
83089
+ Object.defineProperty(error2, "column", { value: column });
83063
83090
  }
83064
83091
  }
83065
- return error3;
83092
+ return error2;
83066
83093
  };
83067
83094
  ErrorHandler2.prototype.createError = function(index, line, col, description) {
83068
83095
  var msg = "Line " + line + ": " + description;
83069
- var error3 = this.constructError(msg, col);
83070
- error3.index = index;
83071
- error3.lineNumber = line;
83072
- error3.description = description;
83073
- return error3;
83096
+ var error2 = this.constructError(msg, col);
83097
+ error2.index = index;
83098
+ error2.lineNumber = line;
83099
+ error2.description = description;
83100
+ return error2;
83074
83101
  };
83075
83102
  ErrorHandler2.prototype.throwError = function(index, line, col, description) {
83076
83103
  throw this.createError(index, line, col, description);
83077
83104
  };
83078
83105
  ErrorHandler2.prototype.tolerateError = function(index, line, col, description) {
83079
- var error3 = this.createError(index, line, col, description);
83106
+ var error2 = this.createError(index, line, col, description);
83080
83107
  if (this.tolerant) {
83081
- this.recordError(error3);
83108
+ this.recordError(error2);
83082
83109
  } else {
83083
- throw error3;
83110
+ throw error2;
83084
83111
  }
83085
83112
  };
83086
83113
  return ErrorHandler2;
@@ -84950,13 +84977,13 @@ var require_lines = __commonJS2({
84950
84977
  return null;
84951
84978
  }
84952
84979
  var targetLines = this;
84953
- function updateJSON(json2) {
84954
- json2 = json2 || {};
84955
- json2.file = sourceMapName;
84980
+ function updateJSON(json) {
84981
+ json = json || {};
84982
+ json.file = sourceMapName;
84956
84983
  if (sourceRoot) {
84957
- json2.sourceRoot = sourceRoot;
84984
+ json.sourceRoot = sourceRoot;
84958
84985
  }
84959
- return json2;
84986
+ return json;
84960
84987
  }
84961
84988
  if (targetLines.cachedSourceMap) {
84962
84989
  return updateJSON(targetLines.cachedSourceMap.toJSON());
@@ -89476,7 +89503,7 @@ var HoudiniError = class extends Error {
89476
89503
  }
89477
89504
  };
89478
89505
  var fs_exports = {};
89479
- __export2(fs_exports, {
89506
+ __export(fs_exports, {
89480
89507
  access: () => access,
89481
89508
  copyFile: () => copyFile,
89482
89509
  copyFileSync: () => copyFileSync,
@@ -89499,7 +89526,7 @@ var import_fs_extra = __toESM2(require_lib(), 1);
89499
89526
  var import_glob = __toESM2(require_glob(), 1);
89500
89527
  var import_memfs = __toESM2(require_lib2(), 1);
89501
89528
  var path_exports = {};
89502
- __export2(path_exports, {
89529
+ __export(path_exports, {
89503
89530
  basename: () => basename,
89504
89531
  dirname: () => dirname,
89505
89532
  extname: () => extname,
@@ -89596,7 +89623,7 @@ async function readFile(filepath) {
89596
89623
  }
89597
89624
  try {
89598
89625
  return await fs.readFile(filepath, "utf8");
89599
- } catch (error3) {
89626
+ } catch (error2) {
89600
89627
  }
89601
89628
  return null;
89602
89629
  }
@@ -89613,7 +89640,7 @@ function readFileSync(filepath) {
89613
89640
  }
89614
89641
  try {
89615
89642
  return import_fs_extra.default.readFileSync(filepath, "utf-8");
89616
- } catch (error3) {
89643
+ } catch (error2) {
89617
89644
  }
89618
89645
  return null;
89619
89646
  }
@@ -89817,8 +89844,8 @@ var Body = class {
89817
89844
  this.size = size;
89818
89845
  if (body instanceof Stream) {
89819
89846
  body.on("error", (error_) => {
89820
- const error3 = error_ instanceof FetchBaseError ? error_ : new FetchError(`Invalid response body while trying to fetch ${this.url}: ${error_.message}`, "system", error_);
89821
- this[INTERNALS].error = error3;
89847
+ const error2 = error_ instanceof FetchBaseError ? error_ : new FetchError(`Invalid response body while trying to fetch ${this.url}: ${error_.message}`, "system", error_);
89848
+ this[INTERNALS].error = error2;
89822
89849
  });
89823
89850
  }
89824
89851
  }
@@ -89853,8 +89880,8 @@ var Body = class {
89853
89880
  });
89854
89881
  }
89855
89882
  async json() {
89856
- const text3 = await this.text();
89857
- return JSON.parse(text3);
89883
+ const text2 = await this.text();
89884
+ return JSON.parse(text2);
89858
89885
  }
89859
89886
  async text() {
89860
89887
  const buffer = await consumeBody(this);
@@ -89899,15 +89926,15 @@ async function consumeBody(data2) {
89899
89926
  try {
89900
89927
  for await (const chunk of body) {
89901
89928
  if (data2.size > 0 && accumBytes + chunk.length > data2.size) {
89902
- const error3 = new FetchError(`content size at ${data2.url} over limit: ${data2.size}`, "max-size");
89903
- body.destroy(error3);
89904
- throw error3;
89929
+ const error2 = new FetchError(`content size at ${data2.url} over limit: ${data2.size}`, "max-size");
89930
+ body.destroy(error2);
89931
+ throw error2;
89905
89932
  }
89906
89933
  accumBytes += chunk.length;
89907
89934
  accum.push(chunk);
89908
89935
  }
89909
- } catch (error3) {
89910
- const error_ = error3 instanceof FetchBaseError ? error3 : new FetchError(`Invalid response body while trying to fetch ${data2.url}: ${error3.message}`, "system", error3);
89936
+ } catch (error2) {
89937
+ const error_ = error2 instanceof FetchBaseError ? error2 : new FetchError(`Invalid response body while trying to fetch ${data2.url}: ${error2.message}`, "system", error2);
89911
89938
  throw error_;
89912
89939
  }
89913
89940
  if (body.readableEnded === true || body._readableState.ended === true) {
@@ -89916,8 +89943,8 @@ async function consumeBody(data2) {
89916
89943
  return Buffer2.from(accum.join(""));
89917
89944
  }
89918
89945
  return Buffer2.concat(accum, accumBytes);
89919
- } catch (error3) {
89920
- throw new FetchError(`Could not create Buffer from response body for ${data2.url}: ${error3.message}`, "system", error3);
89946
+ } catch (error2) {
89947
+ throw new FetchError(`Could not create Buffer from response body for ${data2.url}: ${error2.message}`, "system", error2);
89921
89948
  }
89922
89949
  } else {
89923
89950
  throw new FetchError(`Premature close of server response while trying to fetch ${data2.url}`);
@@ -89974,22 +90001,22 @@ var extractContentType = (body, request) => {
89974
90001
  };
89975
90002
  var validateHeaderName = typeof http.validateHeaderName === "function" ? http.validateHeaderName : (name) => {
89976
90003
  if (!/^[\^`\-\w!#$%&'*+.|~]+$/.test(name)) {
89977
- const error3 = new TypeError(`Header name must be a valid HTTP token [${name}]`);
89978
- Object.defineProperty(error3, "code", { value: "ERR_INVALID_HTTP_TOKEN" });
89979
- throw error3;
90004
+ const error2 = new TypeError(`Header name must be a valid HTTP token [${name}]`);
90005
+ Object.defineProperty(error2, "code", { value: "ERR_INVALID_HTTP_TOKEN" });
90006
+ throw error2;
89980
90007
  }
89981
90008
  };
89982
90009
  var validateHeaderValue = typeof http.validateHeaderValue === "function" ? http.validateHeaderValue : (name, value2) => {
89983
90010
  if (/[^\t\u0020-\u007E\u0080-\u00FF]/.test(value2)) {
89984
- const error3 = new TypeError(`Invalid character in header content ["${name}"]`);
89985
- Object.defineProperty(error3, "code", { value: "ERR_INVALID_CHAR" });
89986
- throw error3;
90011
+ const error2 = new TypeError(`Invalid character in header content ["${name}"]`);
90012
+ Object.defineProperty(error2, "code", { value: "ERR_INVALID_CHAR" });
90013
+ throw error2;
89987
90014
  }
89988
90015
  };
89989
- var Headers2 = class extends URLSearchParams {
90016
+ var Headers = class extends URLSearchParams {
89990
90017
  constructor(init) {
89991
90018
  let result = [];
89992
- if (init instanceof Headers2) {
90019
+ if (init instanceof Headers) {
89993
90020
  const raw = init.raw();
89994
90021
  for (const [name, values] of Object.entries(raw)) {
89995
90022
  result.push(...values.map((value2) => [name, value2]));
@@ -90113,7 +90140,7 @@ var Headers2 = class extends URLSearchParams {
90113
90140
  }
90114
90141
  };
90115
90142
  Object.defineProperties(
90116
- Headers2.prototype,
90143
+ Headers.prototype,
90117
90144
  ["get", "entries", "forEach", "values"].reduce((result, property) => {
90118
90145
  result[property] = { enumerable: true };
90119
90146
  return result;
@@ -90124,11 +90151,11 @@ var isRedirect = (code) => {
90124
90151
  return redirectStatus.has(code);
90125
90152
  };
90126
90153
  var INTERNALS2 = Symbol("Response internals");
90127
- var Response2 = class extends Body {
90154
+ var Response = class extends Body {
90128
90155
  constructor(body = null, options = {}) {
90129
90156
  super(body, options);
90130
90157
  const status = options.status != null ? options.status : 200;
90131
- const headers = new Headers2(options.headers);
90158
+ const headers = new Headers(options.headers);
90132
90159
  if (body !== null && !headers.has("Content-Type")) {
90133
90160
  const contentType = extractContentType(body, this);
90134
90161
  if (contentType) {
@@ -90170,7 +90197,7 @@ var Response2 = class extends Body {
90170
90197
  return this[INTERNALS2].highWaterMark;
90171
90198
  }
90172
90199
  clone() {
90173
- return new Response2(clone(this, this.highWaterMark), {
90200
+ return new Response(clone(this, this.highWaterMark), {
90174
90201
  type: this.type,
90175
90202
  url: this.url,
90176
90203
  status: this.status,
@@ -90186,7 +90213,7 @@ var Response2 = class extends Body {
90186
90213
  if (!isRedirect(status)) {
90187
90214
  throw new RangeError('Failed to execute "redirect" on "response": Invalid status code');
90188
90215
  }
90189
- return new Response2(null, {
90216
+ return new Response(null, {
90190
90217
  headers: {
90191
90218
  location: new URL(url2).toString()
90192
90219
  },
@@ -90194,7 +90221,7 @@ var Response2 = class extends Body {
90194
90221
  });
90195
90222
  }
90196
90223
  static error() {
90197
- const response = new Response2(null, { status: 0, statusText: "" });
90224
+ const response = new Response(null, { status: 0, statusText: "" });
90198
90225
  response[INTERNALS2].type = "error";
90199
90226
  return response;
90200
90227
  }
@@ -90203,11 +90230,11 @@ var Response2 = class extends Body {
90203
90230
  if (body === void 0) {
90204
90231
  throw new TypeError("data is not JSON serializable");
90205
90232
  }
90206
- const headers = new Headers2(init && init.headers);
90233
+ const headers = new Headers(init && init.headers);
90207
90234
  if (!headers.has("content-type")) {
90208
90235
  headers.set("content-type", "application/json");
90209
90236
  }
90210
- return new Response2(body, {
90237
+ return new Response(body, {
90211
90238
  ...init,
90212
90239
  headers
90213
90240
  });
@@ -90216,7 +90243,7 @@ var Response2 = class extends Body {
90216
90243
  return "Response";
90217
90244
  }
90218
90245
  };
90219
- Object.defineProperties(Response2.prototype, {
90246
+ Object.defineProperties(Response.prototype, {
90220
90247
  type: { enumerable: true },
90221
90248
  url: { enumerable: true },
90222
90249
  status: { enumerable: true },
@@ -90279,7 +90306,7 @@ var Request = class extends Body {
90279
90306
  super(inputBody, {
90280
90307
  size: init.size || input.size || 0
90281
90308
  });
90282
- const headers = new Headers2(init.headers || input.headers || {});
90309
+ const headers = new Headers(init.headers || input.headers || {});
90283
90310
  if (inputBody !== null && !headers.has("Content-Type")) {
90284
90311
  const contentType = extractContentType(inputBody, this);
90285
90312
  if (contentType) {
@@ -92335,13 +92362,13 @@ var mutation = documentPlugin(ArtifactKind.Mutation, () => {
92335
92362
  }
92336
92363
  resolve22(ctx);
92337
92364
  },
92338
- catch(ctx, { error: error3 }) {
92365
+ catch(ctx, { error: error2 }) {
92339
92366
  if (ctx.cacheParams?.layer) {
92340
92367
  const { layer } = ctx.cacheParams;
92341
92368
  layer.clear();
92342
92369
  cache_default._internal_unstable.storage.resolveLayer(layer.id);
92343
92370
  }
92344
- throw error3;
92371
+ throw error2;
92345
92372
  }
92346
92373
  };
92347
92374
  });
@@ -92352,17 +92379,17 @@ var defaultDirectives = emptySchema.getDirectives().map((dir) => dir.name);
92352
92379
  var graphql3 = __toESM2(require_graphql2(), 1);
92353
92380
  function formatErrors(e22, afterError) {
92354
92381
  const errors = Array.isArray(e22) ? e22 : [e22];
92355
- for (const error3 of errors) {
92356
- if ("filepath" in error3 && error3.filepath) {
92357
- const relative22 = relative(process.cwd(), error3.filepath);
92382
+ for (const error2 of errors) {
92383
+ if ("filepath" in error2 && error2.filepath) {
92384
+ const relative22 = relative(process.cwd(), error2.filepath);
92358
92385
  console.error(`\u274C Encountered error in ${relative22}`);
92359
- if (error3.message) {
92360
- console.error(error3.message);
92386
+ if (error2.message) {
92387
+ console.error(error2.message);
92361
92388
  }
92362
92389
  } else {
92363
- console.error(`\u274C ${error3.message}`);
92364
- if ("description" in error3 && error3.description) {
92365
- console.error(`${error3.description}`);
92390
+ console.error(`\u274C ${error2.message}`);
92391
+ if ("description" in error2 && error2.description) {
92392
+ console.error(`${error2.description}`);
92366
92393
  }
92367
92394
  }
92368
92395
  afterError?.(e22);
@@ -92456,6 +92483,30 @@ async function cleanupFiles(pathFolder, listOfObj) {
92456
92483
  return allFilesNotInList;
92457
92484
  }
92458
92485
  var import_deepmerge = __toESM2(require_cjs(), 1);
92486
+ async function detectFromPackageJSON(cwd) {
92487
+ try {
92488
+ const packageJSONFile = await fs_exports.readFile(path_exports.join(cwd, "package.json"));
92489
+ if (packageJSONFile) {
92490
+ var packageJSON = JSON.parse(packageJSONFile);
92491
+ } else {
92492
+ throw new Error("not found");
92493
+ }
92494
+ } catch {
92495
+ throw new Error(
92496
+ "\u274C houdini init must target an existing node project (with a package.json)"
92497
+ );
92498
+ }
92499
+ const { devDependencies, dependencies } = packageJSON;
92500
+ const hasDependency = (dep) => Boolean(devDependencies?.[dep] || dependencies?.[dep]);
92501
+ let framework2 = "svelte";
92502
+ if (hasDependency("@sveltejs/kit")) {
92503
+ framework2 = "kit";
92504
+ }
92505
+ return {
92506
+ framework: framework2,
92507
+ module: packageJSON["type"] === "module" ? "esm" : "commonjs"
92508
+ };
92509
+ }
92459
92510
  var WalkerBase = class {
92460
92511
  constructor() {
92461
92512
  this.should_skip = false;
@@ -92692,13 +92743,13 @@ var __require3 = /* @__PURE__ */ ((x22) => typeof require3 !== "undefined" ? req
92692
92743
  return require3.apply(this, arguments);
92693
92744
  throw new Error('Dynamic require of "' + x22 + '" is not supported');
92694
92745
  });
92695
- var __esm3 = (fn, res) => function __init() {
92746
+ var __esm2 = (fn, res) => function __init() {
92696
92747
  return fn && (res = (0, fn[__getOwnPropNames3(fn)[0]])(fn = 0)), res;
92697
92748
  };
92698
92749
  var __commonJS3 = (cb, mod) => function __require22() {
92699
92750
  return mod || (0, cb[__getOwnPropNames3(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
92700
92751
  };
92701
- var __export3 = (target, all) => {
92752
+ var __export2 = (target, all) => {
92702
92753
  for (var name in all)
92703
92754
  __defProp3(target, name, { get: all[name], enumerable: true });
92704
92755
  };
@@ -93730,8 +93781,8 @@ var require_safe_stable_stringify = __commonJS3({
93730
93781
  }
93731
93782
  function configure2(options) {
93732
93783
  options = { ...options };
93733
- const fail2 = getStrictOption(options);
93734
- if (fail2) {
93784
+ const fail = getStrictOption(options);
93785
+ if (fail) {
93735
93786
  if (options.bigint === void 0) {
93736
93787
  options.bigint = false;
93737
93788
  }
@@ -93847,7 +93898,7 @@ ${originalIndentation}`;
93847
93898
  return `{${res}}`;
93848
93899
  }
93849
93900
  case "number":
93850
- return isFinite(value2) ? String(value2) : fail2 ? fail2(value2) : "null";
93901
+ return isFinite(value2) ? String(value2) : fail ? fail(value2) : "null";
93851
93902
  case "boolean":
93852
93903
  return value2 === true ? "true" : "false";
93853
93904
  case "undefined":
@@ -93857,7 +93908,7 @@ ${originalIndentation}`;
93857
93908
  return String(value2);
93858
93909
  }
93859
93910
  default:
93860
- return fail2 ? fail2(value2) : void 0;
93911
+ return fail ? fail(value2) : void 0;
93861
93912
  }
93862
93913
  }
93863
93914
  function stringifyArrayReplacer(key, value2, stack, replacer, spacer, indentation) {
@@ -93940,7 +93991,7 @@ ${originalIndentation}`;
93940
93991
  return `{${res}}`;
93941
93992
  }
93942
93993
  case "number":
93943
- return isFinite(value2) ? String(value2) : fail2 ? fail2(value2) : "null";
93994
+ return isFinite(value2) ? String(value2) : fail ? fail(value2) : "null";
93944
93995
  case "boolean":
93945
93996
  return value2 === true ? "true" : "false";
93946
93997
  case "undefined":
@@ -93950,7 +94001,7 @@ ${originalIndentation}`;
93950
94001
  return String(value2);
93951
94002
  }
93952
94003
  default:
93953
- return fail2 ? fail2(value2) : void 0;
94004
+ return fail ? fail(value2) : void 0;
93954
94005
  }
93955
94006
  }
93956
94007
  function stringifyIndent(key, value2, stack, spacer, indentation) {
@@ -94051,7 +94102,7 @@ ${originalIndentation}`;
94051
94102
  return `{${res}}`;
94052
94103
  }
94053
94104
  case "number":
94054
- return isFinite(value2) ? String(value2) : fail2 ? fail2(value2) : "null";
94105
+ return isFinite(value2) ? String(value2) : fail ? fail(value2) : "null";
94055
94106
  case "boolean":
94056
94107
  return value2 === true ? "true" : "false";
94057
94108
  case "undefined":
@@ -94061,7 +94112,7 @@ ${originalIndentation}`;
94061
94112
  return String(value2);
94062
94113
  }
94063
94114
  default:
94064
- return fail2 ? fail2(value2) : void 0;
94115
+ return fail ? fail(value2) : void 0;
94065
94116
  }
94066
94117
  }
94067
94118
  function stringifySimple(key, value2, stack) {
@@ -94145,7 +94196,7 @@ ${originalIndentation}`;
94145
94196
  return `{${res}}`;
94146
94197
  }
94147
94198
  case "number":
94148
- return isFinite(value2) ? String(value2) : fail2 ? fail2(value2) : "null";
94199
+ return isFinite(value2) ? String(value2) : fail ? fail(value2) : "null";
94149
94200
  case "boolean":
94150
94201
  return value2 === true ? "true" : "false";
94151
94202
  case "undefined":
@@ -94155,7 +94206,7 @@ ${originalIndentation}`;
94155
94206
  return String(value2);
94156
94207
  }
94157
94208
  default:
94158
- return fail2 ? fail2(value2) : void 0;
94209
+ return fail ? fail(value2) : void 0;
94159
94210
  }
94160
94211
  }
94161
94212
  function stringify3(value2, replacer, space) {
@@ -97261,19 +97312,19 @@ var require_GraphQLError3 = __commonJS3({
97261
97312
  function undefinedIfEmpty(array) {
97262
97313
  return array === void 0 || array.length === 0 ? void 0 : array;
97263
97314
  }
97264
- function printError(error3) {
97265
- var output = error3.message;
97266
- if (error3.nodes) {
97267
- for (var _i4 = 0, _error$nodes2 = error3.nodes; _i4 < _error$nodes2.length; _i4++) {
97315
+ function printError(error2) {
97316
+ var output = error2.message;
97317
+ if (error2.nodes) {
97318
+ for (var _i4 = 0, _error$nodes2 = error2.nodes; _i4 < _error$nodes2.length; _i4++) {
97268
97319
  var node2 = _error$nodes2[_i4];
97269
97320
  if (node2.loc) {
97270
97321
  output += "\n\n" + (0, _printLocation.printLocation)(node2.loc);
97271
97322
  }
97272
97323
  }
97273
- } else if (error3.source && error3.locations) {
97274
- for (var _i6 = 0, _error$locations2 = error3.locations; _i6 < _error$locations2.length; _i6++) {
97324
+ } else if (error2.source && error2.locations) {
97325
+ for (var _i6 = 0, _error$locations2 = error2.locations; _i6 < _error$locations2.length; _i6++) {
97275
97326
  var location = _error$locations2[_i6];
97276
- output += "\n\n" + (0, _printLocation.printSourceLocation)(error3.source, location);
97327
+ output += "\n\n" + (0, _printLocation.printSourceLocation)(error2.source, location);
97277
97328
  }
97278
97329
  }
97279
97330
  return output;
@@ -99470,9 +99521,9 @@ var require_assertValidName3 = __commonJS3({
99470
99521
  }
99471
99522
  var NAME_RX = /^[_a-zA-Z][_a-zA-Z0-9]*$/;
99472
99523
  function assertValidName(name) {
99473
- var error3 = isValidNameError(name);
99474
- if (error3) {
99475
- throw error3;
99524
+ var error2 = isValidNameError(name);
99525
+ if (error2) {
99526
+ throw error2;
99476
99527
  }
99477
99528
  return name;
99478
99529
  }
@@ -102388,8 +102439,8 @@ var require_validate5 = __commonJS3({
102388
102439
  function assertValidSchema(schema) {
102389
102440
  var errors = validateSchema(schema);
102390
102441
  if (errors.length !== 0) {
102391
- throw new Error(errors.map(function(error3) {
102392
- return error3.message;
102442
+ throw new Error(errors.map(function(error2) {
102443
+ return error2.message;
102393
102444
  }).join("\n\n"));
102394
102445
  }
102395
102446
  }
@@ -102403,8 +102454,8 @@ var require_validate5 = __commonJS3({
102403
102454
  var _nodes = Array.isArray(nodes) ? nodes.filter(Boolean) : nodes;
102404
102455
  this.addError(new _GraphQLError.GraphQLError(message, _nodes));
102405
102456
  };
102406
- _proto.addError = function addError(error3) {
102407
- this._errors.push(error3);
102457
+ _proto.addError = function addError(error2) {
102458
+ this._errors.push(error2);
102408
102459
  };
102409
102460
  _proto.getErrors = function getErrors() {
102410
102461
  return this._errors;
@@ -102468,9 +102519,9 @@ var require_validate5 = __commonJS3({
102468
102519
  }
102469
102520
  }
102470
102521
  function validateName(context, node2) {
102471
- var error3 = (0, _assertValidName.isValidNameError)(node2.name);
102472
- if (error3) {
102473
- context.addError((0, _locatedError.locatedError)(error3, node2.astNode));
102522
+ var error2 = (0, _assertValidName.isValidNameError)(node2.name);
102523
+ if (error2) {
102524
+ context.addError((0, _locatedError.locatedError)(error2, node2.astNode));
102474
102525
  }
102475
102526
  }
102476
102527
  function validateTypes(context) {
@@ -104125,12 +104176,12 @@ var require_ValuesOfCorrectTypeRule3 = __commonJS3({
104125
104176
  var _typeStr = (0, _inspect.default)(locationType);
104126
104177
  context.reportError(new _GraphQLError.GraphQLError('Expected value of type "'.concat(_typeStr, '", found ').concat((0, _printer.print)(node2), "."), node2));
104127
104178
  }
104128
- } catch (error3) {
104179
+ } catch (error2) {
104129
104180
  var _typeStr2 = (0, _inspect.default)(locationType);
104130
- if (error3 instanceof _GraphQLError.GraphQLError) {
104131
- context.reportError(error3);
104181
+ if (error2 instanceof _GraphQLError.GraphQLError) {
104182
+ context.reportError(error2);
104132
104183
  } else {
104133
- context.reportError(new _GraphQLError.GraphQLError('Expected value of type "'.concat(_typeStr2, '", found ').concat((0, _printer.print)(node2), "; ") + error3.message, node2, void 0, void 0, void 0, error3));
104184
+ context.reportError(new _GraphQLError.GraphQLError('Expected value of type "'.concat(_typeStr2, '", found ').concat((0, _printer.print)(node2), "; ") + error2.message, node2, void 0, void 0, void 0, error2));
104134
104185
  }
104135
104186
  }
104136
104187
  }
@@ -105086,8 +105137,8 @@ var require_ValidationContext3 = __commonJS3({
105086
105137
  this._onError = onError;
105087
105138
  }
105088
105139
  var _proto = ASTValidationContext2.prototype;
105089
- _proto.reportError = function reportError(error3) {
105090
- this._onError(error3);
105140
+ _proto.reportError = function reportError(error2) {
105141
+ this._onError(error2);
105091
105142
  };
105092
105143
  _proto.getDocument = function getDocument() {
105093
105144
  return this._ast;
@@ -105275,12 +105326,12 @@ var require_validate22 = __commonJS3({
105275
105326
  (0, _validate.assertValidSchema)(schema);
105276
105327
  var abortObj = Object.freeze({});
105277
105328
  var errors = [];
105278
- var context = new _ValidationContext.ValidationContext(schema, documentAST, typeInfo, function(error3) {
105329
+ var context = new _ValidationContext.ValidationContext(schema, documentAST, typeInfo, function(error2) {
105279
105330
  if (options.maxErrors != null && errors.length >= options.maxErrors) {
105280
105331
  errors.push(new _GraphQLError.GraphQLError("Too many validation errors, error limit reached. Validation aborted."));
105281
105332
  throw abortObj;
105282
105333
  }
105283
- errors.push(error3);
105334
+ errors.push(error2);
105284
105335
  });
105285
105336
  var visitor = (0, _visitor.visitInParallel)(rules.map(function(rule) {
105286
105337
  return rule(context);
@@ -105297,8 +105348,8 @@ var require_validate22 = __commonJS3({
105297
105348
  function validateSDL(documentAST, schemaToExtend) {
105298
105349
  var rules = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : _specifiedRules.specifiedSDLRules;
105299
105350
  var errors = [];
105300
- var context = new _ValidationContext.SDLValidationContext(documentAST, schemaToExtend, function(error3) {
105301
- errors.push(error3);
105351
+ var context = new _ValidationContext.SDLValidationContext(documentAST, schemaToExtend, function(error2) {
105352
+ errors.push(error2);
105302
105353
  });
105303
105354
  var visitors = rules.map(function(rule) {
105304
105355
  return rule(context);
@@ -105309,16 +105360,16 @@ var require_validate22 = __commonJS3({
105309
105360
  function assertValidSDL(documentAST) {
105310
105361
  var errors = validateSDL(documentAST);
105311
105362
  if (errors.length !== 0) {
105312
- throw new Error(errors.map(function(error3) {
105313
- return error3.message;
105363
+ throw new Error(errors.map(function(error2) {
105364
+ return error2.message;
105314
105365
  }).join("\n\n"));
105315
105366
  }
105316
105367
  }
105317
105368
  function assertValidSDLExtension(documentAST, schema) {
105318
105369
  var errors = validateSDL(documentAST, schema);
105319
105370
  if (errors.length !== 0) {
105320
- throw new Error(errors.map(function(error3) {
105321
- return error3.message;
105371
+ throw new Error(errors.map(function(error2) {
105372
+ return error2.message;
105322
105373
  }).join("\n\n"));
105323
105374
  }
105324
105375
  }
@@ -105615,13 +105666,13 @@ var require_coerceInputValue3 = __commonJS3({
105615
105666
  var onError = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : defaultOnError;
105616
105667
  return coerceInputValueImpl(inputValue, type, onError);
105617
105668
  }
105618
- function defaultOnError(path22, invalidValue, error3) {
105669
+ function defaultOnError(path22, invalidValue, error2) {
105619
105670
  var errorPrefix = "Invalid value " + (0, _inspect.default)(invalidValue);
105620
105671
  if (path22.length > 0) {
105621
105672
  errorPrefix += ' at "value'.concat((0, _printPathArray.default)(path22), '"');
105622
105673
  }
105623
- error3.message = errorPrefix + ": " + error3.message;
105624
- throw error3;
105674
+ error2.message = errorPrefix + ": " + error2.message;
105675
+ throw error2;
105625
105676
  }
105626
105677
  function coerceInputValueImpl(inputValue, type, onError, path22) {
105627
105678
  if ((0, _definition.isNonNullType)(type)) {
@@ -105679,11 +105730,11 @@ var require_coerceInputValue3 = __commonJS3({
105679
105730
  var parseResult;
105680
105731
  try {
105681
105732
  parseResult = type.parseValue(inputValue);
105682
- } catch (error3) {
105683
- if (error3 instanceof _GraphQLError.GraphQLError) {
105684
- onError((0, _Path.pathToArray)(path22), inputValue, error3);
105733
+ } catch (error2) {
105734
+ if (error2 instanceof _GraphQLError.GraphQLError) {
105735
+ onError((0, _Path.pathToArray)(path22), inputValue, error2);
105685
105736
  } else {
105686
- onError((0, _Path.pathToArray)(path22), inputValue, new _GraphQLError.GraphQLError('Expected type "'.concat(type.name, '". ') + error3.message, void 0, void 0, void 0, void 0, error3));
105737
+ onError((0, _Path.pathToArray)(path22), inputValue, new _GraphQLError.GraphQLError('Expected type "'.concat(type.name, '". ') + error2.message, void 0, void 0, void 0, void 0, error2));
105687
105738
  }
105688
105739
  return;
105689
105740
  }
@@ -105723,19 +105774,19 @@ var require_values3 = __commonJS3({
105723
105774
  var errors = [];
105724
105775
  var maxErrors = options === null || options === void 0 ? void 0 : options.maxErrors;
105725
105776
  try {
105726
- var coerced = coerceVariableValues(schema, varDefNodes, inputs, function(error3) {
105777
+ var coerced = coerceVariableValues(schema, varDefNodes, inputs, function(error2) {
105727
105778
  if (maxErrors != null && errors.length >= maxErrors) {
105728
105779
  throw new _GraphQLError.GraphQLError("Too many errors processing variables, error limit reached. Execution aborted.");
105729
105780
  }
105730
- errors.push(error3);
105781
+ errors.push(error2);
105731
105782
  });
105732
105783
  if (errors.length === 0) {
105733
105784
  return {
105734
105785
  coerced
105735
105786
  };
105736
105787
  }
105737
- } catch (error3) {
105738
- errors.push(error3);
105788
+ } catch (error2) {
105789
+ errors.push(error2);
105739
105790
  }
105740
105791
  return {
105741
105792
  errors
@@ -105767,12 +105818,12 @@ var require_values3 = __commonJS3({
105767
105818
  onError(new _GraphQLError.GraphQLError('Variable "$'.concat(varName, '" of non-null type "').concat(_varTypeStr2, '" must not be null.'), varDefNode));
105768
105819
  return "continue";
105769
105820
  }
105770
- coercedValues[varName] = (0, _coerceInputValue.coerceInputValue)(value2, varType, function(path22, invalidValue, error3) {
105821
+ coercedValues[varName] = (0, _coerceInputValue.coerceInputValue)(value2, varType, function(path22, invalidValue, error2) {
105771
105822
  var prefix = 'Variable "$'.concat(varName, '" got invalid value ') + (0, _inspect.default)(invalidValue);
105772
105823
  if (path22.length > 0) {
105773
105824
  prefix += ' at "'.concat(varName).concat((0, _printPathArray.default)(path22), '"');
105774
105825
  }
105775
- onError(new _GraphQLError.GraphQLError(prefix + "; " + error3.message, varDefNode, void 0, void 0, void 0, error3.originalError));
105826
+ onError(new _GraphQLError.GraphQLError(prefix + "; " + error2.message, varDefNode, void 0, void 0, void 0, error2.originalError));
105776
105827
  });
105777
105828
  };
105778
105829
  for (var _i2 = 0; _i2 < varDefNodes.length; _i2++) {
@@ -105980,14 +106031,14 @@ var require_execute3 = __commonJS3({
105980
106031
  try {
105981
106032
  var result = operation.operation === "mutation" ? executeFieldsSerially(exeContext, type, rootValue, path22, fields) : executeFields(exeContext, type, rootValue, path22, fields);
105982
106033
  if ((0, _isPromise.default)(result)) {
105983
- return result.then(void 0, function(error3) {
105984
- exeContext.errors.push(error3);
106034
+ return result.then(void 0, function(error2) {
106035
+ exeContext.errors.push(error2);
105985
106036
  return Promise.resolve(null);
105986
106037
  });
105987
106038
  }
105988
106039
  return result;
105989
- } catch (error3) {
105990
- exeContext.errors.push(error3);
106040
+ } catch (error2) {
106041
+ exeContext.errors.push(error2);
105991
106042
  return null;
105992
106043
  }
105993
106044
  }
@@ -106127,8 +106178,8 @@ var require_execute3 = __commonJS3({
106127
106178
  }
106128
106179
  return completed;
106129
106180
  } catch (rawError) {
106130
- var error3 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(path22));
106131
- return handleFieldError(error3, returnType, exeContext);
106181
+ var error2 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(path22));
106182
+ return handleFieldError(error2, returnType, exeContext);
106132
106183
  }
106133
106184
  }
106134
106185
  function buildResolveInfo(exeContext, fieldDef, fieldNodes, parentType, path22) {
@@ -106145,11 +106196,11 @@ var require_execute3 = __commonJS3({
106145
106196
  variableValues: exeContext.variableValues
106146
106197
  };
106147
106198
  }
106148
- function handleFieldError(error3, returnType, exeContext) {
106199
+ function handleFieldError(error2, returnType, exeContext) {
106149
106200
  if ((0, _definition.isNonNullType)(returnType)) {
106150
- throw error3;
106201
+ throw error2;
106151
106202
  }
106152
- exeContext.errors.push(error3);
106203
+ exeContext.errors.push(error2);
106153
106204
  return null;
106154
106205
  }
106155
106206
  function completeValue(exeContext, returnType, fieldNodes, info, path22, result) {
@@ -106203,8 +106254,8 @@ var require_execute3 = __commonJS3({
106203
106254
  }
106204
106255
  return completedItem;
106205
106256
  } catch (rawError) {
106206
- var error3 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(itemPath));
106207
- return handleFieldError(error3, itemType, exeContext);
106257
+ var error2 = (0, _locatedError.locatedError)(rawError, fieldNodes, (0, _Path.pathToArray)(itemPath));
106258
+ return handleFieldError(error2, itemType, exeContext);
106208
106259
  }
106209
106260
  });
106210
106261
  if (completedResults == null) {
@@ -107192,9 +107243,9 @@ var require_mapAsyncIterator3 = __commonJS3({
107192
107243
  var abruptClose;
107193
107244
  if (typeof iterator.return === "function") {
107194
107245
  $return = iterator.return;
107195
- abruptClose = function abruptClose2(error3) {
107246
+ abruptClose = function abruptClose2(error2) {
107196
107247
  var rethrow = function rethrow2() {
107197
- return Promise.reject(error3);
107248
+ return Promise.reject(error2);
107198
107249
  };
107199
107250
  return $return.call(iterator).then(rethrow, rethrow);
107200
107251
  };
@@ -107205,8 +107256,8 @@ var require_mapAsyncIterator3 = __commonJS3({
107205
107256
  var mapReject;
107206
107257
  if (rejectCallback) {
107207
107258
  var reject = rejectCallback;
107208
- mapReject = function mapReject2(error3) {
107209
- return asyncMapValue(error3, reject).then(iteratorResult, abruptClose);
107259
+ mapReject = function mapReject2(error2) {
107260
+ return asyncMapValue(error2, reject).then(iteratorResult, abruptClose);
107210
107261
  };
107211
107262
  }
107212
107263
  return _defineProperty({
@@ -107219,11 +107270,11 @@ var require_mapAsyncIterator3 = __commonJS3({
107219
107270
  done: true
107220
107271
  });
107221
107272
  },
107222
- throw: function _throw(error3) {
107273
+ throw: function _throw(error2) {
107223
107274
  if (typeof iterator.throw === "function") {
107224
- return iterator.throw(error3).then(mapResult, mapReject);
107275
+ return iterator.throw(error2).then(mapResult, mapReject);
107225
107276
  }
107226
- return Promise.reject(error3).catch(abruptClose);
107277
+ return Promise.reject(error2).catch(abruptClose);
107227
107278
  }
107228
107279
  }, _symbols.SYMBOL_ASYNC_ITERATOR, function() {
107229
107280
  return this;
@@ -107274,13 +107325,13 @@ var require_subscribe3 = __commonJS3({
107274
107325
  subscribeFieldResolver
107275
107326
  });
107276
107327
  }
107277
- function reportGraphQLError(error3) {
107278
- if (error3 instanceof _GraphQLError.GraphQLError) {
107328
+ function reportGraphQLError(error2) {
107329
+ if (error2 instanceof _GraphQLError.GraphQLError) {
107279
107330
  return {
107280
- errors: [error3]
107331
+ errors: [error2]
107281
107332
  };
107282
107333
  }
107283
- throw error3;
107334
+ throw error2;
107284
107335
  }
107285
107336
  function subscribeImpl(args) {
107286
107337
  var schema = args.schema, document2 = args.document, rootValue = args.rootValue, contextValue = args.contextValue, variableValues = args.variableValues, operationName = args.operationName, fieldResolver = args.fieldResolver, subscribeFieldResolver = args.subscribeFieldResolver;
@@ -107340,8 +107391,8 @@ var require_subscribe3 = __commonJS3({
107340
107391
  throw new Error("Subscription field must return Async Iterable. " + "Received: ".concat((0, _inspect.default)(eventStream), "."));
107341
107392
  }
107342
107393
  return eventStream;
107343
- }, function(error3) {
107344
- throw (0, _locatedError.locatedError)(error3, fieldNodes, (0, _Path.pathToArray)(path22));
107394
+ }, function(error2) {
107395
+ throw (0, _locatedError.locatedError)(error2, fieldNodes, (0, _Path.pathToArray)(path22));
107345
107396
  });
107346
107397
  }
107347
107398
  }
@@ -107736,13 +107787,13 @@ var require_formatError3 = __commonJS3({
107736
107787
  function _interopRequireDefault(obj) {
107737
107788
  return obj && obj.__esModule ? obj : { default: obj };
107738
107789
  }
107739
- function formatError2(error3) {
107790
+ function formatError2(error2) {
107740
107791
  var _error$message;
107741
- error3 || (0, _devAssert.default)(0, "Received null or undefined error.");
107742
- var message = (_error$message = error3.message) !== null && _error$message !== void 0 ? _error$message : "An unknown error occurred.";
107743
- var locations = error3.locations;
107744
- var path22 = error3.path;
107745
- var extensions = error3.extensions;
107792
+ error2 || (0, _devAssert.default)(0, "Received null or undefined error.");
107793
+ var message = (_error$message = error2.message) !== null && _error$message !== void 0 ? _error$message : "An unknown error occurred.";
107794
+ var locations = error2.locations;
107795
+ var path22 = error2.path;
107796
+ var extensions = error2.extensions;
107746
107797
  return extensions && Object.keys(extensions).length > 0 ? {
107747
107798
  message,
107748
107799
  locations,
@@ -112184,9 +112235,9 @@ var require_utils32 = __commonJS3({
112184
112235
  if (process.platform === "win32") {
112185
112236
  const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path22.parse(pth).root, ""));
112186
112237
  if (pathHasInvalidWinCharacters) {
112187
- const error3 = new Error(`Path contains invalid characters: ${pth}`);
112188
- error3.code = "EINVAL";
112189
- throw error3;
112238
+ const error2 = new Error(`Path contains invalid characters: ${pth}`);
112239
+ error2.code = "EINVAL";
112240
+ throw error2;
112190
112241
  }
112191
112242
  }
112192
112243
  };
@@ -112472,7 +112523,7 @@ var require_copy3 = __commonJS3({
112472
112523
  if (include)
112473
112524
  return onInclude(destStat, src2, dest, opts, cb);
112474
112525
  return cb();
112475
- }, (error3) => cb(error3));
112526
+ }, (error2) => cb(error2));
112476
112527
  }
112477
112528
  function startCopy(destStat, src2, dest, opts, cb) {
112478
112529
  if (opts.filter)
@@ -114521,10 +114572,10 @@ var require_sync2 = __commonJS3({
114521
114572
  var abs = this._makeAbs(f32);
114522
114573
  this.cache[abs] = "FILE";
114523
114574
  if (abs === this.cwdAbs) {
114524
- var error3 = new Error(er.code + " invalid cwd " + this.cwd);
114525
- error3.path = this.cwd;
114526
- error3.code = er.code;
114527
- throw error3;
114575
+ var error2 = new Error(er.code + " invalid cwd " + this.cwd);
114576
+ error2.path = this.cwd;
114577
+ error2.code = er.code;
114578
+ throw error2;
114528
114579
  }
114529
114580
  break;
114530
114581
  case "ENOENT":
@@ -115165,10 +115216,10 @@ var require_glob2 = __commonJS3({
115165
115216
  var abs = this._makeAbs(f32);
115166
115217
  this.cache[abs] = "FILE";
115167
115218
  if (abs === this.cwdAbs) {
115168
- var error3 = new Error(er.code + " invalid cwd " + this.cwd);
115169
- error3.path = this.cwd;
115170
- error3.code = er.code;
115171
- this.emit("error", error3);
115219
+ var error2 = new Error(er.code + " invalid cwd " + this.cwd);
115220
+ error2.path = this.cwd;
115221
+ error2.code = er.code;
115222
+ this.emit("error", error2);
115172
115223
  this.abort();
115173
115224
  }
115174
115225
  break;
@@ -116339,9 +116390,9 @@ var require_promises2 = __commonJS3({
116339
116390
  args[_i] = arguments[_i];
116340
116391
  }
116341
116392
  return new Promise(function(resolve22, reject) {
116342
- vol2[fn].bind(vol2).apply(void 0, __spreadArray(__spreadArray([], args, false), [function(error3, result) {
116343
- if (error3)
116344
- return reject(error3);
116393
+ vol2[fn].bind(vol2).apply(void 0, __spreadArray(__spreadArray([], args, false), [function(error2, result) {
116394
+ if (error2)
116395
+ return reject(error2);
116345
116396
  return resolve22(getResult(result));
116346
116397
  }], false));
116347
116398
  });
@@ -116694,9 +116745,9 @@ var require_volume2 = __commonJS3({
116694
116745
  if (Constructor === void 0) {
116695
116746
  Constructor = Error;
116696
116747
  }
116697
- var error3 = new Constructor(formatError2(errorCode, func, path22, path222));
116698
- error3.code = errorCode;
116699
- return error3;
116748
+ var error2 = new Constructor(formatError2(errorCode, func, path22, path222));
116749
+ error2.code = errorCode;
116750
+ return error2;
116700
116751
  }
116701
116752
  var FLAGS;
116702
116753
  (function(FLAGS2) {
@@ -117047,14 +117098,14 @@ var require_volume2 = __commonJS3({
117047
117098
  }(FSWatcher);
117048
117099
  this.root = root;
117049
117100
  }
117050
- Volume2.fromJSON = function(json2, cwd) {
117101
+ Volume2.fromJSON = function(json, cwd) {
117051
117102
  var vol2 = new Volume2();
117052
- vol2.fromJSON(json2, cwd);
117103
+ vol2.fromJSON(json, cwd);
117053
117104
  return vol2;
117054
117105
  };
117055
- Volume2.fromNestedJSON = function(json2, cwd) {
117106
+ Volume2.fromNestedJSON = function(json, cwd) {
117056
117107
  var vol2 = new Volume2();
117057
- vol2.fromNestedJSON(json2, cwd);
117108
+ vol2.fromNestedJSON(json, cwd);
117058
117109
  return vol2;
117059
117110
  };
117060
117111
  Object.defineProperty(Volume2.prototype, "promises", {
@@ -117206,13 +117257,13 @@ var require_volume2 = __commonJS3({
117206
117257
  callback(null, result);
117207
117258
  });
117208
117259
  };
117209
- Volume2.prototype._toJSON = function(link, json2, path22) {
117260
+ Volume2.prototype._toJSON = function(link, json, path22) {
117210
117261
  var _a2;
117211
117262
  if (link === void 0) {
117212
117263
  link = this.root;
117213
117264
  }
117214
- if (json2 === void 0) {
117215
- json2 = {};
117265
+ if (json === void 0) {
117266
+ json = {};
117216
117267
  }
117217
117268
  var isEmpty2 = true;
117218
117269
  var children = link.children;
@@ -117231,22 +117282,22 @@ var require_volume2 = __commonJS3({
117231
117282
  var filename = child.getPath();
117232
117283
  if (path22)
117233
117284
  filename = relative22(path22, filename);
117234
- json2[filename] = node2.getString();
117285
+ json[filename] = node2.getString();
117235
117286
  } else if (node2.isDirectory()) {
117236
- this._toJSON(child, json2, path22);
117287
+ this._toJSON(child, json, path22);
117237
117288
  }
117238
117289
  }
117239
117290
  var dirPath = link.getPath();
117240
117291
  if (path22)
117241
117292
  dirPath = relative22(path22, dirPath);
117242
117293
  if (dirPath && isEmpty2) {
117243
- json2[dirPath] = null;
117294
+ json[dirPath] = null;
117244
117295
  }
117245
- return json2;
117296
+ return json;
117246
117297
  };
117247
- Volume2.prototype.toJSON = function(paths, json2, isRelative) {
117248
- if (json2 === void 0) {
117249
- json2 = {};
117298
+ Volume2.prototype.toJSON = function(paths, json, isRelative) {
117299
+ if (json === void 0) {
117300
+ json = {};
117250
117301
  }
117251
117302
  if (isRelative === void 0) {
117252
117303
  isRelative = false;
@@ -117267,19 +117318,19 @@ var require_volume2 = __commonJS3({
117267
117318
  links.push(this.root);
117268
117319
  }
117269
117320
  if (!links.length)
117270
- return json2;
117321
+ return json;
117271
117322
  for (var _a2 = 0, links_1 = links; _a2 < links_1.length; _a2++) {
117272
117323
  var link = links_1[_a2];
117273
- this._toJSON(link, json2, isRelative ? link.getPath() : "");
117324
+ this._toJSON(link, json, isRelative ? link.getPath() : "");
117274
117325
  }
117275
- return json2;
117326
+ return json;
117276
117327
  };
117277
- Volume2.prototype.fromJSON = function(json2, cwd) {
117328
+ Volume2.prototype.fromJSON = function(json, cwd) {
117278
117329
  if (cwd === void 0) {
117279
117330
  cwd = process_1.default.cwd();
117280
117331
  }
117281
- for (var filename in json2) {
117282
- var data2 = json2[filename];
117332
+ for (var filename in json) {
117333
+ var data2 = json[filename];
117283
117334
  filename = resolve22(filename, cwd);
117284
117335
  if (typeof data2 === "string") {
117285
117336
  var dir = dirname22(filename);
@@ -117290,8 +117341,8 @@ var require_volume2 = __commonJS3({
117290
117341
  }
117291
117342
  }
117292
117343
  };
117293
- Volume2.prototype.fromNestedJSON = function(json2, cwd) {
117294
- this.fromJSON(flattenJSON(json2), cwd);
117344
+ Volume2.prototype.fromNestedJSON = function(json, cwd) {
117345
+ this.fromJSON(flattenJSON(json), cwd);
117295
117346
  };
117296
117347
  Volume2.prototype.reset = function() {
117297
117348
  this.ino = 0;
@@ -117303,8 +117354,8 @@ var require_volume2 = __commonJS3({
117303
117354
  this.root = this.createLink();
117304
117355
  this.root.setNode(this.createNode(true));
117305
117356
  };
117306
- Volume2.prototype.mountSync = function(mountpoint, json2) {
117307
- this.fromJSON(json2, mountpoint);
117357
+ Volume2.prototype.mountSync = function(mountpoint, json) {
117358
+ this.fromJSON(json, mountpoint);
117308
117359
  };
117309
117360
  Volume2.prototype.openLink = function(link, flagsNum, resolveSymlinks) {
117310
117361
  if (resolveSymlinks === void 0) {
@@ -118678,10 +118729,10 @@ var require_volume2 = __commonJS3({
118678
118729
  try {
118679
118730
  this._link = this._vol.getLinkOrThrow(this._filename, "FSWatcher");
118680
118731
  } catch (err) {
118681
- var error3 = new Error("watch ".concat(this._filename, " ").concat(err.code));
118682
- error3.code = err.code;
118683
- error3.errno = err.code;
118684
- throw error3;
118732
+ var error2 = new Error("watch ".concat(this._filename, " ").concat(err.code));
118733
+ error2.code = err.code;
118734
+ error2.errno = err.code;
118735
+ throw error2;
118685
118736
  }
118686
118737
  this._link.getNode().on("change", this._onNodeChange);
118687
118738
  this._link.on("child:add", this._onNodeChange);
@@ -120320,10 +120371,10 @@ var require_ponyfill_es20182 = __commonJS3({
120320
120371
  });
120321
120372
  return promise;
120322
120373
  }
120323
- function WritableStreamDealWithRejection(stream, error3) {
120374
+ function WritableStreamDealWithRejection(stream, error2) {
120324
120375
  const state = stream._state;
120325
120376
  if (state === "writable") {
120326
- WritableStreamStartErroring(stream, error3);
120377
+ WritableStreamStartErroring(stream, error2);
120327
120378
  return;
120328
120379
  }
120329
120380
  WritableStreamFinishErroring(stream);
@@ -120372,10 +120423,10 @@ var require_ponyfill_es20182 = __commonJS3({
120372
120423
  stream._inFlightWriteRequest._resolve(void 0);
120373
120424
  stream._inFlightWriteRequest = void 0;
120374
120425
  }
120375
- function WritableStreamFinishInFlightWriteWithError(stream, error3) {
120376
- stream._inFlightWriteRequest._reject(error3);
120426
+ function WritableStreamFinishInFlightWriteWithError(stream, error2) {
120427
+ stream._inFlightWriteRequest._reject(error2);
120377
120428
  stream._inFlightWriteRequest = void 0;
120378
- WritableStreamDealWithRejection(stream, error3);
120429
+ WritableStreamDealWithRejection(stream, error2);
120379
120430
  }
120380
120431
  function WritableStreamFinishInFlightClose(stream) {
120381
120432
  stream._inFlightCloseRequest._resolve(void 0);
@@ -120394,14 +120445,14 @@ var require_ponyfill_es20182 = __commonJS3({
120394
120445
  defaultWriterClosedPromiseResolve(writer);
120395
120446
  }
120396
120447
  }
120397
- function WritableStreamFinishInFlightCloseWithError(stream, error3) {
120398
- stream._inFlightCloseRequest._reject(error3);
120448
+ function WritableStreamFinishInFlightCloseWithError(stream, error2) {
120449
+ stream._inFlightCloseRequest._reject(error2);
120399
120450
  stream._inFlightCloseRequest = void 0;
120400
120451
  if (stream._pendingAbortRequest !== void 0) {
120401
- stream._pendingAbortRequest._reject(error3);
120452
+ stream._pendingAbortRequest._reject(error2);
120402
120453
  stream._pendingAbortRequest = void 0;
120403
120454
  }
120404
- WritableStreamDealWithRejection(stream, error3);
120455
+ WritableStreamDealWithRejection(stream, error2);
120405
120456
  }
120406
120457
  function WritableStreamCloseQueuedOrInFlight(stream) {
120407
120458
  if (stream._closeRequest === void 0 && stream._inFlightCloseRequest === void 0) {
@@ -120578,18 +120629,18 @@ var require_ponyfill_es20182 = __commonJS3({
120578
120629
  }
120579
120630
  return WritableStreamDefaultWriterClose(writer);
120580
120631
  }
120581
- function WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, error3) {
120632
+ function WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, error2) {
120582
120633
  if (writer._closedPromiseState === "pending") {
120583
- defaultWriterClosedPromiseReject(writer, error3);
120634
+ defaultWriterClosedPromiseReject(writer, error2);
120584
120635
  } else {
120585
- defaultWriterClosedPromiseResetToRejected(writer, error3);
120636
+ defaultWriterClosedPromiseResetToRejected(writer, error2);
120586
120637
  }
120587
120638
  }
120588
- function WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, error3) {
120639
+ function WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, error2) {
120589
120640
  if (writer._readyPromiseState === "pending") {
120590
- defaultWriterReadyPromiseReject(writer, error3);
120641
+ defaultWriterReadyPromiseReject(writer, error2);
120591
120642
  } else {
120592
- defaultWriterReadyPromiseResetToRejected(writer, error3);
120643
+ defaultWriterReadyPromiseResetToRejected(writer, error2);
120593
120644
  }
120594
120645
  }
120595
120646
  function WritableStreamDefaultWriterGetDesiredSize(writer) {
@@ -120795,9 +120846,9 @@ var require_ponyfill_es20182 = __commonJS3({
120795
120846
  WritableStreamDefaultControllerProcessWrite(controller, value2);
120796
120847
  }
120797
120848
  }
120798
- function WritableStreamDefaultControllerErrorIfNeeded(controller, error3) {
120849
+ function WritableStreamDefaultControllerErrorIfNeeded(controller, error2) {
120799
120850
  if (controller._controlledWritableStream._state === "writable") {
120800
- WritableStreamDefaultControllerError(controller, error3);
120851
+ WritableStreamDefaultControllerError(controller, error2);
120801
120852
  }
120802
120853
  }
120803
120854
  function WritableStreamDefaultControllerProcessClose(controller) {
@@ -120836,10 +120887,10 @@ var require_ponyfill_es20182 = __commonJS3({
120836
120887
  const desiredSize = WritableStreamDefaultControllerGetDesiredSize(controller);
120837
120888
  return desiredSize <= 0;
120838
120889
  }
120839
- function WritableStreamDefaultControllerError(controller, error3) {
120890
+ function WritableStreamDefaultControllerError(controller, error2) {
120840
120891
  const stream = controller._controlledWritableStream;
120841
120892
  WritableStreamDefaultControllerClearAlgorithms(controller);
120842
- WritableStreamStartErroring(stream, error3);
120893
+ WritableStreamStartErroring(stream, error2);
120843
120894
  }
120844
120895
  function streamBrandCheckException$2(name) {
120845
120896
  return new TypeError(`WritableStream.prototype.${name} can only be used on a WritableStream`);
@@ -120965,12 +121016,12 @@ var require_ponyfill_es20182 = __commonJS3({
120965
121016
  let abortAlgorithm;
120966
121017
  if (signal !== void 0) {
120967
121018
  abortAlgorithm = () => {
120968
- const error3 = new DOMException$1("Aborted", "AbortError");
121019
+ const error2 = new DOMException$1("Aborted", "AbortError");
120969
121020
  const actions = [];
120970
121021
  if (!preventAbort) {
120971
121022
  actions.push(() => {
120972
121023
  if (dest._state === "writable") {
120973
- return WritableStreamAbort(dest, error3);
121024
+ return WritableStreamAbort(dest, error2);
120974
121025
  }
120975
121026
  return promiseResolvedWith(void 0);
120976
121027
  });
@@ -120978,12 +121029,12 @@ var require_ponyfill_es20182 = __commonJS3({
120978
121029
  if (!preventCancel) {
120979
121030
  actions.push(() => {
120980
121031
  if (source._state === "readable") {
120981
- return ReadableStreamCancel(source, error3);
121032
+ return ReadableStreamCancel(source, error2);
120982
121033
  }
120983
121034
  return promiseResolvedWith(void 0);
120984
121035
  });
120985
121036
  }
120986
- shutdownWithAction(() => Promise.all(actions.map((action) => action())), true, error3);
121037
+ shutdownWithAction(() => Promise.all(actions.map((action) => action())), true, error2);
120987
121038
  };
120988
121039
  if (signal.aborted) {
120989
121040
  abortAlgorithm();
@@ -121082,25 +121133,25 @@ var require_ponyfill_es20182 = __commonJS3({
121082
121133
  uponPromise(action(), () => finalize(originalIsError, originalError), (newError) => finalize(true, newError));
121083
121134
  }
121084
121135
  }
121085
- function shutdown(isError2, error3) {
121136
+ function shutdown(isError2, error2) {
121086
121137
  if (shuttingDown) {
121087
121138
  return;
121088
121139
  }
121089
121140
  shuttingDown = true;
121090
121141
  if (dest._state === "writable" && !WritableStreamCloseQueuedOrInFlight(dest)) {
121091
- uponFulfillment(waitForWritesToFinish(), () => finalize(isError2, error3));
121142
+ uponFulfillment(waitForWritesToFinish(), () => finalize(isError2, error2));
121092
121143
  } else {
121093
- finalize(isError2, error3);
121144
+ finalize(isError2, error2);
121094
121145
  }
121095
121146
  }
121096
- function finalize(isError2, error3) {
121147
+ function finalize(isError2, error2) {
121097
121148
  WritableStreamDefaultWriterRelease(writer);
121098
121149
  ReadableStreamReaderGenericRelease(reader);
121099
121150
  if (signal !== void 0) {
121100
121151
  signal.removeEventListener("abort", abortAlgorithm);
121101
121152
  }
121102
121153
  if (isError2) {
121103
- reject(error3);
121154
+ reject(error2);
121104
121155
  } else {
121105
121156
  resolve22(void 0);
121106
121157
  }
@@ -122303,8 +122354,8 @@ var require_ponyfill_es20182 = __commonJS3({
122303
122354
  const stream = controller._controlledTransformStream;
122304
122355
  const readableController = stream._readable._readableStreamController;
122305
122356
  ReadableStreamDefaultControllerClose(readableController);
122306
- const error3 = new TypeError("TransformStream terminated");
122307
- TransformStreamErrorWritableAndUnblockWrite(stream, error3);
122357
+ const error2 = new TypeError("TransformStream terminated");
122358
+ TransformStreamErrorWritableAndUnblockWrite(stream, error2);
122308
122359
  }
122309
122360
  function TransformStreamDefaultSinkWriteAlgorithm(stream, chunk) {
122310
122361
  const controller = stream._transformStreamController;
@@ -122379,11 +122430,11 @@ var require_streams2 = __commonJS3({
122379
122430
  };
122380
122431
  Object.assign(globalThis, __require3("node:stream/web"));
122381
122432
  process2.emitWarning = emitWarning;
122382
- } catch (error3) {
122433
+ } catch (error2) {
122383
122434
  process2.emitWarning = emitWarning;
122384
- throw error3;
122435
+ throw error2;
122385
122436
  }
122386
- } catch (error3) {
122437
+ } catch (error2) {
122387
122438
  Object.assign(globalThis, require_ponyfill_es20182());
122388
122439
  }
122389
122440
  }
@@ -122407,7 +122458,7 @@ var require_streams2 = __commonJS3({
122407
122458
  });
122408
122459
  };
122409
122460
  }
122410
- } catch (error3) {
122461
+ } catch (error2) {
122411
122462
  }
122412
122463
  }
122413
122464
  });
@@ -122444,7 +122495,7 @@ var POOL_SIZE2;
122444
122495
  var _Blob2;
122445
122496
  var Blob32;
122446
122497
  var fetch_blob_default2;
122447
- var init_fetch_blob2 = __esm3({
122498
+ var init_fetch_blob2 = __esm2({
122448
122499
  "../../node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/index.js"() {
122449
122500
  import_streams2 = __toESM3(require_streams2(), 1);
122450
122501
  POOL_SIZE2 = 65536;
@@ -122465,7 +122516,7 @@ var init_fetch_blob2 = __esm3({
122465
122516
  }
122466
122517
  if (options === null)
122467
122518
  options = {};
122468
- const encoder2 = new TextEncoder();
122519
+ const encoder = new TextEncoder();
122469
122520
  for (const element of blobParts) {
122470
122521
  let part;
122471
122522
  if (ArrayBuffer.isView(element)) {
@@ -122475,7 +122526,7 @@ var init_fetch_blob2 = __esm3({
122475
122526
  } else if (element instanceof Blob2) {
122476
122527
  part = element;
122477
122528
  } else {
122478
- part = encoder2.encode(`${element}`);
122529
+ part = encoder.encode(`${element}`);
122479
122530
  }
122480
122531
  this.#size += ArrayBuffer.isView(part) ? part.byteLength : part.size;
122481
122532
  this.#parts.push(part);
@@ -122575,7 +122626,7 @@ var init_fetch_blob2 = __esm3({
122575
122626
  var _File2;
122576
122627
  var File32;
122577
122628
  var file_default2;
122578
- var init_file2 = __esm3({
122629
+ var init_file2 = __esm2({
122579
122630
  "../../node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/file.js"() {
122580
122631
  init_fetch_blob2();
122581
122632
  _File2 = class File2 extends fetch_blob_default2 {
@@ -122633,7 +122684,7 @@ var f3;
122633
122684
  var e2;
122634
122685
  var x2;
122635
122686
  var FormData22;
122636
- var init_esm_min2 = __esm3({
122687
+ var init_esm_min2 = __esm2({
122637
122688
  "../../node_modules/.pnpm/formdata-polyfill@4.0.10/node_modules/formdata-polyfill/esm.min.js"() {
122638
122689
  init_fetch_blob2();
122639
122690
  init_file2();
@@ -122736,7 +122787,7 @@ var require_node_domexception2 = __commonJS3({
122736
122787
  var import_node_domexception2;
122737
122788
  var stat22;
122738
122789
  var BlobDataItem2;
122739
- var init_from2 = __esm3({
122790
+ var init_from2 = __esm2({
122740
122791
  "../../node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/from.js"() {
122741
122792
  import_node_domexception2 = __toESM3(require_node_domexception2(), 1);
122742
122793
  init_file2();
@@ -122776,7 +122827,7 @@ var init_from2 = __esm3({
122776
122827
  }
122777
122828
  });
122778
122829
  var multipart_parser_exports2 = {};
122779
- __export3(multipart_parser_exports2, {
122830
+ __export2(multipart_parser_exports2, {
122780
122831
  toFormData: () => toFormData2
122781
122832
  });
122782
122833
  function _fileName2(headerValue) {
@@ -122880,7 +122931,7 @@ var Z2;
122880
122931
  var lower2;
122881
122932
  var noop;
122882
122933
  var MultipartParser2;
122883
- var init_multipart_parser2 = __esm3({
122934
+ var init_multipart_parser2 = __esm2({
122884
122935
  "../../node_modules/.pnpm/node-fetch@3.3.0/node_modules/node-fetch/src/utils/multipart-parser.js"() {
122885
122936
  init_from2();
122886
122937
  init_esm_min2();
@@ -126480,15 +126531,15 @@ var require_lib32 = __commonJS3({
126480
126531
  at: at2
126481
126532
  } = raiseProperties, details = _objectWithoutPropertiesLoose(raiseProperties, _excluded);
126482
126533
  const loc = at2 instanceof Position3 ? at2 : at2.loc.start;
126483
- const error3 = toParseError({
126534
+ const error2 = toParseError({
126484
126535
  loc,
126485
126536
  details
126486
126537
  });
126487
126538
  if (!this.options.errorRecovery)
126488
- throw error3;
126539
+ throw error2;
126489
126540
  if (!this.isLookahead)
126490
- this.state.errors.push(error3);
126491
- return error3;
126541
+ this.state.errors.push(error2);
126542
+ return error2;
126492
126543
  }
126493
126544
  raiseOverwrite(toParseError, raiseProperties) {
126494
126545
  const {
@@ -126498,14 +126549,14 @@ var require_lib32 = __commonJS3({
126498
126549
  const pos = loc.index;
126499
126550
  const errors = this.state.errors;
126500
126551
  for (let i22 = errors.length - 1; i22 >= 0; i22--) {
126501
- const error3 = errors[i22];
126502
- if (error3.loc.index === pos) {
126552
+ const error2 = errors[i22];
126553
+ if (error2.loc.index === pos) {
126503
126554
  return errors[i22] = toParseError({
126504
126555
  loc,
126505
126556
  details
126506
126557
  });
126507
126558
  }
126508
- if (error3.loc.index < pos)
126559
+ if (error2.loc.index < pos)
126509
126560
  break;
126510
126561
  }
126511
126562
  return this.raise(toParseError, raiseProperties);
@@ -126535,9 +126586,9 @@ var require_lib32 = __commonJS3({
126535
126586
  });
126536
126587
  }
126537
126588
  }
126538
- errorBuilder(error3) {
126589
+ errorBuilder(error2) {
126539
126590
  return (pos, lineStart, curLine) => {
126540
- this.raise(error3, {
126591
+ this.raise(error2, {
126541
126592
  at: buildPosition(pos, lineStart, curLine)
126542
126593
  });
126543
126594
  };
@@ -126692,7 +126743,7 @@ var require_lib32 = __commonJS3({
126692
126743
  }
126693
126744
  this.parser.raise(toParseError, origin);
126694
126745
  }
126695
- recordArrowParameterBindingError(error3, {
126746
+ recordArrowParameterBindingError(error2, {
126696
126747
  at: node2
126697
126748
  }) {
126698
126749
  const {
@@ -126703,9 +126754,9 @@ var require_lib32 = __commonJS3({
126703
126754
  at: node2.loc.start
126704
126755
  };
126705
126756
  if (scope2.isCertainlyParameterDeclaration()) {
126706
- this.parser.raise(error3, origin);
126757
+ this.parser.raise(error2, origin);
126707
126758
  } else if (scope2.canBeArrowParameterDeclaration()) {
126708
- scope2.recordDeclarationError(error3, origin);
126759
+ scope2.recordDeclarationError(error2, origin);
126709
126760
  } else {
126710
126761
  return;
126711
126762
  }
@@ -126890,19 +126941,19 @@ var require_lib32 = __commonJS3({
126890
126941
  aborted: false,
126891
126942
  failState: null
126892
126943
  };
126893
- } catch (error3) {
126944
+ } catch (error2) {
126894
126945
  const failState = this.state;
126895
126946
  this.state = oldState;
126896
- if (error3 instanceof SyntaxError) {
126947
+ if (error2 instanceof SyntaxError) {
126897
126948
  return {
126898
126949
  node: null,
126899
- error: error3,
126950
+ error: error2,
126900
126951
  thrown: true,
126901
126952
  aborted: false,
126902
126953
  failState
126903
126954
  };
126904
126955
  }
126905
- if (error3 === abortSignal) {
126956
+ if (error2 === abortSignal) {
126906
126957
  return {
126907
126958
  node: abortSignal.node,
126908
126959
  error: null,
@@ -126911,7 +126962,7 @@ var require_lib32 = __commonJS3({
126911
126962
  failState
126912
126963
  };
126913
126964
  }
126914
- throw error3;
126965
+ throw error2;
126915
126966
  }
126916
126967
  }
126917
126968
  checkExpressionErrors(refExpressionErrors, andThrow) {
@@ -133333,9 +133384,9 @@ var require_lib32 = __commonJS3({
133333
133384
  throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: " + RECORD_AND_TUPLE_SYNTAX_TYPES.map((p) => `'${p}'`).join(", "));
133334
133385
  }
133335
133386
  if (hasPlugin(plugins, "asyncDoExpressions") && !hasPlugin(plugins, "doExpressions")) {
133336
- const error3 = new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");
133337
- error3.missingPlugins = "doExpressions";
133338
- throw error3;
133387
+ const error2 = new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");
133388
+ error2.missingPlugins = "doExpressions";
133389
+ throw error2;
133339
133390
  }
133340
133391
  }
133341
133392
  var mixinPlugins = {
@@ -137676,12 +137727,16 @@ var require_lib32 = __commonJS3({
137676
137727
  }
137677
137728
  });
137678
137729
  var require_tslib2 = __commonJS3({
137679
- "../../node_modules/.pnpm/tslib@2.4.1/node_modules/tslib/tslib.js"(exports, module) {
137730
+ "../../node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js"(exports, module) {
137680
137731
  var __extends;
137681
137732
  var __assign;
137682
137733
  var __rest;
137683
137734
  var __decorate;
137684
137735
  var __param;
137736
+ var __esDecorate;
137737
+ var __runInitializers;
137738
+ var __propKey;
137739
+ var __setFunctionName;
137685
137740
  var __metadata;
137686
137741
  var __awaiter;
137687
137742
  var __generator;
@@ -137778,6 +137833,65 @@ var require_tslib2 = __commonJS3({
137778
137833
  decorator(target, key, paramIndex);
137779
137834
  };
137780
137835
  };
137836
+ __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
137837
+ function accept(f32) {
137838
+ if (f32 !== void 0 && typeof f32 !== "function")
137839
+ throw new TypeError("Function expected");
137840
+ return f32;
137841
+ }
137842
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
137843
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
137844
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
137845
+ var _, done = false;
137846
+ for (var i22 = decorators.length - 1; i22 >= 0; i22--) {
137847
+ var context = {};
137848
+ for (var p in contextIn)
137849
+ context[p] = p === "access" ? {} : contextIn[p];
137850
+ for (var p in contextIn.access)
137851
+ context.access[p] = contextIn.access[p];
137852
+ context.addInitializer = function(f32) {
137853
+ if (done)
137854
+ throw new TypeError("Cannot add initializers after decoration has completed");
137855
+ extraInitializers.push(accept(f32 || null));
137856
+ };
137857
+ var result = (0, decorators[i22])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
137858
+ if (kind === "accessor") {
137859
+ if (result === void 0)
137860
+ continue;
137861
+ if (result === null || typeof result !== "object")
137862
+ throw new TypeError("Object expected");
137863
+ if (_ = accept(result.get))
137864
+ descriptor.get = _;
137865
+ if (_ = accept(result.set))
137866
+ descriptor.set = _;
137867
+ if (_ = accept(result.init))
137868
+ initializers.push(_);
137869
+ } else if (_ = accept(result)) {
137870
+ if (kind === "field")
137871
+ initializers.push(_);
137872
+ else
137873
+ descriptor[key] = _;
137874
+ }
137875
+ }
137876
+ if (target)
137877
+ Object.defineProperty(target, contextIn.name, descriptor);
137878
+ done = true;
137879
+ };
137880
+ __runInitializers = function(thisArg, initializers, value2) {
137881
+ var useValue = arguments.length > 2;
137882
+ for (var i22 = 0; i22 < initializers.length; i22++) {
137883
+ value2 = useValue ? initializers[i22].call(thisArg, value2) : initializers[i22].call(thisArg);
137884
+ }
137885
+ return useValue ? value2 : void 0;
137886
+ };
137887
+ __propKey = function(x22) {
137888
+ return typeof x22 === "symbol" ? x22 : "".concat(x22);
137889
+ };
137890
+ __setFunctionName = function(f32, name, prefix) {
137891
+ if (typeof name === "symbol")
137892
+ name = name.description ? "[".concat(name.description, "]") : "";
137893
+ return Object.defineProperty(f32, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
137894
+ };
137781
137895
  __metadata = function(metadataKey, metadataValue) {
137782
137896
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
137783
137897
  return Reflect.metadata(metadataKey, metadataValue);
@@ -137927,8 +138041,8 @@ var require_tslib2 = __commonJS3({
137927
138041
  try {
137928
138042
  while ((n2 === void 0 || n2-- > 0) && !(r22 = i22.next()).done)
137929
138043
  ar.push(r22.value);
137930
- } catch (error3) {
137931
- e22 = { error: error3 };
138044
+ } catch (error2) {
138045
+ e22 = { error: error2 };
137932
138046
  } finally {
137933
138047
  try {
137934
138048
  if (r22 && !r22.done && (m22 = i22["return"]))
@@ -138012,7 +138126,7 @@ var require_tslib2 = __commonJS3({
138012
138126
  }, i22;
138013
138127
  function verb(n2, f32) {
138014
138128
  i22[n2] = o[n2] ? function(v) {
138015
- return (p = !p) ? { value: __await(o[n2](v)), done: n2 === "return" } : f32 ? f32(v) : v;
138129
+ return (p = !p) ? { value: __await(o[n2](v)), done: false } : f32 ? f32(v) : v;
138016
138130
  } : f32;
138017
138131
  }
138018
138132
  };
@@ -138090,6 +138204,10 @@ var require_tslib2 = __commonJS3({
138090
138204
  exporter("__rest", __rest);
138091
138205
  exporter("__decorate", __decorate);
138092
138206
  exporter("__param", __param);
138207
+ exporter("__esDecorate", __esDecorate);
138208
+ exporter("__runInitializers", __runInitializers);
138209
+ exporter("__propKey", __propKey);
138210
+ exporter("__setFunctionName", __setFunctionName);
138093
138211
  exporter("__metadata", __metadata);
138094
138212
  exporter("__awaiter", __awaiter);
138095
138213
  exporter("__generator", __generator);
@@ -143999,14 +144117,14 @@ var require_esprima22 = __commonJS3({
143999
144117
  this.startMarker.line = this.scanner.lineNumber;
144000
144118
  this.startMarker.column = this.scanner.index - this.scanner.lineStart;
144001
144119
  var start = this.scanner.index;
144002
- var text3 = "";
144120
+ var text2 = "";
144003
144121
  while (!this.scanner.eof()) {
144004
144122
  var ch = this.scanner.source[this.scanner.index];
144005
144123
  if (ch === "{" || ch === "<") {
144006
144124
  break;
144007
144125
  }
144008
144126
  ++this.scanner.index;
144009
- text3 += ch;
144127
+ text2 += ch;
144010
144128
  if (character_1.Character.isLineTerminator(ch.charCodeAt(0))) {
144011
144129
  ++this.scanner.lineNumber;
144012
144130
  if (ch === "\r" && this.scanner.source[this.scanner.index] === "\n") {
@@ -144020,13 +144138,13 @@ var require_esprima22 = __commonJS3({
144020
144138
  this.lastMarker.column = this.scanner.index - this.scanner.lineStart;
144021
144139
  var token = {
144022
144140
  type: 101,
144023
- value: text3,
144141
+ value: text2,
144024
144142
  lineNumber: this.scanner.lineNumber,
144025
144143
  lineStart: this.scanner.lineStart,
144026
144144
  start,
144027
144145
  end: this.scanner.index
144028
144146
  };
144029
- if (text3.length > 0 && this.config.tokens) {
144147
+ if (text2.length > 0 && this.config.tokens) {
144030
144148
  this.tokens.push(this.convertToken(token));
144031
144149
  }
144032
144150
  return token;
@@ -147969,45 +148087,45 @@ var require_esprima22 = __commonJS3({
147969
148087
  this.errors = [];
147970
148088
  this.tolerant = false;
147971
148089
  }
147972
- ErrorHandler2.prototype.recordError = function(error3) {
147973
- this.errors.push(error3);
148090
+ ErrorHandler2.prototype.recordError = function(error2) {
148091
+ this.errors.push(error2);
147974
148092
  };
147975
- ErrorHandler2.prototype.tolerate = function(error3) {
148093
+ ErrorHandler2.prototype.tolerate = function(error2) {
147976
148094
  if (this.tolerant) {
147977
- this.recordError(error3);
148095
+ this.recordError(error2);
147978
148096
  } else {
147979
- throw error3;
148097
+ throw error2;
147980
148098
  }
147981
148099
  };
147982
148100
  ErrorHandler2.prototype.constructError = function(msg, column) {
147983
- var error3 = new Error(msg);
148101
+ var error2 = new Error(msg);
147984
148102
  try {
147985
- throw error3;
148103
+ throw error2;
147986
148104
  } catch (base) {
147987
148105
  if (Object.create && Object.defineProperty) {
147988
- error3 = Object.create(base);
147989
- Object.defineProperty(error3, "column", { value: column });
148106
+ error2 = Object.create(base);
148107
+ Object.defineProperty(error2, "column", { value: column });
147990
148108
  }
147991
148109
  }
147992
- return error3;
148110
+ return error2;
147993
148111
  };
147994
148112
  ErrorHandler2.prototype.createError = function(index, line, col, description) {
147995
148113
  var msg = "Line " + line + ": " + description;
147996
- var error3 = this.constructError(msg, col);
147997
- error3.index = index;
147998
- error3.lineNumber = line;
147999
- error3.description = description;
148000
- return error3;
148114
+ var error2 = this.constructError(msg, col);
148115
+ error2.index = index;
148116
+ error2.lineNumber = line;
148117
+ error2.description = description;
148118
+ return error2;
148001
148119
  };
148002
148120
  ErrorHandler2.prototype.throwError = function(index, line, col, description) {
148003
148121
  throw this.createError(index, line, col, description);
148004
148122
  };
148005
148123
  ErrorHandler2.prototype.tolerateError = function(index, line, col, description) {
148006
- var error3 = this.createError(index, line, col, description);
148124
+ var error2 = this.createError(index, line, col, description);
148007
148125
  if (this.tolerant) {
148008
- this.recordError(error3);
148126
+ this.recordError(error2);
148009
148127
  } else {
148010
- throw error3;
148128
+ throw error2;
148011
148129
  }
148012
148130
  };
148013
148131
  return ErrorHandler2;
@@ -149877,13 +149995,13 @@ var require_lines2 = __commonJS3({
149877
149995
  return null;
149878
149996
  }
149879
149997
  var targetLines = this;
149880
- function updateJSON(json2) {
149881
- json2 = json2 || {};
149882
- json2.file = sourceMapName;
149998
+ function updateJSON(json) {
149999
+ json = json || {};
150000
+ json.file = sourceMapName;
149883
150001
  if (sourceRoot) {
149884
- json2.sourceRoot = sourceRoot;
150002
+ json.sourceRoot = sourceRoot;
149885
150003
  }
149886
- return json2;
150004
+ return json;
149887
150005
  }
149888
150006
  if (targetLines.cachedSourceMap) {
149889
150007
  return updateJSON(targetLines.cachedSourceMap.toJSON());
@@ -154511,7 +154629,7 @@ var houdini_mode2 = {
154511
154629
  }
154512
154630
  };
154513
154631
  var fs_exports2 = {};
154514
- __export3(fs_exports2, {
154632
+ __export2(fs_exports2, {
154515
154633
  access: () => access2,
154516
154634
  copyFile: () => copyFile2,
154517
154635
  copyFileSync: () => copyFileSync2,
@@ -154534,7 +154652,7 @@ var import_fs_extra2 = __toESM3(require_lib4(), 1);
154534
154652
  var import_glob2 = __toESM3(require_glob2(), 1);
154535
154653
  var import_memfs2 = __toESM3(require_lib22(), 1);
154536
154654
  var path_exports2 = {};
154537
- __export3(path_exports2, {
154655
+ __export2(path_exports2, {
154538
154656
  basename: () => basename2,
154539
154657
  dirname: () => dirname2,
154540
154658
  extname: () => extname2,
@@ -154631,7 +154749,7 @@ async function readFile2(filepath) {
154631
154749
  }
154632
154750
  try {
154633
154751
  return await fs3.readFile(filepath, "utf8");
154634
- } catch (error3) {
154752
+ } catch (error2) {
154635
154753
  }
154636
154754
  return null;
154637
154755
  }
@@ -154648,7 +154766,7 @@ function readFileSync2(filepath) {
154648
154766
  }
154649
154767
  try {
154650
154768
  return import_fs_extra2.default.readFileSync(filepath, "utf-8");
154651
- } catch (error3) {
154769
+ } catch (error2) {
154652
154770
  }
154653
154771
  return null;
154654
154772
  }
@@ -154852,8 +154970,8 @@ var Body2 = class {
154852
154970
  this.size = size;
154853
154971
  if (body instanceof Stream2) {
154854
154972
  body.on("error", (error_) => {
154855
- const error3 = error_ instanceof FetchBaseError2 ? error_ : new FetchError2(`Invalid response body while trying to fetch ${this.url}: ${error_.message}`, "system", error_);
154856
- this[INTERNALS4].error = error3;
154973
+ const error2 = error_ instanceof FetchBaseError2 ? error_ : new FetchError2(`Invalid response body while trying to fetch ${this.url}: ${error_.message}`, "system", error_);
154974
+ this[INTERNALS4].error = error2;
154857
154975
  });
154858
154976
  }
154859
154977
  }
@@ -154888,8 +155006,8 @@ var Body2 = class {
154888
155006
  });
154889
155007
  }
154890
155008
  async json() {
154891
- const text3 = await this.text();
154892
- return JSON.parse(text3);
155009
+ const text2 = await this.text();
155010
+ return JSON.parse(text2);
154893
155011
  }
154894
155012
  async text() {
154895
155013
  const buffer = await consumeBody2(this);
@@ -154934,15 +155052,15 @@ async function consumeBody2(data2) {
154934
155052
  try {
154935
155053
  for await (const chunk of body) {
154936
155054
  if (data2.size > 0 && accumBytes + chunk.length > data2.size) {
154937
- const error3 = new FetchError2(`content size at ${data2.url} over limit: ${data2.size}`, "max-size");
154938
- body.destroy(error3);
154939
- throw error3;
155055
+ const error2 = new FetchError2(`content size at ${data2.url} over limit: ${data2.size}`, "max-size");
155056
+ body.destroy(error2);
155057
+ throw error2;
154940
155058
  }
154941
155059
  accumBytes += chunk.length;
154942
155060
  accum.push(chunk);
154943
155061
  }
154944
- } catch (error3) {
154945
- const error_ = error3 instanceof FetchBaseError2 ? error3 : new FetchError2(`Invalid response body while trying to fetch ${data2.url}: ${error3.message}`, "system", error3);
155062
+ } catch (error2) {
155063
+ const error_ = error2 instanceof FetchBaseError2 ? error2 : new FetchError2(`Invalid response body while trying to fetch ${data2.url}: ${error2.message}`, "system", error2);
154946
155064
  throw error_;
154947
155065
  }
154948
155066
  if (body.readableEnded === true || body._readableState.ended === true) {
@@ -154951,8 +155069,8 @@ async function consumeBody2(data2) {
154951
155069
  return Buffer22.from(accum.join(""));
154952
155070
  }
154953
155071
  return Buffer22.concat(accum, accumBytes);
154954
- } catch (error3) {
154955
- throw new FetchError2(`Could not create Buffer from response body for ${data2.url}: ${error3.message}`, "system", error3);
155072
+ } catch (error2) {
155073
+ throw new FetchError2(`Could not create Buffer from response body for ${data2.url}: ${error2.message}`, "system", error2);
154956
155074
  }
154957
155075
  } else {
154958
155076
  throw new FetchError2(`Premature close of server response while trying to fetch ${data2.url}`);
@@ -155009,22 +155127,22 @@ var extractContentType2 = (body, request) => {
155009
155127
  };
155010
155128
  var validateHeaderName2 = typeof http2.validateHeaderName === "function" ? http2.validateHeaderName : (name) => {
155011
155129
  if (!/^[\^`\-\w!#$%&'*+.|~]+$/.test(name)) {
155012
- const error3 = new TypeError(`Header name must be a valid HTTP token [${name}]`);
155013
- Object.defineProperty(error3, "code", { value: "ERR_INVALID_HTTP_TOKEN" });
155014
- throw error3;
155130
+ const error2 = new TypeError(`Header name must be a valid HTTP token [${name}]`);
155131
+ Object.defineProperty(error2, "code", { value: "ERR_INVALID_HTTP_TOKEN" });
155132
+ throw error2;
155015
155133
  }
155016
155134
  };
155017
155135
  var validateHeaderValue2 = typeof http2.validateHeaderValue === "function" ? http2.validateHeaderValue : (name, value2) => {
155018
155136
  if (/[^\t\u0020-\u007E\u0080-\u00FF]/.test(value2)) {
155019
- const error3 = new TypeError(`Invalid character in header content ["${name}"]`);
155020
- Object.defineProperty(error3, "code", { value: "ERR_INVALID_CHAR" });
155021
- throw error3;
155137
+ const error2 = new TypeError(`Invalid character in header content ["${name}"]`);
155138
+ Object.defineProperty(error2, "code", { value: "ERR_INVALID_CHAR" });
155139
+ throw error2;
155022
155140
  }
155023
155141
  };
155024
- var Headers3 = class extends URLSearchParams {
155142
+ var Headers2 = class extends URLSearchParams {
155025
155143
  constructor(init) {
155026
155144
  let result = [];
155027
- if (init instanceof Headers3) {
155145
+ if (init instanceof Headers2) {
155028
155146
  const raw = init.raw();
155029
155147
  for (const [name, values] of Object.entries(raw)) {
155030
155148
  result.push(...values.map((value2) => [name, value2]));
@@ -155148,7 +155266,7 @@ var Headers3 = class extends URLSearchParams {
155148
155266
  }
155149
155267
  };
155150
155268
  Object.defineProperties(
155151
- Headers3.prototype,
155269
+ Headers2.prototype,
155152
155270
  ["get", "entries", "forEach", "values"].reduce((result, property) => {
155153
155271
  result[property] = { enumerable: true };
155154
155272
  return result;
@@ -155159,11 +155277,11 @@ var isRedirect2 = (code) => {
155159
155277
  return redirectStatus2.has(code);
155160
155278
  };
155161
155279
  var INTERNALS22 = Symbol("Response internals");
155162
- var Response3 = class extends Body2 {
155280
+ var Response2 = class extends Body2 {
155163
155281
  constructor(body = null, options = {}) {
155164
155282
  super(body, options);
155165
155283
  const status = options.status != null ? options.status : 200;
155166
- const headers = new Headers3(options.headers);
155284
+ const headers = new Headers2(options.headers);
155167
155285
  if (body !== null && !headers.has("Content-Type")) {
155168
155286
  const contentType = extractContentType2(body, this);
155169
155287
  if (contentType) {
@@ -155205,7 +155323,7 @@ var Response3 = class extends Body2 {
155205
155323
  return this[INTERNALS22].highWaterMark;
155206
155324
  }
155207
155325
  clone() {
155208
- return new Response3(clone2(this, this.highWaterMark), {
155326
+ return new Response2(clone2(this, this.highWaterMark), {
155209
155327
  type: this.type,
155210
155328
  url: this.url,
155211
155329
  status: this.status,
@@ -155221,7 +155339,7 @@ var Response3 = class extends Body2 {
155221
155339
  if (!isRedirect2(status)) {
155222
155340
  throw new RangeError('Failed to execute "redirect" on "response": Invalid status code');
155223
155341
  }
155224
- return new Response3(null, {
155342
+ return new Response2(null, {
155225
155343
  headers: {
155226
155344
  location: new URL(url2).toString()
155227
155345
  },
@@ -155229,7 +155347,7 @@ var Response3 = class extends Body2 {
155229
155347
  });
155230
155348
  }
155231
155349
  static error() {
155232
- const response = new Response3(null, { status: 0, statusText: "" });
155350
+ const response = new Response2(null, { status: 0, statusText: "" });
155233
155351
  response[INTERNALS22].type = "error";
155234
155352
  return response;
155235
155353
  }
@@ -155238,11 +155356,11 @@ var Response3 = class extends Body2 {
155238
155356
  if (body === void 0) {
155239
155357
  throw new TypeError("data is not JSON serializable");
155240
155358
  }
155241
- const headers = new Headers3(init && init.headers);
155359
+ const headers = new Headers2(init && init.headers);
155242
155360
  if (!headers.has("content-type")) {
155243
155361
  headers.set("content-type", "application/json");
155244
155362
  }
155245
- return new Response3(body, {
155363
+ return new Response2(body, {
155246
155364
  ...init,
155247
155365
  headers
155248
155366
  });
@@ -155251,7 +155369,7 @@ var Response3 = class extends Body2 {
155251
155369
  return "Response";
155252
155370
  }
155253
155371
  };
155254
- Object.defineProperties(Response3.prototype, {
155372
+ Object.defineProperties(Response2.prototype, {
155255
155373
  type: { enumerable: true },
155256
155374
  url: { enumerable: true },
155257
155375
  status: { enumerable: true },
@@ -155314,7 +155432,7 @@ var Request2 = class extends Body2 {
155314
155432
  super(inputBody, {
155315
155433
  size: init.size || input.size || 0
155316
155434
  });
155317
- const headers = new Headers3(init.headers || input.headers || {});
155435
+ const headers = new Headers2(init.headers || input.headers || {});
155318
155436
  if (inputBody !== null && !headers.has("Content-Type")) {
155319
155437
  const contentType = extractContentType2(inputBody, this);
155320
155438
  if (contentType) {
@@ -157356,13 +157474,13 @@ var mutation2 = documentPlugin2(ArtifactKind2.Mutation, () => {
157356
157474
  }
157357
157475
  resolve22(ctx);
157358
157476
  },
157359
- catch(ctx, { error: error3 }) {
157477
+ catch(ctx, { error: error2 }) {
157360
157478
  if (ctx.cacheParams?.layer) {
157361
157479
  const { layer } = ctx.cacheParams;
157362
157480
  layer.clear();
157363
157481
  cache_default2._internal_unstable.storage.resolveLayer(layer.id);
157364
157482
  }
157365
- throw error3;
157483
+ throw error2;
157366
157484
  }
157367
157485
  };
157368
157486
  });
@@ -157942,10 +158060,10 @@ function getOptions(opts) {
157942
158060
  return options;
157943
158061
  }
157944
158062
  function pushComment(options, array) {
157945
- return function(block3, text3, start, end, startLoc, endLoc) {
158063
+ return function(block3, text2, start, end, startLoc, endLoc) {
157946
158064
  var comment = {
157947
158065
  type: block3 ? "Block" : "Line",
157948
- value: text3,
158066
+ value: text2,
157949
158067
  start,
157950
158068
  end
157951
158069
  };
@@ -162399,8 +162517,8 @@ var regex_starts_with_whitespaces = /^[ \t\r\n]*/;
162399
162517
  var regex_ends_with_whitespaces = /[ \t\r\n]*$/;
162400
162518
  var regex_not_newline_characters = /[^\n]/g;
162401
162519
  var regex_svelte_ignore = /^\s*svelte-ignore\s+([\s\S]+)\s*$/m;
162402
- function extract_svelte_ignore(text3) {
162403
- const match = regex_svelte_ignore.exec(text3);
162520
+ function extract_svelte_ignore(text2) {
162521
+ const match = regex_svelte_ignore.exec(text2);
162404
162522
  return match ? match[1].split(regex_whitespace).map((x4) => x4.trim()).filter(Boolean) : [];
162405
162523
  }
162406
162524
  function fuzzymatch(name, names) {
@@ -164668,9 +164786,9 @@ var List3 = class {
164668
164786
  }
164669
164787
  };
164670
164788
  function createCustomError(name, message) {
164671
- const error3 = Object.create(SyntaxError.prototype);
164789
+ const error2 = Object.create(SyntaxError.prototype);
164672
164790
  const errorStack = new Error();
164673
- return Object.assign(error3, {
164791
+ return Object.assign(error2, {
164674
164792
  name,
164675
164793
  message,
164676
164794
  get stack() {
@@ -164711,7 +164829,7 @@ function sourceFragment({ source, line, column }, extraLines) {
164711
164829
  ].filter(Boolean).join("\n");
164712
164830
  }
164713
164831
  function SyntaxError$1(message, source, offset2, line, column) {
164714
- const error3 = Object.assign(createCustomError("SyntaxError", message), {
164832
+ const error2 = Object.assign(createCustomError("SyntaxError", message), {
164715
164833
  source,
164716
164834
  offset: offset2,
164717
164835
  line,
@@ -164724,7 +164842,7 @@ function SyntaxError$1(message, source, offset2, line, column) {
164724
164842
  ` + sourceFragment({ source, line, column }, 2);
164725
164843
  }
164726
164844
  });
164727
- return error3;
164845
+ return error2;
164728
164846
  }
164729
164847
  var EOF = 0;
164730
164848
  var Ident = 1;
@@ -167487,8 +167605,8 @@ function read_style(parser, start, attributes) {
167487
167605
  ast = parse$H(styles, {
167488
167606
  positions: true,
167489
167607
  offset: content_start,
167490
- onParseError(error3) {
167491
- throw error3;
167608
+ onParseError(error2) {
167609
+ throw error2;
167492
167610
  }
167493
167611
  });
167494
167612
  } catch (err) {
@@ -169774,8 +169892,8 @@ function tag(parser) {
169774
169892
  parser.eat(">", true);
169775
169893
  while (parent.name !== name) {
169776
169894
  if (parent.type !== "Element") {
169777
- const error3 = parser.last_auto_closed_tag && parser.last_auto_closed_tag.tag === name ? parser_errors.invalid_closing_tag_autoclosed(name, parser.last_auto_closed_tag.reason) : parser_errors.invalid_closing_tag_unopened(name);
169778
- parser.error(error3, start);
169895
+ const error2 = parser.last_auto_closed_tag && parser.last_auto_closed_tag.tag === name ? parser_errors.invalid_closing_tag_autoclosed(name, parser.last_auto_closed_tag.reason) : parser_errors.invalid_closing_tag_unopened(name);
169896
+ parser.error(error2, start);
169779
169897
  }
169780
169898
  parent.end = start;
169781
169899
  parser.stack.pop();
@@ -170053,14 +170171,14 @@ function read_attribute_value(parser) {
170053
170171
  let value2;
170054
170172
  try {
170055
170173
  value2 = read_sequence(parser, () => !!parser.match_regex(regex2), "in attribute value");
170056
- } catch (error3) {
170057
- if (error3.code === "parse-error") {
170058
- if (parser.template.slice(error3.pos - 1, error3.pos + 1) === "/>") {
170059
- parser.index = error3.pos;
170174
+ } catch (error2) {
170175
+ if (error2.code === "parse-error") {
170176
+ if (parser.template.slice(error2.pos - 1, error2.pos + 1) === "/>") {
170177
+ parser.index = error2.pos;
170060
170178
  parser.error(parser_errors.unclosed_attribute_value(quote_mark || "}"));
170061
170179
  }
170062
170180
  }
170063
- throw error3;
170181
+ throw error2;
170064
170182
  }
170065
170183
  if (value2.length === 0 && !quote_mark) {
170066
170184
  parser.error(parser_errors.missing_attribute_value);
@@ -170194,8 +170312,8 @@ function read_context(parser) {
170194
170312
  const first_space = space_with_newline.indexOf(" ");
170195
170313
  space_with_newline = space_with_newline.slice(0, first_space) + space_with_newline.slice(first_space + 1);
170196
170314
  return parse_expression_at(`${space_with_newline}(${pattern_string} = 1)`, start - 1).left;
170197
- } catch (error3) {
170198
- parser.acorn_error(error3);
170315
+ } catch (error2) {
170316
+ parser.acorn_error(error2);
170199
170317
  }
170200
170318
  }
170201
170319
  function trim_start(str) {
@@ -170692,17 +170810,17 @@ ${this.frame}`;
170692
170810
  }
170693
170811
  };
170694
170812
  function error(message, props) {
170695
- const error3 = new CompileError(message);
170696
- error3.name = props.name;
170813
+ const error2 = new CompileError(message);
170814
+ error2.name = props.name;
170697
170815
  const start = locate(props.source, props.start, { offsetLine: 1 });
170698
170816
  const end = locate(props.source, props.end || props.start, { offsetLine: 1 });
170699
- error3.code = props.code;
170700
- error3.start = start;
170701
- error3.end = end;
170702
- error3.pos = props.start;
170703
- error3.filename = props.filename;
170704
- error3.frame = get_code_frame(props.source, start.line - 1, start.column);
170705
- throw error3;
170817
+ error2.code = props.code;
170818
+ error2.start = start;
170819
+ error2.end = end;
170820
+ error2.pos = props.start;
170821
+ error2.filename = props.filename;
170822
+ error2.frame = get_code_frame(props.source, start.line - 1, start.column);
170823
+ throw error2;
170706
170824
  }
170707
170825
  var regex_position_indicator = / \(\d+:\d+\)$/;
170708
170826
  var Parser$1 = class {
@@ -170776,13 +170894,13 @@ var Parser$1 = class {
170776
170894
  filename: this.filename
170777
170895
  });
170778
170896
  }
170779
- eat(str, required, error3) {
170897
+ eat(str, required, error2) {
170780
170898
  if (this.match(str)) {
170781
170899
  this.index += str.length;
170782
170900
  return true;
170783
170901
  }
170784
170902
  if (required) {
170785
- this.error(error3 || (this.index === this.template.length ? parser_errors.unexpected_eof_token(str) : parser_errors.unexpected_token(str)));
170903
+ this.error(error2 || (this.index === this.template.length ? parser_errors.unexpected_eof_token(str) : parser_errors.unexpected_token(str)));
170786
170904
  }
170787
170905
  return false;
170788
170906
  }
@@ -185621,11 +185739,11 @@ async function parseSvelte(str) {
185621
185739
  function findScriptInnerBounds({
185622
185740
  start,
185623
185741
  end,
185624
- text: text3
185742
+ text: text2
185625
185743
  }) {
185626
185744
  let greaterThanIndex = start;
185627
185745
  while (greaterThanIndex < end) {
185628
- if (text3[greaterThanIndex] === ">") {
185746
+ if (text2[greaterThanIndex] === ">") {
185629
185747
  break;
185630
185748
  }
185631
185749
  greaterThanIndex++;
@@ -185635,7 +185753,7 @@ function findScriptInnerBounds({
185635
185753
  }
185636
185754
  let lessThanIndex = end;
185637
185755
  while (lessThanIndex > greaterThanIndex) {
185638
- if (text3[lessThanIndex] === "<") {
185756
+ if (text2[lessThanIndex] === "<") {
185639
185757
  break;
185640
185758
  }
185641
185759
  lessThanIndex--;
@@ -187017,7 +187135,7 @@ filesystem.statSync = function(filepath, options) {
187017
187135
  try {
187018
187136
  const result = _statSync(filepath, options);
187019
187137
  return result;
187020
- } catch (error3) {
187138
+ } catch (error2) {
187021
187139
  filepath = path_exports.posixify(filepath.toString());
187022
187140
  const mock3 = virtual_file(path_exports.basename(filepath), { withFileTypes: true });
187023
187141
  if (filepath.endsWith(path_exports.join("routes", "+layout.svelte")) || filepath.endsWith(path_exports.join("routes", "+layout.svelte")) || filepath.endsWith(path_exports.join("routes", "+layout.server.js")) || filepath.endsWith(path_exports.join("routes", "+layout.server.js"))) {
@@ -187027,7 +187145,7 @@ filesystem.statSync = function(filepath, options) {
187027
187145
  } else if (filepath.endsWith("+page.js")) {
187028
187146
  return mock3;
187029
187147
  }
187030
- throw error3;
187148
+ throw error2;
187031
187149
  }
187032
187150
  };
187033
187151
  filesystem.unlinkSync = function(filepath) {
@@ -188032,7 +188150,7 @@ var pluginHooks = async () => ({
188032
188150
  transformRuntime: {
188033
188151
  "adapter.js": ({ content }) => {
188034
188152
  const sveltekit_adapter = `import { browser, building } from '$app/environment'
188035
- import { error as svelteKitError } from '@sveltejs/kit'
188153
+ import { error as svelteKitError, redirect as svelteKitRedirect } from '@sveltejs/kit'
188036
188154
 
188037
188155
  export const isBrowser = browser
188038
188156
 
@@ -188045,6 +188163,7 @@ export function setClientStarted() {
188045
188163
  export const isPrerender = building
188046
188164
 
188047
188165
  export const error = svelteKitError
188166
+ export const redirect = svelteKitRedirect
188048
188167
  `;
188049
188168
  return framework === "kit" ? sveltekit_adapter : content;
188050
188169
  },
@@ -188114,11 +188233,8 @@ export const error = svelteKitError
188114
188233
  description: "It has to be a relative path (from houdini.config.js) to your client file. The file must have a default export with an instance of HoudiniClient."
188115
188234
  });
188116
188235
  }
188117
- try {
188118
- await Promise.resolve().then(() => (init_exports(), exports_exports));
188119
- framework = "kit";
188120
- } catch {
188121
- }
188236
+ const detected = await detectFromPackageJSON(process.cwd());
188237
+ framework = detected.framework === "kit" ? "kit" : "svelte";
188122
188238
  },
188123
188239
  async env({ config: config4 }) {
188124
188240
  if (_env) {