@wandelbots/wandelbots-js-react-components 3.2.0 → 3.3.0

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