@teselagen/ove 0.0.7 → 0.0.9

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 (4) hide show
  1. package/index.js +708 -1115
  2. package/index.mjs +708 -1115
  3. package/index.umd.js +624 -1031
  4. package/package.json +1 -1
package/index.umd.js CHANGED
@@ -1765,7 +1765,7 @@ var __async = (__this, __arguments, generator) => {
1765
1765
  }
1766
1766
  __name(getFormattedMessage$1, "getFormattedMessage$1");
1767
1767
  var visitedMessages;
1768
- if (process.env.NODE_ENV !== "production") {
1768
+ if (production !== "production") {
1769
1769
  resetVisitedMessages();
1770
1770
  }
1771
1771
  function resetVisitedMessages() {
@@ -1863,7 +1863,7 @@ var __async = (__this, __arguments, generator) => {
1863
1863
  }, pluginProps, renderProps);
1864
1864
  var defaultKeys = Object.keys(defaultProps$4);
1865
1865
  var setDefaultProps = /* @__PURE__ */ __name(function setDefaultProps2(partialProps) {
1866
- if (process.env.NODE_ENV !== "production") {
1866
+ if (production !== "production") {
1867
1867
  validateProps(partialProps, []);
1868
1868
  }
1869
1869
  var keys2 = Object.keys(partialProps);
@@ -2104,7 +2104,7 @@ var __async = (__this, __arguments, generator) => {
2104
2104
  destroy: destroy2
2105
2105
  };
2106
2106
  if (!props.render) {
2107
- if (process.env.NODE_ENV !== "production") {
2107
+ if (production !== "production") {
2108
2108
  errorWhen(true, "render() function has not been supplied.");
2109
2109
  }
2110
2110
  return instance;
@@ -2553,7 +2553,7 @@ var __async = (__this, __arguments, generator) => {
2553
2553
  }
2554
2554
  instance.state.isMounted = true;
2555
2555
  createPopperInstance();
2556
- if (process.env.NODE_ENV !== "production") {
2556
+ if (production !== "production") {
2557
2557
  warnWhen(instance.props.interactive && appendTo === defaultProps$4.appendTo && node2.nextElementSibling !== popper2, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", "\n\n", "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", "\n\n", "Specifying `appendTo: document.body` silences this warning, but it", "assumes you are using a focus management solution to handle", "keyboard navigation.", "\n\n", "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
2558
2558
  }
2559
2559
  }
@@ -2622,7 +2622,7 @@ var __async = (__this, __arguments, generator) => {
2622
2622
  }
2623
2623
  __name(clearDelayTimeouts, "clearDelayTimeouts");
2624
2624
  function setProps(partialProps) {
2625
- if (process.env.NODE_ENV !== "production") {
2625
+ if (production !== "production") {
2626
2626
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning("setProps"));
2627
2627
  }
2628
2628
  if (instance.state.isDestroyed) {
@@ -2668,7 +2668,7 @@ var __async = (__this, __arguments, generator) => {
2668
2668
  }
2669
2669
  __name(setContent2, "setContent");
2670
2670
  function show() {
2671
- if (process.env.NODE_ENV !== "production") {
2671
+ if (production !== "production") {
2672
2672
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning("show"));
2673
2673
  }
2674
2674
  var isAlreadyVisible = instance.state.isVisible;
@@ -2728,7 +2728,7 @@ var __async = (__this, __arguments, generator) => {
2728
2728
  }
2729
2729
  __name(show, "show");
2730
2730
  function hide2() {
2731
- if (process.env.NODE_ENV !== "production") {
2731
+ if (production !== "production") {
2732
2732
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning("hide"));
2733
2733
  }
2734
2734
  var isAlreadyHidden = !instance.state.isVisible;
@@ -2771,7 +2771,7 @@ var __async = (__this, __arguments, generator) => {
2771
2771
  }
2772
2772
  __name(hide2, "hide");
2773
2773
  function hideWithInteractivity(event) {
2774
- if (process.env.NODE_ENV !== "production") {
2774
+ if (production !== "production") {
2775
2775
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning("hideWithInteractivity"));
2776
2776
  }
2777
2777
  getDocument().addEventListener("mousemove", debouncedOnMouseMove);
@@ -2780,7 +2780,7 @@ var __async = (__this, __arguments, generator) => {
2780
2780
  }
2781
2781
  __name(hideWithInteractivity, "hideWithInteractivity");
2782
2782
  function unmount() {
2783
- if (process.env.NODE_ENV !== "production") {
2783
+ if (production !== "production") {
2784
2784
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning("unmount"));
2785
2785
  }
2786
2786
  if (instance.state.isVisible) {
@@ -2804,7 +2804,7 @@ var __async = (__this, __arguments, generator) => {
2804
2804
  }
2805
2805
  __name(unmount, "unmount");
2806
2806
  function destroy2() {
2807
- if (process.env.NODE_ENV !== "production") {
2807
+ if (production !== "production") {
2808
2808
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning("destroy"));
2809
2809
  }
2810
2810
  if (instance.state.isDestroyed) {
@@ -2825,7 +2825,7 @@ var __async = (__this, __arguments, generator) => {
2825
2825
  optionalProps = {};
2826
2826
  }
2827
2827
  var plugins = defaultProps$4.plugins.concat(optionalProps.plugins || []);
2828
- if (process.env.NODE_ENV !== "production") {
2828
+ if (production !== "production") {
2829
2829
  validateTargets(targets);
2830
2830
  validateProps(optionalProps, plugins);
2831
2831
  }
@@ -2834,7 +2834,7 @@ var __async = (__this, __arguments, generator) => {
2834
2834
  plugins
2835
2835
  });
2836
2836
  var elements = getArrayOfElements(targets);
2837
- if (process.env.NODE_ENV !== "production") {
2837
+ if (production !== "production") {
2838
2838
  var isSingleContentElement = isElement$4(passedProps.content);
2839
2839
  var isMoreThanOneReferenceElement = elements.length > 1;
2840
2840
  warnWhen(isSingleContentElement && isMoreThanOneReferenceElement, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", "\n\n", "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", "\n\n", "1) content: element.innerHTML\n", "2) content: () => element.cloneNode(true)"].join(" "));
@@ -3013,10 +3013,10 @@ var __async = (__this, __arguments, generator) => {
3013
3013
  }, "bind");
3014
3014
  var bind$4 = bind$5;
3015
3015
  var toString$8 = Object.prototype.toString;
3016
- function isArray$u(val2) {
3016
+ function isArray$t(val2) {
3017
3017
  return toString$8.call(val2) === "[object Array]";
3018
3018
  }
3019
- __name(isArray$u, "isArray$u");
3019
+ __name(isArray$t, "isArray$t");
3020
3020
  function isUndefined$1(val2) {
3021
3021
  return typeof val2 === "undefined";
3022
3022
  }
@@ -3043,10 +3043,10 @@ var __async = (__this, __arguments, generator) => {
3043
3043
  return result;
3044
3044
  }
3045
3045
  __name(isArrayBufferView, "isArrayBufferView");
3046
- function isString$4(val2) {
3046
+ function isString$3(val2) {
3047
3047
  return typeof val2 === "string";
3048
3048
  }
3049
- __name(isString$4, "isString$4");
3049
+ __name(isString$3, "isString$3");
3050
3050
  function isNumber$6(val2) {
3051
3051
  return typeof val2 === "number";
3052
3052
  }
@@ -3105,7 +3105,7 @@ var __async = (__this, __arguments, generator) => {
3105
3105
  if (typeof obj !== "object") {
3106
3106
  obj = [obj];
3107
3107
  }
3108
- if (isArray$u(obj)) {
3108
+ if (isArray$t(obj)) {
3109
3109
  for (var i2 = 0, l2 = obj.length; i2 < l2; i2++) {
3110
3110
  fn2.call(null, obj[i2], i2, obj);
3111
3111
  }
@@ -3125,7 +3125,7 @@ var __async = (__this, __arguments, generator) => {
3125
3125
  result[key2] = merge$4(result[key2], val2);
3126
3126
  } else if (isPlainObject$6(val2)) {
3127
3127
  result[key2] = merge$4({}, val2);
3128
- } else if (isArray$u(val2)) {
3128
+ } else if (isArray$t(val2)) {
3129
3129
  result[key2] = val2.slice();
3130
3130
  } else {
3131
3131
  result[key2] = val2;
@@ -3157,12 +3157,12 @@ var __async = (__this, __arguments, generator) => {
3157
3157
  }
3158
3158
  __name(stripBOM, "stripBOM");
3159
3159
  var utils$g = {
3160
- isArray: isArray$u,
3160
+ isArray: isArray$t,
3161
3161
  isArrayBuffer,
3162
3162
  isBuffer: isBuffer$a,
3163
3163
  isFormData,
3164
3164
  isArrayBufferView,
3165
- isString: isString$4,
3165
+ isString: isString$3,
3166
3166
  isNumber: isNumber$6,
3167
3167
  isObject: isObject$h,
3168
3168
  isPlainObject: isPlainObject$6,
@@ -4440,7 +4440,7 @@ var __async = (__this, __arguments, generator) => {
4440
4440
  if (hasRequiredReactIs_development$1)
4441
4441
  return reactIs_development$1;
4442
4442
  hasRequiredReactIs_development$1 = 1;
4443
- if (process.env.NODE_ENV !== "production") {
4443
+ if (production !== "production") {
4444
4444
  (function() {
4445
4445
  var hasSymbol2 = typeof Symbol === "function" && Symbol.for;
4446
4446
  var REACT_ELEMENT_TYPE = hasSymbol2 ? Symbol.for("react.element") : 60103;
@@ -4610,7 +4610,7 @@ var __async = (__this, __arguments, generator) => {
4610
4610
  if (hasRequiredReactIs)
4611
4611
  return reactIs$1.exports;
4612
4612
  hasRequiredReactIs = 1;
4613
- if (process.env.NODE_ENV === "production") {
4613
+ if (production === "production") {
4614
4614
  reactIs$1.exports = requireReactIs_production_min$1();
4615
4615
  } else {
4616
4616
  reactIs$1.exports = requireReactIs_development$1();
@@ -4726,7 +4726,7 @@ var __async = (__this, __arguments, generator) => {
4726
4726
  hasRequiredCheckPropTypes = 1;
4727
4727
  var printWarning2 = /* @__PURE__ */ __name(function() {
4728
4728
  }, "printWarning");
4729
- if (process.env.NODE_ENV !== "production") {
4729
+ if (production !== "production") {
4730
4730
  var ReactPropTypesSecret = requireReactPropTypesSecret();
4731
4731
  var loggedTypeFailures = {};
4732
4732
  var has2 = requireHas();
@@ -4742,7 +4742,7 @@ var __async = (__this, __arguments, generator) => {
4742
4742
  }, "printWarning");
4743
4743
  }
4744
4744
  function checkPropTypes(typeSpecs, values, location2, componentName, getStack) {
4745
- if (process.env.NODE_ENV !== "production") {
4745
+ if (production !== "production") {
4746
4746
  for (var typeSpecName in typeSpecs) {
4747
4747
  if (has2(typeSpecs, typeSpecName)) {
4748
4748
  var error2;
@@ -4776,7 +4776,7 @@ var __async = (__this, __arguments, generator) => {
4776
4776
  }
4777
4777
  __name(checkPropTypes, "checkPropTypes");
4778
4778
  checkPropTypes.resetWarningCache = function() {
4779
- if (process.env.NODE_ENV !== "production") {
4779
+ if (production !== "production") {
4780
4780
  loggedTypeFailures = {};
4781
4781
  }
4782
4782
  };
@@ -4797,7 +4797,7 @@ var __async = (__this, __arguments, generator) => {
4797
4797
  var checkPropTypes = requireCheckPropTypes();
4798
4798
  var printWarning2 = /* @__PURE__ */ __name(function() {
4799
4799
  }, "printWarning");
4800
- if (process.env.NODE_ENV !== "production") {
4800
+ if (production !== "production") {
4801
4801
  printWarning2 = /* @__PURE__ */ __name(function(text2) {
4802
4802
  var message = "Warning: " + text2;
4803
4803
  if (typeof console !== "undefined") {
@@ -4813,7 +4813,7 @@ var __async = (__this, __arguments, generator) => {
4813
4813
  return null;
4814
4814
  }
4815
4815
  __name(emptyFunctionThatReturnsNull, "emptyFunctionThatReturnsNull");
4816
- factoryWithTypeCheckers = /* @__PURE__ */ __name(function(isValidElement, throwOnDirectAccess2) {
4816
+ factoryWithTypeCheckers = /* @__PURE__ */ __name(function(isValidElement, throwOnDirectAccess) {
4817
4817
  var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
4818
4818
  var FAUX_ITERATOR_SYMBOL = "@@iterator";
4819
4819
  function getIteratorFn(maybeIterable) {
@@ -4861,7 +4861,7 @@ var __async = (__this, __arguments, generator) => {
4861
4861
  __name(PropTypeError, "PropTypeError");
4862
4862
  PropTypeError.prototype = Error.prototype;
4863
4863
  function createChainableTypeChecker(validate2) {
4864
- if (process.env.NODE_ENV !== "production") {
4864
+ if (production !== "production") {
4865
4865
  var manualPropTypeCallCache = {};
4866
4866
  var manualPropTypeWarningCount = 0;
4867
4867
  }
@@ -4869,13 +4869,13 @@ var __async = (__this, __arguments, generator) => {
4869
4869
  componentName = componentName || ANONYMOUS;
4870
4870
  propFullName = propFullName || propName2;
4871
4871
  if (secret !== ReactPropTypesSecret) {
4872
- if (throwOnDirectAccess2) {
4872
+ if (throwOnDirectAccess) {
4873
4873
  var err2 = new Error(
4874
4874
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
4875
4875
  );
4876
4876
  err2.name = "Invariant Violation";
4877
4877
  throw err2;
4878
- } else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
4878
+ } else if (production !== "production" && typeof console !== "undefined") {
4879
4879
  var cacheKey = componentName + ":" + propName2;
4880
4880
  if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
4881
4881
  manualPropTypeWarningCount < 3) {
@@ -4989,7 +4989,7 @@ var __async = (__this, __arguments, generator) => {
4989
4989
  __name(createInstanceTypeChecker, "createInstanceTypeChecker");
4990
4990
  function createEnumTypeChecker(expectedValues) {
4991
4991
  if (!Array.isArray(expectedValues)) {
4992
- if (process.env.NODE_ENV !== "production") {
4992
+ if (production !== "production") {
4993
4993
  if (arguments.length > 1) {
4994
4994
  printWarning2(
4995
4995
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
@@ -5046,7 +5046,7 @@ var __async = (__this, __arguments, generator) => {
5046
5046
  __name(createObjectOfTypeChecker, "createObjectOfTypeChecker");
5047
5047
  function createUnionTypeChecker(arrayOfTypeCheckers) {
5048
5048
  if (!Array.isArray(arrayOfTypeCheckers)) {
5049
- process.env.NODE_ENV !== "production" ? printWarning2("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
5049
+ production !== "production" ? printWarning2("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
5050
5050
  return emptyFunctionThatReturnsNull;
5051
5051
  }
5052
5052
  for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
@@ -5325,14 +5325,22 @@ var __async = (__this, __arguments, generator) => {
5325
5325
  return factoryWithThrowingShims;
5326
5326
  }
5327
5327
  __name(requireFactoryWithThrowingShims, "requireFactoryWithThrowingShims");
5328
- if (process.env.NODE_ENV !== "production") {
5329
- var ReactIs$1 = requireReactIs();
5330
- var throwOnDirectAccess = true;
5331
- propTypes$1.exports = requireFactoryWithTypeCheckers()(ReactIs$1.isElement, throwOnDirectAccess);
5332
- } else {
5333
- propTypes$1.exports = requireFactoryWithThrowingShims()();
5328
+ var hasRequiredPropTypes;
5329
+ function requirePropTypes() {
5330
+ if (hasRequiredPropTypes)
5331
+ return propTypes$1.exports;
5332
+ hasRequiredPropTypes = 1;
5333
+ if (production !== "production") {
5334
+ var ReactIs2 = requireReactIs();
5335
+ var throwOnDirectAccess = true;
5336
+ propTypes$1.exports = requireFactoryWithTypeCheckers()(ReactIs2.isElement, throwOnDirectAccess);
5337
+ } else {
5338
+ propTypes$1.exports = requireFactoryWithThrowingShims()();
5339
+ }
5340
+ return propTypes$1.exports;
5334
5341
  }
5335
- var propTypesExports = propTypes$1.exports;
5342
+ __name(requirePropTypes, "requirePropTypes");
5343
+ var propTypesExports = requirePropTypes();
5336
5344
  const PropTypes = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
5337
5345
  function __awaiter$1(thisArg, _arguments, P2, generator) {
5338
5346
  function adopt(value) {
@@ -7607,12 +7615,12 @@ var __async = (__this, __arguments, generator) => {
7607
7615
  38: "'ownKeys()' can only be used on observable objects",
7608
7616
  39: "'defineProperty()' can only be used on observable objects"
7609
7617
  };
7610
- var errors = process.env.NODE_ENV !== "production" ? niceErrors : {};
7618
+ var errors = production !== "production" ? niceErrors : {};
7611
7619
  function die(error2) {
7612
7620
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
7613
7621
  args[_key - 1] = arguments[_key];
7614
7622
  }
7615
- if (process.env.NODE_ENV !== "production") {
7623
+ if (production !== "production") {
7616
7624
  var e2 = typeof error2 === "string" ? error2 : errors[error2];
7617
7625
  if (typeof e2 === "function")
7618
7626
  e2 = e2.apply(null, args);
@@ -7650,12 +7658,12 @@ var __async = (__this, __arguments, generator) => {
7650
7658
  var plainObjectString = /* @__PURE__ */ Object.toString();
7651
7659
  function assertProxies() {
7652
7660
  if (!hasProxy) {
7653
- die(process.env.NODE_ENV !== "production" ? "`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`" : "Proxy not available");
7661
+ die(production !== "production" ? "`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`" : "Proxy not available");
7654
7662
  }
7655
7663
  }
7656
7664
  __name(assertProxies, "assertProxies");
7657
7665
  function warnAboutProxyRequirement(msg) {
7658
- if (process.env.NODE_ENV !== "production" && globalState.verifyProxies) {
7666
+ if (production !== "production" && globalState.verifyProxies) {
7659
7667
  die("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to " + msg);
7660
7668
  }
7661
7669
  }
@@ -7932,7 +7940,7 @@ var __async = (__this, __arguments, generator) => {
7932
7940
  if (!hasProp(prototype, storedAnnotationsSymbol)) {
7933
7941
  addHiddenProp(prototype, storedAnnotationsSymbol, _extends$r({}, prototype[storedAnnotationsSymbol]));
7934
7942
  }
7935
- if (process.env.NODE_ENV !== "production" && isOverride(annotation) && !hasProp(prototype[storedAnnotationsSymbol], key2)) {
7943
+ if (production !== "production" && isOverride(annotation) && !hasProp(prototype[storedAnnotationsSymbol], key2)) {
7936
7944
  var fieldName = prototype.constructor.name + ".prototype." + key2.toString();
7937
7945
  die("'" + fieldName + "' is decorated with 'override', but no such decorated member was found on prototype.");
7938
7946
  }
@@ -7943,7 +7951,7 @@ var __async = (__this, __arguments, generator) => {
7943
7951
  }
7944
7952
  __name(storeAnnotation, "storeAnnotation");
7945
7953
  function assertNotDecorated(prototype, annotation, key2) {
7946
- if (process.env.NODE_ENV !== "production" && !isOverride(annotation) && hasProp(prototype[storedAnnotationsSymbol], key2)) {
7954
+ if (production !== "production" && !isOverride(annotation) && hasProp(prototype[storedAnnotationsSymbol], key2)) {
7947
7955
  var fieldName = prototype.constructor.name + ".prototype." + key2.toString();
7948
7956
  var currentAnnotationType = prototype[storedAnnotationsSymbol][key2].annotationType_;
7949
7957
  var requestedAnnotationType = annotation.annotationType_;
@@ -7953,7 +7961,7 @@ var __async = (__this, __arguments, generator) => {
7953
7961
  __name(assertNotDecorated, "assertNotDecorated");
7954
7962
  function collectStoredAnnotations(target) {
7955
7963
  if (!hasProp(target, storedAnnotationsSymbol)) {
7956
- if (process.env.NODE_ENV !== "production" && !target[storedAnnotationsSymbol]) {
7964
+ if (production !== "production" && !target[storedAnnotationsSymbol]) {
7957
7965
  die("No annotations were passed to makeObservable, but no decorated members have been found either");
7958
7966
  }
7959
7967
  addHiddenProp(target, storedAnnotationsSymbol, _extends$r({}, target[storedAnnotationsSymbol]));
@@ -7965,7 +7973,7 @@ var __async = (__this, __arguments, generator) => {
7965
7973
  var Atom = /* @__PURE__ */ function() {
7966
7974
  function Atom2(name_) {
7967
7975
  if (name_ === void 0) {
7968
- name_ = process.env.NODE_ENV !== "production" ? "Atom@" + getNextId() : "Atom";
7976
+ name_ = production !== "production" ? "Atom@" + getNextId() : "Atom";
7969
7977
  }
7970
7978
  this.name_ = void 0;
7971
7979
  this.isPendingUnobservation_ = false;
@@ -8116,7 +8124,7 @@ var __async = (__this, __arguments, generator) => {
8116
8124
  deep: false
8117
8125
  });
8118
8126
  }
8119
- if (process.env.NODE_ENV !== "production") {
8127
+ if (production !== "production") {
8120
8128
  die("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets");
8121
8129
  }
8122
8130
  }
@@ -8126,7 +8134,7 @@ var __async = (__this, __arguments, generator) => {
8126
8134
  }
8127
8135
  __name(referenceEnhancer, "referenceEnhancer");
8128
8136
  function refStructEnhancer(v2, oldValue) {
8129
- if (process.env.NODE_ENV !== "production" && isObservable$1(v2)) {
8137
+ if (production !== "production" && isObservable$1(v2)) {
8130
8138
  die("observable.struct should not be used with observable values");
8131
8139
  }
8132
8140
  if (deepEqual$2(v2, oldValue)) {
@@ -8173,7 +8181,7 @@ var __async = (__this, __arguments, generator) => {
8173
8181
  function assertActionDescriptor(adm, _ref, key2, _ref2) {
8174
8182
  var annotationType_ = _ref.annotationType_;
8175
8183
  var value = _ref2.value;
8176
- if (process.env.NODE_ENV !== "production" && !isFunction$8(value)) {
8184
+ if (production !== "production" && !isFunction$8(value)) {
8177
8185
  die("Cannot apply '" + annotationType_ + "' to '" + adm.name_ + "." + key2.toString() + "':" + ("\n'" + annotationType_ + "' can only be used on properties with a function value."));
8178
8186
  }
8179
8187
  }
@@ -8244,7 +8252,7 @@ var __async = (__this, __arguments, generator) => {
8244
8252
  function assertFlowDescriptor(adm, _ref, key2, _ref2) {
8245
8253
  var annotationType_ = _ref.annotationType_;
8246
8254
  var value = _ref2.value;
8247
- if (process.env.NODE_ENV !== "production" && !isFunction$8(value)) {
8255
+ if (production !== "production" && !isFunction$8(value)) {
8248
8256
  die("Cannot apply '" + annotationType_ + "' to '" + adm.name_ + "." + key2.toString() + "':" + ("\n'" + annotationType_ + "' can only be used on properties with a generator function value."));
8249
8257
  }
8250
8258
  }
@@ -8300,7 +8308,7 @@ var __async = (__this, __arguments, generator) => {
8300
8308
  function assertComputedDescriptor(adm, _ref, key2, _ref2) {
8301
8309
  var annotationType_ = _ref.annotationType_;
8302
8310
  var get2 = _ref2.get;
8303
- if (process.env.NODE_ENV !== "production" && !get2) {
8311
+ if (production !== "production" && !get2) {
8304
8312
  die("Cannot apply '" + annotationType_ + "' to '" + adm.name_ + "." + key2.toString() + "':" + ("\n'" + annotationType_ + "' can only be used on getter(+setter) properties."));
8305
8313
  }
8306
8314
  }
@@ -8326,7 +8334,7 @@ var __async = (__this, __arguments, generator) => {
8326
8334
  __name(extend_$4, "extend_$4");
8327
8335
  function assertObservableDescriptor(adm, _ref, key2, descriptor2) {
8328
8336
  var annotationType_ = _ref.annotationType_;
8329
- if (process.env.NODE_ENV !== "production" && !("value" in descriptor2)) {
8337
+ if (production !== "production" && !("value" in descriptor2)) {
8330
8338
  die("Cannot apply '" + annotationType_ + "' to '" + adm.name_ + "." + key2.toString() + "':" + ("\n'" + annotationType_ + "' cannot be used on getter/setter properties"));
8331
8339
  }
8332
8340
  }
@@ -8504,7 +8512,7 @@ var __async = (__this, __arguments, generator) => {
8504
8512
  if (isPlainObject$5(arg1)) {
8505
8513
  return createDecoratorAnnotation(createComputedAnnotation(COMPUTED, arg1));
8506
8514
  }
8507
- if (process.env.NODE_ENV !== "production") {
8515
+ if (production !== "production") {
8508
8516
  if (!isFunction$8(arg1)) {
8509
8517
  die("First argument to `computed` should be an expression.");
8510
8518
  }
@@ -8534,7 +8542,7 @@ var __async = (__this, __arguments, generator) => {
8534
8542
  if (autoAction2 === void 0) {
8535
8543
  autoAction2 = false;
8536
8544
  }
8537
- if (process.env.NODE_ENV !== "production") {
8545
+ if (production !== "production") {
8538
8546
  if (!isFunction$8(fn2)) {
8539
8547
  die("`action` can only be invoked on functions");
8540
8548
  }
@@ -8567,9 +8575,9 @@ var __async = (__this, __arguments, generator) => {
8567
8575
  }
8568
8576
  __name(executeAction, "executeAction");
8569
8577
  function _startAction(actionName, canRunAsDerivation, scope, args) {
8570
- var notifySpy_ = process.env.NODE_ENV !== "production" && isSpyEnabled() && !!actionName;
8578
+ var notifySpy_ = production !== "production" && isSpyEnabled() && !!actionName;
8571
8579
  var startTime_ = 0;
8572
- if (process.env.NODE_ENV !== "production" && notifySpy_) {
8580
+ if (production !== "production" && notifySpy_) {
8573
8581
  startTime_ = Date.now();
8574
8582
  var flattenedArgs = args ? Array.from(args) : EMPTY_ARRAY;
8575
8583
  spyReportStart({
@@ -8616,7 +8624,7 @@ var __async = (__this, __arguments, generator) => {
8616
8624
  if (runInfo.runAsAction_) {
8617
8625
  untrackedEnd(runInfo.prevDerivation_);
8618
8626
  }
8619
- if (process.env.NODE_ENV !== "production" && runInfo.notifySpy_) {
8627
+ if (production !== "production" && runInfo.notifySpy_) {
8620
8628
  spyReportEnd({
8621
8629
  time: Date.now() - runInfo.startTime_
8622
8630
  });
@@ -8651,7 +8659,7 @@ var __async = (__this, __arguments, generator) => {
8651
8659
  function ObservableValue2(value, enhancer, name_, notifySpy, equals) {
8652
8660
  var _this;
8653
8661
  if (name_ === void 0) {
8654
- name_ = process.env.NODE_ENV !== "production" ? "ObservableValue@" + getNextId() : "ObservableValue";
8662
+ name_ = production !== "production" ? "ObservableValue@" + getNextId() : "ObservableValue";
8655
8663
  }
8656
8664
  if (notifySpy === void 0) {
8657
8665
  notifySpy = true;
@@ -8672,7 +8680,7 @@ var __async = (__this, __arguments, generator) => {
8672
8680
  _this.name_ = name_;
8673
8681
  _this.equals = equals;
8674
8682
  _this.value_ = enhancer(value, void 0, name_);
8675
- if (process.env.NODE_ENV !== "production" && notifySpy && isSpyEnabled()) {
8683
+ if (production !== "production" && notifySpy && isSpyEnabled()) {
8676
8684
  spyReport({
8677
8685
  type: CREATE,
8678
8686
  object: _assertThisInitialized$3(_this),
@@ -8696,7 +8704,7 @@ var __async = (__this, __arguments, generator) => {
8696
8704
  newValue = this.prepareNewValue_(newValue);
8697
8705
  if (newValue !== globalState.UNCHANGED) {
8698
8706
  var notifySpy = isSpyEnabled();
8699
- if (process.env.NODE_ENV !== "production" && notifySpy) {
8707
+ if (production !== "production" && notifySpy) {
8700
8708
  spyReportStart({
8701
8709
  type: UPDATE,
8702
8710
  object: this,
@@ -8707,7 +8715,7 @@ var __async = (__this, __arguments, generator) => {
8707
8715
  });
8708
8716
  }
8709
8717
  this.setNewValue_(newValue);
8710
- if (process.env.NODE_ENV !== "production" && notifySpy) {
8718
+ if (production !== "production" && notifySpy) {
8711
8719
  spyReportEnd();
8712
8720
  }
8713
8721
  }
@@ -8811,9 +8819,9 @@ var __async = (__this, __arguments, generator) => {
8811
8819
  die(31);
8812
8820
  }
8813
8821
  this.derivation = options.get;
8814
- this.name_ = options.name || (process.env.NODE_ENV !== "production" ? "ComputedValue@" + getNextId() : "ComputedValue");
8822
+ this.name_ = options.name || (production !== "production" ? "ComputedValue@" + getNextId() : "ComputedValue");
8815
8823
  if (options.set) {
8816
- this.setter_ = createAction$1(process.env.NODE_ENV !== "production" ? this.name_ + "-setter" : "ComputedValue-setter", options.set);
8824
+ this.setter_ = createAction$1(production !== "production" ? this.name_ + "-setter" : "ComputedValue-setter", options.set);
8817
8825
  }
8818
8826
  this.equals_ = options.equals || (options.compareStructural || options.struct ? comparer.structural : comparer["default"]);
8819
8827
  this.scope_ = options.context;
@@ -8895,7 +8903,7 @@ var __async = (__this, __arguments, generator) => {
8895
8903
  var changed = wasSuspended || isCaughtException(oldValue) || isCaughtException(newValue) || !this.equals_(oldValue, newValue);
8896
8904
  if (changed) {
8897
8905
  this.value_ = newValue;
8898
- if (process.env.NODE_ENV !== "production" && isSpyEnabled()) {
8906
+ if (production !== "production" && isSpyEnabled()) {
8899
8907
  spyReport({
8900
8908
  observableKind: "computed",
8901
8909
  debugObjectName: this.name_,
@@ -8933,7 +8941,7 @@ var __async = (__this, __arguments, generator) => {
8933
8941
  if (!this.keepAlive_) {
8934
8942
  clearObserving(this);
8935
8943
  this.value_ = void 0;
8936
- if (process.env.NODE_ENV !== "production" && this.isTracing_ !== TraceMode.NONE) {
8944
+ if (production !== "production" && this.isTracing_ !== TraceMode.NONE) {
8937
8945
  console.log("[mobx.trace] Computed value '" + this.name_ + "' was suspended and it will recompute on the next access.");
8938
8946
  }
8939
8947
  }
@@ -8961,7 +8969,7 @@ var __async = (__this, __arguments, generator) => {
8961
8969
  });
8962
8970
  }, "observe_");
8963
8971
  _proto.warnAboutUntrackedRead_ = /* @__PURE__ */ __name(function warnAboutUntrackedRead_() {
8964
- if (!(process.env.NODE_ENV !== "production")) {
8972
+ if (!(production !== "production")) {
8965
8973
  return;
8966
8974
  }
8967
8975
  if (this.isTracing_ !== TraceMode.NONE) {
@@ -9045,7 +9053,7 @@ var __async = (__this, __arguments, generator) => {
9045
9053
  }
9046
9054
  __name(shouldCompute, "shouldCompute");
9047
9055
  function checkIfStateModificationsAreAllowed(atom) {
9048
- if (!(process.env.NODE_ENV !== "production")) {
9056
+ if (!(production !== "production")) {
9049
9057
  return;
9050
9058
  }
9051
9059
  var hasObservers = atom.observers_.size > 0;
@@ -9055,7 +9063,7 @@ var __async = (__this, __arguments, generator) => {
9055
9063
  }
9056
9064
  __name(checkIfStateModificationsAreAllowed, "checkIfStateModificationsAreAllowed");
9057
9065
  function checkIfStateReadsAreAllowed(observable2) {
9058
- if (process.env.NODE_ENV !== "production" && !globalState.allowStateReads && globalState.observableRequiresReaction) {
9066
+ if (production !== "production" && !globalState.allowStateReads && globalState.observableRequiresReaction) {
9059
9067
  console.warn("[mobx] Observable '" + observable2.name_ + "' being read outside a reactive context.");
9060
9068
  }
9061
9069
  }
@@ -9088,7 +9096,7 @@ var __async = (__this, __arguments, generator) => {
9088
9096
  }
9089
9097
  __name(trackDerivedFunction, "trackDerivedFunction");
9090
9098
  function warnAboutDerivationWithoutDependencies(derivation) {
9091
- if (!(process.env.NODE_ENV !== "production")) {
9099
+ if (!(production !== "production")) {
9092
9100
  return;
9093
9101
  }
9094
9102
  if (derivation.observing_.length !== 0) {
@@ -9331,7 +9339,7 @@ var __async = (__this, __arguments, generator) => {
9331
9339
  observable2.lowestObserverState_ = IDerivationState_.STALE_;
9332
9340
  observable2.observers_.forEach(function(d2) {
9333
9341
  if (d2.dependenciesState_ === IDerivationState_.UP_TO_DATE_) {
9334
- if (process.env.NODE_ENV !== "production" && d2.isTracing_ !== TraceMode.NONE) {
9342
+ if (production !== "production" && d2.isTracing_ !== TraceMode.NONE) {
9335
9343
  logTraceInfo(d2, observable2);
9336
9344
  }
9337
9345
  d2.onBecomeStale_();
@@ -9348,7 +9356,7 @@ var __async = (__this, __arguments, generator) => {
9348
9356
  observable2.observers_.forEach(function(d2) {
9349
9357
  if (d2.dependenciesState_ === IDerivationState_.POSSIBLY_STALE_) {
9350
9358
  d2.dependenciesState_ = IDerivationState_.STALE_;
9351
- if (process.env.NODE_ENV !== "production" && d2.isTracing_ !== TraceMode.NONE) {
9359
+ if (production !== "production" && d2.isTracing_ !== TraceMode.NONE) {
9352
9360
  logTraceInfo(d2, observable2);
9353
9361
  }
9354
9362
  } else if (d2.dependenciesState_ === IDerivationState_.UP_TO_DATE_) {
@@ -9395,7 +9403,7 @@ var __async = (__this, __arguments, generator) => {
9395
9403
  var Reaction = /* @__PURE__ */ function() {
9396
9404
  function Reaction2(name_, onInvalidate_, errorHandler_, requiresObservable_) {
9397
9405
  if (name_ === void 0) {
9398
- name_ = process.env.NODE_ENV !== "production" ? "Reaction@" + getNextId() : "Reaction";
9406
+ name_ = production !== "production" ? "Reaction@" + getNextId() : "Reaction";
9399
9407
  }
9400
9408
  this.name_ = void 0;
9401
9409
  this.onInvalidate_ = void 0;
@@ -9442,7 +9450,7 @@ var __async = (__this, __arguments, generator) => {
9442
9450
  this.isTrackPending_ = true;
9443
9451
  try {
9444
9452
  this.onInvalidate_();
9445
- if (process.env.NODE_ENV !== "production" && this.isTrackPending_ && isSpyEnabled()) {
9453
+ if (production !== "production" && this.isTrackPending_ && isSpyEnabled()) {
9446
9454
  spyReport({
9447
9455
  name: this.name_,
9448
9456
  type: "scheduled-reaction"
@@ -9463,7 +9471,7 @@ var __async = (__this, __arguments, generator) => {
9463
9471
  startBatch();
9464
9472
  var notify = isSpyEnabled();
9465
9473
  var startTime;
9466
- if (process.env.NODE_ENV !== "production" && notify) {
9474
+ if (production !== "production" && notify) {
9467
9475
  startTime = Date.now();
9468
9476
  spyReportStart({
9469
9477
  name: this.name_,
@@ -9483,7 +9491,7 @@ var __async = (__this, __arguments, generator) => {
9483
9491
  if (isCaughtException(result)) {
9484
9492
  this.reportExceptionInDerivation_(result.cause);
9485
9493
  }
9486
- if (process.env.NODE_ENV !== "production" && notify) {
9494
+ if (production !== "production" && notify) {
9487
9495
  spyReportEnd({
9488
9496
  time: Date.now() - startTime
9489
9497
  });
@@ -9499,13 +9507,13 @@ var __async = (__this, __arguments, generator) => {
9499
9507
  if (globalState.disableErrorBoundaries) {
9500
9508
  throw error2;
9501
9509
  }
9502
- var message = process.env.NODE_ENV !== "production" ? "[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '" + this + "'" : "[mobx] uncaught error in '" + this + "'";
9510
+ var message = production !== "production" ? "[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '" + this + "'" : "[mobx] uncaught error in '" + this + "'";
9503
9511
  if (!globalState.suppressReactionErrors) {
9504
9512
  console.error(message, error2);
9505
- } else if (process.env.NODE_ENV !== "production") {
9513
+ } else if (production !== "production") {
9506
9514
  console.warn("[mobx] (error in reaction '" + this.name_ + "' suppressed, fix error of causing action below)");
9507
9515
  }
9508
- if (process.env.NODE_ENV !== "production" && isSpyEnabled()) {
9516
+ if (production !== "production" && isSpyEnabled()) {
9509
9517
  spyReport({
9510
9518
  type: "error",
9511
9519
  name: this.name_,
@@ -9560,7 +9568,7 @@ var __async = (__this, __arguments, generator) => {
9560
9568
  var iterations = 0;
9561
9569
  while (allReactions.length > 0) {
9562
9570
  if (++iterations === MAX_REACTION_ITERATIONS) {
9563
- console.error(process.env.NODE_ENV !== "production" ? "Reaction doesn't converge to a stable state after " + MAX_REACTION_ITERATIONS + " iterations." + (" Probably there is a cycle in the reactive function: " + allReactions[0]) : "[mobx] cycle in reaction: " + allReactions[0]);
9571
+ console.error(production !== "production" ? "Reaction doesn't converge to a stable state after " + MAX_REACTION_ITERATIONS + " iterations." + (" Probably there is a cycle in the reactive function: " + allReactions[0]) : "[mobx] cycle in reaction: " + allReactions[0]);
9564
9572
  allReactions.splice(0);
9565
9573
  }
9566
9574
  var remainingReactions = allReactions.splice(0);
@@ -9582,11 +9590,11 @@ var __async = (__this, __arguments, generator) => {
9582
9590
  }
9583
9591
  __name(setReactionScheduler, "setReactionScheduler");
9584
9592
  function isSpyEnabled() {
9585
- return process.env.NODE_ENV !== "production" && !!globalState.spyListeners.length;
9593
+ return production !== "production" && !!globalState.spyListeners.length;
9586
9594
  }
9587
9595
  __name(isSpyEnabled, "isSpyEnabled");
9588
9596
  function spyReport(event) {
9589
- if (!(process.env.NODE_ENV !== "production")) {
9597
+ if (!(production !== "production")) {
9590
9598
  return;
9591
9599
  }
9592
9600
  if (!globalState.spyListeners.length) {
@@ -9599,7 +9607,7 @@ var __async = (__this, __arguments, generator) => {
9599
9607
  }
9600
9608
  __name(spyReport, "spyReport");
9601
9609
  function spyReportStart(event) {
9602
- if (!(process.env.NODE_ENV !== "production")) {
9610
+ if (!(production !== "production")) {
9603
9611
  return;
9604
9612
  }
9605
9613
  var change = _extends$r({}, event, {
@@ -9613,7 +9621,7 @@ var __async = (__this, __arguments, generator) => {
9613
9621
  spyReportEnd: true
9614
9622
  };
9615
9623
  function spyReportEnd(change) {
9616
- if (!(process.env.NODE_ENV !== "production")) {
9624
+ if (!(production !== "production")) {
9617
9625
  return;
9618
9626
  }
9619
9627
  if (change) {
@@ -9627,7 +9635,7 @@ var __async = (__this, __arguments, generator) => {
9627
9635
  }
9628
9636
  __name(spyReportEnd, "spyReportEnd");
9629
9637
  function spy(listener) {
9630
- if (!(process.env.NODE_ENV !== "production")) {
9638
+ if (!(production !== "production")) {
9631
9639
  console.warn("[mobx.spy] Is a no-op in production builds");
9632
9640
  return function() {
9633
9641
  };
@@ -9674,7 +9682,7 @@ var __async = (__this, __arguments, generator) => {
9674
9682
  autoAction: autoAction2
9675
9683
  }));
9676
9684
  }
9677
- if (process.env.NODE_ENV !== "production") {
9685
+ if (production !== "production") {
9678
9686
  die("Invalid arguments for `action`");
9679
9687
  }
9680
9688
  }, "action");
@@ -9696,7 +9704,7 @@ var __async = (__this, __arguments, generator) => {
9696
9704
  if (opts2 === void 0) {
9697
9705
  opts2 = EMPTY_OBJECT;
9698
9706
  }
9699
- if (process.env.NODE_ENV !== "production") {
9707
+ if (production !== "production") {
9700
9708
  if (!isFunction$8(view2)) {
9701
9709
  die("Autorun expects a function as first argument");
9702
9710
  }
@@ -9704,7 +9712,7 @@ var __async = (__this, __arguments, generator) => {
9704
9712
  die("Autorun does not accept actions since actions are untrackable");
9705
9713
  }
9706
9714
  }
9707
- var name2 = (_opts$name = (_opts = opts2) == null ? void 0 : _opts.name) != null ? _opts$name : process.env.NODE_ENV !== "production" ? view2.name || "Autorun@" + getNextId() : "Autorun";
9715
+ var name2 = (_opts$name = (_opts = opts2) == null ? void 0 : _opts.name) != null ? _opts$name : production !== "production" ? view2.name || "Autorun@" + getNextId() : "Autorun";
9708
9716
  var runSync = !opts2.scheduler && !opts2.delay;
9709
9717
  var reaction;
9710
9718
  if (runSync) {
@@ -9798,7 +9806,7 @@ var __async = (__this, __arguments, generator) => {
9798
9806
  }
9799
9807
  });
9800
9808
  globalState.allowStateReads = !globalState.observableRequiresReaction;
9801
- if (process.env.NODE_ENV !== "production" && globalState.disableErrorBoundaries === true) {
9809
+ if (production !== "production" && globalState.disableErrorBoundaries === true) {
9802
9810
  console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled.");
9803
9811
  }
9804
9812
  if (options.reactionScheduler) {
@@ -9807,7 +9815,7 @@ var __async = (__this, __arguments, generator) => {
9807
9815
  }
9808
9816
  __name(configure$1, "configure$1");
9809
9817
  function extendObservable(target, properties, annotations, options) {
9810
- if (process.env.NODE_ENV !== "production") {
9818
+ if (production !== "production") {
9811
9819
  if (arguments.length > 4) {
9812
9820
  die("'extendObservable' expected 2-4 arguments");
9813
9821
  }
@@ -9874,7 +9882,7 @@ var __async = (__this, __arguments, generator) => {
9874
9882
  if (isStringish(arg2)) {
9875
9883
  return storeAnnotation(arg1, arg2, flowAnnotation);
9876
9884
  }
9877
- if (process.env.NODE_ENV !== "production" && arguments.length !== 1) {
9885
+ if (production !== "production" && arguments.length !== 1) {
9878
9886
  die("Flow expects single argument with generator function");
9879
9887
  }
9880
9888
  var generator = arg1;
@@ -9960,7 +9968,7 @@ var __async = (__this, __arguments, generator) => {
9960
9968
  return false;
9961
9969
  }
9962
9970
  if (property2 !== void 0) {
9963
- if (process.env.NODE_ENV !== "production" && (isObservableMap(value) || isObservableArray(value))) {
9971
+ if (production !== "production" && (isObservableMap(value) || isObservableArray(value))) {
9964
9972
  return die("isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.");
9965
9973
  }
9966
9974
  if (isObservableObject(value)) {
@@ -9972,14 +9980,14 @@ var __async = (__this, __arguments, generator) => {
9972
9980
  }
9973
9981
  __name(_isObservable, "_isObservable");
9974
9982
  function isObservable$1(value) {
9975
- if (process.env.NODE_ENV !== "production" && arguments.length !== 1) {
9983
+ if (production !== "production" && arguments.length !== 1) {
9976
9984
  die("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property");
9977
9985
  }
9978
9986
  return _isObservable(value);
9979
9987
  }
9980
9988
  __name(isObservable$1, "isObservable$1");
9981
9989
  function trace() {
9982
- if (!(process.env.NODE_ENV !== "production")) {
9990
+ if (!(production !== "production")) {
9983
9991
  die("trace() is not available in production builds");
9984
9992
  }
9985
9993
  var enterBreakPoint = false;
@@ -10028,7 +10036,7 @@ var __async = (__this, __arguments, generator) => {
10028
10036
  __name(getAdm, "getAdm");
10029
10037
  var objectProxyTraps = {
10030
10038
  has: /* @__PURE__ */ __name(function has2(target, name2) {
10031
- if (process.env.NODE_ENV !== "production" && globalState.trackingDerivation) {
10039
+ if (production !== "production" && globalState.trackingDerivation) {
10032
10040
  warnAboutProxyRequirement("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead.");
10033
10041
  }
10034
10042
  return getAdm(target).has_(name2);
@@ -10041,14 +10049,14 @@ var __async = (__this, __arguments, generator) => {
10041
10049
  if (!isStringish(name2)) {
10042
10050
  return false;
10043
10051
  }
10044
- if (process.env.NODE_ENV !== "production" && !getAdm(target).values_.has(name2)) {
10052
+ if (production !== "production" && !getAdm(target).values_.has(name2)) {
10045
10053
  warnAboutProxyRequirement("add a new observable property through direct assignment. Use 'set' from 'mobx' instead.");
10046
10054
  }
10047
10055
  return (_getAdm$set_ = getAdm(target).set_(name2, value, true)) != null ? _getAdm$set_ : true;
10048
10056
  }, "set"),
10049
10057
  deleteProperty: /* @__PURE__ */ __name(function deleteProperty2(target, name2) {
10050
10058
  var _getAdm$delete_;
10051
- if (process.env.NODE_ENV !== "production") {
10059
+ if (production !== "production") {
10052
10060
  warnAboutProxyRequirement("delete properties from an observable object. Use 'remove' from 'mobx' instead.");
10053
10061
  }
10054
10062
  if (!isStringish(name2)) {
@@ -10058,13 +10066,13 @@ var __async = (__this, __arguments, generator) => {
10058
10066
  }, "deleteProperty"),
10059
10067
  defineProperty: /* @__PURE__ */ __name(function defineProperty2(target, name2, descriptor2) {
10060
10068
  var _getAdm$definePropert;
10061
- if (process.env.NODE_ENV !== "production") {
10069
+ if (production !== "production") {
10062
10070
  warnAboutProxyRequirement("define property on an observable object. Use 'defineProperty' from 'mobx' instead.");
10063
10071
  }
10064
10072
  return (_getAdm$definePropert = getAdm(target).defineProperty_(name2, descriptor2)) != null ? _getAdm$definePropert : true;
10065
10073
  }, "defineProperty"),
10066
10074
  ownKeys: /* @__PURE__ */ __name(function ownKeys2(target) {
10067
- if (process.env.NODE_ENV !== "production" && globalState.trackingDerivation) {
10075
+ if (production !== "production" && globalState.trackingDerivation) {
10068
10076
  warnAboutProxyRequirement("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead.");
10069
10077
  }
10070
10078
  return getAdm(target).ownKeys_();
@@ -10147,7 +10155,7 @@ var __async = (__this, __arguments, generator) => {
10147
10155
  startBatch();
10148
10156
  try {
10149
10157
  var _annotations;
10150
- if (process.env.NODE_ENV !== "production" && annotations && target[storedAnnotationsSymbol]) {
10158
+ if (production !== "production" && annotations && target[storedAnnotationsSymbol]) {
10151
10159
  die("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported.");
10152
10160
  }
10153
10161
  (_annotations = annotations) != null ? _annotations : annotations = collectStoredAnnotations(target);
@@ -10199,7 +10207,7 @@ var __async = (__this, __arguments, generator) => {
10199
10207
  var ObservableArrayAdministration = /* @__PURE__ */ function() {
10200
10208
  function ObservableArrayAdministration2(name2, enhancer, owned_, legacyMode_) {
10201
10209
  if (name2 === void 0) {
10202
- name2 = process.env.NODE_ENV !== "production" ? "ObservableArray@" + getNextId() : "ObservableArray";
10210
+ name2 = production !== "production" ? "ObservableArray@" + getNextId() : "ObservableArray";
10203
10211
  }
10204
10212
  this.owned_ = void 0;
10205
10213
  this.legacyMode_ = void 0;
@@ -10215,7 +10223,7 @@ var __async = (__this, __arguments, generator) => {
10215
10223
  this.legacyMode_ = legacyMode_;
10216
10224
  this.atom_ = new Atom(name2);
10217
10225
  this.enhancer_ = function(newV, oldV) {
10218
- return enhancer(newV, oldV, process.env.NODE_ENV !== "production" ? name2 + "[..]" : "ObservableArray[..]");
10226
+ return enhancer(newV, oldV, production !== "production" ? name2 + "[..]" : "ObservableArray[..]");
10219
10227
  };
10220
10228
  }
10221
10229
  __name(ObservableArrayAdministration2, "ObservableArrayAdministration");
@@ -10322,7 +10330,7 @@ var __async = (__this, __arguments, generator) => {
10322
10330
  newItems = newItems.length === 0 ? newItems : newItems.map(function(v2) {
10323
10331
  return _this.enhancer_(v2, void 0);
10324
10332
  });
10325
- if (this.legacyMode_ || process.env.NODE_ENV !== "production") {
10333
+ if (this.legacyMode_ || production !== "production") {
10326
10334
  var lengthDelta = newItems.length - deleteCount;
10327
10335
  this.updateArrayLength_(length, lengthDelta);
10328
10336
  }
@@ -10361,14 +10369,14 @@ var __async = (__this, __arguments, generator) => {
10361
10369
  newValue,
10362
10370
  oldValue
10363
10371
  } : null;
10364
- if (process.env.NODE_ENV !== "production" && notifySpy) {
10372
+ if (production !== "production" && notifySpy) {
10365
10373
  spyReportStart(change);
10366
10374
  }
10367
10375
  this.atom_.reportChanged();
10368
10376
  if (notify) {
10369
10377
  notifyListeners(this, change);
10370
10378
  }
10371
- if (process.env.NODE_ENV !== "production" && notifySpy) {
10379
+ if (production !== "production" && notifySpy) {
10372
10380
  spyReportEnd();
10373
10381
  }
10374
10382
  }, "notifyArrayChildUpdate_");
@@ -10386,20 +10394,20 @@ var __async = (__this, __arguments, generator) => {
10386
10394
  removedCount: removed.length,
10387
10395
  addedCount: added.length
10388
10396
  } : null;
10389
- if (process.env.NODE_ENV !== "production" && notifySpy) {
10397
+ if (production !== "production" && notifySpy) {
10390
10398
  spyReportStart(change);
10391
10399
  }
10392
10400
  this.atom_.reportChanged();
10393
10401
  if (notify) {
10394
10402
  notifyListeners(this, change);
10395
10403
  }
10396
- if (process.env.NODE_ENV !== "production" && notifySpy) {
10404
+ if (production !== "production" && notifySpy) {
10397
10405
  spyReportEnd();
10398
10406
  }
10399
10407
  }, "notifyArraySplice_");
10400
10408
  _proto.get_ = /* @__PURE__ */ __name(function get_(index2) {
10401
10409
  if (this.legacyMode_ && index2 >= this.values_.length) {
10402
- console.warn(process.env.NODE_ENV !== "production" ? "[mobx.array] Attempt to read an array index (" + index2 + ") that is out of bounds (" + this.values_.length + "). Please check length first. Out of bound indices will not be tracked by MobX" : "[mobx] Out of bounds read: " + index2);
10410
+ console.warn(production !== "production" ? "[mobx.array] Attempt to read an array index (" + index2 + ") that is out of bounds (" + this.values_.length + "). Please check length first. Out of bound indices will not be tracked by MobX" : "[mobx] Out of bounds read: " + index2);
10403
10411
  return void 0;
10404
10412
  }
10405
10413
  this.atom_.reportObserved();
@@ -10444,7 +10452,7 @@ var __async = (__this, __arguments, generator) => {
10444
10452
  }();
10445
10453
  function createObservableArray(initialValues2, enhancer, name2, owned) {
10446
10454
  if (name2 === void 0) {
10447
- name2 = process.env.NODE_ENV !== "production" ? "ObservableArray@" + getNextId() : "ObservableArray";
10455
+ name2 = production !== "production" ? "ObservableArray@" + getNextId() : "ObservableArray";
10448
10456
  }
10449
10457
  if (owned === void 0) {
10450
10458
  owned = false;
@@ -10624,7 +10632,7 @@ var __async = (__this, __arguments, generator) => {
10624
10632
  enhancer_ = deepEnhancer;
10625
10633
  }
10626
10634
  if (name_ === void 0) {
10627
- name_ = process.env.NODE_ENV !== "production" ? "ObservableMap@" + getNextId() : "ObservableMap";
10635
+ name_ = production !== "production" ? "ObservableMap@" + getNextId() : "ObservableMap";
10628
10636
  }
10629
10637
  this.enhancer_ = void 0;
10630
10638
  this.name_ = void 0;
@@ -10640,7 +10648,7 @@ var __async = (__this, __arguments, generator) => {
10640
10648
  if (!isFunction$8(Map)) {
10641
10649
  die(18);
10642
10650
  }
10643
- this.keysAtom_ = createAtom(process.env.NODE_ENV !== "production" ? this.name_ + ".keys()" : "ObservableMap.keys()");
10651
+ this.keysAtom_ = createAtom(production !== "production" ? this.name_ + ".keys()" : "ObservableMap.keys()");
10644
10652
  this.data_ = /* @__PURE__ */ new Map();
10645
10653
  this.hasMap_ = /* @__PURE__ */ new Map();
10646
10654
  allowStateChanges(true, function() {
@@ -10659,7 +10667,7 @@ var __async = (__this, __arguments, generator) => {
10659
10667
  }
10660
10668
  var entry = this.hasMap_.get(key2);
10661
10669
  if (!entry) {
10662
- var newEntry = entry = new ObservableValue(this.has_(key2), referenceEnhancer, process.env.NODE_ENV !== "production" ? this.name_ + "." + stringifyKey(key2) + "?" : "ObservableMap.key?", false);
10670
+ var newEntry = entry = new ObservableValue(this.has_(key2), referenceEnhancer, production !== "production" ? this.name_ + "." + stringifyKey(key2) + "?" : "ObservableMap.key?", false);
10663
10671
  this.hasMap_.set(key2, newEntry);
10664
10672
  onBecomeUnobserved(newEntry, function() {
10665
10673
  return _this2.hasMap_["delete"](key2);
@@ -10712,7 +10720,7 @@ var __async = (__this, __arguments, generator) => {
10712
10720
  oldValue: this.data_.get(key2).value_,
10713
10721
  name: key2
10714
10722
  } : null;
10715
- if (process.env.NODE_ENV !== "production" && notifySpy) {
10723
+ if (production !== "production" && notifySpy) {
10716
10724
  spyReportStart(_change);
10717
10725
  }
10718
10726
  transaction(function() {
@@ -10726,7 +10734,7 @@ var __async = (__this, __arguments, generator) => {
10726
10734
  if (notify) {
10727
10735
  notifyListeners(this, _change);
10728
10736
  }
10729
- if (process.env.NODE_ENV !== "production" && notifySpy) {
10737
+ if (production !== "production" && notifySpy) {
10730
10738
  spyReportEnd();
10731
10739
  }
10732
10740
  return true;
@@ -10748,14 +10756,14 @@ var __async = (__this, __arguments, generator) => {
10748
10756
  name: key2,
10749
10757
  newValue
10750
10758
  } : null;
10751
- if (process.env.NODE_ENV !== "production" && notifySpy) {
10759
+ if (production !== "production" && notifySpy) {
10752
10760
  spyReportStart(change);
10753
10761
  }
10754
10762
  observable2.setNewValue_(newValue);
10755
10763
  if (notify) {
10756
10764
  notifyListeners(this, change);
10757
10765
  }
10758
- if (process.env.NODE_ENV !== "production" && notifySpy) {
10766
+ if (production !== "production" && notifySpy) {
10759
10767
  spyReportEnd();
10760
10768
  }
10761
10769
  }
@@ -10765,7 +10773,7 @@ var __async = (__this, __arguments, generator) => {
10765
10773
  checkIfStateModificationsAreAllowed(this.keysAtom_);
10766
10774
  transaction(function() {
10767
10775
  var _this4$hasMap_$get;
10768
- var observable2 = new ObservableValue(newValue, _this4.enhancer_, process.env.NODE_ENV !== "production" ? _this4.name_ + "." + stringifyKey(key2) : "ObservableMap.key", false);
10776
+ var observable2 = new ObservableValue(newValue, _this4.enhancer_, production !== "production" ? _this4.name_ + "." + stringifyKey(key2) : "ObservableMap.key", false);
10769
10777
  _this4.data_.set(key2, observable2);
10770
10778
  newValue = observable2.value_;
10771
10779
  (_this4$hasMap_$get = _this4.hasMap_.get(key2)) == null ? void 0 : _this4$hasMap_$get.setNewValue_(true);
@@ -10781,13 +10789,13 @@ var __async = (__this, __arguments, generator) => {
10781
10789
  name: key2,
10782
10790
  newValue
10783
10791
  } : null;
10784
- if (process.env.NODE_ENV !== "production" && notifySpy) {
10792
+ if (production !== "production" && notifySpy) {
10785
10793
  spyReportStart(change);
10786
10794
  }
10787
10795
  if (notify) {
10788
10796
  notifyListeners(this, change);
10789
10797
  }
10790
- if (process.env.NODE_ENV !== "production" && notifySpy) {
10798
+ if (production !== "production" && notifySpy) {
10791
10799
  spyReportEnd();
10792
10800
  }
10793
10801
  }, "addValue_");
@@ -10940,7 +10948,7 @@ var __async = (__this, __arguments, generator) => {
10940
10948
  return Array.from(this);
10941
10949
  }, "toJSON");
10942
10950
  _proto.observe_ = /* @__PURE__ */ __name(function observe_(listener, fireImmediately) {
10943
- if (process.env.NODE_ENV !== "production" && fireImmediately === true) {
10951
+ if (production !== "production" && fireImmediately === true) {
10944
10952
  die("`observe` doesn't support fireImmediately=true in combination with maps.");
10945
10953
  }
10946
10954
  return registerListener(this, listener);
@@ -10989,7 +10997,7 @@ var __async = (__this, __arguments, generator) => {
10989
10997
  enhancer = deepEnhancer;
10990
10998
  }
10991
10999
  if (name_ === void 0) {
10992
- name_ = process.env.NODE_ENV !== "production" ? "ObservableSet@" + getNextId() : "ObservableSet";
11000
+ name_ = production !== "production" ? "ObservableSet@" + getNextId() : "ObservableSet";
10993
11001
  }
10994
11002
  this.name_ = void 0;
10995
11003
  this[$mobx] = ObservableSetMarker;
@@ -11054,7 +11062,7 @@ var __async = (__this, __arguments, generator) => {
11054
11062
  _this2.data_.add(_this2.enhancer_(value, void 0));
11055
11063
  _this2.atom_.reportChanged();
11056
11064
  });
11057
- var notifySpy = process.env.NODE_ENV !== "production" && isSpyEnabled();
11065
+ var notifySpy = production !== "production" && isSpyEnabled();
11058
11066
  var notify = hasListeners(this);
11059
11067
  var _change = notify || notifySpy ? {
11060
11068
  observableKind: "set",
@@ -11063,13 +11071,13 @@ var __async = (__this, __arguments, generator) => {
11063
11071
  object: this,
11064
11072
  newValue: value
11065
11073
  } : null;
11066
- if (notifySpy && process.env.NODE_ENV !== "production") {
11074
+ if (notifySpy && production !== "production") {
11067
11075
  spyReportStart(_change);
11068
11076
  }
11069
11077
  if (notify) {
11070
11078
  notifyListeners(this, _change);
11071
11079
  }
11072
- if (notifySpy && process.env.NODE_ENV !== "production") {
11080
+ if (notifySpy && production !== "production") {
11073
11081
  spyReportEnd();
11074
11082
  }
11075
11083
  }
@@ -11088,7 +11096,7 @@ var __async = (__this, __arguments, generator) => {
11088
11096
  }
11089
11097
  }
11090
11098
  if (this.has(value)) {
11091
- var notifySpy = process.env.NODE_ENV !== "production" && isSpyEnabled();
11099
+ var notifySpy = production !== "production" && isSpyEnabled();
11092
11100
  var notify = hasListeners(this);
11093
11101
  var _change2 = notify || notifySpy ? {
11094
11102
  observableKind: "set",
@@ -11097,7 +11105,7 @@ var __async = (__this, __arguments, generator) => {
11097
11105
  object: this,
11098
11106
  oldValue: value
11099
11107
  } : null;
11100
- if (notifySpy && process.env.NODE_ENV !== "production") {
11108
+ if (notifySpy && production !== "production") {
11101
11109
  spyReportStart(_change2);
11102
11110
  }
11103
11111
  transaction(function() {
@@ -11107,7 +11115,7 @@ var __async = (__this, __arguments, generator) => {
11107
11115
  if (notify) {
11108
11116
  notifyListeners(this, _change2);
11109
11117
  }
11110
- if (notifySpy && process.env.NODE_ENV !== "production") {
11118
+ if (notifySpy && production !== "production") {
11111
11119
  spyReportEnd();
11112
11120
  }
11113
11121
  return true;
@@ -11177,7 +11185,7 @@ var __async = (__this, __arguments, generator) => {
11177
11185
  return this;
11178
11186
  }, "replace");
11179
11187
  _proto.observe_ = /* @__PURE__ */ __name(function observe_(listener, fireImmediately) {
11180
- if (process.env.NODE_ENV !== "production" && fireImmediately === true) {
11188
+ if (production !== "production" && fireImmediately === true) {
11181
11189
  die("`observe` doesn't support fireImmediately=true in combination with sets.");
11182
11190
  }
11183
11191
  return registerListener(this, listener);
@@ -11234,12 +11242,12 @@ var __async = (__this, __arguments, generator) => {
11234
11242
  this.values_ = values_;
11235
11243
  this.name_ = name_;
11236
11244
  this.defaultAnnotation_ = defaultAnnotation_;
11237
- this.keysAtom_ = new Atom(process.env.NODE_ENV !== "production" ? this.name_ + ".keys" : "ObservableObject.keys");
11245
+ this.keysAtom_ = new Atom(production !== "production" ? this.name_ + ".keys" : "ObservableObject.keys");
11238
11246
  this.isPlainObject_ = isPlainObject$5(this.target_);
11239
- if (process.env.NODE_ENV !== "production" && !isAnnotation(this.defaultAnnotation_)) {
11247
+ if (production !== "production" && !isAnnotation(this.defaultAnnotation_)) {
11240
11248
  die("defaultAnnotation must be valid annotation");
11241
11249
  }
11242
- if (process.env.NODE_ENV !== "production") {
11250
+ if (production !== "production") {
11243
11251
  this.appliedAnnotations_ = {};
11244
11252
  }
11245
11253
  }
@@ -11269,7 +11277,7 @@ var __async = (__this, __arguments, generator) => {
11269
11277
  newValue = observable2.prepareNewValue_(newValue);
11270
11278
  if (newValue !== globalState.UNCHANGED) {
11271
11279
  var notify = hasListeners(this);
11272
- var notifySpy = process.env.NODE_ENV !== "production" && isSpyEnabled();
11280
+ var notifySpy = production !== "production" && isSpyEnabled();
11273
11281
  var _change = notify || notifySpy ? {
11274
11282
  type: UPDATE,
11275
11283
  observableKind: "object",
@@ -11279,14 +11287,14 @@ var __async = (__this, __arguments, generator) => {
11279
11287
  name: key2,
11280
11288
  newValue
11281
11289
  } : null;
11282
- if (process.env.NODE_ENV !== "production" && notifySpy) {
11290
+ if (production !== "production" && notifySpy) {
11283
11291
  spyReportStart(_change);
11284
11292
  }
11285
11293
  observable2.setNewValue_(newValue);
11286
11294
  if (notify) {
11287
11295
  notifyListeners(this, _change);
11288
11296
  }
11289
- if (process.env.NODE_ENV !== "production" && notifySpy) {
11297
+ if (production !== "production" && notifySpy) {
11290
11298
  spyReportEnd();
11291
11299
  }
11292
11300
  }
@@ -11327,7 +11335,7 @@ var __async = (__this, __arguments, generator) => {
11327
11335
  this.pendingKeys_ || (this.pendingKeys_ = /* @__PURE__ */ new Map());
11328
11336
  var entry = this.pendingKeys_.get(key2);
11329
11337
  if (!entry) {
11330
- entry = new ObservableValue(key2 in this.target_, referenceEnhancer, process.env.NODE_ENV !== "production" ? this.name_ + "." + stringifyKey(key2) + "?" : "ObservableObject.key?", false);
11338
+ entry = new ObservableValue(key2 in this.target_, referenceEnhancer, production !== "production" ? this.name_ + "." + stringifyKey(key2) + "?" : "ObservableObject.key?", false);
11331
11339
  this.pendingKeys_.set(key2, entry);
11332
11340
  }
11333
11341
  return entry.get();
@@ -11457,7 +11465,7 @@ var __async = (__this, __arguments, generator) => {
11457
11465
  } else {
11458
11466
  defineProperty$d(this.target_, key2, descriptor2);
11459
11467
  }
11460
- var observable2 = new ObservableValue(value, enhancer, process.env.NODE_ENV !== "production" ? this.name_ + "." + key2.toString() : "ObservableObject.key", false);
11468
+ var observable2 = new ObservableValue(value, enhancer, production !== "production" ? this.name_ + "." + key2.toString() : "ObservableObject.key", false);
11461
11469
  this.values_.set(key2, observable2);
11462
11470
  this.notifyPropertyAddition_(key2, observable2.value_);
11463
11471
  } finally {
@@ -11486,7 +11494,7 @@ var __async = (__this, __arguments, generator) => {
11486
11494
  return null;
11487
11495
  }
11488
11496
  }
11489
- options.name || (options.name = process.env.NODE_ENV !== "production" ? this.name_ + "." + key2.toString() : "ObservableObject.key");
11497
+ options.name || (options.name = production !== "production" ? this.name_ + "." + key2.toString() : "ObservableObject.key");
11490
11498
  options.context = this.proxy_ || this.target_;
11491
11499
  var cachedDescriptor = getCachedObservablePropDescriptor(key2);
11492
11500
  var descriptor2 = {
@@ -11530,7 +11538,7 @@ var __async = (__this, __arguments, generator) => {
11530
11538
  var _this$pendingKeys_, _this$pendingKeys_$ge;
11531
11539
  startBatch();
11532
11540
  var notify = hasListeners(this);
11533
- var notifySpy = process.env.NODE_ENV !== "production" && isSpyEnabled();
11541
+ var notifySpy = production !== "production" && isSpyEnabled();
11534
11542
  var observable2 = this.values_.get(key2);
11535
11543
  var value = void 0;
11536
11544
  if (!observable2 && (notify || notifySpy)) {
@@ -11544,7 +11552,7 @@ var __async = (__this, __arguments, generator) => {
11544
11552
  } else {
11545
11553
  delete this.target_[key2];
11546
11554
  }
11547
- if (process.env.NODE_ENV !== "production") {
11555
+ if (production !== "production") {
11548
11556
  delete this.appliedAnnotations_[key2];
11549
11557
  }
11550
11558
  if (observable2) {
@@ -11565,13 +11573,13 @@ var __async = (__this, __arguments, generator) => {
11565
11573
  oldValue: value,
11566
11574
  name: key2
11567
11575
  };
11568
- if (process.env.NODE_ENV !== "production" && notifySpy) {
11576
+ if (production !== "production" && notifySpy) {
11569
11577
  spyReportStart(_change2);
11570
11578
  }
11571
11579
  if (notify) {
11572
11580
  notifyListeners(this, _change2);
11573
11581
  }
11574
- if (process.env.NODE_ENV !== "production" && notifySpy) {
11582
+ if (production !== "production" && notifySpy) {
11575
11583
  spyReportEnd();
11576
11584
  }
11577
11585
  }
@@ -11581,7 +11589,7 @@ var __async = (__this, __arguments, generator) => {
11581
11589
  return true;
11582
11590
  }, "delete_");
11583
11591
  _proto.observe_ = /* @__PURE__ */ __name(function observe_(callback2, fireImmediately) {
11584
- if (process.env.NODE_ENV !== "production" && fireImmediately === true) {
11592
+ if (production !== "production" && fireImmediately === true) {
11585
11593
  die("`observe` doesn't support the fire immediately property for observable objects.");
11586
11594
  }
11587
11595
  return registerListener(this, callback2);
@@ -11592,7 +11600,7 @@ var __async = (__this, __arguments, generator) => {
11592
11600
  _proto.notifyPropertyAddition_ = /* @__PURE__ */ __name(function notifyPropertyAddition_(key2, value) {
11593
11601
  var _this$pendingKeys_2, _this$pendingKeys_2$g;
11594
11602
  var notify = hasListeners(this);
11595
- var notifySpy = process.env.NODE_ENV !== "production" && isSpyEnabled();
11603
+ var notifySpy = production !== "production" && isSpyEnabled();
11596
11604
  if (notify || notifySpy) {
11597
11605
  var change = notify || notifySpy ? {
11598
11606
  type: ADD,
@@ -11602,13 +11610,13 @@ var __async = (__this, __arguments, generator) => {
11602
11610
  name: key2,
11603
11611
  newValue: value
11604
11612
  } : null;
11605
- if (process.env.NODE_ENV !== "production" && notifySpy) {
11613
+ if (production !== "production" && notifySpy) {
11606
11614
  spyReportStart(change);
11607
11615
  }
11608
11616
  if (notify) {
11609
11617
  notifyListeners(this, change);
11610
11618
  }
11611
- if (process.env.NODE_ENV !== "production" && notifySpy) {
11619
+ if (production !== "production" && notifySpy) {
11612
11620
  spyReportEnd();
11613
11621
  }
11614
11622
  }
@@ -11627,19 +11635,19 @@ var __async = (__this, __arguments, generator) => {
11627
11635
  }();
11628
11636
  function asObservableObject(target, options) {
11629
11637
  var _options$name;
11630
- if (process.env.NODE_ENV !== "production" && options && isObservableObject(target)) {
11638
+ if (production !== "production" && options && isObservableObject(target)) {
11631
11639
  die("Options can't be provided for already observable objects.");
11632
11640
  }
11633
11641
  if (hasProp(target, $mobx)) {
11634
- if (process.env.NODE_ENV !== "production" && !(getAdministration(target) instanceof ObservableObjectAdministration)) {
11642
+ if (production !== "production" && !(getAdministration(target) instanceof ObservableObjectAdministration)) {
11635
11643
  die("Cannot convert '" + getDebugName(target) + "' into observable object:\nThe target is already observable of different type.\nExtending builtins is not supported.");
11636
11644
  }
11637
11645
  return target;
11638
11646
  }
11639
- if (process.env.NODE_ENV !== "production" && !Object.isExtensible(target)) {
11647
+ if (production !== "production" && !Object.isExtensible(target)) {
11640
11648
  die("Cannot make the designated object observable; it is not extensible");
11641
11649
  }
11642
- var name2 = (_options$name = options == null ? void 0 : options.name) != null ? _options$name : process.env.NODE_ENV !== "production" ? (isPlainObject$5(target) ? "ObservableObject" : target.constructor.name) + "@" + getNextId() : "ObservableObject";
11650
+ var name2 = (_options$name = options == null ? void 0 : options.name) != null ? _options$name : production !== "production" ? (isPlainObject$5(target) ? "ObservableObject" : target.constructor.name) + "@" + getNextId() : "ObservableObject";
11643
11651
  var adm = new ObservableObjectAdministration(target, /* @__PURE__ */ new Map(), String(name2), getAnnotationFromOptions(options));
11644
11652
  addHiddenProp(target, $mobx, adm);
11645
11653
  return target;
@@ -11666,17 +11674,17 @@ var __async = (__this, __arguments, generator) => {
11666
11674
  __name(isObservableObject, "isObservableObject");
11667
11675
  function recordAnnotationApplied(adm, annotation, key2) {
11668
11676
  var _adm$target_$storedAn;
11669
- if (process.env.NODE_ENV !== "production") {
11677
+ if (production !== "production") {
11670
11678
  adm.appliedAnnotations_[key2] = annotation;
11671
11679
  }
11672
11680
  (_adm$target_$storedAn = adm.target_[storedAnnotationsSymbol]) == null ? true : delete _adm$target_$storedAn[key2];
11673
11681
  }
11674
11682
  __name(recordAnnotationApplied, "recordAnnotationApplied");
11675
11683
  function assertAnnotable(adm, annotation, key2) {
11676
- if (process.env.NODE_ENV !== "production" && !isAnnotation(annotation)) {
11684
+ if (production !== "production" && !isAnnotation(annotation)) {
11677
11685
  die("Cannot annotate '" + adm.name_ + "." + key2.toString() + "': Invalid annotation.");
11678
11686
  }
11679
- if (process.env.NODE_ENV !== "production" && !isOverride(annotation) && hasProp(adm.appliedAnnotations_, key2)) {
11687
+ if (production !== "production" && !isOverride(annotation) && hasProp(adm.appliedAnnotations_, key2)) {
11680
11688
  var fieldName = adm.name_ + "." + key2.toString();
11681
11689
  var currentAnnotationType = adm.appliedAnnotations_[key2].annotationType_;
11682
11690
  var requestedAnnotationType = annotation.annotationType_;
@@ -11704,7 +11712,7 @@ var __async = (__this, __arguments, generator) => {
11704
11712
  function LegacyObservableArray2(initialValues2, enhancer, name2, owned) {
11705
11713
  var _this;
11706
11714
  if (name2 === void 0) {
11707
- name2 = process.env.NODE_ENV !== "production" ? "ObservableArray@" + getNextId() : "ObservableArray";
11715
+ name2 = production !== "production" ? "ObservableArray@" + getNextId() : "ObservableArray";
11708
11716
  }
11709
11717
  if (owned === void 0) {
11710
11718
  owned = false;
@@ -12041,7 +12049,7 @@ var __async = (__this, __arguments, generator) => {
12041
12049
  function observerBatching(reactionScheduler2) {
12042
12050
  if (!reactionScheduler2) {
12043
12051
  reactionScheduler2 = defaultNoopBatch;
12044
- if ("production" !== process.env.NODE_ENV) {
12052
+ if ("production" !== production) {
12045
12053
  console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native");
12046
12054
  }
12047
12055
  }
@@ -12261,7 +12269,7 @@ var __async = (__this, __arguments, generator) => {
12261
12269
  })["$$typeof"];
12262
12270
  function observer$1(baseComponent, options) {
12263
12271
  var _a2;
12264
- if (process.env.NODE_ENV !== "production" && warnObserverOptionsDeprecated && options) {
12272
+ if (production !== "production" && warnObserverOptionsDeprecated && options) {
12265
12273
  warnObserverOptionsDeprecated = false;
12266
12274
  console.warn("[mobx-react-lite] `observer(fn, { forwardRef: true })` is deprecated, use `observer(React.forwardRef(fn))`");
12267
12275
  }
@@ -12294,7 +12302,7 @@ var __async = (__this, __arguments, generator) => {
12294
12302
  }
12295
12303
  observerComponent = React$3.memo(observerComponent);
12296
12304
  copyStaticProperties(baseComponent, observerComponent);
12297
- if ("production" !== process.env.NODE_ENV) {
12305
+ if ("production" !== production) {
12298
12306
  Object.defineProperty(observerComponent, "contextTypes", {
12299
12307
  set: function() {
12300
12308
  var _a3;
@@ -12322,7 +12330,7 @@ var __async = (__this, __arguments, generator) => {
12322
12330
  });
12323
12331
  }
12324
12332
  __name(copyStaticProperties, "copyStaticProperties");
12325
- if ("production" !== process.env.NODE_ENV)
12333
+ if ("production" !== production)
12326
12334
  ;
12327
12335
  globalThis && globalThis.__read || function(o2, n2) {
12328
12336
  var m2 = typeof Symbol === "function" && o2[Symbol.iterator];
@@ -12656,7 +12664,7 @@ var __async = (__this, __arguments, generator) => {
12656
12664
  function n(n2) {
12657
12665
  for (var r2 = arguments.length, t2 = Array(r2 > 1 ? r2 - 1 : 0), e2 = 1; e2 < r2; e2++)
12658
12666
  t2[e2 - 1] = arguments[e2];
12659
- if ("production" !== process.env.NODE_ENV) {
12667
+ if ("production" !== production) {
12660
12668
  var i2 = Y[n2], o2 = i2 ? "function" == typeof i2 ? i2.apply(null, t2) : i2 : "unknown error nr: " + n2;
12661
12669
  throw Error("[Immer] " + o2);
12662
12670
  }
@@ -12759,10 +12767,10 @@ var __async = (__this, __arguments, generator) => {
12759
12767
  tn[n2] || (tn[n2] = r2);
12760
12768
  }
12761
12769
  __name(m, "m");
12762
- function _$3() {
12763
- return "production" === process.env.NODE_ENV || U$1 || n(0), U$1;
12770
+ function _$2() {
12771
+ return "production" === production || U$1 || n(0), U$1;
12764
12772
  }
12765
- __name(_$3, "_$3");
12773
+ __name(_$2, "_$2");
12766
12774
  function j$1(n2, r2) {
12767
12775
  r2 && (b("Patches"), n2.u = [], n2.s = [], n2.v = r2);
12768
12776
  }
@@ -12813,7 +12821,7 @@ var __async = (__this, __arguments, generator) => {
12813
12821
  }
12814
12822
  __name(M, "M");
12815
12823
  function A$1(e2, i2, o2, a2, c2, s2, v2) {
12816
- if ("production" !== process.env.NODE_ENV && c2 === o2 && n(5), r$1(c2)) {
12824
+ if ("production" !== production && c2 === o2 && n(5), r$1(c2)) {
12817
12825
  var p2 = M(e2, c2, s2 && i2 && 3 !== i2.i && !u$1(i2.R, a2) ? s2.concat(a2) : void 0);
12818
12826
  if (f$1(o2, a2, p2), !r$1(p2))
12819
12827
  return;
@@ -12856,12 +12864,12 @@ var __async = (__this, __arguments, generator) => {
12856
12864
  __name(E$1, "E$1");
12857
12865
  function N(n2, r2, t2) {
12858
12866
  var e2 = s(r2) ? b("MapSet").F(r2, t2) : v(r2) ? b("MapSet").T(r2, t2) : n2.O ? function(n3, r3) {
12859
- var t3 = Array.isArray(n3), e3 = { i: t3 ? 1 : 0, A: r3 ? r3.A : _$3(), P: false, I: false, R: {}, l: r3, t: n3, k: null, o: null, j: null, C: false }, i2 = e3, o2 = en;
12867
+ var t3 = Array.isArray(n3), e3 = { i: t3 ? 1 : 0, A: r3 ? r3.A : _$2(), P: false, I: false, R: {}, l: r3, t: n3, k: null, o: null, j: null, C: false }, i2 = e3, o2 = en;
12860
12868
  t3 && (i2 = [e3], o2 = on$1);
12861
12869
  var u2 = Proxy.revocable(i2, o2), a2 = u2.revoke, f2 = u2.proxy;
12862
12870
  return e3.k = f2, e3.j = a2, f2;
12863
12871
  }(r2, t2) : b("ES5").J(r2, t2);
12864
- return (t2 ? t2.A : _$3()).p.push(e2), e2;
12872
+ return (t2 ? t2.A : _$2()).p.push(e2), e2;
12865
12873
  }
12866
12874
  __name(N, "N");
12867
12875
  function R(e2) {
@@ -13082,9 +13090,9 @@ var __async = (__this, __arguments, generator) => {
13082
13090
  return arguments[0] = arguments[0][0], r2.apply(this, arguments);
13083
13091
  };
13084
13092
  }), on$1.deleteProperty = function(r2, t2) {
13085
- return "production" !== process.env.NODE_ENV && isNaN(parseInt(t2)) && n(13), on$1.set.call(this, r2, t2, void 0);
13093
+ return "production" !== production && isNaN(parseInt(t2)) && n(13), on$1.set.call(this, r2, t2, void 0);
13086
13094
  }, on$1.set = function(r2, t2, e2) {
13087
- return "production" !== process.env.NODE_ENV && "length" !== t2 && isNaN(parseInt(t2)) && n(14), en.set.call(this, r2[0], t2, e2, r2[0]);
13095
+ return "production" !== production && "length" !== t2 && isNaN(parseInt(t2)) && n(14), en.set.call(this, r2[0], t2, e2, r2[0]);
13088
13096
  };
13089
13097
  var un = function() {
13090
13098
  function e2(r2) {
@@ -13152,7 +13160,7 @@ var __async = (__this, __arguments, generator) => {
13152
13160
  return o2[Q].C = true, O(i3), o2;
13153
13161
  }, i2.finishDraft = function(r2, t2) {
13154
13162
  var e3 = r2 && r2[Q];
13155
- "production" !== process.env.NODE_ENV && (e3 && e3.C || n(9), e3.I && n(10));
13163
+ "production" !== production && (e3 && e3.C || n(9), e3.I && n(10));
13156
13164
  var i3 = e3.A;
13157
13165
  return j$1(i3, t2), P(void 0, i3);
13158
13166
  }, i2.setAutoFreeze = function(n2) {
@@ -19153,7 +19161,7 @@ var __async = (__this, __arguments, generator) => {
19153
19161
  }).call(commonjsGlobal);
19154
19162
  })(lodash, lodash.exports);
19155
19163
  var lodashExports = lodash.exports;
19156
- const _$2 = /* @__PURE__ */ getDefaultExportFromCjs(lodashExports);
19164
+ const _$1 = /* @__PURE__ */ getDefaultExportFromCjs(lodashExports);
19157
19165
  function _extends$q() {
19158
19166
  _extends$q = Object.assign ? Object.assign.bind() : function(target) {
19159
19167
  for (var i2 = 1; i2 < arguments.length; i2++) {
@@ -19301,7 +19309,7 @@ var __async = (__this, __arguments, generator) => {
19301
19309
  var MapProps = /* @__PURE__ */ __name(function MapProps2(props) {
19302
19310
  return factory(propsMapper(props));
19303
19311
  }, "MapProps");
19304
- if (process.env.NODE_ENV !== "production") {
19312
+ if (production !== "production") {
19305
19313
  return setDisplayName(wrapDisplayName(BaseComponent, "mapProps"))(MapProps);
19306
19314
  }
19307
19315
  return MapProps;
@@ -19311,7 +19319,7 @@ var __async = (__this, __arguments, generator) => {
19311
19319
  var hoc = mapProps(function(props) {
19312
19320
  return _extends$q({}, props, typeof input === "function" ? input(props) : input);
19313
19321
  });
19314
- if (process.env.NODE_ENV !== "production") {
19322
+ if (production !== "production") {
19315
19323
  return function(BaseComponent) {
19316
19324
  return setDisplayName(wrapDisplayName(BaseComponent, "withProps"))(hoc(BaseComponent));
19317
19325
  };
@@ -19379,7 +19387,7 @@ var __async = (__this, __arguments, generator) => {
19379
19387
  _this.handlers = mapValues(typeof handlers2 === "function" ? handlers2(_this.props) : handlers2, function(createHandler) {
19380
19388
  return function() {
19381
19389
  var handler = createHandler(_this.props);
19382
- if (process.env.NODE_ENV !== "production" && typeof handler !== "function") {
19390
+ if (production !== "production" && typeof handler !== "function") {
19383
19391
  console.error(
19384
19392
  // eslint-disable-line no-console
19385
19393
  "withHandlers(): Expected a map of higher-order functions. Refer to the docs for more info."
@@ -19397,7 +19405,7 @@ var __async = (__this, __arguments, generator) => {
19397
19405
  }, "render");
19398
19406
  return WithHandlers2;
19399
19407
  }(React$3.Component);
19400
- if (process.env.NODE_ENV !== "production") {
19408
+ if (production !== "production") {
19401
19409
  return setDisplayName(wrapDisplayName(BaseComponent, "withHandlers"))(WithHandlers);
19402
19410
  }
19403
19411
  return WithHandlers;
@@ -19435,7 +19443,7 @@ var __async = (__this, __arguments, generator) => {
19435
19443
  }, "render");
19436
19444
  return WithState2;
19437
19445
  }(React$3.Component);
19438
- if (process.env.NODE_ENV !== "production") {
19446
+ if (production !== "production") {
19439
19447
  return setDisplayName(wrapDisplayName(BaseComponent, "withState"))(WithState);
19440
19448
  }
19441
19449
  return WithState;
@@ -19459,7 +19467,7 @@ var __async = (__this, __arguments, generator) => {
19459
19467
  rightFactory = rightFactory || createFactory(right2(BaseComponent));
19460
19468
  return rightFactory(props);
19461
19469
  }, "Branch");
19462
- if (process.env.NODE_ENV !== "production") {
19470
+ if (production !== "production") {
19463
19471
  return setDisplayName(wrapDisplayName(BaseComponent, "branch"))(Branch);
19464
19472
  }
19465
19473
  return Branch;
@@ -19471,7 +19479,7 @@ var __async = (__this, __arguments, generator) => {
19471
19479
  var RenderComponent = /* @__PURE__ */ __name(function RenderComponent2(props) {
19472
19480
  return factory(props);
19473
19481
  }, "RenderComponent");
19474
- if (process.env.NODE_ENV !== "production") {
19482
+ if (production !== "production") {
19475
19483
  RenderComponent.displayName = wrapDisplayName(Component$$1, "renderComponent");
19476
19484
  }
19477
19485
  return RenderComponent;
@@ -19495,7 +19503,7 @@ var __async = (__this, __arguments, generator) => {
19495
19503
  }, "render");
19496
19504
  return ShouldUpdate2;
19497
19505
  }(React$3.Component);
19498
- if (process.env.NODE_ENV !== "production") {
19506
+ if (production !== "production") {
19499
19507
  return setDisplayName(wrapDisplayName(BaseComponent, "shouldUpdate"))(ShouldUpdate);
19500
19508
  }
19501
19509
  return ShouldUpdate;
@@ -19505,7 +19513,7 @@ var __async = (__this, __arguments, generator) => {
19505
19513
  var hoc = shouldUpdate(function(props, nextProps) {
19506
19514
  return !shallowEqual(pick(nextProps, propKeys), pick(props, propKeys));
19507
19515
  });
19508
- if (process.env.NODE_ENV !== "production") {
19516
+ if (production !== "production") {
19509
19517
  return function(BaseComponent) {
19510
19518
  return setDisplayName(wrapDisplayName(BaseComponent, "onlyUpdateForKeys"))(hoc(BaseComponent));
19511
19519
  };
@@ -19515,7 +19523,7 @@ var __async = (__this, __arguments, generator) => {
19515
19523
  var lifecycle = /* @__PURE__ */ __name(function lifecycle2(spec) {
19516
19524
  return function(BaseComponent) {
19517
19525
  var factory = createFactory(BaseComponent);
19518
- if (process.env.NODE_ENV !== "production" && spec.hasOwnProperty("render")) {
19526
+ if (production !== "production" && spec.hasOwnProperty("render")) {
19519
19527
  console.error("lifecycle() does not support the render method; its behavior is to pass all props and state to the base component.");
19520
19528
  }
19521
19529
  var Lifecycle2 = /* @__PURE__ */ function(_Component) {
@@ -19533,7 +19541,7 @@ var __async = (__this, __arguments, generator) => {
19533
19541
  Object.keys(spec).forEach(function(hook) {
19534
19542
  return Lifecycle2.prototype[hook] = spec[hook];
19535
19543
  });
19536
- if (process.env.NODE_ENV !== "production") {
19544
+ if (production !== "production") {
19537
19545
  return setDisplayName(wrapDisplayName(BaseComponent, "lifecycle"))(Lifecycle2);
19538
19546
  }
19539
19547
  return Lifecycle2;
@@ -19746,17 +19754,17 @@ var __async = (__this, __arguments, generator) => {
19746
19754
  return val2;
19747
19755
  throw TypeError("Can't convert object to primitive value");
19748
19756
  }, "_toPrimitive$1");
19749
- var anObject$3 = _anObject;
19757
+ var anObject$5 = _anObject;
19750
19758
  var IE8_DOM_DEFINE$1 = _ie8DomDefine;
19751
19759
  var toPrimitive$2 = _toPrimitive$1;
19752
- var dP$2 = Object.defineProperty;
19760
+ var dP$3 = Object.defineProperty;
19753
19761
  _objectDp.f = _descriptors ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
19754
- anObject$3(O2);
19762
+ anObject$5(O2);
19755
19763
  P2 = toPrimitive$2(P2, true);
19756
- anObject$3(Attributes);
19764
+ anObject$5(Attributes);
19757
19765
  if (IE8_DOM_DEFINE$1)
19758
19766
  try {
19759
- return dP$2(O2, P2, Attributes);
19767
+ return dP$3(O2, P2, Attributes);
19760
19768
  } catch (e2) {
19761
19769
  }
19762
19770
  if ("get" in Attributes || "set" in Attributes)
@@ -19773,10 +19781,10 @@ var __async = (__this, __arguments, generator) => {
19773
19781
  value
19774
19782
  };
19775
19783
  }, "_propertyDesc");
19776
- var dP$1 = _objectDp;
19784
+ var dP$2 = _objectDp;
19777
19785
  var createDesc$3 = _propertyDesc;
19778
19786
  var _hide = _descriptors ? function(object2, key2, value) {
19779
- return dP$1.f(object2, key2, createDesc$3(1, value));
19787
+ return dP$2.f(object2, key2, createDesc$3(1, value));
19780
19788
  } : function(object2, key2, value) {
19781
19789
  object2[key2] = value;
19782
19790
  return object2;
@@ -19790,7 +19798,7 @@ var __async = (__this, __arguments, generator) => {
19790
19798
  var ctx$1 = _ctx;
19791
19799
  var hide$3 = _hide;
19792
19800
  var has$e = _has;
19793
- var PROTOTYPE$1 = "prototype";
19801
+ var PROTOTYPE$2 = "prototype";
19794
19802
  var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source2) {
19795
19803
  var IS_FORCED = type2 & $export$8.F;
19796
19804
  var IS_GLOBAL = type2 & $export$8.G;
@@ -19799,8 +19807,8 @@ var __async = (__this, __arguments, generator) => {
19799
19807
  var IS_BIND = type2 & $export$8.B;
19800
19808
  var IS_WRAP = type2 & $export$8.W;
19801
19809
  var exports3 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
19802
- var expProto = exports3[PROTOTYPE$1];
19803
- var target = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$1];
19810
+ var expProto = exports3[PROTOTYPE$2];
19811
+ var target = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$2];
19804
19812
  var key2, own2, out;
19805
19813
  if (IS_GLOBAL)
19806
19814
  source2 = name2;
@@ -19824,7 +19832,7 @@ var __async = (__this, __arguments, generator) => {
19824
19832
  }
19825
19833
  return C.apply(this, arguments);
19826
19834
  }, "F");
19827
- F2[PROTOTYPE$1] = C[PROTOTYPE$1];
19835
+ F2[PROTOTYPE$2] = C[PROTOTYPE$2];
19828
19836
  return F2;
19829
19837
  }(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
19830
19838
  if (IS_PROTO) {
@@ -19847,16 +19855,25 @@ var __async = (__this, __arguments, generator) => {
19847
19855
  var _cof = /* @__PURE__ */ __name(function(it) {
19848
19856
  return toString$6.call(it).slice(8, -1);
19849
19857
  }, "_cof");
19850
- var cof$2 = _cof;
19851
- var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
19852
- return cof$2(it) == "String" ? it.split("") : Object(it);
19853
- };
19858
+ var _iobject;
19859
+ var hasRequired_iobject;
19860
+ function require_iobject() {
19861
+ if (hasRequired_iobject)
19862
+ return _iobject;
19863
+ hasRequired_iobject = 1;
19864
+ var cof2 = _cof;
19865
+ _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
19866
+ return cof2(it) == "String" ? it.split("") : Object(it);
19867
+ };
19868
+ return _iobject;
19869
+ }
19870
+ __name(require_iobject, "require_iobject");
19854
19871
  var _defined = /* @__PURE__ */ __name(function(it) {
19855
19872
  if (it == void 0)
19856
19873
  throw TypeError("Can't call method on " + it);
19857
19874
  return it;
19858
19875
  }, "_defined");
19859
- var IObject = _iobject;
19876
+ var IObject = require_iobject();
19860
19877
  var defined$2 = _defined;
19861
19878
  var _toIobject = /* @__PURE__ */ __name(function(it) {
19862
19879
  return IObject(defined$2(it));
@@ -19929,14 +19946,14 @@ var __async = (__this, __arguments, generator) => {
19929
19946
  var has$d = _has;
19930
19947
  var toIObject$4 = _toIobject;
19931
19948
  var arrayIndexOf$1 = _arrayIncludes$1(false);
19932
- var IE_PROTO$1 = _sharedKey("IE_PROTO");
19949
+ var IE_PROTO$2 = _sharedKey("IE_PROTO");
19933
19950
  var _objectKeysInternal = /* @__PURE__ */ __name(function(object2, names2) {
19934
19951
  var O2 = toIObject$4(object2);
19935
19952
  var i2 = 0;
19936
19953
  var result = [];
19937
19954
  var key2;
19938
19955
  for (key2 in O2)
19939
- if (key2 != IE_PROTO$1)
19956
+ if (key2 != IE_PROTO$2)
19940
19957
  has$d(O2, key2) && result.push(key2);
19941
19958
  while (names2.length > i2)
19942
19959
  if (has$d(O2, key2 = names2[i2++])) {
@@ -19946,14 +19963,22 @@ var __async = (__this, __arguments, generator) => {
19946
19963
  }, "_objectKeysInternal");
19947
19964
  var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
19948
19965
  var $keys$3 = _objectKeysInternal;
19949
- var enumBugKeys = _enumBugKeys;
19966
+ var enumBugKeys$1 = _enumBugKeys;
19950
19967
  var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys2(O2) {
19951
- return $keys$3(O2, enumBugKeys);
19968
+ return $keys$3(O2, enumBugKeys$1);
19952
19969
  }, "keys");
19953
19970
  var _objectGops = {};
19954
19971
  _objectGops.f = Object.getOwnPropertySymbols;
19955
19972
  var _objectPie = {};
19956
- _objectPie.f = {}.propertyIsEnumerable;
19973
+ var hasRequired_objectPie;
19974
+ function require_objectPie() {
19975
+ if (hasRequired_objectPie)
19976
+ return _objectPie;
19977
+ hasRequired_objectPie = 1;
19978
+ _objectPie.f = {}.propertyIsEnumerable;
19979
+ return _objectPie;
19980
+ }
19981
+ __name(require_objectPie, "require_objectPie");
19957
19982
  var defined$1 = _defined;
19958
19983
  var _toObject = /* @__PURE__ */ __name(function(it) {
19959
19984
  return Object(defined$1(it));
@@ -19967,9 +19992,9 @@ var __async = (__this, __arguments, generator) => {
19967
19992
  var DESCRIPTORS2 = _descriptors;
19968
19993
  var getKeys2 = _objectKeys;
19969
19994
  var gOPS2 = _objectGops;
19970
- var pIE2 = _objectPie;
19995
+ var pIE2 = require_objectPie();
19971
19996
  var toObject2 = _toObject;
19972
- var IObject2 = _iobject;
19997
+ var IObject2 = require_iobject();
19973
19998
  var $assign = Object.assign;
19974
19999
  _objectAssign = !$assign || _fails(function() {
19975
20000
  var A2 = {};
@@ -20030,28 +20055,19 @@ var __async = (__this, __arguments, generator) => {
20030
20055
  }, "_iterStep");
20031
20056
  var _iterators = {};
20032
20057
  var _redefine = _hide;
20033
- var _objectDps;
20034
- var hasRequired_objectDps;
20035
- function require_objectDps() {
20036
- if (hasRequired_objectDps)
20037
- return _objectDps;
20038
- hasRequired_objectDps = 1;
20039
- var dP2 = _objectDp;
20040
- var anObject2 = _anObject;
20041
- var getKeys2 = _objectKeys;
20042
- _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties2) {
20043
- anObject2(O2);
20044
- var keys2 = getKeys2(Properties2);
20045
- var length = keys2.length;
20046
- var i2 = 0;
20047
- var P2;
20048
- while (length > i2)
20049
- dP2.f(O2, P2 = keys2[i2++], Properties2[P2]);
20050
- return O2;
20051
- }, "defineProperties");
20052
- return _objectDps;
20053
- }
20054
- __name(require_objectDps, "require_objectDps");
20058
+ var dP$1 = _objectDp;
20059
+ var anObject$4 = _anObject;
20060
+ var getKeys$1 = _objectKeys;
20061
+ var _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties2) {
20062
+ anObject$4(O2);
20063
+ var keys2 = getKeys$1(Properties2);
20064
+ var length = keys2.length;
20065
+ var i2 = 0;
20066
+ var P2;
20067
+ while (length > i2)
20068
+ dP$1.f(O2, P2 = keys2[i2++], Properties2[P2]);
20069
+ return O2;
20070
+ }, "defineProperties");
20055
20071
  var _html;
20056
20072
  var hasRequired_html;
20057
20073
  function require_html() {
@@ -20063,51 +20079,42 @@ var __async = (__this, __arguments, generator) => {
20063
20079
  return _html;
20064
20080
  }
20065
20081
  __name(require_html, "require_html");
20066
- var _objectCreate;
20067
- var hasRequired_objectCreate;
20068
- function require_objectCreate() {
20069
- if (hasRequired_objectCreate)
20070
- return _objectCreate;
20071
- hasRequired_objectCreate = 1;
20072
- var anObject2 = _anObject;
20073
- var dPs = require_objectDps();
20074
- var enumBugKeys2 = _enumBugKeys;
20075
- var IE_PROTO2 = _sharedKey("IE_PROTO");
20076
- var Empty = /* @__PURE__ */ __name(function() {
20077
- }, "Empty");
20078
- var PROTOTYPE2 = "prototype";
20079
- var createDict = /* @__PURE__ */ __name(function() {
20080
- var iframe = require_domCreate()("iframe");
20081
- var i2 = enumBugKeys2.length;
20082
- var lt = "<";
20083
- var gt = ">";
20084
- var iframeDocument;
20085
- iframe.style.display = "none";
20086
- require_html().appendChild(iframe);
20087
- iframe.src = "javascript:";
20088
- iframeDocument = iframe.contentWindow.document;
20089
- iframeDocument.open();
20090
- iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
20091
- iframeDocument.close();
20092
- createDict = iframeDocument.F;
20093
- while (i2--)
20094
- delete createDict[PROTOTYPE2][enumBugKeys2[i2]];
20095
- return createDict();
20096
- }, "createDict");
20097
- _objectCreate = Object.create || /* @__PURE__ */ __name(function create2(O2, Properties2) {
20098
- var result;
20099
- if (O2 !== null) {
20100
- Empty[PROTOTYPE2] = anObject2(O2);
20101
- result = new Empty();
20102
- Empty[PROTOTYPE2] = null;
20103
- result[IE_PROTO2] = O2;
20104
- } else
20105
- result = createDict();
20106
- return Properties2 === void 0 ? result : dPs(result, Properties2);
20107
- }, "create");
20108
- return _objectCreate;
20109
- }
20110
- __name(require_objectCreate, "require_objectCreate");
20082
+ var anObject$3 = _anObject;
20083
+ var dPs = _objectDps;
20084
+ var enumBugKeys = _enumBugKeys;
20085
+ var IE_PROTO$1 = _sharedKey("IE_PROTO");
20086
+ var Empty = /* @__PURE__ */ __name(function() {
20087
+ }, "Empty");
20088
+ var PROTOTYPE$1 = "prototype";
20089
+ var createDict = /* @__PURE__ */ __name(function() {
20090
+ var iframe = require_domCreate()("iframe");
20091
+ var i2 = enumBugKeys.length;
20092
+ var lt = "<";
20093
+ var gt = ">";
20094
+ var iframeDocument;
20095
+ iframe.style.display = "none";
20096
+ require_html().appendChild(iframe);
20097
+ iframe.src = "javascript:";
20098
+ iframeDocument = iframe.contentWindow.document;
20099
+ iframeDocument.open();
20100
+ iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
20101
+ iframeDocument.close();
20102
+ createDict = iframeDocument.F;
20103
+ while (i2--)
20104
+ delete createDict[PROTOTYPE$1][enumBugKeys[i2]];
20105
+ return createDict();
20106
+ }, "createDict");
20107
+ var _objectCreate = Object.create || /* @__PURE__ */ __name(function create2(O2, Properties2) {
20108
+ var result;
20109
+ if (O2 !== null) {
20110
+ Empty[PROTOTYPE$1] = anObject$3(O2);
20111
+ result = new Empty();
20112
+ Empty[PROTOTYPE$1] = null;
20113
+ result[IE_PROTO$1] = O2;
20114
+ } else
20115
+ result = createDict();
20116
+ return Properties2 === void 0 ? result : dPs(result, Properties2);
20117
+ }, "create");
20111
20118
  var _wks = { exports: {} };
20112
20119
  var store$2 = _sharedExports("wks");
20113
20120
  var uid$1 = _uid;
@@ -20125,7 +20132,7 @@ var __async = (__this, __arguments, generator) => {
20125
20132
  if (it && !has$c(it = stat ? it : it.prototype, TAG$1))
20126
20133
  def(it, TAG$1, { configurable: true, value: tag });
20127
20134
  }, "_setToStringTag");
20128
- var create$4 = require_objectCreate();
20135
+ var create$4 = _objectCreate;
20129
20136
  var descriptor = _propertyDesc;
20130
20137
  var setToStringTag$2 = _setToStringTag;
20131
20138
  var IteratorPrototype = {};
@@ -20622,7 +20629,7 @@ var __async = (__this, __arguments, generator) => {
20622
20629
  }, "_wksDefine");
20623
20630
  var getKeys = _objectKeys;
20624
20631
  var gOPS$1 = _objectGops;
20625
- var pIE$1 = _objectPie;
20632
+ var pIE$1 = require_objectPie();
20626
20633
  var _enumKeys = /* @__PURE__ */ __name(function(it) {
20627
20634
  var result = getKeys(it);
20628
20635
  var getSymbols2 = gOPS$1.f;
@@ -20663,7 +20670,7 @@ var __async = (__this, __arguments, generator) => {
20663
20670
  return windowNames && toString$5.call(it) == "[object Window]" ? getWindowNames(it) : gOPN$1(toIObject$2(it));
20664
20671
  }, "getOwnPropertyNames");
20665
20672
  var _objectGopd = {};
20666
- var pIE = _objectPie;
20673
+ var pIE = require_objectPie();
20667
20674
  var createDesc$1 = _propertyDesc;
20668
20675
  var toIObject$1 = _toIobject;
20669
20676
  var toPrimitive$1 = _toPrimitive$1;
@@ -20695,14 +20702,14 @@ var __async = (__this, __arguments, generator) => {
20695
20702
  var wksExt = _wksExt;
20696
20703
  var wksDefine = _wksDefine;
20697
20704
  var enumKeys = _enumKeys;
20698
- var isArray$t = _isArray;
20705
+ var isArray$s = _isArray;
20699
20706
  var anObject = _anObject;
20700
20707
  var isObject$b = _isObject;
20701
20708
  var toObject$1 = _toObject;
20702
20709
  var toIObject = _toIobject;
20703
20710
  var toPrimitive = _toPrimitive$1;
20704
20711
  var createDesc = _propertyDesc;
20705
- var _create$1 = require_objectCreate();
20712
+ var _create$1 = _objectCreate;
20706
20713
  var gOPNExt = _objectGopnExt;
20707
20714
  var $GOPD = _objectGopd;
20708
20715
  var $GOPS = _objectGops;
@@ -20843,7 +20850,7 @@ var __async = (__this, __arguments, generator) => {
20843
20850
  $GOPD.f = $getOwnPropertyDescriptor;
20844
20851
  $DP.f = $defineProperty$1;
20845
20852
  _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
20846
- _objectPie.f = $propertyIsEnumerable;
20853
+ require_objectPie().f = $propertyIsEnumerable;
20847
20854
  $GOPS.f = $getOwnPropertySymbols;
20848
20855
  if (DESCRIPTORS && !_library) {
20849
20856
  redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable);
@@ -20915,7 +20922,7 @@ var __async = (__this, __arguments, generator) => {
20915
20922
  $replacer = replacer = args[1];
20916
20923
  if (!isObject$b(replacer) && it === void 0 || isSymbol$8(it))
20917
20924
  return;
20918
- if (!isArray$t(replacer))
20925
+ if (!isArray$s(replacer))
20919
20926
  replacer = /* @__PURE__ */ __name(function(key2, value) {
20920
20927
  if (typeof $replacer == "function")
20921
20928
  value = $replacer.call(this, key2, value);
@@ -21009,7 +21016,7 @@ var __async = (__this, __arguments, generator) => {
21009
21016
  var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
21010
21017
  var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
21011
21018
  var $export = _export;
21012
- $export($export.S, "Object", { create: require_objectCreate() });
21019
+ $export($export.S, "Object", { create: _objectCreate });
21013
21020
  var $Object$1 = _coreExports.Object;
21014
21021
  var create$3 = /* @__PURE__ */ __name(function create2(P2, D2) {
21015
21022
  return $Object$1.create(P2, D2);
@@ -21041,7 +21048,7 @@ var __async = (__this, __arguments, generator) => {
21041
21048
  _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;
21042
21049
  }, "_default$6");
21043
21050
  var invariant$3 = /* @__PURE__ */ __name(function(condition, format2, a2, b3, c2, d2, e2, f2) {
21044
- if (process.env.NODE_ENV !== "production") {
21051
+ if (production !== "production") {
21045
21052
  if (format2 === void 0) {
21046
21053
  throw new Error("invariant requires an error message argument");
21047
21054
  }
@@ -21643,12 +21650,12 @@ var __async = (__this, __arguments, generator) => {
21643
21650
  }
21644
21651
  __name(arrayPush$4, "arrayPush$4");
21645
21652
  var _arrayPush = arrayPush$4;
21646
- var isArray$s = Array.isArray;
21647
- var isArray_1 = isArray$s;
21648
- var arrayPush$3 = _arrayPush, isArray$r = isArray_1;
21653
+ var isArray$r = Array.isArray;
21654
+ var isArray_1 = isArray$r;
21655
+ var arrayPush$3 = _arrayPush, isArray$q = isArray_1;
21649
21656
  function baseGetAllKeys$3(object2, keysFunc, symbolsFunc) {
21650
21657
  var result = keysFunc(object2);
21651
- return isArray$r(object2) ? result : arrayPush$3(result, symbolsFunc(object2));
21658
+ return isArray$q(object2) ? result : arrayPush$3(result, symbolsFunc(object2));
21652
21659
  }
21653
21660
  __name(baseGetAllKeys$3, "baseGetAllKeys$3");
21654
21661
  var _baseGetAllKeys = baseGetAllKeys$3;
@@ -21790,11 +21797,11 @@ var __async = (__this, __arguments, generator) => {
21790
21797
  var nodeIsTypedArray$1 = nodeUtil$4 && nodeUtil$4.isTypedArray;
21791
21798
  var isTypedArray$4 = nodeIsTypedArray$1 ? baseUnary$5(nodeIsTypedArray$1) : baseIsTypedArray$1;
21792
21799
  var isTypedArray_1 = isTypedArray$4;
21793
- var baseTimes$1 = _baseTimes, isArguments$7 = isArguments_1, isArray$q = isArray_1, isBuffer$8 = isBufferExports, isIndex$3 = _isIndex, isTypedArray$3 = isTypedArray_1;
21800
+ var baseTimes$1 = _baseTimes, isArguments$7 = isArguments_1, isArray$p = isArray_1, isBuffer$8 = isBufferExports, isIndex$3 = _isIndex, isTypedArray$3 = isTypedArray_1;
21794
21801
  var objectProto$o = Object.prototype;
21795
21802
  var hasOwnProperty$n = objectProto$o.hasOwnProperty;
21796
21803
  function arrayLikeKeys$3(value, inherited) {
21797
- var isArr = isArray$q(value), isArg = !isArr && isArguments$7(value), isBuff = !isArr && !isArg && isBuffer$8(value), isType2 = !isArr && !isArg && !isBuff && isTypedArray$3(value), skipIndexes = isArr || isArg || isBuff || isType2, result = skipIndexes ? baseTimes$1(value.length, String) : [], length = result.length;
21804
+ var isArr = isArray$p(value), isArg = !isArr && isArguments$7(value), isBuff = !isArr && !isArg && isBuffer$8(value), isType2 = !isArr && !isArg && !isBuff && isTypedArray$3(value), skipIndexes = isArr || isArg || isBuff || isType2, result = skipIndexes ? baseTimes$1(value.length, String) : [], length = result.length;
21798
21805
  for (var key2 in value) {
21799
21806
  if ((inherited || hasOwnProperty$n.call(value, key2)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
21800
21807
  (key2 == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -21947,13 +21954,13 @@ var __async = (__this, __arguments, generator) => {
21947
21954
  }, "getTag$7");
21948
21955
  }
21949
21956
  var _getTag = getTag$7;
21950
- var Stack$3 = _Stack, equalArrays$1 = _equalArrays, equalByTag$1 = _equalByTag, equalObjects$1 = _equalObjects, getTag$6 = _getTag, isArray$p = isArray_1, isBuffer$7 = isBufferExports, isTypedArray$2 = isTypedArray_1;
21957
+ var Stack$3 = _Stack, equalArrays$1 = _equalArrays, equalByTag$1 = _equalByTag, equalObjects$1 = _equalObjects, getTag$6 = _getTag, isArray$o = isArray_1, isBuffer$7 = isBufferExports, isTypedArray$2 = isTypedArray_1;
21951
21958
  var COMPARE_PARTIAL_FLAG$8 = 1;
21952
21959
  var argsTag$4 = "[object Arguments]", arrayTag$3 = "[object Array]", objectTag$6 = "[object Object]";
21953
21960
  var objectProto$k = Object.prototype;
21954
21961
  var hasOwnProperty$k = objectProto$k.hasOwnProperty;
21955
21962
  function baseIsEqualDeep$2(object2, other, bitmask, customizer, equalFunc, stack) {
21956
- var objIsArr = isArray$p(object2), othIsArr = isArray$p(other), objTag = objIsArr ? arrayTag$3 : getTag$6(object2), othTag = othIsArr ? arrayTag$3 : getTag$6(other);
21963
+ var objIsArr = isArray$o(object2), othIsArr = isArray$o(other), objTag = objIsArr ? arrayTag$3 : getTag$6(object2), othTag = othIsArr ? arrayTag$3 : getTag$6(other);
21957
21964
  objTag = objTag == argsTag$4 ? objectTag$6 : objTag;
21958
21965
  othTag = othTag == argsTag$4 ? objectTag$6 : othTag;
21959
21966
  var objIsObj = objTag == objectTag$6, othIsObj = othTag == objectTag$6, isSameTag = objTag == othTag;
@@ -22077,10 +22084,10 @@ var __async = (__this, __arguments, generator) => {
22077
22084
  }
22078
22085
  __name(isSymbol$7, "isSymbol$7");
22079
22086
  var isSymbol_1 = isSymbol$7;
22080
- var isArray$o = isArray_1, isSymbol$6 = isSymbol_1;
22087
+ var isArray$n = isArray_1, isSymbol$6 = isSymbol_1;
22081
22088
  var reIsDeepProp$1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp$1 = /^\w*$/;
22082
22089
  function isKey$4(value, object2) {
22083
- if (isArray$o(value)) {
22090
+ if (isArray$n(value)) {
22084
22091
  return false;
22085
22092
  }
22086
22093
  var type2 = typeof value;
@@ -22149,14 +22156,14 @@ var __async = (__this, __arguments, generator) => {
22149
22156
  }
22150
22157
  __name(arrayMap$6, "arrayMap$6");
22151
22158
  var _arrayMap = arrayMap$6;
22152
- var Symbol$5 = _Symbol, arrayMap$5 = _arrayMap, isArray$n = isArray_1, isSymbol$5 = isSymbol_1;
22159
+ var Symbol$5 = _Symbol, arrayMap$5 = _arrayMap, isArray$m = isArray_1, isSymbol$5 = isSymbol_1;
22153
22160
  var INFINITY$5 = 1 / 0;
22154
22161
  var symbolProto$3 = Symbol$5 ? Symbol$5.prototype : void 0, symbolToString$1 = symbolProto$3 ? symbolProto$3.toString : void 0;
22155
22162
  function baseToString$3(value) {
22156
22163
  if (typeof value == "string") {
22157
22164
  return value;
22158
22165
  }
22159
- if (isArray$n(value)) {
22166
+ if (isArray$m(value)) {
22160
22167
  return arrayMap$5(value, baseToString$3) + "";
22161
22168
  }
22162
22169
  if (isSymbol$5(value)) {
@@ -22173,9 +22180,9 @@ var __async = (__this, __arguments, generator) => {
22173
22180
  }
22174
22181
  __name(toString$4, "toString$4");
22175
22182
  var toString_1 = toString$4;
22176
- var isArray$m = isArray_1, isKey$3 = _isKey, stringToPath$3 = _stringToPath, toString$3 = toString_1;
22183
+ var isArray$l = isArray_1, isKey$3 = _isKey, stringToPath$3 = _stringToPath, toString$3 = toString_1;
22177
22184
  function castPath$5(value, object2) {
22178
- if (isArray$m(value)) {
22185
+ if (isArray$l(value)) {
22179
22186
  return value;
22180
22187
  }
22181
22188
  return isKey$3(value, object2) ? [value] : stringToPath$3(toString$3(value));
@@ -22216,7 +22223,7 @@ var __async = (__this, __arguments, generator) => {
22216
22223
  }
22217
22224
  __name(baseHasIn$2, "baseHasIn$2");
22218
22225
  var _baseHasIn = baseHasIn$2;
22219
- var castPath$3 = _castPath, isArguments$6 = isArguments_1, isArray$l = isArray_1, isIndex$2 = _isIndex, isLength$2 = isLength_1, toKey$4 = _toKey;
22226
+ var castPath$3 = _castPath, isArguments$6 = isArguments_1, isArray$k = isArray_1, isIndex$2 = _isIndex, isLength$2 = isLength_1, toKey$4 = _toKey;
22220
22227
  function hasPath$2(object2, path2, hasFunc) {
22221
22228
  path2 = castPath$3(path2, object2);
22222
22229
  var index2 = -1, length = path2.length, result = false;
@@ -22231,7 +22238,7 @@ var __async = (__this, __arguments, generator) => {
22231
22238
  return result;
22232
22239
  }
22233
22240
  length = object2 == null ? 0 : object2.length;
22234
- return !!length && isLength$2(length) && isIndex$2(key2, length) && (isArray$l(object2) || isArguments$6(object2));
22241
+ return !!length && isLength$2(length) && isIndex$2(key2, length) && (isArray$k(object2) || isArguments$6(object2));
22235
22242
  }
22236
22243
  __name(hasPath$2, "hasPath$2");
22237
22244
  var _hasPath = hasPath$2;
@@ -22280,7 +22287,7 @@ var __async = (__this, __arguments, generator) => {
22280
22287
  }
22281
22288
  __name(property$2, "property$2");
22282
22289
  var property_1 = property$2;
22283
- var baseMatches$1 = _baseMatches, baseMatchesProperty$1 = _baseMatchesProperty, identity$7 = identity_1, isArray$k = isArray_1, property$1 = property_1;
22290
+ var baseMatches$1 = _baseMatches, baseMatchesProperty$1 = _baseMatchesProperty, identity$7 = identity_1, isArray$j = isArray_1, property$1 = property_1;
22284
22291
  function baseIteratee$5(value) {
22285
22292
  if (typeof value == "function") {
22286
22293
  return value;
@@ -22289,7 +22296,7 @@ var __async = (__this, __arguments, generator) => {
22289
22296
  return identity$7;
22290
22297
  }
22291
22298
  if (typeof value == "object") {
22292
- return isArray$k(value) ? baseMatchesProperty$1(value[0], value[1]) : baseMatches$1(value);
22299
+ return isArray$j(value) ? baseMatchesProperty$1(value[0], value[1]) : baseMatches$1(value);
22293
22300
  }
22294
22301
  return property$1(value);
22295
22302
  }
@@ -22406,10 +22413,10 @@ var __async = (__this, __arguments, generator) => {
22406
22413
  var find$3 = createFind(findIndex$1);
22407
22414
  var find_1 = find$3;
22408
22415
  const find$4 = /* @__PURE__ */ getDefaultExportFromCjs(find_1);
22409
- var Symbol$4 = _Symbol, isArguments$5 = isArguments_1, isArray$j = isArray_1;
22416
+ var Symbol$4 = _Symbol, isArguments$5 = isArguments_1, isArray$i = isArray_1;
22410
22417
  var spreadableSymbol = Symbol$4 ? Symbol$4.isConcatSpreadable : void 0;
22411
22418
  function isFlattenable$1(value) {
22412
- return isArray$j(value) || isArguments$5(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
22419
+ return isArray$i(value) || isArguments$5(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
22413
22420
  }
22414
22421
  __name(isFlattenable$1, "isFlattenable$1");
22415
22422
  var _isFlattenable = isFlattenable$1;
@@ -22533,11 +22540,11 @@ var __async = (__this, __arguments, generator) => {
22533
22540
  }
22534
22541
  __name(compareMultiple$1, "compareMultiple$1");
22535
22542
  var _compareMultiple = compareMultiple$1;
22536
- var arrayMap$4 = _arrayMap, baseGet$2 = _baseGet, baseIteratee$2 = _baseIteratee, baseMap$2 = _baseMap, baseSortBy = _baseSortBy, baseUnary$4 = _baseUnary, compareMultiple = _compareMultiple, identity$6 = identity_1, isArray$i = isArray_1;
22543
+ var arrayMap$4 = _arrayMap, baseGet$2 = _baseGet, baseIteratee$2 = _baseIteratee, baseMap$2 = _baseMap, baseSortBy = _baseSortBy, baseUnary$4 = _baseUnary, compareMultiple = _compareMultiple, identity$6 = identity_1, isArray$h = isArray_1;
22537
22544
  function baseOrderBy$1(collection, iteratees, orders) {
22538
22545
  if (iteratees.length) {
22539
22546
  iteratees = arrayMap$4(iteratees, function(iteratee) {
22540
- if (isArray$i(iteratee)) {
22547
+ if (isArray$h(iteratee)) {
22541
22548
  return function(value) {
22542
22549
  return baseGet$2(value, iteratee.length === 1 ? iteratee[0] : iteratee);
22543
22550
  };
@@ -24171,7 +24178,7 @@ var __async = (__this, __arguments, generator) => {
24171
24178
  (function(exports3) {
24172
24179
  (function(global2, factory) {
24173
24180
  {
24174
- factory(exports3, propTypesExports, React$3);
24181
+ factory(exports3, requirePropTypes(), React$3);
24175
24182
  }
24176
24183
  })(commonjsGlobal, function(_exports, _propTypes2, _react3) {
24177
24184
  Object.defineProperty(_exports, "__esModule", {
@@ -24899,7 +24906,7 @@ var __async = (__this, __arguments, generator) => {
24899
24906
  return target;
24900
24907
  }
24901
24908
  __name(_objectWithoutProperties$8, "_objectWithoutProperties$8");
24902
- const _$1 = {
24909
+ const _ = {
24903
24910
  get: get$6,
24904
24911
  set: set$1,
24905
24912
  takeRight,
@@ -24912,7 +24919,7 @@ var __async = (__this, __arguments, generator) => {
24912
24919
  sum,
24913
24920
  makeTemplateComponent,
24914
24921
  groupBy,
24915
- isArray: isArray$h,
24922
+ isArray: isArray$g,
24916
24923
  splitProps,
24917
24924
  compactObject,
24918
24925
  isSortingDesc,
@@ -25039,7 +25046,7 @@ var __async = (__this, __arguments, generator) => {
25039
25046
  function groupBy(xs, key2) {
25040
25047
  return xs.reduce(function(rv, x2, i2) {
25041
25048
  var resKey = typeof key2 === "function" ? key2(x2, i2) : x2[key2];
25042
- rv[resKey] = isArray$h(rv[resKey]) ? rv[resKey] : [];
25049
+ rv[resKey] = isArray$g(rv[resKey]) ? rv[resKey] : [];
25043
25050
  rv[resKey].push(x2);
25044
25051
  return rv;
25045
25052
  }, {});
@@ -25050,17 +25057,17 @@ var __async = (__this, __arguments, generator) => {
25050
25057
  return Number.isNaN(value) ? null : value + "px";
25051
25058
  }
25052
25059
  __name(asPx, "asPx");
25053
- function isArray$h(a2) {
25060
+ function isArray$g(a2) {
25054
25061
  return Array.isArray(a2);
25055
25062
  }
25056
- __name(isArray$h, "isArray$h");
25063
+ __name(isArray$g, "isArray$g");
25057
25064
  function makePathArray(obj) {
25058
25065
  return flattenDeep(obj).join(".").replace(/\[/g, ".").replace(/\]/g, "").split(".");
25059
25066
  }
25060
25067
  __name(makePathArray, "makePathArray");
25061
25068
  function flattenDeep(arr) {
25062
25069
  var newArr = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
25063
- if (!isArray$h(arr)) {
25070
+ if (!isArray$g(arr)) {
25064
25071
  newArr.push(arr);
25065
25072
  } else {
25066
25073
  for (var i2 = 0; i2 < arr.length; i2 += 1) {
@@ -25351,7 +25358,7 @@ var __async = (__this, __arguments, generator) => {
25351
25358
  _createClass$d(_class, [{
25352
25359
  key: "getResolvedState",
25353
25360
  value: /* @__PURE__ */ __name(function getResolvedState(props, state2) {
25354
- var resolvedState = _extends$o({}, _$1.compactObject(this.state), _$1.compactObject(this.props), _$1.compactObject(state2), _$1.compactObject(props));
25361
+ var resolvedState = _extends$o({}, _.compactObject(this.state), _.compactObject(this.props), _.compactObject(state2), _.compactObject(props));
25355
25362
  return resolvedState;
25356
25363
  }, "getResolvedState")
25357
25364
  }, {
@@ -25397,7 +25404,7 @@ var __async = (__this, __arguments, generator) => {
25397
25404
  dcol.id = dcol.id || dcol.accessor;
25398
25405
  var accessorString = dcol.accessor;
25399
25406
  dcol.accessor = function(row) {
25400
- return _$1.get(row, accessorString);
25407
+ return _.get(row, accessorString);
25401
25408
  };
25402
25409
  return dcol;
25403
25410
  }
@@ -25433,7 +25440,7 @@ var __async = (__this, __arguments, generator) => {
25433
25440
  visibleColumns = visibleColumns.map(function(column) {
25434
25441
  if (column.columns) {
25435
25442
  var visibleSubColumns = column.columns.filter(function(d2) {
25436
- return pivotBy.indexOf(d2.id) > -1 ? false : _$1.getFirstDefined(d2.show, true);
25443
+ return pivotBy.indexOf(d2.id) > -1 ? false : _.getFirstDefined(d2.show, true);
25437
25444
  });
25438
25445
  return _extends$o({}, column, {
25439
25446
  columns: visibleSubColumns
@@ -25442,7 +25449,7 @@ var __async = (__this, __arguments, generator) => {
25442
25449
  return column;
25443
25450
  });
25444
25451
  visibleColumns = visibleColumns.filter(function(column) {
25445
- return column.columns ? column.columns.length : pivotBy.indexOf(column.id) > -1 ? false : _$1.getFirstDefined(column.show, true);
25452
+ return column.columns ? column.columns.length : pivotBy.indexOf(column.id) > -1 ? false : _.getFirstDefined(column.show, true);
25446
25453
  });
25447
25454
  var pivotIndex = visibleColumns.findIndex(function(col) {
25448
25455
  return col.pivot;
@@ -25545,7 +25552,7 @@ var __async = (__this, __arguments, generator) => {
25545
25552
  if (i2 === keys2.length) {
25546
25553
  return rows;
25547
25554
  }
25548
- var groupedRows = Object.entries(_$1.groupBy(rows, keys2[i2])).map(function(_ref) {
25555
+ var groupedRows = Object.entries(_.groupBy(rows, keys2[i2])).map(function(_ref) {
25549
25556
  var _ref3;
25550
25557
  var _ref2 = _slicedToArray$5(_ref, 2), key2 = _ref2[0], value = _ref2[1];
25551
25558
  return _ref3 = {}, _defineProperty$9(_ref3, pivotIDKey, keys2[i2]), _defineProperty$9(_ref3, pivotValKey, key2), _defineProperty$9(_ref3, keys2[i2], key2), _defineProperty$9(_ref3, subRowsKey, value), _defineProperty$9(_ref3, nestingLevelKey, i2), _defineProperty$9(_ref3, groupedByPivotKey, true), _ref3;
@@ -25589,12 +25596,12 @@ var __async = (__this, __arguments, generator) => {
25589
25596
  }, {
25590
25597
  key: "getPropOrState",
25591
25598
  value: /* @__PURE__ */ __name(function getPropOrState(key2) {
25592
- return _$1.getFirstDefined(this.props[key2], this.state[key2]);
25599
+ return _.getFirstDefined(this.props[key2], this.state[key2]);
25593
25600
  }, "getPropOrState")
25594
25601
  }, {
25595
25602
  key: "getStateOrProp",
25596
25603
  value: /* @__PURE__ */ __name(function getStateOrProp(key2) {
25597
- return _$1.getFirstDefined(this.state[key2], this.props[key2]);
25604
+ return _.getFirstDefined(this.state[key2], this.props[key2]);
25598
25605
  }, "getStateOrProp")
25599
25606
  }, {
25600
25607
  key: "filterData",
@@ -25639,7 +25646,7 @@ var __async = (__this, __arguments, generator) => {
25639
25646
  if (!sorted.length) {
25640
25647
  return data;
25641
25648
  }
25642
- var sortedData = (this.props.orderByMethod || _$1.orderBy)(data, sorted.map(function(sort) {
25649
+ var sortedData = (this.props.orderByMethod || _.orderBy)(data, sorted.map(function(sort) {
25643
25650
  if (sortMethodsByColumnID[sort.id]) {
25644
25651
  return function(a2, b3) {
25645
25652
  return sortMethodsByColumnID[sort.id](a2[sort.id], b3[sort.id], sort.desc);
@@ -25662,7 +25669,7 @@ var __async = (__this, __arguments, generator) => {
25662
25669
  }, {
25663
25670
  key: "getMinRows",
25664
25671
  value: /* @__PURE__ */ __name(function getMinRows() {
25665
- return _$1.getFirstDefined(this.props.minRows, this.getStateOrProp("pageSize"));
25672
+ return _.getFirstDefined(this.props.minRows, this.getStateOrProp("pageSize"));
25666
25673
  }, "getMinRows")
25667
25674
  // User actions
25668
25675
  }, {
@@ -25704,11 +25711,11 @@ var __async = (__this, __arguments, generator) => {
25704
25711
  return;
25705
25712
  }
25706
25713
  var onSortedChange = this.props.onSortedChange;
25707
- var newSorted = _$1.clone(sorted || []).map(function(d2) {
25708
- d2.desc = _$1.isSortingDesc(d2);
25714
+ var newSorted = _.clone(sorted || []).map(function(d2) {
25715
+ d2.desc = _.isSortingDesc(d2);
25709
25716
  return d2;
25710
25717
  });
25711
- if (!_$1.isArray(column)) {
25718
+ if (!_.isArray(column)) {
25712
25719
  var existingIndex = newSorted.findIndex(function(d2) {
25713
25720
  return d2.id === column.id;
25714
25721
  });
@@ -26343,8 +26350,8 @@ var __async = (__this, __arguments, generator) => {
26343
26350
  children
26344
26351
  );
26345
26352
  }, "TableComponent"),
26346
- TheadComponent: _$1.makeTemplateComponent("rt-thead", "Thead"),
26347
- TbodyComponent: _$1.makeTemplateComponent("rt-tbody", "Tbody"),
26353
+ TheadComponent: _.makeTemplateComponent("rt-thead", "Thead"),
26354
+ TbodyComponent: _.makeTemplateComponent("rt-tbody", "Tbody"),
26348
26355
  TrGroupComponent: /* @__PURE__ */ __name(function TrGroupComponent(_ref2) {
26349
26356
  var children = _ref2.children, className = _ref2.className, rest = _objectWithoutProperties$7(_ref2, ["children", "className"]);
26350
26357
  return React$3.createElement(
@@ -26389,7 +26396,7 @@ var __async = (__this, __arguments, generator) => {
26389
26396
  children
26390
26397
  );
26391
26398
  }, "TdComponent"),
26392
- TfootComponent: _$1.makeTemplateComponent("rt-tfoot", "Tfoot"),
26399
+ TfootComponent: _.makeTemplateComponent("rt-tfoot", "Tfoot"),
26393
26400
  FilterComponent: /* @__PURE__ */ __name(function FilterComponent(_ref6) {
26394
26401
  var filter = _ref6.filter, _onChange = _ref6.onChange, column = _ref6.column;
26395
26402
  return React$3.createElement("input", {
@@ -26461,8 +26468,8 @@ var __async = (__this, __arguments, generator) => {
26461
26468
  )
26462
26469
  );
26463
26470
  }, "LoadingComponent"),
26464
- NoDataComponent: _$1.makeTemplateComponent("rt-noData", "NoData"),
26465
- ResizerComponent: _$1.makeTemplateComponent("rt-resizer", "Resizer"),
26471
+ NoDataComponent: _.makeTemplateComponent("rt-noData", "NoData"),
26472
+ ResizerComponent: _.makeTemplateComponent("rt-resizer", "Resizer"),
26466
26473
  PadRowComponent: /* @__PURE__ */ __name(function PadRowComponent() {
26467
26474
  return React$3.createElement(
26468
26475
  "span",
@@ -26761,7 +26768,7 @@ var __async = (__this, __arguments, generator) => {
26761
26768
  var endRow = startRow + pageSize;
26762
26769
  var pageRows = manual ? resolvedData : sortedData.slice(startRow, endRow);
26763
26770
  var minRows = this.getMinRows();
26764
- var padRows = _$1.range(Math.max(minRows - pageRows.length, 0));
26771
+ var padRows = _.range(Math.max(minRows - pageRows.length, 0));
26765
26772
  var hasColumnFooter = allVisibleColumns.some(function(d2) {
26766
26773
  return d2.Footer;
26767
26774
  });
@@ -26777,7 +26784,7 @@ var __async = (__this, __arguments, generator) => {
26777
26784
  _viewIndex: index2
26778
26785
  });
26779
26786
  var newPath = path2.concat([i2]);
26780
- if (rowWithViewIndex[subRowsKey] && _$1.get(expanded, newPath)) {
26787
+ if (rowWithViewIndex[subRowsKey] && _.get(expanded, newPath)) {
26781
26788
  var _recurseRowsViewIndex = recurseRowsViewIndex2(rowWithViewIndex[subRowsKey], newPath, index2);
26782
26789
  var _recurseRowsViewIndex2 = _slicedToArray$4(_recurseRowsViewIndex, 2);
26783
26790
  rowWithViewIndex[subRowsKey] = _recurseRowsViewIndex2[0];
@@ -26791,11 +26798,11 @@ var __async = (__this, __arguments, generator) => {
26791
26798
  pageRows = _recurseRowsViewIndex4[0];
26792
26799
  var canPrevious = page > 0;
26793
26800
  var canNext = page + 1 < pages;
26794
- var rowMinWidth = _$1.sum(allVisibleColumns.map(function(d2) {
26801
+ var rowMinWidth = _.sum(allVisibleColumns.map(function(d2) {
26795
26802
  var resizedColumn = resized.find(function(x2) {
26796
26803
  return x2.id === d2.id;
26797
26804
  }) || {};
26798
- return _$1.getFirstDefined(resizedColumn.value, d2.width, d2.minWidth);
26805
+ return _.getFirstDefined(resizedColumn.value, d2.width, d2.minWidth);
26799
26806
  }));
26800
26807
  var rowIndex = -1;
26801
26808
  var finalState = _extends$l({}, resolvedState, {
@@ -26809,9 +26816,9 @@ var __async = (__this, __arguments, generator) => {
26809
26816
  canNext,
26810
26817
  rowMinWidth
26811
26818
  });
26812
- var rootProps = _$1.splitProps(getProps(finalState, void 0, void 0, this));
26813
- var tableProps = _$1.splitProps(getTableProps(finalState, void 0, void 0, this));
26814
- var tBodyProps = _$1.splitProps(getTbodyProps(finalState, void 0, void 0, this));
26819
+ var rootProps = _.splitProps(getProps(finalState, void 0, void 0, this));
26820
+ var tableProps = _.splitProps(getTableProps(finalState, void 0, void 0, this));
26821
+ var tBodyProps = _.splitProps(getTbodyProps(finalState, void 0, void 0, this));
26815
26822
  var loadingProps = getLoadingProps(finalState, void 0, void 0, this);
26816
26823
  var noDataProps = getNoDataProps(finalState, void 0, void 0, this);
26817
26824
  var makeHeaderGroup = /* @__PURE__ */ __name(function makeHeaderGroup2(column, i2) {
@@ -26820,24 +26827,24 @@ var __async = (__this, __arguments, generator) => {
26820
26827
  return x2.id === col.id;
26821
26828
  }) || {}).value;
26822
26829
  }, "resizedValue");
26823
- var flex = _$1.sum(column.columns.map(function(col) {
26830
+ var flex = _.sum(column.columns.map(function(col) {
26824
26831
  return col.width || resizedValue(col) ? 0 : col.minWidth;
26825
26832
  }));
26826
- var width = _$1.sum(column.columns.map(function(col) {
26827
- return _$1.getFirstDefined(resizedValue(col), col.width, col.minWidth);
26833
+ var width = _.sum(column.columns.map(function(col) {
26834
+ return _.getFirstDefined(resizedValue(col), col.width, col.minWidth);
26828
26835
  }));
26829
- var maxWidth = _$1.sum(column.columns.map(function(col) {
26830
- return _$1.getFirstDefined(resizedValue(col), col.width, col.maxWidth);
26836
+ var maxWidth = _.sum(column.columns.map(function(col) {
26837
+ return _.getFirstDefined(resizedValue(col), col.width, col.maxWidth);
26831
26838
  }));
26832
- var theadGroupThProps = _$1.splitProps(getTheadGroupThProps(finalState, void 0, column, _this2));
26833
- var columnHeaderProps = _$1.splitProps(column.getHeaderProps(finalState, void 0, column, _this2));
26839
+ var theadGroupThProps = _.splitProps(getTheadGroupThProps(finalState, void 0, column, _this2));
26840
+ var columnHeaderProps = _.splitProps(column.getHeaderProps(finalState, void 0, column, _this2));
26834
26841
  var classes = [column.headerClassName, theadGroupThProps.className, columnHeaderProps.className];
26835
26842
  var styles2 = _extends$l({}, column.headerStyle, theadGroupThProps.style, columnHeaderProps.style);
26836
26843
  var rest = _extends$l({}, theadGroupThProps.rest, columnHeaderProps.rest);
26837
26844
  var flexStyles = {
26838
26845
  flex: flex + " 0 auto",
26839
- width: _$1.asPx(width),
26840
- maxWidth: _$1.asPx(maxWidth)
26846
+ width: _.asPx(width),
26847
+ maxWidth: _.asPx(maxWidth)
26841
26848
  };
26842
26849
  return React$3.createElement(
26843
26850
  ThComponent,
@@ -26846,15 +26853,15 @@ var __async = (__this, __arguments, generator) => {
26846
26853
  className: classNames(classes),
26847
26854
  style: _extends$l({}, styles2, flexStyles)
26848
26855
  }, rest),
26849
- _$1.normalizeComponent(column.Header, {
26856
+ _.normalizeComponent(column.Header, {
26850
26857
  data: sortedData,
26851
26858
  column
26852
26859
  })
26853
26860
  );
26854
26861
  }, "makeHeaderGroup");
26855
26862
  var makeHeaderGroups = /* @__PURE__ */ __name(function makeHeaderGroups2() {
26856
- var theadGroupProps = _$1.splitProps(getTheadGroupProps(finalState, void 0, void 0, _this2));
26857
- var theadGroupTrProps = _$1.splitProps(getTheadGroupTrProps(finalState, void 0, void 0, _this2));
26863
+ var theadGroupProps = _.splitProps(getTheadGroupProps(finalState, void 0, void 0, _this2));
26864
+ var theadGroupTrProps = _.splitProps(getTheadGroupTrProps(finalState, void 0, void 0, _this2));
26858
26865
  return React$3.createElement(
26859
26866
  TheadComponent,
26860
26867
  _extends$l({
@@ -26881,14 +26888,14 @@ var __async = (__this, __arguments, generator) => {
26881
26888
  return d2.id === column.id;
26882
26889
  });
26883
26890
  var show = typeof column.show === "function" ? column.show() : column.show;
26884
- var width = _$1.getFirstDefined(resizedCol.value, column.width, column.minWidth);
26885
- var maxWidth = _$1.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
26886
- var theadThProps = _$1.splitProps(getTheadThProps(finalState, void 0, column, _this2));
26887
- var columnHeaderProps = _$1.splitProps(column.getHeaderProps(finalState, void 0, column, _this2));
26891
+ var width = _.getFirstDefined(resizedCol.value, column.width, column.minWidth);
26892
+ var maxWidth = _.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
26893
+ var theadThProps = _.splitProps(getTheadThProps(finalState, void 0, column, _this2));
26894
+ var columnHeaderProps = _.splitProps(column.getHeaderProps(finalState, void 0, column, _this2));
26888
26895
  var classes = [column.headerClassName, theadThProps.className, columnHeaderProps.className];
26889
26896
  var styles2 = _extends$l({}, column.headerStyle, theadThProps.style, columnHeaderProps.style);
26890
26897
  var rest = _extends$l({}, theadThProps.rest, columnHeaderProps.rest);
26891
- var isResizable = _$1.getFirstDefined(column.resizable, resizable, false);
26898
+ var isResizable = _.getFirstDefined(column.resizable, resizable, false);
26892
26899
  var resizer = isResizable ? React$3.createElement(ResizerComponent, _extends$l({
26893
26900
  onMouseDown: /* @__PURE__ */ __name(function onMouseDown(e2) {
26894
26901
  return _this2.resizeColumnStart(e2, column, false);
@@ -26897,7 +26904,7 @@ var __async = (__this, __arguments, generator) => {
26897
26904
  return _this2.resizeColumnStart(e2, column, true);
26898
26905
  }, "onTouchStart")
26899
26906
  }, getResizerProps("finalState", void 0, column, _this2))) : null;
26900
- var isSortable = _$1.getFirstDefined(column.sortable, sortable, false);
26907
+ var isSortable = _.getFirstDefined(column.sortable, sortable, false);
26901
26908
  return React$3.createElement(
26902
26909
  ThComponent,
26903
26910
  _extends$l({
@@ -26905,8 +26912,8 @@ var __async = (__this, __arguments, generator) => {
26905
26912
  className: classNames(classes, isResizable && "rt-resizable-header", sort ? sort.desc ? "-sort-desc" : "-sort-asc" : "", isSortable && "-cursor-pointer", !show && "-hidden", pivotBy && pivotBy.slice(0, -1).includes(column.id) && "rt-header-pivot"),
26906
26913
  style: _extends$l({}, styles2, {
26907
26914
  flex: width + " 0 auto",
26908
- width: _$1.asPx(width),
26909
- maxWidth: _$1.asPx(maxWidth)
26915
+ width: _.asPx(width),
26916
+ maxWidth: _.asPx(maxWidth)
26910
26917
  }),
26911
26918
  toggleSort: /* @__PURE__ */ __name(function toggleSort(e2) {
26912
26919
  if (isSortable)
@@ -26916,7 +26923,7 @@ var __async = (__this, __arguments, generator) => {
26916
26923
  React$3.createElement(
26917
26924
  "div",
26918
26925
  { className: classNames(isResizable && "rt-resizable-header-content") },
26919
- _$1.normalizeComponent(column.Header, {
26926
+ _.normalizeComponent(column.Header, {
26920
26927
  data: sortedData,
26921
26928
  column
26922
26929
  })
@@ -26925,8 +26932,8 @@ var __async = (__this, __arguments, generator) => {
26925
26932
  );
26926
26933
  }, "makeHeader");
26927
26934
  var makeHeaders = /* @__PURE__ */ __name(function makeHeaders2() {
26928
- var theadProps = _$1.splitProps(getTheadProps(finalState, void 0, void 0, _this2));
26929
- var theadTrProps = _$1.splitProps(getTheadTrProps(finalState, void 0, void 0, _this2));
26935
+ var theadProps = _.splitProps(getTheadProps(finalState, void 0, void 0, _this2));
26936
+ var theadTrProps = _.splitProps(getTheadTrProps(finalState, void 0, void 0, _this2));
26930
26937
  return React$3.createElement(
26931
26938
  TheadComponent,
26932
26939
  _extends$l({
@@ -26949,10 +26956,10 @@ var __async = (__this, __arguments, generator) => {
26949
26956
  var resizedCol = resized.find(function(x2) {
26950
26957
  return x2.id === column.id;
26951
26958
  }) || {};
26952
- var width = _$1.getFirstDefined(resizedCol.value, column.width, column.minWidth);
26953
- var maxWidth = _$1.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
26954
- var theadFilterThProps = _$1.splitProps(getTheadFilterThProps(finalState, void 0, column, _this2));
26955
- var columnHeaderProps = _$1.splitProps(column.getHeaderProps(finalState, void 0, column, _this2));
26959
+ var width = _.getFirstDefined(resizedCol.value, column.width, column.minWidth);
26960
+ var maxWidth = _.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
26961
+ var theadFilterThProps = _.splitProps(getTheadFilterThProps(finalState, void 0, column, _this2));
26962
+ var columnHeaderProps = _.splitProps(column.getHeaderProps(finalState, void 0, column, _this2));
26956
26963
  var classes = [column.headerClassName, theadFilterThProps.className, columnHeaderProps.className];
26957
26964
  var styles2 = _extends$l({}, column.headerStyle, theadFilterThProps.style, columnHeaderProps.style);
26958
26965
  var rest = _extends$l({}, theadFilterThProps.rest, columnHeaderProps.rest);
@@ -26960,7 +26967,7 @@ var __async = (__this, __arguments, generator) => {
26960
26967
  return filter2.id === column.id;
26961
26968
  });
26962
26969
  var ResolvedFilterComponent = column.Filter || FilterComponent;
26963
- var isFilterable = _$1.getFirstDefined(column.filterable, filterable, false);
26970
+ var isFilterable = _.getFirstDefined(column.filterable, filterable, false);
26964
26971
  return React$3.createElement(
26965
26972
  ThComponent,
26966
26973
  _extends$l({
@@ -26968,11 +26975,11 @@ var __async = (__this, __arguments, generator) => {
26968
26975
  className: classNames(classes),
26969
26976
  style: _extends$l({}, styles2, {
26970
26977
  flex: width + " 0 auto",
26971
- width: _$1.asPx(width),
26972
- maxWidth: _$1.asPx(maxWidth)
26978
+ width: _.asPx(width),
26979
+ maxWidth: _.asPx(maxWidth)
26973
26980
  })
26974
26981
  }, rest),
26975
- isFilterable ? _$1.normalizeComponent(ResolvedFilterComponent, {
26982
+ isFilterable ? _.normalizeComponent(ResolvedFilterComponent, {
26976
26983
  column,
26977
26984
  filter,
26978
26985
  onChange: /* @__PURE__ */ __name(function onChange(value) {
@@ -26982,8 +26989,8 @@ var __async = (__this, __arguments, generator) => {
26982
26989
  );
26983
26990
  }, "makeFilter");
26984
26991
  var makeFilters = /* @__PURE__ */ __name(function makeFilters2() {
26985
- var theadFilterProps = _$1.splitProps(getTheadFilterProps(finalState, void 0, void 0, _this2));
26986
- var theadFilterTrProps = _$1.splitProps(getTheadFilterTrProps(finalState, void 0, void 0, _this2));
26992
+ var theadFilterProps = _.splitProps(getTheadFilterProps(finalState, void 0, void 0, _this2));
26993
+ var theadFilterTrProps = _.splitProps(getTheadFilterTrProps(finalState, void 0, void 0, _this2));
26987
26994
  return React$3.createElement(
26988
26995
  TheadComponent,
26989
26996
  _extends$l({
@@ -27017,9 +27024,9 @@ var __async = (__this, __arguments, generator) => {
27017
27024
  groupedByPivot: row[groupedByPivotKey],
27018
27025
  subRows: row[subRowsKey]
27019
27026
  };
27020
- var isExpanded = _$1.get(expanded, rowInfo.nestingPath);
27027
+ var isExpanded = _.get(expanded, rowInfo.nestingPath);
27021
27028
  var trGroupProps = getTrGroupProps(finalState, rowInfo, void 0, _this2);
27022
- var trProps = _$1.splitProps(getTrProps(finalState, rowInfo, void 0, _this2));
27029
+ var trProps = _.splitProps(getTrProps(finalState, rowInfo, void 0, _this2));
27023
27030
  return React$3.createElement(
27024
27031
  TrGroupComponent,
27025
27032
  _extends$l({ key: rowInfo.nestingPath.join("_") }, trGroupProps),
@@ -27034,10 +27041,10 @@ var __async = (__this, __arguments, generator) => {
27034
27041
  return x2.id === column.id;
27035
27042
  }) || {};
27036
27043
  var show = typeof column.show === "function" ? column.show() : column.show;
27037
- var width = _$1.getFirstDefined(resizedCol.value, column.width, column.minWidth);
27038
- var maxWidth = _$1.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
27039
- var tdProps = _$1.splitProps(getTdProps(finalState, rowInfo, column, _this2));
27040
- var columnProps = _$1.splitProps(column.getProps(finalState, rowInfo, column, _this2));
27044
+ var width = _.getFirstDefined(resizedCol.value, column.width, column.minWidth);
27045
+ var maxWidth = _.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
27046
+ var tdProps = _.splitProps(getTdProps(finalState, rowInfo, column, _this2));
27047
+ var columnProps = _.splitProps(column.getProps(finalState, rowInfo, column, _this2));
27041
27048
  var classes = [tdProps.className, column.className, columnProps.className];
27042
27049
  var styles2 = _extends$l({}, tdProps.style, column.style, columnProps.style);
27043
27050
  var cellInfo = _extends$l({}, rowInfo, {
@@ -27060,11 +27067,11 @@ var __async = (__this, __arguments, generator) => {
27060
27067
  var isBranch = void 0;
27061
27068
  var isPreview = void 0;
27062
27069
  var onExpanderClick = /* @__PURE__ */ __name(function onExpanderClick2(e2) {
27063
- var newExpanded = _$1.clone(expanded);
27070
+ var newExpanded = _.clone(expanded);
27064
27071
  if (isExpanded) {
27065
- newExpanded = _$1.set(newExpanded, cellInfo.nestingPath, false);
27072
+ newExpanded = _.set(newExpanded, cellInfo.nestingPath, false);
27066
27073
  } else {
27067
- newExpanded = _$1.set(newExpanded, cellInfo.nestingPath, {});
27074
+ newExpanded = _.set(newExpanded, cellInfo.nestingPath, {});
27068
27075
  }
27069
27076
  return _this2.setStateWithData({
27070
27077
  expanded: newExpanded
@@ -27072,7 +27079,7 @@ var __async = (__this, __arguments, generator) => {
27072
27079
  return onExpandedChange && onExpandedChange(newExpanded, cellInfo.nestingPath, e2, cellInfo);
27073
27080
  });
27074
27081
  }, "onExpanderClick");
27075
- var resolvedCell = _$1.normalizeComponent(column.Cell, cellInfo, value);
27082
+ var resolvedCell = _.normalizeComponent(column.Cell, cellInfo, value);
27076
27083
  var ResolvedAggregatedComponent = column.Aggregated || (!column.aggregate ? AggregatedComponent : column.Cell);
27077
27084
  var ResolvedExpanderComponent = column.Expander || ExpanderComponent;
27078
27085
  var ResolvedPivotValueComponent = column.PivotValue || PivotValueComponent;
@@ -27096,19 +27103,19 @@ var __async = (__this, __arguments, generator) => {
27096
27103
  isBranch = rowInfo.row[pivotIDKey] === column.id && cellInfo.subRows;
27097
27104
  isPreview = pivotBy.indexOf(column.id) > pivotBy.indexOf(rowInfo.row[pivotIDKey]) && cellInfo.subRows;
27098
27105
  if (isBranch) {
27099
- resolvedCell = _$1.normalizeComponent(ResolvedPivotComponent, _extends$l({}, cellInfo, {
27106
+ resolvedCell = _.normalizeComponent(ResolvedPivotComponent, _extends$l({}, cellInfo, {
27100
27107
  value: row[pivotValKey]
27101
27108
  }), row[pivotValKey]);
27102
27109
  } else if (isPreview) {
27103
- resolvedCell = _$1.normalizeComponent(ResolvedAggregatedComponent, cellInfo, value);
27110
+ resolvedCell = _.normalizeComponent(ResolvedAggregatedComponent, cellInfo, value);
27104
27111
  } else {
27105
27112
  resolvedCell = null;
27106
27113
  }
27107
27114
  } else if (cellInfo.aggregated) {
27108
- resolvedCell = _$1.normalizeComponent(ResolvedAggregatedComponent, cellInfo, value);
27115
+ resolvedCell = _.normalizeComponent(ResolvedAggregatedComponent, cellInfo, value);
27109
27116
  }
27110
27117
  if (cellInfo.expander) {
27111
- resolvedCell = _$1.normalizeComponent(ResolvedExpanderComponent, cellInfo, row[pivotValKey]);
27118
+ resolvedCell = _.normalizeComponent(ResolvedExpanderComponent, cellInfo, row[pivotValKey]);
27112
27119
  if (pivotBy) {
27113
27120
  if (cellInfo.groupedByPivot) {
27114
27121
  resolvedCell = null;
@@ -27144,8 +27151,8 @@ var __async = (__this, __arguments, generator) => {
27144
27151
  className: classNames(classes, !cellInfo.expandable && !show && "hidden", cellInfo.expandable && "rt-expandable", (isBranch || isPreview) && "rt-pivot"),
27145
27152
  style: _extends$l({}, styles2, {
27146
27153
  flex: width + " 0 auto",
27147
- width: _$1.asPx(width),
27148
- maxWidth: _$1.asPx(maxWidth)
27154
+ width: _.asPx(width),
27155
+ maxWidth: _.asPx(maxWidth)
27149
27156
  })
27150
27157
  }, tdProps.rest, columnProps.rest, interactionProps),
27151
27158
  resolvedCell
@@ -27156,8 +27163,8 @@ var __async = (__this, __arguments, generator) => {
27156
27163
  return makePageRow2(d2, i3, rowInfo.nestingPath);
27157
27164
  }),
27158
27165
  SubComponent && !rowInfo.subRows && isExpanded && SubComponent(rowInfo, function() {
27159
- var newExpanded = _$1.clone(expanded);
27160
- _$1.set(newExpanded, rowInfo.nestingPath, false);
27166
+ var newExpanded = _.clone(expanded);
27167
+ _.set(newExpanded, rowInfo.nestingPath, false);
27161
27168
  })
27162
27169
  );
27163
27170
  }, "makePageRow");
@@ -27166,11 +27173,11 @@ var __async = (__this, __arguments, generator) => {
27166
27173
  return x2.id === column.id;
27167
27174
  }) || {};
27168
27175
  var show = typeof column.show === "function" ? column.show() : column.show;
27169
- var width = _$1.getFirstDefined(resizedCol.value, column.width, column.minWidth);
27176
+ var width = _.getFirstDefined(resizedCol.value, column.width, column.minWidth);
27170
27177
  var flex = width;
27171
- var maxWidth = _$1.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
27172
- var tdProps = _$1.splitProps(getTdProps(finalState, void 0, column, _this2));
27173
- var columnProps = _$1.splitProps(column.getProps(finalState, void 0, column, _this2));
27178
+ var maxWidth = _.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
27179
+ var tdProps = _.splitProps(getTdProps(finalState, void 0, column, _this2));
27180
+ var columnProps = _.splitProps(column.getProps(finalState, void 0, column, _this2));
27174
27181
  var classes = [tdProps.className, column.className, columnProps.className];
27175
27182
  var styles2 = _extends$l({}, tdProps.style, column.style, columnProps.style);
27176
27183
  return React$3.createElement(
@@ -27180,16 +27187,16 @@ var __async = (__this, __arguments, generator) => {
27180
27187
  className: classNames(classes, !show && "hidden"),
27181
27188
  style: _extends$l({}, styles2, {
27182
27189
  flex: flex + " 0 auto",
27183
- width: _$1.asPx(width),
27184
- maxWidth: _$1.asPx(maxWidth)
27190
+ width: _.asPx(width),
27191
+ maxWidth: _.asPx(maxWidth)
27185
27192
  })
27186
27193
  }, tdProps.rest),
27187
- _$1.normalizeComponent(PadRowComponent)
27194
+ _.normalizeComponent(PadRowComponent)
27188
27195
  );
27189
27196
  }, "makePadColumn");
27190
27197
  var makePadRow = /* @__PURE__ */ __name(function makePadRow2(row, i2) {
27191
27198
  var trGroupProps = getTrGroupProps(finalState, void 0, void 0, _this2);
27192
- var trProps = _$1.splitProps(getTrProps(finalState, void 0, void 0, _this2));
27199
+ var trProps = _.splitProps(getTrProps(finalState, void 0, void 0, _this2));
27193
27200
  return React$3.createElement(
27194
27201
  TrGroupComponent,
27195
27202
  _extends$l({ key: "pad-" + i2 }, trGroupProps),
@@ -27208,11 +27215,11 @@ var __async = (__this, __arguments, generator) => {
27208
27215
  return x2.id === column.id;
27209
27216
  }) || {};
27210
27217
  var show = typeof column.show === "function" ? column.show() : column.show;
27211
- var width = _$1.getFirstDefined(resizedCol.value, column.width, column.minWidth);
27212
- var maxWidth = _$1.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
27213
- var tFootTdProps = _$1.splitProps(getTfootTdProps(finalState, void 0, column, _this2));
27214
- var columnProps = _$1.splitProps(column.getProps(finalState, void 0, column, _this2));
27215
- var columnFooterProps = _$1.splitProps(column.getFooterProps(finalState, void 0, column, _this2));
27218
+ var width = _.getFirstDefined(resizedCol.value, column.width, column.minWidth);
27219
+ var maxWidth = _.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
27220
+ var tFootTdProps = _.splitProps(getTfootTdProps(finalState, void 0, column, _this2));
27221
+ var columnProps = _.splitProps(column.getProps(finalState, void 0, column, _this2));
27222
+ var columnFooterProps = _.splitProps(column.getFooterProps(finalState, void 0, column, _this2));
27216
27223
  var classes = [tFootTdProps.className, column.className, columnProps.className, columnFooterProps.className];
27217
27224
  var styles2 = _extends$l({}, tFootTdProps.style, column.style, columnProps.style, columnFooterProps.style);
27218
27225
  return React$3.createElement(
@@ -27222,19 +27229,19 @@ var __async = (__this, __arguments, generator) => {
27222
27229
  className: classNames(classes, !show && "hidden"),
27223
27230
  style: _extends$l({}, styles2, {
27224
27231
  flex: width + " 0 auto",
27225
- width: _$1.asPx(width),
27226
- maxWidth: _$1.asPx(maxWidth)
27232
+ width: _.asPx(width),
27233
+ maxWidth: _.asPx(maxWidth)
27227
27234
  })
27228
27235
  }, columnProps.rest, tFootTdProps.rest, columnFooterProps.rest),
27229
- _$1.normalizeComponent(column.Footer, {
27236
+ _.normalizeComponent(column.Footer, {
27230
27237
  data: sortedData,
27231
27238
  column
27232
27239
  })
27233
27240
  );
27234
27241
  }, "makeColumnFooter");
27235
27242
  var makeColumnFooters = /* @__PURE__ */ __name(function makeColumnFooters2() {
27236
- var tFootProps = _$1.splitProps(getTfootProps(finalState, void 0, void 0, _this2));
27237
- var tFootTrProps = _$1.splitProps(getTfootTrProps(finalState, void 0, void 0, _this2));
27243
+ var tFootProps = _.splitProps(getTfootProps(finalState, void 0, void 0, _this2));
27244
+ var tFootTrProps = _.splitProps(getTfootTrProps(finalState, void 0, void 0, _this2));
27238
27245
  return React$3.createElement(
27239
27246
  TfootComponent,
27240
27247
  _extends$l({
@@ -27254,7 +27261,7 @@ var __async = (__this, __arguments, generator) => {
27254
27261
  );
27255
27262
  }, "makeColumnFooters");
27256
27263
  var makePagination = /* @__PURE__ */ __name(function makePagination2(isTop) {
27257
- var paginationProps = _$1.splitProps(getPaginationProps(finalState, void 0, void 0, _this2));
27264
+ var paginationProps = _.splitProps(getPaginationProps(finalState, void 0, void 0, _this2));
27258
27265
  return React$3.createElement(PaginationComponent, _extends$l({}, resolvedState, {
27259
27266
  pages,
27260
27267
  canPrevious,
@@ -27318,7 +27325,7 @@ var __async = (__this, __arguments, generator) => {
27318
27325
  !pageRows.length && React$3.createElement(
27319
27326
  NoDataComponent,
27320
27327
  noDataProps,
27321
- _$1.normalizeComponent(noDataText)
27328
+ _.normalizeComponent(noDataText)
27322
27329
  ),
27323
27330
  React$3.createElement(LoadingComponent2, _extends$l({ loading, loadingText }, loadingProps))
27324
27331
  );
@@ -28270,7 +28277,7 @@ var __async = (__this, __arguments, generator) => {
28270
28277
  var toStr$5 = Object.prototype.toString;
28271
28278
  var defineProperty$7 = Object.defineProperty;
28272
28279
  var gOPD$3 = Object.getOwnPropertyDescriptor;
28273
- var isArray$g = /* @__PURE__ */ __name(function isArray2(arr) {
28280
+ var isArray$f = /* @__PURE__ */ __name(function isArray2(arr) {
28274
28281
  if (typeof Array.isArray === "function") {
28275
28282
  return Array.isArray(arr);
28276
28283
  }
@@ -28333,10 +28340,10 @@ var __async = (__this, __arguments, generator) => {
28333
28340
  src2 = getProperty(target, name2);
28334
28341
  copy2 = getProperty(options, name2);
28335
28342
  if (target !== copy2) {
28336
- if (deep && copy2 && (isPlainObject$4(copy2) || (copyIsArray = isArray$g(copy2)))) {
28343
+ if (deep && copy2 && (isPlainObject$4(copy2) || (copyIsArray = isArray$f(copy2)))) {
28337
28344
  if (copyIsArray) {
28338
28345
  copyIsArray = false;
28339
- clone2 = src2 && isArray$g(src2) ? src2 : [];
28346
+ clone2 = src2 && isArray$f(src2) ? src2 : [];
28340
28347
  } else {
28341
28348
  clone2 = src2 && isPlainObject$4(src2) ? src2 : {};
28342
28349
  }
@@ -36349,7 +36356,7 @@ var __async = (__this, __arguments, generator) => {
36349
36356
  if (hasRequiredReactIs_development)
36350
36357
  return reactIs_development;
36351
36358
  hasRequiredReactIs_development = 1;
36352
- if (process.env.NODE_ENV !== "production") {
36359
+ if (production !== "production") {
36353
36360
  (function() {
36354
36361
  var REACT_ELEMENT_TYPE = Symbol.for("react.element");
36355
36362
  var REACT_PORTAL_TYPE = Symbol.for("react.portal");
@@ -36542,7 +36549,7 @@ var __async = (__this, __arguments, generator) => {
36542
36549
  return reactIs_development;
36543
36550
  }
36544
36551
  __name(requireReactIs_development, "requireReactIs_development");
36545
- if (process.env.NODE_ENV === "production") {
36552
+ if (production === "production") {
36546
36553
  reactIs.exports = requireReactIs_production_min();
36547
36554
  } else {
36548
36555
  reactIs.exports = requireReactIs_development();
@@ -42466,11 +42473,11 @@ var __async = (__this, __arguments, generator) => {
42466
42473
  }
42467
42474
  bound = Function("binder", "return function (" + boundArgs.join(",") + "){ return binder.apply(this,arguments); }")(binder);
42468
42475
  if (target.prototype) {
42469
- var Empty = /* @__PURE__ */ __name(function Empty2() {
42476
+ var Empty2 = /* @__PURE__ */ __name(function Empty3() {
42470
42477
  }, "Empty");
42471
- Empty.prototype = target.prototype;
42472
- bound.prototype = new Empty();
42473
- Empty.prototype = null;
42478
+ Empty2.prototype = target.prototype;
42479
+ bound.prototype = new Empty2();
42480
+ Empty2.prototype = null;
42474
42481
  }
42475
42482
  return bound;
42476
42483
  }, "bind");
@@ -42936,7 +42943,7 @@ var __async = (__this, __arguments, generator) => {
42936
42943
  depth = 0;
42937
42944
  }
42938
42945
  if (depth >= maxDepth && maxDepth > 0 && typeof obj === "object") {
42939
- return isArray$f(obj) ? "[Array]" : "[Object]";
42946
+ return isArray$e(obj) ? "[Array]" : "[Object]";
42940
42947
  }
42941
42948
  var indent2 = getIndent(opts2, depth);
42942
42949
  if (typeof seen === "undefined") {
@@ -42983,7 +42990,7 @@ var __async = (__this, __arguments, generator) => {
42983
42990
  s2 += "</" + $toLowerCase.call(String(obj.nodeName)) + ">";
42984
42991
  return s2;
42985
42992
  }
42986
- if (isArray$f(obj)) {
42993
+ if (isArray$e(obj)) {
42987
42994
  if (obj.length === 0) {
42988
42995
  return "[]";
42989
42996
  }
@@ -43046,7 +43053,7 @@ var __async = (__this, __arguments, generator) => {
43046
43053
  if (isBoolean$2(obj)) {
43047
43054
  return markBoxed(booleanValueOf.call(obj));
43048
43055
  }
43049
- if (isString$3(obj)) {
43056
+ if (isString$2(obj)) {
43050
43057
  return markBoxed(inspect2(String(obj)));
43051
43058
  }
43052
43059
  if (!isDate$1(obj) && !isRegExp$1(obj)) {
@@ -43075,10 +43082,10 @@ var __async = (__this, __arguments, generator) => {
43075
43082
  return $replace.call(String(s2), /"/g, "&quot;");
43076
43083
  }
43077
43084
  __name(quote, "quote");
43078
- function isArray$f(obj) {
43085
+ function isArray$e(obj) {
43079
43086
  return toStr$3(obj) === "[object Array]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
43080
43087
  }
43081
- __name(isArray$f, "isArray$f");
43088
+ __name(isArray$e, "isArray$e");
43082
43089
  function isDate$1(obj) {
43083
43090
  return toStr$3(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
43084
43091
  }
@@ -43091,10 +43098,10 @@ var __async = (__this, __arguments, generator) => {
43091
43098
  return toStr$3(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
43092
43099
  }
43093
43100
  __name(isError, "isError");
43094
- function isString$3(obj) {
43101
+ function isString$2(obj) {
43095
43102
  return toStr$3(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
43096
43103
  }
43097
- __name(isString$3, "isString$3");
43104
+ __name(isString$2, "isString$2");
43098
43105
  function isNumber$5(obj) {
43099
43106
  return toStr$3(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
43100
43107
  }
@@ -43328,7 +43335,7 @@ var __async = (__this, __arguments, generator) => {
43328
43335
  }
43329
43336
  __name(indentedJoin, "indentedJoin");
43330
43337
  function arrObjKeys(obj, inspect2) {
43331
- var isArr = isArray$f(obj);
43338
+ var isArr = isArray$e(obj);
43332
43339
  var xs = [];
43333
43340
  if (isArr) {
43334
43341
  xs.length = obj.length;
@@ -43494,7 +43501,7 @@ var __async = (__this, __arguments, generator) => {
43494
43501
  };
43495
43502
  var formats$2 = formats$3;
43496
43503
  var has$6 = Object.prototype.hasOwnProperty;
43497
- var isArray$e = Array.isArray;
43504
+ var isArray$d = Array.isArray;
43498
43505
  var hexTable = function() {
43499
43506
  var array = [];
43500
43507
  for (var i2 = 0; i2 < 256; ++i2) {
@@ -43506,7 +43513,7 @@ var __async = (__this, __arguments, generator) => {
43506
43513
  while (queue.length > 1) {
43507
43514
  var item = queue.pop();
43508
43515
  var obj = item.obj[item.prop];
43509
- if (isArray$e(obj)) {
43516
+ if (isArray$d(obj)) {
43510
43517
  var compacted = [];
43511
43518
  for (var j2 = 0; j2 < obj.length; ++j2) {
43512
43519
  if (typeof obj[j2] !== "undefined") {
@@ -43531,7 +43538,7 @@ var __async = (__this, __arguments, generator) => {
43531
43538
  return target;
43532
43539
  }
43533
43540
  if (typeof source2 !== "object") {
43534
- if (isArray$e(target)) {
43541
+ if (isArray$d(target)) {
43535
43542
  target.push(source2);
43536
43543
  } else if (target && typeof target === "object") {
43537
43544
  if (options && (options.plainObjects || options.allowPrototypes) || !has$6.call(Object.prototype, source2)) {
@@ -43546,10 +43553,10 @@ var __async = (__this, __arguments, generator) => {
43546
43553
  return [target].concat(source2);
43547
43554
  }
43548
43555
  var mergeTarget = target;
43549
- if (isArray$e(target) && !isArray$e(source2)) {
43556
+ if (isArray$d(target) && !isArray$d(source2)) {
43550
43557
  mergeTarget = arrayToObject(target, options);
43551
43558
  }
43552
- if (isArray$e(target) && isArray$e(source2)) {
43559
+ if (isArray$d(target) && isArray$d(source2)) {
43553
43560
  source2.forEach(function(item, i2) {
43554
43561
  if (has$6.call(target, i2)) {
43555
43562
  var targetItem = target[i2];
@@ -43663,7 +43670,7 @@ var __async = (__this, __arguments, generator) => {
43663
43670
  return [].concat(a2, b3);
43664
43671
  }, "combine");
43665
43672
  var maybeMap = /* @__PURE__ */ __name(function maybeMap2(val2, fn2) {
43666
- if (isArray$e(val2)) {
43673
+ if (isArray$d(val2)) {
43667
43674
  var mapped = [];
43668
43675
  for (var i2 = 0; i2 < val2.length; i2 += 1) {
43669
43676
  mapped.push(fn2(val2[i2]));
@@ -43700,10 +43707,10 @@ var __async = (__this, __arguments, generator) => {
43700
43707
  return prefix2;
43701
43708
  }, "repeat")
43702
43709
  };
43703
- var isArray$d = Array.isArray;
43710
+ var isArray$c = Array.isArray;
43704
43711
  var push = Array.prototype.push;
43705
43712
  var pushToArray = /* @__PURE__ */ __name(function(arr, valueOrArray) {
43706
- push.apply(arr, isArray$d(valueOrArray) ? valueOrArray : [valueOrArray]);
43713
+ push.apply(arr, isArray$c(valueOrArray) ? valueOrArray : [valueOrArray]);
43707
43714
  }, "pushToArray");
43708
43715
  var toISO = Date.prototype.toISOString;
43709
43716
  var defaultFormat = formats$1["default"];
@@ -43753,7 +43760,7 @@ var __async = (__this, __arguments, generator) => {
43753
43760
  obj = filter(prefix2, obj);
43754
43761
  } else if (obj instanceof Date) {
43755
43762
  obj = serializeDate(obj);
43756
- } else if (generateArrayPrefix === "comma" && isArray$d(obj)) {
43763
+ } else if (generateArrayPrefix === "comma" && isArray$c(obj)) {
43757
43764
  obj = utils$5.maybeMap(obj, function(value2) {
43758
43765
  if (value2 instanceof Date) {
43759
43766
  return serializeDate(value2);
@@ -43779,25 +43786,25 @@ var __async = (__this, __arguments, generator) => {
43779
43786
  return values;
43780
43787
  }
43781
43788
  var objKeys;
43782
- if (generateArrayPrefix === "comma" && isArray$d(obj)) {
43789
+ if (generateArrayPrefix === "comma" && isArray$c(obj)) {
43783
43790
  if (encodeValuesOnly && encoder) {
43784
43791
  obj = utils$5.maybeMap(obj, encoder);
43785
43792
  }
43786
43793
  objKeys = [{ value: obj.length > 0 ? obj.join(",") || null : void 0 }];
43787
- } else if (isArray$d(filter)) {
43794
+ } else if (isArray$c(filter)) {
43788
43795
  objKeys = filter;
43789
43796
  } else {
43790
43797
  var keys2 = Object.keys(obj);
43791
43798
  objKeys = sort ? keys2.sort(sort) : keys2;
43792
43799
  }
43793
- var adjustedPrefix = commaRoundTrip && isArray$d(obj) && obj.length === 1 ? prefix2 + "[]" : prefix2;
43800
+ var adjustedPrefix = commaRoundTrip && isArray$c(obj) && obj.length === 1 ? prefix2 + "[]" : prefix2;
43794
43801
  for (var j2 = 0; j2 < objKeys.length; ++j2) {
43795
43802
  var key2 = objKeys[j2];
43796
43803
  var value = typeof key2 === "object" && typeof key2.value !== "undefined" ? key2.value : obj[key2];
43797
43804
  if (skipNulls && value === null) {
43798
43805
  continue;
43799
43806
  }
43800
- var keyPrefix = isArray$d(obj) ? typeof generateArrayPrefix === "function" ? generateArrayPrefix(adjustedPrefix, key2) : adjustedPrefix : adjustedPrefix + (allowDots ? "." + key2 : "[" + key2 + "]");
43807
+ var keyPrefix = isArray$c(obj) ? typeof generateArrayPrefix === "function" ? generateArrayPrefix(adjustedPrefix, key2) : adjustedPrefix : adjustedPrefix + (allowDots ? "." + key2 : "[" + key2 + "]");
43801
43808
  sideChannel2.set(object2, step2);
43802
43809
  var valueSideChannel = getSideChannel();
43803
43810
  valueSideChannel.set(sentinel, sideChannel2);
@@ -43808,7 +43815,7 @@ var __async = (__this, __arguments, generator) => {
43808
43815
  commaRoundTrip,
43809
43816
  strictNullHandling,
43810
43817
  skipNulls,
43811
- generateArrayPrefix === "comma" && encodeValuesOnly && isArray$d(obj) ? null : encoder,
43818
+ generateArrayPrefix === "comma" && encodeValuesOnly && isArray$c(obj) ? null : encoder,
43812
43819
  filter,
43813
43820
  sort,
43814
43821
  allowDots,
@@ -43842,7 +43849,7 @@ var __async = (__this, __arguments, generator) => {
43842
43849
  }
43843
43850
  var formatter = formats$1.formatters[format2];
43844
43851
  var filter = defaults$2.filter;
43845
- if (typeof opts2.filter === "function" || isArray$d(opts2.filter)) {
43852
+ if (typeof opts2.filter === "function" || isArray$c(opts2.filter)) {
43846
43853
  filter = opts2.filter;
43847
43854
  }
43848
43855
  return {
@@ -43871,7 +43878,7 @@ var __async = (__this, __arguments, generator) => {
43871
43878
  if (typeof options.filter === "function") {
43872
43879
  filter = options.filter;
43873
43880
  obj = filter("", obj);
43874
- } else if (isArray$d(options.filter)) {
43881
+ } else if (isArray$c(options.filter)) {
43875
43882
  filter = options.filter;
43876
43883
  objKeys = filter;
43877
43884
  }
@@ -43936,7 +43943,7 @@ var __async = (__this, __arguments, generator) => {
43936
43943
  }, "stringify_1");
43937
43944
  var utils$4 = utils$6;
43938
43945
  var has$4 = Object.prototype.hasOwnProperty;
43939
- var isArray$c = Array.isArray;
43946
+ var isArray$b = Array.isArray;
43940
43947
  var defaults$1 = {
43941
43948
  allowDots: false,
43942
43949
  allowPrototypes: false,
@@ -44013,7 +44020,7 @@ var __async = (__this, __arguments, generator) => {
44013
44020
  val2 = interpretNumericEntities(val2);
44014
44021
  }
44015
44022
  if (part.indexOf("[]=") > -1) {
44016
- val2 = isArray$c(val2) ? [val2] : val2;
44023
+ val2 = isArray$b(val2) ? [val2] : val2;
44017
44024
  }
44018
44025
  if (has$4.call(obj, key2)) {
44019
44026
  obj[key2] = utils$4.combine(obj[key2], val2);
@@ -44138,434 +44145,6 @@ var __async = (__this, __arguments, generator) => {
44138
44145
  stringify
44139
44146
  };
44140
44147
  const queryString = /* @__PURE__ */ getDefaultExportFromCjs(lib$8);
44141
- var filterExpression = function() {
44142
- function FilterExpression2(opName, args) {
44143
- this.name = opName;
44144
- this.args = args;
44145
- }
44146
- __name(FilterExpression2, "FilterExpression");
44147
- FilterExpression2.prototype.toFilter = function(filterBuilder, argName) {
44148
- var filterDef = {
44149
- type: "expression",
44150
- operator: this.name,
44151
- field: argName,
44152
- args: this.args
44153
- };
44154
- return filterDef;
44155
- };
44156
- return FilterExpression2;
44157
- }();
44158
- var combineQueries$1 = /* @__PURE__ */ __name(function combineQueries2(qry1, qry2, joinOperator, opts2) {
44159
- if (qry1.__objectType !== "query")
44160
- throw new Error("First query is not a query type.");
44161
- if (qry2.__objectType !== "query")
44162
- throw new Error("Second query is not a query type.");
44163
- if (qry1.entity != qry2.entity)
44164
- throw new Error(
44165
- "Queries are for different entities " + qry1.entity + " and " + qry2.entity
44166
- );
44167
- if (joinOperator !== "or")
44168
- joinOperator = "and";
44169
- var combinedFilters = {
44170
- type: "group",
44171
- operator: joinOperator,
44172
- filters: []
44173
- };
44174
- combinedFilters.filters = qry1.filters.concat(qry2.filters);
44175
- qry1.filters = [combinedFilters];
44176
- return qry1;
44177
- }, "combineQueries");
44178
- const FilterExpression = filterExpression;
44179
- const _ = lodashExports;
44180
- const combineQueries = combineQueries$1;
44181
- function isDateOrNumber(opName) {
44182
- return () => {
44183
- var args = [].slice.call(arguments);
44184
- if (args.some((arg) => {
44185
- return !(_.isDate(arg) || _.isString(arg) || _.isNumber(arg));
44186
- })) {
44187
- throw new Error(
44188
- `QueryBuilderError: You must pass a date or number as args to ${opName}. You passed: Args ${args.join(
44189
- ","
44190
- )}`
44191
- );
44192
- }
44193
- };
44194
- }
44195
- __name(isDateOrNumber, "isDateOrNumber");
44196
- function isArray$b(opName) {
44197
- return (arg) => {
44198
- if (!_.isArray(arg)) {
44199
- throw new Error(
44200
- `QueryBuilderError: You must pass an array for ${opName} filters. You passed: ${arg}`
44201
- );
44202
- }
44203
- };
44204
- }
44205
- __name(isArray$b, "isArray$b");
44206
- function isString$2(opName) {
44207
- return (arg) => {
44208
- if (!_.isString(arg)) {
44209
- throw new Error(
44210
- `QueryBuilderError: You must pass a string for ${opName} filters. You passed: ${arg}`
44211
- );
44212
- }
44213
- };
44214
- }
44215
- __name(isString$2, "isString$2");
44216
- function numberOfArgs(opName, argLength) {
44217
- return (...args) => {
44218
- if (args.length !== argLength) {
44219
- throw new Error(
44220
- `QueryBuilderError: Args for ${opName} are of length ${args.length}, but they should be of length ${argLength}`
44221
- );
44222
- }
44223
- };
44224
- }
44225
- __name(numberOfArgs, "numberOfArgs");
44226
- const expressionOperators = [
44227
- {
44228
- opName: "greaterThan",
44229
- sanityChecks: [
44230
- numberOfArgs("greaterThan", 1),
44231
- isDateOrNumber("greaterThan")
44232
- ]
44233
- },
44234
- {
44235
- opName: "inList",
44236
- sanityChecks: [numberOfArgs("inList", 1), isArray$b("inList")]
44237
- },
44238
- {
44239
- opName: "lessThan",
44240
- sanityChecks: [numberOfArgs("lessThan", 1), isDateOrNumber("lessThan")]
44241
- },
44242
- {
44243
- opName: "lessThanOrEqual",
44244
- sanityChecks: [
44245
- numberOfArgs("lessThanOrEqual", 1),
44246
- isDateOrNumber("lessThanOrEqual")
44247
- ]
44248
- },
44249
- {
44250
- opName: "equals",
44251
- sanityChecks: [numberOfArgs("equals", 1)]
44252
- },
44253
- {
44254
- opName: "greaterThanOrEqual",
44255
- sanityChecks: [
44256
- numberOfArgs("greaterThanOrEqual", 1),
44257
- isDateOrNumber("greaterThanOrEqual")
44258
- ]
44259
- },
44260
- {
44261
- opName: "notEquals",
44262
- sanityChecks: [numberOfArgs("notEquals", 1)]
44263
- },
44264
- {
44265
- opName: "notNull",
44266
- sanityChecks: [numberOfArgs("notNull", 0)]
44267
- },
44268
- {
44269
- opName: "isNull",
44270
- sanityChecks: [numberOfArgs("isNull", 0)]
44271
- },
44272
- {
44273
- opName: "between",
44274
- sanityChecks: [numberOfArgs("between", 2), isDateOrNumber("between")]
44275
- },
44276
- {
44277
- opName: "notInList",
44278
- sanityChecks: [numberOfArgs("notInList", 1), isArray$b("notInList")]
44279
- },
44280
- {
44281
- opName: "startsWithExactly",
44282
- sanityChecks: [numberOfArgs("startsWith", 1), isString$2("startsWith")]
44283
- },
44284
- {
44285
- opName: "endsWithExactly",
44286
- sanityChecks: [numberOfArgs("endsWith", 1), isString$2("endsWith")]
44287
- },
44288
- {
44289
- opName: "containsExactly",
44290
- sanityChecks: [numberOfArgs("contains", 1), isString$2("contains")]
44291
- },
44292
- {
44293
- opName: "startsWith",
44294
- sanityChecks: [numberOfArgs("startsWith", 1), isString$2("startsWith")]
44295
- },
44296
- {
44297
- opName: "notStartsWith",
44298
- sanityChecks: [numberOfArgs("notStartsWith", 1), isString$2("notStartsWith")]
44299
- },
44300
- {
44301
- opName: "endsWith",
44302
- sanityChecks: [numberOfArgs("endsWith", 1), isString$2("endsWith")]
44303
- },
44304
- {
44305
- opName: "notEndsWith",
44306
- sanityChecks: [numberOfArgs("notEndsWith", 1), isString$2("notEndsWith")]
44307
- },
44308
- {
44309
- opName: "contains",
44310
- sanityChecks: [numberOfArgs("contains", 1), isString$2("contains")]
44311
- },
44312
- {
44313
- opName: "notContains",
44314
- sanityChecks: [numberOfArgs("notContains", 1), isString$2("notContains")]
44315
- },
44316
- {
44317
- opName: "upperCase",
44318
- sanityChecks: [numberOfArgs("upperCase", 1), isString$2("upperCase")]
44319
- },
44320
- {
44321
- opName: "lowerCase",
44322
- sanityChecks: [numberOfArgs("lowerCase", 1), isString$2("lowerCase")]
44323
- },
44324
- {
44325
- opName: "matchesRegex",
44326
- sanityChecks: [numberOfArgs("matchesRegex", 1), isString$2("matchesRegex")]
44327
- },
44328
- {
44329
- opName: "matchesSimilar",
44330
- sanityChecks: [
44331
- numberOfArgs("matchesSimilar", 1),
44332
- isString$2("matchesSimilar")
44333
- ]
44334
- },
44335
- {
44336
- opName: "fuzzy",
44337
- sanityChecks: [numberOfArgs("fuzzy", 1), isString$2("fuzzy")],
44338
- transform: (arg) => {
44339
- var matchTerm = "";
44340
- var terms = arg.replace(/\W/g, "").replace(" ", "").split("");
44341
- for (var i2 = 0; i2 < terms.length; i2++) {
44342
- matchTerm += ".*" + terms[i2];
44343
- }
44344
- matchTerm += ".*";
44345
- return {
44346
- newOpName: "matchesRegex",
44347
- newArgs: [matchTerm]
44348
- };
44349
- }
44350
- }
44351
- // 'subString', //tnr: not yet implemented
44352
- // 'dateOnly', //tnr: not yet implemented
44353
- ];
44354
- var queryBuilder = function() {
44355
- function QueryBuilder2(entity) {
44356
- this.query = {};
44357
- if (entity == null)
44358
- throw new Error("You must pass the name of the model being filtered!");
44359
- if (typeof entity === "string") {
44360
- this.query = {
44361
- __objectType: "query",
44362
- type: "root",
44363
- entity,
44364
- filters: []
44365
- };
44366
- } else {
44367
- let subQuery = entity;
44368
- this.query = {
44369
- type: "subquery",
44370
- key: subQuery.key,
44371
- entity: subQuery.entity,
44372
- foreignKey: subQuery.foreignKey,
44373
- modifier: subQuery.modifier,
44374
- isArrayRelation: subQuery.isArrayRelation,
44375
- filters: [],
44376
- countExpression: void 0
44377
- };
44378
- this.parentBuilder = subQuery.parentBuilder;
44379
- this.toFilter = function(filterBuilder, name2) {
44380
- this.query.foreignKey = name2;
44381
- return this.toJSON();
44382
- };
44383
- }
44384
- }
44385
- __name(QueryBuilder2, "QueryBuilder");
44386
- QueryBuilder2.combineQueries = combineQueries;
44387
- QueryBuilder2.prototype.field = function(fieldName) {
44388
- return {
44389
- __objectType: "field",
44390
- field: fieldName
44391
- };
44392
- };
44393
- QueryBuilder2.prototype.related = function(relatedEntity, isArrayRelation) {
44394
- var tokens2 = relatedEntity.split(".");
44395
- var entity = tokens2[0];
44396
- var key2 = tokens2[1];
44397
- return createSubQueryBuilder(this, entity, key2, isArrayRelation);
44398
- };
44399
- QueryBuilder2.prototype.notRelated = function(relatedEntity, isArrayRelation) {
44400
- var tokens2 = relatedEntity.split(".");
44401
- var entity = tokens2[0];
44402
- var key2 = tokens2[1];
44403
- return createSubQueryBuilder(this, entity, key2, isArrayRelation, "not");
44404
- };
44405
- QueryBuilder2.prototype.toJSON = function() {
44406
- let qry = JSON.parse(JSON.stringify(this.query));
44407
- if (qry.filters.length > 1) {
44408
- qry.filters = [
44409
- {
44410
- type: "group",
44411
- operator: "and",
44412
- chainedWith: "and",
44413
- filters: qry.filters
44414
- }
44415
- ];
44416
- }
44417
- return qry;
44418
- };
44419
- QueryBuilder2.prototype.convertToFilter = function(argDef, operator) {
44420
- var whereArgs = {};
44421
- var filters = [];
44422
- _.each(argDef, (arg, name2) => {
44423
- if (!isFilterExpresionOrSubQuery(name2, arg)) {
44424
- if (Array.isArray(arg)) {
44425
- filters.push(this.inList(arg).toFilter(this, name2));
44426
- } else {
44427
- whereArgs[name2] = arg;
44428
- }
44429
- } else {
44430
- filters.push(arg.toFilter(this, name2));
44431
- }
44432
- });
44433
- if (_.keys(whereArgs).length > 0) {
44434
- filters.unshift({
44435
- type: "where",
44436
- args: whereArgs
44437
- });
44438
- }
44439
- if (filters.length === 1) {
44440
- return filters[0];
44441
- }
44442
- var filterDef = {
44443
- type: "group",
44444
- operator: operator || "and",
44445
- filters
44446
- };
44447
- return filterDef;
44448
- };
44449
- QueryBuilder2.prototype.where = function() {
44450
- var args = [].slice.call(arguments);
44451
- return this.whereAll(args);
44452
- };
44453
- QueryBuilder2.prototype.orWhere = function() {
44454
- var args = [].slice.call(arguments);
44455
- return this.orWhereAll(args);
44456
- };
44457
- QueryBuilder2.prototype.andWhere = function() {
44458
- var args = [].slice.call(arguments);
44459
- return this.andWhereAll(args);
44460
- };
44461
- QueryBuilder2.prototype.whereAny = function() {
44462
- var args = [].slice.call(arguments);
44463
- return whereAny(this, args);
44464
- };
44465
- QueryBuilder2.prototype.whereAll = function() {
44466
- var args = [].slice.call(arguments);
44467
- return whereAll(this, args);
44468
- };
44469
- QueryBuilder2.prototype.andWhereAny = function() {
44470
- var args = [].slice.call(arguments);
44471
- return whereAny(this, args, "and");
44472
- };
44473
- QueryBuilder2.prototype.orWhereAny = function() {
44474
- var args = [].slice.call(arguments);
44475
- return whereAny(this, args, "or");
44476
- };
44477
- QueryBuilder2.prototype.andWhereAll = function() {
44478
- var args = [].slice.call(arguments);
44479
- return whereAll(this, args, "and");
44480
- };
44481
- QueryBuilder2.prototype.orWhereAll = function() {
44482
- var args = [].slice.call(arguments);
44483
- return whereAll(this, args, "or");
44484
- };
44485
- QueryBuilder2.prototype.count = function() {
44486
- var args = [].slice.call(arguments);
44487
- if (this.query.type === "subquery") {
44488
- if (this.query.countExpression) {
44489
- throw new Error(
44490
- "QueryBuilder subquery can only have one count expression"
44491
- );
44492
- }
44493
- this.query.countExpression = args[0].toFilter(this, "count");
44494
- } else {
44495
- throw new Error("QueryBuilder is not subquery type on count expression");
44496
- }
44497
- return this;
44498
- };
44499
- QueryBuilder2.ExpressionJson = {};
44500
- attachExpressionFunctions();
44501
- return QueryBuilder2;
44502
- function createSubQueryBuilder(qb, entity, key2, isArrayRelation = true, modifier) {
44503
- return new QueryBuilder2({
44504
- parentBuilder: qb,
44505
- entity,
44506
- key: key2,
44507
- modifier,
44508
- isArrayRelation
44509
- });
44510
- }
44511
- __name(createSubQueryBuilder, "createSubQueryBuilder");
44512
- function attachExpressionFunctions() {
44513
- expressionOperators.forEach(({ opName, sanityChecks, transform: transform2 }) => {
44514
- const filter = /* @__PURE__ */ __name((...args) => {
44515
- let argsToUse = args;
44516
- let opNameToUse = opName;
44517
- if (transform2) {
44518
- let { newOpName, newArgs } = transform2(...args);
44519
- argsToUse = newArgs;
44520
- opNameToUse = newOpName;
44521
- }
44522
- sanityChecks.forEach((sanityCheck) => {
44523
- sanityCheck(...args);
44524
- });
44525
- return new FilterExpression(opNameToUse, argsToUse);
44526
- }, "filter");
44527
- QueryBuilder2.prototype[opName] = filter;
44528
- QueryBuilder2.ExpressionJson[opName] = filter;
44529
- });
44530
- }
44531
- __name(attachExpressionFunctions, "attachExpressionFunctions");
44532
- function isFilterExpresionOrSubQuery(name2, arg) {
44533
- if (arg instanceof FilterExpression)
44534
- return true;
44535
- if (arg instanceof QueryBuilder2)
44536
- return true;
44537
- return false;
44538
- }
44539
- __name(isFilterExpresionOrSubQuery, "isFilterExpresionOrSubQuery");
44540
- function whereAny(filterBuilder, whereArgs, chainedWith) {
44541
- return where(filterBuilder, "or", whereArgs, chainedWith);
44542
- }
44543
- __name(whereAny, "whereAny");
44544
- function whereAll(filterBuilder, whereArgs, chainedWith) {
44545
- return where(filterBuilder, "and", whereArgs, chainedWith);
44546
- }
44547
- __name(whereAll, "whereAll");
44548
- function where(filterBuilder, operator, whereArgs, chainedWith) {
44549
- if (!Array.isArray(whereArgs))
44550
- return where(filterBuilder, operator, [whereArgs], chainedWith);
44551
- var filterDef = {
44552
- type: "group",
44553
- operator,
44554
- chainedWith,
44555
- filters: []
44556
- };
44557
- whereArgs.forEach((arg) => {
44558
- var filter = filterBuilder.convertToFilter(arg, operator);
44559
- filterDef.filters.push(filter);
44560
- });
44561
- filterBuilder.query.filters.push(filterDef);
44562
- return filterBuilder;
44563
- }
44564
- __name(where, "where");
44565
- }();
44566
- const QueryBuilder = queryBuilder;
44567
- var tgClientQueryBuilder = QueryBuilder;
44568
- const QueryBuilder$1 = /* @__PURE__ */ getDefaultExportFromCjs(tgClientQueryBuilder);
44569
44148
  const defaultPageSizes = [5, 10, 15, 25, 50, 100, 200, 400];
44570
44149
  function getMergedOpts(topLevel = {}, instanceLevel = {}) {
44571
44150
  const merged = __spreadValues(__spreadValues({}, topLevel), instanceLevel);
@@ -45207,7 +44786,7 @@ var __async = (__this, __arguments, generator) => {
45207
44786
  graphqlQueryParams.pageSize = ownProps.controlled_pageSize || Number(pageSize);
45208
44787
  }
45209
44788
  const { model: model2 } = schema2;
45210
- const qb = new QueryBuilder$1(model2);
44789
+ const qb = new window.QueryBuilder(model2);
45211
44790
  const ccFields = getFieldsMappedByCCDisplayName(schema2);
45212
44791
  if (tableQueryParams.order && tableQueryParams.order.length) {
45213
44792
  tableQueryParams.order.forEach((orderVal) => {
@@ -54931,7 +54510,7 @@ var __async = (__this, __arguments, generator) => {
54931
54510
  }
54932
54511
  __name(useDeepCompareMemoize, "useDeepCompareMemoize");
54933
54512
  function useDeepCompareEffect(callback2, dependencies2) {
54934
- if (process.env.NODE_ENV !== "production") {
54513
+ if (production !== "production") {
54935
54514
  checkDeps(dependencies2);
54936
54515
  }
54937
54516
  return React__namespace.useEffect(callback2, useDeepCompareMemoize(dependencies2));
@@ -56472,7 +56051,7 @@ var __async = (__this, __arguments, generator) => {
56472
56051
  return toReturn || {};
56473
56052
  }
56474
56053
  __name(computePresets, "computePresets");
56475
- var __DEV__ = process.env.NODE_ENV !== "production";
56054
+ var __DEV__ = production !== "production";
56476
56055
  var warning$1 = /* @__PURE__ */ __name(function() {
56477
56056
  }, "warning$1");
56478
56057
  if (__DEV__) {
@@ -56570,7 +56149,7 @@ var __async = (__this, __arguments, generator) => {
56570
56149
  return result;
56571
56150
  }
56572
56151
  __name(resolvePathname, "resolvePathname");
56573
- var isProduction$2 = process.env.NODE_ENV === "production";
56152
+ var isProduction$2 = production === "production";
56574
56153
  var prefix$2 = "Invariant failed";
56575
56154
  function invariant$2(condition, message) {
56576
56155
  if (condition) {
@@ -75039,7 +74618,7 @@ var __async = (__this, __arguments, generator) => {
75039
74618
  });
75040
74619
  DraggableCore$5.default = void 0;
75041
74620
  var React$2 = _interopRequireWildcard$2(React$3);
75042
- var _propTypes$1 = _interopRequireDefault$1(propTypesExports);
74621
+ var _propTypes$1 = _interopRequireDefault$1(requirePropTypes());
75043
74622
  var _reactDom$1 = _interopRequireDefault$1(ReactDOM$1);
75044
74623
  var _domFns$2 = domFns$1;
75045
74624
  var _positionFns$1 = positionFns$1;
@@ -75633,7 +75212,7 @@ var __async = (__this, __arguments, generator) => {
75633
75212
  });
75634
75213
  exports3.default = void 0;
75635
75214
  var React2 = _interopRequireWildcard2(React$3);
75636
- var _propTypes2 = _interopRequireDefault2(propTypesExports);
75215
+ var _propTypes2 = _interopRequireDefault2(requirePropTypes());
75637
75216
  var _reactDom2 = _interopRequireDefault2(ReactDOM$1);
75638
75217
  var _clsx2 = _interopRequireDefault2(require$$3);
75639
75218
  var _domFns2 = domFns$1;
@@ -80450,9 +80029,16 @@ var __async = (__this, __arguments, generator) => {
80450
80029
  }
80451
80030
  __name(trimRangeByAnotherRange, "trimRangeByAnotherRange");
80452
80031
  function adjustRangeToDeletionOfAnotherRange(rangeToBeAdjusted, anotherRange, maxLength) {
80453
- const trimmedRange = trimRangeByAnotherRange(rangeToBeAdjusted, anotherRange, maxLength);
80032
+ const trimmedRange = trimRangeByAnotherRange(
80033
+ rangeToBeAdjusted,
80034
+ anotherRange,
80035
+ maxLength
80036
+ );
80454
80037
  if (trimmedRange) {
80455
- const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(anotherRange, maxLength);
80038
+ const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
80039
+ anotherRange,
80040
+ maxLength
80041
+ );
80456
80042
  nonCircularDeletionRanges.forEach(function(nonCircularDeletionRange) {
80457
80043
  const deletionLength = nonCircularDeletionRange.end - nonCircularDeletionRange.start + 1;
80458
80044
  if (trimmedRange.start > trimmedRange.end) {
@@ -107108,7 +106694,7 @@ ${seq.sequence}
107108
106694
  if (!features2[feature.seq_id])
107109
106695
  features2[feature.seq_id] = [];
107110
106696
  const attributes = feature.attributes || {};
107111
- const name2 = _$2.get(attributes, "ID[0]");
106697
+ const name2 = _$1.get(attributes, "ID[0]");
107112
106698
  features2[feature.seq_id].push({
107113
106699
  name: name2,
107114
106700
  start: feature.start,
@@ -107212,7 +106798,7 @@ ${seq.sequence}
107212
106798
  searchWholeObjByNameSimpleArray("annotation", geneiousJsonInner),
107213
106799
  function(feature) {
107214
106800
  if (feature) {
107215
- const name22 = searchWholeObjByNameSimple("description", feature);
106801
+ const name22 = (searchWholeObjByNameSimple("description", feature) || "").substring(0, 255);
107216
106802
  const intervals = searchWholeObjByNameSimpleArray("interval", feature);
107217
106803
  const type2 = searchWholeObjByNameSimple("type", feature);
107218
106804
  const firstInterval = intervals[0];
@@ -107823,9 +107409,17 @@ ${seq.sequence}
107823
107409
  return snapgeneToJson(fileContentStringOrFileObj, options);
107824
107410
  } else if (/^(geneious)$/.test(ext)) {
107825
107411
  const a2 = yield getUint8ArrayFromFile(fileContentStringOrFileObj);
107826
- const b3 = unzipSync(a2);
107827
- const c2 = Object.values(b3)[0];
107828
- const d2 = new TextDecoder().decode(c2, { stream: false });
107412
+ let d2;
107413
+ try {
107414
+ d2 = new TextDecoder().decode(a2, { stream: false });
107415
+ if (!d2.includes("<geneious")) {
107416
+ throw new Error("not geneious");
107417
+ }
107418
+ } catch (e2) {
107419
+ const b3 = unzipSync(a2);
107420
+ const c2 = Object.values(b3)[0];
107421
+ d2 = new TextDecoder().decode(c2, { stream: false });
107422
+ }
107829
107423
  return geneiousXmlToJson(d2, options);
107830
107424
  } else {
107831
107425
  fileContentString = yield getUtf8StringFromFile(
@@ -113458,8 +113052,7 @@ ${seq.sequence}
113458
113052
  const isAlreadyRnaEditor = currentEditor.sequenceData && currentEditor.sequenceData.isRna;
113459
113053
  const isAlreadyOligoEditor = currentEditor.sequenceData && currentEditor.sequenceData.isOligo;
113460
113054
  const reverseSequenceShouldBeUpdate = ((_a2 = currentEditor.sequenceData) == null ? void 0 : _a2.isSingleStrandedDNA) !== (sequenceData2 == null ? void 0 : sequenceData2.isSingleStrandedDNA);
113461
- const annotationVisibilityUpdated = !lodashExports.isEqual(annotationVisibility2, currentEditor.annotationVisibility) || !lodashExports.isEqual(annotationsToSupport2, currentEditor.annotationsToSupport);
113462
- const isAlreadySpecialEditor = isAlreadyProteinEditor || isAlreadyRnaEditor || isAlreadyOligoEditor || reverseSequenceShouldBeUpdate || annotationVisibilityUpdated;
113055
+ const isAlreadySpecialEditor = isAlreadyProteinEditor || isAlreadyRnaEditor || isAlreadyOligoEditor || reverseSequenceShouldBeUpdate;
113463
113056
  let toSpread = {};
113464
113057
  let payload;
113465
113058
  if (justPassingPartialSeqData) {
@@ -114753,7 +114346,7 @@ ${seq.sequence}
114753
114346
  return 0;
114754
114347
  }
114755
114348
  var result = Number(value);
114756
- !!isNaN(result) ? process.env.NODE_ENV !== "production" ? invariant$2(false, "Could not parse value [raw: " + raw2 + ", without suffix: " + value + "]") : invariant$2(false) : void 0;
114349
+ !!isNaN(result) ? production !== "production" ? invariant$2(false, "Could not parse value [raw: " + raw2 + ", without suffix: " + value + "]") : invariant$2(false) : void 0;
114757
114350
  return result;
114758
114351
  }, "parse");
114759
114352
  var getWindowScroll$1 = /* @__PURE__ */ __name(function getWindowScroll2() {
@@ -114888,7 +114481,7 @@ ${seq.sequence}
114888
114481
  return wrapperFn;
114889
114482
  }, "rafSchd");
114890
114483
  const rafSchd$1 = rafSchd;
114891
- const isProduction$1 = process.env.NODE_ENV === "production";
114484
+ const isProduction$1 = production === "production";
114892
114485
  const spacesAndTabs = /[ \t]{2,}/g;
114893
114486
  const lineStartWithSpaces = /^[ \t]*/gm;
114894
114487
  const clean$2 = /* @__PURE__ */ __name((value) => value.replace(spacesAndTabs, " ").replace(lineStartWithSpaces, "").trim(), "clean$2");
@@ -114940,7 +114533,7 @@ ${seq.sequence}
114940
114533
  }, "unbindAll");
114941
114534
  }
114942
114535
  __name(bindEvents, "bindEvents");
114943
- const isProduction = process.env.NODE_ENV === "production";
114536
+ const isProduction = production === "production";
114944
114537
  const prefix$1 = "Invariant failed";
114945
114538
  class RbdInvariant extends Error {
114946
114539
  }
@@ -114968,7 +114561,7 @@ ${seq.sequence}
114968
114561
  const callbacks = this.getCallbacks();
114969
114562
  if (callbacks.isDragging()) {
114970
114563
  callbacks.tryAbort();
114971
- process.env.NODE_ENV !== "production" ? warning(`
114564
+ production !== "production" ? warning(`
114972
114565
  An error was caught by our window 'error' event listener while a drag was occurring.
114973
114566
  The active drag has been aborted.
114974
114567
  `) : void 0;
@@ -114976,7 +114569,7 @@ ${seq.sequence}
114976
114569
  const err2 = event.error;
114977
114570
  if (err2 instanceof RbdInvariant) {
114978
114571
  event.preventDefault();
114979
- if (process.env.NODE_ENV !== "production") {
114572
+ if (production !== "production") {
114980
114573
  error(err2.message);
114981
114574
  }
114982
114575
  }
@@ -114999,7 +114592,7 @@ ${seq.sequence}
114999
114592
  }
115000
114593
  componentDidCatch(err2) {
115001
114594
  if (err2 instanceof RbdInvariant) {
115002
- if (process.env.NODE_ENV !== "production") {
114595
+ if (production !== "production") {
115003
114596
  error(err2.message);
115004
114597
  }
115005
114598
  this.setState({});
@@ -115215,7 +114808,7 @@ ${seq.sequence}
115215
114808
  };
115216
114809
  }, "getSubject");
115217
114810
  var scrollDroppable = /* @__PURE__ */ __name((droppable2, newScroll) => {
115218
- !droppable2.frame ? process.env.NODE_ENV !== "production" ? invariant$1(false) : invariant$1(false) : void 0;
114811
+ !droppable2.frame ? production !== "production" ? invariant$1(false) : invariant$1(false) : void 0;
115219
114812
  const scrollable = droppable2.frame;
115220
114813
  const scrollDiff = subtract(newScroll, scrollable.scroll.initial);
115221
114814
  const scrollDisplacement = negate(scrollDiff);
@@ -115313,7 +114906,7 @@ ${seq.sequence}
115313
114906
  return getImpact(last2.descriptor.id);
115314
114907
  }
115315
114908
  const indexOfClosest = withoutDraggable.findIndex((d2) => d2.descriptor.id === closestId);
115316
- !(indexOfClosest !== -1) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Could not find displaced item in set") : invariant$1(false) : void 0;
114909
+ !(indexOfClosest !== -1) ? production !== "production" ? invariant$1(false, "Could not find displaced item in set") : invariant$1(false) : void 0;
115317
114910
  const proposedIndex = indexOfClosest - 1;
115318
114911
  if (proposedIndex < 0) {
115319
114912
  return null;
@@ -115648,7 +115241,7 @@ ${seq.sequence}
115648
115241
  afterCritical
115649
115242
  } = _ref;
115650
115243
  const wasAt = previousImpact.at;
115651
- !wasAt ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot move in direction without previous impact location") : invariant$1(false) : void 0;
115244
+ !wasAt ? production !== "production" ? invariant$1(false, "Cannot move in direction without previous impact location") : invariant$1(false) : void 0;
115652
115245
  if (wasAt.type === "REORDER") {
115653
115246
  const newIndex2 = fromReorder({
115654
115247
  isMovingForward,
@@ -115710,7 +115303,7 @@ ${seq.sequence}
115710
115303
  draggables
115711
115304
  } = _ref;
115712
115305
  const combine2 = tryGetCombine(impact);
115713
- !combine2 ? process.env.NODE_ENV !== "production" ? invariant$1(false) : invariant$1(false) : void 0;
115306
+ !combine2 ? production !== "production" ? invariant$1(false) : invariant$1(false) : void 0;
115714
115307
  const combineWith = combine2.draggableId;
115715
115308
  const center = draggables[combineWith].page.borderBox.center;
115716
115309
  const displaceBy = getCombinedItemDisplacement({
@@ -116055,7 +115648,7 @@ ${seq.sequence}
116055
115648
  }, "moveToNextPlace");
116056
115649
  const getKnownActive = /* @__PURE__ */ __name((droppable2) => {
116057
115650
  const rect = droppable2.subject.active;
116058
- !rect ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot get clipped area from droppable") : invariant$1(false) : void 0;
115651
+ !rect ? production !== "production" ? invariant$1(false, "Cannot get clipped area from droppable") : invariant$1(false) : void 0;
116059
115652
  return rect;
116060
115653
  }, "getKnownActive");
116061
115654
  var getBestCrossAxisDroppable = /* @__PURE__ */ __name((_ref) => {
@@ -116178,8 +115771,8 @@ ${seq.sequence}
116178
115771
  }), "withMaxScroll");
116179
115772
  const addPlaceholder = /* @__PURE__ */ __name((droppable2, draggable2, draggables) => {
116180
115773
  const frame = droppable2.frame;
116181
- !!isHomeOf(draggable2, droppable2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Should not add placeholder space to home list") : invariant$1(false) : void 0;
116182
- !!droppable2.subject.withPlaceholder ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot add placeholder size to a subject when it already has one") : invariant$1(false) : void 0;
115774
+ !!isHomeOf(draggable2, droppable2) ? production !== "production" ? invariant$1(false, "Should not add placeholder space to home list") : invariant$1(false) : void 0;
115775
+ !!droppable2.subject.withPlaceholder ? production !== "production" ? invariant$1(false, "Cannot add placeholder size to a subject when it already has one") : invariant$1(false) : void 0;
116183
115776
  const placeholderSize = getDisplacedBy(droppable2.axis, draggable2.displaceBy).point;
116184
115777
  const requiredGrowth = getRequiredGrowthForPlaceholder(droppable2, placeholderSize, draggables);
116185
115778
  const added = {
@@ -116213,7 +115806,7 @@ ${seq.sequence}
116213
115806
  }, "addPlaceholder");
116214
115807
  const removePlaceholder = /* @__PURE__ */ __name((droppable2) => {
116215
115808
  const added = droppable2.subject.withPlaceholder;
116216
- !added ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot remove placeholder form subject when there was none") : invariant$1(false) : void 0;
115809
+ !added ? production !== "production" ? invariant$1(false, "Cannot remove placeholder form subject when there was none") : invariant$1(false) : void 0;
116217
115810
  const frame = droppable2.frame;
116218
115811
  if (!frame) {
116219
115812
  const subject2 = getSubject({
@@ -116227,7 +115820,7 @@ ${seq.sequence}
116227
115820
  });
116228
115821
  }
116229
115822
  const oldMaxScroll = added.oldFrameMaxScroll;
116230
- !oldMaxScroll ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Expected droppable with frame to have old max frame scroll when removing placeholder") : invariant$1(false) : void 0;
115823
+ !oldMaxScroll ? production !== "production" ? invariant$1(false, "Expected droppable with frame to have old max frame scroll when removing placeholder") : invariant$1(false) : void 0;
116231
115824
  const newFrame = withMaxScroll(frame, oldMaxScroll);
116232
115825
  const subject = getSubject({
116233
115826
  page: droppable2.subject.page,
@@ -116858,7 +116451,7 @@ ${seq.sequence}
116858
116451
  dimensions: forcedDimensions,
116859
116452
  viewport: forcedViewport
116860
116453
  } = _ref;
116861
- !(state2.movementMode === "SNAP") ? process.env.NODE_ENV !== "production" ? invariant$1(false) : invariant$1(false) : void 0;
116454
+ !(state2.movementMode === "SNAP") ? production !== "production" ? invariant$1(false) : invariant$1(false) : void 0;
116862
116455
  const needsVisibilityCheck = state2.impact;
116863
116456
  const viewport2 = forcedViewport || state2.viewport;
116864
116457
  const dimensions = forcedDimensions || state2.dimensions;
@@ -116868,7 +116461,7 @@ ${seq.sequence}
116868
116461
  } = dimensions;
116869
116462
  const draggable2 = draggables[state2.critical.draggable.id];
116870
116463
  const isOver = whatIsDraggedOver(needsVisibilityCheck);
116871
- !isOver ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Must be over a destination in SNAP movement mode") : invariant$1(false) : void 0;
116464
+ !isOver ? production !== "production" ? invariant$1(false, "Must be over a destination in SNAP movement mode") : invariant$1(false) : void 0;
116872
116465
  const destination = droppables[isOver];
116873
116466
  const impact = recompute({
116874
116467
  impact: needsVisibilityCheck,
@@ -116906,7 +116499,7 @@ ${seq.sequence}
116906
116499
  const displacedBy = getDisplacedBy(home2.axis, draggable2.displaceBy);
116907
116500
  const insideHome = getDraggablesInsideDroppable(home2.descriptor.id, draggables);
116908
116501
  const rawIndex = insideHome.indexOf(draggable2);
116909
- !(rawIndex !== -1) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Expected draggable to be inside home list") : invariant$1(false) : void 0;
116502
+ !(rawIndex !== -1) ? production !== "production" ? invariant$1(false, "Expected draggable to be inside home list") : invariant$1(false) : void 0;
116910
116503
  const afterDragging = insideHome.slice(rawIndex + 1);
116911
116504
  const effected = afterDragging.reduce((previous2, item) => {
116912
116505
  previous2[item.descriptor.id] = true;
@@ -116943,14 +116536,14 @@ ${seq.sequence}
116943
116536
  droppables: patchDroppableMap(dimensions.droppables, updated)
116944
116537
  }), "patchDimensionMap");
116945
116538
  const start = /* @__PURE__ */ __name((key2) => {
116946
- if (process.env.NODE_ENV !== "production") {
116539
+ if (production !== "production") {
116947
116540
  {
116948
116541
  return;
116949
116542
  }
116950
116543
  }
116951
116544
  }, "start");
116952
116545
  const finish = /* @__PURE__ */ __name((key2) => {
116953
- if (process.env.NODE_ENV !== "production") {
116546
+ if (production !== "production") {
116954
116547
  {
116955
116548
  return;
116956
116549
  }
@@ -116975,7 +116568,7 @@ ${seq.sequence}
116975
116568
  }, "offsetDraggable");
116976
116569
  var getFrame = /* @__PURE__ */ __name((droppable2) => {
116977
116570
  const frame = droppable2.frame;
116978
- !frame ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Expected Droppable to have a frame") : invariant$1(false) : void 0;
116571
+ !frame ? production !== "production" ? invariant$1(false, "Expected Droppable to have a frame") : invariant$1(false) : void 0;
116979
116572
  return frame;
116980
116573
  }, "getFrame");
116981
116574
  var adjustAdditionsForScrollChanges = /* @__PURE__ */ __name((_ref) => {
@@ -117104,7 +116697,7 @@ ${seq.sequence}
117104
116697
  });
117105
116698
  }
117106
116699
  if (action2.type === "INITIAL_PUBLISH") {
117107
- !(state2.phase === "IDLE") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "INITIAL_PUBLISH must come after a IDLE phase") : invariant$1(false) : void 0;
116700
+ !(state2.phase === "IDLE") ? production !== "production" ? invariant$1(false, "INITIAL_PUBLISH must come after a IDLE phase") : invariant$1(false) : void 0;
117108
116701
  const {
117109
116702
  critical,
117110
116703
  clientSelection,
@@ -117159,14 +116752,14 @@ ${seq.sequence}
117159
116752
  if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
117160
116753
  return state2;
117161
116754
  }
117162
- !(state2.phase === "DRAGGING") ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Collection cannot start from phase ${state2.phase}`) : invariant$1(false) : void 0;
116755
+ !(state2.phase === "DRAGGING") ? production !== "production" ? invariant$1(false, `Collection cannot start from phase ${state2.phase}`) : invariant$1(false) : void 0;
117163
116756
  const result = __spreadProps(__spreadValues({}, state2), {
117164
116757
  phase: "COLLECTING"
117165
116758
  });
117166
116759
  return result;
117167
116760
  }
117168
116761
  if (action2.type === "PUBLISH_WHILE_DRAGGING") {
117169
- !(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Unexpected ${action2.type} received in phase ${state2.phase}`) : invariant$1(false) : void 0;
116762
+ !(state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") ? production !== "production" ? invariant$1(false, `Unexpected ${action2.type} received in phase ${state2.phase}`) : invariant$1(false) : void 0;
117170
116763
  return publishWhileDraggingInVirtual({
117171
116764
  state: state2,
117172
116765
  published: action2.payload
@@ -117176,7 +116769,7 @@ ${seq.sequence}
117176
116769
  if (state2.phase === "DROP_PENDING") {
117177
116770
  return state2;
117178
116771
  }
117179
- !isMovementAllowed(state2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `${action2.type} not permitted in phase ${state2.phase}`) : invariant$1(false) : void 0;
116772
+ !isMovementAllowed(state2) ? production !== "production" ? invariant$1(false, `${action2.type} not permitted in phase ${state2.phase}`) : invariant$1(false) : void 0;
117180
116773
  const {
117181
116774
  client: clientSelection
117182
116775
  } = action2.payload;
@@ -117196,7 +116789,7 @@ ${seq.sequence}
117196
116789
  if (state2.phase === "COLLECTING") {
117197
116790
  return removeScrollJumpRequest(state2);
117198
116791
  }
117199
- !isMovementAllowed(state2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `${action2.type} not permitted in phase ${state2.phase}`) : invariant$1(false) : void 0;
116792
+ !isMovementAllowed(state2) ? production !== "production" ? invariant$1(false, `${action2.type} not permitted in phase ${state2.phase}`) : invariant$1(false) : void 0;
117200
116793
  const {
117201
116794
  id: id2,
117202
116795
  newScroll
@@ -117212,14 +116805,14 @@ ${seq.sequence}
117212
116805
  if (state2.phase === "DROP_PENDING") {
117213
116806
  return state2;
117214
116807
  }
117215
- !isMovementAllowed(state2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Attempting to move in an unsupported phase ${state2.phase}`) : invariant$1(false) : void 0;
116808
+ !isMovementAllowed(state2) ? production !== "production" ? invariant$1(false, `Attempting to move in an unsupported phase ${state2.phase}`) : invariant$1(false) : void 0;
117216
116809
  const {
117217
116810
  id: id2,
117218
116811
  isEnabled
117219
116812
  } = action2.payload;
117220
116813
  const target = state2.dimensions.droppables[id2];
117221
- !target ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot find Droppable[id: ${id2}] to toggle its enabled state`) : invariant$1(false) : void 0;
117222
- !(target.isEnabled !== isEnabled) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Trying to set droppable isEnabled to ${String(isEnabled)}
116814
+ !target ? production !== "production" ? invariant$1(false, `Cannot find Droppable[id: ${id2}] to toggle its enabled state`) : invariant$1(false) : void 0;
116815
+ !(target.isEnabled !== isEnabled) ? production !== "production" ? invariant$1(false, `Trying to set droppable isEnabled to ${String(isEnabled)}
117223
116816
  but it is already ${String(target.isEnabled)}`) : invariant$1(false) : void 0;
117224
116817
  const updated = __spreadProps(__spreadValues({}, target), {
117225
116818
  isEnabled
@@ -117230,14 +116823,14 @@ ${seq.sequence}
117230
116823
  if (state2.phase === "DROP_PENDING") {
117231
116824
  return state2;
117232
116825
  }
117233
- !isMovementAllowed(state2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Attempting to move in an unsupported phase ${state2.phase}`) : invariant$1(false) : void 0;
116826
+ !isMovementAllowed(state2) ? production !== "production" ? invariant$1(false, `Attempting to move in an unsupported phase ${state2.phase}`) : invariant$1(false) : void 0;
117234
116827
  const {
117235
116828
  id: id2,
117236
116829
  isCombineEnabled
117237
116830
  } = action2.payload;
117238
116831
  const target = state2.dimensions.droppables[id2];
117239
- !target ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot find Droppable[id: ${id2}] to toggle its isCombineEnabled state`) : invariant$1(false) : void 0;
117240
- !(target.isCombineEnabled !== isCombineEnabled) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Trying to set droppable isCombineEnabled to ${String(isCombineEnabled)}
116832
+ !target ? production !== "production" ? invariant$1(false, `Cannot find Droppable[id: ${id2}] to toggle its isCombineEnabled state`) : invariant$1(false) : void 0;
116833
+ !(target.isCombineEnabled !== isCombineEnabled) ? production !== "production" ? invariant$1(false, `Trying to set droppable isCombineEnabled to ${String(isCombineEnabled)}
117241
116834
  but it is already ${String(target.isCombineEnabled)}`) : invariant$1(false) : void 0;
117242
116835
  const updated = __spreadProps(__spreadValues({}, target), {
117243
116836
  isCombineEnabled
@@ -117248,8 +116841,8 @@ ${seq.sequence}
117248
116841
  if (state2.phase === "DROP_PENDING" || state2.phase === "DROP_ANIMATING") {
117249
116842
  return state2;
117250
116843
  }
117251
- !isMovementAllowed(state2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot move by window in phase ${state2.phase}`) : invariant$1(false) : void 0;
117252
- !state2.isWindowScrollAllowed ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Window scrolling is currently not supported for fixed lists") : invariant$1(false) : void 0;
116844
+ !isMovementAllowed(state2) ? production !== "production" ? invariant$1(false, `Cannot move by window in phase ${state2.phase}`) : invariant$1(false) : void 0;
116845
+ !state2.isWindowScrollAllowed ? production !== "production" ? invariant$1(false, "Window scrolling is currently not supported for fixed lists") : invariant$1(false) : void 0;
117253
116846
  const newScroll = action2.payload.newScroll;
117254
116847
  if (isEqual$1(state2.viewport.scroll.current, newScroll)) {
117255
116848
  return removeScrollJumpRequest(state2);
@@ -117287,7 +116880,7 @@ ${seq.sequence}
117287
116880
  if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
117288
116881
  return state2;
117289
116882
  }
117290
- !(state2.phase === "DRAGGING") ? process.env.NODE_ENV !== "production" ? invariant$1(false, `${action2.type} received while not in DRAGGING phase`) : invariant$1(false) : void 0;
116883
+ !(state2.phase === "DRAGGING") ? production !== "production" ? invariant$1(false, `${action2.type} received while not in DRAGGING phase`) : invariant$1(false) : void 0;
117291
116884
  const result = moveInDirection({
117292
116885
  state: state2,
117293
116886
  type: action2.type
@@ -117304,7 +116897,7 @@ ${seq.sequence}
117304
116897
  }
117305
116898
  if (action2.type === "DROP_PENDING") {
117306
116899
  const reason = action2.payload.reason;
117307
- !(state2.phase === "COLLECTING") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Can only move into the DROP_PENDING phase from the COLLECTING phase") : invariant$1(false) : void 0;
116900
+ !(state2.phase === "COLLECTING") ? production !== "production" ? invariant$1(false, "Can only move into the DROP_PENDING phase from the COLLECTING phase") : invariant$1(false) : void 0;
117308
116901
  const newState = __spreadProps(__spreadValues({}, state2), {
117309
116902
  phase: "DROP_PENDING",
117310
116903
  isWaiting: true,
@@ -117318,7 +116911,7 @@ ${seq.sequence}
117318
116911
  dropDuration,
117319
116912
  newHomeClientOffset
117320
116913
  } = action2.payload;
117321
- !(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot animate drop from phase ${state2.phase}`) : invariant$1(false) : void 0;
116914
+ !(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? production !== "production" ? invariant$1(false, `Cannot animate drop from phase ${state2.phase}`) : invariant$1(false) : void 0;
117322
116915
  const result = {
117323
116916
  phase: "DROP_ANIMATING",
117324
116917
  completed,
@@ -117444,7 +117037,7 @@ ${seq.sequence}
117444
117037
  const hasError = Boolean(errors2[index2]);
117445
117038
  return hasError ? `[🔥${index2}]` : `${index2}`;
117446
117039
  }).join(", ");
117447
- process.env.NODE_ENV !== "production" ? warning(`
117040
+ production !== "production" ? warning(`
117448
117041
  Detected non-consecutive <Draggable /> indexes.
117449
117042
 
117450
117043
  (This can cause unexpected bugs)
@@ -117454,7 +117047,7 @@ ${seq.sequence}
117454
117047
  }
117455
117048
  __name(checkIndexes, "checkIndexes");
117456
117049
  function validateDimensions(critical, dimensions) {
117457
- if (process.env.NODE_ENV !== "production") {
117050
+ if (production !== "production") {
117458
117051
  const insideDestination = getDraggablesInsideDroppable(critical.droppable.id, dimensions.draggables);
117459
117052
  checkIndexes(insideDestination);
117460
117053
  }
@@ -117481,7 +117074,7 @@ ${seq.sequence}
117481
117074
  completed: initial.completed
117482
117075
  }));
117483
117076
  }
117484
- !(getState2().phase === "IDLE") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Unexpected phase to start a drag") : invariant$1(false) : void 0;
117077
+ !(getState2().phase === "IDLE") ? production !== "production" ? invariant$1(false, "Unexpected phase to start a drag") : invariant$1(false) : void 0;
117485
117078
  dispatch(flush());
117486
117079
  dispatch(beforeInitialCapture({
117487
117080
  draggableId: id2,
@@ -117673,8 +117266,8 @@ ${seq.sequence}
117673
117266
  return;
117674
117267
  }
117675
117268
  const isWaitingForDrop = state2.phase === "DROP_PENDING" && state2.isWaiting;
117676
- !!isWaitingForDrop ? process.env.NODE_ENV !== "production" ? invariant$1(false, "A DROP action occurred while DROP_PENDING and still waiting") : invariant$1(false) : void 0;
117677
- !(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot drop in phase: ${state2.phase}`) : invariant$1(false) : void 0;
117269
+ !!isWaitingForDrop ? production !== "production" ? invariant$1(false, "A DROP action occurred while DROP_PENDING and still waiting") : invariant$1(false) : void 0;
117270
+ !(state2.phase === "DRAGGING" || state2.phase === "DROP_PENDING") ? production !== "production" ? invariant$1(false, `Cannot drop in phase: ${state2.phase}`) : invariant$1(false) : void 0;
117678
117271
  const critical = state2.critical;
117679
117272
  const dimensions = state2.dimensions;
117680
117273
  const draggable2 = dimensions.draggables[state2.critical.draggable.id];
@@ -117775,12 +117368,12 @@ ${seq.sequence}
117775
117368
  }
117776
117369
  __name(isActive2, "isActive");
117777
117370
  function start2() {
117778
- !!isActive2() ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot start scroll listener when already active") : invariant$1(false) : void 0;
117371
+ !!isActive2() ? production !== "production" ? invariant$1(false, "Cannot start scroll listener when already active") : invariant$1(false) : void 0;
117779
117372
  unbind2 = bindEvents(window, [binding]);
117780
117373
  }
117781
117374
  __name(start2, "start");
117782
117375
  function stop() {
117783
- !isActive2() ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot stop scroll listener when not active") : invariant$1(false) : void 0;
117376
+ !isActive2() ? production !== "production" ? invariant$1(false, "Cannot stop scroll listener when not active") : invariant$1(false) : void 0;
117784
117377
  scheduled.cancel();
117785
117378
  unbind2();
117786
117379
  unbind2 = noop$2;
@@ -117821,11 +117414,11 @@ ${seq.sequence}
117821
117414
  });
117822
117415
  const result = /* @__PURE__ */ __name((message) => {
117823
117416
  if (wasCalled) {
117824
- process.env.NODE_ENV !== "production" ? warning("Announcement already made. Not making a second announcement") : void 0;
117417
+ production !== "production" ? warning("Announcement already made. Not making a second announcement") : void 0;
117825
117418
  return;
117826
117419
  }
117827
117420
  if (isExpired) {
117828
- process.env.NODE_ENV !== "production" ? warning(`
117421
+ production !== "production" ? warning(`
117829
117422
  Announcements cannot be made asynchronously.
117830
117423
  Default message has already been announced.
117831
117424
  `) : void 0;
@@ -117842,7 +117435,7 @@ ${seq.sequence}
117842
117435
  const entries = [];
117843
117436
  const execute2 = /* @__PURE__ */ __name((timerId) => {
117844
117437
  const index2 = entries.findIndex((item) => item.timerId === timerId);
117845
- !(index2 !== -1) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Could not find timer") : invariant$1(false) : void 0;
117438
+ !(index2 !== -1) ? production !== "production" ? invariant$1(false, "Could not find timer") : invariant$1(false) : void 0;
117846
117439
  const [entry] = entries.splice(index2, 1);
117847
117440
  entry.callback();
117848
117441
  }, "execute");
@@ -117929,7 +117522,7 @@ ${seq.sequence}
117929
117522
  const asyncMarshal = getAsyncMarshal();
117930
117523
  let dragging = null;
117931
117524
  const beforeCapture = /* @__PURE__ */ __name((draggableId, mode) => {
117932
- !!dragging ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot fire onBeforeCapture as a drag start has already been published") : invariant$1(false) : void 0;
117525
+ !!dragging ? production !== "production" ? invariant$1(false, "Cannot fire onBeforeCapture as a drag start has already been published") : invariant$1(false) : void 0;
117933
117526
  withTimings("onBeforeCapture", () => {
117934
117527
  const fn2 = getResponders().onBeforeCapture;
117935
117528
  if (fn2) {
@@ -117942,7 +117535,7 @@ ${seq.sequence}
117942
117535
  });
117943
117536
  }, "beforeCapture");
117944
117537
  const beforeStart = /* @__PURE__ */ __name((critical, mode) => {
117945
- !!dragging ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot fire onBeforeDragStart as a drag start has already been published") : invariant$1(false) : void 0;
117538
+ !!dragging ? production !== "production" ? invariant$1(false, "Cannot fire onBeforeDragStart as a drag start has already been published") : invariant$1(false) : void 0;
117946
117539
  withTimings("onBeforeDragStart", () => {
117947
117540
  const fn2 = getResponders().onBeforeDragStart;
117948
117541
  if (fn2) {
@@ -117951,7 +117544,7 @@ ${seq.sequence}
117951
117544
  });
117952
117545
  }, "beforeStart");
117953
117546
  const start2 = /* @__PURE__ */ __name((critical, mode) => {
117954
- !!dragging ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot fire onBeforeDragStart as a drag start has already been published") : invariant$1(false) : void 0;
117547
+ !!dragging ? production !== "production" ? invariant$1(false, "Cannot fire onBeforeDragStart as a drag start has already been published") : invariant$1(false) : void 0;
117955
117548
  const data = getDragStart(critical, mode);
117956
117549
  dragging = {
117957
117550
  mode,
@@ -117966,7 +117559,7 @@ ${seq.sequence}
117966
117559
  const update2 = /* @__PURE__ */ __name((critical, impact) => {
117967
117560
  const location2 = tryGetDestination(impact);
117968
117561
  const combine2 = tryGetCombine(impact);
117969
- !dragging ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot fire onDragMove when onDragStart has not been called") : invariant$1(false) : void 0;
117562
+ !dragging ? production !== "production" ? invariant$1(false, "Cannot fire onDragMove when onDragStart has not been called") : invariant$1(false) : void 0;
117970
117563
  const hasCriticalChanged = !isCriticalEqual(critical, dragging.lastCritical);
117971
117564
  if (hasCriticalChanged) {
117972
117565
  dragging.lastCritical = critical;
@@ -117991,11 +117584,11 @@ ${seq.sequence}
117991
117584
  });
117992
117585
  }, "update");
117993
117586
  const flush2 = /* @__PURE__ */ __name(() => {
117994
- !dragging ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Can only flush responders while dragging") : invariant$1(false) : void 0;
117587
+ !dragging ? production !== "production" ? invariant$1(false, "Can only flush responders while dragging") : invariant$1(false) : void 0;
117995
117588
  asyncMarshal.flush();
117996
117589
  }, "flush");
117997
117590
  const drop2 = /* @__PURE__ */ __name((result) => {
117998
- !dragging ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot fire onDragEnd when there is no matching onDragStart") : invariant$1(false) : void 0;
117591
+ !dragging ? production !== "production" ? invariant$1(false, "Cannot fire onDragEnd when there is no matching onDragStart") : invariant$1(false) : void 0;
117999
117592
  dragging = null;
118000
117593
  withTimings("onDragEnd", () => execute(getResponders().onDragEnd, result, announce, preset$1.onDragEnd));
118001
117594
  }, "drop");
@@ -118058,7 +117651,7 @@ ${seq.sequence}
118058
117651
  return;
118059
117652
  }
118060
117653
  const state2 = store2.getState();
118061
- !(state2.phase === "DROP_ANIMATING") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot finish a drop animating when no drop is occurring") : invariant$1(false) : void 0;
117654
+ !(state2.phase === "DROP_ANIMATING") ? production !== "production" ? invariant$1(false, "Cannot finish a drop animating when no drop is occurring") : invariant$1(false) : void 0;
118062
117655
  store2.dispatch(completeDrop({
118063
117656
  completed: state2.completed
118064
117657
  }));
@@ -118152,7 +117745,7 @@ ${seq.sequence}
118152
117745
  if (action2.type === "INITIAL_PUBLISH") {
118153
117746
  next(action2);
118154
117747
  const state2 = store2.getState();
118155
- !(state2.phase === "DRAGGING") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Expected phase to be DRAGGING after INITIAL_PUBLISH") : invariant$1(false) : void 0;
117748
+ !(state2.phase === "DRAGGING") ? production !== "production" ? invariant$1(false, "Expected phase to be DRAGGING after INITIAL_PUBLISH") : invariant$1(false) : void 0;
118156
117749
  autoScroller.start(state2);
118157
117750
  return;
118158
117751
  }
@@ -118176,7 +117769,7 @@ ${seq.sequence}
118176
117769
  }));
118177
117770
  }, "pendingDrop");
118178
117771
  var pendingDrop$1 = pendingDrop;
118179
- const composeEnhancers = process.env.NODE_ENV !== "production" && typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
117772
+ const composeEnhancers = production !== "production" && typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
118180
117773
  name: "@hello-pangea/dnd"
118181
117774
  }) : redux.compose;
118182
117775
  var createStore$1 = /* @__PURE__ */ __name((_ref) => {
@@ -118306,7 +117899,7 @@ ${seq.sequence}
118306
117899
  }, "getMaxScroll");
118307
117900
  var getDocumentElement = /* @__PURE__ */ __name(() => {
118308
117901
  const doc = document.documentElement;
118309
- !doc ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot find document.documentElement") : invariant$1(false) : void 0;
117902
+ !doc ? production !== "production" ? invariant$1(false, "Cannot find document.documentElement") : invariant$1(false) : void 0;
118310
117903
  return doc;
118311
117904
  }, "getDocumentElement");
118312
117905
  var getMaxWindowScroll = /* @__PURE__ */ __name(() => {
@@ -118382,7 +117975,7 @@ ${seq.sequence}
118382
117975
  }
118383
117976
  const home2 = registry.droppable.getById(entry.descriptor.droppableId);
118384
117977
  if (home2.descriptor.mode !== "virtual") {
118385
- process.env.NODE_ENV !== "production" ? warning(`
117978
+ production !== "production" ? warning(`
118386
117979
  You are attempting to add or remove a Draggable [id: ${entry.descriptor.id}]
118387
117980
  while a drag is occurring. This is only supported for virtual lists.
118388
117981
 
@@ -118403,7 +117996,7 @@ ${seq.sequence}
118403
117996
  registry
118404
117997
  });
118405
117998
  const updateDroppableIsEnabled2 = /* @__PURE__ */ __name((id2, isEnabled) => {
118406
- !registry.droppable.exists(id2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot update is enabled flag of Droppable ${id2} as it is not registered`) : invariant$1(false) : void 0;
117999
+ !registry.droppable.exists(id2) ? production !== "production" ? invariant$1(false, `Cannot update is enabled flag of Droppable ${id2} as it is not registered`) : invariant$1(false) : void 0;
118407
118000
  if (!collection) {
118408
118001
  return;
118409
118002
  }
@@ -118416,7 +118009,7 @@ ${seq.sequence}
118416
118009
  if (!collection) {
118417
118010
  return;
118418
118011
  }
118419
- !registry.droppable.exists(id2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot update isCombineEnabled flag of Droppable ${id2} as it is not registered`) : invariant$1(false) : void 0;
118012
+ !registry.droppable.exists(id2) ? production !== "production" ? invariant$1(false, `Cannot update isCombineEnabled flag of Droppable ${id2} as it is not registered`) : invariant$1(false) : void 0;
118420
118013
  callbacks.updateDroppableIsCombineEnabled({
118421
118014
  id: id2,
118422
118015
  isCombineEnabled
@@ -118426,7 +118019,7 @@ ${seq.sequence}
118426
118019
  if (!collection) {
118427
118020
  return;
118428
118021
  }
118429
- !registry.droppable.exists(id2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot update the scroll on Droppable ${id2} as it is not registered`) : invariant$1(false) : void 0;
118022
+ !registry.droppable.exists(id2) ? production !== "production" ? invariant$1(false, `Cannot update the scroll on Droppable ${id2} as it is not registered`) : invariant$1(false) : void 0;
118430
118023
  callbacks.updateDroppableScroll({
118431
118024
  id: id2,
118432
118025
  newScroll
@@ -118449,7 +118042,7 @@ ${seq.sequence}
118449
118042
  collection = null;
118450
118043
  }, "stopPublishing");
118451
118044
  const subscriber = /* @__PURE__ */ __name((event) => {
118452
- !collection ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Should only be subscribed when a collection is occurring") : invariant$1(false) : void 0;
118045
+ !collection ? production !== "production" ? invariant$1(false, "Should only be subscribed when a collection is occurring") : invariant$1(false) : void 0;
118453
118046
  const dragging = collection.critical.draggable;
118454
118047
  if (event.type === "ADDITION") {
118455
118048
  if (shouldPublishUpdate(registry, dragging, event.value)) {
@@ -118463,7 +118056,7 @@ ${seq.sequence}
118463
118056
  }
118464
118057
  }, "subscriber");
118465
118058
  const startPublishing = /* @__PURE__ */ __name((request) => {
118466
- !!collection ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot start capturing critical dimensions as there is already a collection") : invariant$1(false) : void 0;
118059
+ !!collection ? production !== "production" ? invariant$1(false, "Cannot start capturing critical dimensions as there is already a collection") : invariant$1(false) : void 0;
118467
118060
  const entry = registry.draggable.getById(request.draggableId);
118468
118061
  const home2 = registry.droppable.getById(entry.descriptor.droppableId);
118469
118062
  const critical = {
@@ -118517,7 +118110,7 @@ ${seq.sequence}
118517
118110
  }));
118518
118111
  const getScrollableDroppableOver = /* @__PURE__ */ __name((target, droppables) => {
118519
118112
  const maybe = getScrollableDroppables(droppables).find((droppable2) => {
118520
- !droppable2.frame ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Invalid result") : invariant$1(false) : void 0;
118113
+ !droppable2.frame ? production !== "production" ? invariant$1(false, "Invalid result") : invariant$1(false) : void 0;
118521
118114
  return isPositionInFrame(droppable2.frame.pageMarginBox)(target);
118522
118115
  }) || null;
118523
118116
  return maybe;
@@ -118570,7 +118163,7 @@ ${seq.sequence}
118570
118163
  } = _ref;
118571
118164
  const range2 = endOfRange - startOfRange;
118572
118165
  if (range2 === 0) {
118573
- process.env.NODE_ENV !== "production" ? warning(`
118166
+ production !== "production" ? warning(`
118574
118167
  Detected distance range of 0 in the fluid auto scroller
118575
118168
  This is unexpected and would cause a divide by 0 issue.
118576
118169
  Not allowing an auto scroll
@@ -118941,7 +118534,7 @@ ${seq.sequence}
118941
118534
  const scheduleDroppableScroll = rafSchd$1(scrollDroppable2);
118942
118535
  let dragging = null;
118943
118536
  const tryScroll = /* @__PURE__ */ __name((state2) => {
118944
- !dragging ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot fluid scroll if not dragging") : invariant$1(false) : void 0;
118537
+ !dragging ? production !== "production" ? invariant$1(false, "Cannot fluid scroll if not dragging") : invariant$1(false) : void 0;
118945
118538
  const {
118946
118539
  shouldUseTimeDampening,
118947
118540
  dragStartTime
@@ -118957,7 +118550,7 @@ ${seq.sequence}
118957
118550
  }, "tryScroll");
118958
118551
  const start$12 = /* @__PURE__ */ __name((state2) => {
118959
118552
  start();
118960
- !!dragging ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot start auto scrolling when already started") : invariant$1(false) : void 0;
118553
+ !!dragging ? production !== "production" ? invariant$1(false, "Cannot start auto scrolling when already started") : invariant$1(false) : void 0;
118961
118554
  const dragStartTime = Date.now();
118962
118555
  let wasScrollNeeded = false;
118963
118556
  const fakeScrollCallback = /* @__PURE__ */ __name(() => {
@@ -119043,7 +118636,7 @@ ${seq.sequence}
119043
118636
  return;
119044
118637
  }
119045
118638
  const destination = whatIsDraggedOver(state2.impact);
119046
- !destination ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot perform a jump scroll when there is no destination") : invariant$1(false) : void 0;
118639
+ !destination ? production !== "production" ? invariant$1(false, "Cannot perform a jump scroll when there is no destination") : invariant$1(false) : void 0;
119047
118640
  const droppableRemainder = scrollDroppableAsMuchAsItCan(state2.dimensions.droppables[destination], request);
119048
118641
  if (!droppableRemainder) {
119049
118642
  return;
@@ -119199,7 +118792,7 @@ ${seq.sequence}
119199
118792
  var useLayoutEffect = useIsomorphicLayoutEffect;
119200
118793
  const getHead = /* @__PURE__ */ __name(() => {
119201
118794
  const head = document.querySelector("head");
119202
- !head ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot find the head to append a style to") : invariant$1(false) : void 0;
118795
+ !head ? production !== "production" ? invariant$1(false, "Cannot find the head to append a style to") : invariant$1(false) : void 0;
119203
118796
  return head;
119204
118797
  }, "getHead");
119205
118798
  const createStyleEl = /* @__PURE__ */ __name((nonce) => {
@@ -119217,18 +118810,18 @@ ${seq.sequence}
119217
118810
  const setDynamicStyle = useCallback(
119218
118811
  memoizeOne((proposed) => {
119219
118812
  const el = dynamicRef.current;
119220
- !el ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot set dynamic style element if it is not set") : invariant$1(false) : void 0;
118813
+ !el ? production !== "production" ? invariant$1(false, "Cannot set dynamic style element if it is not set") : invariant$1(false) : void 0;
119221
118814
  el.textContent = proposed;
119222
118815
  }),
119223
118816
  []
119224
118817
  );
119225
118818
  const setAlwaysStyle = useCallback((proposed) => {
119226
118819
  const el = alwaysRef.current;
119227
- !el ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot set dynamic style element if it is not set") : invariant$1(false) : void 0;
118820
+ !el ? production !== "production" ? invariant$1(false, "Cannot set dynamic style element if it is not set") : invariant$1(false) : void 0;
119228
118821
  el.textContent = proposed;
119229
118822
  }, []);
119230
118823
  useLayoutEffect(() => {
119231
- !(!alwaysRef.current && !dynamicRef.current) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "style elements already mounted") : invariant$1(false) : void 0;
118824
+ !(!alwaysRef.current && !dynamicRef.current) ? production !== "production" ? invariant$1(false, "style elements already mounted") : invariant$1(false) : void 0;
119232
118825
  const always = createStyleEl(nonce);
119233
118826
  const dynamic = createStyleEl(nonce);
119234
118827
  alwaysRef.current = always;
@@ -119242,7 +118835,7 @@ ${seq.sequence}
119242
118835
  return () => {
119243
118836
  const remove2 = /* @__PURE__ */ __name((ref) => {
119244
118837
  const current = ref.current;
119245
- !current ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot unmount ref as it is not set") : invariant$1(false) : void 0;
118838
+ !current ? production !== "production" ? invariant$1(false, "Cannot unmount ref as it is not set") : invariant$1(false) : void 0;
119246
118839
  getHead().removeChild(current);
119247
118840
  ref.current = null;
119248
118841
  }, "remove");
@@ -119288,18 +118881,18 @@ ${seq.sequence}
119288
118881
  const selector = `[${dragHandle.contextId}="${contextId}"]`;
119289
118882
  const possible = querySelectorAll(document, selector);
119290
118883
  if (!possible.length) {
119291
- process.env.NODE_ENV !== "production" ? warning(`Unable to find any drag handles in the context "${contextId}"`) : void 0;
118884
+ production !== "production" ? warning(`Unable to find any drag handles in the context "${contextId}"`) : void 0;
119292
118885
  return null;
119293
118886
  }
119294
118887
  const handle = possible.find((el) => {
119295
118888
  return el.getAttribute(dragHandle.draggableId) === draggableId;
119296
118889
  });
119297
118890
  if (!handle) {
119298
- process.env.NODE_ENV !== "production" ? warning(`Unable to find drag handle with id "${draggableId}" as no handle with a matching id was found`) : void 0;
118891
+ production !== "production" ? warning(`Unable to find drag handle with id "${draggableId}" as no handle with a matching id was found`) : void 0;
119299
118892
  return null;
119300
118893
  }
119301
118894
  if (!isHtmlElement(handle)) {
119302
- process.env.NODE_ENV !== "production" ? warning("drag handle needs to be a HTMLElement") : void 0;
118895
+ production !== "production" ? warning("drag handle needs to be a HTMLElement") : void 0;
119303
118896
  return null;
119304
118897
  }
119305
118898
  return handle;
@@ -119409,7 +119002,7 @@ ${seq.sequence}
119409
119002
  __name(findDraggableById, "findDraggableById");
119410
119003
  function getDraggableById(id2) {
119411
119004
  const entry = findDraggableById(id2);
119412
- !entry ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot find draggable entry with id [${id2}]`) : invariant$1(false) : void 0;
119005
+ !entry ? production !== "production" ? invariant$1(false, `Cannot find draggable entry with id [${id2}]`) : invariant$1(false) : void 0;
119413
119006
  return entry;
119414
119007
  }
119415
119008
  __name(getDraggableById, "getDraggableById");
@@ -119460,7 +119053,7 @@ ${seq.sequence}
119460
119053
  __name(findDroppableById, "findDroppableById");
119461
119054
  function getDroppableById(id2) {
119462
119055
  const entry = findDroppableById(id2);
119463
- !entry ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot find droppable entry with id [${id2}]`) : invariant$1(false) : void 0;
119056
+ !entry ? production !== "production" ? invariant$1(false, `Cannot find droppable entry with id [${id2}]`) : invariant$1(false) : void 0;
119464
119057
  return entry;
119465
119058
  }
119466
119059
  __name(getDroppableById, "getDroppableById");
@@ -119514,7 +119107,7 @@ ${seq.sequence}
119514
119107
  var StoreContext = React$3.createContext(null);
119515
119108
  var getBodyElement = /* @__PURE__ */ __name(() => {
119516
119109
  const body = document.body;
119517
- !body ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot find document.body") : invariant$1(false) : void 0;
119110
+ !body ? production !== "production" ? invariant$1(false, "Cannot find document.body") : invariant$1(false) : void 0;
119518
119111
  return body;
119519
119112
  }, "getBodyElement");
119520
119113
  const visuallyHidden = {
@@ -119559,7 +119152,7 @@ ${seq.sequence}
119559
119152
  el.textContent = message;
119560
119153
  return;
119561
119154
  }
119562
- process.env.NODE_ENV !== "production" ? warning(`
119155
+ production !== "production" ? warning(`
119563
119156
  A screen reader message was trying to be announced but it was unable to do so.
119564
119157
  This can occur if you unmount your <DragDropContext /> in your onDragEnd.
119565
119158
  Consider calling provided.announce() before the unmount so that the instruction will
@@ -119637,7 +119230,7 @@ ${seq.sequence}
119637
119230
  const semver = /(\d+)\.(\d+)\.(\d+)/;
119638
119231
  const getVersion = /* @__PURE__ */ __name((value) => {
119639
119232
  const result = semver.exec(value);
119640
- !(result != null) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Unable to parse React version ${value}`) : invariant$1(false) : void 0;
119233
+ !(result != null) ? production !== "production" ? invariant$1(false, `Unable to parse React version ${value}`) : invariant$1(false) : void 0;
119641
119234
  const major = Number(result[1]);
119642
119235
  const minor = Number(result[2]);
119643
119236
  const patch2 = Number(result[3]);
@@ -119669,7 +119262,7 @@ ${seq.sequence}
119669
119262
  if (isSatisfied(peerDep, actual)) {
119670
119263
  return;
119671
119264
  }
119672
- process.env.NODE_ENV !== "production" ? warning(`
119265
+ production !== "production" ? warning(`
119673
119266
  React version: [${actual.raw}]
119674
119267
  does not satisfy expected peer dependency version: [${peerDep.raw}]
119675
119268
 
@@ -119685,7 +119278,7 @@ ${seq.sequence}
119685
119278
  var checkDoctype = /* @__PURE__ */ __name((doc) => {
119686
119279
  const doctype = doc.doctype;
119687
119280
  if (!doctype) {
119688
- process.env.NODE_ENV !== "production" ? warning(`
119281
+ production !== "production" ? warning(`
119689
119282
  No <!doctype html> found.
119690
119283
 
119691
119284
  ${suffix}
@@ -119693,14 +119286,14 @@ ${seq.sequence}
119693
119286
  return;
119694
119287
  }
119695
119288
  if (doctype.name.toLowerCase() !== "html") {
119696
- process.env.NODE_ENV !== "production" ? warning(`
119289
+ production !== "production" ? warning(`
119697
119290
  Unexpected <!doctype> found: (${doctype.name})
119698
119291
 
119699
119292
  ${suffix}
119700
119293
  `) : void 0;
119701
119294
  }
119702
119295
  if (doctype.publicId !== "") {
119703
- process.env.NODE_ENV !== "production" ? warning(`
119296
+ production !== "production" ? warning(`
119704
119297
  Unexpected <!doctype> publicId found: (${doctype.publicId})
119705
119298
  A html5 doctype does not have a publicId
119706
119299
 
@@ -119709,7 +119302,7 @@ ${seq.sequence}
119709
119302
  }
119710
119303
  }, "checkDoctype");
119711
119304
  function useDev(useHook) {
119712
- if (process.env.NODE_ENV !== "production") {
119305
+ if (production !== "production") {
119713
119306
  useHook();
119714
119307
  }
119715
119308
  }
@@ -119756,7 +119349,7 @@ ${seq.sequence}
119756
119349
  }
119757
119350
  __name(isActive2, "isActive");
119758
119351
  function claim(abandon) {
119759
- !!lock ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot claim lock as it is already claimed") : invariant$1(false) : void 0;
119352
+ !!lock ? production !== "production" ? invariant$1(false, "Cannot claim lock as it is already claimed") : invariant$1(false) : void 0;
119760
119353
  const newLock = {
119761
119354
  abandon
119762
119355
  };
@@ -119765,7 +119358,7 @@ ${seq.sequence}
119765
119358
  }
119766
119359
  __name(claim, "claim");
119767
119360
  function release() {
119768
- !lock ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot release lock when there is no lock") : invariant$1(false) : void 0;
119361
+ !lock ? production !== "production" ? invariant$1(false, "Cannot release lock when there is no lock") : invariant$1(false) : void 0;
119769
119362
  lock = null;
119770
119363
  }
119771
119364
  __name(release, "release");
@@ -119861,7 +119454,7 @@ ${seq.sequence}
119861
119454
  phase.actions.move(point2);
119862
119455
  return;
119863
119456
  }
119864
- !(phase.type === "PENDING") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot be IDLE") : invariant$1(false) : void 0;
119457
+ !(phase.type === "PENDING") ? production !== "production" ? invariant$1(false, "Cannot be IDLE") : invariant$1(false) : void 0;
119865
119458
  const pending = phase.point;
119866
119459
  if (!isSloppyClickThresholdExceeded(pending, point2)) {
119867
119460
  return;
@@ -119934,7 +119527,7 @@ ${seq.sequence}
119934
119527
  eventName: "webkitmouseforcedown",
119935
119528
  fn: (event) => {
119936
119529
  const phase = getPhase();
119937
- !(phase.type !== "IDLE") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Unexpected phase") : invariant$1(false) : void 0;
119530
+ !(phase.type !== "IDLE") ? production !== "production" ? invariant$1(false, "Unexpected phase") : invariant$1(false) : void 0;
119938
119531
  if (phase.actions.shouldRespectForcePress()) {
119939
119532
  cancel();
119940
119533
  return;
@@ -120057,7 +119650,7 @@ ${seq.sequence}
120057
119650
  unbindEventsRef.current = bindEvents(window, bindings, options);
120058
119651
  }, "bindCapturingEvents"), [cancel, stop]);
120059
119652
  const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
120060
- !(phaseRef.current.type === "IDLE") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Expected to move from IDLE to PENDING drag") : invariant$1(false) : void 0;
119653
+ !(phaseRef.current.type === "IDLE") ? production !== "production" ? invariant$1(false, "Expected to move from IDLE to PENDING drag") : invariant$1(false) : void 0;
120061
119654
  phaseRef.current = {
120062
119655
  type: "PENDING",
120063
119656
  point: point2,
@@ -120199,7 +119792,7 @@ ${seq.sequence}
120199
119792
  const actions2 = preDrag.snapLift();
120200
119793
  unbindEventsRef.current();
120201
119794
  function stop() {
120202
- !isCapturing ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot stop capturing a keyboard drag when not capturing") : invariant$1(false) : void 0;
119795
+ !isCapturing ? production !== "production" ? invariant$1(false, "Cannot stop capturing a keyboard drag when not capturing") : invariant$1(false) : void 0;
120203
119796
  isCapturing = false;
120204
119797
  unbindEventsRef.current();
120205
119798
  listenForCapture();
@@ -120334,7 +119927,7 @@ ${seq.sequence}
120334
119927
  eventName: "touchforcechange",
120335
119928
  fn: (event) => {
120336
119929
  const phase = getPhase();
120337
- !(phase.type !== "IDLE") ? process.env.NODE_ENV !== "production" ? invariant$1(false) : invariant$1(false) : void 0;
119930
+ !(phase.type !== "IDLE") ? production !== "production" ? invariant$1(false) : invariant$1(false) : void 0;
120338
119931
  const touch = event.touches[0];
120339
119932
  if (!touch) {
120340
119933
  return;
@@ -120463,7 +120056,7 @@ ${seq.sequence}
120463
120056
  }, "bindCapturingEvents"), [cancel, getPhase, stop]);
120464
120057
  const startDragging = useCallback(/* @__PURE__ */ __name(function startDragging2() {
120465
120058
  const phase = getPhase();
120466
- !(phase.type === "PENDING") ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot start dragging from phase ${phase.type}`) : invariant$1(false) : void 0;
120059
+ !(phase.type === "PENDING") ? production !== "production" ? invariant$1(false, `Cannot start dragging from phase ${phase.type}`) : invariant$1(false) : void 0;
120467
120060
  const actions2 = phase.actions.fluidLift(phase.point);
120468
120061
  setPhase({
120469
120062
  type: "DRAGGING",
@@ -120472,7 +120065,7 @@ ${seq.sequence}
120472
120065
  });
120473
120066
  }, "startDragging"), [getPhase, setPhase]);
120474
120067
  const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
120475
- !(getPhase().type === "IDLE") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Expected to move from IDLE to PENDING drag") : invariant$1(false) : void 0;
120068
+ !(getPhase().type === "IDLE") ? production !== "production" ? invariant$1(false, "Expected to move from IDLE to PENDING drag") : invariant$1(false) : void 0;
120476
120069
  const longPressTimerId = setTimeout(startDragging, timeForLongPress);
120477
120070
  setPhase({
120478
120071
  type: "PENDING",
@@ -120511,7 +120104,7 @@ ${seq.sequence}
120511
120104
  useDev(() => {
120512
120105
  const previousRef = usePrevious(sensorHooks);
120513
120106
  useDevSetupWarning(() => {
120514
- !(previousRef.current.length === sensorHooks.length) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot change the amount of sensor hooks after mounting") : invariant$1(false) : void 0;
120107
+ !(previousRef.current.length === sensorHooks.length) ? production !== "production" ? invariant$1(false, "Cannot change the amount of sensor hooks after mounting") : invariant$1(false) : void 0;
120515
120108
  });
120516
120109
  });
120517
120110
  }
@@ -120581,7 +120174,7 @@ ${seq.sequence}
120581
120174
  function findClosestDragHandleFromEvent(contextId, event) {
120582
120175
  const target = event.target;
120583
120176
  if (!isElement$1(target)) {
120584
- process.env.NODE_ENV !== "production" ? warning("event.target must be a Element") : void 0;
120177
+ production !== "production" ? warning("event.target must be a Element") : void 0;
120585
120178
  return null;
120586
120179
  }
120587
120180
  const selector = getSelector(contextId);
@@ -120590,7 +120183,7 @@ ${seq.sequence}
120590
120183
  return null;
120591
120184
  }
120592
120185
  if (!isHtmlElement(handle)) {
120593
- process.env.NODE_ENV !== "production" ? warning("drag handle must be a HTMLElement") : void 0;
120186
+ production !== "production" ? warning("drag handle must be a HTMLElement") : void 0;
120594
120187
  return null;
120595
120188
  }
120596
120189
  return handle;
@@ -120614,7 +120207,7 @@ ${seq.sequence}
120614
120207
  return null;
120615
120208
  }
120616
120209
  if (!isHtmlElement(draggable$1)) {
120617
- process.env.NODE_ENV !== "production" ? warning("Draggable element is not a HTMLElement") : void 0;
120210
+ production !== "production" ? warning("Draggable element is not a HTMLElement") : void 0;
120618
120211
  return null;
120619
120212
  }
120620
120213
  return draggable$1;
@@ -120633,7 +120226,7 @@ ${seq.sequence}
120633
120226
  } = _ref;
120634
120227
  if (!isLockActive()) {
120635
120228
  if (shouldWarn) {
120636
- process.env.NODE_ENV !== "production" ? warning(`
120229
+ production !== "production" ? warning(`
120637
120230
  Cannot perform action.
120638
120231
  The sensor no longer has an action lock.
120639
120232
 
@@ -120647,7 +120240,7 @@ ${seq.sequence}
120647
120240
  }
120648
120241
  if (expected !== phase) {
120649
120242
  if (shouldWarn) {
120650
- process.env.NODE_ENV !== "production" ? warning(`
120243
+ production !== "production" ? warning(`
120651
120244
  Cannot perform action.
120652
120245
  The actions you used belong to an outdated phase
120653
120246
 
@@ -120676,7 +120269,7 @@ ${seq.sequence}
120676
120269
  }
120677
120270
  const entry = registry.draggable.findById(draggableId);
120678
120271
  if (!entry) {
120679
- process.env.NODE_ENV !== "production" ? warning(`Unable to find draggable with id: ${draggableId}`) : void 0;
120272
+ production !== "production" ? warning(`Unable to find draggable with id: ${draggableId}`) : void 0;
120680
120273
  return false;
120681
120274
  }
120682
120275
  if (!entry.options.isEnabled) {
@@ -120710,7 +120303,7 @@ ${seq.sequence}
120710
120303
  const entry = registry.draggable.getById(draggableId);
120711
120304
  const el = findDraggable(contextId, entry.descriptor.id);
120712
120305
  if (!el) {
120713
- process.env.NODE_ENV !== "production" ? warning(`Unable to find draggable element with id: ${draggableId}`) : void 0;
120306
+ production !== "production" ? warning(`Unable to find draggable element with id: ${draggableId}`) : void 0;
120714
120307
  return null;
120715
120308
  }
120716
120309
  if (sourceEvent && !entry.options.canDragInteractiveElements && isEventInInteractiveElement(el, sourceEvent)) {
@@ -120746,7 +120339,7 @@ ${seq.sequence}
120746
120339
  __name(completed, "completed");
120747
120340
  if (phase !== "PRE_DRAG") {
120748
120341
  completed();
120749
- process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot lift in phase ${phase}`) : invariant$1(false);
120342
+ production !== "production" ? invariant$1(false, `Cannot lift in phase ${phase}`) : invariant$1(false);
120750
120343
  }
120751
120344
  store2.dispatch(lift$1(args.liftActionArgs));
120752
120345
  phase = "DRAGGING";
@@ -120951,7 +120544,7 @@ ${seq.sequence}
120951
120544
  durationDampening: __spreadValues(__spreadValues({}, defaultAutoScrollerOptions.durationDampening), props.autoScrollerOptions)
120952
120545
  }), "createAutoScrollerOptions");
120953
120546
  function getStore(lazyRef) {
120954
- !lazyRef.current ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Could not find store from lazy ref") : invariant$1(false) : void 0;
120547
+ !lazyRef.current ? production !== "production" ? invariant$1(false, "Could not find store from lazy ref") : invariant$1(false) : void 0;
120955
120548
  return lazyRef.current;
120956
120549
  }
120957
120550
  __name(getStore, "getStore");
@@ -121008,9 +120601,9 @@ ${seq.sequence}
121008
120601
  getResponders,
121009
120602
  styleMarshal
121010
120603
  }), [announce, autoScroller, dimensionMarshal, focusMarshal, getResponders, styleMarshal]);
121011
- if (process.env.NODE_ENV !== "production") {
120604
+ if (production !== "production") {
121012
120605
  if (lazyStoreRef.current && lazyStoreRef.current !== store2) {
121013
- process.env.NODE_ENV !== "production" ? warning("unexpected store change") : void 0;
120606
+ production !== "production" ? warning("unexpected store change") : void 0;
121014
120607
  }
121015
120608
  }
121016
120609
  lazyStoreRef.current = store2;
@@ -121202,7 +120795,7 @@ ${seq.sequence}
121202
120795
  }), [canDragInteractiveElements, isEnabled, shouldRespectForcePress]);
121203
120796
  const getDimension2 = useCallback((windowScroll) => {
121204
120797
  const el = getDraggableRef();
121205
- !el ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot get dimension when no ref is set") : invariant$1(false) : void 0;
120798
+ !el ? production !== "production" ? invariant$1(false, "Cannot get dimension when no ref is set") : invariant$1(false) : void 0;
121206
120799
  return getDimension$1(descriptor2, el, windowScroll);
121207
120800
  }, [descriptor2, getDraggableRef]);
121208
120801
  const entry = useMemo(() => ({
@@ -121230,7 +120823,7 @@ ${seq.sequence}
121230
120823
  __name(useDraggablePublisher, "useDraggablePublisher");
121231
120824
  var DroppableContext = React$3.createContext(null);
121232
120825
  function checkIsValidInnerRef(el) {
121233
- !(el && isHtmlElement(el)) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `
120826
+ !(el && isHtmlElement(el)) ? production !== "production" ? invariant$1(false, `
121234
120827
  provided.innerRef has not been provided with a HTMLElement.
121235
120828
 
121236
120829
  You can find a guide on using the innerRef callback functions at:
@@ -121245,16 +120838,16 @@ ${seq.sequence}
121245
120838
  }
121246
120839
  __name(prefix2, "prefix");
121247
120840
  const id2 = props.draggableId;
121248
- !id2 ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Draggable requires a draggableId") : invariant$1(false) : void 0;
121249
- !(typeof id2 === "string") ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Draggable requires a [string] draggableId.
120841
+ !id2 ? production !== "production" ? invariant$1(false, "Draggable requires a draggableId") : invariant$1(false) : void 0;
120842
+ !(typeof id2 === "string") ? production !== "production" ? invariant$1(false, `Draggable requires a [string] draggableId.
121250
120843
  Provided: [type: ${typeof id2}] (value: ${id2})`) : invariant$1(false) : void 0;
121251
- !Number.isInteger(props.index) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `${prefix2(id2)} requires an integer index prop`) : invariant$1(false) : void 0;
120844
+ !Number.isInteger(props.index) ? production !== "production" ? invariant$1(false, `${prefix2(id2)} requires an integer index prop`) : invariant$1(false) : void 0;
121252
120845
  if (props.mapped.type === "DRAGGING") {
121253
120846
  return;
121254
120847
  }
121255
120848
  checkIsValidInnerRef(getRef());
121256
120849
  if (props.isEnabled) {
121257
- !findDragHandle(contextId, id2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `${prefix2(id2)} Unable to find drag handle`) : invariant$1(false) : void 0;
120850
+ !findDragHandle(contextId, id2) ? production !== "production" ? invariant$1(false, `${prefix2(id2)} Unable to find drag handle`) : invariant$1(false) : void 0;
121258
120851
  }
121259
120852
  });
121260
120853
  }
@@ -121263,14 +120856,14 @@ ${seq.sequence}
121263
120856
  useDev(() => {
121264
120857
  const initialRef = React$3.useRef(isClone);
121265
120858
  useDevSetupWarning(() => {
121266
- !(isClone === initialRef.current) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Draggable isClone prop value changed during component life") : invariant$1(false) : void 0;
120859
+ !(isClone === initialRef.current) ? production !== "production" ? invariant$1(false, "Draggable isClone prop value changed during component life") : invariant$1(false) : void 0;
121267
120860
  }, [isClone]);
121268
120861
  });
121269
120862
  }
121270
120863
  __name(useClonePropValidation, "useClonePropValidation");
121271
120864
  function useRequiredContext(Context2) {
121272
120865
  const result = React$3.useContext(Context2);
121273
- !result ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Could not find required context") : invariant$1(false) : void 0;
120866
+ !result ? production !== "production" ? invariant$1(false, "Could not find required context") : invariant$1(false) : void 0;
121274
120867
  return result;
121275
120868
  }
121276
120869
  __name(useRequiredContext, "useRequiredContext");
@@ -121641,12 +121234,12 @@ ${seq.sequence}
121641
121234
  return isEither(overflow2, isScroll) || isEither(overflow2, isAuto$1);
121642
121235
  }, "isElementScrollable");
121643
121236
  const isBodyScrollable = /* @__PURE__ */ __name(() => {
121644
- if (process.env.NODE_ENV === "production") {
121237
+ if (production === "production") {
121645
121238
  return false;
121646
121239
  }
121647
121240
  const body = getBodyElement();
121648
121241
  const html2 = document.documentElement;
121649
- !html2 ? process.env.NODE_ENV !== "production" ? invariant$1(false) : invariant$1(false) : void 0;
121242
+ !html2 ? production !== "production" ? invariant$1(false) : invariant$1(false) : void 0;
121650
121243
  if (!isElementScrollable(body)) {
121651
121244
  return false;
121652
121245
  }
@@ -121658,7 +121251,7 @@ ${seq.sequence}
121658
121251
  if (isBoth(htmlOverflow, isVisible)) {
121659
121252
  return false;
121660
121253
  }
121661
- process.env.NODE_ENV !== "production" ? warning(`
121254
+ production !== "production" ? warning(`
121662
121255
  We have detected that your <body> element might be a scroll container.
121663
121256
  We have found no reliable way of detecting whether the <body> element is a scroll container.
121664
121257
  Under most circumstances a <body> scroll bar will be on the <html> element (document.documentElement)
@@ -121694,7 +121287,7 @@ ${seq.sequence}
121694
121287
  if (!anotherScrollParent) {
121695
121288
  return;
121696
121289
  }
121697
- process.env.NODE_ENV !== "production" ? warning(`
121290
+ production !== "production" ? warning(`
121698
121291
  Droppable: unsupported nested scroll container detected.
121699
121292
  A Droppable can only have one scroll parent (which can be itself)
121700
121293
  Nested scroll containers are currently not supported.
@@ -121879,7 +121472,7 @@ ${seq.sequence}
121879
121472
  }), [args.droppableId, args.mode, args.type]);
121880
121473
  const publishedDescriptorRef = React$3.useRef(descriptor2);
121881
121474
  const memoizedUpdateScroll = useMemo(() => memoizeOne((x2, y2) => {
121882
- !whileDraggingRef.current ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Can only update scroll when dragging") : invariant$1(false) : void 0;
121475
+ !whileDraggingRef.current ? production !== "production" ? invariant$1(false, "Can only update scroll when dragging") : invariant$1(false) : void 0;
121883
121476
  const scroll3 = {
121884
121477
  x: x2,
121885
121478
  y: y2
@@ -121901,7 +121494,7 @@ ${seq.sequence}
121901
121494
  const onClosestScroll = useCallback(() => {
121902
121495
  const dragging = whileDraggingRef.current;
121903
121496
  const closest2 = getClosestScrollableFromDrag(dragging);
121904
- !(dragging && closest2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Could not find scroll options while scrolling") : invariant$1(false) : void 0;
121497
+ !(dragging && closest2) ? production !== "production" ? invariant$1(false, "Could not find scroll options while scrolling") : invariant$1(false) : void 0;
121905
121498
  const options = dragging.scrollOptions;
121906
121499
  if (options.shouldPublishImmediately) {
121907
121500
  updateScroll();
@@ -121910,10 +121503,10 @@ ${seq.sequence}
121910
121503
  scheduleScrollUpdate();
121911
121504
  }, [scheduleScrollUpdate, updateScroll]);
121912
121505
  const getDimensionAndWatchScroll = useCallback((windowScroll, options) => {
121913
- !!whileDraggingRef.current ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot collect a droppable while a drag is occurring") : invariant$1(false) : void 0;
121506
+ !!whileDraggingRef.current ? production !== "production" ? invariant$1(false, "Cannot collect a droppable while a drag is occurring") : invariant$1(false) : void 0;
121914
121507
  const previous2 = previousRef.current;
121915
121508
  const ref = previous2.getDroppableRef();
121916
- !ref ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot collect without a droppable ref") : invariant$1(false) : void 0;
121509
+ !ref ? production !== "production" ? invariant$1(false, "Cannot collect without a droppable ref") : invariant$1(false) : void 0;
121917
121510
  const env = getEnv(ref);
121918
121511
  const dragging = {
121919
121512
  ref,
@@ -121936,7 +121529,7 @@ ${seq.sequence}
121936
121529
  if (scrollable) {
121937
121530
  scrollable.setAttribute(scrollContainer.contextId, appContext.contextId);
121938
121531
  scrollable.addEventListener("scroll", onClosestScroll, getListenerOptions(dragging.scrollOptions));
121939
- if (process.env.NODE_ENV !== "production") {
121532
+ if (production !== "production") {
121940
121533
  checkForNestedScrollContainers(scrollable);
121941
121534
  }
121942
121535
  }
@@ -121945,12 +121538,12 @@ ${seq.sequence}
121945
121538
  const getScrollWhileDragging = useCallback(() => {
121946
121539
  const dragging = whileDraggingRef.current;
121947
121540
  const closest2 = getClosestScrollableFromDrag(dragging);
121948
- !(dragging && closest2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Can only recollect Droppable client for Droppables that have a scroll container") : invariant$1(false) : void 0;
121541
+ !(dragging && closest2) ? production !== "production" ? invariant$1(false, "Can only recollect Droppable client for Droppables that have a scroll container") : invariant$1(false) : void 0;
121949
121542
  return getScroll$2(closest2);
121950
121543
  }, []);
121951
121544
  const dragStopped = useCallback(() => {
121952
121545
  const dragging = whileDraggingRef.current;
121953
- !dragging ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot stop drag when no active drag") : invariant$1(false) : void 0;
121546
+ !dragging ? production !== "production" ? invariant$1(false, "Cannot stop drag when no active drag") : invariant$1(false) : void 0;
121954
121547
  const closest2 = getClosestScrollableFromDrag(dragging);
121955
121548
  whileDraggingRef.current = null;
121956
121549
  if (!closest2) {
@@ -121966,9 +121559,9 @@ ${seq.sequence}
121966
121559
  }, [onClosestScroll, scheduleScrollUpdate]);
121967
121560
  const scroll2 = useCallback((change) => {
121968
121561
  const dragging = whileDraggingRef.current;
121969
- !dragging ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot scroll when there is no drag") : invariant$1(false) : void 0;
121562
+ !dragging ? production !== "production" ? invariant$1(false, "Cannot scroll when there is no drag") : invariant$1(false) : void 0;
121970
121563
  const closest2 = getClosestScrollableFromDrag(dragging);
121971
- !closest2 ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot scroll a droppable with no closest scrollable") : invariant$1(false) : void 0;
121564
+ !closest2 ? production !== "production" ? invariant$1(false, "Cannot scroll a droppable with no closest scrollable") : invariant$1(false) : void 0;
121972
121565
  closest2.scrollTop += change.y;
121973
121566
  closest2.scrollLeft += change.x;
121974
121567
  }, []);
@@ -121990,7 +121583,7 @@ ${seq.sequence}
121990
121583
  registry.droppable.register(entry);
121991
121584
  return () => {
121992
121585
  if (whileDraggingRef.current) {
121993
- process.env.NODE_ENV !== "production" ? warning("Unsupported: changing the droppableId or type of a Droppable during a drag") : void 0;
121586
+ production !== "production" ? warning("Unsupported: changing the droppableId or type of a Droppable during a drag") : void 0;
121994
121587
  dragStopped();
121995
121588
  }
121996
121589
  registry.droppable.unregister(entry);
@@ -122130,15 +121723,15 @@ ${seq.sequence}
122130
121723
  let {
122131
121724
  props
122132
121725
  } = _ref;
122133
- !props.droppableId ? process.env.NODE_ENV !== "production" ? invariant$1(false, "A Droppable requires a droppableId prop") : invariant$1(false) : void 0;
122134
- !(typeof props.droppableId === "string") ? process.env.NODE_ENV !== "production" ? invariant$1(false, `A Droppable requires a [string] droppableId. Provided: [${typeof props.droppableId}]`) : invariant$1(false) : void 0;
121726
+ !props.droppableId ? production !== "production" ? invariant$1(false, "A Droppable requires a droppableId prop") : invariant$1(false) : void 0;
121727
+ !(typeof props.droppableId === "string") ? production !== "production" ? invariant$1(false, `A Droppable requires a [string] droppableId. Provided: [${typeof props.droppableId}]`) : invariant$1(false) : void 0;
122135
121728
  }, "required"), /* @__PURE__ */ __name(function boolean2(_ref2) {
122136
121729
  let {
122137
121730
  props
122138
121731
  } = _ref2;
122139
- !isBoolean(props.isDropDisabled) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "isDropDisabled must be a boolean") : invariant$1(false) : void 0;
122140
- !isBoolean(props.isCombineEnabled) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "isCombineEnabled must be a boolean") : invariant$1(false) : void 0;
122141
- !isBoolean(props.ignoreContainerClipping) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "ignoreContainerClipping must be a boolean") : invariant$1(false) : void 0;
121732
+ !isBoolean(props.isDropDisabled) ? production !== "production" ? invariant$1(false, "isDropDisabled must be a boolean") : invariant$1(false) : void 0;
121733
+ !isBoolean(props.isCombineEnabled) ? production !== "production" ? invariant$1(false, "isCombineEnabled must be a boolean") : invariant$1(false) : void 0;
121734
+ !isBoolean(props.ignoreContainerClipping) ? production !== "production" ? invariant$1(false, "ignoreContainerClipping must be a boolean") : invariant$1(false) : void 0;
122142
121735
  }, "boolean"), /* @__PURE__ */ __name(function ref(_ref3) {
122143
121736
  let {
122144
121737
  getDroppableRef
@@ -122157,7 +121750,7 @@ ${seq.sequence}
122157
121750
  if (ref) {
122158
121751
  return;
122159
121752
  }
122160
- process.env.NODE_ENV !== "production" ? warning(`
121753
+ production !== "production" ? warning(`
122161
121754
  Droppable setup issue [droppableId: "${props.droppableId}"]:
122162
121755
  DroppableProvided > placeholder could not be found.
122163
121756
 
@@ -122169,12 +121762,12 @@ ${seq.sequence}
122169
121762
  let {
122170
121763
  props
122171
121764
  } = _ref5;
122172
- !props.renderClone ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Must provide a clone render function (renderClone) for virtual lists") : invariant$1(false) : void 0;
121765
+ !props.renderClone ? production !== "production" ? invariant$1(false, "Must provide a clone render function (renderClone) for virtual lists") : invariant$1(false) : void 0;
122173
121766
  }, "hasClone"), /* @__PURE__ */ __name(function hasNoPlaceholder(_ref6) {
122174
121767
  let {
122175
121768
  getPlaceholderRef
122176
121769
  } = _ref6;
122177
- !!getPlaceholderRef() ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Expected virtual list to not have a placeholder") : invariant$1(false) : void 0;
121770
+ !!getPlaceholderRef() ? production !== "production" ? invariant$1(false, "Expected virtual list to not have a placeholder") : invariant$1(false) : void 0;
122178
121771
  }, "hasNoPlaceholder")];
122179
121772
  function useValidation(args) {
122180
121773
  useDevSetupWarning(() => {
@@ -122248,7 +121841,7 @@ ${seq.sequence}
122248
121841
  __name(AnimateInOut, "AnimateInOut");
122249
121842
  const Droppable = /* @__PURE__ */ __name((props) => {
122250
121843
  const appContext = React$3.useContext(AppContext);
122251
- !appContext ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Could not find app context") : invariant$1(false) : void 0;
121844
+ !appContext ? production !== "production" ? invariant$1(false, "Could not find app context") : invariant$1(false) : void 0;
122252
121845
  const {
122253
121846
  contextId,
122254
121847
  isMovementAllowed: isMovementAllowed2
@@ -122472,7 +122065,7 @@ ${seq.sequence}
122472
122065
  updateViewportMaxScroll
122473
122066
  };
122474
122067
  function getBody() {
122475
- !document.body ? process.env.NODE_ENV !== "production" ? invariant$1(false, "document.body is not ready") : invariant$1(false) : void 0;
122068
+ !document.body ? production !== "production" ? invariant$1(false, "document.body is not ready") : invariant$1(false) : void 0;
122476
122069
  return document.body;
122477
122070
  }
122478
122071
  __name(getBody, "getBody");
@@ -124555,7 +124148,7 @@ ${seq.sequence}
124555
124148
  });
124556
124149
  DraggableCore$2.default = void 0;
124557
124150
  var React$1 = _interopRequireWildcard(React$3);
124558
- var _propTypes = _interopRequireDefault(propTypesExports);
124151
+ var _propTypes = _interopRequireDefault(requirePropTypes());
124559
124152
  var _reactDom = _interopRequireDefault(ReactDOM$1);
124560
124153
  var _domFns = domFns;
124561
124154
  var _positionFns = positionFns;
@@ -125143,7 +124736,7 @@ ${seq.sequence}
125143
124736
  });
125144
124737
  exports3.default = void 0;
125145
124738
  var React2 = _interopRequireWildcard2(React$3);
125146
- var _propTypes2 = _interopRequireDefault2(propTypesExports);
124739
+ var _propTypes2 = _interopRequireDefault2(requirePropTypes());
125147
124740
  var _reactDom2 = _interopRequireDefault2(ReactDOM$1);
125148
124741
  var _clsx2 = _interopRequireDefault2(require$$3);
125149
124742
  var _domFns2 = domFns;
@@ -126138,8 +125731,8 @@ ${seq.sequence}
126138
125731
  }
126139
125732
  __name(Caret$2, "Caret$2");
126140
125733
  const isEq = /* @__PURE__ */ __name((o1, o2) => {
126141
- const isEq2 = _$2.isEqualWith(o1, o2, function(val1, val2) {
126142
- if (_$2.isFunction(val1) && _$2.isFunction(val2)) {
125734
+ const isEq2 = _$1.isEqualWith(o1, o2, function(val1, val2) {
125735
+ if (_$1.isFunction(val1) && _$1.isFunction(val2)) {
126143
125736
  return val1 === val2 || val1.toString() === val2.toString();
126144
125737
  }
126145
125738
  });
@@ -130920,7 +130513,7 @@ double click --> edit`}`;
130920
130513
  }
130921
130514
  __name(showFileDialog, "showFileDialog");
130922
130515
  const name = "@teselagen/ove";
130923
- const version = "0.0.6";
130516
+ const version = "0.0.8";
130924
130517
  const main = "./index.js";
130925
130518
  const types$1 = "./index.d.ts";
130926
130519
  const type = "commonjs";
@@ -136909,7 +136502,7 @@ double click --> edit`}`;
136909
136502
  transform(value, _k, config) {
136910
136503
  const transform2 = value || config.shared.transform;
136911
136504
  this.hasCustomTransform = !!transform2;
136912
- if (process.env.NODE_ENV === "development") {
136505
+ if (production === "development") {
136913
136506
  const originalTransform = transform2 || identity;
136914
136507
  return (v2) => {
136915
136508
  const r2 = originalTransform(v2);
@@ -136925,7 +136518,7 @@ double click --> edit`}`;
136925
136518
  return V$1.toVector(value, 0);
136926
136519
  }
136927
136520
  };
136928
- if (process.env.NODE_ENV === "development") {
136521
+ if (production === "development") {
136929
136522
  Object.assign(commonConfigResolver, {
136930
136523
  domTarget(value) {
136931
136524
  if (value !== void 0) {
@@ -137100,7 +136693,7 @@ double click --> edit`}`;
137100
136693
  return value;
137101
136694
  }
137102
136695
  });
137103
- if (process.env.NODE_ENV === "development") {
136696
+ if (production === "development") {
137104
136697
  Object.assign(dragConfigResolver, {
137105
136698
  useTouch(value) {
137106
136699
  if (value !== void 0) {
@@ -137379,7 +136972,7 @@ double click --> edit`}`;
137379
136972
  if (event.cancelable) {
137380
136973
  event.preventDefault();
137381
136974
  }
137382
- if (process.env.NODE_ENV === "development" && !event.defaultPrevented) {
136975
+ if (production === "development" && !event.defaultPrevented) {
137383
136976
  console.warn(`[@use-gesture]: To properly support zoom on trackpads, try using the \`target\` option.
137384
136977
 
137385
136978
  This message will only appear in development mode.`);
@@ -137556,7 +137149,7 @@ This message will only appear in development mode.`);
137556
137149
  for (const [key2, resolver2] of Object.entries(resolvers)) {
137557
137150
  switch (typeof resolver2) {
137558
137151
  case "function":
137559
- if (process.env.NODE_ENV === "development") {
137152
+ if (production === "development") {
137560
137153
  const r2 = resolver2.call(result, config[key2], key2, config);
137561
137154
  if (!Number.isNaN(r2))
137562
137155
  result[key2] = r2;
@@ -137603,7 +137196,7 @@ This message will only appear in development mode.`);
137603
137196
  _config[key2] = resolveWith(_objectSpread2$1({
137604
137197
  shared: _config.shared
137605
137198
  }, rest[key2]), resolver2);
137606
- } else if (process.env.NODE_ENV === "development") {
137199
+ } else if (production === "development") {
137607
137200
  if (!["drag", "pinch", "scroll", "wheel", "move", "hover"].includes(key2)) {
137608
137201
  if (key2 === "domTarget") {
137609
137202
  throw Error(`[@use-gesture]: \`domTarget\` option has been renamed to \`target\`.`);
@@ -149872,7 +149465,7 @@ ${seqDataToCopy}\r
149872
149465
  //
149873
149466
  /////////////////////////////////////////////////////////
149874
149467
  isSplitterElement(element2) {
149875
- return process.env.NODE_ENV === "development" ? element2.type === React$3.createElement(ReflexSplitter).type : element2.type === ReflexSplitter;
149468
+ return production === "development" ? element2.type === React$3.createElement(ReflexSplitter).type : element2.type === ReflexSplitter;
149876
149469
  }
149877
149470
  /////////////////////////////////////////////////////////
149878
149471
  // Handles splitter stopResize event