@wandelbots/wandelbots-js-react-components 3.4.0-pr.feat-yaskawa-gp200s.437.5d50e5b → 3.4.0-pr.feat-add-yaskawa-gp200s.438.0503e4b
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/README.md +10 -61
- package/dist/auth0-spa-js.production.esm-1QXzndwB.js +950 -0
- package/dist/auth0-spa-js.production.esm-1QXzndwB.js.map +1 -0
- package/dist/auth0-spa-js.production.esm-BLRAk7Yh.cjs +5 -0
- package/dist/auth0-spa-js.production.esm-BLRAk7Yh.cjs.map +1 -0
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts +1 -1
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts.map +1 -1
- package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts.map +1 -1
- package/dist/components/3d-viewport/collider/ColliderCollection.d.ts +1 -1
- package/dist/components/3d-viewport/collider/ColliderCollection.d.ts.map +1 -1
- package/dist/components/3d-viewport/collider/ColliderElement.d.ts +1 -1
- package/dist/components/3d-viewport/collider/ColliderElement.d.ts.map +1 -1
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.d.ts +1 -1
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.d.ts.map +1 -1
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.d.ts +1 -1
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.d.ts.map +1 -1
- package/dist/components/ProgramStateIndicator.d.ts +3 -3
- package/dist/components/ProgramStateIndicator.d.ts.map +1 -1
- package/dist/components/RobotCard.d.ts +3 -4
- package/dist/components/RobotCard.d.ts.map +1 -1
- package/dist/components/jogging/JoggingCartesianTab.d.ts.map +1 -1
- package/dist/components/jogging/JoggingOptions.d.ts.map +1 -1
- package/dist/components/jogging/JoggingPanel.d.ts +1 -1
- package/dist/components/jogging/JoggingPanel.d.ts.map +1 -1
- package/dist/components/jogging/JoggingStore.d.ts +5 -10
- package/dist/components/jogging/JoggingStore.d.ts.map +1 -1
- package/dist/components/jogging/PoseCartesianValues.d.ts +2 -2
- package/dist/components/jogging/PoseCartesianValues.d.ts.map +1 -1
- package/dist/components/jogging/PoseJointValues.d.ts +2 -1
- package/dist/components/jogging/PoseJointValues.d.ts.map +1 -1
- package/dist/components/robots/DHRobot.d.ts.map +1 -1
- package/dist/components/robots/Robot.d.ts +1 -1
- package/dist/components/robots/Robot.d.ts.map +1 -1
- package/dist/components/robots/RobotAnimator.d.ts +2 -2
- package/dist/components/robots/RobotAnimator.d.ts.map +1 -1
- package/dist/components/robots/SupportedRobot.d.ts +3 -3
- package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
- package/dist/components/robots/manufacturerHomePositions.d.ts +1 -1
- package/dist/components/robots/manufacturerHomePositions.d.ts.map +1 -1
- package/dist/components/safetyBar/ControllerTypeIndicator.d.ts.map +1 -1
- package/dist/components/safetyBar/OperationModeIndicator.d.ts +2 -2
- package/dist/components/safetyBar/OperationModeIndicator.d.ts.map +1 -1
- package/dist/components/safetyBar/SafetyBar.d.ts +3 -3
- package/dist/components/safetyBar/SafetyBar.d.ts.map +1 -1
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts +2 -2
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts.map +1 -1
- package/dist/components/utils/errorHandling.d.ts.map +1 -1
- package/dist/index.cjs +155 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +39 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34927 -0
- package/dist/index.js.map +1 -0
- package/package.json +21 -49
- package/src/components/3d-viewport/CoordinateSystemTransform.tsx +1 -1
- package/src/components/3d-viewport/SafetyZonesRenderer.tsx +2 -1
- package/src/components/3d-viewport/collider/ColliderCollection.tsx +1 -1
- package/src/components/3d-viewport/collider/ColliderElement.tsx +1 -1
- package/src/components/3d-viewport/collider/CollisionSceneRenderer.tsx +1 -1
- package/src/components/3d-viewport/collider/colliderShapeToBufferGeometry.ts +1 -1
- package/src/components/AppHeader.md +1 -1
- package/src/components/ProgramStateIndicator.tsx +6 -3
- package/src/components/RobotCard.tsx +7 -4
- package/src/components/jogging/JoggingCartesianTab.tsx +11 -13
- package/src/components/jogging/JoggingJointLimitDetector.tsx +2 -2
- package/src/components/jogging/JoggingJointTab.tsx +4 -4
- package/src/components/jogging/JoggingOptions.tsx +5 -6
- package/src/components/jogging/JoggingPanel.tsx +3 -6
- package/src/components/jogging/JoggingStore.ts +39 -66
- package/src/components/jogging/PoseCartesianValues.tsx +4 -3
- package/src/components/jogging/PoseJointValues.tsx +4 -3
- package/src/components/robots/DHRobot.tsx +3 -2
- package/src/components/robots/Robot.tsx +1 -1
- package/src/components/robots/RobotAnimator.test.tsx +22 -7
- package/src/components/robots/RobotAnimator.tsx +13 -8
- package/src/components/robots/SupportedRobot.tsx +6 -3
- package/src/components/robots/manufacturerHomePositions.ts +1 -1
- package/src/components/safetyBar/ControllerTypeIndicator.tsx +2 -4
- package/src/components/safetyBar/OperationModeIndicator.tsx +5 -7
- package/src/components/safetyBar/SafetyBar.tsx +6 -3
- package/src/components/safetyBar/SafetyStateIndicator.tsx +7 -9
- package/src/components/utils/errorHandling.ts +0 -4
- package/src/i18n/locales/de/translations.json +0 -3
- package/src/i18n/locales/en/translations.json +0 -3
- package/src/index.ts +43 -4
- package/dist/3d.cjs.js +0 -2
- package/dist/3d.cjs.js.map +0 -1
- package/dist/3d.d.ts +0 -11
- package/dist/3d.d.ts.map +0 -1
- package/dist/3d.es.js +0 -16
- package/dist/3d.es.js.map +0 -1
- package/dist/LoadingCover-Dr9hDTku.js +0 -87
- package/dist/LoadingCover-Dr9hDTku.js.map +0 -1
- package/dist/LoadingCover-r2yhJZF9.cjs +0 -2
- package/dist/LoadingCover-r2yhJZF9.cjs.map +0 -1
- package/dist/WandelscriptEditor-Dj7TBCkF.cjs +0 -2
- package/dist/WandelscriptEditor-Dj7TBCkF.cjs.map +0 -1
- package/dist/WandelscriptEditor-DnJvITTA.js +0 -140
- package/dist/WandelscriptEditor-DnJvITTA.js.map +0 -1
- package/dist/auth0-spa-js.production.esm-9WdmjTxR.js +0 -1429
- package/dist/auth0-spa-js.production.esm-9WdmjTxR.js.map +0 -1
- package/dist/auth0-spa-js.production.esm-BcLLh1tx.cjs +0 -5
- package/dist/auth0-spa-js.production.esm-BcLLh1tx.cjs.map +0 -1
- package/dist/components/jogging/JoggingBlocked.d.ts +0 -7
- package/dist/components/jogging/JoggingBlocked.d.ts.map +0 -1
- package/dist/components/utils/errorHandling.test.d.ts +0 -2
- package/dist/components/utils/errorHandling.test.d.ts.map +0 -1
- package/dist/core.cjs.js +0 -2
- package/dist/core.cjs.js.map +0 -1
- package/dist/core.d.ts +0 -33
- package/dist/core.d.ts.map +0 -1
- package/dist/core.es.js +0 -54
- package/dist/core.es.js.map +0 -1
- package/dist/index-CAib4NKw.js +0 -2261
- package/dist/index-CAib4NKw.js.map +0 -1
- package/dist/index-CqMZL0FV.cjs +0 -2
- package/dist/index-CqMZL0FV.cjs.map +0 -1
- package/dist/index-CxasuX80.js +0 -5212
- package/dist/index-CxasuX80.js.map +0 -1
- package/dist/index-DxwppshT.cjs +0 -29
- package/dist/index-DxwppshT.cjs.map +0 -1
- package/dist/index.cjs.js +0 -2
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.es.js +0 -69
- package/dist/index.es.js.map +0 -1
- package/dist/lib/ConnectedMotionGroup.d.ts +0 -90
- package/dist/lib/ConnectedMotionGroup.d.ts.map +0 -1
- package/dist/lib/JoggerConnection.d.ts +0 -113
- package/dist/lib/JoggerConnection.d.ts.map +0 -1
- package/dist/lib/JoggerConnection.test.d.ts +0 -2
- package/dist/lib/JoggerConnection.test.d.ts.map +0 -1
- package/dist/lib/MotionStreamConnection.d.ts +0 -24
- package/dist/lib/MotionStreamConnection.d.ts.map +0 -1
- package/dist/lib/MotionStreamConnection.test.d.ts +0 -2
- package/dist/lib/MotionStreamConnection.test.d.ts.map +0 -1
- package/dist/lib/motionStateUpdate.d.ts +0 -7
- package/dist/lib/motionStateUpdate.d.ts.map +0 -1
- package/dist/lib/motionStateUpdate.test.d.ts +0 -2
- package/dist/lib/motionStateUpdate.test.d.ts.map +0 -1
- package/dist/manufacturerHomePositions-Ca80ycLi.cjs +0 -2
- package/dist/manufacturerHomePositions-Ca80ycLi.cjs.map +0 -1
- package/dist/manufacturerHomePositions-CgaG5vaK.js +0 -976
- package/dist/manufacturerHomePositions-CgaG5vaK.js.map +0 -1
- package/dist/theming-BQcKj8Gp.cjs +0 -133
- package/dist/theming-BQcKj8Gp.cjs.map +0 -1
- package/dist/theming-Bafjg0Wg.js +0 -23460
- package/dist/theming-Bafjg0Wg.js.map +0 -1
- package/dist/wandelscript.cjs.js +0 -2
- package/dist/wandelscript.cjs.js.map +0 -1
- package/dist/wandelscript.d.ts +0 -2
- package/dist/wandelscript.d.ts.map +0 -1
- package/dist/wandelscript.es.js +0 -5
- package/dist/wandelscript.es.js.map +0 -1
- package/src/3d.ts +0 -15
- package/src/components/jogging/JoggingBlocked.tsx +0 -37
- package/src/components/utils/errorHandling.test.ts +0 -41
- package/src/core.ts +0 -33
- package/src/lib/ConnectedMotionGroup.ts +0 -444
- package/src/lib/JoggerConnection.test.ts +0 -120
- package/src/lib/JoggerConnection.ts +0 -674
- package/src/lib/MotionStreamConnection.test.ts +0 -23
- package/src/lib/MotionStreamConnection.ts +0 -189
- package/src/lib/motionStateUpdate.test.ts +0 -28
- package/src/lib/motionStateUpdate.ts +0 -117
- package/src/wandelscript.ts +0 -2
package/dist/index-CAib4NKw.js
DELETED
|
@@ -1,2261 +0,0 @@
|
|
|
1
|
-
import Ct from "react";
|
|
2
|
-
import { I18nextProvider as xt } from "react-i18next";
|
|
3
|
-
import _t from "i18next";
|
|
4
|
-
import kt from "i18next-browser-languagedetector";
|
|
5
|
-
var fe = { exports: {} }, te = {};
|
|
6
|
-
/**
|
|
7
|
-
* @license React
|
|
8
|
-
* react-jsx-runtime.production.js
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the MIT license found in the
|
|
13
|
-
* LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/
|
|
15
|
-
var Me;
|
|
16
|
-
function Bt() {
|
|
17
|
-
if (Me) return te;
|
|
18
|
-
Me = 1;
|
|
19
|
-
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
20
|
-
function r(n, o, s) {
|
|
21
|
-
var i = null;
|
|
22
|
-
if (s !== void 0 && (i = "" + s), o.key !== void 0 && (i = "" + o.key), "key" in o) {
|
|
23
|
-
s = {};
|
|
24
|
-
for (var l in o)
|
|
25
|
-
l !== "key" && (s[l] = o[l]);
|
|
26
|
-
} else s = o;
|
|
27
|
-
return o = s.ref, {
|
|
28
|
-
$$typeof: e,
|
|
29
|
-
type: n,
|
|
30
|
-
key: i,
|
|
31
|
-
ref: o !== void 0 ? o : null,
|
|
32
|
-
props: s
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
return te.Fragment = t, te.jsx = r, te.jsxs = r, te;
|
|
36
|
-
}
|
|
37
|
-
var re = {};
|
|
38
|
-
/**
|
|
39
|
-
* @license React
|
|
40
|
-
* react-jsx-runtime.development.js
|
|
41
|
-
*
|
|
42
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
43
|
-
*
|
|
44
|
-
* This source code is licensed under the MIT license found in the
|
|
45
|
-
* LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/
|
|
47
|
-
var De;
|
|
48
|
-
function Nt() {
|
|
49
|
-
return De || (De = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
50
|
-
function e(c) {
|
|
51
|
-
if (c == null) return null;
|
|
52
|
-
if (typeof c == "function")
|
|
53
|
-
return c.$$typeof === ce ? null : c.displayName || c.name || null;
|
|
54
|
-
if (typeof c == "string") return c;
|
|
55
|
-
switch (c) {
|
|
56
|
-
case m:
|
|
57
|
-
return "Fragment";
|
|
58
|
-
case _:
|
|
59
|
-
return "Profiler";
|
|
60
|
-
case T:
|
|
61
|
-
return "StrictMode";
|
|
62
|
-
case j:
|
|
63
|
-
return "Suspense";
|
|
64
|
-
case k:
|
|
65
|
-
return "SuspenseList";
|
|
66
|
-
case le:
|
|
67
|
-
return "Activity";
|
|
68
|
-
}
|
|
69
|
-
if (typeof c == "object")
|
|
70
|
-
switch (typeof c.tag == "number" && console.error(
|
|
71
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
72
|
-
), c.$$typeof) {
|
|
73
|
-
case b:
|
|
74
|
-
return "Portal";
|
|
75
|
-
case C:
|
|
76
|
-
return c.displayName || "Context";
|
|
77
|
-
case O:
|
|
78
|
-
return (c._context.displayName || "Context") + ".Consumer";
|
|
79
|
-
case v:
|
|
80
|
-
var g = c.render;
|
|
81
|
-
return c = c.displayName, c || (c = g.displayName || g.name || "", c = c !== "" ? "ForwardRef(" + c + ")" : "ForwardRef"), c;
|
|
82
|
-
case Z:
|
|
83
|
-
return g = c.displayName || null, g !== null ? g : e(c.type) || "Memo";
|
|
84
|
-
case L:
|
|
85
|
-
g = c._payload, c = c._init;
|
|
86
|
-
try {
|
|
87
|
-
return e(c(g));
|
|
88
|
-
} catch {
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
return null;
|
|
92
|
-
}
|
|
93
|
-
function t(c) {
|
|
94
|
-
return "" + c;
|
|
95
|
-
}
|
|
96
|
-
function r(c) {
|
|
97
|
-
try {
|
|
98
|
-
t(c);
|
|
99
|
-
var g = !1;
|
|
100
|
-
} catch {
|
|
101
|
-
g = !0;
|
|
102
|
-
}
|
|
103
|
-
if (g) {
|
|
104
|
-
g = console;
|
|
105
|
-
var R = g.error, E = typeof Symbol == "function" && Symbol.toStringTag && c[Symbol.toStringTag] || c.constructor.name || "Object";
|
|
106
|
-
return R.call(
|
|
107
|
-
g,
|
|
108
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
109
|
-
E
|
|
110
|
-
), t(c);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
function n(c) {
|
|
114
|
-
if (c === m) return "<>";
|
|
115
|
-
if (typeof c == "object" && c !== null && c.$$typeof === L)
|
|
116
|
-
return "<...>";
|
|
117
|
-
try {
|
|
118
|
-
var g = e(c);
|
|
119
|
-
return g ? "<" + g + ">" : "<...>";
|
|
120
|
-
} catch {
|
|
121
|
-
return "<...>";
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
function o() {
|
|
125
|
-
var c = J.A;
|
|
126
|
-
return c === null ? null : c.getOwner();
|
|
127
|
-
}
|
|
128
|
-
function s() {
|
|
129
|
-
return Error("react-stack-top-frame");
|
|
130
|
-
}
|
|
131
|
-
function i(c) {
|
|
132
|
-
if (q.call(c, "key")) {
|
|
133
|
-
var g = Object.getOwnPropertyDescriptor(c, "key").get;
|
|
134
|
-
if (g && g.isReactWarning) return !1;
|
|
135
|
-
}
|
|
136
|
-
return c.key !== void 0;
|
|
137
|
-
}
|
|
138
|
-
function l(c, g) {
|
|
139
|
-
function R() {
|
|
140
|
-
F || (F = !0, console.error(
|
|
141
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
142
|
-
g
|
|
143
|
-
));
|
|
144
|
-
}
|
|
145
|
-
R.isReactWarning = !0, Object.defineProperty(c, "key", {
|
|
146
|
-
get: R,
|
|
147
|
-
configurable: !0
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
function p() {
|
|
151
|
-
var c = e(this.type);
|
|
152
|
-
return Q[c] || (Q[c] = !0, console.error(
|
|
153
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
154
|
-
)), c = this.props.ref, c !== void 0 ? c : null;
|
|
155
|
-
}
|
|
156
|
-
function d(c, g, R, E, $, we) {
|
|
157
|
-
var P = R.ref;
|
|
158
|
-
return c = {
|
|
159
|
-
$$typeof: f,
|
|
160
|
-
type: c,
|
|
161
|
-
key: g,
|
|
162
|
-
props: R,
|
|
163
|
-
_owner: E
|
|
164
|
-
}, (P !== void 0 ? P : null) !== null ? Object.defineProperty(c, "ref", {
|
|
165
|
-
enumerable: !1,
|
|
166
|
-
get: p
|
|
167
|
-
}) : Object.defineProperty(c, "ref", { enumerable: !1, value: null }), c._store = {}, Object.defineProperty(c._store, "validated", {
|
|
168
|
-
configurable: !1,
|
|
169
|
-
enumerable: !1,
|
|
170
|
-
writable: !0,
|
|
171
|
-
value: 0
|
|
172
|
-
}), Object.defineProperty(c, "_debugInfo", {
|
|
173
|
-
configurable: !1,
|
|
174
|
-
enumerable: !1,
|
|
175
|
-
writable: !0,
|
|
176
|
-
value: null
|
|
177
|
-
}), Object.defineProperty(c, "_debugStack", {
|
|
178
|
-
configurable: !1,
|
|
179
|
-
enumerable: !1,
|
|
180
|
-
writable: !0,
|
|
181
|
-
value: $
|
|
182
|
-
}), Object.defineProperty(c, "_debugTask", {
|
|
183
|
-
configurable: !1,
|
|
184
|
-
enumerable: !1,
|
|
185
|
-
writable: !0,
|
|
186
|
-
value: we
|
|
187
|
-
}), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
|
|
188
|
-
}
|
|
189
|
-
function u(c, g, R, E, $, we) {
|
|
190
|
-
var P = g.children;
|
|
191
|
-
if (P !== void 0)
|
|
192
|
-
if (E)
|
|
193
|
-
if (U(P)) {
|
|
194
|
-
for (E = 0; E < P.length; E++)
|
|
195
|
-
h(P[E]);
|
|
196
|
-
Object.freeze && Object.freeze(P);
|
|
197
|
-
} else
|
|
198
|
-
console.error(
|
|
199
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
200
|
-
);
|
|
201
|
-
else h(P);
|
|
202
|
-
if (q.call(g, "key")) {
|
|
203
|
-
P = e(c);
|
|
204
|
-
var G = Object.keys(g).filter(function(Pt) {
|
|
205
|
-
return Pt !== "key";
|
|
206
|
-
});
|
|
207
|
-
E = 0 < G.length ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}", ue[P + E] || (G = 0 < G.length ? "{" + G.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
208
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
209
|
-
let props = %s;
|
|
210
|
-
<%s {...props} />
|
|
211
|
-
React keys must be passed directly to JSX without using spread:
|
|
212
|
-
let props = %s;
|
|
213
|
-
<%s key={someKey} {...props} />`,
|
|
214
|
-
E,
|
|
215
|
-
P,
|
|
216
|
-
G,
|
|
217
|
-
P
|
|
218
|
-
), ue[P + E] = !0);
|
|
219
|
-
}
|
|
220
|
-
if (P = null, R !== void 0 && (r(R), P = "" + R), i(g) && (r(g.key), P = "" + g.key), "key" in g) {
|
|
221
|
-
R = {};
|
|
222
|
-
for (var Te in g)
|
|
223
|
-
Te !== "key" && (R[Te] = g[Te]);
|
|
224
|
-
} else R = g;
|
|
225
|
-
return P && l(
|
|
226
|
-
R,
|
|
227
|
-
typeof c == "function" ? c.displayName || c.name || "Unknown" : c
|
|
228
|
-
), d(
|
|
229
|
-
c,
|
|
230
|
-
P,
|
|
231
|
-
R,
|
|
232
|
-
o(),
|
|
233
|
-
$,
|
|
234
|
-
we
|
|
235
|
-
);
|
|
236
|
-
}
|
|
237
|
-
function h(c) {
|
|
238
|
-
S(c) ? c._store && (c._store.validated = 1) : typeof c == "object" && c !== null && c.$$typeof === L && (c._payload.status === "fulfilled" ? S(c._payload.value) && c._payload.value._store && (c._payload.value._store.validated = 1) : c._store && (c._store.validated = 1));
|
|
239
|
-
}
|
|
240
|
-
function S(c) {
|
|
241
|
-
return typeof c == "object" && c !== null && c.$$typeof === f;
|
|
242
|
-
}
|
|
243
|
-
var w = Ct, f = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), T = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), O = Symbol.for("react.consumer"), C = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), Z = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), le = Symbol.for("react.activity"), ce = Symbol.for("react.client.reference"), J = w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = Object.prototype.hasOwnProperty, U = Array.isArray, W = console.createTask ? console.createTask : function() {
|
|
244
|
-
return null;
|
|
245
|
-
};
|
|
246
|
-
w = {
|
|
247
|
-
react_stack_bottom_frame: function(c) {
|
|
248
|
-
return c();
|
|
249
|
-
}
|
|
250
|
-
};
|
|
251
|
-
var F, Q = {}, I = w.react_stack_bottom_frame.bind(
|
|
252
|
-
w,
|
|
253
|
-
s
|
|
254
|
-
)(), ee = W(n(s)), ue = {};
|
|
255
|
-
re.Fragment = m, re.jsx = function(c, g, R) {
|
|
256
|
-
var E = 1e4 > J.recentlyCreatedOwnerStacks++;
|
|
257
|
-
return u(
|
|
258
|
-
c,
|
|
259
|
-
g,
|
|
260
|
-
R,
|
|
261
|
-
!1,
|
|
262
|
-
E ? Error("react-stack-top-frame") : I,
|
|
263
|
-
E ? W(n(c)) : ee
|
|
264
|
-
);
|
|
265
|
-
}, re.jsxs = function(c, g, R) {
|
|
266
|
-
var E = 1e4 > J.recentlyCreatedOwnerStacks++;
|
|
267
|
-
return u(
|
|
268
|
-
c,
|
|
269
|
-
g,
|
|
270
|
-
R,
|
|
271
|
-
!0,
|
|
272
|
-
E ? Error("react-stack-top-frame") : I,
|
|
273
|
-
E ? W(n(c)) : ee
|
|
274
|
-
);
|
|
275
|
-
};
|
|
276
|
-
})()), re;
|
|
277
|
-
}
|
|
278
|
-
var je;
|
|
279
|
-
function vt() {
|
|
280
|
-
return je || (je = 1, process.env.NODE_ENV === "production" ? fe.exports = Bt() : fe.exports = Nt()), fe.exports;
|
|
281
|
-
}
|
|
282
|
-
var Ce = vt();
|
|
283
|
-
const Ft = {
|
|
284
|
-
"Jogging.Cartesian.Translation.velocityMmPerSec.lb": "{{amount}} mm/s",
|
|
285
|
-
"Jogging.Cartesian.Rotation.velocityDegPerSec.lb": "{{amount}}°/s",
|
|
286
|
-
"Jogging.Velocity.lb": "Geschwindigkeit",
|
|
287
|
-
"General.degree.variable": "{{amount}}°",
|
|
288
|
-
"General.mm.variable": "{{amount}} mm",
|
|
289
|
-
"Jogging.Blocked.ti": "Verbindung blockiert",
|
|
290
|
-
"Jogging.Blocked.lb": "Ein anderer Client kontrolliert das Jogging.",
|
|
291
|
-
"Jogging.Blocked.Reenable.bt": "Neu verbinden",
|
|
292
|
-
"Jogging.Cartesian.MotionType.lb": "Bewegungstyp",
|
|
293
|
-
"Jogging.Cartesian.Translation.bt": "Translation",
|
|
294
|
-
"Jogging.Cartesian.Rotation.bt": "Rotation",
|
|
295
|
-
"Jogging.Joints.JointValues.lb": "Gelenkwerte",
|
|
296
|
-
"Jogging.Increment.Continuous.dd": "Fortlaufend",
|
|
297
|
-
"Jogging.Cartesian.Orientation.lb": "Orientierung",
|
|
298
|
-
"Jogging.JointLimitsReached.lb": "Gelenkgrenzen für Gelenk {{jointNumbers}} erreicht",
|
|
299
|
-
"Jogging.Orientation.coordsys": "Roboterbasis",
|
|
300
|
-
"Jogging.Orientation.tool": "Werkzeug",
|
|
301
|
-
"SafetyBar.ActivationToggle.Activate.bt": "Aktivieren",
|
|
302
|
-
"SafetyBar.ActivationToggle.Activated.bt": "Aktiviert",
|
|
303
|
-
"SafetyBar.ActivationToggle.Activating.bt": "Wird aktiviert…",
|
|
304
|
-
"SafetyBar.ActivationToggle.Deactivating.bt": "Wird deaktiviert…",
|
|
305
|
-
"SafetyBar.ControllerType.Physical.lb": "Physisch",
|
|
306
|
-
"SafetyBar.ControllerType.Virtual.lb": "Virtuell",
|
|
307
|
-
"SafetyBar.MotionGroup.Physical.Explanation.lb": "<code>{{motionGroupId}}</code> ist ein physische Robotersteuerung. Für die Bewegung dieses Roboters sind <strong>Sicherheitsmaßnahmen</strong> aktiv.",
|
|
308
|
-
"SafetyBar.MotionGroup.Virtual.Explanation.lb": "<1>{{motionGroupId}}</1> ist eine virtuelle Robotersteuerung ohne physisches Gegenstück. Der Roboter kann ohne Sicherheitsmaßnahmen bewegt werden.",
|
|
309
|
-
"SafetyBar.OperationMode.Auto.Explanation.lb": "Automatischer Betriebsmodus der Robotersteuerung aktiv. Automatisierte Bewegung ohne manuelle Bestätigung freigegeben.",
|
|
310
|
-
"SafetyBar.OperationMode.Automatic.ti": "Automatisch",
|
|
311
|
-
"SafetyBar.OperationMode.Error.Explanation.lb": "Fehler beim Abrufen des Betriebsmodus. Originalhandbediengerät des Roboters verwenden, um Fehler zu lösen.",
|
|
312
|
-
"SafetyBar.OperationMode.Error.lb": "Fehler",
|
|
313
|
-
"SafetyBar.OperationMode.Manual.Explanation.lb": `Die Robotersteuerung befindet sich im manuellen Betriebsmodus.
|
|
314
|
-
Bei einem physischen Roboter bedeutet dies im Allgemeinen, dass ein Freigabeschalter gedrückt werden muss, damit sich der Roboter erfolgreich bewegen kann.`,
|
|
315
|
-
"SafetyBar.OperationMode.Manual.lb": "Manuell",
|
|
316
|
-
"SafetyBar.OperationMode.ti": "Betriebsmodus",
|
|
317
|
-
"SafetyBar.SafetyState.Error.Explanation.lb": "Die Robotersteuerung ist in einen unerwarteten Sicherheitszustand eingetreten.",
|
|
318
|
-
"SafetyBar.SafetyState.Error.lb": "Fehler",
|
|
319
|
-
"SafetyBar.SafetyState.Estop.lb": "NOT-AUS",
|
|
320
|
-
"SafetyBar.SafetyState.ManualActionRequired.Explanation.lb": "Die Robotersteuerung ist in einen Sicherheitszustand eingetreten, der manuelle Maßnahmen zur Behebung erfordert.",
|
|
321
|
-
"SafetyBar.SafetyState.ManualActionRequired.lb": "Aktion erforderlich",
|
|
322
|
-
"SafetyBar.SafetyState.Normal.Explanation.lb": "Die Robotersteuerung befindet sich in einem sicheren Zustand. Roboterbewegungen sind möglich.",
|
|
323
|
-
"SafetyBar.SafetyState.Normal.lb": "Sicher",
|
|
324
|
-
"SafetyBar.SafetyState.Stop.Explanation.lb": "Die Robotersteuerung ist in einen Stoppzustand übergegangen. Bis der Stoppzustand aufgelöst ist, ist keine Bewegung mehr möglich.",
|
|
325
|
-
"SafetyBar.SafetyState.Stop.lb": "Stopp",
|
|
326
|
-
"SafetyBar.SafetyState.ti": "Sicherheitszustand",
|
|
327
|
-
"SafetyBar.StopState.Estop.Explanation.lb": "NOT-AUS aktiviert. NOT-AUS freischalten, um Roboter zu bewegen.",
|
|
328
|
-
"Jogging.Increment.hlb": "Schrittgröße",
|
|
329
|
-
"Jogging.CoordinateSystem.hlb": "Koordinatensystem",
|
|
330
|
-
"Jogging.Cartesian.bt": "Kartesisch",
|
|
331
|
-
"Jogging.Joints.bt": "Gelenke",
|
|
332
|
-
"Jogging.Velocity.bt": "Geschwindigkeit",
|
|
333
|
-
"CycleTimer.RemainingTime.lb": "Verbleibende Zeit",
|
|
334
|
-
"CycleTimer.OfTime.lb": "von {{time}}",
|
|
335
|
-
"CycleTimer.Time.lb": "{{time}}",
|
|
336
|
-
"CycleTimer.Error.lb": "Fehler",
|
|
337
|
-
"CycleTimer.WaitingForCycle.lb": "Warten auf Programmzyklus",
|
|
338
|
-
"CycleTimer.CycleTime.lb": "Zykluszeit",
|
|
339
|
-
"CycleTimer.Measuring.lb": "wird gemessen...",
|
|
340
|
-
"CycleTimer.Determined.lb": "bestimmt",
|
|
341
|
-
"Timer.error": "Fehler",
|
|
342
|
-
"ProgramControl.Start.bt": "Start",
|
|
343
|
-
"ProgramControl.Resume.bt": "Weiter",
|
|
344
|
-
"ProgramControl.Retry.bt": "Wiederholen",
|
|
345
|
-
"ProgramControl.Pause.bt": "Pause",
|
|
346
|
-
"ProgramControl.Stop.bt": "Stopp",
|
|
347
|
-
"ProgramStateIndicator.Preparing.lb": "Vorbereitung",
|
|
348
|
-
"ProgramStateIndicator.Starting.lb": "Startet",
|
|
349
|
-
"ProgramStateIndicator.Running.lb": "In Betrieb",
|
|
350
|
-
"ProgramStateIndicator.Pausing.lb": "Pausiert",
|
|
351
|
-
"ProgramStateIndicator.Stopping.lb": "Stoppt",
|
|
352
|
-
"ProgramStateIndicator.Completed.lb": "Abgeschlossen",
|
|
353
|
-
"ProgramStateIndicator.Failed.lb": "Fehlgeschlagen",
|
|
354
|
-
"ProgramStateIndicator.Error.lb": "Fehler",
|
|
355
|
-
"ProgramStateIndicator.EStop.lb": "Not-Aus",
|
|
356
|
-
"ProgramStateIndicator.Idle.lb": "Leerlauf",
|
|
357
|
-
"ProgramStateIndicator.Paused.lb": "Pausiert",
|
|
358
|
-
"ProgramStateIndicator.Ready.lb": "Bereit",
|
|
359
|
-
"ProgramStateIndicator.Stopped.lb": "Gestoppt",
|
|
360
|
-
"ProgramStateIndicator.Auto.lb": "Auto",
|
|
361
|
-
"ProgramStateIndicator.Manual.lb": "Manuell",
|
|
362
|
-
"ProgramStateIndicator.ManualT1.lb": "Manuell T1",
|
|
363
|
-
"ProgramStateIndicator.ManualT2.lb": "Manuell T2",
|
|
364
|
-
"RobotSetupReadinessIndicator.Ready.lb": "Bereit",
|
|
365
|
-
"RobotSetupReadinessIndicator.RobotDisconnected.lb": "Roboter getrennt",
|
|
366
|
-
"RobotSetupReadinessIndicator.CellOpen.lb": "Zelle offen",
|
|
367
|
-
"RobotSetupReadinessIndicator.EStop.lb": "Not-Stopp",
|
|
368
|
-
"RobotSetupReadinessIndicator.ManualMode.lb": "Manueller Modus",
|
|
369
|
-
"RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb": "Voraussetzung nicht erfüllt",
|
|
370
|
-
"RobotCard.Runtime.lb": "Laufzeit",
|
|
371
|
-
"RobotCard.DriveToHome.bt": "Zur Home-Position fahren"
|
|
372
|
-
}, It = {
|
|
373
|
-
"Jogging.Cartesian.Translation.velocityMmPerSec.lb": "{{amount}} mm/s",
|
|
374
|
-
"Jogging.Cartesian.Rotation.velocityDegPerSec.lb": "{{amount}}°/s",
|
|
375
|
-
"Jogging.Velocity.lb": "Velocity",
|
|
376
|
-
"General.degree.variable": "{{amount}}°",
|
|
377
|
-
"General.mm.variable": "{{amount}} mm",
|
|
378
|
-
"Jogging.Blocked.ti": "Connection blocked",
|
|
379
|
-
"Jogging.Blocked.lb": "Another client is currently controlling the jogging.",
|
|
380
|
-
"Jogging.Blocked.Reenable.bt": "Reconnect",
|
|
381
|
-
"Jogging.Cartesian.MotionType.lb": "Motion type",
|
|
382
|
-
"Jogging.Cartesian.Translation.bt": "Translation",
|
|
383
|
-
"Jogging.Cartesian.Rotation.bt": "Rotation",
|
|
384
|
-
"Jogging.Joints.JointValues.lb": "Joint values",
|
|
385
|
-
"Jogging.Increment.Continuous.dd": "Continuous",
|
|
386
|
-
"Jogging.Cartesian.Orientation.lb": "Orientation",
|
|
387
|
-
"Jogging.Activating.lb": "Activating jogging",
|
|
388
|
-
"Jogging.JointLimitsReached.lb": "Joint limit reached for joint {{jointNumbers}}",
|
|
389
|
-
"Jogging.Orientation.coordsys": "Robot base",
|
|
390
|
-
"Jogging.Orientation.tool": "Tool",
|
|
391
|
-
"SafetyBar.ActivationToggle.Activate.bt": "Activate",
|
|
392
|
-
"SafetyBar.ActivationToggle.Activated.bt": "Activated",
|
|
393
|
-
"SafetyBar.ActivationToggle.Activating.bt": "Activating",
|
|
394
|
-
"SafetyBar.ActivationToggle.Deactivating.bt": "Deactivating",
|
|
395
|
-
"SafetyBar.ControllerType.Physical.lb": "Physical",
|
|
396
|
-
"SafetyBar.ControllerType.Virtual.lb": "Virtual",
|
|
397
|
-
"SafetyBar.MotionGroup.Physical.Explanation.lb": "<code>{{motionGroupId}}</code> is a physical robot controller. <strong>Safety precautions</strong> are active for the movement of this robot.",
|
|
398
|
-
"SafetyBar.MotionGroup.Virtual.Explanation.lb": "<1>{{motionGroupId}}</1> is a virtual robot controller with no physical counterpart. It can be freely manipulated without safety precautions.",
|
|
399
|
-
"SafetyBar.OperationMode.Auto.Explanation.lb": "Automatic operation mode active. Automated movement without manual confirmation enabled.",
|
|
400
|
-
"SafetyBar.OperationMode.Automatic.ti": "Automatic",
|
|
401
|
-
"SafetyBar.OperationMode.Error.Explanation.lb": "Failed to get operation mode. Use the original control panel to resolve the error.",
|
|
402
|
-
"SafetyBar.OperationMode.Error.lb": "Error",
|
|
403
|
-
"SafetyBar.OperationMode.Manual.Explanation.lb": "The robot controller is in manual operation mode. On a physical robot, this generally indicates that an enabling switch must be held for the robot to move successfully.",
|
|
404
|
-
"SafetyBar.OperationMode.Manual.lb": "Manual",
|
|
405
|
-
"SafetyBar.OperationMode.ti": "Operation mode",
|
|
406
|
-
"SafetyBar.SafetyState.Error.Explanation.lb": "The robot controller has entered an unexpected safety state.",
|
|
407
|
-
"SafetyBar.SafetyState.Error.lb": "Error",
|
|
408
|
-
"SafetyBar.SafetyState.Estop.lb": "E-Stop",
|
|
409
|
-
"SafetyBar.SafetyState.ManualActionRequired.Explanation.lb": "The robot controller has entered a safety state requiring manual action to resolve.",
|
|
410
|
-
"SafetyBar.SafetyState.ManualActionRequired.lb": "Action required",
|
|
411
|
-
"SafetyBar.SafetyState.Normal.Explanation.lb": "The robot controller is in a safe state. Robot movement is enabled.",
|
|
412
|
-
"SafetyBar.SafetyState.Normal.lb": "Safe",
|
|
413
|
-
"SafetyBar.SafetyState.Stop.Explanation.lb": "The robot controller has entered a stop state. Movement is no longer possible until the stop state is resolved.",
|
|
414
|
-
"SafetyBar.SafetyState.Stop.lb": "Stop",
|
|
415
|
-
"SafetyBar.SafetyState.ti": "Safety state",
|
|
416
|
-
"SafetyBar.StopState.Estop.Explanation.lb": "An emergency stop of the robot controller has been triggered. Movement of the robot is no longer possible until the estop is released.",
|
|
417
|
-
"Jogging.Increment.hlb": "Increment",
|
|
418
|
-
"Jogging.CoordinateSystem.hlb": "Coordinate system",
|
|
419
|
-
"Jogging.Cartesian.bt": "Cartesian",
|
|
420
|
-
"Jogging.Joints.bt": "Joints",
|
|
421
|
-
"Jogging.Velocity.bt": "Velocity",
|
|
422
|
-
"CycleTimer.RemainingTime.lb": "Time remaining",
|
|
423
|
-
"CycleTimer.OfTime.lb": "of {{time}}",
|
|
424
|
-
"CycleTimer.Time.lb": "{{time}}",
|
|
425
|
-
"CycleTimer.Error.lb": "Error",
|
|
426
|
-
"CycleTimer.WaitingForCycle.lb": "Waiting for program cycle",
|
|
427
|
-
"CycleTimer.CycleTime.lb": "Cycle Time",
|
|
428
|
-
"CycleTimer.Measuring.lb": "measuring...",
|
|
429
|
-
"CycleTimer.Determined.lb": "determined",
|
|
430
|
-
"Timer.error": "Error",
|
|
431
|
-
"ProgramControl.Start.bt": "Start",
|
|
432
|
-
"ProgramControl.Resume.bt": "Resume",
|
|
433
|
-
"ProgramControl.Retry.bt": "Retry",
|
|
434
|
-
"ProgramControl.Pause.bt": "Pause",
|
|
435
|
-
"ProgramControl.Stop.bt": "Stop",
|
|
436
|
-
"ProgramStateIndicator.Preparing.lb": "Preparing",
|
|
437
|
-
"ProgramStateIndicator.Starting.lb": "Starting",
|
|
438
|
-
"ProgramStateIndicator.Running.lb": "Running",
|
|
439
|
-
"ProgramStateIndicator.Pausing.lb": "Pausing",
|
|
440
|
-
"ProgramStateIndicator.Stopping.lb": "Stopping",
|
|
441
|
-
"ProgramStateIndicator.Completed.lb": "Completed",
|
|
442
|
-
"ProgramStateIndicator.Failed.lb": "Failed",
|
|
443
|
-
"ProgramStateIndicator.Error.lb": "Error",
|
|
444
|
-
"ProgramStateIndicator.EStop.lb": "E-Stop",
|
|
445
|
-
"ProgramStateIndicator.Idle.lb": "Idle",
|
|
446
|
-
"ProgramStateIndicator.Paused.lb": "Paused",
|
|
447
|
-
"ProgramStateIndicator.Ready.lb": "Ready",
|
|
448
|
-
"ProgramStateIndicator.Stopped.lb": "Stopped",
|
|
449
|
-
"ProgramStateIndicator.Auto.lb": "Auto",
|
|
450
|
-
"ProgramStateIndicator.Manual.lb": "Manual",
|
|
451
|
-
"ProgramStateIndicator.ManualT1.lb": "Manual T1",
|
|
452
|
-
"ProgramStateIndicator.ManualT2.lb": "Manual T2",
|
|
453
|
-
"RobotSetupReadinessIndicator.Ready.lb": "Ready",
|
|
454
|
-
"RobotSetupReadinessIndicator.RobotDisconnected.lb": "Robot disconnected",
|
|
455
|
-
"RobotSetupReadinessIndicator.CellOpen.lb": "Cell open",
|
|
456
|
-
"RobotSetupReadinessIndicator.EStop.lb": "E-Stop",
|
|
457
|
-
"RobotSetupReadinessIndicator.ManualMode.lb": "Manual mode",
|
|
458
|
-
"RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb": "Precondition not fulfilled",
|
|
459
|
-
"RobotCard.Runtime.lb": "Runtime",
|
|
460
|
-
"RobotCard.DriveToHome.bt": "Drive to Home"
|
|
461
|
-
}, tt = _t.createInstance();
|
|
462
|
-
tt.use(kt).init({
|
|
463
|
-
supportedLngs: ["en", "de"],
|
|
464
|
-
resources: {
|
|
465
|
-
en: {
|
|
466
|
-
translations: It
|
|
467
|
-
},
|
|
468
|
-
de: {
|
|
469
|
-
translations: Ft
|
|
470
|
-
}
|
|
471
|
-
},
|
|
472
|
-
ns: ["translations"],
|
|
473
|
-
defaultNS: "translations",
|
|
474
|
-
detection: {
|
|
475
|
-
order: ["navigator", "htmlTag"]
|
|
476
|
-
}
|
|
477
|
-
});
|
|
478
|
-
function gn(e) {
|
|
479
|
-
return ((r) => /* @__PURE__ */ Ce.jsx(Mt, { children: /* @__PURE__ */ Ce.jsx(e, { ...r }) }));
|
|
480
|
-
}
|
|
481
|
-
const Mt = ({
|
|
482
|
-
children: e
|
|
483
|
-
}) => /* @__PURE__ */ Ce.jsx(xt, { i18n: tt, children: e });
|
|
484
|
-
function rt(e, t) {
|
|
485
|
-
return function() {
|
|
486
|
-
return e.apply(t, arguments);
|
|
487
|
-
};
|
|
488
|
-
}
|
|
489
|
-
const { toString: Dt } = Object.prototype, { getPrototypeOf: Ne } = Object, { iterator: ge, toStringTag: nt } = Symbol, ye = /* @__PURE__ */ ((e) => (t) => {
|
|
490
|
-
const r = Dt.call(t);
|
|
491
|
-
return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
|
|
492
|
-
})(/* @__PURE__ */ Object.create(null)), M = (e) => (e = e.toLowerCase(), (t) => ye(t) === e), Se = (e) => (t) => typeof t === e, { isArray: K } = Array, Y = Se("undefined");
|
|
493
|
-
function oe(e) {
|
|
494
|
-
return e !== null && !Y(e) && e.constructor !== null && !Y(e.constructor) && B(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
495
|
-
}
|
|
496
|
-
const ot = M("ArrayBuffer");
|
|
497
|
-
function jt(e) {
|
|
498
|
-
let t;
|
|
499
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && ot(e.buffer), t;
|
|
500
|
-
}
|
|
501
|
-
const Ut = Se("string"), B = Se("function"), it = Se("number"), ie = (e) => e !== null && typeof e == "object", Lt = (e) => e === !0 || e === !1, pe = (e) => {
|
|
502
|
-
if (ye(e) !== "object")
|
|
503
|
-
return !1;
|
|
504
|
-
const t = Ne(e);
|
|
505
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(nt in e) && !(ge in e);
|
|
506
|
-
}, Jt = (e) => {
|
|
507
|
-
if (!ie(e) || oe(e))
|
|
508
|
-
return !1;
|
|
509
|
-
try {
|
|
510
|
-
return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
|
|
511
|
-
} catch {
|
|
512
|
-
return !1;
|
|
513
|
-
}
|
|
514
|
-
}, qt = M("Date"), $t = M("File"), Ht = M("Blob"), zt = M("FileList"), Vt = (e) => ie(e) && B(e.pipe), Wt = (e) => {
|
|
515
|
-
let t;
|
|
516
|
-
return e && (typeof FormData == "function" && e instanceof FormData || B(e.append) && ((t = ye(e)) === "formdata" || // detect form-data instance
|
|
517
|
-
t === "object" && B(e.toString) && e.toString() === "[object FormData]"));
|
|
518
|
-
}, Gt = M("URLSearchParams"), [Yt, Kt, Xt, Zt] = ["ReadableStream", "Request", "Response", "Headers"].map(M), Qt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
519
|
-
function se(e, t, { allOwnKeys: r = !1 } = {}) {
|
|
520
|
-
if (e === null || typeof e > "u")
|
|
521
|
-
return;
|
|
522
|
-
let n, o;
|
|
523
|
-
if (typeof e != "object" && (e = [e]), K(e))
|
|
524
|
-
for (n = 0, o = e.length; n < o; n++)
|
|
525
|
-
t.call(null, e[n], n, e);
|
|
526
|
-
else {
|
|
527
|
-
if (oe(e))
|
|
528
|
-
return;
|
|
529
|
-
const s = r ? Object.getOwnPropertyNames(e) : Object.keys(e), i = s.length;
|
|
530
|
-
let l;
|
|
531
|
-
for (n = 0; n < i; n++)
|
|
532
|
-
l = s[n], t.call(null, e[l], l, e);
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
function st(e, t) {
|
|
536
|
-
if (oe(e))
|
|
537
|
-
return null;
|
|
538
|
-
t = t.toLowerCase();
|
|
539
|
-
const r = Object.keys(e);
|
|
540
|
-
let n = r.length, o;
|
|
541
|
-
for (; n-- > 0; )
|
|
542
|
-
if (o = r[n], t === o.toLowerCase())
|
|
543
|
-
return o;
|
|
544
|
-
return null;
|
|
545
|
-
}
|
|
546
|
-
const H = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, at = (e) => !Y(e) && e !== H;
|
|
547
|
-
function xe() {
|
|
548
|
-
const { caseless: e, skipUndefined: t } = at(this) && this || {}, r = {}, n = (o, s) => {
|
|
549
|
-
const i = e && st(r, s) || s;
|
|
550
|
-
pe(r[i]) && pe(o) ? r[i] = xe(r[i], o) : pe(o) ? r[i] = xe({}, o) : K(o) ? r[i] = o.slice() : (!t || !Y(o)) && (r[i] = o);
|
|
551
|
-
};
|
|
552
|
-
for (let o = 0, s = arguments.length; o < s; o++)
|
|
553
|
-
arguments[o] && se(arguments[o], n);
|
|
554
|
-
return r;
|
|
555
|
-
}
|
|
556
|
-
const er = (e, t, r, { allOwnKeys: n } = {}) => (se(t, (o, s) => {
|
|
557
|
-
r && B(o) ? e[s] = rt(o, r) : e[s] = o;
|
|
558
|
-
}, { allOwnKeys: n }), e), tr = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), rr = (e, t, r, n) => {
|
|
559
|
-
e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
560
|
-
value: t.prototype
|
|
561
|
-
}), r && Object.assign(e.prototype, r);
|
|
562
|
-
}, nr = (e, t, r, n) => {
|
|
563
|
-
let o, s, i;
|
|
564
|
-
const l = {};
|
|
565
|
-
if (t = t || {}, e == null) return t;
|
|
566
|
-
do {
|
|
567
|
-
for (o = Object.getOwnPropertyNames(e), s = o.length; s-- > 0; )
|
|
568
|
-
i = o[s], (!n || n(i, e, t)) && !l[i] && (t[i] = e[i], l[i] = !0);
|
|
569
|
-
e = r !== !1 && Ne(e);
|
|
570
|
-
} while (e && (!r || r(e, t)) && e !== Object.prototype);
|
|
571
|
-
return t;
|
|
572
|
-
}, or = (e, t, r) => {
|
|
573
|
-
e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
|
|
574
|
-
const n = e.indexOf(t, r);
|
|
575
|
-
return n !== -1 && n === r;
|
|
576
|
-
}, ir = (e) => {
|
|
577
|
-
if (!e) return null;
|
|
578
|
-
if (K(e)) return e;
|
|
579
|
-
let t = e.length;
|
|
580
|
-
if (!it(t)) return null;
|
|
581
|
-
const r = new Array(t);
|
|
582
|
-
for (; t-- > 0; )
|
|
583
|
-
r[t] = e[t];
|
|
584
|
-
return r;
|
|
585
|
-
}, sr = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Ne(Uint8Array)), ar = (e, t) => {
|
|
586
|
-
const n = (e && e[ge]).call(e);
|
|
587
|
-
let o;
|
|
588
|
-
for (; (o = n.next()) && !o.done; ) {
|
|
589
|
-
const s = o.value;
|
|
590
|
-
t.call(e, s[0], s[1]);
|
|
591
|
-
}
|
|
592
|
-
}, lr = (e, t) => {
|
|
593
|
-
let r;
|
|
594
|
-
const n = [];
|
|
595
|
-
for (; (r = e.exec(t)) !== null; )
|
|
596
|
-
n.push(r);
|
|
597
|
-
return n;
|
|
598
|
-
}, cr = M("HTMLFormElement"), ur = (e) => e.toLowerCase().replace(
|
|
599
|
-
/[-_\s]([a-z\d])(\w*)/g,
|
|
600
|
-
function(r, n, o) {
|
|
601
|
-
return n.toUpperCase() + o;
|
|
602
|
-
}
|
|
603
|
-
), Ue = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), fr = M("RegExp"), lt = (e, t) => {
|
|
604
|
-
const r = Object.getOwnPropertyDescriptors(e), n = {};
|
|
605
|
-
se(r, (o, s) => {
|
|
606
|
-
let i;
|
|
607
|
-
(i = t(o, s, e)) !== !1 && (n[s] = i || o);
|
|
608
|
-
}), Object.defineProperties(e, n);
|
|
609
|
-
}, dr = (e) => {
|
|
610
|
-
lt(e, (t, r) => {
|
|
611
|
-
if (B(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
|
|
612
|
-
return !1;
|
|
613
|
-
const n = e[r];
|
|
614
|
-
if (B(n)) {
|
|
615
|
-
if (t.enumerable = !1, "writable" in t) {
|
|
616
|
-
t.writable = !1;
|
|
617
|
-
return;
|
|
618
|
-
}
|
|
619
|
-
t.set || (t.set = () => {
|
|
620
|
-
throw Error("Can not rewrite read-only method '" + r + "'");
|
|
621
|
-
});
|
|
622
|
-
}
|
|
623
|
-
});
|
|
624
|
-
}, pr = (e, t) => {
|
|
625
|
-
const r = {}, n = (o) => {
|
|
626
|
-
o.forEach((s) => {
|
|
627
|
-
r[s] = !0;
|
|
628
|
-
});
|
|
629
|
-
};
|
|
630
|
-
return K(e) ? n(e) : n(String(e).split(t)), r;
|
|
631
|
-
}, mr = () => {
|
|
632
|
-
}, hr = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
633
|
-
function br(e) {
|
|
634
|
-
return !!(e && B(e.append) && e[nt] === "FormData" && e[ge]);
|
|
635
|
-
}
|
|
636
|
-
const gr = (e) => {
|
|
637
|
-
const t = new Array(10), r = (n, o) => {
|
|
638
|
-
if (ie(n)) {
|
|
639
|
-
if (t.indexOf(n) >= 0)
|
|
640
|
-
return;
|
|
641
|
-
if (oe(n))
|
|
642
|
-
return n;
|
|
643
|
-
if (!("toJSON" in n)) {
|
|
644
|
-
t[o] = n;
|
|
645
|
-
const s = K(n) ? [] : {};
|
|
646
|
-
return se(n, (i, l) => {
|
|
647
|
-
const p = r(i, o + 1);
|
|
648
|
-
!Y(p) && (s[l] = p);
|
|
649
|
-
}), t[o] = void 0, s;
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
return n;
|
|
653
|
-
};
|
|
654
|
-
return r(e, 0);
|
|
655
|
-
}, yr = M("AsyncFunction"), Sr = (e) => e && (ie(e) || B(e)) && B(e.then) && B(e.catch), ct = ((e, t) => e ? setImmediate : t ? ((r, n) => (H.addEventListener("message", ({ source: o, data: s }) => {
|
|
656
|
-
o === H && s === r && n.length && n.shift()();
|
|
657
|
-
}, !1), (o) => {
|
|
658
|
-
n.push(o), H.postMessage(r, "*");
|
|
659
|
-
}))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
|
|
660
|
-
typeof setImmediate == "function",
|
|
661
|
-
B(H.postMessage)
|
|
662
|
-
), Rr = typeof queueMicrotask < "u" ? queueMicrotask.bind(H) : typeof process < "u" && process.nextTick || ct, Er = (e) => e != null && B(e[ge]), a = {
|
|
663
|
-
isArray: K,
|
|
664
|
-
isArrayBuffer: ot,
|
|
665
|
-
isBuffer: oe,
|
|
666
|
-
isFormData: Wt,
|
|
667
|
-
isArrayBufferView: jt,
|
|
668
|
-
isString: Ut,
|
|
669
|
-
isNumber: it,
|
|
670
|
-
isBoolean: Lt,
|
|
671
|
-
isObject: ie,
|
|
672
|
-
isPlainObject: pe,
|
|
673
|
-
isEmptyObject: Jt,
|
|
674
|
-
isReadableStream: Yt,
|
|
675
|
-
isRequest: Kt,
|
|
676
|
-
isResponse: Xt,
|
|
677
|
-
isHeaders: Zt,
|
|
678
|
-
isUndefined: Y,
|
|
679
|
-
isDate: qt,
|
|
680
|
-
isFile: $t,
|
|
681
|
-
isBlob: Ht,
|
|
682
|
-
isRegExp: fr,
|
|
683
|
-
isFunction: B,
|
|
684
|
-
isStream: Vt,
|
|
685
|
-
isURLSearchParams: Gt,
|
|
686
|
-
isTypedArray: sr,
|
|
687
|
-
isFileList: zt,
|
|
688
|
-
forEach: se,
|
|
689
|
-
merge: xe,
|
|
690
|
-
extend: er,
|
|
691
|
-
trim: Qt,
|
|
692
|
-
stripBOM: tr,
|
|
693
|
-
inherits: rr,
|
|
694
|
-
toFlatObject: nr,
|
|
695
|
-
kindOf: ye,
|
|
696
|
-
kindOfTest: M,
|
|
697
|
-
endsWith: or,
|
|
698
|
-
toArray: ir,
|
|
699
|
-
forEachEntry: ar,
|
|
700
|
-
matchAll: lr,
|
|
701
|
-
isHTMLForm: cr,
|
|
702
|
-
hasOwnProperty: Ue,
|
|
703
|
-
hasOwnProp: Ue,
|
|
704
|
-
// an alias to avoid ESLint no-prototype-builtins detection
|
|
705
|
-
reduceDescriptors: lt,
|
|
706
|
-
freezeMethods: dr,
|
|
707
|
-
toObjectSet: pr,
|
|
708
|
-
toCamelCase: ur,
|
|
709
|
-
noop: mr,
|
|
710
|
-
toFiniteNumber: hr,
|
|
711
|
-
findKey: st,
|
|
712
|
-
global: H,
|
|
713
|
-
isContextDefined: at,
|
|
714
|
-
isSpecCompliantForm: br,
|
|
715
|
-
toJSONObject: gr,
|
|
716
|
-
isAsyncFn: yr,
|
|
717
|
-
isThenable: Sr,
|
|
718
|
-
setImmediate: ct,
|
|
719
|
-
asap: Rr,
|
|
720
|
-
isIterable: Er
|
|
721
|
-
};
|
|
722
|
-
function y(e, t, r, n, o) {
|
|
723
|
-
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), r && (this.config = r), n && (this.request = n), o && (this.response = o, this.status = o.status ? o.status : null);
|
|
724
|
-
}
|
|
725
|
-
a.inherits(y, Error, {
|
|
726
|
-
toJSON: function() {
|
|
727
|
-
return {
|
|
728
|
-
// Standard
|
|
729
|
-
message: this.message,
|
|
730
|
-
name: this.name,
|
|
731
|
-
// Microsoft
|
|
732
|
-
description: this.description,
|
|
733
|
-
number: this.number,
|
|
734
|
-
// Mozilla
|
|
735
|
-
fileName: this.fileName,
|
|
736
|
-
lineNumber: this.lineNumber,
|
|
737
|
-
columnNumber: this.columnNumber,
|
|
738
|
-
stack: this.stack,
|
|
739
|
-
// Axios
|
|
740
|
-
config: a.toJSONObject(this.config),
|
|
741
|
-
code: this.code,
|
|
742
|
-
status: this.status
|
|
743
|
-
};
|
|
744
|
-
}
|
|
745
|
-
});
|
|
746
|
-
const ut = y.prototype, ft = {};
|
|
747
|
-
[
|
|
748
|
-
"ERR_BAD_OPTION_VALUE",
|
|
749
|
-
"ERR_BAD_OPTION",
|
|
750
|
-
"ECONNABORTED",
|
|
751
|
-
"ETIMEDOUT",
|
|
752
|
-
"ERR_NETWORK",
|
|
753
|
-
"ERR_FR_TOO_MANY_REDIRECTS",
|
|
754
|
-
"ERR_DEPRECATED",
|
|
755
|
-
"ERR_BAD_RESPONSE",
|
|
756
|
-
"ERR_BAD_REQUEST",
|
|
757
|
-
"ERR_CANCELED",
|
|
758
|
-
"ERR_NOT_SUPPORT",
|
|
759
|
-
"ERR_INVALID_URL"
|
|
760
|
-
// eslint-disable-next-line func-names
|
|
761
|
-
].forEach((e) => {
|
|
762
|
-
ft[e] = { value: e };
|
|
763
|
-
});
|
|
764
|
-
Object.defineProperties(y, ft);
|
|
765
|
-
Object.defineProperty(ut, "isAxiosError", { value: !0 });
|
|
766
|
-
y.from = (e, t, r, n, o, s) => {
|
|
767
|
-
const i = Object.create(ut);
|
|
768
|
-
a.toFlatObject(e, i, function(u) {
|
|
769
|
-
return u !== Error.prototype;
|
|
770
|
-
}, (d) => d !== "isAxiosError");
|
|
771
|
-
const l = e && e.message ? e.message : "Error", p = t == null && e ? e.code : t;
|
|
772
|
-
return y.call(i, l, p, r, n, o), e && i.cause == null && Object.defineProperty(i, "cause", { value: e, configurable: !0 }), i.name = e && e.name || "Error", s && Object.assign(i, s), i;
|
|
773
|
-
};
|
|
774
|
-
const wr = null;
|
|
775
|
-
function _e(e) {
|
|
776
|
-
return a.isPlainObject(e) || a.isArray(e);
|
|
777
|
-
}
|
|
778
|
-
function dt(e) {
|
|
779
|
-
return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
780
|
-
}
|
|
781
|
-
function Le(e, t, r) {
|
|
782
|
-
return e ? e.concat(t).map(function(o, s) {
|
|
783
|
-
return o = dt(o), !r && s ? "[" + o + "]" : o;
|
|
784
|
-
}).join(r ? "." : "") : t;
|
|
785
|
-
}
|
|
786
|
-
function Tr(e) {
|
|
787
|
-
return a.isArray(e) && !e.some(_e);
|
|
788
|
-
}
|
|
789
|
-
const Or = a.toFlatObject(a, {}, null, function(t) {
|
|
790
|
-
return /^is[A-Z]/.test(t);
|
|
791
|
-
});
|
|
792
|
-
function Re(e, t, r) {
|
|
793
|
-
if (!a.isObject(e))
|
|
794
|
-
throw new TypeError("target must be an object");
|
|
795
|
-
t = t || new FormData(), r = a.toFlatObject(r, {
|
|
796
|
-
metaTokens: !0,
|
|
797
|
-
dots: !1,
|
|
798
|
-
indexes: !1
|
|
799
|
-
}, !1, function(b, m) {
|
|
800
|
-
return !a.isUndefined(m[b]);
|
|
801
|
-
});
|
|
802
|
-
const n = r.metaTokens, o = r.visitor || u, s = r.dots, i = r.indexes, p = (r.Blob || typeof Blob < "u" && Blob) && a.isSpecCompliantForm(t);
|
|
803
|
-
if (!a.isFunction(o))
|
|
804
|
-
throw new TypeError("visitor must be a function");
|
|
805
|
-
function d(f) {
|
|
806
|
-
if (f === null) return "";
|
|
807
|
-
if (a.isDate(f))
|
|
808
|
-
return f.toISOString();
|
|
809
|
-
if (a.isBoolean(f))
|
|
810
|
-
return f.toString();
|
|
811
|
-
if (!p && a.isBlob(f))
|
|
812
|
-
throw new y("Blob is not supported. Use a Buffer instead.");
|
|
813
|
-
return a.isArrayBuffer(f) || a.isTypedArray(f) ? p && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
814
|
-
}
|
|
815
|
-
function u(f, b, m) {
|
|
816
|
-
let T = f;
|
|
817
|
-
if (f && !m && typeof f == "object") {
|
|
818
|
-
if (a.endsWith(b, "{}"))
|
|
819
|
-
b = n ? b : b.slice(0, -2), f = JSON.stringify(f);
|
|
820
|
-
else if (a.isArray(f) && Tr(f) || (a.isFileList(f) || a.endsWith(b, "[]")) && (T = a.toArray(f)))
|
|
821
|
-
return b = dt(b), T.forEach(function(O, C) {
|
|
822
|
-
!(a.isUndefined(O) || O === null) && t.append(
|
|
823
|
-
// eslint-disable-next-line no-nested-ternary
|
|
824
|
-
i === !0 ? Le([b], C, s) : i === null ? b : b + "[]",
|
|
825
|
-
d(O)
|
|
826
|
-
);
|
|
827
|
-
}), !1;
|
|
828
|
-
}
|
|
829
|
-
return _e(f) ? !0 : (t.append(Le(m, b, s), d(f)), !1);
|
|
830
|
-
}
|
|
831
|
-
const h = [], S = Object.assign(Or, {
|
|
832
|
-
defaultVisitor: u,
|
|
833
|
-
convertValue: d,
|
|
834
|
-
isVisitable: _e
|
|
835
|
-
});
|
|
836
|
-
function w(f, b) {
|
|
837
|
-
if (!a.isUndefined(f)) {
|
|
838
|
-
if (h.indexOf(f) !== -1)
|
|
839
|
-
throw Error("Circular reference detected in " + b.join("."));
|
|
840
|
-
h.push(f), a.forEach(f, function(T, _) {
|
|
841
|
-
(!(a.isUndefined(T) || T === null) && o.call(
|
|
842
|
-
t,
|
|
843
|
-
T,
|
|
844
|
-
a.isString(_) ? _.trim() : _,
|
|
845
|
-
b,
|
|
846
|
-
S
|
|
847
|
-
)) === !0 && w(T, b ? b.concat(_) : [_]);
|
|
848
|
-
}), h.pop();
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
if (!a.isObject(e))
|
|
852
|
-
throw new TypeError("data must be an object");
|
|
853
|
-
return w(e), t;
|
|
854
|
-
}
|
|
855
|
-
function Je(e) {
|
|
856
|
-
const t = {
|
|
857
|
-
"!": "%21",
|
|
858
|
-
"'": "%27",
|
|
859
|
-
"(": "%28",
|
|
860
|
-
")": "%29",
|
|
861
|
-
"~": "%7E",
|
|
862
|
-
"%20": "+",
|
|
863
|
-
"%00": "\0"
|
|
864
|
-
};
|
|
865
|
-
return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(n) {
|
|
866
|
-
return t[n];
|
|
867
|
-
});
|
|
868
|
-
}
|
|
869
|
-
function ve(e, t) {
|
|
870
|
-
this._pairs = [], e && Re(e, this, t);
|
|
871
|
-
}
|
|
872
|
-
const pt = ve.prototype;
|
|
873
|
-
pt.append = function(t, r) {
|
|
874
|
-
this._pairs.push([t, r]);
|
|
875
|
-
};
|
|
876
|
-
pt.toString = function(t) {
|
|
877
|
-
const r = t ? function(n) {
|
|
878
|
-
return t.call(this, n, Je);
|
|
879
|
-
} : Je;
|
|
880
|
-
return this._pairs.map(function(o) {
|
|
881
|
-
return r(o[0]) + "=" + r(o[1]);
|
|
882
|
-
}, "").join("&");
|
|
883
|
-
};
|
|
884
|
-
function Ar(e) {
|
|
885
|
-
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
886
|
-
}
|
|
887
|
-
function mt(e, t, r) {
|
|
888
|
-
if (!t)
|
|
889
|
-
return e;
|
|
890
|
-
const n = r && r.encode || Ar;
|
|
891
|
-
a.isFunction(r) && (r = {
|
|
892
|
-
serialize: r
|
|
893
|
-
});
|
|
894
|
-
const o = r && r.serialize;
|
|
895
|
-
let s;
|
|
896
|
-
if (o ? s = o(t, r) : s = a.isURLSearchParams(t) ? t.toString() : new ve(t, r).toString(n), s) {
|
|
897
|
-
const i = e.indexOf("#");
|
|
898
|
-
i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + s;
|
|
899
|
-
}
|
|
900
|
-
return e;
|
|
901
|
-
}
|
|
902
|
-
class qe {
|
|
903
|
-
constructor() {
|
|
904
|
-
this.handlers = [];
|
|
905
|
-
}
|
|
906
|
-
/**
|
|
907
|
-
* Add a new interceptor to the stack
|
|
908
|
-
*
|
|
909
|
-
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
|
910
|
-
* @param {Function} rejected The function to handle `reject` for a `Promise`
|
|
911
|
-
*
|
|
912
|
-
* @return {Number} An ID used to remove interceptor later
|
|
913
|
-
*/
|
|
914
|
-
use(t, r, n) {
|
|
915
|
-
return this.handlers.push({
|
|
916
|
-
fulfilled: t,
|
|
917
|
-
rejected: r,
|
|
918
|
-
synchronous: n ? n.synchronous : !1,
|
|
919
|
-
runWhen: n ? n.runWhen : null
|
|
920
|
-
}), this.handlers.length - 1;
|
|
921
|
-
}
|
|
922
|
-
/**
|
|
923
|
-
* Remove an interceptor from the stack
|
|
924
|
-
*
|
|
925
|
-
* @param {Number} id The ID that was returned by `use`
|
|
926
|
-
*
|
|
927
|
-
* @returns {void}
|
|
928
|
-
*/
|
|
929
|
-
eject(t) {
|
|
930
|
-
this.handlers[t] && (this.handlers[t] = null);
|
|
931
|
-
}
|
|
932
|
-
/**
|
|
933
|
-
* Clear all interceptors from the stack
|
|
934
|
-
*
|
|
935
|
-
* @returns {void}
|
|
936
|
-
*/
|
|
937
|
-
clear() {
|
|
938
|
-
this.handlers && (this.handlers = []);
|
|
939
|
-
}
|
|
940
|
-
/**
|
|
941
|
-
* Iterate over all the registered interceptors
|
|
942
|
-
*
|
|
943
|
-
* This method is particularly useful for skipping over any
|
|
944
|
-
* interceptors that may have become `null` calling `eject`.
|
|
945
|
-
*
|
|
946
|
-
* @param {Function} fn The function to call for each interceptor
|
|
947
|
-
*
|
|
948
|
-
* @returns {void}
|
|
949
|
-
*/
|
|
950
|
-
forEach(t) {
|
|
951
|
-
a.forEach(this.handlers, function(n) {
|
|
952
|
-
n !== null && t(n);
|
|
953
|
-
});
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
const ht = {
|
|
957
|
-
silentJSONParsing: !0,
|
|
958
|
-
forcedJSONParsing: !0,
|
|
959
|
-
clarifyTimeoutError: !1
|
|
960
|
-
}, Pr = typeof URLSearchParams < "u" ? URLSearchParams : ve, Cr = typeof FormData < "u" ? FormData : null, xr = typeof Blob < "u" ? Blob : null, _r = {
|
|
961
|
-
isBrowser: !0,
|
|
962
|
-
classes: {
|
|
963
|
-
URLSearchParams: Pr,
|
|
964
|
-
FormData: Cr,
|
|
965
|
-
Blob: xr
|
|
966
|
-
},
|
|
967
|
-
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
968
|
-
}, Fe = typeof window < "u" && typeof document < "u", ke = typeof navigator == "object" && navigator || void 0, kr = Fe && (!ke || ["ReactNative", "NativeScript", "NS"].indexOf(ke.product) < 0), Br = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
969
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Nr = Fe && window.location.href || "http://localhost", vr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
970
|
-
__proto__: null,
|
|
971
|
-
hasBrowserEnv: Fe,
|
|
972
|
-
hasStandardBrowserEnv: kr,
|
|
973
|
-
hasStandardBrowserWebWorkerEnv: Br,
|
|
974
|
-
navigator: ke,
|
|
975
|
-
origin: Nr
|
|
976
|
-
}, Symbol.toStringTag, { value: "Module" })), x = {
|
|
977
|
-
...vr,
|
|
978
|
-
..._r
|
|
979
|
-
};
|
|
980
|
-
function Fr(e, t) {
|
|
981
|
-
return Re(e, new x.classes.URLSearchParams(), {
|
|
982
|
-
visitor: function(r, n, o, s) {
|
|
983
|
-
return x.isNode && a.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
|
|
984
|
-
},
|
|
985
|
-
...t
|
|
986
|
-
});
|
|
987
|
-
}
|
|
988
|
-
function Ir(e) {
|
|
989
|
-
return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
990
|
-
}
|
|
991
|
-
function Mr(e) {
|
|
992
|
-
const t = {}, r = Object.keys(e);
|
|
993
|
-
let n;
|
|
994
|
-
const o = r.length;
|
|
995
|
-
let s;
|
|
996
|
-
for (n = 0; n < o; n++)
|
|
997
|
-
s = r[n], t[s] = e[s];
|
|
998
|
-
return t;
|
|
999
|
-
}
|
|
1000
|
-
function bt(e) {
|
|
1001
|
-
function t(r, n, o, s) {
|
|
1002
|
-
let i = r[s++];
|
|
1003
|
-
if (i === "__proto__") return !0;
|
|
1004
|
-
const l = Number.isFinite(+i), p = s >= r.length;
|
|
1005
|
-
return i = !i && a.isArray(o) ? o.length : i, p ? (a.hasOwnProp(o, i) ? o[i] = [o[i], n] : o[i] = n, !l) : ((!o[i] || !a.isObject(o[i])) && (o[i] = []), t(r, n, o[i], s) && a.isArray(o[i]) && (o[i] = Mr(o[i])), !l);
|
|
1006
|
-
}
|
|
1007
|
-
if (a.isFormData(e) && a.isFunction(e.entries)) {
|
|
1008
|
-
const r = {};
|
|
1009
|
-
return a.forEachEntry(e, (n, o) => {
|
|
1010
|
-
t(Ir(n), o, r, 0);
|
|
1011
|
-
}), r;
|
|
1012
|
-
}
|
|
1013
|
-
return null;
|
|
1014
|
-
}
|
|
1015
|
-
function Dr(e, t, r) {
|
|
1016
|
-
if (a.isString(e))
|
|
1017
|
-
try {
|
|
1018
|
-
return (t || JSON.parse)(e), a.trim(e);
|
|
1019
|
-
} catch (n) {
|
|
1020
|
-
if (n.name !== "SyntaxError")
|
|
1021
|
-
throw n;
|
|
1022
|
-
}
|
|
1023
|
-
return (r || JSON.stringify)(e);
|
|
1024
|
-
}
|
|
1025
|
-
const ae = {
|
|
1026
|
-
transitional: ht,
|
|
1027
|
-
adapter: ["xhr", "http", "fetch"],
|
|
1028
|
-
transformRequest: [function(t, r) {
|
|
1029
|
-
const n = r.getContentType() || "", o = n.indexOf("application/json") > -1, s = a.isObject(t);
|
|
1030
|
-
if (s && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t))
|
|
1031
|
-
return o ? JSON.stringify(bt(t)) : t;
|
|
1032
|
-
if (a.isArrayBuffer(t) || a.isBuffer(t) || a.isStream(t) || a.isFile(t) || a.isBlob(t) || a.isReadableStream(t))
|
|
1033
|
-
return t;
|
|
1034
|
-
if (a.isArrayBufferView(t))
|
|
1035
|
-
return t.buffer;
|
|
1036
|
-
if (a.isURLSearchParams(t))
|
|
1037
|
-
return r.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
|
|
1038
|
-
let l;
|
|
1039
|
-
if (s) {
|
|
1040
|
-
if (n.indexOf("application/x-www-form-urlencoded") > -1)
|
|
1041
|
-
return Fr(t, this.formSerializer).toString();
|
|
1042
|
-
if ((l = a.isFileList(t)) || n.indexOf("multipart/form-data") > -1) {
|
|
1043
|
-
const p = this.env && this.env.FormData;
|
|
1044
|
-
return Re(
|
|
1045
|
-
l ? { "files[]": t } : t,
|
|
1046
|
-
p && new p(),
|
|
1047
|
-
this.formSerializer
|
|
1048
|
-
);
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
return s || o ? (r.setContentType("application/json", !1), Dr(t)) : t;
|
|
1052
|
-
}],
|
|
1053
|
-
transformResponse: [function(t) {
|
|
1054
|
-
const r = this.transitional || ae.transitional, n = r && r.forcedJSONParsing, o = this.responseType === "json";
|
|
1055
|
-
if (a.isResponse(t) || a.isReadableStream(t))
|
|
1056
|
-
return t;
|
|
1057
|
-
if (t && a.isString(t) && (n && !this.responseType || o)) {
|
|
1058
|
-
const i = !(r && r.silentJSONParsing) && o;
|
|
1059
|
-
try {
|
|
1060
|
-
return JSON.parse(t, this.parseReviver);
|
|
1061
|
-
} catch (l) {
|
|
1062
|
-
if (i)
|
|
1063
|
-
throw l.name === "SyntaxError" ? y.from(l, y.ERR_BAD_RESPONSE, this, null, this.response) : l;
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
return t;
|
|
1067
|
-
}],
|
|
1068
|
-
/**
|
|
1069
|
-
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
1070
|
-
* timeout is not created.
|
|
1071
|
-
*/
|
|
1072
|
-
timeout: 0,
|
|
1073
|
-
xsrfCookieName: "XSRF-TOKEN",
|
|
1074
|
-
xsrfHeaderName: "X-XSRF-TOKEN",
|
|
1075
|
-
maxContentLength: -1,
|
|
1076
|
-
maxBodyLength: -1,
|
|
1077
|
-
env: {
|
|
1078
|
-
FormData: x.classes.FormData,
|
|
1079
|
-
Blob: x.classes.Blob
|
|
1080
|
-
},
|
|
1081
|
-
validateStatus: function(t) {
|
|
1082
|
-
return t >= 200 && t < 300;
|
|
1083
|
-
},
|
|
1084
|
-
headers: {
|
|
1085
|
-
common: {
|
|
1086
|
-
Accept: "application/json, text/plain, */*",
|
|
1087
|
-
"Content-Type": void 0
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
};
|
|
1091
|
-
a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
1092
|
-
ae.headers[e] = {};
|
|
1093
|
-
});
|
|
1094
|
-
const jr = a.toObjectSet([
|
|
1095
|
-
"age",
|
|
1096
|
-
"authorization",
|
|
1097
|
-
"content-length",
|
|
1098
|
-
"content-type",
|
|
1099
|
-
"etag",
|
|
1100
|
-
"expires",
|
|
1101
|
-
"from",
|
|
1102
|
-
"host",
|
|
1103
|
-
"if-modified-since",
|
|
1104
|
-
"if-unmodified-since",
|
|
1105
|
-
"last-modified",
|
|
1106
|
-
"location",
|
|
1107
|
-
"max-forwards",
|
|
1108
|
-
"proxy-authorization",
|
|
1109
|
-
"referer",
|
|
1110
|
-
"retry-after",
|
|
1111
|
-
"user-agent"
|
|
1112
|
-
]), Ur = (e) => {
|
|
1113
|
-
const t = {};
|
|
1114
|
-
let r, n, o;
|
|
1115
|
-
return e && e.split(`
|
|
1116
|
-
`).forEach(function(i) {
|
|
1117
|
-
o = i.indexOf(":"), r = i.substring(0, o).trim().toLowerCase(), n = i.substring(o + 1).trim(), !(!r || t[r] && jr[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n);
|
|
1118
|
-
}), t;
|
|
1119
|
-
}, $e = Symbol("internals");
|
|
1120
|
-
function ne(e) {
|
|
1121
|
-
return e && String(e).trim().toLowerCase();
|
|
1122
|
-
}
|
|
1123
|
-
function me(e) {
|
|
1124
|
-
return e === !1 || e == null ? e : a.isArray(e) ? e.map(me) : String(e);
|
|
1125
|
-
}
|
|
1126
|
-
function Lr(e) {
|
|
1127
|
-
const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
1128
|
-
let n;
|
|
1129
|
-
for (; n = r.exec(e); )
|
|
1130
|
-
t[n[1]] = n[2];
|
|
1131
|
-
return t;
|
|
1132
|
-
}
|
|
1133
|
-
const Jr = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
1134
|
-
function Oe(e, t, r, n, o) {
|
|
1135
|
-
if (a.isFunction(n))
|
|
1136
|
-
return n.call(this, t, r);
|
|
1137
|
-
if (o && (t = r), !!a.isString(t)) {
|
|
1138
|
-
if (a.isString(n))
|
|
1139
|
-
return t.indexOf(n) !== -1;
|
|
1140
|
-
if (a.isRegExp(n))
|
|
1141
|
-
return n.test(t);
|
|
1142
|
-
}
|
|
1143
|
-
}
|
|
1144
|
-
function qr(e) {
|
|
1145
|
-
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
|
|
1146
|
-
}
|
|
1147
|
-
function $r(e, t) {
|
|
1148
|
-
const r = a.toCamelCase(" " + t);
|
|
1149
|
-
["get", "set", "has"].forEach((n) => {
|
|
1150
|
-
Object.defineProperty(e, n + r, {
|
|
1151
|
-
value: function(o, s, i) {
|
|
1152
|
-
return this[n].call(this, t, o, s, i);
|
|
1153
|
-
},
|
|
1154
|
-
configurable: !0
|
|
1155
|
-
});
|
|
1156
|
-
});
|
|
1157
|
-
}
|
|
1158
|
-
let N = class {
|
|
1159
|
-
constructor(t) {
|
|
1160
|
-
t && this.set(t);
|
|
1161
|
-
}
|
|
1162
|
-
set(t, r, n) {
|
|
1163
|
-
const o = this;
|
|
1164
|
-
function s(l, p, d) {
|
|
1165
|
-
const u = ne(p);
|
|
1166
|
-
if (!u)
|
|
1167
|
-
throw new Error("header name must be a non-empty string");
|
|
1168
|
-
const h = a.findKey(o, u);
|
|
1169
|
-
(!h || o[h] === void 0 || d === !0 || d === void 0 && o[h] !== !1) && (o[h || p] = me(l));
|
|
1170
|
-
}
|
|
1171
|
-
const i = (l, p) => a.forEach(l, (d, u) => s(d, u, p));
|
|
1172
|
-
if (a.isPlainObject(t) || t instanceof this.constructor)
|
|
1173
|
-
i(t, r);
|
|
1174
|
-
else if (a.isString(t) && (t = t.trim()) && !Jr(t))
|
|
1175
|
-
i(Ur(t), r);
|
|
1176
|
-
else if (a.isObject(t) && a.isIterable(t)) {
|
|
1177
|
-
let l = {}, p, d;
|
|
1178
|
-
for (const u of t) {
|
|
1179
|
-
if (!a.isArray(u))
|
|
1180
|
-
throw TypeError("Object iterator must return a key-value pair");
|
|
1181
|
-
l[d = u[0]] = (p = l[d]) ? a.isArray(p) ? [...p, u[1]] : [p, u[1]] : u[1];
|
|
1182
|
-
}
|
|
1183
|
-
i(l, r);
|
|
1184
|
-
} else
|
|
1185
|
-
t != null && s(r, t, n);
|
|
1186
|
-
return this;
|
|
1187
|
-
}
|
|
1188
|
-
get(t, r) {
|
|
1189
|
-
if (t = ne(t), t) {
|
|
1190
|
-
const n = a.findKey(this, t);
|
|
1191
|
-
if (n) {
|
|
1192
|
-
const o = this[n];
|
|
1193
|
-
if (!r)
|
|
1194
|
-
return o;
|
|
1195
|
-
if (r === !0)
|
|
1196
|
-
return Lr(o);
|
|
1197
|
-
if (a.isFunction(r))
|
|
1198
|
-
return r.call(this, o, n);
|
|
1199
|
-
if (a.isRegExp(r))
|
|
1200
|
-
return r.exec(o);
|
|
1201
|
-
throw new TypeError("parser must be boolean|regexp|function");
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
has(t, r) {
|
|
1206
|
-
if (t = ne(t), t) {
|
|
1207
|
-
const n = a.findKey(this, t);
|
|
1208
|
-
return !!(n && this[n] !== void 0 && (!r || Oe(this, this[n], n, r)));
|
|
1209
|
-
}
|
|
1210
|
-
return !1;
|
|
1211
|
-
}
|
|
1212
|
-
delete(t, r) {
|
|
1213
|
-
const n = this;
|
|
1214
|
-
let o = !1;
|
|
1215
|
-
function s(i) {
|
|
1216
|
-
if (i = ne(i), i) {
|
|
1217
|
-
const l = a.findKey(n, i);
|
|
1218
|
-
l && (!r || Oe(n, n[l], l, r)) && (delete n[l], o = !0);
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
|
-
return a.isArray(t) ? t.forEach(s) : s(t), o;
|
|
1222
|
-
}
|
|
1223
|
-
clear(t) {
|
|
1224
|
-
const r = Object.keys(this);
|
|
1225
|
-
let n = r.length, o = !1;
|
|
1226
|
-
for (; n--; ) {
|
|
1227
|
-
const s = r[n];
|
|
1228
|
-
(!t || Oe(this, this[s], s, t, !0)) && (delete this[s], o = !0);
|
|
1229
|
-
}
|
|
1230
|
-
return o;
|
|
1231
|
-
}
|
|
1232
|
-
normalize(t) {
|
|
1233
|
-
const r = this, n = {};
|
|
1234
|
-
return a.forEach(this, (o, s) => {
|
|
1235
|
-
const i = a.findKey(n, s);
|
|
1236
|
-
if (i) {
|
|
1237
|
-
r[i] = me(o), delete r[s];
|
|
1238
|
-
return;
|
|
1239
|
-
}
|
|
1240
|
-
const l = t ? qr(s) : String(s).trim();
|
|
1241
|
-
l !== s && delete r[s], r[l] = me(o), n[l] = !0;
|
|
1242
|
-
}), this;
|
|
1243
|
-
}
|
|
1244
|
-
concat(...t) {
|
|
1245
|
-
return this.constructor.concat(this, ...t);
|
|
1246
|
-
}
|
|
1247
|
-
toJSON(t) {
|
|
1248
|
-
const r = /* @__PURE__ */ Object.create(null);
|
|
1249
|
-
return a.forEach(this, (n, o) => {
|
|
1250
|
-
n != null && n !== !1 && (r[o] = t && a.isArray(n) ? n.join(", ") : n);
|
|
1251
|
-
}), r;
|
|
1252
|
-
}
|
|
1253
|
-
[Symbol.iterator]() {
|
|
1254
|
-
return Object.entries(this.toJSON())[Symbol.iterator]();
|
|
1255
|
-
}
|
|
1256
|
-
toString() {
|
|
1257
|
-
return Object.entries(this.toJSON()).map(([t, r]) => t + ": " + r).join(`
|
|
1258
|
-
`);
|
|
1259
|
-
}
|
|
1260
|
-
getSetCookie() {
|
|
1261
|
-
return this.get("set-cookie") || [];
|
|
1262
|
-
}
|
|
1263
|
-
get [Symbol.toStringTag]() {
|
|
1264
|
-
return "AxiosHeaders";
|
|
1265
|
-
}
|
|
1266
|
-
static from(t) {
|
|
1267
|
-
return t instanceof this ? t : new this(t);
|
|
1268
|
-
}
|
|
1269
|
-
static concat(t, ...r) {
|
|
1270
|
-
const n = new this(t);
|
|
1271
|
-
return r.forEach((o) => n.set(o)), n;
|
|
1272
|
-
}
|
|
1273
|
-
static accessor(t) {
|
|
1274
|
-
const n = (this[$e] = this[$e] = {
|
|
1275
|
-
accessors: {}
|
|
1276
|
-
}).accessors, o = this.prototype;
|
|
1277
|
-
function s(i) {
|
|
1278
|
-
const l = ne(i);
|
|
1279
|
-
n[l] || ($r(o, i), n[l] = !0);
|
|
1280
|
-
}
|
|
1281
|
-
return a.isArray(t) ? t.forEach(s) : s(t), this;
|
|
1282
|
-
}
|
|
1283
|
-
};
|
|
1284
|
-
N.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
1285
|
-
a.reduceDescriptors(N.prototype, ({ value: e }, t) => {
|
|
1286
|
-
let r = t[0].toUpperCase() + t.slice(1);
|
|
1287
|
-
return {
|
|
1288
|
-
get: () => e,
|
|
1289
|
-
set(n) {
|
|
1290
|
-
this[r] = n;
|
|
1291
|
-
}
|
|
1292
|
-
};
|
|
1293
|
-
});
|
|
1294
|
-
a.freezeMethods(N);
|
|
1295
|
-
function Ae(e, t) {
|
|
1296
|
-
const r = this || ae, n = t || r, o = N.from(n.headers);
|
|
1297
|
-
let s = n.data;
|
|
1298
|
-
return a.forEach(e, function(l) {
|
|
1299
|
-
s = l.call(r, s, o.normalize(), t ? t.status : void 0);
|
|
1300
|
-
}), o.normalize(), s;
|
|
1301
|
-
}
|
|
1302
|
-
function gt(e) {
|
|
1303
|
-
return !!(e && e.__CANCEL__);
|
|
1304
|
-
}
|
|
1305
|
-
function X(e, t, r) {
|
|
1306
|
-
y.call(this, e ?? "canceled", y.ERR_CANCELED, t, r), this.name = "CanceledError";
|
|
1307
|
-
}
|
|
1308
|
-
a.inherits(X, y, {
|
|
1309
|
-
__CANCEL__: !0
|
|
1310
|
-
});
|
|
1311
|
-
function yt(e, t, r) {
|
|
1312
|
-
const n = r.config.validateStatus;
|
|
1313
|
-
!r.status || !n || n(r.status) ? e(r) : t(new y(
|
|
1314
|
-
"Request failed with status code " + r.status,
|
|
1315
|
-
[y.ERR_BAD_REQUEST, y.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
|
|
1316
|
-
r.config,
|
|
1317
|
-
r.request,
|
|
1318
|
-
r
|
|
1319
|
-
));
|
|
1320
|
-
}
|
|
1321
|
-
function Hr(e) {
|
|
1322
|
-
const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
|
|
1323
|
-
return t && t[1] || "";
|
|
1324
|
-
}
|
|
1325
|
-
function zr(e, t) {
|
|
1326
|
-
e = e || 10;
|
|
1327
|
-
const r = new Array(e), n = new Array(e);
|
|
1328
|
-
let o = 0, s = 0, i;
|
|
1329
|
-
return t = t !== void 0 ? t : 1e3, function(p) {
|
|
1330
|
-
const d = Date.now(), u = n[s];
|
|
1331
|
-
i || (i = d), r[o] = p, n[o] = d;
|
|
1332
|
-
let h = s, S = 0;
|
|
1333
|
-
for (; h !== o; )
|
|
1334
|
-
S += r[h++], h = h % e;
|
|
1335
|
-
if (o = (o + 1) % e, o === s && (s = (s + 1) % e), d - i < t)
|
|
1336
|
-
return;
|
|
1337
|
-
const w = u && d - u;
|
|
1338
|
-
return w ? Math.round(S * 1e3 / w) : void 0;
|
|
1339
|
-
};
|
|
1340
|
-
}
|
|
1341
|
-
function Vr(e, t) {
|
|
1342
|
-
let r = 0, n = 1e3 / t, o, s;
|
|
1343
|
-
const i = (d, u = Date.now()) => {
|
|
1344
|
-
r = u, o = null, s && (clearTimeout(s), s = null), e(...d);
|
|
1345
|
-
};
|
|
1346
|
-
return [(...d) => {
|
|
1347
|
-
const u = Date.now(), h = u - r;
|
|
1348
|
-
h >= n ? i(d, u) : (o = d, s || (s = setTimeout(() => {
|
|
1349
|
-
s = null, i(o);
|
|
1350
|
-
}, n - h)));
|
|
1351
|
-
}, () => o && i(o)];
|
|
1352
|
-
}
|
|
1353
|
-
const be = (e, t, r = 3) => {
|
|
1354
|
-
let n = 0;
|
|
1355
|
-
const o = zr(50, 250);
|
|
1356
|
-
return Vr((s) => {
|
|
1357
|
-
const i = s.loaded, l = s.lengthComputable ? s.total : void 0, p = i - n, d = o(p), u = i <= l;
|
|
1358
|
-
n = i;
|
|
1359
|
-
const h = {
|
|
1360
|
-
loaded: i,
|
|
1361
|
-
total: l,
|
|
1362
|
-
progress: l ? i / l : void 0,
|
|
1363
|
-
bytes: p,
|
|
1364
|
-
rate: d || void 0,
|
|
1365
|
-
estimated: d && l && u ? (l - i) / d : void 0,
|
|
1366
|
-
event: s,
|
|
1367
|
-
lengthComputable: l != null,
|
|
1368
|
-
[t ? "download" : "upload"]: !0
|
|
1369
|
-
};
|
|
1370
|
-
e(h);
|
|
1371
|
-
}, r);
|
|
1372
|
-
}, He = (e, t) => {
|
|
1373
|
-
const r = e != null;
|
|
1374
|
-
return [(n) => t[0]({
|
|
1375
|
-
lengthComputable: r,
|
|
1376
|
-
total: e,
|
|
1377
|
-
loaded: n
|
|
1378
|
-
}), t[1]];
|
|
1379
|
-
}, ze = (e) => (...t) => a.asap(() => e(...t)), Wr = x.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (r) => (r = new URL(r, x.origin), e.protocol === r.protocol && e.host === r.host && (t || e.port === r.port)))(
|
|
1380
|
-
new URL(x.origin),
|
|
1381
|
-
x.navigator && /(msie|trident)/i.test(x.navigator.userAgent)
|
|
1382
|
-
) : () => !0, Gr = x.hasStandardBrowserEnv ? (
|
|
1383
|
-
// Standard browser envs support document.cookie
|
|
1384
|
-
{
|
|
1385
|
-
write(e, t, r, n, o, s, i) {
|
|
1386
|
-
if (typeof document > "u") return;
|
|
1387
|
-
const l = [`${e}=${encodeURIComponent(t)}`];
|
|
1388
|
-
a.isNumber(r) && l.push(`expires=${new Date(r).toUTCString()}`), a.isString(n) && l.push(`path=${n}`), a.isString(o) && l.push(`domain=${o}`), s === !0 && l.push("secure"), a.isString(i) && l.push(`SameSite=${i}`), document.cookie = l.join("; ");
|
|
1389
|
-
},
|
|
1390
|
-
read(e) {
|
|
1391
|
-
if (typeof document > "u") return null;
|
|
1392
|
-
const t = document.cookie.match(new RegExp("(?:^|; )" + e + "=([^;]*)"));
|
|
1393
|
-
return t ? decodeURIComponent(t[1]) : null;
|
|
1394
|
-
},
|
|
1395
|
-
remove(e) {
|
|
1396
|
-
this.write(e, "", Date.now() - 864e5, "/");
|
|
1397
|
-
}
|
|
1398
|
-
}
|
|
1399
|
-
) : (
|
|
1400
|
-
// Non-standard browser env (web workers, react-native) lack needed support.
|
|
1401
|
-
{
|
|
1402
|
-
write() {
|
|
1403
|
-
},
|
|
1404
|
-
read() {
|
|
1405
|
-
return null;
|
|
1406
|
-
},
|
|
1407
|
-
remove() {
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
);
|
|
1411
|
-
function Yr(e) {
|
|
1412
|
-
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
1413
|
-
}
|
|
1414
|
-
function Kr(e, t) {
|
|
1415
|
-
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
1416
|
-
}
|
|
1417
|
-
function St(e, t, r) {
|
|
1418
|
-
let n = !Yr(t);
|
|
1419
|
-
return e && (n || r == !1) ? Kr(e, t) : t;
|
|
1420
|
-
}
|
|
1421
|
-
const Ve = (e) => e instanceof N ? { ...e } : e;
|
|
1422
|
-
function V(e, t) {
|
|
1423
|
-
t = t || {};
|
|
1424
|
-
const r = {};
|
|
1425
|
-
function n(d, u, h, S) {
|
|
1426
|
-
return a.isPlainObject(d) && a.isPlainObject(u) ? a.merge.call({ caseless: S }, d, u) : a.isPlainObject(u) ? a.merge({}, u) : a.isArray(u) ? u.slice() : u;
|
|
1427
|
-
}
|
|
1428
|
-
function o(d, u, h, S) {
|
|
1429
|
-
if (a.isUndefined(u)) {
|
|
1430
|
-
if (!a.isUndefined(d))
|
|
1431
|
-
return n(void 0, d, h, S);
|
|
1432
|
-
} else return n(d, u, h, S);
|
|
1433
|
-
}
|
|
1434
|
-
function s(d, u) {
|
|
1435
|
-
if (!a.isUndefined(u))
|
|
1436
|
-
return n(void 0, u);
|
|
1437
|
-
}
|
|
1438
|
-
function i(d, u) {
|
|
1439
|
-
if (a.isUndefined(u)) {
|
|
1440
|
-
if (!a.isUndefined(d))
|
|
1441
|
-
return n(void 0, d);
|
|
1442
|
-
} else return n(void 0, u);
|
|
1443
|
-
}
|
|
1444
|
-
function l(d, u, h) {
|
|
1445
|
-
if (h in t)
|
|
1446
|
-
return n(d, u);
|
|
1447
|
-
if (h in e)
|
|
1448
|
-
return n(void 0, d);
|
|
1449
|
-
}
|
|
1450
|
-
const p = {
|
|
1451
|
-
url: s,
|
|
1452
|
-
method: s,
|
|
1453
|
-
data: s,
|
|
1454
|
-
baseURL: i,
|
|
1455
|
-
transformRequest: i,
|
|
1456
|
-
transformResponse: i,
|
|
1457
|
-
paramsSerializer: i,
|
|
1458
|
-
timeout: i,
|
|
1459
|
-
timeoutMessage: i,
|
|
1460
|
-
withCredentials: i,
|
|
1461
|
-
withXSRFToken: i,
|
|
1462
|
-
adapter: i,
|
|
1463
|
-
responseType: i,
|
|
1464
|
-
xsrfCookieName: i,
|
|
1465
|
-
xsrfHeaderName: i,
|
|
1466
|
-
onUploadProgress: i,
|
|
1467
|
-
onDownloadProgress: i,
|
|
1468
|
-
decompress: i,
|
|
1469
|
-
maxContentLength: i,
|
|
1470
|
-
maxBodyLength: i,
|
|
1471
|
-
beforeRedirect: i,
|
|
1472
|
-
transport: i,
|
|
1473
|
-
httpAgent: i,
|
|
1474
|
-
httpsAgent: i,
|
|
1475
|
-
cancelToken: i,
|
|
1476
|
-
socketPath: i,
|
|
1477
|
-
responseEncoding: i,
|
|
1478
|
-
validateStatus: l,
|
|
1479
|
-
headers: (d, u, h) => o(Ve(d), Ve(u), h, !0)
|
|
1480
|
-
};
|
|
1481
|
-
return a.forEach(Object.keys({ ...e, ...t }), function(u) {
|
|
1482
|
-
const h = p[u] || o, S = h(e[u], t[u], u);
|
|
1483
|
-
a.isUndefined(S) && h !== l || (r[u] = S);
|
|
1484
|
-
}), r;
|
|
1485
|
-
}
|
|
1486
|
-
const Rt = (e) => {
|
|
1487
|
-
const t = V({}, e);
|
|
1488
|
-
let { data: r, withXSRFToken: n, xsrfHeaderName: o, xsrfCookieName: s, headers: i, auth: l } = t;
|
|
1489
|
-
if (t.headers = i = N.from(i), t.url = mt(St(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), l && i.set(
|
|
1490
|
-
"Authorization",
|
|
1491
|
-
"Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : ""))
|
|
1492
|
-
), a.isFormData(r)) {
|
|
1493
|
-
if (x.hasStandardBrowserEnv || x.hasStandardBrowserWebWorkerEnv)
|
|
1494
|
-
i.setContentType(void 0);
|
|
1495
|
-
else if (a.isFunction(r.getHeaders)) {
|
|
1496
|
-
const p = r.getHeaders(), d = ["content-type", "content-length"];
|
|
1497
|
-
Object.entries(p).forEach(([u, h]) => {
|
|
1498
|
-
d.includes(u.toLowerCase()) && i.set(u, h);
|
|
1499
|
-
});
|
|
1500
|
-
}
|
|
1501
|
-
}
|
|
1502
|
-
if (x.hasStandardBrowserEnv && (n && a.isFunction(n) && (n = n(t)), n || n !== !1 && Wr(t.url))) {
|
|
1503
|
-
const p = o && s && Gr.read(s);
|
|
1504
|
-
p && i.set(o, p);
|
|
1505
|
-
}
|
|
1506
|
-
return t;
|
|
1507
|
-
}, Xr = typeof XMLHttpRequest < "u", Zr = Xr && function(e) {
|
|
1508
|
-
return new Promise(function(r, n) {
|
|
1509
|
-
const o = Rt(e);
|
|
1510
|
-
let s = o.data;
|
|
1511
|
-
const i = N.from(o.headers).normalize();
|
|
1512
|
-
let { responseType: l, onUploadProgress: p, onDownloadProgress: d } = o, u, h, S, w, f;
|
|
1513
|
-
function b() {
|
|
1514
|
-
w && w(), f && f(), o.cancelToken && o.cancelToken.unsubscribe(u), o.signal && o.signal.removeEventListener("abort", u);
|
|
1515
|
-
}
|
|
1516
|
-
let m = new XMLHttpRequest();
|
|
1517
|
-
m.open(o.method.toUpperCase(), o.url, !0), m.timeout = o.timeout;
|
|
1518
|
-
function T() {
|
|
1519
|
-
if (!m)
|
|
1520
|
-
return;
|
|
1521
|
-
const O = N.from(
|
|
1522
|
-
"getAllResponseHeaders" in m && m.getAllResponseHeaders()
|
|
1523
|
-
), v = {
|
|
1524
|
-
data: !l || l === "text" || l === "json" ? m.responseText : m.response,
|
|
1525
|
-
status: m.status,
|
|
1526
|
-
statusText: m.statusText,
|
|
1527
|
-
headers: O,
|
|
1528
|
-
config: e,
|
|
1529
|
-
request: m
|
|
1530
|
-
};
|
|
1531
|
-
yt(function(k) {
|
|
1532
|
-
r(k), b();
|
|
1533
|
-
}, function(k) {
|
|
1534
|
-
n(k), b();
|
|
1535
|
-
}, v), m = null;
|
|
1536
|
-
}
|
|
1537
|
-
"onloadend" in m ? m.onloadend = T : m.onreadystatechange = function() {
|
|
1538
|
-
!m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(T);
|
|
1539
|
-
}, m.onabort = function() {
|
|
1540
|
-
m && (n(new y("Request aborted", y.ECONNABORTED, e, m)), m = null);
|
|
1541
|
-
}, m.onerror = function(C) {
|
|
1542
|
-
const v = C && C.message ? C.message : "Network Error", j = new y(v, y.ERR_NETWORK, e, m);
|
|
1543
|
-
j.event = C || null, n(j), m = null;
|
|
1544
|
-
}, m.ontimeout = function() {
|
|
1545
|
-
let C = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
1546
|
-
const v = o.transitional || ht;
|
|
1547
|
-
o.timeoutErrorMessage && (C = o.timeoutErrorMessage), n(new y(
|
|
1548
|
-
C,
|
|
1549
|
-
v.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
|
|
1550
|
-
e,
|
|
1551
|
-
m
|
|
1552
|
-
)), m = null;
|
|
1553
|
-
}, s === void 0 && i.setContentType(null), "setRequestHeader" in m && a.forEach(i.toJSON(), function(C, v) {
|
|
1554
|
-
m.setRequestHeader(v, C);
|
|
1555
|
-
}), a.isUndefined(o.withCredentials) || (m.withCredentials = !!o.withCredentials), l && l !== "json" && (m.responseType = o.responseType), d && ([S, f] = be(d, !0), m.addEventListener("progress", S)), p && m.upload && ([h, w] = be(p), m.upload.addEventListener("progress", h), m.upload.addEventListener("loadend", w)), (o.cancelToken || o.signal) && (u = (O) => {
|
|
1556
|
-
m && (n(!O || O.type ? new X(null, e, m) : O), m.abort(), m = null);
|
|
1557
|
-
}, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
|
|
1558
|
-
const _ = Hr(o.url);
|
|
1559
|
-
if (_ && x.protocols.indexOf(_) === -1) {
|
|
1560
|
-
n(new y("Unsupported protocol " + _ + ":", y.ERR_BAD_REQUEST, e));
|
|
1561
|
-
return;
|
|
1562
|
-
}
|
|
1563
|
-
m.send(s || null);
|
|
1564
|
-
});
|
|
1565
|
-
}, Qr = (e, t) => {
|
|
1566
|
-
const { length: r } = e = e ? e.filter(Boolean) : [];
|
|
1567
|
-
if (t || r) {
|
|
1568
|
-
let n = new AbortController(), o;
|
|
1569
|
-
const s = function(d) {
|
|
1570
|
-
if (!o) {
|
|
1571
|
-
o = !0, l();
|
|
1572
|
-
const u = d instanceof Error ? d : this.reason;
|
|
1573
|
-
n.abort(u instanceof y ? u : new X(u instanceof Error ? u.message : u));
|
|
1574
|
-
}
|
|
1575
|
-
};
|
|
1576
|
-
let i = t && setTimeout(() => {
|
|
1577
|
-
i = null, s(new y(`timeout ${t} of ms exceeded`, y.ETIMEDOUT));
|
|
1578
|
-
}, t);
|
|
1579
|
-
const l = () => {
|
|
1580
|
-
e && (i && clearTimeout(i), i = null, e.forEach((d) => {
|
|
1581
|
-
d.unsubscribe ? d.unsubscribe(s) : d.removeEventListener("abort", s);
|
|
1582
|
-
}), e = null);
|
|
1583
|
-
};
|
|
1584
|
-
e.forEach((d) => d.addEventListener("abort", s));
|
|
1585
|
-
const { signal: p } = n;
|
|
1586
|
-
return p.unsubscribe = () => a.asap(l), p;
|
|
1587
|
-
}
|
|
1588
|
-
}, en = function* (e, t) {
|
|
1589
|
-
let r = e.byteLength;
|
|
1590
|
-
if (r < t) {
|
|
1591
|
-
yield e;
|
|
1592
|
-
return;
|
|
1593
|
-
}
|
|
1594
|
-
let n = 0, o;
|
|
1595
|
-
for (; n < r; )
|
|
1596
|
-
o = n + t, yield e.slice(n, o), n = o;
|
|
1597
|
-
}, tn = async function* (e, t) {
|
|
1598
|
-
for await (const r of rn(e))
|
|
1599
|
-
yield* en(r, t);
|
|
1600
|
-
}, rn = async function* (e) {
|
|
1601
|
-
if (e[Symbol.asyncIterator]) {
|
|
1602
|
-
yield* e;
|
|
1603
|
-
return;
|
|
1604
|
-
}
|
|
1605
|
-
const t = e.getReader();
|
|
1606
|
-
try {
|
|
1607
|
-
for (; ; ) {
|
|
1608
|
-
const { done: r, value: n } = await t.read();
|
|
1609
|
-
if (r)
|
|
1610
|
-
break;
|
|
1611
|
-
yield n;
|
|
1612
|
-
}
|
|
1613
|
-
} finally {
|
|
1614
|
-
await t.cancel();
|
|
1615
|
-
}
|
|
1616
|
-
}, We = (e, t, r, n) => {
|
|
1617
|
-
const o = tn(e, t);
|
|
1618
|
-
let s = 0, i, l = (p) => {
|
|
1619
|
-
i || (i = !0, n && n(p));
|
|
1620
|
-
};
|
|
1621
|
-
return new ReadableStream({
|
|
1622
|
-
async pull(p) {
|
|
1623
|
-
try {
|
|
1624
|
-
const { done: d, value: u } = await o.next();
|
|
1625
|
-
if (d) {
|
|
1626
|
-
l(), p.close();
|
|
1627
|
-
return;
|
|
1628
|
-
}
|
|
1629
|
-
let h = u.byteLength;
|
|
1630
|
-
if (r) {
|
|
1631
|
-
let S = s += h;
|
|
1632
|
-
r(S);
|
|
1633
|
-
}
|
|
1634
|
-
p.enqueue(new Uint8Array(u));
|
|
1635
|
-
} catch (d) {
|
|
1636
|
-
throw l(d), d;
|
|
1637
|
-
}
|
|
1638
|
-
},
|
|
1639
|
-
cancel(p) {
|
|
1640
|
-
return l(p), o.return();
|
|
1641
|
-
}
|
|
1642
|
-
}, {
|
|
1643
|
-
highWaterMark: 2
|
|
1644
|
-
});
|
|
1645
|
-
}, Ge = 64 * 1024, { isFunction: de } = a, nn = (({ Request: e, Response: t }) => ({
|
|
1646
|
-
Request: e,
|
|
1647
|
-
Response: t
|
|
1648
|
-
}))(a.global), {
|
|
1649
|
-
ReadableStream: Ye,
|
|
1650
|
-
TextEncoder: Ke
|
|
1651
|
-
} = a.global, Xe = (e, ...t) => {
|
|
1652
|
-
try {
|
|
1653
|
-
return !!e(...t);
|
|
1654
|
-
} catch {
|
|
1655
|
-
return !1;
|
|
1656
|
-
}
|
|
1657
|
-
}, on = (e) => {
|
|
1658
|
-
e = a.merge.call({
|
|
1659
|
-
skipUndefined: !0
|
|
1660
|
-
}, nn, e);
|
|
1661
|
-
const { fetch: t, Request: r, Response: n } = e, o = t ? de(t) : typeof fetch == "function", s = de(r), i = de(n);
|
|
1662
|
-
if (!o)
|
|
1663
|
-
return !1;
|
|
1664
|
-
const l = o && de(Ye), p = o && (typeof Ke == "function" ? /* @__PURE__ */ ((f) => (b) => f.encode(b))(new Ke()) : async (f) => new Uint8Array(await new r(f).arrayBuffer())), d = s && l && Xe(() => {
|
|
1665
|
-
let f = !1;
|
|
1666
|
-
const b = new r(x.origin, {
|
|
1667
|
-
body: new Ye(),
|
|
1668
|
-
method: "POST",
|
|
1669
|
-
get duplex() {
|
|
1670
|
-
return f = !0, "half";
|
|
1671
|
-
}
|
|
1672
|
-
}).headers.has("Content-Type");
|
|
1673
|
-
return f && !b;
|
|
1674
|
-
}), u = i && l && Xe(() => a.isReadableStream(new n("").body)), h = {
|
|
1675
|
-
stream: u && ((f) => f.body)
|
|
1676
|
-
};
|
|
1677
|
-
o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((f) => {
|
|
1678
|
-
!h[f] && (h[f] = (b, m) => {
|
|
1679
|
-
let T = b && b[f];
|
|
1680
|
-
if (T)
|
|
1681
|
-
return T.call(b);
|
|
1682
|
-
throw new y(`Response type '${f}' is not supported`, y.ERR_NOT_SUPPORT, m);
|
|
1683
|
-
});
|
|
1684
|
-
});
|
|
1685
|
-
const S = async (f) => {
|
|
1686
|
-
if (f == null)
|
|
1687
|
-
return 0;
|
|
1688
|
-
if (a.isBlob(f))
|
|
1689
|
-
return f.size;
|
|
1690
|
-
if (a.isSpecCompliantForm(f))
|
|
1691
|
-
return (await new r(x.origin, {
|
|
1692
|
-
method: "POST",
|
|
1693
|
-
body: f
|
|
1694
|
-
}).arrayBuffer()).byteLength;
|
|
1695
|
-
if (a.isArrayBufferView(f) || a.isArrayBuffer(f))
|
|
1696
|
-
return f.byteLength;
|
|
1697
|
-
if (a.isURLSearchParams(f) && (f = f + ""), a.isString(f))
|
|
1698
|
-
return (await p(f)).byteLength;
|
|
1699
|
-
}, w = async (f, b) => {
|
|
1700
|
-
const m = a.toFiniteNumber(f.getContentLength());
|
|
1701
|
-
return m ?? S(b);
|
|
1702
|
-
};
|
|
1703
|
-
return async (f) => {
|
|
1704
|
-
let {
|
|
1705
|
-
url: b,
|
|
1706
|
-
method: m,
|
|
1707
|
-
data: T,
|
|
1708
|
-
signal: _,
|
|
1709
|
-
cancelToken: O,
|
|
1710
|
-
timeout: C,
|
|
1711
|
-
onDownloadProgress: v,
|
|
1712
|
-
onUploadProgress: j,
|
|
1713
|
-
responseType: k,
|
|
1714
|
-
headers: Z,
|
|
1715
|
-
withCredentials: L = "same-origin",
|
|
1716
|
-
fetchOptions: le
|
|
1717
|
-
} = Rt(f), ce = t || fetch;
|
|
1718
|
-
k = k ? (k + "").toLowerCase() : "text";
|
|
1719
|
-
let J = Qr([_, O && O.toAbortSignal()], C), q = null;
|
|
1720
|
-
const U = J && J.unsubscribe && (() => {
|
|
1721
|
-
J.unsubscribe();
|
|
1722
|
-
});
|
|
1723
|
-
let W;
|
|
1724
|
-
try {
|
|
1725
|
-
if (j && d && m !== "get" && m !== "head" && (W = await w(Z, T)) !== 0) {
|
|
1726
|
-
let c = new r(b, {
|
|
1727
|
-
method: "POST",
|
|
1728
|
-
body: T,
|
|
1729
|
-
duplex: "half"
|
|
1730
|
-
}), g;
|
|
1731
|
-
if (a.isFormData(T) && (g = c.headers.get("content-type")) && Z.setContentType(g), c.body) {
|
|
1732
|
-
const [R, E] = He(
|
|
1733
|
-
W,
|
|
1734
|
-
be(ze(j))
|
|
1735
|
-
);
|
|
1736
|
-
T = We(c.body, Ge, R, E);
|
|
1737
|
-
}
|
|
1738
|
-
}
|
|
1739
|
-
a.isString(L) || (L = L ? "include" : "omit");
|
|
1740
|
-
const F = s && "credentials" in r.prototype, Q = {
|
|
1741
|
-
...le,
|
|
1742
|
-
signal: J,
|
|
1743
|
-
method: m.toUpperCase(),
|
|
1744
|
-
headers: Z.normalize().toJSON(),
|
|
1745
|
-
body: T,
|
|
1746
|
-
duplex: "half",
|
|
1747
|
-
credentials: F ? L : void 0
|
|
1748
|
-
};
|
|
1749
|
-
q = s && new r(b, Q);
|
|
1750
|
-
let I = await (s ? ce(q, le) : ce(b, Q));
|
|
1751
|
-
const ee = u && (k === "stream" || k === "response");
|
|
1752
|
-
if (u && (v || ee && U)) {
|
|
1753
|
-
const c = {};
|
|
1754
|
-
["status", "statusText", "headers"].forEach(($) => {
|
|
1755
|
-
c[$] = I[$];
|
|
1756
|
-
});
|
|
1757
|
-
const g = a.toFiniteNumber(I.headers.get("content-length")), [R, E] = v && He(
|
|
1758
|
-
g,
|
|
1759
|
-
be(ze(v), !0)
|
|
1760
|
-
) || [];
|
|
1761
|
-
I = new n(
|
|
1762
|
-
We(I.body, Ge, R, () => {
|
|
1763
|
-
E && E(), U && U();
|
|
1764
|
-
}),
|
|
1765
|
-
c
|
|
1766
|
-
);
|
|
1767
|
-
}
|
|
1768
|
-
k = k || "text";
|
|
1769
|
-
let ue = await h[a.findKey(h, k) || "text"](I, f);
|
|
1770
|
-
return !ee && U && U(), await new Promise((c, g) => {
|
|
1771
|
-
yt(c, g, {
|
|
1772
|
-
data: ue,
|
|
1773
|
-
headers: N.from(I.headers),
|
|
1774
|
-
status: I.status,
|
|
1775
|
-
statusText: I.statusText,
|
|
1776
|
-
config: f,
|
|
1777
|
-
request: q
|
|
1778
|
-
});
|
|
1779
|
-
});
|
|
1780
|
-
} catch (F) {
|
|
1781
|
-
throw U && U(), F && F.name === "TypeError" && /Load failed|fetch/i.test(F.message) ? Object.assign(
|
|
1782
|
-
new y("Network Error", y.ERR_NETWORK, f, q),
|
|
1783
|
-
{
|
|
1784
|
-
cause: F.cause || F
|
|
1785
|
-
}
|
|
1786
|
-
) : y.from(F, F && F.code, f, q);
|
|
1787
|
-
}
|
|
1788
|
-
};
|
|
1789
|
-
}, sn = /* @__PURE__ */ new Map(), Et = (e) => {
|
|
1790
|
-
let t = e && e.env || {};
|
|
1791
|
-
const { fetch: r, Request: n, Response: o } = t, s = [
|
|
1792
|
-
n,
|
|
1793
|
-
o,
|
|
1794
|
-
r
|
|
1795
|
-
];
|
|
1796
|
-
let i = s.length, l = i, p, d, u = sn;
|
|
1797
|
-
for (; l--; )
|
|
1798
|
-
p = s[l], d = u.get(p), d === void 0 && u.set(p, d = l ? /* @__PURE__ */ new Map() : on(t)), u = d;
|
|
1799
|
-
return d;
|
|
1800
|
-
};
|
|
1801
|
-
Et();
|
|
1802
|
-
const Ie = {
|
|
1803
|
-
http: wr,
|
|
1804
|
-
xhr: Zr,
|
|
1805
|
-
fetch: {
|
|
1806
|
-
get: Et
|
|
1807
|
-
}
|
|
1808
|
-
};
|
|
1809
|
-
a.forEach(Ie, (e, t) => {
|
|
1810
|
-
if (e) {
|
|
1811
|
-
try {
|
|
1812
|
-
Object.defineProperty(e, "name", { value: t });
|
|
1813
|
-
} catch {
|
|
1814
|
-
}
|
|
1815
|
-
Object.defineProperty(e, "adapterName", { value: t });
|
|
1816
|
-
}
|
|
1817
|
-
});
|
|
1818
|
-
const Ze = (e) => `- ${e}`, an = (e) => a.isFunction(e) || e === null || e === !1;
|
|
1819
|
-
function ln(e, t) {
|
|
1820
|
-
e = a.isArray(e) ? e : [e];
|
|
1821
|
-
const { length: r } = e;
|
|
1822
|
-
let n, o;
|
|
1823
|
-
const s = {};
|
|
1824
|
-
for (let i = 0; i < r; i++) {
|
|
1825
|
-
n = e[i];
|
|
1826
|
-
let l;
|
|
1827
|
-
if (o = n, !an(n) && (o = Ie[(l = String(n)).toLowerCase()], o === void 0))
|
|
1828
|
-
throw new y(`Unknown adapter '${l}'`);
|
|
1829
|
-
if (o && (a.isFunction(o) || (o = o.get(t))))
|
|
1830
|
-
break;
|
|
1831
|
-
s[l || "#" + i] = o;
|
|
1832
|
-
}
|
|
1833
|
-
if (!o) {
|
|
1834
|
-
const i = Object.entries(s).map(
|
|
1835
|
-
([p, d]) => `adapter ${p} ` + (d === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
1836
|
-
);
|
|
1837
|
-
let l = r ? i.length > 1 ? `since :
|
|
1838
|
-
` + i.map(Ze).join(`
|
|
1839
|
-
`) : " " + Ze(i[0]) : "as no adapter specified";
|
|
1840
|
-
throw new y(
|
|
1841
|
-
"There is no suitable adapter to dispatch the request " + l,
|
|
1842
|
-
"ERR_NOT_SUPPORT"
|
|
1843
|
-
);
|
|
1844
|
-
}
|
|
1845
|
-
return o;
|
|
1846
|
-
}
|
|
1847
|
-
const wt = {
|
|
1848
|
-
/**
|
|
1849
|
-
* Resolve an adapter from a list of adapter names or functions.
|
|
1850
|
-
* @type {Function}
|
|
1851
|
-
*/
|
|
1852
|
-
getAdapter: ln,
|
|
1853
|
-
/**
|
|
1854
|
-
* Exposes all known adapters
|
|
1855
|
-
* @type {Object<string, Function|Object>}
|
|
1856
|
-
*/
|
|
1857
|
-
adapters: Ie
|
|
1858
|
-
};
|
|
1859
|
-
function Pe(e) {
|
|
1860
|
-
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1861
|
-
throw new X(null, e);
|
|
1862
|
-
}
|
|
1863
|
-
function Qe(e) {
|
|
1864
|
-
return Pe(e), e.headers = N.from(e.headers), e.data = Ae.call(
|
|
1865
|
-
e,
|
|
1866
|
-
e.transformRequest
|
|
1867
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), wt.getAdapter(e.adapter || ae.adapter, e)(e).then(function(n) {
|
|
1868
|
-
return Pe(e), n.data = Ae.call(
|
|
1869
|
-
e,
|
|
1870
|
-
e.transformResponse,
|
|
1871
|
-
n
|
|
1872
|
-
), n.headers = N.from(n.headers), n;
|
|
1873
|
-
}, function(n) {
|
|
1874
|
-
return gt(n) || (Pe(e), n && n.response && (n.response.data = Ae.call(
|
|
1875
|
-
e,
|
|
1876
|
-
e.transformResponse,
|
|
1877
|
-
n.response
|
|
1878
|
-
), n.response.headers = N.from(n.response.headers))), Promise.reject(n);
|
|
1879
|
-
});
|
|
1880
|
-
}
|
|
1881
|
-
const Tt = "1.13.2", Ee = {};
|
|
1882
|
-
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
1883
|
-
Ee[e] = function(n) {
|
|
1884
|
-
return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
1885
|
-
};
|
|
1886
|
-
});
|
|
1887
|
-
const et = {};
|
|
1888
|
-
Ee.transitional = function(t, r, n) {
|
|
1889
|
-
function o(s, i) {
|
|
1890
|
-
return "[Axios v" + Tt + "] Transitional option '" + s + "'" + i + (n ? ". " + n : "");
|
|
1891
|
-
}
|
|
1892
|
-
return (s, i, l) => {
|
|
1893
|
-
if (t === !1)
|
|
1894
|
-
throw new y(
|
|
1895
|
-
o(i, " has been removed" + (r ? " in " + r : "")),
|
|
1896
|
-
y.ERR_DEPRECATED
|
|
1897
|
-
);
|
|
1898
|
-
return r && !et[i] && (et[i] = !0, console.warn(
|
|
1899
|
-
o(
|
|
1900
|
-
i,
|
|
1901
|
-
" has been deprecated since v" + r + " and will be removed in the near future"
|
|
1902
|
-
)
|
|
1903
|
-
)), t ? t(s, i, l) : !0;
|
|
1904
|
-
};
|
|
1905
|
-
};
|
|
1906
|
-
Ee.spelling = function(t) {
|
|
1907
|
-
return (r, n) => (console.warn(`${n} is likely a misspelling of ${t}`), !0);
|
|
1908
|
-
};
|
|
1909
|
-
function cn(e, t, r) {
|
|
1910
|
-
if (typeof e != "object")
|
|
1911
|
-
throw new y("options must be an object", y.ERR_BAD_OPTION_VALUE);
|
|
1912
|
-
const n = Object.keys(e);
|
|
1913
|
-
let o = n.length;
|
|
1914
|
-
for (; o-- > 0; ) {
|
|
1915
|
-
const s = n[o], i = t[s];
|
|
1916
|
-
if (i) {
|
|
1917
|
-
const l = e[s], p = l === void 0 || i(l, s, e);
|
|
1918
|
-
if (p !== !0)
|
|
1919
|
-
throw new y("option " + s + " must be " + p, y.ERR_BAD_OPTION_VALUE);
|
|
1920
|
-
continue;
|
|
1921
|
-
}
|
|
1922
|
-
if (r !== !0)
|
|
1923
|
-
throw new y("Unknown option " + s, y.ERR_BAD_OPTION);
|
|
1924
|
-
}
|
|
1925
|
-
}
|
|
1926
|
-
const he = {
|
|
1927
|
-
assertOptions: cn,
|
|
1928
|
-
validators: Ee
|
|
1929
|
-
}, D = he.validators;
|
|
1930
|
-
let z = class {
|
|
1931
|
-
constructor(t) {
|
|
1932
|
-
this.defaults = t || {}, this.interceptors = {
|
|
1933
|
-
request: new qe(),
|
|
1934
|
-
response: new qe()
|
|
1935
|
-
};
|
|
1936
|
-
}
|
|
1937
|
-
/**
|
|
1938
|
-
* Dispatch a request
|
|
1939
|
-
*
|
|
1940
|
-
* @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
|
|
1941
|
-
* @param {?Object} config
|
|
1942
|
-
*
|
|
1943
|
-
* @returns {Promise} The Promise to be fulfilled
|
|
1944
|
-
*/
|
|
1945
|
-
async request(t, r) {
|
|
1946
|
-
try {
|
|
1947
|
-
return await this._request(t, r);
|
|
1948
|
-
} catch (n) {
|
|
1949
|
-
if (n instanceof Error) {
|
|
1950
|
-
let o = {};
|
|
1951
|
-
Error.captureStackTrace ? Error.captureStackTrace(o) : o = new Error();
|
|
1952
|
-
const s = o.stack ? o.stack.replace(/^.+\n/, "") : "";
|
|
1953
|
-
try {
|
|
1954
|
-
n.stack ? s && !String(n.stack).endsWith(s.replace(/^.+\n.+\n/, "")) && (n.stack += `
|
|
1955
|
-
` + s) : n.stack = s;
|
|
1956
|
-
} catch {
|
|
1957
|
-
}
|
|
1958
|
-
}
|
|
1959
|
-
throw n;
|
|
1960
|
-
}
|
|
1961
|
-
}
|
|
1962
|
-
_request(t, r) {
|
|
1963
|
-
typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = V(this.defaults, r);
|
|
1964
|
-
const { transitional: n, paramsSerializer: o, headers: s } = r;
|
|
1965
|
-
n !== void 0 && he.assertOptions(n, {
|
|
1966
|
-
silentJSONParsing: D.transitional(D.boolean),
|
|
1967
|
-
forcedJSONParsing: D.transitional(D.boolean),
|
|
1968
|
-
clarifyTimeoutError: D.transitional(D.boolean)
|
|
1969
|
-
}, !1), o != null && (a.isFunction(o) ? r.paramsSerializer = {
|
|
1970
|
-
serialize: o
|
|
1971
|
-
} : he.assertOptions(o, {
|
|
1972
|
-
encode: D.function,
|
|
1973
|
-
serialize: D.function
|
|
1974
|
-
}, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0), he.assertOptions(r, {
|
|
1975
|
-
baseUrl: D.spelling("baseURL"),
|
|
1976
|
-
withXsrfToken: D.spelling("withXSRFToken")
|
|
1977
|
-
}, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
|
|
1978
|
-
let i = s && a.merge(
|
|
1979
|
-
s.common,
|
|
1980
|
-
s[r.method]
|
|
1981
|
-
);
|
|
1982
|
-
s && a.forEach(
|
|
1983
|
-
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
1984
|
-
(f) => {
|
|
1985
|
-
delete s[f];
|
|
1986
|
-
}
|
|
1987
|
-
), r.headers = N.concat(i, s);
|
|
1988
|
-
const l = [];
|
|
1989
|
-
let p = !0;
|
|
1990
|
-
this.interceptors.request.forEach(function(b) {
|
|
1991
|
-
typeof b.runWhen == "function" && b.runWhen(r) === !1 || (p = p && b.synchronous, l.unshift(b.fulfilled, b.rejected));
|
|
1992
|
-
});
|
|
1993
|
-
const d = [];
|
|
1994
|
-
this.interceptors.response.forEach(function(b) {
|
|
1995
|
-
d.push(b.fulfilled, b.rejected);
|
|
1996
|
-
});
|
|
1997
|
-
let u, h = 0, S;
|
|
1998
|
-
if (!p) {
|
|
1999
|
-
const f = [Qe.bind(this), void 0];
|
|
2000
|
-
for (f.unshift(...l), f.push(...d), S = f.length, u = Promise.resolve(r); h < S; )
|
|
2001
|
-
u = u.then(f[h++], f[h++]);
|
|
2002
|
-
return u;
|
|
2003
|
-
}
|
|
2004
|
-
S = l.length;
|
|
2005
|
-
let w = r;
|
|
2006
|
-
for (; h < S; ) {
|
|
2007
|
-
const f = l[h++], b = l[h++];
|
|
2008
|
-
try {
|
|
2009
|
-
w = f(w);
|
|
2010
|
-
} catch (m) {
|
|
2011
|
-
b.call(this, m);
|
|
2012
|
-
break;
|
|
2013
|
-
}
|
|
2014
|
-
}
|
|
2015
|
-
try {
|
|
2016
|
-
u = Qe.call(this, w);
|
|
2017
|
-
} catch (f) {
|
|
2018
|
-
return Promise.reject(f);
|
|
2019
|
-
}
|
|
2020
|
-
for (h = 0, S = d.length; h < S; )
|
|
2021
|
-
u = u.then(d[h++], d[h++]);
|
|
2022
|
-
return u;
|
|
2023
|
-
}
|
|
2024
|
-
getUri(t) {
|
|
2025
|
-
t = V(this.defaults, t);
|
|
2026
|
-
const r = St(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
2027
|
-
return mt(r, t.params, t.paramsSerializer);
|
|
2028
|
-
}
|
|
2029
|
-
};
|
|
2030
|
-
a.forEach(["delete", "get", "head", "options"], function(t) {
|
|
2031
|
-
z.prototype[t] = function(r, n) {
|
|
2032
|
-
return this.request(V(n || {}, {
|
|
2033
|
-
method: t,
|
|
2034
|
-
url: r,
|
|
2035
|
-
data: (n || {}).data
|
|
2036
|
-
}));
|
|
2037
|
-
};
|
|
2038
|
-
});
|
|
2039
|
-
a.forEach(["post", "put", "patch"], function(t) {
|
|
2040
|
-
function r(n) {
|
|
2041
|
-
return function(s, i, l) {
|
|
2042
|
-
return this.request(V(l || {}, {
|
|
2043
|
-
method: t,
|
|
2044
|
-
headers: n ? {
|
|
2045
|
-
"Content-Type": "multipart/form-data"
|
|
2046
|
-
} : {},
|
|
2047
|
-
url: s,
|
|
2048
|
-
data: i
|
|
2049
|
-
}));
|
|
2050
|
-
};
|
|
2051
|
-
}
|
|
2052
|
-
z.prototype[t] = r(), z.prototype[t + "Form"] = r(!0);
|
|
2053
|
-
});
|
|
2054
|
-
let un = class Ot {
|
|
2055
|
-
constructor(t) {
|
|
2056
|
-
if (typeof t != "function")
|
|
2057
|
-
throw new TypeError("executor must be a function.");
|
|
2058
|
-
let r;
|
|
2059
|
-
this.promise = new Promise(function(s) {
|
|
2060
|
-
r = s;
|
|
2061
|
-
});
|
|
2062
|
-
const n = this;
|
|
2063
|
-
this.promise.then((o) => {
|
|
2064
|
-
if (!n._listeners) return;
|
|
2065
|
-
let s = n._listeners.length;
|
|
2066
|
-
for (; s-- > 0; )
|
|
2067
|
-
n._listeners[s](o);
|
|
2068
|
-
n._listeners = null;
|
|
2069
|
-
}), this.promise.then = (o) => {
|
|
2070
|
-
let s;
|
|
2071
|
-
const i = new Promise((l) => {
|
|
2072
|
-
n.subscribe(l), s = l;
|
|
2073
|
-
}).then(o);
|
|
2074
|
-
return i.cancel = function() {
|
|
2075
|
-
n.unsubscribe(s);
|
|
2076
|
-
}, i;
|
|
2077
|
-
}, t(function(s, i, l) {
|
|
2078
|
-
n.reason || (n.reason = new X(s, i, l), r(n.reason));
|
|
2079
|
-
});
|
|
2080
|
-
}
|
|
2081
|
-
/**
|
|
2082
|
-
* Throws a `CanceledError` if cancellation has been requested.
|
|
2083
|
-
*/
|
|
2084
|
-
throwIfRequested() {
|
|
2085
|
-
if (this.reason)
|
|
2086
|
-
throw this.reason;
|
|
2087
|
-
}
|
|
2088
|
-
/**
|
|
2089
|
-
* Subscribe to the cancel signal
|
|
2090
|
-
*/
|
|
2091
|
-
subscribe(t) {
|
|
2092
|
-
if (this.reason) {
|
|
2093
|
-
t(this.reason);
|
|
2094
|
-
return;
|
|
2095
|
-
}
|
|
2096
|
-
this._listeners ? this._listeners.push(t) : this._listeners = [t];
|
|
2097
|
-
}
|
|
2098
|
-
/**
|
|
2099
|
-
* Unsubscribe from the cancel signal
|
|
2100
|
-
*/
|
|
2101
|
-
unsubscribe(t) {
|
|
2102
|
-
if (!this._listeners)
|
|
2103
|
-
return;
|
|
2104
|
-
const r = this._listeners.indexOf(t);
|
|
2105
|
-
r !== -1 && this._listeners.splice(r, 1);
|
|
2106
|
-
}
|
|
2107
|
-
toAbortSignal() {
|
|
2108
|
-
const t = new AbortController(), r = (n) => {
|
|
2109
|
-
t.abort(n);
|
|
2110
|
-
};
|
|
2111
|
-
return this.subscribe(r), t.signal.unsubscribe = () => this.unsubscribe(r), t.signal;
|
|
2112
|
-
}
|
|
2113
|
-
/**
|
|
2114
|
-
* Returns an object that contains a new `CancelToken` and a function that, when called,
|
|
2115
|
-
* cancels the `CancelToken`.
|
|
2116
|
-
*/
|
|
2117
|
-
static source() {
|
|
2118
|
-
let t;
|
|
2119
|
-
return {
|
|
2120
|
-
token: new Ot(function(o) {
|
|
2121
|
-
t = o;
|
|
2122
|
-
}),
|
|
2123
|
-
cancel: t
|
|
2124
|
-
};
|
|
2125
|
-
}
|
|
2126
|
-
};
|
|
2127
|
-
function fn(e) {
|
|
2128
|
-
return function(r) {
|
|
2129
|
-
return e.apply(null, r);
|
|
2130
|
-
};
|
|
2131
|
-
}
|
|
2132
|
-
function dn(e) {
|
|
2133
|
-
return a.isObject(e) && e.isAxiosError === !0;
|
|
2134
|
-
}
|
|
2135
|
-
const Be = {
|
|
2136
|
-
Continue: 100,
|
|
2137
|
-
SwitchingProtocols: 101,
|
|
2138
|
-
Processing: 102,
|
|
2139
|
-
EarlyHints: 103,
|
|
2140
|
-
Ok: 200,
|
|
2141
|
-
Created: 201,
|
|
2142
|
-
Accepted: 202,
|
|
2143
|
-
NonAuthoritativeInformation: 203,
|
|
2144
|
-
NoContent: 204,
|
|
2145
|
-
ResetContent: 205,
|
|
2146
|
-
PartialContent: 206,
|
|
2147
|
-
MultiStatus: 207,
|
|
2148
|
-
AlreadyReported: 208,
|
|
2149
|
-
ImUsed: 226,
|
|
2150
|
-
MultipleChoices: 300,
|
|
2151
|
-
MovedPermanently: 301,
|
|
2152
|
-
Found: 302,
|
|
2153
|
-
SeeOther: 303,
|
|
2154
|
-
NotModified: 304,
|
|
2155
|
-
UseProxy: 305,
|
|
2156
|
-
Unused: 306,
|
|
2157
|
-
TemporaryRedirect: 307,
|
|
2158
|
-
PermanentRedirect: 308,
|
|
2159
|
-
BadRequest: 400,
|
|
2160
|
-
Unauthorized: 401,
|
|
2161
|
-
PaymentRequired: 402,
|
|
2162
|
-
Forbidden: 403,
|
|
2163
|
-
NotFound: 404,
|
|
2164
|
-
MethodNotAllowed: 405,
|
|
2165
|
-
NotAcceptable: 406,
|
|
2166
|
-
ProxyAuthenticationRequired: 407,
|
|
2167
|
-
RequestTimeout: 408,
|
|
2168
|
-
Conflict: 409,
|
|
2169
|
-
Gone: 410,
|
|
2170
|
-
LengthRequired: 411,
|
|
2171
|
-
PreconditionFailed: 412,
|
|
2172
|
-
PayloadTooLarge: 413,
|
|
2173
|
-
UriTooLong: 414,
|
|
2174
|
-
UnsupportedMediaType: 415,
|
|
2175
|
-
RangeNotSatisfiable: 416,
|
|
2176
|
-
ExpectationFailed: 417,
|
|
2177
|
-
ImATeapot: 418,
|
|
2178
|
-
MisdirectedRequest: 421,
|
|
2179
|
-
UnprocessableEntity: 422,
|
|
2180
|
-
Locked: 423,
|
|
2181
|
-
FailedDependency: 424,
|
|
2182
|
-
TooEarly: 425,
|
|
2183
|
-
UpgradeRequired: 426,
|
|
2184
|
-
PreconditionRequired: 428,
|
|
2185
|
-
TooManyRequests: 429,
|
|
2186
|
-
RequestHeaderFieldsTooLarge: 431,
|
|
2187
|
-
UnavailableForLegalReasons: 451,
|
|
2188
|
-
InternalServerError: 500,
|
|
2189
|
-
NotImplemented: 501,
|
|
2190
|
-
BadGateway: 502,
|
|
2191
|
-
ServiceUnavailable: 503,
|
|
2192
|
-
GatewayTimeout: 504,
|
|
2193
|
-
HttpVersionNotSupported: 505,
|
|
2194
|
-
VariantAlsoNegotiates: 506,
|
|
2195
|
-
InsufficientStorage: 507,
|
|
2196
|
-
LoopDetected: 508,
|
|
2197
|
-
NotExtended: 510,
|
|
2198
|
-
NetworkAuthenticationRequired: 511,
|
|
2199
|
-
WebServerIsDown: 521,
|
|
2200
|
-
ConnectionTimedOut: 522,
|
|
2201
|
-
OriginIsUnreachable: 523,
|
|
2202
|
-
TimeoutOccurred: 524,
|
|
2203
|
-
SslHandshakeFailed: 525,
|
|
2204
|
-
InvalidSslCertificate: 526
|
|
2205
|
-
};
|
|
2206
|
-
Object.entries(Be).forEach(([e, t]) => {
|
|
2207
|
-
Be[t] = e;
|
|
2208
|
-
});
|
|
2209
|
-
function At(e) {
|
|
2210
|
-
const t = new z(e), r = rt(z.prototype.request, t);
|
|
2211
|
-
return a.extend(r, z.prototype, t, { allOwnKeys: !0 }), a.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(o) {
|
|
2212
|
-
return At(V(e, o));
|
|
2213
|
-
}, r;
|
|
2214
|
-
}
|
|
2215
|
-
const A = At(ae);
|
|
2216
|
-
A.Axios = z;
|
|
2217
|
-
A.CanceledError = X;
|
|
2218
|
-
A.CancelToken = un;
|
|
2219
|
-
A.isCancel = gt;
|
|
2220
|
-
A.VERSION = Tt;
|
|
2221
|
-
A.toFormData = Re;
|
|
2222
|
-
A.AxiosError = y;
|
|
2223
|
-
A.Cancel = A.CanceledError;
|
|
2224
|
-
A.all = function(t) {
|
|
2225
|
-
return Promise.all(t);
|
|
2226
|
-
};
|
|
2227
|
-
A.spread = fn;
|
|
2228
|
-
A.isAxiosError = dn;
|
|
2229
|
-
A.mergeConfig = V;
|
|
2230
|
-
A.AxiosHeaders = N;
|
|
2231
|
-
A.formToJSON = (e) => bt(a.isHTMLForm(e) ? new FormData(e) : e);
|
|
2232
|
-
A.getAdapter = wt.getAdapter;
|
|
2233
|
-
A.HttpStatusCode = Be;
|
|
2234
|
-
A.default = A;
|
|
2235
|
-
const {
|
|
2236
|
-
Axios: Rn,
|
|
2237
|
-
AxiosError: En,
|
|
2238
|
-
CanceledError: wn,
|
|
2239
|
-
isCancel: Tn,
|
|
2240
|
-
CancelToken: On,
|
|
2241
|
-
VERSION: An,
|
|
2242
|
-
all: Pn,
|
|
2243
|
-
Cancel: Cn,
|
|
2244
|
-
isAxiosError: xn,
|
|
2245
|
-
spread: _n,
|
|
2246
|
-
toFormData: kn,
|
|
2247
|
-
AxiosHeaders: Bn,
|
|
2248
|
-
HttpStatusCode: Nn,
|
|
2249
|
-
formToJSON: vn,
|
|
2250
|
-
getAdapter: Fn,
|
|
2251
|
-
mergeConfig: In
|
|
2252
|
-
} = A;
|
|
2253
|
-
export {
|
|
2254
|
-
En as A,
|
|
2255
|
-
A as a,
|
|
2256
|
-
xn as b,
|
|
2257
|
-
gn as e,
|
|
2258
|
-
tt as i,
|
|
2259
|
-
Ce as j
|
|
2260
|
-
};
|
|
2261
|
-
//# sourceMappingURL=index-CAib4NKw.js.map
|