@orangelogic/design-system 2.118.0 → 2.119.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.
- package/library/assets/diff.worker-ClilI1xm.js +1 -0
- package/library/chunks/{animation.8MjXJybe.js → animation.hpY88RxG.js} +106 -100
- package/library/chunks/{asset.CIWxY-Aw.js → asset.D_MQwP1C.js} +4 -4
- package/library/chunks/browser.BHOCIF_A.js +84 -0
- package/library/chunks/{button.DwJEeW2t.js → button.bufNNyTc.js} +1 -1
- package/library/chunks/{color-swatch-group.BvLicLI4.js → color-swatch-group.CeazdbIe.js} +6 -6
- package/library/chunks/{color-swatch.DVzEaNeL.js → color-swatch.LEvHo5G_.js} +2 -2
- package/library/chunks/{confirm-popover.BifwpSuf.js → confirm-popover.BLQFU6Hs.js} +3 -3
- package/library/chunks/{content-builder.OsUmm8Wu.js → content-builder.BGzxZUgi.js} +1 -1
- package/library/chunks/debounce.DaHuiSGU.js +15 -0
- package/library/chunks/{dialog.BYCWepBc.js → dialog.DdsJ_WqU.js} +2 -2
- package/library/chunks/{document-viewer.CKCX8ueu.js → document-viewer.B5VtBEEP.js} +7 -7
- package/library/chunks/{dot-pagination.C4l5vKor.js → dot-pagination.Bny2T6DA.js} +1 -1
- package/library/chunks/{endpoints.D4h8hp1m.js → endpoints.6E17hFiK.js} +385 -385
- package/library/chunks/{file-on-demand.AwMj4AfO.js → file-on-demand.DDuWnvmy.js} +10 -10
- package/library/chunks/{folder-select.CrWjwQcw.js → folder-select.D1jO1hB_.js} +295 -203
- package/library/chunks/{header.Cf9ujCpg.js → header.CfiA4TRu.js} +1 -1
- package/library/chunks/{i18n.CH-wak_P.js → i18n.DDj5y9px.js} +106 -11
- package/library/chunks/{icon-button.CQiBjznj.js → icon-button.DOrACmes.js} +1 -1
- package/library/chunks/{iframe.BQPVygBJ.js → iframe.qaVD1n1m.js} +1 -1
- package/library/chunks/{image.cT-FziNS.js → image.BugewF1g.js} +129 -146
- package/library/chunks/{input.CH4lKxPM.js → input.BYj6YXcM.js} +1 -1
- package/library/chunks/keyed.C0rkKrxH.js +22 -0
- package/library/chunks/{list-editor.BfpDIsU5.js → list-editor.D5szxqSM.js} +11 -11
- package/library/chunks/math.DuKzLacZ.js +26 -0
- package/library/chunks/{option.Bvh35v8S.js → option.CnxdM30G.js} +1 -1
- package/library/chunks/{pagination.zQ2FFtxB.js → pagination.Dxig0LoI.js} +6 -6
- package/library/chunks/{responsive.C8NCkfCG.js → responsive.Cf65FCWd.js} +1 -1
- package/library/chunks/{tab-group.DvMX02hY.js → tab-group.CGg9lPLP.js} +3 -3
- package/library/chunks/{table.GCs54Y2t.js → table.BkdcDorc.js} +1471 -1400
- package/library/chunks/{tree.Btf2Q4YZ.js → tree.yYbWIRnc.js} +3 -3
- package/library/components/alert.js +2 -2
- package/library/components/animation.js +1 -1
- package/library/components/asset-link-format.js +8 -8
- package/library/components/atoms.js +144 -142
- package/library/components/audio.js +2 -2
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +5 -5
- package/library/components/color-swatch-group.js +7 -7
- package/library/components/color-swatch.js +3 -3
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/diff.d.ts +3 -0
- package/library/components/diff.js +104 -0
- package/library/components/document-viewer.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +282 -211
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +11 -11
- package/library/components/folder-select.js +5 -5
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +2 -2
- package/library/components/image.js +5 -4
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +6 -5
- package/library/components/list-editor.js +8 -8
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +4 -4
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +7 -7
- package/library/components/popup.js +76 -75
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +3 -3
- package/library/components/rating.js +2 -2
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +33 -32
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +2 -2
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +2 -2
- package/library/components/tab-group.js +4 -4
- package/library/components/tab.js +2 -2
- package/library/components/table.js +62 -60
- package/library/components/tag.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +3 -3
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +35400 -32968
- package/library/components/video.js +3 -3
- package/library/package.json +1 -1
- package/library/packages/atoms/src/animations/index.d.ts +2 -1
- package/library/packages/atoms/src/animations/rotating/rotate.d.ts +4 -0
- package/library/packages/atoms/src/components/diff/diff.d.ts +46 -0
- package/library/packages/atoms/src/components/diff/diff.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/diff/utils/diff-worker-client.d.ts +10 -0
- package/library/packages/atoms/src/components/select/select.d.ts +9 -9
- package/library/packages/atoms/src/components/tab-group/tab-group.d.ts +1 -1
- package/library/packages/atoms/src/components/table/components/index.d.ts +1 -0
- package/library/packages/atoms/src/components/table/components/table-footer/table-footer.d.ts +25 -0
- package/library/packages/atoms/src/components/table/components/table-footer/table-footer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/components/table-toolbar/table-toolbar.d.ts +7 -1
- package/library/packages/atoms/src/components/table/table.d.ts +14 -3
- package/library/packages/atoms/src/index.d.ts +1 -0
- package/library/packages/events/src/cx-capacity-change.d.ts +20 -0
- package/library/packages/events/src/cx-capacity-week-bar.d.ts +26 -0
- package/library/packages/events/src/cx-folder-select-children-loaded.d.ts +10 -0
- package/library/packages/events/src/cx-list-editor-change.d.ts +1 -1
- package/library/packages/events/src/cx-sb-dam-view-config-change.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +4 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/diff.d.ts +5 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters.d.ts +2 -0
- package/library/packages/molecules/src/dynamic-select/dynamic-select.d.ts +19 -1
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +11 -0
- package/library/packages/organisms/src/capacity-planner/capacity-core.d.ts +81 -0
- package/library/packages/organisms/src/capacity-planner/capacity-planner.d.ts +194 -0
- package/library/packages/organisms/src/capacity-planner/capacity-planner.styles.d.ts +2 -0
- package/library/packages/organisms/src/capacity-planner/components/capacity-toolbar/capacity-toolbar.d.ts +35 -0
- package/library/packages/organisms/src/capacity-planner/components/capacity-toolbar/capacity-toolbar.styles.d.ts +2 -0
- package/library/packages/organisms/src/capacity-planner/components/capacity-week-bar/capacity-week-bar.d.ts +101 -0
- package/library/packages/organisms/src/capacity-planner/components/capacity-week-bar/capacity-week-bar.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +12 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/configs/dam-view.d.ts +66 -0
- package/library/packages/organisms/src/content-builder/configs/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +110 -0
- package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/dam-view.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +7 -3
- package/library/packages/organisms/src/dam-custom-toolbar-buttons-editor/dam-custom-toolbar-buttons-editor.d.ts +176 -0
- package/library/packages/organisms/src/dam-custom-toolbar-buttons-editor/dam-custom-toolbar-buttons-editor.styles.d.ts +2 -0
- package/library/packages/organisms/src/index.d.ts +2 -0
- package/library/packages/services/src/api/cms5/cms5.d.ts +17 -1
- package/library/packages/services/src/api/endpoints.d.ts +13 -1
- package/library/packages/services/src/api/metadata/index.d.ts +1 -0
- package/library/packages/services/src/api/metadata/metadata.d.ts +3 -1
- package/library/packages/services/src/api/metadata/metadata.types.d.ts +53 -0
- package/library/packages/styles/src/table-select.styles.d.ts +2 -0
- package/library/packages/types/src/content-builder.d.ts +13 -5
- package/library/packages/types/src/dam-view.d.ts +48 -0
- package/library/packages/types/src/table.d.ts +17 -1
- package/library/packages/utils/src/custom-element/i18n.d.ts +95 -0
- package/library/packages/utils/src/custom-element/math.d.ts +8 -0
- package/library/packages/utils/src/date/index.d.ts +1 -0
- package/library/packages/utils/src/date/iso-week-number.d.ts +9 -0
- package/library/react-web-component.d.ts +545 -438
- package/library/utils.js +267 -253
- package/package.json +1 -1
- package/library/chunks/debounce.CIEhztrj.js +0 -97
- package/library/chunks/math.DqTA6ya4.js +0 -7
|
@@ -3,37 +3,37 @@ function Ie(e, t) {
|
|
|
3
3
|
return e.apply(t, arguments);
|
|
4
4
|
};
|
|
5
5
|
}
|
|
6
|
-
const { toString: pt } = Object.prototype, { getPrototypeOf:
|
|
6
|
+
const { toString: pt } = Object.prototype, { getPrototypeOf: ye } = Object, { iterator: te, toStringTag: Me } = Symbol, re = /* @__PURE__ */ ((e) => (t) => {
|
|
7
7
|
const r = pt.call(t);
|
|
8
8
|
return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
|
|
9
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
10
|
-
function
|
|
11
|
-
return e !== null && !H(e) && e.constructor !== null && !H(e.constructor) &&
|
|
9
|
+
})(/* @__PURE__ */ Object.create(null)), v = (e) => (e = e.toLowerCase(), (t) => re(t) === e), ne = (e) => (t) => typeof t === e, { isArray: I } = Array, H = ne("undefined");
|
|
10
|
+
function V(e) {
|
|
11
|
+
return e !== null && !H(e) && e.constructor !== null && !H(e.constructor) && O(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
12
12
|
}
|
|
13
|
-
const qe =
|
|
13
|
+
const qe = v("ArrayBuffer");
|
|
14
14
|
function mt(e) {
|
|
15
15
|
let t;
|
|
16
16
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && qe(e.buffer), t;
|
|
17
17
|
}
|
|
18
|
-
const bt = ne("string"),
|
|
18
|
+
const bt = ne("string"), O = ne("function"), He = ne("number"), J = (e) => e !== null && typeof e == "object", wt = (e) => e === !0 || e === !1, K = (e) => {
|
|
19
19
|
if (re(e) !== "object")
|
|
20
20
|
return !1;
|
|
21
|
-
const t =
|
|
21
|
+
const t = ye(e);
|
|
22
22
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Me in e) && !(te in e);
|
|
23
|
-
},
|
|
24
|
-
if (
|
|
23
|
+
}, yt = (e) => {
|
|
24
|
+
if (!J(e) || V(e))
|
|
25
25
|
return !1;
|
|
26
26
|
try {
|
|
27
27
|
return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
|
|
28
28
|
} catch {
|
|
29
29
|
return !1;
|
|
30
30
|
}
|
|
31
|
-
},
|
|
31
|
+
}, Et = v("Date"), gt = v("File"), St = v("Blob"), Rt = v("FileList"), At = (e) => J(e) && O(e.pipe), _t = (e) => {
|
|
32
32
|
let t;
|
|
33
|
-
return e && (typeof FormData == "function" && e instanceof FormData ||
|
|
34
|
-
t === "object" &&
|
|
35
|
-
},
|
|
36
|
-
function
|
|
33
|
+
return e && (typeof FormData == "function" && e instanceof FormData || O(e.append) && ((t = re(e)) === "formdata" || // detect form-data instance
|
|
34
|
+
t === "object" && O(e.toString) && e.toString() === "[object FormData]"));
|
|
35
|
+
}, Tt = v("URLSearchParams"), [Ot, Ct, xt, vt] = ["ReadableStream", "Request", "Response", "Headers"].map(v), Lt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
36
|
+
function W(e, t, { allOwnKeys: r = !1 } = {}) {
|
|
37
37
|
if (e === null || typeof e > "u")
|
|
38
38
|
return;
|
|
39
39
|
let n, s;
|
|
@@ -41,7 +41,7 @@ function G(e, t, { allOwnKeys: r = !1 } = {}) {
|
|
|
41
41
|
for (n = 0, s = e.length; n < s; n++)
|
|
42
42
|
t.call(null, e[n], n, e);
|
|
43
43
|
else {
|
|
44
|
-
if (
|
|
44
|
+
if (V(e))
|
|
45
45
|
return;
|
|
46
46
|
const i = r ? Object.getOwnPropertyNames(e) : Object.keys(e), a = i.length;
|
|
47
47
|
let o;
|
|
@@ -49,8 +49,8 @@ function G(e, t, { allOwnKeys: r = !1 } = {}) {
|
|
|
49
49
|
o = i[n], t.call(null, e[o], o, e);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
if (
|
|
52
|
+
function Ge(e, t) {
|
|
53
|
+
if (V(e))
|
|
54
54
|
return null;
|
|
55
55
|
t = t.toLowerCase();
|
|
56
56
|
const r = Object.keys(e);
|
|
@@ -60,37 +60,37 @@ function ze(e, t) {
|
|
|
60
60
|
return s;
|
|
61
61
|
return null;
|
|
62
62
|
}
|
|
63
|
-
const
|
|
63
|
+
const k = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ve = (e) => !H(e) && e !== k;
|
|
64
64
|
function ue() {
|
|
65
|
-
const { caseless: e } =
|
|
66
|
-
const i = e &&
|
|
67
|
-
|
|
65
|
+
const { caseless: e } = Ve(this) && this || {}, t = {}, r = (n, s) => {
|
|
66
|
+
const i = e && Ge(t, s) || s;
|
|
67
|
+
K(t[i]) && K(n) ? t[i] = ue(t[i], n) : K(n) ? t[i] = ue({}, n) : I(n) ? t[i] = n.slice() : t[i] = n;
|
|
68
68
|
};
|
|
69
69
|
for (let n = 0, s = arguments.length; n < s; n++)
|
|
70
|
-
arguments[n] &&
|
|
70
|
+
arguments[n] && W(arguments[n], r);
|
|
71
71
|
return t;
|
|
72
72
|
}
|
|
73
|
-
const Ft = (e, t, r, { allOwnKeys: n } = {}) => (
|
|
74
|
-
r &&
|
|
75
|
-
}, { allOwnKeys: n }), e),
|
|
73
|
+
const Ft = (e, t, r, { allOwnKeys: n } = {}) => (W(t, (s, i) => {
|
|
74
|
+
r && O(s) ? e[i] = Ie(s, r) : e[i] = s;
|
|
75
|
+
}, { allOwnKeys: n }), e), Ut = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), jt = (e, t, r, n) => {
|
|
76
76
|
e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
77
77
|
value: t.prototype
|
|
78
78
|
}), r && Object.assign(e.prototype, r);
|
|
79
|
-
},
|
|
79
|
+
}, kt = (e, t, r, n) => {
|
|
80
80
|
let s, i, a;
|
|
81
81
|
const o = {};
|
|
82
82
|
if (t = t || {}, e == null) return t;
|
|
83
83
|
do {
|
|
84
84
|
for (s = Object.getOwnPropertyNames(e), i = s.length; i-- > 0; )
|
|
85
85
|
a = s[i], (!n || n(a, e, t)) && !o[a] && (t[a] = e[a], o[a] = !0);
|
|
86
|
-
e = r !== !1 &&
|
|
86
|
+
e = r !== !1 && ye(e);
|
|
87
87
|
} while (e && (!r || r(e, t)) && e !== Object.prototype);
|
|
88
88
|
return t;
|
|
89
|
-
},
|
|
89
|
+
}, Bt = (e, t, r) => {
|
|
90
90
|
e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
|
|
91
91
|
const n = e.indexOf(t, r);
|
|
92
92
|
return n !== -1 && n === r;
|
|
93
|
-
},
|
|
93
|
+
}, Dt = (e) => {
|
|
94
94
|
if (!e) return null;
|
|
95
95
|
if (I(e)) return e;
|
|
96
96
|
let t = e.length;
|
|
@@ -99,7 +99,7 @@ const Ft = (e, t, r, { allOwnKeys: n } = {}) => (G(t, (s, i) => {
|
|
|
99
99
|
for (; t-- > 0; )
|
|
100
100
|
r[t] = e[t];
|
|
101
101
|
return r;
|
|
102
|
-
},
|
|
102
|
+
}, Pt = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && ye(Uint8Array)), Nt = (e, t) => {
|
|
103
103
|
const n = (e && e[te]).call(e);
|
|
104
104
|
let s;
|
|
105
105
|
for (; (s = n.next()) && !s.done; ) {
|
|
@@ -112,23 +112,23 @@ const Ft = (e, t, r, { allOwnKeys: n } = {}) => (G(t, (s, i) => {
|
|
|
112
112
|
for (; (r = e.exec(t)) !== null; )
|
|
113
113
|
n.push(r);
|
|
114
114
|
return n;
|
|
115
|
-
}, Mt =
|
|
115
|
+
}, Mt = v("HTMLFormElement"), qt = (e) => e.toLowerCase().replace(
|
|
116
116
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
117
117
|
function(r, n, s) {
|
|
118
118
|
return n.toUpperCase() + s;
|
|
119
119
|
}
|
|
120
|
-
), Re = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), Ht =
|
|
120
|
+
), Re = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), Ht = v("RegExp"), Je = (e, t) => {
|
|
121
121
|
const r = Object.getOwnPropertyDescriptors(e), n = {};
|
|
122
|
-
|
|
122
|
+
W(r, (s, i) => {
|
|
123
123
|
let a;
|
|
124
124
|
(a = t(s, i, e)) !== !1 && (n[i] = a || s);
|
|
125
125
|
}), Object.defineProperties(e, n);
|
|
126
|
-
},
|
|
127
|
-
|
|
128
|
-
if (
|
|
126
|
+
}, Gt = (e) => {
|
|
127
|
+
Je(e, (t, r) => {
|
|
128
|
+
if (O(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
|
|
129
129
|
return !1;
|
|
130
130
|
const n = e[r];
|
|
131
|
-
if (
|
|
131
|
+
if (O(n)) {
|
|
132
132
|
if (t.enumerable = !1, "writable" in t) {
|
|
133
133
|
t.writable = !1;
|
|
134
134
|
return;
|
|
@@ -138,29 +138,29 @@ const Ft = (e, t, r, { allOwnKeys: n } = {}) => (G(t, (s, i) => {
|
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
|
-
},
|
|
141
|
+
}, Vt = (e, t) => {
|
|
142
142
|
const r = {}, n = (s) => {
|
|
143
143
|
s.forEach((i) => {
|
|
144
144
|
r[i] = !0;
|
|
145
145
|
});
|
|
146
146
|
};
|
|
147
147
|
return I(e) ? n(e) : n(String(e).split(t)), r;
|
|
148
|
-
},
|
|
149
|
-
},
|
|
150
|
-
function
|
|
151
|
-
return !!(e &&
|
|
148
|
+
}, Jt = () => {
|
|
149
|
+
}, Wt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
150
|
+
function zt(e) {
|
|
151
|
+
return !!(e && O(e.append) && e[Me] === "FormData" && e[te]);
|
|
152
152
|
}
|
|
153
|
-
const
|
|
153
|
+
const $t = (e) => {
|
|
154
154
|
const t = new Array(10), r = (n, s) => {
|
|
155
|
-
if (
|
|
155
|
+
if (J(n)) {
|
|
156
156
|
if (t.indexOf(n) >= 0)
|
|
157
157
|
return;
|
|
158
|
-
if (
|
|
158
|
+
if (V(n))
|
|
159
159
|
return n;
|
|
160
160
|
if (!("toJSON" in n)) {
|
|
161
161
|
t[s] = n;
|
|
162
162
|
const i = I(n) ? [] : {};
|
|
163
|
-
return
|
|
163
|
+
return W(n, (a, o) => {
|
|
164
164
|
const d = r(a, s + 1);
|
|
165
165
|
!H(d) && (i[o] = d);
|
|
166
166
|
}), t[s] = void 0, i;
|
|
@@ -169,77 +169,77 @@ const Wt = (e) => {
|
|
|
169
169
|
return n;
|
|
170
170
|
};
|
|
171
171
|
return r(e, 0);
|
|
172
|
-
},
|
|
173
|
-
s ===
|
|
172
|
+
}, Kt = v("AsyncFunction"), Xt = (e) => e && (J(e) || O(e)) && O(e.then) && O(e.catch), We = ((e, t) => e ? setImmediate : t ? ((r, n) => (k.addEventListener("message", ({ source: s, data: i }) => {
|
|
173
|
+
s === k && i === r && n.length && n.shift()();
|
|
174
174
|
}, !1), (s) => {
|
|
175
|
-
n.push(s),
|
|
175
|
+
n.push(s), k.postMessage(r, "*");
|
|
176
176
|
}))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
|
|
177
177
|
typeof setImmediate == "function",
|
|
178
|
-
|
|
179
|
-
),
|
|
178
|
+
O(k.postMessage)
|
|
179
|
+
), Yt = typeof queueMicrotask < "u" ? queueMicrotask.bind(k) : typeof process < "u" && process.nextTick || We, Qt = (e) => e != null && O(e[te]), c = {
|
|
180
180
|
isArray: I,
|
|
181
181
|
isArrayBuffer: qe,
|
|
182
|
-
isBuffer:
|
|
183
|
-
isFormData:
|
|
182
|
+
isBuffer: V,
|
|
183
|
+
isFormData: _t,
|
|
184
184
|
isArrayBufferView: mt,
|
|
185
185
|
isString: bt,
|
|
186
186
|
isNumber: He,
|
|
187
|
-
isBoolean:
|
|
188
|
-
isObject:
|
|
189
|
-
isPlainObject:
|
|
190
|
-
isEmptyObject:
|
|
191
|
-
isReadableStream:
|
|
187
|
+
isBoolean: wt,
|
|
188
|
+
isObject: J,
|
|
189
|
+
isPlainObject: K,
|
|
190
|
+
isEmptyObject: yt,
|
|
191
|
+
isReadableStream: Ot,
|
|
192
192
|
isRequest: Ct,
|
|
193
193
|
isResponse: xt,
|
|
194
|
-
isHeaders:
|
|
194
|
+
isHeaders: vt,
|
|
195
195
|
isUndefined: H,
|
|
196
|
-
isDate:
|
|
197
|
-
isFile:
|
|
196
|
+
isDate: Et,
|
|
197
|
+
isFile: gt,
|
|
198
198
|
isBlob: St,
|
|
199
199
|
isRegExp: Ht,
|
|
200
|
-
isFunction:
|
|
201
|
-
isStream:
|
|
202
|
-
isURLSearchParams:
|
|
203
|
-
isTypedArray:
|
|
200
|
+
isFunction: O,
|
|
201
|
+
isStream: At,
|
|
202
|
+
isURLSearchParams: Tt,
|
|
203
|
+
isTypedArray: Pt,
|
|
204
204
|
isFileList: Rt,
|
|
205
|
-
forEach:
|
|
205
|
+
forEach: W,
|
|
206
206
|
merge: ue,
|
|
207
207
|
extend: Ft,
|
|
208
|
-
trim:
|
|
209
|
-
stripBOM:
|
|
210
|
-
inherits:
|
|
211
|
-
toFlatObject:
|
|
208
|
+
trim: Lt,
|
|
209
|
+
stripBOM: Ut,
|
|
210
|
+
inherits: jt,
|
|
211
|
+
toFlatObject: kt,
|
|
212
212
|
kindOf: re,
|
|
213
|
-
kindOfTest:
|
|
214
|
-
endsWith:
|
|
215
|
-
toArray:
|
|
216
|
-
forEachEntry:
|
|
213
|
+
kindOfTest: v,
|
|
214
|
+
endsWith: Bt,
|
|
215
|
+
toArray: Dt,
|
|
216
|
+
forEachEntry: Nt,
|
|
217
217
|
matchAll: It,
|
|
218
218
|
isHTMLForm: Mt,
|
|
219
219
|
hasOwnProperty: Re,
|
|
220
220
|
hasOwnProp: Re,
|
|
221
221
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
222
|
-
reduceDescriptors:
|
|
223
|
-
freezeMethods:
|
|
224
|
-
toObjectSet:
|
|
222
|
+
reduceDescriptors: Je,
|
|
223
|
+
freezeMethods: Gt,
|
|
224
|
+
toObjectSet: Vt,
|
|
225
225
|
toCamelCase: qt,
|
|
226
|
-
noop:
|
|
227
|
-
toFiniteNumber:
|
|
228
|
-
findKey:
|
|
229
|
-
global:
|
|
230
|
-
isContextDefined:
|
|
231
|
-
isSpecCompliantForm:
|
|
232
|
-
toJSONObject:
|
|
233
|
-
isAsyncFn:
|
|
226
|
+
noop: Jt,
|
|
227
|
+
toFiniteNumber: Wt,
|
|
228
|
+
findKey: Ge,
|
|
229
|
+
global: k,
|
|
230
|
+
isContextDefined: Ve,
|
|
231
|
+
isSpecCompliantForm: zt,
|
|
232
|
+
toJSONObject: $t,
|
|
233
|
+
isAsyncFn: Kt,
|
|
234
234
|
isThenable: Xt,
|
|
235
|
-
setImmediate:
|
|
236
|
-
asap:
|
|
237
|
-
isIterable:
|
|
235
|
+
setImmediate: We,
|
|
236
|
+
asap: Yt,
|
|
237
|
+
isIterable: Qt
|
|
238
238
|
};
|
|
239
|
-
function
|
|
239
|
+
function w(e, t, r, n, s) {
|
|
240
240
|
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), s && (this.response = s, this.status = s.status ? s.status : null);
|
|
241
241
|
}
|
|
242
|
-
c.inherits(
|
|
242
|
+
c.inherits(w, Error, {
|
|
243
243
|
toJSON: function() {
|
|
244
244
|
return {
|
|
245
245
|
// Standard
|
|
@@ -260,7 +260,7 @@ c.inherits(y, Error, {
|
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
262
|
});
|
|
263
|
-
const
|
|
263
|
+
const ze = w.prototype, $e = {};
|
|
264
264
|
[
|
|
265
265
|
"ERR_BAD_OPTION_VALUE",
|
|
266
266
|
"ERR_BAD_OPTION",
|
|
@@ -276,26 +276,26 @@ const Ke = y.prototype, We = {};
|
|
|
276
276
|
"ERR_INVALID_URL"
|
|
277
277
|
// eslint-disable-next-line func-names
|
|
278
278
|
].forEach((e) => {
|
|
279
|
-
|
|
279
|
+
$e[e] = { value: e };
|
|
280
280
|
});
|
|
281
|
-
Object.defineProperties(
|
|
282
|
-
Object.defineProperty(
|
|
283
|
-
|
|
284
|
-
const a = Object.create(
|
|
281
|
+
Object.defineProperties(w, $e);
|
|
282
|
+
Object.defineProperty(ze, "isAxiosError", { value: !0 });
|
|
283
|
+
w.from = (e, t, r, n, s, i) => {
|
|
284
|
+
const a = Object.create(ze);
|
|
285
285
|
return c.toFlatObject(e, a, function(d) {
|
|
286
286
|
return d !== Error.prototype;
|
|
287
|
-
}, (o) => o !== "isAxiosError"),
|
|
287
|
+
}, (o) => o !== "isAxiosError"), w.call(a, e.message, t, r, n, s), a.cause = e, a.name = e.name, i && Object.assign(a, i), a;
|
|
288
288
|
};
|
|
289
289
|
const Zt = null;
|
|
290
290
|
function de(e) {
|
|
291
291
|
return c.isPlainObject(e) || c.isArray(e);
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Ke(e) {
|
|
294
294
|
return c.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function Ae(e, t, r) {
|
|
297
297
|
return e ? e.concat(t).map(function(s, i) {
|
|
298
|
-
return s =
|
|
298
|
+
return s = Ke(s), !r && i ? "[" + s + "]" : s;
|
|
299
299
|
}).join(r ? "." : "") : t;
|
|
300
300
|
}
|
|
301
301
|
function er(e) {
|
|
@@ -324,50 +324,50 @@ function se(e, t, r) {
|
|
|
324
324
|
if (c.isBoolean(f))
|
|
325
325
|
return f.toString();
|
|
326
326
|
if (!d && c.isBlob(f))
|
|
327
|
-
throw new
|
|
327
|
+
throw new w("Blob is not supported. Use a Buffer instead.");
|
|
328
328
|
return c.isArrayBuffer(f) || c.isTypedArray(f) ? d && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
329
329
|
}
|
|
330
330
|
function l(f, m, b) {
|
|
331
|
-
let
|
|
331
|
+
let E = f;
|
|
332
332
|
if (f && !b && typeof f == "object") {
|
|
333
333
|
if (c.endsWith(m, "{}"))
|
|
334
334
|
m = n ? m : m.slice(0, -2), f = JSON.stringify(f);
|
|
335
|
-
else if (c.isArray(f) && er(f) || (c.isFileList(f) || c.endsWith(m, "[]")) && (
|
|
336
|
-
return m =
|
|
337
|
-
!(c.isUndefined(
|
|
335
|
+
else if (c.isArray(f) && er(f) || (c.isFileList(f) || c.endsWith(m, "[]")) && (E = c.toArray(f)))
|
|
336
|
+
return m = Ke(m), E.forEach(function(g, x) {
|
|
337
|
+
!(c.isUndefined(g) || g === null) && t.append(
|
|
338
338
|
// eslint-disable-next-line no-nested-ternary
|
|
339
|
-
a === !0 ?
|
|
340
|
-
u(
|
|
339
|
+
a === !0 ? Ae([m], x, i) : a === null ? m : m + "[]",
|
|
340
|
+
u(g)
|
|
341
341
|
);
|
|
342
342
|
}), !1;
|
|
343
343
|
}
|
|
344
|
-
return de(f) ? !0 : (t.append(
|
|
344
|
+
return de(f) ? !0 : (t.append(Ae(b, m, i), u(f)), !1);
|
|
345
345
|
}
|
|
346
346
|
const h = [], p = Object.assign(tr, {
|
|
347
347
|
defaultVisitor: l,
|
|
348
348
|
convertValue: u,
|
|
349
349
|
isVisitable: de
|
|
350
350
|
});
|
|
351
|
-
function
|
|
351
|
+
function y(f, m) {
|
|
352
352
|
if (!c.isUndefined(f)) {
|
|
353
353
|
if (h.indexOf(f) !== -1)
|
|
354
354
|
throw Error("Circular reference detected in " + m.join("."));
|
|
355
|
-
h.push(f), c.forEach(f, function(
|
|
356
|
-
(!(c.isUndefined(
|
|
355
|
+
h.push(f), c.forEach(f, function(E, S) {
|
|
356
|
+
(!(c.isUndefined(E) || E === null) && s.call(
|
|
357
357
|
t,
|
|
358
|
-
|
|
358
|
+
E,
|
|
359
359
|
c.isString(S) ? S.trim() : S,
|
|
360
360
|
m,
|
|
361
361
|
p
|
|
362
|
-
)) === !0 &&
|
|
362
|
+
)) === !0 && y(E, m ? m.concat(S) : [S]);
|
|
363
363
|
}), h.pop();
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
if (!c.isObject(e))
|
|
367
367
|
throw new TypeError("data must be an object");
|
|
368
|
-
return
|
|
368
|
+
return y(e), t;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function _e(e) {
|
|
371
371
|
const t = {
|
|
372
372
|
"!": "%21",
|
|
373
373
|
"'": "%27",
|
|
@@ -381,17 +381,17 @@ function Ae(e) {
|
|
|
381
381
|
return t[n];
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
|
-
function
|
|
384
|
+
function Ee(e, t) {
|
|
385
385
|
this._pairs = [], e && se(e, this, t);
|
|
386
386
|
}
|
|
387
|
-
const Xe =
|
|
387
|
+
const Xe = Ee.prototype;
|
|
388
388
|
Xe.append = function(t, r) {
|
|
389
389
|
this._pairs.push([t, r]);
|
|
390
390
|
};
|
|
391
391
|
Xe.toString = function(t) {
|
|
392
392
|
const r = t ? function(n) {
|
|
393
|
-
return t.call(this, n,
|
|
394
|
-
} :
|
|
393
|
+
return t.call(this, n, _e);
|
|
394
|
+
} : _e;
|
|
395
395
|
return this._pairs.map(function(s) {
|
|
396
396
|
return r(s[0]) + "=" + r(s[1]);
|
|
397
397
|
}, "").join("&");
|
|
@@ -399,7 +399,7 @@ Xe.toString = function(t) {
|
|
|
399
399
|
function rr(e) {
|
|
400
400
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
401
401
|
}
|
|
402
|
-
function
|
|
402
|
+
function Ye(e, t, r) {
|
|
403
403
|
if (!t)
|
|
404
404
|
return e;
|
|
405
405
|
const n = r && r.encode || rr;
|
|
@@ -408,13 +408,13 @@ function Qe(e, t, r) {
|
|
|
408
408
|
});
|
|
409
409
|
const s = r && r.serialize;
|
|
410
410
|
let i;
|
|
411
|
-
if (s ? i = s(t, r) : i = c.isURLSearchParams(t) ? t.toString() : new
|
|
411
|
+
if (s ? i = s(t, r) : i = c.isURLSearchParams(t) ? t.toString() : new Ee(t, r).toString(n), i) {
|
|
412
412
|
const a = e.indexOf("#");
|
|
413
413
|
a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
|
|
414
414
|
}
|
|
415
415
|
return e;
|
|
416
416
|
}
|
|
417
|
-
class
|
|
417
|
+
class Te {
|
|
418
418
|
constructor() {
|
|
419
419
|
this.handlers = [];
|
|
420
420
|
}
|
|
@@ -468,11 +468,11 @@ class Oe {
|
|
|
468
468
|
});
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
const
|
|
471
|
+
const Qe = {
|
|
472
472
|
silentJSONParsing: !0,
|
|
473
473
|
forcedJSONParsing: !0,
|
|
474
474
|
clarifyTimeoutError: !1
|
|
475
|
-
}, nr = typeof URLSearchParams < "u" ? URLSearchParams :
|
|
475
|
+
}, nr = typeof URLSearchParams < "u" ? URLSearchParams : Ee, sr = typeof FormData < "u" ? FormData : null, ar = typeof Blob < "u" ? Blob : null, ir = {
|
|
476
476
|
isBrowser: !0,
|
|
477
477
|
classes: {
|
|
478
478
|
URLSearchParams: nr,
|
|
@@ -480,22 +480,22 @@ const Ye = {
|
|
|
480
480
|
Blob: ar
|
|
481
481
|
},
|
|
482
482
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
483
|
-
},
|
|
484
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", lr =
|
|
483
|
+
}, ge = typeof window < "u" && typeof document < "u", fe = typeof navigator == "object" && navigator || void 0, or = ge && (!fe || ["ReactNative", "NativeScript", "NS"].indexOf(fe.product) < 0), cr = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
484
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", lr = ge && window.location.href || "http://localhost", ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
485
485
|
__proto__: null,
|
|
486
|
-
hasBrowserEnv:
|
|
486
|
+
hasBrowserEnv: ge,
|
|
487
487
|
hasStandardBrowserEnv: or,
|
|
488
488
|
hasStandardBrowserWebWorkerEnv: cr,
|
|
489
489
|
navigator: fe,
|
|
490
490
|
origin: lr
|
|
491
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
491
|
+
}, Symbol.toStringTag, { value: "Module" })), T = {
|
|
492
492
|
...ur,
|
|
493
493
|
...ir
|
|
494
494
|
};
|
|
495
495
|
function dr(e, t) {
|
|
496
|
-
return se(e, new
|
|
496
|
+
return se(e, new T.classes.URLSearchParams(), {
|
|
497
497
|
visitor: function(r, n, s, i) {
|
|
498
|
-
return
|
|
498
|
+
return T.isNode && c.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
|
|
499
499
|
},
|
|
500
500
|
...t
|
|
501
501
|
});
|
|
@@ -537,8 +537,8 @@ function pr(e, t, r) {
|
|
|
537
537
|
}
|
|
538
538
|
return (r || JSON.stringify)(e);
|
|
539
539
|
}
|
|
540
|
-
const
|
|
541
|
-
transitional:
|
|
540
|
+
const z = {
|
|
541
|
+
transitional: Qe,
|
|
542
542
|
adapter: ["xhr", "http", "fetch"],
|
|
543
543
|
transformRequest: [function(t, r) {
|
|
544
544
|
const n = r.getContentType() || "", s = n.indexOf("application/json") > -1, i = c.isObject(t);
|
|
@@ -566,7 +566,7 @@ const K = {
|
|
|
566
566
|
return i || s ? (r.setContentType("application/json", !1), pr(t)) : t;
|
|
567
567
|
}],
|
|
568
568
|
transformResponse: [function(t) {
|
|
569
|
-
const r = this.transitional ||
|
|
569
|
+
const r = this.transitional || z.transitional, n = r && r.forcedJSONParsing, s = this.responseType === "json";
|
|
570
570
|
if (c.isResponse(t) || c.isReadableStream(t))
|
|
571
571
|
return t;
|
|
572
572
|
if (t && c.isString(t) && (n && !this.responseType || s)) {
|
|
@@ -575,7 +575,7 @@ const K = {
|
|
|
575
575
|
return JSON.parse(t);
|
|
576
576
|
} catch (o) {
|
|
577
577
|
if (a)
|
|
578
|
-
throw o.name === "SyntaxError" ?
|
|
578
|
+
throw o.name === "SyntaxError" ? w.from(o, w.ERR_BAD_RESPONSE, this, null, this.response) : o;
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
581
|
return t;
|
|
@@ -590,8 +590,8 @@ const K = {
|
|
|
590
590
|
maxContentLength: -1,
|
|
591
591
|
maxBodyLength: -1,
|
|
592
592
|
env: {
|
|
593
|
-
FormData:
|
|
594
|
-
Blob:
|
|
593
|
+
FormData: T.classes.FormData,
|
|
594
|
+
Blob: T.classes.Blob
|
|
595
595
|
},
|
|
596
596
|
validateStatus: function(t) {
|
|
597
597
|
return t >= 200 && t < 300;
|
|
@@ -604,7 +604,7 @@ const K = {
|
|
|
604
604
|
}
|
|
605
605
|
};
|
|
606
606
|
c.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
607
|
-
|
|
607
|
+
z.headers[e] = {};
|
|
608
608
|
});
|
|
609
609
|
const mr = c.toObjectSet([
|
|
610
610
|
"age",
|
|
@@ -631,21 +631,21 @@ const mr = c.toObjectSet([
|
|
|
631
631
|
`).forEach(function(a) {
|
|
632
632
|
s = a.indexOf(":"), r = a.substring(0, s).trim().toLowerCase(), n = a.substring(s + 1).trim(), !(!r || t[r] && mr[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n);
|
|
633
633
|
}), t;
|
|
634
|
-
},
|
|
634
|
+
}, Oe = Symbol("internals");
|
|
635
635
|
function q(e) {
|
|
636
636
|
return e && String(e).trim().toLowerCase();
|
|
637
637
|
}
|
|
638
638
|
function X(e) {
|
|
639
639
|
return e === !1 || e == null ? e : c.isArray(e) ? e.map(X) : String(e);
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function wr(e) {
|
|
642
642
|
const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
643
643
|
let n;
|
|
644
644
|
for (; n = r.exec(e); )
|
|
645
645
|
t[n[1]] = n[2];
|
|
646
646
|
return t;
|
|
647
647
|
}
|
|
648
|
-
const
|
|
648
|
+
const yr = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
649
649
|
function oe(e, t, r, n, s) {
|
|
650
650
|
if (c.isFunction(n))
|
|
651
651
|
return n.call(this, t, r);
|
|
@@ -656,10 +656,10 @@ function oe(e, t, r, n, s) {
|
|
|
656
656
|
return n.test(t);
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function Er(e) {
|
|
660
660
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
|
|
661
661
|
}
|
|
662
|
-
function
|
|
662
|
+
function gr(e, t) {
|
|
663
663
|
const r = c.toCamelCase(" " + t);
|
|
664
664
|
["get", "set", "has"].forEach((n) => {
|
|
665
665
|
Object.defineProperty(e, n + r, {
|
|
@@ -686,7 +686,7 @@ let C = class {
|
|
|
686
686
|
const a = (o, d) => c.forEach(o, (u, l) => i(u, l, d));
|
|
687
687
|
if (c.isPlainObject(t) || t instanceof this.constructor)
|
|
688
688
|
a(t, r);
|
|
689
|
-
else if (c.isString(t) && (t = t.trim()) && !
|
|
689
|
+
else if (c.isString(t) && (t = t.trim()) && !yr(t))
|
|
690
690
|
a(br(t), r);
|
|
691
691
|
else if (c.isObject(t) && c.isIterable(t)) {
|
|
692
692
|
let o = {}, d, u;
|
|
@@ -708,7 +708,7 @@ let C = class {
|
|
|
708
708
|
if (!r)
|
|
709
709
|
return s;
|
|
710
710
|
if (r === !0)
|
|
711
|
-
return
|
|
711
|
+
return wr(s);
|
|
712
712
|
if (c.isFunction(r))
|
|
713
713
|
return r.call(this, s, n);
|
|
714
714
|
if (c.isRegExp(r))
|
|
@@ -752,7 +752,7 @@ let C = class {
|
|
|
752
752
|
r[a] = X(s), delete r[i];
|
|
753
753
|
return;
|
|
754
754
|
}
|
|
755
|
-
const o = t ?
|
|
755
|
+
const o = t ? Er(i) : String(i).trim();
|
|
756
756
|
o !== i && delete r[i], r[o] = X(s), n[o] = !0;
|
|
757
757
|
}), this;
|
|
758
758
|
}
|
|
@@ -786,12 +786,12 @@ let C = class {
|
|
|
786
786
|
return r.forEach((s) => n.set(s)), n;
|
|
787
787
|
}
|
|
788
788
|
static accessor(t) {
|
|
789
|
-
const n = (this[
|
|
789
|
+
const n = (this[Oe] = this[Oe] = {
|
|
790
790
|
accessors: {}
|
|
791
791
|
}).accessors, s = this.prototype;
|
|
792
792
|
function i(a) {
|
|
793
793
|
const o = q(a);
|
|
794
|
-
n[o] || (
|
|
794
|
+
n[o] || (gr(s, a), n[o] = !0);
|
|
795
795
|
}
|
|
796
796
|
return c.isArray(t) ? t.forEach(i) : i(t), this;
|
|
797
797
|
}
|
|
@@ -808,7 +808,7 @@ c.reduceDescriptors(C.prototype, ({ value: e }, t) => {
|
|
|
808
808
|
});
|
|
809
809
|
c.freezeMethods(C);
|
|
810
810
|
function ce(e, t) {
|
|
811
|
-
const r = this ||
|
|
811
|
+
const r = this || z, n = t || r, s = C.from(n.headers);
|
|
812
812
|
let i = n.data;
|
|
813
813
|
return c.forEach(e, function(o) {
|
|
814
814
|
i = o.call(r, i, s.normalize(), t ? t.status : void 0);
|
|
@@ -818,16 +818,16 @@ function et(e) {
|
|
|
818
818
|
return !!(e && e.__CANCEL__);
|
|
819
819
|
}
|
|
820
820
|
function M(e, t, r) {
|
|
821
|
-
|
|
821
|
+
w.call(this, e ?? "canceled", w.ERR_CANCELED, t, r), this.name = "CanceledError";
|
|
822
822
|
}
|
|
823
|
-
c.inherits(M,
|
|
823
|
+
c.inherits(M, w, {
|
|
824
824
|
__CANCEL__: !0
|
|
825
825
|
});
|
|
826
826
|
function tt(e, t, r) {
|
|
827
827
|
const n = r.config.validateStatus;
|
|
828
|
-
!r.status || !n || n(r.status) ? e(r) : t(new
|
|
828
|
+
!r.status || !n || n(r.status) ? e(r) : t(new w(
|
|
829
829
|
"Request failed with status code " + r.status,
|
|
830
|
-
[
|
|
830
|
+
[w.ERR_BAD_REQUEST, w.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
|
|
831
831
|
r.config,
|
|
832
832
|
r.request,
|
|
833
833
|
r
|
|
@@ -849,11 +849,11 @@ function Rr(e, t) {
|
|
|
849
849
|
p += r[h++], h = h % e;
|
|
850
850
|
if (s = (s + 1) % e, s === i && (i = (i + 1) % e), u - a < t)
|
|
851
851
|
return;
|
|
852
|
-
const
|
|
853
|
-
return
|
|
852
|
+
const y = l && u - l;
|
|
853
|
+
return y ? Math.round(p * 1e3 / y) : void 0;
|
|
854
854
|
};
|
|
855
855
|
}
|
|
856
|
-
function
|
|
856
|
+
function Ar(e, t) {
|
|
857
857
|
let r = 0, n = 1e3 / t, s, i;
|
|
858
858
|
const a = (u, l = Date.now()) => {
|
|
859
859
|
r = l, s = null, i && (clearTimeout(i), i = null), e(...u);
|
|
@@ -868,7 +868,7 @@ function Tr(e, t) {
|
|
|
868
868
|
const Z = (e, t, r = 3) => {
|
|
869
869
|
let n = 0;
|
|
870
870
|
const s = Rr(50, 250);
|
|
871
|
-
return
|
|
871
|
+
return Ar((i) => {
|
|
872
872
|
const a = i.loaded, o = i.lengthComputable ? i.total : void 0, d = a - n, u = s(d), l = a <= o;
|
|
873
873
|
n = a;
|
|
874
874
|
const h = {
|
|
@@ -891,10 +891,10 @@ const Z = (e, t, r = 3) => {
|
|
|
891
891
|
total: e,
|
|
892
892
|
loaded: n
|
|
893
893
|
}), t[1]];
|
|
894
|
-
}, xe = (e) => (...t) => c.asap(() => e(...t)),
|
|
895
|
-
new URL(
|
|
896
|
-
|
|
897
|
-
) : () => !0,
|
|
894
|
+
}, xe = (e) => (...t) => c.asap(() => e(...t)), _r = T.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (r) => (r = new URL(r, T.origin), e.protocol === r.protocol && e.host === r.host && (t || e.port === r.port)))(
|
|
895
|
+
new URL(T.origin),
|
|
896
|
+
T.navigator && /(msie|trident)/i.test(T.navigator.userAgent)
|
|
897
|
+
) : () => !0, Tr = T.hasStandardBrowserEnv ? (
|
|
898
898
|
// Standard browser envs support document.cookie
|
|
899
899
|
{
|
|
900
900
|
write(e, t, r, n, s, i) {
|
|
@@ -921,18 +921,18 @@ const Z = (e, t, r = 3) => {
|
|
|
921
921
|
}
|
|
922
922
|
}
|
|
923
923
|
);
|
|
924
|
-
function
|
|
924
|
+
function Or(e) {
|
|
925
925
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
926
926
|
}
|
|
927
927
|
function Cr(e, t) {
|
|
928
928
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
929
929
|
}
|
|
930
930
|
function rt(e, t, r) {
|
|
931
|
-
let n = !
|
|
931
|
+
let n = !Or(t);
|
|
932
932
|
return e && (n || r == !1) ? Cr(e, t) : t;
|
|
933
933
|
}
|
|
934
|
-
const
|
|
935
|
-
function
|
|
934
|
+
const ve = (e) => e instanceof C ? { ...e } : e;
|
|
935
|
+
function D(e, t) {
|
|
936
936
|
t = t || {};
|
|
937
937
|
const r = {};
|
|
938
938
|
function n(u, l, h, p) {
|
|
@@ -989,7 +989,7 @@ function N(e, t) {
|
|
|
989
989
|
socketPath: a,
|
|
990
990
|
responseEncoding: a,
|
|
991
991
|
validateStatus: o,
|
|
992
|
-
headers: (u, l, h) => s(
|
|
992
|
+
headers: (u, l, h) => s(ve(u), ve(l), h, !0)
|
|
993
993
|
};
|
|
994
994
|
return c.forEach(Object.keys({ ...e, ...t }), function(l) {
|
|
995
995
|
const h = d[l] || s, p = h(e[l], t[l], l);
|
|
@@ -997,84 +997,84 @@ function N(e, t) {
|
|
|
997
997
|
}), r;
|
|
998
998
|
}
|
|
999
999
|
const nt = (e) => {
|
|
1000
|
-
const t =
|
|
1000
|
+
const t = D({}, e);
|
|
1001
1001
|
let { data: r, withXSRFToken: n, xsrfHeaderName: s, xsrfCookieName: i, headers: a, auth: o } = t;
|
|
1002
|
-
t.headers = a = C.from(a), t.url =
|
|
1002
|
+
t.headers = a = C.from(a), t.url = Ye(rt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), o && a.set(
|
|
1003
1003
|
"Authorization",
|
|
1004
1004
|
"Basic " + btoa((o.username || "") + ":" + (o.password ? unescape(encodeURIComponent(o.password)) : ""))
|
|
1005
1005
|
);
|
|
1006
1006
|
let d;
|
|
1007
1007
|
if (c.isFormData(r)) {
|
|
1008
|
-
if (
|
|
1008
|
+
if (T.hasStandardBrowserEnv || T.hasStandardBrowserWebWorkerEnv)
|
|
1009
1009
|
a.setContentType(void 0);
|
|
1010
1010
|
else if ((d = a.getContentType()) !== !1) {
|
|
1011
1011
|
const [u, ...l] = d ? d.split(";").map((h) => h.trim()).filter(Boolean) : [];
|
|
1012
1012
|
a.setContentType([u || "multipart/form-data", ...l].join("; "));
|
|
1013
1013
|
}
|
|
1014
1014
|
}
|
|
1015
|
-
if (
|
|
1016
|
-
const u = s && i &&
|
|
1015
|
+
if (T.hasStandardBrowserEnv && (n && c.isFunction(n) && (n = n(t)), n || n !== !1 && _r(t.url))) {
|
|
1016
|
+
const u = s && i && Tr.read(i);
|
|
1017
1017
|
u && a.set(s, u);
|
|
1018
1018
|
}
|
|
1019
1019
|
return t;
|
|
1020
|
-
}, xr = typeof XMLHttpRequest < "u",
|
|
1020
|
+
}, xr = typeof XMLHttpRequest < "u", vr = xr && function(e) {
|
|
1021
1021
|
return new Promise(function(r, n) {
|
|
1022
1022
|
const s = nt(e);
|
|
1023
1023
|
let i = s.data;
|
|
1024
1024
|
const a = C.from(s.headers).normalize();
|
|
1025
|
-
let { responseType: o, onUploadProgress: d, onDownloadProgress: u } = s, l, h, p,
|
|
1025
|
+
let { responseType: o, onUploadProgress: d, onDownloadProgress: u } = s, l, h, p, y, f;
|
|
1026
1026
|
function m() {
|
|
1027
|
-
|
|
1027
|
+
y && y(), f && f(), s.cancelToken && s.cancelToken.unsubscribe(l), s.signal && s.signal.removeEventListener("abort", l);
|
|
1028
1028
|
}
|
|
1029
1029
|
let b = new XMLHttpRequest();
|
|
1030
1030
|
b.open(s.method.toUpperCase(), s.url, !0), b.timeout = s.timeout;
|
|
1031
|
-
function
|
|
1031
|
+
function E() {
|
|
1032
1032
|
if (!b)
|
|
1033
1033
|
return;
|
|
1034
|
-
const
|
|
1034
|
+
const g = C.from(
|
|
1035
1035
|
"getAllResponseHeaders" in b && b.getAllResponseHeaders()
|
|
1036
|
-
),
|
|
1036
|
+
), A = {
|
|
1037
1037
|
data: !o || o === "text" || o === "json" ? b.responseText : b.response,
|
|
1038
1038
|
status: b.status,
|
|
1039
1039
|
statusText: b.statusText,
|
|
1040
|
-
headers:
|
|
1040
|
+
headers: g,
|
|
1041
1041
|
config: e,
|
|
1042
1042
|
request: b
|
|
1043
1043
|
};
|
|
1044
|
-
tt(function(
|
|
1045
|
-
r(
|
|
1046
|
-
}, function(
|
|
1047
|
-
n(
|
|
1048
|
-
},
|
|
1044
|
+
tt(function(j) {
|
|
1045
|
+
r(j), m();
|
|
1046
|
+
}, function(j) {
|
|
1047
|
+
n(j), m();
|
|
1048
|
+
}, A), b = null;
|
|
1049
1049
|
}
|
|
1050
|
-
"onloadend" in b ? b.onloadend =
|
|
1051
|
-
!b || b.readyState !== 4 || b.status === 0 && !(b.responseURL && b.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
1050
|
+
"onloadend" in b ? b.onloadend = E : b.onreadystatechange = function() {
|
|
1051
|
+
!b || b.readyState !== 4 || b.status === 0 && !(b.responseURL && b.responseURL.indexOf("file:") === 0) || setTimeout(E);
|
|
1052
1052
|
}, b.onabort = function() {
|
|
1053
|
-
b && (n(new
|
|
1053
|
+
b && (n(new w("Request aborted", w.ECONNABORTED, e, b)), b = null);
|
|
1054
1054
|
}, b.onerror = function() {
|
|
1055
|
-
n(new
|
|
1055
|
+
n(new w("Network Error", w.ERR_NETWORK, e, b)), b = null;
|
|
1056
1056
|
}, b.ontimeout = function() {
|
|
1057
1057
|
let x = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
|
|
1058
|
-
const
|
|
1059
|
-
s.timeoutErrorMessage && (x = s.timeoutErrorMessage), n(new
|
|
1058
|
+
const A = s.transitional || Qe;
|
|
1059
|
+
s.timeoutErrorMessage && (x = s.timeoutErrorMessage), n(new w(
|
|
1060
1060
|
x,
|
|
1061
|
-
|
|
1061
|
+
A.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED,
|
|
1062
1062
|
e,
|
|
1063
1063
|
b
|
|
1064
1064
|
)), b = null;
|
|
1065
|
-
}, i === void 0 && a.setContentType(null), "setRequestHeader" in b && c.forEach(a.toJSON(), function(x,
|
|
1066
|
-
b.setRequestHeader(
|
|
1067
|
-
}), c.isUndefined(s.withCredentials) || (b.withCredentials = !!s.withCredentials), o && o !== "json" && (b.responseType = s.responseType), u && ([p, f] = Z(u, !0), b.addEventListener("progress", p)), d && b.upload && ([h,
|
|
1068
|
-
b && (n(!
|
|
1065
|
+
}, i === void 0 && a.setContentType(null), "setRequestHeader" in b && c.forEach(a.toJSON(), function(x, A) {
|
|
1066
|
+
b.setRequestHeader(A, x);
|
|
1067
|
+
}), c.isUndefined(s.withCredentials) || (b.withCredentials = !!s.withCredentials), o && o !== "json" && (b.responseType = s.responseType), u && ([p, f] = Z(u, !0), b.addEventListener("progress", p)), d && b.upload && ([h, y] = Z(d), b.upload.addEventListener("progress", h), b.upload.addEventListener("loadend", y)), (s.cancelToken || s.signal) && (l = (g) => {
|
|
1068
|
+
b && (n(!g || g.type ? new M(null, e, b) : g), b.abort(), b = null);
|
|
1069
1069
|
}, s.cancelToken && s.cancelToken.subscribe(l), s.signal && (s.signal.aborted ? l() : s.signal.addEventListener("abort", l)));
|
|
1070
1070
|
const S = Sr(s.url);
|
|
1071
|
-
if (S &&
|
|
1072
|
-
n(new
|
|
1071
|
+
if (S && T.protocols.indexOf(S) === -1) {
|
|
1072
|
+
n(new w("Unsupported protocol " + S + ":", w.ERR_BAD_REQUEST, e));
|
|
1073
1073
|
return;
|
|
1074
1074
|
}
|
|
1075
1075
|
b.send(i || null);
|
|
1076
1076
|
});
|
|
1077
|
-
},
|
|
1077
|
+
}, Lr = (e, t) => {
|
|
1078
1078
|
const { length: r } = e = e ? e.filter(Boolean) : [];
|
|
1079
1079
|
if (t || r) {
|
|
1080
1080
|
let n = new AbortController(), s;
|
|
@@ -1082,11 +1082,11 @@ const nt = (e) => {
|
|
|
1082
1082
|
if (!s) {
|
|
1083
1083
|
s = !0, o();
|
|
1084
1084
|
const l = u instanceof Error ? u : this.reason;
|
|
1085
|
-
n.abort(l instanceof
|
|
1085
|
+
n.abort(l instanceof w ? l : new M(l instanceof Error ? l.message : l));
|
|
1086
1086
|
}
|
|
1087
1087
|
};
|
|
1088
1088
|
let a = t && setTimeout(() => {
|
|
1089
|
-
a = null, i(new
|
|
1089
|
+
a = null, i(new w(`timeout ${t} of ms exceeded`, w.ETIMEDOUT));
|
|
1090
1090
|
}, t);
|
|
1091
1091
|
const o = () => {
|
|
1092
1092
|
e && (a && clearTimeout(a), a = null, e.forEach((u) => {
|
|
@@ -1106,10 +1106,10 @@ const nt = (e) => {
|
|
|
1106
1106
|
let n = 0, s;
|
|
1107
1107
|
for (; n < r; )
|
|
1108
1108
|
s = n + t, yield e.slice(n, s), n = s;
|
|
1109
|
-
},
|
|
1110
|
-
for await (const r of
|
|
1109
|
+
}, Ur = async function* (e, t) {
|
|
1110
|
+
for await (const r of jr(e))
|
|
1111
1111
|
yield* Fr(r, t);
|
|
1112
|
-
},
|
|
1112
|
+
}, jr = async function* (e) {
|
|
1113
1113
|
if (e[Symbol.asyncIterator]) {
|
|
1114
1114
|
yield* e;
|
|
1115
1115
|
return;
|
|
@@ -1125,8 +1125,8 @@ const nt = (e) => {
|
|
|
1125
1125
|
} finally {
|
|
1126
1126
|
await t.cancel();
|
|
1127
1127
|
}
|
|
1128
|
-
},
|
|
1129
|
-
const s =
|
|
1128
|
+
}, Le = (e, t, r, n) => {
|
|
1129
|
+
const s = Ur(e, t);
|
|
1130
1130
|
let i = 0, a, o = (d) => {
|
|
1131
1131
|
a || (a = !0, n && n(d));
|
|
1132
1132
|
};
|
|
@@ -1154,15 +1154,15 @@ const nt = (e) => {
|
|
|
1154
1154
|
}, {
|
|
1155
1155
|
highWaterMark: 2
|
|
1156
1156
|
});
|
|
1157
|
-
}, ae = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", st = ae && typeof ReadableStream == "function",
|
|
1157
|
+
}, ae = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", st = ae && typeof ReadableStream == "function", kr = ae && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), at = (e, ...t) => {
|
|
1158
1158
|
try {
|
|
1159
1159
|
return !!e(...t);
|
|
1160
1160
|
} catch {
|
|
1161
1161
|
return !1;
|
|
1162
1162
|
}
|
|
1163
|
-
},
|
|
1163
|
+
}, Br = st && at(() => {
|
|
1164
1164
|
let e = !1;
|
|
1165
|
-
const t = new Request(
|
|
1165
|
+
const t = new Request(T.origin, {
|
|
1166
1166
|
body: new ReadableStream(),
|
|
1167
1167
|
method: "POST",
|
|
1168
1168
|
get duplex() {
|
|
@@ -1176,28 +1176,28 @@ const nt = (e) => {
|
|
|
1176
1176
|
ae && ((e) => {
|
|
1177
1177
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
|
|
1178
1178
|
!ee[t] && (ee[t] = c.isFunction(e[t]) ? (r) => r[t]() : (r, n) => {
|
|
1179
|
-
throw new
|
|
1179
|
+
throw new w(`Response type '${t}' is not supported`, w.ERR_NOT_SUPPORT, n);
|
|
1180
1180
|
});
|
|
1181
1181
|
});
|
|
1182
1182
|
})(new Response());
|
|
1183
|
-
const
|
|
1183
|
+
const Dr = async (e) => {
|
|
1184
1184
|
if (e == null)
|
|
1185
1185
|
return 0;
|
|
1186
1186
|
if (c.isBlob(e))
|
|
1187
1187
|
return e.size;
|
|
1188
1188
|
if (c.isSpecCompliantForm(e))
|
|
1189
|
-
return (await new Request(
|
|
1189
|
+
return (await new Request(T.origin, {
|
|
1190
1190
|
method: "POST",
|
|
1191
1191
|
body: e
|
|
1192
1192
|
}).arrayBuffer()).byteLength;
|
|
1193
1193
|
if (c.isArrayBufferView(e) || c.isArrayBuffer(e))
|
|
1194
1194
|
return e.byteLength;
|
|
1195
1195
|
if (c.isURLSearchParams(e) && (e = e + ""), c.isString(e))
|
|
1196
|
-
return (await
|
|
1197
|
-
},
|
|
1196
|
+
return (await kr(e)).byteLength;
|
|
1197
|
+
}, Pr = async (e, t) => {
|
|
1198
1198
|
const r = c.toFiniteNumber(e.getContentLength());
|
|
1199
|
-
return r ??
|
|
1200
|
-
},
|
|
1199
|
+
return r ?? Dr(t);
|
|
1200
|
+
}, Nr = ae && (async (e) => {
|
|
1201
1201
|
let {
|
|
1202
1202
|
url: t,
|
|
1203
1203
|
method: r,
|
|
@@ -1213,59 +1213,59 @@ const Nr = async (e) => {
|
|
|
1213
1213
|
fetchOptions: p
|
|
1214
1214
|
} = nt(e);
|
|
1215
1215
|
u = u ? (u + "").toLowerCase() : "text";
|
|
1216
|
-
let
|
|
1217
|
-
const m =
|
|
1218
|
-
|
|
1216
|
+
let y = Lr([s, i && i.toAbortSignal()], a), f;
|
|
1217
|
+
const m = y && y.unsubscribe && (() => {
|
|
1218
|
+
y.unsubscribe();
|
|
1219
1219
|
});
|
|
1220
1220
|
let b;
|
|
1221
1221
|
try {
|
|
1222
|
-
if (d &&
|
|
1223
|
-
let
|
|
1222
|
+
if (d && Br && r !== "get" && r !== "head" && (b = await Pr(l, n)) !== 0) {
|
|
1223
|
+
let A = new Request(t, {
|
|
1224
1224
|
method: "POST",
|
|
1225
1225
|
body: n,
|
|
1226
1226
|
duplex: "half"
|
|
1227
|
-
}),
|
|
1228
|
-
if (c.isFormData(n) && (
|
|
1229
|
-
const [
|
|
1227
|
+
}), U;
|
|
1228
|
+
if (c.isFormData(n) && (U = A.headers.get("content-type")) && l.setContentType(U), A.body) {
|
|
1229
|
+
const [j, $] = Ce(
|
|
1230
1230
|
b,
|
|
1231
1231
|
Z(xe(d))
|
|
1232
1232
|
);
|
|
1233
|
-
n =
|
|
1233
|
+
n = Le(A.body, Fe, j, $);
|
|
1234
1234
|
}
|
|
1235
1235
|
}
|
|
1236
1236
|
c.isString(h) || (h = h ? "include" : "omit");
|
|
1237
|
-
const
|
|
1237
|
+
const E = "credentials" in Request.prototype;
|
|
1238
1238
|
f = new Request(t, {
|
|
1239
1239
|
...p,
|
|
1240
|
-
signal:
|
|
1240
|
+
signal: y,
|
|
1241
1241
|
method: r.toUpperCase(),
|
|
1242
1242
|
headers: l.normalize().toJSON(),
|
|
1243
1243
|
body: n,
|
|
1244
1244
|
duplex: "half",
|
|
1245
|
-
credentials:
|
|
1245
|
+
credentials: E ? h : void 0
|
|
1246
1246
|
});
|
|
1247
1247
|
let S = await fetch(f, p);
|
|
1248
|
-
const
|
|
1249
|
-
if (he && (o ||
|
|
1250
|
-
const
|
|
1248
|
+
const g = he && (u === "stream" || u === "response");
|
|
1249
|
+
if (he && (o || g && m)) {
|
|
1250
|
+
const A = {};
|
|
1251
1251
|
["status", "statusText", "headers"].forEach((Se) => {
|
|
1252
|
-
|
|
1252
|
+
A[Se] = S[Se];
|
|
1253
1253
|
});
|
|
1254
|
-
const
|
|
1255
|
-
|
|
1254
|
+
const U = c.toFiniteNumber(S.headers.get("content-length")), [j, $] = o && Ce(
|
|
1255
|
+
U,
|
|
1256
1256
|
Z(xe(o), !0)
|
|
1257
1257
|
) || [];
|
|
1258
1258
|
S = new Response(
|
|
1259
|
-
|
|
1260
|
-
|
|
1259
|
+
Le(S.body, Fe, j, () => {
|
|
1260
|
+
$ && $(), m && m();
|
|
1261
1261
|
}),
|
|
1262
|
-
|
|
1262
|
+
A
|
|
1263
1263
|
);
|
|
1264
1264
|
}
|
|
1265
1265
|
u = u || "text";
|
|
1266
1266
|
let x = await ee[c.findKey(ee, u) || "text"](S, e);
|
|
1267
|
-
return !
|
|
1268
|
-
tt(
|
|
1267
|
+
return !g && m && m(), await new Promise((A, U) => {
|
|
1268
|
+
tt(A, U, {
|
|
1269
1269
|
data: x,
|
|
1270
1270
|
headers: C.from(S.headers),
|
|
1271
1271
|
status: S.status,
|
|
@@ -1274,18 +1274,18 @@ const Nr = async (e) => {
|
|
|
1274
1274
|
request: f
|
|
1275
1275
|
});
|
|
1276
1276
|
});
|
|
1277
|
-
} catch (
|
|
1278
|
-
throw m && m(),
|
|
1279
|
-
new
|
|
1277
|
+
} catch (E) {
|
|
1278
|
+
throw m && m(), E && E.name === "TypeError" && /Load failed|fetch/i.test(E.message) ? Object.assign(
|
|
1279
|
+
new w("Network Error", w.ERR_NETWORK, e, f),
|
|
1280
1280
|
{
|
|
1281
|
-
cause:
|
|
1281
|
+
cause: E.cause || E
|
|
1282
1282
|
}
|
|
1283
|
-
) :
|
|
1283
|
+
) : w.from(E, E && E.code, e, f);
|
|
1284
1284
|
}
|
|
1285
1285
|
}), pe = {
|
|
1286
1286
|
http: Zt,
|
|
1287
|
-
xhr:
|
|
1288
|
-
fetch:
|
|
1287
|
+
xhr: vr,
|
|
1288
|
+
fetch: Nr
|
|
1289
1289
|
};
|
|
1290
1290
|
c.forEach(pe, (e, t) => {
|
|
1291
1291
|
if (e) {
|
|
@@ -1296,7 +1296,7 @@ c.forEach(pe, (e, t) => {
|
|
|
1296
1296
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
1297
1297
|
}
|
|
1298
1298
|
});
|
|
1299
|
-
const
|
|
1299
|
+
const Ue = (e) => `- ${e}`, Ir = (e) => c.isFunction(e) || e === null || e === !1, it = {
|
|
1300
1300
|
getAdapter: (e) => {
|
|
1301
1301
|
e = c.isArray(e) ? e : [e];
|
|
1302
1302
|
const { length: t } = e;
|
|
@@ -1306,7 +1306,7 @@ const ke = (e) => `- ${e}`, Ir = (e) => c.isFunction(e) || e === null || e === !
|
|
|
1306
1306
|
r = e[i];
|
|
1307
1307
|
let a;
|
|
1308
1308
|
if (n = r, !Ir(r) && (n = pe[(a = String(r)).toLowerCase()], n === void 0))
|
|
1309
|
-
throw new
|
|
1309
|
+
throw new w(`Unknown adapter '${a}'`);
|
|
1310
1310
|
if (n)
|
|
1311
1311
|
break;
|
|
1312
1312
|
s[a || "#" + i] = n;
|
|
@@ -1316,9 +1316,9 @@ const ke = (e) => `- ${e}`, Ir = (e) => c.isFunction(e) || e === null || e === !
|
|
|
1316
1316
|
([o, d]) => `adapter ${o} ` + (d === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
1317
1317
|
);
|
|
1318
1318
|
let a = t ? i.length > 1 ? `since :
|
|
1319
|
-
` + i.map(
|
|
1320
|
-
`) : " " +
|
|
1321
|
-
throw new
|
|
1319
|
+
` + i.map(Ue).join(`
|
|
1320
|
+
`) : " " + Ue(i[0]) : "as no adapter specified";
|
|
1321
|
+
throw new w(
|
|
1322
1322
|
"There is no suitable adapter to dispatch the request " + a,
|
|
1323
1323
|
"ERR_NOT_SUPPORT"
|
|
1324
1324
|
);
|
|
@@ -1331,11 +1331,11 @@ function le(e) {
|
|
|
1331
1331
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1332
1332
|
throw new M(null, e);
|
|
1333
1333
|
}
|
|
1334
|
-
function
|
|
1334
|
+
function je(e) {
|
|
1335
1335
|
return le(e), e.headers = C.from(e.headers), e.data = ce.call(
|
|
1336
1336
|
e,
|
|
1337
1337
|
e.transformRequest
|
|
1338
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), it.getAdapter(e.adapter ||
|
|
1338
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), it.getAdapter(e.adapter || z.adapter)(e).then(function(n) {
|
|
1339
1339
|
return le(e), n.data = ce.call(
|
|
1340
1340
|
e,
|
|
1341
1341
|
e.transformResponse,
|
|
@@ -1355,18 +1355,18 @@ const ot = "1.11.0", ie = {};
|
|
|
1355
1355
|
return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
1356
1356
|
};
|
|
1357
1357
|
});
|
|
1358
|
-
const
|
|
1358
|
+
const ke = {};
|
|
1359
1359
|
ie.transitional = function(t, r, n) {
|
|
1360
1360
|
function s(i, a) {
|
|
1361
1361
|
return "[Axios v" + ot + "] Transitional option '" + i + "'" + a + (n ? ". " + n : "");
|
|
1362
1362
|
}
|
|
1363
1363
|
return (i, a, o) => {
|
|
1364
1364
|
if (t === !1)
|
|
1365
|
-
throw new
|
|
1365
|
+
throw new w(
|
|
1366
1366
|
s(a, " has been removed" + (r ? " in " + r : "")),
|
|
1367
|
-
|
|
1367
|
+
w.ERR_DEPRECATED
|
|
1368
1368
|
);
|
|
1369
|
-
return r && !
|
|
1369
|
+
return r && !ke[a] && (ke[a] = !0, console.warn(
|
|
1370
1370
|
s(
|
|
1371
1371
|
a,
|
|
1372
1372
|
" has been deprecated since v" + r + " and will be removed in the near future"
|
|
@@ -1379,7 +1379,7 @@ ie.spelling = function(t) {
|
|
|
1379
1379
|
};
|
|
1380
1380
|
function Mr(e, t, r) {
|
|
1381
1381
|
if (typeof e != "object")
|
|
1382
|
-
throw new
|
|
1382
|
+
throw new w("options must be an object", w.ERR_BAD_OPTION_VALUE);
|
|
1383
1383
|
const n = Object.keys(e);
|
|
1384
1384
|
let s = n.length;
|
|
1385
1385
|
for (; s-- > 0; ) {
|
|
@@ -1387,22 +1387,22 @@ function Mr(e, t, r) {
|
|
|
1387
1387
|
if (a) {
|
|
1388
1388
|
const o = e[i], d = o === void 0 || a(o, i, e);
|
|
1389
1389
|
if (d !== !0)
|
|
1390
|
-
throw new
|
|
1390
|
+
throw new w("option " + i + " must be " + d, w.ERR_BAD_OPTION_VALUE);
|
|
1391
1391
|
continue;
|
|
1392
1392
|
}
|
|
1393
1393
|
if (r !== !0)
|
|
1394
|
-
throw new
|
|
1394
|
+
throw new w("Unknown option " + i, w.ERR_BAD_OPTION);
|
|
1395
1395
|
}
|
|
1396
1396
|
}
|
|
1397
|
-
const
|
|
1397
|
+
const Y = {
|
|
1398
1398
|
assertOptions: Mr,
|
|
1399
1399
|
validators: ie
|
|
1400
|
-
},
|
|
1401
|
-
let
|
|
1400
|
+
}, L = Y.validators;
|
|
1401
|
+
let B = class {
|
|
1402
1402
|
constructor(t) {
|
|
1403
1403
|
this.defaults = t || {}, this.interceptors = {
|
|
1404
|
-
request: new
|
|
1405
|
-
response: new
|
|
1404
|
+
request: new Te(),
|
|
1405
|
+
response: new Te()
|
|
1406
1406
|
};
|
|
1407
1407
|
}
|
|
1408
1408
|
/**
|
|
@@ -1431,20 +1431,20 @@ let U = class {
|
|
|
1431
1431
|
}
|
|
1432
1432
|
}
|
|
1433
1433
|
_request(t, r) {
|
|
1434
|
-
typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r =
|
|
1434
|
+
typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = D(this.defaults, r);
|
|
1435
1435
|
const { transitional: n, paramsSerializer: s, headers: i } = r;
|
|
1436
|
-
n !== void 0 &&
|
|
1437
|
-
silentJSONParsing:
|
|
1438
|
-
forcedJSONParsing:
|
|
1439
|
-
clarifyTimeoutError:
|
|
1436
|
+
n !== void 0 && Y.assertOptions(n, {
|
|
1437
|
+
silentJSONParsing: L.transitional(L.boolean),
|
|
1438
|
+
forcedJSONParsing: L.transitional(L.boolean),
|
|
1439
|
+
clarifyTimeoutError: L.transitional(L.boolean)
|
|
1440
1440
|
}, !1), s != null && (c.isFunction(s) ? r.paramsSerializer = {
|
|
1441
1441
|
serialize: s
|
|
1442
|
-
} :
|
|
1443
|
-
encode:
|
|
1444
|
-
serialize:
|
|
1445
|
-
}, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0),
|
|
1446
|
-
baseUrl:
|
|
1447
|
-
withXsrfToken:
|
|
1442
|
+
} : Y.assertOptions(s, {
|
|
1443
|
+
encode: L.function,
|
|
1444
|
+
serialize: L.function
|
|
1445
|
+
}, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0), Y.assertOptions(r, {
|
|
1446
|
+
baseUrl: L.spelling("baseURL"),
|
|
1447
|
+
withXsrfToken: L.spelling("withXSRFToken")
|
|
1448
1448
|
}, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
|
|
1449
1449
|
let a = i && c.merge(
|
|
1450
1450
|
i.common,
|
|
@@ -1467,24 +1467,24 @@ let U = class {
|
|
|
1467
1467
|
});
|
|
1468
1468
|
let l, h = 0, p;
|
|
1469
1469
|
if (!d) {
|
|
1470
|
-
const f = [
|
|
1470
|
+
const f = [je.bind(this), void 0];
|
|
1471
1471
|
for (f.unshift(...o), f.push(...u), p = f.length, l = Promise.resolve(r); h < p; )
|
|
1472
1472
|
l = l.then(f[h++], f[h++]);
|
|
1473
1473
|
return l;
|
|
1474
1474
|
}
|
|
1475
1475
|
p = o.length;
|
|
1476
|
-
let
|
|
1476
|
+
let y = r;
|
|
1477
1477
|
for (h = 0; h < p; ) {
|
|
1478
1478
|
const f = o[h++], m = o[h++];
|
|
1479
1479
|
try {
|
|
1480
|
-
|
|
1480
|
+
y = f(y);
|
|
1481
1481
|
} catch (b) {
|
|
1482
1482
|
m.call(this, b);
|
|
1483
1483
|
break;
|
|
1484
1484
|
}
|
|
1485
1485
|
}
|
|
1486
1486
|
try {
|
|
1487
|
-
l =
|
|
1487
|
+
l = je.call(this, y);
|
|
1488
1488
|
} catch (f) {
|
|
1489
1489
|
return Promise.reject(f);
|
|
1490
1490
|
}
|
|
@@ -1493,14 +1493,14 @@ let U = class {
|
|
|
1493
1493
|
return l;
|
|
1494
1494
|
}
|
|
1495
1495
|
getUri(t) {
|
|
1496
|
-
t =
|
|
1496
|
+
t = D(this.defaults, t);
|
|
1497
1497
|
const r = rt(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
1498
|
-
return
|
|
1498
|
+
return Ye(r, t.params, t.paramsSerializer);
|
|
1499
1499
|
}
|
|
1500
1500
|
};
|
|
1501
1501
|
c.forEach(["delete", "get", "head", "options"], function(t) {
|
|
1502
|
-
|
|
1503
|
-
return this.request(
|
|
1502
|
+
B.prototype[t] = function(r, n) {
|
|
1503
|
+
return this.request(D(n || {}, {
|
|
1504
1504
|
method: t,
|
|
1505
1505
|
url: r,
|
|
1506
1506
|
data: (n || {}).data
|
|
@@ -1510,7 +1510,7 @@ c.forEach(["delete", "get", "head", "options"], function(t) {
|
|
|
1510
1510
|
c.forEach(["post", "put", "patch"], function(t) {
|
|
1511
1511
|
function r(n) {
|
|
1512
1512
|
return function(i, a, o) {
|
|
1513
|
-
return this.request(
|
|
1513
|
+
return this.request(D(o || {}, {
|
|
1514
1514
|
method: t,
|
|
1515
1515
|
headers: n ? {
|
|
1516
1516
|
"Content-Type": "multipart/form-data"
|
|
@@ -1520,7 +1520,7 @@ c.forEach(["post", "put", "patch"], function(t) {
|
|
|
1520
1520
|
}));
|
|
1521
1521
|
};
|
|
1522
1522
|
}
|
|
1523
|
-
|
|
1523
|
+
B.prototype[t] = r(), B.prototype[t + "Form"] = r(!0);
|
|
1524
1524
|
});
|
|
1525
1525
|
let qr = class ct {
|
|
1526
1526
|
constructor(t) {
|
|
@@ -1600,7 +1600,7 @@ function Hr(e) {
|
|
|
1600
1600
|
return e.apply(null, r);
|
|
1601
1601
|
};
|
|
1602
1602
|
}
|
|
1603
|
-
function
|
|
1603
|
+
function Gr(e) {
|
|
1604
1604
|
return c.isObject(e) && e.isAxiosError === !0;
|
|
1605
1605
|
}
|
|
1606
1606
|
const me = {
|
|
@@ -1672,26 +1672,26 @@ Object.entries(me).forEach(([e, t]) => {
|
|
|
1672
1672
|
me[t] = e;
|
|
1673
1673
|
});
|
|
1674
1674
|
function lt(e) {
|
|
1675
|
-
const t = new
|
|
1676
|
-
return c.extend(r,
|
|
1677
|
-
return lt(
|
|
1675
|
+
const t = new B(e), r = Ie(B.prototype.request, t);
|
|
1676
|
+
return c.extend(r, B.prototype, t, { allOwnKeys: !0 }), c.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(s) {
|
|
1677
|
+
return lt(D(e, s));
|
|
1678
1678
|
}, r;
|
|
1679
1679
|
}
|
|
1680
|
-
const R = lt(
|
|
1681
|
-
R.Axios =
|
|
1680
|
+
const R = lt(z);
|
|
1681
|
+
R.Axios = B;
|
|
1682
1682
|
R.CanceledError = M;
|
|
1683
1683
|
R.CancelToken = qr;
|
|
1684
1684
|
R.isCancel = et;
|
|
1685
1685
|
R.VERSION = ot;
|
|
1686
1686
|
R.toFormData = se;
|
|
1687
|
-
R.AxiosError =
|
|
1687
|
+
R.AxiosError = w;
|
|
1688
1688
|
R.Cancel = R.CanceledError;
|
|
1689
1689
|
R.all = function(t) {
|
|
1690
1690
|
return Promise.all(t);
|
|
1691
1691
|
};
|
|
1692
1692
|
R.spread = Hr;
|
|
1693
|
-
R.isAxiosError =
|
|
1694
|
-
R.mergeConfig =
|
|
1693
|
+
R.isAxiosError = Gr;
|
|
1694
|
+
R.mergeConfig = D;
|
|
1695
1695
|
R.AxiosHeaders = C;
|
|
1696
1696
|
R.formToJSON = (e) => Ze(c.isHTMLForm(e) ? new FormData(e) : e);
|
|
1697
1697
|
R.getAdapter = it.getAdapter;
|
|
@@ -1700,49 +1700,49 @@ R.default = R;
|
|
|
1700
1700
|
const {
|
|
1701
1701
|
Axios: Sn,
|
|
1702
1702
|
AxiosError: Rn,
|
|
1703
|
-
CanceledError:
|
|
1704
|
-
isCancel:
|
|
1705
|
-
CancelToken:
|
|
1706
|
-
VERSION:
|
|
1703
|
+
CanceledError: An,
|
|
1704
|
+
isCancel: _n,
|
|
1705
|
+
CancelToken: Tn,
|
|
1706
|
+
VERSION: On,
|
|
1707
1707
|
all: Cn,
|
|
1708
1708
|
Cancel: xn,
|
|
1709
|
-
isAxiosError:
|
|
1710
|
-
spread:
|
|
1709
|
+
isAxiosError: vn,
|
|
1710
|
+
spread: Ln,
|
|
1711
1711
|
toFormData: Fn,
|
|
1712
|
-
AxiosHeaders:
|
|
1713
|
-
HttpStatusCode:
|
|
1714
|
-
formToJSON:
|
|
1715
|
-
getAdapter:
|
|
1716
|
-
mergeConfig:
|
|
1712
|
+
AxiosHeaders: Un,
|
|
1713
|
+
HttpStatusCode: jn,
|
|
1714
|
+
formToJSON: kn,
|
|
1715
|
+
getAdapter: Bn,
|
|
1716
|
+
mergeConfig: Dn
|
|
1717
1717
|
} = R;
|
|
1718
|
-
var
|
|
1719
|
-
function
|
|
1718
|
+
var Vr = Symbol("cache-parser");
|
|
1719
|
+
function Be(e, t) {
|
|
1720
1720
|
(t == null || t > e.length) && (t = e.length);
|
|
1721
1721
|
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
|
|
1722
1722
|
return n;
|
|
1723
1723
|
}
|
|
1724
|
-
function
|
|
1724
|
+
function P(e) {
|
|
1725
1725
|
return (typeof e == "string" || typeof e == "number") && (e = Number(e)) >= 0 && e < 1 / 0;
|
|
1726
1726
|
}
|
|
1727
1727
|
function F(e) {
|
|
1728
1728
|
return e === !0 || typeof e == "number" || typeof e == "string" && e !== "false";
|
|
1729
1729
|
}
|
|
1730
|
-
var
|
|
1730
|
+
var N = Number;
|
|
1731
1731
|
function ut(e) {
|
|
1732
|
-
var t = Object.defineProperty({},
|
|
1732
|
+
var t = Object.defineProperty({}, Vr, { enumerable: !1, value: 1 });
|
|
1733
1733
|
if (!e || typeof e != "string") return t;
|
|
1734
1734
|
var r = function(u) {
|
|
1735
1735
|
for (var l, h = {}, p = function(m, b) {
|
|
1736
|
-
var
|
|
1737
|
-
if (
|
|
1738
|
-
if (Array.isArray(m) || (
|
|
1739
|
-
if (
|
|
1740
|
-
if (typeof
|
|
1741
|
-
var
|
|
1742
|
-
return
|
|
1736
|
+
var E = typeof Symbol < "u" && m[Symbol.iterator] || m["@@iterator"];
|
|
1737
|
+
if (E) return (E = E.call(m)).next.bind(E);
|
|
1738
|
+
if (Array.isArray(m) || (E = function(g, x) {
|
|
1739
|
+
if (g) {
|
|
1740
|
+
if (typeof g == "string") return Be(g, x);
|
|
1741
|
+
var A = Object.prototype.toString.call(g).slice(8, -1);
|
|
1742
|
+
return A === "Object" && g.constructor && (A = g.constructor.name), A === "Map" || A === "Set" ? Array.from(g) : A === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A) ? Be(g, x) : void 0;
|
|
1743
1743
|
}
|
|
1744
1744
|
}(m))) {
|
|
1745
|
-
|
|
1745
|
+
E && (m = E);
|
|
1746
1746
|
var S = 0;
|
|
1747
1747
|
return function() {
|
|
1748
1748
|
return S >= m.length ? { done: !0 } : { done: !1, value: m[S++] };
|
|
@@ -1751,36 +1751,36 @@ function ut(e) {
|
|
|
1751
1751
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1752
1752
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1753
1753
|
}(u.toLowerCase().replace(/\s+/g, "").split(",")); !(l = p()).done; ) {
|
|
1754
|
-
var
|
|
1755
|
-
h[f[0]] = (
|
|
1754
|
+
var y, f = l.value.split("=", 2);
|
|
1755
|
+
h[f[0]] = (y = f[1]) == null || y;
|
|
1756
1756
|
}
|
|
1757
1757
|
return h;
|
|
1758
1758
|
}(e), n = r["max-age"], s = r["max-stale"], i = r["min-fresh"], a = r["s-maxage"], o = r["stale-if-error"], d = r["stale-while-revalidate"];
|
|
1759
|
-
return F(r.immutable) && (t.immutable = !0),
|
|
1759
|
+
return F(r.immutable) && (t.immutable = !0), P(n) && (t.maxAge = N(n)), P(s) && (t.maxStale = N(s)), P(i) && (t.minFresh = N(i)), F(r["must-revalidate"]) && (t.mustRevalidate = !0), F(r["must-understand"]) && (t.mustUnderstand = !0), F(r["no-cache"]) && (t.noCache = !0), F(r["no-store"]) && (t.noStore = !0), F(r["no-transform"]) && (t.noTransform = !0), F(r["only-if-cached"]) && (t.onlyIfCached = !0), F(r.private) && (t.private = !0), F(r["proxy-revalidate"]) && (t.proxyRevalidate = !0), F(r.public) && (t.public = !0), P(a) && (t.sMaxAge = N(a)), P(o) && (t.staleIfError = N(o)), P(d) && (t.staleWhileRevalidate = N(d)), t;
|
|
1760
1760
|
}
|
|
1761
|
-
var
|
|
1762
|
-
function
|
|
1761
|
+
var Jr = Symbol();
|
|
1762
|
+
function Wr() {
|
|
1763
1763
|
var e, t, r = new Promise(function(n, s) {
|
|
1764
1764
|
e = n, t = s;
|
|
1765
1765
|
});
|
|
1766
|
-
return r.resolve = e, r.reject = t, r[
|
|
1766
|
+
return r.resolve = e, r.reject = t, r[Jr] = 1, r;
|
|
1767
1767
|
}
|
|
1768
|
-
function
|
|
1768
|
+
function zr(e, t) {
|
|
1769
1769
|
return e > t ? 1 : -1;
|
|
1770
1770
|
}
|
|
1771
|
-
function
|
|
1771
|
+
function Q(e, t) {
|
|
1772
1772
|
var r = 5381;
|
|
1773
1773
|
if (typeof e == "object" && e !== null && (e.toString === Object.prototype.toString || e.toString === Array.prototype.toString)) {
|
|
1774
1774
|
t || (t = /* @__PURE__ */ new WeakSet());
|
|
1775
|
-
for (var n = Object.keys(e).sort(
|
|
1775
|
+
for (var n = Object.keys(e).sort(zr), s = 0; s < n.length; s++) {
|
|
1776
1776
|
var i = n[s], a = e[i];
|
|
1777
|
-
if (r = 33 * r ^
|
|
1777
|
+
if (r = 33 * r ^ Q(i, t), typeof a == "object" && a !== null && (e.toString === Object.prototype.toString || e.toString === Array.prototype.toString)) {
|
|
1778
1778
|
if (t.has(a)) continue;
|
|
1779
1779
|
t.add(a);
|
|
1780
1780
|
}
|
|
1781
|
-
r = 33 * r ^
|
|
1781
|
+
r = 33 * r ^ Q(a, t);
|
|
1782
1782
|
}
|
|
1783
|
-
return 33 * r ^
|
|
1783
|
+
return 33 * r ^ Q(e.constructor, t);
|
|
1784
1784
|
}
|
|
1785
1785
|
var o = typeof e;
|
|
1786
1786
|
try {
|
|
@@ -1796,7 +1796,7 @@ function Y(e, t) {
|
|
|
1796
1796
|
* (c) 2021-present Arthur Fiorette & Contributors
|
|
1797
1797
|
* Released under the MIT License.
|
|
1798
1798
|
*/
|
|
1799
|
-
const
|
|
1799
|
+
const _ = Object.freeze({
|
|
1800
1800
|
/**
|
|
1801
1801
|
* ```txt
|
|
1802
1802
|
* If-Modified-Since: <day-name>, <day> <month> <year> <hour>:<minute>:<second> GMT
|
|
@@ -1897,9 +1897,9 @@ const A = Object.freeze({
|
|
|
1897
1897
|
* ```
|
|
1898
1898
|
*/
|
|
1899
1899
|
XAxiosCacheStaleIfError: "x-axios-cache-stale-if-error"
|
|
1900
|
-
}),
|
|
1900
|
+
}), $r = (e, t) => {
|
|
1901
1901
|
if (!e) return "not enough headers";
|
|
1902
|
-
const r = e[
|
|
1902
|
+
const r = e[_.CacheControl];
|
|
1903
1903
|
if (r) {
|
|
1904
1904
|
const s = ut(String(r));
|
|
1905
1905
|
if (
|
|
@@ -1913,7 +1913,7 @@ const A = Object.freeze({
|
|
|
1913
1913
|
cache: 1e3 * 60 * 60 * 24 * 365
|
|
1914
1914
|
};
|
|
1915
1915
|
if (s.maxAge !== void 0) {
|
|
1916
|
-
const i = e[
|
|
1916
|
+
const i = e[_.Age];
|
|
1917
1917
|
return {
|
|
1918
1918
|
cache: i ? (
|
|
1919
1919
|
// If age is present, we must subtract it from maxAge
|
|
@@ -1931,7 +1931,7 @@ const A = Object.freeze({
|
|
|
1931
1931
|
};
|
|
1932
1932
|
}
|
|
1933
1933
|
}
|
|
1934
|
-
const n = e[
|
|
1934
|
+
const n = e[_.Expires];
|
|
1935
1935
|
if (n) {
|
|
1936
1936
|
const s = Date.parse(String(n)) - Date.now();
|
|
1937
1937
|
return s >= 0 ? {
|
|
@@ -1940,17 +1940,17 @@ const A = Object.freeze({
|
|
|
1940
1940
|
}
|
|
1941
1941
|
return "not enough headers";
|
|
1942
1942
|
};
|
|
1943
|
-
function
|
|
1944
|
-
return
|
|
1943
|
+
function G() {
|
|
1944
|
+
return G = Object.assign ? Object.assign.bind() : function(e) {
|
|
1945
1945
|
for (var t = 1; t < arguments.length; t++) {
|
|
1946
1946
|
var r = arguments[t];
|
|
1947
1947
|
for (var n in r)
|
|
1948
1948
|
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
1949
1949
|
}
|
|
1950
1950
|
return e;
|
|
1951
|
-
},
|
|
1951
|
+
}, G.apply(this, arguments);
|
|
1952
1952
|
}
|
|
1953
|
-
async function
|
|
1953
|
+
async function Kr(e, t) {
|
|
1954
1954
|
if (typeof t == "function")
|
|
1955
1955
|
return t(e);
|
|
1956
1956
|
const {
|
|
@@ -1971,7 +1971,7 @@ async function Vr(e, t) {
|
|
|
1971
1971
|
}
|
|
1972
1972
|
return !0;
|
|
1973
1973
|
}
|
|
1974
|
-
function
|
|
1974
|
+
function De(e, t) {
|
|
1975
1975
|
return e instanceof RegExp ? (e.lastIndex = 0, e.test(t)) : t.includes(e);
|
|
1976
1976
|
}
|
|
1977
1977
|
function Xr(e) {
|
|
@@ -1980,7 +1980,7 @@ function Xr(e) {
|
|
|
1980
1980
|
function be(e = "get", t = []) {
|
|
1981
1981
|
return e = e.toLowerCase(), t.some((r) => r === e);
|
|
1982
1982
|
}
|
|
1983
|
-
function
|
|
1983
|
+
function Yr(e, t) {
|
|
1984
1984
|
t.headers || (t.headers = {});
|
|
1985
1985
|
const {
|
|
1986
1986
|
etag: r,
|
|
@@ -1988,16 +1988,16 @@ function Qr(e, t) {
|
|
|
1988
1988
|
} = t.cache;
|
|
1989
1989
|
if (r) {
|
|
1990
1990
|
var s;
|
|
1991
|
-
const i = r === !0 ? (s = e.data) == null ? void 0 : s.headers[
|
|
1992
|
-
i && (t.headers[
|
|
1991
|
+
const i = r === !0 ? (s = e.data) == null ? void 0 : s.headers[_.ETag] : r;
|
|
1992
|
+
i && (t.headers[_.IfNoneMatch] = i);
|
|
1993
1993
|
}
|
|
1994
|
-
n && (t.headers[
|
|
1994
|
+
n && (t.headers[_.IfModifiedSince] = n === !0 ? (
|
|
1995
1995
|
// If last-modified is not present, use the createdAt timestamp
|
|
1996
|
-
e.data.headers[
|
|
1996
|
+
e.data.headers[_.LastModified] || new Date(e.createdAt).toUTCString()
|
|
1997
1997
|
) : n.toUTCString());
|
|
1998
1998
|
}
|
|
1999
|
-
function
|
|
2000
|
-
return e.status === 304 && t ? (e.cached = !0, e.data = t.data, e.status = t.status, e.statusText = t.statusText, e.headers =
|
|
1999
|
+
function Qr(e, t) {
|
|
2000
|
+
return e.status === 304 && t ? (e.cached = !0, e.data = t.data, e.status = t.status, e.statusText = t.statusText, e.headers = G({}, t.headers, e.headers), t) : {
|
|
2001
2001
|
data: e.data,
|
|
2002
2002
|
status: e.status,
|
|
2003
2003
|
statusText: e.statusText,
|
|
@@ -2008,15 +2008,15 @@ function Zr(e) {
|
|
|
2008
2008
|
const t = async (r) => {
|
|
2009
2009
|
if (r.id = e.generateKey(r), r.cache === !1)
|
|
2010
2010
|
return r;
|
|
2011
|
-
if (r.cache =
|
|
2011
|
+
if (r.cache = G({}, e.defaults.cache, r.cache), typeof r.cache.cachePredicate == "object" && r.cache.cachePredicate.ignoreUrls && r.url) {
|
|
2012
2012
|
for (const m of r.cache.cachePredicate.ignoreUrls)
|
|
2013
|
-
if (
|
|
2013
|
+
if (De(m, r.url))
|
|
2014
2014
|
return r;
|
|
2015
2015
|
}
|
|
2016
2016
|
if (typeof r.cache.cachePredicate == "object" && r.cache.cachePredicate.allowUrls && r.url) {
|
|
2017
2017
|
let m = !1;
|
|
2018
2018
|
for (const b of r.cache.cachePredicate.allowUrls)
|
|
2019
|
-
if (
|
|
2019
|
+
if (De(b, r.url)) {
|
|
2020
2020
|
m = !0;
|
|
2021
2021
|
break;
|
|
2022
2022
|
}
|
|
@@ -2025,20 +2025,20 @@ function Zr(e) {
|
|
|
2025
2025
|
}
|
|
2026
2026
|
if (r.cache.cacheTakeover) {
|
|
2027
2027
|
var n, s, i, a, o, d, u, l, h;
|
|
2028
|
-
(i = (n = r.headers)[s =
|
|
2028
|
+
(i = (n = r.headers)[s = _.CacheControl]) != null || (n[s] = "no-cache"), (d = (a = r.headers)[o = _.Pragma]) != null || (a[o] = "no-cache"), (h = (u = r.headers)[l = _.Expires]) != null || (u[l] = "0");
|
|
2029
2029
|
}
|
|
2030
2030
|
if (!be(r.method, r.cache.methods))
|
|
2031
2031
|
return r;
|
|
2032
2032
|
let p = await e.storage.get(r.id, r);
|
|
2033
|
-
const
|
|
2034
|
-
e: if (p.state === "empty" || p.state === "stale" || p.state === "must-revalidate" ||
|
|
2035
|
-
if (e.waiting.has(r.id) && !
|
|
2033
|
+
const y = r.cache.override;
|
|
2034
|
+
e: if (p.state === "empty" || p.state === "stale" || p.state === "must-revalidate" || y) {
|
|
2035
|
+
if (e.waiting.has(r.id) && !y && (p = await e.storage.get(r.id, r), p.state !== "empty" && p.state !== "must-revalidate"))
|
|
2036
2036
|
break e;
|
|
2037
|
-
const m =
|
|
2037
|
+
const m = Wr();
|
|
2038
2038
|
return e.waiting.set(r.id, m), m.catch(() => {
|
|
2039
2039
|
}), await e.storage.set(r.id, {
|
|
2040
2040
|
state: "loading",
|
|
2041
|
-
previous:
|
|
2041
|
+
previous: y ? (
|
|
2042
2042
|
// Simply determine if the request is stale or not
|
|
2043
2043
|
// based if it had previous data or not
|
|
2044
2044
|
p.data ? "stale" : "empty"
|
|
@@ -2048,8 +2048,8 @@ function Zr(e) {
|
|
|
2048
2048
|
),
|
|
2049
2049
|
data: p.data,
|
|
2050
2050
|
// If the cache is empty and asked to override it, use the current timestamp
|
|
2051
|
-
createdAt:
|
|
2052
|
-
}, r), (p.state === "stale" || p.state === "must-revalidate") &&
|
|
2051
|
+
createdAt: y && !p.createdAt ? Date.now() : p.createdAt
|
|
2052
|
+
}, r), (p.state === "stale" || p.state === "must-revalidate") && Yr(p, r), r.validateStatus = Xr(r.validateStatus), (p.state === "stale" || p.data && p.state !== "must-revalidate") && await (r.cache.hydrate == null ? void 0 : r.cache.hydrate(p)), r;
|
|
2053
2053
|
}
|
|
2054
2054
|
let f;
|
|
2055
2055
|
if (p.state === "loading") {
|
|
@@ -2130,12 +2130,12 @@ function tn(e) {
|
|
|
2130
2130
|
return s;
|
|
2131
2131
|
if (
|
|
2132
2132
|
// For 'loading' values (previous: stale), this check already ran in the past.
|
|
2133
|
-
!d.data && !await
|
|
2133
|
+
!d.data && !await Kr(s, o.cachePredicate)
|
|
2134
2134
|
)
|
|
2135
2135
|
return await t(s.id, a, !0), s;
|
|
2136
2136
|
for (const f of Object.keys(s.headers))
|
|
2137
2137
|
f.startsWith("x-axios-cache") && delete s.headers[f];
|
|
2138
|
-
o.etag && o.etag !== !0 && (s.headers[
|
|
2138
|
+
o.etag && o.etag !== !0 && (s.headers[_.XAxiosCacheEtag] = o.etag), o.modifiedSince && (s.headers[_.XAxiosCacheLastModified] = o.modifiedSince === !0 ? "use-cache-timestamp" : o.modifiedSince.toUTCString());
|
|
2139
2139
|
let u = o.ttl || -1, l;
|
|
2140
2140
|
if (o.interpretHeader) {
|
|
2141
2141
|
const f = e.headerInterpreter(s.headers, e.location);
|
|
@@ -2143,8 +2143,8 @@ function tn(e) {
|
|
|
2143
2143
|
return await t(s.id, a, !0), s;
|
|
2144
2144
|
f !== "not enough headers" && (typeof f == "number" ? u = f : (u = f.cache, l = f.stale));
|
|
2145
2145
|
}
|
|
2146
|
-
const h =
|
|
2147
|
-
typeof u == "function" && (u = await u(s)), o.staleIfError && (s.headers[
|
|
2146
|
+
const h = Qr(s, d.data);
|
|
2147
|
+
typeof u == "function" && (u = await u(s)), o.staleIfError && (s.headers[_.XAxiosCacheStaleIfError] = String(u));
|
|
2148
2148
|
const p = {
|
|
2149
2149
|
state: "cached",
|
|
2150
2150
|
ttl: u,
|
|
@@ -2153,8 +2153,8 @@ function tn(e) {
|
|
|
2153
2153
|
data: h
|
|
2154
2154
|
};
|
|
2155
2155
|
await e.storage.set(s.id, p, a);
|
|
2156
|
-
const
|
|
2157
|
-
return
|
|
2156
|
+
const y = e.waiting.get(s.id);
|
|
2157
|
+
return y && (y.resolve(), e.waiting.delete(s.id)), s;
|
|
2158
2158
|
},
|
|
2159
2159
|
onRejected: async (s) => {
|
|
2160
2160
|
if (!s.isAxiosError || !s.config)
|
|
@@ -2176,7 +2176,7 @@ function tn(e) {
|
|
|
2176
2176
|
s.code !== "ERR_CANCELED" || s.code === "ERR_CANCELED" && u.state !== "cached"
|
|
2177
2177
|
), s;
|
|
2178
2178
|
if (o.staleIfError) {
|
|
2179
|
-
const l = String(d?.headers[
|
|
2179
|
+
const l = String(d?.headers[_.CacheControl]), h = l && ut(l).staleIfError, p = typeof o.staleIfError == "function" ? await o.staleIfError(d, u, s) : o.staleIfError === !0 && h ? h * 1e3 : o.staleIfError;
|
|
2180
2180
|
if (p === !0 || // staleIfError is the number of seconds that stale is allowed to be used
|
|
2181
2181
|
typeof p == "number" && u.createdAt + p > Date.now()) {
|
|
2182
2182
|
await e.storage.set(a, {
|
|
@@ -2184,8 +2184,8 @@ function tn(e) {
|
|
|
2184
2184
|
createdAt: Date.now(),
|
|
2185
2185
|
data: u.data
|
|
2186
2186
|
}, i);
|
|
2187
|
-
const
|
|
2188
|
-
return
|
|
2187
|
+
const y = e.waiting.get(a);
|
|
2188
|
+
return y && (y.resolve(), e.waiting.delete(a)), {
|
|
2189
2189
|
cached: !0,
|
|
2190
2190
|
stale: !0,
|
|
2191
2191
|
config: i,
|
|
@@ -2204,10 +2204,10 @@ function tn(e) {
|
|
|
2204
2204
|
const rn = (e) => !!e && !!e["is-storage"];
|
|
2205
2205
|
function dt(e) {
|
|
2206
2206
|
const t = e.data.headers;
|
|
2207
|
-
return
|
|
2207
|
+
return _.ETag in t || _.LastModified in t || _.XAxiosCacheEtag in t || _.XAxiosCacheLastModified in t;
|
|
2208
2208
|
}
|
|
2209
2209
|
function nn(e) {
|
|
2210
|
-
return String(e.data.headers[
|
|
2210
|
+
return String(e.data.headers[_.CacheControl]).includes("must-revalidate");
|
|
2211
2211
|
}
|
|
2212
2212
|
function ft(e) {
|
|
2213
2213
|
return dt(e) ? !0 : e.state === "cached" && e.staleTtl !== void 0 && // Only allow stale values after the ttl is already in the past and the staleTtl is in the future.
|
|
@@ -2218,7 +2218,7 @@ function ft(e) {
|
|
|
2218
2218
|
// [ past ][now is in here]
|
|
2219
2219
|
Math.abs(Date.now() - (e.createdAt + e.ttl)) <= e.staleTtl;
|
|
2220
2220
|
}
|
|
2221
|
-
function
|
|
2221
|
+
function we(e) {
|
|
2222
2222
|
return e.ttl !== void 0 && e.createdAt + e.ttl <= Date.now();
|
|
2223
2223
|
}
|
|
2224
2224
|
function sn({
|
|
@@ -2242,7 +2242,7 @@ function sn({
|
|
|
2242
2242
|
if (a.state === "empty" || a.state === "loading" || a.state === "must-revalidate")
|
|
2243
2243
|
return a;
|
|
2244
2244
|
if (a.state === "cached") {
|
|
2245
|
-
if (!
|
|
2245
|
+
if (!we(a))
|
|
2246
2246
|
return a;
|
|
2247
2247
|
if (!ft(a))
|
|
2248
2248
|
return await r(s, i), {
|
|
@@ -2254,17 +2254,17 @@ function sn({
|
|
|
2254
2254
|
data: a.data,
|
|
2255
2255
|
ttl: a.staleTtl !== void 0 ? a.staleTtl + a.ttl : void 0
|
|
2256
2256
|
}, await e(s, a, i), nn(a))
|
|
2257
|
-
return
|
|
2257
|
+
return G({}, a, {
|
|
2258
2258
|
state: "must-revalidate"
|
|
2259
2259
|
});
|
|
2260
2260
|
}
|
|
2261
|
-
return !
|
|
2261
|
+
return !we(a) || dt(a) ? a : (await r(s, i), {
|
|
2262
2262
|
state: "empty"
|
|
2263
2263
|
});
|
|
2264
2264
|
}
|
|
2265
2265
|
};
|
|
2266
2266
|
}
|
|
2267
|
-
const
|
|
2267
|
+
const Pe = (
|
|
2268
2268
|
// https://caniuse.com/mdn-api_structuredclone (10/18/2023 92.51%)
|
|
2269
2269
|
typeof structuredClone == "function" ? structuredClone : (e) => JSON.parse(JSON.stringify(e))
|
|
2270
2270
|
);
|
|
@@ -2277,14 +2277,14 @@ function an(e = !1, t = !1, r = !1) {
|
|
|
2277
2277
|
for (n.cleanup(), a = Object.keys(n.data); a.length >= r; )
|
|
2278
2278
|
delete n.data[a.shift()];
|
|
2279
2279
|
}
|
|
2280
|
-
n.data[s] = e === "double" ?
|
|
2280
|
+
n.data[s] = e === "double" ? Pe(i) : i;
|
|
2281
2281
|
},
|
|
2282
2282
|
remove: (s) => {
|
|
2283
2283
|
delete n.data[s];
|
|
2284
2284
|
},
|
|
2285
2285
|
find: (s) => {
|
|
2286
2286
|
const i = n.data[s];
|
|
2287
|
-
return e && i !== void 0 ?
|
|
2287
|
+
return e && i !== void 0 ? Pe(i) : i;
|
|
2288
2288
|
},
|
|
2289
2289
|
clear: () => {
|
|
2290
2290
|
n.data = /* @__PURE__ */ Object.create(null);
|
|
@@ -2298,17 +2298,17 @@ function an(e = !1, t = !1, r = !1) {
|
|
|
2298
2298
|
n.remove(o);
|
|
2299
2299
|
continue;
|
|
2300
2300
|
}
|
|
2301
|
-
a.state === "cached" &&
|
|
2301
|
+
a.state === "cached" && we(a) && !ft(a) && n.remove(o);
|
|
2302
2302
|
}
|
|
2303
2303
|
}, t && (n.cleaner = setInterval(n.cleanup, t)), n;
|
|
2304
2304
|
}
|
|
2305
|
-
const
|
|
2305
|
+
const Ne = /^\/|\/$/g;
|
|
2306
2306
|
function on(e) {
|
|
2307
2307
|
return (t) => {
|
|
2308
2308
|
if (t.id)
|
|
2309
2309
|
return t.id;
|
|
2310
2310
|
const r = e(t);
|
|
2311
|
-
return typeof r == "string" || typeof r == "number" ? `${r}` : `${
|
|
2311
|
+
return typeof r == "string" || typeof r == "number" ? `${r}` : `${Q(r)}`;
|
|
2312
2312
|
};
|
|
2313
2313
|
}
|
|
2314
2314
|
const cn = on(({
|
|
@@ -2317,7 +2317,7 @@ const cn = on(({
|
|
|
2317
2317
|
method: r,
|
|
2318
2318
|
params: n,
|
|
2319
2319
|
data: s
|
|
2320
|
-
}) => (e !== void 0 ? e = e.replace(
|
|
2320
|
+
}) => (e !== void 0 ? e = e.replace(Ne, "") : e = "", t !== void 0 ? t = t.replace(Ne, "") : t = "", r !== void 0 ? r = r.toLowerCase() : r = "get", {
|
|
2321
2321
|
url: e + (e && t ? "/" : "") + t,
|
|
2322
2322
|
params: n,
|
|
2323
2323
|
method: r,
|
|
@@ -2330,7 +2330,7 @@ function ln(e, t = {}) {
|
|
|
2330
2330
|
throw new Error("setupCache() should be called only once");
|
|
2331
2331
|
if (l.location = typeof window > "u" ? "server" : "client", l.storage = t.storage || an(), !rn(l.storage))
|
|
2332
2332
|
throw new Error("Use buildStorage() function");
|
|
2333
|
-
return l.waiting = t.waiting || /* @__PURE__ */ new Map(), l.generateKey = t.generateKey || cn, l.headerInterpreter = t.headerInterpreter ||
|
|
2333
|
+
return l.waiting = t.waiting || /* @__PURE__ */ new Map(), l.generateKey = t.generateKey || cn, l.headerInterpreter = t.headerInterpreter || $r, l.requestInterceptor = t.requestInterceptor || Zr(l), l.responseInterceptor = t.responseInterceptor || tn(l), l.debug = t.debug || function() {
|
|
2334
2334
|
}, l.defaults.cache = {
|
|
2335
2335
|
update: t.update || {},
|
|
2336
2336
|
ttl: (r = t.ttl) != null ? r : 1e3 * 60 * 5,
|
|
@@ -2372,13 +2372,13 @@ ht.interceptors.response.use(
|
|
|
2372
2372
|
})
|
|
2373
2373
|
), Promise.reject(e))
|
|
2374
2374
|
);
|
|
2375
|
-
const
|
|
2376
|
-
var dn = /* @__PURE__ */ ((e) => (e.GET_PAGES_AND_LINKS = "webapi/objectmanagement/teamspaces/pagesandlinks_412Y_v1", e.GET_SPACE_FONT_FAMILY = "webapi/objectmanagement/teamspaces/getspacefonts_41I6_v1", e.GET_SPACE_LIST = "webapi/objectmanagement/teamspaces/getteamspaces_41I3_v1", e.GET_USER_ROLE = "webapi/objectmanagement/teamspaces/getuserroles_41E7_v1", e))(dn || {}), fn = /* @__PURE__ */ ((e) => (e.GET_CROP_ZONE_SUGGESTION = "webapi/mediafile/assettransformation/getcropzonesuggestion_41UP_v1", e.GET_LARGEST_DOWNLOAD_LINK = "webapi/objectmanagement/share/getlargestdownloadlink_46X_v1", e.GET_TRANSFORM_ASSET_LINK = "webapi/mediafile/assettransformation/transformasset_41E6_v1", e.UPLOAD_AND_GET_RESPONSE = "webapi/mediafile/import/upload/uploadimageandgetlargestdownloadlink_4CM_v1", e.UPLOAD_RESPONSE = "api/UploadMedia/v3.0/UploadNewMedia", e))(fn || {}), hn = /* @__PURE__ */ ((e) => (e.GET_AUTOCOMPLETE_ITEMS_WITH_QUERY = "webapi/ui/autocompletion/executequery_4JD_v1-alpha", e.GET_AUTOCOMPLETE_ITEMS_WITH_SERVICE = "webapi/ui/autocompletion/callservice_41s5_v1-alpha", e))(hn || {}), pn = /* @__PURE__ */ ((e) => (e.GET_DASHBOARD_EMBEDDED_URL = "webapi/extensibility/integrations/businessintelligence/getdashboardembededurl_41JJ_v1", e.GET_DASHBOARD_LIST = "webapi/extensibility/integrations/businessintelligence/getlistdashboards_41JI_v1", e))(pn || {}), mn = /* @__PURE__ */ ((e) => (e.GET_SEARCHABLE_FIELDS = "webapi/objectmanagement/metadata/fields/getallobjectfieldsforcurrentuser_4C2_v2", e))(mn || {}), bn = /* @__PURE__ */ ((e) => (e["4.0"] = "API/Search/v4.0/Search", e))(bn || {}),
|
|
2375
|
+
const Pn = ln(ht), Nn = "webapi/extensibility/integrations/gab/assetbrowser/gethierarchy_41e8", In = "webapi/extensibility/integrations/gab/assetbrowser/AvailableProxies_4ea_v3", Mn = "webapi/extensibility/integrations/gab/assetbrowser/getallformatcodes_428H";
|
|
2376
|
+
var dn = /* @__PURE__ */ ((e) => (e.GET_PAGES_AND_LINKS = "webapi/objectmanagement/teamspaces/pagesandlinks_412Y_v1", e.GET_SPACE_FONT_FAMILY = "webapi/objectmanagement/teamspaces/getspacefonts_41I6_v1", e.GET_SPACE_LIST = "webapi/objectmanagement/teamspaces/getteamspaces_41I3_v1", e.GET_USER_ROLE = "webapi/objectmanagement/teamspaces/getuserroles_41E7_v1", e))(dn || {}), fn = /* @__PURE__ */ ((e) => (e.GET_CROP_ZONE_SUGGESTION = "webapi/mediafile/assettransformation/getcropzonesuggestion_41UP_v1", e.GET_LARGEST_DOWNLOAD_LINK = "webapi/objectmanagement/share/getlargestdownloadlink_46X_v1", e.GET_TRANSFORM_ASSET_LINK = "webapi/mediafile/assettransformation/transformasset_41E6_v1", e.UPLOAD_AND_GET_RESPONSE = "webapi/mediafile/import/upload/uploadimageandgetlargestdownloadlink_4CM_v1", e.UPLOAD_RESPONSE = "api/UploadMedia/v3.0/UploadNewMedia", e))(fn || {}), hn = /* @__PURE__ */ ((e) => (e.GET_AUTOCOMPLETE_ITEMS_WITH_QUERY = "webapi/ui/autocompletion/executequery_4JD_v1-alpha", e.GET_AUTOCOMPLETE_ITEMS_WITH_SERVICE = "webapi/ui/autocompletion/callservice_41s5_v1-alpha", e))(hn || {}), pn = /* @__PURE__ */ ((e) => (e.GET_DASHBOARD_EMBEDDED_URL = "webapi/extensibility/integrations/businessintelligence/getdashboardembededurl_41JJ_v1", e.GET_DASHBOARD_LIST = "webapi/extensibility/integrations/businessintelligence/getlistdashboards_41JI_v1", e))(pn || {}), mn = /* @__PURE__ */ ((e) => (e.GET_SEARCHABLE_FIELDS = "webapi/objectmanagement/metadata/fields/getallobjectfieldsforcurrentuser_4C2_v2", e.GET_SORT_ORDERS = "webapi/objectmanagement/sortorders_49V_v1", e.GET_SUBTYPES_WITH_WILDCARD = "webapi/document/doctype/subtypeswithwildcard_4A5_v1", e))(mn || {}), bn = /* @__PURE__ */ ((e) => (e["4.0"] = "API/Search/v4.0/Search", e))(bn || {}), wn = /* @__PURE__ */ ((e) => (e.CREATE_OR_UPDATE_CHAPTERS = "webapi/mediafile/timebasedasset/createorupdatechapters_4b0_v1", e.GET_CHAPTERS = "webapi/mediafile/timebasedasset/getchapters_41T7_v1", e))(wn || {}), yn = /* @__PURE__ */ ((e) => (e.BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/418g_v1", e.GET_ADHOC_PROPERTIES = "webapi/cms/cms5/blocktemplate/getadhocpropertieslist_419s_v1", e.GET_BLOCK_TEMPLATES = "webapi/cms/cms5/blocktemplate/getblocktemplates_419y_v1", e.GET_BLOCK_TYPES = "webapi/cms/cms5/blocktemplate/getblocktypes_419z_v1", e.GET_CAN_CREATE_BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/cancreatenewblocktemplate_41cs_v1", e.GET_DAM_VIEW_ASSET_STATUSES = "webapi/cms/cms5/damview/getassetstatuses_42JQ_v1", e.GET_DAM_VIEW_ASSET_TYPES = "webapi/cms/cms5/damview/getassettypes_42JP_v1", e.GET_DAM_VIEW_AVAILABLE_BUTTONS = "webapi/cms/cms5/damview/getavailablebuttons_42JU_v1", e.GET_DAM_VIEW_AVAILABLE_FORMS = "webapi/cms/cms5/damview/getavailableforms_42JR_v1", e.GET_DAM_VIEW_AVAILABLE_LEVELS_OF_ACCESS = "webapi/cms/cms5/damview/getavailablelevelsofaccess_42JX_v1", e.GET_DAM_VIEW_AVAILABLE_PAGES = "webapi/cms/cms5/damview/getavailablepages_42JV_v1", e.GET_DAM_VIEW_AVAILABLE_PANELS = "webapi/cms/cms5/damview/getavailablepanels_42JT_v1", e.GET_DAM_VIEW_AVAILABLE_SPACES = "webapi/cms/cms5/damview/getavailablespaces_42JW_v1", e.GET_DAM_VIEW_AVAILABLE_TEMPLATES = "webapi/cms/cms5/damview/getavailabletemplates_42JN_v1", e.GET_DAM_VIEW_DISPLAY_MODE_OPTIONS = "webapi/cms/cms5/damview/getdisplaymodeoptions_42JS_v1", e.GET_PAGES_FOR_BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/getpagesforblocktemplate_41ig_v1", e.GET_PERMISSION = "webapi/cms/cms5/blocktemplate/getpermission_419r_v1", e.LIST_BLOCK_TEMPLATES = "webapi/cms/cms5/blocktemplate/getlisttemplates_428o_v1", e.SEARCH_ASSETS = "webapi/cms/cms5/search_42QJ_v1", e))(yn || {});
|
|
2377
2377
|
export {
|
|
2378
2378
|
fn as A,
|
|
2379
|
-
|
|
2379
|
+
yn as C,
|
|
2380
2380
|
pn as D,
|
|
2381
|
-
|
|
2381
|
+
Nn as F,
|
|
2382
2382
|
mn as M,
|
|
2383
2383
|
bn as S,
|
|
2384
2384
|
dn as T,
|
|
@@ -2386,6 +2386,6 @@ export {
|
|
|
2386
2386
|
In as b,
|
|
2387
2387
|
Rn as c,
|
|
2388
2388
|
hn as d,
|
|
2389
|
-
|
|
2390
|
-
|
|
2389
|
+
wn as e,
|
|
2390
|
+
Pn as h
|
|
2391
2391
|
};
|