@hkyhy/marsun-components-core 0.1.18 → 0.1.21

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 (200) hide show
  1. package/dist/components/AgentHub/Chat/Detail/ChatAgentFab/index.d.ts +24 -0
  2. package/dist/components/AgentHub/Chat/Detail/ChatAgentFab/index.js +95 -0
  3. package/dist/components/AgentHub/Chat/Detail/ChatAgentFab/index.js.map +1 -0
  4. package/dist/components/AgentHub/Chat/Detail/ChatAgentFab/style.module.scss.js +15 -0
  5. package/dist/components/AgentHub/Chat/Detail/ChatAgentFab/style.module.scss.js.map +1 -0
  6. package/dist/components/AgentHub/Chat/Detail/ChatAgentFabLayout/index.d.ts +16 -0
  7. package/dist/components/AgentHub/Chat/Detail/ChatAgentFabLayout/index.js +37 -0
  8. package/dist/components/AgentHub/Chat/Detail/ChatAgentFabLayout/index.js.map +1 -0
  9. package/dist/components/AgentHub/Chat/Detail/ChatAgentFabLayout/style.module.scss.js +9 -0
  10. package/dist/components/AgentHub/Chat/Detail/ChatAgentFabLayout/style.module.scss.js.map +1 -0
  11. package/dist/components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/index.d.ts +14 -0
  12. package/dist/components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/index.js +79 -0
  13. package/dist/components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/index.js.map +1 -0
  14. package/dist/components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/style.module.scss.js +18 -0
  15. package/dist/components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/style.module.scss.js.map +1 -0
  16. package/dist/components/AgentHub/Chat/Detail/ChatInput/index.d.ts +2 -0
  17. package/dist/components/AgentHub/Chat/Detail/ChatInput/index.js +60 -49
  18. package/dist/components/AgentHub/Chat/Detail/ChatInput/index.js.map +1 -1
  19. package/dist/components/AgentHub/Chat/Detail/ChatInput/style.module.scss.js +7 -6
  20. package/dist/components/AgentHub/Chat/Detail/ChatInput/style.module.scss.js.map +1 -1
  21. package/dist/components/AgentHub/Chat/Detail/ChatPanel/index.d.ts +17 -4
  22. package/dist/components/AgentHub/Chat/Detail/ChatPanel/index.js +104 -68
  23. package/dist/components/AgentHub/Chat/Detail/ChatPanel/index.js.map +1 -1
  24. package/dist/components/AgentHub/Chat/Detail/ChatPanel/style.module.scss.js +13 -8
  25. package/dist/components/AgentHub/Chat/Detail/ChatPanel/style.module.scss.js.map +1 -1
  26. package/dist/components/AgentHub/Chat/Detail/ChatSuggestionRow/index.js +5 -4
  27. package/dist/components/AgentHub/Chat/Detail/ChatSuggestionRow/index.js.map +1 -1
  28. package/dist/components/AgentHub/Chat/Detail/ChatSuggestionRow/style.module.scss.js +2 -2
  29. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/ChatWidgetSparkline.d.ts +7 -0
  30. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/ChatWidgetSparkline.js +55 -0
  31. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/ChatWidgetSparkline.js.map +1 -0
  32. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/index.d.ts +10 -0
  33. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/index.js +120 -0
  34. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/index.js.map +1 -0
  35. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/style.module.scss.js +32 -0
  36. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/style.module.scss.js.map +1 -0
  37. package/dist/components/AgentHub/Chat/Detail/CitationContent/style.module.scss.js +2 -2
  38. package/dist/components/AgentHub/Chat/Detail/MessageItem/index.js +130 -114
  39. package/dist/components/AgentHub/Chat/Detail/MessageItem/index.js.map +1 -1
  40. package/dist/components/AgentHub/Chat/Detail/MessageItem/style.module.scss.js +20 -18
  41. package/dist/components/AgentHub/Chat/Detail/MessageItem/style.module.scss.js.map +1 -1
  42. package/dist/components/AgentHub/Chat/Detail/index.d.ts +8 -0
  43. package/dist/components/AgentHub/Chat/hooks/index.d.ts +2 -0
  44. package/dist/components/AgentHub/Chat/hooks/useCitationPanel.d.ts +11 -0
  45. package/dist/components/AgentHub/Chat/hooks/useCitationPanel.js +22 -0
  46. package/dist/components/AgentHub/Chat/hooks/useCitationPanel.js.map +1 -0
  47. package/dist/components/AgentHub/types.d.ts +21 -0
  48. package/dist/components/Auth/ProtectedRoute.js +20 -14
  49. package/dist/components/Auth/ProtectedRoute.js.map +1 -1
  50. package/dist/components/File/index.d.ts +2 -0
  51. package/dist/components/File/utils/download.d.ts +20 -0
  52. package/dist/components/File/utils/download.js +30 -0
  53. package/dist/components/File/utils/download.js.map +1 -0
  54. package/dist/components/Filter/FilterDateRange/index.d.ts +6 -1
  55. package/dist/components/Filter/FilterDateRange/index.js +84 -62
  56. package/dist/components/Filter/FilterDateRange/index.js.map +1 -1
  57. package/dist/components/Filter/types.d.ts +1 -0
  58. package/dist/components/Filter/types.js.map +1 -1
  59. package/dist/components/Icons/index.d.ts +3 -1
  60. package/dist/components/Icons/index.js +157 -151
  61. package/dist/components/Icons/index.js.map +1 -1
  62. package/dist/index.d.ts +14 -0
  63. package/dist/index.js +377 -298
  64. package/dist/index.js.map +1 -1
  65. package/dist/marsun-components-core.css +1 -1
  66. package/dist/node_modules/axios/index.js +41 -0
  67. package/dist/node_modules/axios/index.js.map +1 -0
  68. package/dist/node_modules/axios/lib/adapters/adapters.js +66 -0
  69. package/dist/node_modules/axios/lib/adapters/adapters.js.map +1 -0
  70. package/dist/node_modules/axios/lib/adapters/fetch.js +324 -0
  71. package/dist/node_modules/axios/lib/adapters/fetch.js.map +1 -0
  72. package/dist/node_modules/axios/lib/adapters/xhr.js +86 -0
  73. package/dist/node_modules/axios/lib/adapters/xhr.js.map +1 -0
  74. package/dist/node_modules/axios/lib/axios.js +47 -0
  75. package/dist/node_modules/axios/lib/axios.js.map +1 -0
  76. package/dist/node_modules/axios/lib/cancel/CancelToken.js +78 -0
  77. package/dist/node_modules/axios/lib/cancel/CancelToken.js.map +1 -0
  78. package/dist/node_modules/axios/lib/cancel/CanceledError.js +19 -0
  79. package/dist/node_modules/axios/lib/cancel/CanceledError.js.map +1 -0
  80. package/dist/node_modules/axios/lib/cancel/isCancel.js +7 -0
  81. package/dist/node_modules/axios/lib/cancel/isCancel.js.map +1 -0
  82. package/dist/node_modules/axios/lib/core/Axios.js +168 -0
  83. package/dist/node_modules/axios/lib/core/Axios.js.map +1 -0
  84. package/dist/node_modules/axios/lib/core/AxiosError.js +110 -0
  85. package/dist/node_modules/axios/lib/core/AxiosError.js.map +1 -0
  86. package/dist/node_modules/axios/lib/core/AxiosHeaders.js +193 -0
  87. package/dist/node_modules/axios/lib/core/AxiosHeaders.js.map +1 -0
  88. package/dist/node_modules/axios/lib/core/InterceptorManager.js +60 -0
  89. package/dist/node_modules/axios/lib/core/InterceptorManager.js.map +1 -0
  90. package/dist/node_modules/axios/lib/core/buildFullPath.js +30 -0
  91. package/dist/node_modules/axios/lib/core/buildFullPath.js.map +1 -0
  92. package/dist/node_modules/axios/lib/core/dispatchRequest.js +43 -0
  93. package/dist/node_modules/axios/lib/core/dispatchRequest.js.map +1 -0
  94. package/dist/node_modules/axios/lib/core/mergeConfig.js +94 -0
  95. package/dist/node_modules/axios/lib/core/mergeConfig.js.map +1 -0
  96. package/dist/node_modules/axios/lib/core/settle.js +15 -0
  97. package/dist/node_modules/axios/lib/core/settle.js.map +1 -0
  98. package/dist/node_modules/axios/lib/core/transformData.js +14 -0
  99. package/dist/node_modules/axios/lib/core/transformData.js.map +1 -0
  100. package/dist/node_modules/axios/lib/defaults/index.js +96 -0
  101. package/dist/node_modules/axios/lib/defaults/index.js.map +1 -0
  102. package/dist/node_modules/axios/lib/defaults/transitional.js +12 -0
  103. package/dist/node_modules/axios/lib/defaults/transitional.js.map +1 -0
  104. package/dist/node_modules/axios/lib/env/data.js +5 -0
  105. package/dist/node_modules/axios/lib/env/data.js.map +1 -0
  106. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +31 -0
  107. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +1 -0
  108. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +78 -0
  109. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js.map +1 -0
  110. package/dist/node_modules/axios/lib/helpers/bind.js +9 -0
  111. package/dist/node_modules/axios/lib/helpers/bind.js.map +1 -0
  112. package/dist/node_modules/axios/lib/helpers/buildURL.js +24 -0
  113. package/dist/node_modules/axios/lib/helpers/buildURL.js.map +1 -0
  114. package/dist/node_modules/axios/lib/helpers/combineURLs.js +7 -0
  115. package/dist/node_modules/axios/lib/helpers/combineURLs.js.map +1 -0
  116. package/dist/node_modules/axios/lib/helpers/composeSignals.js +33 -0
  117. package/dist/node_modules/axios/lib/helpers/composeSignals.js.map +1 -0
  118. package/dist/node_modules/axios/lib/helpers/cookies.js +44 -0
  119. package/dist/node_modules/axios/lib/helpers/cookies.js.map +1 -0
  120. package/dist/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +43 -0
  121. package/dist/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js.map +1 -0
  122. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +47 -0
  123. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js.map +1 -0
  124. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +7 -0
  125. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -0
  126. package/dist/node_modules/axios/lib/helpers/isAxiosError.js +8 -0
  127. package/dist/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -0
  128. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +9 -0
  129. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -0
  130. package/dist/node_modules/axios/lib/helpers/null.js +5 -0
  131. package/dist/node_modules/axios/lib/helpers/null.js.map +1 -0
  132. package/dist/node_modules/axios/lib/helpers/parseHeaders.js +31 -0
  133. package/dist/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -0
  134. package/dist/node_modules/axios/lib/helpers/parseProtocol.js +8 -0
  135. package/dist/node_modules/axios/lib/helpers/parseProtocol.js.map +1 -0
  136. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +41 -0
  137. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js.map +1 -0
  138. package/dist/node_modules/axios/lib/helpers/resolveConfig.js +54 -0
  139. package/dist/node_modules/axios/lib/helpers/resolveConfig.js.map +1 -0
  140. package/dist/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +34 -0
  141. package/dist/node_modules/axios/lib/helpers/sanitizeHeaderValue.js.map +1 -0
  142. package/dist/node_modules/axios/lib/helpers/speedometer.js +20 -0
  143. package/dist/node_modules/axios/lib/helpers/speedometer.js.map +1 -0
  144. package/dist/node_modules/axios/lib/helpers/spread.js +9 -0
  145. package/dist/node_modules/axios/lib/helpers/spread.js.map +1 -0
  146. package/dist/node_modules/axios/lib/helpers/throttle.js +16 -0
  147. package/dist/node_modules/axios/lib/helpers/throttle.js.map +1 -0
  148. package/dist/node_modules/axios/lib/helpers/toFormData.js +115 -0
  149. package/dist/node_modules/axios/lib/helpers/toFormData.js.map +1 -0
  150. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +15 -0
  151. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js.map +1 -0
  152. package/dist/node_modules/axios/lib/helpers/trackStream.js +67 -0
  153. package/dist/node_modules/axios/lib/helpers/trackStream.js.map +1 -0
  154. package/dist/node_modules/axios/lib/helpers/validator.js +58 -0
  155. package/dist/node_modules/axios/lib/helpers/validator.js.map +1 -0
  156. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +5 -0
  157. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js.map +1 -0
  158. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +5 -0
  159. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js.map +1 -0
  160. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +6 -0
  161. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js.map +1 -0
  162. package/dist/node_modules/axios/lib/platform/browser/index.js +16 -0
  163. package/dist/node_modules/axios/lib/platform/browser/index.js.map +1 -0
  164. package/dist/node_modules/axios/lib/platform/common/utils.js +10 -0
  165. package/dist/node_modules/axios/lib/platform/common/utils.js.map +1 -0
  166. package/dist/node_modules/axios/lib/platform/index.js +10 -0
  167. package/dist/node_modules/axios/lib/platform/index.js.map +1 -0
  168. package/dist/node_modules/axios/lib/utils.js +303 -0
  169. package/dist/node_modules/axios/lib/utils.js.map +1 -0
  170. package/dist/styles/global.css +1 -1
  171. package/dist/types/auth.d.ts +18 -0
  172. package/dist/utils/authRedirect.d.ts +6 -0
  173. package/dist/utils/authRedirect.js +33 -0
  174. package/dist/utils/authRedirect.js.map +1 -0
  175. package/dist/utils/createMarsunRequest.d.ts +26 -0
  176. package/dist/utils/createMarsunRequest.js +53 -0
  177. package/dist/utils/createMarsunRequest.js.map +1 -0
  178. package/dist/utils/date.d.ts +16 -0
  179. package/dist/utils/date.js +36 -0
  180. package/dist/utils/date.js.map +1 -0
  181. package/dist/utils/department/departmentPath.d.ts +18 -0
  182. package/dist/utils/department/departmentPath.js +63 -0
  183. package/dist/utils/department/departmentPath.js.map +1 -0
  184. package/dist/utils/department/departmentScope.d.ts +20 -0
  185. package/dist/utils/department/departmentScope.js +63 -0
  186. package/dist/utils/department/departmentScope.js.map +1 -0
  187. package/dist/utils/department/types.d.ts +12 -0
  188. package/dist/utils/permissionStorage.d.ts +13 -0
  189. package/dist/utils/permissionStorage.js +43 -0
  190. package/dist/utils/permissionStorage.js.map +1 -0
  191. package/dist/utils/personOption.d.ts +49 -0
  192. package/dist/utils/personOption.js +90 -0
  193. package/dist/utils/personOption.js.map +1 -0
  194. package/dist/utils/sessionActivity.d.ts +5 -0
  195. package/dist/utils/sessionActivity.js +18 -0
  196. package/dist/utils/sessionActivity.js.map +1 -0
  197. package/dist/utils/user/employeeId.d.ts +8 -0
  198. package/dist/utils/user/employeeId.js +14 -0
  199. package/dist/utils/user/employeeId.js.map +1 -0
  200. package/package.json +26 -1
@@ -0,0 +1,60 @@
1
+ import n from "../utils.js";
2
+ class a {
3
+ constructor() {
4
+ this.handlers = [];
5
+ }
6
+ /**
7
+ * Add a new interceptor to the stack
8
+ *
9
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
10
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
11
+ * @param {Object} options The options for the interceptor, synchronous and runWhen
12
+ *
13
+ * @return {Number} An ID used to remove interceptor later
14
+ */
15
+ use(s, h, r) {
16
+ return this.handlers.push({
17
+ fulfilled: s,
18
+ rejected: h,
19
+ synchronous: r ? r.synchronous : !1,
20
+ runWhen: r ? r.runWhen : null
21
+ }), this.handlers.length - 1;
22
+ }
23
+ /**
24
+ * Remove an interceptor from the stack
25
+ *
26
+ * @param {Number} id The ID that was returned by `use`
27
+ *
28
+ * @returns {void}
29
+ */
30
+ eject(s) {
31
+ this.handlers[s] && (this.handlers[s] = null);
32
+ }
33
+ /**
34
+ * Clear all interceptors from the stack
35
+ *
36
+ * @returns {void}
37
+ */
38
+ clear() {
39
+ this.handlers && (this.handlers = []);
40
+ }
41
+ /**
42
+ * Iterate over all the registered interceptors
43
+ *
44
+ * This method is particularly useful for skipping over any
45
+ * interceptors that may have become `null` calling `eject`.
46
+ *
47
+ * @param {Function} fn The function to call for each interceptor
48
+ *
49
+ * @returns {void}
50
+ */
51
+ forEach(s) {
52
+ n.forEach(this.handlers, function(r) {
53
+ r !== null && s(r);
54
+ });
55
+ }
56
+ }
57
+ export {
58
+ a as default
59
+ };
60
+ //# sourceMappingURL=InterceptorManager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InterceptorManager.js","sources":["../../../../../node_modules/axios/lib/core/InterceptorManager.js"],"sourcesContent":["'use strict';\n\nimport utils from '../utils.js';\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n * @param {Object} options The options for the interceptor, synchronous and runWhen\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null,\n });\n return this.handlers.length - 1;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {void}\n */\n eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n }\n}\n\nexport default InterceptorManager;\n"],"names":["InterceptorManager","fulfilled","rejected","options","id","fn","utils","h"],"mappings":";AAIA,MAAMA,EAAmB;AAAA,EACvB,cAAc;AACZ,SAAK,WAAW,CAAA;AAAA,EAClB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWA,IAAIC,GAAWC,GAAUC,GAAS;AAChC,gBAAK,SAAS,KAAK;AAAA,MACjB,WAAAF;AAAA,MACA,UAAAC;AAAA,MACA,aAAaC,IAAUA,EAAQ,cAAc;AAAA,MAC7C,SAASA,IAAUA,EAAQ,UAAU;AAAA,IAC3C,CAAK,GACM,KAAK,SAAS,SAAS;AAAA,EAChC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,MAAMC,GAAI;AACR,IAAI,KAAK,SAASA,CAAE,MAClB,KAAK,SAASA,CAAE,IAAI;AAAA,EAExB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,QAAQ;AACN,IAAI,KAAK,aACP,KAAK,WAAW,CAAA;AAAA,EAEpB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYA,QAAQC,GAAI;AACV,IAAAC,EAAM,QAAQ,KAAK,UAAU,SAAwBC,GAAG;AACtD,MAAIA,MAAM,QACRF,EAAGE,CAAC;AAAA,IAER,CAAC;AAAA,EACH;AACF;","x_google_ignoreList":[0]}
@@ -0,0 +1,30 @@
1
+ import i from "./AxiosError.js";
2
+ import c from "../helpers/isAbsoluteURL.js";
3
+ import a from "../helpers/combineURLs.js";
4
+ const s = /^https?:(?!\/\/)/i, f = /[\t\n\r]/g;
5
+ function p(t) {
6
+ let o = 0;
7
+ for (; o < t.length && t.charCodeAt(o) <= 32; )
8
+ o++;
9
+ return t.slice(o);
10
+ }
11
+ function m(t) {
12
+ return p(t).replace(f, "");
13
+ }
14
+ function n(t, o) {
15
+ if (typeof t == "string" && s.test(m(t)))
16
+ throw new i(
17
+ 'Invalid URL: missing "//" after protocol',
18
+ i.ERR_INVALID_URL,
19
+ o
20
+ );
21
+ }
22
+ function P(t, o, l, r) {
23
+ n(o, r);
24
+ let e = !c(o);
25
+ return t && (e || l === !1) ? (n(t, r), a(t, o)) : o;
26
+ }
27
+ export {
28
+ P as default
29
+ };
30
+ //# sourceMappingURL=buildFullPath.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildFullPath.js","sources":["../../../../../node_modules/axios/lib/core/buildFullPath.js"],"sourcesContent":["'use strict';\n\nimport AxiosError from './AxiosError.js';\nimport isAbsoluteURL from '../helpers/isAbsoluteURL.js';\nimport combineURLs from '../helpers/combineURLs.js';\n\nconst malformedHttpProtocol = /^https?:(?!\\/\\/)/i;\nconst httpProtocolControlCharacters = /[\\t\\n\\r]/g;\n\nfunction stripLeadingC0ControlOrSpace(url) {\n let i = 0;\n while (i < url.length && url.charCodeAt(i) <= 0x20) {\n i++;\n }\n return url.slice(i);\n}\n\nfunction normalizeURLForProtocolCheck(url) {\n return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, '');\n}\n\nfunction assertValidHttpProtocolURL(url, config) {\n if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) {\n throw new AxiosError(\n 'Invalid URL: missing \"//\" after protocol',\n AxiosError.ERR_INVALID_URL,\n config\n );\n }\n}\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n *\n * @returns {string} The combined full path\n */\nexport default function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {\n assertValidHttpProtocolURL(requestedURL, config);\n let isRelativeUrl = !isAbsoluteURL(requestedURL);\n if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) {\n assertValidHttpProtocolURL(baseURL, config);\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n}\n"],"names":["malformedHttpProtocol","httpProtocolControlCharacters","stripLeadingC0ControlOrSpace","url","i","normalizeURLForProtocolCheck","assertValidHttpProtocolURL","config","AxiosError","buildFullPath","baseURL","requestedURL","allowAbsoluteUrls","isRelativeUrl","isAbsoluteURL","combineURLs"],"mappings":";;;AAMA,MAAMA,IAAwB,qBACxBC,IAAgC;AAEtC,SAASC,EAA6BC,GAAK;AACzC,MAAIC,IAAI;AACR,SAAOA,IAAID,EAAI,UAAUA,EAAI,WAAWC,CAAC,KAAK;AAC5C,IAAAA;AAEF,SAAOD,EAAI,MAAMC,CAAC;AACpB;AAEA,SAASC,EAA6BF,GAAK;AACzC,SAAOD,EAA6BC,CAAG,EAAE,QAAQF,GAA+B,EAAE;AACpF;AAEA,SAASK,EAA2BH,GAAKI,GAAQ;AAC/C,MAAI,OAAOJ,KAAQ,YAAYH,EAAsB,KAAKK,EAA6BF,CAAG,CAAC;AACzF,UAAM,IAAIK;AAAA,MACR;AAAA,MACAA,EAAW;AAAA,MACXD;AAAA,IACN;AAEA;AAYe,SAASE,EAAcC,GAASC,GAAcC,GAAmBL,GAAQ;AACtF,EAAAD,EAA2BK,GAAcJ,CAAM;AAC/C,MAAIM,IAAgB,CAACC,EAAcH,CAAY;AAC/C,SAAID,MAAYG,KAAiBD,MAAsB,OACrDN,EAA2BI,GAASH,CAAM,GACnCQ,EAAYL,GAASC,CAAY,KAEnCA;AACT;","x_google_ignoreList":[0]}
@@ -0,0 +1,43 @@
1
+ import r from "./transformData.js";
2
+ import p from "../cancel/isCancel.js";
3
+ import l from "../defaults/index.js";
4
+ import m from "../cancel/CanceledError.js";
5
+ import a from "./AxiosHeaders.js";
6
+ import o from "../adapters/adapters.js";
7
+ function s(e) {
8
+ if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
9
+ throw new m(null, e);
10
+ }
11
+ function y(e) {
12
+ return s(e), e.headers = a.from(e.headers), e.data = r.call(e, e.transformRequest), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), o.getAdapter(e.adapter || l.adapter, e)(e).then(
13
+ function(t) {
14
+ s(e), e.response = t;
15
+ try {
16
+ t.data = r.call(e, e.transformResponse, t);
17
+ } finally {
18
+ delete e.response;
19
+ }
20
+ return t.headers = a.from(t.headers), t;
21
+ },
22
+ function(t) {
23
+ if (!p(t) && (s(e), t && t.response)) {
24
+ e.response = t.response;
25
+ try {
26
+ t.response.data = r.call(
27
+ e,
28
+ e.transformResponse,
29
+ t.response
30
+ );
31
+ } finally {
32
+ delete e.response;
33
+ }
34
+ t.response.headers = a.from(t.response.headers);
35
+ }
36
+ return Promise.reject(t);
37
+ }
38
+ );
39
+ }
40
+ export {
41
+ y as default
42
+ };
43
+ //# sourceMappingURL=dispatchRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dispatchRequest.js","sources":["../../../../../node_modules/axios/lib/core/dispatchRequest.js"],"sourcesContent":["'use strict';\n\nimport transformData from './transformData.js';\nimport isCancel from '../cancel/isCancel.js';\nimport defaults from '../defaults/index.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport adapters from '../adapters/adapters.js';\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n *\n * @param {Object} config The config that is to be used for the request\n *\n * @returns {void}\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError(null, config);\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n *\n * @returns {Promise} The Promise to be fulfilled\n */\nexport default function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n config.headers = AxiosHeaders.from(config.headers);\n\n // Transform request data\n config.data = transformData.call(config, config.transformRequest);\n\n if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {\n config.headers.setContentType('application/x-www-form-urlencoded', false);\n }\n\n const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config);\n\n return adapter(config).then(\n function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Expose the current response on config so that transformResponse can\n // attach it to any AxiosError it throws (e.g. on JSON parse failure).\n // We clean it up afterwards to avoid polluting the config object.\n config.response = response;\n try {\n response.data = transformData.call(config, config.transformResponse, response);\n } finally {\n delete config.response;\n }\n\n response.headers = AxiosHeaders.from(response.headers);\n\n return response;\n },\n function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n config.response = reason.response;\n try {\n reason.response.data = transformData.call(\n config,\n config.transformResponse,\n reason.response\n );\n } finally {\n delete config.response;\n }\n reason.response.headers = AxiosHeaders.from(reason.response.headers);\n }\n }\n\n return Promise.reject(reason);\n }\n );\n}\n"],"names":["throwIfCancellationRequested","config","CanceledError","dispatchRequest","AxiosHeaders","transformData","adapters","defaults","response","reason","isCancel"],"mappings":";;;;;;AAgBA,SAASA,EAA6BC,GAAQ;AAK5C,MAJIA,EAAO,eACTA,EAAO,YAAY,iBAAgB,GAGjCA,EAAO,UAAUA,EAAO,OAAO;AACjC,UAAM,IAAIC,EAAc,MAAMD,CAAM;AAExC;AASe,SAASE,EAAgBF,GAAQ;AAC9C,SAAAD,EAA6BC,CAAM,GAEnCA,EAAO,UAAUG,EAAa,KAAKH,EAAO,OAAO,GAGjDA,EAAO,OAAOI,EAAc,KAAKJ,GAAQA,EAAO,gBAAgB,GAE5D,CAAC,QAAQ,OAAO,OAAO,EAAE,QAAQA,EAAO,MAAM,MAAM,MACtDA,EAAO,QAAQ,eAAe,qCAAqC,EAAK,GAG1DK,EAAS,WAAWL,EAAO,WAAWM,EAAS,SAASN,CAAM,EAE/DA,CAAM,EAAE;AAAA,IACrB,SAA6BO,GAAU;AACrC,MAAAR,EAA6BC,CAAM,GAKnCA,EAAO,WAAWO;AAClB,UAAI;AACF,QAAAA,EAAS,OAAOH,EAAc,KAAKJ,GAAQA,EAAO,mBAAmBO,CAAQ;AAAA,MAC/E,UAAC;AACC,eAAOP,EAAO;AAAA,MAChB;AAEA,aAAAO,EAAS,UAAUJ,EAAa,KAAKI,EAAS,OAAO,GAE9CA;AAAA,IACT;AAAA,IACA,SAA4BC,GAAQ;AAClC,UAAI,CAACC,EAASD,CAAM,MAClBT,EAA6BC,CAAM,GAG/BQ,KAAUA,EAAO,WAAU;AAC7B,QAAAR,EAAO,WAAWQ,EAAO;AACzB,YAAI;AACF,UAAAA,EAAO,SAAS,OAAOJ,EAAc;AAAA,YACnCJ;AAAA,YACAA,EAAO;AAAA,YACPQ,EAAO;AAAA,UACrB;AAAA,QACU,UAAC;AACC,iBAAOR,EAAO;AAAA,QAChB;AACA,QAAAQ,EAAO,SAAS,UAAUL,EAAa,KAAKK,EAAO,SAAS,OAAO;AAAA,MACrE;AAGF,aAAO,QAAQ,OAAOA,CAAM;AAAA,IAC9B;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
@@ -0,0 +1,94 @@
1
+ import t from "../utils.js";
2
+ import b from "./AxiosHeaders.js";
3
+ const h = (i) => i instanceof b ? { ...i } : i;
4
+ function S(i, s) {
5
+ i = i || {}, s = s || {};
6
+ const u = /* @__PURE__ */ Object.create(null);
7
+ Object.defineProperty(u, "hasOwnProperty", {
8
+ // Null-proto descriptor so a polluted Object.prototype.get cannot turn
9
+ // this data descriptor into an accessor descriptor on the way in.
10
+ __proto__: null,
11
+ value: Object.prototype.hasOwnProperty,
12
+ enumerable: !1,
13
+ writable: !0,
14
+ configurable: !0
15
+ });
16
+ function d(a, e, r, o) {
17
+ return t.isPlainObject(a) && t.isPlainObject(e) ? t.merge.call({ caseless: o }, a, e) : t.isPlainObject(e) ? t.merge({}, e) : t.isArray(e) ? e.slice() : e;
18
+ }
19
+ function f(a, e, r, o) {
20
+ if (t.isUndefined(e)) {
21
+ if (!t.isUndefined(a))
22
+ return d(void 0, a, r, o);
23
+ } else return d(a, e, r, o);
24
+ }
25
+ function l(a, e) {
26
+ if (!t.isUndefined(e))
27
+ return d(void 0, e);
28
+ }
29
+ function n(a, e) {
30
+ if (t.isUndefined(e)) {
31
+ if (!t.isUndefined(a))
32
+ return d(void 0, a);
33
+ } else return d(void 0, e);
34
+ }
35
+ function c(a) {
36
+ const e = t.hasOwnProp(s, "transitional") ? s.transitional : void 0;
37
+ if (!t.isUndefined(e))
38
+ if (t.isPlainObject(e)) {
39
+ if (t.hasOwnProp(e, a))
40
+ return e[a];
41
+ } else
42
+ return;
43
+ const r = t.hasOwnProp(i, "transitional") ? i.transitional : void 0;
44
+ if (t.isPlainObject(r) && t.hasOwnProp(r, a))
45
+ return r[a];
46
+ }
47
+ function m(a, e, r) {
48
+ if (t.hasOwnProp(s, r))
49
+ return d(a, e);
50
+ if (t.hasOwnProp(i, r))
51
+ return d(void 0, a);
52
+ }
53
+ const O = {
54
+ url: l,
55
+ method: l,
56
+ data: l,
57
+ baseURL: n,
58
+ transformRequest: n,
59
+ transformResponse: n,
60
+ paramsSerializer: n,
61
+ timeout: n,
62
+ timeoutMessage: n,
63
+ withCredentials: n,
64
+ withXSRFToken: n,
65
+ adapter: n,
66
+ responseType: n,
67
+ xsrfCookieName: n,
68
+ xsrfHeaderName: n,
69
+ onUploadProgress: n,
70
+ onDownloadProgress: n,
71
+ decompress: n,
72
+ maxContentLength: n,
73
+ maxBodyLength: n,
74
+ beforeRedirect: n,
75
+ transport: n,
76
+ httpAgent: n,
77
+ httpsAgent: n,
78
+ cancelToken: n,
79
+ socketPath: n,
80
+ allowedSocketPaths: n,
81
+ responseEncoding: n,
82
+ validateStatus: m,
83
+ headers: (a, e, r) => f(h(a), h(e), r, !0)
84
+ };
85
+ return t.forEach(Object.keys({ ...i, ...s }), function(e) {
86
+ if (e === "__proto__" || e === "constructor" || e === "prototype") return;
87
+ const r = t.hasOwnProp(O, e) ? O[e] : f, o = t.hasOwnProp(i, e) ? i[e] : void 0, w = t.hasOwnProp(s, e) ? s[e] : void 0, P = r(o, w, e);
88
+ t.isUndefined(P) && r !== m || (u[e] = P);
89
+ }), t.hasOwnProp(s, "validateStatus") && t.isUndefined(s.validateStatus) && c("validateStatusUndefinedResolves") === !1 && (t.hasOwnProp(i, "validateStatus") ? u.validateStatus = d(void 0, i.validateStatus) : delete u.validateStatus), u;
90
+ }
91
+ export {
92
+ S as default
93
+ };
94
+ //# sourceMappingURL=mergeConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mergeConfig.js","sources":["../../../../../node_modules/axios/lib/core/mergeConfig.js"],"sourcesContent":["'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst headersToObject = (thing) => (thing instanceof AxiosHeaders ? { ...thing } : thing);\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n *\n * @returns {Object} New object resulting from merging config2 to config1\n */\nexport default function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config1 = config1 || {};\n config2 = config2 || {};\n\n // Use a null-prototype object so that downstream reads such as `config.auth`\n // or `config.baseURL` cannot inherit polluted values from Object.prototype.\n // `hasOwnProperty` is restored as a non-enumerable own slot to preserve\n // ergonomics for user code that relies on it.\n const config = Object.create(null);\n Object.defineProperty(config, 'hasOwnProperty', {\n // Null-proto descriptor so a polluted Object.prototype.get cannot turn\n // this data descriptor into an accessor descriptor on the way in.\n __proto__: null,\n value: Object.prototype.hasOwnProperty,\n enumerable: false,\n writable: true,\n configurable: true,\n });\n\n function getMergedValue(target, source, prop, caseless) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge.call({ caseless }, target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(a, b, prop, caseless) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(a, b, prop, caseless);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a, prop, caseless);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a);\n }\n }\n\n function getMergedTransitionalOption(prop) {\n const transitional2 = utils.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined;\n\n if (!utils.isUndefined(transitional2)) {\n if (utils.isPlainObject(transitional2)) {\n if (utils.hasOwnProp(transitional2, prop)) {\n return transitional2[prop];\n }\n } else {\n return undefined;\n }\n }\n\n const transitional1 = utils.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined;\n\n if (utils.isPlainObject(transitional1) && utils.hasOwnProp(transitional1, prop)) {\n return transitional1[prop];\n }\n\n return undefined;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(a, b, prop) {\n if (utils.hasOwnProp(config2, prop)) {\n return getMergedValue(a, b);\n } else if (utils.hasOwnProp(config1, prop)) {\n return getMergedValue(undefined, a);\n }\n }\n\n const mergeMap = {\n url: valueFromConfig2,\n method: valueFromConfig2,\n data: valueFromConfig2,\n baseURL: defaultToConfig2,\n transformRequest: defaultToConfig2,\n transformResponse: defaultToConfig2,\n paramsSerializer: defaultToConfig2,\n timeout: defaultToConfig2,\n timeoutMessage: defaultToConfig2,\n withCredentials: defaultToConfig2,\n withXSRFToken: defaultToConfig2,\n adapter: defaultToConfig2,\n responseType: defaultToConfig2,\n xsrfCookieName: defaultToConfig2,\n xsrfHeaderName: defaultToConfig2,\n onUploadProgress: defaultToConfig2,\n onDownloadProgress: defaultToConfig2,\n decompress: defaultToConfig2,\n maxContentLength: defaultToConfig2,\n maxBodyLength: defaultToConfig2,\n beforeRedirect: defaultToConfig2,\n transport: defaultToConfig2,\n httpAgent: defaultToConfig2,\n httpsAgent: defaultToConfig2,\n cancelToken: defaultToConfig2,\n socketPath: defaultToConfig2,\n allowedSocketPaths: defaultToConfig2,\n responseEncoding: defaultToConfig2,\n validateStatus: mergeDirectKeys,\n headers: (a, b, prop) =>\n mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),\n };\n\n utils.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {\n if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;\n const merge = utils.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;\n const a = utils.hasOwnProp(config1, prop) ? config1[prop] : undefined;\n const b = utils.hasOwnProp(config2, prop) ? config2[prop] : undefined;\n const configValue = merge(a, b, prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n if (\n utils.hasOwnProp(config2, 'validateStatus') &&\n utils.isUndefined(config2.validateStatus) &&\n getMergedTransitionalOption('validateStatusUndefinedResolves') === false\n ) {\n if (utils.hasOwnProp(config1, 'validateStatus')) {\n config.validateStatus = getMergedValue(undefined, config1.validateStatus);\n } else {\n delete config.validateStatus;\n }\n }\n\n return config;\n}\n"],"names":["headersToObject","thing","AxiosHeaders","mergeConfig","config1","config2","config","getMergedValue","target","source","prop","caseless","utils","mergeDeepProperties","b","valueFromConfig2","defaultToConfig2","getMergedTransitionalOption","transitional2","transitional1","mergeDirectKeys","mergeMap","merge","a","configValue"],"mappings":";;AAKA,MAAMA,IAAkB,CAACC,MAAWA,aAAiBC,IAAe,EAAE,GAAGD,EAAK,IAAKA;AAWpE,SAASE,EAAYC,GAASC,GAAS;AAEpD,EAAAD,IAAUA,KAAW,CAAA,GACrBC,IAAUA,KAAW,CAAA;AAMrB,QAAMC,IAAS,uBAAO,OAAO,IAAI;AACjC,SAAO,eAAeA,GAAQ,kBAAkB;AAAA;AAAA;AAAA,IAG9C,WAAW;AAAA,IACX,OAAO,OAAO,UAAU;AAAA,IACxB,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,cAAc;AAAA,EAClB,CAAG;AAED,WAASC,EAAeC,GAAQC,GAAQC,GAAMC,GAAU;AACtD,WAAIC,EAAM,cAAcJ,CAAM,KAAKI,EAAM,cAAcH,CAAM,IACpDG,EAAM,MAAM,KAAK,EAAE,UAAAD,EAAQ,GAAIH,GAAQC,CAAM,IAC3CG,EAAM,cAAcH,CAAM,IAC5BG,EAAM,MAAM,CAAA,GAAIH,CAAM,IACpBG,EAAM,QAAQH,CAAM,IACtBA,EAAO,MAAK,IAEdA;AAAA,EACT;AAEA,WAASI,EAAoB,GAAGC,GAAGJ,GAAMC,GAAU;AACjD,QAAKC,EAAM,YAAYE,CAAC;AAEjB,UAAI,CAACF,EAAM,YAAY,CAAC;AAC7B,eAAOL,EAAe,QAAW,GAAGG,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0,0 +1,15 @@
1
+ import a from "./AxiosError.js";
2
+ function R(i, f, t) {
3
+ const u = t.config.validateStatus;
4
+ !t.status || !u || u(t.status) ? i(t) : f(new a(
5
+ "Request failed with status code " + t.status,
6
+ t.status >= 400 && t.status < 500 ? a.ERR_BAD_REQUEST : a.ERR_BAD_RESPONSE,
7
+ t.config,
8
+ t.request,
9
+ t
10
+ ));
11
+ }
12
+ export {
13
+ R as default
14
+ };
15
+ //# sourceMappingURL=settle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settle.js","sources":["../../../../../node_modules/axios/lib/core/settle.js"],"sourcesContent":["'use strict';\n\nimport AxiosError from './AxiosError.js';\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n *\n * @returns {object} The response.\n */\nexport default function settle(resolve, reject, response) {\n const validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new AxiosError(\n 'Request failed with status code ' + response.status,\n response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE,\n response.config,\n response.request,\n response\n ));\n }\n}\n"],"names":["settle","resolve","reject","response","validateStatus","AxiosError"],"mappings":";AAae,SAASA,EAAOC,GAASC,GAAQC,GAAU;AACxD,QAAMC,IAAiBD,EAAS,OAAO;AACvC,EAAI,CAACA,EAAS,UAAU,CAACC,KAAkBA,EAAeD,EAAS,MAAM,IACvEF,EAAQE,CAAQ,IAEhBD,EAAO,IAAIG;AAAA,IACT,qCAAqCF,EAAS;AAAA,IAC9CA,EAAS,UAAU,OAAOA,EAAS,SAAS,MAAME,EAAW,kBAAkBA,EAAW;AAAA,IAC1FF,EAAS;AAAA,IACTA,EAAS;AAAA,IACTA;AAAA,EACN,CAAK;AAEL;","x_google_ignoreList":[0]}
@@ -0,0 +1,14 @@
1
+ import i from "../utils.js";
2
+ import m from "../defaults/index.js";
3
+ import s from "./AxiosHeaders.js";
4
+ function h(f, t) {
5
+ const o = this || m, r = t || o, n = s.from(r.headers);
6
+ let a = r.data;
7
+ return i.forEach(f, function(e) {
8
+ a = e.call(o, a, n.normalize(), t ? t.status : void 0);
9
+ }), n.normalize(), a;
10
+ }
11
+ export {
12
+ h as default
13
+ };
14
+ //# sourceMappingURL=transformData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transformData.js","sources":["../../../../../node_modules/axios/lib/core/transformData.js"],"sourcesContent":["'use strict';\n\nimport utils from '../utils.js';\nimport defaults from '../defaults/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Array|Function} fns A single function or Array of functions\n * @param {?Object} response The response object\n *\n * @returns {*} The resulting transformed data\n */\nexport default function transformData(fns, response) {\n const config = this || defaults;\n const context = response || config;\n const headers = AxiosHeaders.from(context.headers);\n let data = context.data;\n\n utils.forEach(fns, function transform(fn) {\n data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);\n });\n\n headers.normalize();\n\n return data;\n}\n"],"names":["transformData","fns","response","config","defaults","context","headers","AxiosHeaders","data","utils","fn"],"mappings":";;;AAce,SAASA,EAAcC,GAAKC,GAAU;AACnD,QAAMC,IAAS,QAAQC,GACjBC,IAAUH,KAAYC,GACtBG,IAAUC,EAAa,KAAKF,EAAQ,OAAO;AACjD,MAAIG,IAAOH,EAAQ;AAEnB,SAAAI,EAAM,QAAQR,GAAK,SAAmBS,GAAI;AACxC,IAAAF,IAAOE,EAAG,KAAKP,GAAQK,GAAMF,EAAQ,UAAS,GAAIJ,IAAWA,EAAS,SAAS,MAAS;AAAA,EAC1F,CAAC,GAEDI,EAAQ,UAAS,GAEVE;AACT;","x_google_ignoreList":[0]}
@@ -0,0 +1,96 @@
1
+ import e from "../utils.js";
2
+ import a from "../core/AxiosError.js";
3
+ import O from "./transitional.js";
4
+ import y from "../helpers/toFormData.js";
5
+ import N from "../helpers/toURLEncodedForm.js";
6
+ import u from "../platform/index.js";
7
+ import g from "../helpers/formDataToJSON.js";
8
+ const f = (t, r) => t != null && e.hasOwnProp(t, r) ? t[r] : void 0;
9
+ function F(t, r, n) {
10
+ if (e.isString(t))
11
+ try {
12
+ return (r || JSON.parse)(t), e.trim(t);
13
+ } catch (i) {
14
+ if (i.name !== "SyntaxError")
15
+ throw i;
16
+ }
17
+ return (n || JSON.stringify)(t);
18
+ }
19
+ const S = {
20
+ transitional: O,
21
+ adapter: ["xhr", "http", "fetch"],
22
+ transformRequest: [
23
+ function(r, n) {
24
+ const i = n.getContentType() || "", m = i.indexOf("application/json") > -1, o = e.isObject(r);
25
+ if (o && e.isHTMLForm(r) && (r = new FormData(r)), e.isFormData(r))
26
+ return m ? JSON.stringify(g(r)) : r;
27
+ if (e.isArrayBuffer(r) || e.isBuffer(r) || e.isStream(r) || e.isFile(r) || e.isBlob(r) || e.isReadableStream(r))
28
+ return r;
29
+ if (e.isArrayBufferView(r))
30
+ return r.buffer;
31
+ if (e.isURLSearchParams(r))
32
+ return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), r.toString();
33
+ let c;
34
+ if (o) {
35
+ const s = f(this, "formSerializer");
36
+ if (i.indexOf("application/x-www-form-urlencoded") > -1)
37
+ return N(r, s).toString();
38
+ if ((c = e.isFileList(r)) || i.indexOf("multipart/form-data") > -1) {
39
+ const p = f(this, "env"), l = p && p.FormData;
40
+ return y(
41
+ c ? { "files[]": r } : r,
42
+ l && new l(),
43
+ s
44
+ );
45
+ }
46
+ }
47
+ return o || m ? (n.setContentType("application/json", !1), F(r)) : r;
48
+ }
49
+ ],
50
+ transformResponse: [
51
+ function(r) {
52
+ const n = f(this, "transitional") || S.transitional, i = n && n.forcedJSONParsing, m = f(this, "responseType"), o = m === "json";
53
+ if (e.isResponse(r) || e.isReadableStream(r))
54
+ return r;
55
+ if (r && e.isString(r) && (i && !m || o)) {
56
+ const c = !(n && n.silentJSONParsing) && o;
57
+ try {
58
+ return JSON.parse(r, f(this, "parseReviver"));
59
+ } catch (s) {
60
+ if (c)
61
+ throw s.name === "SyntaxError" ? a.from(s, a.ERR_BAD_RESPONSE, this, null, f(this, "response")) : s;
62
+ }
63
+ }
64
+ return r;
65
+ }
66
+ ],
67
+ /**
68
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
69
+ * timeout is not created.
70
+ */
71
+ timeout: 0,
72
+ xsrfCookieName: "XSRF-TOKEN",
73
+ xsrfHeaderName: "X-XSRF-TOKEN",
74
+ maxContentLength: -1,
75
+ maxBodyLength: -1,
76
+ env: {
77
+ FormData: u.classes.FormData,
78
+ Blob: u.classes.Blob
79
+ },
80
+ validateStatus: function(r) {
81
+ return r >= 200 && r < 300;
82
+ },
83
+ headers: {
84
+ common: {
85
+ Accept: "application/json, text/plain, */*",
86
+ "Content-Type": void 0
87
+ }
88
+ }
89
+ };
90
+ e.forEach(["delete", "get", "head", "post", "put", "patch", "query"], (t) => {
91
+ S.headers[t] = {};
92
+ });
93
+ export {
94
+ S as default
95
+ };
96
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/axios/lib/defaults/index.js"],"sourcesContent":["'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport transitionalDefaults from './transitional.js';\nimport toFormData from '../helpers/toFormData.js';\nimport toURLEncodedForm from '../helpers/toURLEncodedForm.js';\nimport platform from '../platform/index.js';\nimport formDataToJSON from '../helpers/formDataToJSON.js';\n\nconst own = (obj, key) => (obj != null && utils.hasOwnProp(obj, key) ? obj[key] : undefined);\n\n/**\n * It takes a string, tries to parse it, and if it fails, it returns the stringified version\n * of the input\n *\n * @param {any} rawValue - The value to be stringified.\n * @param {Function} parser - A function that parses a string into a JavaScript object.\n * @param {Function} encoder - A function that takes a value and returns a string.\n *\n * @returns {string} A stringified version of the rawValue.\n */\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nconst defaults = {\n transitional: transitionalDefaults,\n\n adapter: ['xhr', 'http', 'fetch'],\n\n transformRequest: [\n function transformRequest(data, headers) {\n const contentType = headers.getContentType() || '';\n const hasJSONContentType = contentType.indexOf('application/json') > -1;\n const isObjectPayload = utils.isObject(data);\n\n if (isObjectPayload && utils.isHTMLForm(data)) {\n data = new FormData(data);\n }\n\n const isFormData = utils.isFormData(data);\n\n if (isFormData) {\n return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;\n }\n\n if (\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data) ||\n utils.isReadableStream(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);\n return data.toString();\n }\n\n let isFileList;\n\n if (isObjectPayload) {\n const formSerializer = own(this, 'formSerializer');\n if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {\n return toURLEncodedForm(data, formSerializer).toString();\n }\n\n if (\n (isFileList = utils.isFileList(data)) ||\n contentType.indexOf('multipart/form-data') > -1\n ) {\n const env = own(this, 'env');\n const _FormData = env && env.FormData;\n\n return toFormData(\n isFileList ? { 'files[]': data } : data,\n _FormData && new _FormData(),\n formSerializer\n );\n }\n }\n\n if (isObjectPayload || hasJSONContentType) {\n headers.setContentType('application/json', false);\n return stringifySafely(data);\n }\n\n return data;\n },\n ],\n\n transformResponse: [\n function transformResponse(data) {\n const transitional = own(this, 'transitional') || defaults.transitional;\n const forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n const responseType = own(this, 'responseType');\n const JSONRequested = responseType === 'json';\n\n if (utils.isResponse(data) || utils.isReadableStream(data)) {\n return data;\n }\n\n if (\n data &&\n utils.isString(data) &&\n ((forcedJSONParsing && !responseType) || JSONRequested)\n ) {\n const silentJSONParsing = transitional && transitional.silentJSONParsing;\n const strictJSONParsing = !silentJSONParsing && JSONRequested;\n\n try {\n return JSON.parse(data, own(this, 'parseReviver'));\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, own(this, 'response'));\n }\n throw e;\n }\n }\n }\n\n return data;\n },\n ],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: platform.classes.FormData,\n Blob: platform.classes.Blob,\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n Accept: 'application/json, text/plain, */*',\n 'Content-Type': undefined,\n },\n },\n};\n\nutils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => {\n defaults.headers[method] = {};\n});\n\nexport default defaults;\n"],"names":["own","obj","key","utils","stringifySafely","rawValue","parser","encoder","e","defaults","transitionalDefaults","data","headers","contentType","hasJSONContentType","isObjectPayload","formDataToJSON","isFileList","formSerializer","toURLEncodedForm","env","_FormData","toFormData","transitional","forcedJSONParsing","responseType","JSONRequested","strictJSONParsing","AxiosError","platform","status","method"],"mappings":";;;;;;;AAUA,MAAMA,IAAM,CAACC,GAAKC,MAASD,KAAO,QAAQE,EAAM,WAAWF,GAAKC,CAAG,IAAID,EAAIC,CAAG,IAAI;AAYlF,SAASE,EAAgBC,GAAUC,GAAQC,GAAS;AAClD,MAAIJ,EAAM,SAASE,CAAQ;AACzB,QAAI;AACF,cAACC,KAAU,KAAK,OAAOD,CAAQ,GACxBF,EAAM,KAAKE,CAA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AAAA,MACN,QAAQ;AAAA,MACR,gBAAgB;AAAA,IACtB;AAAA,EACA;AACA;AAEA3B,EAAM,QAAQ,CAAC,UAAU,OAAO,QAAQ,QAAQ,OAAO,SAAS,OAAO,GAAG,CAAC4B,MAAW;AACpF,EAAAtB,EAAS,QAAQsB,CAAM,IAAI,CAAA;AAC7B,CAAC;","x_google_ignoreList":[0]}
@@ -0,0 +1,12 @@
1
+ const e = {
2
+ silentJSONParsing: !0,
3
+ forcedJSONParsing: !0,
4
+ clarifyTimeoutError: !1,
5
+ legacyInterceptorReqResOrdering: !0,
6
+ advertiseZstdAcceptEncoding: !1,
7
+ validateStatusUndefinedResolves: !0
8
+ };
9
+ export {
10
+ e as default
11
+ };
12
+ //# sourceMappingURL=transitional.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transitional.js","sources":["../../../../../node_modules/axios/lib/defaults/transitional.js"],"sourcesContent":["'use strict';\n\nexport default {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false,\n legacyInterceptorReqResOrdering: true,\n advertiseZstdAcceptEncoding: false,\n validateStatusUndefinedResolves: true,\n};\n"],"names":["transitionalDefaults"],"mappings":"AAEA,MAAAA,IAAe;AAAA,EACb,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,iCAAiC;AAAA,EACjC,6BAA6B;AAAA,EAC7B,iCAAiC;AACnC;","x_google_ignoreList":[0]}
@@ -0,0 +1,5 @@
1
+ const o = "1.18.1";
2
+ export {
3
+ o as VERSION
4
+ };
5
+ //# sourceMappingURL=data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data.js","sources":["../../../../../node_modules/axios/lib/env/data.js"],"sourcesContent":["export const VERSION = \"1.18.1\";"],"names":["VERSION"],"mappings":"AAAY,MAACA,IAAU;","x_google_ignoreList":[0]}
@@ -0,0 +1,31 @@
1
+ import p from "./toFormData.js";
2
+ function i(n) {
3
+ const t = {
4
+ "!": "%21",
5
+ "'": "%27",
6
+ "(": "%28",
7
+ ")": "%29",
8
+ "~": "%7E",
9
+ "%20": "+"
10
+ };
11
+ return encodeURIComponent(n).replace(/[!'()~]|%20/g, function(r) {
12
+ return t[r];
13
+ });
14
+ }
15
+ function a(n, t) {
16
+ this._pairs = [], n && p(n, this, t);
17
+ }
18
+ const c = a.prototype;
19
+ c.append = function(t, o) {
20
+ this._pairs.push([t, o]);
21
+ };
22
+ c.toString = function(t) {
23
+ const o = t ? (r) => t.call(this, r, i) : i;
24
+ return this._pairs.map(function(e) {
25
+ return o(e[0]) + "=" + o(e[1]);
26
+ }, "").join("&");
27
+ };
28
+ export {
29
+ a as default
30
+ };
31
+ //# sourceMappingURL=AxiosURLSearchParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AxiosURLSearchParams.js","sources":["../../../../../node_modules/axios/lib/helpers/AxiosURLSearchParams.js"],"sourcesContent":["'use strict';\n\nimport toFormData from './toFormData.js';\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object<string, any>} params - The parameters to be converted to a FormData object.\n * @param {Object<string, any>} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n\n params && toFormData(params, this, options);\n}\n\nconst prototype = AxiosURLSearchParams.prototype;\n\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\n\nprototype.toString = function toString(encoder) {\n const _encode = encoder\n ? (value) => encoder.call(this, value, encode)\n : encode;\n\n return this._pairs\n .map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '')\n .join('&');\n};\n\nexport default AxiosURLSearchParams;\n"],"names":["encode","str","charMap","match","AxiosURLSearchParams","params","options","toFormData","prototype","name","value","encoder","_encode","pair"],"mappings":";AAYA,SAASA,EAAOC,GAAK;AACnB,QAAMC,IAAU;AAAA,IACd,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AACE,SAAO,mBAAmBD,CAAG,EAAE,QAAQ,gBAAgB,SAAkBE,GAAO;AAC9E,WAAOD,EAAQC,CAAK;AAAA,EACtB,CAAC;AACH;AAUA,SAASC,EAAqBC,GAAQC,GAAS;AAC7C,OAAK,SAAS,CAAA,GAEdD,KAAUE,EAAWF,GAAQ,MAAMC,CAAO;AAC5C;AAEA,MAAME,IAAYJ,EAAqB;AAEvCI,EAAU,SAAS,SAAgBC,GAAMC,GAAO;AAC9C,OAAK,OAAO,KAAK,CAACD,GAAMC,CAAK,CAAC;AAChC;AAEAF,EAAU,WAAW,SAAkBG,GAAS;AAC9C,QAAMC,IAAUD,IACZ,CAACD,MAAUC,EAAQ,KAAK,MAAMD,GAAOV,CAAM,IAC3CA;AAEJ,SAAO,KAAK,OACT,IAAI,SAAca,GAAM;AACvB,WAAOD,EAAQC,EAAK,CAAC,CAAC,IAAI,MAAMD,EAAQC,EAAK,CAAC,CAAC;AAAA,EACjD,GAAG,EAAE,EACJ,KAAK,GAAG;AACb;","x_google_ignoreList":[0]}
@@ -0,0 +1,78 @@
1
+ const e = {
2
+ Continue: 100,
3
+ SwitchingProtocols: 101,
4
+ Processing: 102,
5
+ EarlyHints: 103,
6
+ Ok: 200,
7
+ Created: 201,
8
+ Accepted: 202,
9
+ NonAuthoritativeInformation: 203,
10
+ NoContent: 204,
11
+ ResetContent: 205,
12
+ PartialContent: 206,
13
+ MultiStatus: 207,
14
+ AlreadyReported: 208,
15
+ ImUsed: 226,
16
+ MultipleChoices: 300,
17
+ MovedPermanently: 301,
18
+ Found: 302,
19
+ SeeOther: 303,
20
+ NotModified: 304,
21
+ UseProxy: 305,
22
+ Unused: 306,
23
+ TemporaryRedirect: 307,
24
+ PermanentRedirect: 308,
25
+ BadRequest: 400,
26
+ Unauthorized: 401,
27
+ PaymentRequired: 402,
28
+ Forbidden: 403,
29
+ NotFound: 404,
30
+ MethodNotAllowed: 405,
31
+ NotAcceptable: 406,
32
+ ProxyAuthenticationRequired: 407,
33
+ RequestTimeout: 408,
34
+ Conflict: 409,
35
+ Gone: 410,
36
+ LengthRequired: 411,
37
+ PreconditionFailed: 412,
38
+ PayloadTooLarge: 413,
39
+ UriTooLong: 414,
40
+ UnsupportedMediaType: 415,
41
+ RangeNotSatisfiable: 416,
42
+ ExpectationFailed: 417,
43
+ ImATeapot: 418,
44
+ MisdirectedRequest: 421,
45
+ UnprocessableEntity: 422,
46
+ Locked: 423,
47
+ FailedDependency: 424,
48
+ TooEarly: 425,
49
+ UpgradeRequired: 426,
50
+ PreconditionRequired: 428,
51
+ TooManyRequests: 429,
52
+ RequestHeaderFieldsTooLarge: 431,
53
+ UnavailableForLegalReasons: 451,
54
+ InternalServerError: 500,
55
+ NotImplemented: 501,
56
+ BadGateway: 502,
57
+ ServiceUnavailable: 503,
58
+ GatewayTimeout: 504,
59
+ HttpVersionNotSupported: 505,
60
+ VariantAlsoNegotiates: 506,
61
+ InsufficientStorage: 507,
62
+ LoopDetected: 508,
63
+ NotExtended: 510,
64
+ NetworkAuthenticationRequired: 511,
65
+ WebServerIsDown: 521,
66
+ ConnectionTimedOut: 522,
67
+ OriginIsUnreachable: 523,
68
+ TimeoutOccurred: 524,
69
+ SslHandshakeFailed: 525,
70
+ InvalidSslCertificate: 526
71
+ };
72
+ Object.entries(e).forEach(([t, o]) => {
73
+ e[o] = t;
74
+ });
75
+ export {
76
+ e as default
77
+ };
78
+ //# sourceMappingURL=HttpStatusCode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpStatusCode.js","sources":["../../../../../node_modules/axios/lib/helpers/HttpStatusCode.js"],"sourcesContent":["const HttpStatusCode = {\n Continue: 100,\n SwitchingProtocols: 101,\n Processing: 102,\n EarlyHints: 103,\n Ok: 200,\n Created: 201,\n Accepted: 202,\n NonAuthoritativeInformation: 203,\n NoContent: 204,\n ResetContent: 205,\n PartialContent: 206,\n MultiStatus: 207,\n AlreadyReported: 208,\n ImUsed: 226,\n MultipleChoices: 300,\n MovedPermanently: 301,\n Found: 302,\n SeeOther: 303,\n NotModified: 304,\n UseProxy: 305,\n Unused: 306,\n TemporaryRedirect: 307,\n PermanentRedirect: 308,\n BadRequest: 400,\n Unauthorized: 401,\n PaymentRequired: 402,\n Forbidden: 403,\n NotFound: 404,\n MethodNotAllowed: 405,\n NotAcceptable: 406,\n ProxyAuthenticationRequired: 407,\n RequestTimeout: 408,\n Conflict: 409,\n Gone: 410,\n LengthRequired: 411,\n PreconditionFailed: 412,\n PayloadTooLarge: 413,\n UriTooLong: 414,\n UnsupportedMediaType: 415,\n RangeNotSatisfiable: 416,\n ExpectationFailed: 417,\n ImATeapot: 418,\n MisdirectedRequest: 421,\n UnprocessableEntity: 422,\n Locked: 423,\n FailedDependency: 424,\n TooEarly: 425,\n UpgradeRequired: 426,\n PreconditionRequired: 428,\n TooManyRequests: 429,\n RequestHeaderFieldsTooLarge: 431,\n UnavailableForLegalReasons: 451,\n InternalServerError: 500,\n NotImplemented: 501,\n BadGateway: 502,\n ServiceUnavailable: 503,\n GatewayTimeout: 504,\n HttpVersionNotSupported: 505,\n VariantAlsoNegotiates: 506,\n InsufficientStorage: 507,\n LoopDetected: 508,\n NotExtended: 510,\n NetworkAuthenticationRequired: 511,\n WebServerIsDown: 521,\n ConnectionTimedOut: 522,\n OriginIsUnreachable: 523,\n TimeoutOccurred: 524,\n SslHandshakeFailed: 525,\n InvalidSslCertificate: 526,\n};\n\nObject.entries(HttpStatusCode).forEach(([key, value]) => {\n HttpStatusCode[value] = key;\n});\n\nexport default Htt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ACd,aAAa;AAAA,EACb,+BAA+B;AAAA,EAC/B,iBAAiB;AAAA,EACjB,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,iBAAiB;AAAA,EACjB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;AAEA,OAAO,QAAQA,CAAc,EAAE,QAAQ,CAAC,CAACC,GAAKC,CAAK,MAAM;AACvD,EAAAF,EAAeE,CAAK,IAAID;AAC1B,CAAC;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ function u(n, r) {
2
+ return function() {
3
+ return n.apply(r, arguments);
4
+ };
5
+ }
6
+ export {
7
+ u as default
8
+ };
9
+ //# sourceMappingURL=bind.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bind.js","sources":["../../../../../node_modules/axios/lib/helpers/bind.js"],"sourcesContent":["'use strict';\n\n/**\n * Create a bound version of a function with a specified `this` context\n *\n * @param {Function} fn - The function to bind\n * @param {*} thisArg - The value to be passed as the `this` parameter\n * @returns {Function} A new function that will call the original function with the specified `this` context\n */\nexport default function bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}\n"],"names":["bind","fn","thisArg"],"mappings":"AASe,SAASA,EAAKC,GAAIC,GAAS;AACxC,SAAO,WAAgB;AACrB,WAAOD,EAAG,MAAMC,GAAS,SAAS;AAAA,EACpC;AACF;","x_google_ignoreList":[0]}
@@ -0,0 +1,24 @@
1
+ import o from "../utils.js";
2
+ import f from "./AxiosURLSearchParams.js";
3
+ function d(e) {
4
+ return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
5
+ }
6
+ function S(e, i, c) {
7
+ if (!i)
8
+ return e;
9
+ e = e || "";
10
+ const n = o.isFunction(c) ? {
11
+ serialize: c
12
+ } : c, s = o.getSafeProp(n, "encode") || d, r = o.getSafeProp(n, "serialize");
13
+ let t;
14
+ if (r ? t = r(i, n) : t = o.isURLSearchParams(i) ? i.toString() : new f(i, n).toString(s), t) {
15
+ const a = e.indexOf("#");
16
+ a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + t;
17
+ }
18
+ return e;
19
+ }
20
+ export {
21
+ S as default,
22
+ d as encode
23
+ };
24
+ //# sourceMappingURL=buildURL.js.map