@teselagen/ui 0.3.27 → 0.3.28

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.cjs.js CHANGED
@@ -1333,14 +1333,14 @@ function orderModifiers(modifiers) {
1333
1333
  }, []);
1334
1334
  }
1335
1335
  __name(orderModifiers, "orderModifiers");
1336
- function debounce$2(fn3) {
1336
+ function debounce$2(fn4) {
1337
1337
  var pending;
1338
1338
  return function() {
1339
1339
  if (!pending) {
1340
1340
  pending = new Promise(function(resolve) {
1341
1341
  Promise.resolve().then(function() {
1342
1342
  pending = void 0;
1343
- resolve(fn3());
1343
+ resolve(fn4());
1344
1344
  });
1345
1345
  });
1346
1346
  }
@@ -1444,9 +1444,9 @@ function popperGenerator(generatorOptions) {
1444
1444
  index2 = -1;
1445
1445
  continue;
1446
1446
  }
1447
- var _state$orderedModifie = state.orderedModifiers[index2], fn3 = _state$orderedModifie.fn, _state$orderedModifie2 = _state$orderedModifie.options, _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2, name = _state$orderedModifie.name;
1448
- if (typeof fn3 === "function") {
1449
- state = fn3({
1447
+ var _state$orderedModifie = state.orderedModifiers[index2], fn4 = _state$orderedModifie.fn, _state$orderedModifie2 = _state$orderedModifie.options, _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2, name = _state$orderedModifie.name;
1448
+ if (typeof fn4 === "function") {
1449
+ state = fn4({
1450
1450
  state,
1451
1451
  options: _options,
1452
1452
  name,
@@ -1494,8 +1494,8 @@ function popperGenerator(generatorOptions) {
1494
1494
  }
1495
1495
  __name(runModifierEffects, "runModifierEffects");
1496
1496
  function cleanupModifierEffects() {
1497
- effectCleanupFns.forEach(function(fn3) {
1498
- return fn3();
1497
+ effectCleanupFns.forEach(function(fn4) {
1498
+ return fn4();
1499
1499
  });
1500
1500
  effectCleanupFns = [];
1501
1501
  }
@@ -1537,15 +1537,15 @@ function invokeWithArgsOrReturn(value, args) {
1537
1537
  return typeof value === "function" ? value.apply(void 0, args) : value;
1538
1538
  }
1539
1539
  __name(invokeWithArgsOrReturn, "invokeWithArgsOrReturn");
1540
- function debounce$1(fn3, ms) {
1540
+ function debounce$1(fn4, ms) {
1541
1541
  if (ms === 0) {
1542
- return fn3;
1542
+ return fn4;
1543
1543
  }
1544
1544
  var timeout;
1545
1545
  return function(arg) {
1546
1546
  clearTimeout(timeout);
1547
1547
  timeout = setTimeout(function() {
1548
- fn3(arg);
1548
+ fn4(arg);
1549
1549
  }, ms);
1550
1550
  };
1551
1551
  }
@@ -2377,7 +2377,7 @@ function createTippy(reference2, passedProps) {
2377
2377
  enabled: true,
2378
2378
  phase: "beforeWrite",
2379
2379
  requires: ["computeStyles"],
2380
- fn: /* @__PURE__ */ __name(function fn3(_ref2) {
2380
+ fn: /* @__PURE__ */ __name(function fn4(_ref2) {
2381
2381
  var state2 = _ref2.state;
2382
2382
  if (getIsDefaultRenderFn()) {
2383
2383
  var _getDefaultTemplateCh = getDefaultTemplateChildren(), box2 = _getDefaultTemplateCh.box;
@@ -2751,11 +2751,174 @@ Object.assign({}, applyStyles$1, {
2751
2751
  }
2752
2752
  }, "effect")
2753
2753
  });
2754
+ var mouseCoords = {
2755
+ clientX: 0,
2756
+ clientY: 0
2757
+ };
2758
+ var activeInstances = [];
2759
+ function storeMouseCoords(_ref) {
2760
+ var clientX = _ref.clientX, clientY = _ref.clientY;
2761
+ mouseCoords = {
2762
+ clientX,
2763
+ clientY
2764
+ };
2765
+ }
2766
+ __name(storeMouseCoords, "storeMouseCoords");
2767
+ function addMouseCoordsListener(doc) {
2768
+ doc.addEventListener("mousemove", storeMouseCoords);
2769
+ }
2770
+ __name(addMouseCoordsListener, "addMouseCoordsListener");
2771
+ function removeMouseCoordsListener(doc) {
2772
+ doc.removeEventListener("mousemove", storeMouseCoords);
2773
+ }
2774
+ __name(removeMouseCoordsListener, "removeMouseCoordsListener");
2775
+ var followCursor = {
2776
+ name: "followCursor",
2777
+ defaultValue: false,
2778
+ fn: /* @__PURE__ */ __name(function fn2(instance) {
2779
+ var reference2 = instance.reference;
2780
+ var doc = getOwnerDocument(instance.props.triggerTarget || reference2);
2781
+ var isInternalUpdate = false;
2782
+ var wasFocusEvent = false;
2783
+ var isUnmounted = true;
2784
+ var prevProps = instance.props;
2785
+ function getIsInitialBehavior() {
2786
+ return instance.props.followCursor === "initial" && instance.state.isVisible;
2787
+ }
2788
+ __name(getIsInitialBehavior, "getIsInitialBehavior");
2789
+ function addListener() {
2790
+ doc.addEventListener("mousemove", onMouseMove);
2791
+ }
2792
+ __name(addListener, "addListener");
2793
+ function removeListener() {
2794
+ doc.removeEventListener("mousemove", onMouseMove);
2795
+ }
2796
+ __name(removeListener, "removeListener");
2797
+ function unsetGetReferenceClientRect() {
2798
+ isInternalUpdate = true;
2799
+ instance.setProps({
2800
+ getReferenceClientRect: null
2801
+ });
2802
+ isInternalUpdate = false;
2803
+ }
2804
+ __name(unsetGetReferenceClientRect, "unsetGetReferenceClientRect");
2805
+ function onMouseMove(event) {
2806
+ var isCursorOverReference = event.target ? reference2.contains(event.target) : true;
2807
+ var followCursor2 = instance.props.followCursor;
2808
+ var clientX = event.clientX, clientY = event.clientY;
2809
+ var rect = reference2.getBoundingClientRect();
2810
+ var relativeX = clientX - rect.left;
2811
+ var relativeY = clientY - rect.top;
2812
+ if (isCursorOverReference || !instance.props.interactive) {
2813
+ instance.setProps({
2814
+ // @ts-ignore - unneeded DOMRect properties
2815
+ getReferenceClientRect: /* @__PURE__ */ __name(function getReferenceClientRect() {
2816
+ var rect2 = reference2.getBoundingClientRect();
2817
+ var x2 = clientX;
2818
+ var y2 = clientY;
2819
+ if (followCursor2 === "initial") {
2820
+ x2 = rect2.left + relativeX;
2821
+ y2 = rect2.top + relativeY;
2822
+ }
2823
+ var top2 = followCursor2 === "horizontal" ? rect2.top : y2;
2824
+ var right2 = followCursor2 === "vertical" ? rect2.right : x2;
2825
+ var bottom2 = followCursor2 === "horizontal" ? rect2.bottom : y2;
2826
+ var left2 = followCursor2 === "vertical" ? rect2.left : x2;
2827
+ return {
2828
+ width: right2 - left2,
2829
+ height: bottom2 - top2,
2830
+ top: top2,
2831
+ right: right2,
2832
+ bottom: bottom2,
2833
+ left: left2
2834
+ };
2835
+ }, "getReferenceClientRect")
2836
+ });
2837
+ }
2838
+ }
2839
+ __name(onMouseMove, "onMouseMove");
2840
+ function create7() {
2841
+ if (instance.props.followCursor) {
2842
+ activeInstances.push({
2843
+ instance,
2844
+ doc
2845
+ });
2846
+ addMouseCoordsListener(doc);
2847
+ }
2848
+ }
2849
+ __name(create7, "create");
2850
+ function destroy() {
2851
+ activeInstances = activeInstances.filter(function(data) {
2852
+ return data.instance !== instance;
2853
+ });
2854
+ if (activeInstances.filter(function(data) {
2855
+ return data.doc === doc;
2856
+ }).length === 0) {
2857
+ removeMouseCoordsListener(doc);
2858
+ }
2859
+ }
2860
+ __name(destroy, "destroy");
2861
+ return {
2862
+ onCreate: create7,
2863
+ onDestroy: destroy,
2864
+ onBeforeUpdate: /* @__PURE__ */ __name(function onBeforeUpdate2() {
2865
+ prevProps = instance.props;
2866
+ }, "onBeforeUpdate"),
2867
+ onAfterUpdate: /* @__PURE__ */ __name(function onAfterUpdate2(_2, _ref2) {
2868
+ var followCursor2 = _ref2.followCursor;
2869
+ if (isInternalUpdate) {
2870
+ return;
2871
+ }
2872
+ if (followCursor2 !== void 0 && prevProps.followCursor !== followCursor2) {
2873
+ destroy();
2874
+ if (followCursor2) {
2875
+ create7();
2876
+ if (instance.state.isMounted && !wasFocusEvent && !getIsInitialBehavior()) {
2877
+ addListener();
2878
+ }
2879
+ } else {
2880
+ removeListener();
2881
+ unsetGetReferenceClientRect();
2882
+ }
2883
+ }
2884
+ }, "onAfterUpdate"),
2885
+ onMount: /* @__PURE__ */ __name(function onMount2() {
2886
+ if (instance.props.followCursor && !wasFocusEvent) {
2887
+ if (isUnmounted) {
2888
+ onMouseMove(mouseCoords);
2889
+ isUnmounted = false;
2890
+ }
2891
+ if (!getIsInitialBehavior()) {
2892
+ addListener();
2893
+ }
2894
+ }
2895
+ }, "onMount"),
2896
+ onTrigger: /* @__PURE__ */ __name(function onTrigger2(_2, event) {
2897
+ if (isMouseEvent$1(event)) {
2898
+ mouseCoords = {
2899
+ clientX: event.clientX,
2900
+ clientY: event.clientY
2901
+ };
2902
+ }
2903
+ wasFocusEvent = event.type === "focus";
2904
+ }, "onTrigger"),
2905
+ onHidden: /* @__PURE__ */ __name(function onHidden2() {
2906
+ if (instance.props.followCursor) {
2907
+ unsetGetReferenceClientRect();
2908
+ removeListener();
2909
+ isUnmounted = true;
2910
+ }
2911
+ }, "onHidden")
2912
+ };
2913
+ }, "fn")
2914
+ };
2754
2915
  tippy$1.setDefaultProps({
2755
2916
  render: render$1
2756
2917
  });
2757
2918
  const tippy = "";
2758
2919
  let tippys = [];
2920
+ let recentlyHidden = false;
2921
+ let clearMe;
2759
2922
  (function() {
2760
2923
  let lastMouseOverElement = null;
2761
2924
  document.addEventListener("mouseover", function(event) {
@@ -2776,21 +2939,63 @@ let tippys = [];
2776
2939
  lastMouseOverElement = element2;
2777
2940
  const id2 = "tippyEllipsizedEl";
2778
2941
  let innerRun = false;
2779
- const inner = /* @__PURE__ */ __name((content2, el2) => {
2942
+ const inner = /* @__PURE__ */ __name((content2, el2, { dataTitle, dataAvoid, dataAvoidBackup }) => {
2943
+ var _a3, _b2;
2780
2944
  innerRun = true;
2781
2945
  document.querySelectorAll(`.${id2}`).forEach((elem) => {
2782
2946
  elem.classList.remove(id2);
2783
2947
  });
2784
2948
  el2.classList.add(id2);
2785
- const inst = tippy$1(`.${id2}`, {
2949
+ const inst = tippy$1(`.${id2}`, __spreadValues(__spreadProps(__spreadValues({
2950
+ plugins: [followCursor],
2786
2951
  content: content2,
2787
- delay: [0, 0],
2952
+ delay: dataTitle && !recentlyHidden ? [1300, 1300] : dataTitle ? [150, 150] : [0, 0],
2788
2953
  allowHTML: true
2789
- });
2954
+ }, dataTitle && {
2955
+ followCursor: dataTitle ? "initial" : false
2956
+ }), {
2957
+ onHidden() {
2958
+ recentlyHidden = true;
2959
+ clearMe && clearTimeout(clearMe);
2960
+ clearMe = setTimeout(() => {
2961
+ if (tippys.length === 0)
2962
+ recentlyHidden = false;
2963
+ }, 700);
2964
+ }
2965
+ }), dataAvoid && {
2966
+ popperOptions: {
2967
+ modifiers: [
2968
+ {
2969
+ name: "myModifier",
2970
+ enabled: true,
2971
+ phase: "beforeWrite",
2972
+ requires: ["computeStyles"],
2973
+ requiresIfExists: ["offset"],
2974
+ fn({ state }) {
2975
+ const customBoundary = document.querySelector(dataAvoid) || document.querySelector(dataAvoidBackup);
2976
+ if (!customBoundary)
2977
+ return;
2978
+ const a2 = customBoundary.getBoundingClientRect();
2979
+ if (a2.top < state.rects.reference.y) {
2980
+ const b2 = Math.abs(
2981
+ Math.abs(a2.top - state.rects.reference.y) - 10
2982
+ );
2983
+ state.styles.popper.bottom = b2 + "px";
2984
+ }
2985
+ }
2986
+ }
2987
+ ]
2988
+ }
2989
+ }));
2990
+ if (dataTitle) {
2991
+ (_b2 = (_a3 = inst[0]) == null ? void 0 : _a3.popper) == null ? void 0 : _b2.classList.add("isDataTitle");
2992
+ }
2790
2993
  clearOldTippys(...inst);
2791
- inst.forEach((i) => {
2792
- i.show();
2793
- });
2994
+ if (!dataTitle) {
2995
+ inst.forEach((i) => {
2996
+ i.show();
2997
+ });
2998
+ }
2794
2999
  tippys = [...tippys, ...inst];
2795
3000
  if (content2 === el2.getAttribute("title")) {
2796
3001
  el2.removeAttribute("title");
@@ -2805,14 +3010,22 @@ let tippys = [];
2805
3010
  const style2 = window.getComputedStyle(el);
2806
3011
  const whiteSpace = style2.getPropertyValue("white-space");
2807
3012
  const textOverflow = style2.getPropertyValue("text-overflow");
2808
- dataTip = el.getAttribute("data-tip");
3013
+ const dataTitle = el.getAttribute("data-title");
3014
+ const dataAvoid = el.getAttribute("data-avoid");
3015
+ const dataAvoidBackup = el.getAttribute("data-avoid-backup");
3016
+ dataTip = el.getAttribute("data-tip") || dataTitle;
2809
3017
  const isEllipsized = whiteSpace === "nowrap" && textOverflow === "ellipsis";
3018
+ const opts = {
3019
+ dataTitle,
3020
+ dataAvoid,
3021
+ dataAvoidBackup
3022
+ };
2810
3023
  if (dataTip) {
2811
- inner(dataTip, el);
3024
+ inner(dataTip, el, opts);
2812
3025
  break;
2813
3026
  } else if (isEllipsized && el.offsetWidth < el.scrollWidth - 4 && //the -4 is adding a teeny bit of tolerance to fix issues with the column headers getting tooltips even when fully visible
2814
3027
  !el.classList.contains("no-data-tip") && el.textContent && ((_b = (_a2 = el.textContent) == null ? void 0 : _a2.trim) == null ? void 0 : _b.call(_a2).length) !== 0) {
2815
- inner(el.textContent, el);
3028
+ inner(el.textContent, el, opts);
2816
3029
  break;
2817
3030
  } else if (isEllipsized && el.offsetWidth >= el.scrollWidth)
2818
3031
  ;
@@ -2876,13 +3089,13 @@ function getAugmentedNamespace(n2) {
2876
3089
  }
2877
3090
  __name(getAugmentedNamespace, "getAugmentedNamespace");
2878
3091
  var axios$3 = { exports: {} };
2879
- var bind$4 = /* @__PURE__ */ __name(function bind(fn3, thisArg) {
3092
+ var bind$4 = /* @__PURE__ */ __name(function bind(fn4, thisArg) {
2880
3093
  return /* @__PURE__ */ __name(function wrap2() {
2881
3094
  var args = new Array(arguments.length);
2882
3095
  for (var i = 0; i < args.length; i++) {
2883
3096
  args[i] = arguments[i];
2884
3097
  }
2885
- return fn3.apply(thisArg, args);
3098
+ return fn4.apply(thisArg, args);
2886
3099
  }, "wrap");
2887
3100
  }, "bind");
2888
3101
  var bind$3 = bind$4;
@@ -2972,7 +3185,7 @@ function isStandardBrowserEnv() {
2972
3185
  return typeof window !== "undefined" && typeof document !== "undefined";
2973
3186
  }
2974
3187
  __name(isStandardBrowserEnv, "isStandardBrowserEnv");
2975
- function forEach$1(obj, fn3) {
3188
+ function forEach$1(obj, fn4) {
2976
3189
  if (obj === null || typeof obj === "undefined") {
2977
3190
  return;
2978
3191
  }
@@ -2981,12 +3194,12 @@ function forEach$1(obj, fn3) {
2981
3194
  }
2982
3195
  if (isArray$o(obj)) {
2983
3196
  for (var i = 0, l2 = obj.length; i < l2; i++) {
2984
- fn3.call(null, obj[i], i, obj);
3197
+ fn4.call(null, obj[i], i, obj);
2985
3198
  }
2986
3199
  } else {
2987
3200
  for (var key in obj) {
2988
3201
  if (Object.prototype.hasOwnProperty.call(obj, key)) {
2989
- fn3.call(null, obj[key], key, obj);
3202
+ fn4.call(null, obj[key], key, obj);
2990
3203
  }
2991
3204
  }
2992
3205
  }
@@ -3118,10 +3331,10 @@ InterceptorManager$1.prototype.eject = /* @__PURE__ */ __name(function eject(id2
3118
3331
  this.handlers[id2] = null;
3119
3332
  }
3120
3333
  }, "eject");
3121
- InterceptorManager$1.prototype.forEach = /* @__PURE__ */ __name(function forEach(fn3) {
3334
+ InterceptorManager$1.prototype.forEach = /* @__PURE__ */ __name(function forEach(fn4) {
3122
3335
  utils$a.forEach(this.handlers, /* @__PURE__ */ __name(function forEachHandler(h2) {
3123
3336
  if (h2 !== null) {
3124
- fn3(h2);
3337
+ fn4(h2);
3125
3338
  }
3126
3339
  }, "forEachHandler"));
3127
3340
  }, "forEach");
@@ -3642,8 +3855,8 @@ var utils$7 = utils$c;
3642
3855
  var defaults$4 = defaults_1;
3643
3856
  var transformData$1 = /* @__PURE__ */ __name(function transformData(data, headers, fns) {
3644
3857
  var context = this || defaults$4;
3645
- utils$7.forEach(fns, /* @__PURE__ */ __name(function transform2(fn3) {
3646
- data = fn3.call(context, data, headers);
3858
+ utils$7.forEach(fns, /* @__PURE__ */ __name(function transform2(fn4) {
3859
+ data = fn4.call(context, data, headers);
3647
3860
  }, "transform"));
3648
3861
  return data;
3649
3862
  }, "transformData");
@@ -4936,9 +5149,9 @@ function composeEventHandlers() {
4936
5149
  for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
4937
5150
  args[_key2 - 1] = arguments[_key2];
4938
5151
  }
4939
- return fns.some(function(fn3) {
4940
- if (!isPropagationStopped(event) && fn3) {
4941
- fn3.apply(void 0, [event].concat(args));
5152
+ return fns.some(function(fn4) {
5153
+ if (!isPropagationStopped(event) && fn4) {
5154
+ fn4.apply(void 0, [event].concat(args));
4942
5155
  }
4943
5156
  return isPropagationStopped(event);
4944
5157
  });
@@ -5555,14 +5768,14 @@ function useDropzone() {
5555
5768
  openFileDialog();
5556
5769
  }
5557
5770
  }, [inputRef, noClick, openFileDialog]);
5558
- var composeHandler = /* @__PURE__ */ __name(function composeHandler2(fn3) {
5559
- return disabled ? null : fn3;
5771
+ var composeHandler = /* @__PURE__ */ __name(function composeHandler2(fn4) {
5772
+ return disabled ? null : fn4;
5560
5773
  }, "composeHandler");
5561
- var composeKeyboardHandler = /* @__PURE__ */ __name(function composeKeyboardHandler2(fn3) {
5562
- return noKeyboard ? null : composeHandler(fn3);
5774
+ var composeKeyboardHandler = /* @__PURE__ */ __name(function composeKeyboardHandler2(fn4) {
5775
+ return noKeyboard ? null : composeHandler(fn4);
5563
5776
  }, "composeKeyboardHandler");
5564
- var composeDragHandler = /* @__PURE__ */ __name(function composeDragHandler2(fn3) {
5565
- return noDrag ? null : composeHandler(fn3);
5777
+ var composeDragHandler = /* @__PURE__ */ __name(function composeDragHandler2(fn4) {
5778
+ return noDrag ? null : composeHandler(fn4);
5566
5779
  }, "composeDragHandler");
5567
5780
  var stopPropagation = /* @__PURE__ */ __name(function stopPropagation2(event) {
5568
5781
  if (noDragEventsBubbling) {
@@ -6504,8 +6717,8 @@ function once(func) {
6504
6717
  __name(once, "once");
6505
6718
  var noop$2 = /* @__PURE__ */ __name(function noop() {
6506
6719
  }, "noop");
6507
- function isFunction$5(fn3) {
6508
- return typeof fn3 === "function";
6720
+ function isFunction$5(fn4) {
6721
+ return typeof fn4 === "function";
6509
6722
  }
6510
6723
  __name(isFunction$5, "isFunction$5");
6511
6724
  function isStringish(value) {
@@ -7311,12 +7524,12 @@ var tmpNameDescriptor = {
7311
7524
  writable: false,
7312
7525
  enumerable: false
7313
7526
  };
7314
- function createAction(actionName, fn3, autoAction2, ref) {
7527
+ function createAction(actionName, fn4, autoAction2, ref) {
7315
7528
  if (autoAction2 === void 0) {
7316
7529
  autoAction2 = false;
7317
7530
  }
7318
7531
  function res() {
7319
- return executeAction(actionName, autoAction2, fn3, ref || this, arguments);
7532
+ return executeAction(actionName, autoAction2, fn4, ref || this, arguments);
7320
7533
  }
7321
7534
  __name(res, "res");
7322
7535
  res.isMobxAction = true;
@@ -7327,10 +7540,10 @@ function createAction(actionName, fn3, autoAction2, ref) {
7327
7540
  return res;
7328
7541
  }
7329
7542
  __name(createAction, "createAction");
7330
- function executeAction(actionName, canRunAsDerivation, fn3, scope, args) {
7543
+ function executeAction(actionName, canRunAsDerivation, fn4, scope, args) {
7331
7544
  var runInfo = _startAction(actionName, canRunAsDerivation);
7332
7545
  try {
7333
- return fn3.apply(scope, args);
7546
+ return fn4.apply(scope, args);
7334
7547
  } catch (err) {
7335
7548
  runInfo.error_ = err;
7336
7549
  throw err;
@@ -8115,7 +8328,7 @@ var Reaction = /* @__PURE__ */ function() {
8115
8328
  endBatch();
8116
8329
  }
8117
8330
  }, "runReaction_");
8118
- _proto.track = /* @__PURE__ */ __name(function track2(fn3) {
8331
+ _proto.track = /* @__PURE__ */ __name(function track2(fn4) {
8119
8332
  if (this.isDisposed_) {
8120
8333
  return;
8121
8334
  }
@@ -8123,7 +8336,7 @@ var Reaction = /* @__PURE__ */ function() {
8123
8336
  this.isRunning_ = true;
8124
8337
  var prevReaction = globalState.trackingContext;
8125
8338
  globalState.trackingContext = this;
8126
- var result = trackDerivedFunction(this, fn3, void 0);
8339
+ var result = trackDerivedFunction(this, fn4, void 0);
8127
8340
  globalState.trackingContext = prevReaction;
8128
8341
  this.isRunning_ = false;
8129
8342
  this.isTrackPending_ = false;
@@ -8208,10 +8421,10 @@ function runReactionsHelper() {
8208
8421
  }
8209
8422
  __name(runReactionsHelper, "runReactionsHelper");
8210
8423
  var isReaction = /* @__PURE__ */ createInstanceofPredicate("Reaction", Reaction);
8211
- function setReactionScheduler(fn3) {
8424
+ function setReactionScheduler(fn4) {
8212
8425
  var baseScheduler = reactionScheduler;
8213
8426
  reactionScheduler = /* @__PURE__ */ __name(function reactionScheduler3(f2) {
8214
- return fn3(function() {
8427
+ return fn4(function() {
8215
8428
  return baseScheduler(f2);
8216
8429
  });
8217
8430
  }, "reactionScheduler");
@@ -8522,8 +8735,8 @@ function cancelPromise(promise) {
8522
8735
  }
8523
8736
  }
8524
8737
  __name(cancelPromise, "cancelPromise");
8525
- function isFlow(fn3) {
8526
- return (fn3 == null ? void 0 : fn3.isMobXFlow) === true;
8738
+ function isFlow(fn4) {
8739
+ return (fn4 == null ? void 0 : fn4.isMobXFlow) === true;
8527
8740
  }
8528
8741
  __name(isFlow, "isFlow");
8529
8742
  function _isObservable(value, property2) {
@@ -10206,9 +10419,9 @@ var LegacyObservableArray = /* @__PURE__ */ function(_StubArray, _Symbol$toStrin
10206
10419
  return LegacyObservableArray2;
10207
10420
  }(StubArray, Symbol.toStringTag, Symbol.iterator);
10208
10421
  Object.entries(arrayExtensions).forEach(function(_ref) {
10209
- var prop = _ref[0], fn3 = _ref[1];
10422
+ var prop = _ref[0], fn4 = _ref[1];
10210
10423
  if (prop !== "concat") {
10211
- addHiddenProp(LegacyObservableArray.prototype, prop, fn3);
10424
+ addHiddenProp(LegacyObservableArray.prototype, prop, fn4);
10212
10425
  }
10213
10426
  });
10214
10427
  function createArrayEntryDescriptor(index2) {
@@ -10857,13 +11070,13 @@ function wrapper(realMethod, mixins) {
10857
11070
  }
10858
11071
  __name(wrapper, "wrapper");
10859
11072
  function wrapFunction(realMethod, mixins) {
10860
- var fn3 = /* @__PURE__ */ __name(function fn4() {
11073
+ var fn4 = /* @__PURE__ */ __name(function fn5() {
10861
11074
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
10862
11075
  args[_key2] = arguments[_key2];
10863
11076
  }
10864
11077
  wrapper.call.apply(wrapper, [this, realMethod, mixins].concat(args));
10865
11078
  }, "fn");
10866
- return fn3;
11079
+ return fn4;
10867
11080
  }
10868
11081
  __name(wrapFunction, "wrapFunction");
10869
11082
  function patch$1(target, methodName, mixinMethod) {
@@ -11544,12 +11757,12 @@ var un = function() {
11544
11757
  return o2(n3, t2);
11545
11758
  });
11546
11759
  }, e2;
11547
- }(), an = new un(), fn2 = an.produce, cn = an.produceWithPatches.bind(an), sn = an.setAutoFreeze.bind(an);
11760
+ }(), an = new un(), fn3 = an.produce, cn = an.produceWithPatches.bind(an), sn = an.setAutoFreeze.bind(an);
11548
11761
  an.setUseProxies.bind(an);
11549
11762
  var pn = an.applyPatches.bind(an);
11550
11763
  an.createDraft.bind(an);
11551
11764
  an.finishDraft.bind(an);
11552
- const immer = fn2;
11765
+ const immer = fn3;
11553
11766
  const UploadCsvWizard = "";
11554
11767
  var lodash = { exports: {} };
11555
11768
  /**
@@ -13928,8 +14141,8 @@ lodash.exports;
13928
14141
  function createBind(func, bitmask, thisArg) {
13929
14142
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
13930
14143
  function wrapper2() {
13931
- var fn3 = this && this !== root2 && this instanceof wrapper2 ? Ctor : func;
13932
- return fn3.apply(isBind ? thisArg : this, arguments);
14144
+ var fn4 = this && this !== root2 && this instanceof wrapper2 ? Ctor : func;
14145
+ return fn4.apply(isBind ? thisArg : this, arguments);
13933
14146
  }
13934
14147
  __name(wrapper2, "wrapper");
13935
14148
  return wrapper2;
@@ -14000,8 +14213,8 @@ lodash.exports;
14000
14213
  arity - length
14001
14214
  );
14002
14215
  }
14003
- var fn3 = this && this !== root2 && this instanceof wrapper2 ? Ctor : func;
14004
- return apply2(fn3, this, args);
14216
+ var fn4 = this && this !== root2 && this instanceof wrapper2 ? Ctor : func;
14217
+ return apply2(fn4, this, args);
14005
14218
  }
14006
14219
  __name(wrapper2, "wrapper");
14007
14220
  return wrapper2;
@@ -14093,7 +14306,7 @@ lodash.exports;
14093
14306
  arity - length
14094
14307
  );
14095
14308
  }
14096
- var thisBinding = isBind ? thisArg : this, fn3 = isBindKey ? thisBinding[func] : func;
14309
+ var thisBinding = isBind ? thisArg : this, fn4 = isBindKey ? thisBinding[func] : func;
14097
14310
  length = args.length;
14098
14311
  if (argPos) {
14099
14312
  args = reorder(args, argPos);
@@ -14104,9 +14317,9 @@ lodash.exports;
14104
14317
  args.length = ary2;
14105
14318
  }
14106
14319
  if (this && this !== root2 && this instanceof wrapper2) {
14107
- fn3 = Ctor || createCtor(fn3);
14320
+ fn4 = Ctor || createCtor(fn4);
14108
14321
  }
14109
- return fn3.apply(thisBinding, args);
14322
+ return fn4.apply(thisBinding, args);
14110
14323
  }
14111
14324
  __name(wrapper2, "wrapper");
14112
14325
  return wrapper2;
@@ -14169,14 +14382,14 @@ lodash.exports;
14169
14382
  function createPartial(func, bitmask, thisArg, partials) {
14170
14383
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
14171
14384
  function wrapper2() {
14172
- var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn3 = this && this !== root2 && this instanceof wrapper2 ? Ctor : func;
14385
+ var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn4 = this && this !== root2 && this instanceof wrapper2 ? Ctor : func;
14173
14386
  while (++leftIndex < leftLength) {
14174
14387
  args[leftIndex] = partials[leftIndex];
14175
14388
  }
14176
14389
  while (argsLength--) {
14177
14390
  args[leftIndex++] = arguments[++argsIndex];
14178
14391
  }
14179
- return apply2(fn3, isBind ? thisArg : this, args);
14392
+ return apply2(fn4, isBind ? thisArg : this, args);
14180
14393
  }
14181
14394
  __name(wrapper2, "wrapper");
14182
14395
  return wrapper2;
@@ -18005,26 +18218,26 @@ var _aFunction = /* @__PURE__ */ __name(function(it) {
18005
18218
  return it;
18006
18219
  }, "_aFunction");
18007
18220
  var aFunction = _aFunction;
18008
- var _ctx = /* @__PURE__ */ __name(function(fn3, that, length) {
18009
- aFunction(fn3);
18221
+ var _ctx = /* @__PURE__ */ __name(function(fn4, that, length) {
18222
+ aFunction(fn4);
18010
18223
  if (that === void 0)
18011
- return fn3;
18224
+ return fn4;
18012
18225
  switch (length) {
18013
18226
  case 1:
18014
18227
  return function(a2) {
18015
- return fn3.call(that, a2);
18228
+ return fn4.call(that, a2);
18016
18229
  };
18017
18230
  case 2:
18018
18231
  return function(a2, b2) {
18019
- return fn3.call(that, a2, b2);
18232
+ return fn4.call(that, a2, b2);
18020
18233
  };
18021
18234
  case 3:
18022
18235
  return function(a2, b2, c2) {
18023
- return fn3.call(that, a2, b2, c2);
18236
+ return fn4.call(that, a2, b2, c2);
18024
18237
  };
18025
18238
  }
18026
18239
  return function() {
18027
- return fn3.apply(that, arguments);
18240
+ return fn4.apply(that, arguments);
18028
18241
  };
18029
18242
  }, "_ctx");
18030
18243
  var _objectDp = {};
@@ -18073,12 +18286,12 @@ var isObject$d = _isObject;
18073
18286
  var _toPrimitive = /* @__PURE__ */ __name(function(it, S2) {
18074
18287
  if (!isObject$d(it))
18075
18288
  return it;
18076
- var fn3, val;
18077
- if (S2 && typeof (fn3 = it.toString) == "function" && !isObject$d(val = fn3.call(it)))
18289
+ var fn4, val;
18290
+ if (S2 && typeof (fn4 = it.toString) == "function" && !isObject$d(val = fn4.call(it)))
18078
18291
  return val;
18079
- if (typeof (fn3 = it.valueOf) == "function" && !isObject$d(val = fn3.call(it)))
18292
+ if (typeof (fn4 = it.valueOf) == "function" && !isObject$d(val = fn4.call(it)))
18080
18293
  return val;
18081
- if (!S2 && typeof (fn3 = it.toString) == "function" && !isObject$d(val = fn3.call(it)))
18294
+ if (!S2 && typeof (fn4 = it.toString) == "function" && !isObject$d(val = fn4.call(it)))
18082
18295
  return val;
18083
18296
  throw TypeError("Can't convert object to primitive value");
18084
18297
  }, "_toPrimitive");
@@ -18701,9 +18914,9 @@ var _default$a = function() {
18701
18914
  };
18702
18915
  }();
18703
18916
  var anObject$1 = _anObject;
18704
- var _iterCall = /* @__PURE__ */ __name(function(iterator2, fn3, value, entries) {
18917
+ var _iterCall = /* @__PURE__ */ __name(function(iterator2, fn4, value, entries) {
18705
18918
  try {
18706
- return entries ? fn3(anObject$1(value)[0], value[1]) : fn3(value);
18919
+ return entries ? fn4(anObject$1(value)[0], value[1]) : fn4(value);
18707
18920
  } catch (e2) {
18708
18921
  var ret = iterator2["return"];
18709
18922
  if (ret !== void 0)
@@ -18823,11 +19036,11 @@ var $export$4 = _export;
18823
19036
  var core$1 = _coreExports;
18824
19037
  var fails = _fails;
18825
19038
  var _objectSap = /* @__PURE__ */ __name(function(KEY, exec) {
18826
- var fn3 = (core$1.Object || {})[KEY] || Object[KEY];
19039
+ var fn4 = (core$1.Object || {})[KEY] || Object[KEY];
18827
19040
  var exp = {};
18828
- exp[KEY] = exec(fn3);
19041
+ exp[KEY] = exec(fn4);
18829
19042
  $export$4($export$4.S + $export$4.F * fails(function() {
18830
- fn3(1);
19043
+ fn4(1);
18831
19044
  }), "Object", exp);
18832
19045
  }, "_objectSap");
18833
19046
  var toObject$2 = _toObject;
@@ -21107,9 +21320,9 @@ var vendorPrefix = function() {
21107
21320
  return pre && pre.length ? pre[0].toUpperCase() + pre.substr(1) : "";
21108
21321
  }
21109
21322
  }();
21110
- function closest(el, fn3) {
21323
+ function closest(el, fn4) {
21111
21324
  while (el) {
21112
- if (fn3(el))
21325
+ if (fn4(el))
21113
21326
  return el;
21114
21327
  el = el.parentNode;
21115
21328
  }
@@ -22123,9 +22336,9 @@ var getComputedStyleX;
22123
22336
  if (typeof window !== "undefined") {
22124
22337
  getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;
22125
22338
  }
22126
- function each(arr, fn3) {
22339
+ function each(arr, fn4) {
22127
22340
  for (var i = 0; i < arr.length; i++) {
22128
- fn3(arr[i]);
22341
+ fn4(arr[i]);
22129
22342
  }
22130
22343
  }
22131
22344
  __name(each, "each");
@@ -26776,7 +26989,7 @@ function trough() {
26776
26989
  }
26777
26990
  next(null, ...values);
26778
26991
  function next(error, ...output) {
26779
- const fn3 = fns[++middlewareIndex];
26992
+ const fn4 = fns[++middlewareIndex];
26780
26993
  let index2 = -1;
26781
26994
  if (error) {
26782
26995
  callback(error);
@@ -26788,8 +27001,8 @@ function trough() {
26788
27001
  }
26789
27002
  }
26790
27003
  values = output;
26791
- if (fn3) {
26792
- wrap$1(fn3, next)(...output);
27004
+ if (fn4) {
27005
+ wrap$1(fn4, next)(...output);
26793
27006
  } else {
26794
27007
  callback(null, ...output);
26795
27008
  }
@@ -38176,9 +38389,9 @@ var swizzle$1 = simpleSwizzle.exports = /* @__PURE__ */ __name(function swizzle(
38176
38389
  }
38177
38390
  return results;
38178
38391
  }, "swizzle");
38179
- swizzle$1.wrap = function(fn3) {
38392
+ swizzle$1.wrap = function(fn4) {
38180
38393
  return function() {
38181
- return fn3(swizzle$1(arguments));
38394
+ return fn4(swizzle$1(arguments));
38182
38395
  };
38183
38396
  };
38184
38397
  var simpleSwizzleExports = simpleSwizzle.exports;
@@ -39262,15 +39475,15 @@ function link(from3, to) {
39262
39475
  __name(link, "link");
39263
39476
  function wrapConversion(toModel, graph) {
39264
39477
  var path2 = [graph[toModel].parent, toModel];
39265
- var fn3 = conversions$1[graph[toModel].parent][toModel];
39478
+ var fn4 = conversions$1[graph[toModel].parent][toModel];
39266
39479
  var cur = graph[toModel].parent;
39267
39480
  while (graph[cur].parent) {
39268
39481
  path2.unshift(graph[cur].parent);
39269
- fn3 = link(conversions$1[graph[cur].parent][cur], fn3);
39482
+ fn4 = link(conversions$1[graph[cur].parent][cur], fn4);
39270
39483
  cur = graph[cur].parent;
39271
39484
  }
39272
- fn3.conversion = path2;
39273
- return fn3;
39485
+ fn4.conversion = path2;
39486
+ return fn4;
39274
39487
  }
39275
39488
  __name(wrapConversion, "wrapConversion");
39276
39489
  var route$1 = /* @__PURE__ */ __name(function(fromModel) {
@@ -39291,7 +39504,7 @@ var conversions = conversionsExports;
39291
39504
  var route = route$1;
39292
39505
  var convert$1 = {};
39293
39506
  var models = Object.keys(conversions);
39294
- function wrapRaw(fn3) {
39507
+ function wrapRaw(fn4) {
39295
39508
  var wrappedFn = /* @__PURE__ */ __name(function(args) {
39296
39509
  if (args === void 0 || args === null) {
39297
39510
  return args;
@@ -39299,15 +39512,15 @@ function wrapRaw(fn3) {
39299
39512
  if (arguments.length > 1) {
39300
39513
  args = Array.prototype.slice.call(arguments);
39301
39514
  }
39302
- return fn3(args);
39515
+ return fn4(args);
39303
39516
  }, "wrappedFn");
39304
- if ("conversion" in fn3) {
39305
- wrappedFn.conversion = fn3.conversion;
39517
+ if ("conversion" in fn4) {
39518
+ wrappedFn.conversion = fn4.conversion;
39306
39519
  }
39307
39520
  return wrappedFn;
39308
39521
  }
39309
39522
  __name(wrapRaw, "wrapRaw");
39310
- function wrapRounded(fn3) {
39523
+ function wrapRounded(fn4) {
39311
39524
  var wrappedFn = /* @__PURE__ */ __name(function(args) {
39312
39525
  if (args === void 0 || args === null) {
39313
39526
  return args;
@@ -39315,7 +39528,7 @@ function wrapRounded(fn3) {
39315
39528
  if (arguments.length > 1) {
39316
39529
  args = Array.prototype.slice.call(arguments);
39317
39530
  }
39318
- var result = fn3(args);
39531
+ var result = fn4(args);
39319
39532
  if (typeof result === "object") {
39320
39533
  for (var len = result.length, i = 0; i < len; i++) {
39321
39534
  result[i] = Math.round(result[i]);
@@ -39323,8 +39536,8 @@ function wrapRounded(fn3) {
39323
39536
  }
39324
39537
  return result;
39325
39538
  }, "wrappedFn");
39326
- if ("conversion" in fn3) {
39327
- wrappedFn.conversion = fn3.conversion;
39539
+ if ("conversion" in fn4) {
39540
+ wrappedFn.conversion = fn4.conversion;
39328
39541
  }
39329
39542
  return wrappedFn;
39330
39543
  }
@@ -39336,9 +39549,9 @@ models.forEach(function(fromModel) {
39336
39549
  var routes = route(fromModel);
39337
39550
  var routeModels = Object.keys(routes);
39338
39551
  routeModels.forEach(function(toModel) {
39339
- var fn3 = routes[toModel];
39340
- convert$1[fromModel][toModel] = wrapRounded(fn3);
39341
- convert$1[fromModel][toModel].raw = wrapRaw(fn3);
39552
+ var fn4 = routes[toModel];
39553
+ convert$1[fromModel][toModel] = wrapRounded(fn4);
39554
+ convert$1[fromModel][toModel].raw = wrapRaw(fn4);
39342
39555
  });
39343
39556
  });
39344
39557
  var colorConvert = convert$1;
@@ -40805,9 +41018,9 @@ var doEval = /* @__PURE__ */ __name(function doEval2(name) {
40805
41018
  } else if (name === "%AsyncGeneratorFunction%") {
40806
41019
  value = getEvalledConstructor("async function* () {}");
40807
41020
  } else if (name === "%AsyncGenerator%") {
40808
- var fn3 = doEval2("%AsyncGeneratorFunction%");
40809
- if (fn3) {
40810
- value = fn3.prototype;
41021
+ var fn4 = doEval2("%AsyncGeneratorFunction%");
41022
+ if (fn4) {
41023
+ value = fn4.prototype;
40811
41024
  }
40812
41025
  } else if (name === "%AsyncIteratorPrototype%") {
40813
41026
  var gen = doEval2("%AsyncGenerator%");
@@ -41863,15 +42076,15 @@ var isBuffer$3 = /* @__PURE__ */ __name(function isBuffer2(obj) {
41863
42076
  var combine = /* @__PURE__ */ __name(function combine2(a2, b2) {
41864
42077
  return [].concat(a2, b2);
41865
42078
  }, "combine");
41866
- var maybeMap = /* @__PURE__ */ __name(function maybeMap2(val, fn3) {
42079
+ var maybeMap = /* @__PURE__ */ __name(function maybeMap2(val, fn4) {
41867
42080
  if (isArray$8(val)) {
41868
42081
  var mapped = [];
41869
42082
  for (var i = 0; i < val.length; i += 1) {
41870
- mapped.push(fn3(val[i]));
42083
+ mapped.push(fn4(val[i]));
41871
42084
  }
41872
42085
  return mapped;
41873
42086
  }
41874
- return fn3(val);
42087
+ return fn4(val);
41875
42088
  }, "maybeMap");
41876
42089
  var utils$2 = {
41877
42090
  arrayToObject,
@@ -46495,8 +46708,8 @@ var Saturation = function(_ref) {
46495
46708
  _this.handleMouseUp = function() {
46496
46709
  _this.unbindEventListeners();
46497
46710
  };
46498
- _this.throttle = throttle(function(fn3, data, e2) {
46499
- fn3(data, e2);
46711
+ _this.throttle = throttle(function(fn4, data, e2) {
46712
+ fn4(data, e2);
46500
46713
  }, 50);
46501
46714
  return _this;
46502
46715
  }
@@ -46868,8 +47081,8 @@ tinycolor.prototype = {
46868
47081
  clone: /* @__PURE__ */ __name(function clone3() {
46869
47082
  return tinycolor(this.toString());
46870
47083
  }, "clone"),
46871
- _applyModification: /* @__PURE__ */ __name(function _applyModification(fn3, args) {
46872
- var color2 = fn3.apply(null, [this].concat([].slice.call(args)));
47084
+ _applyModification: /* @__PURE__ */ __name(function _applyModification(fn4, args) {
47085
+ var color2 = fn4.apply(null, [this].concat([].slice.call(args)));
46873
47086
  this._r = color2._r;
46874
47087
  this._g = color2._g;
46875
47088
  this._b = color2._b;
@@ -46897,8 +47110,8 @@ tinycolor.prototype = {
46897
47110
  spin: /* @__PURE__ */ __name(function spin() {
46898
47111
  return this._applyModification(_spin, arguments);
46899
47112
  }, "spin"),
46900
- _applyCombination: /* @__PURE__ */ __name(function _applyCombination(fn3, args) {
46901
- return fn3.apply(null, [this].concat([].slice.call(args)));
47113
+ _applyCombination: /* @__PURE__ */ __name(function _applyCombination(fn4, args) {
47114
+ return fn4.apply(null, [this].concat([].slice.call(args)));
46902
47115
  }, "_applyCombination"),
46903
47116
  analogous: /* @__PURE__ */ __name(function analogous() {
46904
47117
  return this._applyCombination(_analogous, arguments);
@@ -47818,8 +48031,8 @@ var ColorWrap = /* @__PURE__ */ __name(function ColorWrap2(Picker) {
47818
48031
  }
47819
48032
  };
47820
48033
  _this.state = _extends$b({}, toState(props.color, 0));
47821
- _this.debounce = debounce(function(fn3, data, event) {
47822
- fn3(data, event);
48034
+ _this.debounce = debounce(function(fn4, data, event) {
48035
+ fn4(data, event);
47823
48036
  }, 100);
47824
48037
  return _this;
47825
48038
  }
@@ -56709,9 +56922,9 @@ const _DataTable = class _DataTable extends React$1.Component {
56709
56922
  return window.toastr.warning("No text to copy");
56710
56923
  this.handleCopyHelper(textToCopy, "Column copied");
56711
56924
  }, "handleCopyColumn"));
56712
- __publicField(this, "updateEntitiesHelper", /* @__PURE__ */ __name((ents, fn3) => {
56925
+ __publicField(this, "updateEntitiesHelper", /* @__PURE__ */ __name((ents, fn4) => {
56713
56926
  const { change, reduxFormEntitiesUndoRedoStack = { currentVersion: 0 } } = this.props;
56714
- const [nextState, patches, inversePatches] = cn(ents, fn3);
56927
+ const [nextState, patches, inversePatches] = cn(ents, fn4);
56715
56928
  if (!inversePatches.length)
56716
56929
  return;
56717
56930
  const thatNewNew = [...nextState];
@@ -58483,8 +58696,8 @@ const _DataTable = class _DataTable extends React$1.Component {
58483
58696
  let updateTableDisplayDensityToUse = updateTableDisplayDensity;
58484
58697
  let resetDefaultVisibilityToUse = resetDefaultVisibility;
58485
58698
  if (withDisplayOptions && !syncDisplayOptionsToDb) {
58486
- const wrapUpdate = /* @__PURE__ */ __name((fn3) => (...args) => {
58487
- fn3(...args);
58699
+ const wrapUpdate = /* @__PURE__ */ __name((fn4) => (...args) => {
58700
+ fn4(...args);
58488
58701
  change("localStorageForceUpdate", Math.random());
58489
58702
  }, "wrapUpdate");
58490
58703
  updateColumnVisibilityToUse = wrapUpdate(updateColumnVisibility);
@@ -59356,7 +59569,7 @@ const wrapDialog = /* @__PURE__ */ __name((topLevelDialogProps = {}) => (Compone
59356
59569
  /* @__PURE__ */ React$1.createElement(Component, __spreadValues({ hideModal }, otherProps))
59357
59570
  );
59358
59571
  }, "wrapDialog");
59359
- function renderOnDoc(fn3) {
59572
+ function renderOnDoc(fn4) {
59360
59573
  const elemDiv = document.createElement("div");
59361
59574
  elemDiv.style.cssText = "position:absolute;width:100%;height:100%;top:0px;opacity:0.3;z-index:0;";
59362
59575
  document.body.appendChild(elemDiv);
@@ -59366,7 +59579,7 @@ function renderOnDoc(fn3) {
59366
59579
  document.body.removeChild(elemDiv);
59367
59580
  });
59368
59581
  }, "handleClose");
59369
- return ReactDOM.render(fn3(handleClose), elemDiv);
59582
+ return ReactDOM.render(fn4(handleClose), elemDiv);
59370
59583
  }
59371
59584
  __name(renderOnDoc, "renderOnDoc");
59372
59585
  function renderOnDocSimple(el) {
@@ -64712,9 +64925,9 @@ var bluebird = { exports: {} };
64712
64925
  this._schedule = schedule;
64713
64926
  }
64714
64927
  __name(Async, "Async");
64715
- Async.prototype.setScheduler = function(fn3) {
64928
+ Async.prototype.setScheduler = function(fn4) {
64716
64929
  var prev = this._schedule;
64717
- this._schedule = fn3;
64930
+ this._schedule = fn4;
64718
64931
  this._customScheduler = true;
64719
64932
  return prev;
64720
64933
  };
@@ -64732,33 +64945,33 @@ var bluebird = { exports: {} };
64732
64945
  this.throwLater(e2);
64733
64946
  }
64734
64947
  };
64735
- Async.prototype.throwLater = function(fn3, arg) {
64948
+ Async.prototype.throwLater = function(fn4, arg) {
64736
64949
  if (arguments.length === 1) {
64737
- arg = fn3;
64738
- fn3 = /* @__PURE__ */ __name(function() {
64950
+ arg = fn4;
64951
+ fn4 = /* @__PURE__ */ __name(function() {
64739
64952
  throw arg;
64740
64953
  }, "fn");
64741
64954
  }
64742
64955
  if (typeof setTimeout !== "undefined") {
64743
64956
  setTimeout(function() {
64744
- fn3(arg);
64957
+ fn4(arg);
64745
64958
  }, 0);
64746
64959
  } else
64747
64960
  try {
64748
64961
  this._schedule(function() {
64749
- fn3(arg);
64962
+ fn4(arg);
64750
64963
  });
64751
64964
  } catch (e2) {
64752
64965
  throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n");
64753
64966
  }
64754
64967
  };
64755
- function AsyncInvokeLater(fn3, receiver, arg) {
64756
- this._lateQueue.push(fn3, receiver, arg);
64968
+ function AsyncInvokeLater(fn4, receiver, arg) {
64969
+ this._lateQueue.push(fn4, receiver, arg);
64757
64970
  this._queueTick();
64758
64971
  }
64759
64972
  __name(AsyncInvokeLater, "AsyncInvokeLater");
64760
- function AsyncInvoke(fn3, receiver, arg) {
64761
- this._normalQueue.push(fn3, receiver, arg);
64973
+ function AsyncInvoke(fn4, receiver, arg) {
64974
+ this._normalQueue.push(fn4, receiver, arg);
64762
64975
  this._queueTick();
64763
64976
  }
64764
64977
  __name(AsyncInvoke, "AsyncInvoke");
@@ -64777,13 +64990,13 @@ var bluebird = { exports: {} };
64777
64990
  }
64778
64991
  __name(_drainQueue, "_drainQueue");
64779
64992
  function _drainQueueStep(queue) {
64780
- var fn3 = queue.shift();
64781
- if (typeof fn3 !== "function") {
64782
- fn3._settlePromises();
64993
+ var fn4 = queue.shift();
64994
+ if (typeof fn4 !== "function") {
64995
+ fn4._settlePromises();
64783
64996
  } else {
64784
64997
  var receiver = queue.shift();
64785
64998
  var arg = queue.shift();
64786
- fn3.call(receiver, arg);
64999
+ fn4.call(receiver, arg);
64787
65000
  }
64788
65001
  }
64789
65002
  __name(_drainQueueStep, "_drainQueueStep");
@@ -64899,20 +65112,20 @@ var bluebird = { exports: {} };
64899
65112
  util2.isIdentifier;
64900
65113
  var getGetter;
64901
65114
  function ensureMethod(obj, methodName) {
64902
- var fn3;
65115
+ var fn4;
64903
65116
  if (obj != null)
64904
- fn3 = obj[methodName];
64905
- if (typeof fn3 !== "function") {
65117
+ fn4 = obj[methodName];
65118
+ if (typeof fn4 !== "function") {
64906
65119
  var message = "Object " + util2.classString(obj) + " has no method '" + util2.toString(methodName) + "'";
64907
65120
  throw new Promise2.TypeError(message);
64908
65121
  }
64909
- return fn3;
65122
+ return fn4;
64910
65123
  }
64911
65124
  __name(ensureMethod, "ensureMethod");
64912
65125
  function caller(obj) {
64913
65126
  var methodName = this.pop();
64914
- var fn3 = ensureMethod(obj, methodName);
64915
- return fn3.apply(obj, this);
65127
+ var fn4 = ensureMethod(obj, methodName);
65128
+ return fn4.apply(obj, this);
64916
65129
  }
64917
65130
  __name(caller, "caller");
64918
65131
  Promise2.prototype.call = function(methodName) {
@@ -65283,13 +65496,13 @@ var bluebird = { exports: {} };
65283
65496
  Promise2.prototype._warn = function(message, shouldUseOwnTrace, promise) {
65284
65497
  return warn(message, shouldUseOwnTrace, promise || this);
65285
65498
  };
65286
- Promise2.onPossiblyUnhandledRejection = function(fn3) {
65499
+ Promise2.onPossiblyUnhandledRejection = function(fn4) {
65287
65500
  var context = Promise2._getContext();
65288
- possiblyUnhandledRejection = util2.contextBind(context, fn3);
65501
+ possiblyUnhandledRejection = util2.contextBind(context, fn4);
65289
65502
  };
65290
- Promise2.onUnhandledRejectionHandled = function(fn3) {
65503
+ Promise2.onUnhandledRejectionHandled = function(fn4) {
65291
65504
  var context = Promise2._getContext();
65292
- unhandledRejectionHandled = util2.contextBind(context, fn3);
65505
+ unhandledRejectionHandled = util2.contextBind(context, fn4);
65293
65506
  };
65294
65507
  var disableLongStackTraces = /* @__PURE__ */ __name(function() {
65295
65508
  }, "disableLongStackTraces");
@@ -65328,8 +65541,8 @@ var bluebird = { exports: {} };
65328
65541
  util2.global.onunhandledrejection = null;
65329
65542
  return ret;
65330
65543
  },
65331
- after: function(fn3) {
65332
- util2.global.onunhandledrejection = fn3;
65544
+ after: function(fn4) {
65545
+ util2.global.onunhandledrejection = fn4;
65333
65546
  }
65334
65547
  },
65335
65548
  rejectionhandled: {
@@ -65338,20 +65551,20 @@ var bluebird = { exports: {} };
65338
65551
  util2.global.onrejectionhandled = null;
65339
65552
  return ret;
65340
65553
  },
65341
- after: function(fn3) {
65342
- util2.global.onrejectionhandled = fn3;
65554
+ after: function(fn4) {
65555
+ util2.global.onrejectionhandled = fn4;
65343
65556
  }
65344
65557
  }
65345
65558
  };
65346
65559
  var fireDomEvent = function() {
65347
65560
  var dispatch = /* @__PURE__ */ __name(function(legacy, e2) {
65348
65561
  if (legacy) {
65349
- var fn3;
65562
+ var fn4;
65350
65563
  try {
65351
- fn3 = legacy.before();
65564
+ fn4 = legacy.before();
65352
65565
  return !util2.global.dispatchEvent(e2);
65353
65566
  } finally {
65354
- legacy.after(fn3);
65567
+ legacy.after(fn4);
65355
65568
  }
65356
65569
  } else {
65357
65570
  return !util2.global.dispatchEvent(e2);
@@ -66217,18 +66430,18 @@ var bluebird = { exports: {} };
66217
66430
  return PromiseAll(this);
66218
66431
  }
66219
66432
  __name(promiseAllThis, "promiseAllThis");
66220
- function PromiseMapSeries(promises, fn3) {
66221
- return PromiseReduce(promises, fn3, INTERNAL, INTERNAL);
66433
+ function PromiseMapSeries(promises, fn4) {
66434
+ return PromiseReduce(promises, fn4, INTERNAL, INTERNAL);
66222
66435
  }
66223
66436
  __name(PromiseMapSeries, "PromiseMapSeries");
66224
- Promise2.prototype.each = function(fn3) {
66225
- return PromiseReduce(this, fn3, INTERNAL, 0)._then(promiseAllThis, void 0, void 0, this, void 0);
66437
+ Promise2.prototype.each = function(fn4) {
66438
+ return PromiseReduce(this, fn4, INTERNAL, 0)._then(promiseAllThis, void 0, void 0, this, void 0);
66226
66439
  };
66227
- Promise2.prototype.mapSeries = function(fn3) {
66228
- return PromiseReduce(this, fn3, INTERNAL, INTERNAL);
66440
+ Promise2.prototype.mapSeries = function(fn4) {
66441
+ return PromiseReduce(this, fn4, INTERNAL, INTERNAL);
66229
66442
  };
66230
- Promise2.each = function(promises, fn3) {
66231
- return PromiseReduce(promises, fn3, INTERNAL, 0)._then(promiseAllThis, void 0, void 0, promises, void 0);
66443
+ Promise2.each = function(promises, fn4) {
66444
+ return PromiseReduce(promises, fn4, INTERNAL, 0)._then(promiseAllThis, void 0, void 0, promises, void 0);
66232
66445
  };
66233
66446
  Promise2.mapSeries = PromiseMapSeries;
66234
66447
  };
@@ -66417,11 +66630,11 @@ var bluebird = { exports: {} };
66417
66630
  }, {}], 14: [function(_dereq_2, module3, exports3) {
66418
66631
  module3.exports = function(Promise2, INTERNAL) {
66419
66632
  var PromiseMap = Promise2.map;
66420
- Promise2.prototype.filter = function(fn3, options) {
66421
- return PromiseMap(this, fn3, options, INTERNAL);
66633
+ Promise2.prototype.filter = function(fn4, options) {
66634
+ return PromiseMap(this, fn4, options, INTERNAL);
66422
66635
  };
66423
- Promise2.filter = function(promises, fn3, options) {
66424
- return PromiseMap(promises, fn3, options, INTERNAL);
66636
+ Promise2.filter = function(promises, fn4, options) {
66637
+ return PromiseMap(promises, fn4, options, INTERNAL);
66425
66638
  };
66426
66639
  };
66427
66640
  }, {}], 15: [function(_dereq_2, module3, exports3) {
@@ -66767,11 +66980,11 @@ var bluebird = { exports: {} };
66767
66980
  return ret;
66768
66981
  };
66769
66982
  };
66770
- Promise2.coroutine.addYieldHandler = function(fn3) {
66771
- if (typeof fn3 !== "function") {
66772
- throw new TypeError2("expecting a function but got " + util2.classString(fn3));
66983
+ Promise2.coroutine.addYieldHandler = function(fn4) {
66984
+ if (typeof fn4 !== "function") {
66985
+ throw new TypeError2("expecting a function but got " + util2.classString(fn4));
66773
66986
  }
66774
- yieldHandlers.push(fn3);
66987
+ yieldHandlers.push(fn4);
66775
66988
  };
66776
66989
  Promise2.spawn = function(generatorFunction) {
66777
66990
  debug.deprecated("Promise.spawn()", "Promise.coroutine()");
@@ -66792,16 +67005,16 @@ var bluebird = { exports: {} };
66792
67005
  util2.errorObj;
66793
67006
  Promise2.join = function() {
66794
67007
  var last2 = arguments.length - 1;
66795
- var fn3;
67008
+ var fn4;
66796
67009
  if (last2 > 0 && typeof arguments[last2] === "function") {
66797
- fn3 = arguments[last2];
67010
+ fn4 = arguments[last2];
66798
67011
  var ret;
66799
67012
  }
66800
67013
  var args = [].slice.call(arguments);
66801
- if (fn3)
67014
+ if (fn4)
66802
67015
  args.pop();
66803
67016
  var ret = new PromiseArray(args).promise();
66804
- return fn3 !== void 0 ? ret.spread(fn3) : ret;
67017
+ return fn4 !== void 0 ? ret.spread(fn4) : ret;
66805
67018
  };
66806
67019
  };
66807
67020
  }, { "./util": 36 }], 18: [function(_dereq_2, module3, exports3) {
@@ -66810,11 +67023,11 @@ var bluebird = { exports: {} };
66810
67023
  var tryCatch = util2.tryCatch;
66811
67024
  var errorObj = util2.errorObj;
66812
67025
  var async = Promise2._async;
66813
- function MappingPromiseArray(promises, fn3, limit2, _filter) {
67026
+ function MappingPromiseArray(promises, fn4, limit2, _filter) {
66814
67027
  this.constructor$(promises);
66815
67028
  this._promise._captureStackTrace();
66816
67029
  var context = Promise2._getContext();
66817
- this._callback = util2.contextBind(context, fn3);
67030
+ this._callback = util2.contextBind(context, fn4);
66818
67031
  this._preservedValues = _filter === INTERNAL ? new Array(this.length()) : null;
66819
67032
  this._limit = limit2;
66820
67033
  this._inFlight = 0;
@@ -66932,9 +67145,9 @@ var bluebird = { exports: {} };
66932
67145
  MappingPromiseArray.prototype.preservedValues = function() {
66933
67146
  return this._preservedValues;
66934
67147
  };
66935
- function map3(promises, fn3, options, _filter) {
66936
- if (typeof fn3 !== "function") {
66937
- return apiRejection("expecting a function but got " + util2.classString(fn3));
67148
+ function map3(promises, fn4, options, _filter) {
67149
+ if (typeof fn4 !== "function") {
67150
+ return apiRejection("expecting a function but got " + util2.classString(fn4));
66938
67151
  }
66939
67152
  var limit2 = 0;
66940
67153
  if (options !== void 0) {
@@ -66952,29 +67165,29 @@ var bluebird = { exports: {} };
66952
67165
  }
66953
67166
  }
66954
67167
  limit2 = typeof limit2 === "number" && isFinite(limit2) && limit2 >= 1 ? limit2 : 0;
66955
- return new MappingPromiseArray(promises, fn3, limit2, _filter).promise();
67168
+ return new MappingPromiseArray(promises, fn4, limit2, _filter).promise();
66956
67169
  }
66957
67170
  __name(map3, "map");
66958
- Promise2.prototype.map = function(fn3, options) {
66959
- return map3(this, fn3, options, null);
67171
+ Promise2.prototype.map = function(fn4, options) {
67172
+ return map3(this, fn4, options, null);
66960
67173
  };
66961
- Promise2.map = function(promises, fn3, options, _filter) {
66962
- return map3(promises, fn3, options, _filter);
67174
+ Promise2.map = function(promises, fn4, options, _filter) {
67175
+ return map3(promises, fn4, options, _filter);
66963
67176
  };
66964
67177
  };
66965
67178
  }, { "./util": 36 }], 19: [function(_dereq_2, module3, exports3) {
66966
67179
  module3.exports = function(Promise2, INTERNAL, tryConvertToPromise, apiRejection, debug) {
66967
67180
  var util2 = _dereq_2("./util");
66968
67181
  var tryCatch = util2.tryCatch;
66969
- Promise2.method = function(fn3) {
66970
- if (typeof fn3 !== "function") {
66971
- throw new Promise2.TypeError("expecting a function but got " + util2.classString(fn3));
67182
+ Promise2.method = function(fn4) {
67183
+ if (typeof fn4 !== "function") {
67184
+ throw new Promise2.TypeError("expecting a function but got " + util2.classString(fn4));
66972
67185
  }
66973
67186
  return function() {
66974
67187
  var ret = new Promise2(INTERNAL);
66975
67188
  ret._captureStackTrace();
66976
67189
  ret._pushContext();
66977
- var value = tryCatch(fn3).apply(this, arguments);
67190
+ var value = tryCatch(fn4).apply(this, arguments);
66978
67191
  var promiseCreated = ret._popContext();
66979
67192
  debug.checkForgottenReturns(
66980
67193
  value,
@@ -66986,9 +67199,9 @@ var bluebird = { exports: {} };
66986
67199
  return ret;
66987
67200
  };
66988
67201
  };
66989
- Promise2.attempt = Promise2["try"] = function(fn3) {
66990
- if (typeof fn3 !== "function") {
66991
- return apiRejection("expecting a function but got " + util2.classString(fn3));
67202
+ Promise2.attempt = Promise2["try"] = function(fn4) {
67203
+ if (typeof fn4 !== "function") {
67204
+ return apiRejection("expecting a function but got " + util2.classString(fn4));
66992
67205
  }
66993
67206
  var ret = new Promise2(INTERNAL);
66994
67207
  ret._captureStackTrace();
@@ -66998,9 +67211,9 @@ var bluebird = { exports: {} };
66998
67211
  debug.deprecated("calling Promise.try with more than 1 argument");
66999
67212
  var arg = arguments[1];
67000
67213
  var ctx2 = arguments[2];
67001
- value = util2.isArray(arg) ? tryCatch(fn3).apply(ctx2, arg) : tryCatch(fn3).call(ctx2, arg);
67214
+ value = util2.isArray(arg) ? tryCatch(fn4).apply(ctx2, arg) : tryCatch(fn4).call(ctx2, arg);
67002
67215
  } else {
67003
- value = tryCatch(fn3)();
67216
+ value = tryCatch(fn4)();
67004
67217
  }
67005
67218
  var promiseCreated = ret._popContext();
67006
67219
  debug.checkForgottenReturns(
@@ -67239,7 +67452,7 @@ var bluebird = { exports: {} };
67239
67452
  Promise2.prototype.toString = function() {
67240
67453
  return "[object Promise]";
67241
67454
  };
67242
- Promise2.prototype.caught = Promise2.prototype["catch"] = function(fn3) {
67455
+ Promise2.prototype.caught = Promise2.prototype["catch"] = function(fn4) {
67243
67456
  var len = arguments.length;
67244
67457
  if (len > 1) {
67245
67458
  var catchInstances = new Array(len - 1), j = 0, i;
@@ -67252,13 +67465,13 @@ var bluebird = { exports: {} };
67252
67465
  }
67253
67466
  }
67254
67467
  catchInstances.length = j;
67255
- fn3 = arguments[i];
67256
- if (typeof fn3 !== "function") {
67257
- throw new TypeError2("The last argument to .catch() must be a function, got " + util2.toString(fn3));
67468
+ fn4 = arguments[i];
67469
+ if (typeof fn4 !== "function") {
67470
+ throw new TypeError2("The last argument to .catch() must be a function, got " + util2.toString(fn4));
67258
67471
  }
67259
- return this.then(void 0, catchFilter(catchInstances, fn3, this));
67472
+ return this.then(void 0, catchFilter(catchInstances, fn4, this));
67260
67473
  }
67261
- return this.then(void 0, fn3);
67474
+ return this.then(void 0, fn4);
67262
67475
  };
67263
67476
  Promise2.prototype.reflect = function() {
67264
67477
  return this._then(
@@ -67283,11 +67496,11 @@ var bluebird = { exports: {} };
67283
67496
  var promise = this._then(didFulfill, didReject, void 0, void 0, void 0);
67284
67497
  promise._setIsFinal();
67285
67498
  };
67286
- Promise2.prototype.spread = function(fn3) {
67287
- if (typeof fn3 !== "function") {
67288
- return apiRejection("expecting a function but got " + util2.classString(fn3));
67499
+ Promise2.prototype.spread = function(fn4) {
67500
+ if (typeof fn4 !== "function") {
67501
+ return apiRejection("expecting a function but got " + util2.classString(fn4));
67289
67502
  }
67290
- return this.all()._then(fn3, void 0, void 0, APPLY, void 0);
67503
+ return this.all()._then(fn4, void 0, void 0, APPLY, void 0);
67291
67504
  };
67292
67505
  Promise2.prototype.toJSON = function() {
67293
67506
  var ret = {
@@ -67311,18 +67524,18 @@ var bluebird = { exports: {} };
67311
67524
  }
67312
67525
  return new PromiseArray(this).promise();
67313
67526
  };
67314
- Promise2.prototype.error = function(fn3) {
67315
- return this.caught(util2.originatesFromRejection, fn3);
67527
+ Promise2.prototype.error = function(fn4) {
67528
+ return this.caught(util2.originatesFromRejection, fn4);
67316
67529
  };
67317
67530
  Promise2.getNewLibraryCopy = module3.exports;
67318
67531
  Promise2.is = function(val) {
67319
67532
  return val instanceof Promise2;
67320
67533
  };
67321
- Promise2.fromNode = Promise2.fromCallback = function(fn3) {
67534
+ Promise2.fromNode = Promise2.fromCallback = function(fn4) {
67322
67535
  var ret = new Promise2(INTERNAL);
67323
67536
  ret._captureStackTrace();
67324
67537
  var multiArgs = arguments.length > 1 ? !!Object(arguments[1]).multiArgs : false;
67325
- var result = tryCatch(fn3)(nodebackForPromise(ret, multiArgs));
67538
+ var result = tryCatch(fn4)(nodebackForPromise(ret, multiArgs));
67326
67539
  if (result === errorObj) {
67327
67540
  ret._rejectCallback(result.e, true);
67328
67541
  }
@@ -67350,11 +67563,11 @@ var bluebird = { exports: {} };
67350
67563
  ret._rejectCallback(reason, true);
67351
67564
  return ret;
67352
67565
  };
67353
- Promise2.setScheduler = function(fn3) {
67354
- if (typeof fn3 !== "function") {
67355
- throw new TypeError2("expecting a function but got " + util2.classString(fn3));
67566
+ Promise2.setScheduler = function(fn4) {
67567
+ if (typeof fn4 !== "function") {
67568
+ throw new TypeError2("expecting a function but got " + util2.classString(fn4));
67356
67569
  }
67357
- return async.setScheduler(fn3);
67570
+ return async.setScheduler(fn4);
67358
67571
  };
67359
67572
  Promise2.prototype._then = function(didFulfill, didReject, _2, receiver, internalData) {
67360
67573
  var haveInternalData = internalData !== void 0;
@@ -68071,9 +68284,9 @@ var bluebird = { exports: {} };
68071
68284
  return !noCopyPropsPattern.test(key);
68072
68285
  }
68073
68286
  __name(propsFilter, "propsFilter");
68074
- function isPromisified(fn3) {
68287
+ function isPromisified(fn4) {
68075
68288
  try {
68076
- return fn3.__isPromisified__ === true;
68289
+ return fn4.__isPromisified__ === true;
68077
68290
  } catch (e2) {
68078
68291
  return false;
68079
68292
  }
@@ -68121,13 +68334,13 @@ var bluebird = { exports: {} };
68121
68334
  return str.replace(/([$])/, "\\$");
68122
68335
  }, "escapeIdentRegex");
68123
68336
  var makeNodePromisifiedEval;
68124
- function makeNodePromisifiedClosure(callback, receiver, _2, fn3, __, multiArgs) {
68337
+ function makeNodePromisifiedClosure(callback, receiver, _2, fn4, __, multiArgs) {
68125
68338
  var defaultThis = function() {
68126
68339
  return this;
68127
68340
  }();
68128
68341
  var method = callback;
68129
68342
  if (typeof method === "string") {
68130
- callback = fn3;
68343
+ callback = fn4;
68131
68344
  }
68132
68345
  function promisified() {
68133
68346
  var _receiver = receiver;
@@ -68136,9 +68349,9 @@ var bluebird = { exports: {} };
68136
68349
  var promise = new Promise2(INTERNAL);
68137
68350
  promise._captureStackTrace();
68138
68351
  var cb = typeof method === "string" && this !== defaultThis ? this[method] : callback;
68139
- var fn4 = nodebackForPromise(promise, multiArgs);
68352
+ var fn5 = nodebackForPromise(promise, multiArgs);
68140
68353
  try {
68141
- cb.apply(_receiver, withAppended(arguments, fn4));
68354
+ cb.apply(_receiver, withAppended(arguments, fn5));
68142
68355
  } catch (e2) {
68143
68356
  promise._rejectCallback(maybeWrapAsError(e2), true, true);
68144
68357
  }
@@ -68157,17 +68370,17 @@ var bluebird = { exports: {} };
68157
68370
  var methods = promisifiableMethods(obj, suffix, suffixRegexp, filter);
68158
68371
  for (var i = 0, len = methods.length; i < len; i += 2) {
68159
68372
  var key = methods[i];
68160
- var fn3 = methods[i + 1];
68373
+ var fn4 = methods[i + 1];
68161
68374
  var promisifiedKey = key + suffix;
68162
68375
  if (promisifier === makeNodePromisified) {
68163
- obj[promisifiedKey] = makeNodePromisified(key, THIS, key, fn3, suffix, multiArgs);
68376
+ obj[promisifiedKey] = makeNodePromisified(key, THIS, key, fn4, suffix, multiArgs);
68164
68377
  } else {
68165
- var promisified = promisifier(fn3, function() {
68378
+ var promisified = promisifier(fn4, function() {
68166
68379
  return makeNodePromisified(
68167
68380
  key,
68168
68381
  THIS,
68169
68382
  key,
68170
- fn3,
68383
+ fn4,
68171
68384
  suffix,
68172
68385
  multiArgs
68173
68386
  );
@@ -68191,18 +68404,18 @@ var bluebird = { exports: {} };
68191
68404
  );
68192
68405
  }
68193
68406
  __name(promisify, "promisify");
68194
- Promise2.promisify = function(fn3, options) {
68195
- if (typeof fn3 !== "function") {
68196
- throw new TypeError2("expecting a function but got " + util2.classString(fn3));
68407
+ Promise2.promisify = function(fn4, options) {
68408
+ if (typeof fn4 !== "function") {
68409
+ throw new TypeError2("expecting a function but got " + util2.classString(fn4));
68197
68410
  }
68198
- if (isPromisified(fn3)) {
68199
- return fn3;
68411
+ if (isPromisified(fn4)) {
68412
+ return fn4;
68200
68413
  }
68201
68414
  options = Object(options);
68202
68415
  var receiver = options.context === void 0 ? THIS : options.context;
68203
68416
  var multiArgs = !!options.multiArgs;
68204
- var ret = promisify(fn3, receiver, multiArgs);
68205
- util2.copyDescriptors(fn3, ret, propsFilter);
68417
+ var ret = promisify(fn4, receiver, multiArgs);
68418
+ util2.copyDescriptors(fn4, ret, propsFilter);
68206
68419
  return ret;
68207
68420
  };
68208
68421
  Promise2.promisifyAll = function(target, options) {
@@ -68377,10 +68590,10 @@ var bluebird = { exports: {} };
68377
68590
  this[i] = arg;
68378
68591
  this._length = length + 1;
68379
68592
  };
68380
- Queue.prototype.push = function(fn3, receiver, arg) {
68593
+ Queue.prototype.push = function(fn4, receiver, arg) {
68381
68594
  var length = this.length() + 3;
68382
68595
  if (this._willBeOverCapacity(length)) {
68383
- this._pushOne(fn3);
68596
+ this._pushOne(fn4);
68384
68597
  this._pushOne(receiver);
68385
68598
  this._pushOne(arg);
68386
68599
  return;
@@ -68388,7 +68601,7 @@ var bluebird = { exports: {} };
68388
68601
  var j = this._front + length - 3;
68389
68602
  this._checkCapacity(length);
68390
68603
  var wrapMask = this._capacity - 1;
68391
- this[j + 0 & wrapMask] = fn3;
68604
+ this[j + 0 & wrapMask] = fn4;
68392
68605
  this[j + 1 & wrapMask] = receiver;
68393
68606
  this[j + 2 & wrapMask] = arg;
68394
68607
  this._length = length;
@@ -68461,10 +68674,10 @@ var bluebird = { exports: {} };
68461
68674
  module3.exports = function(Promise2, PromiseArray, apiRejection, tryConvertToPromise, INTERNAL, debug) {
68462
68675
  var util2 = _dereq_2("./util");
68463
68676
  var tryCatch = util2.tryCatch;
68464
- function ReductionPromiseArray(promises, fn3, initialValue, _each) {
68677
+ function ReductionPromiseArray(promises, fn4, initialValue, _each) {
68465
68678
  this.constructor$(promises);
68466
68679
  var context = Promise2._getContext();
68467
- this._fn = util2.contextBind(context, fn3);
68680
+ this._fn = util2.contextBind(context, fn4);
68468
68681
  if (initialValue !== void 0) {
68469
68682
  initialValue = Promise2.resolve(initialValue);
68470
68683
  initialValue._attachCancellationCallback(this);
@@ -68558,11 +68771,11 @@ var bluebird = { exports: {} };
68558
68771
  }
68559
68772
  value._then(completed, completed, void 0, value, this);
68560
68773
  };
68561
- Promise2.prototype.reduce = function(fn3, initialValue) {
68562
- return reduce(this, fn3, initialValue, null);
68774
+ Promise2.prototype.reduce = function(fn4, initialValue) {
68775
+ return reduce(this, fn4, initialValue, null);
68563
68776
  };
68564
- Promise2.reduce = function(promises, fn3, initialValue, _each) {
68565
- return reduce(promises, fn3, initialValue, _each);
68777
+ Promise2.reduce = function(promises, fn4, initialValue, _each) {
68778
+ return reduce(promises, fn4, initialValue, _each);
68566
68779
  };
68567
68780
  function completed(valueOrReason, array2) {
68568
68781
  if (this.isFulfilled()) {
@@ -68572,11 +68785,11 @@ var bluebird = { exports: {} };
68572
68785
  }
68573
68786
  }
68574
68787
  __name(completed, "completed");
68575
- function reduce(promises, fn3, initialValue, _each) {
68576
- if (typeof fn3 !== "function") {
68577
- return apiRejection("expecting a function but got " + util2.classString(fn3));
68788
+ function reduce(promises, fn4, initialValue, _each) {
68789
+ if (typeof fn4 !== "function") {
68790
+ return apiRejection("expecting a function but got " + util2.classString(fn4));
68578
68791
  }
68579
- var array2 = new ReductionPromiseArray(promises, fn3, initialValue, _each);
68792
+ var array2 = new ReductionPromiseArray(promises, fn4, initialValue, _each);
68580
68793
  return array2.promise();
68581
68794
  }
68582
68795
  __name(reduce, "reduce");
@@ -68595,13 +68808,13 @@ var bluebird = { exports: {} };
68595
68808
  function gotValue(value) {
68596
68809
  var array2 = this.array;
68597
68810
  var promise = array2._promise;
68598
- var fn3 = tryCatch(array2._fn);
68811
+ var fn4 = tryCatch(array2._fn);
68599
68812
  promise._pushContext();
68600
68813
  var ret;
68601
68814
  if (array2._eachValues !== void 0) {
68602
- ret = fn3.call(promise._boundValue(), value, this.index, this.length);
68815
+ ret = fn4.call(promise._boundValue(), value, this.index, this.length);
68603
68816
  } else {
68604
- ret = fn3.call(
68817
+ ret = fn4.call(
68605
68818
  promise._boundValue(),
68606
68819
  this.accum,
68607
68820
  value,
@@ -68633,15 +68846,15 @@ var bluebird = { exports: {} };
68633
68846
  if (util2.isNode && typeof MutationObserver === "undefined") {
68634
68847
  var GlobalSetImmediate = commonjsGlobal.setImmediate;
68635
68848
  var ProcessNextTick = process.nextTick;
68636
- schedule = util2.isRecentNode ? function(fn3) {
68637
- GlobalSetImmediate.call(commonjsGlobal, fn3);
68638
- } : function(fn3) {
68639
- ProcessNextTick.call(process, fn3);
68849
+ schedule = util2.isRecentNode ? function(fn4) {
68850
+ GlobalSetImmediate.call(commonjsGlobal, fn4);
68851
+ } : function(fn4) {
68852
+ ProcessNextTick.call(process, fn4);
68640
68853
  };
68641
68854
  } else if (typeof NativePromise === "function" && typeof NativePromise.resolve === "function") {
68642
68855
  var nativePromise = NativePromise.resolve();
68643
- schedule = /* @__PURE__ */ __name(function(fn3) {
68644
- nativePromise.then(fn3);
68856
+ schedule = /* @__PURE__ */ __name(function(fn4) {
68857
+ nativePromise.then(fn4);
68645
68858
  }, "schedule");
68646
68859
  } else if (typeof MutationObserver !== "undefined" && !(typeof window !== "undefined" && window.navigator && (window.navigator.standalone || window.cordova)) && "classList" in document.documentElement) {
68647
68860
  schedule = function() {
@@ -68660,22 +68873,22 @@ var bluebird = { exports: {} };
68660
68873
  toggleScheduled = true;
68661
68874
  div22.classList.toggle("foo");
68662
68875
  }, "scheduleToggle");
68663
- return /* @__PURE__ */ __name(function schedule2(fn3) {
68876
+ return /* @__PURE__ */ __name(function schedule2(fn4) {
68664
68877
  var o3 = new MutationObserver(function() {
68665
68878
  o3.disconnect();
68666
- fn3();
68879
+ fn4();
68667
68880
  });
68668
68881
  o3.observe(div2, opts);
68669
68882
  scheduleToggle();
68670
68883
  }, "schedule");
68671
68884
  }();
68672
68885
  } else if (typeof setImmediate !== "undefined") {
68673
- schedule = /* @__PURE__ */ __name(function(fn3) {
68674
- setImmediate(fn3);
68886
+ schedule = /* @__PURE__ */ __name(function(fn4) {
68887
+ setImmediate(fn4);
68675
68888
  }, "schedule");
68676
68889
  } else if (typeof setTimeout !== "undefined") {
68677
- schedule = /* @__PURE__ */ __name(function(fn3) {
68678
- setTimeout(fn3, 0);
68890
+ schedule = /* @__PURE__ */ __name(function(fn4) {
68891
+ setTimeout(fn4, 0);
68679
68892
  }, "schedule");
68680
68893
  } else {
68681
68894
  schedule = noAsyncScheduler;
@@ -69203,14 +69416,14 @@ var bluebird = { exports: {} };
69203
69416
  Disposer.isDisposer = function(d2) {
69204
69417
  return d2 != null && typeof d2.resource === "function" && typeof d2.tryDispose === "function";
69205
69418
  };
69206
- function FunctionDisposer(fn3, promise, context) {
69207
- this.constructor$(fn3, promise, context);
69419
+ function FunctionDisposer(fn4, promise, context) {
69420
+ this.constructor$(fn4, promise, context);
69208
69421
  }
69209
69422
  __name(FunctionDisposer, "FunctionDisposer");
69210
69423
  inherits(FunctionDisposer, Disposer);
69211
69424
  FunctionDisposer.prototype.doDispose = function(resource, inspection) {
69212
- var fn3 = this.data();
69213
- return fn3.call(resource, resource, inspection);
69425
+ var fn4 = this.data();
69426
+ return fn4.call(resource, resource, inspection);
69214
69427
  };
69215
69428
  function maybeUnwrapDisposer(value) {
69216
69429
  if (Disposer.isDisposer(value)) {
@@ -69241,9 +69454,9 @@ var bluebird = { exports: {} };
69241
69454
  return apiRejection(
69242
69455
  "you must pass at least 2 arguments to Promise.using"
69243
69456
  );
69244
- var fn3 = arguments[len - 1];
69245
- if (typeof fn3 !== "function") {
69246
- return apiRejection("expecting a function but got " + util2.classString(fn3));
69457
+ var fn4 = arguments[len - 1];
69458
+ if (typeof fn4 !== "function") {
69459
+ return apiRejection("expecting a function but got " + util2.classString(fn4));
69247
69460
  }
69248
69461
  var input;
69249
69462
  var spreadArgs = true;
@@ -69290,8 +69503,8 @@ var bluebird = { exports: {} };
69290
69503
  inspections[i2] = inspection.value();
69291
69504
  }
69292
69505
  promise._pushContext();
69293
- fn3 = tryCatch(fn3);
69294
- var ret = spreadArgs ? fn3.apply(void 0, inspections) : fn3(inspections);
69506
+ fn4 = tryCatch(fn4);
69507
+ var ret = spreadArgs ? fn4.apply(void 0, inspections) : fn4(inspections);
69295
69508
  var promiseCreated = promise._popContext();
69296
69509
  debug.checkForgottenReturns(
69297
69510
  ret,
@@ -69323,9 +69536,9 @@ var bluebird = { exports: {} };
69323
69536
  this._bitField = this._bitField & ~131072;
69324
69537
  this._disposer = void 0;
69325
69538
  };
69326
- Promise2.prototype.disposer = function(fn3) {
69327
- if (typeof fn3 === "function") {
69328
- return new FunctionDisposer(fn3, this, createContext());
69539
+ Promise2.prototype.disposer = function(fn4) {
69540
+ if (typeof fn4 === "function") {
69541
+ return new FunctionDisposer(fn4, this, createContext());
69329
69542
  }
69330
69543
  throw new TypeError2();
69331
69544
  };
@@ -69347,8 +69560,8 @@ var bluebird = { exports: {} };
69347
69560
  }
69348
69561
  }
69349
69562
  __name(tryCatcher, "tryCatcher");
69350
- function tryCatch(fn3) {
69351
- tryCatchTarget = fn3;
69563
+ function tryCatch(fn4) {
69564
+ tryCatchTarget = fn4;
69352
69565
  return tryCatcher;
69353
69566
  }
69354
69567
  __name(tryCatch, "tryCatch");
@@ -69485,13 +69698,13 @@ var bluebird = { exports: {} };
69485
69698
  }
69486
69699
  }();
69487
69700
  var thisAssignmentPattern = /this\s*\.\s*\S+\s*=/;
69488
- function isClass(fn3) {
69701
+ function isClass(fn4) {
69489
69702
  try {
69490
- if (typeof fn3 === "function") {
69491
- var keys3 = es5.names(fn3.prototype);
69703
+ if (typeof fn4 === "function") {
69704
+ var keys3 = es5.names(fn4.prototype);
69492
69705
  var hasMethods = es5.isES5 && keys3.length > 1;
69493
69706
  var hasMethodsOtherThanConstructor = keys3.length > 0 && !(keys3.length === 1 && keys3[0] === "constructor");
69494
- var hasThisAssignmentAndStaticMethods = thisAssignmentPattern.test(fn3 + "") && es5.names(fn3).length > 0;
69707
+ var hasThisAssignmentAndStaticMethods = thisAssignmentPattern.test(fn4 + "") && es5.names(fn4).length > 0;
69495
69708
  if (hasMethods || hasMethodsOtherThanConstructor || hasThisAssignmentAndStaticMethods) {
69496
69709
  return true;
69497
69710
  }
@@ -69663,8 +69876,8 @@ var bluebird = { exports: {} };
69663
69876
  }
69664
69877
  __name(contextBind, "contextBind");
69665
69878
  var ret = {
69666
- setReflectHandler: function(fn3) {
69667
- reflectHandler = fn3;
69879
+ setReflectHandler: function(fn4) {
69880
+ reflectHandler = fn4;
69668
69881
  },
69669
69882
  isClass,
69670
69883
  isIdentifier,
@@ -74428,11 +74641,11 @@ var Resizer = (
74428
74641
  }(React__namespace.PureComponent)
74429
74642
  );
74430
74643
  var src = { exports: {} };
74431
- function memoize(fn3, options) {
74644
+ function memoize(fn4, options) {
74432
74645
  var cache = options && options.cache ? options.cache : cacheDefault;
74433
74646
  var serializer = options && options.serializer ? options.serializer : serializerDefault;
74434
74647
  var strategy = options && options.strategy ? options.strategy : strategyDefault;
74435
- return strategy(fn3, {
74648
+ return strategy(fn4, {
74436
74649
  cache,
74437
74650
  serializer
74438
74651
  });
@@ -74442,40 +74655,40 @@ function isPrimitive(value) {
74442
74655
  return value == null || typeof value === "number" || typeof value === "boolean";
74443
74656
  }
74444
74657
  __name(isPrimitive, "isPrimitive");
74445
- function monadic(fn3, cache, serializer, arg) {
74658
+ function monadic(fn4, cache, serializer, arg) {
74446
74659
  var cacheKey = isPrimitive(arg) ? arg : serializer(arg);
74447
74660
  var computedValue = cache.get(cacheKey);
74448
74661
  if (typeof computedValue === "undefined") {
74449
- computedValue = fn3.call(this, arg);
74662
+ computedValue = fn4.call(this, arg);
74450
74663
  cache.set(cacheKey, computedValue);
74451
74664
  }
74452
74665
  return computedValue;
74453
74666
  }
74454
74667
  __name(monadic, "monadic");
74455
- function variadic(fn3, cache, serializer) {
74668
+ function variadic(fn4, cache, serializer) {
74456
74669
  var args = Array.prototype.slice.call(arguments, 3);
74457
74670
  var cacheKey = serializer(args);
74458
74671
  var computedValue = cache.get(cacheKey);
74459
74672
  if (typeof computedValue === "undefined") {
74460
- computedValue = fn3.apply(this, args);
74673
+ computedValue = fn4.apply(this, args);
74461
74674
  cache.set(cacheKey, computedValue);
74462
74675
  }
74463
74676
  return computedValue;
74464
74677
  }
74465
74678
  __name(variadic, "variadic");
74466
- function assemble(fn3, context, strategy, cache, serialize2) {
74679
+ function assemble(fn4, context, strategy, cache, serialize2) {
74467
74680
  return strategy.bind(
74468
74681
  context,
74469
- fn3,
74682
+ fn4,
74470
74683
  cache,
74471
74684
  serialize2
74472
74685
  );
74473
74686
  }
74474
74687
  __name(assemble, "assemble");
74475
- function strategyDefault(fn3, options) {
74476
- var strategy = fn3.length === 1 ? monadic : variadic;
74688
+ function strategyDefault(fn4, options) {
74689
+ var strategy = fn4.length === 1 ? monadic : variadic;
74477
74690
  return assemble(
74478
- fn3,
74691
+ fn4,
74479
74692
  this,
74480
74693
  strategy,
74481
74694
  options.cache.create(),
@@ -74483,10 +74696,10 @@ function strategyDefault(fn3, options) {
74483
74696
  );
74484
74697
  }
74485
74698
  __name(strategyDefault, "strategyDefault");
74486
- function strategyVariadic(fn3, options) {
74699
+ function strategyVariadic(fn4, options) {
74487
74700
  var strategy = variadic;
74488
74701
  return assemble(
74489
- fn3,
74702
+ fn4,
74490
74703
  this,
74491
74704
  strategy,
74492
74705
  options.cache.create(),
@@ -74494,10 +74707,10 @@ function strategyVariadic(fn3, options) {
74494
74707
  );
74495
74708
  }
74496
74709
  __name(strategyVariadic, "strategyVariadic");
74497
- function strategyMonadic(fn3, options) {
74710
+ function strategyMonadic(fn4, options) {
74498
74711
  var strategy = monadic;
74499
74712
  return assemble(
74500
- fn3,
74713
+ fn4,
74501
74714
  this,
74502
74715
  strategy,
74503
74716
  options.cache.create(),