@teselagen/ove 0.3.8 → 0.3.10

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.
package/index.umd.js CHANGED
@@ -491,10 +491,7 @@
491
491
  if (typeof f == "function") {
492
492
  var a = function a () {
493
493
  if (this instanceof a) {
494
- var args = [null];
495
- args.push.apply(args, arguments);
496
- var Ctor = Function.bind.apply(f, args);
497
- return new Ctor();
494
+ return Reflect.construct(f, arguments, this.constructor);
498
495
  }
499
496
  return f.apply(this, arguments);
500
497
  };
@@ -22156,7 +22153,7 @@
22156
22153
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22157
22154
  PERFORMANCE OF THIS SOFTWARE.
22158
22155
  ***************************************************************************** */
22159
- /* global Reflect, Promise */
22156
+ /* global Reflect, Promise, SuppressedError, Symbol */
22160
22157
 
22161
22158
 
22162
22159
  function __awaiter$1(thisArg, _arguments, P, generator) {
@@ -22221,6 +22218,11 @@
22221
22218
  return ar;
22222
22219
  }
22223
22220
 
22221
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
22222
+ var e = new Error(message);
22223
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
22224
+ };
22225
+
22224
22226
  var COMMON_MIME_TYPES = new Map([
22225
22227
  // https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
22226
22228
  ['aac', 'audio/aac'],
@@ -25758,19 +25760,20 @@
25758
25760
  }
25759
25761
  }
25760
25762
  };
25761
- _proto.getDisposer_ = function getDisposer_() {
25762
- var r = this.dispose.bind(this);
25763
- r[$mobx] = this;
25764
- return r;
25763
+ _proto.getDisposer_ = function getDisposer_(abortSignal) {
25764
+ var _this2 = this;
25765
+ var dispose = function dispose() {
25766
+ _this2.dispose();
25767
+ abortSignal == null ? void 0 : abortSignal.removeEventListener == null ? void 0 : abortSignal.removeEventListener("abort", dispose);
25768
+ };
25769
+ abortSignal == null ? void 0 : abortSignal.addEventListener == null ? void 0 : abortSignal.addEventListener("abort", dispose);
25770
+ dispose[$mobx] = this;
25771
+ return dispose;
25765
25772
  };
25766
25773
  _proto.toString = function toString() {
25767
25774
  return "Reaction[" + this.name_ + "]";
25768
25775
  };
25769
25776
  _proto.trace = function trace$1(enterBreakPoint) {
25770
- if (enterBreakPoint === void 0) {
25771
- enterBreakPoint = false;
25772
- }
25773
- trace(this, enterBreakPoint);
25774
25777
  };
25775
25778
  return Reaction;
25776
25779
  }();
@@ -25902,7 +25905,7 @@
25902
25905
  * @returns disposer function, which can be used to stop the view from being updated in the future.
25903
25906
  */
25904
25907
  function autorun(view, opts) {
25905
- var _opts$name, _opts;
25908
+ var _opts$name, _opts, _opts2, _opts2$signal, _opts3;
25906
25909
  if (opts === void 0) {
25907
25910
  opts = EMPTY_OBJECT;
25908
25911
  }
@@ -25933,8 +25936,10 @@
25933
25936
  function reactionRunner() {
25934
25937
  view(reaction);
25935
25938
  }
25936
- reaction.schedule_();
25937
- return reaction.getDisposer_();
25939
+ if (!((_opts2 = opts) != null && (_opts2$signal = _opts2.signal) != null && _opts2$signal.aborted)) {
25940
+ reaction.schedule_();
25941
+ }
25942
+ return reaction.getDisposer_((_opts3 = opts) == null ? void 0 : _opts3.signal);
25938
25943
  }
25939
25944
  var run = function run(f) {
25940
25945
  return f();
@@ -26151,37 +26156,6 @@
26151
26156
  return _isObservable(value);
26152
26157
  }
26153
26158
 
26154
- function trace() {
26155
- {
26156
- die("trace() is not available in production builds");
26157
- }
26158
- var enterBreakPoint = false;
26159
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
26160
- args[_key] = arguments[_key];
26161
- }
26162
- if (typeof args[args.length - 1] === "boolean") {
26163
- enterBreakPoint = args.pop();
26164
- }
26165
- var derivation = getAtomFromArgs(args);
26166
- if (!derivation) {
26167
- return die("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");
26168
- }
26169
- if (derivation.isTracing_ === TraceMode.NONE) {
26170
- console.log("[mobx.trace] '" + derivation.name_ + "' tracing enabled");
26171
- }
26172
- derivation.isTracing_ = enterBreakPoint ? TraceMode.BREAK : TraceMode.LOG;
26173
- }
26174
- function getAtomFromArgs(args) {
26175
- switch (args.length) {
26176
- case 0:
26177
- return globalState.trackingDerivation;
26178
- case 1:
26179
- return getAtom(args[0]);
26180
- case 2:
26181
- return getAtom(args[0], args[1]);
26182
- }
26183
- }
26184
-
26185
26159
  /**
26186
26160
  * During a transaction no views are updated until the end of the transaction.
26187
26161
  * The transaction will be run synchronously nonetheless.
@@ -29935,36 +29909,35 @@
29935
29909
 
29936
29910
  const getBatch = () => batch$2;
29937
29911
 
29938
- const ContextKey = Symbol.for(`react-redux-context-${reactExports.version}`);
29939
- const gT = globalThis;
29912
+ const ContextKey = Symbol.for(`react-redux-context`);
29913
+ const gT = typeof globalThis !== "undefined" ? globalThis :
29914
+ /* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
29915
+ {};
29940
29916
 
29941
29917
  function getContext() {
29942
- let realContext = gT[ContextKey];
29918
+ var _gT$ContextKey;
29919
+
29920
+ if (!reactExports.createContext) return {};
29921
+ const contextMap = (_gT$ContextKey = gT[ContextKey]) != null ? _gT$ContextKey : gT[ContextKey] = new Map();
29922
+ let realContext = contextMap.get(reactExports.createContext);
29943
29923
 
29944
29924
  if (!realContext) {
29945
29925
  realContext = reactExports.createContext(null);
29946
29926
 
29947
- gT[ContextKey] = realContext;
29927
+ contextMap.set(reactExports.createContext, realContext);
29948
29928
  }
29949
29929
 
29950
29930
  return realContext;
29951
29931
  }
29952
29932
 
29953
- const ReactReduxContext = /*#__PURE__*/new Proxy({}, /*#__PURE__*/new Proxy({}, {
29954
- get(_, handler) {
29955
- const target = getContext(); // @ts-ignore
29956
-
29957
- return (_target, ...args) => Reflect[handler](target, ...args);
29958
- }
29959
-
29960
- }));
29933
+ const ReactReduxContext = /*#__PURE__*/getContext();
29961
29934
 
29962
- /**
29963
- * Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level
29964
- * hook that you should usually not need to call directly.
29965
- *
29966
- * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
29967
- * @returns {Function} A `useReduxContext` hook bound to the specified context.
29935
+ /**
29936
+ * Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level
29937
+ * hook that you should usually not need to call directly.
29938
+ *
29939
+ * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
29940
+ * @returns {Function} A `useReduxContext` hook bound to the specified context.
29968
29941
  */
29969
29942
  function createReduxContextHook(context = ReactReduxContext) {
29970
29943
  return function useReduxContext() {
@@ -29973,21 +29946,21 @@
29973
29946
  return contextValue;
29974
29947
  };
29975
29948
  }
29976
- /**
29977
- * A hook to access the value of the `ReactReduxContext`. This is a low-level
29978
- * hook that you should usually not need to call directly.
29979
- *
29980
- * @returns {any} the value of the `ReactReduxContext`
29981
- *
29982
- * @example
29983
- *
29984
- * import React from 'react'
29985
- * import { useReduxContext } from 'react-redux'
29986
- *
29987
- * export const CounterComponent = () => {
29988
- * const { store } = useReduxContext()
29989
- * return <div>{store.getState()}</div>
29990
- * }
29949
+ /**
29950
+ * A hook to access the value of the `ReactReduxContext`. This is a low-level
29951
+ * hook that you should usually not need to call directly.
29952
+ *
29953
+ * @returns {any} the value of the `ReactReduxContext`
29954
+ *
29955
+ * @example
29956
+ *
29957
+ * import React from 'react'
29958
+ * import { useReduxContext } from 'react-redux'
29959
+ *
29960
+ * export const CounterComponent = () => {
29961
+ * const { store } = useReduxContext()
29962
+ * return <div>{store.getState()}</div>
29963
+ * }
29991
29964
  */
29992
29965
 
29993
29966
  const useReduxContext = /*#__PURE__*/createReduxContextHook();
@@ -30610,25 +30583,25 @@
30610
30583
  function strictEqual(a, b) {
30611
30584
  return a === b;
30612
30585
  }
30613
- /**
30614
- * Connects a React component to a Redux store.
30615
- *
30616
- * - Without arguments, just wraps the component, without changing the behavior / props
30617
- *
30618
- * - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior
30619
- * is to override ownProps (as stated in the docs), so what remains is everything that's
30620
- * not a state or dispatch prop
30621
- *
30622
- * - When 3rd param is passed, we don't know if ownProps propagate and whether they
30623
- * should be valid component props, because it depends on mergeProps implementation.
30624
- * As such, it is the user's responsibility to extend ownProps interface from state or
30625
- * dispatch props or both when applicable
30626
- *
30627
- * @param mapStateToProps A function that extracts values from state
30628
- * @param mapDispatchToProps Setup for dispatching actions
30629
- * @param mergeProps Optional callback to merge state and dispatch props together
30630
- * @param options Options for configuring the connection
30631
- *
30586
+ /**
30587
+ * Connects a React component to a Redux store.
30588
+ *
30589
+ * - Without arguments, just wraps the component, without changing the behavior / props
30590
+ *
30591
+ * - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior
30592
+ * is to override ownProps (as stated in the docs), so what remains is everything that's
30593
+ * not a state or dispatch prop
30594
+ *
30595
+ * - When 3rd param is passed, we don't know if ownProps propagate and whether they
30596
+ * should be valid component props, because it depends on mergeProps implementation.
30597
+ * As such, it is the user's responsibility to extend ownProps interface from state or
30598
+ * dispatch props or both when applicable
30599
+ *
30600
+ * @param mapStateToProps A function that extracts values from state
30601
+ * @param mapDispatchToProps Setup for dispatching actions
30602
+ * @param mergeProps Optional callback to merge state and dispatch props together
30603
+ * @param options Options for configuring the connection
30604
+ *
30632
30605
  */
30633
30606
 
30634
30607
  function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
@@ -30687,7 +30660,7 @@
30687
30660
  // Users may optionally pass in a custom context instance to use instead of our ReactReduxContext.
30688
30661
  // Memoize the check that determines which context instance we should use.
30689
30662
  return propsContext && propsContext.Consumer && // @ts-ignore
30690
- reactIsExports$1.isContextConsumer( /*#__PURE__*/React$3.createElement(propsContext.Consumer, null)) ? propsContext : Context;
30663
+ reactIsExports$1.isContextConsumer( /*#__PURE__*/reactExports.createElement(propsContext.Consumer, null)) ? propsContext : Context;
30691
30664
  }, [propsContext, Context]); // Retrieve the store and ancestor subscription via context, if available
30692
30665
 
30693
30666
  const contextValue = reactExports.useContext(ContextToUse); // The store _must_ exist as either a prop or in context.
@@ -30810,7 +30783,7 @@
30810
30783
  return (
30811
30784
  /*#__PURE__*/
30812
30785
  // @ts-ignore
30813
- React$3.createElement(WrappedComponent, _extends$u({}, actualChildProps, {
30786
+ reactExports.createElement(WrappedComponent, _extends$u({}, actualChildProps, {
30814
30787
  ref: reactReduxForwardedRef
30815
30788
  }))
30816
30789
  );
@@ -30822,7 +30795,7 @@
30822
30795
  // If this component is subscribed to store updates, we need to pass its own
30823
30796
  // subscription instance down to our descendants. That means rendering the same
30824
30797
  // Context instance, and putting a different value into the context.
30825
- return /*#__PURE__*/React$3.createElement(ContextToUse.Provider, {
30798
+ return /*#__PURE__*/reactExports.createElement(ContextToUse.Provider, {
30826
30799
  value: overriddenContextValue
30827
30800
  }, renderedWrappedComponent);
30828
30801
  }
@@ -30832,7 +30805,7 @@
30832
30805
  return renderedChild;
30833
30806
  }
30834
30807
 
30835
- const _Connect = React$3.memo(ConnectFunction);
30808
+ const _Connect = reactExports.memo(ConnectFunction);
30836
30809
 
30837
30810
  // Add a hacky cast to get the right output type
30838
30811
  const Connect = _Connect;
@@ -30840,9 +30813,9 @@
30840
30813
  Connect.displayName = ConnectFunction.displayName = displayName;
30841
30814
 
30842
30815
  if (forwardRef) {
30843
- const _forwarded = React$3.forwardRef(function forwardConnectRef(props, ref) {
30816
+ const _forwarded = reactExports.forwardRef(function forwardConnectRef(props, ref) {
30844
30817
  // @ts-ignore
30845
- return /*#__PURE__*/React$3.createElement(Connect, _extends$u({}, props, {
30818
+ return /*#__PURE__*/reactExports.createElement(Connect, _extends$u({}, props, {
30846
30819
  reactReduxForwardedRef: ref
30847
30820
  }));
30848
30821
  });
@@ -30896,16 +30869,16 @@
30896
30869
  }, [contextValue, previousState]);
30897
30870
  const Context = context || ReactReduxContext; // @ts-ignore 'AnyAction' is assignable to the constraint of type 'A', but 'A' could be instantiated with a different subtype
30898
30871
 
30899
- return /*#__PURE__*/React$3.createElement(Context.Provider, {
30872
+ return /*#__PURE__*/reactExports.createElement(Context.Provider, {
30900
30873
  value: contextValue
30901
30874
  }, children);
30902
30875
  }
30903
30876
 
30904
- /**
30905
- * Hook factory, which creates a `useStore` hook bound to a given context.
30906
- *
30907
- * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
30908
- * @returns {Function} A `useStore` hook bound to the specified context.
30877
+ /**
30878
+ * Hook factory, which creates a `useStore` hook bound to a given context.
30879
+ *
30880
+ * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
30881
+ * @returns {Function} A `useStore` hook bound to the specified context.
30909
30882
  */
30910
30883
 
30911
30884
  function createStoreHook(context = ReactReduxContext) {
@@ -30920,20 +30893,20 @@
30920
30893
  return store;
30921
30894
  };
30922
30895
  }
30923
- /**
30924
- * A hook to access the redux store.
30925
- *
30926
- * @returns {any} the redux store
30927
- *
30928
- * @example
30929
- *
30930
- * import React from 'react'
30931
- * import { useStore } from 'react-redux'
30932
- *
30933
- * export const ExampleComponent = () => {
30934
- * const store = useStore()
30935
- * return <div>{store.getState()}</div>
30936
- * }
30896
+ /**
30897
+ * A hook to access the redux store.
30898
+ *
30899
+ * @returns {any} the redux store
30900
+ *
30901
+ * @example
30902
+ *
30903
+ * import React from 'react'
30904
+ * import { useStore } from 'react-redux'
30905
+ *
30906
+ * export const ExampleComponent = () => {
30907
+ * const store = useStore()
30908
+ * return <div>{store.getState()}</div>
30909
+ * }
30937
30910
  */
30938
30911
 
30939
30912
  const useStore = /*#__PURE__*/createStoreHook();
@@ -57088,17 +57061,17 @@
57088
57061
  throw TypeError("Can't convert object to primitive value");
57089
57062
  };
57090
57063
 
57091
- var anObject$5 = _anObject;
57064
+ var anObject$3 = _anObject;
57092
57065
  var IE8_DOM_DEFINE$1 = _ie8DomDefine;
57093
57066
  var toPrimitive$2 = _toPrimitive$1;
57094
- var dP$3 = Object.defineProperty;
57067
+ var dP$2 = Object.defineProperty;
57095
57068
 
57096
57069
  _objectDp.f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
57097
- anObject$5(O);
57070
+ anObject$3(O);
57098
57071
  P = toPrimitive$2(P, true);
57099
- anObject$5(Attributes);
57072
+ anObject$3(Attributes);
57100
57073
  if (IE8_DOM_DEFINE$1) try {
57101
- return dP$3(O, P, Attributes);
57074
+ return dP$2(O, P, Attributes);
57102
57075
  } catch (e) { /* empty */ }
57103
57076
  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
57104
57077
  if ('value' in Attributes) O[P] = Attributes.value;
@@ -57114,10 +57087,10 @@
57114
57087
  };
57115
57088
  };
57116
57089
 
57117
- var dP$2 = _objectDp;
57090
+ var dP$1 = _objectDp;
57118
57091
  var createDesc$3 = _propertyDesc;
57119
57092
  var _hide = _descriptors ? function (object, key, value) {
57120
- return dP$2.f(object, key, createDesc$3(1, value));
57093
+ return dP$1.f(object, key, createDesc$3(1, value));
57121
57094
  } : function (object, key, value) {
57122
57095
  object[key] = value;
57123
57096
  return object;
@@ -57133,7 +57106,7 @@
57133
57106
  var ctx$1 = _ctx;
57134
57107
  var hide$2 = _hide;
57135
57108
  var has$d = _has;
57136
- var PROTOTYPE$2 = 'prototype';
57109
+ var PROTOTYPE$1 = 'prototype';
57137
57110
 
57138
57111
  var $export$8 = function (type, name, source) {
57139
57112
  var IS_FORCED = type & $export$8.F;
@@ -57143,8 +57116,8 @@
57143
57116
  var IS_BIND = type & $export$8.B;
57144
57117
  var IS_WRAP = type & $export$8.W;
57145
57118
  var exports = IS_GLOBAL ? core$3 : core$3[name] || (core$3[name] = {});
57146
- var expProto = exports[PROTOTYPE$2];
57147
- var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$2];
57119
+ var expProto = exports[PROTOTYPE$1];
57120
+ var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$1];
57148
57121
  var key, own, out;
57149
57122
  if (IS_GLOBAL) source = name;
57150
57123
  for (key in source) {
@@ -57168,7 +57141,7 @@
57168
57141
  } return new C(a, b, c);
57169
57142
  } return C.apply(this, arguments);
57170
57143
  };
57171
- F[PROTOTYPE$2] = C[PROTOTYPE$2];
57144
+ F[PROTOTYPE$1] = C[PROTOTYPE$1];
57172
57145
  return F;
57173
57146
  // make static versions for prototype methods
57174
57147
  })(out) : IS_PROTO && typeof out == 'function' ? ctx$1(Function.call, out) : out;
@@ -57197,12 +57170,20 @@
57197
57170
  return toString$4.call(it).slice(8, -1);
57198
57171
  };
57199
57172
 
57200
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
57201
- var cof$2 = _cof;
57202
- // eslint-disable-next-line no-prototype-builtins
57203
- var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
57204
- return cof$2(it) == 'String' ? it.split('') : Object(it);
57205
- };
57173
+ var _iobject;
57174
+ var hasRequired_iobject;
57175
+
57176
+ function require_iobject () {
57177
+ if (hasRequired_iobject) return _iobject;
57178
+ hasRequired_iobject = 1;
57179
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
57180
+ var cof = _cof;
57181
+ // eslint-disable-next-line no-prototype-builtins
57182
+ _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
57183
+ return cof(it) == 'String' ? it.split('') : Object(it);
57184
+ };
57185
+ return _iobject;
57186
+ }
57206
57187
 
57207
57188
  // 7.2.1 RequireObjectCoercible(argument)
57208
57189
  var _defined = function (it) {
@@ -57211,7 +57192,7 @@
57211
57192
  };
57212
57193
 
57213
57194
  // to indexed object, toObject with fallback for non-array-like ES3 strings
57214
- var IObject = _iobject;
57195
+ var IObject = require_iobject();
57215
57196
  var defined$2 = _defined;
57216
57197
  var _toIobject = function (it) {
57217
57198
  return IObject(defined$2(it));
@@ -57297,14 +57278,14 @@
57297
57278
  var has$c = _has;
57298
57279
  var toIObject$4 = _toIobject;
57299
57280
  var arrayIndexOf = _arrayIncludes$1(false);
57300
- var IE_PROTO$2 = _sharedKey('IE_PROTO');
57281
+ var IE_PROTO$1 = _sharedKey('IE_PROTO');
57301
57282
 
57302
57283
  var _objectKeysInternal = function (object, names) {
57303
57284
  var O = toIObject$4(object);
57304
57285
  var i = 0;
57305
57286
  var result = [];
57306
57287
  var key;
57307
- for (key in O) if (key != IE_PROTO$2) has$c(O, key) && result.push(key);
57288
+ for (key in O) if (key != IE_PROTO$1) has$c(O, key) && result.push(key);
57308
57289
  // Don't enum bug & hidden keys
57309
57290
  while (names.length > i) if (has$c(O, key = names[i++])) {
57310
57291
  ~arrayIndexOf(result, key) || result.push(key);
@@ -57318,11 +57299,11 @@
57318
57299
  ).split(',');
57319
57300
 
57320
57301
  // 19.1.2.14 / 15.2.3.14 Object.keys(O)
57321
- var $keys$2 = _objectKeysInternal;
57322
- var enumBugKeys$1 = _enumBugKeys;
57302
+ var $keys$3 = _objectKeysInternal;
57303
+ var enumBugKeys = _enumBugKeys;
57323
57304
 
57324
57305
  var _objectKeys = Object.keys || function keys(O) {
57325
- return $keys$2(O, enumBugKeys$1);
57306
+ return $keys$3(O, enumBugKeys);
57326
57307
  };
57327
57308
 
57328
57309
  var _objectGops = {};
@@ -57358,7 +57339,7 @@
57358
57339
  var gOPS = _objectGops;
57359
57340
  var pIE = require_objectPie();
57360
57341
  var toObject = _toObject;
57361
- var IObject = _iobject;
57342
+ var IObject = require_iobject();
57362
57343
  var $assign = Object.assign;
57363
57344
 
57364
57345
  // should work with symbols and should have deterministic property order (V8 bug)
@@ -57429,19 +57410,27 @@
57429
57410
 
57430
57411
  var _redefine = _hide;
57431
57412
 
57432
- var dP$1 = _objectDp;
57433
- var anObject$4 = _anObject;
57434
- var getKeys$1 = _objectKeys;
57413
+ var _objectDps;
57414
+ var hasRequired_objectDps;
57435
57415
 
57436
- var _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
57437
- anObject$4(O);
57438
- var keys = getKeys$1(Properties);
57439
- var length = keys.length;
57440
- var i = 0;
57441
- var P;
57442
- while (length > i) dP$1.f(O, P = keys[i++], Properties[P]);
57443
- return O;
57444
- };
57416
+ function require_objectDps () {
57417
+ if (hasRequired_objectDps) return _objectDps;
57418
+ hasRequired_objectDps = 1;
57419
+ var dP = _objectDp;
57420
+ var anObject = _anObject;
57421
+ var getKeys = _objectKeys;
57422
+
57423
+ _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
57424
+ anObject(O);
57425
+ var keys = getKeys(Properties);
57426
+ var length = keys.length;
57427
+ var i = 0;
57428
+ var P;
57429
+ while (length > i) dP.f(O, P = keys[i++], Properties[P]);
57430
+ return O;
57431
+ };
57432
+ return _objectDps;
57433
+ }
57445
57434
 
57446
57435
  var _html;
57447
57436
  var hasRequired_html;
@@ -57454,47 +57443,55 @@
57454
57443
  return _html;
57455
57444
  }
57456
57445
 
57457
- // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
57458
- var anObject$3 = _anObject;
57459
- var dPs = _objectDps;
57460
- var enumBugKeys = _enumBugKeys;
57461
- var IE_PROTO$1 = _sharedKey('IE_PROTO');
57462
- var Empty = function () { /* empty */ };
57463
- var PROTOTYPE$1 = 'prototype';
57446
+ var _objectCreate;
57447
+ var hasRequired_objectCreate;
57464
57448
 
57465
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
57466
- var createDict = function () {
57467
- // Thrash, waste and sodomy: IE GC bug
57468
- var iframe = require_domCreate()('iframe');
57469
- var i = enumBugKeys.length;
57470
- var lt = '<';
57471
- var gt = '>';
57472
- var iframeDocument;
57473
- iframe.style.display = 'none';
57474
- require_html().appendChild(iframe);
57475
- iframe.src = 'javascript:'; // eslint-disable-line no-script-url
57476
- // createDict = iframe.contentWindow.Object;
57477
- // html.removeChild(iframe);
57478
- iframeDocument = iframe.contentWindow.document;
57479
- iframeDocument.open();
57480
- iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
57481
- iframeDocument.close();
57482
- createDict = iframeDocument.F;
57483
- while (i--) delete createDict[PROTOTYPE$1][enumBugKeys[i]];
57484
- return createDict();
57485
- };
57486
-
57487
- var _objectCreate = Object.create || function create(O, Properties) {
57488
- var result;
57489
- if (O !== null) {
57490
- Empty[PROTOTYPE$1] = anObject$3(O);
57491
- result = new Empty();
57492
- Empty[PROTOTYPE$1] = null;
57493
- // add "__proto__" for Object.getPrototypeOf polyfill
57494
- result[IE_PROTO$1] = O;
57495
- } else result = createDict();
57496
- return Properties === undefined ? result : dPs(result, Properties);
57497
- };
57449
+ function require_objectCreate () {
57450
+ if (hasRequired_objectCreate) return _objectCreate;
57451
+ hasRequired_objectCreate = 1;
57452
+ // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
57453
+ var anObject = _anObject;
57454
+ var dPs = require_objectDps();
57455
+ var enumBugKeys = _enumBugKeys;
57456
+ var IE_PROTO = _sharedKey('IE_PROTO');
57457
+ var Empty = function () { /* empty */ };
57458
+ var PROTOTYPE = 'prototype';
57459
+
57460
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
57461
+ var createDict = function () {
57462
+ // Thrash, waste and sodomy: IE GC bug
57463
+ var iframe = require_domCreate()('iframe');
57464
+ var i = enumBugKeys.length;
57465
+ var lt = '<';
57466
+ var gt = '>';
57467
+ var iframeDocument;
57468
+ iframe.style.display = 'none';
57469
+ require_html().appendChild(iframe);
57470
+ iframe.src = 'javascript:'; // eslint-disable-line no-script-url
57471
+ // createDict = iframe.contentWindow.Object;
57472
+ // html.removeChild(iframe);
57473
+ iframeDocument = iframe.contentWindow.document;
57474
+ iframeDocument.open();
57475
+ iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
57476
+ iframeDocument.close();
57477
+ createDict = iframeDocument.F;
57478
+ while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
57479
+ return createDict();
57480
+ };
57481
+
57482
+ _objectCreate = Object.create || function create(O, Properties) {
57483
+ var result;
57484
+ if (O !== null) {
57485
+ Empty[PROTOTYPE] = anObject(O);
57486
+ result = new Empty();
57487
+ Empty[PROTOTYPE] = null;
57488
+ // add "__proto__" for Object.getPrototypeOf polyfill
57489
+ result[IE_PROTO] = O;
57490
+ } else result = createDict();
57491
+ return Properties === undefined ? result : dPs(result, Properties);
57492
+ };
57493
+ return _objectCreate;
57494
+ }
57498
57495
 
57499
57496
  var _wks = {exports: {}};
57500
57497
 
@@ -57520,7 +57517,7 @@
57520
57517
  if (it && !has$b(it = stat ? it : it.prototype, TAG$1)) def(it, TAG$1, { configurable: true, value: tag });
57521
57518
  };
57522
57519
 
57523
- var create$4 = _objectCreate;
57520
+ var create$4 = require_objectCreate();
57524
57521
  var descriptor = _propertyDesc;
57525
57522
  var setToStringTag$2 = _setToStringTag;
57526
57523
  var IteratorPrototype = {};
@@ -58094,24 +58091,17 @@
58094
58091
 
58095
58092
  var _objectGopn = {};
58096
58093
 
58097
- var hasRequired_objectGopn;
58098
-
58099
- function require_objectGopn () {
58100
- if (hasRequired_objectGopn) return _objectGopn;
58101
- hasRequired_objectGopn = 1;
58102
- // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
58103
- var $keys = _objectKeysInternal;
58104
- var hiddenKeys = _enumBugKeys.concat('length', 'prototype');
58094
+ // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
58095
+ var $keys$2 = _objectKeysInternal;
58096
+ var hiddenKeys = _enumBugKeys.concat('length', 'prototype');
58105
58097
 
58106
- _objectGopn.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
58107
- return $keys(O, hiddenKeys);
58108
- };
58109
- return _objectGopn;
58110
- }
58098
+ _objectGopn.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
58099
+ return $keys$2(O, hiddenKeys);
58100
+ };
58111
58101
 
58112
58102
  // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
58113
58103
  var toIObject$2 = _toIobject;
58114
- var gOPN$1 = require_objectGopn().f;
58104
+ var gOPN$1 = _objectGopn.f;
58115
58105
  var toString$3 = {}.toString;
58116
58106
 
58117
58107
  var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
@@ -58170,7 +58160,7 @@
58170
58160
  var toIObject = _toIobject;
58171
58161
  var toPrimitive = _toPrimitive$1;
58172
58162
  var createDesc = _propertyDesc;
58173
- var _create$1 = _objectCreate;
58163
+ var _create$1 = require_objectCreate();
58174
58164
  var gOPNExt = _objectGopnExt;
58175
58165
  var $GOPD = _objectGopd;
58176
58166
  var $GOPS = _objectGops;
@@ -58298,7 +58288,7 @@
58298
58288
 
58299
58289
  $GOPD.f = $getOwnPropertyDescriptor;
58300
58290
  $DP.f = $defineProperty;
58301
- require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames;
58291
+ _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
58302
58292
  require_objectPie().f = $propertyIsEnumerable;
58303
58293
  $GOPS.f = $getOwnPropertySymbols;
58304
58294
 
@@ -58480,7 +58470,7 @@
58480
58470
 
58481
58471
  var $export = _export;
58482
58472
  // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
58483
- $export($export.S, 'Object', { create: _objectCreate });
58473
+ $export($export.S, 'Object', { create: require_objectCreate() });
58484
58474
 
58485
58475
  var $Object = _coreExports.Object;
58486
58476
  var create$3 = function create(P, D) {
@@ -64527,7 +64517,7 @@
64527
64517
  var dayjs_min = {exports: {}};
64528
64518
 
64529
64519
  (function (module, exports) {
64530
- !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p=function(t){return t instanceof _},S=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t);}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return O},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),l=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(h){case c:return r?l(1,0):l(31,11);case f:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),l=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,l=this;r=Number(r);var $=O.p(h),y=function(t){var e=w(l);return O.w(e.date(e.date()+Math.round(t*r)),l)};if($===f)return this.set(f,this.$M+r);if($===c)return this.set(c,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},$={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||$[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,v=this-M,g=O.m(this,M);return g=($={},$[c]=g/12,$[f]=g,$[h]=g/3,$[o]=(v-m)/6048e5,$[a]=(v-m)/864e5,$[u]=v/n,$[s]=v/e,$[i]=v/t,$)[y]||v,l?g:O.a(g)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),T=_.prototype;return w.prototype=T,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[g],w.Ls=D,w.p={},w}));
64520
+ !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p=function(t){return t instanceof b},S=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new b(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var b=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t);}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return O},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,f=O.p(t),l=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=O.p(f),y=function(t){var e=w(l);return O.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return O.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return O.s(e.$y,4,"0");case"M":return a+1;case"MM":return O.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return O.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return O.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return O.s(u,2,"0");case"s":return String(e.$s);case"ss":return O.s(e.$s,2,"0");case"SSS":return O.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=O.p(d),m=w(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return O.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:O.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),_=b.prototype;return w.prototype=_,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){_[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),w.extend=function(t,e){return t.$i||(t(e,b,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[g],w.Ls=D,w.p={},w}));
64531
64521
  } (dayjs_min));
64532
64522
 
64533
64523
  var dayjs_minExports = dayjs_min.exports;
@@ -126095,7 +126085,9 @@
126095
126085
  const zipFilesArray = Array.isArray(zipFiles) ? zipFiles : [zipFiles];
126096
126086
  const parsedZips = await Promise$1.map(
126097
126087
  zipFilesArray,
126098
- (file) => jszip_minExports.loadAsync(file instanceof Blob ? file : file.originFileObj)
126088
+ (file) => jszip_minExports.loadAsync(
126089
+ file instanceof (typeof Blob !== "undefined" ? Blob : require("buffer").Blob) ? file : file.originFileObj
126090
+ )
126099
126091
  );
126100
126092
  const zippedFiles = lodashExports.flatMap(
126101
126093
  parsedZips,
@@ -127952,10 +127944,7 @@
127952
127944
  const { showDialogPromise: showUploadCsvWizardDialog, comp } = useDialog({
127953
127945
  ModalComponent: UploadCsvWizardDialog
127954
127946
  });
127955
- const {
127956
- showDialogPromise: showSimpleInsertDataDialog,
127957
- comp: comp2
127958
- } = useDialog({
127947
+ const { showDialogPromise: showSimpleInsertDataDialog, comp: comp2 } = useDialog({
127959
127948
  ModalComponent: SimpleInsertDataDialog
127960
127949
  });
127961
127950
  function cleanupFiles() {
@@ -128031,17 +128020,16 @@
128031
128020
  const handleDownloadXlsxFile = async () => {
128032
128021
  const dataDictionarySchema = [
128033
128022
  { value: (f) => f.displayName || f.path, column: `Column Name` },
128023
+ // {
128024
+ // value: f => f.isUnique ? "Unique" : "",
128025
+ // column: `Unique?`
128026
+ // },
128034
128027
  {
128035
- value: (f) => f.isUnique,
128036
- column: `Unique`
128028
+ value: (f) => f.isRequired ? "Required" : "Optional",
128029
+ column: `Required?`
128037
128030
  },
128038
128031
  {
128039
- value: (f) => f.isRequired,
128040
- column: `Required`,
128041
- type: Boolean
128042
- },
128043
- {
128044
- value: (f) => f.type || "text",
128032
+ value: (f) => f.type === "dropdown" ? "text" : f.type || "text",
128045
128033
  column: `Data Type`
128046
128034
  },
128047
128035
  {
@@ -128377,10 +128365,7 @@
128377
128365
  ...file.parsedString ? { parsedString: file.parsedString } : {}
128378
128366
  };
128379
128367
  });
128380
- const cleanedFileList = [
128381
- ...cleanedAccepted,
128382
- ...fileListToUse
128383
- ].slice(0, fileLimit ? fileLimit : void 0);
128368
+ const toKeep = [];
128384
128369
  if (validateAgainstSchema) {
128385
128370
  const filesWIssues = [];
128386
128371
  const filesWOIssues = [];
@@ -128411,65 +128396,65 @@
128411
128396
  userSchema,
128412
128397
  parsedF.data
128413
128398
  );
128414
- window.toastr && window.toastr.error(
128415
- `It looks like there wasn't any data in your file. Please add some data and try again`
128416
- );
128417
- return;
128418
- }
128419
- let csvValidationIssue = _csvValidationIssue;
128420
- if (csvValidationIssue) {
128421
- if (lodashExports.isObject(csvValidationIssue)) {
128422
- initializeForm(
128423
- `editableCellTable${cleanedAccepted.length > 1 ? `-${i}` : ""}`,
128424
- {
128425
- reduxFormCellValidation: csvValidationIssue
128426
- },
128427
- {
128428
- keepDirty: true,
128429
- keepValues: true,
128430
- updateUnregisteredFields: true
128431
- }
128432
- );
128433
- const err = Object.values(csvValidationIssue)[0];
128434
- const errMsg = err && err.message ? err.message : err;
128435
- if (lodashExports.isPlainObject(errMsg)) {
128436
- throw new Error(
128437
- `errMsg is an object ${JSON.stringify(
128438
- errMsg,
128439
- null,
128440
- 4
128441
- )}`
128399
+ } else {
128400
+ toKeep.push(file);
128401
+ let csvValidationIssue = _csvValidationIssue;
128402
+ if (csvValidationIssue) {
128403
+ if (lodashExports.isObject(csvValidationIssue)) {
128404
+ initializeForm(
128405
+ `editableCellTable${cleanedAccepted.length > 1 ? `-${i}` : ""}`,
128406
+ {
128407
+ reduxFormCellValidation: csvValidationIssue
128408
+ },
128409
+ {
128410
+ keepDirty: true,
128411
+ keepValues: true,
128412
+ updateUnregisteredFields: true
128413
+ }
128442
128414
  );
128415
+ const err = Object.values(csvValidationIssue)[0];
128416
+ const errMsg = err && err.message ? err.message : err;
128417
+ if (lodashExports.isPlainObject(errMsg)) {
128418
+ throw new Error(
128419
+ `errMsg is an object ${JSON.stringify(
128420
+ errMsg,
128421
+ null,
128422
+ 4
128423
+ )}`
128424
+ );
128425
+ }
128426
+ csvValidationIssue = /* @__PURE__ */ React$3.createElement("div", null, /* @__PURE__ */ React$3.createElement("div", null, "It looks like there was an error with your data (Correct on the Review Data page):"), /* @__PURE__ */ React$3.createElement("div", { style: { color: "red" } }, errMsg), /* @__PURE__ */ React$3.createElement("div", null, "Please review your headers and then correct any errors on the next page."));
128443
128427
  }
128444
- csvValidationIssue = /* @__PURE__ */ React$3.createElement("div", null, /* @__PURE__ */ React$3.createElement("div", null, "It looks like there was an error with your data (Correct on the Review Data page):"), /* @__PURE__ */ React$3.createElement("div", { style: { color: "red" } }, errMsg), /* @__PURE__ */ React$3.createElement("div", null, "Please review your headers and then correct any errors on the next page."));
128428
+ filesWIssues.push({
128429
+ file,
128430
+ csvValidationIssue,
128431
+ matchedHeaders,
128432
+ userSchema,
128433
+ searchResults
128434
+ });
128435
+ } else {
128436
+ filesWOIssues.push({
128437
+ file,
128438
+ csvValidationIssue,
128439
+ matchedHeaders,
128440
+ userSchema,
128441
+ searchResults
128442
+ });
128443
+ const newFileName = removeExt(file.name) + `.csv`;
128444
+ const { newFile, cleanedEntities } = getNewCsvFile(
128445
+ userSchema.userData,
128446
+ newFileName
128447
+ );
128448
+ file.meta = parsedF.meta;
128449
+ file.hasEditClick = true;
128450
+ file.parsedData = cleanedEntities;
128451
+ file.name = newFileName;
128452
+ file.originFileObj = newFile;
128453
+ file.originalFileObj = newFile;
128445
128454
  }
128446
- filesWIssues.push({
128447
- file,
128448
- csvValidationIssue,
128449
- matchedHeaders,
128450
- userSchema,
128451
- searchResults
128452
- });
128453
- } else {
128454
- filesWOIssues.push({
128455
- file,
128456
- csvValidationIssue,
128457
- matchedHeaders,
128458
- userSchema,
128459
- searchResults
128460
- });
128461
- const newFileName = removeExt(file.name) + `.csv`;
128462
- const { newFile, cleanedEntities } = getNewCsvFile(
128463
- userSchema.userData,
128464
- newFileName
128465
- );
128466
- file.meta = parsedF.meta;
128467
- file.hasEditClick = true;
128468
- file.parsedData = cleanedEntities;
128469
- file.name = newFileName;
128470
- file.originFileObj = newFile;
128471
- file.originalFileObj = newFile;
128472
128455
  }
128456
+ } else {
128457
+ toKeep.push(file);
128473
128458
  }
128474
128459
  }
128475
128460
  if (filesWIssues.length) {
@@ -128517,7 +128502,18 @@
128517
128502
  }, 200);
128518
128503
  }
128519
128504
  }
128505
+ } else {
128506
+ toKeep.push(...cleanedAccepted);
128507
+ }
128508
+ if (toKeep.length === 0) {
128509
+ window.toastr && window.toastr.error(
128510
+ `It looks like there wasn't any data in your file. Please add some data and try again`
128511
+ );
128520
128512
  }
128513
+ const cleanedFileList = [...toKeep, ...fileListToUse].slice(
128514
+ 0,
128515
+ fileLimit ? fileLimit : void 0
128516
+ );
128521
128517
  handleSecondHalfOfUpload({ acceptedFiles, cleanedFileList });
128522
128518
  }
128523
128519
  },
@@ -128652,9 +128648,7 @@
128652
128648
  incomingData: file.parsedData,
128653
128649
  validateAgainstSchema
128654
128650
  });
128655
- const {
128656
- newEntities
128657
- } = await showSimpleInsertDataDialog(
128651
+ const { newEntities } = await showSimpleInsertDataDialog(
128658
128652
  "onSimpleInsertDialogFinish",
128659
128653
  {
128660
128654
  dialogProps: {
@@ -128670,10 +128664,7 @@
128670
128664
  if (!newEntities) {
128671
128665
  return;
128672
128666
  } else {
128673
- const {
128674
- newFile,
128675
- cleanedEntities
128676
- } = getNewCsvFile(newEntities, file.name);
128667
+ const { newFile, cleanedEntities } = getNewCsvFile(newEntities, file.name);
128677
128668
  Object.assign(file, {
128678
128669
  ...newFile,
128679
128670
  originFileObj: newFile,
@@ -153582,6 +153573,7 @@
153582
153573
  if (tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1) {
153583
153574
  if (tagName[tagName.length - 1] === "/") {
153584
153575
  tagName = tagName.substr(0, tagName.length - 1);
153576
+ jPath = jPath.substr(0, jPath.length - 1);
153585
153577
  tagExp = tagName;
153586
153578
  } else {
153587
153579
  tagExp = tagExp.substr(0, tagExp.length - 1);
@@ -154138,11 +154130,18 @@
154138
154130
  let attrStr = "";
154139
154131
  let val = "";
154140
154132
  for (let key in jObj) {
154141
- if (typeof jObj[key] === "undefined") ; else if (jObj[key] === null) {
154142
- if (key[0] === "?")
154133
+ if (typeof jObj[key] === "undefined") {
154134
+ if (this.isAttribute(key)) {
154135
+ val += "";
154136
+ }
154137
+ } else if (jObj[key] === null) {
154138
+ if (this.isAttribute(key)) {
154139
+ val += "";
154140
+ } else if (key[0] === "?") {
154143
154141
  val += this.indentate(level) + "<" + key + "?" + this.tagEndChar;
154144
- else
154142
+ } else {
154145
154143
  val += this.indentate(level) + "<" + key + "/" + this.tagEndChar;
154144
+ }
154146
154145
  } else if (jObj[key] instanceof Date) {
154147
154146
  val += this.buildTextValNode(jObj[key], key, "", level);
154148
154147
  } else if (typeof jObj[key] !== "object") {
@@ -154225,7 +154224,7 @@
154225
154224
  piClosingChar = "?";
154226
154225
  tagEndExp = "";
154227
154226
  }
154228
- if (attrStr && val.indexOf("<") === -1) {
154227
+ if ((attrStr || attrStr === "") && val.indexOf("<") === -1) {
154229
154228
  return this.indentate(level) + "<" + key + attrStr + piClosingChar + ">" + val + tagEndExp;
154230
154229
  } else if (this.options.commentPropName !== false && key === this.options.commentPropName && piClosingChar.length === 0) {
154231
154230
  return this.indentate(level) + `<!--${val}-->` + this.newLine;
@@ -154276,7 +154275,7 @@
154276
154275
  return this.options.indentBy.repeat(level);
154277
154276
  }
154278
154277
  function isAttribute(name) {
154279
- if (name.startsWith(this.options.attributeNamePrefix)) {
154278
+ if (name.startsWith(this.options.attributeNamePrefix) && name !== this.options.textNodeName) {
154280
154279
  return name.substr(this.attrPrefixLen);
154281
154280
  } else {
154282
154281
  return false;
@@ -170181,7 +170180,7 @@
170181
170180
  }
170182
170181
  async function finishDisplayingSeq(seqData) {
170183
170182
  if (onImport) {
170184
- seqData = await onImport(seqData);
170183
+ seqData = await onImport(seqData, file, props);
170185
170184
  }
170186
170185
  if (seqData) {
170187
170186
  seqData.stateTrackingId = uuid();
@@ -188649,8 +188648,15 @@ double click --> edit`}`;
188649
188648
  }
188650
188649
 
188651
188650
  const name = "@teselagen/ove";
188652
- const version = "0.3.7";
188651
+ const version = "0.3.9";
188653
188652
  const main = "./src/index.js";
188653
+ const exports$1 = {
188654
+ ".": {
188655
+ "import": "./index.mjs",
188656
+ require: "./index.js"
188657
+ },
188658
+ "./style.css": "./style.css"
188659
+ };
188654
188660
  const volta = {
188655
188661
  node: "16.20.2"
188656
188662
  };
@@ -188658,6 +188664,7 @@ double click --> edit`}`;
188658
188664
  name: name,
188659
188665
  version: version,
188660
188666
  main: main,
188667
+ exports: exports$1,
188661
188668
  volta: volta
188662
188669
  };
188663
188670
 
@@ -194276,7 +194283,7 @@ double click --> edit`}`;
194276
194283
  updateLabelsForInViewFeatures();
194277
194284
  },
194278
194285
  rowContainerStyle: {
194279
- height: height - 36,
194286
+ height: isNaN(height - 36) ? "auto" : height - 36,
194280
194287
  width: innerWidth + 26,
194281
194288
  paddingRight: marginWidth / 2,
194282
194289
  ...isLinViewZoomed && !isInAlignment && { paddingBottom: 15 }