@webitel/ui-sdk 26.6.33 → 26.6.35

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 (177) hide show
  1. package/dist/AgentStatus.enum-C3IGHtvR.js +9 -0
  2. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  3. package/dist/caseConverters-DXegZoCt.js +27 -0
  4. package/dist/chunk-CY3AvKd6.js +20 -0
  5. package/dist/clients-A6MHYfOX.js +36118 -0
  6. package/dist/components-B4aAS7wB.js +5391 -0
  7. package/dist/composables-DnDH-KUv.js +263 -0
  8. package/dist/convertDuration-1K7fuEpO.js +8 -0
  9. package/dist/debounce-DrmECuJ2.js +128 -0
  10. package/dist/deep-copy-CQw5yeEH.js +41 -0
  11. package/dist/displayText-CtaxzaBz.js +3 -0
  12. package/dist/dist-05Bf47Wg.js +87 -0
  13. package/dist/dist-BYiYpK00.js +7 -0
  14. package/dist/dist-Dz55hlwp.js +1371 -0
  15. package/dist/engineCallFileType-D7QVFOac.js +11 -0
  16. package/dist/enums-pbYAJNeb.js +158 -0
  17. package/dist/errors-SUXKojVW.js +69 -0
  18. package/dist/floating-ui.dom-n2j9PKCB.js +842 -0
  19. package/dist/generateInstance-ppTIeLX4.js +2582 -0
  20. package/dist/isObject-Dgs_L5xI.js +11 -0
  21. package/dist/logger-hl3ueNok.js +47 -0
  22. package/dist/prod-Cp0BjuxI.js +775 -0
  23. package/dist/prod-DSuxcp5t.js +2 -0
  24. package/dist/side-channel-Cyte-MzW.js +833 -0
  25. package/dist/sortQueryAdapters-CyYXvnDN.js +14 -0
  26. package/dist/srt-parser-DdH5U08c.js +21 -0
  27. package/dist/ssa-parser-Bjs7yDD1.js +184 -0
  28. package/dist/ui-sdk.css +2 -1
  29. package/dist/ui-sdk.js +34541 -4
  30. package/dist/ui-sdk.umd.cjs +7740 -7606
  31. package/dist/useExpansion-DVdIpoOn.js +24 -0
  32. package/dist/useValidation-DG0tifBv.js +37 -0
  33. package/dist/useVidstackSrc-DfNrFbOO.js +155 -0
  34. package/dist/useWtTable-tqmVOvve.js +12 -0
  35. package/dist/vidstack-B01xzxC4-DeYSgDZy.js +7 -0
  36. package/dist/vidstack-BGSTndAW-CyKM_CM4.js +957 -0
  37. package/dist/vidstack-BQlOPwOu-ChhdffAJ.js +43 -0
  38. package/dist/vidstack-Bq6c3Bam-3dCf_D36.js +398 -0
  39. package/dist/vidstack-C2US-gSO-DeIgENrW.js +127 -0
  40. package/dist/vidstack-C9vIqaYT-C1EgPq17.js +9 -0
  41. package/dist/vidstack-CTojmhKq-D7sZJxgm.js +30 -0
  42. package/dist/vidstack-ChQTHmIQ-nTO94M6P.js +51 -0
  43. package/dist/vidstack-Ci54COQW-CAAXpwzv.js +208 -0
  44. package/dist/vidstack-D2pY00kU-DoW028io.js +70 -0
  45. package/dist/vidstack-D5EzK014-DOe01V3H.js +14 -0
  46. package/dist/vidstack-DDXt6fpN-Don_e6LS.js +42 -0
  47. package/dist/vidstack-D_-9AA6_-Dq3APB0-.js +19 -0
  48. package/dist/vidstack-Dihypf8P-ibWMCHK-.js +12 -0
  49. package/dist/vidstack-Dm1xEU9Q-VlefmrP8.js +31 -0
  50. package/dist/vidstack-DqAw8m9J-Dk1GT3Oe.js +22 -0
  51. package/dist/vidstack-audio-B58bvsna.js +23 -0
  52. package/dist/vidstack-dash-CX-LTHx3.js +332 -0
  53. package/dist/vidstack-google-cast-Co5Q_rfL.js +361 -0
  54. package/dist/vidstack-hls-CLzdTFu6.js +269 -0
  55. package/dist/vidstack-krOAtKMi-DN1WZC3p.js +30 -0
  56. package/dist/vidstack-video-XtP8iTBc.js +151 -0
  57. package/dist/vidstack-vimeo-EzzPpggD.js +386 -0
  58. package/dist/vidstack-youtube-C1_NAfWa.js +205 -0
  59. package/dist/vue-i18n-B8Px6VcD.js +2201 -0
  60. package/dist/wt-action-bar-Ba1ZJjE_.js +85 -0
  61. package/dist/wt-button-DENbrKdy.js +785 -0
  62. package/dist/wt-button-select-BnRHgJ4i.js +80 -0
  63. package/dist/wt-call-media-action-Bkyppnsm.js +42 -0
  64. package/dist/wt-chat-emoji-wdBt1XzD.js +2208 -0
  65. package/dist/wt-confirm-dialog-DCUitG2v.js +70 -0
  66. package/dist/wt-context-menu-yW52oF-2.js +89 -0
  67. package/dist/wt-copy-action-d9gVzAsB.js +38 -0
  68. package/dist/wt-datepicker-Cnbarx_j.js +5774 -0
  69. package/dist/wt-display-chip-items-CvMM8WMk.js +34 -0
  70. package/dist/wt-dual-panel-DAhTYFS_.js +49 -0
  71. package/dist/wt-dummy-CLjhRWZ6.js +59 -0
  72. package/dist/wt-error-page-vhu4lIyF.js +62 -0
  73. package/dist/wt-expand-transition-C2p9bR4j.js +39 -0
  74. package/dist/wt-expansion-card-qsxvbtZm.js +47 -0
  75. package/dist/wt-expansion-panel-C_EXvx1d.js +40 -0
  76. package/dist/wt-filters-panel-wrapper-Cc9b3aci.js +51 -0
  77. package/dist/wt-galleria-CWXKuZTD.js +224 -0
  78. package/dist/wt-icon-action-CQlZHMDB.js +100 -0
  79. package/dist/wt-icon-btn-CjjI4cgE.js +107 -0
  80. package/dist/wt-icon-pxO7IjwV.js +1026 -0
  81. package/dist/wt-inline-add-panel-B0E4Vk2l.js +43 -0
  82. package/dist/wt-navigation-menu-CenQi_-T.js +126 -0
  83. package/dist/wt-notifications-bar-Ep1QuFZi.js +52 -0
  84. package/dist/wt-page-header-CDbd4aOh.js +59 -0
  85. package/dist/wt-pagination-BA_PZPIE.js +94 -0
  86. package/dist/wt-player-uidPXSTe.js +287 -0
  87. package/dist/wt-popover-CJZH3wMl.js +98 -0
  88. package/dist/wt-screen-recordings-action-Dg7Ts2Jt.js +37 -0
  89. package/dist/wt-search-bar-CWZdvAOf.js +123 -0
  90. package/dist/wt-selection-popup-B77UY7Yu.js +79 -0
  91. package/dist/wt-send-message-popup-D0GJMGni.js +77 -0
  92. package/dist/wt-slider-BS3SoGht.js +68 -0
  93. package/dist/wt-start-page-eN1PEokc.js +86 -0
  94. package/dist/wt-status-select-A5t6Vjm4.js +101 -0
  95. package/dist/wt-stepper-B6zpd1Uh.js +41 -0
  96. package/dist/wt-table-D0FynxIE.js +364 -0
  97. package/dist/wt-table-actions-4-peSVkc.js +63 -0
  98. package/dist/wt-table-column-select-DFF6z3a3.js +100 -0
  99. package/dist/wt-tabs-DuOgj-lZ.js +60 -0
  100. package/dist/wt-time-input-CO2cop3y.js +62 -0
  101. package/dist/wt-timepicker-BltFF1QD.js +145 -0
  102. package/dist/wt-tree-ZyoPrNOl.js +1206 -0
  103. package/dist/wt-tree-table-MLET4gIv.js +221 -0
  104. package/dist/wt-type-extension-value-input-fnNxJLsq.js +104 -0
  105. package/dist/wt-vidstack-player-DLTA9mBK.js +7440 -0
  106. package/package.json +5 -5
  107. package/src/components/wt-table-column-select/__tests__/WtTableColumnSelect.spec.js +3 -3
  108. package/src/components/wt-vidstack-player/wt-vidstack-player.vue +2 -2
  109. package/dist/contacts-C-FnP7wP.js +0 -49654
  110. package/dist/displayText-Cbh4IOfM.js +0 -5
  111. package/dist/engineCallFileType-yaadA7-2.js +0 -8
  112. package/dist/errors-CTL-RV3B.js +0 -70
  113. package/dist/index-BBLSS-t1.js +0 -50
  114. package/dist/install-DOSuNFtE.js +0 -53489
  115. package/dist/isObject-CMQJaQIp.js +0 -28
  116. package/dist/prod-BoQuiIB3.js +0 -973
  117. package/dist/srt-parser-CsN7bp5E.js +0 -26
  118. package/dist/ssa-parser-BJOOPeQF.js +0 -200
  119. package/dist/useExpansion-BrQ40HiR.js +0 -24
  120. package/dist/useVidstackSrc-MfWBq7Ef.js +0 -1341
  121. package/dist/vidstack-Bq6c3Bam-C_T8PkmG.js +0 -426
  122. package/dist/vidstack-D2pY00kU-CphVKcJq.js +0 -136
  123. package/dist/vidstack-DDXt6fpN-2lNfj8Ca.js +0 -51
  124. package/dist/vidstack-D_-9AA6_-Cyl8HzDm.js +0 -21
  125. package/dist/vidstack-Dm1xEU9Q-CXHNvShT.js +0 -30
  126. package/dist/vidstack-DqAw8m9J-C2p9K7Db.js +0 -22
  127. package/dist/vidstack-audio-BL-Sa_Ap.js +0 -28
  128. package/dist/vidstack-dash-mKhgfurw.js +0 -393
  129. package/dist/vidstack-google-cast-BGqSw2iP.js +0 -383
  130. package/dist/vidstack-hls-U5fTV3hj.js +0 -310
  131. package/dist/vidstack-krOAtKMi-C50BTxmn.js +0 -28
  132. package/dist/vidstack-video-Bxf7KDne.js +0 -164
  133. package/dist/vidstack-vimeo-MngSXtDR.js +0 -452
  134. package/dist/vidstack-youtube-Ctg91VeX.js +0 -233
  135. package/dist/wt-action-bar-DaDcqA4n.js +0 -102
  136. package/dist/wt-button-select-q_BITVhH.js +0 -105
  137. package/dist/wt-call-media-action-BkBcZN17.js +0 -60
  138. package/dist/wt-chat-emoji-BGuSgYi3.js +0 -2909
  139. package/dist/wt-confirm-dialog-C7-74ROm.js +0 -92
  140. package/dist/wt-context-menu-CzAHMaOj.js +0 -104
  141. package/dist/wt-copy-action-BpckAObd.js +0 -60
  142. package/dist/wt-datepicker-DauMnf2r.js +0 -5660
  143. package/dist/wt-display-chip-items-zcqxH89_.js +0 -47
  144. package/dist/wt-dual-panel-Cj79kJpk.js +0 -66
  145. package/dist/wt-dummy-BUHYAcsk.js +0 -104
  146. package/dist/wt-error-page-CNSqDA-o.js +0 -89
  147. package/dist/wt-expansion-card-CtcuXg6f.js +0 -56
  148. package/dist/wt-expansion-panel-BU2Hb-N2.js +0 -54
  149. package/dist/wt-filters-panel-wrapper-BlLlAixc.js +0 -75
  150. package/dist/wt-galleria-BQzGD6-3.js +0 -323
  151. package/dist/wt-inline-add-panel-fG58a6T3.js +0 -49
  152. package/dist/wt-navigation-menu-2ggfyrM_.js +0 -159
  153. package/dist/wt-notifications-bar-Epn_SA_R.js +0 -79
  154. package/dist/wt-page-header-DdsnoLgd.js +0 -115
  155. package/dist/wt-pagination-Byg79HfY.js +0 -144
  156. package/dist/wt-player-kjdJYVi3.js +0 -291
  157. package/dist/wt-popover-Di-7_rDL.js +0 -4
  158. package/dist/wt-popover.vue_vue_type_style_index_0_lang-DMDTlCgv.js +0 -81
  159. package/dist/wt-screen-recordings-action-Z3x-gI0n.js +0 -54
  160. package/dist/wt-search-bar-CxwSi-Xo.js +0 -144
  161. package/dist/wt-selection-popup-MdCfrgcd.js +0 -109
  162. package/dist/wt-send-message-popup-DklTgoGj.js +0 -579
  163. package/dist/wt-slider-BEkw4KGp.js +0 -4
  164. package/dist/wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js +0 -55
  165. package/dist/wt-start-page-B59KbWqX.js +0 -99
  166. package/dist/wt-status-select-hOAr_xBg.js +0 -138
  167. package/dist/wt-stepper-CMeW3d6N.js +0 -65
  168. package/dist/wt-table-C5CLtnK5.js +0 -426
  169. package/dist/wt-table-actions-DgAfy-dd.js +0 -79
  170. package/dist/wt-table-column-select-BK5rozpI.js +0 -128
  171. package/dist/wt-tabs-Bn6rSg0s.js +0 -74
  172. package/dist/wt-time-input-DYiW0ijt.js +0 -42
  173. package/dist/wt-timepicker-CkjoLwXC.js +0 -118
  174. package/dist/wt-tree-CCvr4TTF.js +0 -2777
  175. package/dist/wt-tree-table-BWmGF3rE.js +0 -285
  176. package/dist/wt-type-extension-value-input-q5286OSO.js +0 -121
  177. package/dist/wt-vidstack-player-CTWna35Q.js +0 -9093
@@ -0,0 +1,2582 @@
1
+ import { r as e } from "./chunk-CY3AvKd6.js";
2
+ import { n as t, t as n } from "./dist-BYiYpK00.js";
3
+ import { n as r, t as i } from "./dist-05Bf47Wg.js";
4
+ t(), i();
5
+ function a(e, t) {
6
+ return function() {
7
+ return e.apply(t, arguments);
8
+ };
9
+ }
10
+ //#endregion
11
+ //#region node_modules/axios/lib/utils.js
12
+ var { toString: o } = Object.prototype, { getPrototypeOf: s } = Object, { iterator: c, toStringTag: l } = Symbol, u = ((e) => (t) => {
13
+ let n = o.call(t);
14
+ return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
15
+ })(Object.create(null)), d = (e) => (e = e.toLowerCase(), (t) => u(t) === e), f = (e) => (t) => typeof t === e, { isArray: p } = Array, m = f("undefined");
16
+ function h(e) {
17
+ return e !== null && !m(e) && e.constructor !== null && !m(e.constructor) && y(e.constructor.isBuffer) && e.constructor.isBuffer(e);
18
+ }
19
+ var g = d("ArrayBuffer");
20
+ function _(e) {
21
+ let t;
22
+ return t = typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(e) : e && e.buffer && g(e.buffer), t;
23
+ }
24
+ var v = f("string"), y = f("function"), b = f("number"), x = (e) => typeof e == "object" && !!e, S = (e) => e === !0 || e === !1, C = (e) => {
25
+ if (u(e) !== "object") return !1;
26
+ let t = s(e);
27
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(l in e) && !(c in e);
28
+ }, w = (e) => {
29
+ if (!x(e) || h(e)) return !1;
30
+ try {
31
+ return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
32
+ } catch {
33
+ return !1;
34
+ }
35
+ }, ee = d("Date"), te = d("File"), ne = (e) => !!(e && e.uri !== void 0), T = (e) => e && e.getParts !== void 0, E = d("Blob"), D = d("FileList"), re = (e) => x(e) && y(e.pipe);
36
+ function O() {
37
+ return typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : n === void 0 ? {} : n;
38
+ }
39
+ var k = O(), A = k.FormData === void 0 ? void 0 : k.FormData, ie = (e) => {
40
+ if (!e) return !1;
41
+ if (A && e instanceof A) return !0;
42
+ let t = s(e);
43
+ if (!t || t === Object.prototype || !y(e.append)) return !1;
44
+ let n = u(e);
45
+ return n === "formdata" || n === "object" && y(e.toString) && e.toString() === "[object FormData]";
46
+ }, ae = d("URLSearchParams"), [oe, se, ce, j] = [
47
+ "ReadableStream",
48
+ "Request",
49
+ "Response",
50
+ "Headers"
51
+ ].map(d), M = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
52
+ function N(e, t, { allOwnKeys: n = !1 } = {}) {
53
+ if (e == null) return;
54
+ let r, i;
55
+ if (typeof e != "object" && (e = [e]), p(e)) for (r = 0, i = e.length; r < i; r++) t.call(null, e[r], r, e);
56
+ else {
57
+ if (h(e)) return;
58
+ let i = n ? Object.getOwnPropertyNames(e) : Object.keys(e), a = i.length, o;
59
+ for (r = 0; r < a; r++) o = i[r], t.call(null, e[o], o, e);
60
+ }
61
+ }
62
+ function le(e, t) {
63
+ if (h(e)) return null;
64
+ t = t.toLowerCase();
65
+ let n = Object.keys(e), r = n.length, i;
66
+ for (; r-- > 0;) if (i = n[r], t === i.toLowerCase()) return i;
67
+ return null;
68
+ }
69
+ var P = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : n, ue = (e) => !m(e) && e !== P;
70
+ function de(...e) {
71
+ let { caseless: t, skipUndefined: n } = ue(this) && this || {}, r = {}, i = (e, i) => {
72
+ if (i === "__proto__" || i === "constructor" || i === "prototype") return;
73
+ let a = t && typeof i == "string" && le(r, i) || i, o = be(r, a) ? r[a] : void 0;
74
+ C(o) && C(e) ? r[a] = de(o, e) : C(e) ? r[a] = de({}, e) : p(e) ? r[a] = e.slice() : (!n || !m(e)) && (r[a] = e);
75
+ };
76
+ for (let t = 0, n = e.length; t < n; t++) {
77
+ let n = e[t];
78
+ if (!n || h(n) || (N(n, i), typeof n != "object" || p(n))) continue;
79
+ let r = Object.getOwnPropertySymbols(n);
80
+ for (let e = 0; e < r.length; e++) {
81
+ let t = r[e];
82
+ xe.call(n, t) && i(n[t], t);
83
+ }
84
+ }
85
+ return r;
86
+ }
87
+ var F = (e, t, n, { allOwnKeys: r } = {}) => (N(t, (t, r) => {
88
+ n && y(t) ? Object.defineProperty(e, r, {
89
+ __proto__: null,
90
+ value: a(t, n),
91
+ writable: !0,
92
+ enumerable: !0,
93
+ configurable: !0
94
+ }) : Object.defineProperty(e, r, {
95
+ __proto__: null,
96
+ value: t,
97
+ writable: !0,
98
+ enumerable: !0,
99
+ configurable: !0
100
+ });
101
+ }, { allOwnKeys: r }), e), fe = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), pe = (e, t, n, r) => {
102
+ e.prototype = Object.create(t.prototype, r), Object.defineProperty(e.prototype, "constructor", {
103
+ __proto__: null,
104
+ value: e,
105
+ writable: !0,
106
+ enumerable: !1,
107
+ configurable: !0
108
+ }), Object.defineProperty(e, "super", {
109
+ __proto__: null,
110
+ value: t.prototype
111
+ }), n && Object.assign(e.prototype, n);
112
+ }, me = (e, t, n, r) => {
113
+ let i, a, o, c = {};
114
+ if (t ||= {}, e == null) return t;
115
+ do {
116
+ for (i = Object.getOwnPropertyNames(e), a = i.length; a-- > 0;) o = i[a], (!r || r(o, e, t)) && !c[o] && (t[o] = e[o], c[o] = !0);
117
+ e = n !== !1 && s(e);
118
+ } while (e && (!n || n(e, t)) && e !== Object.prototype);
119
+ return t;
120
+ }, he = (e, t, n) => {
121
+ e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
122
+ let r = e.indexOf(t, n);
123
+ return r !== -1 && r === n;
124
+ }, I = (e) => {
125
+ if (!e) return null;
126
+ if (p(e)) return e;
127
+ let t = e.length;
128
+ if (!b(t)) return null;
129
+ let n = Array(t);
130
+ for (; t-- > 0;) n[t] = e[t];
131
+ return n;
132
+ }, L = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && s(Uint8Array)), ge = (e, t) => {
133
+ let n = (e && e[c]).call(e), r;
134
+ for (; (r = n.next()) && !r.done;) {
135
+ let n = r.value;
136
+ t.call(e, n[0], n[1]);
137
+ }
138
+ }, _e = (e, t) => {
139
+ let n, r = [];
140
+ for (; (n = e.exec(t)) !== null;) r.push(n);
141
+ return r;
142
+ }, ve = d("HTMLFormElement"), ye = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(e, t, n) {
143
+ return t.toUpperCase() + n;
144
+ }), be = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), { propertyIsEnumerable: xe } = Object.prototype, R = d("RegExp"), z = (e, t) => {
145
+ let n = Object.getOwnPropertyDescriptors(e), r = {};
146
+ N(n, (n, i) => {
147
+ let a;
148
+ (a = t(n, i, e)) !== !1 && (r[i] = a || n);
149
+ }), Object.defineProperties(e, r);
150
+ }, Se = (e) => {
151
+ z(e, (t, n) => {
152
+ if (y(e) && [
153
+ "arguments",
154
+ "caller",
155
+ "callee"
156
+ ].includes(n)) return !1;
157
+ let r = e[n];
158
+ if (y(r)) {
159
+ if (t.enumerable = !1, "writable" in t) {
160
+ t.writable = !1;
161
+ return;
162
+ }
163
+ t.set ||= () => {
164
+ throw Error("Can not rewrite read-only method '" + n + "'");
165
+ };
166
+ }
167
+ });
168
+ }, Ce = (e, t) => {
169
+ let n = {}, r = (e) => {
170
+ e.forEach((e) => {
171
+ n[e] = !0;
172
+ });
173
+ };
174
+ return p(e) ? r(e) : r(String(e).split(t)), n;
175
+ }, B = () => {}, we = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
176
+ function Te(e) {
177
+ return !!(e && y(e.append) && e[l] === "FormData" && e[c]);
178
+ }
179
+ var Ee = (e) => {
180
+ let t = /* @__PURE__ */ new WeakSet(), n = (e) => {
181
+ if (x(e)) {
182
+ if (t.has(e)) return;
183
+ if (h(e)) return e;
184
+ if (!("toJSON" in e)) {
185
+ t.add(e);
186
+ let r = p(e) ? [] : {};
187
+ return N(e, (e, t) => {
188
+ let i = n(e);
189
+ !m(i) && (r[t] = i);
190
+ }), t.delete(e), r;
191
+ }
192
+ }
193
+ return e;
194
+ };
195
+ return n(e);
196
+ }, De = d("AsyncFunction"), Oe = (e) => e && (x(e) || y(e)) && y(e.then) && y(e.catch), ke = ((e, t) => e ? setImmediate : t ? ((e, t) => (P.addEventListener("message", ({ source: n, data: r }) => {
197
+ n === P && r === e && t.length && t.shift()();
198
+ }, !1), (n) => {
199
+ t.push(n), P.postMessage(e, "*");
200
+ }))(`axios@${Math.random()}`, []) : (e) => setTimeout(e))(typeof setImmediate == "function", y(P.postMessage)), V = {
201
+ isArray: p,
202
+ isArrayBuffer: g,
203
+ isBuffer: h,
204
+ isFormData: ie,
205
+ isArrayBufferView: _,
206
+ isString: v,
207
+ isNumber: b,
208
+ isBoolean: S,
209
+ isObject: x,
210
+ isPlainObject: C,
211
+ isEmptyObject: w,
212
+ isReadableStream: oe,
213
+ isRequest: se,
214
+ isResponse: ce,
215
+ isHeaders: j,
216
+ isUndefined: m,
217
+ isDate: ee,
218
+ isFile: te,
219
+ isReactNativeBlob: ne,
220
+ isReactNative: T,
221
+ isBlob: E,
222
+ isRegExp: R,
223
+ isFunction: y,
224
+ isStream: re,
225
+ isURLSearchParams: ae,
226
+ isTypedArray: L,
227
+ isFileList: D,
228
+ forEach: N,
229
+ merge: de,
230
+ extend: F,
231
+ trim: M,
232
+ stripBOM: fe,
233
+ inherits: pe,
234
+ toFlatObject: me,
235
+ kindOf: u,
236
+ kindOfTest: d,
237
+ endsWith: he,
238
+ toArray: I,
239
+ forEachEntry: ge,
240
+ matchAll: _e,
241
+ isHTMLForm: ve,
242
+ hasOwnProperty: be,
243
+ hasOwnProp: be,
244
+ reduceDescriptors: z,
245
+ freezeMethods: Se,
246
+ toObjectSet: Ce,
247
+ toCamelCase: ye,
248
+ noop: B,
249
+ toFiniteNumber: we,
250
+ findKey: le,
251
+ global: P,
252
+ isContextDefined: ue,
253
+ isSpecCompliantForm: Te,
254
+ toJSONObject: Ee,
255
+ isAsyncFn: De,
256
+ isThenable: Oe,
257
+ setImmediate: ke,
258
+ asap: typeof queueMicrotask < "u" ? queueMicrotask.bind(P) : r !== void 0 && r.nextTick || ke,
259
+ isIterable: (e) => e != null && y(e[c])
260
+ }, H = {}, Ae = {};
261
+ Ae.byteLength = Fe, Ae.toByteArray = Le, Ae.fromByteArray = Be;
262
+ for (var U = [], W = [], je = typeof Uint8Array < "u" ? Uint8Array : Array, Me = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", G = 0, Ne = Me.length; G < Ne; ++G) U[G] = Me[G], W[Me.charCodeAt(G)] = G;
263
+ W[45] = 62, W[95] = 63;
264
+ function Pe(e) {
265
+ var t = e.length;
266
+ if (t % 4 > 0) throw Error("Invalid string. Length must be a multiple of 4");
267
+ var n = e.indexOf("=");
268
+ n === -1 && (n = t);
269
+ var r = n === t ? 0 : 4 - n % 4;
270
+ return [n, r];
271
+ }
272
+ function Fe(e) {
273
+ var t = Pe(e), n = t[0], r = t[1];
274
+ return (n + r) * 3 / 4 - r;
275
+ }
276
+ function Ie(e, t, n) {
277
+ return (t + n) * 3 / 4 - n;
278
+ }
279
+ function Le(e) {
280
+ var t, n = Pe(e), r = n[0], i = n[1], a = new je(Ie(e, r, i)), o = 0, s = i > 0 ? r - 4 : r, c;
281
+ for (c = 0; c < s; c += 4) t = W[e.charCodeAt(c)] << 18 | W[e.charCodeAt(c + 1)] << 12 | W[e.charCodeAt(c + 2)] << 6 | W[e.charCodeAt(c + 3)], a[o++] = t >> 16 & 255, a[o++] = t >> 8 & 255, a[o++] = t & 255;
282
+ return i === 2 && (t = W[e.charCodeAt(c)] << 2 | W[e.charCodeAt(c + 1)] >> 4, a[o++] = t & 255), i === 1 && (t = W[e.charCodeAt(c)] << 10 | W[e.charCodeAt(c + 1)] << 4 | W[e.charCodeAt(c + 2)] >> 2, a[o++] = t >> 8 & 255, a[o++] = t & 255), a;
283
+ }
284
+ function Re(e) {
285
+ return U[e >> 18 & 63] + U[e >> 12 & 63] + U[e >> 6 & 63] + U[e & 63];
286
+ }
287
+ function ze(e, t, n) {
288
+ for (var r, i = [], a = t; a < n; a += 3) r = (e[a] << 16 & 16711680) + (e[a + 1] << 8 & 65280) + (e[a + 2] & 255), i.push(Re(r));
289
+ return i.join("");
290
+ }
291
+ function Be(e) {
292
+ for (var t, n = e.length, r = n % 3, i = [], a = 16383, o = 0, s = n - r; o < s; o += a) i.push(ze(e, o, o + a > s ? s : o + a));
293
+ return r === 1 ? (t = e[n - 1], i.push(U[t >> 2] + U[t << 4 & 63] + "==")) : r === 2 && (t = (e[n - 2] << 8) + e[n - 1], i.push(U[t >> 10] + U[t >> 4 & 63] + U[t << 2 & 63] + "=")), i.join("");
294
+ }
295
+ var Ve = {};
296
+ Ve.read = function(e, t, n, r, i) {
297
+ var a, o, s = i * 8 - r - 1, c = (1 << s) - 1, l = c >> 1, u = -7, d = n ? i - 1 : 0, f = n ? -1 : 1, p = e[t + d];
298
+ for (d += f, a = p & (1 << -u) - 1, p >>= -u, u += s; u > 0; a = a * 256 + e[t + d], d += f, u -= 8);
299
+ for (o = a & (1 << -u) - 1, a >>= -u, u += r; u > 0; o = o * 256 + e[t + d], d += f, u -= 8);
300
+ if (a === 0) a = 1 - l;
301
+ else if (a === c) return o ? NaN : (p ? -1 : 1) * Infinity;
302
+ else o += 2 ** r, a -= l;
303
+ return (p ? -1 : 1) * o * 2 ** (a - r);
304
+ }, Ve.write = function(e, t, n, r, i, a) {
305
+ var o, s, c, l = a * 8 - i - 1, u = (1 << l) - 1, d = u >> 1, f = i === 23 ? 2 ** -24 - 2 ** -77 : 0, p = r ? 0 : a - 1, m = r ? 1 : -1, h = +(t < 0 || t === 0 && 1 / t < 0);
306
+ for (t = Math.abs(t), isNaN(t) || t === Infinity ? (s = +!!isNaN(t), o = u) : (o = Math.floor(Math.log(t) / Math.LN2), t * (c = 2 ** -o) < 1 && (o--, c *= 2), o + d >= 1 ? t += f / c : t += f * 2 ** (1 - d), t * c >= 2 && (o++, c /= 2), o + d >= u ? (s = 0, o = u) : o + d >= 1 ? (s = (t * c - 1) * 2 ** i, o += d) : (s = t * 2 ** (d - 1) * 2 ** i, o = 0)); i >= 8; e[n + p] = s & 255, p += m, s /= 256, i -= 8);
307
+ for (o = o << i | s, l += i; l > 0; e[n + p] = o & 255, p += m, o /= 256, l -= 8);
308
+ e[n + p - m] |= h * 128;
309
+ }, (function(e) {
310
+ let t = Ae, n = Ve, r = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
311
+ e.Buffer = u, e.SlowBuffer = x, e.INSPECT_MAX_BYTES = 50;
312
+ let i = 2147483647;
313
+ e.kMaxLength = i;
314
+ let { Uint8Array: a, ArrayBuffer: o, SharedArrayBuffer: s } = globalThis;
315
+ u.TYPED_ARRAY_SUPPORT = c(), !u.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");
316
+ function c() {
317
+ try {
318
+ let e = new a(1), t = { foo: function() {
319
+ return 42;
320
+ } };
321
+ return Object.setPrototypeOf(t, a.prototype), Object.setPrototypeOf(e, t), e.foo() === 42;
322
+ } catch {
323
+ return !1;
324
+ }
325
+ }
326
+ Object.defineProperty(u.prototype, "parent", {
327
+ enumerable: !0,
328
+ get: function() {
329
+ if (u.isBuffer(this)) return this.buffer;
330
+ }
331
+ }), Object.defineProperty(u.prototype, "offset", {
332
+ enumerable: !0,
333
+ get: function() {
334
+ if (u.isBuffer(this)) return this.byteOffset;
335
+ }
336
+ });
337
+ function l(e) {
338
+ if (e > i) throw RangeError("The value \"" + e + "\" is invalid for option \"size\"");
339
+ let t = new a(e);
340
+ return Object.setPrototypeOf(t, u.prototype), t;
341
+ }
342
+ function u(e, t, n) {
343
+ if (typeof e == "number") {
344
+ if (typeof t == "string") throw TypeError("The \"string\" argument must be of type string. Received type number");
345
+ return m(e);
346
+ }
347
+ return d(e, t, n);
348
+ }
349
+ u.poolSize = 8192;
350
+ function d(e, t, n) {
351
+ if (typeof e == "string") return h(e, t);
352
+ if (o.isView(e)) return _(e);
353
+ if (e == null) throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e);
354
+ if (z(e, o) || e && z(e.buffer, o) || s !== void 0 && (z(e, s) || e && z(e.buffer, s))) return v(e, t, n);
355
+ if (typeof e == "number") throw TypeError("The \"value\" argument must not be of type number. Received type number");
356
+ let r = e.valueOf && e.valueOf();
357
+ if (r != null && r !== e) return u.from(r, t, n);
358
+ let i = y(e);
359
+ if (i) return i;
360
+ if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof e[Symbol.toPrimitive] == "function") return u.from(e[Symbol.toPrimitive]("string"), t, n);
361
+ throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e);
362
+ }
363
+ u.from = function(e, t, n) {
364
+ return d(e, t, n);
365
+ }, Object.setPrototypeOf(u.prototype, a.prototype), Object.setPrototypeOf(u, a);
366
+ function f(e) {
367
+ if (typeof e != "number") throw TypeError("\"size\" argument must be of type number");
368
+ if (e < 0) throw RangeError("The value \"" + e + "\" is invalid for option \"size\"");
369
+ }
370
+ function p(e, t, n) {
371
+ return f(e), e <= 0 || t === void 0 ? l(e) : typeof n == "string" ? l(e).fill(t, n) : l(e).fill(t);
372
+ }
373
+ u.alloc = function(e, t, n) {
374
+ return p(e, t, n);
375
+ };
376
+ function m(e) {
377
+ return f(e), l(e < 0 ? 0 : b(e) | 0);
378
+ }
379
+ u.allocUnsafe = function(e) {
380
+ return m(e);
381
+ }, u.allocUnsafeSlow = function(e) {
382
+ return m(e);
383
+ };
384
+ function h(e, t) {
385
+ if ((typeof t != "string" || t === "") && (t = "utf8"), !u.isEncoding(t)) throw TypeError("Unknown encoding: " + t);
386
+ let n = S(e, t) | 0, r = l(n), i = r.write(e, t);
387
+ return i !== n && (r = r.slice(0, i)), r;
388
+ }
389
+ function g(e) {
390
+ let t = e.length < 0 ? 0 : b(e.length) | 0, n = l(t);
391
+ for (let r = 0; r < t; r += 1) n[r] = e[r] & 255;
392
+ return n;
393
+ }
394
+ function _(e) {
395
+ if (z(e, a)) {
396
+ let t = new a(e);
397
+ return v(t.buffer, t.byteOffset, t.byteLength);
398
+ }
399
+ return g(e);
400
+ }
401
+ function v(e, t, n) {
402
+ if (t < 0 || e.byteLength < t) throw RangeError("\"offset\" is outside of buffer bounds");
403
+ if (e.byteLength < t + (n || 0)) throw RangeError("\"length\" is outside of buffer bounds");
404
+ let r;
405
+ return r = t === void 0 && n === void 0 ? new a(e) : n === void 0 ? new a(e, t) : new a(e, t, n), Object.setPrototypeOf(r, u.prototype), r;
406
+ }
407
+ function y(e) {
408
+ if (u.isBuffer(e)) {
409
+ let t = b(e.length) | 0, n = l(t);
410
+ return n.length === 0 || e.copy(n, 0, 0, t), n;
411
+ }
412
+ if (e.length !== void 0) return typeof e.length != "number" || Se(e.length) ? l(0) : g(e);
413
+ if (e.type === "Buffer" && Array.isArray(e.data)) return g(e.data);
414
+ }
415
+ function b(e) {
416
+ if (e >= i) throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + i.toString(16) + " bytes");
417
+ return e | 0;
418
+ }
419
+ function x(e) {
420
+ return +e != e && (e = 0), u.alloc(+e);
421
+ }
422
+ u.isBuffer = function(e) {
423
+ return e != null && e._isBuffer === !0 && e !== u.prototype;
424
+ }, u.compare = function(e, t) {
425
+ if (z(e, a) && (e = u.from(e, e.offset, e.byteLength)), z(t, a) && (t = u.from(t, t.offset, t.byteLength)), !u.isBuffer(e) || !u.isBuffer(t)) throw TypeError("The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array");
426
+ if (e === t) return 0;
427
+ let n = e.length, r = t.length;
428
+ for (let i = 0, a = Math.min(n, r); i < a; ++i) if (e[i] !== t[i]) {
429
+ n = e[i], r = t[i];
430
+ break;
431
+ }
432
+ return n < r ? -1 : +(r < n);
433
+ }, u.isEncoding = function(e) {
434
+ switch (String(e).toLowerCase()) {
435
+ case "hex":
436
+ case "utf8":
437
+ case "utf-8":
438
+ case "ascii":
439
+ case "latin1":
440
+ case "binary":
441
+ case "base64":
442
+ case "ucs2":
443
+ case "ucs-2":
444
+ case "utf16le":
445
+ case "utf-16le": return !0;
446
+ default: return !1;
447
+ }
448
+ }, u.concat = function(e, t) {
449
+ if (!Array.isArray(e)) throw TypeError("\"list\" argument must be an Array of Buffers");
450
+ if (e.length === 0) return u.alloc(0);
451
+ let n;
452
+ if (t === void 0) for (t = 0, n = 0; n < e.length; ++n) t += e[n].length;
453
+ let r = u.allocUnsafe(t), i = 0;
454
+ for (n = 0; n < e.length; ++n) {
455
+ let t = e[n];
456
+ if (z(t, a)) i + t.length > r.length ? (u.isBuffer(t) || (t = u.from(t)), t.copy(r, i)) : a.prototype.set.call(r, t, i);
457
+ else if (u.isBuffer(t)) t.copy(r, i);
458
+ else throw TypeError("\"list\" argument must be an Array of Buffers");
459
+ i += t.length;
460
+ }
461
+ return r;
462
+ };
463
+ function S(e, t) {
464
+ if (u.isBuffer(e)) return e.length;
465
+ if (o.isView(e) || z(e, o)) return e.byteLength;
466
+ if (typeof e != "string") throw TypeError("The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type " + typeof e);
467
+ let n = e.length, r = arguments.length > 2 && arguments[2] === !0;
468
+ if (!r && n === 0) return 0;
469
+ let i = !1;
470
+ for (;;) switch (t) {
471
+ case "ascii":
472
+ case "latin1":
473
+ case "binary": return n;
474
+ case "utf8":
475
+ case "utf-8": return ve(e).length;
476
+ case "ucs2":
477
+ case "ucs-2":
478
+ case "utf16le":
479
+ case "utf-16le": return n * 2;
480
+ case "hex": return n >>> 1;
481
+ case "base64": return xe(e).length;
482
+ default:
483
+ if (i) return r ? -1 : ve(e).length;
484
+ t = ("" + t).toLowerCase(), i = !0;
485
+ }
486
+ }
487
+ u.byteLength = S;
488
+ function C(e, t, n) {
489
+ let r = !1;
490
+ if ((t === void 0 || t < 0) && (t = 0), t > this.length || ((n === void 0 || n > this.length) && (n = this.length), n <= 0) || (n >>>= 0, t >>>= 0, n <= t)) return "";
491
+ for (e ||= "utf8";;) switch (e) {
492
+ case "hex": return se(this, t, n);
493
+ case "utf8":
494
+ case "utf-8": return k(this, t, n);
495
+ case "ascii": return ae(this, t, n);
496
+ case "latin1":
497
+ case "binary": return oe(this, t, n);
498
+ case "base64": return O(this, t, n);
499
+ case "ucs2":
500
+ case "ucs-2":
501
+ case "utf16le":
502
+ case "utf-16le": return ce(this, t, n);
503
+ default:
504
+ if (r) throw TypeError("Unknown encoding: " + e);
505
+ e = (e + "").toLowerCase(), r = !0;
506
+ }
507
+ }
508
+ u.prototype._isBuffer = !0;
509
+ function w(e, t, n) {
510
+ let r = e[t];
511
+ e[t] = e[n], e[n] = r;
512
+ }
513
+ u.prototype.swap16 = function() {
514
+ let e = this.length;
515
+ if (e % 2 != 0) throw RangeError("Buffer size must be a multiple of 16-bits");
516
+ for (let t = 0; t < e; t += 2) w(this, t, t + 1);
517
+ return this;
518
+ }, u.prototype.swap32 = function() {
519
+ let e = this.length;
520
+ if (e % 4 != 0) throw RangeError("Buffer size must be a multiple of 32-bits");
521
+ for (let t = 0; t < e; t += 4) w(this, t, t + 3), w(this, t + 1, t + 2);
522
+ return this;
523
+ }, u.prototype.swap64 = function() {
524
+ let e = this.length;
525
+ if (e % 8 != 0) throw RangeError("Buffer size must be a multiple of 64-bits");
526
+ for (let t = 0; t < e; t += 8) w(this, t, t + 7), w(this, t + 1, t + 6), w(this, t + 2, t + 5), w(this, t + 3, t + 4);
527
+ return this;
528
+ }, u.prototype.toString = function() {
529
+ let e = this.length;
530
+ return e === 0 ? "" : arguments.length === 0 ? k(this, 0, e) : C.apply(this, arguments);
531
+ }, u.prototype.toLocaleString = u.prototype.toString, u.prototype.equals = function(e) {
532
+ if (!u.isBuffer(e)) throw TypeError("Argument must be a Buffer");
533
+ return this === e ? !0 : u.compare(this, e) === 0;
534
+ }, u.prototype.inspect = function() {
535
+ let t = "", n = e.INSPECT_MAX_BYTES;
536
+ return t = this.toString("hex", 0, n).replace(/(.{2})/g, "$1 ").trim(), this.length > n && (t += " ... "), "<Buffer " + t + ">";
537
+ }, r && (u.prototype[r] = u.prototype.inspect), u.prototype.compare = function(e, t, n, r, i) {
538
+ if (z(e, a) && (e = u.from(e, e.offset, e.byteLength)), !u.isBuffer(e)) throw TypeError("The \"target\" argument must be one of type Buffer or Uint8Array. Received type " + typeof e);
539
+ if (t === void 0 && (t = 0), n === void 0 && (n = e ? e.length : 0), r === void 0 && (r = 0), i === void 0 && (i = this.length), t < 0 || n > e.length || r < 0 || i > this.length) throw RangeError("out of range index");
540
+ if (r >= i && t >= n) return 0;
541
+ if (r >= i) return -1;
542
+ if (t >= n) return 1;
543
+ if (t >>>= 0, n >>>= 0, r >>>= 0, i >>>= 0, this === e) return 0;
544
+ let o = i - r, s = n - t, c = Math.min(o, s), l = this.slice(r, i), d = e.slice(t, n);
545
+ for (let e = 0; e < c; ++e) if (l[e] !== d[e]) {
546
+ o = l[e], s = d[e];
547
+ break;
548
+ }
549
+ return o < s ? -1 : +(s < o);
550
+ };
551
+ function ee(e, t, n, r, i) {
552
+ if (e.length === 0) return -1;
553
+ if (typeof n == "string" ? (r = n, n = 0) : n > 2147483647 ? n = 2147483647 : n < -2147483648 && (n = -2147483648), n = +n, Se(n) && (n = i ? 0 : e.length - 1), n < 0 && (n = e.length + n), n >= e.length) {
554
+ if (i) return -1;
555
+ n = e.length - 1;
556
+ } else if (n < 0) if (i) n = 0;
557
+ else return -1;
558
+ if (typeof t == "string" && (t = u.from(t, r)), u.isBuffer(t)) return t.length === 0 ? -1 : te(e, t, n, r, i);
559
+ if (typeof t == "number") return t &= 255, typeof a.prototype.indexOf == "function" ? i ? a.prototype.indexOf.call(e, t, n) : a.prototype.lastIndexOf.call(e, t, n) : te(e, [t], n, r, i);
560
+ throw TypeError("val must be string, number or Buffer");
561
+ }
562
+ function te(e, t, n, r, i) {
563
+ let a = 1, o = e.length, s = t.length;
564
+ if (r !== void 0 && (r = String(r).toLowerCase(), r === "ucs2" || r === "ucs-2" || r === "utf16le" || r === "utf-16le")) {
565
+ if (e.length < 2 || t.length < 2) return -1;
566
+ a = 2, o /= 2, s /= 2, n /= 2;
567
+ }
568
+ function c(e, t) {
569
+ return a === 1 ? e[t] : e.readUInt16BE(t * a);
570
+ }
571
+ let l;
572
+ if (i) {
573
+ let r = -1;
574
+ for (l = n; l < o; l++) if (c(e, l) === c(t, r === -1 ? 0 : l - r)) {
575
+ if (r === -1 && (r = l), l - r + 1 === s) return r * a;
576
+ } else r !== -1 && (l -= l - r), r = -1;
577
+ } else for (n + s > o && (n = o - s), l = n; l >= 0; l--) {
578
+ let n = !0;
579
+ for (let r = 0; r < s; r++) if (c(e, l + r) !== c(t, r)) {
580
+ n = !1;
581
+ break;
582
+ }
583
+ if (n) return l;
584
+ }
585
+ return -1;
586
+ }
587
+ u.prototype.includes = function(e, t, n) {
588
+ return this.indexOf(e, t, n) !== -1;
589
+ }, u.prototype.indexOf = function(e, t, n) {
590
+ return ee(this, e, t, n, !0);
591
+ }, u.prototype.lastIndexOf = function(e, t, n) {
592
+ return ee(this, e, t, n, !1);
593
+ };
594
+ function ne(e, t, n, r) {
595
+ n = Number(n) || 0;
596
+ let i = e.length - n;
597
+ r ? (r = Number(r), r > i && (r = i)) : r = i;
598
+ let a = t.length;
599
+ r > a / 2 && (r = a / 2);
600
+ let o;
601
+ for (o = 0; o < r; ++o) {
602
+ let r = parseInt(t.substr(o * 2, 2), 16);
603
+ if (Se(r)) return o;
604
+ e[n + o] = r;
605
+ }
606
+ return o;
607
+ }
608
+ function T(e, t, n, r) {
609
+ return R(ve(t, e.length - n), e, n, r);
610
+ }
611
+ function E(e, t, n, r) {
612
+ return R(ye(t), e, n, r);
613
+ }
614
+ function D(e, t, n, r) {
615
+ return R(xe(t), e, n, r);
616
+ }
617
+ function re(e, t, n, r) {
618
+ return R(be(t, e.length - n), e, n, r);
619
+ }
620
+ u.prototype.write = function(e, t, n, r) {
621
+ if (t === void 0) r = "utf8", n = this.length, t = 0;
622
+ else if (n === void 0 && typeof t == "string") r = t, n = this.length, t = 0;
623
+ else if (isFinite(t)) t >>>= 0, isFinite(n) ? (n >>>= 0, r === void 0 && (r = "utf8")) : (r = n, n = void 0);
624
+ else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");
625
+ let i = this.length - t;
626
+ if ((n === void 0 || n > i) && (n = i), e.length > 0 && (n < 0 || t < 0) || t > this.length) throw RangeError("Attempt to write outside buffer bounds");
627
+ r ||= "utf8";
628
+ let a = !1;
629
+ for (;;) switch (r) {
630
+ case "hex": return ne(this, e, t, n);
631
+ case "utf8":
632
+ case "utf-8": return T(this, e, t, n);
633
+ case "ascii":
634
+ case "latin1":
635
+ case "binary": return E(this, e, t, n);
636
+ case "base64": return D(this, e, t, n);
637
+ case "ucs2":
638
+ case "ucs-2":
639
+ case "utf16le":
640
+ case "utf-16le": return re(this, e, t, n);
641
+ default:
642
+ if (a) throw TypeError("Unknown encoding: " + r);
643
+ r = ("" + r).toLowerCase(), a = !0;
644
+ }
645
+ }, u.prototype.toJSON = function() {
646
+ return {
647
+ type: "Buffer",
648
+ data: Array.prototype.slice.call(this._arr || this, 0)
649
+ };
650
+ };
651
+ function O(e, n, r) {
652
+ return n === 0 && r === e.length ? t.fromByteArray(e) : t.fromByteArray(e.slice(n, r));
653
+ }
654
+ function k(e, t, n) {
655
+ n = Math.min(e.length, n);
656
+ let r = [], i = t;
657
+ for (; i < n;) {
658
+ let t = e[i], a = null, o = t > 239 ? 4 : t > 223 ? 3 : t > 191 ? 2 : 1;
659
+ if (i + o <= n) {
660
+ let n, r, s, c;
661
+ switch (o) {
662
+ case 1:
663
+ t < 128 && (a = t);
664
+ break;
665
+ case 2:
666
+ n = e[i + 1], (n & 192) == 128 && (c = (t & 31) << 6 | n & 63, c > 127 && (a = c));
667
+ break;
668
+ case 3:
669
+ n = e[i + 1], r = e[i + 2], (n & 192) == 128 && (r & 192) == 128 && (c = (t & 15) << 12 | (n & 63) << 6 | r & 63, c > 2047 && (c < 55296 || c > 57343) && (a = c));
670
+ break;
671
+ case 4: n = e[i + 1], r = e[i + 2], s = e[i + 3], (n & 192) == 128 && (r & 192) == 128 && (s & 192) == 128 && (c = (t & 15) << 18 | (n & 63) << 12 | (r & 63) << 6 | s & 63, c > 65535 && c < 1114112 && (a = c));
672
+ }
673
+ }
674
+ a === null ? (a = 65533, o = 1) : a > 65535 && (a -= 65536, r.push(a >>> 10 & 1023 | 55296), a = 56320 | a & 1023), r.push(a), i += o;
675
+ }
676
+ return ie(r);
677
+ }
678
+ let A = 4096;
679
+ function ie(e) {
680
+ let t = e.length;
681
+ if (t <= A) return String.fromCharCode.apply(String, e);
682
+ let n = "", r = 0;
683
+ for (; r < t;) n += String.fromCharCode.apply(String, e.slice(r, r += A));
684
+ return n;
685
+ }
686
+ function ae(e, t, n) {
687
+ let r = "";
688
+ n = Math.min(e.length, n);
689
+ for (let i = t; i < n; ++i) r += String.fromCharCode(e[i] & 127);
690
+ return r;
691
+ }
692
+ function oe(e, t, n) {
693
+ let r = "";
694
+ n = Math.min(e.length, n);
695
+ for (let i = t; i < n; ++i) r += String.fromCharCode(e[i]);
696
+ return r;
697
+ }
698
+ function se(e, t, n) {
699
+ let r = e.length;
700
+ (!t || t < 0) && (t = 0), (!n || n < 0 || n > r) && (n = r);
701
+ let i = "";
702
+ for (let r = t; r < n; ++r) i += Ce[e[r]];
703
+ return i;
704
+ }
705
+ function ce(e, t, n) {
706
+ let r = e.slice(t, n), i = "";
707
+ for (let e = 0; e < r.length - 1; e += 2) i += String.fromCharCode(r[e] + r[e + 1] * 256);
708
+ return i;
709
+ }
710
+ u.prototype.slice = function(e, t) {
711
+ let n = this.length;
712
+ e = ~~e, t = t === void 0 ? n : ~~t, e < 0 ? (e += n, e < 0 && (e = 0)) : e > n && (e = n), t < 0 ? (t += n, t < 0 && (t = 0)) : t > n && (t = n), t < e && (t = e);
713
+ let r = this.subarray(e, t);
714
+ return Object.setPrototypeOf(r, u.prototype), r;
715
+ };
716
+ function j(e, t, n) {
717
+ if (e % 1 != 0 || e < 0) throw RangeError("offset is not uint");
718
+ if (e + t > n) throw RangeError("Trying to access beyond buffer length");
719
+ }
720
+ u.prototype.readUintLE = u.prototype.readUIntLE = function(e, t, n) {
721
+ e >>>= 0, t >>>= 0, n || j(e, t, this.length);
722
+ let r = this[e], i = 1, a = 0;
723
+ for (; ++a < t && (i *= 256);) r += this[e + a] * i;
724
+ return r;
725
+ }, u.prototype.readUintBE = u.prototype.readUIntBE = function(e, t, n) {
726
+ e >>>= 0, t >>>= 0, n || j(e, t, this.length);
727
+ let r = this[e + --t], i = 1;
728
+ for (; t > 0 && (i *= 256);) r += this[e + --t] * i;
729
+ return r;
730
+ }, u.prototype.readUint8 = u.prototype.readUInt8 = function(e, t) {
731
+ return e >>>= 0, t || j(e, 1, this.length), this[e];
732
+ }, u.prototype.readUint16LE = u.prototype.readUInt16LE = function(e, t) {
733
+ return e >>>= 0, t || j(e, 2, this.length), this[e] | this[e + 1] << 8;
734
+ }, u.prototype.readUint16BE = u.prototype.readUInt16BE = function(e, t) {
735
+ return e >>>= 0, t || j(e, 2, this.length), this[e] << 8 | this[e + 1];
736
+ }, u.prototype.readUint32LE = u.prototype.readUInt32LE = function(e, t) {
737
+ return e >>>= 0, t || j(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + this[e + 3] * 16777216;
738
+ }, u.prototype.readUint32BE = u.prototype.readUInt32BE = function(e, t) {
739
+ return e >>>= 0, t || j(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
740
+ }, u.prototype.readBigUInt64LE = B(function(e) {
741
+ e >>>= 0, I(e, "offset");
742
+ let t = this[e], n = this[e + 7];
743
+ (t === void 0 || n === void 0) && L(e, this.length - 8);
744
+ let r = t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, i = this[++e] + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + n * 2 ** 24;
745
+ return BigInt(r) + (BigInt(i) << BigInt(32));
746
+ }), u.prototype.readBigUInt64BE = B(function(e) {
747
+ e >>>= 0, I(e, "offset");
748
+ let t = this[e], n = this[e + 7];
749
+ (t === void 0 || n === void 0) && L(e, this.length - 8);
750
+ let r = t * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e], i = this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + n;
751
+ return (BigInt(r) << BigInt(32)) + BigInt(i);
752
+ }), u.prototype.readIntLE = function(e, t, n) {
753
+ e >>>= 0, t >>>= 0, n || j(e, t, this.length);
754
+ let r = this[e], i = 1, a = 0;
755
+ for (; ++a < t && (i *= 256);) r += this[e + a] * i;
756
+ return i *= 128, r >= i && (r -= 2 ** (8 * t)), r;
757
+ }, u.prototype.readIntBE = function(e, t, n) {
758
+ e >>>= 0, t >>>= 0, n || j(e, t, this.length);
759
+ let r = t, i = 1, a = this[e + --r];
760
+ for (; r > 0 && (i *= 256);) a += this[e + --r] * i;
761
+ return i *= 128, a >= i && (a -= 2 ** (8 * t)), a;
762
+ }, u.prototype.readInt8 = function(e, t) {
763
+ return e >>>= 0, t || j(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
764
+ }, u.prototype.readInt16LE = function(e, t) {
765
+ e >>>= 0, t || j(e, 2, this.length);
766
+ let n = this[e] | this[e + 1] << 8;
767
+ return n & 32768 ? n | 4294901760 : n;
768
+ }, u.prototype.readInt16BE = function(e, t) {
769
+ e >>>= 0, t || j(e, 2, this.length);
770
+ let n = this[e + 1] | this[e] << 8;
771
+ return n & 32768 ? n | 4294901760 : n;
772
+ }, u.prototype.readInt32LE = function(e, t) {
773
+ return e >>>= 0, t || j(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24;
774
+ }, u.prototype.readInt32BE = function(e, t) {
775
+ return e >>>= 0, t || j(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
776
+ }, u.prototype.readBigInt64LE = B(function(e) {
777
+ e >>>= 0, I(e, "offset");
778
+ let t = this[e], n = this[e + 7];
779
+ (t === void 0 || n === void 0) && L(e, this.length - 8);
780
+ let r = this[e + 4] + this[e + 5] * 2 ** 8 + this[e + 6] * 2 ** 16 + (n << 24);
781
+ return (BigInt(r) << BigInt(32)) + BigInt(t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
782
+ }), u.prototype.readBigInt64BE = B(function(e) {
783
+ e >>>= 0, I(e, "offset");
784
+ let t = this[e], n = this[e + 7];
785
+ (t === void 0 || n === void 0) && L(e, this.length - 8);
786
+ let r = (t << 24) + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e];
787
+ return (BigInt(r) << BigInt(32)) + BigInt(this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + n);
788
+ }), u.prototype.readFloatLE = function(e, t) {
789
+ return e >>>= 0, t || j(e, 4, this.length), n.read(this, e, !0, 23, 4);
790
+ }, u.prototype.readFloatBE = function(e, t) {
791
+ return e >>>= 0, t || j(e, 4, this.length), n.read(this, e, !1, 23, 4);
792
+ }, u.prototype.readDoubleLE = function(e, t) {
793
+ return e >>>= 0, t || j(e, 8, this.length), n.read(this, e, !0, 52, 8);
794
+ }, u.prototype.readDoubleBE = function(e, t) {
795
+ return e >>>= 0, t || j(e, 8, this.length), n.read(this, e, !1, 52, 8);
796
+ };
797
+ function M(e, t, n, r, i, a) {
798
+ if (!u.isBuffer(e)) throw TypeError("\"buffer\" argument must be a Buffer instance");
799
+ if (t > i || t < a) throw RangeError("\"value\" argument is out of bounds");
800
+ if (n + r > e.length) throw RangeError("Index out of range");
801
+ }
802
+ u.prototype.writeUintLE = u.prototype.writeUIntLE = function(e, t, n, r) {
803
+ if (e = +e, t >>>= 0, n >>>= 0, !r) {
804
+ let r = 2 ** (8 * n) - 1;
805
+ M(this, e, t, n, r, 0);
806
+ }
807
+ let i = 1, a = 0;
808
+ for (this[t] = e & 255; ++a < n && (i *= 256);) this[t + a] = e / i & 255;
809
+ return t + n;
810
+ }, u.prototype.writeUintBE = u.prototype.writeUIntBE = function(e, t, n, r) {
811
+ if (e = +e, t >>>= 0, n >>>= 0, !r) {
812
+ let r = 2 ** (8 * n) - 1;
813
+ M(this, e, t, n, r, 0);
814
+ }
815
+ let i = n - 1, a = 1;
816
+ for (this[t + i] = e & 255; --i >= 0 && (a *= 256);) this[t + i] = e / a & 255;
817
+ return t + n;
818
+ }, u.prototype.writeUint8 = u.prototype.writeUInt8 = function(e, t, n) {
819
+ return e = +e, t >>>= 0, n || M(this, e, t, 1, 255, 0), this[t] = e & 255, t + 1;
820
+ }, u.prototype.writeUint16LE = u.prototype.writeUInt16LE = function(e, t, n) {
821
+ return e = +e, t >>>= 0, n || M(this, e, t, 2, 65535, 0), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
822
+ }, u.prototype.writeUint16BE = u.prototype.writeUInt16BE = function(e, t, n) {
823
+ return e = +e, t >>>= 0, n || M(this, e, t, 2, 65535, 0), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
824
+ }, u.prototype.writeUint32LE = u.prototype.writeUInt32LE = function(e, t, n) {
825
+ return e = +e, t >>>= 0, n || M(this, e, t, 4, 4294967295, 0), this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = e & 255, t + 4;
826
+ }, u.prototype.writeUint32BE = u.prototype.writeUInt32BE = function(e, t, n) {
827
+ return e = +e, t >>>= 0, n || M(this, e, t, 4, 4294967295, 0), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
828
+ };
829
+ function N(e, t, n, r, i) {
830
+ he(t, r, i, e, n, 7);
831
+ let a = Number(t & BigInt(4294967295));
832
+ e[n++] = a, a >>= 8, e[n++] = a, a >>= 8, e[n++] = a, a >>= 8, e[n++] = a;
833
+ let o = Number(t >> BigInt(32) & BigInt(4294967295));
834
+ return e[n++] = o, o >>= 8, e[n++] = o, o >>= 8, e[n++] = o, o >>= 8, e[n++] = o, n;
835
+ }
836
+ function le(e, t, n, r, i) {
837
+ he(t, r, i, e, n, 7);
838
+ let a = Number(t & BigInt(4294967295));
839
+ e[n + 7] = a, a >>= 8, e[n + 6] = a, a >>= 8, e[n + 5] = a, a >>= 8, e[n + 4] = a;
840
+ let o = Number(t >> BigInt(32) & BigInt(4294967295));
841
+ return e[n + 3] = o, o >>= 8, e[n + 2] = o, o >>= 8, e[n + 1] = o, o >>= 8, e[n] = o, n + 8;
842
+ }
843
+ u.prototype.writeBigUInt64LE = B(function(e, t = 0) {
844
+ return N(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
845
+ }), u.prototype.writeBigUInt64BE = B(function(e, t = 0) {
846
+ return le(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
847
+ }), u.prototype.writeIntLE = function(e, t, n, r) {
848
+ if (e = +e, t >>>= 0, !r) {
849
+ let r = 2 ** (8 * n - 1);
850
+ M(this, e, t, n, r - 1, -r);
851
+ }
852
+ let i = 0, a = 1, o = 0;
853
+ for (this[t] = e & 255; ++i < n && (a *= 256);) e < 0 && o === 0 && this[t + i - 1] !== 0 && (o = 1), this[t + i] = (e / a >> 0) - o & 255;
854
+ return t + n;
855
+ }, u.prototype.writeIntBE = function(e, t, n, r) {
856
+ if (e = +e, t >>>= 0, !r) {
857
+ let r = 2 ** (8 * n - 1);
858
+ M(this, e, t, n, r - 1, -r);
859
+ }
860
+ let i = n - 1, a = 1, o = 0;
861
+ for (this[t + i] = e & 255; --i >= 0 && (a *= 256);) e < 0 && o === 0 && this[t + i + 1] !== 0 && (o = 1), this[t + i] = (e / a >> 0) - o & 255;
862
+ return t + n;
863
+ }, u.prototype.writeInt8 = function(e, t, n) {
864
+ return e = +e, t >>>= 0, n || M(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[t] = e & 255, t + 1;
865
+ }, u.prototype.writeInt16LE = function(e, t, n) {
866
+ return e = +e, t >>>= 0, n || M(this, e, t, 2, 32767, -32768), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
867
+ }, u.prototype.writeInt16BE = function(e, t, n) {
868
+ return e = +e, t >>>= 0, n || M(this, e, t, 2, 32767, -32768), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
869
+ }, u.prototype.writeInt32LE = function(e, t, n) {
870
+ return e = +e, t >>>= 0, n || M(this, e, t, 4, 2147483647, -2147483648), this[t] = e & 255, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24, t + 4;
871
+ }, u.prototype.writeInt32BE = function(e, t, n) {
872
+ return e = +e, t >>>= 0, n || M(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
873
+ }, u.prototype.writeBigInt64LE = B(function(e, t = 0) {
874
+ return N(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
875
+ }), u.prototype.writeBigInt64BE = B(function(e, t = 0) {
876
+ return le(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
877
+ });
878
+ function P(e, t, n, r, i, a) {
879
+ if (n + r > e.length || n < 0) throw RangeError("Index out of range");
880
+ }
881
+ function ue(e, t, r, i, a) {
882
+ return t = +t, r >>>= 0, a || P(e, t, r, 4), n.write(e, t, r, i, 23, 4), r + 4;
883
+ }
884
+ u.prototype.writeFloatLE = function(e, t, n) {
885
+ return ue(this, e, t, !0, n);
886
+ }, u.prototype.writeFloatBE = function(e, t, n) {
887
+ return ue(this, e, t, !1, n);
888
+ };
889
+ function de(e, t, r, i, a) {
890
+ return t = +t, r >>>= 0, a || P(e, t, r, 8), n.write(e, t, r, i, 52, 8), r + 8;
891
+ }
892
+ u.prototype.writeDoubleLE = function(e, t, n) {
893
+ return de(this, e, t, !0, n);
894
+ }, u.prototype.writeDoubleBE = function(e, t, n) {
895
+ return de(this, e, t, !1, n);
896
+ }, u.prototype.copy = function(e, t, n, r) {
897
+ if (!u.isBuffer(e)) throw TypeError("argument should be a Buffer");
898
+ if (n ||= 0, !r && r !== 0 && (r = this.length), t >= e.length && (t = e.length), t ||= 0, r > 0 && r < n && (r = n), r === n || e.length === 0 || this.length === 0) return 0;
899
+ if (t < 0) throw RangeError("targetStart out of bounds");
900
+ if (n < 0 || n >= this.length) throw RangeError("Index out of range");
901
+ if (r < 0) throw RangeError("sourceEnd out of bounds");
902
+ r > this.length && (r = this.length), e.length - t < r - n && (r = e.length - t + n);
903
+ let i = r - n;
904
+ return this === e && typeof a.prototype.copyWithin == "function" ? this.copyWithin(t, n, r) : a.prototype.set.call(e, this.subarray(n, r), t), i;
905
+ }, u.prototype.fill = function(e, t, n, r) {
906
+ if (typeof e == "string") {
907
+ if (typeof t == "string" ? (r = t, t = 0, n = this.length) : typeof n == "string" && (r = n, n = this.length), r !== void 0 && typeof r != "string") throw TypeError("encoding must be a string");
908
+ if (typeof r == "string" && !u.isEncoding(r)) throw TypeError("Unknown encoding: " + r);
909
+ if (e.length === 1) {
910
+ let t = e.charCodeAt(0);
911
+ (r === "utf8" && t < 128 || r === "latin1") && (e = t);
912
+ }
913
+ } else typeof e == "number" ? e &= 255 : typeof e == "boolean" && (e = Number(e));
914
+ if (t < 0 || this.length < t || this.length < n) throw RangeError("Out of range index");
915
+ if (n <= t) return this;
916
+ t >>>= 0, n = n === void 0 ? this.length : n >>> 0, e ||= 0;
917
+ let i;
918
+ if (typeof e == "number") for (i = t; i < n; ++i) this[i] = e;
919
+ else {
920
+ let a = u.isBuffer(e) ? e : u.from(e, r), o = a.length;
921
+ if (o === 0) throw TypeError("The value \"" + e + "\" is invalid for argument \"value\"");
922
+ for (i = 0; i < n - t; ++i) this[i + t] = a[i % o];
923
+ }
924
+ return this;
925
+ };
926
+ let F = {};
927
+ function fe(e, t, n) {
928
+ F[e] = class extends n {
929
+ constructor() {
930
+ super(), Object.defineProperty(this, "message", {
931
+ value: t.apply(this, arguments),
932
+ writable: !0,
933
+ configurable: !0
934
+ }), this.name = `${this.name} [${e}]`, this.stack, delete this.name;
935
+ }
936
+ get code() {
937
+ return e;
938
+ }
939
+ set code(e) {
940
+ Object.defineProperty(this, "code", {
941
+ configurable: !0,
942
+ enumerable: !0,
943
+ value: e,
944
+ writable: !0
945
+ });
946
+ }
947
+ toString() {
948
+ return `${this.name} [${e}]: ${this.message}`;
949
+ }
950
+ };
951
+ }
952
+ fe("ERR_BUFFER_OUT_OF_BOUNDS", function(e) {
953
+ return e ? `${e} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
954
+ }, RangeError), fe("ERR_INVALID_ARG_TYPE", function(e, t) {
955
+ return `The "${e}" argument must be of type number. Received type ${typeof t}`;
956
+ }, TypeError), fe("ERR_OUT_OF_RANGE", function(e, t, n) {
957
+ let r = `The value of "${e}" is out of range.`, i = n;
958
+ return Number.isInteger(n) && Math.abs(n) > 2 ** 32 ? i = pe(String(n)) : typeof n == "bigint" && (i = String(n), (n > BigInt(2) ** BigInt(32) || n < -(BigInt(2) ** BigInt(32))) && (i = pe(i)), i += "n"), r += ` It must be ${t}. Received ${i}`, r;
959
+ }, RangeError);
960
+ function pe(e) {
961
+ let t = "", n = e.length, r = +(e[0] === "-");
962
+ for (; n >= r + 4; n -= 3) t = `_${e.slice(n - 3, n)}${t}`;
963
+ return `${e.slice(0, n)}${t}`;
964
+ }
965
+ function me(e, t, n) {
966
+ I(t, "offset"), (e[t] === void 0 || e[t + n] === void 0) && L(t, e.length - (n + 1));
967
+ }
968
+ function he(e, t, n, r, i, a) {
969
+ if (e > n || e < t) {
970
+ let r = typeof t == "bigint" ? "n" : "", i;
971
+ throw i = a > 3 ? t === 0 || t === BigInt(0) ? `>= 0${r} and < 2${r} ** ${(a + 1) * 8}${r}` : `>= -(2${r} ** ${(a + 1) * 8 - 1}${r}) and < 2 ** ${(a + 1) * 8 - 1}${r}` : `>= ${t}${r} and <= ${n}${r}`, new F.ERR_OUT_OF_RANGE("value", i, e);
972
+ }
973
+ me(r, i, a);
974
+ }
975
+ function I(e, t) {
976
+ if (typeof e != "number") throw new F.ERR_INVALID_ARG_TYPE(t, "number", e);
977
+ }
978
+ function L(e, t, n) {
979
+ throw Math.floor(e) === e ? t < 0 ? new F.ERR_BUFFER_OUT_OF_BOUNDS() : new F.ERR_OUT_OF_RANGE(n || "offset", `>= ${+!!n} and <= ${t}`, e) : (I(e, n), new F.ERR_OUT_OF_RANGE(n || "offset", "an integer", e));
980
+ }
981
+ let ge = /[^+/0-9A-Za-z-_]/g;
982
+ function _e(e) {
983
+ if (e = e.split("=")[0], e = e.trim().replace(ge, ""), e.length < 2) return "";
984
+ for (; e.length % 4 != 0;) e += "=";
985
+ return e;
986
+ }
987
+ function ve(e, t) {
988
+ t ||= Infinity;
989
+ let n, r = e.length, i = null, a = [];
990
+ for (let o = 0; o < r; ++o) {
991
+ if (n = e.charCodeAt(o), n > 55295 && n < 57344) {
992
+ if (!i) {
993
+ if (n > 56319) {
994
+ (t -= 3) > -1 && a.push(239, 191, 189);
995
+ continue;
996
+ } else if (o + 1 === r) {
997
+ (t -= 3) > -1 && a.push(239, 191, 189);
998
+ continue;
999
+ }
1000
+ i = n;
1001
+ continue;
1002
+ }
1003
+ if (n < 56320) {
1004
+ (t -= 3) > -1 && a.push(239, 191, 189), i = n;
1005
+ continue;
1006
+ }
1007
+ n = (i - 55296 << 10 | n - 56320) + 65536;
1008
+ } else i && (t -= 3) > -1 && a.push(239, 191, 189);
1009
+ if (i = null, n < 128) {
1010
+ if (--t < 0) break;
1011
+ a.push(n);
1012
+ } else if (n < 2048) {
1013
+ if ((t -= 2) < 0) break;
1014
+ a.push(n >> 6 | 192, n & 63 | 128);
1015
+ } else if (n < 65536) {
1016
+ if ((t -= 3) < 0) break;
1017
+ a.push(n >> 12 | 224, n >> 6 & 63 | 128, n & 63 | 128);
1018
+ } else if (n < 1114112) {
1019
+ if ((t -= 4) < 0) break;
1020
+ a.push(n >> 18 | 240, n >> 12 & 63 | 128, n >> 6 & 63 | 128, n & 63 | 128);
1021
+ } else throw Error("Invalid code point");
1022
+ }
1023
+ return a;
1024
+ }
1025
+ function ye(e) {
1026
+ let t = [];
1027
+ for (let n = 0; n < e.length; ++n) t.push(e.charCodeAt(n) & 255);
1028
+ return t;
1029
+ }
1030
+ function be(e, t) {
1031
+ let n, r, i, a = [];
1032
+ for (let o = 0; o < e.length && !((t -= 2) < 0); ++o) n = e.charCodeAt(o), r = n >> 8, i = n % 256, a.push(i), a.push(r);
1033
+ return a;
1034
+ }
1035
+ function xe(e) {
1036
+ return t.toByteArray(_e(e));
1037
+ }
1038
+ function R(e, t, n, r) {
1039
+ let i;
1040
+ for (i = 0; i < r && !(i + n >= t.length || i >= e.length); ++i) t[i + n] = e[i];
1041
+ return i;
1042
+ }
1043
+ function z(e, t) {
1044
+ return e instanceof t || e != null && e.constructor != null && e.constructor.name != null && e.constructor.name === t.name;
1045
+ }
1046
+ function Se(e) {
1047
+ return e !== e;
1048
+ }
1049
+ let Ce = (function() {
1050
+ let e = "0123456789abcdef", t = Array(256);
1051
+ for (let n = 0; n < 16; ++n) {
1052
+ let r = n * 16;
1053
+ for (let i = 0; i < 16; ++i) t[r + i] = e[n] + e[i];
1054
+ }
1055
+ return t;
1056
+ })();
1057
+ function B(e) {
1058
+ return typeof BigInt > "u" ? we : e;
1059
+ }
1060
+ function we() {
1061
+ throw Error("BigInt not supported");
1062
+ }
1063
+ })(H);
1064
+ var He = H.Buffer;
1065
+ H.Blob, H.BlobOptions, H.Buffer, H.File, H.FileOptions, H.INSPECT_MAX_BYTES, H.SlowBuffer, H.TranscodeEncoding, H.atob, H.btoa, H.constants, H.isAscii, H.isUtf8, H.kMaxLength, H.kStringMaxLength, H.resolveObjectURL, H.transcode;
1066
+ //#endregion
1067
+ //#region node_modules/axios/lib/helpers/parseHeaders.js
1068
+ var Ue = V.toObjectSet([
1069
+ "age",
1070
+ "authorization",
1071
+ "content-length",
1072
+ "content-type",
1073
+ "etag",
1074
+ "expires",
1075
+ "from",
1076
+ "host",
1077
+ "if-modified-since",
1078
+ "if-unmodified-since",
1079
+ "last-modified",
1080
+ "location",
1081
+ "max-forwards",
1082
+ "proxy-authorization",
1083
+ "referer",
1084
+ "retry-after",
1085
+ "user-agent"
1086
+ ]), We = (e) => {
1087
+ let t = {}, n, r, i;
1088
+ return e && e.split("\n").forEach(function(e) {
1089
+ i = e.indexOf(":"), n = e.substring(0, i).trim().toLowerCase(), r = e.substring(i + 1).trim(), !(!n || t[n] && Ue[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
1090
+ }), t;
1091
+ };
1092
+ //#endregion
1093
+ //#region node_modules/axios/lib/helpers/sanitizeHeaderValue.js
1094
+ function Ge(e) {
1095
+ let t = 0, n = e.length;
1096
+ for (; t < n;) {
1097
+ let n = e.charCodeAt(t);
1098
+ if (n !== 9 && n !== 32) break;
1099
+ t += 1;
1100
+ }
1101
+ for (; n > t;) {
1102
+ let t = e.charCodeAt(n - 1);
1103
+ if (t !== 9 && t !== 32) break;
1104
+ --n;
1105
+ }
1106
+ return t === 0 && n === e.length ? e : e.slice(t, n);
1107
+ }
1108
+ var Ke = /* @__PURE__ */ RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+", "g"), qe = /* @__PURE__ */ RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+", "g");
1109
+ function Je(e, t) {
1110
+ return V.isArray(e) ? e.map((e) => Je(e, t)) : Ge(String(e).replace(t, ""));
1111
+ }
1112
+ var Ye = (e) => Je(e, Ke), Xe = (e) => Je(e, qe);
1113
+ function Ze(e) {
1114
+ let t = Object.create(null);
1115
+ return V.forEach(e.toJSON(), (e, n) => {
1116
+ t[n] = Xe(e);
1117
+ }), t;
1118
+ }
1119
+ //#endregion
1120
+ //#region node_modules/axios/lib/core/AxiosHeaders.js
1121
+ var Qe = Symbol("internals");
1122
+ function $e(e) {
1123
+ return e && String(e).trim().toLowerCase();
1124
+ }
1125
+ function et(e) {
1126
+ return e === !1 || e == null ? e : V.isArray(e) ? e.map(et) : Ye(String(e));
1127
+ }
1128
+ function tt(e) {
1129
+ let t = Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g, r;
1130
+ for (; r = n.exec(e);) t[r[1]] = r[2];
1131
+ return t;
1132
+ }
1133
+ var nt = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1134
+ function rt(e, t, n, r, i) {
1135
+ if (V.isFunction(r)) return r.call(this, t, n);
1136
+ if (i && (t = n), V.isString(t)) {
1137
+ if (V.isString(r)) return t.indexOf(r) !== -1;
1138
+ if (V.isRegExp(r)) return r.test(t);
1139
+ }
1140
+ }
1141
+ function it(e) {
1142
+ return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, t, n) => t.toUpperCase() + n);
1143
+ }
1144
+ function at(e, t) {
1145
+ let n = V.toCamelCase(" " + t);
1146
+ [
1147
+ "get",
1148
+ "set",
1149
+ "has"
1150
+ ].forEach((r) => {
1151
+ Object.defineProperty(e, r + n, {
1152
+ __proto__: null,
1153
+ value: function(e, n, i) {
1154
+ return this[r].call(this, t, e, n, i);
1155
+ },
1156
+ configurable: !0
1157
+ });
1158
+ });
1159
+ }
1160
+ var K = class {
1161
+ constructor(e) {
1162
+ e && this.set(e);
1163
+ }
1164
+ set(e, t, n) {
1165
+ let r = this;
1166
+ function i(e, t, n) {
1167
+ let i = $e(t);
1168
+ if (!i) return;
1169
+ let a = V.findKey(r, i);
1170
+ (!a || r[a] === void 0 || n === !0 || n === void 0 && r[a] !== !1) && (r[a || t] = et(e));
1171
+ }
1172
+ let a = (e, t) => V.forEach(e, (e, n) => i(e, n, t));
1173
+ if (V.isPlainObject(e) || e instanceof this.constructor) a(e, t);
1174
+ else if (V.isString(e) && (e = e.trim()) && !nt(e)) a(We(e), t);
1175
+ else if (V.isObject(e) && V.isIterable(e)) {
1176
+ let n = {}, r, i;
1177
+ for (let t of e) {
1178
+ if (!V.isArray(t)) throw TypeError("Object iterator must return a key-value pair");
1179
+ n[i = t[0]] = (r = n[i]) ? V.isArray(r) ? [...r, t[1]] : [r, t[1]] : t[1];
1180
+ }
1181
+ a(n, t);
1182
+ } else e != null && i(t, e, n);
1183
+ return this;
1184
+ }
1185
+ get(e, t) {
1186
+ if (e = $e(e), e) {
1187
+ let n = V.findKey(this, e);
1188
+ if (n) {
1189
+ let e = this[n];
1190
+ if (!t) return e;
1191
+ if (t === !0) return tt(e);
1192
+ if (V.isFunction(t)) return t.call(this, e, n);
1193
+ if (V.isRegExp(t)) return t.exec(e);
1194
+ throw TypeError("parser must be boolean|regexp|function");
1195
+ }
1196
+ }
1197
+ }
1198
+ has(e, t) {
1199
+ if (e = $e(e), e) {
1200
+ let n = V.findKey(this, e);
1201
+ return !!(n && this[n] !== void 0 && (!t || rt(this, this[n], n, t)));
1202
+ }
1203
+ return !1;
1204
+ }
1205
+ delete(e, t) {
1206
+ let n = this, r = !1;
1207
+ function i(e) {
1208
+ if (e = $e(e), e) {
1209
+ let i = V.findKey(n, e);
1210
+ i && (!t || rt(n, n[i], i, t)) && (delete n[i], r = !0);
1211
+ }
1212
+ }
1213
+ return V.isArray(e) ? e.forEach(i) : i(e), r;
1214
+ }
1215
+ clear(e) {
1216
+ let t = Object.keys(this), n = t.length, r = !1;
1217
+ for (; n--;) {
1218
+ let i = t[n];
1219
+ (!e || rt(this, this[i], i, e, !0)) && (delete this[i], r = !0);
1220
+ }
1221
+ return r;
1222
+ }
1223
+ normalize(e) {
1224
+ let t = this, n = {};
1225
+ return V.forEach(this, (r, i) => {
1226
+ let a = V.findKey(n, i);
1227
+ if (a) {
1228
+ t[a] = et(r), delete t[i];
1229
+ return;
1230
+ }
1231
+ let o = e ? it(i) : String(i).trim();
1232
+ o !== i && delete t[i], t[o] = et(r), n[o] = !0;
1233
+ }), this;
1234
+ }
1235
+ concat(...e) {
1236
+ return this.constructor.concat(this, ...e);
1237
+ }
1238
+ toJSON(e) {
1239
+ let t = Object.create(null);
1240
+ return V.forEach(this, (n, r) => {
1241
+ n != null && n !== !1 && (t[r] = e && V.isArray(n) ? n.join(", ") : n);
1242
+ }), t;
1243
+ }
1244
+ [Symbol.iterator]() {
1245
+ return Object.entries(this.toJSON())[Symbol.iterator]();
1246
+ }
1247
+ toString() {
1248
+ return Object.entries(this.toJSON()).map(([e, t]) => e + ": " + t).join("\n");
1249
+ }
1250
+ getSetCookie() {
1251
+ return this.get("set-cookie") || [];
1252
+ }
1253
+ get [Symbol.toStringTag]() {
1254
+ return "AxiosHeaders";
1255
+ }
1256
+ static from(e) {
1257
+ return e instanceof this ? e : new this(e);
1258
+ }
1259
+ static concat(e, ...t) {
1260
+ let n = new this(e);
1261
+ return t.forEach((e) => n.set(e)), n;
1262
+ }
1263
+ static accessor(e) {
1264
+ let t = (this[Qe] = this[Qe] = { accessors: {} }).accessors, n = this.prototype;
1265
+ function r(e) {
1266
+ let r = $e(e);
1267
+ t[r] || (at(n, e), t[r] = !0);
1268
+ }
1269
+ return V.isArray(e) ? e.forEach(r) : r(e), this;
1270
+ }
1271
+ };
1272
+ K.accessor([
1273
+ "Content-Type",
1274
+ "Content-Length",
1275
+ "Accept",
1276
+ "Accept-Encoding",
1277
+ "User-Agent",
1278
+ "Authorization"
1279
+ ]), V.reduceDescriptors(K.prototype, ({ value: e }, t) => {
1280
+ let n = t[0].toUpperCase() + t.slice(1);
1281
+ return {
1282
+ get: () => e,
1283
+ set(e) {
1284
+ this[n] = e;
1285
+ }
1286
+ };
1287
+ }), V.freezeMethods(K);
1288
+ //#endregion
1289
+ //#region node_modules/axios/lib/core/AxiosError.js
1290
+ var ot = "[REDACTED ****]";
1291
+ function st(e) {
1292
+ if (V.hasOwnProp(e, "toJSON")) return !0;
1293
+ let t = Object.getPrototypeOf(e);
1294
+ for (; t && t !== Object.prototype;) {
1295
+ if (V.hasOwnProp(t, "toJSON")) return !0;
1296
+ t = Object.getPrototypeOf(t);
1297
+ }
1298
+ return !1;
1299
+ }
1300
+ function ct(e, t) {
1301
+ let n = new Set(t.map((e) => String(e).toLowerCase())), r = [], i = (e) => {
1302
+ if (typeof e != "object" || !e || V.isBuffer(e)) return e;
1303
+ if (r.indexOf(e) !== -1) return;
1304
+ e instanceof K && (e = e.toJSON()), r.push(e);
1305
+ let t;
1306
+ if (V.isArray(e)) t = [], e.forEach((e, n) => {
1307
+ let r = i(e);
1308
+ V.isUndefined(r) || (t[n] = r);
1309
+ });
1310
+ else {
1311
+ if (!V.isPlainObject(e) && st(e)) return r.pop(), e;
1312
+ t = Object.create(null);
1313
+ for (let [r, a] of Object.entries(e)) {
1314
+ let e = n.has(r.toLowerCase()) ? ot : i(a);
1315
+ V.isUndefined(e) || (t[r] = e);
1316
+ }
1317
+ }
1318
+ return r.pop(), t;
1319
+ };
1320
+ return i(e);
1321
+ }
1322
+ var q = class e extends Error {
1323
+ static from(t, n, r, i, a, o) {
1324
+ let s = new e(t.message, n || t.code, r, i, a);
1325
+ return s.cause = t, s.name = t.name, t.status != null && s.status == null && (s.status = t.status), o && Object.assign(s, o), s;
1326
+ }
1327
+ constructor(e, t, n, r, i) {
1328
+ super(e), Object.defineProperty(this, "message", {
1329
+ __proto__: null,
1330
+ value: e,
1331
+ enumerable: !0,
1332
+ writable: !0,
1333
+ configurable: !0
1334
+ }), this.name = "AxiosError", this.isAxiosError = !0, t && (this.code = t), n && (this.config = n), r && (this.request = r), i && (this.response = i, this.status = i.status);
1335
+ }
1336
+ toJSON() {
1337
+ let e = this.config, t = e && V.hasOwnProp(e, "redact") ? e.redact : void 0, n = V.isArray(t) && t.length > 0 ? ct(e, t) : V.toJSONObject(e);
1338
+ return {
1339
+ message: this.message,
1340
+ name: this.name,
1341
+ description: this.description,
1342
+ number: this.number,
1343
+ fileName: this.fileName,
1344
+ lineNumber: this.lineNumber,
1345
+ columnNumber: this.columnNumber,
1346
+ stack: this.stack,
1347
+ config: n,
1348
+ code: this.code,
1349
+ status: this.status
1350
+ };
1351
+ }
1352
+ };
1353
+ q.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE", q.ERR_BAD_OPTION = "ERR_BAD_OPTION", q.ECONNABORTED = "ECONNABORTED", q.ETIMEDOUT = "ETIMEDOUT", q.ECONNREFUSED = "ECONNREFUSED", q.ERR_NETWORK = "ERR_NETWORK", q.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS", q.ERR_DEPRECATED = "ERR_DEPRECATED", q.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE", q.ERR_BAD_REQUEST = "ERR_BAD_REQUEST", q.ERR_CANCELED = "ERR_CANCELED", q.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT", q.ERR_INVALID_URL = "ERR_INVALID_URL", q.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
1354
+ //#endregion
1355
+ //#region node_modules/axios/lib/helpers/toFormData.js
1356
+ function lt(e) {
1357
+ return V.isPlainObject(e) || V.isArray(e);
1358
+ }
1359
+ function ut(e) {
1360
+ return V.endsWith(e, "[]") ? e.slice(0, -2) : e;
1361
+ }
1362
+ function dt(e, t, n) {
1363
+ return e ? e.concat(t).map(function(e, t) {
1364
+ return e = ut(e), !n && t ? "[" + e + "]" : e;
1365
+ }).join(n ? "." : "") : t;
1366
+ }
1367
+ function ft(e) {
1368
+ return V.isArray(e) && !e.some(lt);
1369
+ }
1370
+ var pt = V.toFlatObject(V, {}, null, function(e) {
1371
+ return /^is[A-Z]/.test(e);
1372
+ });
1373
+ function mt(e, t, n) {
1374
+ if (!V.isObject(e)) throw TypeError("target must be an object");
1375
+ t ||= new FormData(), n = V.toFlatObject(n, {
1376
+ metaTokens: !0,
1377
+ dots: !1,
1378
+ indexes: !1
1379
+ }, !1, function(e, t) {
1380
+ return !V.isUndefined(t[e]);
1381
+ });
1382
+ let r = n.metaTokens, i = n.visitor || d, a = n.dots, o = n.indexes, s = n.Blob || typeof Blob < "u" && Blob, c = n.maxDepth === void 0 ? 100 : n.maxDepth, l = s && V.isSpecCompliantForm(t);
1383
+ if (!V.isFunction(i)) throw TypeError("visitor must be a function");
1384
+ function u(e) {
1385
+ if (e === null) return "";
1386
+ if (V.isDate(e)) return e.toISOString();
1387
+ if (V.isBoolean(e)) return e.toString();
1388
+ if (!l && V.isBlob(e)) throw new q("Blob is not supported. Use a Buffer instead.");
1389
+ return V.isArrayBuffer(e) || V.isTypedArray(e) ? l && typeof Blob == "function" ? new Blob([e]) : He.from(e) : e;
1390
+ }
1391
+ function d(e, n, i) {
1392
+ let s = e;
1393
+ if (V.isReactNative(t) && V.isReactNativeBlob(e)) return t.append(dt(i, n, a), u(e)), !1;
1394
+ if (e && !i && typeof e == "object") {
1395
+ if (V.endsWith(n, "{}")) n = r ? n : n.slice(0, -2), e = JSON.stringify(e);
1396
+ else if (V.isArray(e) && ft(e) || (V.isFileList(e) || V.endsWith(n, "[]")) && (s = V.toArray(e))) return n = ut(n), s.forEach(function(e, r) {
1397
+ !(V.isUndefined(e) || e === null) && t.append(o === !0 ? dt([n], r, a) : o === null ? n : n + "[]", u(e));
1398
+ }), !1;
1399
+ }
1400
+ return lt(e) ? !0 : (t.append(dt(i, n, a), u(e)), !1);
1401
+ }
1402
+ let f = [], p = Object.assign(pt, {
1403
+ defaultVisitor: d,
1404
+ convertValue: u,
1405
+ isVisitable: lt
1406
+ });
1407
+ function m(e, n, r = 0) {
1408
+ if (!V.isUndefined(e)) {
1409
+ if (r > c) throw new q("Object is too deeply nested (" + r + " levels). Max depth: " + c, q.ERR_FORM_DATA_DEPTH_EXCEEDED);
1410
+ if (f.indexOf(e) !== -1) throw Error("Circular reference detected in " + n.join("."));
1411
+ f.push(e), V.forEach(e, function(e, a) {
1412
+ (!(V.isUndefined(e) || e === null) && i.call(t, e, V.isString(a) ? a.trim() : a, n, p)) === !0 && m(e, n ? n.concat(a) : [a], r + 1);
1413
+ }), f.pop();
1414
+ }
1415
+ }
1416
+ if (!V.isObject(e)) throw TypeError("data must be an object");
1417
+ return m(e), t;
1418
+ }
1419
+ //#endregion
1420
+ //#region node_modules/axios/lib/helpers/AxiosURLSearchParams.js
1421
+ function ht(e) {
1422
+ let t = {
1423
+ "!": "%21",
1424
+ "'": "%27",
1425
+ "(": "%28",
1426
+ ")": "%29",
1427
+ "~": "%7E",
1428
+ "%20": "+"
1429
+ };
1430
+ return encodeURIComponent(e).replace(/[!'()~]|%20/g, function(e) {
1431
+ return t[e];
1432
+ });
1433
+ }
1434
+ function gt(e, t) {
1435
+ this._pairs = [], e && mt(e, this, t);
1436
+ }
1437
+ var _t = gt.prototype;
1438
+ _t.append = function(e, t) {
1439
+ this._pairs.push([e, t]);
1440
+ }, _t.toString = function(e) {
1441
+ let t = e ? function(t) {
1442
+ return e.call(this, t, ht);
1443
+ } : ht;
1444
+ return this._pairs.map(function(e) {
1445
+ return t(e[0]) + "=" + t(e[1]);
1446
+ }, "").join("&");
1447
+ };
1448
+ //#endregion
1449
+ //#region node_modules/axios/lib/helpers/buildURL.js
1450
+ function vt(e) {
1451
+ return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
1452
+ }
1453
+ function yt(e, t, n) {
1454
+ if (!t) return e;
1455
+ let r = n && n.encode || vt, i = V.isFunction(n) ? { serialize: n } : n, a = i && i.serialize, o;
1456
+ if (o = a ? a(t, i) : V.isURLSearchParams(t) ? t.toString() : new gt(t, i).toString(r), o) {
1457
+ let t = e.indexOf("#");
1458
+ t !== -1 && (e = e.slice(0, t)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
1459
+ }
1460
+ return e;
1461
+ }
1462
+ //#endregion
1463
+ //#region node_modules/axios/lib/core/InterceptorManager.js
1464
+ var bt = class {
1465
+ constructor() {
1466
+ this.handlers = [];
1467
+ }
1468
+ use(e, t, n) {
1469
+ return this.handlers.push({
1470
+ fulfilled: e,
1471
+ rejected: t,
1472
+ synchronous: n ? n.synchronous : !1,
1473
+ runWhen: n ? n.runWhen : null
1474
+ }), this.handlers.length - 1;
1475
+ }
1476
+ eject(e) {
1477
+ this.handlers[e] && (this.handlers[e] = null);
1478
+ }
1479
+ clear() {
1480
+ this.handlers &&= [];
1481
+ }
1482
+ forEach(e) {
1483
+ V.forEach(this.handlers, function(t) {
1484
+ t !== null && e(t);
1485
+ });
1486
+ }
1487
+ }, xt = {
1488
+ silentJSONParsing: !0,
1489
+ forcedJSONParsing: !0,
1490
+ clarifyTimeoutError: !1,
1491
+ legacyInterceptorReqResOrdering: !0,
1492
+ advertiseZstdAcceptEncoding: !1
1493
+ }, St = {
1494
+ isBrowser: !0,
1495
+ classes: {
1496
+ URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams : gt,
1497
+ FormData: typeof FormData < "u" ? FormData : null,
1498
+ Blob: typeof Blob < "u" ? Blob : null
1499
+ },
1500
+ protocols: [
1501
+ "http",
1502
+ "https",
1503
+ "file",
1504
+ "blob",
1505
+ "url",
1506
+ "data"
1507
+ ]
1508
+ }, Ct = /* @__PURE__ */ e({
1509
+ hasBrowserEnv: () => wt,
1510
+ hasStandardBrowserEnv: () => Et,
1511
+ hasStandardBrowserWebWorkerEnv: () => Dt,
1512
+ navigator: () => Tt,
1513
+ origin: () => Ot
1514
+ }), wt = typeof window < "u" && typeof document < "u", Tt = typeof navigator == "object" && navigator || void 0, Et = wt && (!Tt || [
1515
+ "ReactNative",
1516
+ "NativeScript",
1517
+ "NS"
1518
+ ].indexOf(Tt.product) < 0), Dt = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ot = wt && window.location.href || "http://localhost", J = {
1519
+ ...Ct,
1520
+ ...St
1521
+ };
1522
+ //#endregion
1523
+ //#region node_modules/axios/lib/helpers/toURLEncodedForm.js
1524
+ function kt(e, t) {
1525
+ return mt(e, new J.classes.URLSearchParams(), {
1526
+ visitor: function(e, t, n, r) {
1527
+ return J.isNode && V.isBuffer(e) ? (this.append(t, e.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
1528
+ },
1529
+ ...t
1530
+ });
1531
+ }
1532
+ //#endregion
1533
+ //#region node_modules/axios/lib/helpers/formDataToJSON.js
1534
+ function At(e) {
1535
+ return V.matchAll(/\w+|\[(\w*)]/g, e).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
1536
+ }
1537
+ function jt(e) {
1538
+ let t = {}, n = Object.keys(e), r, i = n.length, a;
1539
+ for (r = 0; r < i; r++) a = n[r], t[a] = e[a];
1540
+ return t;
1541
+ }
1542
+ function Mt(e) {
1543
+ function t(e, n, r, i) {
1544
+ let a = e[i++];
1545
+ if (a === "__proto__") return !0;
1546
+ let o = Number.isFinite(+a), s = i >= e.length;
1547
+ return a = !a && V.isArray(r) ? r.length : a, s ? (V.hasOwnProp(r, a) ? r[a] = V.isArray(r[a]) ? r[a].concat(n) : [r[a], n] : r[a] = n, !o) : ((!V.hasOwnProp(r, a) || !V.isObject(r[a])) && (r[a] = []), t(e, n, r[a], i) && V.isArray(r[a]) && (r[a] = jt(r[a])), !o);
1548
+ }
1549
+ if (V.isFormData(e) && V.isFunction(e.entries)) {
1550
+ let n = {};
1551
+ return V.forEachEntry(e, (e, r) => {
1552
+ t(At(e), r, n, 0);
1553
+ }), n;
1554
+ }
1555
+ return null;
1556
+ }
1557
+ //#endregion
1558
+ //#region node_modules/axios/lib/defaults/index.js
1559
+ var Y = (e, t) => e != null && V.hasOwnProp(e, t) ? e[t] : void 0;
1560
+ function Nt(e, t, n) {
1561
+ if (V.isString(e)) try {
1562
+ return (t || JSON.parse)(e), V.trim(e);
1563
+ } catch (e) {
1564
+ if (e.name !== "SyntaxError") throw e;
1565
+ }
1566
+ return (n || JSON.stringify)(e);
1567
+ }
1568
+ var Pt = {
1569
+ transitional: xt,
1570
+ adapter: [
1571
+ "xhr",
1572
+ "http",
1573
+ "fetch"
1574
+ ],
1575
+ transformRequest: [function(e, t) {
1576
+ let n = t.getContentType() || "", r = n.indexOf("application/json") > -1, i = V.isObject(e);
1577
+ if (i && V.isHTMLForm(e) && (e = new FormData(e)), V.isFormData(e)) return r ? JSON.stringify(Mt(e)) : e;
1578
+ if (V.isArrayBuffer(e) || V.isBuffer(e) || V.isStream(e) || V.isFile(e) || V.isBlob(e) || V.isReadableStream(e)) return e;
1579
+ if (V.isArrayBufferView(e)) return e.buffer;
1580
+ if (V.isURLSearchParams(e)) return t.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
1581
+ let a;
1582
+ if (i) {
1583
+ let t = Y(this, "formSerializer");
1584
+ if (n.indexOf("application/x-www-form-urlencoded") > -1) return kt(e, t).toString();
1585
+ if ((a = V.isFileList(e)) || n.indexOf("multipart/form-data") > -1) {
1586
+ let n = Y(this, "env"), r = n && n.FormData;
1587
+ return mt(a ? { "files[]": e } : e, r && new r(), t);
1588
+ }
1589
+ }
1590
+ return i || r ? (t.setContentType("application/json", !1), Nt(e)) : e;
1591
+ }],
1592
+ transformResponse: [function(e) {
1593
+ let t = Y(this, "transitional") || Pt.transitional, n = t && t.forcedJSONParsing, r = Y(this, "responseType"), i = r === "json";
1594
+ if (V.isResponse(e) || V.isReadableStream(e)) return e;
1595
+ if (e && V.isString(e) && (n && !r || i)) {
1596
+ let n = !(t && t.silentJSONParsing) && i;
1597
+ try {
1598
+ return JSON.parse(e, Y(this, "parseReviver"));
1599
+ } catch (e) {
1600
+ if (n) throw e.name === "SyntaxError" ? q.from(e, q.ERR_BAD_RESPONSE, this, null, Y(this, "response")) : e;
1601
+ }
1602
+ }
1603
+ return e;
1604
+ }],
1605
+ timeout: 0,
1606
+ xsrfCookieName: "XSRF-TOKEN",
1607
+ xsrfHeaderName: "X-XSRF-TOKEN",
1608
+ maxContentLength: -1,
1609
+ maxBodyLength: -1,
1610
+ env: {
1611
+ FormData: J.classes.FormData,
1612
+ Blob: J.classes.Blob
1613
+ },
1614
+ validateStatus: function(e) {
1615
+ return e >= 200 && e < 300;
1616
+ },
1617
+ headers: { common: {
1618
+ Accept: "application/json, text/plain, */*",
1619
+ "Content-Type": void 0
1620
+ } }
1621
+ };
1622
+ V.forEach([
1623
+ "delete",
1624
+ "get",
1625
+ "head",
1626
+ "post",
1627
+ "put",
1628
+ "patch",
1629
+ "query"
1630
+ ], (e) => {
1631
+ Pt.headers[e] = {};
1632
+ });
1633
+ //#endregion
1634
+ //#region node_modules/axios/lib/core/transformData.js
1635
+ function Ft(e, t) {
1636
+ let n = this || Pt, r = t || n, i = K.from(r.headers), a = r.data;
1637
+ return V.forEach(e, function(e) {
1638
+ a = e.call(n, a, i.normalize(), t ? t.status : void 0);
1639
+ }), i.normalize(), a;
1640
+ }
1641
+ //#endregion
1642
+ //#region node_modules/axios/lib/cancel/isCancel.js
1643
+ function It(e) {
1644
+ return !!(e && e.__CANCEL__);
1645
+ }
1646
+ //#endregion
1647
+ //#region node_modules/axios/lib/cancel/CanceledError.js
1648
+ var Lt = class extends q {
1649
+ constructor(e, t, n) {
1650
+ super(e ?? "canceled", q.ERR_CANCELED, t, n), this.name = "CanceledError", this.__CANCEL__ = !0;
1651
+ }
1652
+ };
1653
+ //#endregion
1654
+ //#region node_modules/axios/lib/core/settle.js
1655
+ function Rt(e, t, n) {
1656
+ let r = n.config.validateStatus;
1657
+ !n.status || !r || r(n.status) ? e(n) : t(new q("Request failed with status code " + n.status, n.status >= 400 && n.status < 500 ? q.ERR_BAD_REQUEST : q.ERR_BAD_RESPONSE, n.config, n.request, n));
1658
+ }
1659
+ //#endregion
1660
+ //#region node_modules/axios/lib/helpers/parseProtocol.js
1661
+ function zt(e) {
1662
+ let t = /^([-+\w]{1,25}):(?:\/\/)?/.exec(e);
1663
+ return t && t[1] || "";
1664
+ }
1665
+ //#endregion
1666
+ //#region node_modules/axios/lib/helpers/speedometer.js
1667
+ function Bt(e, t) {
1668
+ e ||= 10;
1669
+ let n = Array(e), r = Array(e), i = 0, a = 0, o;
1670
+ return t = t === void 0 ? 1e3 : t, function(s) {
1671
+ let c = Date.now(), l = r[a];
1672
+ o ||= c, n[i] = s, r[i] = c;
1673
+ let u = a, d = 0;
1674
+ for (; u !== i;) d += n[u++], u %= e;
1675
+ if (i = (i + 1) % e, i === a && (a = (a + 1) % e), c - o < t) return;
1676
+ let f = l && c - l;
1677
+ return f ? Math.round(d * 1e3 / f) : void 0;
1678
+ };
1679
+ }
1680
+ //#endregion
1681
+ //#region node_modules/axios/lib/helpers/throttle.js
1682
+ function Vt(e, t) {
1683
+ let n = 0, r = 1e3 / t, i, a, o = (t, r = Date.now()) => {
1684
+ n = r, i = null, a &&= (clearTimeout(a), null), e(...t);
1685
+ };
1686
+ return [(...e) => {
1687
+ let t = Date.now(), s = t - n;
1688
+ s >= r ? o(e, t) : (i = e, a ||= setTimeout(() => {
1689
+ a = null, o(i);
1690
+ }, r - s));
1691
+ }, () => i && o(i)];
1692
+ }
1693
+ //#endregion
1694
+ //#region node_modules/axios/lib/helpers/progressEventReducer.js
1695
+ var Ht = (e, t, n = 3) => {
1696
+ let r = 0, i = Bt(50, 250);
1697
+ return Vt((n) => {
1698
+ if (!n || typeof n.loaded != "number") return;
1699
+ let a = n.loaded, o = n.lengthComputable ? n.total : void 0, s = o == null ? a : Math.min(a, o), c = Math.max(0, s - r), l = i(c);
1700
+ r = Math.max(r, s), e({
1701
+ loaded: s,
1702
+ total: o,
1703
+ progress: o ? s / o : void 0,
1704
+ bytes: c,
1705
+ rate: l || void 0,
1706
+ estimated: l && o ? (o - s) / l : void 0,
1707
+ event: n,
1708
+ lengthComputable: o != null,
1709
+ [t ? "download" : "upload"]: !0
1710
+ });
1711
+ }, n);
1712
+ }, Ut = (e, t) => {
1713
+ let n = e != null;
1714
+ return [(r) => t[0]({
1715
+ lengthComputable: n,
1716
+ total: e,
1717
+ loaded: r
1718
+ }), t[1]];
1719
+ }, Wt = (e) => (...t) => V.asap(() => e(...t)), Gt = J.hasStandardBrowserEnv ? ((e, t) => (n) => (n = new URL(n, J.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(new URL(J.origin), J.navigator && /(msie|trident)/i.test(J.navigator.userAgent)) : () => !0, Kt = J.hasStandardBrowserEnv ? {
1720
+ write(e, t, n, r, i, a, o) {
1721
+ if (typeof document > "u") return;
1722
+ let s = [`${e}=${encodeURIComponent(t)}`];
1723
+ V.isNumber(n) && s.push(`expires=${new Date(n).toUTCString()}`), V.isString(r) && s.push(`path=${r}`), V.isString(i) && s.push(`domain=${i}`), a === !0 && s.push("secure"), V.isString(o) && s.push(`SameSite=${o}`), document.cookie = s.join("; ");
1724
+ },
1725
+ read(e) {
1726
+ if (typeof document > "u") return null;
1727
+ let t = document.cookie.split(";");
1728
+ for (let n = 0; n < t.length; n++) {
1729
+ let r = t[n].replace(/^\s+/, ""), i = r.indexOf("=");
1730
+ if (i !== -1 && r.slice(0, i) === e) return decodeURIComponent(r.slice(i + 1));
1731
+ }
1732
+ return null;
1733
+ },
1734
+ remove(e) {
1735
+ this.write(e, "", Date.now() - 864e5, "/");
1736
+ }
1737
+ } : {
1738
+ write() {},
1739
+ read() {
1740
+ return null;
1741
+ },
1742
+ remove() {}
1743
+ };
1744
+ //#endregion
1745
+ //#region node_modules/axios/lib/helpers/isAbsoluteURL.js
1746
+ function qt(e) {
1747
+ return typeof e == "string" ? /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e) : !1;
1748
+ }
1749
+ //#endregion
1750
+ //#region node_modules/axios/lib/helpers/combineURLs.js
1751
+ function Jt(e, t) {
1752
+ return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
1753
+ }
1754
+ //#endregion
1755
+ //#region node_modules/axios/lib/core/buildFullPath.js
1756
+ function Yt(e, t, n) {
1757
+ let r = !qt(t);
1758
+ return e && (r || n === !1) ? Jt(e, t) : t;
1759
+ }
1760
+ //#endregion
1761
+ //#region node_modules/axios/lib/core/mergeConfig.js
1762
+ var Xt = (e) => e instanceof K ? { ...e } : e;
1763
+ function X(e, t) {
1764
+ t ||= {};
1765
+ let n = Object.create(null);
1766
+ Object.defineProperty(n, "hasOwnProperty", {
1767
+ __proto__: null,
1768
+ value: Object.prototype.hasOwnProperty,
1769
+ enumerable: !1,
1770
+ writable: !0,
1771
+ configurable: !0
1772
+ });
1773
+ function r(e, t, n, r) {
1774
+ return V.isPlainObject(e) && V.isPlainObject(t) ? V.merge.call({ caseless: r }, e, t) : V.isPlainObject(t) ? V.merge({}, t) : V.isArray(t) ? t.slice() : t;
1775
+ }
1776
+ function i(e, t, n, i) {
1777
+ if (!V.isUndefined(t)) return r(e, t, n, i);
1778
+ if (!V.isUndefined(e)) return r(void 0, e, n, i);
1779
+ }
1780
+ function a(e, t) {
1781
+ if (!V.isUndefined(t)) return r(void 0, t);
1782
+ }
1783
+ function o(e, t) {
1784
+ if (!V.isUndefined(t)) return r(void 0, t);
1785
+ if (!V.isUndefined(e)) return r(void 0, e);
1786
+ }
1787
+ function s(n, i, a) {
1788
+ if (V.hasOwnProp(t, a)) return r(n, i);
1789
+ if (V.hasOwnProp(e, a)) return r(void 0, n);
1790
+ }
1791
+ let c = {
1792
+ url: a,
1793
+ method: a,
1794
+ data: a,
1795
+ baseURL: o,
1796
+ transformRequest: o,
1797
+ transformResponse: o,
1798
+ paramsSerializer: o,
1799
+ timeout: o,
1800
+ timeoutMessage: o,
1801
+ withCredentials: o,
1802
+ withXSRFToken: o,
1803
+ adapter: o,
1804
+ responseType: o,
1805
+ xsrfCookieName: o,
1806
+ xsrfHeaderName: o,
1807
+ onUploadProgress: o,
1808
+ onDownloadProgress: o,
1809
+ decompress: o,
1810
+ maxContentLength: o,
1811
+ maxBodyLength: o,
1812
+ beforeRedirect: o,
1813
+ transport: o,
1814
+ httpAgent: o,
1815
+ httpsAgent: o,
1816
+ cancelToken: o,
1817
+ socketPath: o,
1818
+ allowedSocketPaths: o,
1819
+ responseEncoding: o,
1820
+ validateStatus: s,
1821
+ headers: (e, t, n) => i(Xt(e), Xt(t), n, !0)
1822
+ };
1823
+ return V.forEach(Object.keys({
1824
+ ...e,
1825
+ ...t
1826
+ }), function(r) {
1827
+ if (r === "__proto__" || r === "constructor" || r === "prototype") return;
1828
+ let a = V.hasOwnProp(c, r) ? c[r] : i, o = a(V.hasOwnProp(e, r) ? e[r] : void 0, V.hasOwnProp(t, r) ? t[r] : void 0, r);
1829
+ V.isUndefined(o) && a !== s || (n[r] = o);
1830
+ }), n;
1831
+ }
1832
+ //#endregion
1833
+ //#region node_modules/axios/lib/helpers/resolveConfig.js
1834
+ var Zt = ["content-type", "content-length"];
1835
+ function Qt(e, t, n) {
1836
+ if (n !== "content-only") {
1837
+ e.set(t);
1838
+ return;
1839
+ }
1840
+ Object.entries(t).forEach(([t, n]) => {
1841
+ Zt.includes(t.toLowerCase()) && e.set(t, n);
1842
+ });
1843
+ }
1844
+ var $t = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16)));
1845
+ function en(e) {
1846
+ let t = X({}, e), n = (e) => V.hasOwnProp(t, e) ? t[e] : void 0, r = n("data"), i = n("withXSRFToken"), a = n("xsrfHeaderName"), o = n("xsrfCookieName"), s = n("headers"), c = n("auth"), l = n("baseURL"), u = n("allowAbsoluteUrls"), d = n("url");
1847
+ if (t.headers = s = K.from(s), t.url = yt(Yt(l, d, u), n("params"), n("paramsSerializer")), c && s.set("Authorization", "Basic " + btoa((c.username || "") + ":" + (c.password ? $t(c.password) : ""))), V.isFormData(r) && (J.hasStandardBrowserEnv || J.hasStandardBrowserWebWorkerEnv || V.isReactNative(r) ? s.setContentType(void 0) : V.isFunction(r.getHeaders) && Qt(s, r.getHeaders(), n("formDataHeaderPolicy"))), J.hasStandardBrowserEnv && (V.isFunction(i) && (i = i(t)), i === !0 || i == null && Gt(t.url))) {
1848
+ let e = a && o && Kt.read(o);
1849
+ e && s.set(a, e);
1850
+ }
1851
+ return t;
1852
+ }
1853
+ var tn = typeof XMLHttpRequest < "u" && function(e) {
1854
+ return new Promise(function(t, n) {
1855
+ let r = en(e), i = r.data, a = K.from(r.headers).normalize(), { responseType: o, onUploadProgress: s, onDownloadProgress: c } = r, l, u, d, f, p;
1856
+ function m() {
1857
+ f && f(), p && p(), r.cancelToken && r.cancelToken.unsubscribe(l), r.signal && r.signal.removeEventListener("abort", l);
1858
+ }
1859
+ let h = new XMLHttpRequest();
1860
+ h.open(r.method.toUpperCase(), r.url, !0), h.timeout = r.timeout;
1861
+ function g() {
1862
+ if (!h) return;
1863
+ let r = K.from("getAllResponseHeaders" in h && h.getAllResponseHeaders());
1864
+ Rt(function(e) {
1865
+ t(e), m();
1866
+ }, function(e) {
1867
+ n(e), m();
1868
+ }, {
1869
+ data: !o || o === "text" || o === "json" ? h.responseText : h.response,
1870
+ status: h.status,
1871
+ statusText: h.statusText,
1872
+ headers: r,
1873
+ config: e,
1874
+ request: h
1875
+ }), h = null;
1876
+ }
1877
+ "onloadend" in h ? h.onloadend = g : h.onreadystatechange = function() {
1878
+ !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.startsWith("file:")) || setTimeout(g);
1879
+ }, h.onabort = function() {
1880
+ h &&= (n(new q("Request aborted", q.ECONNABORTED, e, h)), m(), null);
1881
+ }, h.onerror = function(t) {
1882
+ let r = new q(t && t.message ? t.message : "Network Error", q.ERR_NETWORK, e, h);
1883
+ r.event = t || null, n(r), m(), h = null;
1884
+ }, h.ontimeout = function() {
1885
+ let t = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded", i = r.transitional || xt;
1886
+ r.timeoutErrorMessage && (t = r.timeoutErrorMessage), n(new q(t, i.clarifyTimeoutError ? q.ETIMEDOUT : q.ECONNABORTED, e, h)), m(), h = null;
1887
+ }, i === void 0 && a.setContentType(null), "setRequestHeader" in h && V.forEach(Ze(a), function(e, t) {
1888
+ h.setRequestHeader(t, e);
1889
+ }), V.isUndefined(r.withCredentials) || (h.withCredentials = !!r.withCredentials), o && o !== "json" && (h.responseType = r.responseType), c && ([d, p] = Ht(c, !0), h.addEventListener("progress", d)), s && h.upload && ([u, f] = Ht(s), h.upload.addEventListener("progress", u), h.upload.addEventListener("loadend", f)), (r.cancelToken || r.signal) && (l = (t) => {
1890
+ h &&= (n(!t || t.type ? new Lt(null, e, h) : t), h.abort(), m(), null);
1891
+ }, r.cancelToken && r.cancelToken.subscribe(l), r.signal && (r.signal.aborted ? l() : r.signal.addEventListener("abort", l)));
1892
+ let _ = zt(r.url);
1893
+ if (_ && !J.protocols.includes(_)) {
1894
+ n(new q("Unsupported protocol " + _ + ":", q.ERR_BAD_REQUEST, e));
1895
+ return;
1896
+ }
1897
+ h.send(i || null);
1898
+ });
1899
+ }, nn = (e, t) => {
1900
+ if (e = e ? e.filter(Boolean) : [], !t && !e.length) return;
1901
+ let n = new AbortController(), r = !1, i = function(e) {
1902
+ if (!r) {
1903
+ r = !0, o();
1904
+ let t = e instanceof Error ? e : this.reason;
1905
+ n.abort(t instanceof q ? t : new Lt(t instanceof Error ? t.message : t));
1906
+ }
1907
+ }, a = t && setTimeout(() => {
1908
+ a = null, i(new q(`timeout of ${t}ms exceeded`, q.ETIMEDOUT));
1909
+ }, t), o = () => {
1910
+ e &&= (a && clearTimeout(a), a = null, e.forEach((e) => {
1911
+ e.unsubscribe ? e.unsubscribe(i) : e.removeEventListener("abort", i);
1912
+ }), null);
1913
+ };
1914
+ e.forEach((e) => e.addEventListener("abort", i));
1915
+ let { signal: s } = n;
1916
+ return s.unsubscribe = () => V.asap(o), s;
1917
+ }, rn = function* (e, t) {
1918
+ let n = e.byteLength;
1919
+ if (!t || n < t) {
1920
+ yield e;
1921
+ return;
1922
+ }
1923
+ let r = 0, i;
1924
+ for (; r < n;) i = r + t, yield e.slice(r, i), r = i;
1925
+ }, an = async function* (e, t) {
1926
+ for await (let n of on(e)) yield* rn(n, t);
1927
+ }, on = async function* (e) {
1928
+ if (e[Symbol.asyncIterator]) {
1929
+ yield* e;
1930
+ return;
1931
+ }
1932
+ let t = e.getReader();
1933
+ try {
1934
+ for (;;) {
1935
+ let { done: e, value: n } = await t.read();
1936
+ if (e) break;
1937
+ yield n;
1938
+ }
1939
+ } finally {
1940
+ await t.cancel();
1941
+ }
1942
+ }, sn = (e, t, n, r) => {
1943
+ let i = an(e, t), a = 0, o, s = (e) => {
1944
+ o || (o = !0, r && r(e));
1945
+ };
1946
+ return new ReadableStream({
1947
+ async pull(e) {
1948
+ try {
1949
+ let { done: t, value: r } = await i.next();
1950
+ if (t) {
1951
+ s(), e.close();
1952
+ return;
1953
+ }
1954
+ let o = r.byteLength;
1955
+ n && n(a += o), e.enqueue(new Uint8Array(r));
1956
+ } catch (e) {
1957
+ throw s(e), e;
1958
+ }
1959
+ },
1960
+ cancel(e) {
1961
+ return s(e), i.return();
1962
+ }
1963
+ }, { highWaterMark: 2 });
1964
+ };
1965
+ //#endregion
1966
+ //#region node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
1967
+ function cn(e) {
1968
+ if (!e || typeof e != "string" || !e.startsWith("data:")) return 0;
1969
+ let t = e.indexOf(",");
1970
+ if (t < 0) return 0;
1971
+ let n = e.slice(5, t), r = e.slice(t + 1);
1972
+ if (/;base64/i.test(n)) {
1973
+ let e = r.length, t = r.length;
1974
+ for (let n = 0; n < t; n++) if (r.charCodeAt(n) === 37 && n + 2 < t) {
1975
+ let t = r.charCodeAt(n + 1), i = r.charCodeAt(n + 2);
1976
+ (t >= 48 && t <= 57 || t >= 65 && t <= 70 || t >= 97 && t <= 102) && (i >= 48 && i <= 57 || i >= 65 && i <= 70 || i >= 97 && i <= 102) && (e -= 2, n += 2);
1977
+ }
1978
+ let n = 0, i = t - 1, a = (e) => e >= 2 && r.charCodeAt(e - 2) === 37 && r.charCodeAt(e - 1) === 51 && (r.charCodeAt(e) === 68 || r.charCodeAt(e) === 100);
1979
+ i >= 0 && (r.charCodeAt(i) === 61 ? (n++, i--) : a(i) && (n++, i -= 3)), n === 1 && i >= 0 && (r.charCodeAt(i) === 61 || a(i)) && n++;
1980
+ let o = Math.floor(e / 4) * 3 - (n || 0);
1981
+ return o > 0 ? o : 0;
1982
+ }
1983
+ if (He !== void 0 && typeof He.byteLength == "function") return He.byteLength(r, "utf8");
1984
+ let i = 0;
1985
+ for (let e = 0, t = r.length; e < t; e++) {
1986
+ let n = r.charCodeAt(e);
1987
+ if (n < 128) i += 1;
1988
+ else if (n < 2048) i += 2;
1989
+ else if (n >= 55296 && n <= 56319 && e + 1 < t) {
1990
+ let t = r.charCodeAt(e + 1);
1991
+ t >= 56320 && t <= 57343 ? (i += 4, e++) : i += 3;
1992
+ } else i += 3;
1993
+ }
1994
+ return i;
1995
+ }
1996
+ //#endregion
1997
+ //#region node_modules/axios/lib/env/data.js
1998
+ var ln = "1.17.0", un = 64 * 1024, { isFunction: dn } = V, fn = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16))), pn = (e) => {
1999
+ if (!V.isString(e)) return e;
2000
+ try {
2001
+ return decodeURIComponent(e);
2002
+ } catch {
2003
+ return e;
2004
+ }
2005
+ }, mn = (e, ...t) => {
2006
+ try {
2007
+ return !!e(...t);
2008
+ } catch {
2009
+ return !1;
2010
+ }
2011
+ }, hn = (e) => {
2012
+ let t = e.indexOf("://"), n = e;
2013
+ return t !== -1 && (n = n.slice(t + 3)), n.includes("@") || n.includes(":");
2014
+ }, gn = (e) => {
2015
+ let t = V.global !== void 0 && V.global !== null ? V.global : globalThis, { ReadableStream: n, TextEncoder: r } = t;
2016
+ e = V.merge.call({ skipUndefined: !0 }, {
2017
+ Request: t.Request,
2018
+ Response: t.Response
2019
+ }, e);
2020
+ let { fetch: i, Request: a, Response: o } = e, s = i ? dn(i) : typeof fetch == "function", c = dn(a), l = dn(o);
2021
+ if (!s) return !1;
2022
+ let u = s && dn(n), d = s && (typeof r == "function" ? ((e) => (t) => e.encode(t))(new r()) : async (e) => new Uint8Array(await new a(e).arrayBuffer())), f = c && u && mn(() => {
2023
+ let e = !1, t = new a(J.origin, {
2024
+ body: new n(),
2025
+ method: "POST",
2026
+ get duplex() {
2027
+ return e = !0, "half";
2028
+ }
2029
+ }), r = t.headers.has("Content-Type");
2030
+ return t.body != null && t.body.cancel(), e && !r;
2031
+ }), p = l && u && mn(() => V.isReadableStream(new o("").body)), m = { stream: p && ((e) => e.body) };
2032
+ s && [
2033
+ "text",
2034
+ "arrayBuffer",
2035
+ "blob",
2036
+ "formData",
2037
+ "stream"
2038
+ ].forEach((e) => {
2039
+ !m[e] && (m[e] = (t, n) => {
2040
+ let r = t && t[e];
2041
+ if (r) return r.call(t);
2042
+ throw new q(`Response type '${e}' is not supported`, q.ERR_NOT_SUPPORT, n);
2043
+ });
2044
+ });
2045
+ let h = async (e) => {
2046
+ if (e == null) return 0;
2047
+ if (V.isBlob(e)) return e.size;
2048
+ if (V.isSpecCompliantForm(e)) return (await new a(J.origin, {
2049
+ method: "POST",
2050
+ body: e
2051
+ }).arrayBuffer()).byteLength;
2052
+ if (V.isArrayBufferView(e) || V.isArrayBuffer(e)) return e.byteLength;
2053
+ if (V.isURLSearchParams(e) && (e += ""), V.isString(e)) return (await d(e)).byteLength;
2054
+ }, g = async (e, t) => V.toFiniteNumber(e.getContentLength()) ?? h(t);
2055
+ return async (e) => {
2056
+ let { url: t, method: n, data: s, signal: l, cancelToken: u, timeout: d, onDownloadProgress: h, onUploadProgress: _, responseType: v, headers: y, withCredentials: b = "same-origin", fetchOptions: x, maxContentLength: S, maxBodyLength: C } = en(e), w = V.isNumber(S) && S > -1, ee = V.isNumber(C) && C > -1, te = (t) => V.hasOwnProp(e, t) ? e[t] : void 0, ne = i || fetch;
2057
+ v = v ? (v + "").toLowerCase() : "text";
2058
+ let T = nn([l, u && u.toAbortSignal()], d), E = null, D = T && T.unsubscribe && (() => {
2059
+ T.unsubscribe();
2060
+ }), re;
2061
+ try {
2062
+ let i, l = te("auth");
2063
+ if (l && (i = {
2064
+ username: l.username || "",
2065
+ password: l.password || ""
2066
+ }), hn(t)) {
2067
+ let e = new URL(t, J.origin);
2068
+ !i && (e.username || e.password) && (i = {
2069
+ username: pn(e.username),
2070
+ password: pn(e.password)
2071
+ }), (e.username || e.password) && (e.username = "", e.password = "", t = e.href);
2072
+ }
2073
+ if (i && (y.delete("authorization"), y.set("Authorization", "Basic " + btoa(fn((i.username || "") + ":" + (i.password || ""))))), w && typeof t == "string" && t.startsWith("data:") && cn(t) > S) throw new q("maxContentLength size of " + S + " exceeded", q.ERR_BAD_RESPONSE, e, E);
2074
+ if (ee && n !== "get" && n !== "head") {
2075
+ let t = await g(y, s);
2076
+ if (typeof t == "number" && isFinite(t) && t > C) throw new q("Request body larger than maxBodyLength limit", q.ERR_BAD_REQUEST, e, E);
2077
+ }
2078
+ if (_ && f && n !== "get" && n !== "head" && (re = await g(y, s)) !== 0) {
2079
+ let e = new a(t, {
2080
+ method: "POST",
2081
+ body: s,
2082
+ duplex: "half"
2083
+ }), n;
2084
+ if (V.isFormData(s) && (n = e.headers.get("content-type")) && y.setContentType(n), e.body) {
2085
+ let [t, n] = Ut(re, Ht(Wt(_)));
2086
+ s = sn(e.body, un, t, n);
2087
+ }
2088
+ }
2089
+ V.isString(b) || (b = b ? "include" : "omit");
2090
+ let u = c && "credentials" in a.prototype;
2091
+ if (V.isFormData(s)) {
2092
+ let e = y.getContentType();
2093
+ e && /^multipart\/form-data/i.test(e) && !/boundary=/i.test(e) && y.delete("content-type");
2094
+ }
2095
+ y.set("User-Agent", "axios/" + ln, !1);
2096
+ let d = {
2097
+ ...x,
2098
+ signal: T,
2099
+ method: n.toUpperCase(),
2100
+ headers: Ze(y.normalize()),
2101
+ body: s,
2102
+ duplex: "half",
2103
+ credentials: u ? b : void 0
2104
+ };
2105
+ E = c && new a(t, d);
2106
+ let O = await (c ? ne(E, x) : ne(t, d));
2107
+ if (w) {
2108
+ let t = V.toFiniteNumber(O.headers.get("content-length"));
2109
+ if (t != null && t > S) throw new q("maxContentLength size of " + S + " exceeded", q.ERR_BAD_RESPONSE, e, E);
2110
+ }
2111
+ let k = p && (v === "stream" || v === "response");
2112
+ if (p && O.body && (h || w || k && D)) {
2113
+ let t = {};
2114
+ [
2115
+ "status",
2116
+ "statusText",
2117
+ "headers"
2118
+ ].forEach((e) => {
2119
+ t[e] = O[e];
2120
+ });
2121
+ let n = V.toFiniteNumber(O.headers.get("content-length")), [r, i] = h && Ut(n, Ht(Wt(h), !0)) || [], a = 0;
2122
+ O = new o(sn(O.body, un, (t) => {
2123
+ if (w && (a = t, a > S)) throw new q("maxContentLength size of " + S + " exceeded", q.ERR_BAD_RESPONSE, e, E);
2124
+ r && r(t);
2125
+ }, () => {
2126
+ i && i(), D && D();
2127
+ }), t);
2128
+ }
2129
+ v ||= "text";
2130
+ let A = await m[V.findKey(m, v) || "text"](O, e);
2131
+ if (w && !p && !k) {
2132
+ let t;
2133
+ if (A != null && (typeof A.byteLength == "number" ? t = A.byteLength : typeof A.size == "number" ? t = A.size : typeof A == "string" && (t = typeof r == "function" ? new r().encode(A).byteLength : A.length)), typeof t == "number" && t > S) throw new q("maxContentLength size of " + S + " exceeded", q.ERR_BAD_RESPONSE, e, E);
2134
+ }
2135
+ return !k && D && D(), await new Promise((t, n) => {
2136
+ Rt(t, n, {
2137
+ data: A,
2138
+ headers: K.from(O.headers),
2139
+ status: O.status,
2140
+ statusText: O.statusText,
2141
+ config: e,
2142
+ request: E
2143
+ });
2144
+ });
2145
+ } catch (t) {
2146
+ if (D && D(), T && T.aborted && T.reason instanceof q) {
2147
+ let n = T.reason;
2148
+ throw n.config = e, E && (n.request = E), t !== n && (n.cause = t), n;
2149
+ }
2150
+ throw t && t.name === "TypeError" && /Load failed|fetch/i.test(t.message) ? Object.assign(new q("Network Error", q.ERR_NETWORK, e, E, t && t.response), { cause: t.cause || t }) : q.from(t, t && t.code, e, E, t && t.response);
2151
+ }
2152
+ };
2153
+ }, _n = /* @__PURE__ */ new Map(), vn = (e) => {
2154
+ let t = e && e.env || {}, { fetch: n, Request: r, Response: i } = t, a = [
2155
+ r,
2156
+ i,
2157
+ n
2158
+ ], o = a.length, s, c, l = _n;
2159
+ for (; o--;) s = a[o], c = l.get(s), c === void 0 && l.set(s, c = o ? /* @__PURE__ */ new Map() : gn(t)), l = c;
2160
+ return c;
2161
+ };
2162
+ vn();
2163
+ //#endregion
2164
+ //#region node_modules/axios/lib/adapters/adapters.js
2165
+ var yn = {
2166
+ http: null,
2167
+ xhr: tn,
2168
+ fetch: { get: vn }
2169
+ };
2170
+ V.forEach(yn, (e, t) => {
2171
+ if (e) {
2172
+ try {
2173
+ Object.defineProperty(e, "name", {
2174
+ __proto__: null,
2175
+ value: t
2176
+ });
2177
+ } catch {}
2178
+ Object.defineProperty(e, "adapterName", {
2179
+ __proto__: null,
2180
+ value: t
2181
+ });
2182
+ }
2183
+ });
2184
+ var bn = (e) => `- ${e}`, xn = (e) => V.isFunction(e) || e === null || e === !1;
2185
+ function Sn(e, t) {
2186
+ e = V.isArray(e) ? e : [e];
2187
+ let { length: n } = e, r, i, a = {};
2188
+ for (let o = 0; o < n; o++) {
2189
+ r = e[o];
2190
+ let n;
2191
+ if (i = r, !xn(r) && (i = yn[(n = String(r)).toLowerCase()], i === void 0)) throw new q(`Unknown adapter '${n}'`);
2192
+ if (i && (V.isFunction(i) || (i = i.get(t)))) break;
2193
+ a[n || "#" + o] = i;
2194
+ }
2195
+ if (!i) {
2196
+ let e = Object.entries(a).map(([e, t]) => `adapter ${e} ` + (t === !1 ? "is not supported by the environment" : "is not available in the build"));
2197
+ throw new q("There is no suitable adapter to dispatch the request " + (n ? e.length > 1 ? "since :\n" + e.map(bn).join("\n") : " " + bn(e[0]) : "as no adapter specified"), "ERR_NOT_SUPPORT");
2198
+ }
2199
+ return i;
2200
+ }
2201
+ var Cn = {
2202
+ getAdapter: Sn,
2203
+ adapters: yn
2204
+ };
2205
+ //#endregion
2206
+ //#region node_modules/axios/lib/core/dispatchRequest.js
2207
+ function wn(e) {
2208
+ if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new Lt(null, e);
2209
+ }
2210
+ function Tn(e) {
2211
+ return wn(e), e.headers = K.from(e.headers), e.data = Ft.call(e, e.transformRequest), [
2212
+ "post",
2213
+ "put",
2214
+ "patch"
2215
+ ].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Cn.getAdapter(e.adapter || Pt.adapter, e)(e).then(function(t) {
2216
+ wn(e), e.response = t;
2217
+ try {
2218
+ t.data = Ft.call(e, e.transformResponse, t);
2219
+ } finally {
2220
+ delete e.response;
2221
+ }
2222
+ return t.headers = K.from(t.headers), t;
2223
+ }, function(t) {
2224
+ if (!It(t) && (wn(e), t && t.response)) {
2225
+ e.response = t.response;
2226
+ try {
2227
+ t.response.data = Ft.call(e, e.transformResponse, t.response);
2228
+ } finally {
2229
+ delete e.response;
2230
+ }
2231
+ t.response.headers = K.from(t.response.headers);
2232
+ }
2233
+ return Promise.reject(t);
2234
+ });
2235
+ }
2236
+ //#endregion
2237
+ //#region node_modules/axios/lib/helpers/validator.js
2238
+ var En = {};
2239
+ [
2240
+ "object",
2241
+ "boolean",
2242
+ "number",
2243
+ "function",
2244
+ "string",
2245
+ "symbol"
2246
+ ].forEach((e, t) => {
2247
+ En[e] = function(n) {
2248
+ return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
2249
+ };
2250
+ });
2251
+ var Dn = {};
2252
+ En.transitional = function(e, t, n) {
2253
+ function r(e, t) {
2254
+ return "[Axios v" + ln + "] Transitional option '" + e + "'" + t + (n ? ". " + n : "");
2255
+ }
2256
+ return (n, i, a) => {
2257
+ if (e === !1) throw new q(r(i, " has been removed" + (t ? " in " + t : "")), q.ERR_DEPRECATED);
2258
+ return t && !Dn[i] && (Dn[i] = !0, console.warn(r(i, " has been deprecated since v" + t + " and will be removed in the near future"))), e ? e(n, i, a) : !0;
2259
+ };
2260
+ }, En.spelling = function(e) {
2261
+ return (t, n) => (console.warn(`${n} is likely a misspelling of ${e}`), !0);
2262
+ };
2263
+ function On(e, t, n) {
2264
+ if (typeof e != "object") throw new q("options must be an object", q.ERR_BAD_OPTION_VALUE);
2265
+ let r = Object.keys(e), i = r.length;
2266
+ for (; i-- > 0;) {
2267
+ let a = r[i], o = Object.prototype.hasOwnProperty.call(t, a) ? t[a] : void 0;
2268
+ if (o) {
2269
+ let t = e[a], n = t === void 0 || o(t, a, e);
2270
+ if (n !== !0) throw new q("option " + a + " must be " + n, q.ERR_BAD_OPTION_VALUE);
2271
+ continue;
2272
+ }
2273
+ if (n !== !0) throw new q("Unknown option " + a, q.ERR_BAD_OPTION);
2274
+ }
2275
+ }
2276
+ var kn = {
2277
+ assertOptions: On,
2278
+ validators: En
2279
+ }, Z = kn.validators, Q = class {
2280
+ constructor(e) {
2281
+ this.defaults = e || {}, this.interceptors = {
2282
+ request: new bt(),
2283
+ response: new bt()
2284
+ };
2285
+ }
2286
+ async request(e, t) {
2287
+ try {
2288
+ return await this._request(e, t);
2289
+ } catch (e) {
2290
+ if (e instanceof Error) {
2291
+ let t = {};
2292
+ Error.captureStackTrace ? Error.captureStackTrace(t) : t = /* @__PURE__ */ Error();
2293
+ let n = (() => {
2294
+ if (!t.stack) return "";
2295
+ let e = t.stack.indexOf("\n");
2296
+ return e === -1 ? "" : t.stack.slice(e + 1);
2297
+ })();
2298
+ try {
2299
+ if (!e.stack) e.stack = n;
2300
+ else if (n) {
2301
+ let t = n.indexOf("\n"), r = t === -1 ? -1 : n.indexOf("\n", t + 1), i = r === -1 ? "" : n.slice(r + 1);
2302
+ String(e.stack).endsWith(i) || (e.stack += "\n" + n);
2303
+ }
2304
+ } catch {}
2305
+ }
2306
+ throw e;
2307
+ }
2308
+ }
2309
+ _request(e, t) {
2310
+ typeof e == "string" ? (t ||= {}, t.url = e) : t = e || {}, t = X(this.defaults, t);
2311
+ let { transitional: n, paramsSerializer: r, headers: i } = t;
2312
+ n !== void 0 && kn.assertOptions(n, {
2313
+ silentJSONParsing: Z.transitional(Z.boolean),
2314
+ forcedJSONParsing: Z.transitional(Z.boolean),
2315
+ clarifyTimeoutError: Z.transitional(Z.boolean),
2316
+ legacyInterceptorReqResOrdering: Z.transitional(Z.boolean),
2317
+ advertiseZstdAcceptEncoding: Z.transitional(Z.boolean)
2318
+ }, !1), r != null && (V.isFunction(r) ? t.paramsSerializer = { serialize: r } : kn.assertOptions(r, {
2319
+ encode: Z.function,
2320
+ serialize: Z.function
2321
+ }, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls === void 0 ? t.allowAbsoluteUrls = !0 : t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls), kn.assertOptions(t, {
2322
+ baseUrl: Z.spelling("baseURL"),
2323
+ withXsrfToken: Z.spelling("withXSRFToken")
2324
+ }, !0), t.method = (t.method || this.defaults.method || "get").toLowerCase();
2325
+ let a = i && V.merge(i.common, i[t.method]);
2326
+ i && V.forEach([
2327
+ "delete",
2328
+ "get",
2329
+ "head",
2330
+ "post",
2331
+ "put",
2332
+ "patch",
2333
+ "query",
2334
+ "common"
2335
+ ], (e) => {
2336
+ delete i[e];
2337
+ }), t.headers = K.concat(a, i);
2338
+ let o = [], s = !0;
2339
+ this.interceptors.request.forEach(function(e) {
2340
+ if (typeof e.runWhen == "function" && e.runWhen(t) === !1) return;
2341
+ s &&= e.synchronous;
2342
+ let n = t.transitional || xt;
2343
+ n && n.legacyInterceptorReqResOrdering ? o.unshift(e.fulfilled, e.rejected) : o.push(e.fulfilled, e.rejected);
2344
+ });
2345
+ let c = [];
2346
+ this.interceptors.response.forEach(function(e) {
2347
+ c.push(e.fulfilled, e.rejected);
2348
+ });
2349
+ let l, u = 0, d;
2350
+ if (!s) {
2351
+ let e = [Tn.bind(this), void 0];
2352
+ for (e.unshift(...o), e.push(...c), d = e.length, l = Promise.resolve(t); u < d;) l = l.then(e[u++], e[u++]);
2353
+ return l;
2354
+ }
2355
+ d = o.length;
2356
+ let f = t;
2357
+ for (; u < d;) {
2358
+ let e = o[u++], t = o[u++];
2359
+ try {
2360
+ f = e(f);
2361
+ } catch (e) {
2362
+ t.call(this, e);
2363
+ break;
2364
+ }
2365
+ }
2366
+ try {
2367
+ l = Tn.call(this, f);
2368
+ } catch (e) {
2369
+ return Promise.reject(e);
2370
+ }
2371
+ for (u = 0, d = c.length; u < d;) l = l.then(c[u++], c[u++]);
2372
+ return l;
2373
+ }
2374
+ getUri(e) {
2375
+ return e = X(this.defaults, e), yt(Yt(e.baseURL, e.url, e.allowAbsoluteUrls), e.params, e.paramsSerializer);
2376
+ }
2377
+ };
2378
+ V.forEach([
2379
+ "delete",
2380
+ "get",
2381
+ "head",
2382
+ "options"
2383
+ ], function(e) {
2384
+ Q.prototype[e] = function(t, n) {
2385
+ return this.request(X(n || {}, {
2386
+ method: e,
2387
+ url: t,
2388
+ data: (n || {}).data
2389
+ }));
2390
+ };
2391
+ }), V.forEach([
2392
+ "post",
2393
+ "put",
2394
+ "patch",
2395
+ "query"
2396
+ ], function(e) {
2397
+ function t(t) {
2398
+ return function(n, r, i) {
2399
+ return this.request(X(i || {}, {
2400
+ method: e,
2401
+ headers: t ? { "Content-Type": "multipart/form-data" } : {},
2402
+ url: n,
2403
+ data: r
2404
+ }));
2405
+ };
2406
+ }
2407
+ Q.prototype[e] = t(), e !== "query" && (Q.prototype[e + "Form"] = t(!0));
2408
+ });
2409
+ //#endregion
2410
+ //#region node_modules/axios/lib/cancel/CancelToken.js
2411
+ var An = class e {
2412
+ constructor(e) {
2413
+ if (typeof e != "function") throw TypeError("executor must be a function.");
2414
+ let t;
2415
+ this.promise = new Promise(function(e) {
2416
+ t = e;
2417
+ });
2418
+ let n = this;
2419
+ this.promise.then((e) => {
2420
+ if (!n._listeners) return;
2421
+ let t = n._listeners.length;
2422
+ for (; t-- > 0;) n._listeners[t](e);
2423
+ n._listeners = null;
2424
+ }), this.promise.then = (e) => {
2425
+ let t, r = new Promise((e) => {
2426
+ n.subscribe(e), t = e;
2427
+ }).then(e);
2428
+ return r.cancel = function() {
2429
+ n.unsubscribe(t);
2430
+ }, r;
2431
+ }, e(function(e, r, i) {
2432
+ n.reason || (n.reason = new Lt(e, r, i), t(n.reason));
2433
+ });
2434
+ }
2435
+ throwIfRequested() {
2436
+ if (this.reason) throw this.reason;
2437
+ }
2438
+ subscribe(e) {
2439
+ if (this.reason) {
2440
+ e(this.reason);
2441
+ return;
2442
+ }
2443
+ this._listeners ? this._listeners.push(e) : this._listeners = [e];
2444
+ }
2445
+ unsubscribe(e) {
2446
+ if (!this._listeners) return;
2447
+ let t = this._listeners.indexOf(e);
2448
+ t !== -1 && this._listeners.splice(t, 1);
2449
+ }
2450
+ toAbortSignal() {
2451
+ let e = new AbortController(), t = (t) => {
2452
+ e.abort(t);
2453
+ };
2454
+ return this.subscribe(t), e.signal.unsubscribe = () => this.unsubscribe(t), e.signal;
2455
+ }
2456
+ static source() {
2457
+ let t;
2458
+ return {
2459
+ token: new e(function(e) {
2460
+ t = e;
2461
+ }),
2462
+ cancel: t
2463
+ };
2464
+ }
2465
+ };
2466
+ //#endregion
2467
+ //#region node_modules/axios/lib/helpers/spread.js
2468
+ function jn(e) {
2469
+ return function(t) {
2470
+ return e.apply(null, t);
2471
+ };
2472
+ }
2473
+ //#endregion
2474
+ //#region node_modules/axios/lib/helpers/isAxiosError.js
2475
+ function Mn(e) {
2476
+ return V.isObject(e) && e.isAxiosError === !0;
2477
+ }
2478
+ //#endregion
2479
+ //#region node_modules/axios/lib/helpers/HttpStatusCode.js
2480
+ var Nn = {
2481
+ Continue: 100,
2482
+ SwitchingProtocols: 101,
2483
+ Processing: 102,
2484
+ EarlyHints: 103,
2485
+ Ok: 200,
2486
+ Created: 201,
2487
+ Accepted: 202,
2488
+ NonAuthoritativeInformation: 203,
2489
+ NoContent: 204,
2490
+ ResetContent: 205,
2491
+ PartialContent: 206,
2492
+ MultiStatus: 207,
2493
+ AlreadyReported: 208,
2494
+ ImUsed: 226,
2495
+ MultipleChoices: 300,
2496
+ MovedPermanently: 301,
2497
+ Found: 302,
2498
+ SeeOther: 303,
2499
+ NotModified: 304,
2500
+ UseProxy: 305,
2501
+ Unused: 306,
2502
+ TemporaryRedirect: 307,
2503
+ PermanentRedirect: 308,
2504
+ BadRequest: 400,
2505
+ Unauthorized: 401,
2506
+ PaymentRequired: 402,
2507
+ Forbidden: 403,
2508
+ NotFound: 404,
2509
+ MethodNotAllowed: 405,
2510
+ NotAcceptable: 406,
2511
+ ProxyAuthenticationRequired: 407,
2512
+ RequestTimeout: 408,
2513
+ Conflict: 409,
2514
+ Gone: 410,
2515
+ LengthRequired: 411,
2516
+ PreconditionFailed: 412,
2517
+ PayloadTooLarge: 413,
2518
+ UriTooLong: 414,
2519
+ UnsupportedMediaType: 415,
2520
+ RangeNotSatisfiable: 416,
2521
+ ExpectationFailed: 417,
2522
+ ImATeapot: 418,
2523
+ MisdirectedRequest: 421,
2524
+ UnprocessableEntity: 422,
2525
+ Locked: 423,
2526
+ FailedDependency: 424,
2527
+ TooEarly: 425,
2528
+ UpgradeRequired: 426,
2529
+ PreconditionRequired: 428,
2530
+ TooManyRequests: 429,
2531
+ RequestHeaderFieldsTooLarge: 431,
2532
+ UnavailableForLegalReasons: 451,
2533
+ InternalServerError: 500,
2534
+ NotImplemented: 501,
2535
+ BadGateway: 502,
2536
+ ServiceUnavailable: 503,
2537
+ GatewayTimeout: 504,
2538
+ HttpVersionNotSupported: 505,
2539
+ VariantAlsoNegotiates: 506,
2540
+ InsufficientStorage: 507,
2541
+ LoopDetected: 508,
2542
+ NotExtended: 510,
2543
+ NetworkAuthenticationRequired: 511,
2544
+ WebServerIsDown: 521,
2545
+ ConnectionTimedOut: 522,
2546
+ OriginIsUnreachable: 523,
2547
+ TimeoutOccurred: 524,
2548
+ SslHandshakeFailed: 525,
2549
+ InvalidSslCertificate: 526
2550
+ };
2551
+ Object.entries(Nn).forEach(([e, t]) => {
2552
+ Nn[t] = e;
2553
+ });
2554
+ //#endregion
2555
+ //#region node_modules/axios/lib/axios.js
2556
+ function Pn(e) {
2557
+ let t = new Q(e), n = a(Q.prototype.request, t);
2558
+ return V.extend(n, Q.prototype, t, { allOwnKeys: !0 }), V.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(t) {
2559
+ return Pn(X(e, t));
2560
+ }, n;
2561
+ }
2562
+ var $ = Pn(Pt);
2563
+ $.Axios = Q, $.CanceledError = Lt, $.CancelToken = An, $.isCancel = It, $.VERSION = ln, $.toFormData = mt, $.AxiosError = q, $.Cancel = $.CanceledError, $.all = function(e) {
2564
+ return Promise.all(e);
2565
+ }, $.spread = jn, $.isAxiosError = Mn, $.mergeConfig = X, $.AxiosHeaders = K, $.formToJSON = (e) => Mt(V.isHTMLForm(e) ? new FormData(e) : e), $.getAdapter = Cn.getAdapter, $.HttpStatusCode = Nn, $.default = $;
2566
+ //#endregion
2567
+ //#region packages/api-services/src/api/axios/generateInstance.ts
2568
+ var Fn = ({ interceptors: e, baseURL: t, ...n } = {}) => {
2569
+ let r = $.create({
2570
+ baseURL: t,
2571
+ headers: { "X-Webitel-Access": localStorage.getItem("access-token") || "" },
2572
+ ...n
2573
+ });
2574
+ if (e) {
2575
+ let { request: t, response: n } = e;
2576
+ if (t) for (let e of t) r.interceptors.request.use(...e);
2577
+ if (n) for (let e of n) r.interceptors.response.use(...e);
2578
+ }
2579
+ return r;
2580
+ };
2581
+ //#endregion
2582
+ export { $ as n, Fn as t };