@teselagen/ui 0.4.8 → 0.4.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/AdvancedOptions.d.ts +7 -0
- package/AssignDefaultsModeContext.d.ts +25 -0
- package/AsyncValidateFieldSpinner/index.d.ts +3 -0
- package/BlueprintError/index.d.ts +3 -0
- package/BounceLoader/index.d.ts +4 -0
- package/CollapsibleCard/index.d.ts +12 -0
- package/DNALoader/index.d.ts +4 -0
- package/DataTable/CellDragHandle.d.ts +6 -0
- package/DataTable/DisabledLoadingComponent.d.ts +6 -0
- package/DataTable/DisplayOptions.d.ts +14 -0
- package/DataTable/FilterAndSortMenu.d.ts +9 -0
- package/DataTable/PagingTool.d.ts +2 -0
- package/DataTable/SearchBar.d.ts +9 -0
- package/DataTable/SortableColumns.d.ts +10 -0
- package/DataTable/TableFormTrackerContext.d.ts +7 -0
- package/DataTable/dataTableEnhancer.d.ts +12 -0
- package/DataTable/defaultFormatters.d.ts +6 -0
- package/DataTable/defaultProps.d.ts +43 -0
- package/DataTable/defaultValidators.d.ts +6 -0
- package/DataTable/editCellHelper.d.ts +10 -0
- package/DataTable/getCellVal.d.ts +1 -0
- package/DataTable/getVals.d.ts +1 -0
- package/DataTable/index.d.ts +8 -0
- package/DataTable/isTruthy.d.ts +1 -0
- package/DataTable/isValueEmpty.d.ts +1 -0
- package/DataTable/utils/computePresets.d.ts +1 -0
- package/DataTable/utils/convertSchema.d.ts +3 -0
- package/DataTable/utils/getIdOrCodeOrIndex.d.ts +2 -0
- package/DataTable/utils/getTableConfigFromStorage.d.ts +1 -0
- package/DataTable/utils/queryParams.d.ts +54 -0
- package/DataTable/utils/rowClick.d.ts +11 -0
- package/DataTable/utils/selection.d.ts +1 -0
- package/DataTable/utils/withSelectedEntities.d.ts +11 -0
- package/DataTable/utils/withTableParams.d.ts +49 -0
- package/DataTable/validateTableWideErrors.d.ts +6 -0
- package/DataTable/viewColumn.d.ts +12 -0
- package/DialogFooter/index.d.ts +23 -0
- package/DropdownButton.d.ts +9 -0
- package/FillWindow.d.ts +5 -0
- package/FormComponents/LoadingDots.d.ts +1 -0
- package/FormComponents/Uploader.d.ts +2 -0
- package/FormComponents/getNewName.d.ts +1 -0
- package/FormComponents/index.d.ts +152 -0
- package/FormComponents/itemUpload.d.ts +2 -0
- package/FormComponents/sortify.d.ts +2 -0
- package/FormComponents/tryToMatchSchemas.d.ts +17 -0
- package/FormComponents/utils.d.ts +2 -0
- package/HotkeysDialog/index.d.ts +1 -0
- package/InfoHelper/index.d.ts +19 -0
- package/IntentText/index.d.ts +5 -0
- package/Loading/index.d.ts +13 -0
- package/MatchHeaders.d.ts +16 -0
- package/MenuBar/index.d.ts +29 -0
- package/PromptUnsavedChanges/index.d.ts +6 -0
- package/ResizableDraggableDialog/index.d.ts +24 -0
- package/ScrollToTop/index.d.ts +5 -0
- package/SimpleStepViz.d.ts +4 -0
- package/TgSelect/index.d.ts +10 -0
- package/TgSuggest/index.d.ts +22 -0
- package/Timeline/TimelineEvent.d.ts +5 -0
- package/Timeline/index.d.ts +3 -0
- package/UploadCsvWizard.d.ts +4 -0
- package/autoTooltip.d.ts +1 -0
- package/constants.d.ts +1 -0
- package/customIcons.d.ts +19 -0
- package/enhancers/withDialog/index.d.ts +23 -0
- package/enhancers/withDialog/tg_modalState.d.ts +6 -0
- package/enhancers/withField.d.ts +4 -0
- package/enhancers/withFields.d.ts +1 -0
- package/enhancers/withLocalStorage.d.ts +1 -0
- package/index.cjs.js +1440 -1369
- package/index.d.ts +61 -0
- package/index.es.js +613 -542
- package/package.json +1 -2
- package/rerenderOnWindowResize.d.ts +1 -0
- package/showAppSpinner.d.ts +1 -0
- package/showConfirmationDialog/index.d.ts +10 -0
- package/showDialogOnDocBody.d.ts +1 -0
- package/src/CollapsibleCard/index.js +56 -80
- package/src/InfoHelper/index.js +70 -75
- package/src/Loading/index.js +60 -64
- package/src/Timeline/index.js +7 -15
- package/throwFormError.d.ts +1 -0
- package/toastr.d.ts +1 -0
- package/typeToCommonType.d.ts +6 -0
- package/useDialog.d.ts +10 -0
- package/utils/adHoc.d.ts +2 -0
- package/utils/basicHandleActionsWithFullState.d.ts +1 -0
- package/utils/browserUtils.d.ts +1 -0
- package/utils/combineReducersWithFullState.d.ts +1 -0
- package/utils/commandControls.d.ts +25 -0
- package/utils/commandUtils.d.ts +4 -0
- package/utils/determineBlackOrWhiteTextColor.d.ts +2 -0
- package/utils/getDayjsFormatter.d.ts +5 -0
- package/utils/getTextFromEl.d.ts +1 -0
- package/utils/handlerHelpers.d.ts +10 -0
- package/utils/hotkeyUtils.d.ts +6 -0
- package/utils/menuUtils.d.ts +23 -0
- package/utils/popoverOverflowModifiers.d.ts +13 -0
- package/utils/pureNoFunc.d.ts +2 -0
- package/utils/renderOnDoc.d.ts +2 -0
- package/utils/showProgressToast.d.ts +2 -0
- package/utils/tagUtils.d.ts +20 -0
- package/utils/tgFormValues.d.ts +3 -0
- package/utils/withSelectTableRecords.d.ts +1 -0
- package/utils/withStore.d.ts +2 -0
- package/wrapDialog.d.ts +2 -0
package/index.es.js
CHANGED
|
@@ -56,7 +56,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
56
56
|
step2((generator = generator.apply(__this, __arguments)).next());
|
|
57
57
|
});
|
|
58
58
|
};
|
|
59
|
-
import * as React$
|
|
59
|
+
import * as React$2 from "react";
|
|
60
60
|
import React__default, { useState, useEffect, forwardRef, useImperativeHandle, Fragment, useMemo, useRef, useReducer, useCallback, memo, Component, PureComponent, createElement, isValidElement, useContext } from "react";
|
|
61
61
|
import { Icon, Classes, Button, Intent, Keys, MenuItem, Tag, useHotkeys, Popover, Tooltip, Toaster, Position, Menu, MenuDivider, NumericInput, InputGroup, Spinner, FormGroup, TextArea, Checkbox, Switch, EditableText, RadioGroup, Callout, ContextMenu, Dialog, Card, Tabs, Tab, Colors, Overlay, KeyCombo, ProgressBar } from "@blueprintjs/core";
|
|
62
62
|
import ReactDOM, { unstable_batchedUpdates, findDOMNode as findDOMNode$1 } from "react-dom";
|
|
@@ -2816,7 +2816,7 @@ var followCursor = {
|
|
|
2816
2816
|
}
|
|
2817
2817
|
}
|
|
2818
2818
|
__name(onMouseMove, "onMouseMove");
|
|
2819
|
-
function
|
|
2819
|
+
function create5() {
|
|
2820
2820
|
if (instance.props.followCursor) {
|
|
2821
2821
|
activeInstances.push({
|
|
2822
2822
|
instance,
|
|
@@ -2825,7 +2825,7 @@ var followCursor = {
|
|
|
2825
2825
|
addMouseCoordsListener(doc);
|
|
2826
2826
|
}
|
|
2827
2827
|
}
|
|
2828
|
-
__name(
|
|
2828
|
+
__name(create5, "create");
|
|
2829
2829
|
function destroy2() {
|
|
2830
2830
|
activeInstances = activeInstances.filter(function(data) {
|
|
2831
2831
|
return data.instance !== instance;
|
|
@@ -2838,7 +2838,7 @@ var followCursor = {
|
|
|
2838
2838
|
}
|
|
2839
2839
|
__name(destroy2, "destroy");
|
|
2840
2840
|
return {
|
|
2841
|
-
onCreate:
|
|
2841
|
+
onCreate: create5,
|
|
2842
2842
|
onDestroy: destroy2,
|
|
2843
2843
|
onBeforeUpdate: /* @__PURE__ */ __name(function onBeforeUpdate2() {
|
|
2844
2844
|
prevProps = instance.props;
|
|
@@ -2851,7 +2851,7 @@ var followCursor = {
|
|
|
2851
2851
|
if (followCursor2 !== void 0 && prevProps.followCursor !== followCursor2) {
|
|
2852
2852
|
destroy2();
|
|
2853
2853
|
if (followCursor2) {
|
|
2854
|
-
|
|
2854
|
+
create5();
|
|
2855
2855
|
if (instance.state.isMounted && !wasFocusEvent && !getIsInitialBehavior()) {
|
|
2856
2856
|
addListener();
|
|
2857
2857
|
}
|
|
@@ -4214,6 +4214,7 @@ Dropzone.propTypes = {
|
|
|
4214
4214
|
*/
|
|
4215
4215
|
validator: PropTypes$1.func
|
|
4216
4216
|
};
|
|
4217
|
+
const Dropzone$1 = Dropzone;
|
|
4217
4218
|
var initialState = {
|
|
4218
4219
|
isFocused: false,
|
|
4219
4220
|
isFileDialogActive: false,
|
|
@@ -5525,10 +5526,10 @@ var ownKeys$3 = typeof Reflect !== "undefined" && Reflect.ownKeys ? Reflect.ownK
|
|
|
5525
5526
|
/* istanbul ignore next */
|
|
5526
5527
|
Object.getOwnPropertyNames
|
|
5527
5528
|
);
|
|
5528
|
-
function toPrimitive$
|
|
5529
|
+
function toPrimitive$2(value) {
|
|
5529
5530
|
return value === null ? null : typeof value === "object" ? "" + value : value;
|
|
5530
5531
|
}
|
|
5531
|
-
__name(toPrimitive$
|
|
5532
|
+
__name(toPrimitive$2, "toPrimitive$2");
|
|
5532
5533
|
function hasProp(target, prop) {
|
|
5533
5534
|
return objectPrototype$1.hasOwnProperty.call(target, prop);
|
|
5534
5535
|
}
|
|
@@ -5554,6 +5555,8 @@ __name(_defineProperties$1, "_defineProperties$1");
|
|
|
5554
5555
|
function _createClass$d(Constructor, protoProps, staticProps) {
|
|
5555
5556
|
if (protoProps)
|
|
5556
5557
|
_defineProperties$1(Constructor.prototype, protoProps);
|
|
5558
|
+
if (staticProps)
|
|
5559
|
+
_defineProperties$1(Constructor, staticProps);
|
|
5557
5560
|
Object.defineProperty(Constructor, "prototype", {
|
|
5558
5561
|
writable: false
|
|
5559
5562
|
});
|
|
@@ -5622,7 +5625,7 @@ function _createForOfIteratorHelperLoose$5(o2, allowArrayLike) {
|
|
|
5622
5625
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
5623
5626
|
if (it)
|
|
5624
5627
|
return (it = it.call(o2)).next.bind(it);
|
|
5625
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$8(o2)) || allowArrayLike) {
|
|
5628
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$8(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
5626
5629
|
if (it)
|
|
5627
5630
|
o2 = it;
|
|
5628
5631
|
var i = 0;
|
|
@@ -5645,12 +5648,12 @@ function _toPrimitive$1(input, hint) {
|
|
|
5645
5648
|
return input;
|
|
5646
5649
|
var prim = input[Symbol.toPrimitive];
|
|
5647
5650
|
if (prim !== void 0) {
|
|
5648
|
-
var res = prim.call(input, hint);
|
|
5651
|
+
var res = prim.call(input, hint || "default");
|
|
5649
5652
|
if (typeof res !== "object")
|
|
5650
5653
|
return res;
|
|
5651
5654
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
5652
5655
|
}
|
|
5653
|
-
return String(input);
|
|
5656
|
+
return (hint === "string" ? String : Number)(input);
|
|
5654
5657
|
}
|
|
5655
5658
|
__name(_toPrimitive$1, "_toPrimitive$1");
|
|
5656
5659
|
function _toPropertyKey(arg) {
|
|
@@ -6545,7 +6548,7 @@ var ObservableValue = /* @__PURE__ */ function(_Atom) {
|
|
|
6545
6548
|
return this.name_ + "[" + this.value_ + "]";
|
|
6546
6549
|
}, "toString2");
|
|
6547
6550
|
_proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
|
|
6548
|
-
return toPrimitive$
|
|
6551
|
+
return toPrimitive$2(this.get());
|
|
6549
6552
|
}, "valueOf");
|
|
6550
6553
|
_proto[_Symbol$toPrimitive] = function() {
|
|
6551
6554
|
return this.valueOf();
|
|
@@ -6730,7 +6733,7 @@ var ComputedValue = /* @__PURE__ */ function() {
|
|
|
6730
6733
|
return this.name_ + "[" + this.derivation.toString() + "]";
|
|
6731
6734
|
}, "toString2");
|
|
6732
6735
|
_proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
|
|
6733
|
-
return toPrimitive$
|
|
6736
|
+
return toPrimitive$2(this.get());
|
|
6734
6737
|
}, "valueOf");
|
|
6735
6738
|
_proto[_Symbol$toPrimitive$1] = function() {
|
|
6736
6739
|
return this.valueOf();
|
|
@@ -7393,7 +7396,7 @@ function onBecomeUnobserved(thing, arg2, arg3) {
|
|
|
7393
7396
|
}
|
|
7394
7397
|
__name(onBecomeUnobserved, "onBecomeUnobserved");
|
|
7395
7398
|
function interceptHook(hook, thing, arg2, arg3) {
|
|
7396
|
-
var atom = getAtom(thing);
|
|
7399
|
+
var atom = typeof arg3 === "function" ? getAtom(thing, arg2) : getAtom(thing);
|
|
7397
7400
|
var cb = isFunction$5(arg3) ? arg3 : arg2;
|
|
7398
7401
|
var listenersKey = hook + "L";
|
|
7399
7402
|
if (atom[listenersKey]) {
|
|
@@ -7575,6 +7578,12 @@ function _isObservable(value, property2) {
|
|
|
7575
7578
|
if (!value) {
|
|
7576
7579
|
return false;
|
|
7577
7580
|
}
|
|
7581
|
+
if (property2 !== void 0) {
|
|
7582
|
+
if (isObservableObject(value)) {
|
|
7583
|
+
return value[$mobx].values_.has(property2);
|
|
7584
|
+
}
|
|
7585
|
+
return false;
|
|
7586
|
+
}
|
|
7578
7587
|
return isObservableObject(value) || !!value[$mobx] || isAtom(value) || isReaction(value) || isComputedValue(value);
|
|
7579
7588
|
}
|
|
7580
7589
|
__name(_isObservable, "_isObservable");
|
|
@@ -9334,6 +9343,9 @@ function getAdministration$1(thing, property2) {
|
|
|
9334
9343
|
if (!thing) {
|
|
9335
9344
|
die(29);
|
|
9336
9345
|
}
|
|
9346
|
+
if (property2 !== void 0) {
|
|
9347
|
+
return getAdministration$1(getAtom(thing, property2));
|
|
9348
|
+
}
|
|
9337
9349
|
if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {
|
|
9338
9350
|
return thing;
|
|
9339
9351
|
}
|
|
@@ -9766,7 +9778,7 @@ function observer$1(baseComponent, options) {
|
|
|
9766
9778
|
if (ReactMemoSymbol && baseComponent["$$typeof"] === ReactMemoSymbol) {
|
|
9767
9779
|
throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");
|
|
9768
9780
|
}
|
|
9769
|
-
var useForwardRef = (_a2 = void 0) !== null && _a2 !== void 0 ? _a2 : false;
|
|
9781
|
+
var useForwardRef = (_a2 = options === null || options === void 0 ? void 0 : options.forwardRef) !== null && _a2 !== void 0 ? _a2 : false;
|
|
9770
9782
|
var render3 = baseComponent;
|
|
9771
9783
|
var baseComponentName = baseComponent.displayName || baseComponent.name;
|
|
9772
9784
|
if (ReactForwardRefSymbol && baseComponent["$$typeof"] === ReactForwardRefSymbol) {
|
|
@@ -10577,6 +10589,7 @@ an.setUseProxies.bind(an);
|
|
|
10577
10589
|
var pn = an.applyPatches.bind(an);
|
|
10578
10590
|
an.createDraft.bind(an);
|
|
10579
10591
|
an.finishDraft.bind(an);
|
|
10592
|
+
const immer = fn3;
|
|
10580
10593
|
var freeGlobal$2 = typeof global == "object" && global && global.Object === Object && global;
|
|
10581
10594
|
var freeSelf$1 = typeof self == "object" && self && self.Object === Object && self;
|
|
10582
10595
|
var root$b = freeGlobal$2 || freeSelf$1 || Function("return this")();
|
|
@@ -10860,7 +10873,8 @@ var baseSetToString$2 = !defineProperty$8 ? identity$7 : function(func, string2)
|
|
|
10860
10873
|
"writable": true
|
|
10861
10874
|
});
|
|
10862
10875
|
};
|
|
10863
|
-
|
|
10876
|
+
const baseSetToString$3 = baseSetToString$2;
|
|
10877
|
+
var setToString$2 = shortOut$2(baseSetToString$3);
|
|
10864
10878
|
function arrayEach$2(array2, iteratee) {
|
|
10865
10879
|
var index2 = -1, length = array2 == null ? 0 : array2.length;
|
|
10866
10880
|
while (++index2 < length) {
|
|
@@ -10872,8 +10886,8 @@ function arrayEach$2(array2, iteratee) {
|
|
|
10872
10886
|
}
|
|
10873
10887
|
__name(arrayEach$2, "arrayEach$2");
|
|
10874
10888
|
function baseFindIndex$2(array2, predicate, fromIndex, fromRight) {
|
|
10875
|
-
var length = array2.length, index2 = fromIndex + -1;
|
|
10876
|
-
while (++index2 < length) {
|
|
10889
|
+
var length = array2.length, index2 = fromIndex + (fromRight ? 1 : -1);
|
|
10890
|
+
while (fromRight ? index2-- : ++index2 < length) {
|
|
10877
10891
|
if (predicate(array2[index2], index2, array2)) {
|
|
10878
10892
|
return index2;
|
|
10879
10893
|
}
|
|
@@ -10944,7 +10958,7 @@ function copyObject$5(source, props, object2, customizer) {
|
|
|
10944
10958
|
var index2 = -1, length = props.length;
|
|
10945
10959
|
while (++index2 < length) {
|
|
10946
10960
|
var key = props[index2];
|
|
10947
|
-
var newValue = void 0;
|
|
10961
|
+
var newValue = customizer ? customizer(object2[key], source[key], key, object2, source) : void 0;
|
|
10948
10962
|
if (newValue === void 0) {
|
|
10949
10963
|
newValue = source[key];
|
|
10950
10964
|
}
|
|
@@ -11045,6 +11059,7 @@ var isArguments$4 = baseIsArguments$2(/* @__PURE__ */ function() {
|
|
|
11045
11059
|
}()) ? baseIsArguments$2 : function(value) {
|
|
11046
11060
|
return isObjectLike$b(value) && hasOwnProperty$q.call(value, "callee") && !propertyIsEnumerable$3.call(value, "callee");
|
|
11047
11061
|
};
|
|
11062
|
+
const isArguments$5 = isArguments$4;
|
|
11048
11063
|
function stubFalse$1() {
|
|
11049
11064
|
return false;
|
|
11050
11065
|
}
|
|
@@ -11055,6 +11070,7 @@ var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
|
|
|
11055
11070
|
var Buffer$2 = moduleExports$2 ? root$b.Buffer : void 0;
|
|
11056
11071
|
var nativeIsBuffer = Buffer$2 ? Buffer$2.isBuffer : void 0;
|
|
11057
11072
|
var isBuffer$7 = nativeIsBuffer || stubFalse$1;
|
|
11073
|
+
const isBuffer$8 = isBuffer$7;
|
|
11058
11074
|
var argsTag$6 = "[object Arguments]", arrayTag$5 = "[object Array]", boolTag$7 = "[object Boolean]", dateTag$7 = "[object Date]", errorTag$5 = "[object Error]", funcTag$4 = "[object Function]", mapTag$d = "[object Map]", numberTag$8 = "[object Number]", objectTag$9 = "[object Object]", regexpTag$7 = "[object RegExp]", setTag$d = "[object Set]", stringTag$9 = "[object String]", weakMapTag$5 = "[object WeakMap]";
|
|
11059
11075
|
var arrayBufferTag$7 = "[object ArrayBuffer]", dataViewTag$9 = "[object DataView]", float32Tag$5 = "[object Float32Array]", float64Tag$5 = "[object Float64Array]", int8Tag$5 = "[object Int8Array]", int16Tag$5 = "[object Int16Array]", int32Tag$5 = "[object Int32Array]", uint8Tag$5 = "[object Uint8Array]", uint8ClampedTag$5 = "[object Uint8ClampedArray]", uint16Tag$5 = "[object Uint16Array]", uint32Tag$5 = "[object Uint32Array]";
|
|
11060
11076
|
var typedArrayTags$1 = {};
|
|
@@ -11086,10 +11102,11 @@ var nodeUtil$3 = function() {
|
|
|
11086
11102
|
}();
|
|
11087
11103
|
var nodeIsTypedArray$1 = nodeUtil$3 && nodeUtil$3.isTypedArray;
|
|
11088
11104
|
var isTypedArray$3 = nodeIsTypedArray$1 ? baseUnary$5(nodeIsTypedArray$1) : baseIsTypedArray$2;
|
|
11105
|
+
const isTypedArray$4 = isTypedArray$3;
|
|
11089
11106
|
var objectProto$r = Object.prototype;
|
|
11090
11107
|
var hasOwnProperty$p = objectProto$r.hasOwnProperty;
|
|
11091
11108
|
function arrayLikeKeys$3(value, inherited) {
|
|
11092
|
-
var isArr = isArray$m(value), isArg = !isArr && isArguments$
|
|
11109
|
+
var isArr = isArray$m(value), isArg = !isArr && isArguments$5(value), isBuff = !isArr && !isArg && isBuffer$8(value), isType2 = !isArr && !isArg && !isBuff && isTypedArray$4(value), skipIndexes = isArr || isArg || isBuff || isType2, result = skipIndexes ? baseTimes$2(value.length, String) : [], length = result.length;
|
|
11093
11110
|
for (var key in value) {
|
|
11094
11111
|
if ((inherited || hasOwnProperty$p.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
11095
11112
|
(key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -11430,7 +11447,7 @@ function arrayPush$4(array2, values2) {
|
|
|
11430
11447
|
__name(arrayPush$4, "arrayPush$4");
|
|
11431
11448
|
var spreadableSymbol$1 = Symbol$9 ? Symbol$9.isConcatSpreadable : void 0;
|
|
11432
11449
|
function isFlattenable$2(value) {
|
|
11433
|
-
return isArray$m(value) || isArguments$
|
|
11450
|
+
return isArray$m(value) || isArguments$5(value) || !!(spreadableSymbol$1 && value && value[spreadableSymbol$1]);
|
|
11434
11451
|
}
|
|
11435
11452
|
__name(isFlattenable$2, "isFlattenable$2");
|
|
11436
11453
|
function baseFlatten$2(array2, depth, predicate, isStrict, result) {
|
|
@@ -11439,8 +11456,10 @@ function baseFlatten$2(array2, depth, predicate, isStrict, result) {
|
|
|
11439
11456
|
result || (result = []);
|
|
11440
11457
|
while (++index2 < length) {
|
|
11441
11458
|
var value = array2[index2];
|
|
11442
|
-
if (predicate(value)) {
|
|
11443
|
-
{
|
|
11459
|
+
if (depth > 0 && predicate(value)) {
|
|
11460
|
+
if (depth > 1) {
|
|
11461
|
+
baseFlatten$2(value, depth - 1, predicate, isStrict, result);
|
|
11462
|
+
} else {
|
|
11444
11463
|
arrayPush$4(result, value);
|
|
11445
11464
|
}
|
|
11446
11465
|
} else if (!isStrict) {
|
|
@@ -11452,7 +11471,7 @@ function baseFlatten$2(array2, depth, predicate, isStrict, result) {
|
|
|
11452
11471
|
__name(baseFlatten$2, "baseFlatten$2");
|
|
11453
11472
|
function flatten(array2) {
|
|
11454
11473
|
var length = array2 == null ? 0 : array2.length;
|
|
11455
|
-
return length ? baseFlatten$2(array2) : [];
|
|
11474
|
+
return length ? baseFlatten$2(array2, 1) : [];
|
|
11456
11475
|
}
|
|
11457
11476
|
__name(flatten, "flatten");
|
|
11458
11477
|
function flatRest(func) {
|
|
@@ -11751,13 +11770,14 @@ var deburredLetters = {
|
|
|
11751
11770
|
"ſ": "s"
|
|
11752
11771
|
};
|
|
11753
11772
|
var deburrLetter = basePropertyOf(deburredLetters);
|
|
11773
|
+
const deburrLetter$1 = deburrLetter;
|
|
11754
11774
|
var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
|
|
11755
11775
|
var rsComboMarksRange$2 = "\\u0300-\\u036f", reComboHalfMarksRange$2 = "\\ufe20-\\ufe2f", rsComboSymbolsRange$2 = "\\u20d0-\\u20ff", rsComboRange$2 = rsComboMarksRange$2 + reComboHalfMarksRange$2 + rsComboSymbolsRange$2;
|
|
11756
11776
|
var rsCombo$2 = "[" + rsComboRange$2 + "]";
|
|
11757
11777
|
var reComboMark = RegExp(rsCombo$2, "g");
|
|
11758
11778
|
function deburr(string2) {
|
|
11759
11779
|
string2 = toString$6(string2);
|
|
11760
|
-
return string2 && string2.replace(reLatin, deburrLetter).replace(reComboMark, "");
|
|
11780
|
+
return string2 && string2.replace(reLatin, deburrLetter$1).replace(reComboMark, "");
|
|
11761
11781
|
}
|
|
11762
11782
|
__name(deburr, "deburr");
|
|
11763
11783
|
var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
@@ -11789,7 +11809,7 @@ function unicodeWords(string2) {
|
|
|
11789
11809
|
__name(unicodeWords, "unicodeWords");
|
|
11790
11810
|
function words(string2, pattern, guard) {
|
|
11791
11811
|
string2 = toString$6(string2);
|
|
11792
|
-
pattern = pattern;
|
|
11812
|
+
pattern = guard ? void 0 : pattern;
|
|
11793
11813
|
if (pattern === void 0) {
|
|
11794
11814
|
return hasUnicodeWord(string2) ? unicodeWords(string2) : asciiWords(string2);
|
|
11795
11815
|
}
|
|
@@ -11813,7 +11833,7 @@ function baseClamp(number2, lower, upper) {
|
|
|
11813
11833
|
if (upper !== void 0) {
|
|
11814
11834
|
number2 = number2 <= upper ? number2 : upper;
|
|
11815
11835
|
}
|
|
11816
|
-
{
|
|
11836
|
+
if (lower !== void 0) {
|
|
11817
11837
|
number2 = number2 >= lower ? number2 : lower;
|
|
11818
11838
|
}
|
|
11819
11839
|
}
|
|
@@ -11971,6 +11991,7 @@ if (DataView$3 && getTag$6(new DataView$3(new ArrayBuffer(1))) != dataViewTag$8
|
|
|
11971
11991
|
return result;
|
|
11972
11992
|
}, "getTag$6");
|
|
11973
11993
|
}
|
|
11994
|
+
const getTag$7 = getTag$6;
|
|
11974
11995
|
var objectProto$k = Object.prototype;
|
|
11975
11996
|
var hasOwnProperty$j = objectProto$k.hasOwnProperty;
|
|
11976
11997
|
function initCloneArray$2(array2) {
|
|
@@ -12053,14 +12074,14 @@ function initCloneObject$2(object2) {
|
|
|
12053
12074
|
__name(initCloneObject$2, "initCloneObject$2");
|
|
12054
12075
|
var mapTag$a = "[object Map]";
|
|
12055
12076
|
function baseIsMap$2(value) {
|
|
12056
|
-
return isObjectLike$b(value) && getTag$
|
|
12077
|
+
return isObjectLike$b(value) && getTag$7(value) == mapTag$a;
|
|
12057
12078
|
}
|
|
12058
12079
|
__name(baseIsMap$2, "baseIsMap$2");
|
|
12059
12080
|
var nodeIsMap$1 = nodeUtil$3 && nodeUtil$3.isMap;
|
|
12060
12081
|
var isMap$3 = nodeIsMap$1 ? baseUnary$5(nodeIsMap$1) : baseIsMap$2;
|
|
12061
12082
|
var setTag$a = "[object Set]";
|
|
12062
12083
|
function baseIsSet$2(value) {
|
|
12063
|
-
return isObjectLike$b(value) && getTag$
|
|
12084
|
+
return isObjectLike$b(value) && getTag$7(value) == setTag$a;
|
|
12064
12085
|
}
|
|
12065
12086
|
__name(baseIsSet$2, "baseIsSet$2");
|
|
12066
12087
|
var nodeIsSet$1 = nodeUtil$3 && nodeUtil$3.isSet;
|
|
@@ -12089,8 +12110,8 @@ function baseClone$2(value, bitmask, customizer, key, object2, stack) {
|
|
|
12089
12110
|
return copyArray$2(value, result);
|
|
12090
12111
|
}
|
|
12091
12112
|
} else {
|
|
12092
|
-
var tag = getTag$
|
|
12093
|
-
if (isBuffer$
|
|
12113
|
+
var tag = getTag$7(value), isFunc = tag == funcTag$3 || tag == genTag$2;
|
|
12114
|
+
if (isBuffer$8(value)) {
|
|
12094
12115
|
return cloneBuffer$1(value, isDeep);
|
|
12095
12116
|
}
|
|
12096
12117
|
if (tag == objectTag$6 || tag == argsTag$5 || isFunc && !object2) {
|
|
@@ -12340,12 +12361,12 @@ var argsTag$4 = "[object Arguments]", arrayTag$3 = "[object Array]", objectTag$5
|
|
|
12340
12361
|
var objectProto$i = Object.prototype;
|
|
12341
12362
|
var hasOwnProperty$h = objectProto$i.hasOwnProperty;
|
|
12342
12363
|
function baseIsEqualDeep$2(object2, other, bitmask, customizer, equalFunc, stack) {
|
|
12343
|
-
var objIsArr = isArray$m(object2), othIsArr = isArray$m(other), objTag = objIsArr ? arrayTag$3 : getTag$
|
|
12364
|
+
var objIsArr = isArray$m(object2), othIsArr = isArray$m(other), objTag = objIsArr ? arrayTag$3 : getTag$7(object2), othTag = othIsArr ? arrayTag$3 : getTag$7(other);
|
|
12344
12365
|
objTag = objTag == argsTag$4 ? objectTag$5 : objTag;
|
|
12345
12366
|
othTag = othTag == argsTag$4 ? objectTag$5 : othTag;
|
|
12346
12367
|
var objIsObj = objTag == objectTag$5, othIsObj = othTag == objectTag$5, isSameTag = objTag == othTag;
|
|
12347
|
-
if (isSameTag && isBuffer$
|
|
12348
|
-
if (!isBuffer$
|
|
12368
|
+
if (isSameTag && isBuffer$8(object2)) {
|
|
12369
|
+
if (!isBuffer$8(other)) {
|
|
12349
12370
|
return false;
|
|
12350
12371
|
}
|
|
12351
12372
|
objIsArr = true;
|
|
@@ -12353,7 +12374,7 @@ function baseIsEqualDeep$2(object2, other, bitmask, customizer, equalFunc, stack
|
|
|
12353
12374
|
}
|
|
12354
12375
|
if (isSameTag && !objIsObj) {
|
|
12355
12376
|
stack || (stack = new Stack$4());
|
|
12356
|
-
return objIsArr || isTypedArray$
|
|
12377
|
+
return objIsArr || isTypedArray$4(object2) ? equalArrays$3(object2, other, bitmask, customizer, equalFunc, stack) : equalByTag$2(object2, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
12357
12378
|
}
|
|
12358
12379
|
if (!(bitmask & COMPARE_PARTIAL_FLAG$8)) {
|
|
12359
12380
|
var objIsWrapped = objIsObj && hasOwnProperty$h.call(object2, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$h.call(other, "__wrapped__");
|
|
@@ -12382,27 +12403,29 @@ function baseIsEqual$3(value, other, bitmask, customizer, stack) {
|
|
|
12382
12403
|
__name(baseIsEqual$3, "baseIsEqual$3");
|
|
12383
12404
|
var COMPARE_PARTIAL_FLAG$7 = 1, COMPARE_UNORDERED_FLAG$5 = 2;
|
|
12384
12405
|
function baseIsMatch$2(object2, source, matchData, customizer) {
|
|
12385
|
-
var index2 = matchData.length, length = index2;
|
|
12406
|
+
var index2 = matchData.length, length = index2, noCustomizer = !customizer;
|
|
12386
12407
|
if (object2 == null) {
|
|
12387
12408
|
return !length;
|
|
12388
12409
|
}
|
|
12389
12410
|
object2 = Object(object2);
|
|
12390
12411
|
while (index2--) {
|
|
12391
12412
|
var data = matchData[index2];
|
|
12392
|
-
if (data[2] ? data[1] !== object2[data[0]] : !(data[0] in object2)) {
|
|
12413
|
+
if (noCustomizer && data[2] ? data[1] !== object2[data[0]] : !(data[0] in object2)) {
|
|
12393
12414
|
return false;
|
|
12394
12415
|
}
|
|
12395
12416
|
}
|
|
12396
12417
|
while (++index2 < length) {
|
|
12397
12418
|
data = matchData[index2];
|
|
12398
12419
|
var key = data[0], objValue = object2[key], srcValue = data[1];
|
|
12399
|
-
if (data[2]) {
|
|
12420
|
+
if (noCustomizer && data[2]) {
|
|
12400
12421
|
if (objValue === void 0 && !(key in object2)) {
|
|
12401
12422
|
return false;
|
|
12402
12423
|
}
|
|
12403
12424
|
} else {
|
|
12404
12425
|
var stack = new Stack$4();
|
|
12405
|
-
|
|
12426
|
+
if (customizer) {
|
|
12427
|
+
var result = customizer(objValue, srcValue, key, object2, source, stack);
|
|
12428
|
+
}
|
|
12406
12429
|
if (!(result === void 0 ? baseIsEqual$3(srcValue, objValue, COMPARE_PARTIAL_FLAG$7 | COMPARE_UNORDERED_FLAG$5, customizer, stack) : result)) {
|
|
12407
12430
|
return false;
|
|
12408
12431
|
}
|
|
@@ -12461,7 +12484,7 @@ function hasPath$2(object2, path2, hasFunc) {
|
|
|
12461
12484
|
return result;
|
|
12462
12485
|
}
|
|
12463
12486
|
length = object2 == null ? 0 : object2.length;
|
|
12464
|
-
return !!length && isLength$4(length) && isIndex$4(key, length) && (isArray$m(object2) || isArguments$
|
|
12487
|
+
return !!length && isLength$4(length) && isIndex$4(key, length) && (isArray$m(object2) || isArguments$5(object2));
|
|
12465
12488
|
}
|
|
12466
12489
|
__name(hasPath$2, "hasPath$2");
|
|
12467
12490
|
function hasIn$2(object2, path2) {
|
|
@@ -12521,7 +12544,7 @@ function createBaseFor$2(fromRight) {
|
|
|
12521
12544
|
return function(object2, iteratee, keysFunc) {
|
|
12522
12545
|
var index2 = -1, iterable = Object(object2), props = keysFunc(object2), length = props.length;
|
|
12523
12546
|
while (length--) {
|
|
12524
|
-
var key = props[++index2];
|
|
12547
|
+
var key = props[fromRight ? length : ++index2];
|
|
12525
12548
|
if (iteratee(iterable[key], key, iterable) === false) {
|
|
12526
12549
|
break;
|
|
12527
12550
|
}
|
|
@@ -12543,8 +12566,8 @@ function createBaseEach$2(eachFunc, fromRight) {
|
|
|
12543
12566
|
if (!isArrayLike$7(collection)) {
|
|
12544
12567
|
return eachFunc(collection, iteratee);
|
|
12545
12568
|
}
|
|
12546
|
-
var length = collection.length, index2 = -1, iterable = Object(collection);
|
|
12547
|
-
while (++index2 < length) {
|
|
12569
|
+
var length = collection.length, index2 = fromRight ? length : -1, iterable = Object(collection);
|
|
12570
|
+
while (fromRight ? index2-- : ++index2 < length) {
|
|
12548
12571
|
if (iteratee(iterable[index2], index2, iterable) === false) {
|
|
12549
12572
|
break;
|
|
12550
12573
|
}
|
|
@@ -12554,8 +12577,9 @@ function createBaseEach$2(eachFunc, fromRight) {
|
|
|
12554
12577
|
}
|
|
12555
12578
|
__name(createBaseEach$2, "createBaseEach$2");
|
|
12556
12579
|
var baseEach$2 = createBaseEach$2(baseForOwn$3);
|
|
12580
|
+
const baseEach$3 = baseEach$2;
|
|
12557
12581
|
function baseAggregator(collection, setter2, iteratee, accumulator) {
|
|
12558
|
-
baseEach$
|
|
12582
|
+
baseEach$3(collection, function(value, key, collection2) {
|
|
12559
12583
|
setter2(accumulator, value, iteratee(value), collection2);
|
|
12560
12584
|
});
|
|
12561
12585
|
return accumulator;
|
|
@@ -12697,7 +12721,7 @@ function baseMergeDeep(object2, source, key, srcIndex, mergeFunc, customizer, st
|
|
|
12697
12721
|
var newValue = customizer ? customizer(objValue, srcValue, key + "", object2, source, stack) : void 0;
|
|
12698
12722
|
var isCommon = newValue === void 0;
|
|
12699
12723
|
if (isCommon) {
|
|
12700
|
-
var isArr = isArray$m(srcValue), isBuff = !isArr && isBuffer$
|
|
12724
|
+
var isArr = isArray$m(srcValue), isBuff = !isArr && isBuffer$8(srcValue), isTyped = !isArr && !isBuff && isTypedArray$4(srcValue);
|
|
12701
12725
|
newValue = srcValue;
|
|
12702
12726
|
if (isArr || isBuff || isTyped) {
|
|
12703
12727
|
if (isArray$m(objValue)) {
|
|
@@ -12713,9 +12737,9 @@ function baseMergeDeep(object2, source, key, srcIndex, mergeFunc, customizer, st
|
|
|
12713
12737
|
} else {
|
|
12714
12738
|
newValue = [];
|
|
12715
12739
|
}
|
|
12716
|
-
} else if (isPlainObject$3(srcValue) || isArguments$
|
|
12740
|
+
} else if (isPlainObject$3(srcValue) || isArguments$5(srcValue)) {
|
|
12717
12741
|
newValue = objValue;
|
|
12718
|
-
if (isArguments$
|
|
12742
|
+
if (isArguments$5(objValue)) {
|
|
12719
12743
|
newValue = toPlainObject(objValue);
|
|
12720
12744
|
} else if (!isObject$e(objValue) || isFunction$4(objValue)) {
|
|
12721
12745
|
newValue = initCloneObject$2(srcValue);
|
|
@@ -12750,21 +12774,37 @@ function baseMerge(object2, source, srcIndex, customizer, stack) {
|
|
|
12750
12774
|
}, keysIn$4);
|
|
12751
12775
|
}
|
|
12752
12776
|
__name(baseMerge, "baseMerge");
|
|
12777
|
+
function arrayIncludesWith(array2, value, comparator) {
|
|
12778
|
+
var index2 = -1, length = array2 == null ? 0 : array2.length;
|
|
12779
|
+
while (++index2 < length) {
|
|
12780
|
+
if (comparator(value, array2[index2])) {
|
|
12781
|
+
return true;
|
|
12782
|
+
}
|
|
12783
|
+
}
|
|
12784
|
+
return false;
|
|
12785
|
+
}
|
|
12786
|
+
__name(arrayIncludesWith, "arrayIncludesWith");
|
|
12753
12787
|
var LARGE_ARRAY_SIZE$2 = 200;
|
|
12754
12788
|
function baseDifference(array2, values2, iteratee, comparator) {
|
|
12755
12789
|
var index2 = -1, includes = arrayIncludes, isCommon = true, length = array2.length, result = [], valuesLength = values2.length;
|
|
12756
12790
|
if (!length) {
|
|
12757
12791
|
return result;
|
|
12758
12792
|
}
|
|
12759
|
-
if (
|
|
12793
|
+
if (iteratee) {
|
|
12794
|
+
values2 = arrayMap$4(values2, baseUnary$5(iteratee));
|
|
12795
|
+
}
|
|
12796
|
+
if (comparator) {
|
|
12797
|
+
includes = arrayIncludesWith;
|
|
12798
|
+
isCommon = false;
|
|
12799
|
+
} else if (values2.length >= LARGE_ARRAY_SIZE$2) {
|
|
12760
12800
|
includes = cacheHas$2;
|
|
12761
12801
|
isCommon = false;
|
|
12762
12802
|
values2 = new SetCache$2(values2);
|
|
12763
12803
|
}
|
|
12764
12804
|
outer:
|
|
12765
12805
|
while (++index2 < length) {
|
|
12766
|
-
var value = array2[index2], computed3 = value;
|
|
12767
|
-
value = value !== 0 ? value : 0;
|
|
12806
|
+
var value = array2[index2], computed3 = iteratee == null ? value : iteratee(value);
|
|
12807
|
+
value = comparator || value !== 0 ? value : 0;
|
|
12768
12808
|
if (isCommon && computed3 === computed3) {
|
|
12769
12809
|
var valuesIndex = valuesLength;
|
|
12770
12810
|
while (valuesIndex--) {
|
|
@@ -12793,7 +12833,7 @@ function drop(array2, n2, guard) {
|
|
|
12793
12833
|
if (!length) {
|
|
12794
12834
|
return [];
|
|
12795
12835
|
}
|
|
12796
|
-
n2 = n2 === void 0 ? 1 : toInteger$5(n2);
|
|
12836
|
+
n2 = guard || n2 === void 0 ? 1 : toInteger$5(n2);
|
|
12797
12837
|
return baseSlice(array2, n2 < 0 ? 0 : n2, length);
|
|
12798
12838
|
}
|
|
12799
12839
|
__name(drop, "drop");
|
|
@@ -12802,7 +12842,7 @@ function castFunction$2(value) {
|
|
|
12802
12842
|
}
|
|
12803
12843
|
__name(castFunction$2, "castFunction$2");
|
|
12804
12844
|
function forEach(collection, iteratee) {
|
|
12805
|
-
var func = isArray$m(collection) ? arrayEach$2 : baseEach$
|
|
12845
|
+
var func = isArray$m(collection) ? arrayEach$2 : baseEach$3;
|
|
12806
12846
|
return func(collection, castFunction$2(iteratee));
|
|
12807
12847
|
}
|
|
12808
12848
|
__name(forEach, "forEach");
|
|
@@ -12828,7 +12868,7 @@ function arrayEvery(array2, predicate) {
|
|
|
12828
12868
|
__name(arrayEvery, "arrayEvery");
|
|
12829
12869
|
function baseEvery(collection, predicate) {
|
|
12830
12870
|
var result = true;
|
|
12831
|
-
baseEach$
|
|
12871
|
+
baseEach$3(collection, function(value, index2, collection2) {
|
|
12832
12872
|
result = !!predicate(value, index2, collection2);
|
|
12833
12873
|
return result;
|
|
12834
12874
|
});
|
|
@@ -12837,12 +12877,15 @@ function baseEvery(collection, predicate) {
|
|
|
12837
12877
|
__name(baseEvery, "baseEvery");
|
|
12838
12878
|
function every(collection, predicate, guard) {
|
|
12839
12879
|
var func = isArray$m(collection) ? arrayEvery : baseEvery;
|
|
12880
|
+
if (guard && isIterateeCall$2(collection, predicate, guard)) {
|
|
12881
|
+
predicate = void 0;
|
|
12882
|
+
}
|
|
12840
12883
|
return func(collection, baseIteratee$5(predicate));
|
|
12841
12884
|
}
|
|
12842
12885
|
__name(every, "every");
|
|
12843
12886
|
function baseFilter(collection, predicate) {
|
|
12844
12887
|
var result = [];
|
|
12845
|
-
baseEach$
|
|
12888
|
+
baseEach$3(collection, function(value, index2, collection2) {
|
|
12846
12889
|
if (predicate(value, index2, collection2)) {
|
|
12847
12890
|
result.push(value);
|
|
12848
12891
|
}
|
|
@@ -12857,7 +12900,7 @@ function filter(collection, predicate) {
|
|
|
12857
12900
|
__name(filter, "filter");
|
|
12858
12901
|
function baseMap$3(collection, iteratee) {
|
|
12859
12902
|
var index2 = -1, result = isArrayLike$7(collection) ? Array(collection.length) : [];
|
|
12860
|
-
baseEach$
|
|
12903
|
+
baseEach$3(collection, function(value, key, collection2) {
|
|
12861
12904
|
result[++index2] = iteratee(value, key, collection2);
|
|
12862
12905
|
});
|
|
12863
12906
|
return result;
|
|
@@ -12869,7 +12912,7 @@ function map$2(collection, iteratee) {
|
|
|
12869
12912
|
}
|
|
12870
12913
|
__name(map$2, "map$2");
|
|
12871
12914
|
function flatMap(collection, iteratee) {
|
|
12872
|
-
return baseFlatten$2(map$2(collection, iteratee));
|
|
12915
|
+
return baseFlatten$2(map$2(collection, iteratee), 1);
|
|
12873
12916
|
}
|
|
12874
12917
|
__name(flatMap, "flatMap");
|
|
12875
12918
|
function baseGt(value, other) {
|
|
@@ -12923,10 +12966,10 @@ function isEmpty$1(value) {
|
|
|
12923
12966
|
if (value == null) {
|
|
12924
12967
|
return true;
|
|
12925
12968
|
}
|
|
12926
|
-
if (isArrayLike$7(value) && (isArray$m(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer$
|
|
12969
|
+
if (isArrayLike$7(value) && (isArray$m(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer$8(value) || isTypedArray$4(value) || isArguments$5(value))) {
|
|
12927
12970
|
return !value.length;
|
|
12928
12971
|
}
|
|
12929
|
-
var tag = getTag$
|
|
12972
|
+
var tag = getTag$7(value);
|
|
12930
12973
|
if (tag == mapTag$7 || tag == setTag$7) {
|
|
12931
12974
|
return !value.size;
|
|
12932
12975
|
}
|
|
@@ -13044,7 +13087,7 @@ function toArray(value) {
|
|
|
13044
13087
|
if (symIterator && value[symIterator]) {
|
|
13045
13088
|
return iteratorToArray(value[symIterator]());
|
|
13046
13089
|
}
|
|
13047
|
-
var tag = getTag$
|
|
13090
|
+
var tag = getTag$7(value), func = tag == mapTag$6 ? mapToArray$2 : tag == setTag$6 ? setToArray$2 : values;
|
|
13048
13091
|
return func(value);
|
|
13049
13092
|
}
|
|
13050
13093
|
__name(toArray, "toArray");
|
|
@@ -13093,7 +13136,7 @@ function baseSet(object2, path2, value, customizer) {
|
|
|
13093
13136
|
}
|
|
13094
13137
|
if (index2 != lastIndex) {
|
|
13095
13138
|
var objValue = nested[key];
|
|
13096
|
-
newValue = void 0;
|
|
13139
|
+
newValue = customizer ? customizer(objValue, key, nested) : void 0;
|
|
13097
13140
|
if (newValue === void 0) {
|
|
13098
13141
|
newValue = isObject$e(objValue) ? objValue : isIndex$4(path2[index2 + 1]) ? [] : {};
|
|
13099
13142
|
}
|
|
@@ -13203,7 +13246,7 @@ function orderBy$1(collection, iteratees, orders, guard) {
|
|
|
13203
13246
|
if (!isArray$m(iteratees)) {
|
|
13204
13247
|
iteratees = iteratees == null ? [] : [iteratees];
|
|
13205
13248
|
}
|
|
13206
|
-
orders = orders;
|
|
13249
|
+
orders = guard ? void 0 : orders;
|
|
13207
13250
|
if (!isArray$m(orders)) {
|
|
13208
13251
|
orders = orders == null ? [] : [orders];
|
|
13209
13252
|
}
|
|
@@ -13286,7 +13329,7 @@ var nativeCeil = Math.ceil, nativeMax$2 = Math.max;
|
|
|
13286
13329
|
function baseRange(start2, end2, step2, fromRight) {
|
|
13287
13330
|
var index2 = -1, length = nativeMax$2(nativeCeil((end2 - start2) / (step2 || 1)), 0), result = Array(length);
|
|
13288
13331
|
while (length--) {
|
|
13289
|
-
result[++index2] = start2;
|
|
13332
|
+
result[fromRight ? length : ++index2] = start2;
|
|
13290
13333
|
start2 += step2;
|
|
13291
13334
|
}
|
|
13292
13335
|
return result;
|
|
@@ -13305,7 +13348,7 @@ function createRange(fromRight) {
|
|
|
13305
13348
|
end2 = toFinite$2(end2);
|
|
13306
13349
|
}
|
|
13307
13350
|
step2 = step2 === void 0 ? start2 < end2 ? 1 : -1 : toFinite$2(step2);
|
|
13308
|
-
return baseRange(start2, end2, step2);
|
|
13351
|
+
return baseRange(start2, end2, step2, fromRight);
|
|
13309
13352
|
};
|
|
13310
13353
|
}
|
|
13311
13354
|
__name(createRange, "createRange");
|
|
@@ -13319,7 +13362,7 @@ function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
|
|
|
13319
13362
|
__name(baseReduce, "baseReduce");
|
|
13320
13363
|
function reduce(collection, iteratee, accumulator) {
|
|
13321
13364
|
var func = isArray$m(collection) ? arrayReduce : baseReduce, initAccum = arguments.length < 3;
|
|
13322
|
-
return func(collection, baseIteratee$5(iteratee), accumulator, initAccum, baseEach$
|
|
13365
|
+
return func(collection, baseIteratee$5(iteratee), accumulator, initAccum, baseEach$3);
|
|
13323
13366
|
}
|
|
13324
13367
|
__name(reduce, "reduce");
|
|
13325
13368
|
function remove$1(array2, predicate) {
|
|
@@ -13349,7 +13392,7 @@ var snakeCase = createCompounder(function(result, word, index2) {
|
|
|
13349
13392
|
});
|
|
13350
13393
|
function baseSome(collection, predicate) {
|
|
13351
13394
|
var result;
|
|
13352
|
-
baseEach$
|
|
13395
|
+
baseEach$3(collection, function(value, index2, collection2) {
|
|
13353
13396
|
result = predicate(value, index2, collection2);
|
|
13354
13397
|
return !result;
|
|
13355
13398
|
});
|
|
@@ -13358,6 +13401,9 @@ function baseSome(collection, predicate) {
|
|
|
13358
13401
|
__name(baseSome, "baseSome");
|
|
13359
13402
|
function some(collection, predicate, guard) {
|
|
13360
13403
|
var func = isArray$m(collection) ? arraySome$2 : baseSome;
|
|
13404
|
+
if (guard && isIterateeCall$2(collection, predicate, guard)) {
|
|
13405
|
+
predicate = void 0;
|
|
13406
|
+
}
|
|
13361
13407
|
return func(collection, baseIteratee$5(predicate));
|
|
13362
13408
|
}
|
|
13363
13409
|
__name(some, "some");
|
|
@@ -13375,7 +13421,7 @@ function take(array2, n2, guard) {
|
|
|
13375
13421
|
if (!(array2 && array2.length)) {
|
|
13376
13422
|
return [];
|
|
13377
13423
|
}
|
|
13378
|
-
n2 = n2 === void 0 ? 1 : toInteger$5(n2);
|
|
13424
|
+
n2 = guard || n2 === void 0 ? 1 : toInteger$5(n2);
|
|
13379
13425
|
return baseSlice(array2, 0, n2 < 0 ? 0 : n2);
|
|
13380
13426
|
}
|
|
13381
13427
|
__name(take, "take");
|
|
@@ -13421,7 +13467,10 @@ var createSet = !(Set$3 && 1 / setToArray$2(new Set$3([, -0]))[1] == INFINITY$4)
|
|
|
13421
13467
|
var LARGE_ARRAY_SIZE$1 = 200;
|
|
13422
13468
|
function baseUniq(array2, iteratee, comparator) {
|
|
13423
13469
|
var index2 = -1, includes = arrayIncludes, length = array2.length, isCommon = true, result = [], seen = result;
|
|
13424
|
-
if (
|
|
13470
|
+
if (comparator) {
|
|
13471
|
+
isCommon = false;
|
|
13472
|
+
includes = arrayIncludesWith;
|
|
13473
|
+
} else if (length >= LARGE_ARRAY_SIZE$1) {
|
|
13425
13474
|
var set5 = iteratee ? null : createSet(array2);
|
|
13426
13475
|
if (set5) {
|
|
13427
13476
|
return setToArray$2(set5);
|
|
@@ -13435,7 +13484,7 @@ function baseUniq(array2, iteratee, comparator) {
|
|
|
13435
13484
|
outer:
|
|
13436
13485
|
while (++index2 < length) {
|
|
13437
13486
|
var value = array2[index2], computed3 = iteratee ? iteratee(value) : value;
|
|
13438
|
-
value = value !== 0 ? value : 0;
|
|
13487
|
+
value = comparator || value !== 0 ? value : 0;
|
|
13439
13488
|
if (isCommon && computed3 === computed3) {
|
|
13440
13489
|
var seenIndex = seen.length;
|
|
13441
13490
|
while (seenIndex--) {
|
|
@@ -13728,7 +13777,7 @@ var withState = /* @__PURE__ */ __name(function withState2(stateName, stateUpdat
|
|
|
13728
13777
|
}
|
|
13729
13778
|
_this = _Component.call.apply(_Component, [this].concat(args)) || this;
|
|
13730
13779
|
_this.state = {
|
|
13731
|
-
stateValue: initialState2
|
|
13780
|
+
stateValue: typeof initialState2 === "function" ? initialState2(_this.props) : initialState2
|
|
13732
13781
|
};
|
|
13733
13782
|
_this.updateStateValue = function(updateFn, callback) {
|
|
13734
13783
|
return _this.setState(function(_ref) {
|
|
@@ -13986,11 +14035,20 @@ var _fails = /* @__PURE__ */ __name(function(exec) {
|
|
|
13986
14035
|
return true;
|
|
13987
14036
|
}
|
|
13988
14037
|
}, "_fails");
|
|
13989
|
-
var _descriptors
|
|
13990
|
-
|
|
13991
|
-
|
|
13992
|
-
|
|
13993
|
-
|
|
14038
|
+
var _descriptors;
|
|
14039
|
+
var hasRequired_descriptors;
|
|
14040
|
+
function require_descriptors() {
|
|
14041
|
+
if (hasRequired_descriptors)
|
|
14042
|
+
return _descriptors;
|
|
14043
|
+
hasRequired_descriptors = 1;
|
|
14044
|
+
_descriptors = !_fails(function() {
|
|
14045
|
+
return Object.defineProperty({}, "a", { get: function() {
|
|
14046
|
+
return 7;
|
|
14047
|
+
} }).a != 7;
|
|
14048
|
+
});
|
|
14049
|
+
return _descriptors;
|
|
14050
|
+
}
|
|
14051
|
+
__name(require_descriptors, "require_descriptors");
|
|
13994
14052
|
var _domCreate;
|
|
13995
14053
|
var hasRequired_domCreate;
|
|
13996
14054
|
function require_domCreate() {
|
|
@@ -14006,11 +14064,20 @@ function require_domCreate() {
|
|
|
14006
14064
|
return _domCreate;
|
|
14007
14065
|
}
|
|
14008
14066
|
__name(require_domCreate, "require_domCreate");
|
|
14009
|
-
var _ie8DomDefine
|
|
14010
|
-
|
|
14011
|
-
|
|
14012
|
-
|
|
14013
|
-
|
|
14067
|
+
var _ie8DomDefine;
|
|
14068
|
+
var hasRequired_ie8DomDefine;
|
|
14069
|
+
function require_ie8DomDefine() {
|
|
14070
|
+
if (hasRequired_ie8DomDefine)
|
|
14071
|
+
return _ie8DomDefine;
|
|
14072
|
+
hasRequired_ie8DomDefine = 1;
|
|
14073
|
+
_ie8DomDefine = !require_descriptors() && !_fails(function() {
|
|
14074
|
+
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
14075
|
+
return 7;
|
|
14076
|
+
} }).a != 7;
|
|
14077
|
+
});
|
|
14078
|
+
return _ie8DomDefine;
|
|
14079
|
+
}
|
|
14080
|
+
__name(require_ie8DomDefine, "require_ie8DomDefine");
|
|
14014
14081
|
var isObject$c = _isObject;
|
|
14015
14082
|
var _toPrimitive = /* @__PURE__ */ __name(function(it, S2) {
|
|
14016
14083
|
if (!isObject$c(it))
|
|
@@ -14024,25 +14091,33 @@ var _toPrimitive = /* @__PURE__ */ __name(function(it, S2) {
|
|
|
14024
14091
|
return val;
|
|
14025
14092
|
throw TypeError("Can't convert object to primitive value");
|
|
14026
14093
|
}, "_toPrimitive");
|
|
14027
|
-
var
|
|
14028
|
-
|
|
14029
|
-
|
|
14030
|
-
|
|
14031
|
-
|
|
14032
|
-
|
|
14033
|
-
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
|
-
|
|
14037
|
-
|
|
14038
|
-
|
|
14039
|
-
|
|
14040
|
-
|
|
14041
|
-
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
|
|
14045
|
-
|
|
14094
|
+
var hasRequired_objectDp;
|
|
14095
|
+
function require_objectDp() {
|
|
14096
|
+
if (hasRequired_objectDp)
|
|
14097
|
+
return _objectDp;
|
|
14098
|
+
hasRequired_objectDp = 1;
|
|
14099
|
+
var anObject2 = _anObject;
|
|
14100
|
+
var IE8_DOM_DEFINE2 = require_ie8DomDefine();
|
|
14101
|
+
var toPrimitive2 = _toPrimitive;
|
|
14102
|
+
var dP2 = Object.defineProperty;
|
|
14103
|
+
_objectDp.f = require_descriptors() ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty5(O2, P2, Attributes) {
|
|
14104
|
+
anObject2(O2);
|
|
14105
|
+
P2 = toPrimitive2(P2, true);
|
|
14106
|
+
anObject2(Attributes);
|
|
14107
|
+
if (IE8_DOM_DEFINE2)
|
|
14108
|
+
try {
|
|
14109
|
+
return dP2(O2, P2, Attributes);
|
|
14110
|
+
} catch (e2) {
|
|
14111
|
+
}
|
|
14112
|
+
if ("get" in Attributes || "set" in Attributes)
|
|
14113
|
+
throw TypeError("Accessors not supported!");
|
|
14114
|
+
if ("value" in Attributes)
|
|
14115
|
+
O2[P2] = Attributes.value;
|
|
14116
|
+
return O2;
|
|
14117
|
+
}, "defineProperty");
|
|
14118
|
+
return _objectDp;
|
|
14119
|
+
}
|
|
14120
|
+
__name(require_objectDp, "require_objectDp");
|
|
14046
14121
|
var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
14047
14122
|
return {
|
|
14048
14123
|
enumerable: !(bitmap & 1),
|
|
@@ -14051,10 +14126,10 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
|
14051
14126
|
value
|
|
14052
14127
|
};
|
|
14053
14128
|
}, "_propertyDesc");
|
|
14054
|
-
var dP$
|
|
14129
|
+
var dP$1 = require_objectDp();
|
|
14055
14130
|
var createDesc$3 = _propertyDesc;
|
|
14056
|
-
var _hide =
|
|
14057
|
-
return dP$
|
|
14131
|
+
var _hide = require_descriptors() ? function(object2, key, value) {
|
|
14132
|
+
return dP$1.f(object2, key, createDesc$3(1, value));
|
|
14058
14133
|
} : function(object2, key, value) {
|
|
14059
14134
|
object2[key] = value;
|
|
14060
14135
|
return object2;
|
|
@@ -14068,7 +14143,7 @@ var core$3 = _coreExports;
|
|
|
14068
14143
|
var ctx$1 = _ctx;
|
|
14069
14144
|
var hide$2 = _hide;
|
|
14070
14145
|
var has$b = _has;
|
|
14071
|
-
var PROTOTYPE$
|
|
14146
|
+
var PROTOTYPE$1 = "prototype";
|
|
14072
14147
|
var $export$8 = /* @__PURE__ */ __name(function(type2, name, source) {
|
|
14073
14148
|
var IS_FORCED = type2 & $export$8.F;
|
|
14074
14149
|
var IS_GLOBAL = type2 & $export$8.G;
|
|
@@ -14077,8 +14152,8 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name, source) {
|
|
|
14077
14152
|
var IS_BIND = type2 & $export$8.B;
|
|
14078
14153
|
var IS_WRAP = type2 & $export$8.W;
|
|
14079
14154
|
var exports2 = IS_GLOBAL ? core$3 : core$3[name] || (core$3[name] = {});
|
|
14080
|
-
var expProto = exports2[PROTOTYPE$
|
|
14081
|
-
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$
|
|
14155
|
+
var expProto = exports2[PROTOTYPE$1];
|
|
14156
|
+
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$1];
|
|
14082
14157
|
var key, own2, out;
|
|
14083
14158
|
if (IS_GLOBAL)
|
|
14084
14159
|
source = name;
|
|
@@ -14102,7 +14177,7 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name, source) {
|
|
|
14102
14177
|
}
|
|
14103
14178
|
return C.apply(this, arguments);
|
|
14104
14179
|
}, "F");
|
|
14105
|
-
F[PROTOTYPE$
|
|
14180
|
+
F[PROTOTYPE$1] = C[PROTOTYPE$1];
|
|
14106
14181
|
return F;
|
|
14107
14182
|
}(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
|
|
14108
14183
|
if (IS_PROTO) {
|
|
@@ -14125,16 +14200,25 @@ var toString$5 = {}.toString;
|
|
|
14125
14200
|
var _cof = /* @__PURE__ */ __name(function(it) {
|
|
14126
14201
|
return toString$5.call(it).slice(8, -1);
|
|
14127
14202
|
}, "_cof");
|
|
14128
|
-
var
|
|
14129
|
-
var
|
|
14130
|
-
|
|
14131
|
-
|
|
14203
|
+
var _iobject;
|
|
14204
|
+
var hasRequired_iobject;
|
|
14205
|
+
function require_iobject() {
|
|
14206
|
+
if (hasRequired_iobject)
|
|
14207
|
+
return _iobject;
|
|
14208
|
+
hasRequired_iobject = 1;
|
|
14209
|
+
var cof2 = _cof;
|
|
14210
|
+
_iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
14211
|
+
return cof2(it) == "String" ? it.split("") : Object(it);
|
|
14212
|
+
};
|
|
14213
|
+
return _iobject;
|
|
14214
|
+
}
|
|
14215
|
+
__name(require_iobject, "require_iobject");
|
|
14132
14216
|
var _defined = /* @__PURE__ */ __name(function(it) {
|
|
14133
14217
|
if (it == void 0)
|
|
14134
14218
|
throw TypeError("Can't call method on " + it);
|
|
14135
14219
|
return it;
|
|
14136
14220
|
}, "_defined");
|
|
14137
|
-
var IObject =
|
|
14221
|
+
var IObject = require_iobject();
|
|
14138
14222
|
var defined$2 = _defined;
|
|
14139
14223
|
var _toIobject = /* @__PURE__ */ __name(function(it) {
|
|
14140
14224
|
return IObject(defined$2(it));
|
|
@@ -14207,14 +14291,14 @@ var _sharedKey = /* @__PURE__ */ __name(function(key) {
|
|
|
14207
14291
|
var has$a = _has;
|
|
14208
14292
|
var toIObject$4 = _toIobject;
|
|
14209
14293
|
var arrayIndexOf = _arrayIncludes(false);
|
|
14210
|
-
var IE_PROTO$
|
|
14294
|
+
var IE_PROTO$1 = _sharedKey("IE_PROTO");
|
|
14211
14295
|
var _objectKeysInternal = /* @__PURE__ */ __name(function(object2, names2) {
|
|
14212
14296
|
var O2 = toIObject$4(object2);
|
|
14213
14297
|
var i = 0;
|
|
14214
14298
|
var result = [];
|
|
14215
14299
|
var key;
|
|
14216
14300
|
for (key in O2)
|
|
14217
|
-
if (key != IE_PROTO$
|
|
14301
|
+
if (key != IE_PROTO$1)
|
|
14218
14302
|
has$a(O2, key) && result.push(key);
|
|
14219
14303
|
while (names2.length > i)
|
|
14220
14304
|
if (has$a(O2, key = names2[i++])) {
|
|
@@ -14224,9 +14308,9 @@ var _objectKeysInternal = /* @__PURE__ */ __name(function(object2, names2) {
|
|
|
14224
14308
|
}, "_objectKeysInternal");
|
|
14225
14309
|
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
|
14226
14310
|
var $keys$3 = _objectKeysInternal;
|
|
14227
|
-
var enumBugKeys
|
|
14311
|
+
var enumBugKeys = _enumBugKeys;
|
|
14228
14312
|
var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys(O2) {
|
|
14229
|
-
return $keys$3(O2, enumBugKeys
|
|
14313
|
+
return $keys$3(O2, enumBugKeys);
|
|
14230
14314
|
}, "keys");
|
|
14231
14315
|
var _objectGops = {};
|
|
14232
14316
|
_objectGops.f = Object.getOwnPropertySymbols;
|
|
@@ -14250,12 +14334,12 @@ function require_objectAssign() {
|
|
|
14250
14334
|
if (hasRequired_objectAssign)
|
|
14251
14335
|
return _objectAssign;
|
|
14252
14336
|
hasRequired_objectAssign = 1;
|
|
14253
|
-
var DESCRIPTORS2 =
|
|
14337
|
+
var DESCRIPTORS2 = require_descriptors();
|
|
14254
14338
|
var getKeys2 = _objectKeys;
|
|
14255
14339
|
var gOPS2 = _objectGops;
|
|
14256
14340
|
var pIE2 = require_objectPie();
|
|
14257
14341
|
var toObject2 = _toObject;
|
|
14258
|
-
var IObject2 =
|
|
14342
|
+
var IObject2 = require_iobject();
|
|
14259
14343
|
var $assign = Object.assign;
|
|
14260
14344
|
_objectAssign = !$assign || _fails(function() {
|
|
14261
14345
|
var A2 = {};
|
|
@@ -14316,19 +14400,28 @@ var _iterStep = /* @__PURE__ */ __name(function(done, value) {
|
|
|
14316
14400
|
}, "_iterStep");
|
|
14317
14401
|
var _iterators = {};
|
|
14318
14402
|
var _redefine = _hide;
|
|
14319
|
-
var
|
|
14320
|
-
var
|
|
14321
|
-
|
|
14322
|
-
|
|
14323
|
-
|
|
14324
|
-
|
|
14325
|
-
var
|
|
14326
|
-
var
|
|
14327
|
-
var
|
|
14328
|
-
|
|
14329
|
-
|
|
14330
|
-
|
|
14331
|
-
|
|
14403
|
+
var _objectDps;
|
|
14404
|
+
var hasRequired_objectDps;
|
|
14405
|
+
function require_objectDps() {
|
|
14406
|
+
if (hasRequired_objectDps)
|
|
14407
|
+
return _objectDps;
|
|
14408
|
+
hasRequired_objectDps = 1;
|
|
14409
|
+
var dP2 = require_objectDp();
|
|
14410
|
+
var anObject2 = _anObject;
|
|
14411
|
+
var getKeys2 = _objectKeys;
|
|
14412
|
+
_objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties) {
|
|
14413
|
+
anObject2(O2);
|
|
14414
|
+
var keys3 = getKeys2(Properties);
|
|
14415
|
+
var length = keys3.length;
|
|
14416
|
+
var i = 0;
|
|
14417
|
+
var P2;
|
|
14418
|
+
while (length > i)
|
|
14419
|
+
dP2.f(O2, P2 = keys3[i++], Properties[P2]);
|
|
14420
|
+
return O2;
|
|
14421
|
+
}, "defineProperties");
|
|
14422
|
+
return _objectDps;
|
|
14423
|
+
}
|
|
14424
|
+
__name(require_objectDps, "require_objectDps");
|
|
14332
14425
|
var _html;
|
|
14333
14426
|
var hasRequired_html;
|
|
14334
14427
|
function require_html() {
|
|
@@ -14340,42 +14433,51 @@ function require_html() {
|
|
|
14340
14433
|
return _html;
|
|
14341
14434
|
}
|
|
14342
14435
|
__name(require_html, "require_html");
|
|
14343
|
-
var
|
|
14344
|
-
var
|
|
14345
|
-
|
|
14346
|
-
|
|
14347
|
-
|
|
14348
|
-
|
|
14349
|
-
var
|
|
14350
|
-
var
|
|
14351
|
-
var
|
|
14352
|
-
var
|
|
14353
|
-
var
|
|
14354
|
-
|
|
14355
|
-
var
|
|
14356
|
-
|
|
14357
|
-
|
|
14358
|
-
|
|
14359
|
-
|
|
14360
|
-
|
|
14361
|
-
|
|
14362
|
-
|
|
14363
|
-
|
|
14364
|
-
|
|
14365
|
-
|
|
14366
|
-
|
|
14367
|
-
|
|
14368
|
-
|
|
14369
|
-
|
|
14370
|
-
|
|
14371
|
-
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
|
|
14375
|
-
|
|
14376
|
-
|
|
14377
|
-
|
|
14378
|
-
|
|
14436
|
+
var _objectCreate;
|
|
14437
|
+
var hasRequired_objectCreate;
|
|
14438
|
+
function require_objectCreate() {
|
|
14439
|
+
if (hasRequired_objectCreate)
|
|
14440
|
+
return _objectCreate;
|
|
14441
|
+
hasRequired_objectCreate = 1;
|
|
14442
|
+
var anObject2 = _anObject;
|
|
14443
|
+
var dPs = require_objectDps();
|
|
14444
|
+
var enumBugKeys2 = _enumBugKeys;
|
|
14445
|
+
var IE_PROTO2 = _sharedKey("IE_PROTO");
|
|
14446
|
+
var Empty = /* @__PURE__ */ __name(function() {
|
|
14447
|
+
}, "Empty");
|
|
14448
|
+
var PROTOTYPE2 = "prototype";
|
|
14449
|
+
var createDict = /* @__PURE__ */ __name(function() {
|
|
14450
|
+
var iframe = require_domCreate()("iframe");
|
|
14451
|
+
var i = enumBugKeys2.length;
|
|
14452
|
+
var lt = "<";
|
|
14453
|
+
var gt = ">";
|
|
14454
|
+
var iframeDocument;
|
|
14455
|
+
iframe.style.display = "none";
|
|
14456
|
+
require_html().appendChild(iframe);
|
|
14457
|
+
iframe.src = "javascript:";
|
|
14458
|
+
iframeDocument = iframe.contentWindow.document;
|
|
14459
|
+
iframeDocument.open();
|
|
14460
|
+
iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
|
|
14461
|
+
iframeDocument.close();
|
|
14462
|
+
createDict = iframeDocument.F;
|
|
14463
|
+
while (i--)
|
|
14464
|
+
delete createDict[PROTOTYPE2][enumBugKeys2[i]];
|
|
14465
|
+
return createDict();
|
|
14466
|
+
}, "createDict");
|
|
14467
|
+
_objectCreate = Object.create || /* @__PURE__ */ __name(function create5(O2, Properties) {
|
|
14468
|
+
var result;
|
|
14469
|
+
if (O2 !== null) {
|
|
14470
|
+
Empty[PROTOTYPE2] = anObject2(O2);
|
|
14471
|
+
result = new Empty();
|
|
14472
|
+
Empty[PROTOTYPE2] = null;
|
|
14473
|
+
result[IE_PROTO2] = O2;
|
|
14474
|
+
} else
|
|
14475
|
+
result = createDict();
|
|
14476
|
+
return Properties === void 0 ? result : dPs(result, Properties);
|
|
14477
|
+
}, "create");
|
|
14478
|
+
return _objectCreate;
|
|
14479
|
+
}
|
|
14480
|
+
__name(require_objectCreate, "require_objectCreate");
|
|
14379
14481
|
var _wks = { exports: {} };
|
|
14380
14482
|
var store = _sharedExports("wks");
|
|
14381
14483
|
var uid$1 = _uid;
|
|
@@ -14386,14 +14488,14 @@ var $exports = _wks.exports = function(name) {
|
|
|
14386
14488
|
};
|
|
14387
14489
|
$exports.store = store;
|
|
14388
14490
|
var _wksExports = _wks.exports;
|
|
14389
|
-
var def =
|
|
14491
|
+
var def = require_objectDp().f;
|
|
14390
14492
|
var has$9 = _has;
|
|
14391
14493
|
var TAG$1 = _wksExports("toStringTag");
|
|
14392
14494
|
var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
|
|
14393
14495
|
if (it && !has$9(it = stat ? it : it.prototype, TAG$1))
|
|
14394
14496
|
def(it, TAG$1, { configurable: true, value: tag });
|
|
14395
14497
|
}, "_setToStringTag");
|
|
14396
|
-
var create$3 =
|
|
14498
|
+
var create$3 = require_objectCreate();
|
|
14397
14499
|
var descriptor = _propertyDesc;
|
|
14398
14500
|
var setToStringTag$2 = _setToStringTag;
|
|
14399
14501
|
var IteratorPrototype = {};
|
|
@@ -14659,7 +14761,7 @@ var ArrayProto = Array.prototype;
|
|
|
14659
14761
|
var _isArrayIter = /* @__PURE__ */ __name(function(it) {
|
|
14660
14762
|
return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
14661
14763
|
}, "_isArrayIter");
|
|
14662
|
-
var $defineProperty$3 =
|
|
14764
|
+
var $defineProperty$3 = require_objectDp();
|
|
14663
14765
|
var createDesc$2 = _propertyDesc;
|
|
14664
14766
|
var _createProperty = /* @__PURE__ */ __name(function(object2, index2, value) {
|
|
14665
14767
|
if (index2 in object2)
|
|
@@ -14788,9 +14890,9 @@ var _default$8 = /* @__PURE__ */ __name(function(instance, Constructor) {
|
|
|
14788
14890
|
}
|
|
14789
14891
|
}, "_default$8");
|
|
14790
14892
|
var $export$3 = _export;
|
|
14791
|
-
$export$3($export$3.S + $export$3.F * !
|
|
14893
|
+
$export$3($export$3.S + $export$3.F * !require_descriptors(), "Object", { defineProperty: require_objectDp().f });
|
|
14792
14894
|
var $Object$2 = _coreExports.Object;
|
|
14793
|
-
var defineProperty$7 = /* @__PURE__ */ __name(function
|
|
14895
|
+
var defineProperty$7 = /* @__PURE__ */ __name(function defineProperty(it, key, desc) {
|
|
14794
14896
|
return $Object$2.defineProperty(it, key, desc);
|
|
14795
14897
|
}, "defineProperty");
|
|
14796
14898
|
var defineProperty$6 = { "default": defineProperty$7, __esModule: true };
|
|
@@ -14801,7 +14903,7 @@ function _interopRequireDefault$e(obj) {
|
|
|
14801
14903
|
}
|
|
14802
14904
|
__name(_interopRequireDefault$e, "_interopRequireDefault$e");
|
|
14803
14905
|
var _default$7 = /* @__PURE__ */ function() {
|
|
14804
|
-
function
|
|
14906
|
+
function defineProperties2(target, props) {
|
|
14805
14907
|
for (var i = 0; i < props.length; i++) {
|
|
14806
14908
|
var descriptor2 = props[i];
|
|
14807
14909
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -14811,12 +14913,12 @@ var _default$7 = /* @__PURE__ */ function() {
|
|
|
14811
14913
|
(0, _defineProperty2.default)(target, descriptor2.key, descriptor2);
|
|
14812
14914
|
}
|
|
14813
14915
|
}
|
|
14814
|
-
__name(
|
|
14916
|
+
__name(defineProperties2, "defineProperties");
|
|
14815
14917
|
return function(Constructor, protoProps, staticProps) {
|
|
14816
14918
|
if (protoProps)
|
|
14817
|
-
|
|
14919
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
14818
14920
|
if (staticProps)
|
|
14819
|
-
|
|
14921
|
+
defineProperties2(Constructor, staticProps);
|
|
14820
14922
|
return Constructor;
|
|
14821
14923
|
};
|
|
14822
14924
|
}();
|
|
@@ -14829,7 +14931,7 @@ var _meta = { exports: {} };
|
|
|
14829
14931
|
var META$1 = _uid("meta");
|
|
14830
14932
|
var isObject$b = _isObject;
|
|
14831
14933
|
var has$7 = _has;
|
|
14832
|
-
var setDesc =
|
|
14934
|
+
var setDesc = require_objectDp().f;
|
|
14833
14935
|
var id = 0;
|
|
14834
14936
|
var isExtensible = Object.isExtensible || function() {
|
|
14835
14937
|
return true;
|
|
@@ -14845,23 +14947,23 @@ var setMeta = /* @__PURE__ */ __name(function(it) {
|
|
|
14845
14947
|
// weak collections IDs
|
|
14846
14948
|
} });
|
|
14847
14949
|
}, "setMeta");
|
|
14848
|
-
var fastKey = /* @__PURE__ */ __name(function(it,
|
|
14950
|
+
var fastKey = /* @__PURE__ */ __name(function(it, create5) {
|
|
14849
14951
|
if (!isObject$b(it))
|
|
14850
14952
|
return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it;
|
|
14851
14953
|
if (!has$7(it, META$1)) {
|
|
14852
14954
|
if (!isExtensible(it))
|
|
14853
14955
|
return "F";
|
|
14854
|
-
if (!
|
|
14956
|
+
if (!create5)
|
|
14855
14957
|
return "E";
|
|
14856
14958
|
setMeta(it);
|
|
14857
14959
|
}
|
|
14858
14960
|
return it[META$1].i;
|
|
14859
14961
|
}, "fastKey");
|
|
14860
|
-
var getWeak = /* @__PURE__ */ __name(function(it,
|
|
14962
|
+
var getWeak = /* @__PURE__ */ __name(function(it, create5) {
|
|
14861
14963
|
if (!has$7(it, META$1)) {
|
|
14862
14964
|
if (!isExtensible(it))
|
|
14863
14965
|
return true;
|
|
14864
|
-
if (!
|
|
14966
|
+
if (!create5)
|
|
14865
14967
|
return false;
|
|
14866
14968
|
setMeta(it);
|
|
14867
14969
|
}
|
|
@@ -14882,7 +14984,7 @@ var meta = _meta.exports = {
|
|
|
14882
14984
|
var _metaExports = _meta.exports;
|
|
14883
14985
|
var core = _coreExports;
|
|
14884
14986
|
var wksExt$1 = _wksExt;
|
|
14885
|
-
var defineProperty$5 =
|
|
14987
|
+
var defineProperty$5 = require_objectDp().f;
|
|
14886
14988
|
var _wksDefine = /* @__PURE__ */ __name(function(name) {
|
|
14887
14989
|
var $Symbol2 = core.Symbol || (core.Symbol = {});
|
|
14888
14990
|
if (name.charAt(0) != "_" && !(name in $Symbol2))
|
|
@@ -14936,9 +15038,9 @@ var createDesc$1 = _propertyDesc;
|
|
|
14936
15038
|
var toIObject$1 = _toIobject;
|
|
14937
15039
|
var toPrimitive$1 = _toPrimitive;
|
|
14938
15040
|
var has$6 = _has;
|
|
14939
|
-
var IE8_DOM_DEFINE =
|
|
15041
|
+
var IE8_DOM_DEFINE = require_ie8DomDefine();
|
|
14940
15042
|
var gOPD$3 = Object.getOwnPropertyDescriptor;
|
|
14941
|
-
_objectGopd.f =
|
|
15043
|
+
_objectGopd.f = require_descriptors() ? gOPD$3 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
|
|
14942
15044
|
O2 = toIObject$1(O2);
|
|
14943
15045
|
P2 = toPrimitive$1(P2, true);
|
|
14944
15046
|
if (IE8_DOM_DEFINE)
|
|
@@ -14951,7 +15053,7 @@ _objectGopd.f = _descriptors ? gOPD$3 : /* @__PURE__ */ __name(function getOwnPr
|
|
|
14951
15053
|
}, "getOwnPropertyDescriptor");
|
|
14952
15054
|
var global$1 = _globalExports;
|
|
14953
15055
|
var has$5 = _has;
|
|
14954
|
-
var DESCRIPTORS =
|
|
15056
|
+
var DESCRIPTORS = require_descriptors();
|
|
14955
15057
|
var $export$2 = _export;
|
|
14956
15058
|
var redefine = _redefine;
|
|
14957
15059
|
var META = _metaExports.KEY;
|
|
@@ -14970,11 +15072,11 @@ var toObject$1 = _toObject;
|
|
|
14970
15072
|
var toIObject = _toIobject;
|
|
14971
15073
|
var toPrimitive = _toPrimitive;
|
|
14972
15074
|
var createDesc = _propertyDesc;
|
|
14973
|
-
var _create$1 =
|
|
15075
|
+
var _create$1 = require_objectCreate();
|
|
14974
15076
|
var gOPNExt = _objectGopnExt;
|
|
14975
15077
|
var $GOPD = _objectGopd;
|
|
14976
15078
|
var $GOPS = _objectGops;
|
|
14977
|
-
var $DP =
|
|
15079
|
+
var $DP = require_objectDp();
|
|
14978
15080
|
var $keys$1 = _objectKeys;
|
|
14979
15081
|
var gOPD$2 = $GOPD.f;
|
|
14980
15082
|
var dP = $DP.f;
|
|
@@ -15017,7 +15119,7 @@ var isSymbol$7 = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it
|
|
|
15017
15119
|
} : function(it) {
|
|
15018
15120
|
return it instanceof $Symbol;
|
|
15019
15121
|
};
|
|
15020
|
-
var $defineProperty$2 = /* @__PURE__ */ __name(function
|
|
15122
|
+
var $defineProperty$2 = /* @__PURE__ */ __name(function defineProperty3(it, key, D2) {
|
|
15021
15123
|
if (it === ObjectProto)
|
|
15022
15124
|
$defineProperty$2(OPSymbols, key, D2);
|
|
15023
15125
|
anObject(it);
|
|
@@ -15037,7 +15139,7 @@ var $defineProperty$2 = /* @__PURE__ */ __name(function defineProperty4(it, key,
|
|
|
15037
15139
|
}
|
|
15038
15140
|
return dP(it, key, D2);
|
|
15039
15141
|
}, "defineProperty");
|
|
15040
|
-
var $defineProperties = /* @__PURE__ */ __name(function
|
|
15142
|
+
var $defineProperties = /* @__PURE__ */ __name(function defineProperties(it, P2) {
|
|
15041
15143
|
anObject(it);
|
|
15042
15144
|
var keys3 = enumKeys(P2 = toIObject(P2));
|
|
15043
15145
|
var i = 0;
|
|
@@ -15047,7 +15149,7 @@ var $defineProperties = /* @__PURE__ */ __name(function defineProperties2(it, P2
|
|
|
15047
15149
|
$defineProperty$2(it, key = keys3[i++], P2[key]);
|
|
15048
15150
|
return it;
|
|
15049
15151
|
}, "defineProperties");
|
|
15050
|
-
var $create = /* @__PURE__ */ __name(function
|
|
15152
|
+
var $create = /* @__PURE__ */ __name(function create(it, P2) {
|
|
15051
15153
|
return P2 === void 0 ? _create$1(it) : $defineProperties(_create$1(it), P2);
|
|
15052
15154
|
}, "create");
|
|
15053
15155
|
var $propertyIsEnumerable = /* @__PURE__ */ __name(function propertyIsEnumerable(key) {
|
|
@@ -15277,9 +15379,9 @@ $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
|
|
|
15277
15379
|
var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
|
|
15278
15380
|
var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
|
|
15279
15381
|
var $export = _export;
|
|
15280
|
-
$export($export.S, "Object", { create:
|
|
15382
|
+
$export($export.S, "Object", { create: require_objectCreate() });
|
|
15281
15383
|
var $Object$1 = _coreExports.Object;
|
|
15282
|
-
var create$2 = /* @__PURE__ */ __name(function
|
|
15384
|
+
var create$2 = /* @__PURE__ */ __name(function create2(P2, D2) {
|
|
15283
15385
|
return $Object$1.create(P2, D2);
|
|
15284
15386
|
}, "create");
|
|
15285
15387
|
var create$1 = { "default": create$2, __esModule: true };
|
|
@@ -18480,6 +18582,8 @@ var reactList = {};
|
|
|
18480
18582
|
function _createClass2(Constructor, protoProps, staticProps) {
|
|
18481
18583
|
if (protoProps)
|
|
18482
18584
|
_defineProperties2(Constructor.prototype, protoProps);
|
|
18585
|
+
if (staticProps)
|
|
18586
|
+
_defineProperties2(Constructor, staticProps);
|
|
18483
18587
|
return Constructor;
|
|
18484
18588
|
}
|
|
18485
18589
|
__name(_createClass2, "_createClass");
|
|
@@ -19364,7 +19468,7 @@ function normalizeComponent(Comp) {
|
|
|
19364
19468
|
}
|
|
19365
19469
|
__name(normalizeComponent, "normalizeComponent");
|
|
19366
19470
|
var _createClass$c = /* @__PURE__ */ function() {
|
|
19367
|
-
function
|
|
19471
|
+
function defineProperties2(target, props) {
|
|
19368
19472
|
for (var i = 0; i < props.length; i++) {
|
|
19369
19473
|
var descriptor2 = props[i];
|
|
19370
19474
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -19374,12 +19478,12 @@ var _createClass$c = /* @__PURE__ */ function() {
|
|
|
19374
19478
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
19375
19479
|
}
|
|
19376
19480
|
}
|
|
19377
|
-
__name(
|
|
19481
|
+
__name(defineProperties2, "defineProperties");
|
|
19378
19482
|
return function(Constructor, protoProps, staticProps) {
|
|
19379
19483
|
if (protoProps)
|
|
19380
|
-
|
|
19484
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
19381
19485
|
if (staticProps)
|
|
19382
|
-
|
|
19486
|
+
defineProperties2(Constructor, staticProps);
|
|
19383
19487
|
return Constructor;
|
|
19384
19488
|
};
|
|
19385
19489
|
}();
|
|
@@ -19540,7 +19644,7 @@ var _extends$l = Object.assign || function(target) {
|
|
|
19540
19644
|
return target;
|
|
19541
19645
|
};
|
|
19542
19646
|
var _createClass$b = /* @__PURE__ */ function() {
|
|
19543
|
-
function
|
|
19647
|
+
function defineProperties2(target, props) {
|
|
19544
19648
|
for (var i = 0; i < props.length; i++) {
|
|
19545
19649
|
var descriptor2 = props[i];
|
|
19546
19650
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -19550,12 +19654,12 @@ var _createClass$b = /* @__PURE__ */ function() {
|
|
|
19550
19654
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
19551
19655
|
}
|
|
19552
19656
|
}
|
|
19553
|
-
__name(
|
|
19657
|
+
__name(defineProperties2, "defineProperties");
|
|
19554
19658
|
return function(Constructor, protoProps, staticProps) {
|
|
19555
19659
|
if (protoProps)
|
|
19556
|
-
|
|
19660
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
19557
19661
|
if (staticProps)
|
|
19558
|
-
|
|
19662
|
+
defineProperties2(Constructor, staticProps);
|
|
19559
19663
|
return Constructor;
|
|
19560
19664
|
};
|
|
19561
19665
|
}();
|
|
@@ -20146,7 +20250,7 @@ const Methods = /* @__PURE__ */ __name(function(Base) {
|
|
|
20146
20250
|
}(Base);
|
|
20147
20251
|
}, "Methods");
|
|
20148
20252
|
var _createClass$a = /* @__PURE__ */ function() {
|
|
20149
|
-
function
|
|
20253
|
+
function defineProperties2(target, props) {
|
|
20150
20254
|
for (var i = 0; i < props.length; i++) {
|
|
20151
20255
|
var descriptor2 = props[i];
|
|
20152
20256
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -20156,12 +20260,12 @@ var _createClass$a = /* @__PURE__ */ function() {
|
|
|
20156
20260
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
20157
20261
|
}
|
|
20158
20262
|
}
|
|
20159
|
-
__name(
|
|
20263
|
+
__name(defineProperties2, "defineProperties");
|
|
20160
20264
|
return function(Constructor, protoProps, staticProps) {
|
|
20161
20265
|
if (protoProps)
|
|
20162
|
-
|
|
20266
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
20163
20267
|
if (staticProps)
|
|
20164
|
-
|
|
20268
|
+
defineProperties2(Constructor, staticProps);
|
|
20165
20269
|
return Constructor;
|
|
20166
20270
|
};
|
|
20167
20271
|
}();
|
|
@@ -20933,7 +21037,7 @@ var _extends$i = Object.assign || function(target) {
|
|
|
20933
21037
|
return target;
|
|
20934
21038
|
};
|
|
20935
21039
|
var _createClass$9 = /* @__PURE__ */ function() {
|
|
20936
|
-
function
|
|
21040
|
+
function defineProperties2(target, props) {
|
|
20937
21041
|
for (var i = 0; i < props.length; i++) {
|
|
20938
21042
|
var descriptor2 = props[i];
|
|
20939
21043
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -20943,12 +21047,12 @@ var _createClass$9 = /* @__PURE__ */ function() {
|
|
|
20943
21047
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
20944
21048
|
}
|
|
20945
21049
|
}
|
|
20946
|
-
__name(
|
|
21050
|
+
__name(defineProperties2, "defineProperties");
|
|
20947
21051
|
return function(Constructor, protoProps, staticProps) {
|
|
20948
21052
|
if (protoProps)
|
|
20949
|
-
|
|
21053
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
20950
21054
|
if (staticProps)
|
|
20951
|
-
|
|
21055
|
+
defineProperties2(Constructor, staticProps);
|
|
20952
21056
|
return Constructor;
|
|
20953
21057
|
};
|
|
20954
21058
|
}();
|
|
@@ -23142,7 +23246,7 @@ function looksLikeAVFileValue(value) {
|
|
|
23142
23246
|
__name(looksLikeAVFileValue, "looksLikeAVFileValue");
|
|
23143
23247
|
const emptyOptions = {};
|
|
23144
23248
|
function toString$1(value, options) {
|
|
23145
|
-
const settings = emptyOptions;
|
|
23249
|
+
const settings = options || emptyOptions;
|
|
23146
23250
|
const includeImageAlt = typeof settings.includeImageAlt === "boolean" ? settings.includeImageAlt : true;
|
|
23147
23251
|
const includeHtml = typeof settings.includeHtml === "boolean" ? settings.includeHtml : true;
|
|
23148
23252
|
return one$1(value, includeImageAlt, includeHtml);
|
|
@@ -27272,21 +27376,21 @@ function parse$5(options) {
|
|
|
27272
27376
|
defined: [],
|
|
27273
27377
|
lazy: {},
|
|
27274
27378
|
constructs: constructs2,
|
|
27275
|
-
content:
|
|
27276
|
-
document:
|
|
27277
|
-
flow:
|
|
27278
|
-
string:
|
|
27279
|
-
text:
|
|
27379
|
+
content: create5(content$1),
|
|
27380
|
+
document: create5(document$2),
|
|
27381
|
+
flow: create5(flow$1),
|
|
27382
|
+
string: create5(string$1),
|
|
27383
|
+
text: create5(text$3)
|
|
27280
27384
|
};
|
|
27281
27385
|
return parser;
|
|
27282
|
-
function
|
|
27386
|
+
function create5(initial) {
|
|
27283
27387
|
return creator;
|
|
27284
27388
|
function creator(from3) {
|
|
27285
27389
|
return createTokenizer(parser, initial, from3);
|
|
27286
27390
|
}
|
|
27287
27391
|
__name(creator, "creator");
|
|
27288
27392
|
}
|
|
27289
|
-
__name(
|
|
27393
|
+
__name(create5, "create");
|
|
27290
27394
|
}
|
|
27291
27395
|
__name(parse$5, "parse$5");
|
|
27292
27396
|
const search$1 = /[\0\t\n\r]/g;
|
|
@@ -27697,10 +27801,10 @@ function compiler(options) {
|
|
|
27697
27801
|
return data[key];
|
|
27698
27802
|
}
|
|
27699
27803
|
__name(getData, "getData");
|
|
27700
|
-
function opener(
|
|
27804
|
+
function opener(create5, and) {
|
|
27701
27805
|
return open2;
|
|
27702
27806
|
function open2(token) {
|
|
27703
|
-
enter.call(this,
|
|
27807
|
+
enter.call(this, create5(token), token);
|
|
27704
27808
|
if (and)
|
|
27705
27809
|
and.call(this, token);
|
|
27706
27810
|
}
|
|
@@ -29338,6 +29442,7 @@ const remarkRehype = (
|
|
|
29338
29442
|
return destination && "run" in destination ? bridge(destination, options) : mutate(destination || options);
|
|
29339
29443
|
}, "remarkRehype")
|
|
29340
29444
|
);
|
|
29445
|
+
const remarkRehype$1 = remarkRehype;
|
|
29341
29446
|
function bridge(destination, options) {
|
|
29342
29447
|
return (node2, file, next) => {
|
|
29343
29448
|
destination.run(toHast(node2, options), file, (error) => {
|
|
@@ -29461,7 +29566,7 @@ function mark(values2, key, value) {
|
|
|
29461
29566
|
}
|
|
29462
29567
|
__name(mark, "mark");
|
|
29463
29568
|
const own$3 = {}.hasOwnProperty;
|
|
29464
|
-
function
|
|
29569
|
+
function create3(definition2) {
|
|
29465
29570
|
const property2 = {};
|
|
29466
29571
|
const normal = {};
|
|
29467
29572
|
let prop;
|
|
@@ -29484,8 +29589,8 @@ function create4(definition2) {
|
|
|
29484
29589
|
}
|
|
29485
29590
|
return new Schema(property2, normal, definition2.space);
|
|
29486
29591
|
}
|
|
29487
|
-
__name(
|
|
29488
|
-
const xlink =
|
|
29592
|
+
__name(create3, "create");
|
|
29593
|
+
const xlink = create3({
|
|
29489
29594
|
space: "xlink",
|
|
29490
29595
|
transform(_2, prop) {
|
|
29491
29596
|
return "xlink:" + prop.slice(5).toLowerCase();
|
|
@@ -29500,7 +29605,7 @@ const xlink = create4({
|
|
|
29500
29605
|
xLinkType: null
|
|
29501
29606
|
}
|
|
29502
29607
|
});
|
|
29503
|
-
const xml =
|
|
29608
|
+
const xml = create3({
|
|
29504
29609
|
space: "xml",
|
|
29505
29610
|
transform(_2, prop) {
|
|
29506
29611
|
return "xml:" + prop.slice(3).toLowerCase();
|
|
@@ -29515,13 +29620,13 @@ function caseInsensitiveTransform(attributes, property2) {
|
|
|
29515
29620
|
return caseSensitiveTransform(attributes, property2.toLowerCase());
|
|
29516
29621
|
}
|
|
29517
29622
|
__name(caseInsensitiveTransform, "caseInsensitiveTransform");
|
|
29518
|
-
const xmlns =
|
|
29623
|
+
const xmlns = create3({
|
|
29519
29624
|
space: "xmlns",
|
|
29520
29625
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
29521
29626
|
transform: caseInsensitiveTransform,
|
|
29522
29627
|
properties: { xmlns: null, xmlnsXLink: null }
|
|
29523
29628
|
});
|
|
29524
|
-
const aria =
|
|
29629
|
+
const aria = create3({
|
|
29525
29630
|
transform(_2, prop) {
|
|
29526
29631
|
return prop === "role" ? prop : "aria-" + prop.slice(4).toLowerCase();
|
|
29527
29632
|
},
|
|
@@ -29577,7 +29682,7 @@ const aria = create4({
|
|
|
29577
29682
|
role: null
|
|
29578
29683
|
}
|
|
29579
29684
|
});
|
|
29580
|
-
const html$1 =
|
|
29685
|
+
const html$1 = create3({
|
|
29581
29686
|
space: "html",
|
|
29582
29687
|
attributes: {
|
|
29583
29688
|
acceptcharset: "accept-charset",
|
|
@@ -29937,7 +30042,7 @@ const html$1 = create4({
|
|
|
29937
30042
|
unselectable: null
|
|
29938
30043
|
}
|
|
29939
30044
|
});
|
|
29940
|
-
const svg$1 =
|
|
30045
|
+
const svg$1 = create3({
|
|
29941
30046
|
space: "svg",
|
|
29942
30047
|
attributes: {
|
|
29943
30048
|
accentHeight: "accent-height",
|
|
@@ -30714,7 +30819,7 @@ function stringify$3(values2) {
|
|
|
30714
30819
|
}
|
|
30715
30820
|
__name(stringify$3, "stringify$3");
|
|
30716
30821
|
function stringify$2(values2, options) {
|
|
30717
|
-
const settings = {};
|
|
30822
|
+
const settings = options || {};
|
|
30718
30823
|
const input = values2[values2.length - 1] === "" ? [...values2, ""] : values2;
|
|
30719
30824
|
return input.join(
|
|
30720
30825
|
(settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")
|
|
@@ -31135,7 +31240,7 @@ function ReactMarkdown(options) {
|
|
|
31135
31240
|
delete deprecated[key];
|
|
31136
31241
|
}
|
|
31137
31242
|
}
|
|
31138
|
-
const processor = unified().use(remarkParse).use(options.remarkPlugins || []).use(remarkRehype, __spreadProps(__spreadValues({}, options.remarkRehypeOptions), {
|
|
31243
|
+
const processor = unified().use(remarkParse).use(options.remarkPlugins || []).use(remarkRehype$1, __spreadProps(__spreadValues({}, options.remarkRehypeOptions), {
|
|
31139
31244
|
allowDangerousHtml: true
|
|
31140
31245
|
})).use(options.rehypePlugins || []).use(rehypeFilter, options);
|
|
31141
31246
|
const file = new VFile();
|
|
@@ -36291,84 +36396,80 @@ const symbols = {
|
|
|
36291
36396
|
down: "↓"
|
|
36292
36397
|
};
|
|
36293
36398
|
symbols.mod = symbols[isMac ? "meta" : "ctrl"];
|
|
36294
|
-
const
|
|
36295
|
-
|
|
36296
|
-
|
|
36297
|
-
|
|
36298
|
-
|
|
36299
|
-
|
|
36300
|
-
|
|
36301
|
-
|
|
36302
|
-
|
|
36303
|
-
|
|
36304
|
-
|
|
36305
|
-
|
|
36306
|
-
|
|
36307
|
-
|
|
36308
|
-
|
|
36309
|
-
|
|
36310
|
-
|
|
36311
|
-
|
|
36312
|
-
|
|
36313
|
-
|
|
36314
|
-
|
|
36315
|
-
|
|
36316
|
-
|
|
36317
|
-
|
|
36318
|
-
|
|
36319
|
-
|
|
36320
|
-
|
|
36321
|
-
|
|
36322
|
-
|
|
36323
|
-
|
|
36324
|
-
|
|
36325
|
-
|
|
36326
|
-
|
|
36327
|
-
|
|
36328
|
-
|
|
36329
|
-
|
|
36330
|
-
|
|
36331
|
-
|
|
36332
|
-
|
|
36333
|
-
|
|
36334
|
-
|
|
36335
|
-
|
|
36336
|
-
|
|
36337
|
-
|
|
36338
|
-
|
|
36339
|
-
|
|
36340
|
-
|
|
36341
|
-
|
|
36342
|
-
|
|
36343
|
-
|
|
36344
|
-
|
|
36345
|
-
|
|
36346
|
-
|
|
36347
|
-
|
|
36348
|
-
|
|
36349
|
-
}
|
|
36350
|
-
toReturn = /* @__PURE__ */ React__default.createElement(Tooltip, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
36351
|
-
}
|
|
36352
|
-
const El = isInline ? "span" : "div";
|
|
36353
|
-
return /* @__PURE__ */ React__default.createElement(
|
|
36354
|
-
El,
|
|
36355
|
-
{
|
|
36356
|
-
style: __spreadValues(__spreadValues(__spreadValues({}, clickable ? { cursor: "pointer" } : {}), isInline ? {} : { display: "flex" }), style),
|
|
36357
|
-
className: classNames(
|
|
36358
|
-
"info-helper-wrapper",
|
|
36359
|
-
{
|
|
36360
|
-
"info-helper-wrapper-noMarginTop": noMarginTop,
|
|
36361
|
-
"info-helper-clickable": isPopover
|
|
36362
|
-
},
|
|
36363
|
-
className
|
|
36364
|
-
)
|
|
36365
|
-
},
|
|
36366
|
-
toReturn
|
|
36367
|
-
);
|
|
36399
|
+
const InfoHelper = /* @__PURE__ */ __name((_c) => {
|
|
36400
|
+
var _d = _c, {
|
|
36401
|
+
className,
|
|
36402
|
+
content: content2,
|
|
36403
|
+
children,
|
|
36404
|
+
icon = "info-sign",
|
|
36405
|
+
isPopover,
|
|
36406
|
+
isButton,
|
|
36407
|
+
size,
|
|
36408
|
+
isInline,
|
|
36409
|
+
clickable,
|
|
36410
|
+
color: color2,
|
|
36411
|
+
noMarginTop,
|
|
36412
|
+
popoverProps = {},
|
|
36413
|
+
disabled,
|
|
36414
|
+
displayToSide,
|
|
36415
|
+
style
|
|
36416
|
+
} = _d, rest = __objRest(_d, [
|
|
36417
|
+
"className",
|
|
36418
|
+
"content",
|
|
36419
|
+
"children",
|
|
36420
|
+
"icon",
|
|
36421
|
+
"isPopover",
|
|
36422
|
+
"isButton",
|
|
36423
|
+
"size",
|
|
36424
|
+
"isInline",
|
|
36425
|
+
"clickable",
|
|
36426
|
+
"color",
|
|
36427
|
+
"noMarginTop",
|
|
36428
|
+
"popoverProps",
|
|
36429
|
+
"disabled",
|
|
36430
|
+
"displayToSide",
|
|
36431
|
+
"style"
|
|
36432
|
+
]);
|
|
36433
|
+
const IconToUse = isButton ? Button : Icon;
|
|
36434
|
+
const iconProps = {
|
|
36435
|
+
icon,
|
|
36436
|
+
color: color2,
|
|
36437
|
+
disabled
|
|
36438
|
+
};
|
|
36439
|
+
if (!isButton)
|
|
36440
|
+
iconProps.iconSize = size;
|
|
36441
|
+
const IconInner = /* @__PURE__ */ React__default.createElement(IconToUse, __spreadValues(__spreadValues({}, iconProps), rest));
|
|
36442
|
+
let toReturn;
|
|
36443
|
+
const toolTipOrPopoverProps = __spreadValues({
|
|
36444
|
+
disabled: disabled || !isPopover && window.Cypress && !window.Cypress.allowInfoHelperTooltips,
|
|
36445
|
+
popoverClassName: "tg-info-helper-popover bp3-tooltip",
|
|
36446
|
+
content: content2 || children,
|
|
36447
|
+
modifiers: popoverOverflowModifiers
|
|
36448
|
+
}, popoverProps);
|
|
36449
|
+
if (displayToSide) {
|
|
36450
|
+
toReturn = /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, IconInner, /* @__PURE__ */ React__default.createElement("span", { style: { paddingLeft: 5, fontStyle: "italic" } }, content2 || children));
|
|
36451
|
+
} else if (isPopover) {
|
|
36452
|
+
toReturn = /* @__PURE__ */ React__default.createElement(Popover, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
36453
|
+
} else {
|
|
36454
|
+
toReturn = /* @__PURE__ */ React__default.createElement(Tooltip, __spreadProps(__spreadValues({}, toolTipOrPopoverProps), { target: IconInner }));
|
|
36368
36455
|
}
|
|
36369
|
-
|
|
36370
|
-
|
|
36371
|
-
|
|
36456
|
+
const El = isInline ? "span" : "div";
|
|
36457
|
+
return /* @__PURE__ */ React__default.createElement(
|
|
36458
|
+
El,
|
|
36459
|
+
{
|
|
36460
|
+
style: __spreadValues(__spreadValues(__spreadValues({}, clickable ? { cursor: "pointer" } : {}), isInline ? {} : { display: "flex" }), style),
|
|
36461
|
+
className: classNames(
|
|
36462
|
+
"info-helper-wrapper",
|
|
36463
|
+
{
|
|
36464
|
+
"info-helper-wrapper-noMarginTop": noMarginTop,
|
|
36465
|
+
"info-helper-clickable": isPopover
|
|
36466
|
+
},
|
|
36467
|
+
className
|
|
36468
|
+
)
|
|
36469
|
+
},
|
|
36470
|
+
toReturn
|
|
36471
|
+
);
|
|
36472
|
+
}, "InfoHelper");
|
|
36372
36473
|
const getIdOrCodeOrIndex = /* @__PURE__ */ __name((record, rowIndex) => {
|
|
36373
36474
|
if (record.id || record.id === 0) {
|
|
36374
36475
|
return record.id;
|
|
@@ -36689,7 +36790,7 @@ var concatty = /* @__PURE__ */ __name(function concatty2(a2, b2) {
|
|
|
36689
36790
|
}, "concatty");
|
|
36690
36791
|
var slicy = /* @__PURE__ */ __name(function slicy2(arrLike, offset3) {
|
|
36691
36792
|
var arr = [];
|
|
36692
|
-
for (var i = offset3, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
36793
|
+
for (var i = offset3 || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
36693
36794
|
arr[j] = arrLike[i];
|
|
36694
36795
|
}
|
|
36695
36796
|
return arr;
|
|
@@ -36734,11 +36835,11 @@ var implementation$1 = /* @__PURE__ */ __name(function bind(that) {
|
|
|
36734
36835
|
}
|
|
36735
36836
|
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
36736
36837
|
if (target.prototype) {
|
|
36737
|
-
var
|
|
36838
|
+
var Empty = /* @__PURE__ */ __name(function Empty2() {
|
|
36738
36839
|
}, "Empty");
|
|
36739
|
-
|
|
36740
|
-
bound.prototype = new
|
|
36741
|
-
|
|
36840
|
+
Empty.prototype = target.prototype;
|
|
36841
|
+
bound.prototype = new Empty();
|
|
36842
|
+
Empty.prototype = null;
|
|
36742
36843
|
}
|
|
36743
36844
|
return bound;
|
|
36744
36845
|
}, "bind");
|
|
@@ -41098,7 +41199,7 @@ var _extends$c = Object.assign || function(target) {
|
|
|
41098
41199
|
return target;
|
|
41099
41200
|
};
|
|
41100
41201
|
var _createClass$8 = /* @__PURE__ */ function() {
|
|
41101
|
-
function
|
|
41202
|
+
function defineProperties2(target, props) {
|
|
41102
41203
|
for (var i = 0; i < props.length; i++) {
|
|
41103
41204
|
var descriptor2 = props[i];
|
|
41104
41205
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41108,12 +41209,12 @@ var _createClass$8 = /* @__PURE__ */ function() {
|
|
|
41108
41209
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41109
41210
|
}
|
|
41110
41211
|
}
|
|
41111
|
-
__name(
|
|
41212
|
+
__name(defineProperties2, "defineProperties");
|
|
41112
41213
|
return function(Constructor, protoProps, staticProps) {
|
|
41113
41214
|
if (protoProps)
|
|
41114
|
-
|
|
41215
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
41115
41216
|
if (staticProps)
|
|
41116
|
-
|
|
41217
|
+
defineProperties2(Constructor, staticProps);
|
|
41117
41218
|
return Constructor;
|
|
41118
41219
|
};
|
|
41119
41220
|
}();
|
|
@@ -41255,7 +41356,7 @@ var Alpha = function(_ref) {
|
|
|
41255
41356
|
return Alpha2;
|
|
41256
41357
|
}(PureComponent || Component);
|
|
41257
41358
|
var _createClass$7 = /* @__PURE__ */ function() {
|
|
41258
|
-
function
|
|
41359
|
+
function defineProperties2(target, props) {
|
|
41259
41360
|
for (var i = 0; i < props.length; i++) {
|
|
41260
41361
|
var descriptor2 = props[i];
|
|
41261
41362
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41265,12 +41366,12 @@ var _createClass$7 = /* @__PURE__ */ function() {
|
|
|
41265
41366
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41266
41367
|
}
|
|
41267
41368
|
}
|
|
41268
|
-
__name(
|
|
41369
|
+
__name(defineProperties2, "defineProperties");
|
|
41269
41370
|
return function(Constructor, protoProps, staticProps) {
|
|
41270
41371
|
if (protoProps)
|
|
41271
|
-
|
|
41372
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
41272
41373
|
if (staticProps)
|
|
41273
|
-
|
|
41374
|
+
defineProperties2(Constructor, staticProps);
|
|
41274
41375
|
return Constructor;
|
|
41275
41376
|
};
|
|
41276
41377
|
}();
|
|
@@ -41503,7 +41604,7 @@ var calculateChange$1 = /* @__PURE__ */ __name(function calculateChange2(e2, dir
|
|
|
41503
41604
|
return null;
|
|
41504
41605
|
}, "calculateChange");
|
|
41505
41606
|
var _createClass$6 = /* @__PURE__ */ function() {
|
|
41506
|
-
function
|
|
41607
|
+
function defineProperties2(target, props) {
|
|
41507
41608
|
for (var i = 0; i < props.length; i++) {
|
|
41508
41609
|
var descriptor2 = props[i];
|
|
41509
41610
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41513,12 +41614,12 @@ var _createClass$6 = /* @__PURE__ */ function() {
|
|
|
41513
41614
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41514
41615
|
}
|
|
41515
41616
|
}
|
|
41516
|
-
__name(
|
|
41617
|
+
__name(defineProperties2, "defineProperties");
|
|
41517
41618
|
return function(Constructor, protoProps, staticProps) {
|
|
41518
41619
|
if (protoProps)
|
|
41519
|
-
|
|
41620
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
41520
41621
|
if (staticProps)
|
|
41521
|
-
|
|
41622
|
+
defineProperties2(Constructor, staticProps);
|
|
41522
41623
|
return Constructor;
|
|
41523
41624
|
};
|
|
41524
41625
|
}();
|
|
@@ -41755,7 +41856,7 @@ var calculateChange3 = /* @__PURE__ */ __name(function calculateChange4(e2, hsl,
|
|
|
41755
41856
|
};
|
|
41756
41857
|
}, "calculateChange");
|
|
41757
41858
|
var _createClass$5 = /* @__PURE__ */ function() {
|
|
41758
|
-
function
|
|
41859
|
+
function defineProperties2(target, props) {
|
|
41759
41860
|
for (var i = 0; i < props.length; i++) {
|
|
41760
41861
|
var descriptor2 = props[i];
|
|
41761
41862
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41765,12 +41866,12 @@ var _createClass$5 = /* @__PURE__ */ function() {
|
|
|
41765
41866
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41766
41867
|
}
|
|
41767
41868
|
}
|
|
41768
|
-
__name(
|
|
41869
|
+
__name(defineProperties2, "defineProperties");
|
|
41769
41870
|
return function(Constructor, protoProps, staticProps) {
|
|
41770
41871
|
if (protoProps)
|
|
41771
|
-
|
|
41872
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
41772
41873
|
if (staticProps)
|
|
41773
|
-
|
|
41874
|
+
defineProperties2(Constructor, staticProps);
|
|
41774
41875
|
return Constructor;
|
|
41775
41876
|
};
|
|
41776
41877
|
}();
|
|
@@ -43008,7 +43109,7 @@ var _extends$b = Object.assign || function(target) {
|
|
|
43008
43109
|
return target;
|
|
43009
43110
|
};
|
|
43010
43111
|
var _createClass$4 = /* @__PURE__ */ function() {
|
|
43011
|
-
function
|
|
43112
|
+
function defineProperties2(target, props) {
|
|
43012
43113
|
for (var i = 0; i < props.length; i++) {
|
|
43013
43114
|
var descriptor2 = props[i];
|
|
43014
43115
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43018,12 +43119,12 @@ var _createClass$4 = /* @__PURE__ */ function() {
|
|
|
43018
43119
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43019
43120
|
}
|
|
43020
43121
|
}
|
|
43021
|
-
__name(
|
|
43122
|
+
__name(defineProperties2, "defineProperties");
|
|
43022
43123
|
return function(Constructor, protoProps, staticProps) {
|
|
43023
43124
|
if (protoProps)
|
|
43024
|
-
|
|
43125
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
43025
43126
|
if (staticProps)
|
|
43026
|
-
|
|
43127
|
+
defineProperties2(Constructor, staticProps);
|
|
43027
43128
|
return Constructor;
|
|
43028
43129
|
};
|
|
43029
43130
|
}();
|
|
@@ -43120,7 +43221,7 @@ var _extends$a = Object.assign || function(target) {
|
|
|
43120
43221
|
return target;
|
|
43121
43222
|
};
|
|
43122
43223
|
var _createClass$3 = /* @__PURE__ */ function() {
|
|
43123
|
-
function
|
|
43224
|
+
function defineProperties2(target, props) {
|
|
43124
43225
|
for (var i = 0; i < props.length; i++) {
|
|
43125
43226
|
var descriptor2 = props[i];
|
|
43126
43227
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43130,12 +43231,12 @@ var _createClass$3 = /* @__PURE__ */ function() {
|
|
|
43130
43231
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43131
43232
|
}
|
|
43132
43233
|
}
|
|
43133
|
-
__name(
|
|
43234
|
+
__name(defineProperties2, "defineProperties");
|
|
43134
43235
|
return function(Constructor, protoProps, staticProps) {
|
|
43135
43236
|
if (protoProps)
|
|
43136
|
-
|
|
43237
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
43137
43238
|
if (staticProps)
|
|
43138
|
-
|
|
43239
|
+
defineProperties2(Constructor, staticProps);
|
|
43139
43240
|
return Constructor;
|
|
43140
43241
|
};
|
|
43141
43242
|
}();
|
|
@@ -43616,7 +43717,7 @@ var _default$3 = UnfoldMoreHorizontalIcon.default = function(_ref) {
|
|
|
43616
43717
|
);
|
|
43617
43718
|
};
|
|
43618
43719
|
var _createClass$2 = /* @__PURE__ */ function() {
|
|
43619
|
-
function
|
|
43720
|
+
function defineProperties2(target, props) {
|
|
43620
43721
|
for (var i = 0; i < props.length; i++) {
|
|
43621
43722
|
var descriptor2 = props[i];
|
|
43622
43723
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43626,12 +43727,12 @@ var _createClass$2 = /* @__PURE__ */ function() {
|
|
|
43626
43727
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43627
43728
|
}
|
|
43628
43729
|
}
|
|
43629
|
-
__name(
|
|
43730
|
+
__name(defineProperties2, "defineProperties");
|
|
43630
43731
|
return function(Constructor, protoProps, staticProps) {
|
|
43631
43732
|
if (protoProps)
|
|
43632
|
-
|
|
43733
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
43633
43734
|
if (staticProps)
|
|
43634
|
-
|
|
43735
|
+
defineProperties2(Constructor, staticProps);
|
|
43635
43736
|
return Constructor;
|
|
43636
43737
|
};
|
|
43637
43738
|
}();
|
|
@@ -45041,7 +45142,7 @@ var PhotoshopPreviews = /* @__PURE__ */ __name(function PhotoshopPreviews2(_ref)
|
|
|
45041
45142
|
);
|
|
45042
45143
|
}, "PhotoshopPreviews");
|
|
45043
45144
|
var _createClass$1 = /* @__PURE__ */ function() {
|
|
45044
|
-
function
|
|
45145
|
+
function defineProperties2(target, props) {
|
|
45045
45146
|
for (var i = 0; i < props.length; i++) {
|
|
45046
45147
|
var descriptor2 = props[i];
|
|
45047
45148
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -45051,12 +45152,12 @@ var _createClass$1 = /* @__PURE__ */ function() {
|
|
|
45051
45152
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
45052
45153
|
}
|
|
45053
45154
|
}
|
|
45054
|
-
__name(
|
|
45155
|
+
__name(defineProperties2, "defineProperties");
|
|
45055
45156
|
return function(Constructor, protoProps, staticProps) {
|
|
45056
45157
|
if (protoProps)
|
|
45057
|
-
|
|
45158
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
45058
45159
|
if (staticProps)
|
|
45059
|
-
|
|
45160
|
+
defineProperties2(Constructor, staticProps);
|
|
45060
45161
|
return Constructor;
|
|
45061
45162
|
};
|
|
45062
45163
|
}();
|
|
@@ -47361,19 +47462,19 @@ function dequal(foo, bar) {
|
|
|
47361
47462
|
}
|
|
47362
47463
|
__name(dequal, "dequal");
|
|
47363
47464
|
function useDeepCompareMemoize(value) {
|
|
47364
|
-
var ref2 = React$
|
|
47365
|
-
var signalRef = React$
|
|
47465
|
+
var ref2 = React$2.useRef(value);
|
|
47466
|
+
var signalRef = React$2.useRef(0);
|
|
47366
47467
|
if (!dequal(value, ref2.current)) {
|
|
47367
47468
|
ref2.current = value;
|
|
47368
47469
|
signalRef.current += 1;
|
|
47369
47470
|
}
|
|
47370
|
-
return React$
|
|
47471
|
+
return React$2.useMemo(function() {
|
|
47371
47472
|
return ref2.current;
|
|
47372
47473
|
}, [signalRef.current]);
|
|
47373
47474
|
}
|
|
47374
47475
|
__name(useDeepCompareMemoize, "useDeepCompareMemoize");
|
|
47375
47476
|
function useDeepCompareEffect(callback, dependencies) {
|
|
47376
|
-
return React$
|
|
47477
|
+
return React$2.useEffect(callback, useDeepCompareMemoize(dependencies));
|
|
47377
47478
|
}
|
|
47378
47479
|
__name(useDeepCompareEffect, "useDeepCompareEffect");
|
|
47379
47480
|
const _TgSuggest = class _TgSuggest extends React__default.Component {
|
|
@@ -48248,8 +48349,8 @@ const renderSuggest = /* @__PURE__ */ __name((props) => {
|
|
|
48248
48349
|
});
|
|
48249
48350
|
return /* @__PURE__ */ React__default.createElement(TgSuggest, __spreadValues({}, propsToUse));
|
|
48250
48351
|
}, "renderSuggest");
|
|
48251
|
-
const BPSelect = /* @__PURE__ */ __name((
|
|
48252
|
-
var
|
|
48352
|
+
const BPSelect = /* @__PURE__ */ __name((_e) => {
|
|
48353
|
+
var _f = _e, { value, onChange } = _f, rest = __objRest(_f, ["value", "onChange"]);
|
|
48253
48354
|
return renderSelect(__spreadProps(__spreadValues({}, rest), { input: { onChange, value } }));
|
|
48254
48355
|
}, "BPSelect");
|
|
48255
48356
|
const renderSelect = /* @__PURE__ */ __name((props) => {
|
|
@@ -48384,12 +48485,12 @@ const renderBlueprintNumericInput = /* @__PURE__ */ __name((props) => {
|
|
|
48384
48485
|
})
|
|
48385
48486
|
);
|
|
48386
48487
|
}, "renderBlueprintNumericInput");
|
|
48387
|
-
const renderBlueprintRadioGroup = /* @__PURE__ */ __name((
|
|
48388
|
-
var
|
|
48488
|
+
const renderBlueprintRadioGroup = /* @__PURE__ */ __name((_g) => {
|
|
48489
|
+
var _h = _g, {
|
|
48389
48490
|
input,
|
|
48390
48491
|
options,
|
|
48391
48492
|
onFieldSubmit
|
|
48392
|
-
} =
|
|
48493
|
+
} = _h, rest = __objRest(_h, [
|
|
48393
48494
|
"input",
|
|
48394
48495
|
"options",
|
|
48395
48496
|
"onFieldSubmit"
|
|
@@ -49120,7 +49221,7 @@ function createLocation(path2, state, key, currentLocation) {
|
|
|
49120
49221
|
} else {
|
|
49121
49222
|
location2.hash = "";
|
|
49122
49223
|
}
|
|
49123
|
-
if (location2.state === void 0)
|
|
49224
|
+
if (state !== void 0 && location2.state === void 0)
|
|
49124
49225
|
location2.state = state;
|
|
49125
49226
|
}
|
|
49126
49227
|
try {
|
|
@@ -49132,6 +49233,8 @@ function createLocation(path2, state, key, currentLocation) {
|
|
|
49132
49233
|
throw e2;
|
|
49133
49234
|
}
|
|
49134
49235
|
}
|
|
49236
|
+
if (key)
|
|
49237
|
+
location2.key = key;
|
|
49135
49238
|
if (currentLocation) {
|
|
49136
49239
|
if (!location2.pathname) {
|
|
49137
49240
|
location2.pathname = currentLocation.pathname;
|
|
@@ -49253,6 +49356,7 @@ Link.contextTypes = {
|
|
|
49253
49356
|
}).isRequired
|
|
49254
49357
|
}).isRequired
|
|
49255
49358
|
};
|
|
49359
|
+
const Link$1 = Link;
|
|
49256
49360
|
var pathToRegexp$2 = { exports: {} };
|
|
49257
49361
|
var isarray$1 = Array.isArray || function(arr) {
|
|
49258
49362
|
return Object.prototype.toString.call(arr) == "[object Array]";
|
|
@@ -49699,6 +49803,7 @@ Route.contextTypes = {
|
|
|
49699
49803
|
Route.childContextTypes = {
|
|
49700
49804
|
router: PropTypes$1.object.isRequired
|
|
49701
49805
|
};
|
|
49806
|
+
const Route$1 = Route;
|
|
49702
49807
|
function _classCallCheck$1(instance, Constructor) {
|
|
49703
49808
|
if (!(instance instanceof Constructor)) {
|
|
49704
49809
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -49774,6 +49879,7 @@ Prompt.contextTypes = {
|
|
|
49774
49879
|
}).isRequired
|
|
49775
49880
|
}).isRequired
|
|
49776
49881
|
};
|
|
49882
|
+
const Prompt$1 = Prompt;
|
|
49777
49883
|
var REACT_STATICS = {
|
|
49778
49884
|
childContextTypes: true,
|
|
49779
49885
|
contextTypes: true,
|
|
@@ -49794,7 +49900,7 @@ var KNOWN_STATICS = {
|
|
|
49794
49900
|
arguments: true,
|
|
49795
49901
|
arity: true
|
|
49796
49902
|
};
|
|
49797
|
-
var
|
|
49903
|
+
var defineProperty4 = Object.defineProperty;
|
|
49798
49904
|
var getOwnPropertyNames4 = Object.getOwnPropertyNames;
|
|
49799
49905
|
var getOwnPropertySymbols3 = Object.getOwnPropertySymbols;
|
|
49800
49906
|
var getOwnPropertyDescriptor3 = Object.getOwnPropertyDescriptor;
|
|
@@ -49817,7 +49923,7 @@ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
|
49817
49923
|
if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {
|
|
49818
49924
|
var descriptor2 = getOwnPropertyDescriptor3(sourceComponent, key);
|
|
49819
49925
|
try {
|
|
49820
|
-
|
|
49926
|
+
defineProperty4(targetComponent, key, descriptor2);
|
|
49821
49927
|
} catch (e2) {
|
|
49822
49928
|
}
|
|
49823
49929
|
}
|
|
@@ -49855,7 +49961,7 @@ __name(_objectWithoutProperties$1, "_objectWithoutProperties$1");
|
|
|
49855
49961
|
var withRouter = /* @__PURE__ */ __name(function withRouter2(Component2) {
|
|
49856
49962
|
var C = /* @__PURE__ */ __name(function C2(props) {
|
|
49857
49963
|
var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutProperties$1(props, ["wrappedComponentRef"]);
|
|
49858
|
-
return React__default.createElement(Route, {
|
|
49964
|
+
return React__default.createElement(Route$1, {
|
|
49859
49965
|
children: /* @__PURE__ */ __name(function children(routeComponentProps) {
|
|
49860
49966
|
return React__default.createElement(Component2, _extends({}, remainingProps, routeComponentProps, {
|
|
49861
49967
|
ref: wrappedComponentRef
|
|
@@ -49870,6 +49976,7 @@ var withRouter = /* @__PURE__ */ __name(function withRouter2(Component2) {
|
|
|
49870
49976
|
};
|
|
49871
49977
|
return hoistStatics(C, Component2);
|
|
49872
49978
|
}, "withRouter");
|
|
49979
|
+
const withRouter$1 = withRouter;
|
|
49873
49980
|
const isEq = /* @__PURE__ */ __name((o1, o2) => {
|
|
49874
49981
|
const isEq2 = isEqualWith(o1, o2, function(val1, val2) {
|
|
49875
49982
|
if (isFunction$4(val1) && isFunction$4(val2)) {
|
|
@@ -50180,7 +50287,7 @@ function withTableParams(compOrOpts, pTopLevelOpts) {
|
|
|
50180
50287
|
}),
|
|
50181
50288
|
branch((props) => {
|
|
50182
50289
|
return !props.noRouter;
|
|
50183
|
-
}, withRouter),
|
|
50290
|
+
}, withRouter$1),
|
|
50184
50291
|
connect(mapStateToProps, mapDispatchToProps, mergeProps),
|
|
50185
50292
|
pure,
|
|
50186
50293
|
addFormTracking
|
|
@@ -51098,7 +51205,7 @@ const _DataTable = class _DataTable extends React__default.Component {
|
|
|
51098
51205
|
const { schema } = this.props;
|
|
51099
51206
|
const editableFields = schema.fields.filter((f2) => !f2.isNotEditable);
|
|
51100
51207
|
const validationErrors = {};
|
|
51101
|
-
const newEnts =
|
|
51208
|
+
const newEnts = immer(entities, (entities2) => {
|
|
51102
51209
|
entities2.forEach((e2, index2) => {
|
|
51103
51210
|
editableFields.forEach((columnSchema) => {
|
|
51104
51211
|
if (useDefaultValues) {
|
|
@@ -51714,8 +51821,8 @@ const _DataTable = class _DataTable extends React__default.Component {
|
|
|
51714
51821
|
};
|
|
51715
51822
|
}),
|
|
51716
51823
|
branch(({ immovable }) => "true" !== immovable, sortableElement)
|
|
51717
|
-
)((
|
|
51718
|
-
var
|
|
51824
|
+
)((_i) => {
|
|
51825
|
+
var _j = _i, { toggleSort, className, children } = _j, rest = __objRest(_j, ["toggleSort", "className", "children"]);
|
|
51719
51826
|
return /* @__PURE__ */ React__default.createElement(
|
|
51720
51827
|
"div",
|
|
51721
51828
|
__spreadValues({
|
|
@@ -53974,13 +54081,13 @@ function getCellInfo({
|
|
|
53974
54081
|
};
|
|
53975
54082
|
}
|
|
53976
54083
|
__name(getCellInfo, "getCellInfo");
|
|
53977
|
-
function ColumnFilterMenu(
|
|
53978
|
-
var
|
|
54084
|
+
function ColumnFilterMenu(_k) {
|
|
54085
|
+
var _l = _k, {
|
|
53979
54086
|
FilterMenu,
|
|
53980
54087
|
filterActiveForColumn,
|
|
53981
54088
|
compact: compact3,
|
|
53982
54089
|
extraCompact
|
|
53983
|
-
} =
|
|
54090
|
+
} = _l, rest = __objRest(_l, [
|
|
53984
54091
|
"FilterMenu",
|
|
53985
54092
|
"filterActiveForColumn",
|
|
53986
54093
|
"compact",
|
|
@@ -54666,7 +54773,7 @@ function MatchHeaders({
|
|
|
54666
54773
|
}),
|
|
54667
54774
|
onChange: (val) => {
|
|
54668
54775
|
setFilesWIssues(
|
|
54669
|
-
|
|
54776
|
+
immer(filesWIssues, (files) => {
|
|
54670
54777
|
files.forEach((f2, i2) => {
|
|
54671
54778
|
const isCurrentFile = fileIndex === i2;
|
|
54672
54779
|
if (isCurrentFile || doAllFilesHaveSameHeaders) {
|
|
@@ -56626,7 +56733,7 @@ const UploadCsvWizardDialogInner = compose(
|
|
|
56626
56733
|
}, hasSubmitted && {
|
|
56627
56734
|
onBackClick: onBackClick || (() => {
|
|
56628
56735
|
setSteps(
|
|
56629
|
-
|
|
56736
|
+
immer(steps, (draft) => {
|
|
56630
56737
|
draft[0].active = true;
|
|
56631
56738
|
draft[0].completed = false;
|
|
56632
56739
|
draft[1].active = false;
|
|
@@ -56639,7 +56746,7 @@ const UploadCsvWizardDialogInner = compose(
|
|
|
56639
56746
|
return __async(this, null, function* () {
|
|
56640
56747
|
if (!hasSubmitted) {
|
|
56641
56748
|
setSteps(
|
|
56642
|
-
|
|
56749
|
+
immer(steps, (draft) => {
|
|
56643
56750
|
draft[0].active = false;
|
|
56644
56751
|
draft[0].completed = true;
|
|
56645
56752
|
draft[1].active = true;
|
|
@@ -56851,8 +56958,8 @@ function maybeStripIdFromEntities(ents, validateAgainstSchema) {
|
|
|
56851
56958
|
return toRet == null ? void 0 : toRet.map((e2) => omit$1(e2, ["_isClean"]));
|
|
56852
56959
|
}
|
|
56853
56960
|
__name(maybeStripIdFromEntities, "maybeStripIdFromEntities");
|
|
56854
|
-
const useDialog = /* @__PURE__ */ __name((
|
|
56855
|
-
var
|
|
56961
|
+
const useDialog = /* @__PURE__ */ __name((_m) => {
|
|
56962
|
+
var _n = _m, { ModalComponent } = _n, rest = __objRest(_n, ["ModalComponent"]);
|
|
56856
56963
|
const [isOpen, setOpen] = useState(false);
|
|
56857
56964
|
const [additionalProps, setAdditionalProps] = useState(false);
|
|
56858
56965
|
const comp = /* @__PURE__ */ React__default.createElement(
|
|
@@ -59491,8 +59598,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
59491
59598
|
var q2 = false;
|
|
59492
59599
|
function J(e3, t3, r3, n3) {
|
|
59493
59600
|
P2(e3, (s2 << 1) + (n3 ? 1 : 0), 3), function(e4, t4, r4, n4) {
|
|
59494
|
-
M2(e4), U2(e4, r4), U2(e4, ~r4), i.arraySet(e4.pending_buf, e4.window, t4, r4, e4.pending), e4.pending += r4;
|
|
59495
|
-
}(e3, t3, r3);
|
|
59601
|
+
M2(e4), n4 && (U2(e4, r4), U2(e4, ~r4)), i.arraySet(e4.pending_buf, e4.window, t4, r4, e4.pending), e4.pending += r4;
|
|
59602
|
+
}(e3, t3, r3, true);
|
|
59496
59603
|
}
|
|
59497
59604
|
__name(J, "J");
|
|
59498
59605
|
r2._tr_init = function(e3) {
|
|
@@ -65394,7 +65501,7 @@ function _createForOfIteratorHelperLoose$4(o2, allowArrayLike) {
|
|
|
65394
65501
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
65395
65502
|
if (it)
|
|
65396
65503
|
return (it = it.call(o2)).next.bind(it);
|
|
65397
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike) {
|
|
65504
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$6(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
65398
65505
|
if (it)
|
|
65399
65506
|
o2 = it;
|
|
65400
65507
|
var i = 0;
|
|
@@ -65747,7 +65854,7 @@ function _createForOfIteratorHelperLoose$3(o2, allowArrayLike) {
|
|
|
65747
65854
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
65748
65855
|
if (it)
|
|
65749
65856
|
return (it = it.call(o2)).next.bind(it);
|
|
65750
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike) {
|
|
65857
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$4(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
65751
65858
|
if (it)
|
|
65752
65859
|
o2 = it;
|
|
65753
65860
|
var i = 0;
|
|
@@ -66043,7 +66150,7 @@ function _createForOfIteratorHelperLoose$2(o2, allowArrayLike) {
|
|
|
66043
66150
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
66044
66151
|
if (it)
|
|
66045
66152
|
return (it = it.call(o2)).next.bind(it);
|
|
66046
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike) {
|
|
66153
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$3(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
66047
66154
|
if (it)
|
|
66048
66155
|
o2 = it;
|
|
66049
66156
|
var i = 0;
|
|
@@ -66129,7 +66236,7 @@ function _createForOfIteratorHelperLoose$1(o2, allowArrayLike) {
|
|
|
66129
66236
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
66130
66237
|
if (it)
|
|
66131
66238
|
return (it = it.call(o2)).next.bind(it);
|
|
66132
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike) {
|
|
66239
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$2(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
66133
66240
|
if (it)
|
|
66134
66241
|
o2 = it;
|
|
66135
66242
|
var i = 0;
|
|
@@ -66230,7 +66337,7 @@ function _createForOfIteratorHelperLoose(o2, allowArrayLike) {
|
|
|
66230
66337
|
var it = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
66231
66338
|
if (it)
|
|
66232
66339
|
return (it = it.call(o2)).next.bind(it);
|
|
66233
|
-
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike) {
|
|
66340
|
+
if (Array.isArray(o2) || (it = _unsupportedIterableToArray$1(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
66234
66341
|
if (it)
|
|
66235
66342
|
o2 = it;
|
|
66236
66343
|
var i = 0;
|
|
@@ -66867,7 +66974,7 @@ function UploaderInner({
|
|
|
66867
66974
|
) : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, "Accepts ", simpleAccept)
|
|
66868
66975
|
),
|
|
66869
66976
|
/* @__PURE__ */ React__default.createElement(
|
|
66870
|
-
Dropzone,
|
|
66977
|
+
Dropzone$1,
|
|
66871
66978
|
__spreadValues(__spreadValues({
|
|
66872
66979
|
disabled: dropzoneDisabled,
|
|
66873
66980
|
onClick: (evt) => evt.preventDefault(),
|
|
@@ -67381,68 +67488,55 @@ function BounceLoader({ style, className }) {
|
|
|
67381
67488
|
);
|
|
67382
67489
|
}
|
|
67383
67490
|
__name(BounceLoader, "BounceLoader");
|
|
67384
|
-
const
|
|
67385
|
-
|
|
67386
|
-
|
|
67387
|
-
|
|
67388
|
-
|
|
67389
|
-
|
|
67390
|
-
|
|
67391
|
-
|
|
67392
|
-
|
|
67393
|
-
|
|
67394
|
-
|
|
67395
|
-
|
|
67491
|
+
const Loading = /* @__PURE__ */ __name(({
|
|
67492
|
+
loading,
|
|
67493
|
+
style: userStyle,
|
|
67494
|
+
className,
|
|
67495
|
+
containerStyle = {},
|
|
67496
|
+
children,
|
|
67497
|
+
displayInstantly = false,
|
|
67498
|
+
bounce = false,
|
|
67499
|
+
withTimeout,
|
|
67500
|
+
inDialog,
|
|
67501
|
+
centeredInPage
|
|
67502
|
+
}) => {
|
|
67503
|
+
const [longerThan200MS, setLongerThan200MS] = useState(false);
|
|
67504
|
+
useEffect(() => {
|
|
67505
|
+
const timeoutId = setTimeout(() => {
|
|
67506
|
+
setLongerThan200MS(true);
|
|
67396
67507
|
}, 200);
|
|
67397
|
-
|
|
67398
|
-
|
|
67399
|
-
|
|
67400
|
-
}
|
|
67401
|
-
|
|
67402
|
-
|
|
67403
|
-
|
|
67404
|
-
|
|
67405
|
-
|
|
67406
|
-
containerStyle = {},
|
|
67407
|
-
children,
|
|
67408
|
-
displayInstantly = false,
|
|
67409
|
-
bounce = false,
|
|
67410
|
-
withTimeout,
|
|
67411
|
-
inDialog,
|
|
67412
|
-
centeredInPage
|
|
67413
|
-
} = this.props;
|
|
67414
|
-
const { longerThan200MS } = this.state;
|
|
67415
|
-
const style = __spreadValues(__spreadValues({}, userStyle), inDialog && { minHeight: 120 });
|
|
67416
|
-
const LoaderComp = bounce || inDialog ? BounceLoader : DNALoader;
|
|
67417
|
-
if (loading || !children) {
|
|
67418
|
-
if (!displayInstantly && !longerThan200MS && (!bounce && !inDialog || withTimeout)) {
|
|
67419
|
-
return /* @__PURE__ */ React__default.createElement("div", null);
|
|
67420
|
-
}
|
|
67421
|
-
return /* @__PURE__ */ React__default.createElement(
|
|
67422
|
-
"div",
|
|
67423
|
-
{
|
|
67424
|
-
className: "tg-loader-container tg-flex justify-center align-center",
|
|
67425
|
-
style: __spreadValues(__spreadValues({
|
|
67426
|
-
width: "100%"
|
|
67427
|
-
}, containerStyle), centeredInPage && {
|
|
67428
|
-
width: void 0,
|
|
67429
|
-
zIndex: 20,
|
|
67430
|
-
height: 10,
|
|
67431
|
-
position: "fixed",
|
|
67432
|
-
top: "50%",
|
|
67433
|
-
left: "50%",
|
|
67434
|
-
transform: "translate(-50%, 0)"
|
|
67435
|
-
})
|
|
67436
|
-
},
|
|
67437
|
-
/* @__PURE__ */ React__default.createElement(LoaderComp, { style, className })
|
|
67438
|
-
);
|
|
67439
|
-
} else {
|
|
67440
|
-
return children || null;
|
|
67508
|
+
return () => {
|
|
67509
|
+
clearTimeout(timeoutId);
|
|
67510
|
+
};
|
|
67511
|
+
}, []);
|
|
67512
|
+
const style = __spreadValues(__spreadValues({}, userStyle), inDialog && { minHeight: 120 });
|
|
67513
|
+
const LoaderComp = bounce || inDialog ? BounceLoader : DNALoader;
|
|
67514
|
+
if (loading || !children) {
|
|
67515
|
+
if (!displayInstantly && !longerThan200MS && (!bounce && !inDialog || withTimeout)) {
|
|
67516
|
+
return /* @__PURE__ */ React__default.createElement("div", null);
|
|
67441
67517
|
}
|
|
67518
|
+
return /* @__PURE__ */ React__default.createElement(
|
|
67519
|
+
"div",
|
|
67520
|
+
{
|
|
67521
|
+
className: "tg-loader-container tg-flex justify-center align-center",
|
|
67522
|
+
style: __spreadValues(__spreadValues({
|
|
67523
|
+
width: "100%"
|
|
67524
|
+
}, containerStyle), centeredInPage && {
|
|
67525
|
+
width: void 0,
|
|
67526
|
+
zIndex: 20,
|
|
67527
|
+
height: 10,
|
|
67528
|
+
position: "fixed",
|
|
67529
|
+
top: "50%",
|
|
67530
|
+
left: "50%",
|
|
67531
|
+
transform: "translate(-50%, 0)"
|
|
67532
|
+
})
|
|
67533
|
+
},
|
|
67534
|
+
/* @__PURE__ */ React__default.createElement(LoaderComp, { style, className })
|
|
67535
|
+
);
|
|
67536
|
+
} else {
|
|
67537
|
+
return children || null;
|
|
67442
67538
|
}
|
|
67443
|
-
};
|
|
67444
|
-
__name(_Loading, "Loading");
|
|
67445
|
-
let Loading = _Loading;
|
|
67539
|
+
}, "Loading");
|
|
67446
67540
|
function AdvancedOptions({
|
|
67447
67541
|
children,
|
|
67448
67542
|
content: content2,
|
|
@@ -67496,7 +67590,7 @@ function PromptUnsavedChanges({
|
|
|
67496
67590
|
if (window.Cypress) {
|
|
67497
67591
|
return null;
|
|
67498
67592
|
}
|
|
67499
|
-
return /* @__PURE__ */ React__default.createElement(Prompt, { when, message });
|
|
67593
|
+
return /* @__PURE__ */ React__default.createElement(Prompt$1, { when, message });
|
|
67500
67594
|
}
|
|
67501
67595
|
__name(PromptUnsavedChanges, "PromptUnsavedChanges");
|
|
67502
67596
|
function BlueprintError({ error }) {
|
|
@@ -67505,14 +67599,14 @@ function BlueprintError({ error }) {
|
|
|
67505
67599
|
return /* @__PURE__ */ React__default.createElement("div", { className: classNames(Classes.FORM_GROUP, Classes.INTENT_DANGER) }, /* @__PURE__ */ React__default.createElement("div", { className: classNames(Classes.FORM_HELPER_TEXT, "preserve-newline") }, error));
|
|
67506
67600
|
}
|
|
67507
67601
|
__name(BlueprintError, "BlueprintError");
|
|
67508
|
-
function DropdownButton(
|
|
67509
|
-
var
|
|
67602
|
+
function DropdownButton(_o) {
|
|
67603
|
+
var _p = _o, {
|
|
67510
67604
|
disabled,
|
|
67511
67605
|
menu,
|
|
67512
67606
|
noRightIcon,
|
|
67513
67607
|
popoverProps,
|
|
67514
67608
|
className
|
|
67515
|
-
} =
|
|
67609
|
+
} = _p, rest = __objRest(_p, [
|
|
67516
67610
|
"disabled",
|
|
67517
67611
|
"menu",
|
|
67518
67612
|
"noRightIcon",
|
|
@@ -67568,84 +67662,65 @@ function showAppSpinner() {
|
|
|
67568
67662
|
);
|
|
67569
67663
|
}
|
|
67570
67664
|
__name(showAppSpinner, "showAppSpinner");
|
|
67571
|
-
|
|
67572
|
-
|
|
67573
|
-
|
|
67574
|
-
|
|
67575
|
-
|
|
67576
|
-
|
|
67577
|
-
|
|
67578
|
-
|
|
67579
|
-
|
|
67580
|
-
|
|
67581
|
-
|
|
67582
|
-
|
|
67583
|
-
|
|
67584
|
-
|
|
67585
|
-
|
|
67586
|
-
|
|
67587
|
-
|
|
67588
|
-
|
|
67589
|
-
|
|
67590
|
-
|
|
67591
|
-
|
|
67592
|
-
|
|
67593
|
-
|
|
67594
|
-
|
|
67595
|
-
|
|
67596
|
-
|
|
67597
|
-
|
|
67598
|
-
|
|
67599
|
-
|
|
67600
|
-
|
|
67601
|
-
|
|
67602
|
-
|
|
67603
|
-
|
|
67604
|
-
|
|
67605
|
-
|
|
67606
|
-
noCard = false,
|
|
67607
|
-
className,
|
|
67608
|
-
style
|
|
67609
|
-
} = this.props;
|
|
67610
|
-
return /* @__PURE__ */ React__default.createElement(
|
|
67611
|
-
"div",
|
|
67665
|
+
function CollapsibleCard({
|
|
67666
|
+
title,
|
|
67667
|
+
icon,
|
|
67668
|
+
openTitleElements,
|
|
67669
|
+
noCard = false,
|
|
67670
|
+
className,
|
|
67671
|
+
style,
|
|
67672
|
+
children,
|
|
67673
|
+
initialClosed = false,
|
|
67674
|
+
toggle,
|
|
67675
|
+
isOpen
|
|
67676
|
+
}) {
|
|
67677
|
+
let [open2, setOpen] = useState(!initialClosed);
|
|
67678
|
+
if (isOpen !== void 0)
|
|
67679
|
+
open2 = isOpen;
|
|
67680
|
+
const toggleCardInfo = /* @__PURE__ */ __name(() => {
|
|
67681
|
+
if (toggle)
|
|
67682
|
+
toggle();
|
|
67683
|
+
else {
|
|
67684
|
+
setOpen(!open2);
|
|
67685
|
+
}
|
|
67686
|
+
}, "toggleCardInfo");
|
|
67687
|
+
return /* @__PURE__ */ React__default.createElement(
|
|
67688
|
+
"div",
|
|
67689
|
+
{
|
|
67690
|
+
className: classNames({ "tg-card": !noCard, open: open2 }, className),
|
|
67691
|
+
style: __spreadValues({
|
|
67692
|
+
paddingTop: 10,
|
|
67693
|
+
paddingBottom: 10,
|
|
67694
|
+
paddingLeft: 15,
|
|
67695
|
+
paddingRight: 15
|
|
67696
|
+
}, style)
|
|
67697
|
+
},
|
|
67698
|
+
/* @__PURE__ */ React__default.createElement("div", { className: "tg-card-header", style: { marginBottom: 8 } }, /* @__PURE__ */ React__default.createElement("div", { className: "tg-card-header-title" }, icon && /* @__PURE__ */ React__default.createElement(Icon, { icon }), /* @__PURE__ */ React__default.createElement(
|
|
67699
|
+
"h6",
|
|
67612
67700
|
{
|
|
67613
|
-
|
|
67614
|
-
|
|
67615
|
-
|
|
67616
|
-
|
|
67617
|
-
paddingLeft: 15,
|
|
67618
|
-
paddingRight: 15
|
|
67619
|
-
}, style)
|
|
67620
|
-
},
|
|
67621
|
-
/* @__PURE__ */ React__default.createElement("div", { className: "tg-card-header", style: { marginBottom: 8 } }, /* @__PURE__ */ React__default.createElement("div", { className: "tg-card-header-title" }, icon && /* @__PURE__ */ React__default.createElement(Icon, { icon }), /* @__PURE__ */ React__default.createElement(
|
|
67622
|
-
"h6",
|
|
67623
|
-
{
|
|
67624
|
-
style: {
|
|
67625
|
-
marginBottom: 0,
|
|
67626
|
-
marginRight: 10,
|
|
67627
|
-
marginLeft: 10
|
|
67628
|
-
}
|
|
67629
|
-
},
|
|
67630
|
-
title
|
|
67631
|
-
), /* @__PURE__ */ React__default.createElement("div", null, open2 && openTitleElements)), /* @__PURE__ */ React__default.createElement("div", null, /* @__PURE__ */ React__default.createElement(
|
|
67632
|
-
Button,
|
|
67633
|
-
{
|
|
67634
|
-
icon: open2 ? "minimize" : "maximize",
|
|
67635
|
-
className: classNames(
|
|
67636
|
-
Classes.MINIMAL,
|
|
67637
|
-
"info-btn",
|
|
67638
|
-
"tg-collapse-toggle"
|
|
67639
|
-
),
|
|
67640
|
-
onClick: this.toggleCardInfo
|
|
67701
|
+
style: {
|
|
67702
|
+
marginBottom: 0,
|
|
67703
|
+
marginRight: 10,
|
|
67704
|
+
marginLeft: 10
|
|
67641
67705
|
}
|
|
67642
|
-
|
|
67643
|
-
|
|
67644
|
-
)
|
|
67645
|
-
|
|
67646
|
-
|
|
67647
|
-
|
|
67648
|
-
|
|
67706
|
+
},
|
|
67707
|
+
title
|
|
67708
|
+
), /* @__PURE__ */ React__default.createElement("div", null, open2 && openTitleElements)), /* @__PURE__ */ React__default.createElement("div", null, /* @__PURE__ */ React__default.createElement(
|
|
67709
|
+
Button,
|
|
67710
|
+
{
|
|
67711
|
+
icon: open2 ? "minimize" : "maximize",
|
|
67712
|
+
className: classNames(
|
|
67713
|
+
Classes.MINIMAL,
|
|
67714
|
+
"info-btn",
|
|
67715
|
+
"tg-collapse-toggle"
|
|
67716
|
+
),
|
|
67717
|
+
onClick: toggleCardInfo
|
|
67718
|
+
}
|
|
67719
|
+
))),
|
|
67720
|
+
open2 && children
|
|
67721
|
+
);
|
|
67722
|
+
}
|
|
67723
|
+
__name(CollapsibleCard, "CollapsibleCard");
|
|
67649
67724
|
var cjs = { exports: {} };
|
|
67650
67725
|
var Draggable$2 = {};
|
|
67651
67726
|
function r(e2) {
|
|
@@ -67804,7 +67879,7 @@ function _getRequireWildcardCache$1(nodeInterop) {
|
|
|
67804
67879
|
}
|
|
67805
67880
|
__name(_getRequireWildcardCache$1, "_getRequireWildcardCache$1");
|
|
67806
67881
|
function _interopRequireWildcard$2(obj, nodeInterop) {
|
|
67807
|
-
if (obj && obj.__esModule) {
|
|
67882
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
67808
67883
|
return obj;
|
|
67809
67884
|
}
|
|
67810
67885
|
if (obj === null || _typeof$1(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -68207,7 +68282,7 @@ Object.defineProperty(DraggableCore$2, "__esModule", {
|
|
|
68207
68282
|
value: true
|
|
68208
68283
|
});
|
|
68209
68284
|
DraggableCore$2.default = void 0;
|
|
68210
|
-
var React = _interopRequireWildcard$1(React__default);
|
|
68285
|
+
var React$1 = _interopRequireWildcard$1(React__default);
|
|
68211
68286
|
var _propTypes = _interopRequireDefault$2(propTypesExports);
|
|
68212
68287
|
var _reactDom$1 = _interopRequireDefault$2(ReactDOM);
|
|
68213
68288
|
var _domFns = domFns;
|
|
@@ -68229,7 +68304,7 @@ function _getRequireWildcardCache(nodeInterop) {
|
|
|
68229
68304
|
}
|
|
68230
68305
|
__name(_getRequireWildcardCache, "_getRequireWildcardCache");
|
|
68231
68306
|
function _interopRequireWildcard$1(obj, nodeInterop) {
|
|
68232
|
-
if (obj && obj.__esModule) {
|
|
68307
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
68233
68308
|
return obj;
|
|
68234
68309
|
}
|
|
68235
68310
|
if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -68343,6 +68418,8 @@ __name(_defineProperties, "_defineProperties");
|
|
|
68343
68418
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
68344
68419
|
if (protoProps)
|
|
68345
68420
|
_defineProperties(Constructor.prototype, protoProps);
|
|
68421
|
+
if (staticProps)
|
|
68422
|
+
_defineProperties(Constructor, staticProps);
|
|
68346
68423
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
68347
68424
|
return Constructor;
|
|
68348
68425
|
}
|
|
@@ -68625,7 +68702,7 @@ var DraggableCore$1 = /* @__PURE__ */ function(_React$Component) {
|
|
|
68625
68702
|
}, {
|
|
68626
68703
|
key: "render",
|
|
68627
68704
|
value: /* @__PURE__ */ __name(function render3() {
|
|
68628
|
-
return /* @__PURE__ */ React.cloneElement(React.Children.only(this.props.children), {
|
|
68705
|
+
return /* @__PURE__ */ React$1.cloneElement(React$1.Children.only(this.props.children), {
|
|
68629
68706
|
// Note: mouseMove handler is attached to document so it will still function
|
|
68630
68707
|
// when the user drags quickly and leaves the bounds of the element.
|
|
68631
68708
|
onMouseDown: this.onMouseDown,
|
|
@@ -68638,7 +68715,7 @@ var DraggableCore$1 = /* @__PURE__ */ function(_React$Component) {
|
|
|
68638
68715
|
}, "render")
|
|
68639
68716
|
}]);
|
|
68640
68717
|
return DraggableCore2;
|
|
68641
|
-
}(React.Component);
|
|
68718
|
+
}(React$1.Component);
|
|
68642
68719
|
DraggableCore$2.default = DraggableCore$1;
|
|
68643
68720
|
_defineProperty(DraggableCore$1, "displayName", "DraggableCore");
|
|
68644
68721
|
_defineProperty(DraggableCore$1, "propTypes", {
|
|
@@ -68824,7 +68901,7 @@ _defineProperty(DraggableCore$1, "defaultProps", {
|
|
|
68824
68901
|
}
|
|
68825
68902
|
__name(_getRequireWildcardCache2, "_getRequireWildcardCache");
|
|
68826
68903
|
function _interopRequireWildcard2(obj, nodeInterop) {
|
|
68827
|
-
if (obj && obj.__esModule) {
|
|
68904
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
68828
68905
|
return obj;
|
|
68829
68906
|
}
|
|
68830
68907
|
if (obj === null || _typeof4(obj) !== "object" && typeof obj !== "function") {
|
|
@@ -69505,10 +69582,10 @@ var Resizer = (
|
|
|
69505
69582
|
}
|
|
69506
69583
|
__name(Resizer2, "Resizer");
|
|
69507
69584
|
Resizer2.prototype.render = function() {
|
|
69508
|
-
return React$
|
|
69585
|
+
return React$2.createElement("div", { className: this.props.className || "", style: __assign$2(__assign$2({ position: "absolute", userSelect: "none" }, styles[this.props.direction]), this.props.replaceStyles || {}), onMouseDown: this.onMouseDown, onTouchStart: this.onTouchStart }, this.props.children);
|
|
69509
69586
|
};
|
|
69510
69587
|
return Resizer2;
|
|
69511
|
-
}(React$
|
|
69588
|
+
}(React$2.PureComponent)
|
|
69512
69589
|
);
|
|
69513
69590
|
var src = { exports: {} };
|
|
69514
69591
|
function memoize(fn4, options) {
|
|
@@ -69606,7 +69683,7 @@ ObjectWithoutPrototypeCache.prototype.set = function(key, value) {
|
|
|
69606
69683
|
this.cache[key] = value;
|
|
69607
69684
|
};
|
|
69608
69685
|
var cacheDefault = {
|
|
69609
|
-
create: /* @__PURE__ */ __name(function
|
|
69686
|
+
create: /* @__PURE__ */ __name(function create4() {
|
|
69610
69687
|
return new ObjectWithoutPrototypeCache();
|
|
69611
69688
|
}, "create")
|
|
69612
69689
|
};
|
|
@@ -70281,11 +70358,11 @@ var Resizable = (
|
|
|
70281
70358
|
}
|
|
70282
70359
|
var resizers = Object.keys(enable).map(function(dir) {
|
|
70283
70360
|
if (enable[dir] !== false) {
|
|
70284
|
-
return React$
|
|
70361
|
+
return React$2.createElement(Resizer, { key: dir, direction: dir, onResizeStart: _this.onResizeStart, replaceStyles: handleStyles && handleStyles[dir], className: handleClasses && handleClasses[dir] }, handleComponent && handleComponent[dir] ? handleComponent[dir] : null);
|
|
70285
70362
|
}
|
|
70286
70363
|
return null;
|
|
70287
70364
|
});
|
|
70288
|
-
return React$
|
|
70365
|
+
return React$2.createElement("div", { className: handleWrapperClass, style: handleWrapperStyle }, resizers);
|
|
70289
70366
|
};
|
|
70290
70367
|
Resizable2.prototype.render = function() {
|
|
70291
70368
|
var _this = this;
|
|
@@ -70301,10 +70378,10 @@ var Resizable = (
|
|
|
70301
70378
|
style.flexBasis = this.state.flexBasis;
|
|
70302
70379
|
}
|
|
70303
70380
|
var Wrapper = this.props.as || "div";
|
|
70304
|
-
return React$
|
|
70381
|
+
return React$2.createElement(
|
|
70305
70382
|
Wrapper,
|
|
70306
70383
|
__assign$1({ ref: this.ref, style, className: this.props.className }, extendsProps),
|
|
70307
|
-
this.state.isResizing && React$
|
|
70384
|
+
this.state.isResizing && React$2.createElement("div", { style: this.state.backgroundStyle }),
|
|
70308
70385
|
this.props.children,
|
|
70309
70386
|
this.renderResizer()
|
|
70310
70387
|
);
|
|
@@ -70337,7 +70414,7 @@ var Resizable = (
|
|
|
70337
70414
|
snapGap: 0
|
|
70338
70415
|
};
|
|
70339
70416
|
return Resizable2;
|
|
70340
|
-
}(React$
|
|
70417
|
+
}(React$2.PureComponent)
|
|
70341
70418
|
);
|
|
70342
70419
|
/*! *****************************************************************************
|
|
70343
70420
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -70938,7 +71015,7 @@ function MenuItemLink({ text: text2, onClick, icon, navTo, active: active3 }) {
|
|
|
70938
71015
|
e2.target.closest(`.${Classes.POPOVER_DISMISS}`).click();
|
|
70939
71016
|
}, "handleLinkClick");
|
|
70940
71017
|
return /* @__PURE__ */ React__default.createElement("li", { className: Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React__default.createElement(
|
|
70941
|
-
Link,
|
|
71018
|
+
Link$1,
|
|
70942
71019
|
{
|
|
70943
71020
|
onClick: handleLinkClick,
|
|
70944
71021
|
to: navTo,
|
|
@@ -70962,15 +71039,15 @@ const EnhancedMenuItem = compose(
|
|
|
70962
71039
|
willUnmount({ className });
|
|
70963
71040
|
}
|
|
70964
71041
|
}),
|
|
70965
|
-
branch(({ navTo }) => navTo, withRouter)
|
|
70966
|
-
)(function(
|
|
70967
|
-
var
|
|
71042
|
+
branch(({ navTo }) => navTo, withRouter$1)
|
|
71043
|
+
)(function(_q) {
|
|
71044
|
+
var _r = _q, {
|
|
70968
71045
|
navTo,
|
|
70969
71046
|
context,
|
|
70970
71047
|
staticContext,
|
|
70971
71048
|
didMount,
|
|
70972
71049
|
willUnmount
|
|
70973
|
-
} =
|
|
71050
|
+
} = _r, props = __objRest(_r, [
|
|
70974
71051
|
"navTo",
|
|
70975
71052
|
"context",
|
|
70976
71053
|
"staticContext",
|
|
@@ -71191,8 +71268,8 @@ function doesSearchValMatchText(searchVal, justText) {
|
|
|
71191
71268
|
);
|
|
71192
71269
|
}
|
|
71193
71270
|
__name(doesSearchValMatchText, "doesSearchValMatchText");
|
|
71194
|
-
const MenuItemWithTooltip = /* @__PURE__ */ __name((
|
|
71195
|
-
var
|
|
71271
|
+
const MenuItemWithTooltip = /* @__PURE__ */ __name((_s) => {
|
|
71272
|
+
var _t = _s, { tooltip } = _t, rest = __objRest(_t, ["tooltip"]);
|
|
71196
71273
|
let out = /* @__PURE__ */ React__default.createElement(MenuItem, __spreadValues({}, rest));
|
|
71197
71274
|
if (tooltip) {
|
|
71198
71275
|
out = /* @__PURE__ */ React__default.createElement(Tooltip, { content: tooltip }, out);
|
|
@@ -71915,16 +71992,10 @@ function TimelineEvent({ date, children }) {
|
|
|
71915
71992
|
));
|
|
71916
71993
|
}
|
|
71917
71994
|
__name(TimelineEvent, "TimelineEvent");
|
|
71918
|
-
|
|
71919
|
-
|
|
71920
|
-
|
|
71921
|
-
|
|
71922
|
-
};
|
|
71923
|
-
__name(_Timeline, "Timeline");
|
|
71924
|
-
__publicField(_Timeline, "propTypes", {
|
|
71925
|
-
children: PropTypes$1.arrayOf(PropTypes$1.element)
|
|
71926
|
-
});
|
|
71927
|
-
let Timeline = _Timeline;
|
|
71995
|
+
function Timeline(props) {
|
|
71996
|
+
return /* @__PURE__ */ React.createElement("div", { className: "tg-timeline" }, props.children.length > 1 && /* @__PURE__ */ React.createElement("div", { className: "tg-timeline-line" }), props.children);
|
|
71997
|
+
}
|
|
71998
|
+
__name(Timeline, "Timeline");
|
|
71928
71999
|
const ptIconWrapper = /* @__PURE__ */ __name((path2, viewboxDefault = 24, rest) => {
|
|
71929
72000
|
return /* @__PURE__ */ React__default.createElement("span", { className: "bp3-icon" }, /* @__PURE__ */ React__default.createElement(
|
|
71930
72001
|
"svg",
|