@teselagen/ove 0.3.58 → 0.3.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +172 -1508
- package/index.es.js +172 -1508
- package/index.umd.js +239 -1610
- package/package.json +2 -3
- package/src/redux/panelsShown.js +10 -8
- package/style.css +2 -2
package/index.umd.js
CHANGED
|
@@ -831,10 +831,10 @@ var __async = (__this, __arguments, generator) => {
|
|
|
831
831
|
}, {});
|
|
832
832
|
}
|
|
833
833
|
__name(arrayToObject$1, "arrayToObject$1");
|
|
834
|
-
function isFunction$
|
|
834
|
+
function isFunction$a(value) {
|
|
835
835
|
return typeof value === "function";
|
|
836
836
|
}
|
|
837
|
-
__name(isFunction$
|
|
837
|
+
__name(isFunction$a, "isFunction$a");
|
|
838
838
|
function elementIsOrContains(element2, testElement) {
|
|
839
839
|
return element2 === testElement || element2.contains(testElement);
|
|
840
840
|
}
|
|
@@ -10335,18 +10335,18 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10335
10335
|
}
|
|
10336
10336
|
bound = Function("binder", "return function (" + boundArgs.join(",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
10337
10337
|
if (target.prototype) {
|
|
10338
|
-
var
|
|
10338
|
+
var Empty2 = /* @__PURE__ */ __name(function Empty3() {
|
|
10339
10339
|
}, "Empty");
|
|
10340
|
-
|
|
10341
|
-
bound.prototype = new
|
|
10342
|
-
|
|
10340
|
+
Empty2.prototype = target.prototype;
|
|
10341
|
+
bound.prototype = new Empty2();
|
|
10342
|
+
Empty2.prototype = null;
|
|
10343
10343
|
}
|
|
10344
10344
|
return bound;
|
|
10345
10345
|
}, "bind");
|
|
10346
10346
|
var implementation$7 = implementation$8;
|
|
10347
10347
|
var functionBind = Function.prototype.bind || implementation$7;
|
|
10348
|
-
var bind$
|
|
10349
|
-
var src$1 = bind$
|
|
10348
|
+
var bind$2 = functionBind;
|
|
10349
|
+
var src$1 = bind$2.call(Function.call, Object.prototype.hasOwnProperty);
|
|
10350
10350
|
var undefined$1;
|
|
10351
10351
|
var $SyntaxError = SyntaxError;
|
|
10352
10352
|
var $Function = Function;
|
|
@@ -10539,13 +10539,13 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10539
10539
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
10540
10540
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
10541
10541
|
};
|
|
10542
|
-
var bind$
|
|
10542
|
+
var bind$1 = functionBind;
|
|
10543
10543
|
var hasOwn$3 = src$1;
|
|
10544
|
-
var $concat$1 = bind$
|
|
10545
|
-
var $spliceApply = bind$
|
|
10546
|
-
var $replace$1 = bind$
|
|
10547
|
-
var $strSlice = bind$
|
|
10548
|
-
var $exec$1 = bind$
|
|
10544
|
+
var $concat$1 = bind$1.call(Function.call, Array.prototype.concat);
|
|
10545
|
+
var $spliceApply = bind$1.call(Function.apply, Array.prototype.splice);
|
|
10546
|
+
var $replace$1 = bind$1.call(Function.call, String.prototype.replace);
|
|
10547
|
+
var $strSlice = bind$1.call(Function.call, String.prototype.slice);
|
|
10548
|
+
var $exec$1 = bind$1.call(Function.call, RegExp.prototype.exec);
|
|
10549
10549
|
var rePropName$2 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
10550
10550
|
var reEscapeChar$2 = /\\(\\)?/g;
|
|
10551
10551
|
var stringToPath$5 = /* @__PURE__ */ __name(function stringToPath2(string2) {
|
|
@@ -10746,9 +10746,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10746
10746
|
var toStr$3 = Object.prototype.toString;
|
|
10747
10747
|
var concat$1 = Array.prototype.concat;
|
|
10748
10748
|
var origDefineProperty = Object.defineProperty;
|
|
10749
|
-
var isFunction$
|
|
10749
|
+
var isFunction$9 = /* @__PURE__ */ __name(function(fn2) {
|
|
10750
10750
|
return typeof fn2 === "function" && toStr$3.call(fn2) === "[object Function]";
|
|
10751
|
-
}, "isFunction$
|
|
10751
|
+
}, "isFunction$9");
|
|
10752
10752
|
var hasPropertyDescriptors = hasPropertyDescriptors_1();
|
|
10753
10753
|
var supportsDescriptors$2 = origDefineProperty && hasPropertyDescriptors;
|
|
10754
10754
|
var defineProperty$e = /* @__PURE__ */ __name(function(object2, name2, value, predicate) {
|
|
@@ -10757,7 +10757,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10757
10757
|
if (object2[name2] === value) {
|
|
10758
10758
|
return;
|
|
10759
10759
|
}
|
|
10760
|
-
} else if (!isFunction$
|
|
10760
|
+
} else if (!isFunction$9(predicate) || !predicate()) {
|
|
10761
10761
|
return;
|
|
10762
10762
|
}
|
|
10763
10763
|
}
|
|
@@ -11021,7 +11021,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
11021
11021
|
var is$3 = objectIs;
|
|
11022
11022
|
var isRegex = isRegex$1;
|
|
11023
11023
|
var flags$1 = regexp_prototype_flags;
|
|
11024
|
-
var isDate$
|
|
11024
|
+
var isDate$2 = isDateObject;
|
|
11025
11025
|
var getTime = Date.prototype.getTime;
|
|
11026
11026
|
function deepEqual$3(actual, expected, options) {
|
|
11027
11027
|
var opts2 = options || {};
|
|
@@ -11038,7 +11038,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
11038
11038
|
return value === null || value === void 0;
|
|
11039
11039
|
}
|
|
11040
11040
|
__name(isUndefinedOrNull, "isUndefinedOrNull");
|
|
11041
|
-
function isBuffer$
|
|
11041
|
+
function isBuffer$a(x2) {
|
|
11042
11042
|
if (!x2 || typeof x2 !== "object" || typeof x2.length !== "number") {
|
|
11043
11043
|
return false;
|
|
11044
11044
|
}
|
|
@@ -11050,7 +11050,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
11050
11050
|
}
|
|
11051
11051
|
return true;
|
|
11052
11052
|
}
|
|
11053
|
-
__name(isBuffer$
|
|
11053
|
+
__name(isBuffer$a, "isBuffer$a");
|
|
11054
11054
|
function objEquiv(a2, b3, opts2) {
|
|
11055
11055
|
var i2, key2;
|
|
11056
11056
|
if (typeof a2 !== typeof b3) {
|
|
@@ -11073,11 +11073,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
11073
11073
|
if (aIsRegex || bIsRegex) {
|
|
11074
11074
|
return a2.source === b3.source && flags$1(a2) === flags$1(b3);
|
|
11075
11075
|
}
|
|
11076
|
-
if (isDate$
|
|
11076
|
+
if (isDate$2(a2) && isDate$2(b3)) {
|
|
11077
11077
|
return getTime.call(a2) === getTime.call(b3);
|
|
11078
11078
|
}
|
|
11079
|
-
var aIsBuffer = isBuffer$
|
|
11080
|
-
var bIsBuffer = isBuffer$
|
|
11079
|
+
var aIsBuffer = isBuffer$a(a2);
|
|
11080
|
+
var bIsBuffer = isBuffer$a(b3);
|
|
11081
11081
|
if (aIsBuffer !== bIsBuffer) {
|
|
11082
11082
|
return false;
|
|
11083
11083
|
}
|
|
@@ -11185,11 +11185,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
11185
11185
|
__name(taskDebounce, "taskDebounce");
|
|
11186
11186
|
var supportsMicroTasks = isBrowser$4 && window.Promise;
|
|
11187
11187
|
var debounce$3 = supportsMicroTasks ? microtaskDebounce : taskDebounce;
|
|
11188
|
-
function isFunction$
|
|
11188
|
+
function isFunction$8(functionToCheck) {
|
|
11189
11189
|
var getType = {};
|
|
11190
11190
|
return functionToCheck && getType.toString.call(functionToCheck) === "[object Function]";
|
|
11191
11191
|
}
|
|
11192
|
-
__name(isFunction$
|
|
11192
|
+
__name(isFunction$8, "isFunction$8");
|
|
11193
11193
|
function getStyleComputedProperty(element2, property2) {
|
|
11194
11194
|
if (element2.nodeType !== 1) {
|
|
11195
11195
|
return [];
|
|
@@ -11674,7 +11674,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
11674
11674
|
console.warn("`modifier.function` is deprecated, use `modifier.fn`!");
|
|
11675
11675
|
}
|
|
11676
11676
|
var fn2 = modifier["function"] || modifier.fn;
|
|
11677
|
-
if (modifier.enabled && isFunction$
|
|
11677
|
+
if (modifier.enabled && isFunction$8(fn2)) {
|
|
11678
11678
|
data.offsets.popper = getClientRect(data.offsets.popper);
|
|
11679
11679
|
data.offsets.reference = getClientRect(data.offsets.reference);
|
|
11680
11680
|
data = fn2(data, modifier);
|
|
@@ -12668,7 +12668,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
12668
12668
|
return a2.order - b3.order;
|
|
12669
12669
|
});
|
|
12670
12670
|
this.modifiers.forEach(function(modifierOptions) {
|
|
12671
|
-
if (modifierOptions.enabled && isFunction$
|
|
12671
|
+
if (modifierOptions.enabled && isFunction$8(modifierOptions.onLoad)) {
|
|
12672
12672
|
modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state);
|
|
12673
12673
|
}
|
|
12674
12674
|
});
|
|
@@ -14165,7 +14165,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
14165
14165
|
ReplaceTransition: _ReplaceTransition.default,
|
|
14166
14166
|
CSSTransition: _CSSTransition.default
|
|
14167
14167
|
};
|
|
14168
|
-
var cannotCreatePortal = !isFunction$
|
|
14168
|
+
var cannotCreatePortal = !isFunction$a(reactDomExports.createPortal);
|
|
14169
14169
|
var REACT_CONTEXT_TYPES = {
|
|
14170
14170
|
blueprintPortalClassName: function(obj, key2) {
|
|
14171
14171
|
if (obj[key2] != null && typeof obj[key2] !== "string") {
|
|
@@ -14288,7 +14288,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
14288
14288
|
}
|
|
14289
14289
|
};
|
|
14290
14290
|
_this.maybeRenderChild = function(child) {
|
|
14291
|
-
if (isFunction$
|
|
14291
|
+
if (isFunction$a(child)) {
|
|
14292
14292
|
child = child();
|
|
14293
14293
|
}
|
|
14294
14294
|
if (child == null) {
|
|
@@ -17610,20 +17610,20 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17610
17610
|
}(AbstractPureComponent2)
|
|
17611
17611
|
);
|
|
17612
17612
|
var userAgent = typeof navigator !== "undefined" ? navigator.userAgent : "";
|
|
17613
|
-
var browser$
|
|
17613
|
+
var browser$2 = {
|
|
17614
17614
|
isEdge: /Edge/.test(userAgent),
|
|
17615
17615
|
isInternetExplorer: /Trident|rv:11/.test(userAgent),
|
|
17616
17616
|
isWebkit: /AppleWebKit/.test(userAgent)
|
|
17617
17617
|
};
|
|
17618
17618
|
var Browser$1 = {
|
|
17619
17619
|
isEdge: function() {
|
|
17620
|
-
return browser$
|
|
17620
|
+
return browser$2.isEdge;
|
|
17621
17621
|
},
|
|
17622
17622
|
isInternetExplorer: function() {
|
|
17623
|
-
return browser$
|
|
17623
|
+
return browser$2.isInternetExplorer;
|
|
17624
17624
|
},
|
|
17625
17625
|
isWebkit: function() {
|
|
17626
|
-
return browser$
|
|
17626
|
+
return browser$2.isWebkit;
|
|
17627
17627
|
}
|
|
17628
17628
|
};
|
|
17629
17629
|
var BUFFER_WIDTH_DEFAULT = 5;
|
|
@@ -19565,7 +19565,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19565
19565
|
var labelRenderer = this.props.labelRenderer;
|
|
19566
19566
|
if (labelRenderer === false) {
|
|
19567
19567
|
return void 0;
|
|
19568
|
-
} else if (isFunction$
|
|
19568
|
+
} else if (isFunction$a(labelRenderer)) {
|
|
19569
19569
|
return labelRenderer(value, { isHandleTooltip });
|
|
19570
19570
|
} else {
|
|
19571
19571
|
return value.toFixed(this.state.labelPrecision);
|
|
@@ -20049,7 +20049,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20049
20049
|
Tag2.prototype.render = function() {
|
|
20050
20050
|
var _a2;
|
|
20051
20051
|
var _b2 = this.props, active2 = _b2.active, children = _b2.children, className = _b2.className, fill = _b2.fill, icon = _b2.icon, intent = _b2.intent, interactive = _b2.interactive, large = _b2.large, minimal = _b2.minimal, multiline = _b2.multiline, onRemove = _b2.onRemove, rightIcon = _b2.rightIcon, round2 = _b2.round, _c2 = _b2.tabIndex, tabIndex = _c2 === void 0 ? 0 : _c2, htmlTitle = _b2.htmlTitle, elementRef = _b2.elementRef, htmlProps = __rest$2(_b2, ["active", "children", "className", "fill", "icon", "intent", "interactive", "large", "minimal", "multiline", "onRemove", "rightIcon", "round", "tabIndex", "htmlTitle", "elementRef"]);
|
|
20052
|
-
var isRemovable = isFunction$
|
|
20052
|
+
var isRemovable = isFunction$a(onRemove);
|
|
20053
20053
|
var tagClasses = classNames$1(TAG$2, intentClass(intent), (_a2 = {}, _a2[ACTIVE] = active2, _a2[FILL] = fill, _a2[INTERACTIVE] = interactive, _a2[LARGE] = large, _a2[MINIMAL] = minimal, _a2[ROUND] = round2, _a2), className);
|
|
20054
20054
|
var isLarge = large || tagClasses.indexOf(LARGE) >= 0;
|
|
20055
20055
|
var removeButton = isRemovable ? reactExports.createElement(
|
|
@@ -20094,7 +20094,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20094
20094
|
var _a2 = _this.props, inputValue = _a2.inputValue, onAdd = _a2.onAdd, onChange = _a2.onChange, values = _a2.values;
|
|
20095
20095
|
var newValues = _this.getValues(value);
|
|
20096
20096
|
var shouldClearInput = (onAdd === null || onAdd === void 0 ? void 0 : onAdd(newValues, method)) !== false && inputValue === void 0;
|
|
20097
|
-
if (isFunction$
|
|
20097
|
+
if (isFunction$a(onChange)) {
|
|
20098
20098
|
shouldClearInput = onChange(__spreadArrays$1(values, newValues)) !== false && shouldClearInput;
|
|
20099
20099
|
}
|
|
20100
20100
|
if (shouldClearInput) {
|
|
@@ -20106,7 +20106,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20106
20106
|
return null;
|
|
20107
20107
|
}
|
|
20108
20108
|
var _a2 = _this.props, large = _a2.large, tagProps = _a2.tagProps;
|
|
20109
|
-
var props = isFunction$
|
|
20109
|
+
var props = isFunction$a(tagProps) ? tagProps(tag, index2) : tagProps;
|
|
20110
20110
|
return reactExports.createElement(Tag, __assign$7({ active: index2 === _this.state.activeIndex, "data-tag-index": index2, key: tag + "__" + index2, large, onRemove: _this.props.disabled ? void 0 : _this.handleRemoveTag }, props), tag);
|
|
20111
20111
|
};
|
|
20112
20112
|
_this.handleContainerClick = function() {
|
|
@@ -20260,7 +20260,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20260
20260
|
TagInput2.prototype.removeIndexFromValues = function(index2) {
|
|
20261
20261
|
var _a2 = this.props, onChange = _a2.onChange, onRemove = _a2.onRemove, values = _a2.values;
|
|
20262
20262
|
onRemove === null || onRemove === void 0 ? void 0 : onRemove(values[index2], index2);
|
|
20263
|
-
if (isFunction$
|
|
20263
|
+
if (isFunction$a(onChange)) {
|
|
20264
20264
|
onChange(values.filter(function(_2, i2) {
|
|
20265
20265
|
return i2 !== index2;
|
|
20266
20266
|
}));
|
|
@@ -20554,12 +20554,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20554
20554
|
var read = "read";
|
|
20555
20555
|
var afterRead = "afterRead";
|
|
20556
20556
|
var beforeMain = "beforeMain";
|
|
20557
|
-
var main$
|
|
20557
|
+
var main$1 = "main";
|
|
20558
20558
|
var afterMain = "afterMain";
|
|
20559
20559
|
var beforeWrite = "beforeWrite";
|
|
20560
20560
|
var write = "write";
|
|
20561
20561
|
var afterWrite = "afterWrite";
|
|
20562
|
-
var modifierPhases = [beforeRead, read, afterRead, beforeMain, main$
|
|
20562
|
+
var modifierPhases = [beforeRead, read, afterRead, beforeMain, main$1, afterMain, beforeWrite, write, afterWrite];
|
|
20563
20563
|
function getNodeName(element2) {
|
|
20564
20564
|
return element2 ? (element2.nodeName || "").toLowerCase() : null;
|
|
20565
20565
|
}
|
|
@@ -23517,1322 +23517,6 @@ var __async = (__this, __arguments, generator) => {
|
|
|
23517
23517
|
const WorkflowDefaultParamsContext = React$2.createContext(
|
|
23518
23518
|
workflowDefaultParamsObj
|
|
23519
23519
|
);
|
|
23520
|
-
var axios$3 = { exports: {} };
|
|
23521
|
-
var bind$3 = /* @__PURE__ */ __name(function bind2(fn2, thisArg) {
|
|
23522
|
-
return /* @__PURE__ */ __name(function wrap2() {
|
|
23523
|
-
var args = new Array(arguments.length);
|
|
23524
|
-
for (var i2 = 0; i2 < args.length; i2++) {
|
|
23525
|
-
args[i2] = arguments[i2];
|
|
23526
|
-
}
|
|
23527
|
-
return fn2.apply(thisArg, args);
|
|
23528
|
-
}, "wrap");
|
|
23529
|
-
}, "bind");
|
|
23530
|
-
var bind$2 = bind$3;
|
|
23531
|
-
var toString$9 = Object.prototype.toString;
|
|
23532
|
-
function isArray$t(val2) {
|
|
23533
|
-
return toString$9.call(val2) === "[object Array]";
|
|
23534
|
-
}
|
|
23535
|
-
__name(isArray$t, "isArray$t");
|
|
23536
|
-
function isUndefined$1(val2) {
|
|
23537
|
-
return typeof val2 === "undefined";
|
|
23538
|
-
}
|
|
23539
|
-
__name(isUndefined$1, "isUndefined$1");
|
|
23540
|
-
function isBuffer$a(val2) {
|
|
23541
|
-
return val2 !== null && !isUndefined$1(val2) && val2.constructor !== null && !isUndefined$1(val2.constructor) && typeof val2.constructor.isBuffer === "function" && val2.constructor.isBuffer(val2);
|
|
23542
|
-
}
|
|
23543
|
-
__name(isBuffer$a, "isBuffer$a");
|
|
23544
|
-
function isArrayBuffer(val2) {
|
|
23545
|
-
return toString$9.call(val2) === "[object ArrayBuffer]";
|
|
23546
|
-
}
|
|
23547
|
-
__name(isArrayBuffer, "isArrayBuffer");
|
|
23548
|
-
function isFormData(val2) {
|
|
23549
|
-
return typeof FormData !== "undefined" && val2 instanceof FormData;
|
|
23550
|
-
}
|
|
23551
|
-
__name(isFormData, "isFormData");
|
|
23552
|
-
function isArrayBufferView(val2) {
|
|
23553
|
-
var result;
|
|
23554
|
-
if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
|
|
23555
|
-
result = ArrayBuffer.isView(val2);
|
|
23556
|
-
} else {
|
|
23557
|
-
result = val2 && val2.buffer && val2.buffer instanceof ArrayBuffer;
|
|
23558
|
-
}
|
|
23559
|
-
return result;
|
|
23560
|
-
}
|
|
23561
|
-
__name(isArrayBufferView, "isArrayBufferView");
|
|
23562
|
-
function isString$3(val2) {
|
|
23563
|
-
return typeof val2 === "string";
|
|
23564
|
-
}
|
|
23565
|
-
__name(isString$3, "isString$3");
|
|
23566
|
-
function isNumber$6(val2) {
|
|
23567
|
-
return typeof val2 === "number";
|
|
23568
|
-
}
|
|
23569
|
-
__name(isNumber$6, "isNumber$6");
|
|
23570
|
-
function isObject$k(val2) {
|
|
23571
|
-
return val2 !== null && typeof val2 === "object";
|
|
23572
|
-
}
|
|
23573
|
-
__name(isObject$k, "isObject$k");
|
|
23574
|
-
function isPlainObject$8(val2) {
|
|
23575
|
-
if (toString$9.call(val2) !== "[object Object]") {
|
|
23576
|
-
return false;
|
|
23577
|
-
}
|
|
23578
|
-
var prototype = Object.getPrototypeOf(val2);
|
|
23579
|
-
return prototype === null || prototype === Object.prototype;
|
|
23580
|
-
}
|
|
23581
|
-
__name(isPlainObject$8, "isPlainObject$8");
|
|
23582
|
-
function isDate$2(val2) {
|
|
23583
|
-
return toString$9.call(val2) === "[object Date]";
|
|
23584
|
-
}
|
|
23585
|
-
__name(isDate$2, "isDate$2");
|
|
23586
|
-
function isFile(val2) {
|
|
23587
|
-
return toString$9.call(val2) === "[object File]";
|
|
23588
|
-
}
|
|
23589
|
-
__name(isFile, "isFile");
|
|
23590
|
-
function isBlob(val2) {
|
|
23591
|
-
return toString$9.call(val2) === "[object Blob]";
|
|
23592
|
-
}
|
|
23593
|
-
__name(isBlob, "isBlob");
|
|
23594
|
-
function isFunction$8(val2) {
|
|
23595
|
-
return toString$9.call(val2) === "[object Function]";
|
|
23596
|
-
}
|
|
23597
|
-
__name(isFunction$8, "isFunction$8");
|
|
23598
|
-
function isStream(val2) {
|
|
23599
|
-
return isObject$k(val2) && isFunction$8(val2.pipe);
|
|
23600
|
-
}
|
|
23601
|
-
__name(isStream, "isStream");
|
|
23602
|
-
function isURLSearchParams(val2) {
|
|
23603
|
-
return typeof URLSearchParams !== "undefined" && val2 instanceof URLSearchParams;
|
|
23604
|
-
}
|
|
23605
|
-
__name(isURLSearchParams, "isURLSearchParams");
|
|
23606
|
-
function trim$1(str) {
|
|
23607
|
-
return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g, "");
|
|
23608
|
-
}
|
|
23609
|
-
__name(trim$1, "trim$1");
|
|
23610
|
-
function isStandardBrowserEnv() {
|
|
23611
|
-
if (typeof navigator !== "undefined" && (navigator.product === "ReactNative" || navigator.product === "NativeScript" || navigator.product === "NS")) {
|
|
23612
|
-
return false;
|
|
23613
|
-
}
|
|
23614
|
-
return typeof window !== "undefined" && typeof document !== "undefined";
|
|
23615
|
-
}
|
|
23616
|
-
__name(isStandardBrowserEnv, "isStandardBrowserEnv");
|
|
23617
|
-
function forEach$5(obj, fn2) {
|
|
23618
|
-
if (obj === null || typeof obj === "undefined") {
|
|
23619
|
-
return;
|
|
23620
|
-
}
|
|
23621
|
-
if (typeof obj !== "object") {
|
|
23622
|
-
obj = [obj];
|
|
23623
|
-
}
|
|
23624
|
-
if (isArray$t(obj)) {
|
|
23625
|
-
for (var i2 = 0, l2 = obj.length; i2 < l2; i2++) {
|
|
23626
|
-
fn2.call(null, obj[i2], i2, obj);
|
|
23627
|
-
}
|
|
23628
|
-
} else {
|
|
23629
|
-
for (var key2 in obj) {
|
|
23630
|
-
if (Object.prototype.hasOwnProperty.call(obj, key2)) {
|
|
23631
|
-
fn2.call(null, obj[key2], key2, obj);
|
|
23632
|
-
}
|
|
23633
|
-
}
|
|
23634
|
-
}
|
|
23635
|
-
}
|
|
23636
|
-
__name(forEach$5, "forEach$5");
|
|
23637
|
-
function merge$5() {
|
|
23638
|
-
var result = {};
|
|
23639
|
-
function assignValue2(val2, key2) {
|
|
23640
|
-
if (isPlainObject$8(result[key2]) && isPlainObject$8(val2)) {
|
|
23641
|
-
result[key2] = merge$5(result[key2], val2);
|
|
23642
|
-
} else if (isPlainObject$8(val2)) {
|
|
23643
|
-
result[key2] = merge$5({}, val2);
|
|
23644
|
-
} else if (isArray$t(val2)) {
|
|
23645
|
-
result[key2] = val2.slice();
|
|
23646
|
-
} else {
|
|
23647
|
-
result[key2] = val2;
|
|
23648
|
-
}
|
|
23649
|
-
}
|
|
23650
|
-
__name(assignValue2, "assignValue");
|
|
23651
|
-
for (var i2 = 0, l2 = arguments.length; i2 < l2; i2++) {
|
|
23652
|
-
forEach$5(arguments[i2], assignValue2);
|
|
23653
|
-
}
|
|
23654
|
-
return result;
|
|
23655
|
-
}
|
|
23656
|
-
__name(merge$5, "merge$5");
|
|
23657
|
-
function extend$2(a2, b3, thisArg) {
|
|
23658
|
-
forEach$5(b3, /* @__PURE__ */ __name(function assignValue2(val2, key2) {
|
|
23659
|
-
if (thisArg && typeof val2 === "function") {
|
|
23660
|
-
a2[key2] = bind$2(val2, thisArg);
|
|
23661
|
-
} else {
|
|
23662
|
-
a2[key2] = val2;
|
|
23663
|
-
}
|
|
23664
|
-
}, "assignValue"));
|
|
23665
|
-
return a2;
|
|
23666
|
-
}
|
|
23667
|
-
__name(extend$2, "extend$2");
|
|
23668
|
-
function stripBOM(content2) {
|
|
23669
|
-
if (content2.charCodeAt(0) === 65279) {
|
|
23670
|
-
content2 = content2.slice(1);
|
|
23671
|
-
}
|
|
23672
|
-
return content2;
|
|
23673
|
-
}
|
|
23674
|
-
__name(stripBOM, "stripBOM");
|
|
23675
|
-
var utils$g = {
|
|
23676
|
-
isArray: isArray$t,
|
|
23677
|
-
isArrayBuffer,
|
|
23678
|
-
isBuffer: isBuffer$a,
|
|
23679
|
-
isFormData,
|
|
23680
|
-
isArrayBufferView,
|
|
23681
|
-
isString: isString$3,
|
|
23682
|
-
isNumber: isNumber$6,
|
|
23683
|
-
isObject: isObject$k,
|
|
23684
|
-
isPlainObject: isPlainObject$8,
|
|
23685
|
-
isUndefined: isUndefined$1,
|
|
23686
|
-
isDate: isDate$2,
|
|
23687
|
-
isFile,
|
|
23688
|
-
isBlob,
|
|
23689
|
-
isFunction: isFunction$8,
|
|
23690
|
-
isStream,
|
|
23691
|
-
isURLSearchParams,
|
|
23692
|
-
isStandardBrowserEnv,
|
|
23693
|
-
forEach: forEach$5,
|
|
23694
|
-
merge: merge$5,
|
|
23695
|
-
extend: extend$2,
|
|
23696
|
-
trim: trim$1,
|
|
23697
|
-
stripBOM
|
|
23698
|
-
};
|
|
23699
|
-
var utils$f = utils$g;
|
|
23700
|
-
function encode$1(val2) {
|
|
23701
|
-
return encodeURIComponent(val2).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
23702
|
-
}
|
|
23703
|
-
__name(encode$1, "encode$1");
|
|
23704
|
-
var buildURL$1 = /* @__PURE__ */ __name(function buildURL2(url, params, paramsSerializer) {
|
|
23705
|
-
if (!params) {
|
|
23706
|
-
return url;
|
|
23707
|
-
}
|
|
23708
|
-
var serializedParams;
|
|
23709
|
-
if (paramsSerializer) {
|
|
23710
|
-
serializedParams = paramsSerializer(params);
|
|
23711
|
-
} else if (utils$f.isURLSearchParams(params)) {
|
|
23712
|
-
serializedParams = params.toString();
|
|
23713
|
-
} else {
|
|
23714
|
-
var parts2 = [];
|
|
23715
|
-
utils$f.forEach(params, /* @__PURE__ */ __name(function serialize2(val2, key2) {
|
|
23716
|
-
if (val2 === null || typeof val2 === "undefined") {
|
|
23717
|
-
return;
|
|
23718
|
-
}
|
|
23719
|
-
if (utils$f.isArray(val2)) {
|
|
23720
|
-
key2 = key2 + "[]";
|
|
23721
|
-
} else {
|
|
23722
|
-
val2 = [val2];
|
|
23723
|
-
}
|
|
23724
|
-
utils$f.forEach(val2, /* @__PURE__ */ __name(function parseValue2(v2) {
|
|
23725
|
-
if (utils$f.isDate(v2)) {
|
|
23726
|
-
v2 = v2.toISOString();
|
|
23727
|
-
} else if (utils$f.isObject(v2)) {
|
|
23728
|
-
v2 = JSON.stringify(v2);
|
|
23729
|
-
}
|
|
23730
|
-
parts2.push(encode$1(key2) + "=" + encode$1(v2));
|
|
23731
|
-
}, "parseValue"));
|
|
23732
|
-
}, "serialize"));
|
|
23733
|
-
serializedParams = parts2.join("&");
|
|
23734
|
-
}
|
|
23735
|
-
if (serializedParams) {
|
|
23736
|
-
var hashmarkIndex = url.indexOf("#");
|
|
23737
|
-
if (hashmarkIndex !== -1) {
|
|
23738
|
-
url = url.slice(0, hashmarkIndex);
|
|
23739
|
-
}
|
|
23740
|
-
url += (url.indexOf("?") === -1 ? "?" : "&") + serializedParams;
|
|
23741
|
-
}
|
|
23742
|
-
return url;
|
|
23743
|
-
}, "buildURL");
|
|
23744
|
-
var utils$e = utils$g;
|
|
23745
|
-
function InterceptorManager$1() {
|
|
23746
|
-
this.handlers = [];
|
|
23747
|
-
}
|
|
23748
|
-
__name(InterceptorManager$1, "InterceptorManager$1");
|
|
23749
|
-
InterceptorManager$1.prototype.use = /* @__PURE__ */ __name(function use(fulfilled, rejected, options) {
|
|
23750
|
-
this.handlers.push({
|
|
23751
|
-
fulfilled,
|
|
23752
|
-
rejected,
|
|
23753
|
-
synchronous: options ? options.synchronous : false,
|
|
23754
|
-
runWhen: options ? options.runWhen : null
|
|
23755
|
-
});
|
|
23756
|
-
return this.handlers.length - 1;
|
|
23757
|
-
}, "use");
|
|
23758
|
-
InterceptorManager$1.prototype.eject = /* @__PURE__ */ __name(function eject(id2) {
|
|
23759
|
-
if (this.handlers[id2]) {
|
|
23760
|
-
this.handlers[id2] = null;
|
|
23761
|
-
}
|
|
23762
|
-
}, "eject");
|
|
23763
|
-
InterceptorManager$1.prototype.forEach = /* @__PURE__ */ __name(function forEach2(fn2) {
|
|
23764
|
-
utils$e.forEach(this.handlers, /* @__PURE__ */ __name(function forEachHandler(h2) {
|
|
23765
|
-
if (h2 !== null) {
|
|
23766
|
-
fn2(h2);
|
|
23767
|
-
}
|
|
23768
|
-
}, "forEachHandler"));
|
|
23769
|
-
}, "forEach");
|
|
23770
|
-
var InterceptorManager_1 = InterceptorManager$1;
|
|
23771
|
-
var utils$d = utils$g;
|
|
23772
|
-
var normalizeHeaderName$1 = /* @__PURE__ */ __name(function normalizeHeaderName2(headers, normalizedName) {
|
|
23773
|
-
utils$d.forEach(headers, /* @__PURE__ */ __name(function processHeader(value, name2) {
|
|
23774
|
-
if (name2 !== normalizedName && name2.toUpperCase() === normalizedName.toUpperCase()) {
|
|
23775
|
-
headers[normalizedName] = value;
|
|
23776
|
-
delete headers[name2];
|
|
23777
|
-
}
|
|
23778
|
-
}, "processHeader"));
|
|
23779
|
-
}, "normalizeHeaderName");
|
|
23780
|
-
var enhanceError$1 = /* @__PURE__ */ __name(function enhanceError2(error, config, code2, request, response) {
|
|
23781
|
-
error.config = config;
|
|
23782
|
-
if (code2) {
|
|
23783
|
-
error.code = code2;
|
|
23784
|
-
}
|
|
23785
|
-
error.request = request;
|
|
23786
|
-
error.response = response;
|
|
23787
|
-
error.isAxiosError = true;
|
|
23788
|
-
error.toJSON = /* @__PURE__ */ __name(function toJSON() {
|
|
23789
|
-
return {
|
|
23790
|
-
// Standard
|
|
23791
|
-
message: this.message,
|
|
23792
|
-
name: this.name,
|
|
23793
|
-
// Microsoft
|
|
23794
|
-
description: this.description,
|
|
23795
|
-
number: this.number,
|
|
23796
|
-
// Mozilla
|
|
23797
|
-
fileName: this.fileName,
|
|
23798
|
-
lineNumber: this.lineNumber,
|
|
23799
|
-
columnNumber: this.columnNumber,
|
|
23800
|
-
stack: this.stack,
|
|
23801
|
-
// Axios
|
|
23802
|
-
config: this.config,
|
|
23803
|
-
code: this.code
|
|
23804
|
-
};
|
|
23805
|
-
}, "toJSON");
|
|
23806
|
-
return error;
|
|
23807
|
-
}, "enhanceError");
|
|
23808
|
-
var createError;
|
|
23809
|
-
var hasRequiredCreateError;
|
|
23810
|
-
function requireCreateError() {
|
|
23811
|
-
if (hasRequiredCreateError)
|
|
23812
|
-
return createError;
|
|
23813
|
-
hasRequiredCreateError = 1;
|
|
23814
|
-
var enhanceError2 = enhanceError$1;
|
|
23815
|
-
createError = /* @__PURE__ */ __name(function createError2(message, config, code2, request, response) {
|
|
23816
|
-
var error = new Error(message);
|
|
23817
|
-
return enhanceError2(error, config, code2, request, response);
|
|
23818
|
-
}, "createError");
|
|
23819
|
-
return createError;
|
|
23820
|
-
}
|
|
23821
|
-
__name(requireCreateError, "requireCreateError");
|
|
23822
|
-
var settle;
|
|
23823
|
-
var hasRequiredSettle;
|
|
23824
|
-
function requireSettle() {
|
|
23825
|
-
if (hasRequiredSettle)
|
|
23826
|
-
return settle;
|
|
23827
|
-
hasRequiredSettle = 1;
|
|
23828
|
-
var createError2 = requireCreateError();
|
|
23829
|
-
settle = /* @__PURE__ */ __name(function settle2(resolve, reject, response) {
|
|
23830
|
-
var validateStatus = response.config.validateStatus;
|
|
23831
|
-
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
23832
|
-
resolve(response);
|
|
23833
|
-
} else {
|
|
23834
|
-
reject(createError2(
|
|
23835
|
-
"Request failed with status code " + response.status,
|
|
23836
|
-
response.config,
|
|
23837
|
-
null,
|
|
23838
|
-
response.request,
|
|
23839
|
-
response
|
|
23840
|
-
));
|
|
23841
|
-
}
|
|
23842
|
-
}, "settle");
|
|
23843
|
-
return settle;
|
|
23844
|
-
}
|
|
23845
|
-
__name(requireSettle, "requireSettle");
|
|
23846
|
-
var cookies;
|
|
23847
|
-
var hasRequiredCookies;
|
|
23848
|
-
function requireCookies() {
|
|
23849
|
-
if (hasRequiredCookies)
|
|
23850
|
-
return cookies;
|
|
23851
|
-
hasRequiredCookies = 1;
|
|
23852
|
-
var utils2 = utils$g;
|
|
23853
|
-
cookies = utils2.isStandardBrowserEnv() ? (
|
|
23854
|
-
// Standard browser envs support document.cookie
|
|
23855
|
-
(/* @__PURE__ */ __name(function standardBrowserEnv() {
|
|
23856
|
-
return {
|
|
23857
|
-
write: /* @__PURE__ */ __name(function write2(name2, value, expires, path2, domain2, secure) {
|
|
23858
|
-
var cookie = [];
|
|
23859
|
-
cookie.push(name2 + "=" + encodeURIComponent(value));
|
|
23860
|
-
if (utils2.isNumber(expires)) {
|
|
23861
|
-
cookie.push("expires=" + new Date(expires).toGMTString());
|
|
23862
|
-
}
|
|
23863
|
-
if (utils2.isString(path2)) {
|
|
23864
|
-
cookie.push("path=" + path2);
|
|
23865
|
-
}
|
|
23866
|
-
if (utils2.isString(domain2)) {
|
|
23867
|
-
cookie.push("domain=" + domain2);
|
|
23868
|
-
}
|
|
23869
|
-
if (secure === true) {
|
|
23870
|
-
cookie.push("secure");
|
|
23871
|
-
}
|
|
23872
|
-
document.cookie = cookie.join("; ");
|
|
23873
|
-
}, "write"),
|
|
23874
|
-
read: /* @__PURE__ */ __name(function read2(name2) {
|
|
23875
|
-
var match2 = document.cookie.match(new RegExp("(^|;\\s*)(" + name2 + ")=([^;]*)"));
|
|
23876
|
-
return match2 ? decodeURIComponent(match2[3]) : null;
|
|
23877
|
-
}, "read"),
|
|
23878
|
-
remove: /* @__PURE__ */ __name(function remove2(name2) {
|
|
23879
|
-
this.write(name2, "", Date.now() - 864e5);
|
|
23880
|
-
}, "remove")
|
|
23881
|
-
};
|
|
23882
|
-
}, "standardBrowserEnv"))()
|
|
23883
|
-
) : (
|
|
23884
|
-
// Non standard browser env (web workers, react-native) lack needed support.
|
|
23885
|
-
(/* @__PURE__ */ __name(function nonStandardBrowserEnv() {
|
|
23886
|
-
return {
|
|
23887
|
-
write: /* @__PURE__ */ __name(function write2() {
|
|
23888
|
-
}, "write"),
|
|
23889
|
-
read: /* @__PURE__ */ __name(function read2() {
|
|
23890
|
-
return null;
|
|
23891
|
-
}, "read"),
|
|
23892
|
-
remove: /* @__PURE__ */ __name(function remove2() {
|
|
23893
|
-
}, "remove")
|
|
23894
|
-
};
|
|
23895
|
-
}, "nonStandardBrowserEnv"))()
|
|
23896
|
-
);
|
|
23897
|
-
return cookies;
|
|
23898
|
-
}
|
|
23899
|
-
__name(requireCookies, "requireCookies");
|
|
23900
|
-
var isAbsoluteURL;
|
|
23901
|
-
var hasRequiredIsAbsoluteURL;
|
|
23902
|
-
function requireIsAbsoluteURL() {
|
|
23903
|
-
if (hasRequiredIsAbsoluteURL)
|
|
23904
|
-
return isAbsoluteURL;
|
|
23905
|
-
hasRequiredIsAbsoluteURL = 1;
|
|
23906
|
-
isAbsoluteURL = /* @__PURE__ */ __name(function isAbsoluteURL2(url) {
|
|
23907
|
-
return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
|
|
23908
|
-
}, "isAbsoluteURL");
|
|
23909
|
-
return isAbsoluteURL;
|
|
23910
|
-
}
|
|
23911
|
-
__name(requireIsAbsoluteURL, "requireIsAbsoluteURL");
|
|
23912
|
-
var combineURLs;
|
|
23913
|
-
var hasRequiredCombineURLs;
|
|
23914
|
-
function requireCombineURLs() {
|
|
23915
|
-
if (hasRequiredCombineURLs)
|
|
23916
|
-
return combineURLs;
|
|
23917
|
-
hasRequiredCombineURLs = 1;
|
|
23918
|
-
combineURLs = /* @__PURE__ */ __name(function combineURLs2(baseURL, relativeURL) {
|
|
23919
|
-
return relativeURL ? baseURL.replace(/\/+$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
23920
|
-
}, "combineURLs");
|
|
23921
|
-
return combineURLs;
|
|
23922
|
-
}
|
|
23923
|
-
__name(requireCombineURLs, "requireCombineURLs");
|
|
23924
|
-
var buildFullPath;
|
|
23925
|
-
var hasRequiredBuildFullPath;
|
|
23926
|
-
function requireBuildFullPath() {
|
|
23927
|
-
if (hasRequiredBuildFullPath)
|
|
23928
|
-
return buildFullPath;
|
|
23929
|
-
hasRequiredBuildFullPath = 1;
|
|
23930
|
-
var isAbsoluteURL2 = requireIsAbsoluteURL();
|
|
23931
|
-
var combineURLs2 = requireCombineURLs();
|
|
23932
|
-
buildFullPath = /* @__PURE__ */ __name(function buildFullPath2(baseURL, requestedURL) {
|
|
23933
|
-
if (baseURL && !isAbsoluteURL2(requestedURL)) {
|
|
23934
|
-
return combineURLs2(baseURL, requestedURL);
|
|
23935
|
-
}
|
|
23936
|
-
return requestedURL;
|
|
23937
|
-
}, "buildFullPath");
|
|
23938
|
-
return buildFullPath;
|
|
23939
|
-
}
|
|
23940
|
-
__name(requireBuildFullPath, "requireBuildFullPath");
|
|
23941
|
-
var parseHeaders;
|
|
23942
|
-
var hasRequiredParseHeaders;
|
|
23943
|
-
function requireParseHeaders() {
|
|
23944
|
-
if (hasRequiredParseHeaders)
|
|
23945
|
-
return parseHeaders;
|
|
23946
|
-
hasRequiredParseHeaders = 1;
|
|
23947
|
-
var utils2 = utils$g;
|
|
23948
|
-
var ignoreDuplicateOf = [
|
|
23949
|
-
"age",
|
|
23950
|
-
"authorization",
|
|
23951
|
-
"content-length",
|
|
23952
|
-
"content-type",
|
|
23953
|
-
"etag",
|
|
23954
|
-
"expires",
|
|
23955
|
-
"from",
|
|
23956
|
-
"host",
|
|
23957
|
-
"if-modified-since",
|
|
23958
|
-
"if-unmodified-since",
|
|
23959
|
-
"last-modified",
|
|
23960
|
-
"location",
|
|
23961
|
-
"max-forwards",
|
|
23962
|
-
"proxy-authorization",
|
|
23963
|
-
"referer",
|
|
23964
|
-
"retry-after",
|
|
23965
|
-
"user-agent"
|
|
23966
|
-
];
|
|
23967
|
-
parseHeaders = /* @__PURE__ */ __name(function parseHeaders2(headers) {
|
|
23968
|
-
var parsed = {};
|
|
23969
|
-
var key2;
|
|
23970
|
-
var val2;
|
|
23971
|
-
var i2;
|
|
23972
|
-
if (!headers) {
|
|
23973
|
-
return parsed;
|
|
23974
|
-
}
|
|
23975
|
-
utils2.forEach(headers.split("\n"), /* @__PURE__ */ __name(function parser(line) {
|
|
23976
|
-
i2 = line.indexOf(":");
|
|
23977
|
-
key2 = utils2.trim(line.substr(0, i2)).toLowerCase();
|
|
23978
|
-
val2 = utils2.trim(line.substr(i2 + 1));
|
|
23979
|
-
if (key2) {
|
|
23980
|
-
if (parsed[key2] && ignoreDuplicateOf.indexOf(key2) >= 0) {
|
|
23981
|
-
return;
|
|
23982
|
-
}
|
|
23983
|
-
if (key2 === "set-cookie") {
|
|
23984
|
-
parsed[key2] = (parsed[key2] ? parsed[key2] : []).concat([val2]);
|
|
23985
|
-
} else {
|
|
23986
|
-
parsed[key2] = parsed[key2] ? parsed[key2] + ", " + val2 : val2;
|
|
23987
|
-
}
|
|
23988
|
-
}
|
|
23989
|
-
}, "parser"));
|
|
23990
|
-
return parsed;
|
|
23991
|
-
}, "parseHeaders");
|
|
23992
|
-
return parseHeaders;
|
|
23993
|
-
}
|
|
23994
|
-
__name(requireParseHeaders, "requireParseHeaders");
|
|
23995
|
-
var isURLSameOrigin;
|
|
23996
|
-
var hasRequiredIsURLSameOrigin;
|
|
23997
|
-
function requireIsURLSameOrigin() {
|
|
23998
|
-
if (hasRequiredIsURLSameOrigin)
|
|
23999
|
-
return isURLSameOrigin;
|
|
24000
|
-
hasRequiredIsURLSameOrigin = 1;
|
|
24001
|
-
var utils2 = utils$g;
|
|
24002
|
-
isURLSameOrigin = utils2.isStandardBrowserEnv() ? (
|
|
24003
|
-
// Standard browser envs have full support of the APIs needed to test
|
|
24004
|
-
// whether the request URL is of the same origin as current location.
|
|
24005
|
-
(/* @__PURE__ */ __name(function standardBrowserEnv() {
|
|
24006
|
-
var msie = /(msie|trident)/i.test(navigator.userAgent);
|
|
24007
|
-
var urlParsingNode = document.createElement("a");
|
|
24008
|
-
var originURL;
|
|
24009
|
-
function resolveURL(url) {
|
|
24010
|
-
var href = url;
|
|
24011
|
-
if (msie) {
|
|
24012
|
-
urlParsingNode.setAttribute("href", href);
|
|
24013
|
-
href = urlParsingNode.href;
|
|
24014
|
-
}
|
|
24015
|
-
urlParsingNode.setAttribute("href", href);
|
|
24016
|
-
return {
|
|
24017
|
-
href: urlParsingNode.href,
|
|
24018
|
-
protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, "") : "",
|
|
24019
|
-
host: urlParsingNode.host,
|
|
24020
|
-
search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, "") : "",
|
|
24021
|
-
hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, "") : "",
|
|
24022
|
-
hostname: urlParsingNode.hostname,
|
|
24023
|
-
port: urlParsingNode.port,
|
|
24024
|
-
pathname: urlParsingNode.pathname.charAt(0) === "/" ? urlParsingNode.pathname : "/" + urlParsingNode.pathname
|
|
24025
|
-
};
|
|
24026
|
-
}
|
|
24027
|
-
__name(resolveURL, "resolveURL");
|
|
24028
|
-
originURL = resolveURL(window.location.href);
|
|
24029
|
-
return /* @__PURE__ */ __name(function isURLSameOrigin2(requestURL) {
|
|
24030
|
-
var parsed = utils2.isString(requestURL) ? resolveURL(requestURL) : requestURL;
|
|
24031
|
-
return parsed.protocol === originURL.protocol && parsed.host === originURL.host;
|
|
24032
|
-
}, "isURLSameOrigin");
|
|
24033
|
-
}, "standardBrowserEnv"))()
|
|
24034
|
-
) : (
|
|
24035
|
-
// Non standard browser envs (web workers, react-native) lack needed support.
|
|
24036
|
-
(/* @__PURE__ */ __name(function nonStandardBrowserEnv() {
|
|
24037
|
-
return /* @__PURE__ */ __name(function isURLSameOrigin2() {
|
|
24038
|
-
return true;
|
|
24039
|
-
}, "isURLSameOrigin");
|
|
24040
|
-
}, "nonStandardBrowserEnv"))()
|
|
24041
|
-
);
|
|
24042
|
-
return isURLSameOrigin;
|
|
24043
|
-
}
|
|
24044
|
-
__name(requireIsURLSameOrigin, "requireIsURLSameOrigin");
|
|
24045
|
-
var xhr;
|
|
24046
|
-
var hasRequiredXhr;
|
|
24047
|
-
function requireXhr() {
|
|
24048
|
-
if (hasRequiredXhr)
|
|
24049
|
-
return xhr;
|
|
24050
|
-
hasRequiredXhr = 1;
|
|
24051
|
-
var utils2 = utils$g;
|
|
24052
|
-
var settle2 = requireSettle();
|
|
24053
|
-
var cookies2 = requireCookies();
|
|
24054
|
-
var buildURL2 = buildURL$1;
|
|
24055
|
-
var buildFullPath2 = requireBuildFullPath();
|
|
24056
|
-
var parseHeaders2 = requireParseHeaders();
|
|
24057
|
-
var isURLSameOrigin2 = requireIsURLSameOrigin();
|
|
24058
|
-
var createError2 = requireCreateError();
|
|
24059
|
-
xhr = /* @__PURE__ */ __name(function xhrAdapter(config) {
|
|
24060
|
-
return new Promise(/* @__PURE__ */ __name(function dispatchXhrRequest(resolve, reject) {
|
|
24061
|
-
var requestData = config.data;
|
|
24062
|
-
var requestHeaders = config.headers;
|
|
24063
|
-
var responseType = config.responseType;
|
|
24064
|
-
if (utils2.isFormData(requestData)) {
|
|
24065
|
-
delete requestHeaders["Content-Type"];
|
|
24066
|
-
}
|
|
24067
|
-
var request = new XMLHttpRequest();
|
|
24068
|
-
if (config.auth) {
|
|
24069
|
-
var username = config.auth.username || "";
|
|
24070
|
-
var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : "";
|
|
24071
|
-
requestHeaders.Authorization = "Basic " + btoa(username + ":" + password);
|
|
24072
|
-
}
|
|
24073
|
-
var fullPath = buildFullPath2(config.baseURL, config.url);
|
|
24074
|
-
request.open(config.method.toUpperCase(), buildURL2(fullPath, config.params, config.paramsSerializer), true);
|
|
24075
|
-
request.timeout = config.timeout;
|
|
24076
|
-
function onloadend() {
|
|
24077
|
-
if (!request) {
|
|
24078
|
-
return;
|
|
24079
|
-
}
|
|
24080
|
-
var responseHeaders = "getAllResponseHeaders" in request ? parseHeaders2(request.getAllResponseHeaders()) : null;
|
|
24081
|
-
var responseData = !responseType || responseType === "text" || responseType === "json" ? request.responseText : request.response;
|
|
24082
|
-
var response = {
|
|
24083
|
-
data: responseData,
|
|
24084
|
-
status: request.status,
|
|
24085
|
-
statusText: request.statusText,
|
|
24086
|
-
headers: responseHeaders,
|
|
24087
|
-
config,
|
|
24088
|
-
request
|
|
24089
|
-
};
|
|
24090
|
-
settle2(resolve, reject, response);
|
|
24091
|
-
request = null;
|
|
24092
|
-
}
|
|
24093
|
-
__name(onloadend, "onloadend");
|
|
24094
|
-
if ("onloadend" in request) {
|
|
24095
|
-
request.onloadend = onloadend;
|
|
24096
|
-
} else {
|
|
24097
|
-
request.onreadystatechange = /* @__PURE__ */ __name(function handleLoad() {
|
|
24098
|
-
if (!request || request.readyState !== 4) {
|
|
24099
|
-
return;
|
|
24100
|
-
}
|
|
24101
|
-
if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf("file:") === 0)) {
|
|
24102
|
-
return;
|
|
24103
|
-
}
|
|
24104
|
-
setTimeout(onloadend);
|
|
24105
|
-
}, "handleLoad");
|
|
24106
|
-
}
|
|
24107
|
-
request.onabort = /* @__PURE__ */ __name(function handleAbort() {
|
|
24108
|
-
if (!request) {
|
|
24109
|
-
return;
|
|
24110
|
-
}
|
|
24111
|
-
reject(createError2("Request aborted", config, "ECONNABORTED", request));
|
|
24112
|
-
request = null;
|
|
24113
|
-
}, "handleAbort");
|
|
24114
|
-
request.onerror = /* @__PURE__ */ __name(function handleError() {
|
|
24115
|
-
reject(createError2("Network Error", config, null, request));
|
|
24116
|
-
request = null;
|
|
24117
|
-
}, "handleError");
|
|
24118
|
-
request.ontimeout = /* @__PURE__ */ __name(function handleTimeout() {
|
|
24119
|
-
var timeoutErrorMessage = "timeout of " + config.timeout + "ms exceeded";
|
|
24120
|
-
if (config.timeoutErrorMessage) {
|
|
24121
|
-
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
24122
|
-
}
|
|
24123
|
-
reject(createError2(
|
|
24124
|
-
timeoutErrorMessage,
|
|
24125
|
-
config,
|
|
24126
|
-
config.transitional && config.transitional.clarifyTimeoutError ? "ETIMEDOUT" : "ECONNABORTED",
|
|
24127
|
-
request
|
|
24128
|
-
));
|
|
24129
|
-
request = null;
|
|
24130
|
-
}, "handleTimeout");
|
|
24131
|
-
if (utils2.isStandardBrowserEnv()) {
|
|
24132
|
-
var xsrfValue = (config.withCredentials || isURLSameOrigin2(fullPath)) && config.xsrfCookieName ? cookies2.read(config.xsrfCookieName) : void 0;
|
|
24133
|
-
if (xsrfValue) {
|
|
24134
|
-
requestHeaders[config.xsrfHeaderName] = xsrfValue;
|
|
24135
|
-
}
|
|
24136
|
-
}
|
|
24137
|
-
if ("setRequestHeader" in request) {
|
|
24138
|
-
utils2.forEach(requestHeaders, /* @__PURE__ */ __name(function setRequestHeader(val2, key2) {
|
|
24139
|
-
if (typeof requestData === "undefined" && key2.toLowerCase() === "content-type") {
|
|
24140
|
-
delete requestHeaders[key2];
|
|
24141
|
-
} else {
|
|
24142
|
-
request.setRequestHeader(key2, val2);
|
|
24143
|
-
}
|
|
24144
|
-
}, "setRequestHeader"));
|
|
24145
|
-
}
|
|
24146
|
-
if (!utils2.isUndefined(config.withCredentials)) {
|
|
24147
|
-
request.withCredentials = !!config.withCredentials;
|
|
24148
|
-
}
|
|
24149
|
-
if (responseType && responseType !== "json") {
|
|
24150
|
-
request.responseType = config.responseType;
|
|
24151
|
-
}
|
|
24152
|
-
if (typeof config.onDownloadProgress === "function") {
|
|
24153
|
-
request.addEventListener("progress", config.onDownloadProgress);
|
|
24154
|
-
}
|
|
24155
|
-
if (typeof config.onUploadProgress === "function" && request.upload) {
|
|
24156
|
-
request.upload.addEventListener("progress", config.onUploadProgress);
|
|
24157
|
-
}
|
|
24158
|
-
if (config.cancelToken) {
|
|
24159
|
-
config.cancelToken.promise.then(/* @__PURE__ */ __name(function onCanceled(cancel) {
|
|
24160
|
-
if (!request) {
|
|
24161
|
-
return;
|
|
24162
|
-
}
|
|
24163
|
-
request.abort();
|
|
24164
|
-
reject(cancel);
|
|
24165
|
-
request = null;
|
|
24166
|
-
}, "onCanceled"));
|
|
24167
|
-
}
|
|
24168
|
-
if (!requestData) {
|
|
24169
|
-
requestData = null;
|
|
24170
|
-
}
|
|
24171
|
-
request.send(requestData);
|
|
24172
|
-
}, "dispatchXhrRequest"));
|
|
24173
|
-
}, "xhrAdapter");
|
|
24174
|
-
return xhr;
|
|
24175
|
-
}
|
|
24176
|
-
__name(requireXhr, "requireXhr");
|
|
24177
|
-
var utils$c = utils$g;
|
|
24178
|
-
var normalizeHeaderName = normalizeHeaderName$1;
|
|
24179
|
-
var enhanceError = enhanceError$1;
|
|
24180
|
-
var DEFAULT_CONTENT_TYPE = {
|
|
24181
|
-
"Content-Type": "application/x-www-form-urlencoded"
|
|
24182
|
-
};
|
|
24183
|
-
function setContentTypeIfUnset(headers, value) {
|
|
24184
|
-
if (!utils$c.isUndefined(headers) && utils$c.isUndefined(headers["Content-Type"])) {
|
|
24185
|
-
headers["Content-Type"] = value;
|
|
24186
|
-
}
|
|
24187
|
-
}
|
|
24188
|
-
__name(setContentTypeIfUnset, "setContentTypeIfUnset");
|
|
24189
|
-
function getDefaultAdapter() {
|
|
24190
|
-
var adapter;
|
|
24191
|
-
if (typeof XMLHttpRequest !== "undefined") {
|
|
24192
|
-
adapter = requireXhr();
|
|
24193
|
-
} else if (typeof process !== "undefined" && Object.prototype.toString.call(process) === "[object process]") {
|
|
24194
|
-
adapter = requireXhr();
|
|
24195
|
-
}
|
|
24196
|
-
return adapter;
|
|
24197
|
-
}
|
|
24198
|
-
__name(getDefaultAdapter, "getDefaultAdapter");
|
|
24199
|
-
function stringifySafely(rawValue, parser, encoder) {
|
|
24200
|
-
if (utils$c.isString(rawValue)) {
|
|
24201
|
-
try {
|
|
24202
|
-
(parser || JSON.parse)(rawValue);
|
|
24203
|
-
return utils$c.trim(rawValue);
|
|
24204
|
-
} catch (e2) {
|
|
24205
|
-
if (e2.name !== "SyntaxError") {
|
|
24206
|
-
throw e2;
|
|
24207
|
-
}
|
|
24208
|
-
}
|
|
24209
|
-
}
|
|
24210
|
-
return (encoder || JSON.stringify)(rawValue);
|
|
24211
|
-
}
|
|
24212
|
-
__name(stringifySafely, "stringifySafely");
|
|
24213
|
-
var defaults$6 = {
|
|
24214
|
-
transitional: {
|
|
24215
|
-
silentJSONParsing: true,
|
|
24216
|
-
forcedJSONParsing: true,
|
|
24217
|
-
clarifyTimeoutError: false
|
|
24218
|
-
},
|
|
24219
|
-
adapter: getDefaultAdapter(),
|
|
24220
|
-
transformRequest: [/* @__PURE__ */ __name(function transformRequest(data, headers) {
|
|
24221
|
-
normalizeHeaderName(headers, "Accept");
|
|
24222
|
-
normalizeHeaderName(headers, "Content-Type");
|
|
24223
|
-
if (utils$c.isFormData(data) || utils$c.isArrayBuffer(data) || utils$c.isBuffer(data) || utils$c.isStream(data) || utils$c.isFile(data) || utils$c.isBlob(data)) {
|
|
24224
|
-
return data;
|
|
24225
|
-
}
|
|
24226
|
-
if (utils$c.isArrayBufferView(data)) {
|
|
24227
|
-
return data.buffer;
|
|
24228
|
-
}
|
|
24229
|
-
if (utils$c.isURLSearchParams(data)) {
|
|
24230
|
-
setContentTypeIfUnset(headers, "application/x-www-form-urlencoded;charset=utf-8");
|
|
24231
|
-
return data.toString();
|
|
24232
|
-
}
|
|
24233
|
-
if (utils$c.isObject(data) || headers && headers["Content-Type"] === "application/json") {
|
|
24234
|
-
setContentTypeIfUnset(headers, "application/json");
|
|
24235
|
-
return stringifySafely(data);
|
|
24236
|
-
}
|
|
24237
|
-
return data;
|
|
24238
|
-
}, "transformRequest")],
|
|
24239
|
-
transformResponse: [/* @__PURE__ */ __name(function transformResponse(data) {
|
|
24240
|
-
var transitional = this.transitional;
|
|
24241
|
-
var silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
24242
|
-
var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
24243
|
-
var strictJSONParsing = !silentJSONParsing && this.responseType === "json";
|
|
24244
|
-
if (strictJSONParsing || forcedJSONParsing && utils$c.isString(data) && data.length) {
|
|
24245
|
-
try {
|
|
24246
|
-
return JSON.parse(data);
|
|
24247
|
-
} catch (e2) {
|
|
24248
|
-
if (strictJSONParsing) {
|
|
24249
|
-
if (e2.name === "SyntaxError") {
|
|
24250
|
-
throw enhanceError(e2, this, "E_JSON_PARSE");
|
|
24251
|
-
}
|
|
24252
|
-
throw e2;
|
|
24253
|
-
}
|
|
24254
|
-
}
|
|
24255
|
-
}
|
|
24256
|
-
return data;
|
|
24257
|
-
}, "transformResponse")],
|
|
24258
|
-
/**
|
|
24259
|
-
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
24260
|
-
* timeout is not created.
|
|
24261
|
-
*/
|
|
24262
|
-
timeout: 0,
|
|
24263
|
-
xsrfCookieName: "XSRF-TOKEN",
|
|
24264
|
-
xsrfHeaderName: "X-XSRF-TOKEN",
|
|
24265
|
-
maxContentLength: -1,
|
|
24266
|
-
maxBodyLength: -1,
|
|
24267
|
-
validateStatus: /* @__PURE__ */ __name(function validateStatus(status) {
|
|
24268
|
-
return status >= 200 && status < 300;
|
|
24269
|
-
}, "validateStatus")
|
|
24270
|
-
};
|
|
24271
|
-
defaults$6.headers = {
|
|
24272
|
-
common: {
|
|
24273
|
-
"Accept": "application/json, text/plain, */*"
|
|
24274
|
-
}
|
|
24275
|
-
};
|
|
24276
|
-
utils$c.forEach(["delete", "get", "head"], /* @__PURE__ */ __name(function forEachMethodNoData(method) {
|
|
24277
|
-
defaults$6.headers[method] = {};
|
|
24278
|
-
}, "forEachMethodNoData"));
|
|
24279
|
-
utils$c.forEach(["post", "put", "patch"], /* @__PURE__ */ __name(function forEachMethodWithData(method) {
|
|
24280
|
-
defaults$6.headers[method] = utils$c.merge(DEFAULT_CONTENT_TYPE);
|
|
24281
|
-
}, "forEachMethodWithData"));
|
|
24282
|
-
var defaults_1 = defaults$6;
|
|
24283
|
-
var utils$b = utils$g;
|
|
24284
|
-
var defaults$5 = defaults_1;
|
|
24285
|
-
var transformData$1 = /* @__PURE__ */ __name(function transformData2(data, headers, fns) {
|
|
24286
|
-
var context = this || defaults$5;
|
|
24287
|
-
utils$b.forEach(fns, /* @__PURE__ */ __name(function transform2(fn2) {
|
|
24288
|
-
data = fn2.call(context, data, headers);
|
|
24289
|
-
}, "transform"));
|
|
24290
|
-
return data;
|
|
24291
|
-
}, "transformData");
|
|
24292
|
-
var isCancel$1;
|
|
24293
|
-
var hasRequiredIsCancel;
|
|
24294
|
-
function requireIsCancel() {
|
|
24295
|
-
if (hasRequiredIsCancel)
|
|
24296
|
-
return isCancel$1;
|
|
24297
|
-
hasRequiredIsCancel = 1;
|
|
24298
|
-
isCancel$1 = /* @__PURE__ */ __name(function isCancel2(value) {
|
|
24299
|
-
return !!(value && value.__CANCEL__);
|
|
24300
|
-
}, "isCancel");
|
|
24301
|
-
return isCancel$1;
|
|
24302
|
-
}
|
|
24303
|
-
__name(requireIsCancel, "requireIsCancel");
|
|
24304
|
-
var utils$a = utils$g;
|
|
24305
|
-
var transformData = transformData$1;
|
|
24306
|
-
var isCancel = requireIsCancel();
|
|
24307
|
-
var defaults$4 = defaults_1;
|
|
24308
|
-
function throwIfCancellationRequested(config) {
|
|
24309
|
-
if (config.cancelToken) {
|
|
24310
|
-
config.cancelToken.throwIfRequested();
|
|
24311
|
-
}
|
|
24312
|
-
}
|
|
24313
|
-
__name(throwIfCancellationRequested, "throwIfCancellationRequested");
|
|
24314
|
-
var dispatchRequest$1 = /* @__PURE__ */ __name(function dispatchRequest2(config) {
|
|
24315
|
-
throwIfCancellationRequested(config);
|
|
24316
|
-
config.headers = config.headers || {};
|
|
24317
|
-
config.data = transformData.call(
|
|
24318
|
-
config,
|
|
24319
|
-
config.data,
|
|
24320
|
-
config.headers,
|
|
24321
|
-
config.transformRequest
|
|
24322
|
-
);
|
|
24323
|
-
config.headers = utils$a.merge(
|
|
24324
|
-
config.headers.common || {},
|
|
24325
|
-
config.headers[config.method] || {},
|
|
24326
|
-
config.headers
|
|
24327
|
-
);
|
|
24328
|
-
utils$a.forEach(
|
|
24329
|
-
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
24330
|
-
/* @__PURE__ */ __name(function cleanHeaderConfig(method) {
|
|
24331
|
-
delete config.headers[method];
|
|
24332
|
-
}, "cleanHeaderConfig")
|
|
24333
|
-
);
|
|
24334
|
-
var adapter = config.adapter || defaults$4.adapter;
|
|
24335
|
-
return adapter(config).then(/* @__PURE__ */ __name(function onAdapterResolution(response) {
|
|
24336
|
-
throwIfCancellationRequested(config);
|
|
24337
|
-
response.data = transformData.call(
|
|
24338
|
-
config,
|
|
24339
|
-
response.data,
|
|
24340
|
-
response.headers,
|
|
24341
|
-
config.transformResponse
|
|
24342
|
-
);
|
|
24343
|
-
return response;
|
|
24344
|
-
}, "onAdapterResolution"), /* @__PURE__ */ __name(function onAdapterRejection(reason) {
|
|
24345
|
-
if (!isCancel(reason)) {
|
|
24346
|
-
throwIfCancellationRequested(config);
|
|
24347
|
-
if (reason && reason.response) {
|
|
24348
|
-
reason.response.data = transformData.call(
|
|
24349
|
-
config,
|
|
24350
|
-
reason.response.data,
|
|
24351
|
-
reason.response.headers,
|
|
24352
|
-
config.transformResponse
|
|
24353
|
-
);
|
|
24354
|
-
}
|
|
24355
|
-
}
|
|
24356
|
-
return Promise.reject(reason);
|
|
24357
|
-
}, "onAdapterRejection"));
|
|
24358
|
-
}, "dispatchRequest");
|
|
24359
|
-
var utils$9 = utils$g;
|
|
24360
|
-
var mergeConfig$2 = /* @__PURE__ */ __name(function mergeConfig2(config1, config2) {
|
|
24361
|
-
config2 = config2 || {};
|
|
24362
|
-
var config = {};
|
|
24363
|
-
var valueFromConfig2Keys = ["url", "method", "data"];
|
|
24364
|
-
var mergeDeepPropertiesKeys = ["headers", "auth", "proxy", "params"];
|
|
24365
|
-
var defaultToConfig2Keys = [
|
|
24366
|
-
"baseURL",
|
|
24367
|
-
"transformRequest",
|
|
24368
|
-
"transformResponse",
|
|
24369
|
-
"paramsSerializer",
|
|
24370
|
-
"timeout",
|
|
24371
|
-
"timeoutMessage",
|
|
24372
|
-
"withCredentials",
|
|
24373
|
-
"adapter",
|
|
24374
|
-
"responseType",
|
|
24375
|
-
"xsrfCookieName",
|
|
24376
|
-
"xsrfHeaderName",
|
|
24377
|
-
"onUploadProgress",
|
|
24378
|
-
"onDownloadProgress",
|
|
24379
|
-
"decompress",
|
|
24380
|
-
"maxContentLength",
|
|
24381
|
-
"maxBodyLength",
|
|
24382
|
-
"maxRedirects",
|
|
24383
|
-
"transport",
|
|
24384
|
-
"httpAgent",
|
|
24385
|
-
"httpsAgent",
|
|
24386
|
-
"cancelToken",
|
|
24387
|
-
"socketPath",
|
|
24388
|
-
"responseEncoding"
|
|
24389
|
-
];
|
|
24390
|
-
var directMergeKeys = ["validateStatus"];
|
|
24391
|
-
function getMergedValue(target, source) {
|
|
24392
|
-
if (utils$9.isPlainObject(target) && utils$9.isPlainObject(source)) {
|
|
24393
|
-
return utils$9.merge(target, source);
|
|
24394
|
-
} else if (utils$9.isPlainObject(source)) {
|
|
24395
|
-
return utils$9.merge({}, source);
|
|
24396
|
-
} else if (utils$9.isArray(source)) {
|
|
24397
|
-
return source.slice();
|
|
24398
|
-
}
|
|
24399
|
-
return source;
|
|
24400
|
-
}
|
|
24401
|
-
__name(getMergedValue, "getMergedValue");
|
|
24402
|
-
function mergeDeepProperties(prop2) {
|
|
24403
|
-
if (!utils$9.isUndefined(config2[prop2])) {
|
|
24404
|
-
config[prop2] = getMergedValue(config1[prop2], config2[prop2]);
|
|
24405
|
-
} else if (!utils$9.isUndefined(config1[prop2])) {
|
|
24406
|
-
config[prop2] = getMergedValue(void 0, config1[prop2]);
|
|
24407
|
-
}
|
|
24408
|
-
}
|
|
24409
|
-
__name(mergeDeepProperties, "mergeDeepProperties");
|
|
24410
|
-
utils$9.forEach(valueFromConfig2Keys, /* @__PURE__ */ __name(function valueFromConfig2(prop2) {
|
|
24411
|
-
if (!utils$9.isUndefined(config2[prop2])) {
|
|
24412
|
-
config[prop2] = getMergedValue(void 0, config2[prop2]);
|
|
24413
|
-
}
|
|
24414
|
-
}, "valueFromConfig2"));
|
|
24415
|
-
utils$9.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);
|
|
24416
|
-
utils$9.forEach(defaultToConfig2Keys, /* @__PURE__ */ __name(function defaultToConfig2(prop2) {
|
|
24417
|
-
if (!utils$9.isUndefined(config2[prop2])) {
|
|
24418
|
-
config[prop2] = getMergedValue(void 0, config2[prop2]);
|
|
24419
|
-
} else if (!utils$9.isUndefined(config1[prop2])) {
|
|
24420
|
-
config[prop2] = getMergedValue(void 0, config1[prop2]);
|
|
24421
|
-
}
|
|
24422
|
-
}, "defaultToConfig2"));
|
|
24423
|
-
utils$9.forEach(directMergeKeys, /* @__PURE__ */ __name(function merge2(prop2) {
|
|
24424
|
-
if (prop2 in config2) {
|
|
24425
|
-
config[prop2] = getMergedValue(config1[prop2], config2[prop2]);
|
|
24426
|
-
} else if (prop2 in config1) {
|
|
24427
|
-
config[prop2] = getMergedValue(void 0, config1[prop2]);
|
|
24428
|
-
}
|
|
24429
|
-
}, "merge"));
|
|
24430
|
-
var axiosKeys = valueFromConfig2Keys.concat(mergeDeepPropertiesKeys).concat(defaultToConfig2Keys).concat(directMergeKeys);
|
|
24431
|
-
var otherKeys = Object.keys(config1).concat(Object.keys(config2)).filter(/* @__PURE__ */ __name(function filterAxiosKeys(key2) {
|
|
24432
|
-
return axiosKeys.indexOf(key2) === -1;
|
|
24433
|
-
}, "filterAxiosKeys"));
|
|
24434
|
-
utils$9.forEach(otherKeys, mergeDeepProperties);
|
|
24435
|
-
return config;
|
|
24436
|
-
}, "mergeConfig");
|
|
24437
|
-
const name$3 = "axios";
|
|
24438
|
-
const version$2 = "0.21.4";
|
|
24439
|
-
const description$1 = "Promise based HTTP client for the browser and node.js";
|
|
24440
|
-
const main$1 = "index.js";
|
|
24441
|
-
const scripts = {
|
|
24442
|
-
test: "grunt test",
|
|
24443
|
-
start: "node ./sandbox/server.js",
|
|
24444
|
-
build: "NODE_ENV=production grunt build",
|
|
24445
|
-
preversion: "npm test",
|
|
24446
|
-
version: "npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",
|
|
24447
|
-
postversion: "git push && git push --tags",
|
|
24448
|
-
examples: "node ./examples/server.js",
|
|
24449
|
-
coveralls: "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
|
|
24450
|
-
fix: "eslint --fix lib/**/*.js"
|
|
24451
|
-
};
|
|
24452
|
-
const repository = {
|
|
24453
|
-
type: "git",
|
|
24454
|
-
url: "https://github.com/axios/axios.git"
|
|
24455
|
-
};
|
|
24456
|
-
const keywords = [
|
|
24457
|
-
"xhr",
|
|
24458
|
-
"http",
|
|
24459
|
-
"ajax",
|
|
24460
|
-
"promise",
|
|
24461
|
-
"node"
|
|
24462
|
-
];
|
|
24463
|
-
const author = "Matt Zabriskie";
|
|
24464
|
-
const license = "MIT";
|
|
24465
|
-
const bugs = {
|
|
24466
|
-
url: "https://github.com/axios/axios/issues"
|
|
24467
|
-
};
|
|
24468
|
-
const homepage = "https://axios-http.com";
|
|
24469
|
-
const devDependencies = {
|
|
24470
|
-
coveralls: "^3.0.0",
|
|
24471
|
-
"es6-promise": "^4.2.4",
|
|
24472
|
-
grunt: "^1.3.0",
|
|
24473
|
-
"grunt-banner": "^0.6.0",
|
|
24474
|
-
"grunt-cli": "^1.2.0",
|
|
24475
|
-
"grunt-contrib-clean": "^1.1.0",
|
|
24476
|
-
"grunt-contrib-watch": "^1.0.0",
|
|
24477
|
-
"grunt-eslint": "^23.0.0",
|
|
24478
|
-
"grunt-karma": "^4.0.0",
|
|
24479
|
-
"grunt-mocha-test": "^0.13.3",
|
|
24480
|
-
"grunt-ts": "^6.0.0-beta.19",
|
|
24481
|
-
"grunt-webpack": "^4.0.2",
|
|
24482
|
-
"istanbul-instrumenter-loader": "^1.0.0",
|
|
24483
|
-
"jasmine-core": "^2.4.1",
|
|
24484
|
-
karma: "^6.3.2",
|
|
24485
|
-
"karma-chrome-launcher": "^3.1.0",
|
|
24486
|
-
"karma-firefox-launcher": "^2.1.0",
|
|
24487
|
-
"karma-jasmine": "^1.1.1",
|
|
24488
|
-
"karma-jasmine-ajax": "^0.1.13",
|
|
24489
|
-
"karma-safari-launcher": "^1.0.0",
|
|
24490
|
-
"karma-sauce-launcher": "^4.3.6",
|
|
24491
|
-
"karma-sinon": "^1.0.5",
|
|
24492
|
-
"karma-sourcemap-loader": "^0.3.8",
|
|
24493
|
-
"karma-webpack": "^4.0.2",
|
|
24494
|
-
"load-grunt-tasks": "^3.5.2",
|
|
24495
|
-
minimist: "^1.2.0",
|
|
24496
|
-
mocha: "^8.2.1",
|
|
24497
|
-
sinon: "^4.5.0",
|
|
24498
|
-
"terser-webpack-plugin": "^4.2.3",
|
|
24499
|
-
typescript: "^4.0.5",
|
|
24500
|
-
"url-search-params": "^0.10.0",
|
|
24501
|
-
webpack: "^4.44.2",
|
|
24502
|
-
"webpack-dev-server": "^3.11.0"
|
|
24503
|
-
};
|
|
24504
|
-
const browser$2 = {
|
|
24505
|
-
"./lib/adapters/http.js": "./lib/adapters/xhr.js"
|
|
24506
|
-
};
|
|
24507
|
-
const jsdelivr = "dist/axios.min.js";
|
|
24508
|
-
const unpkg = "dist/axios.min.js";
|
|
24509
|
-
const typings = "./index.d.ts";
|
|
24510
|
-
const dependencies = {
|
|
24511
|
-
"follow-redirects": "^1.14.0"
|
|
24512
|
-
};
|
|
24513
|
-
const bundlesize = [
|
|
24514
|
-
{
|
|
24515
|
-
path: "./dist/axios.min.js",
|
|
24516
|
-
threshold: "5kB"
|
|
24517
|
-
}
|
|
24518
|
-
];
|
|
24519
|
-
const require$$0$1 = {
|
|
24520
|
-
name: name$3,
|
|
24521
|
-
version: version$2,
|
|
24522
|
-
description: description$1,
|
|
24523
|
-
main: main$1,
|
|
24524
|
-
scripts,
|
|
24525
|
-
repository,
|
|
24526
|
-
keywords,
|
|
24527
|
-
author,
|
|
24528
|
-
license,
|
|
24529
|
-
bugs,
|
|
24530
|
-
homepage,
|
|
24531
|
-
devDependencies,
|
|
24532
|
-
browser: browser$2,
|
|
24533
|
-
jsdelivr,
|
|
24534
|
-
unpkg,
|
|
24535
|
-
typings,
|
|
24536
|
-
dependencies,
|
|
24537
|
-
bundlesize
|
|
24538
|
-
};
|
|
24539
|
-
var pkg = require$$0$1;
|
|
24540
|
-
var validators$1 = {};
|
|
24541
|
-
["object", "boolean", "number", "function", "string", "symbol"].forEach(function(type, i2) {
|
|
24542
|
-
validators$1[type] = /* @__PURE__ */ __name(function validator2(thing) {
|
|
24543
|
-
return typeof thing === type || "a" + (i2 < 1 ? "n " : " ") + type;
|
|
24544
|
-
}, "validator");
|
|
24545
|
-
});
|
|
24546
|
-
var deprecatedWarnings = {};
|
|
24547
|
-
var currentVerArr = pkg.version.split(".");
|
|
24548
|
-
function isOlderVersion(version2, thanVersion) {
|
|
24549
|
-
var pkgVersionArr = thanVersion ? thanVersion.split(".") : currentVerArr;
|
|
24550
|
-
var destVer = version2.split(".");
|
|
24551
|
-
for (var i2 = 0; i2 < 3; i2++) {
|
|
24552
|
-
if (pkgVersionArr[i2] > destVer[i2]) {
|
|
24553
|
-
return true;
|
|
24554
|
-
} else if (pkgVersionArr[i2] < destVer[i2]) {
|
|
24555
|
-
return false;
|
|
24556
|
-
}
|
|
24557
|
-
}
|
|
24558
|
-
return false;
|
|
24559
|
-
}
|
|
24560
|
-
__name(isOlderVersion, "isOlderVersion");
|
|
24561
|
-
validators$1.transitional = /* @__PURE__ */ __name(function transitional(validator2, version2, message) {
|
|
24562
|
-
var isDeprecated = version2 && isOlderVersion(version2);
|
|
24563
|
-
function formatMessage(opt, desc) {
|
|
24564
|
-
return "[Axios v" + pkg.version + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : "");
|
|
24565
|
-
}
|
|
24566
|
-
__name(formatMessage, "formatMessage");
|
|
24567
|
-
return function(value, opt, opts2) {
|
|
24568
|
-
if (validator2 === false) {
|
|
24569
|
-
throw new Error(formatMessage(opt, " has been removed in " + version2));
|
|
24570
|
-
}
|
|
24571
|
-
if (isDeprecated && !deprecatedWarnings[opt]) {
|
|
24572
|
-
deprecatedWarnings[opt] = true;
|
|
24573
|
-
console.warn(
|
|
24574
|
-
formatMessage(
|
|
24575
|
-
opt,
|
|
24576
|
-
" has been deprecated since v" + version2 + " and will be removed in the near future"
|
|
24577
|
-
)
|
|
24578
|
-
);
|
|
24579
|
-
}
|
|
24580
|
-
return validator2 ? validator2(value, opt, opts2) : true;
|
|
24581
|
-
};
|
|
24582
|
-
}, "transitional");
|
|
24583
|
-
function assertOptions(options, schema2, allowUnknown) {
|
|
24584
|
-
if (typeof options !== "object") {
|
|
24585
|
-
throw new TypeError("options must be an object");
|
|
24586
|
-
}
|
|
24587
|
-
var keys2 = Object.keys(options);
|
|
24588
|
-
var i2 = keys2.length;
|
|
24589
|
-
while (i2-- > 0) {
|
|
24590
|
-
var opt = keys2[i2];
|
|
24591
|
-
var validator2 = schema2[opt];
|
|
24592
|
-
if (validator2) {
|
|
24593
|
-
var value = options[opt];
|
|
24594
|
-
var result = value === void 0 || validator2(value, opt, options);
|
|
24595
|
-
if (result !== true) {
|
|
24596
|
-
throw new TypeError("option " + opt + " must be " + result);
|
|
24597
|
-
}
|
|
24598
|
-
continue;
|
|
24599
|
-
}
|
|
24600
|
-
if (allowUnknown !== true) {
|
|
24601
|
-
throw Error("Unknown option " + opt);
|
|
24602
|
-
}
|
|
24603
|
-
}
|
|
24604
|
-
}
|
|
24605
|
-
__name(assertOptions, "assertOptions");
|
|
24606
|
-
var validator$4 = {
|
|
24607
|
-
isOlderVersion,
|
|
24608
|
-
assertOptions,
|
|
24609
|
-
validators: validators$1
|
|
24610
|
-
};
|
|
24611
|
-
var utils$8 = utils$g;
|
|
24612
|
-
var buildURL = buildURL$1;
|
|
24613
|
-
var InterceptorManager = InterceptorManager_1;
|
|
24614
|
-
var dispatchRequest = dispatchRequest$1;
|
|
24615
|
-
var mergeConfig$1 = mergeConfig$2;
|
|
24616
|
-
var validator$3 = validator$4;
|
|
24617
|
-
var validators = validator$3.validators;
|
|
24618
|
-
function Axios$1(instanceConfig) {
|
|
24619
|
-
this.defaults = instanceConfig;
|
|
24620
|
-
this.interceptors = {
|
|
24621
|
-
request: new InterceptorManager(),
|
|
24622
|
-
response: new InterceptorManager()
|
|
24623
|
-
};
|
|
24624
|
-
}
|
|
24625
|
-
__name(Axios$1, "Axios$1");
|
|
24626
|
-
Axios$1.prototype.request = /* @__PURE__ */ __name(function request(config) {
|
|
24627
|
-
if (typeof config === "string") {
|
|
24628
|
-
config = arguments[1] || {};
|
|
24629
|
-
config.url = arguments[0];
|
|
24630
|
-
} else {
|
|
24631
|
-
config = config || {};
|
|
24632
|
-
}
|
|
24633
|
-
config = mergeConfig$1(this.defaults, config);
|
|
24634
|
-
if (config.method) {
|
|
24635
|
-
config.method = config.method.toLowerCase();
|
|
24636
|
-
} else if (this.defaults.method) {
|
|
24637
|
-
config.method = this.defaults.method.toLowerCase();
|
|
24638
|
-
} else {
|
|
24639
|
-
config.method = "get";
|
|
24640
|
-
}
|
|
24641
|
-
var transitional = config.transitional;
|
|
24642
|
-
if (transitional !== void 0) {
|
|
24643
|
-
validator$3.assertOptions(transitional, {
|
|
24644
|
-
silentJSONParsing: validators.transitional(validators.boolean, "1.0.0"),
|
|
24645
|
-
forcedJSONParsing: validators.transitional(validators.boolean, "1.0.0"),
|
|
24646
|
-
clarifyTimeoutError: validators.transitional(validators.boolean, "1.0.0")
|
|
24647
|
-
}, false);
|
|
24648
|
-
}
|
|
24649
|
-
var requestInterceptorChain = [];
|
|
24650
|
-
var synchronousRequestInterceptors = true;
|
|
24651
|
-
this.interceptors.request.forEach(/* @__PURE__ */ __name(function unshiftRequestInterceptors(interceptor) {
|
|
24652
|
-
if (typeof interceptor.runWhen === "function" && interceptor.runWhen(config) === false) {
|
|
24653
|
-
return;
|
|
24654
|
-
}
|
|
24655
|
-
synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
|
|
24656
|
-
requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
|
|
24657
|
-
}, "unshiftRequestInterceptors"));
|
|
24658
|
-
var responseInterceptorChain = [];
|
|
24659
|
-
this.interceptors.response.forEach(/* @__PURE__ */ __name(function pushResponseInterceptors(interceptor) {
|
|
24660
|
-
responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
|
|
24661
|
-
}, "pushResponseInterceptors"));
|
|
24662
|
-
var promise;
|
|
24663
|
-
if (!synchronousRequestInterceptors) {
|
|
24664
|
-
var chain2 = [dispatchRequest, void 0];
|
|
24665
|
-
Array.prototype.unshift.apply(chain2, requestInterceptorChain);
|
|
24666
|
-
chain2 = chain2.concat(responseInterceptorChain);
|
|
24667
|
-
promise = Promise.resolve(config);
|
|
24668
|
-
while (chain2.length) {
|
|
24669
|
-
promise = promise.then(chain2.shift(), chain2.shift());
|
|
24670
|
-
}
|
|
24671
|
-
return promise;
|
|
24672
|
-
}
|
|
24673
|
-
var newConfig = config;
|
|
24674
|
-
while (requestInterceptorChain.length) {
|
|
24675
|
-
var onFulfilled = requestInterceptorChain.shift();
|
|
24676
|
-
var onRejected = requestInterceptorChain.shift();
|
|
24677
|
-
try {
|
|
24678
|
-
newConfig = onFulfilled(newConfig);
|
|
24679
|
-
} catch (error) {
|
|
24680
|
-
onRejected(error);
|
|
24681
|
-
break;
|
|
24682
|
-
}
|
|
24683
|
-
}
|
|
24684
|
-
try {
|
|
24685
|
-
promise = dispatchRequest(newConfig);
|
|
24686
|
-
} catch (error) {
|
|
24687
|
-
return Promise.reject(error);
|
|
24688
|
-
}
|
|
24689
|
-
while (responseInterceptorChain.length) {
|
|
24690
|
-
promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());
|
|
24691
|
-
}
|
|
24692
|
-
return promise;
|
|
24693
|
-
}, "request");
|
|
24694
|
-
Axios$1.prototype.getUri = /* @__PURE__ */ __name(function getUri(config) {
|
|
24695
|
-
config = mergeConfig$1(this.defaults, config);
|
|
24696
|
-
return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, "");
|
|
24697
|
-
}, "getUri");
|
|
24698
|
-
utils$8.forEach(["delete", "get", "head", "options"], /* @__PURE__ */ __name(function forEachMethodNoData(method) {
|
|
24699
|
-
Axios$1.prototype[method] = function(url, config) {
|
|
24700
|
-
return this.request(mergeConfig$1(config || {}, {
|
|
24701
|
-
method,
|
|
24702
|
-
url,
|
|
24703
|
-
data: (config || {}).data
|
|
24704
|
-
}));
|
|
24705
|
-
};
|
|
24706
|
-
}, "forEachMethodNoData"));
|
|
24707
|
-
utils$8.forEach(["post", "put", "patch"], /* @__PURE__ */ __name(function forEachMethodWithData(method) {
|
|
24708
|
-
Axios$1.prototype[method] = function(url, data, config) {
|
|
24709
|
-
return this.request(mergeConfig$1(config || {}, {
|
|
24710
|
-
method,
|
|
24711
|
-
url,
|
|
24712
|
-
data
|
|
24713
|
-
}));
|
|
24714
|
-
};
|
|
24715
|
-
}, "forEachMethodWithData"));
|
|
24716
|
-
var Axios_1 = Axios$1;
|
|
24717
|
-
var Cancel_1;
|
|
24718
|
-
var hasRequiredCancel;
|
|
24719
|
-
function requireCancel() {
|
|
24720
|
-
if (hasRequiredCancel)
|
|
24721
|
-
return Cancel_1;
|
|
24722
|
-
hasRequiredCancel = 1;
|
|
24723
|
-
function Cancel(message) {
|
|
24724
|
-
this.message = message;
|
|
24725
|
-
}
|
|
24726
|
-
__name(Cancel, "Cancel");
|
|
24727
|
-
Cancel.prototype.toString = /* @__PURE__ */ __name(function toString2() {
|
|
24728
|
-
return "Cancel" + (this.message ? ": " + this.message : "");
|
|
24729
|
-
}, "toString");
|
|
24730
|
-
Cancel.prototype.__CANCEL__ = true;
|
|
24731
|
-
Cancel_1 = Cancel;
|
|
24732
|
-
return Cancel_1;
|
|
24733
|
-
}
|
|
24734
|
-
__name(requireCancel, "requireCancel");
|
|
24735
|
-
var CancelToken_1;
|
|
24736
|
-
var hasRequiredCancelToken;
|
|
24737
|
-
function requireCancelToken() {
|
|
24738
|
-
if (hasRequiredCancelToken)
|
|
24739
|
-
return CancelToken_1;
|
|
24740
|
-
hasRequiredCancelToken = 1;
|
|
24741
|
-
var Cancel = requireCancel();
|
|
24742
|
-
function CancelToken(executor) {
|
|
24743
|
-
if (typeof executor !== "function") {
|
|
24744
|
-
throw new TypeError("executor must be a function.");
|
|
24745
|
-
}
|
|
24746
|
-
var resolvePromise;
|
|
24747
|
-
this.promise = new Promise(/* @__PURE__ */ __name(function promiseExecutor(resolve) {
|
|
24748
|
-
resolvePromise = resolve;
|
|
24749
|
-
}, "promiseExecutor"));
|
|
24750
|
-
var token = this;
|
|
24751
|
-
executor(/* @__PURE__ */ __name(function cancel(message) {
|
|
24752
|
-
if (token.reason) {
|
|
24753
|
-
return;
|
|
24754
|
-
}
|
|
24755
|
-
token.reason = new Cancel(message);
|
|
24756
|
-
resolvePromise(token.reason);
|
|
24757
|
-
}, "cancel"));
|
|
24758
|
-
}
|
|
24759
|
-
__name(CancelToken, "CancelToken");
|
|
24760
|
-
CancelToken.prototype.throwIfRequested = /* @__PURE__ */ __name(function throwIfRequested() {
|
|
24761
|
-
if (this.reason) {
|
|
24762
|
-
throw this.reason;
|
|
24763
|
-
}
|
|
24764
|
-
}, "throwIfRequested");
|
|
24765
|
-
CancelToken.source = /* @__PURE__ */ __name(function source() {
|
|
24766
|
-
var cancel;
|
|
24767
|
-
var token = new CancelToken(/* @__PURE__ */ __name(function executor(c2) {
|
|
24768
|
-
cancel = c2;
|
|
24769
|
-
}, "executor"));
|
|
24770
|
-
return {
|
|
24771
|
-
token,
|
|
24772
|
-
cancel
|
|
24773
|
-
};
|
|
24774
|
-
}, "source");
|
|
24775
|
-
CancelToken_1 = CancelToken;
|
|
24776
|
-
return CancelToken_1;
|
|
24777
|
-
}
|
|
24778
|
-
__name(requireCancelToken, "requireCancelToken");
|
|
24779
|
-
var spread;
|
|
24780
|
-
var hasRequiredSpread;
|
|
24781
|
-
function requireSpread() {
|
|
24782
|
-
if (hasRequiredSpread)
|
|
24783
|
-
return spread;
|
|
24784
|
-
hasRequiredSpread = 1;
|
|
24785
|
-
spread = /* @__PURE__ */ __name(function spread2(callback2) {
|
|
24786
|
-
return /* @__PURE__ */ __name(function wrap2(arr) {
|
|
24787
|
-
return callback2.apply(null, arr);
|
|
24788
|
-
}, "wrap");
|
|
24789
|
-
}, "spread");
|
|
24790
|
-
return spread;
|
|
24791
|
-
}
|
|
24792
|
-
__name(requireSpread, "requireSpread");
|
|
24793
|
-
var isAxiosError;
|
|
24794
|
-
var hasRequiredIsAxiosError;
|
|
24795
|
-
function requireIsAxiosError() {
|
|
24796
|
-
if (hasRequiredIsAxiosError)
|
|
24797
|
-
return isAxiosError;
|
|
24798
|
-
hasRequiredIsAxiosError = 1;
|
|
24799
|
-
isAxiosError = /* @__PURE__ */ __name(function isAxiosError2(payload) {
|
|
24800
|
-
return typeof payload === "object" && payload.isAxiosError === true;
|
|
24801
|
-
}, "isAxiosError");
|
|
24802
|
-
return isAxiosError;
|
|
24803
|
-
}
|
|
24804
|
-
__name(requireIsAxiosError, "requireIsAxiosError");
|
|
24805
|
-
var utils$7 = utils$g;
|
|
24806
|
-
var bind$1 = bind$3;
|
|
24807
|
-
var Axios = Axios_1;
|
|
24808
|
-
var mergeConfig = mergeConfig$2;
|
|
24809
|
-
var defaults$3 = defaults_1;
|
|
24810
|
-
function createInstance(defaultConfig2) {
|
|
24811
|
-
var context = new Axios(defaultConfig2);
|
|
24812
|
-
var instance = bind$1(Axios.prototype.request, context);
|
|
24813
|
-
utils$7.extend(instance, Axios.prototype, context);
|
|
24814
|
-
utils$7.extend(instance, context);
|
|
24815
|
-
return instance;
|
|
24816
|
-
}
|
|
24817
|
-
__name(createInstance, "createInstance");
|
|
24818
|
-
var axios$2 = createInstance(defaults$3);
|
|
24819
|
-
axios$2.Axios = Axios;
|
|
24820
|
-
axios$2.create = /* @__PURE__ */ __name(function create2(instanceConfig) {
|
|
24821
|
-
return createInstance(mergeConfig(axios$2.defaults, instanceConfig));
|
|
24822
|
-
}, "create");
|
|
24823
|
-
axios$2.Cancel = requireCancel();
|
|
24824
|
-
axios$2.CancelToken = requireCancelToken();
|
|
24825
|
-
axios$2.isCancel = requireIsCancel();
|
|
24826
|
-
axios$2.all = /* @__PURE__ */ __name(function all2(promises) {
|
|
24827
|
-
return Promise.all(promises);
|
|
24828
|
-
}, "all");
|
|
24829
|
-
axios$2.spread = requireSpread();
|
|
24830
|
-
axios$2.isAxiosError = requireIsAxiosError();
|
|
24831
|
-
axios$3.exports = axios$2;
|
|
24832
|
-
axios$3.exports.default = axios$2;
|
|
24833
|
-
var axiosExports = axios$3.exports;
|
|
24834
|
-
var axios = axiosExports;
|
|
24835
|
-
const axios$1 = /* @__PURE__ */ getDefaultExportFromCjs(axios);
|
|
24836
23520
|
function __awaiter$1(thisArg, _arguments, P2, generator) {
|
|
24837
23521
|
function adopt(value) {
|
|
24838
23522
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -27134,10 +25818,10 @@ var __async = (__this, __arguments, generator) => {
|
|
|
27134
25818
|
/* istanbul ignore next */
|
|
27135
25819
|
Object.getOwnPropertyNames
|
|
27136
25820
|
);
|
|
27137
|
-
function toPrimitive$
|
|
25821
|
+
function toPrimitive$3(value) {
|
|
27138
25822
|
return value === null ? null : typeof value === "object" ? "" + value : value;
|
|
27139
25823
|
}
|
|
27140
|
-
__name(toPrimitive$
|
|
25824
|
+
__name(toPrimitive$3, "toPrimitive$3");
|
|
27141
25825
|
function hasProp(target, prop2) {
|
|
27142
25826
|
return objectPrototype$2.hasOwnProperty.call(target, prop2);
|
|
27143
25827
|
}
|
|
@@ -28034,7 +26718,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
28034
26718
|
return this.name_ + "[" + this.value_ + "]";
|
|
28035
26719
|
}, "toString");
|
|
28036
26720
|
_proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
|
|
28037
|
-
return toPrimitive$
|
|
26721
|
+
return toPrimitive$3(this.get());
|
|
28038
26722
|
}, "valueOf");
|
|
28039
26723
|
_proto[_Symbol$toPrimitive] = function() {
|
|
28040
26724
|
return this.valueOf();
|
|
@@ -28219,7 +26903,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
28219
26903
|
return this.name_ + "[" + this.derivation.toString() + "]";
|
|
28220
26904
|
}, "toString");
|
|
28221
26905
|
_proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
|
|
28222
|
-
return toPrimitive$
|
|
26906
|
+
return toPrimitive$3(this.get());
|
|
28223
26907
|
}, "valueOf");
|
|
28224
26908
|
_proto[_Symbol$toPrimitive$1] = function() {
|
|
28225
26909
|
return this.valueOf();
|
|
@@ -33099,8 +31783,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
33099
31783
|
useSyncExternalStore = fn2;
|
|
33100
31784
|
}, "initializeConnect");
|
|
33101
31785
|
const NO_SUBSCRIPTION_ARRAY = [null, null];
|
|
33102
|
-
function useIsomorphicLayoutEffectWithArgs(effectFunc, effectArgs,
|
|
33103
|
-
useIsomorphicLayoutEffect$1(() => effectFunc(...effectArgs),
|
|
31786
|
+
function useIsomorphicLayoutEffectWithArgs(effectFunc, effectArgs, dependencies) {
|
|
31787
|
+
useIsomorphicLayoutEffect$1(() => effectFunc(...effectArgs), dependencies);
|
|
33104
31788
|
}
|
|
33105
31789
|
__name(useIsomorphicLayoutEffectWithArgs, "useIsomorphicLayoutEffectWithArgs");
|
|
33106
31790
|
function captureWrapperProps(lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, childPropsFromStoreUpdate, notifyNestedSubs) {
|
|
@@ -35921,9 +34605,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
35921
34605
|
}, "toArray");
|
|
35922
34606
|
var wrapError = /* @__PURE__ */ __name(function wrapError2(fn2, key2) {
|
|
35923
34607
|
return fn2 && function() {
|
|
35924
|
-
var
|
|
35925
|
-
for (var i2 = 0; i2 <
|
|
35926
|
-
var result =
|
|
34608
|
+
var validators = toArray$2(fn2);
|
|
34609
|
+
for (var i2 = 0; i2 < validators.length; i2++) {
|
|
34610
|
+
var result = validators[i2].apply(validators, arguments);
|
|
35927
34611
|
if (result) {
|
|
35928
34612
|
var _ref;
|
|
35929
34613
|
return _ref = {}, _ref[key2] = result, _ref;
|
|
@@ -36535,8 +35219,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
36535
35219
|
var toArray$1 = /* @__PURE__ */ __name(function toArray2(value) {
|
|
36536
35220
|
return Array.isArray(value) ? value : [value];
|
|
36537
35221
|
}, "toArray");
|
|
36538
|
-
var getError = /* @__PURE__ */ __name(function getError2(value, values, props,
|
|
36539
|
-
var array = toArray$1(
|
|
35222
|
+
var getError = /* @__PURE__ */ __name(function getError2(value, values, props, validators, name2) {
|
|
35223
|
+
var array = toArray$1(validators);
|
|
36540
35224
|
for (var i2 = 0; i2 < array.length; i2++) {
|
|
36541
35225
|
var error = array[i2](value, values, props, name2);
|
|
36542
35226
|
if (error) {
|
|
@@ -36544,13 +35228,13 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
36544
35228
|
}
|
|
36545
35229
|
}
|
|
36546
35230
|
}, "getError");
|
|
36547
|
-
function generateValidator(
|
|
35231
|
+
function generateValidator(validators, _ref) {
|
|
36548
35232
|
var getIn2 = _ref.getIn;
|
|
36549
35233
|
return function(values, props) {
|
|
36550
35234
|
var errors = {};
|
|
36551
|
-
Object.keys(
|
|
35235
|
+
Object.keys(validators).forEach(function(name2) {
|
|
36552
35236
|
var value = getIn2(values, name2);
|
|
36553
|
-
var error = getError(value, values, props,
|
|
35237
|
+
var error = getError(value, values, props, validators[name2], name2);
|
|
36554
35238
|
if (error) {
|
|
36555
35239
|
errors = plain.setIn(errors, name2, error);
|
|
36556
35240
|
}
|
|
@@ -36901,18 +35585,18 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
36901
35585
|
return toJS(keySeq);
|
|
36902
35586
|
};
|
|
36903
35587
|
_this.getValidators = function() {
|
|
36904
|
-
var
|
|
35588
|
+
var validators = {};
|
|
36905
35589
|
Object.keys(_this.fieldValidators).forEach(function(name2) {
|
|
36906
35590
|
var validator2 = _this.fieldValidators[name2]();
|
|
36907
35591
|
if (validator2) {
|
|
36908
|
-
|
|
35592
|
+
validators[name2] = validator2;
|
|
36909
35593
|
}
|
|
36910
35594
|
});
|
|
36911
|
-
return
|
|
35595
|
+
return validators;
|
|
36912
35596
|
};
|
|
36913
35597
|
_this.generateValidator = function() {
|
|
36914
|
-
var
|
|
36915
|
-
return Object.keys(
|
|
35598
|
+
var validators = _this.getValidators();
|
|
35599
|
+
return Object.keys(validators).length ? generateValidator(validators, structure2) : void 0;
|
|
36916
35600
|
};
|
|
36917
35601
|
_this.getWarners = function() {
|
|
36918
35602
|
var warners = {};
|
|
@@ -42810,7 +41494,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42810
41494
|
return baseRest2(func, start2);
|
|
42811
41495
|
}
|
|
42812
41496
|
__name(rest, "rest");
|
|
42813
|
-
function
|
|
41497
|
+
function spread(func, start2) {
|
|
42814
41498
|
if (typeof func != "function") {
|
|
42815
41499
|
throw new TypeError2(FUNC_ERROR_TEXT2);
|
|
42816
41500
|
}
|
|
@@ -42823,7 +41507,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42823
41507
|
return apply2(func, this, otherArgs);
|
|
42824
41508
|
});
|
|
42825
41509
|
}
|
|
42826
|
-
__name(
|
|
41510
|
+
__name(spread, "spread");
|
|
42827
41511
|
function throttle2(func, wait, options) {
|
|
42828
41512
|
var leading = true, trailing = true;
|
|
42829
41513
|
if (typeof func != "function") {
|
|
@@ -42892,7 +41576,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42892
41576
|
return isObjectLike2(value) && hasOwnProperty2.call(value, "callee") && !propertyIsEnumerable2.call(value, "callee");
|
|
42893
41577
|
};
|
|
42894
41578
|
var isArray2 = Array2.isArray;
|
|
42895
|
-
var
|
|
41579
|
+
var isArrayBuffer = nodeIsArrayBuffer ? baseUnary2(nodeIsArrayBuffer) : baseIsArrayBuffer;
|
|
42896
41580
|
function isArrayLike2(value) {
|
|
42897
41581
|
return value != null && isLength2(value.length) && !isFunction2(value);
|
|
42898
41582
|
}
|
|
@@ -44062,7 +42746,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
44062
42746
|
lodash2.sortedUniq = sortedUniq;
|
|
44063
42747
|
lodash2.sortedUniqBy = sortedUniqBy;
|
|
44064
42748
|
lodash2.split = split;
|
|
44065
|
-
lodash2.spread =
|
|
42749
|
+
lodash2.spread = spread;
|
|
44066
42750
|
lodash2.tail = tail;
|
|
44067
42751
|
lodash2.take = take;
|
|
44068
42752
|
lodash2.takeRight = takeRight2;
|
|
@@ -44151,7 +42835,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
44151
42835
|
lodash2.invoke = invoke;
|
|
44152
42836
|
lodash2.isArguments = isArguments2;
|
|
44153
42837
|
lodash2.isArray = isArray2;
|
|
44154
|
-
lodash2.isArrayBuffer =
|
|
42838
|
+
lodash2.isArrayBuffer = isArrayBuffer;
|
|
44155
42839
|
lodash2.isArrayLike = isArrayLike2;
|
|
44156
42840
|
lodash2.isArrayLikeObject = isArrayLikeObject2;
|
|
44157
42841
|
lodash2.isBoolean = isBoolean2;
|
|
@@ -44889,20 +43573,11 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
44889
43573
|
return true;
|
|
44890
43574
|
}
|
|
44891
43575
|
}, "_fails");
|
|
44892
|
-
var _descriptors
|
|
44893
|
-
|
|
44894
|
-
|
|
44895
|
-
|
|
44896
|
-
|
|
44897
|
-
hasRequired_descriptors = 1;
|
|
44898
|
-
_descriptors = !_fails(function() {
|
|
44899
|
-
return Object.defineProperty({}, "a", { get: function() {
|
|
44900
|
-
return 7;
|
|
44901
|
-
} }).a != 7;
|
|
44902
|
-
});
|
|
44903
|
-
return _descriptors;
|
|
44904
|
-
}
|
|
44905
|
-
__name(require_descriptors, "require_descriptors");
|
|
43576
|
+
var _descriptors = !_fails(function() {
|
|
43577
|
+
return Object.defineProperty({}, "a", { get: function() {
|
|
43578
|
+
return 7;
|
|
43579
|
+
} }).a != 7;
|
|
43580
|
+
});
|
|
44906
43581
|
var _domCreate;
|
|
44907
43582
|
var hasRequired_domCreate;
|
|
44908
43583
|
function require_domCreate() {
|
|
@@ -44918,20 +43593,11 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
44918
43593
|
return _domCreate;
|
|
44919
43594
|
}
|
|
44920
43595
|
__name(require_domCreate, "require_domCreate");
|
|
44921
|
-
var _ie8DomDefine
|
|
44922
|
-
|
|
44923
|
-
|
|
44924
|
-
|
|
44925
|
-
|
|
44926
|
-
hasRequired_ie8DomDefine = 1;
|
|
44927
|
-
_ie8DomDefine = !require_descriptors() && !_fails(function() {
|
|
44928
|
-
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
44929
|
-
return 7;
|
|
44930
|
-
} }).a != 7;
|
|
44931
|
-
});
|
|
44932
|
-
return _ie8DomDefine;
|
|
44933
|
-
}
|
|
44934
|
-
__name(require_ie8DomDefine, "require_ie8DomDefine");
|
|
43596
|
+
var _ie8DomDefine = !_descriptors && !_fails(function() {
|
|
43597
|
+
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
43598
|
+
return 7;
|
|
43599
|
+
} }).a != 7;
|
|
43600
|
+
});
|
|
44935
43601
|
var isObject$6 = _isObject;
|
|
44936
43602
|
var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
|
|
44937
43603
|
if (!isObject$6(it))
|
|
@@ -44945,33 +43611,25 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
44945
43611
|
return val2;
|
|
44946
43612
|
throw TypeError("Can't convert object to primitive value");
|
|
44947
43613
|
}, "_toPrimitive$1");
|
|
44948
|
-
var
|
|
44949
|
-
|
|
44950
|
-
|
|
44951
|
-
|
|
44952
|
-
|
|
44953
|
-
|
|
44954
|
-
|
|
44955
|
-
|
|
44956
|
-
|
|
44957
|
-
|
|
44958
|
-
|
|
44959
|
-
|
|
44960
|
-
|
|
44961
|
-
|
|
44962
|
-
|
|
44963
|
-
|
|
44964
|
-
|
|
44965
|
-
|
|
44966
|
-
|
|
44967
|
-
throw TypeError("Accessors not supported!");
|
|
44968
|
-
if ("value" in Attributes)
|
|
44969
|
-
O2[P2] = Attributes.value;
|
|
44970
|
-
return O2;
|
|
44971
|
-
}, "defineProperty");
|
|
44972
|
-
return _objectDp;
|
|
44973
|
-
}
|
|
44974
|
-
__name(require_objectDp, "require_objectDp");
|
|
43614
|
+
var anObject$5 = _anObject;
|
|
43615
|
+
var IE8_DOM_DEFINE$1 = _ie8DomDefine;
|
|
43616
|
+
var toPrimitive$2 = _toPrimitive$1;
|
|
43617
|
+
var dP$3 = Object.defineProperty;
|
|
43618
|
+
_objectDp.f = _descriptors ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
|
|
43619
|
+
anObject$5(O2);
|
|
43620
|
+
P2 = toPrimitive$2(P2, true);
|
|
43621
|
+
anObject$5(Attributes);
|
|
43622
|
+
if (IE8_DOM_DEFINE$1)
|
|
43623
|
+
try {
|
|
43624
|
+
return dP$3(O2, P2, Attributes);
|
|
43625
|
+
} catch (e2) {
|
|
43626
|
+
}
|
|
43627
|
+
if ("get" in Attributes || "set" in Attributes)
|
|
43628
|
+
throw TypeError("Accessors not supported!");
|
|
43629
|
+
if ("value" in Attributes)
|
|
43630
|
+
O2[P2] = Attributes.value;
|
|
43631
|
+
return O2;
|
|
43632
|
+
}, "defineProperty");
|
|
44975
43633
|
var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
44976
43634
|
return {
|
|
44977
43635
|
enumerable: !(bitmap & 1),
|
|
@@ -44980,10 +43638,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
44980
43638
|
value
|
|
44981
43639
|
};
|
|
44982
43640
|
}, "_propertyDesc");
|
|
44983
|
-
var dP$
|
|
43641
|
+
var dP$2 = _objectDp;
|
|
44984
43642
|
var createDesc$3 = _propertyDesc;
|
|
44985
|
-
var _hide =
|
|
44986
|
-
return dP$
|
|
43643
|
+
var _hide = _descriptors ? function(object2, key2, value) {
|
|
43644
|
+
return dP$2.f(object2, key2, createDesc$3(1, value));
|
|
44987
43645
|
} : function(object2, key2, value) {
|
|
44988
43646
|
object2[key2] = value;
|
|
44989
43647
|
return object2;
|
|
@@ -44997,7 +43655,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
44997
43655
|
var ctx$1 = _ctx;
|
|
44998
43656
|
var hide$2 = _hide;
|
|
44999
43657
|
var has$d = _has;
|
|
45000
|
-
var PROTOTYPE$
|
|
43658
|
+
var PROTOTYPE$2 = "prototype";
|
|
45001
43659
|
var $export$8 = /* @__PURE__ */ __name(function(type, name2, source) {
|
|
45002
43660
|
var IS_FORCED = type & $export$8.F;
|
|
45003
43661
|
var IS_GLOBAL = type & $export$8.G;
|
|
@@ -45006,8 +43664,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45006
43664
|
var IS_BIND = type & $export$8.B;
|
|
45007
43665
|
var IS_WRAP = type & $export$8.W;
|
|
45008
43666
|
var exports3 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
|
|
45009
|
-
var expProto = exports3[PROTOTYPE$
|
|
45010
|
-
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name2] : (global$4[name2] || {})[PROTOTYPE$
|
|
43667
|
+
var expProto = exports3[PROTOTYPE$2];
|
|
43668
|
+
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name2] : (global$4[name2] || {})[PROTOTYPE$2];
|
|
45011
43669
|
var key2, own2, out;
|
|
45012
43670
|
if (IS_GLOBAL)
|
|
45013
43671
|
source = name2;
|
|
@@ -45031,7 +43689,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45031
43689
|
}
|
|
45032
43690
|
return C2.apply(this, arguments);
|
|
45033
43691
|
}, "F");
|
|
45034
|
-
F2[PROTOTYPE$
|
|
43692
|
+
F2[PROTOTYPE$2] = C2[PROTOTYPE$2];
|
|
45035
43693
|
return F2;
|
|
45036
43694
|
}(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
|
|
45037
43695
|
if (IS_PROTO) {
|
|
@@ -45145,14 +43803,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45145
43803
|
var has$c = _has;
|
|
45146
43804
|
var toIObject$4 = _toIobject;
|
|
45147
43805
|
var arrayIndexOf = _arrayIncludes$1(false);
|
|
45148
|
-
var IE_PROTO$
|
|
43806
|
+
var IE_PROTO$2 = _sharedKey("IE_PROTO");
|
|
45149
43807
|
var _objectKeysInternal = /* @__PURE__ */ __name(function(object2, names2) {
|
|
45150
43808
|
var O2 = toIObject$4(object2);
|
|
45151
43809
|
var i2 = 0;
|
|
45152
43810
|
var result = [];
|
|
45153
43811
|
var key2;
|
|
45154
43812
|
for (key2 in O2)
|
|
45155
|
-
if (key2 != IE_PROTO$
|
|
43813
|
+
if (key2 != IE_PROTO$2)
|
|
45156
43814
|
has$c(O2, key2) && result.push(key2);
|
|
45157
43815
|
while (names2.length > i2)
|
|
45158
43816
|
if (has$c(O2, key2 = names2[i2++])) {
|
|
@@ -45161,10 +43819,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45161
43819
|
return result;
|
|
45162
43820
|
}, "_objectKeysInternal");
|
|
45163
43821
|
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
|
45164
|
-
var $keys$
|
|
45165
|
-
var enumBugKeys = _enumBugKeys;
|
|
43822
|
+
var $keys$3 = _objectKeysInternal;
|
|
43823
|
+
var enumBugKeys$1 = _enumBugKeys;
|
|
45166
43824
|
var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys2(O2) {
|
|
45167
|
-
return $keys$
|
|
43825
|
+
return $keys$3(O2, enumBugKeys$1);
|
|
45168
43826
|
}, "keys");
|
|
45169
43827
|
var _objectGops = {};
|
|
45170
43828
|
_objectGops.f = Object.getOwnPropertySymbols;
|
|
@@ -45188,7 +43846,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45188
43846
|
if (hasRequired_objectAssign)
|
|
45189
43847
|
return _objectAssign;
|
|
45190
43848
|
hasRequired_objectAssign = 1;
|
|
45191
|
-
var DESCRIPTORS2 =
|
|
43849
|
+
var DESCRIPTORS2 = _descriptors;
|
|
45192
43850
|
var getKeys2 = _objectKeys;
|
|
45193
43851
|
var gOPS2 = _objectGops;
|
|
45194
43852
|
var pIE2 = require_objectPie();
|
|
@@ -45254,28 +43912,19 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45254
43912
|
}, "_iterStep");
|
|
45255
43913
|
var _iterators = {};
|
|
45256
43914
|
var _redefine = _hide;
|
|
45257
|
-
var
|
|
45258
|
-
var
|
|
45259
|
-
|
|
45260
|
-
|
|
45261
|
-
|
|
45262
|
-
|
|
45263
|
-
var
|
|
45264
|
-
var
|
|
45265
|
-
var
|
|
45266
|
-
|
|
45267
|
-
|
|
45268
|
-
|
|
45269
|
-
|
|
45270
|
-
var i2 = 0;
|
|
45271
|
-
var P2;
|
|
45272
|
-
while (length > i2)
|
|
45273
|
-
dP2.f(O2, P2 = keys2[i2++], Properties2[P2]);
|
|
45274
|
-
return O2;
|
|
45275
|
-
}, "defineProperties");
|
|
45276
|
-
return _objectDps;
|
|
45277
|
-
}
|
|
45278
|
-
__name(require_objectDps, "require_objectDps");
|
|
43915
|
+
var dP$1 = _objectDp;
|
|
43916
|
+
var anObject$4 = _anObject;
|
|
43917
|
+
var getKeys$1 = _objectKeys;
|
|
43918
|
+
var _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties2) {
|
|
43919
|
+
anObject$4(O2);
|
|
43920
|
+
var keys2 = getKeys$1(Properties2);
|
|
43921
|
+
var length = keys2.length;
|
|
43922
|
+
var i2 = 0;
|
|
43923
|
+
var P2;
|
|
43924
|
+
while (length > i2)
|
|
43925
|
+
dP$1.f(O2, P2 = keys2[i2++], Properties2[P2]);
|
|
43926
|
+
return O2;
|
|
43927
|
+
}, "defineProperties");
|
|
45279
43928
|
var _html;
|
|
45280
43929
|
var hasRequired_html;
|
|
45281
43930
|
function require_html() {
|
|
@@ -45287,51 +43936,42 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45287
43936
|
return _html;
|
|
45288
43937
|
}
|
|
45289
43938
|
__name(require_html, "require_html");
|
|
45290
|
-
var
|
|
45291
|
-
var
|
|
45292
|
-
|
|
45293
|
-
|
|
45294
|
-
|
|
45295
|
-
|
|
45296
|
-
|
|
45297
|
-
|
|
45298
|
-
var
|
|
45299
|
-
var
|
|
45300
|
-
var
|
|
45301
|
-
|
|
45302
|
-
var
|
|
45303
|
-
|
|
45304
|
-
|
|
45305
|
-
|
|
45306
|
-
|
|
45307
|
-
|
|
45308
|
-
|
|
45309
|
-
|
|
45310
|
-
|
|
45311
|
-
|
|
45312
|
-
|
|
45313
|
-
|
|
45314
|
-
|
|
45315
|
-
|
|
45316
|
-
|
|
45317
|
-
|
|
45318
|
-
|
|
45319
|
-
|
|
45320
|
-
|
|
45321
|
-
|
|
45322
|
-
|
|
45323
|
-
|
|
45324
|
-
|
|
45325
|
-
|
|
45326
|
-
Empty[PROTOTYPE2] = null;
|
|
45327
|
-
result[IE_PROTO2] = O2;
|
|
45328
|
-
} else
|
|
45329
|
-
result = createDict();
|
|
45330
|
-
return Properties2 === void 0 ? result : dPs(result, Properties2);
|
|
45331
|
-
}, "create");
|
|
45332
|
-
return _objectCreate;
|
|
45333
|
-
}
|
|
45334
|
-
__name(require_objectCreate, "require_objectCreate");
|
|
43939
|
+
var anObject$3 = _anObject;
|
|
43940
|
+
var dPs = _objectDps;
|
|
43941
|
+
var enumBugKeys = _enumBugKeys;
|
|
43942
|
+
var IE_PROTO$1 = _sharedKey("IE_PROTO");
|
|
43943
|
+
var Empty = /* @__PURE__ */ __name(function() {
|
|
43944
|
+
}, "Empty");
|
|
43945
|
+
var PROTOTYPE$1 = "prototype";
|
|
43946
|
+
var createDict = /* @__PURE__ */ __name(function() {
|
|
43947
|
+
var iframe = require_domCreate()("iframe");
|
|
43948
|
+
var i2 = enumBugKeys.length;
|
|
43949
|
+
var lt = "<";
|
|
43950
|
+
var gt = ">";
|
|
43951
|
+
var iframeDocument;
|
|
43952
|
+
iframe.style.display = "none";
|
|
43953
|
+
require_html().appendChild(iframe);
|
|
43954
|
+
iframe.src = "javascript:";
|
|
43955
|
+
iframeDocument = iframe.contentWindow.document;
|
|
43956
|
+
iframeDocument.open();
|
|
43957
|
+
iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
|
|
43958
|
+
iframeDocument.close();
|
|
43959
|
+
createDict = iframeDocument.F;
|
|
43960
|
+
while (i2--)
|
|
43961
|
+
delete createDict[PROTOTYPE$1][enumBugKeys[i2]];
|
|
43962
|
+
return createDict();
|
|
43963
|
+
}, "createDict");
|
|
43964
|
+
var _objectCreate = Object.create || /* @__PURE__ */ __name(function create2(O2, Properties2) {
|
|
43965
|
+
var result;
|
|
43966
|
+
if (O2 !== null) {
|
|
43967
|
+
Empty[PROTOTYPE$1] = anObject$3(O2);
|
|
43968
|
+
result = new Empty();
|
|
43969
|
+
Empty[PROTOTYPE$1] = null;
|
|
43970
|
+
result[IE_PROTO$1] = O2;
|
|
43971
|
+
} else
|
|
43972
|
+
result = createDict();
|
|
43973
|
+
return Properties2 === void 0 ? result : dPs(result, Properties2);
|
|
43974
|
+
}, "create");
|
|
45335
43975
|
var _wks = { exports: {} };
|
|
45336
43976
|
var store$2 = _sharedExports("wks");
|
|
45337
43977
|
var uid$1 = _uid;
|
|
@@ -45342,14 +43982,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45342
43982
|
};
|
|
45343
43983
|
$exports.store = store$2;
|
|
45344
43984
|
var _wksExports = _wks.exports;
|
|
45345
|
-
var def =
|
|
43985
|
+
var def = _objectDp.f;
|
|
45346
43986
|
var has$b = _has;
|
|
45347
43987
|
var TAG$1 = _wksExports("toStringTag");
|
|
45348
43988
|
var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
|
|
45349
43989
|
if (it && !has$b(it = stat ? it : it.prototype, TAG$1))
|
|
45350
43990
|
def(it, TAG$1, { configurable: true, value: tag });
|
|
45351
43991
|
}, "_setToStringTag");
|
|
45352
|
-
var create$4 =
|
|
43992
|
+
var create$4 = _objectCreate;
|
|
45353
43993
|
var descriptor = _propertyDesc;
|
|
45354
43994
|
var setToStringTag$2 = _setToStringTag;
|
|
45355
43995
|
var IteratorPrototype = {};
|
|
@@ -45615,7 +44255,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45615
44255
|
var _isArrayIter = /* @__PURE__ */ __name(function(it) {
|
|
45616
44256
|
return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
45617
44257
|
}, "_isArrayIter");
|
|
45618
|
-
var $defineProperty$1 =
|
|
44258
|
+
var $defineProperty$1 = _objectDp;
|
|
45619
44259
|
var createDesc$2 = _propertyDesc;
|
|
45620
44260
|
var _createProperty = /* @__PURE__ */ __name(function(object2, index2, value) {
|
|
45621
44261
|
if (index2 in object2)
|
|
@@ -45744,7 +44384,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45744
44384
|
}
|
|
45745
44385
|
}, "_default$8");
|
|
45746
44386
|
var $export$3 = _export;
|
|
45747
|
-
$export$3($export$3.S + $export$3.F * !
|
|
44387
|
+
$export$3($export$3.S + $export$3.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
|
|
45748
44388
|
var $Object$1 = _coreExports.Object;
|
|
45749
44389
|
var defineProperty$6 = /* @__PURE__ */ __name(function defineProperty2(it, key2, desc) {
|
|
45750
44390
|
return $Object$1.defineProperty(it, key2, desc);
|
|
@@ -45785,7 +44425,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45785
44425
|
var META$1 = _uid("meta");
|
|
45786
44426
|
var isObject$5 = _isObject;
|
|
45787
44427
|
var has$9 = _has;
|
|
45788
|
-
var setDesc =
|
|
44428
|
+
var setDesc = _objectDp.f;
|
|
45789
44429
|
var id$1 = 0;
|
|
45790
44430
|
var isExtensible = Object.isExtensible || function() {
|
|
45791
44431
|
return true;
|
|
@@ -45838,7 +44478,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45838
44478
|
var _metaExports = _meta.exports;
|
|
45839
44479
|
var core = _coreExports;
|
|
45840
44480
|
var wksExt$1 = _wksExt;
|
|
45841
|
-
var defineProperty$4 =
|
|
44481
|
+
var defineProperty$4 = _objectDp.f;
|
|
45842
44482
|
var _wksDefine = /* @__PURE__ */ __name(function(name2) {
|
|
45843
44483
|
var $Symbol2 = core.Symbol || (core.Symbol = {});
|
|
45844
44484
|
if (name2.charAt(0) != "_" && !(name2 in $Symbol2))
|
|
@@ -45867,21 +44507,13 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45867
44507
|
}, "isArray");
|
|
45868
44508
|
var _objectGopnExt = {};
|
|
45869
44509
|
var _objectGopn = {};
|
|
45870
|
-
var
|
|
45871
|
-
|
|
45872
|
-
|
|
45873
|
-
|
|
45874
|
-
|
|
45875
|
-
var $keys2 = _objectKeysInternal;
|
|
45876
|
-
var hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
45877
|
-
_objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames2(O2) {
|
|
45878
|
-
return $keys2(O2, hiddenKeys);
|
|
45879
|
-
}, "getOwnPropertyNames");
|
|
45880
|
-
return _objectGopn;
|
|
45881
|
-
}
|
|
45882
|
-
__name(require_objectGopn, "require_objectGopn");
|
|
44510
|
+
var $keys$2 = _objectKeysInternal;
|
|
44511
|
+
var hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
44512
|
+
_objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames2(O2) {
|
|
44513
|
+
return $keys$2(O2, hiddenKeys);
|
|
44514
|
+
}, "getOwnPropertyNames");
|
|
45883
44515
|
var toIObject$2 = _toIobject;
|
|
45884
|
-
var gOPN$1 =
|
|
44516
|
+
var gOPN$1 = _objectGopn.f;
|
|
45885
44517
|
var toString$3 = {}.toString;
|
|
45886
44518
|
var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
|
|
45887
44519
|
var getWindowNames = /* @__PURE__ */ __name(function(it) {
|
|
@@ -45900,9 +44532,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45900
44532
|
var toIObject$1 = _toIobject;
|
|
45901
44533
|
var toPrimitive$1 = _toPrimitive$1;
|
|
45902
44534
|
var has$8 = _has;
|
|
45903
|
-
var IE8_DOM_DEFINE =
|
|
44535
|
+
var IE8_DOM_DEFINE = _ie8DomDefine;
|
|
45904
44536
|
var gOPD$2 = Object.getOwnPropertyDescriptor;
|
|
45905
|
-
_objectGopd.f =
|
|
44537
|
+
_objectGopd.f = _descriptors ? gOPD$2 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor2(O2, P2) {
|
|
45906
44538
|
O2 = toIObject$1(O2);
|
|
45907
44539
|
P2 = toPrimitive$1(P2, true);
|
|
45908
44540
|
if (IE8_DOM_DEFINE)
|
|
@@ -45915,7 +44547,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45915
44547
|
}, "getOwnPropertyDescriptor");
|
|
45916
44548
|
var global$1 = _globalExports;
|
|
45917
44549
|
var has$7 = _has;
|
|
45918
|
-
var DESCRIPTORS =
|
|
44550
|
+
var DESCRIPTORS = _descriptors;
|
|
45919
44551
|
var $export$2 = _export;
|
|
45920
44552
|
var redefine = _redefine;
|
|
45921
44553
|
var META = _metaExports.KEY;
|
|
@@ -45934,11 +44566,11 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
45934
44566
|
var toIObject = _toIobject;
|
|
45935
44567
|
var toPrimitive = _toPrimitive$1;
|
|
45936
44568
|
var createDesc = _propertyDesc;
|
|
45937
|
-
var _create$1 =
|
|
44569
|
+
var _create$1 = _objectCreate;
|
|
45938
44570
|
var gOPNExt = _objectGopnExt;
|
|
45939
44571
|
var $GOPD = _objectGopd;
|
|
45940
44572
|
var $GOPS = _objectGops;
|
|
45941
|
-
var $DP =
|
|
44573
|
+
var $DP = _objectDp;
|
|
45942
44574
|
var $keys$1 = _objectKeys;
|
|
45943
44575
|
var gOPD$1 = $GOPD.f;
|
|
45944
44576
|
var dP = $DP.f;
|
|
@@ -46074,7 +44706,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
46074
44706
|
}, "toString"));
|
|
46075
44707
|
$GOPD.f = $getOwnPropertyDescriptor;
|
|
46076
44708
|
$DP.f = $defineProperty;
|
|
46077
|
-
|
|
44709
|
+
_objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
|
|
46078
44710
|
require_objectPie().f = $propertyIsEnumerable;
|
|
46079
44711
|
$GOPS.f = $getOwnPropertySymbols;
|
|
46080
44712
|
if (DESCRIPTORS && !_library) {
|
|
@@ -46241,7 +44873,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
46241
44873
|
var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
|
|
46242
44874
|
var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
|
|
46243
44875
|
var $export = _export;
|
|
46244
|
-
$export($export.S, "Object", { create:
|
|
44876
|
+
$export($export.S, "Object", { create: _objectCreate });
|
|
46245
44877
|
var $Object = _coreExports.Object;
|
|
46246
44878
|
var create$3 = /* @__PURE__ */ __name(function create2(P2, D2) {
|
|
46247
44879
|
return $Object.create(P2, D2);
|
|
@@ -58155,8 +56787,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
58155
56787
|
}
|
|
58156
56788
|
__name(listLoose, "listLoose");
|
|
58157
56789
|
function listItemLoose(node2) {
|
|
58158
|
-
const
|
|
58159
|
-
return
|
|
56790
|
+
const spread = node2.spread;
|
|
56791
|
+
return spread === void 0 || spread === null ? node2.children.length > 1 : spread;
|
|
58160
56792
|
}
|
|
58161
56793
|
__name(listItemLoose, "listItemLoose");
|
|
58162
56794
|
function list(state2, node2) {
|
|
@@ -63408,7 +62040,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
63408
62040
|
if (itemsEqualProp === void 0 || itemA == null || itemB == null) {
|
|
63409
62041
|
return itemA === itemB;
|
|
63410
62042
|
}
|
|
63411
|
-
if (isFunction$
|
|
62043
|
+
if (isFunction$a(itemsEqualProp)) {
|
|
63412
62044
|
return itemsEqualProp(itemA, itemB);
|
|
63413
62045
|
} else {
|
|
63414
62046
|
return itemA[itemsEqualProp] === itemB[itemsEqualProp];
|
|
@@ -63821,7 +62453,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
63821
62453
|
__name(pxToNumber, "pxToNumber");
|
|
63822
62454
|
function getMatchingItem(query, _a2) {
|
|
63823
62455
|
var items = _a2.items, itemPredicate = _a2.itemPredicate;
|
|
63824
|
-
if (isFunction$
|
|
62456
|
+
if (isFunction$a(itemPredicate)) {
|
|
63825
62457
|
for (var i2 = 0; i2 < items.length; i2++) {
|
|
63826
62458
|
var item = items[i2];
|
|
63827
62459
|
if (itemPredicate(query, item, i2, true)) {
|
|
@@ -63834,9 +62466,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
63834
62466
|
__name(getMatchingItem, "getMatchingItem");
|
|
63835
62467
|
function getFilteredItems(query, _a2) {
|
|
63836
62468
|
var items = _a2.items, itemPredicate = _a2.itemPredicate, itemListPredicate2 = _a2.itemListPredicate;
|
|
63837
|
-
if (isFunction$
|
|
62469
|
+
if (isFunction$a(itemListPredicate2)) {
|
|
63838
62470
|
return itemListPredicate2(query, items);
|
|
63839
|
-
} else if (isFunction$
|
|
62471
|
+
} else if (isFunction$a(itemPredicate)) {
|
|
63840
62472
|
return items.filter(function(item, index2) {
|
|
63841
62473
|
return itemPredicate(query, item, index2);
|
|
63842
62474
|
});
|
|
@@ -63856,7 +62488,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
63856
62488
|
function isItemDisabled(item, index2, itemDisabled2) {
|
|
63857
62489
|
if (itemDisabled2 == null || item == null) {
|
|
63858
62490
|
return false;
|
|
63859
|
-
} else if (isFunction$
|
|
62491
|
+
} else if (isFunction$a(itemDisabled2)) {
|
|
63860
62492
|
return itemDisabled2(item, index2);
|
|
63861
62493
|
}
|
|
63862
62494
|
return !!item[itemDisabled2];
|
|
@@ -82860,8 +81492,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
82860
81492
|
}, [signalRef.current]);
|
|
82861
81493
|
}
|
|
82862
81494
|
__name(useDeepCompareMemoize, "useDeepCompareMemoize");
|
|
82863
|
-
function useDeepCompareEffect(callback2,
|
|
82864
|
-
return reactExports.useEffect(callback2, useDeepCompareMemoize(
|
|
81495
|
+
function useDeepCompareEffect(callback2, dependencies) {
|
|
81496
|
+
return reactExports.useEffect(callback2, useDeepCompareMemoize(dependencies));
|
|
82865
81497
|
}
|
|
82866
81498
|
__name(useDeepCompareEffect, "useDeepCompareEffect");
|
|
82867
81499
|
const _TgSuggest = class _TgSuggest extends React$2.Component {
|
|
@@ -101631,8 +100263,6 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
101631
100263
|
fileLimit,
|
|
101632
100264
|
readBeforeUpload,
|
|
101633
100265
|
//read the file using the browser's FileReader before passing it to onChange and/or uploading it
|
|
101634
|
-
uploadInBulk,
|
|
101635
|
-
//tnr: not yet implemented
|
|
101636
100266
|
showUploadList = true,
|
|
101637
100267
|
beforeUpload,
|
|
101638
100268
|
fileList,
|
|
@@ -101656,8 +100286,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
101656
100286
|
initializeForm,
|
|
101657
100287
|
showFilesCount,
|
|
101658
100288
|
threeDotMenuItems,
|
|
101659
|
-
onPreviewClick
|
|
101660
|
-
axiosInstance = window.api || axios$1
|
|
100289
|
+
onPreviewClick
|
|
101661
100290
|
}) {
|
|
101662
100291
|
var _a2, _b2, _c2, _d2, _e, _f;
|
|
101663
100292
|
const validateAgainstSchemaStore = reactExports.useRef(new ValidateAgainstSchema());
|
|
@@ -101861,45 +100490,45 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
101861
100490
|
if (!keepGoing)
|
|
101862
100491
|
return;
|
|
101863
100492
|
if (action2) {
|
|
101864
|
-
|
|
101865
|
-
|
|
101866
|
-
|
|
101867
|
-
|
|
101868
|
-
|
|
101869
|
-
|
|
101870
|
-
const
|
|
101871
|
-
|
|
101872
|
-
|
|
101873
|
-
|
|
101874
|
-
|
|
101875
|
-
|
|
101876
|
-
const fileToReturn = __spreadValues(__spreadValues({}, file), res.data[0]);
|
|
101877
|
-
if (fileToReturn.id === fileToUpload.id) {
|
|
101878
|
-
fileToReturn.loading = false;
|
|
101879
|
-
}
|
|
101880
|
-
return fileToReturn;
|
|
101881
|
-
});
|
|
101882
|
-
onChange(cleanedFileList);
|
|
101883
|
-
});
|
|
101884
|
-
}).catch(function(err2) {
|
|
101885
|
-
console.error("Error uploading file:", err2);
|
|
101886
|
-
responses.push(__spreadProps(__spreadValues({}, fileToUpload), {
|
|
101887
|
-
error: err2 && err2.msg ? err2.msg : err2
|
|
101888
|
-
}));
|
|
100493
|
+
const responses = [];
|
|
100494
|
+
yield Promise.all(
|
|
100495
|
+
acceptedFiles.map((fileToUpload) => __async(this, null, function* () {
|
|
100496
|
+
const data = new FormData();
|
|
100497
|
+
data.append("file", fileToUpload);
|
|
100498
|
+
try {
|
|
100499
|
+
const res = yield window.api ? window.api.post(action2, data) : fetch(action2, {
|
|
100500
|
+
method: "POST",
|
|
100501
|
+
body: data
|
|
100502
|
+
});
|
|
100503
|
+
responses.push(res.data && res.data[0]);
|
|
100504
|
+
onFileSuccess(res.data[0]).then(() => {
|
|
101889
100505
|
cleanedFileList = cleanedFileList.map((file) => {
|
|
101890
|
-
const fileToReturn = __spreadValues({}, file);
|
|
100506
|
+
const fileToReturn = __spreadValues(__spreadValues({}, file), res.data[0]);
|
|
101891
100507
|
if (fileToReturn.id === fileToUpload.id) {
|
|
101892
100508
|
fileToReturn.loading = false;
|
|
101893
|
-
fileToReturn.error = true;
|
|
101894
100509
|
}
|
|
101895
100510
|
return fileToReturn;
|
|
101896
100511
|
});
|
|
101897
100512
|
onChange(cleanedFileList);
|
|
101898
100513
|
});
|
|
101899
|
-
})
|
|
101900
|
-
|
|
101901
|
-
|
|
101902
|
-
|
|
100514
|
+
} catch (err2) {
|
|
100515
|
+
console.error("Error uploading file:", err2);
|
|
100516
|
+
responses.push(__spreadProps(__spreadValues({}, fileToUpload), {
|
|
100517
|
+
error: err2 && err2.msg ? err2.msg : err2
|
|
100518
|
+
}));
|
|
100519
|
+
cleanedFileList = cleanedFileList.map((file) => {
|
|
100520
|
+
const fileToReturn = __spreadValues({}, file);
|
|
100521
|
+
if (fileToReturn.id === fileToUpload.id) {
|
|
100522
|
+
fileToReturn.loading = false;
|
|
100523
|
+
fileToReturn.error = true;
|
|
100524
|
+
}
|
|
100525
|
+
return fileToReturn;
|
|
100526
|
+
});
|
|
100527
|
+
onChange(cleanedFileList);
|
|
100528
|
+
}
|
|
100529
|
+
}))
|
|
100530
|
+
);
|
|
100531
|
+
onFieldSubmit(responses);
|
|
101903
100532
|
} else {
|
|
101904
100533
|
onChange(
|
|
101905
100534
|
cleanedFileList.map(function(file) {
|
|
@@ -137207,7 +135836,7 @@ ${seq.sequence}
|
|
|
137207
135836
|
const newPanels = removeItem(group, indexToClose);
|
|
137208
135837
|
let mostRecentIndex = 0;
|
|
137209
135838
|
newPanels.forEach((p2) => {
|
|
137210
|
-
if (p2.lastActive > newPanels[mostRecentIndex].lastActive) {
|
|
135839
|
+
if ((p2.lastActive || 0) > (newPanels[mostRecentIndex].lastActive || 0)) {
|
|
137211
135840
|
mostRecentIndex = newPanels.indexOf(p2);
|
|
137212
135841
|
}
|
|
137213
135842
|
});
|
|
@@ -137314,7 +135943,7 @@ ${seq.sequence}
|
|
|
137314
135943
|
nextState.forEach((pg2) => {
|
|
137315
135944
|
pg2.forEach((p2) => {
|
|
137316
135945
|
if (p2.active) {
|
|
137317
|
-
p2.lastActive = Date.now()
|
|
135946
|
+
p2.lastActive = Date.now();
|
|
137318
135947
|
}
|
|
137319
135948
|
});
|
|
137320
135949
|
});
|
|
@@ -138478,16 +137107,16 @@ ${seq.sequence}
|
|
|
138478
137107
|
}
|
|
138479
137108
|
__name(defaultMemoize, "defaultMemoize");
|
|
138480
137109
|
function getDependencies(funcs) {
|
|
138481
|
-
var
|
|
138482
|
-
if (!
|
|
137110
|
+
var dependencies = Array.isArray(funcs[0]) ? funcs[0] : funcs;
|
|
137111
|
+
if (!dependencies.every(function(dep) {
|
|
138483
137112
|
return typeof dep === "function";
|
|
138484
137113
|
})) {
|
|
138485
|
-
var dependencyTypes =
|
|
137114
|
+
var dependencyTypes = dependencies.map(function(dep) {
|
|
138486
137115
|
return typeof dep === "function" ? "function " + (dep.name || "unnamed") + "()" : typeof dep;
|
|
138487
137116
|
}).join(", ");
|
|
138488
137117
|
throw new Error("createSelector expects all input-selectors to be functions, but received the following types: [" + dependencyTypes + "]");
|
|
138489
137118
|
}
|
|
138490
|
-
return
|
|
137119
|
+
return dependencies;
|
|
138491
137120
|
}
|
|
138492
137121
|
__name(getDependencies, "getDependencies");
|
|
138493
137122
|
function createSelectorCreator(memoize2) {
|
|
@@ -138513,16 +137142,16 @@ ${seq.sequence}
|
|
|
138513
137142
|
}
|
|
138514
137143
|
var _directlyPassedOption = directlyPassedOptions, _directlyPassedOption2 = _directlyPassedOption.memoizeOptions, memoizeOptions = _directlyPassedOption2 === void 0 ? memoizeOptionsFromArgs : _directlyPassedOption2;
|
|
138515
137144
|
var finalMemoizeOptions = Array.isArray(memoizeOptions) ? memoizeOptions : [memoizeOptions];
|
|
138516
|
-
var
|
|
137145
|
+
var dependencies = getDependencies(funcs);
|
|
138517
137146
|
var memoizedResultFunc = memoize2.apply(void 0, [/* @__PURE__ */ __name(function recomputationWrapper() {
|
|
138518
137147
|
_recomputations++;
|
|
138519
137148
|
return resultFunc.apply(null, arguments);
|
|
138520
137149
|
}, "recomputationWrapper")].concat(finalMemoizeOptions));
|
|
138521
137150
|
var selector = memoize2(/* @__PURE__ */ __name(function dependenciesChecker() {
|
|
138522
137151
|
var params = [];
|
|
138523
|
-
var length =
|
|
137152
|
+
var length = dependencies.length;
|
|
138524
137153
|
for (var i2 = 0; i2 < length; i2++) {
|
|
138525
|
-
params.push(
|
|
137154
|
+
params.push(dependencies[i2].apply(null, arguments));
|
|
138526
137155
|
}
|
|
138527
137156
|
_lastResult = memoizedResultFunc.apply(null, params);
|
|
138528
137157
|
return _lastResult;
|
|
@@ -138530,7 +137159,7 @@ ${seq.sequence}
|
|
|
138530
137159
|
Object.assign(selector, {
|
|
138531
137160
|
resultFunc,
|
|
138532
137161
|
memoizedResultFunc,
|
|
138533
|
-
dependencies
|
|
137162
|
+
dependencies,
|
|
138534
137163
|
lastResult: /* @__PURE__ */ __name(function lastResult() {
|
|
138535
137164
|
return _lastResult;
|
|
138536
137165
|
}, "lastResult"),
|
|
@@ -155369,7 +153998,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
155369
153998
|
}
|
|
155370
153999
|
__name(showFileDialog, "showFileDialog");
|
|
155371
154000
|
const name = "@teselagen/ove";
|
|
155372
|
-
const version = "0.3.
|
|
154001
|
+
const version = "0.3.58";
|
|
155373
154002
|
const main = "./src/index.js";
|
|
155374
154003
|
const exports$1 = {
|
|
155375
154004
|
".": {
|
|
@@ -185474,11 +184103,11 @@ ${seqDataToCopy}\r
|
|
|
185474
184103
|
var key2 = src2.substring(0, 256);
|
|
185475
184104
|
return new Promise(function(resolve, reject) {
|
|
185476
184105
|
var responseType = FEATURES.SUPPORT_RESPONSE_TYPE ? "blob" : "text";
|
|
185477
|
-
var
|
|
185478
|
-
|
|
185479
|
-
if (
|
|
184106
|
+
var xhr = new XMLHttpRequest();
|
|
184107
|
+
xhr.onload = function() {
|
|
184108
|
+
if (xhr.status === 200) {
|
|
185480
184109
|
if (responseType === "text") {
|
|
185481
|
-
resolve(
|
|
184110
|
+
resolve(xhr.response);
|
|
185482
184111
|
} else {
|
|
185483
184112
|
var reader_1 = new FileReader();
|
|
185484
184113
|
reader_1.addEventListener("load", function() {
|
|
@@ -185487,26 +184116,26 @@ ${seqDataToCopy}\r
|
|
|
185487
184116
|
reader_1.addEventListener("error", function(e2) {
|
|
185488
184117
|
return reject(e2);
|
|
185489
184118
|
}, false);
|
|
185490
|
-
reader_1.readAsDataURL(
|
|
184119
|
+
reader_1.readAsDataURL(xhr.response);
|
|
185491
184120
|
}
|
|
185492
184121
|
} else {
|
|
185493
|
-
reject("Failed to proxy resource " + key2 + " with status code " +
|
|
184122
|
+
reject("Failed to proxy resource " + key2 + " with status code " + xhr.status);
|
|
185494
184123
|
}
|
|
185495
184124
|
};
|
|
185496
|
-
|
|
184125
|
+
xhr.onerror = reject;
|
|
185497
184126
|
var queryString2 = proxy.indexOf("?") > -1 ? "&" : "?";
|
|
185498
|
-
|
|
185499
|
-
if (responseType !== "text" &&
|
|
185500
|
-
|
|
184127
|
+
xhr.open("GET", "" + proxy + queryString2 + "url=" + encodeURIComponent(src2) + "&responseType=" + responseType);
|
|
184128
|
+
if (responseType !== "text" && xhr instanceof XMLHttpRequest) {
|
|
184129
|
+
xhr.responseType = responseType;
|
|
185501
184130
|
}
|
|
185502
184131
|
if (_this._options.imageTimeout) {
|
|
185503
184132
|
var timeout_1 = _this._options.imageTimeout;
|
|
185504
|
-
|
|
185505
|
-
|
|
184133
|
+
xhr.timeout = timeout_1;
|
|
184134
|
+
xhr.ontimeout = function() {
|
|
185506
184135
|
return reject("Timed out (" + timeout_1 + "ms) proxying " + key2);
|
|
185507
184136
|
};
|
|
185508
184137
|
}
|
|
185509
|
-
|
|
184138
|
+
xhr.send();
|
|
185510
184139
|
});
|
|
185511
184140
|
};
|
|
185512
184141
|
return Cache2;
|