@tscircuit/cli 0.1.68 → 0.1.70

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 (2) hide show
  1. package/dist/main.js +597 -525
  2. package/package.json +2 -2
package/dist/main.js CHANGED
@@ -243948,9 +243948,9 @@ var require_react_development = __commonJS((exports2, module2) => {
243948
243948
  case REACT_LAZY_TYPE: {
243949
243949
  var lazyComponent = type;
243950
243950
  var payload = lazyComponent._payload;
243951
- var init = lazyComponent._init;
243951
+ var init2 = lazyComponent._init;
243952
243952
  try {
243953
- return getComponentNameFromType(init(payload));
243953
+ return getComponentNameFromType(init2(payload));
243954
243954
  } catch (x) {
243955
243955
  return null;
243956
243956
  }
@@ -244635,9 +244635,9 @@ Your code should look like:
244635
244635
  var dispatcher = resolveDispatcher();
244636
244636
  return dispatcher.useState(initialState);
244637
244637
  }
244638
- function useReducer(reducer, initialArg, init) {
244638
+ function useReducer(reducer, initialArg, init2) {
244639
244639
  var dispatcher = resolveDispatcher();
244640
- return dispatcher.useReducer(reducer, initialArg, init);
244640
+ return dispatcher.useReducer(reducer, initialArg, init2);
244641
244641
  }
244642
244642
  function useRef(initialValue) {
244643
244643
  var dispatcher = resolveDispatcher();
@@ -244930,9 +244930,9 @@ Your code should look like:
244930
244930
  case REACT_LAZY_TYPE: {
244931
244931
  var lazyComponent = type;
244932
244932
  var payload = lazyComponent._payload;
244933
- var init = lazyComponent._init;
244933
+ var init2 = lazyComponent._init;
244934
244934
  try {
244935
- return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
244935
+ return describeUnknownElementTypeFrameInDEV(init2(payload), source, ownerFn);
244936
244936
  } catch (x) {}
244937
244937
  }
244938
244938
  }
@@ -248340,14 +248340,14 @@ Incoming: %s`, currentHookNameInDev, "[" + prevDeps.join(", ") + "]", "[" + next
248340
248340
  function basicStateReducer(state, action) {
248341
248341
  return typeof action === "function" ? action(state) : action;
248342
248342
  }
248343
- function mountReducer(reducer, initialArg, init) {
248343
+ function mountReducer(reducer, initialArg, init2) {
248344
248344
  var hook = mountWorkInProgressHook();
248345
- if (init !== undefined) {
248346
- var initialState = init(initialArg);
248345
+ if (init2 !== undefined) {
248346
+ var initialState = init2(initialArg);
248347
248347
  if (shouldDoubleInvokeUserFnsInHooksDEV) {
248348
248348
  setIsStrictModeForDevtools(true);
248349
248349
  try {
248350
- init(initialArg);
248350
+ init2(initialArg);
248351
248351
  } finally {
248352
248352
  setIsStrictModeForDevtools(false);
248353
248353
  }
@@ -253447,8 +253447,8 @@ Learn more about this warning here: https://react.dev/link/legacy-context`, sort
253447
253447
  }
253448
253448
  }, callDestroyInDEV = callDestroy["react-stack-bottom-frame"].bind(callDestroy), callLazyInit = {
253449
253449
  "react-stack-bottom-frame": function(lazy) {
253450
- var init = lazy._init;
253451
- return init(lazy._payload);
253450
+ var init2 = lazy._init;
253451
+ return init2(lazy._payload);
253452
253452
  }
253453
253453
  }, callLazyInitInDEV = callLazyInit["react-stack-bottom-frame"].bind(callLazyInit), thenableState$1 = null, thenableIndexCounter$1 = 0, currentDebugInfo = null, didWarnAboutMaps;
253454
253454
  var didWarnAboutGenerators = didWarnAboutMaps = false;
@@ -253567,13 +253567,13 @@ Check the top-level render call using <` + componentName2 + ">.");
253567
253567
  ReactSharedInternals.H = prevDispatcher;
253568
253568
  }
253569
253569
  },
253570
- useReducer: function(reducer, initialArg, init) {
253570
+ useReducer: function(reducer, initialArg, init2) {
253571
253571
  currentHookNameInDev = "useReducer";
253572
253572
  mountHookTypesDev();
253573
253573
  var prevDispatcher = ReactSharedInternals.H;
253574
253574
  ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;
253575
253575
  try {
253576
- return mountReducer(reducer, initialArg, init);
253576
+ return mountReducer(reducer, initialArg, init2);
253577
253577
  } finally {
253578
253578
  ReactSharedInternals.H = prevDispatcher;
253579
253579
  }
@@ -253688,13 +253688,13 @@ Check the top-level render call using <` + componentName2 + ">.");
253688
253688
  ReactSharedInternals.H = prevDispatcher;
253689
253689
  }
253690
253690
  },
253691
- useReducer: function(reducer, initialArg, init) {
253691
+ useReducer: function(reducer, initialArg, init2) {
253692
253692
  currentHookNameInDev = "useReducer";
253693
253693
  updateHookTypesDev();
253694
253694
  var prevDispatcher = ReactSharedInternals.H;
253695
253695
  ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;
253696
253696
  try {
253697
- return mountReducer(reducer, initialArg, init);
253697
+ return mountReducer(reducer, initialArg, init2);
253698
253698
  } finally {
253699
253699
  ReactSharedInternals.H = prevDispatcher;
253700
253700
  }
@@ -253809,13 +253809,13 @@ Check the top-level render call using <` + componentName2 + ">.");
253809
253809
  ReactSharedInternals.H = prevDispatcher;
253810
253810
  }
253811
253811
  },
253812
- useReducer: function(reducer, initialArg, init) {
253812
+ useReducer: function(reducer, initialArg, init2) {
253813
253813
  currentHookNameInDev = "useReducer";
253814
253814
  updateHookTypesDev();
253815
253815
  var prevDispatcher = ReactSharedInternals.H;
253816
253816
  ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
253817
253817
  try {
253818
- return updateReducer(reducer, initialArg, init);
253818
+ return updateReducer(reducer, initialArg, init2);
253819
253819
  } finally {
253820
253820
  ReactSharedInternals.H = prevDispatcher;
253821
253821
  }
@@ -253930,13 +253930,13 @@ Check the top-level render call using <` + componentName2 + ">.");
253930
253930
  ReactSharedInternals.H = prevDispatcher;
253931
253931
  }
253932
253932
  },
253933
- useReducer: function(reducer, initialArg, init) {
253933
+ useReducer: function(reducer, initialArg, init2) {
253934
253934
  currentHookNameInDev = "useReducer";
253935
253935
  updateHookTypesDev();
253936
253936
  var prevDispatcher = ReactSharedInternals.H;
253937
253937
  ReactSharedInternals.H = InvalidNestedHooksDispatcherOnRerenderInDEV;
253938
253938
  try {
253939
- return rerenderReducer(reducer, initialArg, init);
253939
+ return rerenderReducer(reducer, initialArg, init2);
253940
253940
  } finally {
253941
253941
  ReactSharedInternals.H = prevDispatcher;
253942
253942
  }
@@ -254062,14 +254062,14 @@ Check the top-level render call using <` + componentName2 + ">.");
254062
254062
  ReactSharedInternals.H = prevDispatcher;
254063
254063
  }
254064
254064
  },
254065
- useReducer: function(reducer, initialArg, init) {
254065
+ useReducer: function(reducer, initialArg, init2) {
254066
254066
  currentHookNameInDev = "useReducer";
254067
254067
  warnInvalidHookAccess();
254068
254068
  mountHookTypesDev();
254069
254069
  var prevDispatcher = ReactSharedInternals.H;
254070
254070
  ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;
254071
254071
  try {
254072
- return mountReducer(reducer, initialArg, init);
254072
+ return mountReducer(reducer, initialArg, init2);
254073
254073
  } finally {
254074
254074
  ReactSharedInternals.H = prevDispatcher;
254075
254075
  }
@@ -254207,14 +254207,14 @@ Check the top-level render call using <` + componentName2 + ">.");
254207
254207
  ReactSharedInternals.H = prevDispatcher;
254208
254208
  }
254209
254209
  },
254210
- useReducer: function(reducer, initialArg, init) {
254210
+ useReducer: function(reducer, initialArg, init2) {
254211
254211
  currentHookNameInDev = "useReducer";
254212
254212
  warnInvalidHookAccess();
254213
254213
  updateHookTypesDev();
254214
254214
  var prevDispatcher = ReactSharedInternals.H;
254215
254215
  ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
254216
254216
  try {
254217
- return updateReducer(reducer, initialArg, init);
254217
+ return updateReducer(reducer, initialArg, init2);
254218
254218
  } finally {
254219
254219
  ReactSharedInternals.H = prevDispatcher;
254220
254220
  }
@@ -254352,14 +254352,14 @@ Check the top-level render call using <` + componentName2 + ">.");
254352
254352
  ReactSharedInternals.H = prevDispatcher;
254353
254353
  }
254354
254354
  },
254355
- useReducer: function(reducer, initialArg, init) {
254355
+ useReducer: function(reducer, initialArg, init2) {
254356
254356
  currentHookNameInDev = "useReducer";
254357
254357
  warnInvalidHookAccess();
254358
254358
  updateHookTypesDev();
254359
254359
  var prevDispatcher = ReactSharedInternals.H;
254360
254360
  ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
254361
254361
  try {
254362
- return rerenderReducer(reducer, initialArg, init);
254362
+ return rerenderReducer(reducer, initialArg, init2);
254363
254363
  } finally {
254364
254364
  ReactSharedInternals.H = prevDispatcher;
254365
254365
  }
@@ -255620,9 +255620,9 @@ var require_react_reconciler_development2 = __commonJS((exports2, module2) => {
255620
255620
  case REACT_LAZY_TYPE: {
255621
255621
  var lazyComponent = type;
255622
255622
  var payload = lazyComponent._payload;
255623
- var init = lazyComponent._init;
255623
+ var init2 = lazyComponent._init;
255624
255624
  try {
255625
- return getComponentNameFromType(init(payload));
255625
+ return getComponentNameFromType(init2(payload));
255626
255626
  } catch (x) {
255627
255627
  return null;
255628
255628
  }
@@ -256258,9 +256258,9 @@ var require_react_reconciler_development2 = __commonJS((exports2, module2) => {
256258
256258
  case REACT_LAZY_TYPE: {
256259
256259
  var lazyComponent = type;
256260
256260
  var payload = lazyComponent._payload;
256261
- var init = lazyComponent._init;
256261
+ var init2 = lazyComponent._init;
256262
256262
  try {
256263
- return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
256263
+ return describeUnknownElementTypeFrameInDEV(init2(payload), source, ownerFn);
256264
256264
  } catch (x) {}
256265
256265
  }
256266
256266
  }
@@ -258442,8 +258442,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
258442
258442
  }
258443
258443
  function resolveLazy(lazyType2) {
258444
258444
  var payload = lazyType2._payload;
258445
- var init = lazyType2._init;
258446
- return init(payload);
258445
+ var init2 = lazyType2._init;
258446
+ return init2(payload);
258447
258447
  }
258448
258448
  function ChildReconciler(shouldTrackSideEffects) {
258449
258449
  function deleteChild(returnFiber, childToDelete) {
@@ -258590,8 +258590,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
258590
258590
  }
258591
258591
  case REACT_LAZY_TYPE: {
258592
258592
  var payload = newChild._payload;
258593
- var init = newChild._init;
258594
- return createChild(returnFiber, init(payload), lanes);
258593
+ var init2 = newChild._init;
258594
+ return createChild(returnFiber, init2(payload), lanes);
258595
258595
  }
258596
258596
  }
258597
258597
  if (isArray(newChild) || getIteratorFn(newChild)) {
@@ -258634,8 +258634,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
258634
258634
  }
258635
258635
  case REACT_LAZY_TYPE: {
258636
258636
  var payload = newChild._payload;
258637
- var init = newChild._init;
258638
- return updateSlot(returnFiber, oldFiber, init(payload), lanes);
258637
+ var init2 = newChild._init;
258638
+ return updateSlot(returnFiber, oldFiber, init2(payload), lanes);
258639
258639
  }
258640
258640
  }
258641
258641
  if (isArray(newChild) || getIteratorFn(newChild)) {
@@ -258670,8 +258670,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
258670
258670
  }
258671
258671
  case REACT_LAZY_TYPE:
258672
258672
  var payload = newChild._payload;
258673
- var init = newChild._init;
258674
- return updateFromMap(existingChildren, returnFiber, newIdx, init(payload), lanes);
258673
+ var init2 = newChild._init;
258674
+ return updateFromMap(existingChildren, returnFiber, newIdx, init2(payload), lanes);
258675
258675
  }
258676
258676
  if (isArray(newChild) || getIteratorFn(newChild)) {
258677
258677
  var _matchedFiber3 = existingChildren.get(newIdx) || null;
@@ -258712,8 +258712,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
258712
258712
  break;
258713
258713
  case REACT_LAZY_TYPE:
258714
258714
  var payload = child._payload;
258715
- var init = child._init;
258716
- warnOnInvalidKey(init(payload), knownKeys, returnFiber);
258715
+ var init2 = child._init;
258716
+ warnOnInvalidKey(init2(payload), knownKeys, returnFiber);
258717
258717
  break;
258718
258718
  }
258719
258719
  }
@@ -259038,8 +259038,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
259038
259038
  return placeSingleChild(reconcileSinglePortal(returnFiber, currentFirstChild, newChild, lanes));
259039
259039
  case REACT_LAZY_TYPE:
259040
259040
  var payload = newChild._payload;
259041
- var init = newChild._init;
259042
- return reconcileChildFibers2(returnFiber, currentFirstChild, init(payload), lanes);
259041
+ var init2 = newChild._init;
259042
+ return reconcileChildFibers2(returnFiber, currentFirstChild, init2(payload), lanes);
259043
259043
  }
259044
259044
  if (isArray(newChild)) {
259045
259045
  return reconcileChildrenArray(returnFiber, currentFirstChild, newChild, lanes);
@@ -260191,11 +260191,11 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
260191
260191
  function basicStateReducer(state, action) {
260192
260192
  return typeof action === "function" ? action(state) : action;
260193
260193
  }
260194
- function mountReducer(reducer, initialArg, init) {
260194
+ function mountReducer(reducer, initialArg, init2) {
260195
260195
  var hook = mountWorkInProgressHook();
260196
260196
  var initialState;
260197
- if (init !== undefined) {
260198
- initialState = init(initialArg);
260197
+ if (init2 !== undefined) {
260198
+ initialState = init2(initialArg);
260199
260199
  } else {
260200
260200
  initialState = initialArg;
260201
260201
  }
@@ -260212,7 +260212,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
260212
260212
  var dispatch = queue.dispatch = dispatchReducerAction.bind(null, currentlyRenderingFiber$1, queue);
260213
260213
  return [hook.memoizedState, dispatch];
260214
260214
  }
260215
- function updateReducer(reducer, initialArg, init) {
260215
+ function updateReducer(reducer, initialArg, init2) {
260216
260216
  var hook = updateWorkInProgressHook();
260217
260217
  var queue = hook.queue;
260218
260218
  if (queue === null) {
@@ -260310,7 +260310,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
260310
260310
  var dispatch = queue.dispatch;
260311
260311
  return [hook.memoizedState, dispatch];
260312
260312
  }
260313
- function rerenderReducer(reducer, initialArg, init) {
260313
+ function rerenderReducer(reducer, initialArg, init2) {
260314
260314
  var hook = updateWorkInProgressHook();
260315
260315
  var queue = hook.queue;
260316
260316
  if (queue === null) {
@@ -261001,13 +261001,13 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
261001
261001
  ReactCurrentDispatcher$1.current = prevDispatcher;
261002
261002
  }
261003
261003
  },
261004
- useReducer: function(reducer, initialArg, init) {
261004
+ useReducer: function(reducer, initialArg, init2) {
261005
261005
  currentHookNameInDev = "useReducer";
261006
261006
  mountHookTypesDev();
261007
261007
  var prevDispatcher = ReactCurrentDispatcher$1.current;
261008
261008
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
261009
261009
  try {
261010
- return mountReducer(reducer, initialArg, init);
261010
+ return mountReducer(reducer, initialArg, init2);
261011
261011
  } finally {
261012
261012
  ReactCurrentDispatcher$1.current = prevDispatcher;
261013
261013
  }
@@ -261105,13 +261105,13 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
261105
261105
  ReactCurrentDispatcher$1.current = prevDispatcher;
261106
261106
  }
261107
261107
  },
261108
- useReducer: function(reducer, initialArg, init) {
261108
+ useReducer: function(reducer, initialArg, init2) {
261109
261109
  currentHookNameInDev = "useReducer";
261110
261110
  updateHookTypesDev();
261111
261111
  var prevDispatcher = ReactCurrentDispatcher$1.current;
261112
261112
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
261113
261113
  try {
261114
- return mountReducer(reducer, initialArg, init);
261114
+ return mountReducer(reducer, initialArg, init2);
261115
261115
  } finally {
261116
261116
  ReactCurrentDispatcher$1.current = prevDispatcher;
261117
261117
  }
@@ -261209,13 +261209,13 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
261209
261209
  ReactCurrentDispatcher$1.current = prevDispatcher;
261210
261210
  }
261211
261211
  },
261212
- useReducer: function(reducer, initialArg, init) {
261212
+ useReducer: function(reducer, initialArg, init2) {
261213
261213
  currentHookNameInDev = "useReducer";
261214
261214
  updateHookTypesDev();
261215
261215
  var prevDispatcher = ReactCurrentDispatcher$1.current;
261216
261216
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
261217
261217
  try {
261218
- return updateReducer(reducer, initialArg, init);
261218
+ return updateReducer(reducer, initialArg, init2);
261219
261219
  } finally {
261220
261220
  ReactCurrentDispatcher$1.current = prevDispatcher;
261221
261221
  }
@@ -261313,13 +261313,13 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
261313
261313
  ReactCurrentDispatcher$1.current = prevDispatcher;
261314
261314
  }
261315
261315
  },
261316
- useReducer: function(reducer, initialArg, init) {
261316
+ useReducer: function(reducer, initialArg, init2) {
261317
261317
  currentHookNameInDev = "useReducer";
261318
261318
  updateHookTypesDev();
261319
261319
  var prevDispatcher = ReactCurrentDispatcher$1.current;
261320
261320
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnRerenderInDEV;
261321
261321
  try {
261322
- return rerenderReducer(reducer, initialArg, init);
261322
+ return rerenderReducer(reducer, initialArg, init2);
261323
261323
  } finally {
261324
261324
  ReactCurrentDispatcher$1.current = prevDispatcher;
261325
261325
  }
@@ -261425,14 +261425,14 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
261425
261425
  ReactCurrentDispatcher$1.current = prevDispatcher;
261426
261426
  }
261427
261427
  },
261428
- useReducer: function(reducer, initialArg, init) {
261428
+ useReducer: function(reducer, initialArg, init2) {
261429
261429
  currentHookNameInDev = "useReducer";
261430
261430
  warnInvalidHookAccess();
261431
261431
  mountHookTypesDev();
261432
261432
  var prevDispatcher = ReactCurrentDispatcher$1.current;
261433
261433
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
261434
261434
  try {
261435
- return mountReducer(reducer, initialArg, init);
261435
+ return mountReducer(reducer, initialArg, init2);
261436
261436
  } finally {
261437
261437
  ReactCurrentDispatcher$1.current = prevDispatcher;
261438
261438
  }
@@ -261546,14 +261546,14 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
261546
261546
  ReactCurrentDispatcher$1.current = prevDispatcher;
261547
261547
  }
261548
261548
  },
261549
- useReducer: function(reducer, initialArg, init) {
261549
+ useReducer: function(reducer, initialArg, init2) {
261550
261550
  currentHookNameInDev = "useReducer";
261551
261551
  warnInvalidHookAccess();
261552
261552
  updateHookTypesDev();
261553
261553
  var prevDispatcher = ReactCurrentDispatcher$1.current;
261554
261554
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
261555
261555
  try {
261556
- return updateReducer(reducer, initialArg, init);
261556
+ return updateReducer(reducer, initialArg, init2);
261557
261557
  } finally {
261558
261558
  ReactCurrentDispatcher$1.current = prevDispatcher;
261559
261559
  }
@@ -261667,14 +261667,14 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
261667
261667
  ReactCurrentDispatcher$1.current = prevDispatcher;
261668
261668
  }
261669
261669
  },
261670
- useReducer: function(reducer, initialArg, init) {
261670
+ useReducer: function(reducer, initialArg, init2) {
261671
261671
  currentHookNameInDev = "useReducer";
261672
261672
  warnInvalidHookAccess();
261673
261673
  updateHookTypesDev();
261674
261674
  var prevDispatcher = ReactCurrentDispatcher$1.current;
261675
261675
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
261676
261676
  try {
261677
- return rerenderReducer(reducer, initialArg, init);
261677
+ return rerenderReducer(reducer, initialArg, init2);
261678
261678
  } finally {
261679
261679
  ReactCurrentDispatcher$1.current = prevDispatcher;
261680
261680
  }
@@ -262892,9 +262892,9 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
262892
262892
  if (outerMemoType.$$typeof === REACT_LAZY_TYPE) {
262893
262893
  var lazyComponent = outerMemoType;
262894
262894
  var payload = lazyComponent._payload;
262895
- var init = lazyComponent._init;
262895
+ var init2 = lazyComponent._init;
262896
262896
  try {
262897
- outerMemoType = init(payload);
262897
+ outerMemoType = init2(payload);
262898
262898
  } catch (x) {
262899
262899
  outerMemoType = null;
262900
262900
  }
@@ -263264,8 +263264,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
263264
263264
  var props = workInProgress2.pendingProps;
263265
263265
  var lazyComponent = elementType;
263266
263266
  var payload = lazyComponent._payload;
263267
- var init = lazyComponent._init;
263268
- var Component = init(payload);
263267
+ var init2 = lazyComponent._init;
263268
+ var Component = init2(payload);
263269
263269
  workInProgress2.type = Component;
263270
263270
  var resolvedTag = workInProgress2.tag = resolveLazyComponentTag(Component);
263271
263271
  var resolvedProps = resolveDefaultProps(Component, props);
@@ -270380,9 +270380,9 @@ var require_react_jsx_runtime_development = __commonJS((exports2) => {
270380
270380
  case REACT_LAZY_TYPE: {
270381
270381
  var lazyComponent = type;
270382
270382
  var payload = lazyComponent._payload;
270383
- var init = lazyComponent._init;
270383
+ var init2 = lazyComponent._init;
270384
270384
  try {
270385
- return getComponentNameFromType(init(payload));
270385
+ return getComponentNameFromType(init2(payload));
270386
270386
  } catch (x) {
270387
270387
  return null;
270388
270388
  }
@@ -270633,9 +270633,9 @@ var require_react_jsx_runtime_development = __commonJS((exports2) => {
270633
270633
  case REACT_LAZY_TYPE: {
270634
270634
  var lazyComponent = type;
270635
270635
  var payload = lazyComponent._payload;
270636
- var init = lazyComponent._init;
270636
+ var init2 = lazyComponent._init;
270637
270637
  try {
270638
- return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
270638
+ return describeUnknownElementTypeFrameInDEV(init2(payload), source, ownerFn);
270639
270639
  } catch (x) {}
270640
270640
  }
270641
270641
  }
@@ -271772,9 +271772,9 @@ var require_react_reconciler_development3 = __commonJS((exports2, module2) => {
271772
271772
  case REACT_LAZY_TYPE: {
271773
271773
  var lazyComponent = type;
271774
271774
  var payload = lazyComponent._payload;
271775
- var init = lazyComponent._init;
271775
+ var init2 = lazyComponent._init;
271776
271776
  try {
271777
- return getComponentNameFromType(init(payload));
271777
+ return getComponentNameFromType(init2(payload));
271778
271778
  } catch (x) {
271779
271779
  return null;
271780
271780
  }
@@ -272410,9 +272410,9 @@ var require_react_reconciler_development3 = __commonJS((exports2, module2) => {
272410
272410
  case REACT_LAZY_TYPE: {
272411
272411
  var lazyComponent = type;
272412
272412
  var payload = lazyComponent._payload;
272413
- var init = lazyComponent._init;
272413
+ var init2 = lazyComponent._init;
272414
272414
  try {
272415
- return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
272415
+ return describeUnknownElementTypeFrameInDEV(init2(payload), source, ownerFn);
272416
272416
  } catch (x) {}
272417
272417
  }
272418
272418
  }
@@ -274594,8 +274594,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
274594
274594
  }
274595
274595
  function resolveLazy(lazyType2) {
274596
274596
  var payload = lazyType2._payload;
274597
- var init = lazyType2._init;
274598
- return init(payload);
274597
+ var init2 = lazyType2._init;
274598
+ return init2(payload);
274599
274599
  }
274600
274600
  function ChildReconciler(shouldTrackSideEffects) {
274601
274601
  function deleteChild(returnFiber, childToDelete) {
@@ -274742,8 +274742,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
274742
274742
  }
274743
274743
  case REACT_LAZY_TYPE: {
274744
274744
  var payload = newChild._payload;
274745
- var init = newChild._init;
274746
- return createChild(returnFiber, init(payload), lanes);
274745
+ var init2 = newChild._init;
274746
+ return createChild(returnFiber, init2(payload), lanes);
274747
274747
  }
274748
274748
  }
274749
274749
  if (isArray(newChild) || getIteratorFn(newChild)) {
@@ -274786,8 +274786,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
274786
274786
  }
274787
274787
  case REACT_LAZY_TYPE: {
274788
274788
  var payload = newChild._payload;
274789
- var init = newChild._init;
274790
- return updateSlot(returnFiber, oldFiber, init(payload), lanes);
274789
+ var init2 = newChild._init;
274790
+ return updateSlot(returnFiber, oldFiber, init2(payload), lanes);
274791
274791
  }
274792
274792
  }
274793
274793
  if (isArray(newChild) || getIteratorFn(newChild)) {
@@ -274822,8 +274822,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
274822
274822
  }
274823
274823
  case REACT_LAZY_TYPE:
274824
274824
  var payload = newChild._payload;
274825
- var init = newChild._init;
274826
- return updateFromMap(existingChildren, returnFiber, newIdx, init(payload), lanes);
274825
+ var init2 = newChild._init;
274826
+ return updateFromMap(existingChildren, returnFiber, newIdx, init2(payload), lanes);
274827
274827
  }
274828
274828
  if (isArray(newChild) || getIteratorFn(newChild)) {
274829
274829
  var _matchedFiber3 = existingChildren.get(newIdx) || null;
@@ -274864,8 +274864,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
274864
274864
  break;
274865
274865
  case REACT_LAZY_TYPE:
274866
274866
  var payload = child._payload;
274867
- var init = child._init;
274868
- warnOnInvalidKey(init(payload), knownKeys, returnFiber);
274867
+ var init2 = child._init;
274868
+ warnOnInvalidKey(init2(payload), knownKeys, returnFiber);
274869
274869
  break;
274870
274870
  }
274871
274871
  }
@@ -275190,8 +275190,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
275190
275190
  return placeSingleChild(reconcileSinglePortal(returnFiber, currentFirstChild, newChild, lanes));
275191
275191
  case REACT_LAZY_TYPE:
275192
275192
  var payload = newChild._payload;
275193
- var init = newChild._init;
275194
- return reconcileChildFibers2(returnFiber, currentFirstChild, init(payload), lanes);
275193
+ var init2 = newChild._init;
275194
+ return reconcileChildFibers2(returnFiber, currentFirstChild, init2(payload), lanes);
275195
275195
  }
275196
275196
  if (isArray(newChild)) {
275197
275197
  return reconcileChildrenArray(returnFiber, currentFirstChild, newChild, lanes);
@@ -276343,11 +276343,11 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
276343
276343
  function basicStateReducer(state, action) {
276344
276344
  return typeof action === "function" ? action(state) : action;
276345
276345
  }
276346
- function mountReducer(reducer, initialArg, init) {
276346
+ function mountReducer(reducer, initialArg, init2) {
276347
276347
  var hook = mountWorkInProgressHook();
276348
276348
  var initialState;
276349
- if (init !== undefined) {
276350
- initialState = init(initialArg);
276349
+ if (init2 !== undefined) {
276350
+ initialState = init2(initialArg);
276351
276351
  } else {
276352
276352
  initialState = initialArg;
276353
276353
  }
@@ -276364,7 +276364,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
276364
276364
  var dispatch = queue.dispatch = dispatchReducerAction.bind(null, currentlyRenderingFiber$1, queue);
276365
276365
  return [hook.memoizedState, dispatch];
276366
276366
  }
276367
- function updateReducer(reducer, initialArg, init) {
276367
+ function updateReducer(reducer, initialArg, init2) {
276368
276368
  var hook = updateWorkInProgressHook();
276369
276369
  var queue = hook.queue;
276370
276370
  if (queue === null) {
@@ -276462,7 +276462,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
276462
276462
  var dispatch = queue.dispatch;
276463
276463
  return [hook.memoizedState, dispatch];
276464
276464
  }
276465
- function rerenderReducer(reducer, initialArg, init) {
276465
+ function rerenderReducer(reducer, initialArg, init2) {
276466
276466
  var hook = updateWorkInProgressHook();
276467
276467
  var queue = hook.queue;
276468
276468
  if (queue === null) {
@@ -277153,13 +277153,13 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
277153
277153
  ReactCurrentDispatcher$1.current = prevDispatcher;
277154
277154
  }
277155
277155
  },
277156
- useReducer: function(reducer, initialArg, init) {
277156
+ useReducer: function(reducer, initialArg, init2) {
277157
277157
  currentHookNameInDev = "useReducer";
277158
277158
  mountHookTypesDev();
277159
277159
  var prevDispatcher = ReactCurrentDispatcher$1.current;
277160
277160
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
277161
277161
  try {
277162
- return mountReducer(reducer, initialArg, init);
277162
+ return mountReducer(reducer, initialArg, init2);
277163
277163
  } finally {
277164
277164
  ReactCurrentDispatcher$1.current = prevDispatcher;
277165
277165
  }
@@ -277257,13 +277257,13 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
277257
277257
  ReactCurrentDispatcher$1.current = prevDispatcher;
277258
277258
  }
277259
277259
  },
277260
- useReducer: function(reducer, initialArg, init) {
277260
+ useReducer: function(reducer, initialArg, init2) {
277261
277261
  currentHookNameInDev = "useReducer";
277262
277262
  updateHookTypesDev();
277263
277263
  var prevDispatcher = ReactCurrentDispatcher$1.current;
277264
277264
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
277265
277265
  try {
277266
- return mountReducer(reducer, initialArg, init);
277266
+ return mountReducer(reducer, initialArg, init2);
277267
277267
  } finally {
277268
277268
  ReactCurrentDispatcher$1.current = prevDispatcher;
277269
277269
  }
@@ -277361,13 +277361,13 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
277361
277361
  ReactCurrentDispatcher$1.current = prevDispatcher;
277362
277362
  }
277363
277363
  },
277364
- useReducer: function(reducer, initialArg, init) {
277364
+ useReducer: function(reducer, initialArg, init2) {
277365
277365
  currentHookNameInDev = "useReducer";
277366
277366
  updateHookTypesDev();
277367
277367
  var prevDispatcher = ReactCurrentDispatcher$1.current;
277368
277368
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
277369
277369
  try {
277370
- return updateReducer(reducer, initialArg, init);
277370
+ return updateReducer(reducer, initialArg, init2);
277371
277371
  } finally {
277372
277372
  ReactCurrentDispatcher$1.current = prevDispatcher;
277373
277373
  }
@@ -277465,13 +277465,13 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
277465
277465
  ReactCurrentDispatcher$1.current = prevDispatcher;
277466
277466
  }
277467
277467
  },
277468
- useReducer: function(reducer, initialArg, init) {
277468
+ useReducer: function(reducer, initialArg, init2) {
277469
277469
  currentHookNameInDev = "useReducer";
277470
277470
  updateHookTypesDev();
277471
277471
  var prevDispatcher = ReactCurrentDispatcher$1.current;
277472
277472
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnRerenderInDEV;
277473
277473
  try {
277474
- return rerenderReducer(reducer, initialArg, init);
277474
+ return rerenderReducer(reducer, initialArg, init2);
277475
277475
  } finally {
277476
277476
  ReactCurrentDispatcher$1.current = prevDispatcher;
277477
277477
  }
@@ -277577,14 +277577,14 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
277577
277577
  ReactCurrentDispatcher$1.current = prevDispatcher;
277578
277578
  }
277579
277579
  },
277580
- useReducer: function(reducer, initialArg, init) {
277580
+ useReducer: function(reducer, initialArg, init2) {
277581
277581
  currentHookNameInDev = "useReducer";
277582
277582
  warnInvalidHookAccess();
277583
277583
  mountHookTypesDev();
277584
277584
  var prevDispatcher = ReactCurrentDispatcher$1.current;
277585
277585
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
277586
277586
  try {
277587
- return mountReducer(reducer, initialArg, init);
277587
+ return mountReducer(reducer, initialArg, init2);
277588
277588
  } finally {
277589
277589
  ReactCurrentDispatcher$1.current = prevDispatcher;
277590
277590
  }
@@ -277698,14 +277698,14 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
277698
277698
  ReactCurrentDispatcher$1.current = prevDispatcher;
277699
277699
  }
277700
277700
  },
277701
- useReducer: function(reducer, initialArg, init) {
277701
+ useReducer: function(reducer, initialArg, init2) {
277702
277702
  currentHookNameInDev = "useReducer";
277703
277703
  warnInvalidHookAccess();
277704
277704
  updateHookTypesDev();
277705
277705
  var prevDispatcher = ReactCurrentDispatcher$1.current;
277706
277706
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
277707
277707
  try {
277708
- return updateReducer(reducer, initialArg, init);
277708
+ return updateReducer(reducer, initialArg, init2);
277709
277709
  } finally {
277710
277710
  ReactCurrentDispatcher$1.current = prevDispatcher;
277711
277711
  }
@@ -277819,14 +277819,14 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
277819
277819
  ReactCurrentDispatcher$1.current = prevDispatcher;
277820
277820
  }
277821
277821
  },
277822
- useReducer: function(reducer, initialArg, init) {
277822
+ useReducer: function(reducer, initialArg, init2) {
277823
277823
  currentHookNameInDev = "useReducer";
277824
277824
  warnInvalidHookAccess();
277825
277825
  updateHookTypesDev();
277826
277826
  var prevDispatcher = ReactCurrentDispatcher$1.current;
277827
277827
  ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
277828
277828
  try {
277829
- return rerenderReducer(reducer, initialArg, init);
277829
+ return rerenderReducer(reducer, initialArg, init2);
277830
277830
  } finally {
277831
277831
  ReactCurrentDispatcher$1.current = prevDispatcher;
277832
277832
  }
@@ -279044,9 +279044,9 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
279044
279044
  if (outerMemoType.$$typeof === REACT_LAZY_TYPE) {
279045
279045
  var lazyComponent = outerMemoType;
279046
279046
  var payload = lazyComponent._payload;
279047
- var init = lazyComponent._init;
279047
+ var init2 = lazyComponent._init;
279048
279048
  try {
279049
- outerMemoType = init(payload);
279049
+ outerMemoType = init2(payload);
279050
279050
  } catch (x) {
279051
279051
  outerMemoType = null;
279052
279052
  }
@@ -279416,8 +279416,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
279416
279416
  var props = workInProgress2.pendingProps;
279417
279417
  var lazyComponent = elementType;
279418
279418
  var payload = lazyComponent._payload;
279419
- var init = lazyComponent._init;
279420
- var Component = init(payload);
279419
+ var init2 = lazyComponent._init;
279420
+ var Component = init2(payload);
279421
279421
  workInProgress2.type = Component;
279422
279422
  var resolvedTag = workInProgress2.tag = resolveLazyComponentTag(Component);
279423
279423
  var resolvedProps = resolveDefaultProps(Component, props);
@@ -292378,7 +292378,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
292378
292378
  };
292379
292379
  }
292380
292380
  function arrayOf(elementType) {
292381
- return chain(assertValueType("array"), assertEach(elementType));
292381
+ return chain2(assertValueType("array"), assertEach(elementType));
292382
292382
  }
292383
292383
  function arrayOfType() {
292384
292384
  return arrayOf(assertNodeType.apply(undefined, arguments));
@@ -292505,7 +292505,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
292505
292505
  }
292506
292506
  return validate3;
292507
292507
  }
292508
- function chain() {
292508
+ function chain2() {
292509
292509
  for (var _len4 = arguments.length, fns = new Array(_len4), _key4 = 0;_key4 < _len4; _key4++) {
292510
292510
  fns[_key4] = arguments[_key4];
292511
292511
  }
@@ -292980,7 +292980,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
292980
292980
  aliases: ["Expression", "PatternLike", "LVal", "TSEntityName"],
292981
292981
  fields: Object.assign({}, patternLikeCommon(), {
292982
292982
  name: {
292983
- validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain(assertValueType("string"), Object.assign(function(node2, key, val42) {
292983
+ validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain2(assertValueType("string"), Object.assign(function(node2, key, val42) {
292984
292984
  if (!isValidIdentifier$1(val42, false)) {
292985
292985
  throw new TypeError('"' + val42 + '" is not a valid identifier name');
292986
292986
  }
@@ -293068,7 +293068,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
293068
293068
  deprecatedAlias: "NumberLiteral",
293069
293069
  fields: {
293070
293070
  value: {
293071
- validate: chain(assertValueType("number"), Object.assign(function(node2, key, val42) {}, {
293071
+ validate: chain2(assertValueType("number"), Object.assign(function(node2, key, val42) {}, {
293072
293072
  type: "number"
293073
293073
  }))
293074
293074
  }
@@ -293096,7 +293096,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
293096
293096
  validate: assertValueType("string")
293097
293097
  },
293098
293098
  flags: {
293099
- validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain(assertValueType("string"), Object.assign(function(node2, key, val42) {
293099
+ validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain2(assertValueType("string"), Object.assign(function(node2, key, val42) {
293100
293100
  var invalid = /[^gimsuy]/.exec(val42);
293101
293101
  if (invalid) {
293102
293102
  throw new TypeError('"' + invalid[0] + '" is not a valid RegExp flag');
@@ -293242,7 +293242,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
293242
293242
  validate: assertNodeType("Expression", "PatternLike")
293243
293243
  },
293244
293244
  shorthand: {
293245
- validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain(assertValueType("boolean"), Object.assign(function(node2, key, shorthand) {
293245
+ validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain2(assertValueType("boolean"), Object.assign(function(node2, key, shorthand) {
293246
293246
  if (!shorthand)
293247
293247
  return;
293248
293248
  if (node2.computed) {
@@ -293355,7 +293355,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
293355
293355
  aliases: ["Statement"],
293356
293356
  fields: {
293357
293357
  block: {
293358
- validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain(assertNodeType("BlockStatement"), Object.assign(function(node2) {
293358
+ validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain2(assertNodeType("BlockStatement"), Object.assign(function(node2) {
293359
293359
  if (!node2.handler && !node2.finalizer) {
293360
293360
  throw new TypeError("TryStatement expects either a handler or finalizer, or both");
293361
293361
  }
@@ -293500,7 +293500,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
293500
293500
  aliases: ["Pattern", "PatternLike", "LVal"],
293501
293501
  fields: Object.assign({}, patternLikeCommon(), {
293502
293502
  elements: {
293503
- validate: chain(assertValueType("array"), assertEach(assertNodeOrValueType("null", "PatternLike", "LVal")))
293503
+ validate: chain2(assertValueType("array"), assertEach(assertNodeOrValueType("null", "PatternLike", "LVal")))
293504
293504
  }
293505
293505
  })
293506
293506
  });
@@ -293645,7 +293645,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
293645
293645
  fields: Object.assign({
293646
293646
  declaration: {
293647
293647
  optional: true,
293648
- validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain(assertNodeType("Declaration"), Object.assign(function(node2, key, val42) {
293648
+ validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain2(assertNodeType("Declaration"), Object.assign(function(node2, key, val42) {
293649
293649
  if (val42 && node2.specifiers.length) {
293650
293650
  throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");
293651
293651
  }
@@ -293809,7 +293809,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
293809
293809
  aliases: ["Expression"],
293810
293810
  fields: {
293811
293811
  meta: {
293812
- validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain(assertNodeType("Identifier"), Object.assign(function(node2, key, val42) {
293812
+ validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain2(assertNodeType("Identifier"), Object.assign(function(node2, key, val42) {
293813
293813
  var property2;
293814
293814
  switch (val42.name) {
293815
293815
  case "function":
@@ -293860,7 +293860,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
293860
293860
  optional: true
293861
293861
  },
293862
293862
  key: {
293863
- validate: chain(function() {
293863
+ validate: chain2(function() {
293864
293864
  var normal = assertNodeType("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral");
293865
293865
  var computed = assertNodeType("Expression");
293866
293866
  return function(node2, key, val42) {
@@ -293879,7 +293879,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
293879
293879
  default: "method"
293880
293880
  },
293881
293881
  access: {
293882
- validate: chain(assertValueType("string"), assertOneOf("public", "private", "protected")),
293882
+ validate: chain2(assertValueType("string"), assertOneOf("public", "private", "protected")),
293883
293883
  optional: true
293884
293884
  },
293885
293885
  decorators: {
@@ -293939,7 +293939,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
293939
293939
  builder: ["value", "tail"],
293940
293940
  fields: {
293941
293941
  value: {
293942
- validate: chain(assertShape({
293942
+ validate: chain2(assertShape({
293943
293943
  raw: {
293944
293944
  validate: assertValueType("string")
293945
293945
  },
@@ -293980,7 +293980,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
293980
293980
  fields: {
293981
293981
  quasis: validateArrayOfType("TemplateElement"),
293982
293982
  expressions: {
293983
- validate: chain(assertValueType("array"), assertEach(assertNodeType("Expression", "TSType")), function(node2, key, val42) {
293983
+ validate: chain2(assertValueType("array"), assertEach(assertNodeType("Expression", "TSType")), function(node2, key, val42) {
293984
293984
  if (node2.quasis.length !== val42.length + 1) {
293985
293985
  throw new TypeError("Number of " + node2.type + ` quasis should be exactly one more than the number of expressions.
293986
293986
  Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
@@ -293995,7 +293995,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
293995
293995
  aliases: ["Expression", "Terminatorless"],
293996
293996
  fields: {
293997
293997
  delegate: {
293998
- validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain(assertValueType("boolean"), Object.assign(function(node2, key, val42) {
293998
+ validate: browser$1$1.env.BABEL_TYPES_8_BREAKING ? chain2(assertValueType("boolean"), Object.assign(function(node2, key, val42) {
293999
293999
  if (val42 && !node2.argument) {
294000
294000
  throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument");
294001
294001
  }
@@ -294066,7 +294066,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
294066
294066
  default: false
294067
294067
  },
294068
294068
  optional: {
294069
- validate: !browser$1$1.env.BABEL_TYPES_8_BREAKING ? assertValueType("boolean") : chain(assertValueType("boolean"), assertOptionalChainStart())
294069
+ validate: !browser$1$1.env.BABEL_TYPES_8_BREAKING ? assertValueType("boolean") : chain2(assertValueType("boolean"), assertOptionalChainStart())
294070
294070
  }
294071
294071
  }
294072
294072
  });
@@ -294080,7 +294080,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
294080
294080
  },
294081
294081
  arguments: validateArrayOfType("Expression", "SpreadElement", "ArgumentPlaceholder"),
294082
294082
  optional: {
294083
- validate: !browser$1$1.env.BABEL_TYPES_8_BREAKING ? assertValueType("boolean") : chain(assertValueType("boolean"), assertOptionalChainStart())
294083
+ validate: !browser$1$1.env.BABEL_TYPES_8_BREAKING ? assertValueType("boolean") : chain2(assertValueType("boolean"), assertOptionalChainStart())
294084
294084
  },
294085
294085
  typeArguments: {
294086
294086
  validate: assertNodeType("TypeParameterInstantiation"),
@@ -294134,7 +294134,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
294134
294134
  aliases: ["Property", "Accessor"],
294135
294135
  fields: Object.assign({}, classMethodOrPropertyCommon(), {
294136
294136
  key: {
294137
- validate: chain(function() {
294137
+ validate: chain2(function() {
294138
294138
  var normal = assertNodeType("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "PrivateName");
294139
294139
  var computed = assertNodeType("Expression");
294140
294140
  return function(node2, key, val42) {
@@ -295339,7 +295339,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
295339
295339
  fields: {
295340
295340
  quasis: validateArrayOfType("TemplateElement"),
295341
295341
  types: {
295342
- validate: chain(assertValueType("array"), assertEach(assertNodeType("TSType")), function(node2, key, val42) {
295342
+ validate: chain2(assertValueType("array"), assertEach(assertNodeType("TSType")), function(node2, key, val42) {
295343
295343
  if (node2.quasis.length !== val42.length + 1) {
295344
295344
  throw new TypeError("Number of " + node2.type + ` quasis should be exactly one more than the number of types.
295345
295345
  Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
@@ -295834,9 +295834,9 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
295834
295834
  validate$5(defs.body, node2, "body", body, 1);
295835
295835
  return node2;
295836
295836
  }
295837
- function forStatement(init2, test, update2, body) {
295838
- if (init2 === undefined) {
295839
- init2 = null;
295837
+ function forStatement(init3, test, update2, body) {
295838
+ if (init3 === undefined) {
295839
+ init3 = null;
295840
295840
  }
295841
295841
  if (test === undefined) {
295842
295842
  test = null;
@@ -295846,13 +295846,13 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
295846
295846
  }
295847
295847
  var node2 = {
295848
295848
  type: "ForStatement",
295849
- init: init2,
295849
+ init: init3,
295850
295850
  test,
295851
295851
  update: update2,
295852
295852
  body
295853
295853
  };
295854
295854
  var defs = NODE_FIELDS.ForStatement;
295855
- validate$5(defs.init, node2, "init", init2, 1);
295855
+ validate$5(defs.init, node2, "init", init3, 1);
295856
295856
  validate$5(defs.test, node2, "test", test, 1);
295857
295857
  validate$5(defs.update, node2, "update", update2, 1);
295858
295858
  validate$5(defs.body, node2, "body", body, 1);
@@ -296269,18 +296269,18 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
296269
296269
  validate$5(defs.declarations, node2, "declarations", declarations, 1);
296270
296270
  return node2;
296271
296271
  }
296272
- function variableDeclarator$6(id, init2) {
296273
- if (init2 === undefined) {
296274
- init2 = null;
296272
+ function variableDeclarator$6(id, init3) {
296273
+ if (init3 === undefined) {
296274
+ init3 = null;
296275
296275
  }
296276
296276
  var node2 = {
296277
296277
  type: "VariableDeclarator",
296278
296278
  id,
296279
- init: init2
296279
+ init: init3
296280
296280
  };
296281
296281
  var defs = NODE_FIELDS.VariableDeclarator;
296282
296282
  validate$5(defs.id, node2, "id", id, 1);
296283
- validate$5(defs.init, node2, "init", init2, 1);
296283
+ validate$5(defs.init, node2, "init", init3, 1);
296284
296284
  return node2;
296285
296285
  }
296286
296286
  function whileStatement(test, body) {
@@ -297556,26 +297556,26 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
297556
297556
  validate$5(defs.id, node2, "id", id, 1);
297557
297557
  return node2;
297558
297558
  }
297559
- function enumNumberMember(id, init2) {
297559
+ function enumNumberMember(id, init3) {
297560
297560
  var node2 = {
297561
297561
  type: "EnumNumberMember",
297562
297562
  id,
297563
- init: init2
297563
+ init: init3
297564
297564
  };
297565
297565
  var defs = NODE_FIELDS.EnumNumberMember;
297566
297566
  validate$5(defs.id, node2, "id", id, 1);
297567
- validate$5(defs.init, node2, "init", init2, 1);
297567
+ validate$5(defs.init, node2, "init", init3, 1);
297568
297568
  return node2;
297569
297569
  }
297570
- function enumStringMember(id, init2) {
297570
+ function enumStringMember(id, init3) {
297571
297571
  var node2 = {
297572
297572
  type: "EnumStringMember",
297573
297573
  id,
297574
- init: init2
297574
+ init: init3
297575
297575
  };
297576
297576
  var defs = NODE_FIELDS.EnumStringMember;
297577
297577
  validate$5(defs.id, node2, "id", id, 1);
297578
- validate$5(defs.init, node2, "init", init2, 1);
297578
+ validate$5(defs.init, node2, "init", init3, 1);
297579
297579
  return node2;
297580
297580
  }
297581
297581
  function enumDefaultedMember(id) {
@@ -303077,9 +303077,9 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
303077
303077
  node2.type = node2.type.substring(8);
303078
303078
  }
303079
303079
  if (state.stop) {
303080
- var chain2 = this.startNodeAtNode(node2);
303081
- chain2.expression = node2;
303082
- return this.finishNode(chain2, "ChainExpression");
303080
+ var chain3 = this.startNodeAtNode(node2);
303081
+ chain3.expression = node2;
303082
+ return this.finishNode(chain3, "ChainExpression");
303083
303083
  }
303084
303084
  } else if (node2.type === "MemberExpression" || node2.type === "CallExpression") {
303085
303085
  node2.optional = false;
@@ -308259,13 +308259,13 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
308259
308259
  _proto.flowEnumMemberRaw = function flowEnumMemberRaw() {
308260
308260
  var loc = this.state.startLoc;
308261
308261
  var id = this.parseIdentifier(true);
308262
- var init2 = this.eat(29) ? this.flowEnumMemberInit() : {
308262
+ var init3 = this.eat(29) ? this.flowEnumMemberInit() : {
308263
308263
  type: "none",
308264
308264
  loc
308265
308265
  };
308266
308266
  return {
308267
308267
  id,
308268
- init: init2
308268
+ init: init3
308269
308269
  };
308270
308270
  };
308271
308271
  _proto.flowEnumCheckExplicitTypeMismatch = function flowEnumCheckExplicitTypeMismatch(loc, context, expectedType) {
@@ -308293,7 +308293,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
308293
308293
  break;
308294
308294
  }
308295
308295
  var memberNode = this.startNode();
308296
- var _this$flowEnumMemberR = this.flowEnumMemberRaw(), id = _this$flowEnumMemberR.id, init2 = _this$flowEnumMemberR.init;
308296
+ var _this$flowEnumMemberR = this.flowEnumMemberRaw(), id = _this$flowEnumMemberR.id, init3 = _this$flowEnumMemberR.init;
308297
308297
  var memberName = id.name;
308298
308298
  if (memberName === "") {
308299
308299
  continue;
@@ -308318,35 +308318,35 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
308318
308318
  memberName
308319
308319
  };
308320
308320
  memberNode.id = id;
308321
- switch (init2.type) {
308321
+ switch (init3.type) {
308322
308322
  case "boolean": {
308323
- this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "boolean");
308324
- memberNode.init = init2.value;
308323
+ this.flowEnumCheckExplicitTypeMismatch(init3.loc, context, "boolean");
308324
+ memberNode.init = init3.value;
308325
308325
  members.booleanMembers.push(this.finishNode(memberNode, "EnumBooleanMember"));
308326
308326
  break;
308327
308327
  }
308328
308328
  case "number": {
308329
- this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "number");
308330
- memberNode.init = init2.value;
308329
+ this.flowEnumCheckExplicitTypeMismatch(init3.loc, context, "number");
308330
+ memberNode.init = init3.value;
308331
308331
  members.numberMembers.push(this.finishNode(memberNode, "EnumNumberMember"));
308332
308332
  break;
308333
308333
  }
308334
308334
  case "string": {
308335
- this.flowEnumCheckExplicitTypeMismatch(init2.loc, context, "string");
308336
- memberNode.init = init2.value;
308335
+ this.flowEnumCheckExplicitTypeMismatch(init3.loc, context, "string");
308336
+ memberNode.init = init3.value;
308337
308337
  members.stringMembers.push(this.finishNode(memberNode, "EnumStringMember"));
308338
308338
  break;
308339
308339
  }
308340
308340
  case "invalid": {
308341
- throw this.flowEnumErrorInvalidMemberInitializer(init2.loc, context);
308341
+ throw this.flowEnumErrorInvalidMemberInitializer(init3.loc, context);
308342
308342
  }
308343
308343
  case "none": {
308344
308344
  switch (explicitType) {
308345
308345
  case "boolean":
308346
- this.flowEnumErrorBooleanMemberNotInitialized(init2.loc, context);
308346
+ this.flowEnumErrorBooleanMemberNotInitialized(init3.loc, context);
308347
308347
  break;
308348
308348
  case "number":
308349
- this.flowEnumErrorNumberMemberNotInitialized(init2.loc, context);
308349
+ this.flowEnumErrorNumberMemberNotInitialized(init3.loc, context);
308350
308350
  break;
308351
308351
  default:
308352
308352
  members.defaultedMembers.push(this.finishNode(memberNode, "EnumDefaultedMember"));
@@ -311669,13 +311669,13 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
311669
311669
  if (!isAmbientContext)
311670
311670
  return declaration;
311671
311671
  for (var _i6 = 0, _declaration$declarat2 = declaration.declarations;_i6 < _declaration$declarat2.length; _i6++) {
311672
- var _declaration$declarat3 = _declaration$declarat2[_i6], id = _declaration$declarat3.id, init2 = _declaration$declarat3.init;
311673
- if (!init2)
311672
+ var _declaration$declarat3 = _declaration$declarat2[_i6], id = _declaration$declarat3.id, init3 = _declaration$declarat3.init;
311673
+ if (!init3)
311674
311674
  continue;
311675
311675
  if (kind !== "const" || !!id.typeAnnotation) {
311676
- this.raise(TSErrors.InitializerNotAllowedInAmbientContext, init2);
311677
- } else if (!isValidAmbientConstInitializer(init2, this.hasPlugin("estree"))) {
311678
- this.raise(TSErrors.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference, init2);
311676
+ this.raise(TSErrors.InitializerNotAllowedInAmbientContext, init3);
311677
+ } else if (!isValidAmbientConstInitializer(init3, this.hasPlugin("estree"))) {
311678
+ this.raise(TSErrors.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference, init3);
311679
311679
  }
311680
311680
  }
311681
311681
  return declaration;
@@ -315154,31 +315154,31 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
315154
315154
  }
315155
315155
  var startsWithAsync = this.isContextual(95);
315156
315156
  var refExpressionErrors = new ExpressionErrors;
315157
- var init2 = this.parseExpression(true, refExpressionErrors);
315157
+ var init3 = this.parseExpression(true, refExpressionErrors);
315158
315158
  var isForOf = this.isContextual(102);
315159
315159
  if (isForOf) {
315160
315160
  if (startsWithLet) {
315161
- this.raise(Errors.ForOfLet, init2);
315161
+ this.raise(Errors.ForOfLet, init3);
315162
315162
  }
315163
- if (awaitAt === null && startsWithAsync && init2.type === "Identifier") {
315164
- this.raise(Errors.ForOfAsync, init2);
315163
+ if (awaitAt === null && startsWithAsync && init3.type === "Identifier") {
315164
+ this.raise(Errors.ForOfAsync, init3);
315165
315165
  }
315166
315166
  }
315167
315167
  if (isForOf || this.match(58)) {
315168
315168
  this.checkDestructuringPrivate(refExpressionErrors);
315169
- this.toAssignable(init2, true);
315169
+ this.toAssignable(init3, true);
315170
315170
  var type2 = isForOf ? "ForOfStatement" : "ForInStatement";
315171
- this.checkLVal(init2, {
315171
+ this.checkLVal(init3, {
315172
315172
  type: type2
315173
315173
  });
315174
- return this.parseForIn(node2, init2, awaitAt);
315174
+ return this.parseForIn(node2, init3, awaitAt);
315175
315175
  } else {
315176
315176
  this.checkExpressionErrors(refExpressionErrors, true);
315177
315177
  }
315178
315178
  if (awaitAt !== null) {
315179
315179
  this.unexpected(awaitAt);
315180
315180
  }
315181
- return this.parseFor(node2, init2);
315181
+ return this.parseFor(node2, init3);
315182
315182
  };
315183
315183
  _proto.parseFunctionStatement = function parseFunctionStatement(node2, isAsync3, isHangingDeclaration) {
315184
315184
  this.next();
@@ -315416,9 +315416,9 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
315416
315416
  }
315417
315417
  this.next();
315418
315418
  };
315419
- _proto.parseFor = function parseFor(node2, init2) {
315419
+ _proto.parseFor = function parseFor(node2, init3) {
315420
315420
  var _this5 = this;
315421
- node2.init = init2;
315421
+ node2.init = init3;
315422
315422
  this.semicolon(false);
315423
315423
  node2.test = this.match(13) ? null : this.parseExpression();
315424
315424
  this.semicolon(false);
@@ -315431,7 +315431,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
315431
315431
  this.state.labels.pop();
315432
315432
  return this.finishNode(node2, "ForStatement");
315433
315433
  };
315434
- _proto.parseForIn = function parseForIn(node2, init2, awaitAt) {
315434
+ _proto.parseForIn = function parseForIn(node2, init3, awaitAt) {
315435
315435
  var _this6 = this;
315436
315436
  var isForIn = this.match(58);
315437
315437
  this.next();
@@ -315441,19 +315441,19 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
315441
315441
  } else {
315442
315442
  node2["await"] = awaitAt !== null;
315443
315443
  }
315444
- if (init2.type === "VariableDeclaration" && init2.declarations[0].init != null && (!isForIn || !this.options.annexB || this.state.strict || init2.kind !== "var" || init2.declarations[0].id.type !== "Identifier")) {
315445
- this.raise(Errors.ForInOfLoopInitializer, init2, {
315444
+ if (init3.type === "VariableDeclaration" && init3.declarations[0].init != null && (!isForIn || !this.options.annexB || this.state.strict || init3.kind !== "var" || init3.declarations[0].id.type !== "Identifier")) {
315445
+ this.raise(Errors.ForInOfLoopInitializer, init3, {
315446
315446
  type: isForIn ? "ForInStatement" : "ForOfStatement"
315447
315447
  });
315448
315448
  }
315449
- if (init2.type === "AssignmentPattern") {
315450
- this.raise(Errors.InvalidLhs, init2, {
315449
+ if (init3.type === "AssignmentPattern") {
315450
+ this.raise(Errors.InvalidLhs, init3, {
315451
315451
  ancestor: {
315452
315452
  type: "ForStatement"
315453
315453
  }
315454
315454
  });
315455
315455
  }
315456
- node2.left = init2;
315456
+ node2.left = init3;
315457
315457
  node2.right = isForIn ? this.parseExpression() : this.parseMaybeAssignAllowIn();
315458
315458
  this.expect(11);
315459
315459
  node2.body = this.withSmartMixTopicForbiddingContext(function() {
@@ -322024,8 +322024,8 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
322024
322024
  if (path15.isSwitchStatement()) {
322025
322025
  path15 = (this.getFunctionParent() || this.getProgramParent()).path;
322026
322026
  }
322027
- var { init: init2, unique, kind: _opts$kind } = opts, kind = _opts$kind === undefined ? "var" : _opts$kind, id = opts.id;
322028
- if (!init2 && !unique && (kind === "var" || kind === "let") && path15.isFunction() && !path15.node.name && isCallExpression$6(path15.parent, {
322027
+ var { init: init3, unique, kind: _opts$kind } = opts, kind = _opts$kind === undefined ? "var" : _opts$kind, id = opts.id;
322028
+ if (!init3 && !unique && (kind === "var" || kind === "let") && path15.isFunction() && !path15.node.name && isCallExpression$6(path15.parent, {
322029
322029
  callee: path15.node
322030
322030
  }) && path15.parent.arguments.length <= path15.node.params.length && isIdentifier$b(id)) {
322031
322031
  path15.pushContainer("params", id);
@@ -322048,7 +322048,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
322048
322048
  if (!unique)
322049
322049
  path15.setData(dataKey, declarPath);
322050
322050
  }
322051
- var declarator = variableDeclarator$5(id, init2);
322051
+ var declarator = variableDeclarator$5(id, init3);
322052
322052
  var len = declarPath.node.declarations.push(declarator);
322053
322053
  path15.scope.registerBinding(kind, declarPath.get("declarations")[len - 1]);
322054
322054
  };
@@ -322211,13 +322211,13 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
322211
322211
  continue;
322212
322212
  seen.add(_path3.parent);
322213
322213
  var firstId = undefined;
322214
- var init2 = [];
322214
+ var init3 = [];
322215
322215
  for (var _iterator18 = _createForOfIteratorHelperLoose(parent.declarations), _step18;!(_step18 = _iterator18()).done; ) {
322216
322216
  var _firstId;
322217
322217
  var decl = _step18.value;
322218
322218
  (_firstId = firstId) != null || (firstId = decl.id);
322219
322219
  if (decl.init) {
322220
- init2.push(assignmentExpression$7("=", decl.id, decl.init));
322220
+ init3.push(assignmentExpression$7("=", decl.id, decl.init));
322221
322221
  }
322222
322222
  var ids = Object.keys(getBindingIdentifiers$3(decl, false, true, true));
322223
322223
  for (var _i8 = 0, _ids = ids;_i8 < _ids.length; _i8++) {
@@ -322229,10 +322229,10 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
322229
322229
  left: parent
322230
322230
  })) {
322231
322231
  parentPath.replaceWith(firstId);
322232
- } else if (init2.length === 0) {
322232
+ } else if (init3.length === 0) {
322233
322233
  parentPath.remove();
322234
322234
  } else {
322235
- var expr = init2.length === 1 ? init2[0] : sequenceExpression$5(init2);
322235
+ var expr = init3.length === 1 ? init3[0] : sequenceExpression$5(init3);
322236
322236
  if (parentPath.parentPath.isForStatement({
322237
322237
  init: parent
322238
322238
  })) {
@@ -322414,7 +322414,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
322414
322414
  var revLookup = [];
322415
322415
  var Arr = typeof Uint8Array !== "undefined" ? Uint8Array : Array;
322416
322416
  var inited = false;
322417
- function init() {
322417
+ function init2() {
322418
322418
  inited = true;
322419
322419
  var code2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
322420
322420
  for (var i = 0, len = code2.length;i < len; ++i) {
@@ -322426,7 +322426,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
322426
322426
  }
322427
322427
  function toByteArray(b64) {
322428
322428
  if (!inited) {
322429
- init();
322429
+ init2();
322430
322430
  }
322431
322431
  var i, j, l, tmp, placeHolders, arr;
322432
322432
  var len = b64.length;
@@ -322467,7 +322467,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
322467
322467
  }
322468
322468
  function fromByteArray(uint8) {
322469
322469
  if (!inited) {
322470
- init();
322470
+ init2();
322471
322471
  }
322472
322472
  var tmp;
322473
322473
  var len = uint8.length;
@@ -332317,7 +332317,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
332317
332317
  return arrowFunctionExpression$1(argsList, fnBody);
332318
332318
  });
332319
332319
  }
332320
- function getBinding(thisEnvFn, key, init2) {
332320
+ function getBinding(thisEnvFn, key, init3) {
332321
332321
  var cacheKey = "binding:" + key;
332322
332322
  var data2 = thisEnvFn.getData(cacheKey);
332323
332323
  if (!data2) {
@@ -332326,7 +332326,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
332326
332326
  thisEnvFn.setData(cacheKey, data2);
332327
332327
  thisEnvFn.scope.push({
332328
332328
  id,
332329
- init: init2(data2)
332329
+ init: init3(data2)
332330
332330
  });
332331
332331
  }
332332
332332
  return data2;
@@ -336697,16 +336697,16 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
336697
336697
  for (var _iterator5 = _createForOfIteratorHelperLoose(path15.get("declarations")), _step5;!(_step5 = _iterator5()).done; ) {
336698
336698
  var decl = _step5.value;
336699
336699
  var id = decl.node.id;
336700
- var init2 = decl.node.init;
336701
- if (isIdentifier$e(id) && exported.has(id.name) && !isArrowFunctionExpression(init2) && (!isFunctionExpression(init2) || init2.id) && (!isClassExpression(init2) || init2.id)) {
336702
- if (!init2) {
336700
+ var init3 = decl.node.init;
336701
+ if (isIdentifier$e(id) && exported.has(id.name) && !isArrowFunctionExpression(init3) && (!isFunctionExpression(init3) || init3.id) && (!isClassExpression(init3) || init3.id)) {
336702
+ if (!init3) {
336703
336703
  if (isVar2) {
336704
336704
  continue;
336705
336705
  } else {
336706
- init2 = path15.scope.buildUndefinedNode();
336706
+ init3 = path15.scope.buildUndefinedNode();
336707
336707
  }
336708
336708
  }
336709
- decl.node.init = buildBindingExportAssignmentExpression(metadata, exported.get(id.name), init2, path15.scope);
336709
+ decl.node.init = buildBindingExportAssignmentExpression(metadata, exported.get(id.name), init3, path15.scope);
336710
336710
  requeueInParent(decl.get("init"));
336711
336711
  } else {
336712
336712
  for (var _i2 = 0, _Object$keys = Object.keys(decl.getOuterBindingIdentifiers());_i2 < _Object$keys.length; _i2++) {
@@ -337015,7 +337015,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
337015
337015
  }
337016
337016
  var sep$1 = "/";
337017
337017
  var delimiter = ":";
337018
- function dirname6(path15) {
337018
+ function dirname7(path15) {
337019
337019
  var result = splitPath(path15), root = result[0], dir = result[1];
337020
337020
  if (!root && !dir) {
337021
337021
  return ".";
@@ -337038,7 +337038,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
337038
337038
  var path$1 = {
337039
337039
  extname: extname3,
337040
337040
  basename: basename4,
337041
- dirname: dirname6,
337041
+ dirname: dirname7,
337042
337042
  sep: sep$1,
337043
337043
  delimiter,
337044
337044
  relative: relative3,
@@ -337069,7 +337069,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
337069
337069
  basename: basename4,
337070
337070
  default: path$1,
337071
337071
  delimiter,
337072
- dirname: dirname6,
337072
+ dirname: dirname7,
337073
337073
  extname: extname3,
337074
337074
  isAbsolute: isAbsolute2,
337075
337075
  join: join8,
@@ -338193,7 +338193,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
338193
338193
  }
338194
338194
  }, _marked2$7);
338195
338195
  }
338196
- function findRootConfig(dirname7, envName, caller) {
338196
+ function findRootConfig(dirname8, envName, caller) {
338197
338197
  return _regeneratorRuntime().wrap(function findRootConfig$(_context3) {
338198
338198
  while (true)
338199
338199
  switch (_context3.prev = _context3.next) {
@@ -338205,19 +338205,19 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
338205
338205
  }
338206
338206
  }, _marked3$4);
338207
338207
  }
338208
- function loadConfig$1(name2, dirname7, envName, caller) {
338208
+ function loadConfig$1(name2, dirname8, envName, caller) {
338209
338209
  return _regeneratorRuntime().wrap(function loadConfig$(_context4) {
338210
338210
  while (true)
338211
338211
  switch (_context4.prev = _context4.next) {
338212
338212
  case 0:
338213
- throw new Error("Cannot load " + name2 + " relative to " + dirname7 + " in a browser");
338213
+ throw new Error("Cannot load " + name2 + " relative to " + dirname8 + " in a browser");
338214
338214
  case 1:
338215
338215
  case "end":
338216
338216
  return _context4.stop();
338217
338217
  }
338218
338218
  }, _marked4$2);
338219
338219
  }
338220
- function resolveShowConfigPath(dirname7) {
338220
+ function resolveShowConfigPath(dirname8) {
338221
338221
  return _regeneratorRuntime().wrap(function resolveShowConfigPath$(_context5) {
338222
338222
  while (true)
338223
338223
  switch (_context5.prev = _context5.next) {
@@ -338230,17 +338230,17 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
338230
338230
  }, _marked5);
338231
338231
  }
338232
338232
  var ROOT_CONFIG_FILENAMES = [];
338233
- function resolvePlugin$1(name2, dirname7) {
338233
+ function resolvePlugin$1(name2, dirname8) {
338234
338234
  return null;
338235
338235
  }
338236
- function resolvePreset$1(name2, dirname7) {
338236
+ function resolvePreset$1(name2, dirname8) {
338237
338237
  return null;
338238
338238
  }
338239
- function loadPlugin(name2, dirname7) {
338240
- throw new Error("Cannot load plugin " + name2 + " relative to " + dirname7 + " in a browser");
338239
+ function loadPlugin(name2, dirname8) {
338240
+ throw new Error("Cannot load plugin " + name2 + " relative to " + dirname8 + " in a browser");
338241
338241
  }
338242
- function loadPreset(name2, dirname7) {
338243
- throw new Error("Cannot load preset " + name2 + " relative to " + dirname7 + " in a browser");
338242
+ function loadPreset(name2, dirname8) {
338243
+ throw new Error("Cannot load preset " + name2 + " relative to " + dirname8 + " in a browser");
338244
338244
  }
338245
338245
  function getEnv(defaultValue) {
338246
338246
  if (defaultValue === undefined) {
@@ -346829,42 +346829,42 @@ getting parsed as 6.1, which can lead to unexpected behavior.
346829
346829
  }
346830
346830
  }, _marked$7);
346831
346831
  }
346832
- function optionsWithResolvedBrowserslistConfigFile(options, dirname7) {
346832
+ function optionsWithResolvedBrowserslistConfigFile(options, dirname8) {
346833
346833
  if (typeof options.browserslistConfigFile === "string") {
346834
346834
  options.browserslistConfigFile = resolveBrowserslistConfigFile(options.browserslistConfigFile);
346835
346835
  }
346836
346836
  return options;
346837
346837
  }
346838
- function createCachedDescriptors(dirname7, options, alias2) {
346838
+ function createCachedDescriptors(dirname8, options, alias2) {
346839
346839
  var { plugins: plugins2, presets, passPerPreset } = options;
346840
346840
  return {
346841
346841
  options: optionsWithResolvedBrowserslistConfigFile(options),
346842
346842
  plugins: plugins2 ? function() {
346843
- return createCachedPluginDescriptors(plugins2, dirname7)(alias2);
346843
+ return createCachedPluginDescriptors(plugins2, dirname8)(alias2);
346844
346844
  } : function() {
346845
346845
  return handlerOf([]);
346846
346846
  },
346847
346847
  presets: presets ? function() {
346848
- return createCachedPresetDescriptors(presets, dirname7)(alias2)(!!passPerPreset);
346848
+ return createCachedPresetDescriptors(presets, dirname8)(alias2)(!!passPerPreset);
346849
346849
  } : function() {
346850
346850
  return handlerOf([]);
346851
346851
  }
346852
346852
  };
346853
346853
  }
346854
- function createUncachedDescriptors(dirname7, options, alias2) {
346854
+ function createUncachedDescriptors(dirname8, options, alias2) {
346855
346855
  return {
346856
346856
  options: optionsWithResolvedBrowserslistConfigFile(options),
346857
346857
  plugins: once2(function() {
346858
- return createPluginDescriptors(options.plugins || [], dirname7, alias2);
346858
+ return createPluginDescriptors(options.plugins || [], dirname8, alias2);
346859
346859
  }),
346860
346860
  presets: once2(function() {
346861
- return createPresetDescriptors(options.presets || [], dirname7, alias2, !!options.passPerPreset);
346861
+ return createPresetDescriptors(options.presets || [], dirname8, alias2, !!options.passPerPreset);
346862
346862
  })
346863
346863
  };
346864
346864
  }
346865
346865
  var PRESET_DESCRIPTOR_CACHE = new WeakMap;
346866
346866
  var createCachedPresetDescriptors = makeWeakCacheSync(function(items, cache2) {
346867
- var dirname7 = cache2.using(function(dir) {
346867
+ var dirname8 = cache2.using(function(dir) {
346868
346868
  return dir;
346869
346869
  });
346870
346870
  return makeStrongCacheSync(function(alias2) {
@@ -346874,7 +346874,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
346874
346874
  while (true)
346875
346875
  switch (_context2.prev = _context2.next) {
346876
346876
  case 0:
346877
- return _context2.delegateYield(createPresetDescriptors(items, dirname7, alias2, passPerPreset), "t0", 1);
346877
+ return _context2.delegateYield(createPresetDescriptors(items, dirname8, alias2, passPerPreset), "t0", 1);
346878
346878
  case 1:
346879
346879
  descriptors = _context2.t0;
346880
346880
  return _context2.abrupt("return", descriptors.map(function(desc) {
@@ -346890,7 +346890,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
346890
346890
  });
346891
346891
  var PLUGIN_DESCRIPTOR_CACHE = new WeakMap;
346892
346892
  var createCachedPluginDescriptors = makeWeakCacheSync(function(items, cache2) {
346893
- var dirname7 = cache2.using(function(dir) {
346893
+ var dirname8 = cache2.using(function(dir) {
346894
346894
  return dir;
346895
346895
  });
346896
346896
  return makeStrongCache(_regeneratorRuntime().mark(function _callee2(alias2) {
@@ -346899,7 +346899,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
346899
346899
  while (true)
346900
346900
  switch (_context3.prev = _context3.next) {
346901
346901
  case 0:
346902
- return _context3.delegateYield(createPluginDescriptors(items, dirname7, alias2), "t0", 1);
346902
+ return _context3.delegateYield(createPluginDescriptors(items, dirname8, alias2), "t0", 1);
346903
346903
  case 1:
346904
346904
  descriptors = _context3.t0;
346905
346905
  return _context3.abrupt("return", descriptors.map(function(desc) {
@@ -346938,12 +346938,12 @@ getting parsed as 6.1, which can lead to unexpected behavior.
346938
346938
  }
346939
346939
  return desc;
346940
346940
  }
346941
- function createPresetDescriptors(items, dirname7, alias2, passPerPreset) {
346941
+ function createPresetDescriptors(items, dirname8, alias2, passPerPreset) {
346942
346942
  return _regeneratorRuntime().wrap(function createPresetDescriptors$(_context4) {
346943
346943
  while (true)
346944
346944
  switch (_context4.prev = _context4.next) {
346945
346945
  case 0:
346946
- return _context4.delegateYield(createDescriptors("preset", items, dirname7, alias2, passPerPreset), "t0", 1);
346946
+ return _context4.delegateYield(createDescriptors("preset", items, dirname8, alias2, passPerPreset), "t0", 1);
346947
346947
  case 1:
346948
346948
  return _context4.abrupt("return", _context4.t0);
346949
346949
  case 2:
@@ -346952,12 +346952,12 @@ getting parsed as 6.1, which can lead to unexpected behavior.
346952
346952
  }
346953
346953
  }, _marked2$5);
346954
346954
  }
346955
- function createPluginDescriptors(items, dirname7, alias2) {
346955
+ function createPluginDescriptors(items, dirname8, alias2) {
346956
346956
  return _regeneratorRuntime().wrap(function createPluginDescriptors$(_context5) {
346957
346957
  while (true)
346958
346958
  switch (_context5.prev = _context5.next) {
346959
346959
  case 0:
346960
- return _context5.delegateYield(createDescriptors("plugin", items, dirname7, alias2), "t0", 1);
346960
+ return _context5.delegateYield(createDescriptors("plugin", items, dirname8, alias2), "t0", 1);
346961
346961
  case 1:
346962
346962
  return _context5.abrupt("return", _context5.t0);
346963
346963
  case 2:
@@ -346966,14 +346966,14 @@ getting parsed as 6.1, which can lead to unexpected behavior.
346966
346966
  }
346967
346967
  }, _marked3$2);
346968
346968
  }
346969
- function createDescriptors(type2, items, dirname7, alias2, ownPass) {
346969
+ function createDescriptors(type2, items, dirname8, alias2, ownPass) {
346970
346970
  var descriptors;
346971
346971
  return _regeneratorRuntime().wrap(function createDescriptors$(_context6) {
346972
346972
  while (true)
346973
346973
  switch (_context6.prev = _context6.next) {
346974
346974
  case 0:
346975
346975
  return _context6.delegateYield(gensync.all(items.map(function(item, index2) {
346976
- return createDescriptor(item, dirname7, {
346976
+ return createDescriptor(item, dirname8, {
346977
346977
  type: type2,
346978
346978
  alias: alias2 + "$" + index2,
346979
346979
  ownPass: !!ownPass
@@ -346989,7 +346989,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
346989
346989
  }
346990
346990
  }, _marked4$1);
346991
346991
  }
346992
- function createDescriptor(pair, dirname7, _ref4) {
346992
+ function createDescriptor(pair, dirname8, _ref4) {
346993
346993
  var { type: type2, alias: alias2, ownPass } = _ref4;
346994
346994
  return _regeneratorRuntime().mark(function _callee3() {
346995
346995
  var desc, name2, options, value2, _value, _value2, _value3, _value4, file2, filepath, resolver, request, _yield$resolver;
@@ -347033,7 +347033,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
347033
347033
  case 10:
347034
347034
  resolver = type2 === "plugin" ? loadPlugin : loadPreset;
347035
347035
  request = value2;
347036
- return _context7.delegateYield(resolver(value2, dirname7), "t0", 13);
347036
+ return _context7.delegateYield(resolver(value2, dirname8), "t0", 13);
347037
347037
  case 13:
347038
347038
  _yield$resolver = _context7.t0;
347039
347039
  filepath = _yield$resolver.filepath;
@@ -347080,7 +347080,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
347080
347080
  alias: filepath || alias2,
347081
347081
  value: value2,
347082
347082
  options,
347083
- dirname: dirname7,
347083
+ dirname: dirname8,
347084
347084
  ownPass,
347085
347085
  file: file2
347086
347086
  });
@@ -347120,14 +347120,14 @@ getting parsed as 6.1, which can lead to unexpected behavior.
347120
347120
  return new ConfigItem(desc);
347121
347121
  }
347122
347122
  function createConfigItem$1(value2, _temp) {
347123
- var _ref4 = _temp === undefined ? {} : _temp, _ref$dirname = _ref4.dirname, dirname7 = _ref$dirname === undefined ? "." : _ref$dirname, type2 = _ref4.type;
347123
+ var _ref4 = _temp === undefined ? {} : _temp, _ref$dirname = _ref4.dirname, dirname8 = _ref$dirname === undefined ? "." : _ref$dirname, type2 = _ref4.type;
347124
347124
  return _regeneratorRuntime().mark(function _callee() {
347125
347125
  var descriptor;
347126
347126
  return _regeneratorRuntime().wrap(function _callee$(_context) {
347127
347127
  while (true)
347128
347128
  switch (_context.prev = _context.next) {
347129
347129
  case 0:
347130
- return _context.delegateYield(createDescriptor(value2, path$1.resolve(dirname7), {
347130
+ return _context.delegateYield(createDescriptor(value2, path$1.resolve(dirname8), {
347131
347131
  type: type2,
347132
347132
  alias: "programmatic item"
347133
347133
  }), "t0", 1);
@@ -347808,8 +347808,8 @@ getting parsed as 6.1, which can lead to unexpected behavior.
347808
347808
  function escapeRegExp(string2) {
347809
347809
  return string2.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&");
347810
347810
  }
347811
- function pathToPattern(pattern2, dirname7) {
347812
- var parts = path$1.resolve(dirname7, pattern2).split(path$1.sep);
347811
+ function pathToPattern(pattern2, dirname8) {
347812
+ var parts = path$1.resolve(dirname8, pattern2).split(path$1.sep);
347813
347813
  return new RegExp(["^"].concat(_toConsumableArray(parts.map(function(part, i) {
347814
347814
  var last2 = i === parts.length - 1;
347815
347815
  if (part === "**")
@@ -347980,24 +347980,24 @@ getting parsed as 6.1, which can lead to unexpected behavior.
347980
347980
  var _marked$6 = _regeneratorRuntime().mark(buildPresetChain), _marked2$4 = _regeneratorRuntime().mark(buildRootChain), _marked3$1 = _regeneratorRuntime().mark(loadFileChain), _marked4 = _regeneratorRuntime().mark(mergeExtendsChain);
347981
347981
  var debug$1 = browserExports("babel:config:config-chain");
347982
347982
  function buildPresetChain(arg, context) {
347983
- var chain2;
347983
+ var chain3;
347984
347984
  return _regeneratorRuntime().wrap(function buildPresetChain$(_context) {
347985
347985
  while (true)
347986
347986
  switch (_context.prev = _context.next) {
347987
347987
  case 0:
347988
347988
  return _context.delegateYield(buildPresetChainWalker(arg, context), "t0", 1);
347989
347989
  case 1:
347990
- chain2 = _context.t0;
347991
- if (chain2) {
347990
+ chain3 = _context.t0;
347991
+ if (chain3) {
347992
347992
  _context.next = 4;
347993
347993
  break;
347994
347994
  }
347995
347995
  return _context.abrupt("return", null);
347996
347996
  case 4:
347997
347997
  return _context.abrupt("return", {
347998
- plugins: dedupDescriptors(chain2.plugins),
347999
- presets: dedupDescriptors(chain2.presets),
348000
- options: chain2.options.map(function(o) {
347998
+ plugins: dedupDescriptors(chain3.plugins),
347999
+ presets: dedupDescriptors(chain3.presets),
348000
+ options: chain3.options.map(function(o) {
348001
348001
  return normalizeOptions$7(o);
348002
348002
  }),
348003
348003
  files: new Set
@@ -348046,7 +348046,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348046
348046
  });
348047
348047
  });
348048
348048
  function buildRootChain(opts, context) {
348049
- var configReport, babelRcReport, programmaticLogger, programmaticChain, programmaticReport, configFile, babelrc, babelrcRoots, babelrcRootsDirectory, configFileChain, configFileLogger, validatedFile, result, ignoreFile, babelrcFile, isIgnored, fileChain, pkgData, _yield$findRelativeCo, _validatedFile, babelrcLogger, _result, chain2;
348049
+ var configReport, babelRcReport, programmaticLogger, programmaticChain, programmaticReport, configFile, babelrc, babelrcRoots, babelrcRootsDirectory, configFileChain, configFileLogger, validatedFile, result, ignoreFile, babelrcFile, isIgnored, fileChain, pkgData, _yield$findRelativeCo, _validatedFile, babelrcLogger, _result, chain3;
348050
348050
  return _regeneratorRuntime().wrap(function buildRootChain$(_context2) {
348051
348051
  while (true)
348052
348052
  switch (_context2.prev = _context2.next) {
@@ -348174,18 +348174,18 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348174
348174
  `) + `
348175
348175
  -----End Babel configs-----`);
348176
348176
  }
348177
- chain2 = mergeChain(mergeChain(mergeChain(emptyChain(), configFileChain), fileChain), programmaticChain);
348177
+ chain3 = mergeChain(mergeChain(mergeChain(emptyChain(), configFileChain), fileChain), programmaticChain);
348178
348178
  return _context2.abrupt("return", {
348179
- plugins: isIgnored ? [] : dedupDescriptors(chain2.plugins),
348180
- presets: isIgnored ? [] : dedupDescriptors(chain2.presets),
348181
- options: isIgnored ? [] : chain2.options.map(function(o) {
348179
+ plugins: isIgnored ? [] : dedupDescriptors(chain3.plugins),
348180
+ presets: isIgnored ? [] : dedupDescriptors(chain3.presets),
348181
+ options: isIgnored ? [] : chain3.options.map(function(o) {
348182
348182
  return normalizeOptions$7(o);
348183
348183
  }),
348184
348184
  fileHandling: isIgnored ? "ignored" : "transpile",
348185
348185
  ignore: ignoreFile || undefined,
348186
348186
  babelrc: babelrcFile || undefined,
348187
348187
  config: configFile || undefined,
348188
- files: chain2.files
348188
+ files: chain3.files
348189
348189
  });
348190
348190
  case 58:
348191
348191
  case "end":
@@ -348275,16 +348275,16 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348275
348275
  }
348276
348276
  });
348277
348277
  function loadFileChain(input, context, files, baseLogger) {
348278
- var chain2;
348278
+ var chain3;
348279
348279
  return _regeneratorRuntime().wrap(function loadFileChain$(_context3) {
348280
348280
  while (true)
348281
348281
  switch (_context3.prev = _context3.next) {
348282
348282
  case 0:
348283
348283
  return _context3.delegateYield(loadFileChainWalker(input, context, files, baseLogger), "t0", 1);
348284
348284
  case 1:
348285
- chain2 = _context3.t0;
348286
- chain2 == null || chain2.files.add(input.filepath);
348287
- return _context3.abrupt("return", chain2);
348285
+ chain3 = _context3.t0;
348286
+ chain3 == null || chain3.files.add(input.filepath);
348287
+ return _context3.abrupt("return", chain3);
348288
348288
  case 4:
348289
348289
  case "end":
348290
348290
  return _context3.stop();
@@ -348320,8 +348320,8 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348320
348320
  });
348321
348321
  }
348322
348322
  function buildRootDescriptors(_ref4, alias2, descriptors) {
348323
- var { dirname: dirname7, options } = _ref4;
348324
- return descriptors(dirname7, options, alias2);
348323
+ var { dirname: dirname8, options } = _ref4;
348324
+ return descriptors(dirname8, options, alias2);
348325
348325
  }
348326
348326
  function buildProgrammaticLogger(_, context, baseLogger) {
348327
348327
  var _context$caller;
@@ -348334,26 +348334,26 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348334
348334
  }
348335
348335
  function buildEnvDescriptors(_ref22, alias2, descriptors, envName) {
348336
348336
  var _options$env;
348337
- var { dirname: dirname7, options } = _ref22;
348337
+ var { dirname: dirname8, options } = _ref22;
348338
348338
  var opts = (_options$env = options.env) == null ? undefined : _options$env[envName];
348339
- return opts ? descriptors(dirname7, opts, alias2 + '.env["' + envName + '"]') : null;
348339
+ return opts ? descriptors(dirname8, opts, alias2 + '.env["' + envName + '"]') : null;
348340
348340
  }
348341
348341
  function buildOverrideDescriptors(_ref32, alias2, descriptors, index2) {
348342
348342
  var _options$overrides;
348343
- var { dirname: dirname7, options } = _ref32;
348343
+ var { dirname: dirname8, options } = _ref32;
348344
348344
  var opts = (_options$overrides = options.overrides) == null ? undefined : _options$overrides[index2];
348345
348345
  if (!opts)
348346
348346
  throw new Error("Assertion failure - missing override");
348347
- return descriptors(dirname7, opts, alias2 + ".overrides[" + index2 + "]");
348347
+ return descriptors(dirname8, opts, alias2 + ".overrides[" + index2 + "]");
348348
348348
  }
348349
348349
  function buildOverrideEnvDescriptors(_ref4, alias2, descriptors, index2, envName) {
348350
348350
  var _options$overrides2, _override$env;
348351
- var { dirname: dirname7, options } = _ref4;
348351
+ var { dirname: dirname8, options } = _ref4;
348352
348352
  var override = (_options$overrides2 = options.overrides) == null ? undefined : _options$overrides2[index2];
348353
348353
  if (!override)
348354
348354
  throw new Error("Assertion failure - missing override");
348355
348355
  var opts = (_override$env = override.env) == null ? undefined : _override$env[envName];
348356
- return opts ? descriptors(dirname7, opts, alias2 + ".overrides[" + index2 + '].env["' + envName + '"]') : null;
348356
+ return opts ? descriptors(dirname8, opts, alias2 + ".overrides[" + index2 + '].env["' + envName + '"]') : null;
348357
348357
  }
348358
348358
  function makeChainWalker(_ref52) {
348359
348359
  var { root, env: env3, overrides, overridesEnv, createLogger } = _ref52;
@@ -348362,22 +348362,22 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348362
348362
  files = new Set;
348363
348363
  }
348364
348364
  return _regeneratorRuntime().mark(function _callee() {
348365
- var dirname7, flattenedConfigs, rootOpts, envOpts, chain2, logger, _i2, _flattenedConfigs, _flattenedConfigs$_i, config2, index2, envName;
348365
+ var dirname8, flattenedConfigs, rootOpts, envOpts, chain3, logger, _i2, _flattenedConfigs, _flattenedConfigs$_i, config2, index2, envName;
348366
348366
  return _regeneratorRuntime().wrap(function _callee$(_context4) {
348367
348367
  while (true)
348368
348368
  switch (_context4.prev = _context4.next) {
348369
348369
  case 0:
348370
- dirname7 = input.dirname;
348370
+ dirname8 = input.dirname;
348371
348371
  flattenedConfigs = [];
348372
348372
  rootOpts = root(input);
348373
- if (configIsApplicable(rootOpts, dirname7, context, input.filepath)) {
348373
+ if (configIsApplicable(rootOpts, dirname8, context, input.filepath)) {
348374
348374
  flattenedConfigs.push({
348375
348375
  config: rootOpts,
348376
348376
  envName: undefined,
348377
348377
  index: undefined
348378
348378
  });
348379
348379
  envOpts = env3(input, context.envName);
348380
- if (envOpts && configIsApplicable(envOpts, dirname7, context, input.filepath)) {
348380
+ if (envOpts && configIsApplicable(envOpts, dirname8, context, input.filepath)) {
348381
348381
  flattenedConfigs.push({
348382
348382
  config: envOpts,
348383
348383
  envName: context.envName,
@@ -348386,14 +348386,14 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348386
348386
  }
348387
348387
  (rootOpts.options.overrides || []).forEach(function(_, index3) {
348388
348388
  var overrideOps = overrides(input, index3);
348389
- if (configIsApplicable(overrideOps, dirname7, context, input.filepath)) {
348389
+ if (configIsApplicable(overrideOps, dirname8, context, input.filepath)) {
348390
348390
  flattenedConfigs.push({
348391
348391
  config: overrideOps,
348392
348392
  index: index3,
348393
348393
  envName: undefined
348394
348394
  });
348395
348395
  var overrideEnvOpts = overridesEnv(input, index3, context.envName);
348396
- if (overrideEnvOpts && configIsApplicable(overrideEnvOpts, dirname7, context, input.filepath)) {
348396
+ if (overrideEnvOpts && configIsApplicable(overrideEnvOpts, dirname8, context, input.filepath)) {
348397
348397
  flattenedConfigs.push({
348398
348398
  config: overrideEnvOpts,
348399
348399
  index: index3,
@@ -348405,14 +348405,14 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348405
348405
  }
348406
348406
  if (!flattenedConfigs.some(function(_ref6) {
348407
348407
  var _ref6$config$options = _ref6.config.options, ignore = _ref6$config$options.ignore, only = _ref6$config$options.only;
348408
- return shouldIgnore(context, ignore, only, dirname7);
348408
+ return shouldIgnore(context, ignore, only, dirname8);
348409
348409
  })) {
348410
348410
  _context4.next = 6;
348411
348411
  break;
348412
348412
  }
348413
348413
  return _context4.abrupt("return", null);
348414
348414
  case 6:
348415
- chain2 = emptyChain();
348415
+ chain3 = emptyChain();
348416
348416
  logger = createLogger(input, context, baseLogger);
348417
348417
  _i2 = 0, _flattenedConfigs = flattenedConfigs;
348418
348418
  case 9:
@@ -348421,7 +348421,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348421
348421
  break;
348422
348422
  }
348423
348423
  _flattenedConfigs$_i = _flattenedConfigs[_i2], config2 = _flattenedConfigs$_i.config, index2 = _flattenedConfigs$_i.index, envName = _flattenedConfigs$_i.envName;
348424
- return _context4.delegateYield(mergeExtendsChain(chain2, config2.options, dirname7, context, files, baseLogger), "t0", 12);
348424
+ return _context4.delegateYield(mergeExtendsChain(chain3, config2.options, dirname8, context, files, baseLogger), "t0", 12);
348425
348425
  case 12:
348426
348426
  if (_context4.t0) {
348427
348427
  _context4.next = 14;
@@ -348430,13 +348430,13 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348430
348430
  return _context4.abrupt("return", null);
348431
348431
  case 14:
348432
348432
  logger(config2, index2, envName);
348433
- return _context4.delegateYield(mergeChainOpts(chain2, config2), "t1", 16);
348433
+ return _context4.delegateYield(mergeChainOpts(chain3, config2), "t1", 16);
348434
348434
  case 16:
348435
348435
  _i2++;
348436
348436
  _context4.next = 9;
348437
348437
  break;
348438
348438
  case 19:
348439
- return _context4.abrupt("return", chain2);
348439
+ return _context4.abrupt("return", chain3);
348440
348440
  case 20:
348441
348441
  case "end":
348442
348442
  return _context4.stop();
@@ -348445,7 +348445,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348445
348445
  })();
348446
348446
  };
348447
348447
  }
348448
- function mergeExtendsChain(chain2, opts, dirname7, context, files, baseLogger) {
348448
+ function mergeExtendsChain(chain3, opts, dirname8, context, files, baseLogger) {
348449
348449
  var file2, fileChain;
348450
348450
  return _regeneratorRuntime().wrap(function mergeExtendsChain$(_context5) {
348451
348451
  while (true)
@@ -348457,7 +348457,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348457
348457
  }
348458
348458
  return _context5.abrupt("return", true);
348459
348459
  case 2:
348460
- return _context5.delegateYield(loadConfig$1(opts["extends"], dirname7, context.envName, context.caller), "t0", 3);
348460
+ return _context5.delegateYield(loadConfig$1(opts["extends"], dirname8, context.envName, context.caller), "t0", 3);
348461
348461
  case 3:
348462
348462
  file2 = _context5.t0;
348463
348463
  if (!files.has(file2)) {
@@ -348482,7 +348482,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348482
348482
  }
348483
348483
  return _context5.abrupt("return", false);
348484
348484
  case 12:
348485
- mergeChain(chain2, fileChain);
348485
+ mergeChain(chain3, fileChain);
348486
348486
  return _context5.abrupt("return", true);
348487
348487
  case 14:
348488
348488
  case "end":
@@ -348594,13 +348594,13 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348594
348594
  return acc;
348595
348595
  }, []);
348596
348596
  }
348597
- function configIsApplicable(_ref8, dirname7, context, configName) {
348597
+ function configIsApplicable(_ref8, dirname8, context, configName) {
348598
348598
  var options = _ref8.options;
348599
- return (options.test === undefined || configFieldIsApplicable(context, options.test, dirname7, configName)) && (options.include === undefined || configFieldIsApplicable(context, options.include, dirname7, configName)) && (options.exclude === undefined || !configFieldIsApplicable(context, options.exclude, dirname7, configName));
348599
+ return (options.test === undefined || configFieldIsApplicable(context, options.test, dirname8, configName)) && (options.include === undefined || configFieldIsApplicable(context, options.include, dirname8, configName)) && (options.exclude === undefined || !configFieldIsApplicable(context, options.exclude, dirname8, configName));
348600
348600
  }
348601
- function configFieldIsApplicable(context, test, dirname7, configName) {
348601
+ function configFieldIsApplicable(context, test, dirname8, configName) {
348602
348602
  var patterns = Array.isArray(test) ? test : [test];
348603
- return matchesPatterns(context, patterns, dirname7, configName);
348603
+ return matchesPatterns(context, patterns, dirname8, configName);
348604
348604
  }
348605
348605
  function ignoreListReplacer(_key, value2) {
348606
348606
  if (value2 instanceof RegExp) {
@@ -348608,19 +348608,19 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348608
348608
  }
348609
348609
  return value2;
348610
348610
  }
348611
- function shouldIgnore(context, ignore, only, dirname7) {
348612
- if (ignore && matchesPatterns(context, ignore, dirname7)) {
348611
+ function shouldIgnore(context, ignore, only, dirname8) {
348612
+ if (ignore && matchesPatterns(context, ignore, dirname8)) {
348613
348613
  var _context$filename;
348614
- var message = 'No config is applied to "' + ((_context$filename = context.filename) != null ? _context$filename : "(unknown)") + '" because it matches one of `ignore: ' + JSON.stringify(ignore, ignoreListReplacer) + '` from "' + dirname7 + '"';
348614
+ var message = 'No config is applied to "' + ((_context$filename = context.filename) != null ? _context$filename : "(unknown)") + '" because it matches one of `ignore: ' + JSON.stringify(ignore, ignoreListReplacer) + '` from "' + dirname8 + '"';
348615
348615
  debug$1(message);
348616
348616
  if (context.showConfig) {
348617
348617
  console.log(message);
348618
348618
  }
348619
348619
  return true;
348620
348620
  }
348621
- if (only && !matchesPatterns(context, only, dirname7)) {
348621
+ if (only && !matchesPatterns(context, only, dirname8)) {
348622
348622
  var _context$filename2;
348623
- var _message = 'No config is applied to "' + ((_context$filename2 = context.filename) != null ? _context$filename2 : "(unknown)") + '" because it fails to match one of `only: ' + JSON.stringify(only, ignoreListReplacer) + '` from "' + dirname7 + '"';
348623
+ var _message = 'No config is applied to "' + ((_context$filename2 = context.filename) != null ? _context$filename2 : "(unknown)") + '" because it fails to match one of `only: ' + JSON.stringify(only, ignoreListReplacer) + '` from "' + dirname8 + '"';
348624
348624
  debug$1(_message);
348625
348625
  if (context.showConfig) {
348626
348626
  console.log(_message);
@@ -348629,15 +348629,15 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348629
348629
  }
348630
348630
  return false;
348631
348631
  }
348632
- function matchesPatterns(context, patterns, dirname7, configName) {
348632
+ function matchesPatterns(context, patterns, dirname8, configName) {
348633
348633
  return patterns.some(function(pattern2) {
348634
- return matchPattern(pattern2, dirname7, context.filename, context, configName);
348634
+ return matchPattern(pattern2, dirname8, context.filename, context, configName);
348635
348635
  });
348636
348636
  }
348637
- function matchPattern(pattern2, dirname7, pathToTest, context, configName) {
348637
+ function matchPattern(pattern2, dirname8, pathToTest, context, configName) {
348638
348638
  if (typeof pattern2 === "function") {
348639
348639
  return !!endHiddenCallStack(pattern2)(pathToTest, {
348640
- dirname: dirname7,
348640
+ dirname: dirname8,
348641
348641
  envName: context.envName,
348642
348642
  caller: context.caller
348643
348643
  });
@@ -348646,7 +348646,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
348646
348646
  throw new ConfigError("Configuration contains string/RegExp pattern, but no filename was passed to Babel", configName);
348647
348647
  }
348648
348648
  if (typeof pattern2 === "string") {
348649
- pattern2 = pathToPattern(pattern2, dirname7);
348649
+ pattern2 = pathToPattern(pattern2, dirname8);
348650
348650
  }
348651
348651
  return pattern2.test(pathToTest);
348652
348652
  }
@@ -349212,7 +349212,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
349212
349212
  }
349213
349213
  var makeDescriptorLoader = function makeDescriptorLoader(apiFactory) {
349214
349214
  return makeWeakCache(function(_ref4, cache2) {
349215
- var { value: value2, options, dirname: dirname7, alias: alias2 } = _ref4;
349215
+ var { value: value2, options, dirname: dirname8, alias: alias2 } = _ref4;
349216
349216
  return _regeneratorRuntime().mark(function _callee2() {
349217
349217
  var externalDependencies, item, factory, api, error2;
349218
349218
  return _regeneratorRuntime().wrap(function _callee2$(_context5) {
@@ -349235,7 +349235,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
349235
349235
  factory = maybeAsync(value2, "You appear to be using an async plugin/preset, but Babel has been called synchronously");
349236
349236
  api = Object.assign({}, _babel, apiFactory(cache2, externalDependencies));
349237
349237
  _context5.prev = 8;
349238
- return _context5.delegateYield(factory(api, options, dirname7), "t0", 10);
349238
+ return _context5.delegateYield(factory(api, options, dirname8), "t0", 10);
349239
349239
  case 10:
349240
349240
  item = _context5.t0;
349241
349241
  _context5.next = 17;
@@ -349278,7 +349278,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
349278
349278
  return _context5.abrupt("return", {
349279
349279
  value: item,
349280
349280
  options,
349281
- dirname: dirname7,
349281
+ dirname: dirname8,
349282
349282
  alias: alias2,
349283
349283
  externalDependencies: finalize(externalDependencies)
349284
349284
  });
@@ -349293,7 +349293,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
349293
349293
  var pluginDescriptorLoader = makeDescriptorLoader(makePluginAPI);
349294
349294
  var presetDescriptorLoader = makeDescriptorLoader(makePresetAPI);
349295
349295
  var instantiatePlugin = makeWeakCache(function(_ref22, cache2) {
349296
- var { value: value2, options, dirname: dirname7, alias: alias2, externalDependencies } = _ref22;
349296
+ var { value: value2, options, dirname: dirname8, alias: alias2, externalDependencies } = _ref22;
349297
349297
  return _regeneratorRuntime().mark(function _callee3() {
349298
349298
  var pluginObj, plugin2, inheritsDescriptor, inherits2;
349299
349299
  return _regeneratorRuntime().wrap(function _callee3$(_context6) {
@@ -349314,11 +349314,11 @@ getting parsed as 6.1, which can lead to unexpected behavior.
349314
349314
  alias: alias2 + "$inherits",
349315
349315
  value: plugin2.inherits,
349316
349316
  options,
349317
- dirname: dirname7
349317
+ dirname: dirname8
349318
349318
  };
349319
- return _context6.delegateYield(forwardAsync(loadPluginDescriptor, function(run2) {
349319
+ return _context6.delegateYield(forwardAsync(loadPluginDescriptor, function(run3) {
349320
349320
  return cache2.invalidate(function(data2) {
349321
- return run2(inheritsDescriptor, data2);
349321
+ return run3(inheritsDescriptor, data2);
349322
349322
  });
349323
349323
  }), "t0", 6);
349324
349324
  case 6:
@@ -349395,11 +349395,11 @@ getting parsed as 6.1, which can lead to unexpected behavior.
349395
349395
  }
349396
349396
  };
349397
349397
  var instantiatePreset = makeWeakCacheSync(function(_ref32) {
349398
- var { value: value2, dirname: dirname7, alias: alias2, externalDependencies } = _ref32;
349398
+ var { value: value2, dirname: dirname8, alias: alias2, externalDependencies } = _ref32;
349399
349399
  return {
349400
349400
  options: validate2("preset", value2),
349401
349401
  alias: alias2,
349402
- dirname: dirname7,
349402
+ dirname: dirname8,
349403
349403
  externalDependencies
349404
349404
  };
349405
349405
  });
@@ -351072,10 +351072,10 @@ Consider renaming the file to '.mjs', or setting sourceType:module ` + "or sourc
351072
351072
  return beginHiddenCallStack(parseRunner.async).apply(undefined, arguments);
351073
351073
  }
351074
351074
  var version$1 = "7.26.9";
351075
- var resolvePlugin = function resolvePlugin(name2, dirname7) {
351075
+ var resolvePlugin = function resolvePlugin(name2, dirname8) {
351076
351076
  return resolvePlugin$1().filepath;
351077
351077
  };
351078
- var resolvePreset = function resolvePreset(name2, dirname7) {
351078
+ var resolvePreset = function resolvePreset(name2, dirname8) {
351079
351079
  return resolvePreset$1().filepath;
351080
351080
  };
351081
351081
  var DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs", ".cjs"]);
@@ -352440,9 +352440,9 @@ Consider renaming the file to '.mjs', or setting sourceType:module ` + "or sourc
352440
352440
  if (prop2.isClassPrivateMethod()) {
352441
352441
  if (prop2.node.kind === "get") {
352442
352442
  var body = prop2.node.body.body;
352443
- var $ = undefined;
352444
- if (body.length === 1 && isReturnStatement($ = body[0]) && isCallExpression$8($ = $.argument) && $.arguments.length === 1 && isThisExpression$2($.arguments[0]) && isIdentifier$e($ = $.callee)) {
352445
- update2.getId = cloneNode$e($);
352443
+ var $2 = undefined;
352444
+ if (body.length === 1 && isReturnStatement($2 = body[0]) && isCallExpression$8($2 = $2.argument) && $2.arguments.length === 1 && isThisExpression$2($2.arguments[0]) && isIdentifier$e($2 = $2.callee)) {
352445
+ update2.getId = cloneNode$e($2);
352446
352446
  update2.getterDeclared = true;
352447
352447
  } else {
352448
352448
  update2.getId = prop2.scope.generateUidIdentifier("get_" + name2);
@@ -352476,22 +352476,22 @@ Consider renaming the file to '.mjs', or setting sourceType:module ` + "or sourc
352476
352476
  var isStatic2 = value2["static"], isMethod2 = value2.method, getId = value2.getId, setId = value2.setId;
352477
352477
  var isGetterOrSetter = getId || setId;
352478
352478
  var id = cloneNode$e(value2.id);
352479
- var init2 = undefined;
352479
+ var init3 = undefined;
352480
352480
  if (privateFieldsAsProperties) {
352481
- init2 = callExpression$c(state.addHelper("classPrivateFieldLooseKey"), [stringLiteral$6(name2)]);
352481
+ init3 = callExpression$c(state.addHelper("classPrivateFieldLooseKey"), [stringLiteral$6(name2)]);
352482
352482
  } else if (privateFieldsAsSymbols) {
352483
- init2 = callExpression$c(identifier$d("Symbol"), [stringLiteral$6(name2)]);
352483
+ init3 = callExpression$c(identifier$d("Symbol"), [stringLiteral$6(name2)]);
352484
352484
  } else if (!isStatic2) {
352485
352485
  if (injectedIds.has(id.name))
352486
352486
  continue;
352487
352487
  injectedIds.add(id.name);
352488
- init2 = newExpression(identifier$d(isMethod2 && (!isGetterOrSetter || newHelpers(state)) ? "WeakSet" : "WeakMap"), []);
352488
+ init3 = newExpression(identifier$d(isMethod2 && (!isGetterOrSetter || newHelpers(state)) ? "WeakSet" : "WeakMap"), []);
352489
352489
  }
352490
- if (init2) {
352490
+ if (init3) {
352491
352491
  if (!privateFieldsAsSymbols) {
352492
- annotateAsPure(init2);
352492
+ annotateAsPure(init3);
352493
352493
  }
352494
- initNodes.push(template$2.statement.ast(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["var ", " = ", ""])), id, init2));
352494
+ initNodes.push(template$2.statement.ast(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["var ", " = ", ""])), id, init3));
352495
352495
  }
352496
352496
  }
352497
352497
  return initNodes;
@@ -355526,40 +355526,40 @@ If you are using ` + '["@babel/plugin-proposal-decorators", { "version": "legacy
355526
355526
  _proto.getExtendsHelper = function getExtendsHelper() {
355527
355527
  return this.useBuiltIns ? memberExpression$9(identifier$d("Object"), identifier$d("assign")) : this.addHelper("extends");
355528
355528
  };
355529
- _proto.buildVariableAssignment = function buildVariableAssignment(id, init2) {
355529
+ _proto.buildVariableAssignment = function buildVariableAssignment(id, init3) {
355530
355530
  var op = this.operator;
355531
355531
  if (isMemberExpression$7(id) || isOptionalMemberExpression$3(id))
355532
355532
  op = "=";
355533
355533
  var node2;
355534
355534
  if (op) {
355535
- node2 = expressionStatement$7(assignmentExpression$8(op, id, cloneNode$e(init2) || this.scope.buildUndefinedNode()));
355535
+ node2 = expressionStatement$7(assignmentExpression$8(op, id, cloneNode$e(init3) || this.scope.buildUndefinedNode()));
355536
355536
  } else {
355537
355537
  var nodeInit;
355538
- if ((this.kind === "const" || this.kind === "using") && init2 === null) {
355538
+ if ((this.kind === "const" || this.kind === "using") && init3 === null) {
355539
355539
  nodeInit = this.scope.buildUndefinedNode();
355540
355540
  } else {
355541
- nodeInit = cloneNode$e(init2);
355541
+ nodeInit = cloneNode$e(init3);
355542
355542
  }
355543
355543
  node2 = variableDeclaration$6(this.kind, [variableDeclarator$6(id, nodeInit)]);
355544
355544
  }
355545
355545
  node2._blockHoist = this.blockHoist;
355546
355546
  return node2;
355547
355547
  };
355548
- _proto.buildVariableDeclaration = function buildVariableDeclaration(id, init2) {
355549
- var declar = variableDeclaration$6("var", [variableDeclarator$6(cloneNode$e(id), cloneNode$e(init2))]);
355548
+ _proto.buildVariableDeclaration = function buildVariableDeclaration(id, init3) {
355549
+ var declar = variableDeclaration$6("var", [variableDeclarator$6(cloneNode$e(id), cloneNode$e(init3))]);
355550
355550
  declar._blockHoist = this.blockHoist;
355551
355551
  return declar;
355552
355552
  };
355553
355553
  _proto.push = function push(id, _init) {
355554
- var init2 = cloneNode$e(_init);
355554
+ var init3 = cloneNode$e(_init);
355555
355555
  if (isObjectPattern$1(id)) {
355556
- this.pushObjectPattern(id, init2);
355556
+ this.pushObjectPattern(id, init3);
355557
355557
  } else if (isArrayPattern(id)) {
355558
- this.pushArrayPattern(id, init2);
355558
+ this.pushArrayPattern(id, init3);
355559
355559
  } else if (isAssignmentPattern$4(id)) {
355560
- this.pushAssignmentPattern(id, init2);
355560
+ this.pushAssignmentPattern(id, init3);
355561
355561
  } else {
355562
- this.nodes.push(this.buildVariableAssignment(id, init2));
355562
+ this.nodes.push(this.buildVariableAssignment(id, init3));
355563
355563
  }
355564
355564
  };
355565
355565
  _proto.toArray = function toArray(node2, count) {
@@ -366750,21 +366750,21 @@ bundler handle dynamic imports.
366750
366750
  var _node = optionals[i];
366751
366751
  var isCall = isCallExpression$8(_node);
366752
366752
  var chainWithTypes = isCall ? _node.callee : _node.object;
366753
- var chain2 = skipTransparentExprWrapperNodes(chainWithTypes);
366753
+ var chain3 = skipTransparentExprWrapperNodes(chainWithTypes);
366754
366754
  var ref47 = undefined;
366755
366755
  var _check = undefined;
366756
- if (isCall && isIdentifier$e(chain2, {
366756
+ if (isCall && isIdentifier$e(chain3, {
366757
366757
  name: "eval"
366758
366758
  })) {
366759
- _check = ref47 = chain2;
366759
+ _check = ref47 = chain3;
366760
366760
  _node.callee = sequenceExpression$6([numericLiteral$5(0), ref47]);
366761
- } else if (pureGetters && isCall && isSimpleMemberExpression(chain2)) {
366761
+ } else if (pureGetters && isCall && isSimpleMemberExpression(chain3)) {
366762
366762
  _check = ref47 = _node.callee;
366763
- } else if (scope2.isStatic(chain2)) {
366763
+ } else if (scope2.isStatic(chain3)) {
366764
366764
  _check = ref47 = chainWithTypes;
366765
366765
  } else {
366766
366766
  if (!tmpVar || isCall) {
366767
- tmpVar = scope2.generateUidIdentifierBasedOnNode(chain2);
366767
+ tmpVar = scope2.generateUidIdentifierBasedOnNode(chain3);
366768
366768
  scope2.push({
366769
366769
  id: cloneNode$e(tmpVar)
366770
366770
  });
@@ -366777,11 +366777,11 @@ bundler handle dynamic imports.
366777
366777
  _node.object = ref47;
366778
366778
  }
366779
366779
  }
366780
- if (isCall && isMemberExpression$7(chain2)) {
366781
- if (pureGetters && isSimpleMemberExpression(chain2)) {
366780
+ if (isCall && isMemberExpression$7(chain3)) {
366781
+ if (pureGetters && isSimpleMemberExpression(chain3)) {
366782
366782
  _node.callee = chainWithTypes;
366783
366783
  } else {
366784
- var object2 = chain2.object;
366784
+ var object2 = chain3.object;
366785
366785
  var context = undefined;
366786
366786
  if (isSuper$2(object2)) {
366787
366787
  context = thisExpression$4();
@@ -366789,7 +366789,7 @@ bundler handle dynamic imports.
366789
366789
  var memoized = scope2.maybeGenerateMemoised(object2);
366790
366790
  if (memoized) {
366791
366791
  context = memoized;
366792
- chain2.object = assignmentExpression$8("=", memoized, object2);
366792
+ chain3.object = assignmentExpression$8("=", memoized, object2);
366793
366793
  } else {
366794
366794
  context = object2;
366795
366795
  }
@@ -367137,7 +367137,7 @@ bundler handle dynamic imports.
367137
367137
  fieldPath.set("value", t3.unaryExpression("void", expr));
367138
367138
  }
367139
367139
  }
367140
- function injectInitialization$1(classPath, init2) {
367140
+ function injectInitialization$1(classPath, init3) {
367141
367141
  var firstFieldPath;
367142
367142
  var constructorPath;
367143
367143
  for (var _iterator2 = _createForOfIteratorHelperLoose(classPath.get("body.body")), _step2;!(_step2 = _iterator2()).done; ) {
@@ -367153,9 +367153,9 @@ bundler handle dynamic imports.
367153
367153
  }
367154
367154
  }
367155
367155
  if (firstFieldPath) {
367156
- injectToFieldInit(firstFieldPath, init2, true);
367156
+ injectToFieldInit(firstFieldPath, init3, true);
367157
367157
  } else {
367158
- injectInitialization(classPath, constructorPath, [t3.expressionStatement(init2)]);
367158
+ injectInitialization(classPath, constructorPath, [t3.expressionStatement(init3)]);
367159
367159
  }
367160
367160
  }
367161
367161
  function getWeakSetId(weakSets, outerClass, reference, name2, inject) {
@@ -370381,7 +370381,7 @@ bundler handle dynamic imports.
370381
370381
  return lazy(source) ? "lazy/function" : null;
370382
370382
  }
370383
370383
  },
370384
- buildRequireWrapper: function buildRequireWrapper(name2, init2, payload, referenced) {
370384
+ buildRequireWrapper: function buildRequireWrapper(name2, init3, payload, referenced) {
370385
370385
  if (payload === "lazy/function") {
370386
370386
  if (!referenced)
370387
370387
  return false;
@@ -370391,7 +370391,7 @@ bundler handle dynamic imports.
370391
370391
  `, ` = function(){ return data; };
370392
370392
  return data;
370393
370393
  }
370394
- `])), name2, init2, name2);
370394
+ `])), name2, init3, name2);
370395
370395
  }
370396
370396
  },
370397
370397
  wrapReference: function wrapReference(ref47, payload) {
@@ -370594,9 +370594,9 @@ bundler handle dynamic imports.
370594
370594
  header = expressionStatement$7(loadExpr);
370595
370595
  } else {
370596
370596
  var _header;
370597
- var init2 = wrapInterop(path15, loadExpr, metadata.interop) || loadExpr;
370597
+ var init3 = wrapInterop(path15, loadExpr, metadata.interop) || loadExpr;
370598
370598
  if (metadata.wrap) {
370599
- var res2 = hooks2.buildRequireWrapper(metadata.name, init2, metadata.wrap, metadata.referenced);
370599
+ var res2 = hooks2.buildRequireWrapper(metadata.name, init3, metadata.wrap, metadata.referenced);
370600
370600
  if (res2 === false)
370601
370601
  continue;
370602
370602
  else
@@ -370604,7 +370604,7 @@ bundler handle dynamic imports.
370604
370604
  }
370605
370605
  (_header = header) != null || (header = template$2.statement.ast(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose([`
370606
370606
  var `, " = ", `;
370607
- `])), metadata.name, init2));
370607
+ `])), metadata.name, init3));
370608
370608
  }
370609
370609
  header.loc = metadata.loc;
370610
370610
  headers.push(header);
@@ -372718,9 +372718,9 @@ bundler handle dynamic imports.
372718
372718
  }
372719
372719
  },
372720
372720
  ForStatement: function ForStatement(path15) {
372721
- var init2 = path15.get("init");
372722
- if (init2.isVariableDeclaration()) {
372723
- util3.replaceWithOrRemove(init2, varDeclToExpr(init2, false));
372721
+ var init3 = path15.get("init");
372722
+ if (init3.isVariableDeclaration()) {
372723
+ util3.replaceWithOrRemove(init3, varDeclToExpr(init3, false));
372724
372724
  }
372725
372725
  },
372726
372726
  ForXStatement: function ForXStatement(path15) {
@@ -374101,7 +374101,7 @@ bundler handle dynamic imports.
374101
374101
  runtimeVersion = "^" + runtimeVersion;
374102
374102
  return !semver$5.intersects("<" + minVersion2, runtimeVersion) && !semver$5.intersects(">=8.0.0", runtimeVersion);
374103
374103
  }
374104
- function getRuntimePath(moduleName, dirname7, absoluteRuntime) {
374104
+ function getRuntimePath(moduleName, dirname8, absoluteRuntime) {
374105
374105
  if (absoluteRuntime === false)
374106
374106
  return moduleName;
374107
374107
  resolveFSPath();
@@ -378320,7 +378320,7 @@ bundler handle dynamic imports.
378320
378320
  dependencies$1.laterLogMissing = laterLogMissing2;
378321
378321
  dependencies$1.logMissing = logMissing2;
378322
378322
  dependencies$1.resolve = resolve7;
378323
- function resolve7(dirname7, moduleName, absoluteImports) {
378323
+ function resolve7(dirname8, moduleName, absoluteImports) {
378324
378324
  if (absoluteImports === false)
378325
378325
  return moduleName;
378326
378326
  throw new Error('"absoluteImports" is not supported in bundles prepared for the browser.');
@@ -378515,14 +378515,14 @@ See more options at https://github.com/babel/babel-polyfills/blob/main/docs/usag
378515
378515
  providerOptions
378516
378516
  };
378517
378517
  }
378518
- function instantiateProvider2(factory, options, missingDependencies, dirname7, debugLog, babelApi) {
378518
+ function instantiateProvider2(factory, options, missingDependencies, dirname8, debugLog, babelApi) {
378519
378519
  var _resolveOptions = resolveOptions2(options, babelApi), method2 = _resolveOptions.method, methodName = _resolveOptions.methodName, targets = _resolveOptions.targets, _debug2 = _resolveOptions.debug, _shouldInjectPolyfill = _resolveOptions.shouldInjectPolyfill, providerOptions = _resolveOptions.providerOptions, absoluteImports = _resolveOptions.absoluteImports;
378520
378520
  var include, exclude;
378521
378521
  var polyfillsSupport;
378522
378522
  var polyfillsNames;
378523
378523
  var filterPolyfills;
378524
378524
  var getUtils = (0, _utils.createUtilsGetter)(new _importsInjector["default"](function(moduleName) {
378525
- return deps.resolve(dirname7, moduleName, absoluteImports);
378525
+ return deps.resolve(dirname8, moduleName, absoluteImports);
378526
378526
  }, function(name2) {
378527
378527
  var _polyfillsNames$get, _polyfillsNames;
378528
378528
  return (_polyfillsNames$get = (_polyfillsNames = polyfillsNames) == null ? undefined : _polyfillsNames.get(name2)) != null ? _polyfillsNames$get : Infinity;
@@ -378576,15 +378576,15 @@ See more options at https://github.com/babel/babel-polyfills/blob/main/docs/usag
378576
378576
  return;
378577
378577
  }
378578
378578
  var dep = version3 === "*" ? name2 : name2 + "@^" + version3;
378579
- var found = missingDependencies.all ? false : mapGetOr2(depsCache, name2 + " :: " + dirname7, function() {
378580
- return deps.has(dirname7, name2);
378579
+ var found = missingDependencies.all ? false : mapGetOr2(depsCache, name2 + " :: " + dirname8, function() {
378580
+ return deps.has(dirname8, name2);
378581
378581
  });
378582
378582
  if (!found) {
378583
378583
  debugLog().missingDeps.add(dep);
378584
378584
  }
378585
378585
  }
378586
378586
  };
378587
- var provider = factory(api, providerOptions, dirname7);
378587
+ var provider = factory(api, providerOptions, dirname8);
378588
378588
  var providerName = provider.name || factory.name;
378589
378589
  if (typeof provider[methodName] !== "function") {
378590
378590
  throw new Error('The "' + providerName + `" provider doesn't support the "` + method2 + '" polyfilling method.');
@@ -378630,12 +378630,12 @@ See more options at https://github.com/babel/babel-polyfills/blob/main/docs/usag
378630
378630
  };
378631
378631
  }
378632
378632
  function definePolyfillProvider2(factory) {
378633
- return (0, _helperPluginUtils2.declare)(function(babelApi, options, dirname7) {
378633
+ return (0, _helperPluginUtils2.declare)(function(babelApi, options, dirname8) {
378634
378634
  babelApi.assertVersion("^7.0.0 || ^8.0.0-alpha.0");
378635
378635
  var traverse2 = babelApi.traverse;
378636
378636
  var debugLog;
378637
378637
  var missingDependencies = (0, _normalizeOptions.applyMissingDependenciesDefaults)(options, babelApi);
378638
- var _instantiateProvider = instantiateProvider2(factory, options, missingDependencies, dirname7, function() {
378638
+ var _instantiateProvider = instantiateProvider2(factory, options, missingDependencies, dirname8, function() {
378639
378639
  return debugLog;
378640
378640
  }, babelApi), debug14 = _instantiateProvider.debug, method2 = _instantiateProvider.method, targets = _instantiateProvider.targets, provider = _instantiateProvider.provider, providerName = _instantiateProvider.providerName, callProvider = _instantiateProvider.callProvider;
378641
378641
  var createVisitor = method2 === "entry-global" ? v2.entry : v2.usage;
@@ -409532,7 +409532,7 @@ Using targets: ` + (0, _debugUtils.stringifyTargetsMultiline)(targets));
409532
409532
  }
409533
409533
  });
409534
409534
  })(babel7);
409535
- var transformRuntime = declare(function(api, options, dirname7) {
409535
+ var transformRuntime = declare(function(api, options, dirname8) {
409536
409536
  api.assertVersion("*");
409537
409537
  var _options$version = options.version, runtimeVersion = _options$version === undefined ? "7.0.0-beta.0" : _options$version, _options$absoluteRunt = options.absoluteRuntime, absoluteRuntime = _options$absoluteRunt === undefined ? false : _options$absoluteRunt, _options$moduleName = options.moduleName, moduleName = _options$moduleName === undefined ? null : _options$moduleName;
409538
409538
  if (typeof absoluteRuntime !== "boolean" && typeof absoluteRuntime !== "string") {
@@ -409587,7 +409587,7 @@ Using targets: ` + (0, _debugUtils.stringifyTargetsMultiline)(targets));
409587
409587
  var modulePath;
409588
409588
  file2.set("helperGenerator", function(name2) {
409589
409589
  var _modulePath, _ref4;
409590
- (_modulePath = modulePath) != null || (modulePath = getRuntimePath((_ref4 = moduleName != null ? moduleName : file2.get("runtimeHelpersModuleName")) != null ? _ref4 : "@babel/runtime", dirname7, absoluteRuntime));
409590
+ (_modulePath = modulePath) != null || (modulePath = getRuntimePath((_ref4 = moduleName != null ? moduleName : file2.get("runtimeHelpersModuleName")) != null ? _ref4 : "@babel/runtime", dirname8, absoluteRuntime));
409591
409591
  {
409592
409592
  if (!(file2.availableHelper != null && file2.availableHelper(name2, runtimeVersion))) {
409593
409593
  if (name2 === "regeneratorRuntime") {
@@ -410007,12 +410007,12 @@ Using targets: ` + (0, _debugUtils.stringifyTargetsMultiline)(targets));
410007
410007
  case "Program": {
410008
410008
  var isGlobal = t3.isProgram(path15.parent);
410009
410009
  var isSeen = seen(parentPath);
410010
- var init2 = t3.objectExpression([]);
410010
+ var init3 = t3.objectExpression([]);
410011
410011
  if (isSeen || isGlobal) {
410012
- init2 = t3.logicalExpression("||", t3.cloneNode(fill.ID), init2);
410012
+ init3 = t3.logicalExpression("||", t3.cloneNode(fill.ID), init3);
410013
410013
  }
410014
410014
  var enumIIFE = buildEnumWrapper(Object.assign({}, fill, {
410015
- INIT: init2
410015
+ INIT: init3
410016
410016
  }));
410017
410017
  if (isPure2)
410018
410018
  annotateAsPure(enumIIFE);
@@ -410961,17 +410961,17 @@ Using targets: ` + (0, _debugUtils.stringifyTargetsMultiline)(targets));
410961
410961
  },
410962
410962
  TSImportEqualsDeclaration: function TSImportEqualsDeclaration(path15, pass) {
410963
410963
  var _path$node = path15.node, id = _path$node.id, moduleReference = _path$node.moduleReference;
410964
- var init2;
410964
+ var init3;
410965
410965
  var varKind;
410966
410966
  if (t3.isTSExternalModuleReference(moduleReference)) {
410967
410967
  assertCjsTransformEnabled(path15, pass, "import " + id.name + " = require(...);", "import " + id.name + " from '...';", " alongside Typescript's --allowSyntheticDefaultImports option");
410968
- init2 = t3.callExpression(t3.identifier("require"), [moduleReference.expression]);
410968
+ init3 = t3.callExpression(t3.identifier("require"), [moduleReference.expression]);
410969
410969
  varKind = "const";
410970
410970
  } else {
410971
- init2 = entityNameToExpr(moduleReference);
410971
+ init3 = entityNameToExpr(moduleReference);
410972
410972
  varKind = "var";
410973
410973
  }
410974
- var newNode = t3.variableDeclaration(varKind, [t3.variableDeclarator(id, init2)]);
410974
+ var newNode = t3.variableDeclaration(varKind, [t3.variableDeclarator(id, init3)]);
410975
410975
  {
410976
410976
  path15.replaceWith(path15.node.isExport ? t3.exportNamedDeclaration(newNode) : newNode);
410977
410977
  }
@@ -411433,7 +411433,7 @@ Using targets: ` + (0, _debugUtils.stringifyTargetsMultiline)(targets));
411433
411433
  }
411434
411434
  return needsProxy ? "defer/proxy" : "defer/function";
411435
411435
  },
411436
- buildRequireWrapper: function buildRequireWrapper(name2, init2, payload, referenced) {
411436
+ buildRequireWrapper: function buildRequireWrapper(name2, init3, payload, referenced) {
411437
411437
  if (payload === "defer/proxy") {
411438
411438
  if (!referenced)
411439
411439
  return false;
@@ -411441,7 +411441,7 @@ Using targets: ` + (0, _debugUtils.stringifyTargetsMultiline)(targets));
411441
411441
  var `, " = ", `(
411442
411442
  () => `, `
411443
411443
  )
411444
- `])), name2, file2.addHelper("importDeferProxy"), init2);
411444
+ `])), name2, file2.addHelper("importDeferProxy"), init3);
411445
411445
  }
411446
411446
  if (payload === "defer/function") {
411447
411447
  if (!referenced)
@@ -411451,7 +411451,7 @@ Using targets: ` + (0, _debugUtils.stringifyTargetsMultiline)(targets));
411451
411451
  `, ` = () => data;
411452
411452
  return data = `, `;
411453
411453
  }
411454
- `])), name2, name2, init2);
411454
+ `])), name2, name2, init3);
411455
411455
  }
411456
411456
  },
411457
411457
  wrapReference: function wrapReference(ref47, payload) {
@@ -415004,7 +415004,7 @@ Using targets: ` + (0, _debugUtils.stringifyTargetsMultiline)(targets));
415004
415004
  dependencies2.laterLogMissing = laterLogMissing2;
415005
415005
  dependencies2.logMissing = logMissing2;
415006
415006
  dependencies2.resolve = resolve7;
415007
- function resolve7(dirname7, moduleName, absoluteImports) {
415007
+ function resolve7(dirname8, moduleName, absoluteImports) {
415008
415008
  if (absoluteImports === false)
415009
415009
  return moduleName;
415010
415010
  throw new Error('"absoluteImports" is not supported in bundles prepared for the browser.');
@@ -415199,14 +415199,14 @@ See more options at https://github.com/babel/babel-polyfills/blob/main/docs/usag
415199
415199
  providerOptions
415200
415200
  };
415201
415201
  }
415202
- function instantiateProvider2(factory, options, missingDependencies, dirname7, debugLog, babelApi) {
415202
+ function instantiateProvider2(factory, options, missingDependencies, dirname8, debugLog, babelApi) {
415203
415203
  var _resolveOptions = resolveOptions2(options, babelApi), method2 = _resolveOptions.method, methodName = _resolveOptions.methodName, targets = _resolveOptions.targets, _debug2 = _resolveOptions.debug, _shouldInjectPolyfill = _resolveOptions.shouldInjectPolyfill, providerOptions = _resolveOptions.providerOptions, absoluteImports = _resolveOptions.absoluteImports;
415204
415204
  var include, exclude;
415205
415205
  var polyfillsSupport;
415206
415206
  var polyfillsNames;
415207
415207
  var filterPolyfills;
415208
415208
  var getUtils = (0, _utils.createUtilsGetter)(new _importsInjector["default"](function(moduleName) {
415209
- return deps.resolve(dirname7, moduleName, absoluteImports);
415209
+ return deps.resolve(dirname8, moduleName, absoluteImports);
415210
415210
  }, function(name2) {
415211
415211
  var _polyfillsNames$get, _polyfillsNames;
415212
415212
  return (_polyfillsNames$get = (_polyfillsNames = polyfillsNames) == null ? undefined : _polyfillsNames.get(name2)) != null ? _polyfillsNames$get : Infinity;
@@ -415260,15 +415260,15 @@ See more options at https://github.com/babel/babel-polyfills/blob/main/docs/usag
415260
415260
  return;
415261
415261
  }
415262
415262
  var dep = version3 === "*" ? name2 : name2 + "@^" + version3;
415263
- var found = missingDependencies.all ? false : mapGetOr2(depsCache, name2 + " :: " + dirname7, function() {
415264
- return deps.has(dirname7, name2);
415263
+ var found = missingDependencies.all ? false : mapGetOr2(depsCache, name2 + " :: " + dirname8, function() {
415264
+ return deps.has(dirname8, name2);
415265
415265
  });
415266
415266
  if (!found) {
415267
415267
  debugLog().missingDeps.add(dep);
415268
415268
  }
415269
415269
  }
415270
415270
  };
415271
- var provider = factory(api, providerOptions, dirname7);
415271
+ var provider = factory(api, providerOptions, dirname8);
415272
415272
  var providerName = provider.name || factory.name;
415273
415273
  if (typeof provider[methodName] !== "function") {
415274
415274
  throw new Error('The "' + providerName + `" provider doesn't support the "` + method2 + '" polyfilling method.');
@@ -415314,12 +415314,12 @@ See more options at https://github.com/babel/babel-polyfills/blob/main/docs/usag
415314
415314
  };
415315
415315
  }
415316
415316
  function definePolyfillProvider2(factory) {
415317
- return (0, _helperPluginUtils2.declare)(function(babelApi, options, dirname7) {
415317
+ return (0, _helperPluginUtils2.declare)(function(babelApi, options, dirname8) {
415318
415318
  babelApi.assertVersion("^7.0.0 || ^8.0.0-alpha.0");
415319
415319
  var traverse2 = babelApi.traverse;
415320
415320
  var debugLog;
415321
415321
  var missingDependencies = (0, _normalizeOptions.applyMissingDependenciesDefaults)(options, babelApi);
415322
- var _instantiateProvider = instantiateProvider2(factory, options, missingDependencies, dirname7, function() {
415322
+ var _instantiateProvider = instantiateProvider2(factory, options, missingDependencies, dirname8, function() {
415323
415323
  return debugLog;
415324
415324
  }, babelApi), debug14 = _instantiateProvider.debug, method2 = _instantiateProvider.method, targets = _instantiateProvider.targets, provider = _instantiateProvider.provider, providerName = _instantiateProvider.providerName, callProvider = _instantiateProvider.callProvider;
415325
415325
  var createVisitor = method2 === "entry-global" ? v2.entry : v2.usage;
@@ -416474,7 +416474,7 @@ Using targets: ` + (0, _debugUtils.stringifyTargetsMultiline)(targets));
416474
416474
  }
416475
416475
  };
416476
416476
  };
416477
- function resolve6(dirname7, moduleName, absoluteImports) {
416477
+ function resolve6(dirname8, moduleName, absoluteImports) {
416478
416478
  if (absoluteImports === false)
416479
416479
  return moduleName;
416480
416480
  throw new Error('"absoluteImports" is not supported in bundles prepared for the browser.');
@@ -416580,14 +416580,14 @@ See more options at https://github.com/babel/babel-polyfills/blob/main/docs/usag
416580
416580
  providerOptions
416581
416581
  };
416582
416582
  }
416583
- function instantiateProvider(factory, options, missingDependencies, dirname7, debugLog, babelApi) {
416583
+ function instantiateProvider(factory, options, missingDependencies, dirname8, debugLog, babelApi) {
416584
416584
  var _resolveOptions = resolveOptions(options, babelApi), method2 = _resolveOptions.method, methodName = _resolveOptions.methodName, targets = _resolveOptions.targets, _debug2 = _resolveOptions.debug, _shouldInjectPolyfill = _resolveOptions.shouldInjectPolyfill, providerOptions = _resolveOptions.providerOptions, absoluteImports = _resolveOptions.absoluteImports;
416585
416585
  var include, exclude;
416586
416586
  var polyfillsSupport;
416587
416587
  var polyfillsNames;
416588
416588
  var filterPolyfills;
416589
416589
  var getUtils = createUtilsGetter(new ImportsCachedInjector(function(moduleName) {
416590
- return resolve6(dirname7, moduleName, absoluteImports);
416590
+ return resolve6(dirname8, moduleName, absoluteImports);
416591
416591
  }, function(name2) {
416592
416592
  var _polyfillsNames$get, _polyfillsNames;
416593
416593
  return (_polyfillsNames$get = (_polyfillsNames = polyfillsNames) == null ? undefined : _polyfillsNames.get(name2)) != null ? _polyfillsNames$get : Infinity;
@@ -416641,7 +416641,7 @@ See more options at https://github.com/babel/babel-polyfills/blob/main/docs/usag
416641
416641
  return;
416642
416642
  }
416643
416643
  var dep = version3 === "*" ? name2 : name2 + "@^" + version3;
416644
- var found = missingDependencies.all ? false : mapGetOr(depsCache, name2 + " :: " + dirname7, function() {
416644
+ var found = missingDependencies.all ? false : mapGetOr(depsCache, name2 + " :: " + dirname8, function() {
416645
416645
  return has();
416646
416646
  });
416647
416647
  if (!found) {
@@ -416649,7 +416649,7 @@ See more options at https://github.com/babel/babel-polyfills/blob/main/docs/usag
416649
416649
  }
416650
416650
  }
416651
416651
  };
416652
- var provider = factory(api, providerOptions, dirname7);
416652
+ var provider = factory(api, providerOptions, dirname8);
416653
416653
  var providerName = provider.name || factory.name;
416654
416654
  if (typeof provider[methodName] !== "function") {
416655
416655
  throw new Error('The "' + providerName + `" provider doesn't support the "` + method2 + '" polyfilling method.');
@@ -416695,12 +416695,12 @@ See more options at https://github.com/babel/babel-polyfills/blob/main/docs/usag
416695
416695
  };
416696
416696
  }
416697
416697
  function definePolyfillProvider(factory) {
416698
- return declare(function(babelApi, options, dirname7) {
416698
+ return declare(function(babelApi, options, dirname8) {
416699
416699
  babelApi.assertVersion("^7.0.0 || ^8.0.0-alpha.0");
416700
416700
  var traverse2 = babelApi.traverse;
416701
416701
  var debugLog;
416702
416702
  var missingDependencies = applyMissingDependenciesDefaults(options, babelApi);
416703
- var _instantiateProvider = instantiateProvider(factory, options, missingDependencies, dirname7, function() {
416703
+ var _instantiateProvider = instantiateProvider(factory, options, missingDependencies, dirname8, function() {
416704
416704
  return debugLog;
416705
416705
  }, babelApi), debug14 = _instantiateProvider.debug, method2 = _instantiateProvider.method, targets = _instantiateProvider.targets, provider = _instantiateProvider.provider, providerName = _instantiateProvider.providerName, callProvider = _instantiateProvider.callProvider;
416706
416706
  var createVisitor = method2 === "entry-global" ? entry : usage;
@@ -418136,7 +418136,7 @@ Using plugins:`);
418136
418136
  sourceFileName: filename
418137
418137
  };
418138
418138
  }
418139
- function run(transformFn, script) {
418139
+ function run2(transformFn, script) {
418140
418140
  var scriptEl = document.createElement("script");
418141
418141
  if (script.type) {
418142
418142
  scriptEl.setAttribute("type", script.type);
@@ -418185,7 +418185,7 @@ Using plugins:`);
418185
418185
  var result = results[i2];
418186
418186
  if (result.loaded && !result.executed) {
418187
418187
  result.executed = true;
418188
- run(transformFn, result);
418188
+ run2(transformFn, result);
418189
418189
  } else if (!result.loaded && !result.error && !result.async) {
418190
418190
  break;
418191
418191
  }
@@ -426984,7 +426984,7 @@ import readline from "node:readline";
426984
426984
  import { execSync as execSync2 } from "node:child_process";
426985
426985
  var import_semver = __toESM2(require_semver2(), 1);
426986
426986
  // package.json
426987
- var version = "0.1.67";
426987
+ var version = "0.1.69";
426988
426988
  var package_default = {
426989
426989
  name: "@tscircuit/cli",
426990
426990
  version,
@@ -426993,7 +426993,7 @@ var package_default = {
426993
426993
  "@babel/standalone": "^7.26.9",
426994
426994
  "@biomejs/biome": "^1.9.4",
426995
426995
  "@tscircuit/core": "^0.0.353",
426996
- "@tscircuit/eval": "^0.0.131",
426996
+ "@tscircuit/eval": "^0.0.139",
426997
426997
  "@tscircuit/fake-snippets": "^0.0.12",
426998
426998
  "@tscircuit/file-server": "^0.0.14",
426999
426999
  "@tscircuit/runframe": "^0.0.278",
@@ -430972,6 +430972,105 @@ var import_semver2 = __toESM2(require_semver2(), 1);
430972
430972
  var import_debug = __toESM2(require_src(), 1);
430973
430973
  import * as fs11 from "node:fs";
430974
430974
  import * as path12 from "node:path";
430975
+
430976
+ // node_modules/kleur/index.mjs
430977
+ var FORCE_COLOR;
430978
+ var NODE_DISABLE_COLORS;
430979
+ var NO_COLOR;
430980
+ var TERM;
430981
+ var isTTY = true;
430982
+ if (typeof process !== "undefined") {
430983
+ ({ FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM } = process.env || {});
430984
+ isTTY = process.stdout && process.stdout.isTTY;
430985
+ }
430986
+ var $ = {
430987
+ enabled: !NODE_DISABLE_COLORS && NO_COLOR == null && TERM !== "dumb" && (FORCE_COLOR != null && FORCE_COLOR !== "0" || isTTY),
430988
+ reset: init(0, 0),
430989
+ bold: init(1, 22),
430990
+ dim: init(2, 22),
430991
+ italic: init(3, 23),
430992
+ underline: init(4, 24),
430993
+ inverse: init(7, 27),
430994
+ hidden: init(8, 28),
430995
+ strikethrough: init(9, 29),
430996
+ black: init(30, 39),
430997
+ red: init(31, 39),
430998
+ green: init(32, 39),
430999
+ yellow: init(33, 39),
431000
+ blue: init(34, 39),
431001
+ magenta: init(35, 39),
431002
+ cyan: init(36, 39),
431003
+ white: init(37, 39),
431004
+ gray: init(90, 39),
431005
+ grey: init(90, 39),
431006
+ bgBlack: init(40, 49),
431007
+ bgRed: init(41, 49),
431008
+ bgGreen: init(42, 49),
431009
+ bgYellow: init(43, 49),
431010
+ bgBlue: init(44, 49),
431011
+ bgMagenta: init(45, 49),
431012
+ bgCyan: init(46, 49),
431013
+ bgWhite: init(47, 49)
431014
+ };
431015
+ function run(arr, str) {
431016
+ let i = 0, tmp, beg = "", end = "";
431017
+ for (;i < arr.length; i++) {
431018
+ tmp = arr[i];
431019
+ beg += tmp.open;
431020
+ end += tmp.close;
431021
+ if (!!~str.indexOf(tmp.close)) {
431022
+ str = str.replace(tmp.rgx, tmp.close + tmp.open);
431023
+ }
431024
+ }
431025
+ return beg + str + end;
431026
+ }
431027
+ function chain(has, keys) {
431028
+ let ctx = { has, keys };
431029
+ ctx.reset = $.reset.bind(ctx);
431030
+ ctx.bold = $.bold.bind(ctx);
431031
+ ctx.dim = $.dim.bind(ctx);
431032
+ ctx.italic = $.italic.bind(ctx);
431033
+ ctx.underline = $.underline.bind(ctx);
431034
+ ctx.inverse = $.inverse.bind(ctx);
431035
+ ctx.hidden = $.hidden.bind(ctx);
431036
+ ctx.strikethrough = $.strikethrough.bind(ctx);
431037
+ ctx.black = $.black.bind(ctx);
431038
+ ctx.red = $.red.bind(ctx);
431039
+ ctx.green = $.green.bind(ctx);
431040
+ ctx.yellow = $.yellow.bind(ctx);
431041
+ ctx.blue = $.blue.bind(ctx);
431042
+ ctx.magenta = $.magenta.bind(ctx);
431043
+ ctx.cyan = $.cyan.bind(ctx);
431044
+ ctx.white = $.white.bind(ctx);
431045
+ ctx.gray = $.gray.bind(ctx);
431046
+ ctx.grey = $.grey.bind(ctx);
431047
+ ctx.bgBlack = $.bgBlack.bind(ctx);
431048
+ ctx.bgRed = $.bgRed.bind(ctx);
431049
+ ctx.bgGreen = $.bgGreen.bind(ctx);
431050
+ ctx.bgYellow = $.bgYellow.bind(ctx);
431051
+ ctx.bgBlue = $.bgBlue.bind(ctx);
431052
+ ctx.bgMagenta = $.bgMagenta.bind(ctx);
431053
+ ctx.bgCyan = $.bgCyan.bind(ctx);
431054
+ ctx.bgWhite = $.bgWhite.bind(ctx);
431055
+ return ctx;
431056
+ }
431057
+ function init(open2, close) {
431058
+ let blk = {
431059
+ open: `\x1B[${open2}m`,
431060
+ close: `\x1B[${close}m`,
431061
+ rgx: new RegExp(`\\x1b\\[${close}m`, "g")
431062
+ };
431063
+ return function(txt) {
431064
+ if (this !== undefined && this.has !== undefined) {
431065
+ !!~this.has.indexOf(open2) || (this.has.push(open2), this.keys.push(blk));
431066
+ return txt === undefined ? this : $.enabled ? run(this.keys, txt + "") : txt + "";
431067
+ }
431068
+ return txt === undefined ? chain([open2], [blk]) : $.enabled ? run([blk], txt + "") : txt + "";
431069
+ };
431070
+ }
431071
+ var kleur_default = $;
431072
+
431073
+ // lib/shared/push-snippet.ts
430975
431074
  var debug = import_debug.default("tsci:push-snippet");
430976
431075
  var pushSnippet = async ({
430977
431076
  filePath,
@@ -430994,7 +431093,7 @@ var pushSnippet = async ({
430994
431093
  snippetFilePath = defaultEntrypoint;
430995
431094
  onSuccess("No file provided. Using 'index.tsx' as the entrypoint.");
430996
431095
  } else {
430997
- onError("No entrypoint found. Run 'tsci init' to bootstrap a basic project.");
431096
+ onError(kleur_default.red("No entrypoint found. Run 'tsci init' to bootstrap a basic project."));
430998
431097
  return onExit(1);
430999
431098
  }
431000
431099
  }
@@ -431038,8 +431137,15 @@ var pushSnippet = async ({
431038
431137
  };
431039
431138
  const doesPackageExist = await ky2.post("packages/get", {
431040
431139
  json: { name: packageIdentifier },
431041
- throwHttpErrors: false
431042
- }).json().then((response) => !(response.error?.error_code === "package_not_found"));
431140
+ headers: { Authorization: `Bearer ${sessionToken}` }
431141
+ }).json().then((response) => {
431142
+ debug("doesPackageExist", response);
431143
+ return true;
431144
+ }).catch((error) => {
431145
+ if (error.response.status === 404) {
431146
+ return false;
431147
+ }
431148
+ });
431043
431149
  if (!doesPackageExist) {
431044
431150
  await ky2.post("packages/create", {
431045
431151
  json: {
@@ -431048,6 +431154,7 @@ var pushSnippet = async ({
431048
431154
  },
431049
431155
  headers: { Authorization: `Bearer ${sessionToken}` }
431050
431156
  }).then((response) => {
431157
+ debug("createPackage", response);
431051
431158
  onSuccess(`Package ${response.json()} created`);
431052
431159
  }).catch((error) => {
431053
431160
  onError(`Error creating package: ${error}`);
@@ -431057,15 +431164,20 @@ var pushSnippet = async ({
431057
431164
  const doesReleaseExist = await ky2.post("package_releases/get", {
431058
431165
  json: {
431059
431166
  package_name_with_version: `${packageIdentifier}@${packageVersion}`
431060
- },
431061
- throwHttpErrors: false
431167
+ }
431062
431168
  }).json().then((response) => {
431169
+ debug("doesReleaseExist", response);
431063
431170
  if (response.package_release?.version) {
431064
431171
  packageVersion = response.package_release.version;
431065
431172
  updatePackageJsonVersion(response.package_release.version);
431066
431173
  return true;
431067
431174
  }
431068
431175
  return !(response.error?.error_code === "package_release_not_found");
431176
+ }).catch((error) => {
431177
+ if (error.response.status === 404) {
431178
+ return false;
431179
+ }
431180
+ onError(`Error checking if release exists: ${error}`);
431069
431181
  });
431070
431182
  if (doesReleaseExist) {
431071
431183
  const bumpedVersion = import_semver2.default.inc(packageVersion, "patch");
@@ -431076,8 +431188,7 @@ var pushSnippet = async ({
431076
431188
  await ky2.post("package_releases/create", {
431077
431189
  json: {
431078
431190
  package_name_with_version: `${packageIdentifier}@${packageVersion}`
431079
- },
431080
- throwHttpErrors: false
431191
+ }
431081
431192
  }).catch((error) => {
431082
431193
  onError(`Error creating release: ${error}`);
431083
431194
  return onExit(1);
@@ -431095,12 +431206,13 @@ var pushSnippet = async ({
431095
431206
  file_path: file,
431096
431207
  content_text: fileContent,
431097
431208
  package_name_with_version: `${packageIdentifier}@${packageVersion}`
431098
- },
431099
- throwHttpErrors: false
431100
- }).then(() => {
431209
+ }
431210
+ }).json().then((response) => {
431211
+ debug("createPackageFile", response);
431101
431212
  onSuccess(`Uploaded file ${file} to the registry.`);
431102
431213
  }).catch((error) => {
431103
431214
  onError(`Error uploading file ${file}: ${error}`);
431215
+ return onExit(1);
431104
431216
  });
431105
431217
  }
431106
431218
  onSuccess([
@@ -433159,27 +433271,62 @@ function normalizeFsMap(fsMap) {
433159
433271
  return normalizedFsMap;
433160
433272
  }
433161
433273
 
433162
- // node_modules/@tscircuit/eval/dist/eval/chunk-QRJXXVE6.js
433163
- var resolveFilePath = (unknownFilePath, fsMapOrAllFilePaths) => {
433274
+ // node_modules/@tscircuit/eval/dist/eval/chunk-5UJ4EED4.js
433275
+ function dirname6(path14) {
433276
+ if (!path14)
433277
+ return ".";
433278
+ const normalizedPath = path14.replace(/\\/g, "/");
433279
+ const cleanPath = normalizedPath.replace(/\/+$/, "");
433280
+ if (cleanPath.indexOf("/") === -1)
433281
+ return ".";
433282
+ return cleanPath.substring(0, cleanPath.lastIndexOf("/")) || "/";
433283
+ }
433284
+ function resolveRelativePath(importPath, cwd) {
433285
+ if (importPath.startsWith("../")) {
433286
+ const parentDir = dirname6(cwd);
433287
+ return resolveRelativePath(importPath.slice(3), parentDir);
433288
+ }
433289
+ if (importPath.startsWith("./")) {
433290
+ return resolveRelativePath(importPath.slice(2), cwd);
433291
+ }
433292
+ if (importPath.startsWith("/")) {
433293
+ return importPath.slice(1);
433294
+ }
433295
+ return `${cwd}/${importPath}`;
433296
+ }
433297
+ var resolveFilePath = (unknownFilePath, fsMapOrAllFilePaths, cwd) => {
433298
+ const resolvedPath = cwd ? resolveRelativePath(unknownFilePath, cwd) : unknownFilePath;
433164
433299
  const filePaths = new Set(Array.isArray(fsMapOrAllFilePaths) ? fsMapOrAllFilePaths : Object.keys(fsMapOrAllFilePaths));
433165
- if (filePaths.has(unknownFilePath)) {
433166
- return unknownFilePath;
433300
+ if (filePaths.has(resolvedPath)) {
433301
+ return resolvedPath;
433167
433302
  }
433168
433303
  const normalizedFilePathMap = /* @__PURE__ */ new Map;
433169
433304
  for (const filePath of filePaths) {
433170
433305
  normalizedFilePathMap.set(normalizeFilePath(filePath), filePath);
433171
433306
  }
433172
- const normalizedUnknownFilePath = normalizeFilePath(unknownFilePath);
433173
- if (normalizedFilePathMap.has(normalizedUnknownFilePath)) {
433174
- return normalizedFilePathMap.get(normalizedUnknownFilePath);
433307
+ const normalizedResolvedPath = normalizeFilePath(resolvedPath);
433308
+ if (normalizedFilePathMap.has(normalizedResolvedPath)) {
433309
+ return normalizedFilePathMap.get(normalizedResolvedPath);
433175
433310
  }
433176
433311
  const extension = ["tsx", "ts", "json", "js", "jsx"];
433177
433312
  for (const ext of extension) {
433178
- const possibleFilePath = `${normalizedUnknownFilePath}.${ext}`;
433313
+ const possibleFilePath = `${normalizedResolvedPath}.${ext}`;
433179
433314
  if (normalizedFilePathMap.has(possibleFilePath)) {
433180
433315
  return normalizedFilePathMap.get(possibleFilePath);
433181
433316
  }
433182
433317
  }
433318
+ if (!unknownFilePath.startsWith("./") && !unknownFilePath.startsWith("../")) {
433319
+ const normalizedUnknownFilePath = normalizeFilePath(unknownFilePath);
433320
+ if (normalizedFilePathMap.has(normalizedUnknownFilePath)) {
433321
+ return normalizedFilePathMap.get(normalizedUnknownFilePath);
433322
+ }
433323
+ for (const ext of extension) {
433324
+ const possibleFilePath = `${normalizedUnknownFilePath}.${ext}`;
433325
+ if (normalizedFilePathMap.has(possibleFilePath)) {
433326
+ return normalizedFilePathMap.get(possibleFilePath);
433327
+ }
433328
+ }
433329
+ }
433183
433330
  return null;
433184
433331
  };
433185
433332
  var resolveFilePathOrThrow = (unknownFilePath, fsMapOrAllFilePaths) => {
@@ -433187,12 +433334,12 @@ var resolveFilePathOrThrow = (unknownFilePath, fsMapOrAllFilePaths) => {
433187
433334
  if (!resolvedFilePath) {
433188
433335
  throw new Error(`File not found "${unknownFilePath}", available paths:
433189
433336
 
433190
- ${Object.keys(fsMapOrAllFilePaths)}`);
433337
+ ${Object.keys(fsMapOrAllFilePaths).join(", ")}`);
433191
433338
  }
433192
433339
  return resolvedFilePath;
433193
433340
  };
433194
433341
 
433195
- // node_modules/@tscircuit/eval/dist/eval/chunk-72NX6DO2.js
433342
+ // node_modules/@tscircuit/eval/dist/eval/chunk-5MTASRV5.js
433196
433343
  var setupDefaultEntrypointIfNeeded = (opts) => {
433197
433344
  if (!opts.entrypoint && !opts.mainComponentPath) {
433198
433345
  if ("index.tsx" in opts.fsMap) {
@@ -455290,7 +455437,7 @@ extendCatalogue({
455290
455437
  Bug: Chip
455291
455438
  });
455292
455439
 
455293
- // node_modules/@tscircuit/eval/dist/eval/chunk-AURYNEQO.js
455440
+ // node_modules/@tscircuit/eval/dist/eval/chunk-VCOPK42V.js
455294
455441
  var React5 = __toESM2(require_react(), 1);
455295
455442
 
455296
455443
  // node_modules/jscad-fiber/dist/index.js
@@ -455965,7 +456112,7 @@ function createJSCADRenderer(jscad) {
455965
456112
  return { createJSCADRoot };
455966
456113
  }
455967
456114
 
455968
- // node_modules/@tscircuit/eval/dist/eval/chunk-AURYNEQO.js
456115
+ // node_modules/@tscircuit/eval/dist/eval/chunk-VCOPK42V.js
455969
456116
  var import_react9 = __toESM2(require_react(), 1);
455970
456117
  var import_standalone2 = __toESM2(require_babel(), 1);
455971
456118
  var Babel = __toESM2(require_babel(), 1);
@@ -455991,21 +456138,20 @@ function createExecutionContext(webWorkerConfiguration, opts = {}) {
455991
456138
  ...webWorkerConfiguration
455992
456139
  };
455993
456140
  }
455994
- function evalCompiledJs(compiledCode, preSuppliedImports) {
456141
+ function evalCompiledJs(compiledCode, preSuppliedImports, cwd) {
455995
456142
  globalThis.__tscircuit_require = (name) => {
455996
- if (name.startsWith("./")) {
455997
- const resolvedFilePath = resolveFilePath(name.slice(2), preSuppliedImports);
455998
- if (resolvedFilePath && preSuppliedImports[resolvedFilePath]) {
455999
- return preSuppliedImports[resolvedFilePath];
456000
- }
456143
+ const resolvedFilePath = resolveFilePath(name, preSuppliedImports, cwd);
456144
+ const hasResolvedFilePath = resolvedFilePath && preSuppliedImports[resolvedFilePath];
456145
+ if (!preSuppliedImports[name] && !hasResolvedFilePath) {
456146
+ throw new Error(`Import "${name}" not found ${cwd ? `in "${cwd}"` : ""}`);
456001
456147
  }
456002
- if (!preSuppliedImports[name]) {
456003
- throw new Error(`Import "${name}" not found`);
456004
- }
456005
- const mod = preSuppliedImports[name];
456148
+ const mod = preSuppliedImports[name] || preSuppliedImports[resolvedFilePath];
456006
456149
  return new Proxy(mod, {
456007
456150
  get(target, prop) {
456008
456151
  if (!(prop in target)) {
456152
+ if (prop === "default") {
456153
+ return;
456154
+ }
456009
456155
  throw new Error(`Component "${String(prop)}" is not exported by "${name}"`);
456010
456156
  }
456011
456157
  return target[prop];
@@ -456032,18 +456178,24 @@ var getImportsFromCode = (code) => {
456032
456178
  };
456033
456179
  var importLocalFile = async (importName, ctx, depth = 0) => {
456034
456180
  const { fsMap, preSuppliedImports } = ctx;
456035
- const fsPath = resolveFilePathOrThrow(importName.slice(2), fsMap);
456181
+ const fsPath = resolveFilePathOrThrow(importName, fsMap);
456036
456182
  if (!ctx.fsMap[fsPath]) {
456037
456183
  throw new Error(`File "${fsPath}" not found`);
456038
456184
  }
456039
456185
  const fileContent = fsMap[fsPath];
456040
456186
  if (fsPath.endsWith(".json")) {
456041
- preSuppliedImports[fsPath] = JSON.parse(fileContent);
456042
- } else if (fsPath.endsWith(".tsx")) {
456187
+ const jsonData = JSON.parse(fileContent);
456188
+ preSuppliedImports[fsPath] = {
456189
+ __esModule: true,
456190
+ default: jsonData
456191
+ };
456192
+ } else if (fsPath.endsWith(".tsx") || fsPath.endsWith(".ts")) {
456043
456193
  const importNames = getImportsFromCode(fileContent);
456044
456194
  for (const importName2 of importNames) {
456045
456195
  if (!preSuppliedImports[importName2]) {
456046
- await importEvalPath(importName2, ctx, depth + 1);
456196
+ await importEvalPath(importName2, ctx, depth + 1, {
456197
+ cwd: dirname6(fsPath)
456198
+ });
456047
456199
  }
456048
456200
  }
456049
456201
  const result = Babel.transform(fileContent, {
@@ -456055,13 +456207,13 @@ var importLocalFile = async (importName, ctx, depth = 0) => {
456055
456207
  throw new Error("Failed to transform code");
456056
456208
  }
456057
456209
  try {
456058
- const importRunResult = evalCompiledJs(result.code, preSuppliedImports);
456210
+ const importRunResult = evalCompiledJs(result.code, preSuppliedImports, dirname6(fsPath));
456059
456211
  preSuppliedImports[fsPath] = importRunResult.exports;
456060
456212
  } catch (error) {
456061
456213
  throw new Error(`Eval compiled js error for "${importName}": ${error.message}`);
456062
456214
  }
456063
456215
  } else if (fsPath.endsWith(".js")) {
456064
- preSuppliedImports[importName] = evalCompiledJs(fileContent, preSuppliedImports).exports;
456216
+ preSuppliedImports[importName] = evalCompiledJs(fileContent, preSuppliedImports, dirname6(fsPath)).exports;
456065
456217
  } else {
456066
456218
  throw new Error(`Unsupported file extension "${fsPath.split(".").pop()}" for "${fsPath}"`);
456067
456219
  }
@@ -456080,7 +456232,7 @@ async function importSnippet(importName, ctx, depth = 0) {
456080
456232
  console.error("Error importing snippet", e);
456081
456233
  }
456082
456234
  }
456083
- async function importEvalPath(importName, ctx, depth = 0) {
456235
+ async function importEvalPath(importName, ctx, depth = 0, opts = {}) {
456084
456236
  if (ctx.verbose) {
456085
456237
  console.log(`[Worker] ${" ".repeat(depth)}➡️`, importName);
456086
456238
  }
@@ -456093,13 +456245,14 @@ async function importEvalPath(importName, ctx, depth = 0) {
456093
456245
  console.log("Max depth for imports reached");
456094
456246
  return;
456095
456247
  }
456096
- if (importName.startsWith("./")) {
456097
- return importLocalFile(importName, ctx, depth);
456248
+ const resolvedLocalImportPath = resolveFilePath(importName, ctx.fsMap, opts.cwd);
456249
+ if (resolvedLocalImportPath) {
456250
+ return importLocalFile(resolvedLocalImportPath, ctx, depth);
456098
456251
  }
456099
456252
  if (importName.startsWith("@tsci/")) {
456100
456253
  return importSnippet(importName, ctx, depth);
456101
456254
  }
456102
- throw new Error(`Unsupported module import, file an issue "${importName}"`);
456255
+ throw new Error(`Unresolved import "${importName}" ${opts.cwd ? `from directory "${opts.cwd}"` : ""}`);
456103
456256
  }
456104
456257
  var CircuitRunner = class {
456105
456258
  constructor() {
@@ -456195,6 +456348,15 @@ var import_debug20 = __toESM2(require_src(), 1);
456195
456348
  import path14 from "node:path";
456196
456349
  import fs15 from "node:fs";
456197
456350
  var debug14 = import_debug20.default("tsci:generate-circuit-json");
456351
+ var ALLOWED_FILE_EXTENSIONS = [
456352
+ ".tsx",
456353
+ ".ts",
456354
+ ".jsx",
456355
+ ".js",
456356
+ ".json",
456357
+ ".txt",
456358
+ ".md"
456359
+ ];
456198
456360
  async function generateCircuitJson({
456199
456361
  filePath,
456200
456362
  outputDir,
@@ -456214,16 +456376,23 @@ async function generateCircuitJson({
456214
456376
  const fsMap = {
456215
456377
  ...await import_make_vfs2.getVirtualFileSystemFromDirPath({
456216
456378
  dirPath: projectDir,
456379
+ fileMatchFn: (filePath2) => {
456380
+ if (filePath2.includes("node_modules/"))
456381
+ return false;
456382
+ if (filePath2.includes("dist/"))
456383
+ return false;
456384
+ if (filePath2.includes("build/"))
456385
+ return false;
456386
+ if (filePath2.match(/^\.[^\/]/))
456387
+ return false;
456388
+ if (!ALLOWED_FILE_EXTENSIONS.includes(path14.extname(filePath2)))
456389
+ return false;
456390
+ return true;
456391
+ },
456217
456392
  contentFormat: "string"
456218
- }),
456219
- "entrypoint.tsx": `
456220
- import MyCircuit from "./${relativeComponentPath}"
456221
-
456222
- circuit.add(<MyCircuit />)
456223
- `
456393
+ })
456224
456394
  };
456225
456395
  await runner.executeWithFsMap({
456226
- entrypoint: "entrypoint.tsx",
456227
456396
  fsMap
456228
456397
  });
456229
456398
  await runner.renderUntilSettled();
@@ -456461,103 +456630,6 @@ circuit.add(<MyCircuit />)
456461
456630
  }
456462
456631
  }
456463
456632
 
456464
- // node_modules/kleur/index.mjs
456465
- var FORCE_COLOR;
456466
- var NODE_DISABLE_COLORS;
456467
- var NO_COLOR;
456468
- var TERM;
456469
- var isTTY = true;
456470
- if (typeof process !== "undefined") {
456471
- ({ FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM } = process.env || {});
456472
- isTTY = process.stdout && process.stdout.isTTY;
456473
- }
456474
- var $ = {
456475
- enabled: !NODE_DISABLE_COLORS && NO_COLOR == null && TERM !== "dumb" && (FORCE_COLOR != null && FORCE_COLOR !== "0" || isTTY),
456476
- reset: init(0, 0),
456477
- bold: init(1, 22),
456478
- dim: init(2, 22),
456479
- italic: init(3, 23),
456480
- underline: init(4, 24),
456481
- inverse: init(7, 27),
456482
- hidden: init(8, 28),
456483
- strikethrough: init(9, 29),
456484
- black: init(30, 39),
456485
- red: init(31, 39),
456486
- green: init(32, 39),
456487
- yellow: init(33, 39),
456488
- blue: init(34, 39),
456489
- magenta: init(35, 39),
456490
- cyan: init(36, 39),
456491
- white: init(37, 39),
456492
- gray: init(90, 39),
456493
- grey: init(90, 39),
456494
- bgBlack: init(40, 49),
456495
- bgRed: init(41, 49),
456496
- bgGreen: init(42, 49),
456497
- bgYellow: init(43, 49),
456498
- bgBlue: init(44, 49),
456499
- bgMagenta: init(45, 49),
456500
- bgCyan: init(46, 49),
456501
- bgWhite: init(47, 49)
456502
- };
456503
- function run(arr, str) {
456504
- let i = 0, tmp, beg = "", end = "";
456505
- for (;i < arr.length; i++) {
456506
- tmp = arr[i];
456507
- beg += tmp.open;
456508
- end += tmp.close;
456509
- if (!!~str.indexOf(tmp.close)) {
456510
- str = str.replace(tmp.rgx, tmp.close + tmp.open);
456511
- }
456512
- }
456513
- return beg + str + end;
456514
- }
456515
- function chain(has, keys) {
456516
- let ctx = { has, keys };
456517
- ctx.reset = $.reset.bind(ctx);
456518
- ctx.bold = $.bold.bind(ctx);
456519
- ctx.dim = $.dim.bind(ctx);
456520
- ctx.italic = $.italic.bind(ctx);
456521
- ctx.underline = $.underline.bind(ctx);
456522
- ctx.inverse = $.inverse.bind(ctx);
456523
- ctx.hidden = $.hidden.bind(ctx);
456524
- ctx.strikethrough = $.strikethrough.bind(ctx);
456525
- ctx.black = $.black.bind(ctx);
456526
- ctx.red = $.red.bind(ctx);
456527
- ctx.green = $.green.bind(ctx);
456528
- ctx.yellow = $.yellow.bind(ctx);
456529
- ctx.blue = $.blue.bind(ctx);
456530
- ctx.magenta = $.magenta.bind(ctx);
456531
- ctx.cyan = $.cyan.bind(ctx);
456532
- ctx.white = $.white.bind(ctx);
456533
- ctx.gray = $.gray.bind(ctx);
456534
- ctx.grey = $.grey.bind(ctx);
456535
- ctx.bgBlack = $.bgBlack.bind(ctx);
456536
- ctx.bgRed = $.bgRed.bind(ctx);
456537
- ctx.bgGreen = $.bgGreen.bind(ctx);
456538
- ctx.bgYellow = $.bgYellow.bind(ctx);
456539
- ctx.bgBlue = $.bgBlue.bind(ctx);
456540
- ctx.bgMagenta = $.bgMagenta.bind(ctx);
456541
- ctx.bgCyan = $.bgCyan.bind(ctx);
456542
- ctx.bgWhite = $.bgWhite.bind(ctx);
456543
- return ctx;
456544
- }
456545
- function init(open2, close) {
456546
- let blk = {
456547
- open: `\x1B[${open2}m`,
456548
- close: `\x1B[${close}m`,
456549
- rgx: new RegExp(`\\x1b\\[${close}m`, "g")
456550
- };
456551
- return function(txt) {
456552
- if (this !== undefined && this.has !== undefined) {
456553
- !!~this.has.indexOf(open2) || (this.has.push(open2), this.keys.push(blk));
456554
- return txt === undefined ? this : $.enabled ? run(this.keys, txt + "") : txt + "";
456555
- }
456556
- return txt === undefined ? chain([open2], [blk]) : $.enabled ? run([blk], txt + "") : txt + "";
456557
- };
456558
- }
456559
- var kleur_default = $;
456560
-
456561
456633
  // lib/getVersion.ts
456562
456634
  var import_semver3 = __toESM2(require_semver2(), 1);
456563
456635
  var getVersion = () => {