@teselagen/ove 0.0.8 → 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 +695 -1110
  2. package/index.mjs +695 -1110
  3. package/index.umd.js +611 -1026
  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,9 +19963,9 @@ 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;
@@ -19977,7 +19994,7 @@ var __async = (__this, __arguments, generator) => {
19977
19994
  var gOPS2 = _objectGops;
19978
19995
  var pIE2 = require_objectPie();
19979
19996
  var toObject2 = _toObject;
19980
- var IObject2 = _iobject;
19997
+ var IObject2 = require_iobject();
19981
19998
  var $assign = Object.assign;
19982
19999
  _objectAssign = !$assign || _fails(function() {
19983
20000
  var A2 = {};
@@ -20038,28 +20055,19 @@ var __async = (__this, __arguments, generator) => {
20038
20055
  }, "_iterStep");
20039
20056
  var _iterators = {};
20040
20057
  var _redefine = _hide;
20041
- var _objectDps;
20042
- var hasRequired_objectDps;
20043
- function require_objectDps() {
20044
- if (hasRequired_objectDps)
20045
- return _objectDps;
20046
- hasRequired_objectDps = 1;
20047
- var dP2 = _objectDp;
20048
- var anObject2 = _anObject;
20049
- var getKeys2 = _objectKeys;
20050
- _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties2) {
20051
- anObject2(O2);
20052
- var keys2 = getKeys2(Properties2);
20053
- var length = keys2.length;
20054
- var i2 = 0;
20055
- var P2;
20056
- while (length > i2)
20057
- dP2.f(O2, P2 = keys2[i2++], Properties2[P2]);
20058
- return O2;
20059
- }, "defineProperties");
20060
- return _objectDps;
20061
- }
20062
- __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");
20063
20071
  var _html;
20064
20072
  var hasRequired_html;
20065
20073
  function require_html() {
@@ -20071,51 +20079,42 @@ var __async = (__this, __arguments, generator) => {
20071
20079
  return _html;
20072
20080
  }
20073
20081
  __name(require_html, "require_html");
20074
- var _objectCreate;
20075
- var hasRequired_objectCreate;
20076
- function require_objectCreate() {
20077
- if (hasRequired_objectCreate)
20078
- return _objectCreate;
20079
- hasRequired_objectCreate = 1;
20080
- var anObject2 = _anObject;
20081
- var dPs = require_objectDps();
20082
- var enumBugKeys2 = _enumBugKeys;
20083
- var IE_PROTO2 = _sharedKey("IE_PROTO");
20084
- var Empty = /* @__PURE__ */ __name(function() {
20085
- }, "Empty");
20086
- var PROTOTYPE2 = "prototype";
20087
- var createDict = /* @__PURE__ */ __name(function() {
20088
- var iframe = require_domCreate()("iframe");
20089
- var i2 = enumBugKeys2.length;
20090
- var lt = "<";
20091
- var gt = ">";
20092
- var iframeDocument;
20093
- iframe.style.display = "none";
20094
- require_html().appendChild(iframe);
20095
- iframe.src = "javascript:";
20096
- iframeDocument = iframe.contentWindow.document;
20097
- iframeDocument.open();
20098
- iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
20099
- iframeDocument.close();
20100
- createDict = iframeDocument.F;
20101
- while (i2--)
20102
- delete createDict[PROTOTYPE2][enumBugKeys2[i2]];
20103
- return createDict();
20104
- }, "createDict");
20105
- _objectCreate = Object.create || /* @__PURE__ */ __name(function create2(O2, Properties2) {
20106
- var result;
20107
- if (O2 !== null) {
20108
- Empty[PROTOTYPE2] = anObject2(O2);
20109
- result = new Empty();
20110
- Empty[PROTOTYPE2] = null;
20111
- result[IE_PROTO2] = O2;
20112
- } else
20113
- result = createDict();
20114
- return Properties2 === void 0 ? result : dPs(result, Properties2);
20115
- }, "create");
20116
- return _objectCreate;
20117
- }
20118
- __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");
20119
20118
  var _wks = { exports: {} };
20120
20119
  var store$2 = _sharedExports("wks");
20121
20120
  var uid$1 = _uid;
@@ -20133,7 +20132,7 @@ var __async = (__this, __arguments, generator) => {
20133
20132
  if (it && !has$c(it = stat ? it : it.prototype, TAG$1))
20134
20133
  def(it, TAG$1, { configurable: true, value: tag });
20135
20134
  }, "_setToStringTag");
20136
- var create$4 = require_objectCreate();
20135
+ var create$4 = _objectCreate;
20137
20136
  var descriptor = _propertyDesc;
20138
20137
  var setToStringTag$2 = _setToStringTag;
20139
20138
  var IteratorPrototype = {};
@@ -20703,14 +20702,14 @@ var __async = (__this, __arguments, generator) => {
20703
20702
  var wksExt = _wksExt;
20704
20703
  var wksDefine = _wksDefine;
20705
20704
  var enumKeys = _enumKeys;
20706
- var isArray$t = _isArray;
20705
+ var isArray$s = _isArray;
20707
20706
  var anObject = _anObject;
20708
20707
  var isObject$b = _isObject;
20709
20708
  var toObject$1 = _toObject;
20710
20709
  var toIObject = _toIobject;
20711
20710
  var toPrimitive = _toPrimitive$1;
20712
20711
  var createDesc = _propertyDesc;
20713
- var _create$1 = require_objectCreate();
20712
+ var _create$1 = _objectCreate;
20714
20713
  var gOPNExt = _objectGopnExt;
20715
20714
  var $GOPD = _objectGopd;
20716
20715
  var $GOPS = _objectGops;
@@ -20923,7 +20922,7 @@ var __async = (__this, __arguments, generator) => {
20923
20922
  $replacer = replacer = args[1];
20924
20923
  if (!isObject$b(replacer) && it === void 0 || isSymbol$8(it))
20925
20924
  return;
20926
- if (!isArray$t(replacer))
20925
+ if (!isArray$s(replacer))
20927
20926
  replacer = /* @__PURE__ */ __name(function(key2, value) {
20928
20927
  if (typeof $replacer == "function")
20929
20928
  value = $replacer.call(this, key2, value);
@@ -21017,7 +21016,7 @@ var __async = (__this, __arguments, generator) => {
21017
21016
  var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
21018
21017
  var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
21019
21018
  var $export = _export;
21020
- $export($export.S, "Object", { create: require_objectCreate() });
21019
+ $export($export.S, "Object", { create: _objectCreate });
21021
21020
  var $Object$1 = _coreExports.Object;
21022
21021
  var create$3 = /* @__PURE__ */ __name(function create2(P2, D2) {
21023
21022
  return $Object$1.create(P2, D2);
@@ -21049,7 +21048,7 @@ var __async = (__this, __arguments, generator) => {
21049
21048
  _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;
21050
21049
  }, "_default$6");
21051
21050
  var invariant$3 = /* @__PURE__ */ __name(function(condition, format2, a2, b3, c2, d2, e2, f2) {
21052
- if (process.env.NODE_ENV !== "production") {
21051
+ if (production !== "production") {
21053
21052
  if (format2 === void 0) {
21054
21053
  throw new Error("invariant requires an error message argument");
21055
21054
  }
@@ -21651,12 +21650,12 @@ var __async = (__this, __arguments, generator) => {
21651
21650
  }
21652
21651
  __name(arrayPush$4, "arrayPush$4");
21653
21652
  var _arrayPush = arrayPush$4;
21654
- var isArray$s = Array.isArray;
21655
- var isArray_1 = isArray$s;
21656
- 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;
21657
21656
  function baseGetAllKeys$3(object2, keysFunc, symbolsFunc) {
21658
21657
  var result = keysFunc(object2);
21659
- return isArray$r(object2) ? result : arrayPush$3(result, symbolsFunc(object2));
21658
+ return isArray$q(object2) ? result : arrayPush$3(result, symbolsFunc(object2));
21660
21659
  }
21661
21660
  __name(baseGetAllKeys$3, "baseGetAllKeys$3");
21662
21661
  var _baseGetAllKeys = baseGetAllKeys$3;
@@ -21798,11 +21797,11 @@ var __async = (__this, __arguments, generator) => {
21798
21797
  var nodeIsTypedArray$1 = nodeUtil$4 && nodeUtil$4.isTypedArray;
21799
21798
  var isTypedArray$4 = nodeIsTypedArray$1 ? baseUnary$5(nodeIsTypedArray$1) : baseIsTypedArray$1;
21800
21799
  var isTypedArray_1 = isTypedArray$4;
21801
- 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;
21802
21801
  var objectProto$o = Object.prototype;
21803
21802
  var hasOwnProperty$n = objectProto$o.hasOwnProperty;
21804
21803
  function arrayLikeKeys$3(value, inherited) {
21805
- 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;
21806
21805
  for (var key2 in value) {
21807
21806
  if ((inherited || hasOwnProperty$n.call(value, key2)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
21808
21807
  (key2 == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -21955,13 +21954,13 @@ var __async = (__this, __arguments, generator) => {
21955
21954
  }, "getTag$7");
21956
21955
  }
21957
21956
  var _getTag = getTag$7;
21958
- 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;
21959
21958
  var COMPARE_PARTIAL_FLAG$8 = 1;
21960
21959
  var argsTag$4 = "[object Arguments]", arrayTag$3 = "[object Array]", objectTag$6 = "[object Object]";
21961
21960
  var objectProto$k = Object.prototype;
21962
21961
  var hasOwnProperty$k = objectProto$k.hasOwnProperty;
21963
21962
  function baseIsEqualDeep$2(object2, other, bitmask, customizer, equalFunc, stack) {
21964
- 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);
21965
21964
  objTag = objTag == argsTag$4 ? objectTag$6 : objTag;
21966
21965
  othTag = othTag == argsTag$4 ? objectTag$6 : othTag;
21967
21966
  var objIsObj = objTag == objectTag$6, othIsObj = othTag == objectTag$6, isSameTag = objTag == othTag;
@@ -22085,10 +22084,10 @@ var __async = (__this, __arguments, generator) => {
22085
22084
  }
22086
22085
  __name(isSymbol$7, "isSymbol$7");
22087
22086
  var isSymbol_1 = isSymbol$7;
22088
- var isArray$o = isArray_1, isSymbol$6 = isSymbol_1;
22087
+ var isArray$n = isArray_1, isSymbol$6 = isSymbol_1;
22089
22088
  var reIsDeepProp$1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp$1 = /^\w*$/;
22090
22089
  function isKey$4(value, object2) {
22091
- if (isArray$o(value)) {
22090
+ if (isArray$n(value)) {
22092
22091
  return false;
22093
22092
  }
22094
22093
  var type2 = typeof value;
@@ -22157,14 +22156,14 @@ var __async = (__this, __arguments, generator) => {
22157
22156
  }
22158
22157
  __name(arrayMap$6, "arrayMap$6");
22159
22158
  var _arrayMap = arrayMap$6;
22160
- 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;
22161
22160
  var INFINITY$5 = 1 / 0;
22162
22161
  var symbolProto$3 = Symbol$5 ? Symbol$5.prototype : void 0, symbolToString$1 = symbolProto$3 ? symbolProto$3.toString : void 0;
22163
22162
  function baseToString$3(value) {
22164
22163
  if (typeof value == "string") {
22165
22164
  return value;
22166
22165
  }
22167
- if (isArray$n(value)) {
22166
+ if (isArray$m(value)) {
22168
22167
  return arrayMap$5(value, baseToString$3) + "";
22169
22168
  }
22170
22169
  if (isSymbol$5(value)) {
@@ -22181,9 +22180,9 @@ var __async = (__this, __arguments, generator) => {
22181
22180
  }
22182
22181
  __name(toString$4, "toString$4");
22183
22182
  var toString_1 = toString$4;
22184
- 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;
22185
22184
  function castPath$5(value, object2) {
22186
- if (isArray$m(value)) {
22185
+ if (isArray$l(value)) {
22187
22186
  return value;
22188
22187
  }
22189
22188
  return isKey$3(value, object2) ? [value] : stringToPath$3(toString$3(value));
@@ -22224,7 +22223,7 @@ var __async = (__this, __arguments, generator) => {
22224
22223
  }
22225
22224
  __name(baseHasIn$2, "baseHasIn$2");
22226
22225
  var _baseHasIn = baseHasIn$2;
22227
- 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;
22228
22227
  function hasPath$2(object2, path2, hasFunc) {
22229
22228
  path2 = castPath$3(path2, object2);
22230
22229
  var index2 = -1, length = path2.length, result = false;
@@ -22239,7 +22238,7 @@ var __async = (__this, __arguments, generator) => {
22239
22238
  return result;
22240
22239
  }
22241
22240
  length = object2 == null ? 0 : object2.length;
22242
- 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));
22243
22242
  }
22244
22243
  __name(hasPath$2, "hasPath$2");
22245
22244
  var _hasPath = hasPath$2;
@@ -22288,7 +22287,7 @@ var __async = (__this, __arguments, generator) => {
22288
22287
  }
22289
22288
  __name(property$2, "property$2");
22290
22289
  var property_1 = property$2;
22291
- 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;
22292
22291
  function baseIteratee$5(value) {
22293
22292
  if (typeof value == "function") {
22294
22293
  return value;
@@ -22297,7 +22296,7 @@ var __async = (__this, __arguments, generator) => {
22297
22296
  return identity$7;
22298
22297
  }
22299
22298
  if (typeof value == "object") {
22300
- 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);
22301
22300
  }
22302
22301
  return property$1(value);
22303
22302
  }
@@ -22414,10 +22413,10 @@ var __async = (__this, __arguments, generator) => {
22414
22413
  var find$3 = createFind(findIndex$1);
22415
22414
  var find_1 = find$3;
22416
22415
  const find$4 = /* @__PURE__ */ getDefaultExportFromCjs(find_1);
22417
- 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;
22418
22417
  var spreadableSymbol = Symbol$4 ? Symbol$4.isConcatSpreadable : void 0;
22419
22418
  function isFlattenable$1(value) {
22420
- return isArray$j(value) || isArguments$5(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
22419
+ return isArray$i(value) || isArguments$5(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
22421
22420
  }
22422
22421
  __name(isFlattenable$1, "isFlattenable$1");
22423
22422
  var _isFlattenable = isFlattenable$1;
@@ -22541,11 +22540,11 @@ var __async = (__this, __arguments, generator) => {
22541
22540
  }
22542
22541
  __name(compareMultiple$1, "compareMultiple$1");
22543
22542
  var _compareMultiple = compareMultiple$1;
22544
- 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;
22545
22544
  function baseOrderBy$1(collection, iteratees, orders) {
22546
22545
  if (iteratees.length) {
22547
22546
  iteratees = arrayMap$4(iteratees, function(iteratee) {
22548
- if (isArray$i(iteratee)) {
22547
+ if (isArray$h(iteratee)) {
22549
22548
  return function(value) {
22550
22549
  return baseGet$2(value, iteratee.length === 1 ? iteratee[0] : iteratee);
22551
22550
  };
@@ -24179,7 +24178,7 @@ var __async = (__this, __arguments, generator) => {
24179
24178
  (function(exports3) {
24180
24179
  (function(global2, factory) {
24181
24180
  {
24182
- factory(exports3, propTypesExports, React$3);
24181
+ factory(exports3, requirePropTypes(), React$3);
24183
24182
  }
24184
24183
  })(commonjsGlobal, function(_exports, _propTypes2, _react3) {
24185
24184
  Object.defineProperty(_exports, "__esModule", {
@@ -24907,7 +24906,7 @@ var __async = (__this, __arguments, generator) => {
24907
24906
  return target;
24908
24907
  }
24909
24908
  __name(_objectWithoutProperties$8, "_objectWithoutProperties$8");
24910
- const _$1 = {
24909
+ const _ = {
24911
24910
  get: get$6,
24912
24911
  set: set$1,
24913
24912
  takeRight,
@@ -24920,7 +24919,7 @@ var __async = (__this, __arguments, generator) => {
24920
24919
  sum,
24921
24920
  makeTemplateComponent,
24922
24921
  groupBy,
24923
- isArray: isArray$h,
24922
+ isArray: isArray$g,
24924
24923
  splitProps,
24925
24924
  compactObject,
24926
24925
  isSortingDesc,
@@ -25047,7 +25046,7 @@ var __async = (__this, __arguments, generator) => {
25047
25046
  function groupBy(xs, key2) {
25048
25047
  return xs.reduce(function(rv, x2, i2) {
25049
25048
  var resKey = typeof key2 === "function" ? key2(x2, i2) : x2[key2];
25050
- rv[resKey] = isArray$h(rv[resKey]) ? rv[resKey] : [];
25049
+ rv[resKey] = isArray$g(rv[resKey]) ? rv[resKey] : [];
25051
25050
  rv[resKey].push(x2);
25052
25051
  return rv;
25053
25052
  }, {});
@@ -25058,17 +25057,17 @@ var __async = (__this, __arguments, generator) => {
25058
25057
  return Number.isNaN(value) ? null : value + "px";
25059
25058
  }
25060
25059
  __name(asPx, "asPx");
25061
- function isArray$h(a2) {
25060
+ function isArray$g(a2) {
25062
25061
  return Array.isArray(a2);
25063
25062
  }
25064
- __name(isArray$h, "isArray$h");
25063
+ __name(isArray$g, "isArray$g");
25065
25064
  function makePathArray(obj) {
25066
25065
  return flattenDeep(obj).join(".").replace(/\[/g, ".").replace(/\]/g, "").split(".");
25067
25066
  }
25068
25067
  __name(makePathArray, "makePathArray");
25069
25068
  function flattenDeep(arr) {
25070
25069
  var newArr = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
25071
- if (!isArray$h(arr)) {
25070
+ if (!isArray$g(arr)) {
25072
25071
  newArr.push(arr);
25073
25072
  } else {
25074
25073
  for (var i2 = 0; i2 < arr.length; i2 += 1) {
@@ -25359,7 +25358,7 @@ var __async = (__this, __arguments, generator) => {
25359
25358
  _createClass$d(_class, [{
25360
25359
  key: "getResolvedState",
25361
25360
  value: /* @__PURE__ */ __name(function getResolvedState(props, state2) {
25362
- 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));
25363
25362
  return resolvedState;
25364
25363
  }, "getResolvedState")
25365
25364
  }, {
@@ -25405,7 +25404,7 @@ var __async = (__this, __arguments, generator) => {
25405
25404
  dcol.id = dcol.id || dcol.accessor;
25406
25405
  var accessorString = dcol.accessor;
25407
25406
  dcol.accessor = function(row) {
25408
- return _$1.get(row, accessorString);
25407
+ return _.get(row, accessorString);
25409
25408
  };
25410
25409
  return dcol;
25411
25410
  }
@@ -25441,7 +25440,7 @@ var __async = (__this, __arguments, generator) => {
25441
25440
  visibleColumns = visibleColumns.map(function(column) {
25442
25441
  if (column.columns) {
25443
25442
  var visibleSubColumns = column.columns.filter(function(d2) {
25444
- return pivotBy.indexOf(d2.id) > -1 ? false : _$1.getFirstDefined(d2.show, true);
25443
+ return pivotBy.indexOf(d2.id) > -1 ? false : _.getFirstDefined(d2.show, true);
25445
25444
  });
25446
25445
  return _extends$o({}, column, {
25447
25446
  columns: visibleSubColumns
@@ -25450,7 +25449,7 @@ var __async = (__this, __arguments, generator) => {
25450
25449
  return column;
25451
25450
  });
25452
25451
  visibleColumns = visibleColumns.filter(function(column) {
25453
- 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);
25454
25453
  });
25455
25454
  var pivotIndex = visibleColumns.findIndex(function(col) {
25456
25455
  return col.pivot;
@@ -25553,7 +25552,7 @@ var __async = (__this, __arguments, generator) => {
25553
25552
  if (i2 === keys2.length) {
25554
25553
  return rows;
25555
25554
  }
25556
- var groupedRows = Object.entries(_$1.groupBy(rows, keys2[i2])).map(function(_ref) {
25555
+ var groupedRows = Object.entries(_.groupBy(rows, keys2[i2])).map(function(_ref) {
25557
25556
  var _ref3;
25558
25557
  var _ref2 = _slicedToArray$5(_ref, 2), key2 = _ref2[0], value = _ref2[1];
25559
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;
@@ -25597,12 +25596,12 @@ var __async = (__this, __arguments, generator) => {
25597
25596
  }, {
25598
25597
  key: "getPropOrState",
25599
25598
  value: /* @__PURE__ */ __name(function getPropOrState(key2) {
25600
- return _$1.getFirstDefined(this.props[key2], this.state[key2]);
25599
+ return _.getFirstDefined(this.props[key2], this.state[key2]);
25601
25600
  }, "getPropOrState")
25602
25601
  }, {
25603
25602
  key: "getStateOrProp",
25604
25603
  value: /* @__PURE__ */ __name(function getStateOrProp(key2) {
25605
- return _$1.getFirstDefined(this.state[key2], this.props[key2]);
25604
+ return _.getFirstDefined(this.state[key2], this.props[key2]);
25606
25605
  }, "getStateOrProp")
25607
25606
  }, {
25608
25607
  key: "filterData",
@@ -25647,7 +25646,7 @@ var __async = (__this, __arguments, generator) => {
25647
25646
  if (!sorted.length) {
25648
25647
  return data;
25649
25648
  }
25650
- var sortedData = (this.props.orderByMethod || _$1.orderBy)(data, sorted.map(function(sort) {
25649
+ var sortedData = (this.props.orderByMethod || _.orderBy)(data, sorted.map(function(sort) {
25651
25650
  if (sortMethodsByColumnID[sort.id]) {
25652
25651
  return function(a2, b3) {
25653
25652
  return sortMethodsByColumnID[sort.id](a2[sort.id], b3[sort.id], sort.desc);
@@ -25670,7 +25669,7 @@ var __async = (__this, __arguments, generator) => {
25670
25669
  }, {
25671
25670
  key: "getMinRows",
25672
25671
  value: /* @__PURE__ */ __name(function getMinRows() {
25673
- return _$1.getFirstDefined(this.props.minRows, this.getStateOrProp("pageSize"));
25672
+ return _.getFirstDefined(this.props.minRows, this.getStateOrProp("pageSize"));
25674
25673
  }, "getMinRows")
25675
25674
  // User actions
25676
25675
  }, {
@@ -25712,11 +25711,11 @@ var __async = (__this, __arguments, generator) => {
25712
25711
  return;
25713
25712
  }
25714
25713
  var onSortedChange = this.props.onSortedChange;
25715
- var newSorted = _$1.clone(sorted || []).map(function(d2) {
25716
- d2.desc = _$1.isSortingDesc(d2);
25714
+ var newSorted = _.clone(sorted || []).map(function(d2) {
25715
+ d2.desc = _.isSortingDesc(d2);
25717
25716
  return d2;
25718
25717
  });
25719
- if (!_$1.isArray(column)) {
25718
+ if (!_.isArray(column)) {
25720
25719
  var existingIndex = newSorted.findIndex(function(d2) {
25721
25720
  return d2.id === column.id;
25722
25721
  });
@@ -26351,8 +26350,8 @@ var __async = (__this, __arguments, generator) => {
26351
26350
  children
26352
26351
  );
26353
26352
  }, "TableComponent"),
26354
- TheadComponent: _$1.makeTemplateComponent("rt-thead", "Thead"),
26355
- TbodyComponent: _$1.makeTemplateComponent("rt-tbody", "Tbody"),
26353
+ TheadComponent: _.makeTemplateComponent("rt-thead", "Thead"),
26354
+ TbodyComponent: _.makeTemplateComponent("rt-tbody", "Tbody"),
26356
26355
  TrGroupComponent: /* @__PURE__ */ __name(function TrGroupComponent(_ref2) {
26357
26356
  var children = _ref2.children, className = _ref2.className, rest = _objectWithoutProperties$7(_ref2, ["children", "className"]);
26358
26357
  return React$3.createElement(
@@ -26397,7 +26396,7 @@ var __async = (__this, __arguments, generator) => {
26397
26396
  children
26398
26397
  );
26399
26398
  }, "TdComponent"),
26400
- TfootComponent: _$1.makeTemplateComponent("rt-tfoot", "Tfoot"),
26399
+ TfootComponent: _.makeTemplateComponent("rt-tfoot", "Tfoot"),
26401
26400
  FilterComponent: /* @__PURE__ */ __name(function FilterComponent(_ref6) {
26402
26401
  var filter = _ref6.filter, _onChange = _ref6.onChange, column = _ref6.column;
26403
26402
  return React$3.createElement("input", {
@@ -26469,8 +26468,8 @@ var __async = (__this, __arguments, generator) => {
26469
26468
  )
26470
26469
  );
26471
26470
  }, "LoadingComponent"),
26472
- NoDataComponent: _$1.makeTemplateComponent("rt-noData", "NoData"),
26473
- ResizerComponent: _$1.makeTemplateComponent("rt-resizer", "Resizer"),
26471
+ NoDataComponent: _.makeTemplateComponent("rt-noData", "NoData"),
26472
+ ResizerComponent: _.makeTemplateComponent("rt-resizer", "Resizer"),
26474
26473
  PadRowComponent: /* @__PURE__ */ __name(function PadRowComponent() {
26475
26474
  return React$3.createElement(
26476
26475
  "span",
@@ -26769,7 +26768,7 @@ var __async = (__this, __arguments, generator) => {
26769
26768
  var endRow = startRow + pageSize;
26770
26769
  var pageRows = manual ? resolvedData : sortedData.slice(startRow, endRow);
26771
26770
  var minRows = this.getMinRows();
26772
- var padRows = _$1.range(Math.max(minRows - pageRows.length, 0));
26771
+ var padRows = _.range(Math.max(minRows - pageRows.length, 0));
26773
26772
  var hasColumnFooter = allVisibleColumns.some(function(d2) {
26774
26773
  return d2.Footer;
26775
26774
  });
@@ -26785,7 +26784,7 @@ var __async = (__this, __arguments, generator) => {
26785
26784
  _viewIndex: index2
26786
26785
  });
26787
26786
  var newPath = path2.concat([i2]);
26788
- if (rowWithViewIndex[subRowsKey] && _$1.get(expanded, newPath)) {
26787
+ if (rowWithViewIndex[subRowsKey] && _.get(expanded, newPath)) {
26789
26788
  var _recurseRowsViewIndex = recurseRowsViewIndex2(rowWithViewIndex[subRowsKey], newPath, index2);
26790
26789
  var _recurseRowsViewIndex2 = _slicedToArray$4(_recurseRowsViewIndex, 2);
26791
26790
  rowWithViewIndex[subRowsKey] = _recurseRowsViewIndex2[0];
@@ -26799,11 +26798,11 @@ var __async = (__this, __arguments, generator) => {
26799
26798
  pageRows = _recurseRowsViewIndex4[0];
26800
26799
  var canPrevious = page > 0;
26801
26800
  var canNext = page + 1 < pages;
26802
- var rowMinWidth = _$1.sum(allVisibleColumns.map(function(d2) {
26801
+ var rowMinWidth = _.sum(allVisibleColumns.map(function(d2) {
26803
26802
  var resizedColumn = resized.find(function(x2) {
26804
26803
  return x2.id === d2.id;
26805
26804
  }) || {};
26806
- return _$1.getFirstDefined(resizedColumn.value, d2.width, d2.minWidth);
26805
+ return _.getFirstDefined(resizedColumn.value, d2.width, d2.minWidth);
26807
26806
  }));
26808
26807
  var rowIndex = -1;
26809
26808
  var finalState = _extends$l({}, resolvedState, {
@@ -26817,9 +26816,9 @@ var __async = (__this, __arguments, generator) => {
26817
26816
  canNext,
26818
26817
  rowMinWidth
26819
26818
  });
26820
- var rootProps = _$1.splitProps(getProps(finalState, void 0, void 0, this));
26821
- var tableProps = _$1.splitProps(getTableProps(finalState, void 0, void 0, this));
26822
- 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));
26823
26822
  var loadingProps = getLoadingProps(finalState, void 0, void 0, this);
26824
26823
  var noDataProps = getNoDataProps(finalState, void 0, void 0, this);
26825
26824
  var makeHeaderGroup = /* @__PURE__ */ __name(function makeHeaderGroup2(column, i2) {
@@ -26828,24 +26827,24 @@ var __async = (__this, __arguments, generator) => {
26828
26827
  return x2.id === col.id;
26829
26828
  }) || {}).value;
26830
26829
  }, "resizedValue");
26831
- var flex = _$1.sum(column.columns.map(function(col) {
26830
+ var flex = _.sum(column.columns.map(function(col) {
26832
26831
  return col.width || resizedValue(col) ? 0 : col.minWidth;
26833
26832
  }));
26834
- var width = _$1.sum(column.columns.map(function(col) {
26835
- 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);
26836
26835
  }));
26837
- var maxWidth = _$1.sum(column.columns.map(function(col) {
26838
- 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);
26839
26838
  }));
26840
- var theadGroupThProps = _$1.splitProps(getTheadGroupThProps(finalState, void 0, column, _this2));
26841
- 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));
26842
26841
  var classes = [column.headerClassName, theadGroupThProps.className, columnHeaderProps.className];
26843
26842
  var styles2 = _extends$l({}, column.headerStyle, theadGroupThProps.style, columnHeaderProps.style);
26844
26843
  var rest = _extends$l({}, theadGroupThProps.rest, columnHeaderProps.rest);
26845
26844
  var flexStyles = {
26846
26845
  flex: flex + " 0 auto",
26847
- width: _$1.asPx(width),
26848
- maxWidth: _$1.asPx(maxWidth)
26846
+ width: _.asPx(width),
26847
+ maxWidth: _.asPx(maxWidth)
26849
26848
  };
26850
26849
  return React$3.createElement(
26851
26850
  ThComponent,
@@ -26854,15 +26853,15 @@ var __async = (__this, __arguments, generator) => {
26854
26853
  className: classNames(classes),
26855
26854
  style: _extends$l({}, styles2, flexStyles)
26856
26855
  }, rest),
26857
- _$1.normalizeComponent(column.Header, {
26856
+ _.normalizeComponent(column.Header, {
26858
26857
  data: sortedData,
26859
26858
  column
26860
26859
  })
26861
26860
  );
26862
26861
  }, "makeHeaderGroup");
26863
26862
  var makeHeaderGroups = /* @__PURE__ */ __name(function makeHeaderGroups2() {
26864
- var theadGroupProps = _$1.splitProps(getTheadGroupProps(finalState, void 0, void 0, _this2));
26865
- 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));
26866
26865
  return React$3.createElement(
26867
26866
  TheadComponent,
26868
26867
  _extends$l({
@@ -26889,14 +26888,14 @@ var __async = (__this, __arguments, generator) => {
26889
26888
  return d2.id === column.id;
26890
26889
  });
26891
26890
  var show = typeof column.show === "function" ? column.show() : column.show;
26892
- var width = _$1.getFirstDefined(resizedCol.value, column.width, column.minWidth);
26893
- var maxWidth = _$1.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
26894
- var theadThProps = _$1.splitProps(getTheadThProps(finalState, void 0, column, _this2));
26895
- 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));
26896
26895
  var classes = [column.headerClassName, theadThProps.className, columnHeaderProps.className];
26897
26896
  var styles2 = _extends$l({}, column.headerStyle, theadThProps.style, columnHeaderProps.style);
26898
26897
  var rest = _extends$l({}, theadThProps.rest, columnHeaderProps.rest);
26899
- var isResizable = _$1.getFirstDefined(column.resizable, resizable, false);
26898
+ var isResizable = _.getFirstDefined(column.resizable, resizable, false);
26900
26899
  var resizer = isResizable ? React$3.createElement(ResizerComponent, _extends$l({
26901
26900
  onMouseDown: /* @__PURE__ */ __name(function onMouseDown(e2) {
26902
26901
  return _this2.resizeColumnStart(e2, column, false);
@@ -26905,7 +26904,7 @@ var __async = (__this, __arguments, generator) => {
26905
26904
  return _this2.resizeColumnStart(e2, column, true);
26906
26905
  }, "onTouchStart")
26907
26906
  }, getResizerProps("finalState", void 0, column, _this2))) : null;
26908
- var isSortable = _$1.getFirstDefined(column.sortable, sortable, false);
26907
+ var isSortable = _.getFirstDefined(column.sortable, sortable, false);
26909
26908
  return React$3.createElement(
26910
26909
  ThComponent,
26911
26910
  _extends$l({
@@ -26913,8 +26912,8 @@ var __async = (__this, __arguments, generator) => {
26913
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"),
26914
26913
  style: _extends$l({}, styles2, {
26915
26914
  flex: width + " 0 auto",
26916
- width: _$1.asPx(width),
26917
- maxWidth: _$1.asPx(maxWidth)
26915
+ width: _.asPx(width),
26916
+ maxWidth: _.asPx(maxWidth)
26918
26917
  }),
26919
26918
  toggleSort: /* @__PURE__ */ __name(function toggleSort(e2) {
26920
26919
  if (isSortable)
@@ -26924,7 +26923,7 @@ var __async = (__this, __arguments, generator) => {
26924
26923
  React$3.createElement(
26925
26924
  "div",
26926
26925
  { className: classNames(isResizable && "rt-resizable-header-content") },
26927
- _$1.normalizeComponent(column.Header, {
26926
+ _.normalizeComponent(column.Header, {
26928
26927
  data: sortedData,
26929
26928
  column
26930
26929
  })
@@ -26933,8 +26932,8 @@ var __async = (__this, __arguments, generator) => {
26933
26932
  );
26934
26933
  }, "makeHeader");
26935
26934
  var makeHeaders = /* @__PURE__ */ __name(function makeHeaders2() {
26936
- var theadProps = _$1.splitProps(getTheadProps(finalState, void 0, void 0, _this2));
26937
- 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));
26938
26937
  return React$3.createElement(
26939
26938
  TheadComponent,
26940
26939
  _extends$l({
@@ -26957,10 +26956,10 @@ var __async = (__this, __arguments, generator) => {
26957
26956
  var resizedCol = resized.find(function(x2) {
26958
26957
  return x2.id === column.id;
26959
26958
  }) || {};
26960
- var width = _$1.getFirstDefined(resizedCol.value, column.width, column.minWidth);
26961
- var maxWidth = _$1.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
26962
- var theadFilterThProps = _$1.splitProps(getTheadFilterThProps(finalState, void 0, column, _this2));
26963
- 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));
26964
26963
  var classes = [column.headerClassName, theadFilterThProps.className, columnHeaderProps.className];
26965
26964
  var styles2 = _extends$l({}, column.headerStyle, theadFilterThProps.style, columnHeaderProps.style);
26966
26965
  var rest = _extends$l({}, theadFilterThProps.rest, columnHeaderProps.rest);
@@ -26968,7 +26967,7 @@ var __async = (__this, __arguments, generator) => {
26968
26967
  return filter2.id === column.id;
26969
26968
  });
26970
26969
  var ResolvedFilterComponent = column.Filter || FilterComponent;
26971
- var isFilterable = _$1.getFirstDefined(column.filterable, filterable, false);
26970
+ var isFilterable = _.getFirstDefined(column.filterable, filterable, false);
26972
26971
  return React$3.createElement(
26973
26972
  ThComponent,
26974
26973
  _extends$l({
@@ -26976,11 +26975,11 @@ var __async = (__this, __arguments, generator) => {
26976
26975
  className: classNames(classes),
26977
26976
  style: _extends$l({}, styles2, {
26978
26977
  flex: width + " 0 auto",
26979
- width: _$1.asPx(width),
26980
- maxWidth: _$1.asPx(maxWidth)
26978
+ width: _.asPx(width),
26979
+ maxWidth: _.asPx(maxWidth)
26981
26980
  })
26982
26981
  }, rest),
26983
- isFilterable ? _$1.normalizeComponent(ResolvedFilterComponent, {
26982
+ isFilterable ? _.normalizeComponent(ResolvedFilterComponent, {
26984
26983
  column,
26985
26984
  filter,
26986
26985
  onChange: /* @__PURE__ */ __name(function onChange(value) {
@@ -26990,8 +26989,8 @@ var __async = (__this, __arguments, generator) => {
26990
26989
  );
26991
26990
  }, "makeFilter");
26992
26991
  var makeFilters = /* @__PURE__ */ __name(function makeFilters2() {
26993
- var theadFilterProps = _$1.splitProps(getTheadFilterProps(finalState, void 0, void 0, _this2));
26994
- 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));
26995
26994
  return React$3.createElement(
26996
26995
  TheadComponent,
26997
26996
  _extends$l({
@@ -27025,9 +27024,9 @@ var __async = (__this, __arguments, generator) => {
27025
27024
  groupedByPivot: row[groupedByPivotKey],
27026
27025
  subRows: row[subRowsKey]
27027
27026
  };
27028
- var isExpanded = _$1.get(expanded, rowInfo.nestingPath);
27027
+ var isExpanded = _.get(expanded, rowInfo.nestingPath);
27029
27028
  var trGroupProps = getTrGroupProps(finalState, rowInfo, void 0, _this2);
27030
- var trProps = _$1.splitProps(getTrProps(finalState, rowInfo, void 0, _this2));
27029
+ var trProps = _.splitProps(getTrProps(finalState, rowInfo, void 0, _this2));
27031
27030
  return React$3.createElement(
27032
27031
  TrGroupComponent,
27033
27032
  _extends$l({ key: rowInfo.nestingPath.join("_") }, trGroupProps),
@@ -27042,10 +27041,10 @@ var __async = (__this, __arguments, generator) => {
27042
27041
  return x2.id === column.id;
27043
27042
  }) || {};
27044
27043
  var show = typeof column.show === "function" ? column.show() : column.show;
27045
- var width = _$1.getFirstDefined(resizedCol.value, column.width, column.minWidth);
27046
- var maxWidth = _$1.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
27047
- var tdProps = _$1.splitProps(getTdProps(finalState, rowInfo, column, _this2));
27048
- 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));
27049
27048
  var classes = [tdProps.className, column.className, columnProps.className];
27050
27049
  var styles2 = _extends$l({}, tdProps.style, column.style, columnProps.style);
27051
27050
  var cellInfo = _extends$l({}, rowInfo, {
@@ -27068,11 +27067,11 @@ var __async = (__this, __arguments, generator) => {
27068
27067
  var isBranch = void 0;
27069
27068
  var isPreview = void 0;
27070
27069
  var onExpanderClick = /* @__PURE__ */ __name(function onExpanderClick2(e2) {
27071
- var newExpanded = _$1.clone(expanded);
27070
+ var newExpanded = _.clone(expanded);
27072
27071
  if (isExpanded) {
27073
- newExpanded = _$1.set(newExpanded, cellInfo.nestingPath, false);
27072
+ newExpanded = _.set(newExpanded, cellInfo.nestingPath, false);
27074
27073
  } else {
27075
- newExpanded = _$1.set(newExpanded, cellInfo.nestingPath, {});
27074
+ newExpanded = _.set(newExpanded, cellInfo.nestingPath, {});
27076
27075
  }
27077
27076
  return _this2.setStateWithData({
27078
27077
  expanded: newExpanded
@@ -27080,7 +27079,7 @@ var __async = (__this, __arguments, generator) => {
27080
27079
  return onExpandedChange && onExpandedChange(newExpanded, cellInfo.nestingPath, e2, cellInfo);
27081
27080
  });
27082
27081
  }, "onExpanderClick");
27083
- var resolvedCell = _$1.normalizeComponent(column.Cell, cellInfo, value);
27082
+ var resolvedCell = _.normalizeComponent(column.Cell, cellInfo, value);
27084
27083
  var ResolvedAggregatedComponent = column.Aggregated || (!column.aggregate ? AggregatedComponent : column.Cell);
27085
27084
  var ResolvedExpanderComponent = column.Expander || ExpanderComponent;
27086
27085
  var ResolvedPivotValueComponent = column.PivotValue || PivotValueComponent;
@@ -27104,19 +27103,19 @@ var __async = (__this, __arguments, generator) => {
27104
27103
  isBranch = rowInfo.row[pivotIDKey] === column.id && cellInfo.subRows;
27105
27104
  isPreview = pivotBy.indexOf(column.id) > pivotBy.indexOf(rowInfo.row[pivotIDKey]) && cellInfo.subRows;
27106
27105
  if (isBranch) {
27107
- resolvedCell = _$1.normalizeComponent(ResolvedPivotComponent, _extends$l({}, cellInfo, {
27106
+ resolvedCell = _.normalizeComponent(ResolvedPivotComponent, _extends$l({}, cellInfo, {
27108
27107
  value: row[pivotValKey]
27109
27108
  }), row[pivotValKey]);
27110
27109
  } else if (isPreview) {
27111
- resolvedCell = _$1.normalizeComponent(ResolvedAggregatedComponent, cellInfo, value);
27110
+ resolvedCell = _.normalizeComponent(ResolvedAggregatedComponent, cellInfo, value);
27112
27111
  } else {
27113
27112
  resolvedCell = null;
27114
27113
  }
27115
27114
  } else if (cellInfo.aggregated) {
27116
- resolvedCell = _$1.normalizeComponent(ResolvedAggregatedComponent, cellInfo, value);
27115
+ resolvedCell = _.normalizeComponent(ResolvedAggregatedComponent, cellInfo, value);
27117
27116
  }
27118
27117
  if (cellInfo.expander) {
27119
- resolvedCell = _$1.normalizeComponent(ResolvedExpanderComponent, cellInfo, row[pivotValKey]);
27118
+ resolvedCell = _.normalizeComponent(ResolvedExpanderComponent, cellInfo, row[pivotValKey]);
27120
27119
  if (pivotBy) {
27121
27120
  if (cellInfo.groupedByPivot) {
27122
27121
  resolvedCell = null;
@@ -27152,8 +27151,8 @@ var __async = (__this, __arguments, generator) => {
27152
27151
  className: classNames(classes, !cellInfo.expandable && !show && "hidden", cellInfo.expandable && "rt-expandable", (isBranch || isPreview) && "rt-pivot"),
27153
27152
  style: _extends$l({}, styles2, {
27154
27153
  flex: width + " 0 auto",
27155
- width: _$1.asPx(width),
27156
- maxWidth: _$1.asPx(maxWidth)
27154
+ width: _.asPx(width),
27155
+ maxWidth: _.asPx(maxWidth)
27157
27156
  })
27158
27157
  }, tdProps.rest, columnProps.rest, interactionProps),
27159
27158
  resolvedCell
@@ -27164,8 +27163,8 @@ var __async = (__this, __arguments, generator) => {
27164
27163
  return makePageRow2(d2, i3, rowInfo.nestingPath);
27165
27164
  }),
27166
27165
  SubComponent && !rowInfo.subRows && isExpanded && SubComponent(rowInfo, function() {
27167
- var newExpanded = _$1.clone(expanded);
27168
- _$1.set(newExpanded, rowInfo.nestingPath, false);
27166
+ var newExpanded = _.clone(expanded);
27167
+ _.set(newExpanded, rowInfo.nestingPath, false);
27169
27168
  })
27170
27169
  );
27171
27170
  }, "makePageRow");
@@ -27174,11 +27173,11 @@ var __async = (__this, __arguments, generator) => {
27174
27173
  return x2.id === column.id;
27175
27174
  }) || {};
27176
27175
  var show = typeof column.show === "function" ? column.show() : column.show;
27177
- var width = _$1.getFirstDefined(resizedCol.value, column.width, column.minWidth);
27176
+ var width = _.getFirstDefined(resizedCol.value, column.width, column.minWidth);
27178
27177
  var flex = width;
27179
- var maxWidth = _$1.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
27180
- var tdProps = _$1.splitProps(getTdProps(finalState, void 0, column, _this2));
27181
- 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));
27182
27181
  var classes = [tdProps.className, column.className, columnProps.className];
27183
27182
  var styles2 = _extends$l({}, tdProps.style, column.style, columnProps.style);
27184
27183
  return React$3.createElement(
@@ -27188,16 +27187,16 @@ var __async = (__this, __arguments, generator) => {
27188
27187
  className: classNames(classes, !show && "hidden"),
27189
27188
  style: _extends$l({}, styles2, {
27190
27189
  flex: flex + " 0 auto",
27191
- width: _$1.asPx(width),
27192
- maxWidth: _$1.asPx(maxWidth)
27190
+ width: _.asPx(width),
27191
+ maxWidth: _.asPx(maxWidth)
27193
27192
  })
27194
27193
  }, tdProps.rest),
27195
- _$1.normalizeComponent(PadRowComponent)
27194
+ _.normalizeComponent(PadRowComponent)
27196
27195
  );
27197
27196
  }, "makePadColumn");
27198
27197
  var makePadRow = /* @__PURE__ */ __name(function makePadRow2(row, i2) {
27199
27198
  var trGroupProps = getTrGroupProps(finalState, void 0, void 0, _this2);
27200
- var trProps = _$1.splitProps(getTrProps(finalState, void 0, void 0, _this2));
27199
+ var trProps = _.splitProps(getTrProps(finalState, void 0, void 0, _this2));
27201
27200
  return React$3.createElement(
27202
27201
  TrGroupComponent,
27203
27202
  _extends$l({ key: "pad-" + i2 }, trGroupProps),
@@ -27216,11 +27215,11 @@ var __async = (__this, __arguments, generator) => {
27216
27215
  return x2.id === column.id;
27217
27216
  }) || {};
27218
27217
  var show = typeof column.show === "function" ? column.show() : column.show;
27219
- var width = _$1.getFirstDefined(resizedCol.value, column.width, column.minWidth);
27220
- var maxWidth = _$1.getFirstDefined(resizedCol.value, column.width, column.maxWidth);
27221
- var tFootTdProps = _$1.splitProps(getTfootTdProps(finalState, void 0, column, _this2));
27222
- var columnProps = _$1.splitProps(column.getProps(finalState, void 0, column, _this2));
27223
- 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));
27224
27223
  var classes = [tFootTdProps.className, column.className, columnProps.className, columnFooterProps.className];
27225
27224
  var styles2 = _extends$l({}, tFootTdProps.style, column.style, columnProps.style, columnFooterProps.style);
27226
27225
  return React$3.createElement(
@@ -27230,19 +27229,19 @@ var __async = (__this, __arguments, generator) => {
27230
27229
  className: classNames(classes, !show && "hidden"),
27231
27230
  style: _extends$l({}, styles2, {
27232
27231
  flex: width + " 0 auto",
27233
- width: _$1.asPx(width),
27234
- maxWidth: _$1.asPx(maxWidth)
27232
+ width: _.asPx(width),
27233
+ maxWidth: _.asPx(maxWidth)
27235
27234
  })
27236
27235
  }, columnProps.rest, tFootTdProps.rest, columnFooterProps.rest),
27237
- _$1.normalizeComponent(column.Footer, {
27236
+ _.normalizeComponent(column.Footer, {
27238
27237
  data: sortedData,
27239
27238
  column
27240
27239
  })
27241
27240
  );
27242
27241
  }, "makeColumnFooter");
27243
27242
  var makeColumnFooters = /* @__PURE__ */ __name(function makeColumnFooters2() {
27244
- var tFootProps = _$1.splitProps(getTfootProps(finalState, void 0, void 0, _this2));
27245
- 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));
27246
27245
  return React$3.createElement(
27247
27246
  TfootComponent,
27248
27247
  _extends$l({
@@ -27262,7 +27261,7 @@ var __async = (__this, __arguments, generator) => {
27262
27261
  );
27263
27262
  }, "makeColumnFooters");
27264
27263
  var makePagination = /* @__PURE__ */ __name(function makePagination2(isTop) {
27265
- var paginationProps = _$1.splitProps(getPaginationProps(finalState, void 0, void 0, _this2));
27264
+ var paginationProps = _.splitProps(getPaginationProps(finalState, void 0, void 0, _this2));
27266
27265
  return React$3.createElement(PaginationComponent, _extends$l({}, resolvedState, {
27267
27266
  pages,
27268
27267
  canPrevious,
@@ -27326,7 +27325,7 @@ var __async = (__this, __arguments, generator) => {
27326
27325
  !pageRows.length && React$3.createElement(
27327
27326
  NoDataComponent,
27328
27327
  noDataProps,
27329
- _$1.normalizeComponent(noDataText)
27328
+ _.normalizeComponent(noDataText)
27330
27329
  ),
27331
27330
  React$3.createElement(LoadingComponent2, _extends$l({ loading, loadingText }, loadingProps))
27332
27331
  );
@@ -28278,7 +28277,7 @@ var __async = (__this, __arguments, generator) => {
28278
28277
  var toStr$5 = Object.prototype.toString;
28279
28278
  var defineProperty$7 = Object.defineProperty;
28280
28279
  var gOPD$3 = Object.getOwnPropertyDescriptor;
28281
- var isArray$g = /* @__PURE__ */ __name(function isArray2(arr) {
28280
+ var isArray$f = /* @__PURE__ */ __name(function isArray2(arr) {
28282
28281
  if (typeof Array.isArray === "function") {
28283
28282
  return Array.isArray(arr);
28284
28283
  }
@@ -28341,10 +28340,10 @@ var __async = (__this, __arguments, generator) => {
28341
28340
  src2 = getProperty(target, name2);
28342
28341
  copy2 = getProperty(options, name2);
28343
28342
  if (target !== copy2) {
28344
- if (deep && copy2 && (isPlainObject$4(copy2) || (copyIsArray = isArray$g(copy2)))) {
28343
+ if (deep && copy2 && (isPlainObject$4(copy2) || (copyIsArray = isArray$f(copy2)))) {
28345
28344
  if (copyIsArray) {
28346
28345
  copyIsArray = false;
28347
- clone2 = src2 && isArray$g(src2) ? src2 : [];
28346
+ clone2 = src2 && isArray$f(src2) ? src2 : [];
28348
28347
  } else {
28349
28348
  clone2 = src2 && isPlainObject$4(src2) ? src2 : {};
28350
28349
  }
@@ -36357,7 +36356,7 @@ var __async = (__this, __arguments, generator) => {
36357
36356
  if (hasRequiredReactIs_development)
36358
36357
  return reactIs_development;
36359
36358
  hasRequiredReactIs_development = 1;
36360
- if (process.env.NODE_ENV !== "production") {
36359
+ if (production !== "production") {
36361
36360
  (function() {
36362
36361
  var REACT_ELEMENT_TYPE = Symbol.for("react.element");
36363
36362
  var REACT_PORTAL_TYPE = Symbol.for("react.portal");
@@ -36550,7 +36549,7 @@ var __async = (__this, __arguments, generator) => {
36550
36549
  return reactIs_development;
36551
36550
  }
36552
36551
  __name(requireReactIs_development, "requireReactIs_development");
36553
- if (process.env.NODE_ENV === "production") {
36552
+ if (production === "production") {
36554
36553
  reactIs.exports = requireReactIs_production_min();
36555
36554
  } else {
36556
36555
  reactIs.exports = requireReactIs_development();
@@ -42474,11 +42473,11 @@ var __async = (__this, __arguments, generator) => {
42474
42473
  }
42475
42474
  bound = Function("binder", "return function (" + boundArgs.join(",") + "){ return binder.apply(this,arguments); }")(binder);
42476
42475
  if (target.prototype) {
42477
- var Empty = /* @__PURE__ */ __name(function Empty2() {
42476
+ var Empty2 = /* @__PURE__ */ __name(function Empty3() {
42478
42477
  }, "Empty");
42479
- Empty.prototype = target.prototype;
42480
- bound.prototype = new Empty();
42481
- Empty.prototype = null;
42478
+ Empty2.prototype = target.prototype;
42479
+ bound.prototype = new Empty2();
42480
+ Empty2.prototype = null;
42482
42481
  }
42483
42482
  return bound;
42484
42483
  }, "bind");
@@ -42944,7 +42943,7 @@ var __async = (__this, __arguments, generator) => {
42944
42943
  depth = 0;
42945
42944
  }
42946
42945
  if (depth >= maxDepth && maxDepth > 0 && typeof obj === "object") {
42947
- return isArray$f(obj) ? "[Array]" : "[Object]";
42946
+ return isArray$e(obj) ? "[Array]" : "[Object]";
42948
42947
  }
42949
42948
  var indent2 = getIndent(opts2, depth);
42950
42949
  if (typeof seen === "undefined") {
@@ -42991,7 +42990,7 @@ var __async = (__this, __arguments, generator) => {
42991
42990
  s2 += "</" + $toLowerCase.call(String(obj.nodeName)) + ">";
42992
42991
  return s2;
42993
42992
  }
42994
- if (isArray$f(obj)) {
42993
+ if (isArray$e(obj)) {
42995
42994
  if (obj.length === 0) {
42996
42995
  return "[]";
42997
42996
  }
@@ -43054,7 +43053,7 @@ var __async = (__this, __arguments, generator) => {
43054
43053
  if (isBoolean$2(obj)) {
43055
43054
  return markBoxed(booleanValueOf.call(obj));
43056
43055
  }
43057
- if (isString$3(obj)) {
43056
+ if (isString$2(obj)) {
43058
43057
  return markBoxed(inspect2(String(obj)));
43059
43058
  }
43060
43059
  if (!isDate$1(obj) && !isRegExp$1(obj)) {
@@ -43083,10 +43082,10 @@ var __async = (__this, __arguments, generator) => {
43083
43082
  return $replace.call(String(s2), /"/g, "&quot;");
43084
43083
  }
43085
43084
  __name(quote, "quote");
43086
- function isArray$f(obj) {
43085
+ function isArray$e(obj) {
43087
43086
  return toStr$3(obj) === "[object Array]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
43088
43087
  }
43089
- __name(isArray$f, "isArray$f");
43088
+ __name(isArray$e, "isArray$e");
43090
43089
  function isDate$1(obj) {
43091
43090
  return toStr$3(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
43092
43091
  }
@@ -43099,10 +43098,10 @@ var __async = (__this, __arguments, generator) => {
43099
43098
  return toStr$3(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
43100
43099
  }
43101
43100
  __name(isError, "isError");
43102
- function isString$3(obj) {
43101
+ function isString$2(obj) {
43103
43102
  return toStr$3(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
43104
43103
  }
43105
- __name(isString$3, "isString$3");
43104
+ __name(isString$2, "isString$2");
43106
43105
  function isNumber$5(obj) {
43107
43106
  return toStr$3(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
43108
43107
  }
@@ -43336,7 +43335,7 @@ var __async = (__this, __arguments, generator) => {
43336
43335
  }
43337
43336
  __name(indentedJoin, "indentedJoin");
43338
43337
  function arrObjKeys(obj, inspect2) {
43339
- var isArr = isArray$f(obj);
43338
+ var isArr = isArray$e(obj);
43340
43339
  var xs = [];
43341
43340
  if (isArr) {
43342
43341
  xs.length = obj.length;
@@ -43502,7 +43501,7 @@ var __async = (__this, __arguments, generator) => {
43502
43501
  };
43503
43502
  var formats$2 = formats$3;
43504
43503
  var has$6 = Object.prototype.hasOwnProperty;
43505
- var isArray$e = Array.isArray;
43504
+ var isArray$d = Array.isArray;
43506
43505
  var hexTable = function() {
43507
43506
  var array = [];
43508
43507
  for (var i2 = 0; i2 < 256; ++i2) {
@@ -43514,7 +43513,7 @@ var __async = (__this, __arguments, generator) => {
43514
43513
  while (queue.length > 1) {
43515
43514
  var item = queue.pop();
43516
43515
  var obj = item.obj[item.prop];
43517
- if (isArray$e(obj)) {
43516
+ if (isArray$d(obj)) {
43518
43517
  var compacted = [];
43519
43518
  for (var j2 = 0; j2 < obj.length; ++j2) {
43520
43519
  if (typeof obj[j2] !== "undefined") {
@@ -43539,7 +43538,7 @@ var __async = (__this, __arguments, generator) => {
43539
43538
  return target;
43540
43539
  }
43541
43540
  if (typeof source2 !== "object") {
43542
- if (isArray$e(target)) {
43541
+ if (isArray$d(target)) {
43543
43542
  target.push(source2);
43544
43543
  } else if (target && typeof target === "object") {
43545
43544
  if (options && (options.plainObjects || options.allowPrototypes) || !has$6.call(Object.prototype, source2)) {
@@ -43554,10 +43553,10 @@ var __async = (__this, __arguments, generator) => {
43554
43553
  return [target].concat(source2);
43555
43554
  }
43556
43555
  var mergeTarget = target;
43557
- if (isArray$e(target) && !isArray$e(source2)) {
43556
+ if (isArray$d(target) && !isArray$d(source2)) {
43558
43557
  mergeTarget = arrayToObject(target, options);
43559
43558
  }
43560
- if (isArray$e(target) && isArray$e(source2)) {
43559
+ if (isArray$d(target) && isArray$d(source2)) {
43561
43560
  source2.forEach(function(item, i2) {
43562
43561
  if (has$6.call(target, i2)) {
43563
43562
  var targetItem = target[i2];
@@ -43671,7 +43670,7 @@ var __async = (__this, __arguments, generator) => {
43671
43670
  return [].concat(a2, b3);
43672
43671
  }, "combine");
43673
43672
  var maybeMap = /* @__PURE__ */ __name(function maybeMap2(val2, fn2) {
43674
- if (isArray$e(val2)) {
43673
+ if (isArray$d(val2)) {
43675
43674
  var mapped = [];
43676
43675
  for (var i2 = 0; i2 < val2.length; i2 += 1) {
43677
43676
  mapped.push(fn2(val2[i2]));
@@ -43708,10 +43707,10 @@ var __async = (__this, __arguments, generator) => {
43708
43707
  return prefix2;
43709
43708
  }, "repeat")
43710
43709
  };
43711
- var isArray$d = Array.isArray;
43710
+ var isArray$c = Array.isArray;
43712
43711
  var push = Array.prototype.push;
43713
43712
  var pushToArray = /* @__PURE__ */ __name(function(arr, valueOrArray) {
43714
- push.apply(arr, isArray$d(valueOrArray) ? valueOrArray : [valueOrArray]);
43713
+ push.apply(arr, isArray$c(valueOrArray) ? valueOrArray : [valueOrArray]);
43715
43714
  }, "pushToArray");
43716
43715
  var toISO = Date.prototype.toISOString;
43717
43716
  var defaultFormat = formats$1["default"];
@@ -43761,7 +43760,7 @@ var __async = (__this, __arguments, generator) => {
43761
43760
  obj = filter(prefix2, obj);
43762
43761
  } else if (obj instanceof Date) {
43763
43762
  obj = serializeDate(obj);
43764
- } else if (generateArrayPrefix === "comma" && isArray$d(obj)) {
43763
+ } else if (generateArrayPrefix === "comma" && isArray$c(obj)) {
43765
43764
  obj = utils$5.maybeMap(obj, function(value2) {
43766
43765
  if (value2 instanceof Date) {
43767
43766
  return serializeDate(value2);
@@ -43787,25 +43786,25 @@ var __async = (__this, __arguments, generator) => {
43787
43786
  return values;
43788
43787
  }
43789
43788
  var objKeys;
43790
- if (generateArrayPrefix === "comma" && isArray$d(obj)) {
43789
+ if (generateArrayPrefix === "comma" && isArray$c(obj)) {
43791
43790
  if (encodeValuesOnly && encoder) {
43792
43791
  obj = utils$5.maybeMap(obj, encoder);
43793
43792
  }
43794
43793
  objKeys = [{ value: obj.length > 0 ? obj.join(",") || null : void 0 }];
43795
- } else if (isArray$d(filter)) {
43794
+ } else if (isArray$c(filter)) {
43796
43795
  objKeys = filter;
43797
43796
  } else {
43798
43797
  var keys2 = Object.keys(obj);
43799
43798
  objKeys = sort ? keys2.sort(sort) : keys2;
43800
43799
  }
43801
- var adjustedPrefix = commaRoundTrip && isArray$d(obj) && obj.length === 1 ? prefix2 + "[]" : prefix2;
43800
+ var adjustedPrefix = commaRoundTrip && isArray$c(obj) && obj.length === 1 ? prefix2 + "[]" : prefix2;
43802
43801
  for (var j2 = 0; j2 < objKeys.length; ++j2) {
43803
43802
  var key2 = objKeys[j2];
43804
43803
  var value = typeof key2 === "object" && typeof key2.value !== "undefined" ? key2.value : obj[key2];
43805
43804
  if (skipNulls && value === null) {
43806
43805
  continue;
43807
43806
  }
43808
- 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 + "]");
43809
43808
  sideChannel2.set(object2, step2);
43810
43809
  var valueSideChannel = getSideChannel();
43811
43810
  valueSideChannel.set(sentinel, sideChannel2);
@@ -43816,7 +43815,7 @@ var __async = (__this, __arguments, generator) => {
43816
43815
  commaRoundTrip,
43817
43816
  strictNullHandling,
43818
43817
  skipNulls,
43819
- generateArrayPrefix === "comma" && encodeValuesOnly && isArray$d(obj) ? null : encoder,
43818
+ generateArrayPrefix === "comma" && encodeValuesOnly && isArray$c(obj) ? null : encoder,
43820
43819
  filter,
43821
43820
  sort,
43822
43821
  allowDots,
@@ -43850,7 +43849,7 @@ var __async = (__this, __arguments, generator) => {
43850
43849
  }
43851
43850
  var formatter = formats$1.formatters[format2];
43852
43851
  var filter = defaults$2.filter;
43853
- if (typeof opts2.filter === "function" || isArray$d(opts2.filter)) {
43852
+ if (typeof opts2.filter === "function" || isArray$c(opts2.filter)) {
43854
43853
  filter = opts2.filter;
43855
43854
  }
43856
43855
  return {
@@ -43879,7 +43878,7 @@ var __async = (__this, __arguments, generator) => {
43879
43878
  if (typeof options.filter === "function") {
43880
43879
  filter = options.filter;
43881
43880
  obj = filter("", obj);
43882
- } else if (isArray$d(options.filter)) {
43881
+ } else if (isArray$c(options.filter)) {
43883
43882
  filter = options.filter;
43884
43883
  objKeys = filter;
43885
43884
  }
@@ -43944,7 +43943,7 @@ var __async = (__this, __arguments, generator) => {
43944
43943
  }, "stringify_1");
43945
43944
  var utils$4 = utils$6;
43946
43945
  var has$4 = Object.prototype.hasOwnProperty;
43947
- var isArray$c = Array.isArray;
43946
+ var isArray$b = Array.isArray;
43948
43947
  var defaults$1 = {
43949
43948
  allowDots: false,
43950
43949
  allowPrototypes: false,
@@ -44021,7 +44020,7 @@ var __async = (__this, __arguments, generator) => {
44021
44020
  val2 = interpretNumericEntities(val2);
44022
44021
  }
44023
44022
  if (part.indexOf("[]=") > -1) {
44024
- val2 = isArray$c(val2) ? [val2] : val2;
44023
+ val2 = isArray$b(val2) ? [val2] : val2;
44025
44024
  }
44026
44025
  if (has$4.call(obj, key2)) {
44027
44026
  obj[key2] = utils$4.combine(obj[key2], val2);
@@ -44146,434 +44145,6 @@ var __async = (__this, __arguments, generator) => {
44146
44145
  stringify
44147
44146
  };
44148
44147
  const queryString = /* @__PURE__ */ getDefaultExportFromCjs(lib$8);
44149
- var filterExpression = function() {
44150
- function FilterExpression2(opName, args) {
44151
- this.name = opName;
44152
- this.args = args;
44153
- }
44154
- __name(FilterExpression2, "FilterExpression");
44155
- FilterExpression2.prototype.toFilter = function(filterBuilder, argName) {
44156
- var filterDef = {
44157
- type: "expression",
44158
- operator: this.name,
44159
- field: argName,
44160
- args: this.args
44161
- };
44162
- return filterDef;
44163
- };
44164
- return FilterExpression2;
44165
- }();
44166
- var combineQueries$1 = /* @__PURE__ */ __name(function combineQueries2(qry1, qry2, joinOperator, opts2) {
44167
- if (qry1.__objectType !== "query")
44168
- throw new Error("First query is not a query type.");
44169
- if (qry2.__objectType !== "query")
44170
- throw new Error("Second query is not a query type.");
44171
- if (qry1.entity != qry2.entity)
44172
- throw new Error(
44173
- "Queries are for different entities " + qry1.entity + " and " + qry2.entity
44174
- );
44175
- if (joinOperator !== "or")
44176
- joinOperator = "and";
44177
- var combinedFilters = {
44178
- type: "group",
44179
- operator: joinOperator,
44180
- filters: []
44181
- };
44182
- combinedFilters.filters = qry1.filters.concat(qry2.filters);
44183
- qry1.filters = [combinedFilters];
44184
- return qry1;
44185
- }, "combineQueries");
44186
- const FilterExpression = filterExpression;
44187
- const _ = lodashExports;
44188
- const combineQueries = combineQueries$1;
44189
- function isDateOrNumber(opName) {
44190
- return () => {
44191
- var args = [].slice.call(arguments);
44192
- if (args.some((arg) => {
44193
- return !(_.isDate(arg) || _.isString(arg) || _.isNumber(arg));
44194
- })) {
44195
- throw new Error(
44196
- `QueryBuilderError: You must pass a date or number as args to ${opName}. You passed: Args ${args.join(
44197
- ","
44198
- )}`
44199
- );
44200
- }
44201
- };
44202
- }
44203
- __name(isDateOrNumber, "isDateOrNumber");
44204
- function isArray$b(opName) {
44205
- return (arg) => {
44206
- if (!_.isArray(arg)) {
44207
- throw new Error(
44208
- `QueryBuilderError: You must pass an array for ${opName} filters. You passed: ${arg}`
44209
- );
44210
- }
44211
- };
44212
- }
44213
- __name(isArray$b, "isArray$b");
44214
- function isString$2(opName) {
44215
- return (arg) => {
44216
- if (!_.isString(arg)) {
44217
- throw new Error(
44218
- `QueryBuilderError: You must pass a string for ${opName} filters. You passed: ${arg}`
44219
- );
44220
- }
44221
- };
44222
- }
44223
- __name(isString$2, "isString$2");
44224
- function numberOfArgs(opName, argLength) {
44225
- return (...args) => {
44226
- if (args.length !== argLength) {
44227
- throw new Error(
44228
- `QueryBuilderError: Args for ${opName} are of length ${args.length}, but they should be of length ${argLength}`
44229
- );
44230
- }
44231
- };
44232
- }
44233
- __name(numberOfArgs, "numberOfArgs");
44234
- const expressionOperators = [
44235
- {
44236
- opName: "greaterThan",
44237
- sanityChecks: [
44238
- numberOfArgs("greaterThan", 1),
44239
- isDateOrNumber("greaterThan")
44240
- ]
44241
- },
44242
- {
44243
- opName: "inList",
44244
- sanityChecks: [numberOfArgs("inList", 1), isArray$b("inList")]
44245
- },
44246
- {
44247
- opName: "lessThan",
44248
- sanityChecks: [numberOfArgs("lessThan", 1), isDateOrNumber("lessThan")]
44249
- },
44250
- {
44251
- opName: "lessThanOrEqual",
44252
- sanityChecks: [
44253
- numberOfArgs("lessThanOrEqual", 1),
44254
- isDateOrNumber("lessThanOrEqual")
44255
- ]
44256
- },
44257
- {
44258
- opName: "equals",
44259
- sanityChecks: [numberOfArgs("equals", 1)]
44260
- },
44261
- {
44262
- opName: "greaterThanOrEqual",
44263
- sanityChecks: [
44264
- numberOfArgs("greaterThanOrEqual", 1),
44265
- isDateOrNumber("greaterThanOrEqual")
44266
- ]
44267
- },
44268
- {
44269
- opName: "notEquals",
44270
- sanityChecks: [numberOfArgs("notEquals", 1)]
44271
- },
44272
- {
44273
- opName: "notNull",
44274
- sanityChecks: [numberOfArgs("notNull", 0)]
44275
- },
44276
- {
44277
- opName: "isNull",
44278
- sanityChecks: [numberOfArgs("isNull", 0)]
44279
- },
44280
- {
44281
- opName: "between",
44282
- sanityChecks: [numberOfArgs("between", 2), isDateOrNumber("between")]
44283
- },
44284
- {
44285
- opName: "notInList",
44286
- sanityChecks: [numberOfArgs("notInList", 1), isArray$b("notInList")]
44287
- },
44288
- {
44289
- opName: "startsWithExactly",
44290
- sanityChecks: [numberOfArgs("startsWith", 1), isString$2("startsWith")]
44291
- },
44292
- {
44293
- opName: "endsWithExactly",
44294
- sanityChecks: [numberOfArgs("endsWith", 1), isString$2("endsWith")]
44295
- },
44296
- {
44297
- opName: "containsExactly",
44298
- sanityChecks: [numberOfArgs("contains", 1), isString$2("contains")]
44299
- },
44300
- {
44301
- opName: "startsWith",
44302
- sanityChecks: [numberOfArgs("startsWith", 1), isString$2("startsWith")]
44303
- },
44304
- {
44305
- opName: "notStartsWith",
44306
- sanityChecks: [numberOfArgs("notStartsWith", 1), isString$2("notStartsWith")]
44307
- },
44308
- {
44309
- opName: "endsWith",
44310
- sanityChecks: [numberOfArgs("endsWith", 1), isString$2("endsWith")]
44311
- },
44312
- {
44313
- opName: "notEndsWith",
44314
- sanityChecks: [numberOfArgs("notEndsWith", 1), isString$2("notEndsWith")]
44315
- },
44316
- {
44317
- opName: "contains",
44318
- sanityChecks: [numberOfArgs("contains", 1), isString$2("contains")]
44319
- },
44320
- {
44321
- opName: "notContains",
44322
- sanityChecks: [numberOfArgs("notContains", 1), isString$2("notContains")]
44323
- },
44324
- {
44325
- opName: "upperCase",
44326
- sanityChecks: [numberOfArgs("upperCase", 1), isString$2("upperCase")]
44327
- },
44328
- {
44329
- opName: "lowerCase",
44330
- sanityChecks: [numberOfArgs("lowerCase", 1), isString$2("lowerCase")]
44331
- },
44332
- {
44333
- opName: "matchesRegex",
44334
- sanityChecks: [numberOfArgs("matchesRegex", 1), isString$2("matchesRegex")]
44335
- },
44336
- {
44337
- opName: "matchesSimilar",
44338
- sanityChecks: [
44339
- numberOfArgs("matchesSimilar", 1),
44340
- isString$2("matchesSimilar")
44341
- ]
44342
- },
44343
- {
44344
- opName: "fuzzy",
44345
- sanityChecks: [numberOfArgs("fuzzy", 1), isString$2("fuzzy")],
44346
- transform: (arg) => {
44347
- var matchTerm = "";
44348
- var terms = arg.replace(/\W/g, "").replace(" ", "").split("");
44349
- for (var i2 = 0; i2 < terms.length; i2++) {
44350
- matchTerm += ".*" + terms[i2];
44351
- }
44352
- matchTerm += ".*";
44353
- return {
44354
- newOpName: "matchesRegex",
44355
- newArgs: [matchTerm]
44356
- };
44357
- }
44358
- }
44359
- // 'subString', //tnr: not yet implemented
44360
- // 'dateOnly', //tnr: not yet implemented
44361
- ];
44362
- var queryBuilder = function() {
44363
- function QueryBuilder2(entity) {
44364
- this.query = {};
44365
- if (entity == null)
44366
- throw new Error("You must pass the name of the model being filtered!");
44367
- if (typeof entity === "string") {
44368
- this.query = {
44369
- __objectType: "query",
44370
- type: "root",
44371
- entity,
44372
- filters: []
44373
- };
44374
- } else {
44375
- let subQuery = entity;
44376
- this.query = {
44377
- type: "subquery",
44378
- key: subQuery.key,
44379
- entity: subQuery.entity,
44380
- foreignKey: subQuery.foreignKey,
44381
- modifier: subQuery.modifier,
44382
- isArrayRelation: subQuery.isArrayRelation,
44383
- filters: [],
44384
- countExpression: void 0
44385
- };
44386
- this.parentBuilder = subQuery.parentBuilder;
44387
- this.toFilter = function(filterBuilder, name2) {
44388
- this.query.foreignKey = name2;
44389
- return this.toJSON();
44390
- };
44391
- }
44392
- }
44393
- __name(QueryBuilder2, "QueryBuilder");
44394
- QueryBuilder2.combineQueries = combineQueries;
44395
- QueryBuilder2.prototype.field = function(fieldName) {
44396
- return {
44397
- __objectType: "field",
44398
- field: fieldName
44399
- };
44400
- };
44401
- QueryBuilder2.prototype.related = function(relatedEntity, isArrayRelation) {
44402
- var tokens2 = relatedEntity.split(".");
44403
- var entity = tokens2[0];
44404
- var key2 = tokens2[1];
44405
- return createSubQueryBuilder(this, entity, key2, isArrayRelation);
44406
- };
44407
- QueryBuilder2.prototype.notRelated = function(relatedEntity, isArrayRelation) {
44408
- var tokens2 = relatedEntity.split(".");
44409
- var entity = tokens2[0];
44410
- var key2 = tokens2[1];
44411
- return createSubQueryBuilder(this, entity, key2, isArrayRelation, "not");
44412
- };
44413
- QueryBuilder2.prototype.toJSON = function() {
44414
- let qry = JSON.parse(JSON.stringify(this.query));
44415
- if (qry.filters.length > 1) {
44416
- qry.filters = [
44417
- {
44418
- type: "group",
44419
- operator: "and",
44420
- chainedWith: "and",
44421
- filters: qry.filters
44422
- }
44423
- ];
44424
- }
44425
- return qry;
44426
- };
44427
- QueryBuilder2.prototype.convertToFilter = function(argDef, operator) {
44428
- var whereArgs = {};
44429
- var filters = [];
44430
- _.each(argDef, (arg, name2) => {
44431
- if (!isFilterExpresionOrSubQuery(name2, arg)) {
44432
- if (Array.isArray(arg)) {
44433
- filters.push(this.inList(arg).toFilter(this, name2));
44434
- } else {
44435
- whereArgs[name2] = arg;
44436
- }
44437
- } else {
44438
- filters.push(arg.toFilter(this, name2));
44439
- }
44440
- });
44441
- if (_.keys(whereArgs).length > 0) {
44442
- filters.unshift({
44443
- type: "where",
44444
- args: whereArgs
44445
- });
44446
- }
44447
- if (filters.length === 1) {
44448
- return filters[0];
44449
- }
44450
- var filterDef = {
44451
- type: "group",
44452
- operator: operator || "and",
44453
- filters
44454
- };
44455
- return filterDef;
44456
- };
44457
- QueryBuilder2.prototype.where = function() {
44458
- var args = [].slice.call(arguments);
44459
- return this.whereAll(args);
44460
- };
44461
- QueryBuilder2.prototype.orWhere = function() {
44462
- var args = [].slice.call(arguments);
44463
- return this.orWhereAll(args);
44464
- };
44465
- QueryBuilder2.prototype.andWhere = function() {
44466
- var args = [].slice.call(arguments);
44467
- return this.andWhereAll(args);
44468
- };
44469
- QueryBuilder2.prototype.whereAny = function() {
44470
- var args = [].slice.call(arguments);
44471
- return whereAny(this, args);
44472
- };
44473
- QueryBuilder2.prototype.whereAll = function() {
44474
- var args = [].slice.call(arguments);
44475
- return whereAll(this, args);
44476
- };
44477
- QueryBuilder2.prototype.andWhereAny = function() {
44478
- var args = [].slice.call(arguments);
44479
- return whereAny(this, args, "and");
44480
- };
44481
- QueryBuilder2.prototype.orWhereAny = function() {
44482
- var args = [].slice.call(arguments);
44483
- return whereAny(this, args, "or");
44484
- };
44485
- QueryBuilder2.prototype.andWhereAll = function() {
44486
- var args = [].slice.call(arguments);
44487
- return whereAll(this, args, "and");
44488
- };
44489
- QueryBuilder2.prototype.orWhereAll = function() {
44490
- var args = [].slice.call(arguments);
44491
- return whereAll(this, args, "or");
44492
- };
44493
- QueryBuilder2.prototype.count = function() {
44494
- var args = [].slice.call(arguments);
44495
- if (this.query.type === "subquery") {
44496
- if (this.query.countExpression) {
44497
- throw new Error(
44498
- "QueryBuilder subquery can only have one count expression"
44499
- );
44500
- }
44501
- this.query.countExpression = args[0].toFilter(this, "count");
44502
- } else {
44503
- throw new Error("QueryBuilder is not subquery type on count expression");
44504
- }
44505
- return this;
44506
- };
44507
- QueryBuilder2.ExpressionJson = {};
44508
- attachExpressionFunctions();
44509
- return QueryBuilder2;
44510
- function createSubQueryBuilder(qb, entity, key2, isArrayRelation = true, modifier) {
44511
- return new QueryBuilder2({
44512
- parentBuilder: qb,
44513
- entity,
44514
- key: key2,
44515
- modifier,
44516
- isArrayRelation
44517
- });
44518
- }
44519
- __name(createSubQueryBuilder, "createSubQueryBuilder");
44520
- function attachExpressionFunctions() {
44521
- expressionOperators.forEach(({ opName, sanityChecks, transform: transform2 }) => {
44522
- const filter = /* @__PURE__ */ __name((...args) => {
44523
- let argsToUse = args;
44524
- let opNameToUse = opName;
44525
- if (transform2) {
44526
- let { newOpName, newArgs } = transform2(...args);
44527
- argsToUse = newArgs;
44528
- opNameToUse = newOpName;
44529
- }
44530
- sanityChecks.forEach((sanityCheck) => {
44531
- sanityCheck(...args);
44532
- });
44533
- return new FilterExpression(opNameToUse, argsToUse);
44534
- }, "filter");
44535
- QueryBuilder2.prototype[opName] = filter;
44536
- QueryBuilder2.ExpressionJson[opName] = filter;
44537
- });
44538
- }
44539
- __name(attachExpressionFunctions, "attachExpressionFunctions");
44540
- function isFilterExpresionOrSubQuery(name2, arg) {
44541
- if (arg instanceof FilterExpression)
44542
- return true;
44543
- if (arg instanceof QueryBuilder2)
44544
- return true;
44545
- return false;
44546
- }
44547
- __name(isFilterExpresionOrSubQuery, "isFilterExpresionOrSubQuery");
44548
- function whereAny(filterBuilder, whereArgs, chainedWith) {
44549
- return where(filterBuilder, "or", whereArgs, chainedWith);
44550
- }
44551
- __name(whereAny, "whereAny");
44552
- function whereAll(filterBuilder, whereArgs, chainedWith) {
44553
- return where(filterBuilder, "and", whereArgs, chainedWith);
44554
- }
44555
- __name(whereAll, "whereAll");
44556
- function where(filterBuilder, operator, whereArgs, chainedWith) {
44557
- if (!Array.isArray(whereArgs))
44558
- return where(filterBuilder, operator, [whereArgs], chainedWith);
44559
- var filterDef = {
44560
- type: "group",
44561
- operator,
44562
- chainedWith,
44563
- filters: []
44564
- };
44565
- whereArgs.forEach((arg) => {
44566
- var filter = filterBuilder.convertToFilter(arg, operator);
44567
- filterDef.filters.push(filter);
44568
- });
44569
- filterBuilder.query.filters.push(filterDef);
44570
- return filterBuilder;
44571
- }
44572
- __name(where, "where");
44573
- }();
44574
- const QueryBuilder = queryBuilder;
44575
- var tgClientQueryBuilder = QueryBuilder;
44576
- const QueryBuilder$1 = /* @__PURE__ */ getDefaultExportFromCjs(tgClientQueryBuilder);
44577
44148
  const defaultPageSizes = [5, 10, 15, 25, 50, 100, 200, 400];
44578
44149
  function getMergedOpts(topLevel = {}, instanceLevel = {}) {
44579
44150
  const merged = __spreadValues(__spreadValues({}, topLevel), instanceLevel);
@@ -45215,7 +44786,7 @@ var __async = (__this, __arguments, generator) => {
45215
44786
  graphqlQueryParams.pageSize = ownProps.controlled_pageSize || Number(pageSize);
45216
44787
  }
45217
44788
  const { model: model2 } = schema2;
45218
- const qb = new QueryBuilder$1(model2);
44789
+ const qb = new window.QueryBuilder(model2);
45219
44790
  const ccFields = getFieldsMappedByCCDisplayName(schema2);
45220
44791
  if (tableQueryParams.order && tableQueryParams.order.length) {
45221
44792
  tableQueryParams.order.forEach((orderVal) => {
@@ -54939,7 +54510,7 @@ var __async = (__this, __arguments, generator) => {
54939
54510
  }
54940
54511
  __name(useDeepCompareMemoize, "useDeepCompareMemoize");
54941
54512
  function useDeepCompareEffect(callback2, dependencies2) {
54942
- if (process.env.NODE_ENV !== "production") {
54513
+ if (production !== "production") {
54943
54514
  checkDeps(dependencies2);
54944
54515
  }
54945
54516
  return React__namespace.useEffect(callback2, useDeepCompareMemoize(dependencies2));
@@ -56480,7 +56051,7 @@ var __async = (__this, __arguments, generator) => {
56480
56051
  return toReturn || {};
56481
56052
  }
56482
56053
  __name(computePresets, "computePresets");
56483
- var __DEV__ = process.env.NODE_ENV !== "production";
56054
+ var __DEV__ = production !== "production";
56484
56055
  var warning$1 = /* @__PURE__ */ __name(function() {
56485
56056
  }, "warning$1");
56486
56057
  if (__DEV__) {
@@ -56578,7 +56149,7 @@ var __async = (__this, __arguments, generator) => {
56578
56149
  return result;
56579
56150
  }
56580
56151
  __name(resolvePathname, "resolvePathname");
56581
- var isProduction$2 = process.env.NODE_ENV === "production";
56152
+ var isProduction$2 = production === "production";
56582
56153
  var prefix$2 = "Invariant failed";
56583
56154
  function invariant$2(condition, message) {
56584
56155
  if (condition) {
@@ -75047,7 +74618,7 @@ var __async = (__this, __arguments, generator) => {
75047
74618
  });
75048
74619
  DraggableCore$5.default = void 0;
75049
74620
  var React$2 = _interopRequireWildcard$2(React$3);
75050
- var _propTypes$1 = _interopRequireDefault$1(propTypesExports);
74621
+ var _propTypes$1 = _interopRequireDefault$1(requirePropTypes());
75051
74622
  var _reactDom$1 = _interopRequireDefault$1(ReactDOM$1);
75052
74623
  var _domFns$2 = domFns$1;
75053
74624
  var _positionFns$1 = positionFns$1;
@@ -75641,7 +75212,7 @@ var __async = (__this, __arguments, generator) => {
75641
75212
  });
75642
75213
  exports3.default = void 0;
75643
75214
  var React2 = _interopRequireWildcard2(React$3);
75644
- var _propTypes2 = _interopRequireDefault2(propTypesExports);
75215
+ var _propTypes2 = _interopRequireDefault2(requirePropTypes());
75645
75216
  var _reactDom2 = _interopRequireDefault2(ReactDOM$1);
75646
75217
  var _clsx2 = _interopRequireDefault2(require$$3);
75647
75218
  var _domFns2 = domFns$1;
@@ -80458,9 +80029,16 @@ var __async = (__this, __arguments, generator) => {
80458
80029
  }
80459
80030
  __name(trimRangeByAnotherRange, "trimRangeByAnotherRange");
80460
80031
  function adjustRangeToDeletionOfAnotherRange(rangeToBeAdjusted, anotherRange, maxLength) {
80461
- const trimmedRange = trimRangeByAnotherRange(rangeToBeAdjusted, anotherRange, maxLength);
80032
+ const trimmedRange = trimRangeByAnotherRange(
80033
+ rangeToBeAdjusted,
80034
+ anotherRange,
80035
+ maxLength
80036
+ );
80462
80037
  if (trimmedRange) {
80463
- const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(anotherRange, maxLength);
80038
+ const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
80039
+ anotherRange,
80040
+ maxLength
80041
+ );
80464
80042
  nonCircularDeletionRanges.forEach(function(nonCircularDeletionRange) {
80465
80043
  const deletionLength = nonCircularDeletionRange.end - nonCircularDeletionRange.start + 1;
80466
80044
  if (trimmedRange.start > trimmedRange.end) {
@@ -107116,7 +106694,7 @@ ${seq.sequence}
107116
106694
  if (!features2[feature.seq_id])
107117
106695
  features2[feature.seq_id] = [];
107118
106696
  const attributes = feature.attributes || {};
107119
- const name2 = _$2.get(attributes, "ID[0]");
106697
+ const name2 = _$1.get(attributes, "ID[0]");
107120
106698
  features2[feature.seq_id].push({
107121
106699
  name: name2,
107122
106700
  start: feature.start,
@@ -107220,7 +106798,7 @@ ${seq.sequence}
107220
106798
  searchWholeObjByNameSimpleArray("annotation", geneiousJsonInner),
107221
106799
  function(feature) {
107222
106800
  if (feature) {
107223
- const name22 = searchWholeObjByNameSimple("description", feature);
106801
+ const name22 = (searchWholeObjByNameSimple("description", feature) || "").substring(0, 255);
107224
106802
  const intervals = searchWholeObjByNameSimpleArray("interval", feature);
107225
106803
  const type2 = searchWholeObjByNameSimple("type", feature);
107226
106804
  const firstInterval = intervals[0];
@@ -107831,9 +107409,17 @@ ${seq.sequence}
107831
107409
  return snapgeneToJson(fileContentStringOrFileObj, options);
107832
107410
  } else if (/^(geneious)$/.test(ext)) {
107833
107411
  const a2 = yield getUint8ArrayFromFile(fileContentStringOrFileObj);
107834
- const b3 = unzipSync(a2);
107835
- const c2 = Object.values(b3)[0];
107836
- 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
+ }
107837
107423
  return geneiousXmlToJson(d2, options);
107838
107424
  } else {
107839
107425
  fileContentString = yield getUtf8StringFromFile(
@@ -113466,8 +113052,7 @@ ${seq.sequence}
113466
113052
  const isAlreadyRnaEditor = currentEditor.sequenceData && currentEditor.sequenceData.isRna;
113467
113053
  const isAlreadyOligoEditor = currentEditor.sequenceData && currentEditor.sequenceData.isOligo;
113468
113054
  const reverseSequenceShouldBeUpdate = ((_a2 = currentEditor.sequenceData) == null ? void 0 : _a2.isSingleStrandedDNA) !== (sequenceData2 == null ? void 0 : sequenceData2.isSingleStrandedDNA);
113469
- const annotationVisibilityUpdated = !lodashExports.isEqual(annotationVisibility2, currentEditor.annotationVisibility) || !lodashExports.isEqual(annotationsToSupport2, currentEditor.annotationsToSupport);
113470
- const isAlreadySpecialEditor = isAlreadyProteinEditor || isAlreadyRnaEditor || isAlreadyOligoEditor || reverseSequenceShouldBeUpdate || annotationVisibilityUpdated;
113055
+ const isAlreadySpecialEditor = isAlreadyProteinEditor || isAlreadyRnaEditor || isAlreadyOligoEditor || reverseSequenceShouldBeUpdate;
113471
113056
  let toSpread = {};
113472
113057
  let payload;
113473
113058
  if (justPassingPartialSeqData) {
@@ -114761,7 +114346,7 @@ ${seq.sequence}
114761
114346
  return 0;
114762
114347
  }
114763
114348
  var result = Number(value);
114764
- !!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;
114765
114350
  return result;
114766
114351
  }, "parse");
114767
114352
  var getWindowScroll$1 = /* @__PURE__ */ __name(function getWindowScroll2() {
@@ -114896,7 +114481,7 @@ ${seq.sequence}
114896
114481
  return wrapperFn;
114897
114482
  }, "rafSchd");
114898
114483
  const rafSchd$1 = rafSchd;
114899
- const isProduction$1 = process.env.NODE_ENV === "production";
114484
+ const isProduction$1 = production === "production";
114900
114485
  const spacesAndTabs = /[ \t]{2,}/g;
114901
114486
  const lineStartWithSpaces = /^[ \t]*/gm;
114902
114487
  const clean$2 = /* @__PURE__ */ __name((value) => value.replace(spacesAndTabs, " ").replace(lineStartWithSpaces, "").trim(), "clean$2");
@@ -114948,7 +114533,7 @@ ${seq.sequence}
114948
114533
  }, "unbindAll");
114949
114534
  }
114950
114535
  __name(bindEvents, "bindEvents");
114951
- const isProduction = process.env.NODE_ENV === "production";
114536
+ const isProduction = production === "production";
114952
114537
  const prefix$1 = "Invariant failed";
114953
114538
  class RbdInvariant extends Error {
114954
114539
  }
@@ -114976,7 +114561,7 @@ ${seq.sequence}
114976
114561
  const callbacks = this.getCallbacks();
114977
114562
  if (callbacks.isDragging()) {
114978
114563
  callbacks.tryAbort();
114979
- process.env.NODE_ENV !== "production" ? warning(`
114564
+ production !== "production" ? warning(`
114980
114565
  An error was caught by our window 'error' event listener while a drag was occurring.
114981
114566
  The active drag has been aborted.
114982
114567
  `) : void 0;
@@ -114984,7 +114569,7 @@ ${seq.sequence}
114984
114569
  const err2 = event.error;
114985
114570
  if (err2 instanceof RbdInvariant) {
114986
114571
  event.preventDefault();
114987
- if (process.env.NODE_ENV !== "production") {
114572
+ if (production !== "production") {
114988
114573
  error(err2.message);
114989
114574
  }
114990
114575
  }
@@ -115007,7 +114592,7 @@ ${seq.sequence}
115007
114592
  }
115008
114593
  componentDidCatch(err2) {
115009
114594
  if (err2 instanceof RbdInvariant) {
115010
- if (process.env.NODE_ENV !== "production") {
114595
+ if (production !== "production") {
115011
114596
  error(err2.message);
115012
114597
  }
115013
114598
  this.setState({});
@@ -115223,7 +114808,7 @@ ${seq.sequence}
115223
114808
  };
115224
114809
  }, "getSubject");
115225
114810
  var scrollDroppable = /* @__PURE__ */ __name((droppable2, newScroll) => {
115226
- !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;
115227
114812
  const scrollable = droppable2.frame;
115228
114813
  const scrollDiff = subtract(newScroll, scrollable.scroll.initial);
115229
114814
  const scrollDisplacement = negate(scrollDiff);
@@ -115321,7 +114906,7 @@ ${seq.sequence}
115321
114906
  return getImpact(last2.descriptor.id);
115322
114907
  }
115323
114908
  const indexOfClosest = withoutDraggable.findIndex((d2) => d2.descriptor.id === closestId);
115324
- !(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;
115325
114910
  const proposedIndex = indexOfClosest - 1;
115326
114911
  if (proposedIndex < 0) {
115327
114912
  return null;
@@ -115656,7 +115241,7 @@ ${seq.sequence}
115656
115241
  afterCritical
115657
115242
  } = _ref;
115658
115243
  const wasAt = previousImpact.at;
115659
- !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;
115660
115245
  if (wasAt.type === "REORDER") {
115661
115246
  const newIndex2 = fromReorder({
115662
115247
  isMovingForward,
@@ -115718,7 +115303,7 @@ ${seq.sequence}
115718
115303
  draggables
115719
115304
  } = _ref;
115720
115305
  const combine2 = tryGetCombine(impact);
115721
- !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;
115722
115307
  const combineWith = combine2.draggableId;
115723
115308
  const center = draggables[combineWith].page.borderBox.center;
115724
115309
  const displaceBy = getCombinedItemDisplacement({
@@ -116063,7 +115648,7 @@ ${seq.sequence}
116063
115648
  }, "moveToNextPlace");
116064
115649
  const getKnownActive = /* @__PURE__ */ __name((droppable2) => {
116065
115650
  const rect = droppable2.subject.active;
116066
- !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;
116067
115652
  return rect;
116068
115653
  }, "getKnownActive");
116069
115654
  var getBestCrossAxisDroppable = /* @__PURE__ */ __name((_ref) => {
@@ -116186,8 +115771,8 @@ ${seq.sequence}
116186
115771
  }), "withMaxScroll");
116187
115772
  const addPlaceholder = /* @__PURE__ */ __name((droppable2, draggable2, draggables) => {
116188
115773
  const frame = droppable2.frame;
116189
- !!isHomeOf(draggable2, droppable2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Should not add placeholder space to home list") : invariant$1(false) : void 0;
116190
- !!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;
116191
115776
  const placeholderSize = getDisplacedBy(droppable2.axis, draggable2.displaceBy).point;
116192
115777
  const requiredGrowth = getRequiredGrowthForPlaceholder(droppable2, placeholderSize, draggables);
116193
115778
  const added = {
@@ -116221,7 +115806,7 @@ ${seq.sequence}
116221
115806
  }, "addPlaceholder");
116222
115807
  const removePlaceholder = /* @__PURE__ */ __name((droppable2) => {
116223
115808
  const added = droppable2.subject.withPlaceholder;
116224
- !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;
116225
115810
  const frame = droppable2.frame;
116226
115811
  if (!frame) {
116227
115812
  const subject2 = getSubject({
@@ -116235,7 +115820,7 @@ ${seq.sequence}
116235
115820
  });
116236
115821
  }
116237
115822
  const oldMaxScroll = added.oldFrameMaxScroll;
116238
- !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;
116239
115824
  const newFrame = withMaxScroll(frame, oldMaxScroll);
116240
115825
  const subject = getSubject({
116241
115826
  page: droppable2.subject.page,
@@ -116866,7 +116451,7 @@ ${seq.sequence}
116866
116451
  dimensions: forcedDimensions,
116867
116452
  viewport: forcedViewport
116868
116453
  } = _ref;
116869
- !(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;
116870
116455
  const needsVisibilityCheck = state2.impact;
116871
116456
  const viewport2 = forcedViewport || state2.viewport;
116872
116457
  const dimensions = forcedDimensions || state2.dimensions;
@@ -116876,7 +116461,7 @@ ${seq.sequence}
116876
116461
  } = dimensions;
116877
116462
  const draggable2 = draggables[state2.critical.draggable.id];
116878
116463
  const isOver = whatIsDraggedOver(needsVisibilityCheck);
116879
- !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;
116880
116465
  const destination = droppables[isOver];
116881
116466
  const impact = recompute({
116882
116467
  impact: needsVisibilityCheck,
@@ -116914,7 +116499,7 @@ ${seq.sequence}
116914
116499
  const displacedBy = getDisplacedBy(home2.axis, draggable2.displaceBy);
116915
116500
  const insideHome = getDraggablesInsideDroppable(home2.descriptor.id, draggables);
116916
116501
  const rawIndex = insideHome.indexOf(draggable2);
116917
- !(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;
116918
116503
  const afterDragging = insideHome.slice(rawIndex + 1);
116919
116504
  const effected = afterDragging.reduce((previous2, item) => {
116920
116505
  previous2[item.descriptor.id] = true;
@@ -116951,14 +116536,14 @@ ${seq.sequence}
116951
116536
  droppables: patchDroppableMap(dimensions.droppables, updated)
116952
116537
  }), "patchDimensionMap");
116953
116538
  const start = /* @__PURE__ */ __name((key2) => {
116954
- if (process.env.NODE_ENV !== "production") {
116539
+ if (production !== "production") {
116955
116540
  {
116956
116541
  return;
116957
116542
  }
116958
116543
  }
116959
116544
  }, "start");
116960
116545
  const finish = /* @__PURE__ */ __name((key2) => {
116961
- if (process.env.NODE_ENV !== "production") {
116546
+ if (production !== "production") {
116962
116547
  {
116963
116548
  return;
116964
116549
  }
@@ -116983,7 +116568,7 @@ ${seq.sequence}
116983
116568
  }, "offsetDraggable");
116984
116569
  var getFrame = /* @__PURE__ */ __name((droppable2) => {
116985
116570
  const frame = droppable2.frame;
116986
- !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;
116987
116572
  return frame;
116988
116573
  }, "getFrame");
116989
116574
  var adjustAdditionsForScrollChanges = /* @__PURE__ */ __name((_ref) => {
@@ -117112,7 +116697,7 @@ ${seq.sequence}
117112
116697
  });
117113
116698
  }
117114
116699
  if (action2.type === "INITIAL_PUBLISH") {
117115
- !(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;
117116
116701
  const {
117117
116702
  critical,
117118
116703
  clientSelection,
@@ -117167,14 +116752,14 @@ ${seq.sequence}
117167
116752
  if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
117168
116753
  return state2;
117169
116754
  }
117170
- !(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;
117171
116756
  const result = __spreadProps(__spreadValues({}, state2), {
117172
116757
  phase: "COLLECTING"
117173
116758
  });
117174
116759
  return result;
117175
116760
  }
117176
116761
  if (action2.type === "PUBLISH_WHILE_DRAGGING") {
117177
- !(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;
117178
116763
  return publishWhileDraggingInVirtual({
117179
116764
  state: state2,
117180
116765
  published: action2.payload
@@ -117184,7 +116769,7 @@ ${seq.sequence}
117184
116769
  if (state2.phase === "DROP_PENDING") {
117185
116770
  return state2;
117186
116771
  }
117187
- !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;
117188
116773
  const {
117189
116774
  client: clientSelection
117190
116775
  } = action2.payload;
@@ -117204,7 +116789,7 @@ ${seq.sequence}
117204
116789
  if (state2.phase === "COLLECTING") {
117205
116790
  return removeScrollJumpRequest(state2);
117206
116791
  }
117207
- !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;
117208
116793
  const {
117209
116794
  id: id2,
117210
116795
  newScroll
@@ -117220,14 +116805,14 @@ ${seq.sequence}
117220
116805
  if (state2.phase === "DROP_PENDING") {
117221
116806
  return state2;
117222
116807
  }
117223
- !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;
117224
116809
  const {
117225
116810
  id: id2,
117226
116811
  isEnabled
117227
116812
  } = action2.payload;
117228
116813
  const target = state2.dimensions.droppables[id2];
117229
- !target ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot find Droppable[id: ${id2}] to toggle its enabled state`) : invariant$1(false) : void 0;
117230
- !(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)}
117231
116816
  but it is already ${String(target.isEnabled)}`) : invariant$1(false) : void 0;
117232
116817
  const updated = __spreadProps(__spreadValues({}, target), {
117233
116818
  isEnabled
@@ -117238,14 +116823,14 @@ ${seq.sequence}
117238
116823
  if (state2.phase === "DROP_PENDING") {
117239
116824
  return state2;
117240
116825
  }
117241
- !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;
117242
116827
  const {
117243
116828
  id: id2,
117244
116829
  isCombineEnabled
117245
116830
  } = action2.payload;
117246
116831
  const target = state2.dimensions.droppables[id2];
117247
- !target ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot find Droppable[id: ${id2}] to toggle its isCombineEnabled state`) : invariant$1(false) : void 0;
117248
- !(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)}
117249
116834
  but it is already ${String(target.isCombineEnabled)}`) : invariant$1(false) : void 0;
117250
116835
  const updated = __spreadProps(__spreadValues({}, target), {
117251
116836
  isCombineEnabled
@@ -117256,8 +116841,8 @@ ${seq.sequence}
117256
116841
  if (state2.phase === "DROP_PENDING" || state2.phase === "DROP_ANIMATING") {
117257
116842
  return state2;
117258
116843
  }
117259
- !isMovementAllowed(state2) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `Cannot move by window in phase ${state2.phase}`) : invariant$1(false) : void 0;
117260
- !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;
117261
116846
  const newScroll = action2.payload.newScroll;
117262
116847
  if (isEqual$1(state2.viewport.scroll.current, newScroll)) {
117263
116848
  return removeScrollJumpRequest(state2);
@@ -117295,7 +116880,7 @@ ${seq.sequence}
117295
116880
  if (state2.phase === "COLLECTING" || state2.phase === "DROP_PENDING") {
117296
116881
  return state2;
117297
116882
  }
117298
- !(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;
117299
116884
  const result = moveInDirection({
117300
116885
  state: state2,
117301
116886
  type: action2.type
@@ -117312,7 +116897,7 @@ ${seq.sequence}
117312
116897
  }
117313
116898
  if (action2.type === "DROP_PENDING") {
117314
116899
  const reason = action2.payload.reason;
117315
- !(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;
117316
116901
  const newState = __spreadProps(__spreadValues({}, state2), {
117317
116902
  phase: "DROP_PENDING",
117318
116903
  isWaiting: true,
@@ -117326,7 +116911,7 @@ ${seq.sequence}
117326
116911
  dropDuration,
117327
116912
  newHomeClientOffset
117328
116913
  } = action2.payload;
117329
- !(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;
117330
116915
  const result = {
117331
116916
  phase: "DROP_ANIMATING",
117332
116917
  completed,
@@ -117452,7 +117037,7 @@ ${seq.sequence}
117452
117037
  const hasError = Boolean(errors2[index2]);
117453
117038
  return hasError ? `[🔥${index2}]` : `${index2}`;
117454
117039
  }).join(", ");
117455
- process.env.NODE_ENV !== "production" ? warning(`
117040
+ production !== "production" ? warning(`
117456
117041
  Detected non-consecutive <Draggable /> indexes.
117457
117042
 
117458
117043
  (This can cause unexpected bugs)
@@ -117462,7 +117047,7 @@ ${seq.sequence}
117462
117047
  }
117463
117048
  __name(checkIndexes, "checkIndexes");
117464
117049
  function validateDimensions(critical, dimensions) {
117465
- if (process.env.NODE_ENV !== "production") {
117050
+ if (production !== "production") {
117466
117051
  const insideDestination = getDraggablesInsideDroppable(critical.droppable.id, dimensions.draggables);
117467
117052
  checkIndexes(insideDestination);
117468
117053
  }
@@ -117489,7 +117074,7 @@ ${seq.sequence}
117489
117074
  completed: initial.completed
117490
117075
  }));
117491
117076
  }
117492
- !(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;
117493
117078
  dispatch(flush());
117494
117079
  dispatch(beforeInitialCapture({
117495
117080
  draggableId: id2,
@@ -117681,8 +117266,8 @@ ${seq.sequence}
117681
117266
  return;
117682
117267
  }
117683
117268
  const isWaitingForDrop = state2.phase === "DROP_PENDING" && state2.isWaiting;
117684
- !!isWaitingForDrop ? process.env.NODE_ENV !== "production" ? invariant$1(false, "A DROP action occurred while DROP_PENDING and still waiting") : invariant$1(false) : void 0;
117685
- !(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;
117686
117271
  const critical = state2.critical;
117687
117272
  const dimensions = state2.dimensions;
117688
117273
  const draggable2 = dimensions.draggables[state2.critical.draggable.id];
@@ -117783,12 +117368,12 @@ ${seq.sequence}
117783
117368
  }
117784
117369
  __name(isActive2, "isActive");
117785
117370
  function start2() {
117786
- !!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;
117787
117372
  unbind2 = bindEvents(window, [binding]);
117788
117373
  }
117789
117374
  __name(start2, "start");
117790
117375
  function stop() {
117791
- !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;
117792
117377
  scheduled.cancel();
117793
117378
  unbind2();
117794
117379
  unbind2 = noop$2;
@@ -117829,11 +117414,11 @@ ${seq.sequence}
117829
117414
  });
117830
117415
  const result = /* @__PURE__ */ __name((message) => {
117831
117416
  if (wasCalled) {
117832
- 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;
117833
117418
  return;
117834
117419
  }
117835
117420
  if (isExpired) {
117836
- process.env.NODE_ENV !== "production" ? warning(`
117421
+ production !== "production" ? warning(`
117837
117422
  Announcements cannot be made asynchronously.
117838
117423
  Default message has already been announced.
117839
117424
  `) : void 0;
@@ -117850,7 +117435,7 @@ ${seq.sequence}
117850
117435
  const entries = [];
117851
117436
  const execute2 = /* @__PURE__ */ __name((timerId) => {
117852
117437
  const index2 = entries.findIndex((item) => item.timerId === timerId);
117853
- !(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;
117854
117439
  const [entry] = entries.splice(index2, 1);
117855
117440
  entry.callback();
117856
117441
  }, "execute");
@@ -117937,7 +117522,7 @@ ${seq.sequence}
117937
117522
  const asyncMarshal = getAsyncMarshal();
117938
117523
  let dragging = null;
117939
117524
  const beforeCapture = /* @__PURE__ */ __name((draggableId, mode) => {
117940
- !!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;
117941
117526
  withTimings("onBeforeCapture", () => {
117942
117527
  const fn2 = getResponders().onBeforeCapture;
117943
117528
  if (fn2) {
@@ -117950,7 +117535,7 @@ ${seq.sequence}
117950
117535
  });
117951
117536
  }, "beforeCapture");
117952
117537
  const beforeStart = /* @__PURE__ */ __name((critical, mode) => {
117953
- !!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;
117954
117539
  withTimings("onBeforeDragStart", () => {
117955
117540
  const fn2 = getResponders().onBeforeDragStart;
117956
117541
  if (fn2) {
@@ -117959,7 +117544,7 @@ ${seq.sequence}
117959
117544
  });
117960
117545
  }, "beforeStart");
117961
117546
  const start2 = /* @__PURE__ */ __name((critical, mode) => {
117962
- !!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;
117963
117548
  const data = getDragStart(critical, mode);
117964
117549
  dragging = {
117965
117550
  mode,
@@ -117974,7 +117559,7 @@ ${seq.sequence}
117974
117559
  const update2 = /* @__PURE__ */ __name((critical, impact) => {
117975
117560
  const location2 = tryGetDestination(impact);
117976
117561
  const combine2 = tryGetCombine(impact);
117977
- !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;
117978
117563
  const hasCriticalChanged = !isCriticalEqual(critical, dragging.lastCritical);
117979
117564
  if (hasCriticalChanged) {
117980
117565
  dragging.lastCritical = critical;
@@ -117999,11 +117584,11 @@ ${seq.sequence}
117999
117584
  });
118000
117585
  }, "update");
118001
117586
  const flush2 = /* @__PURE__ */ __name(() => {
118002
- !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;
118003
117588
  asyncMarshal.flush();
118004
117589
  }, "flush");
118005
117590
  const drop2 = /* @__PURE__ */ __name((result) => {
118006
- !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;
118007
117592
  dragging = null;
118008
117593
  withTimings("onDragEnd", () => execute(getResponders().onDragEnd, result, announce, preset$1.onDragEnd));
118009
117594
  }, "drop");
@@ -118066,7 +117651,7 @@ ${seq.sequence}
118066
117651
  return;
118067
117652
  }
118068
117653
  const state2 = store2.getState();
118069
- !(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;
118070
117655
  store2.dispatch(completeDrop({
118071
117656
  completed: state2.completed
118072
117657
  }));
@@ -118160,7 +117745,7 @@ ${seq.sequence}
118160
117745
  if (action2.type === "INITIAL_PUBLISH") {
118161
117746
  next(action2);
118162
117747
  const state2 = store2.getState();
118163
- !(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;
118164
117749
  autoScroller.start(state2);
118165
117750
  return;
118166
117751
  }
@@ -118184,7 +117769,7 @@ ${seq.sequence}
118184
117769
  }));
118185
117770
  }, "pendingDrop");
118186
117771
  var pendingDrop$1 = pendingDrop;
118187
- 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__({
118188
117773
  name: "@hello-pangea/dnd"
118189
117774
  }) : redux.compose;
118190
117775
  var createStore$1 = /* @__PURE__ */ __name((_ref) => {
@@ -118314,7 +117899,7 @@ ${seq.sequence}
118314
117899
  }, "getMaxScroll");
118315
117900
  var getDocumentElement = /* @__PURE__ */ __name(() => {
118316
117901
  const doc = document.documentElement;
118317
- !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;
118318
117903
  return doc;
118319
117904
  }, "getDocumentElement");
118320
117905
  var getMaxWindowScroll = /* @__PURE__ */ __name(() => {
@@ -118390,7 +117975,7 @@ ${seq.sequence}
118390
117975
  }
118391
117976
  const home2 = registry.droppable.getById(entry.descriptor.droppableId);
118392
117977
  if (home2.descriptor.mode !== "virtual") {
118393
- process.env.NODE_ENV !== "production" ? warning(`
117978
+ production !== "production" ? warning(`
118394
117979
  You are attempting to add or remove a Draggable [id: ${entry.descriptor.id}]
118395
117980
  while a drag is occurring. This is only supported for virtual lists.
118396
117981
 
@@ -118411,7 +117996,7 @@ ${seq.sequence}
118411
117996
  registry
118412
117997
  });
118413
117998
  const updateDroppableIsEnabled2 = /* @__PURE__ */ __name((id2, isEnabled) => {
118414
- !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;
118415
118000
  if (!collection) {
118416
118001
  return;
118417
118002
  }
@@ -118424,7 +118009,7 @@ ${seq.sequence}
118424
118009
  if (!collection) {
118425
118010
  return;
118426
118011
  }
118427
- !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;
118428
118013
  callbacks.updateDroppableIsCombineEnabled({
118429
118014
  id: id2,
118430
118015
  isCombineEnabled
@@ -118434,7 +118019,7 @@ ${seq.sequence}
118434
118019
  if (!collection) {
118435
118020
  return;
118436
118021
  }
118437
- !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;
118438
118023
  callbacks.updateDroppableScroll({
118439
118024
  id: id2,
118440
118025
  newScroll
@@ -118457,7 +118042,7 @@ ${seq.sequence}
118457
118042
  collection = null;
118458
118043
  }, "stopPublishing");
118459
118044
  const subscriber = /* @__PURE__ */ __name((event) => {
118460
- !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;
118461
118046
  const dragging = collection.critical.draggable;
118462
118047
  if (event.type === "ADDITION") {
118463
118048
  if (shouldPublishUpdate(registry, dragging, event.value)) {
@@ -118471,7 +118056,7 @@ ${seq.sequence}
118471
118056
  }
118472
118057
  }, "subscriber");
118473
118058
  const startPublishing = /* @__PURE__ */ __name((request) => {
118474
- !!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;
118475
118060
  const entry = registry.draggable.getById(request.draggableId);
118476
118061
  const home2 = registry.droppable.getById(entry.descriptor.droppableId);
118477
118062
  const critical = {
@@ -118525,7 +118110,7 @@ ${seq.sequence}
118525
118110
  }));
118526
118111
  const getScrollableDroppableOver = /* @__PURE__ */ __name((target, droppables) => {
118527
118112
  const maybe = getScrollableDroppables(droppables).find((droppable2) => {
118528
- !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;
118529
118114
  return isPositionInFrame(droppable2.frame.pageMarginBox)(target);
118530
118115
  }) || null;
118531
118116
  return maybe;
@@ -118578,7 +118163,7 @@ ${seq.sequence}
118578
118163
  } = _ref;
118579
118164
  const range2 = endOfRange - startOfRange;
118580
118165
  if (range2 === 0) {
118581
- process.env.NODE_ENV !== "production" ? warning(`
118166
+ production !== "production" ? warning(`
118582
118167
  Detected distance range of 0 in the fluid auto scroller
118583
118168
  This is unexpected and would cause a divide by 0 issue.
118584
118169
  Not allowing an auto scroll
@@ -118949,7 +118534,7 @@ ${seq.sequence}
118949
118534
  const scheduleDroppableScroll = rafSchd$1(scrollDroppable2);
118950
118535
  let dragging = null;
118951
118536
  const tryScroll = /* @__PURE__ */ __name((state2) => {
118952
- !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;
118953
118538
  const {
118954
118539
  shouldUseTimeDampening,
118955
118540
  dragStartTime
@@ -118965,7 +118550,7 @@ ${seq.sequence}
118965
118550
  }, "tryScroll");
118966
118551
  const start$12 = /* @__PURE__ */ __name((state2) => {
118967
118552
  start();
118968
- !!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;
118969
118554
  const dragStartTime = Date.now();
118970
118555
  let wasScrollNeeded = false;
118971
118556
  const fakeScrollCallback = /* @__PURE__ */ __name(() => {
@@ -119051,7 +118636,7 @@ ${seq.sequence}
119051
118636
  return;
119052
118637
  }
119053
118638
  const destination = whatIsDraggedOver(state2.impact);
119054
- !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;
119055
118640
  const droppableRemainder = scrollDroppableAsMuchAsItCan(state2.dimensions.droppables[destination], request);
119056
118641
  if (!droppableRemainder) {
119057
118642
  return;
@@ -119207,7 +118792,7 @@ ${seq.sequence}
119207
118792
  var useLayoutEffect = useIsomorphicLayoutEffect;
119208
118793
  const getHead = /* @__PURE__ */ __name(() => {
119209
118794
  const head = document.querySelector("head");
119210
- !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;
119211
118796
  return head;
119212
118797
  }, "getHead");
119213
118798
  const createStyleEl = /* @__PURE__ */ __name((nonce) => {
@@ -119225,18 +118810,18 @@ ${seq.sequence}
119225
118810
  const setDynamicStyle = useCallback(
119226
118811
  memoizeOne((proposed) => {
119227
118812
  const el = dynamicRef.current;
119228
- !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;
119229
118814
  el.textContent = proposed;
119230
118815
  }),
119231
118816
  []
119232
118817
  );
119233
118818
  const setAlwaysStyle = useCallback((proposed) => {
119234
118819
  const el = alwaysRef.current;
119235
- !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;
119236
118821
  el.textContent = proposed;
119237
118822
  }, []);
119238
118823
  useLayoutEffect(() => {
119239
- !(!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;
119240
118825
  const always = createStyleEl(nonce);
119241
118826
  const dynamic = createStyleEl(nonce);
119242
118827
  alwaysRef.current = always;
@@ -119250,7 +118835,7 @@ ${seq.sequence}
119250
118835
  return () => {
119251
118836
  const remove2 = /* @__PURE__ */ __name((ref) => {
119252
118837
  const current = ref.current;
119253
- !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;
119254
118839
  getHead().removeChild(current);
119255
118840
  ref.current = null;
119256
118841
  }, "remove");
@@ -119296,18 +118881,18 @@ ${seq.sequence}
119296
118881
  const selector = `[${dragHandle.contextId}="${contextId}"]`;
119297
118882
  const possible = querySelectorAll(document, selector);
119298
118883
  if (!possible.length) {
119299
- 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;
119300
118885
  return null;
119301
118886
  }
119302
118887
  const handle = possible.find((el) => {
119303
118888
  return el.getAttribute(dragHandle.draggableId) === draggableId;
119304
118889
  });
119305
118890
  if (!handle) {
119306
- 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;
119307
118892
  return null;
119308
118893
  }
119309
118894
  if (!isHtmlElement(handle)) {
119310
- 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;
119311
118896
  return null;
119312
118897
  }
119313
118898
  return handle;
@@ -119417,7 +119002,7 @@ ${seq.sequence}
119417
119002
  __name(findDraggableById, "findDraggableById");
119418
119003
  function getDraggableById(id2) {
119419
119004
  const entry = findDraggableById(id2);
119420
- !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;
119421
119006
  return entry;
119422
119007
  }
119423
119008
  __name(getDraggableById, "getDraggableById");
@@ -119468,7 +119053,7 @@ ${seq.sequence}
119468
119053
  __name(findDroppableById, "findDroppableById");
119469
119054
  function getDroppableById(id2) {
119470
119055
  const entry = findDroppableById(id2);
119471
- !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;
119472
119057
  return entry;
119473
119058
  }
119474
119059
  __name(getDroppableById, "getDroppableById");
@@ -119522,7 +119107,7 @@ ${seq.sequence}
119522
119107
  var StoreContext = React$3.createContext(null);
119523
119108
  var getBodyElement = /* @__PURE__ */ __name(() => {
119524
119109
  const body = document.body;
119525
- !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;
119526
119111
  return body;
119527
119112
  }, "getBodyElement");
119528
119113
  const visuallyHidden = {
@@ -119567,7 +119152,7 @@ ${seq.sequence}
119567
119152
  el.textContent = message;
119568
119153
  return;
119569
119154
  }
119570
- process.env.NODE_ENV !== "production" ? warning(`
119155
+ production !== "production" ? warning(`
119571
119156
  A screen reader message was trying to be announced but it was unable to do so.
119572
119157
  This can occur if you unmount your <DragDropContext /> in your onDragEnd.
119573
119158
  Consider calling provided.announce() before the unmount so that the instruction will
@@ -119645,7 +119230,7 @@ ${seq.sequence}
119645
119230
  const semver = /(\d+)\.(\d+)\.(\d+)/;
119646
119231
  const getVersion = /* @__PURE__ */ __name((value) => {
119647
119232
  const result = semver.exec(value);
119648
- !(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;
119649
119234
  const major = Number(result[1]);
119650
119235
  const minor = Number(result[2]);
119651
119236
  const patch2 = Number(result[3]);
@@ -119677,7 +119262,7 @@ ${seq.sequence}
119677
119262
  if (isSatisfied(peerDep, actual)) {
119678
119263
  return;
119679
119264
  }
119680
- process.env.NODE_ENV !== "production" ? warning(`
119265
+ production !== "production" ? warning(`
119681
119266
  React version: [${actual.raw}]
119682
119267
  does not satisfy expected peer dependency version: [${peerDep.raw}]
119683
119268
 
@@ -119693,7 +119278,7 @@ ${seq.sequence}
119693
119278
  var checkDoctype = /* @__PURE__ */ __name((doc) => {
119694
119279
  const doctype = doc.doctype;
119695
119280
  if (!doctype) {
119696
- process.env.NODE_ENV !== "production" ? warning(`
119281
+ production !== "production" ? warning(`
119697
119282
  No <!doctype html> found.
119698
119283
 
119699
119284
  ${suffix}
@@ -119701,14 +119286,14 @@ ${seq.sequence}
119701
119286
  return;
119702
119287
  }
119703
119288
  if (doctype.name.toLowerCase() !== "html") {
119704
- process.env.NODE_ENV !== "production" ? warning(`
119289
+ production !== "production" ? warning(`
119705
119290
  Unexpected <!doctype> found: (${doctype.name})
119706
119291
 
119707
119292
  ${suffix}
119708
119293
  `) : void 0;
119709
119294
  }
119710
119295
  if (doctype.publicId !== "") {
119711
- process.env.NODE_ENV !== "production" ? warning(`
119296
+ production !== "production" ? warning(`
119712
119297
  Unexpected <!doctype> publicId found: (${doctype.publicId})
119713
119298
  A html5 doctype does not have a publicId
119714
119299
 
@@ -119717,7 +119302,7 @@ ${seq.sequence}
119717
119302
  }
119718
119303
  }, "checkDoctype");
119719
119304
  function useDev(useHook) {
119720
- if (process.env.NODE_ENV !== "production") {
119305
+ if (production !== "production") {
119721
119306
  useHook();
119722
119307
  }
119723
119308
  }
@@ -119764,7 +119349,7 @@ ${seq.sequence}
119764
119349
  }
119765
119350
  __name(isActive2, "isActive");
119766
119351
  function claim(abandon) {
119767
- !!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;
119768
119353
  const newLock = {
119769
119354
  abandon
119770
119355
  };
@@ -119773,7 +119358,7 @@ ${seq.sequence}
119773
119358
  }
119774
119359
  __name(claim, "claim");
119775
119360
  function release() {
119776
- !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;
119777
119362
  lock = null;
119778
119363
  }
119779
119364
  __name(release, "release");
@@ -119869,7 +119454,7 @@ ${seq.sequence}
119869
119454
  phase.actions.move(point2);
119870
119455
  return;
119871
119456
  }
119872
- !(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;
119873
119458
  const pending = phase.point;
119874
119459
  if (!isSloppyClickThresholdExceeded(pending, point2)) {
119875
119460
  return;
@@ -119942,7 +119527,7 @@ ${seq.sequence}
119942
119527
  eventName: "webkitmouseforcedown",
119943
119528
  fn: (event) => {
119944
119529
  const phase = getPhase();
119945
- !(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;
119946
119531
  if (phase.actions.shouldRespectForcePress()) {
119947
119532
  cancel();
119948
119533
  return;
@@ -120065,7 +119650,7 @@ ${seq.sequence}
120065
119650
  unbindEventsRef.current = bindEvents(window, bindings, options);
120066
119651
  }, "bindCapturingEvents"), [cancel, stop]);
120067
119652
  const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
120068
- !(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;
120069
119654
  phaseRef.current = {
120070
119655
  type: "PENDING",
120071
119656
  point: point2,
@@ -120207,7 +119792,7 @@ ${seq.sequence}
120207
119792
  const actions2 = preDrag.snapLift();
120208
119793
  unbindEventsRef.current();
120209
119794
  function stop() {
120210
- !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;
120211
119796
  isCapturing = false;
120212
119797
  unbindEventsRef.current();
120213
119798
  listenForCapture();
@@ -120342,7 +119927,7 @@ ${seq.sequence}
120342
119927
  eventName: "touchforcechange",
120343
119928
  fn: (event) => {
120344
119929
  const phase = getPhase();
120345
- !(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;
120346
119931
  const touch = event.touches[0];
120347
119932
  if (!touch) {
120348
119933
  return;
@@ -120471,7 +120056,7 @@ ${seq.sequence}
120471
120056
  }, "bindCapturingEvents"), [cancel, getPhase, stop]);
120472
120057
  const startDragging = useCallback(/* @__PURE__ */ __name(function startDragging2() {
120473
120058
  const phase = getPhase();
120474
- !(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;
120475
120060
  const actions2 = phase.actions.fluidLift(phase.point);
120476
120061
  setPhase({
120477
120062
  type: "DRAGGING",
@@ -120480,7 +120065,7 @@ ${seq.sequence}
120480
120065
  });
120481
120066
  }, "startDragging"), [getPhase, setPhase]);
120482
120067
  const startPendingDrag = useCallback(/* @__PURE__ */ __name(function startPendingDrag2(actions2, point2) {
120483
- !(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;
120484
120069
  const longPressTimerId = setTimeout(startDragging, timeForLongPress);
120485
120070
  setPhase({
120486
120071
  type: "PENDING",
@@ -120519,7 +120104,7 @@ ${seq.sequence}
120519
120104
  useDev(() => {
120520
120105
  const previousRef = usePrevious(sensorHooks);
120521
120106
  useDevSetupWarning(() => {
120522
- !(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;
120523
120108
  });
120524
120109
  });
120525
120110
  }
@@ -120589,7 +120174,7 @@ ${seq.sequence}
120589
120174
  function findClosestDragHandleFromEvent(contextId, event) {
120590
120175
  const target = event.target;
120591
120176
  if (!isElement$1(target)) {
120592
- 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;
120593
120178
  return null;
120594
120179
  }
120595
120180
  const selector = getSelector(contextId);
@@ -120598,7 +120183,7 @@ ${seq.sequence}
120598
120183
  return null;
120599
120184
  }
120600
120185
  if (!isHtmlElement(handle)) {
120601
- 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;
120602
120187
  return null;
120603
120188
  }
120604
120189
  return handle;
@@ -120622,7 +120207,7 @@ ${seq.sequence}
120622
120207
  return null;
120623
120208
  }
120624
120209
  if (!isHtmlElement(draggable$1)) {
120625
- 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;
120626
120211
  return null;
120627
120212
  }
120628
120213
  return draggable$1;
@@ -120641,7 +120226,7 @@ ${seq.sequence}
120641
120226
  } = _ref;
120642
120227
  if (!isLockActive()) {
120643
120228
  if (shouldWarn) {
120644
- process.env.NODE_ENV !== "production" ? warning(`
120229
+ production !== "production" ? warning(`
120645
120230
  Cannot perform action.
120646
120231
  The sensor no longer has an action lock.
120647
120232
 
@@ -120655,7 +120240,7 @@ ${seq.sequence}
120655
120240
  }
120656
120241
  if (expected !== phase) {
120657
120242
  if (shouldWarn) {
120658
- process.env.NODE_ENV !== "production" ? warning(`
120243
+ production !== "production" ? warning(`
120659
120244
  Cannot perform action.
120660
120245
  The actions you used belong to an outdated phase
120661
120246
 
@@ -120684,7 +120269,7 @@ ${seq.sequence}
120684
120269
  }
120685
120270
  const entry = registry.draggable.findById(draggableId);
120686
120271
  if (!entry) {
120687
- 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;
120688
120273
  return false;
120689
120274
  }
120690
120275
  if (!entry.options.isEnabled) {
@@ -120718,7 +120303,7 @@ ${seq.sequence}
120718
120303
  const entry = registry.draggable.getById(draggableId);
120719
120304
  const el = findDraggable(contextId, entry.descriptor.id);
120720
120305
  if (!el) {
120721
- 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;
120722
120307
  return null;
120723
120308
  }
120724
120309
  if (sourceEvent && !entry.options.canDragInteractiveElements && isEventInInteractiveElement(el, sourceEvent)) {
@@ -120754,7 +120339,7 @@ ${seq.sequence}
120754
120339
  __name(completed, "completed");
120755
120340
  if (phase !== "PRE_DRAG") {
120756
120341
  completed();
120757
- 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);
120758
120343
  }
120759
120344
  store2.dispatch(lift$1(args.liftActionArgs));
120760
120345
  phase = "DRAGGING";
@@ -120959,7 +120544,7 @@ ${seq.sequence}
120959
120544
  durationDampening: __spreadValues(__spreadValues({}, defaultAutoScrollerOptions.durationDampening), props.autoScrollerOptions)
120960
120545
  }), "createAutoScrollerOptions");
120961
120546
  function getStore(lazyRef) {
120962
- !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;
120963
120548
  return lazyRef.current;
120964
120549
  }
120965
120550
  __name(getStore, "getStore");
@@ -121016,9 +120601,9 @@ ${seq.sequence}
121016
120601
  getResponders,
121017
120602
  styleMarshal
121018
120603
  }), [announce, autoScroller, dimensionMarshal, focusMarshal, getResponders, styleMarshal]);
121019
- if (process.env.NODE_ENV !== "production") {
120604
+ if (production !== "production") {
121020
120605
  if (lazyStoreRef.current && lazyStoreRef.current !== store2) {
121021
- process.env.NODE_ENV !== "production" ? warning("unexpected store change") : void 0;
120606
+ production !== "production" ? warning("unexpected store change") : void 0;
121022
120607
  }
121023
120608
  }
121024
120609
  lazyStoreRef.current = store2;
@@ -121210,7 +120795,7 @@ ${seq.sequence}
121210
120795
  }), [canDragInteractiveElements, isEnabled, shouldRespectForcePress]);
121211
120796
  const getDimension2 = useCallback((windowScroll) => {
121212
120797
  const el = getDraggableRef();
121213
- !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;
121214
120799
  return getDimension$1(descriptor2, el, windowScroll);
121215
120800
  }, [descriptor2, getDraggableRef]);
121216
120801
  const entry = useMemo(() => ({
@@ -121238,7 +120823,7 @@ ${seq.sequence}
121238
120823
  __name(useDraggablePublisher, "useDraggablePublisher");
121239
120824
  var DroppableContext = React$3.createContext(null);
121240
120825
  function checkIsValidInnerRef(el) {
121241
- !(el && isHtmlElement(el)) ? process.env.NODE_ENV !== "production" ? invariant$1(false, `
120826
+ !(el && isHtmlElement(el)) ? production !== "production" ? invariant$1(false, `
121242
120827
  provided.innerRef has not been provided with a HTMLElement.
121243
120828
 
121244
120829
  You can find a guide on using the innerRef callback functions at:
@@ -121253,16 +120838,16 @@ ${seq.sequence}
121253
120838
  }
121254
120839
  __name(prefix2, "prefix");
121255
120840
  const id2 = props.draggableId;
121256
- !id2 ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Draggable requires a draggableId") : invariant$1(false) : void 0;
121257
- !(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.
121258
120843
  Provided: [type: ${typeof id2}] (value: ${id2})`) : invariant$1(false) : void 0;
121259
- !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;
121260
120845
  if (props.mapped.type === "DRAGGING") {
121261
120846
  return;
121262
120847
  }
121263
120848
  checkIsValidInnerRef(getRef());
121264
120849
  if (props.isEnabled) {
121265
- !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;
121266
120851
  }
121267
120852
  });
121268
120853
  }
@@ -121271,14 +120856,14 @@ ${seq.sequence}
121271
120856
  useDev(() => {
121272
120857
  const initialRef = React$3.useRef(isClone);
121273
120858
  useDevSetupWarning(() => {
121274
- !(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;
121275
120860
  }, [isClone]);
121276
120861
  });
121277
120862
  }
121278
120863
  __name(useClonePropValidation, "useClonePropValidation");
121279
120864
  function useRequiredContext(Context2) {
121280
120865
  const result = React$3.useContext(Context2);
121281
- !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;
121282
120867
  return result;
121283
120868
  }
121284
120869
  __name(useRequiredContext, "useRequiredContext");
@@ -121649,12 +121234,12 @@ ${seq.sequence}
121649
121234
  return isEither(overflow2, isScroll) || isEither(overflow2, isAuto$1);
121650
121235
  }, "isElementScrollable");
121651
121236
  const isBodyScrollable = /* @__PURE__ */ __name(() => {
121652
- if (process.env.NODE_ENV === "production") {
121237
+ if (production === "production") {
121653
121238
  return false;
121654
121239
  }
121655
121240
  const body = getBodyElement();
121656
121241
  const html2 = document.documentElement;
121657
- !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;
121658
121243
  if (!isElementScrollable(body)) {
121659
121244
  return false;
121660
121245
  }
@@ -121666,7 +121251,7 @@ ${seq.sequence}
121666
121251
  if (isBoth(htmlOverflow, isVisible)) {
121667
121252
  return false;
121668
121253
  }
121669
- process.env.NODE_ENV !== "production" ? warning(`
121254
+ production !== "production" ? warning(`
121670
121255
  We have detected that your <body> element might be a scroll container.
121671
121256
  We have found no reliable way of detecting whether the <body> element is a scroll container.
121672
121257
  Under most circumstances a <body> scroll bar will be on the <html> element (document.documentElement)
@@ -121702,7 +121287,7 @@ ${seq.sequence}
121702
121287
  if (!anotherScrollParent) {
121703
121288
  return;
121704
121289
  }
121705
- process.env.NODE_ENV !== "production" ? warning(`
121290
+ production !== "production" ? warning(`
121706
121291
  Droppable: unsupported nested scroll container detected.
121707
121292
  A Droppable can only have one scroll parent (which can be itself)
121708
121293
  Nested scroll containers are currently not supported.
@@ -121887,7 +121472,7 @@ ${seq.sequence}
121887
121472
  }), [args.droppableId, args.mode, args.type]);
121888
121473
  const publishedDescriptorRef = React$3.useRef(descriptor2);
121889
121474
  const memoizedUpdateScroll = useMemo(() => memoizeOne((x2, y2) => {
121890
- !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;
121891
121476
  const scroll3 = {
121892
121477
  x: x2,
121893
121478
  y: y2
@@ -121909,7 +121494,7 @@ ${seq.sequence}
121909
121494
  const onClosestScroll = useCallback(() => {
121910
121495
  const dragging = whileDraggingRef.current;
121911
121496
  const closest2 = getClosestScrollableFromDrag(dragging);
121912
- !(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;
121913
121498
  const options = dragging.scrollOptions;
121914
121499
  if (options.shouldPublishImmediately) {
121915
121500
  updateScroll();
@@ -121918,10 +121503,10 @@ ${seq.sequence}
121918
121503
  scheduleScrollUpdate();
121919
121504
  }, [scheduleScrollUpdate, updateScroll]);
121920
121505
  const getDimensionAndWatchScroll = useCallback((windowScroll, options) => {
121921
- !!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;
121922
121507
  const previous2 = previousRef.current;
121923
121508
  const ref = previous2.getDroppableRef();
121924
- !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;
121925
121510
  const env = getEnv(ref);
121926
121511
  const dragging = {
121927
121512
  ref,
@@ -121944,7 +121529,7 @@ ${seq.sequence}
121944
121529
  if (scrollable) {
121945
121530
  scrollable.setAttribute(scrollContainer.contextId, appContext.contextId);
121946
121531
  scrollable.addEventListener("scroll", onClosestScroll, getListenerOptions(dragging.scrollOptions));
121947
- if (process.env.NODE_ENV !== "production") {
121532
+ if (production !== "production") {
121948
121533
  checkForNestedScrollContainers(scrollable);
121949
121534
  }
121950
121535
  }
@@ -121953,12 +121538,12 @@ ${seq.sequence}
121953
121538
  const getScrollWhileDragging = useCallback(() => {
121954
121539
  const dragging = whileDraggingRef.current;
121955
121540
  const closest2 = getClosestScrollableFromDrag(dragging);
121956
- !(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;
121957
121542
  return getScroll$2(closest2);
121958
121543
  }, []);
121959
121544
  const dragStopped = useCallback(() => {
121960
121545
  const dragging = whileDraggingRef.current;
121961
- !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;
121962
121547
  const closest2 = getClosestScrollableFromDrag(dragging);
121963
121548
  whileDraggingRef.current = null;
121964
121549
  if (!closest2) {
@@ -121974,9 +121559,9 @@ ${seq.sequence}
121974
121559
  }, [onClosestScroll, scheduleScrollUpdate]);
121975
121560
  const scroll2 = useCallback((change) => {
121976
121561
  const dragging = whileDraggingRef.current;
121977
- !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;
121978
121563
  const closest2 = getClosestScrollableFromDrag(dragging);
121979
- !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;
121980
121565
  closest2.scrollTop += change.y;
121981
121566
  closest2.scrollLeft += change.x;
121982
121567
  }, []);
@@ -121998,7 +121583,7 @@ ${seq.sequence}
121998
121583
  registry.droppable.register(entry);
121999
121584
  return () => {
122000
121585
  if (whileDraggingRef.current) {
122001
- 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;
122002
121587
  dragStopped();
122003
121588
  }
122004
121589
  registry.droppable.unregister(entry);
@@ -122138,15 +121723,15 @@ ${seq.sequence}
122138
121723
  let {
122139
121724
  props
122140
121725
  } = _ref;
122141
- !props.droppableId ? process.env.NODE_ENV !== "production" ? invariant$1(false, "A Droppable requires a droppableId prop") : invariant$1(false) : void 0;
122142
- !(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;
122143
121728
  }, "required"), /* @__PURE__ */ __name(function boolean2(_ref2) {
122144
121729
  let {
122145
121730
  props
122146
121731
  } = _ref2;
122147
- !isBoolean(props.isDropDisabled) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "isDropDisabled must be a boolean") : invariant$1(false) : void 0;
122148
- !isBoolean(props.isCombineEnabled) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "isCombineEnabled must be a boolean") : invariant$1(false) : void 0;
122149
- !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;
122150
121735
  }, "boolean"), /* @__PURE__ */ __name(function ref(_ref3) {
122151
121736
  let {
122152
121737
  getDroppableRef
@@ -122165,7 +121750,7 @@ ${seq.sequence}
122165
121750
  if (ref) {
122166
121751
  return;
122167
121752
  }
122168
- process.env.NODE_ENV !== "production" ? warning(`
121753
+ production !== "production" ? warning(`
122169
121754
  Droppable setup issue [droppableId: "${props.droppableId}"]:
122170
121755
  DroppableProvided > placeholder could not be found.
122171
121756
 
@@ -122177,12 +121762,12 @@ ${seq.sequence}
122177
121762
  let {
122178
121763
  props
122179
121764
  } = _ref5;
122180
- !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;
122181
121766
  }, "hasClone"), /* @__PURE__ */ __name(function hasNoPlaceholder(_ref6) {
122182
121767
  let {
122183
121768
  getPlaceholderRef
122184
121769
  } = _ref6;
122185
- !!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;
122186
121771
  }, "hasNoPlaceholder")];
122187
121772
  function useValidation(args) {
122188
121773
  useDevSetupWarning(() => {
@@ -122256,7 +121841,7 @@ ${seq.sequence}
122256
121841
  __name(AnimateInOut, "AnimateInOut");
122257
121842
  const Droppable = /* @__PURE__ */ __name((props) => {
122258
121843
  const appContext = React$3.useContext(AppContext);
122259
- !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;
122260
121845
  const {
122261
121846
  contextId,
122262
121847
  isMovementAllowed: isMovementAllowed2
@@ -122480,7 +122065,7 @@ ${seq.sequence}
122480
122065
  updateViewportMaxScroll
122481
122066
  };
122482
122067
  function getBody() {
122483
- !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;
122484
122069
  return document.body;
122485
122070
  }
122486
122071
  __name(getBody, "getBody");
@@ -124563,7 +124148,7 @@ ${seq.sequence}
124563
124148
  });
124564
124149
  DraggableCore$2.default = void 0;
124565
124150
  var React$1 = _interopRequireWildcard(React$3);
124566
- var _propTypes = _interopRequireDefault(propTypesExports);
124151
+ var _propTypes = _interopRequireDefault(requirePropTypes());
124567
124152
  var _reactDom = _interopRequireDefault(ReactDOM$1);
124568
124153
  var _domFns = domFns;
124569
124154
  var _positionFns = positionFns;
@@ -125151,7 +124736,7 @@ ${seq.sequence}
125151
124736
  });
125152
124737
  exports3.default = void 0;
125153
124738
  var React2 = _interopRequireWildcard2(React$3);
125154
- var _propTypes2 = _interopRequireDefault2(propTypesExports);
124739
+ var _propTypes2 = _interopRequireDefault2(requirePropTypes());
125155
124740
  var _reactDom2 = _interopRequireDefault2(ReactDOM$1);
125156
124741
  var _clsx2 = _interopRequireDefault2(require$$3);
125157
124742
  var _domFns2 = domFns;
@@ -126146,8 +125731,8 @@ ${seq.sequence}
126146
125731
  }
126147
125732
  __name(Caret$2, "Caret$2");
126148
125733
  const isEq = /* @__PURE__ */ __name((o1, o2) => {
126149
- const isEq2 = _$2.isEqualWith(o1, o2, function(val1, val2) {
126150
- 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)) {
126151
125736
  return val1 === val2 || val1.toString() === val2.toString();
126152
125737
  }
126153
125738
  });
@@ -130928,7 +130513,7 @@ double click --> edit`}`;
130928
130513
  }
130929
130514
  __name(showFileDialog, "showFileDialog");
130930
130515
  const name = "@teselagen/ove";
130931
- const version = "0.0.7";
130516
+ const version = "0.0.8";
130932
130517
  const main = "./index.js";
130933
130518
  const types$1 = "./index.d.ts";
130934
130519
  const type = "commonjs";
@@ -136917,7 +136502,7 @@ double click --> edit`}`;
136917
136502
  transform(value, _k, config) {
136918
136503
  const transform2 = value || config.shared.transform;
136919
136504
  this.hasCustomTransform = !!transform2;
136920
- if (process.env.NODE_ENV === "development") {
136505
+ if (production === "development") {
136921
136506
  const originalTransform = transform2 || identity;
136922
136507
  return (v2) => {
136923
136508
  const r2 = originalTransform(v2);
@@ -136933,7 +136518,7 @@ double click --> edit`}`;
136933
136518
  return V$1.toVector(value, 0);
136934
136519
  }
136935
136520
  };
136936
- if (process.env.NODE_ENV === "development") {
136521
+ if (production === "development") {
136937
136522
  Object.assign(commonConfigResolver, {
136938
136523
  domTarget(value) {
136939
136524
  if (value !== void 0) {
@@ -137108,7 +136693,7 @@ double click --> edit`}`;
137108
136693
  return value;
137109
136694
  }
137110
136695
  });
137111
- if (process.env.NODE_ENV === "development") {
136696
+ if (production === "development") {
137112
136697
  Object.assign(dragConfigResolver, {
137113
136698
  useTouch(value) {
137114
136699
  if (value !== void 0) {
@@ -137387,7 +136972,7 @@ double click --> edit`}`;
137387
136972
  if (event.cancelable) {
137388
136973
  event.preventDefault();
137389
136974
  }
137390
- if (process.env.NODE_ENV === "development" && !event.defaultPrevented) {
136975
+ if (production === "development" && !event.defaultPrevented) {
137391
136976
  console.warn(`[@use-gesture]: To properly support zoom on trackpads, try using the \`target\` option.
137392
136977
 
137393
136978
  This message will only appear in development mode.`);
@@ -137564,7 +137149,7 @@ This message will only appear in development mode.`);
137564
137149
  for (const [key2, resolver2] of Object.entries(resolvers)) {
137565
137150
  switch (typeof resolver2) {
137566
137151
  case "function":
137567
- if (process.env.NODE_ENV === "development") {
137152
+ if (production === "development") {
137568
137153
  const r2 = resolver2.call(result, config[key2], key2, config);
137569
137154
  if (!Number.isNaN(r2))
137570
137155
  result[key2] = r2;
@@ -137611,7 +137196,7 @@ This message will only appear in development mode.`);
137611
137196
  _config[key2] = resolveWith(_objectSpread2$1({
137612
137197
  shared: _config.shared
137613
137198
  }, rest[key2]), resolver2);
137614
- } else if (process.env.NODE_ENV === "development") {
137199
+ } else if (production === "development") {
137615
137200
  if (!["drag", "pinch", "scroll", "wheel", "move", "hover"].includes(key2)) {
137616
137201
  if (key2 === "domTarget") {
137617
137202
  throw Error(`[@use-gesture]: \`domTarget\` option has been renamed to \`target\`.`);
@@ -149880,7 +149465,7 @@ ${seqDataToCopy}\r
149880
149465
  //
149881
149466
  /////////////////////////////////////////////////////////
149882
149467
  isSplitterElement(element2) {
149883
- 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;
149884
149469
  }
149885
149470
  /////////////////////////////////////////////////////////
149886
149471
  // Handles splitter stopResize event