@unicom-cloud/utils 0.1.25 → 0.1.27

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 (277) hide show
  1. package/axios/chunk/BJvTEV6n.js +253 -0
  2. package/axios/chunk/CB3wlosT.js +64 -0
  3. package/axios/index.d.ts +796 -0
  4. package/axios/index.js +43 -0
  5. package/axios/lib/axios.js +1635 -0
  6. package/axios/lib/utils.js +5 -0
  7. package/axios/mock-adapter/index.d.ts +59 -0
  8. package/axios/mock-adapter/index.js +205 -0
  9. package/axios/mock-adapter/request.js +50 -0
  10. package/axios/mock-adapter/utils.js +130 -0
  11. package/case-name/index.js +1 -1
  12. package/caseName.js +1 -1
  13. package/class-name/index.js +1 -1
  14. package/className.js +1 -1
  15. package/clipboard-copy/index.js +1 -1
  16. package/clipboardCopy.js +1 -1
  17. package/constant/address.js +1 -1
  18. package/constant/chineseCharacters.js +1 -1
  19. package/constant/constellations.js +1 -1
  20. package/constant/domain.js +1 -1
  21. package/constant/emoji.js +1 -1
  22. package/constant/identity.js +1 -1
  23. package/constant/index.js +1 -1
  24. package/constant/keyboardCode.js +1 -1
  25. package/constant/licensePlate.js +1 -1
  26. package/constant/name.js +1 -1
  27. package/constant/platform.js +16 -17
  28. package/constant/protocol.js +1 -1
  29. package/constant/ui.js +16 -16
  30. package/constant.js +1 -1
  31. package/content-disposition/index.js +1 -1
  32. package/contentDisposition.js +1 -1
  33. package/cookie/index.js +1 -1
  34. package/cookie/src/index.js +1 -1
  35. package/cookie.js +1 -1
  36. package/date/convertTime.js +1 -1
  37. package/date/convertToDuration.js +1 -1
  38. package/date/index.js +1 -1
  39. package/date.js +1 -1
  40. package/decimal/decimal.js +1 -8
  41. package/decimal/index.js +1 -1
  42. package/decimal.js +1 -1
  43. package/dom-helpers/activeElement.js +1 -1
  44. package/dom-helpers/addClass.js +1 -1
  45. package/dom-helpers/addEventListener.js +1 -1
  46. package/dom-helpers/animate.js +1 -1
  47. package/dom-helpers/animationFrame.js +1 -1
  48. package/dom-helpers/attribute.js +1 -1
  49. package/dom-helpers/camelize.js +1 -1
  50. package/dom-helpers/camelizeStyle.js +1 -1
  51. package/dom-helpers/canUseDOM.js +1 -1
  52. package/dom-helpers/childElements.js +1 -1
  53. package/dom-helpers/childNodes.js +1 -1
  54. package/dom-helpers/clear.js +1 -1
  55. package/dom-helpers/closest.js +1 -1
  56. package/dom-helpers/collectElements.js +1 -1
  57. package/dom-helpers/collectSiblings.js +1 -1
  58. package/dom-helpers/contains.js +1 -1
  59. package/dom-helpers/css.js +1 -1
  60. package/dom-helpers/filterEventHandler.js +1 -1
  61. package/dom-helpers/getComputedStyle.js +1 -1
  62. package/dom-helpers/getScrollAccessor.js +1 -1
  63. package/dom-helpers/hasClass.js +1 -1
  64. package/dom-helpers/height.js +1 -1
  65. package/dom-helpers/hyphenate.js +1 -1
  66. package/dom-helpers/hyphenateStyle.js +1 -1
  67. package/dom-helpers/index.js +1 -1
  68. package/dom-helpers/insertAfter.js +1 -1
  69. package/dom-helpers/isDocument.js +1 -1
  70. package/dom-helpers/isInput.js +1 -1
  71. package/dom-helpers/isTransform.js +1 -1
  72. package/dom-helpers/isVisible.js +1 -1
  73. package/dom-helpers/isWindow.js +1 -1
  74. package/dom-helpers/listen.js +1 -1
  75. package/dom-helpers/matches.js +1 -1
  76. package/dom-helpers/nextUntil.js +1 -1
  77. package/dom-helpers/offset.js +1 -1
  78. package/dom-helpers/offsetParent.js +1 -1
  79. package/dom-helpers/ownerDocument.js +1 -1
  80. package/dom-helpers/ownerWindow.js +1 -1
  81. package/dom-helpers/parents.js +1 -1
  82. package/dom-helpers/position.js +1 -1
  83. package/dom-helpers/prepend.js +1 -1
  84. package/dom-helpers/querySelectorAll.js +1 -1
  85. package/dom-helpers/reflow.js +1 -1
  86. package/dom-helpers/remove.js +1 -1
  87. package/dom-helpers/removeClass.js +1 -1
  88. package/dom-helpers/removeEventListener.js +1 -1
  89. package/dom-helpers/scrollLeft.js +1 -1
  90. package/dom-helpers/scrollParent.js +1 -1
  91. package/dom-helpers/scrollTo.js +1 -1
  92. package/dom-helpers/scrollTop.js +1 -1
  93. package/dom-helpers/scrollbarSize.js +1 -1
  94. package/dom-helpers/siblings.js +1 -1
  95. package/dom-helpers/text.js +1 -1
  96. package/dom-helpers/toggleClass.js +1 -1
  97. package/dom-helpers/transitionEnd.js +1 -1
  98. package/dom-helpers/triggerEvent.js +1 -1
  99. package/dom-helpers/types.js +1 -1
  100. package/dom-helpers/width.js +1 -1
  101. package/domHelpers.js +1 -1
  102. package/emitter/index.js +1 -1
  103. package/emitter/src/index.js +1 -1
  104. package/emitter.js +1 -1
  105. package/file/fileToURL.js +1 -1
  106. package/file/index.js +1 -1
  107. package/file/saveAs.js +1 -1
  108. package/file.js +1 -1
  109. package/idb/index.js +1 -1
  110. package/idb.js +1 -1
  111. package/index.js +1 -1
  112. package/invariant/index.js +1 -1
  113. package/invariant.js +1 -1
  114. package/is/index.js +140 -123
  115. package/is.js +77 -76
  116. package/js-cookie/index.js +1 -1
  117. package/js-cookie/src/api.js +1 -1
  118. package/js-cookie/src/assign.js +1 -1
  119. package/js-cookie/src/converter.js +1 -1
  120. package/jsCookie.js +1 -1
  121. package/lunar/index.js +1 -1
  122. package/lunar/lib/Holiday.js +1 -1
  123. package/lunar/lib/HolidayUtil.js +1 -1
  124. package/lunar/lib/I18n.js +1 -1
  125. package/lunar/lib/JieQi.js +1 -1
  126. package/lunar/lib/Lunar.js +1 -1
  127. package/lunar/lib/LunarMonth.js +1 -1
  128. package/lunar/lib/LunarTime.js +1 -1
  129. package/lunar/lib/LunarUtil.js +1 -1
  130. package/lunar/lib/LunarYear.js +1 -1
  131. package/lunar/lib/ShouXingUtil.js +1 -1
  132. package/lunar/lib/Solar.js +1 -1
  133. package/lunar/lib/SolarHalfYear.js +1 -1
  134. package/lunar/lib/SolarMonth.js +1 -1
  135. package/lunar/lib/SolarSeason.js +1 -1
  136. package/lunar/lib/SolarUtil.js +1 -1
  137. package/lunar/lib/SolarWeek.js +1 -1
  138. package/lunar/lib/SolarYear.js +1 -1
  139. package/lunar/lib/index.js +1 -1
  140. package/lunar.js +1 -1
  141. package/math/index.js +1 -1
  142. package/math.js +1 -1
  143. package/md5/index.js +1 -1
  144. package/md5.js +1 -1
  145. package/mock/MockWebSocket.js +1 -1
  146. package/mock/MockXMLHttpRequest.js +1 -1
  147. package/mock/index.js +1 -1
  148. package/mock.js +1 -1
  149. package/normalize-wheel/ExecutionEnvironment.js +1 -1
  150. package/normalize-wheel/UserAgent_DEPRECATED.js +1 -1
  151. package/normalize-wheel/index.js +1 -1
  152. package/normalize-wheel/isEventSupported.js +1 -15
  153. package/normalizeWheel.js +1 -1
  154. package/number-to-chinese/index.js +1 -1
  155. package/numberToChinese.js +1 -1
  156. package/nzh/cn.js +1 -1
  157. package/nzh/hk.js +1 -1
  158. package/nzh/index.js +1 -1
  159. package/nzh/nzh.js +1 -1
  160. package/nzh/src/autoGet.js +1 -1
  161. package/nzh/src/index.js +1 -1
  162. package/nzh/src/langs/cn_b.js +1 -1
  163. package/nzh/src/langs/cn_s.js +1 -1
  164. package/nzh/src/langs/hk_b.js +1 -1
  165. package/nzh/src/langs/hk_s.js +1 -1
  166. package/nzh/src/utils.js +1 -1
  167. package/nzh.js +1 -1
  168. package/object-keys-sort/index.js +1 -1
  169. package/object-prototype-to-string-call/index.js +7 -0
  170. package/objectKeysSort.js +1 -1
  171. package/objectPrototypeToStringCall.js +5 -0
  172. package/package.json +1 -1
  173. package/pinyin/index.js +1 -1
  174. package/pinyin/simplified.js +1 -1
  175. package/pinyin/src/core.js +1 -1
  176. package/pinyin/src/simplified.js +1 -1
  177. package/pinyin/src/simplified_dict.js +1 -1
  178. package/pinyin/src/traditional.js +1 -1
  179. package/pinyin/src/traditional_dict.js +1 -1
  180. package/pinyin/traditional.js +1 -1
  181. package/pinyin.js +1 -1
  182. package/query-string/base.js +1 -1
  183. package/query-string/index.js +1 -1
  184. package/query-string/splitOnFirst.js +1 -1
  185. package/queryString.js +1 -1
  186. package/random/address.js +1 -1
  187. package/random/constellation.js +1 -1
  188. package/random/image.js +1 -1
  189. package/random/index.js +1 -1
  190. package/random/licensePlate.js +1 -1
  191. package/random/name.js +1 -1
  192. package/random/number.js +1 -1
  193. package/random/text.js +12 -11
  194. package/random/time.js +1 -1
  195. package/random/web.js +1 -1
  196. package/random.js +1 -1
  197. package/screenfull/index.js +21 -20
  198. package/screenfull.js +4 -3
  199. package/sleep/index.js +1 -1
  200. package/sleep.js +1 -1
  201. package/snapdom/index.js +1 -1
  202. package/snapdom/src/api/preCache.js +1 -1
  203. package/snapdom/src/api/snapdom.js +1 -1
  204. package/snapdom/src/core/cache.js +1 -1
  205. package/snapdom/src/core/capture.js +1 -1
  206. package/snapdom/src/core/clone.js +1 -1
  207. package/snapdom/src/core/context.js +1 -1
  208. package/snapdom/src/core/plugins.js +1 -1
  209. package/snapdom/src/core/prepare.js +1 -1
  210. package/snapdom/src/exporters/download.js +1 -1
  211. package/snapdom/src/exporters/toBlob.js +1 -1
  212. package/snapdom/src/exporters/toCanvas.js +1 -1
  213. package/snapdom/src/exporters/toImg.js +1 -1
  214. package/snapdom/src/modules/CSSVar.js +1 -1
  215. package/snapdom/src/modules/background.js +1 -1
  216. package/snapdom/src/modules/changeCSS.js +1 -1
  217. package/snapdom/src/modules/counter.js +1 -1
  218. package/snapdom/src/modules/fonts.js +1 -1
  219. package/snapdom/src/modules/iconFonts.js +1 -1
  220. package/snapdom/src/modules/images.js +1 -1
  221. package/snapdom/src/modules/lineClamp.js +1 -1
  222. package/snapdom/src/modules/pseudo.js +1 -1
  223. package/snapdom/src/modules/rasterize.js +1 -1
  224. package/snapdom/src/modules/snapFetch.js +1 -1
  225. package/snapdom/src/modules/styles.js +1 -1
  226. package/snapdom/src/modules/svgDefs.js +1 -1
  227. package/snapdom/src/utils/browser.js +1 -1
  228. package/snapdom/src/utils/css.js +1 -1
  229. package/snapdom/src/utils/helpers.js +1 -1
  230. package/snapdom/src/utils/image.js +1 -1
  231. package/snapdom.js +1 -1
  232. package/tinycolor/index.js +1 -1
  233. package/tinycolor/src/conversion.js +1 -1
  234. package/tinycolor/src/css-color-names.js +1 -1
  235. package/tinycolor/src/format-input.js +1 -1
  236. package/tinycolor/src/from-ratio.js +1 -1
  237. package/tinycolor/src/index.js +1 -1
  238. package/tinycolor/src/random.js +1 -1
  239. package/tinycolor/src/readability.js +1 -1
  240. package/tinycolor/src/to-ms-filter.js +1 -1
  241. package/tinycolor/src/utils.js +1 -1
  242. package/tinycolor.js +1 -1
  243. package/tree/index.js +31 -30
  244. package/tree/search/index.js +1 -1
  245. package/tree.js +13 -12
  246. package/tween/index.js +1 -1
  247. package/tween/src/easing.js +1 -1
  248. package/tween/src/tween.js +1 -1
  249. package/tween.js +1 -1
  250. package/types/constant/platform.d.ts +8 -7
  251. package/types/is/index.d.ts +16 -16
  252. package/types/object-prototype-to-string-call/index.d.ts +2 -0
  253. package/types/validate/src/locale/en-US.d.ts +2 -2
  254. package/types/validate/src/locale/zh-CN.d.ts +2 -2
  255. package/ui-color/compareColorByRange.js +1 -1
  256. package/ui-color/index.js +1 -1
  257. package/uiColor.js +1 -1
  258. package/url-toolkit/index.js +1 -1
  259. package/url-toolkit/src/url-toolkit.js +1 -1
  260. package/urlToolkit.js +1 -1
  261. package/validate/index.js +11 -11
  262. package/validate/src/index.js +1 -1
  263. package/validate/src/locale/en-US.js +1 -1
  264. package/validate/src/locale/zh-CN.js +1 -1
  265. package/validate/src/message.js +3 -3
  266. package/validate/src/rules/array.js +1 -1
  267. package/validate/src/rules/base.js +15 -15
  268. package/validate/src/rules/boolean.js +1 -1
  269. package/validate/src/rules/custom.js +1 -1
  270. package/validate/src/rules/number.js +1 -1
  271. package/validate/src/rules/object.js +1 -1
  272. package/validate/src/rules/string.js +1 -1
  273. package/validate/src/rules/type.js +1 -1
  274. package/validate/src/utils.js +1 -1
  275. package/validate.js +11 -11
  276. package/version/index.js +1 -1
  277. package/version.js +1 -1
@@ -0,0 +1,253 @@
1
+ /* 2025-11-07 13:23:48 */
2
+ function R(e, t) {
3
+ return function() {
4
+ return e.apply(t, arguments);
5
+ };
6
+ }
7
+ const { toString: T } = Object.prototype, { getPrototypeOf: A } = Object, { iterator: g, toStringTag: S } = Symbol, O = /* @__PURE__ */ ((e) => (t) => {
8
+ const n = T.call(t);
9
+ return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
10
+ })(/* @__PURE__ */ Object.create(null)), f = (e) => (e = e.toLowerCase(), (t) => O(t) === e), F = (e) => (t) => typeof t === e, { isArray: p } = Array, a = F("undefined");
11
+ function d(e) {
12
+ return e !== null && !a(e) && e.constructor !== null && !a(e.constructor) && c(e.constructor.isBuffer) && e.constructor.isBuffer(e);
13
+ }
14
+ const B = f("ArrayBuffer");
15
+ function M(e) {
16
+ let t;
17
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && B(e.buffer), t;
18
+ }
19
+ const k = F("string"), c = F("function"), P = F("number"), y = (e) => e !== null && typeof e == "object", U = (e) => e === !0 || e === !1, w = (e) => {
20
+ if (O(e) !== "object")
21
+ return !1;
22
+ const t = A(e);
23
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(S in e) && !(g in e);
24
+ }, N = (e) => {
25
+ if (!y(e) || d(e))
26
+ return !1;
27
+ try {
28
+ return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
29
+ } catch {
30
+ return !1;
31
+ }
32
+ }, I = f("Date"), V = f("File"), _ = f("Blob"), q = f("FileList"), H = (e) => y(e) && c(e.pipe), z = (e) => {
33
+ let t;
34
+ return e && (typeof FormData == "function" && e instanceof FormData || c(e.append) && ((t = O(e)) === "formdata" || // detect form-data instance
35
+ t === "object" && c(e.toString) && e.toString() === "[object FormData]"));
36
+ }, J = f("URLSearchParams"), [K, $, W, G] = [
37
+ "ReadableStream",
38
+ "Request",
39
+ "Response",
40
+ "Headers"
41
+ ].map(f), Q = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
42
+ function m(e, t, { allOwnKeys: n = !1 } = {}) {
43
+ if (e === null || typeof e > "u")
44
+ return;
45
+ let r, s;
46
+ if (typeof e != "object" && (e = [e]), p(e))
47
+ for (r = 0, s = e.length; r < s; r++)
48
+ t.call(null, e[r], r, e);
49
+ else {
50
+ if (d(e))
51
+ return;
52
+ const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
53
+ let l;
54
+ for (r = 0; r < i; r++)
55
+ l = o[r], t.call(null, e[l], l, e);
56
+ }
57
+ }
58
+ function E(e, t) {
59
+ if (d(e))
60
+ return null;
61
+ t = t.toLowerCase();
62
+ const n = Object.keys(e);
63
+ let r = n.length, s;
64
+ for (; r-- > 0; )
65
+ if (s = n[r], t === s.toLowerCase())
66
+ return s;
67
+ return null;
68
+ }
69
+ const u = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, L = (e) => !a(e) && e !== u;
70
+ function h() {
71
+ const { caseless: e, skipUndefined: t } = L(this) && this || {}, n = {}, r = (s, o) => {
72
+ const i = e && E(n, o) || o;
73
+ w(n[i]) && w(s) ? n[i] = h(n[i], s) : w(s) ? n[i] = h({}, s) : p(s) ? n[i] = s.slice() : (!t || !a(s)) && (n[i] = s);
74
+ };
75
+ for (let s = 0, o = arguments.length; s < o; s++)
76
+ arguments[s] && m(arguments[s], r);
77
+ return n;
78
+ }
79
+ const X = (e, t, n, { allOwnKeys: r } = {}) => (m(
80
+ t,
81
+ (s, o) => {
82
+ n && c(s) ? e[o] = R(s, n) : e[o] = s;
83
+ },
84
+ { allOwnKeys: r }
85
+ ), e), Y = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Z = (e, t, n, r) => {
86
+ e.prototype = Object.create(
87
+ t.prototype,
88
+ r
89
+ ), e.prototype.constructor = e, Object.defineProperty(e, "super", {
90
+ value: t.prototype
91
+ }), n && Object.assign(e.prototype, n);
92
+ }, j = (e, t, n, r) => {
93
+ let s, o, i;
94
+ const l = {};
95
+ if (t = t || {}, e == null) return t;
96
+ do {
97
+ for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
98
+ i = s[o], (!r || r(i, e, t)) && !l[i] && (t[i] = e[i], l[i] = !0);
99
+ e = n !== !1 && A(e);
100
+ } while (e && (!n || n(e, t)) && e !== Object.prototype);
101
+ return t;
102
+ }, v = (e, t, n) => {
103
+ e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
104
+ const r = e.indexOf(t, n);
105
+ return r !== -1 && r === n;
106
+ }, ee = (e) => {
107
+ if (!e) return null;
108
+ if (p(e)) return e;
109
+ let t = e.length;
110
+ if (!P(t)) return null;
111
+ const n = new Array(t);
112
+ for (; t-- > 0; )
113
+ n[t] = e[t];
114
+ return n;
115
+ }, te = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && A(Uint8Array)), ne = (e, t) => {
116
+ const r = (e && e[g]).call(e);
117
+ let s;
118
+ for (; (s = r.next()) && !s.done; ) {
119
+ const o = s.value;
120
+ t.call(e, o[0], o[1]);
121
+ }
122
+ }, re = (e, t) => {
123
+ let n;
124
+ const r = [];
125
+ for (; (n = e.exec(t)) !== null; )
126
+ r.push(n);
127
+ return r;
128
+ }, se = f("HTMLFormElement"), oe = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, r, s) {
129
+ return r.toUpperCase() + s;
130
+ }), x = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), ie = f("RegExp"), C = (e, t) => {
131
+ const n = Object.getOwnPropertyDescriptors(e), r = {};
132
+ m(n, (s, o) => {
133
+ let i;
134
+ (i = t(s, o, e)) !== !1 && (r[o] = i || s);
135
+ }), Object.defineProperties(e, r);
136
+ }, ce = (e) => {
137
+ C(e, (t, n) => {
138
+ if (c(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
139
+ return !1;
140
+ const r = e[n];
141
+ if (c(r)) {
142
+ if (t.enumerable = !1, "writable" in t) {
143
+ t.writable = !1;
144
+ return;
145
+ }
146
+ t.set || (t.set = () => {
147
+ throw Error("Can not rewrite read-only method '" + n + "'");
148
+ });
149
+ }
150
+ });
151
+ }, fe = (e, t) => {
152
+ const n = {}, r = (s) => {
153
+ s.forEach((o) => {
154
+ n[o] = !0;
155
+ });
156
+ };
157
+ return p(e) ? r(e) : r(String(e).split(t)), n;
158
+ }, le = () => {
159
+ }, ue = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
160
+ function ae(e) {
161
+ return !!(e && c(e.append) && e[S] === "FormData" && e[g]);
162
+ }
163
+ const pe = (e) => {
164
+ const t = new Array(10), n = (r, s) => {
165
+ if (y(r)) {
166
+ if (t.indexOf(r) >= 0)
167
+ return;
168
+ if (d(r))
169
+ return r;
170
+ if (!("toJSON" in r)) {
171
+ t[s] = r;
172
+ const o = p(r) ? [] : {};
173
+ return m(r, (i, l) => {
174
+ const b = n(i, s + 1);
175
+ !a(b) && (o[l] = b);
176
+ }), t[s] = void 0, o;
177
+ }
178
+ }
179
+ return r;
180
+ };
181
+ return n(e, 0);
182
+ }, de = f("AsyncFunction"), ye = (e) => e && (y(e) || c(e)) && c(e.then) && c(e.catch), D = ((e, t) => e ? setImmediate : t ? ((n, r) => (u.addEventListener(
183
+ "message",
184
+ ({ source: s, data: o }) => {
185
+ s === u && o === n && r.length && r.shift()();
186
+ },
187
+ !1
188
+ ), (s) => {
189
+ r.push(s), u.postMessage(n, "*");
190
+ }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", c(u.postMessage)), me = typeof queueMicrotask < "u" ? queueMicrotask.bind(u) : typeof process < "u" && process.nextTick || D, we = (e) => e != null && c(e[g]), ge = {
191
+ isArray: p,
192
+ isArrayBuffer: B,
193
+ isBuffer: d,
194
+ isFormData: z,
195
+ isArrayBufferView: M,
196
+ isString: k,
197
+ isNumber: P,
198
+ isBoolean: U,
199
+ isObject: y,
200
+ isPlainObject: w,
201
+ isEmptyObject: N,
202
+ isReadableStream: K,
203
+ isRequest: $,
204
+ isResponse: W,
205
+ isHeaders: G,
206
+ isUndefined: a,
207
+ isDate: I,
208
+ isFile: V,
209
+ isBlob: _,
210
+ isRegExp: ie,
211
+ isFunction: c,
212
+ isStream: H,
213
+ isURLSearchParams: J,
214
+ isTypedArray: te,
215
+ isFileList: q,
216
+ forEach: m,
217
+ merge: h,
218
+ extend: X,
219
+ trim: Q,
220
+ stripBOM: Y,
221
+ inherits: Z,
222
+ toFlatObject: j,
223
+ kindOf: O,
224
+ kindOfTest: f,
225
+ endsWith: v,
226
+ toArray: ee,
227
+ forEachEntry: ne,
228
+ matchAll: re,
229
+ isHTMLForm: se,
230
+ hasOwnProperty: x,
231
+ hasOwnProp: x,
232
+ // an alias to avoid ESLint no-prototype-builtins detection
233
+ reduceDescriptors: C,
234
+ freezeMethods: ce,
235
+ toObjectSet: fe,
236
+ toCamelCase: oe,
237
+ noop: le,
238
+ toFiniteNumber: ue,
239
+ findKey: E,
240
+ global: u,
241
+ isContextDefined: L,
242
+ isSpecCompliantForm: ae,
243
+ toJSONObject: pe,
244
+ isAsyncFn: de,
245
+ isThenable: ye,
246
+ setImmediate: D,
247
+ asap: me,
248
+ isIterable: we
249
+ };
250
+ export {
251
+ ge as A,
252
+ R as b
253
+ };
@@ -0,0 +1,64 @@
1
+ /* 2025-11-07 13:23:48 */
2
+ import { A as c } from "./BJvTEV6n.js";
3
+ function r(t, i, o, a, e) {
4
+ Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", i && (this.code = i), o && (this.config = o), a && (this.request = a), e && (this.response = e, this.status = e.status ? e.status : null);
5
+ }
6
+ c.inherits(r, Error, {
7
+ toJSON: function() {
8
+ return {
9
+ // Standard
10
+ message: this.message,
11
+ name: this.name,
12
+ // Microsoft
13
+ description: this.description,
14
+ number: this.number,
15
+ // Mozilla
16
+ fileName: this.fileName,
17
+ lineNumber: this.lineNumber,
18
+ columnNumber: this.columnNumber,
19
+ stack: this.stack,
20
+ // Axios
21
+ config: c.toJSONObject(this.config),
22
+ code: this.code,
23
+ status: this.status
24
+ };
25
+ }
26
+ });
27
+ const u = r.prototype, R = {};
28
+ [
29
+ "ERR_BAD_OPTION_VALUE",
30
+ "ERR_BAD_OPTION",
31
+ "ECONNABORTED",
32
+ "ETIMEDOUT",
33
+ "ERR_NETWORK",
34
+ "ERR_FR_TOO_MANY_REDIRECTS",
35
+ "ERR_DEPRECATED",
36
+ "ERR_BAD_RESPONSE",
37
+ "ERR_BAD_REQUEST",
38
+ "ERR_CANCELED",
39
+ "ERR_NOT_SUPPORT",
40
+ "ERR_INVALID_URL"
41
+ ].forEach((t) => {
42
+ R[t] = { value: t };
43
+ });
44
+ Object.defineProperties(r, R);
45
+ Object.defineProperty(u, "isAxiosError", { value: !0 });
46
+ r.from = (t, i, o, a, e, E) => {
47
+ const s = Object.create(u);
48
+ c.toFlatObject(
49
+ t,
50
+ s,
51
+ function(m) {
52
+ return m !== Error.prototype;
53
+ },
54
+ (n) => n !== "isAxiosError"
55
+ );
56
+ const h = t && t.message ? t.message : "Error", l = i == null && t ? t.code : i;
57
+ return r.call(s, h, l, o, a, e), t && s.cause == null && Object.defineProperty(s, "cause", {
58
+ value: t,
59
+ configurable: !0
60
+ }), s.name = t && t.name || "Error", E && Object.assign(s, E), s;
61
+ };
62
+ export {
63
+ r as A
64
+ };